@trycourier/courier-react 8.0.3-beta → 8.0.4-beta

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.
Files changed (3) hide show
  1. package/dist/index.js +179 -309
  2. package/dist/index.mjs +11262 -12165
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
- (function(Zu,pt){typeof exports=="object"&&typeof module<"u"?pt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],pt):(Zu=typeof globalThis<"u"?globalThis:Zu||self,pt(Zu.CourierReact={},Zu.React,Zu.ReactDOM))})(this,function(Zu,pt,Xg){"use strict";var KS=Object.defineProperty,IS=(b,f,p)=>f in b?KS(b,f,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[f]=p,K=(b,f,p)=>IS(b,typeof f!="symbol"?f+"":f,p),WS=Object.defineProperty,FS=(b,f,p)=>f in b?WS(b,f,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[f]=p,Ht=(b,f,p)=>FS(b,typeof f!="symbol"?f+"":f,p);const mb=class $S{constructor(f,p){Ht(this,"webSocket",null),Ht(this,"pingInterval",null),Ht(this,"onOpen"),Ht(this,"onMessageReceived"),Ht(this,"onClose"),Ht(this,"onError"),Ht(this,"url"),Ht(this,"options"),this.url=f,this.options=p}get isConnected(){return this.webSocket!==null}async connect(){return this.disconnect(),new Promise((f,p)=>{try{this.webSocket=new WebSocket(this.url),this.webSocket.onopen=()=>{var m;(m=this.onOpen)==null||m.call(this),f()},this.webSocket.onmessage=m=>{var T;(T=this.onMessageReceived)==null||T.call(this,m.data)},this.webSocket.onclose=m=>{var T;this.webSocket=null,(T=this.onClose)==null||T.call(this,m.code,m.reason)},this.webSocket.onerror=m=>{var T;this.webSocket=null;const C=new Error("Courier Socket connection failed");C.originalEvent=m,(T=this.onError)==null||T.call(this,C),p(C)}}catch(m){this.webSocket=null,p(m)}})}disconnect(){this.stopPing(),this.webSocket&&(this.webSocket.close($S.NORMAL_CLOSURE_STATUS),this.webSocket=null)}async send(f){if(!this.webSocket)return!1;const p=JSON.stringify(f);return this.webSocket.send(p)!==void 0}keepAlive(f){this.stopPing(),this.pingInterval=setInterval(async()=>{var p;try{await this.send({action:"keepAlive"})}catch(m){(p=this.options.logger)==null||p.error("Error occurred on Keep Alive:",m)}},(f==null?void 0:f.intervalInMillis)??3e5)}stopPing(){this.pingInterval&&(clearInterval(this.pingInterval),this.pingInterval=null)}};Ht(mb,"NORMAL_CLOSURE_STATUS",1e3);let PS=mb;const pb=b=>({courier:{rest:(b==null?void 0:b.courier.rest)||"https://api.courier.com",graphql:(b==null?void 0:b.courier.graphql)||"https://api.courier.com/client/q"},inbox:{graphql:(b==null?void 0:b.inbox.graphql)||"https://inbox.courier.com/q",webSocket:(b==null?void 0:b.inbox.webSocket)||"wss://realtime.courier.com"}});class e2{constructor(f){Ht(this,"PREFIX","[COURIER]"),this.showLogs=f}warn(f,...p){this.showLogs&&console.warn(`${this.PREFIX} ${f}`,...p)}log(f,...p){this.showLogs&&console.log(`${this.PREFIX} ${f}`,...p)}error(f,...p){this.showLogs&&console.error(`${this.PREFIX} ${f}`,...p)}debug(f,...p){this.showLogs&&console.debug(`${this.PREFIX} ${f}`,...p)}info(f,...p){this.showLogs&&console.info(`${this.PREFIX} ${f}`,...p)}}class rv{static generate(f){const p=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);return f?f+p:p}}class fv extends Error{constructor(f,p,m){super(p),this.code=f,this.type=m,this.name="CourierRequestError"}}function vb(b,f,p,m){b.log(`
2
- 📡 New Courier ${p} Request: ${f}
1
+ (function(ju,pt){typeof exports=="object"&&typeof module<"u"?pt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],pt):(ju=typeof globalThis<"u"?globalThis:ju||self,pt(ju.CourierReact={},ju.React,ju.ReactDOM))})(this,function(ju,pt,kg){"use strict";var wS=Object.defineProperty,BS=(x,f,v)=>f in x?wS(x,f,{enumerable:!0,configurable:!0,writable:!0,value:v}):x[f]=v,wt=(x,f,v)=>BS(x,typeof f!="symbol"?f+"":f,v);const ib=class HS{constructor(f,v){wt(this,"webSocket",null),wt(this,"pingInterval",null),wt(this,"onOpen"),wt(this,"onMessageReceived"),wt(this,"onClose"),wt(this,"onError"),wt(this,"url"),wt(this,"options"),this.url=f,this.options=v}get isConnected(){return this.webSocket!==null}async connect(){return this.disconnect(),new Promise((f,v)=>{try{this.webSocket=new WebSocket(this.url),this.webSocket.onopen=()=>{var m;(m=this.onOpen)==null||m.call(this),f()},this.webSocket.onmessage=m=>{var T;(T=this.onMessageReceived)==null||T.call(this,m.data)},this.webSocket.onclose=m=>{var T;this.webSocket=null,(T=this.onClose)==null||T.call(this,m.code,m.reason)},this.webSocket.onerror=m=>{var T;this.webSocket=null;const A=new Error("Courier Socket connection failed");A.originalEvent=m,(T=this.onError)==null||T.call(this,A),v(A)}}catch(m){this.webSocket=null,v(m)}})}disconnect(){this.stopPing(),this.webSocket&&(this.webSocket.close(HS.NORMAL_CLOSURE_STATUS),this.webSocket=null)}async send(f){if(!this.webSocket)return!1;const v=JSON.stringify(f);return this.webSocket.send(v)!==void 0}keepAlive(f){this.stopPing(),this.pingInterval=setInterval(async()=>{var v;try{await this.send({action:"keepAlive"})}catch(m){(v=this.options.logger)==null||v.error("Error occurred on Keep Alive:",m)}},(f==null?void 0:f.intervalInMillis)??3e5)}stopPing(){this.pingInterval&&(clearInterval(this.pingInterval),this.pingInterval=null)}};wt(ib,"NORMAL_CLOSURE_STATUS",1e3);let kS=ib;const ub=x=>({courier:{rest:(x==null?void 0:x.courier.rest)||"https://api.courier.com",graphql:(x==null?void 0:x.courier.graphql)||"https://api.courier.com/client/q"},inbox:{graphql:(x==null?void 0:x.inbox.graphql)||"https://inbox.courier.com/q",webSocket:(x==null?void 0:x.inbox.webSocket)||"wss://realtime.courier.com"}});class NS{constructor(f){wt(this,"PREFIX","[COURIER]"),this.showLogs=f}warn(f,...v){this.showLogs&&console.warn(`${this.PREFIX} ${f}`,...v)}log(f,...v){this.showLogs&&console.log(`${this.PREFIX} ${f}`,...v)}error(f,...v){this.showLogs&&console.error(`${this.PREFIX} ${f}`,...v)}debug(f,...v){this.showLogs&&console.debug(`${this.PREFIX} ${f}`,...v)}info(f,...v){this.showLogs&&console.info(`${this.PREFIX} ${f}`,...v)}}class av{static generate(f){const v=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);return f?f+v:v}}class iv extends Error{constructor(f,v,m){super(v),this.code=f,this.type=m,this.name="CourierRequestError"}}function ob(x,f,v,m){x.log(`
2
+ 📡 New Courier ${v} Request: ${f}
3
3
  URL: ${m.url}
4
4
  ${m.method?`Method: ${m.method}`:""}
5
5
  ${m.query?`Query: ${m.query}`:""}
6
6
  ${m.variables?`Variables: ${JSON.stringify(m.variables,null,2)}`:""}
7
7
  Headers: ${JSON.stringify(m.headers,null,2)}
8
8
  Body: ${m.body?JSON.stringify(m.body,null,2):"Empty"}
9
- `)}function gb(b,f,p,m){b.log(`
10
- 📡 New Courier ${p} Response: ${f}
9
+ `)}function cb(x,f,v,m){x.log(`
10
+ 📡 New Courier ${v} Response: ${f}
11
11
  Status Code: ${m.status}
12
12
  Response JSON: ${JSON.stringify(m.response,null,2)}
13
- `)}async function Qo(b){const f=b.validCodes??[200],p=b.options.showLogs?rv.generate():void 0,m=new Request(b.url,{method:b.method,headers:{"Content-Type":"application/json",...b.headers},body:b.body?JSON.stringify(b.body):void 0});p&&vb(b.options.logger,p,"HTTP",{url:m.url,method:m.method,headers:Object.fromEntries(m.headers.entries()),body:b.body});const T=await fetch(m);if(T.status===204)return;let C;try{C=await T.json()}catch{if(T.status===200)return;throw new fv(T.status,"Failed to parse response as JSON","PARSE_ERROR")}if(p&&gb(b.options.logger,p,"HTTP",{status:T.status,response:C}),!f.includes(T.status))throw new fv(T.status,(C==null?void 0:C.message)||"Unknown Error",C==null?void 0:C.type);return C}async function au(b){const f=b.options.showLogs?rv.generate():void 0;f&&vb(b.options.logger,f,"GraphQL",{url:b.url,headers:b.headers,query:b.query,variables:b.variables});const p=await fetch(b.url,{method:"POST",headers:{"Content-Type":"application/json",...b.headers},body:JSON.stringify({query:b.query,variables:b.variables})});let m;try{m=await p.json()}catch{throw new fv(p.status,"Failed to parse response as JSON","PARSE_ERROR")}if(f&&gb(b.options.logger,f,"GraphQL",{status:p.status,response:m}),!p.ok)throw new fv(p.status,(m==null?void 0:m.message)||"Unknown Error",m==null?void 0:m.type);return m}class Yr{constructor(f){this.options=f}}class t2 extends Yr{async getBrand(f){const p=`
13
+ `)}async function Xo(x){const f=x.validCodes??[200],v=x.options.showLogs?av.generate():void 0,m=new Request(x.url,{method:x.method,headers:{"Content-Type":"application/json",...x.headers},body:x.body?JSON.stringify(x.body):void 0});v&&ob(x.options.logger,v,"HTTP",{url:m.url,method:m.method,headers:Object.fromEntries(m.headers.entries()),body:x.body});const T=await fetch(m);if(T.status===204)return;let A;try{A=await T.json()}catch{if(T.status===200)return;throw new iv(T.status,"Failed to parse response as JSON","PARSE_ERROR")}if(v&&cb(x.options.logger,v,"HTTP",{status:T.status,response:A}),!f.includes(T.status))throw new iv(T.status,(A==null?void 0:A.message)||"Unknown Error",A==null?void 0:A.type);return A}async function nu(x){const f=x.options.showLogs?av.generate():void 0;f&&ob(x.options.logger,f,"GraphQL",{url:x.url,headers:x.headers,query:x.query,variables:x.variables});const v=await fetch(x.url,{method:"POST",headers:{"Content-Type":"application/json",...x.headers},body:JSON.stringify({query:x.query,variables:x.variables})});let m;try{m=await v.json()}catch{throw new iv(v.status,"Failed to parse response as JSON","PARSE_ERROR")}if(f&&cb(x.options.logger,f,"GraphQL",{status:v.status,response:m}),!v.ok)throw new iv(v.status,(m==null?void 0:m.message)||"Unknown Error",m==null?void 0:m.type);return m}class Nr{constructor(f){this.options=f}}class LS extends Nr{async getBrand(f){const v=`
14
14
  query GetBrand {
15
15
  brand(brandId: "${f.brandId}") {
16
16
  settings {
@@ -26,7 +26,7 @@ Response JSON: ${JSON.stringify(m.response,null,2)}
26
26
  }
27
27
  }
28
28
  }
29
- `;return(await au({options:this.options,url:this.options.apiUrls.courier.graphql,headers:{"x-courier-user-id":this.options.userId,"x-courier-client-key":"empty",Authorization:`Bearer ${this.options.accessToken}`},query:p,variables:{brandId:f.brandId}})).data.brand}}class Qg extends PS{constructor(f){const p=Qg.buildUrl(f);super(p,f),Ht(this,"receivedMessage"),Ht(this,"receivedMessageEvent"),this.onMessageReceived=m=>this.convertToType(m)}convertToType(f){var p,m,T,C;try{switch(JSON.parse(f).type){case"event":const w=JSON.parse(f);(p=this.receivedMessageEvent)==null||p.call(this,w);break;case"message":const j=JSON.parse(f);(m=this.receivedMessage)==null||m.call(this,j);break}}catch(w){(T=this.options.logger)==null||T.error("Error parsing socket message",w),w instanceof Error&&((C=this.onError)==null||C.call(this,w))}}async sendSubscribe(f){var p;const m={action:"subscribe",data:{userAgent:"courier-js",channel:this.options.userId,event:"*",version:(f==null?void 0:f.version)??5}};this.options.connectionId&&(m.data.clientSourceId=this.options.connectionId),this.options.tenantId&&(m.data.accountId=this.options.tenantId),(p=this.options.logger)==null||p.debug("Sending subscribe request",m),await this.send(m)}static buildUrl(f){var p;let m=((p=f.apiUrls)==null?void 0:p.inbox.webSocket)??"";return f.accessToken&&(m+=`/?auth=${f.accessToken}`),m}}class n2 extends Yr{constructor(f){super(f),Ht(this,"socket"),this.socket=new Qg(f)}async getMessages(f){const p=`
29
+ `;return(await nu({options:this.options,url:this.options.apiUrls.courier.graphql,headers:{"x-courier-user-id":this.options.userId,"x-courier-client-key":"empty",Authorization:`Bearer ${this.options.accessToken}`},query:v,variables:{brandId:f.brandId}})).data.brand}}class Ng extends kS{constructor(f){const v=Ng.buildUrl(f);super(v,f),wt(this,"receivedMessage"),wt(this,"receivedMessageEvent"),this.onMessageReceived=m=>this.convertToType(m)}convertToType(f){var v,m,T,A;try{switch(JSON.parse(f).type){case"event":const X=JSON.parse(f);(v=this.receivedMessageEvent)==null||v.call(this,X);break;case"message":const M=JSON.parse(f);(m=this.receivedMessage)==null||m.call(this,M);break}}catch(w){(T=this.options.logger)==null||T.error("Error parsing socket message",w),w instanceof Error&&((A=this.onError)==null||A.call(this,w))}}async sendSubscribe(f){var v;const m={action:"subscribe",data:{userAgent:"courier-js",channel:this.options.userId,event:"*",version:(f==null?void 0:f.version)??5}};this.options.connectionId&&(m.data.clientSourceId=this.options.connectionId),this.options.tenantId&&(m.data.accountId=this.options.tenantId),(v=this.options.logger)==null||v.debug("Sending subscribe request",m),await this.send(m)}static buildUrl(f){var v;let m=((v=f.apiUrls)==null?void 0:v.inbox.webSocket)??"";return f.accessToken&&(m+=`/?auth=${f.accessToken}`),m}}class qS extends Nr{constructor(f){super(f),wt(this,"socket"),this.socket=new Ng(f)}async getMessages(f){const v=`
30
30
  query GetInboxMessages(
31
31
  $params: FilterParamsInput = { ${this.options.tenantId?`accountId: "${this.options.tenantId}"`:""} }
32
32
  $limit: Int = ${(f==null?void 0:f.paginationLimit)??24}
@@ -60,7 +60,7 @@ Response JSON: ${JSON.stringify(m.response,null,2)}
60
60
  }
61
61
  }
62
62
  }
63
- `;return await au({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getArchivedMessages(f){const p=`
63
+ `;return await nu({options:this.options,query:v,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getArchivedMessages(f){const v=`
64
64
  query GetInboxMessages(
65
65
  $params: FilterParamsInput = { ${this.options.tenantId?`accountId: "${this.options.tenantId}"`:""}, archived: true }
66
66
  $limit: Int = ${(f==null?void 0:f.paginationLimit)??24}
@@ -94,41 +94,41 @@ Response JSON: ${JSON.stringify(m.response,null,2)}
94
94
  }
95
95
  }
96
96
  }
97
- `;return au({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getUnreadMessageCount(){var f;const p=`
97
+ `;return nu({options:this.options,query:v,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getUnreadMessageCount(){var f;const v=`
98
98
  query GetMessages {
99
99
  count(params: { status: "unread" ${this.options.tenantId?`, accountId: "${this.options.tenantId}"`:""} })
100
100
  }
101
- `;return((f=(await au({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})).data)==null?void 0:f.count)??0}async click(f){const p=`
101
+ `;return((f=(await nu({options:this.options,query:v,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})).data)==null?void 0:f.count)??0}async click(f){const v=`
102
102
  mutation TrackEvent {
103
103
  clicked(messageId: "${f.messageId}", trackingId: "${f.trackingId}")
104
104
  }
105
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async read(f){const p=`
105
+ `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:v,headers:m,url:this.options.apiUrls.inbox.graphql})}async read(f){const v=`
106
106
  mutation TrackEvent {
107
107
  read(messageId: "${f.messageId}")
108
108
  }
109
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async unread(f){const p=`
109
+ `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:v,headers:m,url:this.options.apiUrls.inbox.graphql})}async unread(f){const v=`
110
110
  mutation TrackEvent {
111
111
  unread(messageId: "${f.messageId}")
112
112
  }
113
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async readAll(){const f=`
113
+ `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:v,headers:m,url:this.options.apiUrls.inbox.graphql})}async readAll(){const f=`
114
114
  mutation TrackEvent {
115
115
  markAllRead
116
116
  }
117
- `,p={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(p["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:f,headers:p,url:this.options.apiUrls.inbox.graphql})}async open(f){const p=`
117
+ `,v={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(v["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:f,headers:v,url:this.options.apiUrls.inbox.graphql})}async open(f){const v=`
118
118
  mutation TrackEvent {
119
119
  opened(messageId: "${f.messageId}")
120
120
  }
121
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async archive(f){const p=`
121
+ `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:v,headers:m,url:this.options.apiUrls.inbox.graphql})}async archive(f){const v=`
122
122
  mutation TrackEvent {
123
123
  archive(messageId: "${f.messageId}")
124
124
  }
125
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async archiveRead(){const f=`
125
+ `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:v,headers:m,url:this.options.apiUrls.inbox.graphql})}async archiveRead(){const f=`
126
126
  mutation TrackEvent {
127
127
  archiveRead
128
128
  }
129
- `,p={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(p["x-courier-client-source-id"]=this.options.connectionId),await au({options:this.options,query:f,headers:p,url:this.options.apiUrls.inbox.graphql})}}class l2{transformItem(f){return{topicId:f.topic_id,topicName:f.topic_name,sectionId:f.section_id,sectionName:f.section_name,status:f.status,defaultStatus:f.default_status,hasCustomRouting:f.has_custom_routing,customRouting:f.custom_routing||[]}}*transform(f){for(const p of f)yield this.transformItem(p)}}function a2(b){const f=atob(b),p=new Uint8Array(f.length);for(let m=0;m<f.length;m++)p[m]=f.charCodeAt(m);return String.fromCharCode(...p)}function i2(b){const f=new Uint8Array(b.length);for(let p=0;p<b.length;p++)f[p]=b.charCodeAt(p);return btoa(String.fromCharCode(...f))}class u2 extends Yr{constructor(){super(...arguments),Ht(this,"transformer",new l2)}async getUserPreferences(f){let p=`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences`;f!=null&&f.paginationCursor&&(p+=`?cursor=${f.paginationCursor}`);const m=await Qo({options:this.options,url:p,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return{items:[...this.transformer.transform(m.items)],paging:m.paging}}async getUserPreferenceTopic(f){const p=await Qo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return this.transformer.transformItem(p.topic)}async putUserPreferenceTopic(f){const p={topic:{status:f.status,has_custom_routing:f.hasCustomRouting,custom_routing:f.customRouting}};await Qo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:p})}getNotificationCenterUrl(f){const p=a2(f.clientKey);return`https://view.notificationcenter.app/p/${i2(`${p}#${this.options.userId}${this.options.tenantId?`#${this.options.tenantId}`:""}#false`)}`}}class o2 extends Yr{async putUserToken(f){const p={provider_key:f.provider,...f.device&&{device:{app_id:f.device.appId,ad_id:f.device.adId,device_id:f.device.deviceId,platform:f.device.platform,manufacturer:f.device.manufacturer,model:f.device.model}}};await Qo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:p,validCodes:[200,204]})}async deleteUserToken(f){await Qo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`},validCodes:[200,204]})}}class s2 extends Yr{async putSubscription(f){return await Qo({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}async deleteSubscription(f){return await Qo({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}}class c2 extends Yr{async postInboundCourier(f){return await Qo({url:`${this.options.apiUrls.courier.rest}/inbound/courier`,options:this.options,method:"POST",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:{...f,userId:this.options.userId},validCodes:[200,202]})}async postTrackingUrl(f){return await Qo({url:f.url,options:this.options,method:"POST",body:{event:f.event}})}}class r2 extends Yr{constructor(f){var p,m;const T=f.showLogs!==void 0?f.showLogs:process.env.NODE_ENV==="development",C={...f,showLogs:T,apiUrls:f.apiUrls||pb(),accessToken:f.jwt??f.publicApiKey};super({...C,logger:new e2(C.showLogs),apiUrls:pb(C.apiUrls)}),Ht(this,"tokens"),Ht(this,"brands"),Ht(this,"preferences"),Ht(this,"inbox"),Ht(this,"lists"),Ht(this,"tracking"),this.tokens=new o2(this.options),this.brands=new t2(this.options),this.preferences=new u2(this.options),this.inbox=new n2(this.options),this.lists=new s2(this.options),this.tracking=new c2(this.options),!this.options.jwt&&!this.options.publicApiKey&&this.options.logger.warn("Courier Client initialized with no authentication method. Please provide a JWT or public API key."),this.options.publicApiKey&&((p=this.options.logger)==null||p.warn(`Courier Warning: Public API Keys are for testing only. Please use JWTs for production.
129
+ `,v={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(v["x-courier-client-source-id"]=this.options.connectionId),await nu({options:this.options,query:f,headers:v,url:this.options.apiUrls.inbox.graphql})}}class YS{transformItem(f){return{topicId:f.topic_id,topicName:f.topic_name,sectionId:f.section_id,sectionName:f.section_name,status:f.status,defaultStatus:f.default_status,hasCustomRouting:f.has_custom_routing,customRouting:f.custom_routing||[]}}*transform(f){for(const v of f)yield this.transformItem(v)}}function VS(x){const f=atob(x),v=new Uint8Array(f.length);for(let m=0;m<f.length;m++)v[m]=f.charCodeAt(m);return String.fromCharCode(...v)}function GS(x){const f=new Uint8Array(x.length);for(let v=0;v<x.length;v++)f[v]=x.charCodeAt(v);return btoa(String.fromCharCode(...f))}class XS extends Nr{constructor(){super(...arguments),wt(this,"transformer",new YS)}async getUserPreferences(f){let v=`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences`;f!=null&&f.paginationCursor&&(v+=`?cursor=${f.paginationCursor}`);const T=await Xo({options:this.options,url:v,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return{items:[...this.transformer.transform(T.items)],paging:T.paging}}async getUserPreferenceTopic(f){const m=await Xo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return this.transformer.transformItem(m.topic)}async putUserPreferenceTopic(f){const v={topic:{status:f.status,has_custom_routing:f.hasCustomRouting,custom_routing:f.customRouting}};await Xo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:v})}getNotificationCenterUrl(f){const v=VS(f.clientKey);return`https://view.notificationcenter.app/p/${GS(`${v}#${this.options.userId}${this.options.tenantId?`#${this.options.tenantId}`:""}#false`)}`}}class jS extends Nr{async putUserToken(f){const v={provider_key:f.provider,...f.device&&{device:{app_id:f.device.appId,ad_id:f.device.adId,device_id:f.device.deviceId,platform:f.device.platform,manufacturer:f.device.manufacturer,model:f.device.model}}};await Xo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:v,validCodes:[200,204]})}async deleteUserToken(f){await Xo({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`},validCodes:[200,204]})}}class QS extends Nr{async putSubscription(f){return await Xo({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}async deleteSubscription(f){return await Xo({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}}class ZS extends Nr{async postInboundCourier(f){return await Xo({url:`${this.options.apiUrls.courier.rest}/inbound/courier`,options:this.options,method:"POST",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:{...f,userId:this.options.userId},validCodes:[200,202]})}async postTrackingUrl(f){return await Xo({url:f.url,options:this.options,method:"POST",body:{event:f.event}})}}class $S extends Nr{constructor(f){var v,m;const T=f.showLogs!==void 0?f.showLogs:process.env.NODE_ENV==="development",A={...f,showLogs:T,apiUrls:f.apiUrls||ub(),accessToken:f.jwt??f.publicApiKey};super({...A,logger:new NS(A.showLogs),apiUrls:ub(A.apiUrls)}),wt(this,"tokens"),wt(this,"brands"),wt(this,"preferences"),wt(this,"inbox"),wt(this,"lists"),wt(this,"tracking"),this.tokens=new jS(this.options),this.brands=new LS(this.options),this.preferences=new XS(this.options),this.inbox=new qS(this.options),this.lists=new QS(this.options),this.tracking=new ZS(this.options),!this.options.jwt&&!this.options.publicApiKey&&this.options.logger.warn("Courier Client initialized with no authentication method. Please provide a JWT or public API key."),this.options.publicApiKey&&((v=this.options.logger)==null||v.warn(`Courier Warning: Public API Keys are for testing only. Please use JWTs for production.
130
130
  You can generate a JWT with this endpoint: https://www.courier.com/docs/reference/auth/issue-token
131
- This endpoint should be called from your backend server, not the SDK.`)),this.options.jwt&&this.options.publicApiKey&&((m=this.options.logger)==null||m.warn("Courier Warning: Both a JWT and a Public API Key were provided. The Public API Key will be ignored."))}}class f2{constructor(f){Ht(this,"callback"),this.callback=f}remove(){Le.shared.removeAuthenticationListener(this)}}const yb=class ov{constructor(){Ht(this,"id",rv.generate()),Ht(this,"instanceClient"),Ht(this,"_paginationLimit",24),Ht(this,"authenticationListeners",[])}get paginationLimit(){return this._paginationLimit}set paginationLimit(f){this._paginationLimit=Math.min(Math.max(f,1),100)}get client(){return this.instanceClient}static get shared(){return ov.instance||(ov.instance=new ov),ov.instance}signIn(f){const p=f.connectionId??rv.generate();this.instanceClient=new r2({...f,connectionId:p}),this.notifyAuthenticationListeners({userId:f.userId})}signOut(){this.instanceClient=void 0,this.notifyAuthenticationListeners({userId:void 0})}addAuthenticationListener(f){var p;(p=this.instanceClient)==null||p.options.logger.info("Adding authentication listener");const m=new f2(f);return this.authenticationListeners.push(m),m}removeAuthenticationListener(f){var p;(p=this.instanceClient)==null||p.options.logger.info("Removing authentication listener"),this.authenticationListeners=this.authenticationListeners.filter(m=>m!==f)}notifyAuthenticationListeners(f){this.authenticationListeners.forEach(p=>p.callback(f))}};Ht(yb,"instance");let Le=yb;var d2=Object.defineProperty,h2=(b,f,p)=>f in b?d2(b,f,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[f]=p,Vt=(b,f,p)=>h2(b,typeof f!="symbol"?f+"":f,p);const Z={black:{500:"#171717",50010:"#1717171A",50020:"#17171733"},gray:{200:"#F5F5F5",400:"#3A3A3A",500:"#E5E5E5",600:"#737373"},white:{500:"#FFFFFF",50010:"#FFFFFF1A",50020:"#FFFFFF33"},blue:{400:"#60A5FA",500:"#2563EB"}},Zo={light:{colors:{primary:Z.black[500],secondary:Z.white[500],border:Z.gray[500],link:Z.blue[500],icon:Z.black[500]},button:{cornerRadius:"4px"}},dark:{colors:{primary:Z.white[500],secondary:Z.black[500],border:Z.gray[400],link:Z.blue[400],icon:Z.white[500]},button:{cornerRadius:"4px"}}},bb=()=>typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",Sb=b=>{if(typeof window>"u")return()=>{};const f=window.matchMedia("(prefers-color-scheme: dark)"),p=m=>{b(m.matches?"dark":"light")};return f.addEventListener("change",p),()=>{f.removeEventListener("change",p)}};class Tb extends HTMLElement{constructor(){super(),Vt(this,"_currentSystemTheme"),Vt(this,"_systemThemeCleanup"),this._currentSystemTheme=bb(),this._systemThemeCleanup=Sb(f=>{this._currentSystemTheme=f,this.onSystemThemeChange(f)})}get currentSystemTheme(){return this._currentSystemTheme}disconnectedCallback(){this._systemThemeCleanup&&this._systemThemeCleanup()}onSystemThemeChange(f){}}const Zg={borderRadius:"4px",fontSize:"14px"},lc={primary:b=>({...Zg,backgroundColor:Zo[b].colors.primary,textColor:Zo[b].colors.secondary,fontWeight:"500",shadow:"none"}),secondary:b=>({...Zg,backgroundColor:Zo[b].colors.secondary,textColor:Zo[b].colors.primary,fontWeight:"500",border:`1px solid ${Zo[b].colors.border}`,shadow:b==="light"?"0px 1px 2px 0px rgba(0, 0, 0, 0.06)":"0px 1px 2px 0px rgba(255, 255, 255, 0.1)"}),tertiary:b=>({...Zg,backgroundColor:Zo[b].colors.border,textColor:Zo[b].colors.primary,fontWeight:"500",border:"none",shadow:"none"})};class dv extends Tb{constructor(f){super(),Vt(this,"_button"),Vt(this,"_style");const p=this.attachShadow({mode:"open"});this._button=document.createElement("button"),this._button.setAttribute("part","button"),this._style=document.createElement("style"),this._style.textContent=this.getStyles(f),p.appendChild(this._style),p.appendChild(this._button),this.updateButton(f),this._button.addEventListener("click",m=>{m.preventDefault(),m.stopPropagation(),f.onClick&&f.onClick()})}getStyles(f){const p=()=>lc.secondary(this.currentSystemTheme).textColor,m=()=>lc.secondary(this.currentSystemTheme).backgroundColor,T=()=>lc.secondary(this.currentSystemTheme).border,C=()=>lc.secondary(this.currentSystemTheme).shadow,w=()=>lc.secondary(this.currentSystemTheme).borderRadius,j=()=>lc.secondary(this.currentSystemTheme).fontSize,M=()=>lc.secondary(this.currentSystemTheme).fontWeight;return`
131
+ This endpoint should be called from your backend server, not the SDK.`)),this.options.jwt&&this.options.publicApiKey&&((m=this.options.logger)==null||m.warn("Courier Warning: Both a JWT and a Public API Key were provided. The Public API Key will be ignored."))}}class JS{constructor(f){wt(this,"callback"),this.callback=f}remove(){De.shared.removeAuthenticationListener(this)}}const sb=class lv{constructor(){wt(this,"id",av.generate()),wt(this,"instanceClient"),wt(this,"_paginationLimit",24),wt(this,"authenticationListeners",[])}get paginationLimit(){return this._paginationLimit}set paginationLimit(f){this._paginationLimit=Math.min(Math.max(f,1),100)}get client(){return this.instanceClient}static get shared(){return lv.instance||(lv.instance=new lv),lv.instance}signIn(f){const v=f.connectionId??av.generate();this.instanceClient=new $S({...f,connectionId:v}),this.notifyAuthenticationListeners({userId:f.userId})}signOut(){this.instanceClient=void 0,this.notifyAuthenticationListeners({userId:void 0})}addAuthenticationListener(f){var v;(v=this.instanceClient)==null||v.options.logger.info("Adding authentication listener");const m=new JS(f);return this.authenticationListeners.push(m),m}removeAuthenticationListener(f){var v;(v=this.instanceClient)==null||v.options.logger.info("Removing authentication listener"),this.authenticationListeners=this.authenticationListeners.filter(m=>m!==f)}notifyAuthenticationListeners(f){this.authenticationListeners.forEach(v=>v.callback(f))}};wt(sb,"instance");let De=sb;var KS=Object.defineProperty,WS=(x,f,v)=>f in x?KS(x,f,{enumerable:!0,configurable:!0,writable:!0,value:v}):x[f]=v,K=(x,f,v)=>WS(x,typeof f!="symbol"?f+"":f,v),IS=Object.defineProperty,FS=(x,f,v)=>f in x?IS(x,f,{enumerable:!0,configurable:!0,writable:!0,value:v}):x[f]=v,Yt=(x,f,v)=>FS(x,typeof f!="symbol"?f+"":f,v);const Z={black:{500:"#171717",50010:"#1717171A",50020:"#17171733"},gray:{200:"#F5F5F5",400:"#3A3A3A",500:"#E5E5E5",600:"#737373"},white:{500:"#FFFFFF",50010:"#FFFFFF1A",50020:"#FFFFFF33"},blue:{400:"#60A5FA",500:"#2563EB"}},jo={light:{colors:{primary:Z.black[500],secondary:Z.white[500],border:Z.gray[500],link:Z.blue[500],icon:Z.black[500]},button:{cornerRadius:"4px"}},dark:{colors:{primary:Z.white[500],secondary:Z.black[500],border:Z.gray[400],link:Z.blue[400],icon:Z.white[500]},button:{cornerRadius:"4px"}}},rb=()=>typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",fb=x=>{if(typeof window>"u")return()=>{};const f=window.matchMedia("(prefers-color-scheme: dark)"),v=m=>{x(m.matches?"dark":"light")};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}};class db extends HTMLElement{constructor(){super(),Yt(this,"_currentSystemTheme"),Yt(this,"_systemThemeCleanup"),this._currentSystemTheme=rb(),this._systemThemeCleanup=fb(f=>{this._currentSystemTheme=f,this.onSystemThemeChange(f)})}get currentSystemTheme(){return this._currentSystemTheme}disconnectedCallback(){this._systemThemeCleanup&&this._systemThemeCleanup()}onSystemThemeChange(f){}}const Lg={borderRadius:"4px",fontSize:"14px"},es={primary:x=>({...Lg,backgroundColor:jo[x].colors.primary,textColor:jo[x].colors.secondary,fontWeight:"500",shadow:"none"}),secondary:x=>({...Lg,backgroundColor:jo[x].colors.secondary,textColor:jo[x].colors.primary,fontWeight:"500",border:`1px solid ${jo[x].colors.border}`,shadow:x==="light"?"0px 1px 2px 0px rgba(0, 0, 0, 0.06)":"0px 1px 2px 0px rgba(255, 255, 255, 0.1)"}),tertiary:x=>({...Lg,backgroundColor:jo[x].colors.border,textColor:jo[x].colors.primary,fontWeight:"500",border:"none",shadow:"none"})};class uv extends db{constructor(f){super(),Yt(this,"_button"),Yt(this,"_style");const v=this.attachShadow({mode:"open"});this._button=document.createElement("button"),this._button.setAttribute("part","button"),this._style=document.createElement("style"),this._style.textContent=this.getStyles(f),v.appendChild(this._style),v.appendChild(this._button),this.updateButton(f),this._button.addEventListener("click",m=>{m.preventDefault(),m.stopPropagation(),f.onClick&&f.onClick()})}getStyles(f){const v=()=>es.secondary(this.currentSystemTheme).textColor,m=()=>es.secondary(this.currentSystemTheme).backgroundColor,T=()=>es.secondary(this.currentSystemTheme).border,A=()=>es.secondary(this.currentSystemTheme).shadow,w=()=>es.secondary(this.currentSystemTheme).borderRadius,X=()=>es.secondary(this.currentSystemTheme).fontSize,M=()=>es.secondary(this.currentSystemTheme).fontWeight;return`
132
132
  :host {
133
133
  display: inline-block;
134
134
  }
@@ -138,15 +138,15 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
138
138
  border-radius: ${f.borderRadius??w()};
139
139
  font-weight: ${f.fontWeight??M()};
140
140
  font-family: ${f.fontFamily??"inherit"};
141
- font-size: ${f.fontSize??j()};
141
+ font-size: ${f.fontSize??X()};
142
142
  padding: 6px 10px;
143
143
  cursor: pointer;
144
144
  width: 100%;
145
145
  height: 100%;
146
146
  background-color: ${f.backgroundColor??m()};
147
- color: ${f.textColor??p()};
147
+ color: ${f.textColor??v()};
148
148
  border: ${f.border??T()};
149
- box-shadow: ${f.shadow??C()};
149
+ box-shadow: ${f.shadow??A()};
150
150
  touch-action: manipulation;
151
151
  }
152
152
 
@@ -162,7 +162,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
162
162
  opacity: 0.5;
163
163
  cursor: not-allowed;
164
164
  }
165
- `}updateButton(f){f.text&&(this._button.textContent=f.text),this._style.textContent=this.getStyles(f)}}customElements.get("courier-button")||customElements.define("courier-button",dv);const we={inbox:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
165
+ `}updateButton(f){f.text&&(this._button.textContent=f.text),this._style.textContent=this.getStyles(f)}}customElements.get("courier-button")||customElements.define("courier-button",uv);const we={inbox:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
166
166
  <path d="M5.5 14.5V17C5.5 17.2812 5.71875 17.5 6 17.5H18C18.25 17.5 18.5 17.2812 18.5 17V14.5H15.9375L15.2812 15.8125C15.0938 16.25 14.6562 16.5 14.1875 16.5H9.78125C9.3125 16.5 8.875 16.25 8.6875 15.8125L8.03125 14.5H5.5ZM18.1875 13L16.6562 6.90625C16.5938 6.65625 16.4062 6.5 16.1875 6.5H7.8125C7.5625 6.5 7.375 6.65625 7.3125 6.90625L5.78125 13H8.1875C8.65625 13 9.09375 13.2812 9.3125 13.7188L9.9375 15H14.0312L14.6875 13.7188C14.875 13.2812 15.3125 13 15.7812 13H18.1875ZM4 14.25C4 14.0938 4 13.9375 4.03125 13.7812L5.84375 6.53125C6.09375 5.625 6.875 5 7.8125 5H16.1875C17.0938 5 17.9062 5.625 18.125 6.53125L19.9375 13.7812C19.9688 13.9375 20 14.0938 20 14.25V17C20 18.125 19.0938 19 18 19H6C4.875 19 4 18.125 4 17V14.25Z" fill="currentColor"/>
167
167
  </svg>`,archive:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
168
168
  <path d="M5.5 6.5V8H18.5V6.5H5.5ZM5 5H19C19.5312 5 20 5.46875 20 6V8.5C20 9.0625 19.5312 9.5 19 9.5H5C4.4375 9.5 4 9.0625 4 8.5V6C4 5.46875 4.4375 5 5 5ZM9 11.75C9 11.3438 9.3125 11 9.75 11H14.25C14.6562 11 15 11.3438 15 11.75C15 12.1875 14.6562 12.5 14.25 12.5H9.75C9.3125 12.5 9 12.1875 9 11.75ZM5 17V10.5H6.5V17C6.5 17.2812 6.71875 17.5 7 17.5H17C17.25 17.5 17.5 17.2812 17.5 17V10.5H19V17C19 18.125 18.0938 19 17 19H7C5.875 19 5 18.125 5 17Z" fill="currentColor"/>
@@ -180,7 +180,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
180
180
  <path d="M17 6.5H7C6.71875 6.5 6.5 6.75 6.5 7V17C6.5 17.2812 6.71875 17.5 7 17.5H17C17.25 17.5 17.5 17.2812 17.5 17V7C17.5 6.75 17.25 6.5 17 6.5ZM7 5H17C18.0938 5 19 5.90625 19 7V17C19 18.125 18.0938 19 17 19H7C5.875 19 5 18.125 5 17V7C5 5.90625 5.875 5 7 5Z" fill="currentColor"/>
181
181
  </svg>`,unarchive:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
182
182
  <path d="M5.5 11C5.0625 11 4.75 10.6875 4.75 10.25V5.75C4.75 5.34375 5.0625 5 5.5 5C5.90625 5 6.25 5.34375 6.25 5.75V8.28125L6.875 7.53125C8.15625 6 10.0625 5 12.25 5C16.0938 5 19.25 8.15625 19.25 12C19.25 15.875 16.0938 19 12.25 19C10.6562 19 9.21875 18.5 8.03125 17.625C7.71875 17.375 7.625 16.9062 7.875 16.5625C8.125 16.2188 8.59375 16.1562 8.9375 16.4062C9.84375 17.0938 11 17.5 12.25 17.5C15.2812 17.5 17.75 15.0625 17.75 12C17.75 8.96875 15.2812 6.5 12.25 6.5C10.5312 6.5 9.03125 7.28125 8 8.5L7.15625 9.5H10C10.4062 9.5 10.75 9.84375 10.75 10.25C10.75 10.6875 10.4062 11 10 11H5.5Z" fill="currentColor"/>
183
- </svg>`};class Vr extends HTMLElement{constructor(f,p){super(),Vt(this,"_color"),Vt(this,"_svg"),Vt(this,"_iconContainer"),Vt(this,"_style"),this._color=f??Z.black[500],this._svg=p;const m=this.attachShadow({mode:"open"});this._iconContainer=document.createElement("div"),m.appendChild(this._iconContainer),this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._color),m.appendChild(this._style),this.refresh()}getStyles(f){return`
183
+ </svg>`};class Lr extends HTMLElement{constructor(f,v){super(),Yt(this,"_color"),Yt(this,"_svg"),Yt(this,"_iconContainer"),Yt(this,"_style"),this._color=f??Z.black[500],this._svg=v;const m=this.attachShadow({mode:"open"});this._iconContainer=document.createElement("div"),m.appendChild(this._iconContainer),this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._color),m.appendChild(this._style),this.refresh()}getStyles(f){return`
184
184
  :host {
185
185
  display: inline-block;
186
186
  line-height: 0;
@@ -194,7 +194,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
194
194
  height: 24px;
195
195
  color: ${f};
196
196
  }
197
- `}refresh(){this._svg&&(this._iconContainer.innerHTML=this._svg),this._color&&(this._style.textContent=this.getStyles(this._color))}updateColor(f){this._color=f,this.refresh()}updateSVG(f){this._svg=f,this.refresh()}}customElements.get("courier-icon")||customElements.define("courier-icon",Vr);class $g extends HTMLElement{constructor(){super(),Vt(this,"link");const f=this.attachShadow({mode:"open"});this.link=document.createElement("a"),this.link.setAttribute("part","link");const p=document.createElement("style");p.textContent=`
197
+ `}refresh(){this._svg&&(this._iconContainer.innerHTML=this._svg),this._color&&(this._style.textContent=this.getStyles(this._color))}updateColor(f){this._color=f,this.refresh()}updateSVG(f){this._svg=f,this.refresh()}}customElements.get("courier-icon")||customElements.define("courier-icon",Lr);class qg extends HTMLElement{constructor(){super(),Yt(this,"link");const f=this.attachShadow({mode:"open"});this.link=document.createElement("a"),this.link.setAttribute("part","link");const v=document.createElement("style");v.textContent=`
198
198
  :host {
199
199
  display: inline-block;
200
200
  }
@@ -211,7 +211,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
211
211
 
212
212
  /* Variants */
213
213
  a[data-variant="primary"][data-mode="light"] {
214
- color: var(--courier-link-color, ${Zo.light.colors.link});
214
+ color: var(--courier-link-color, ${jo.light.colors.link});
215
215
  }
216
216
 
217
217
  a[data-variant="primary"][data-mode="light"]:hover {
@@ -223,7 +223,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
223
223
  }
224
224
 
225
225
  a[data-variant="primary"][data-mode="dark"] {
226
- color: var(--courier-link-color, ${Zo.dark.colors.link});
226
+ color: var(--courier-link-color, ${jo.dark.colors.link});
227
227
  }
228
228
 
229
229
  a[data-variant="primary"][data-mode="dark"]:hover {
@@ -243,11 +243,11 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
243
243
  cursor: not-allowed;
244
244
  pointer-events: none;
245
245
  }
246
- `,f.appendChild(p),f.appendChild(this.link),this.updateVariant(),this.updateUnderline(),this.updateMode()}connectedCallback(){const f=document.createElement("slot");this.link.appendChild(f),this.updateHref()}attributeChangedCallback(f,p,m){if(p!==m)switch(f){case"href":this.updateHref();break;case"variant":case"mode":this.updateVariant();break;case"disabled":this.link.style.pointerEvents=this.hasAttribute("disabled")?"none":"auto",this.link.style.opacity=this.hasAttribute("disabled")?"0.6":"1";break;case"color":this.updateColor();break;case"underline":this.updateUnderline();break;case"target":this.updateTarget();break;case"font-family":this.updateFontFamily();break;case"font-size":this.updateFontSize();break}}updateHref(){const f=this.getAttribute("href");f&&(this.link.href=f)}updateVariant(){const f=this.getAttribute("variant")||"primary",p=this.getAttribute("mode")||"light";this.link.setAttribute("data-variant",f),this.link.setAttribute("data-mode",p)}updateColor(){const f=this.getAttribute("color");f?this.link.style.setProperty("--courier-link-color",f):this.link.style.removeProperty("--courier-link-color")}updateUnderline(){const f=this.getAttribute("underline")==="true";this.link.setAttribute("data-underline",f.toString())}updateMode(){const f=this.getAttribute("mode")||"light";this.link.setAttribute("data-mode",f)}updateTarget(){const f=this.getAttribute("target");f&&(this.link.target=f)}updateFontFamily(){const f=this.getAttribute("font-family");f?this.link.style.setProperty("--courier-link-font-family",f):this.link.style.removeProperty("--courier-link-font-family")}updateFontSize(){const f=this.getAttribute("font-size");f?this.link.style.setProperty("--courier-link-font-size",f):this.link.style.removeProperty("--courier-link-font-size")}}Vt($g,"observedAttributes",["href","variant","disabled","color","underline","mode","target","font-family","font-size"]),customElements.get("courier-link")||customElements.define("courier-link",$g);class hv extends Tb{constructor(){super(),Vt(this,"shadow"),this.shadow=this.attachShadow({mode:"open"})}build(f){if(f===null){this.shadow.replaceChildren();return}const p=f??this.defaultElement();this.shadow.replaceChildren(p)}defaultElement(){const f=document.createElement("div");return f.textContent="Default Element Factory",f.style.cssText=`
246
+ `,f.appendChild(v),f.appendChild(this.link),this.updateVariant(),this.updateUnderline(),this.updateMode()}connectedCallback(){const f=document.createElement("slot");this.link.appendChild(f),this.updateHref()}attributeChangedCallback(f,v,m){if(v!==m)switch(f){case"href":this.updateHref();break;case"variant":case"mode":this.updateVariant();break;case"disabled":this.link.style.pointerEvents=this.hasAttribute("disabled")?"none":"auto",this.link.style.opacity=this.hasAttribute("disabled")?"0.6":"1";break;case"color":this.updateColor();break;case"underline":this.updateUnderline();break;case"target":this.updateTarget();break;case"font-family":this.updateFontFamily();break;case"font-size":this.updateFontSize();break}}updateHref(){const f=this.getAttribute("href");f&&(this.link.href=f)}updateVariant(){const f=this.getAttribute("variant")||"primary",v=this.getAttribute("mode")||"light";this.link.setAttribute("data-variant",f),this.link.setAttribute("data-mode",v)}updateColor(){const f=this.getAttribute("color");f?this.link.style.setProperty("--courier-link-color",f):this.link.style.removeProperty("--courier-link-color")}updateUnderline(){const f=this.getAttribute("underline")==="true";this.link.setAttribute("data-underline",f.toString())}updateMode(){const f=this.getAttribute("mode")||"light";this.link.setAttribute("data-mode",f)}updateTarget(){const f=this.getAttribute("target");f&&(this.link.target=f)}updateFontFamily(){const f=this.getAttribute("font-family");f?this.link.style.setProperty("--courier-link-font-family",f):this.link.style.removeProperty("--courier-link-font-family")}updateFontSize(){const f=this.getAttribute("font-size");f?this.link.style.setProperty("--courier-link-font-size",f):this.link.style.removeProperty("--courier-link-font-size")}}Yt(qg,"observedAttributes",["href","variant","disabled","color","underline","mode","target","font-family","font-size"]),customElements.get("courier-link")||customElements.define("courier-link",qg);class ov extends db{constructor(){super(),Yt(this,"shadow"),this.shadow=this.attachShadow({mode:"open"})}build(f){if(f===null){this.shadow.replaceChildren();return}const v=f??this.defaultElement();this.shadow.replaceChildren(v)}defaultElement(){const f=document.createElement("div");return f.textContent="Default Element Factory",f.style.cssText=`
247
247
  background-color: red;
248
248
  text-align: center;
249
249
  padding: 12px;
250
- `,f}}class mv extends hv{constructor(f){super(),Vt(this,"_props"),Vt(this,"_title"),Vt(this,"_button"),Vt(this,"_style"),Vt(this,"_buttonClickCallback",null),this._props=f}defaultElement(){var f,p;const m=document.createElement("div");return this._title=document.createElement("h2"),(f=this._props.title)!=null&&f.text&&(this._title.textContent=this._props.title.text),this._button=new dv(this._props.button??lc.secondary(this.currentSystemTheme)),this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._props),m.className="container",m.appendChild(this._style),m.appendChild(this._title),m.appendChild(this._button),this.shadow.appendChild(m),(p=this._button)==null||p.addEventListener("click",()=>{this._buttonClickCallback&&this._buttonClickCallback()}),m}onSystemThemeChange(f){this.updateStyles(this._props)}getStyles(f){var p,m,T,C;return`
250
+ `,f}}class cv extends ov{constructor(f){super(),Yt(this,"_props"),Yt(this,"_title"),Yt(this,"_button"),Yt(this,"_style"),Yt(this,"_buttonClickCallback",null),this._props=f}defaultElement(){var f,v;const m=document.createElement("div");return this._title=document.createElement("h2"),(f=this._props.title)!=null&&f.text&&(this._title.textContent=this._props.title.text),this._button=new uv(this._props.button??es.secondary(this.currentSystemTheme)),this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._props),m.className="container",m.appendChild(this._style),m.appendChild(this._title),m.appendChild(this._button),this.shadow.appendChild(m),(v=this._button)==null||v.addEventListener("click",()=>{this._buttonClickCallback&&this._buttonClickCallback()}),m}onSystemThemeChange(f){this.updateStyles(this._props)}getStyles(f){var v,m,T,A;return`
251
251
  :host {
252
252
  display: flex;
253
253
  align-items: center;
@@ -268,12 +268,12 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
268
268
 
269
269
  .container h2 {
270
270
  margin: 0;
271
- color: ${((p=f.title)==null?void 0:p.textColor)??"red"};
271
+ color: ${((v=f.title)==null?void 0:v.textColor)??"red"};
272
272
  font-size: ${((m=f.title)==null?void 0:m.fontSize)??"16px"};
273
273
  font-weight: ${((T=f.title)==null?void 0:T.fontWeight)??"500"};
274
- font-family: ${((C=f.title)==null?void 0:C.fontFamily)??"inherit"};
274
+ font-family: ${((A=f.title)==null?void 0:A.fontFamily)??"inherit"};
275
275
  }
276
- `}updateStyles(f){this._props=f,this._style&&(this._style.textContent=this.getStyles(f)),this._button&&this._button.updateButton(f.button)}setButtonClickCallback(f){this._buttonClickCallback=f}}customElements.get("courier-info-state")||customElements.define("courier-info-state",mv);class Xm extends HTMLElement{constructor(f,p,m,T,C,w,j,M){super(),Vt(this,"_backgroundColor"),Vt(this,"_hoverBackgroundColor"),Vt(this,"_activeBackgroundColor"),Vt(this,"_borderRadius"),Vt(this,"_height"),Vt(this,"_width"),Vt(this,"_style"),Vt(this,"_button"),Vt(this,"_icon"),this._borderRadius=w,this._backgroundColor=m,this._hoverBackgroundColor=T,this._activeBackgroundColor=C,this._height=j,this._width=M;const Y=this.attachShadow({mode:"open"});this._button=document.createElement("button"),this._button.setAttribute("part","button"),this._icon=new Vr(p,f),this._style=document.createElement("style"),this.refresh(),Y.appendChild(this._style),this._button.appendChild(this._icon),Y.appendChild(this._button)}refresh(){this._style.textContent=this.getStyles()}getStyles(){return`
276
+ `}updateStyles(f){this._props=f,this._style&&(this._style.textContent=this.getStyles(f)),this._button&&this._button.updateButton(f.button)}setButtonClickCallback(f){this._buttonClickCallback=f}}customElements.get("courier-info-state")||customElements.define("courier-info-state",cv);class qm extends HTMLElement{constructor(f,v,m,T,A,w,X,M){super(),Yt(this,"_backgroundColor"),Yt(this,"_hoverBackgroundColor"),Yt(this,"_activeBackgroundColor"),Yt(this,"_borderRadius"),Yt(this,"_height"),Yt(this,"_width"),Yt(this,"_style"),Yt(this,"_button"),Yt(this,"_icon"),this._borderRadius=w,this._backgroundColor=m,this._hoverBackgroundColor=T,this._activeBackgroundColor=A,this._height=X,this._width=M;const Y=this.attachShadow({mode:"open"});this._button=document.createElement("button"),this._button.setAttribute("part","button"),this._icon=new Lr(v,f),this._style=document.createElement("style"),this.refresh(),Y.appendChild(this._style),this._button.appendChild(this._icon),Y.appendChild(this._button)}refresh(){this._style.textContent=this.getStyles()}getStyles(){return`
277
277
  :host {
278
278
  display: inline-block;
279
279
  border-radius: ${this._borderRadius??"50%"};
@@ -313,7 +313,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
313
313
  width: 24px;
314
314
  height: 24px;
315
315
  }
316
- `}updateIconColor(f){this._icon.updateColor(f)}updateIconSVG(f){this._icon.updateSVG(f)}updateBackgroundColor(f){this._backgroundColor=f,this.refresh()}updateHoverBackgroundColor(f){this._hoverBackgroundColor=f,this.refresh()}updateActiveBackgroundColor(f){this._activeBackgroundColor=f,this.refresh()}}customElements.get("courier-icon-button")||customElements.define("courier-icon-button",Xm),[{name:"courier-button",class:dv},{name:"courier-icon",class:Vr},{name:"courier-link",class:$g},{name:"courier-info-state",class:mv},{name:"courier-icon-button",class:Xm}].forEach(({name:b,class:f})=>{customElements.get(b)||customElements.define(b,f)});const xb=class sv{constructor(){K(this,"_inboxDataSet"),K(this,"_archiveDataSet"),K(this,"_dataStoreListeners",[]),K(this,"_unreadCount"),K(this,"isPaginatingInbox",!1),K(this,"isPaginatingArchive",!1)}static get shared(){return sv.instance||(sv.instance=new sv),sv.instance}get unreadCount(){return this._unreadCount??0}get inboxDataSet(){return this._inboxDataSet??{messages:[],canPaginate:!1,paginationCursor:null}}get archiveDataSet(){return this._archiveDataSet??{messages:[],canPaginate:!1,paginationCursor:null}}addDataStoreListener(f){this._dataStoreListeners.push(f)}removeDataStoreListener(f){this._dataStoreListeners=this._dataStoreListeners.filter(p=>p!==f)}async fetchDataSet(f){var p,m,T,C,w,j,M,Y,ee,le;if(f.canUseCache)switch(f.feedType){case"inbox":if(this._inboxDataSet)return this._inboxDataSet;break;case"archive":if(this._archiveDataSet)return this._archiveDataSet;break}const V=f.feedType==="inbox"?await((p=Le.shared.client)==null?void 0:p.inbox.getMessages()):await((m=Le.shared.client)==null?void 0:m.inbox.getArchivedMessages());return{messages:((C=(T=V==null?void 0:V.data)==null?void 0:T.messages)==null?void 0:C.nodes)??[],canPaginate:((M=(j=(w=V==null?void 0:V.data)==null?void 0:w.messages)==null?void 0:j.pageInfo)==null?void 0:M.hasNextPage)??!1,paginationCursor:((le=(ee=(Y=V==null?void 0:V.data)==null?void 0:Y.messages)==null?void 0:ee.pageInfo)==null?void 0:le.startCursor)??null}}async fetchUnreadCount(f){var p;return f.canUseCache&&this._unreadCount!==void 0?this._unreadCount:await((p=Le.shared.client)==null?void 0:p.inbox.getUnreadMessageCount())??0}async load(f){var p,m,T;try{if(!((p=Le.shared.client)!=null&&p.options.userId))throw new Error("User is not signed in");const C=f??{feedType:"inbox",canUseCache:!0},[w,j]=await Promise.all([this.fetchDataSet(C),this.fetchUnreadCount(C)]);switch(C.feedType){case"inbox":this._inboxDataSet=w;break;case"archive":this._archiveDataSet=w;break}this._unreadCount=j,this._dataStoreListeners.forEach(M=>{var Y,ee,le,V;(ee=(Y=M.events).onDataSetChange)==null||ee.call(Y,w,C.feedType),(V=(le=M.events).onUnreadCountChange)==null||V.call(le,this._unreadCount??0)}),await this.connectSocket()}catch(C){(T=(m=Le.shared.client)==null?void 0:m.options.logger)==null||T.error("Error loading inbox:",C),this._dataStoreListeners.forEach(w=>{var j,M;(M=(j=w.events).onError)==null||M.call(j,C)})}}async connectSocket(){var f,p,m,T,C,w,j,M,Y,ee,le,V;const oe=(f=Le.shared.client)==null?void 0:f.inbox.socket;try{if(!oe){(m=(p=Le.shared.client)==null?void 0:p.options.logger)==null||m.info("CourierInbox socket not available");return}if((w=(T=Le.shared.client)==null?void 0:T.options.logger)==null||w.info("CourierInbox socket connectionId:",(C=Le.shared.client)==null?void 0:C.options.connectionId),oe.isConnected){(M=(j=Le.shared.client)==null?void 0:j.options.logger)==null||M.info("CourierInbox socket already connected. Socket will not attempt reconnection.");return}oe.receivedMessage=se=>{this.addMessage(se,0,"inbox")},oe.receivedMessageEvent=se=>{let ue;switch(se.messageId&&(ue=this.getMessage({messageId:se.messageId})),se.event){case"mark-all-read":this.readAllMessages({canCallApi:!1});break;case"read":ue&&this.readMessage({message:ue,canCallApi:!1});break;case"unread":ue&&this.unreadMessage({message:ue,canCallApi:!1});break;case"opened":ue&&this.openMessage({message:ue,canCallApi:!1});break;case"archive":ue&&this.archiveMessage({message:ue,canCallApi:!1});break;case"archive-read":this.archiveReadMessages({canCallApi:!1});break;case"click":ue&&this.clickMessage({message:ue,canCallApi:!1});break;case"unopened":case"unarchive":break}},await oe.connect(),await oe.sendSubscribe(),oe.keepAlive(),(ee=(Y=Le.shared.client)==null?void 0:Y.options.logger)==null||ee.info("CourierInbox socket connected")}catch(se){(V=(le=Le.shared.client)==null?void 0:le.options.logger)==null||V.error("Failed to connect socket:",se)}}getMessage(f){var p,m;return((p=this._inboxDataSet)==null?void 0:p.messages.find(T=>T.messageId===f.messageId))??((m=this._archiveDataSet)==null?void 0:m.messages.find(T=>T.messageId===f.messageId))}async fetchNextPageOfMessages(f){var p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me;switch(f.feedType){case"inbox":if(this.isPaginatingInbox)return null;if((p=this._inboxDataSet)!=null&&p.canPaginate&&this._inboxDataSet.paginationCursor)try{this.isPaginatingInbox=!0;const _e=await((m=Le.shared.client)==null?void 0:m.inbox.getMessages({paginationLimit:Le.shared.paginationLimit,startCursor:this._inboxDataSet.paginationCursor})),Re={messages:((C=(T=_e==null?void 0:_e.data)==null?void 0:T.messages)==null?void 0:C.nodes)??[],canPaginate:((M=(j=(w=_e==null?void 0:_e.data)==null?void 0:w.messages)==null?void 0:j.pageInfo)==null?void 0:M.hasNextPage)??!1,paginationCursor:((le=(ee=(Y=_e==null?void 0:_e.data)==null?void 0:Y.messages)==null?void 0:ee.pageInfo)==null?void 0:le.startCursor)??null};return this.addPage(Re,"inbox"),Re}catch(_e){return(oe=(V=Le.shared.client)==null?void 0:V.options.logger)==null||oe.error("Error fetching next page of inbox messages:",_e),null}finally{this.isPaginatingInbox=!1}break;case"archive":if(this.isPaginatingArchive)return null;if((se=this._archiveDataSet)!=null&&se.canPaginate&&this._archiveDataSet.paginationCursor)try{this.isPaginatingArchive=!0;const _e=await((ue=Le.shared.client)==null?void 0:ue.inbox.getArchivedMessages({paginationLimit:Le.shared.paginationLimit,startCursor:this._archiveDataSet.paginationCursor})),Re={messages:((de=(ae=_e==null?void 0:_e.data)==null?void 0:ae.messages)==null?void 0:de.nodes)??[],canPaginate:((xe=(fe=(ke=_e==null?void 0:_e.data)==null?void 0:ke.messages)==null?void 0:fe.pageInfo)==null?void 0:xe.hasNextPage)??!1,paginationCursor:((ze=(qe=(Ye=_e==null?void 0:_e.data)==null?void 0:Ye.messages)==null?void 0:qe.pageInfo)==null?void 0:ze.startCursor)??null};return this.addPage(Re,"archive"),Re}catch(_e){return(me=(at=Le.shared.client)==null?void 0:at.options.logger)==null||me.error("Error fetching next page of archived messages:",_e),null}finally{this.isPaginatingArchive=!1}break}return null}applyLocalMessageChange(f,p){for(const[m,T]of Object.entries(p))T!==void 0&&this.updateMessage(f,T,m)}async readMessage({message:f,canCallApi:p=!0}){var m,T,C,w;if(!Le.shared.client)return;const j=f;if(j.read)return;const M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};try{f.read=new Date().toISOString(),this.applyLocalMessageChange(f,M),p&&await Le.shared.client.inbox.read({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(j,M),(w=(C=Le.shared.client)==null?void 0:C.options.logger)==null||w.error("Error reading message:",Y)}}async unreadMessage({message:f,canCallApi:p=!0}){var m,T,C,w;if(!Le.shared.client)return;const j=f;if(!j.read)return;const M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};try{f.read=void 0,this.applyLocalMessageChange(f,M),p&&await Le.shared.client.inbox.unread({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(j,M),(w=(C=Le.shared.client)==null?void 0:C.options.logger)==null||w.error("Error unreading message:",Y)}}async openMessage({message:f,canCallApi:p=!0}){var m,T,C,w;if(!Le.shared.client)return;const j=f,M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};if(!(!M.inbox&&!M.archive)&&!j.opened)try{f.opened=new Date().toISOString(),this.applyLocalMessageChange(f,M),p&&await Le.shared.client.inbox.open({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(j,M),(w=(C=Le.shared.client)==null?void 0:C.options.logger)==null||w.error("Error opening message:",Y)}}async clickMessage({message:f,canCallApi:p=!0}){var m,T,C,w;if(Le.shared.client)try{(m=f.trackingIds)!=null&&m.clickTrackingId&&p&&await Le.shared.client.inbox.click({messageId:f.messageId,trackingId:(T=f.trackingIds)==null?void 0:T.clickTrackingId})}catch(j){(w=(C=Le.shared.client)==null?void 0:C.options.logger)==null||w.error("Error clicking message:",j)}}async archiveMessage({message:f,canCallApi:p=!0}){var m,T;if(!Le.shared.client)return;const C=f,w=(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(j=>j.messageId===f.messageId);if(w!==void 0)try{if(this.removeMessage(f,w,"inbox"),(T=this._archiveDataSet)!=null&&T.messages){const j=this.findInsertIndex(f,this._archiveDataSet.messages);f.archived=new Date().toISOString(),this.addMessage(f,j,"archive")}p&&await Le.shared.client.inbox.archive({messageId:f.messageId})}catch{this.addMessage(C,w,"inbox"),f.archived=void 0,this.removeMessage(f,w,"archive")}}async archiveReadMessages({canCallApi:f=!0}={}){var p;if(!Le.shared.client)return;const m=this._inboxDataSet,T=this._archiveDataSet;try{(p=this._inboxDataSet)==null||p.messages.forEach(C=>{var w,j;if(!C.read)return;const M=(w=this._inboxDataSet)==null?void 0:w.messages.findIndex(Y=>Y.messageId===C.messageId);if(M!==void 0&&(this.removeMessage(C,M,"inbox"),(j=this._archiveDataSet)!=null&&j.messages)){const Y=this.findInsertIndex(C,this._archiveDataSet.messages);C.archived=new Date().toISOString(),this.addMessage(C,Y,"archive")}}),this._dataStoreListeners.forEach(C=>{var w,j,M,Y;this._inboxDataSet&&((j=(w=C.events).onDataSetChange)==null||j.call(w,this._inboxDataSet,"inbox")),this._archiveDataSet&&((Y=(M=C.events).onDataSetChange)==null||Y.call(M,this._archiveDataSet,"archive"))}),f&&await Le.shared.client.inbox.archiveRead()}catch(C){console.error("Error archiving read messages:",C),this._inboxDataSet&&m&&(this._inboxDataSet.messages=m.messages),this._archiveDataSet&&T&&(this._archiveDataSet.messages=T.messages),this._dataStoreListeners.forEach(w=>{var j,M,Y,ee;this._inboxDataSet&&((M=(j=w.events).onDataSetChange)==null||M.call(j,this._inboxDataSet,"inbox")),this._archiveDataSet&&((ee=(Y=w.events).onDataSetChange)==null||ee.call(Y,this._archiveDataSet,"archive"))})}}async readAllMessages({canCallApi:f=!0}={}){var p,m,T,C;if(!Le.shared.client)return;const w=this._inboxDataSet,j=this._archiveDataSet,M=this._unreadCount;try{(p=this._inboxDataSet)==null||p.messages.forEach(Y=>{Y.read||(Y.read=new Date().toISOString())}),(m=this._archiveDataSet)==null||m.messages.forEach(Y=>{Y.read||(Y.read=new Date().toISOString())}),this._unreadCount=0,this._dataStoreListeners.forEach(Y=>{var ee,le,V,oe,se,ue;this._inboxDataSet&&((le=(ee=Y.events).onDataSetChange)==null||le.call(ee,this._inboxDataSet,"inbox")),this._archiveDataSet&&((oe=(V=Y.events).onDataSetChange)==null||oe.call(V,this._archiveDataSet,"archive")),(ue=(se=Y.events).onUnreadCountChange)==null||ue.call(se,this._unreadCount)}),f&&await Le.shared.client.inbox.readAll()}catch(Y){(C=(T=Le.shared.client)==null?void 0:T.options.logger)==null||C.error("Error reading all messages:",Y),this._inboxDataSet&&w&&(this._inboxDataSet.messages=w.messages),this._archiveDataSet&&j&&(this._archiveDataSet.messages=j.messages),this._unreadCount=M,this._dataStoreListeners.forEach(ee=>{var le,V,oe,se,ue,ae;this._inboxDataSet&&((V=(le=ee.events).onDataSetChange)==null||V.call(le,this._inboxDataSet,"inbox")),this._archiveDataSet&&((se=(oe=ee.events).onDataSetChange)==null||se.call(oe,this._archiveDataSet,"archive")),(ae=(ue=ee.events).onUnreadCountChange)==null||ae.call(ue,this._unreadCount)})}}findInsertIndex(f,p){const m=[...p];m.push(f),m.sort((C,w)=>{const j=new Date(C.created??Date.now()).getTime();return new Date(w.created??Date.now()).getTime()-j});const T=m.findIndex(C=>C.messageId===f.messageId);return Math.max(T-1,0)}addPage(f,p){switch(p){case"inbox":this._inboxDataSet&&(this._inboxDataSet.canPaginate=f.canPaginate,this._inboxDataSet.paginationCursor=f.paginationCursor,this._inboxDataSet.messages=[...this._inboxDataSet.messages,...f.messages]);break;case"archive":this._archiveDataSet&&(this._archiveDataSet.canPaginate=f.canPaginate,this._archiveDataSet.paginationCursor=f.paginationCursor,this._archiveDataSet.messages=[...this._archiveDataSet.messages,...f.messages]);break}this._dataStoreListeners.forEach(m=>{var T,C;return(C=(T=m.events).onPageAdded)==null?void 0:C.call(T,f,p)})}addMessage(f,p,m){var T,C;switch(m){case"inbox":!f.read&&this._unreadCount!==void 0&&(this._unreadCount=this._unreadCount+1),(T=this._inboxDataSet)==null||T.messages.splice(p,0,f);break;case"archive":(C=this._archiveDataSet)==null||C.messages.splice(p,0,f);break}this._dataStoreListeners.forEach(w=>{var j,M,Y,ee;(M=(j=w.events).onMessageAdd)==null||M.call(j,f,p,m),(ee=(Y=w.events).onUnreadCountChange)==null||ee.call(Y,this._unreadCount??0)})}removeMessage(f,p,m){var T,C;switch(m){case"inbox":!f.read&&this._unreadCount!==void 0&&(this._unreadCount=this._unreadCount-1),(T=this._inboxDataSet)==null||T.messages.splice(p,1);break;case"archive":(C=this._archiveDataSet)==null||C.messages.splice(p,1);break}this._dataStoreListeners.forEach(w=>{var j,M,Y,ee;(M=(j=w.events).onMessageRemove)==null||M.call(j,f,p,m),(ee=(Y=w.events).onUnreadCountChange)==null||ee.call(Y,this._unreadCount??0)})}updateMessage(f,p,m){switch(m){case"inbox":this._unreadCount!==void 0&&!f.archived&&(f.read&&(this._unreadCount=Math.max(0,this._unreadCount-1)),f.read||(this._unreadCount=this._unreadCount+1)),this._inboxDataSet&&(this._inboxDataSet.messages[p]=f);break;case"archive":this._archiveDataSet&&(this._archiveDataSet.messages[p]=f);break}this._dataStoreListeners.forEach(T=>{var C,w,j,M;(w=(C=T.events).onMessageUpdate)==null||w.call(C,f,p,m),(M=(j=T.events).onUnreadCountChange)==null||M.call(j,this._unreadCount??0)})}};K(xb,"instance");let un=xb;function m2(b){if(!b.created)return"Now";const f=new Date,p=new Date(b.created),m=Math.floor((f.getTime()-p.getTime())/1e3);return m<60?`${m}s`:m<3600?`${Math.floor(m/60)}m`:m<86400?`${Math.floor(m/3600)}h`:m<604800?`${Math.floor(m/86400)}d`:m<31536e3?`${Math.floor(m/604800)}w`:`${Math.floor(m/31536e3)}y`}class Eb extends HTMLElement{constructor(f){super(),K(this,"_theme"),K(this,"_options",[]),K(this,"_style"),this._theme=f;const p=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._style.textContent=this.getStyles(),p.appendChild(this._style);const m=document.createElement("ul");m.className="menu",p.appendChild(m)}getStyles(){var f,p,m;const T=(m=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item)==null?void 0:m.menu;return`
316
+ `}updateIconColor(f){this._icon.updateColor(f)}updateIconSVG(f){this._icon.updateSVG(f)}updateBackgroundColor(f){this._backgroundColor=f,this.refresh()}updateHoverBackgroundColor(f){this._hoverBackgroundColor=f,this.refresh()}updateActiveBackgroundColor(f){this._activeBackgroundColor=f,this.refresh()}}customElements.get("courier-icon-button")||customElements.define("courier-icon-button",qm),[{name:"courier-button",class:uv},{name:"courier-icon",class:Lr},{name:"courier-link",class:qg},{name:"courier-info-state",class:cv},{name:"courier-icon-button",class:qm}].forEach(({name:x,class:f})=>{customElements.get(x)||customElements.define(x,f)});const hb=class nv{constructor(){K(this,"_inboxDataSet"),K(this,"_archiveDataSet"),K(this,"_dataStoreListeners",[]),K(this,"_unreadCount"),K(this,"isPaginatingInbox",!1),K(this,"isPaginatingArchive",!1)}static get shared(){return nv.instance||(nv.instance=new nv),nv.instance}get unreadCount(){return this._unreadCount??0}get inboxDataSet(){return this._inboxDataSet??{messages:[],canPaginate:!1,paginationCursor:null}}get archiveDataSet(){return this._archiveDataSet??{messages:[],canPaginate:!1,paginationCursor:null}}addDataStoreListener(f){this._dataStoreListeners.push(f)}removeDataStoreListener(f){this._dataStoreListeners=this._dataStoreListeners.filter(v=>v!==f)}async fetchDataSet(f){var v,m,T,A,w,X,M,Y,ee,ne;if(f.canUseCache)switch(f.feedType){case"inbox":if(this._inboxDataSet)return this._inboxDataSet;break;case"archive":if(this._archiveDataSet)return this._archiveDataSet;break}const V=f.feedType==="inbox"?await((v=De.shared.client)==null?void 0:v.inbox.getMessages()):await((m=De.shared.client)==null?void 0:m.inbox.getArchivedMessages());return{messages:((A=(T=V==null?void 0:V.data)==null?void 0:T.messages)==null?void 0:A.nodes)??[],canPaginate:((M=(X=(w=V==null?void 0:V.data)==null?void 0:w.messages)==null?void 0:X.pageInfo)==null?void 0:M.hasNextPage)??!1,paginationCursor:((ne=(ee=(Y=V==null?void 0:V.data)==null?void 0:Y.messages)==null?void 0:ee.pageInfo)==null?void 0:ne.startCursor)??null}}async fetchUnreadCount(f){var v;return f.canUseCache&&this._unreadCount!==void 0?this._unreadCount:await((v=De.shared.client)==null?void 0:v.inbox.getUnreadMessageCount())??0}async load(f){var v,m,T;try{if(!((v=De.shared.client)!=null&&v.options.userId))throw new Error("User is not signed in");const A=f??{feedType:"inbox",canUseCache:!0},[w,X]=await Promise.all([this.fetchDataSet(A),this.fetchUnreadCount(A)]);switch(A.feedType){case"inbox":this._inboxDataSet=w;break;case"archive":this._archiveDataSet=w;break}this._unreadCount=X,this._dataStoreListeners.forEach(M=>{var Y,ee,ne,V;(ee=(Y=M.events).onDataSetChange)==null||ee.call(Y,w,A.feedType),(V=(ne=M.events).onUnreadCountChange)==null||V.call(ne,this._unreadCount??0)}),await this.connectSocket()}catch(A){(T=(m=De.shared.client)==null?void 0:m.options.logger)==null||T.error("Error loading inbox:",A),this._dataStoreListeners.forEach(w=>{var X,M;(M=(X=w.events).onError)==null||M.call(X,A)})}}async connectSocket(){var f,v,m,T,A,w,X,M,Y,ee,ne,V;const oe=(f=De.shared.client)==null?void 0:f.inbox.socket;try{if(!oe){(m=(v=De.shared.client)==null?void 0:v.options.logger)==null||m.info("CourierInbox socket not available");return}if((w=(T=De.shared.client)==null?void 0:T.options.logger)==null||w.info("CourierInbox socket connectionId:",(A=De.shared.client)==null?void 0:A.options.connectionId),oe.isConnected){(M=(X=De.shared.client)==null?void 0:X.options.logger)==null||M.info("CourierInbox socket already connected. Socket will not attempt reconnection.");return}oe.receivedMessage=ce=>{this.addMessage(ce,0,"inbox")},oe.receivedMessageEvent=ce=>{let ue;switch(ce.messageId&&(ue=this.getMessage({messageId:ce.messageId})),ce.event){case"mark-all-read":this.readAllMessages({canCallApi:!1});break;case"read":ue&&this.readMessage({message:ue,canCallApi:!1});break;case"unread":ue&&this.unreadMessage({message:ue,canCallApi:!1});break;case"opened":ue&&this.openMessage({message:ue,canCallApi:!1});break;case"archive":ue&&this.archiveMessage({message:ue,canCallApi:!1});break;case"archive-read":this.archiveReadMessages({canCallApi:!1});break;case"click":ue&&this.clickMessage({message:ue,canCallApi:!1});break;case"unopened":case"unarchive":break}},await oe.connect(),await oe.sendSubscribe(),oe.keepAlive(),(ee=(Y=De.shared.client)==null?void 0:Y.options.logger)==null||ee.info("CourierInbox socket connected")}catch(ce){(V=(ne=De.shared.client)==null?void 0:ne.options.logger)==null||V.error("Failed to connect socket:",ce)}}getMessage(f){var v,m;return((v=this._inboxDataSet)==null?void 0:v.messages.find(T=>T.messageId===f.messageId))??((m=this._archiveDataSet)==null?void 0:m.messages.find(T=>T.messageId===f.messageId))}async fetchNextPageOfMessages(f){var v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me;switch(f.feedType){case"inbox":if(this.isPaginatingInbox)return null;if((v=this._inboxDataSet)!=null&&v.canPaginate&&this._inboxDataSet.paginationCursor)try{this.isPaginatingInbox=!0;const Ce=await((m=De.shared.client)==null?void 0:m.inbox.getMessages({paginationLimit:De.shared.paginationLimit,startCursor:this._inboxDataSet.paginationCursor})),Re={messages:((A=(T=Ce==null?void 0:Ce.data)==null?void 0:T.messages)==null?void 0:A.nodes)??[],canPaginate:((M=(X=(w=Ce==null?void 0:Ce.data)==null?void 0:w.messages)==null?void 0:X.pageInfo)==null?void 0:M.hasNextPage)??!1,paginationCursor:((ne=(ee=(Y=Ce==null?void 0:Ce.data)==null?void 0:Y.messages)==null?void 0:ee.pageInfo)==null?void 0:ne.startCursor)??null};return this.addPage(Re,"inbox"),Re}catch(Ce){return(oe=(V=De.shared.client)==null?void 0:V.options.logger)==null||oe.error("Error fetching next page of inbox messages:",Ce),null}finally{this.isPaginatingInbox=!1}break;case"archive":if(this.isPaginatingArchive)return null;if((ce=this._archiveDataSet)!=null&&ce.canPaginate&&this._archiveDataSet.paginationCursor)try{this.isPaginatingArchive=!0;const Ce=await((ue=De.shared.client)==null?void 0:ue.inbox.getArchivedMessages({paginationLimit:De.shared.paginationLimit,startCursor:this._archiveDataSet.paginationCursor})),Re={messages:((de=(ae=Ce==null?void 0:Ce.data)==null?void 0:ae.messages)==null?void 0:de.nodes)??[],canPaginate:((xe=(fe=(ke=Ce==null?void 0:Ce.data)==null?void 0:ke.messages)==null?void 0:fe.pageInfo)==null?void 0:xe.hasNextPage)??!1,paginationCursor:((Oe=(qe=(Ye=Ce==null?void 0:Ce.data)==null?void 0:Ye.messages)==null?void 0:qe.pageInfo)==null?void 0:Oe.startCursor)??null};return this.addPage(Re,"archive"),Re}catch(Ce){return(me=(at=De.shared.client)==null?void 0:at.options.logger)==null||me.error("Error fetching next page of archived messages:",Ce),null}finally{this.isPaginatingArchive=!1}break}return null}applyLocalMessageChange(f,v){for(const[m,T]of Object.entries(v))T!==void 0&&this.updateMessage(f,T,m)}async readMessage({message:f,canCallApi:v=!0}){var m,T,A,w;if(!De.shared.client)return;const X=f;if(X.read)return;const M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};try{f.read=new Date().toISOString(),this.applyLocalMessageChange(f,M),v&&await De.shared.client.inbox.read({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(X,M),(w=(A=De.shared.client)==null?void 0:A.options.logger)==null||w.error("Error reading message:",Y)}}async unreadMessage({message:f,canCallApi:v=!0}){var m,T,A,w;if(!De.shared.client)return;const X=f;if(!X.read)return;const M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};try{f.read=void 0,this.applyLocalMessageChange(f,M),v&&await De.shared.client.inbox.unread({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(X,M),(w=(A=De.shared.client)==null?void 0:A.options.logger)==null||w.error("Error unreading message:",Y)}}async openMessage({message:f,canCallApi:v=!0}){var m,T,A,w;if(!De.shared.client)return;const X=f,M={inbox:(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(Y=>Y.messageId===f.messageId),archive:(T=this._archiveDataSet)==null?void 0:T.messages.findIndex(Y=>Y.messageId===f.messageId)};if(!(!M.inbox&&!M.archive)&&!X.opened)try{f.opened=new Date().toISOString(),this.applyLocalMessageChange(f,M),v&&await De.shared.client.inbox.open({messageId:f.messageId})}catch(Y){this.applyLocalMessageChange(X,M),(w=(A=De.shared.client)==null?void 0:A.options.logger)==null||w.error("Error opening message:",Y)}}async clickMessage({message:f,canCallApi:v=!0}){var m,T,A,w;if(De.shared.client)try{(m=f.trackingIds)!=null&&m.clickTrackingId&&v&&await De.shared.client.inbox.click({messageId:f.messageId,trackingId:(T=f.trackingIds)==null?void 0:T.clickTrackingId})}catch(X){(w=(A=De.shared.client)==null?void 0:A.options.logger)==null||w.error("Error clicking message:",X)}}async archiveMessage({message:f,canCallApi:v=!0}){var m,T;if(!De.shared.client)return;const A=f,w=(m=this._inboxDataSet)==null?void 0:m.messages.findIndex(X=>X.messageId===f.messageId);if(w!==void 0)try{if(this.removeMessage(f,w,"inbox"),(T=this._archiveDataSet)!=null&&T.messages){const X=this.findInsertIndex(f,this._archiveDataSet.messages);f.archived=new Date().toISOString(),this.addMessage(f,X,"archive")}v&&await De.shared.client.inbox.archive({messageId:f.messageId})}catch{this.addMessage(A,w,"inbox"),f.archived=void 0,this.removeMessage(f,w,"archive")}}async archiveReadMessages({canCallApi:f=!0}={}){var v;if(!De.shared.client)return;const m=this._inboxDataSet,T=this._archiveDataSet;try{(v=this._inboxDataSet)==null||v.messages.forEach(A=>{var w,X;if(!A.read)return;const M=(w=this._inboxDataSet)==null?void 0:w.messages.findIndex(Y=>Y.messageId===A.messageId);if(M!==void 0&&(this.removeMessage(A,M,"inbox"),(X=this._archiveDataSet)!=null&&X.messages)){const Y=this.findInsertIndex(A,this._archiveDataSet.messages);A.archived=new Date().toISOString(),this.addMessage(A,Y,"archive")}}),this._dataStoreListeners.forEach(A=>{var w,X,M,Y;this._inboxDataSet&&((X=(w=A.events).onDataSetChange)==null||X.call(w,this._inboxDataSet,"inbox")),this._archiveDataSet&&((Y=(M=A.events).onDataSetChange)==null||Y.call(M,this._archiveDataSet,"archive"))}),f&&await De.shared.client.inbox.archiveRead()}catch(A){console.error("Error archiving read messages:",A),this._inboxDataSet&&m&&(this._inboxDataSet.messages=m.messages),this._archiveDataSet&&T&&(this._archiveDataSet.messages=T.messages),this._dataStoreListeners.forEach(w=>{var X,M,Y,ee;this._inboxDataSet&&((M=(X=w.events).onDataSetChange)==null||M.call(X,this._inboxDataSet,"inbox")),this._archiveDataSet&&((ee=(Y=w.events).onDataSetChange)==null||ee.call(Y,this._archiveDataSet,"archive"))})}}async readAllMessages({canCallApi:f=!0}={}){var v,m,T,A;if(!De.shared.client)return;const w=this._inboxDataSet,X=this._archiveDataSet,M=this._unreadCount;try{(v=this._inboxDataSet)==null||v.messages.forEach(Y=>{Y.read||(Y.read=new Date().toISOString())}),(m=this._archiveDataSet)==null||m.messages.forEach(Y=>{Y.read||(Y.read=new Date().toISOString())}),this._unreadCount=0,this._dataStoreListeners.forEach(Y=>{var ee,ne,V,oe,ce,ue;this._inboxDataSet&&((ne=(ee=Y.events).onDataSetChange)==null||ne.call(ee,this._inboxDataSet,"inbox")),this._archiveDataSet&&((oe=(V=Y.events).onDataSetChange)==null||oe.call(V,this._archiveDataSet,"archive")),(ue=(ce=Y.events).onUnreadCountChange)==null||ue.call(ce,this._unreadCount)}),f&&await De.shared.client.inbox.readAll()}catch(Y){(A=(T=De.shared.client)==null?void 0:T.options.logger)==null||A.error("Error reading all messages:",Y),this._inboxDataSet&&w&&(this._inboxDataSet.messages=w.messages),this._archiveDataSet&&X&&(this._archiveDataSet.messages=X.messages),this._unreadCount=M,this._dataStoreListeners.forEach(ee=>{var ne,V,oe,ce,ue,ae;this._inboxDataSet&&((V=(ne=ee.events).onDataSetChange)==null||V.call(ne,this._inboxDataSet,"inbox")),this._archiveDataSet&&((ce=(oe=ee.events).onDataSetChange)==null||ce.call(oe,this._archiveDataSet,"archive")),(ae=(ue=ee.events).onUnreadCountChange)==null||ae.call(ue,this._unreadCount)})}}findInsertIndex(f,v){const m=[...v];m.push(f),m.sort((A,w)=>{const X=new Date(A.created??Date.now()).getTime();return new Date(w.created??Date.now()).getTime()-X});const T=m.findIndex(A=>A.messageId===f.messageId);return Math.max(T-1,0)}addPage(f,v){switch(v){case"inbox":this._inboxDataSet&&(this._inboxDataSet.canPaginate=f.canPaginate,this._inboxDataSet.paginationCursor=f.paginationCursor,this._inboxDataSet.messages=[...this._inboxDataSet.messages,...f.messages]);break;case"archive":this._archiveDataSet&&(this._archiveDataSet.canPaginate=f.canPaginate,this._archiveDataSet.paginationCursor=f.paginationCursor,this._archiveDataSet.messages=[...this._archiveDataSet.messages,...f.messages]);break}this._dataStoreListeners.forEach(m=>{var T,A;return(A=(T=m.events).onPageAdded)==null?void 0:A.call(T,f,v)})}addMessage(f,v,m){var T,A;switch(m){case"inbox":!f.read&&this._unreadCount!==void 0&&(this._unreadCount=this._unreadCount+1),(T=this._inboxDataSet)==null||T.messages.splice(v,0,f);break;case"archive":(A=this._archiveDataSet)==null||A.messages.splice(v,0,f);break}this._dataStoreListeners.forEach(w=>{var X,M,Y,ee;(M=(X=w.events).onMessageAdd)==null||M.call(X,f,v,m),(ee=(Y=w.events).onUnreadCountChange)==null||ee.call(Y,this._unreadCount??0)})}removeMessage(f,v,m){var T,A;switch(m){case"inbox":!f.read&&this._unreadCount!==void 0&&(this._unreadCount=this._unreadCount-1),(T=this._inboxDataSet)==null||T.messages.splice(v,1);break;case"archive":(A=this._archiveDataSet)==null||A.messages.splice(v,1);break}this._dataStoreListeners.forEach(w=>{var X,M,Y,ee;(M=(X=w.events).onMessageRemove)==null||M.call(X,f,v,m),(ee=(Y=w.events).onUnreadCountChange)==null||ee.call(Y,this._unreadCount??0)})}updateMessage(f,v,m){switch(m){case"inbox":this._unreadCount!==void 0&&!f.archived&&(f.read&&(this._unreadCount=Math.max(0,this._unreadCount-1)),f.read||(this._unreadCount=this._unreadCount+1)),this._inboxDataSet&&(this._inboxDataSet.messages[v]=f);break;case"archive":this._archiveDataSet&&(this._archiveDataSet.messages[v]=f);break}this._dataStoreListeners.forEach(T=>{var A,w,X,M;(w=(A=T.events).onMessageUpdate)==null||w.call(A,f,v,m),(M=(X=T.events).onUnreadCountChange)==null||M.call(X,this._unreadCount??0)})}};K(hb,"instance");let al=hb;function PS(x){if(!x.created)return"Now";const f=new Date,v=new Date(x.created),m=Math.floor((f.getTime()-v.getTime())/1e3);return m<60?`${m}s`:m<3600?`${Math.floor(m/60)}m`:m<86400?`${Math.floor(m/3600)}h`:m<604800?`${Math.floor(m/86400)}d`:m<31536e3?`${Math.floor(m/604800)}w`:`${Math.floor(m/31536e3)}y`}class mb extends HTMLElement{constructor(f){super(),K(this,"_theme"),K(this,"_options",[]),K(this,"_style"),this._theme=f;const v=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._style.textContent=this.getStyles(),v.appendChild(this._style);const m=document.createElement("ul");m.className="menu",v.appendChild(m)}getStyles(){var f,v,m;const T=(m=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item)==null?void 0:m.menu;return`
317
317
  :host {
318
318
  display: block;
319
319
  position: absolute;
@@ -349,7 +349,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
349
349
  border-bottom: none;
350
350
  background: transparent;
351
351
  }
352
- `}setOptions(f){this._options=f,this.renderMenu()}renderMenu(){var f,p,m,T;const C=(f=this.shadowRoot)==null?void 0:f.querySelector("ul.menu");if(!C)return;C.innerHTML="";const w=(T=(m=(p=this._theme.inbox)==null?void 0:p.list)==null?void 0:m.item)==null?void 0:T.menu,j=M=>{M.stopPropagation(),M.preventDefault()};this._options.forEach(M=>{var Y,ee,le;const V=new Xm(M.icon.svg,M.icon.color,w==null?void 0:w.backgroundColor,(Y=w==null?void 0:w.item)==null?void 0:Y.hoverBackgroundColor,(ee=w==null?void 0:w.item)==null?void 0:ee.activeBackgroundColor,(le=w==null?void 0:w.item)==null?void 0:le.borderRadius),oe=se=>{j(se),M.onClick()};V.addEventListener("click",oe),V.addEventListener("touchstart",j),V.addEventListener("touchend",oe),V.addEventListener("touchmove",j),V.addEventListener("mousedown",j),V.addEventListener("mouseup",j),C.appendChild(V)})}show(){this.classList.add("visible")}hide(){this.classList.remove("visible")}}customElements.get("courier-list-item-menu")||customElements.define("courier-list-item-menu",Eb);class Cb extends HTMLElement{constructor(f){super(),K(this,"_theme"),K(this,"_message",null),K(this,"_feedType","inbox"),K(this,"_isMobile",!1),K(this,"_titleElement"),K(this,"_subtitleElement"),K(this,"_timeElement"),K(this,"_style"),K(this,"_menu"),K(this,"_unreadIndicator"),K(this,"_actionsContainer"),K(this,"_longPressTimeout",null),K(this,"_isLongPress",!1),K(this,"onItemClick",null),K(this,"onItemLongPress",null),K(this,"onItemActionClick",null),this._theme=f,this._isMobile="ontouchstart"in window;const p=this.attachShadow({mode:"open"}),m=document.createElement("div");m.className="content-container",this._titleElement=document.createElement("p"),this._titleElement.setAttribute("part","title"),this._subtitleElement=document.createElement("p"),this._subtitleElement.setAttribute("part","subtitle"),this._actionsContainer=document.createElement("div"),this._actionsContainer.className="actions-container",m.appendChild(this._titleElement),m.appendChild(this._subtitleElement),m.appendChild(this._actionsContainer),this._timeElement=document.createElement("p"),this._timeElement.setAttribute("part","time"),this._unreadIndicator=document.createElement("div"),this._unreadIndicator.className="unread-indicator",this._style=document.createElement("style"),this._refreshStyles(),this._menu=new Eb(this._theme),this._menu.setOptions(this._getMenuOptions()),p.append(this._style,this._unreadIndicator,m,this._timeElement,this._menu);const T=C=>{C.stopPropagation(),C.preventDefault()};this._menu.addEventListener("mousedown",T),this._menu.addEventListener("pointerdown",T),this._menu.addEventListener("click",T),this.addEventListener("click",C=>{this._menu.contains(C.target)||C.composedPath().includes(this._menu)||this._message&&this.onItemClick&&!(C.target instanceof Vr)&&!this._isLongPress&&this.onItemClick(this._message)}),this._setupHoverBehavior(),this._setupLongPressBehavior()}_setupHoverBehavior(){this._isMobile||(this.addEventListener("mouseenter",()=>{this._isLongPress=!1,this._showMenu()}),this.addEventListener("mouseleave",()=>this._hideMenu()))}_setupLongPressBehavior(){var f,p,m;const T=(m=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item)==null?void 0:m.menu;if(!(T!=null&&T.enabled))return;const C=T.longPress;this.addEventListener("touchstart",()=>{this._longPressTimeout=window.setTimeout(()=>{this._isLongPress=!0,this._showMenu(),this._message&&this.onItemLongPress&&(this.onItemLongPress(this._message),navigator.vibrate&&navigator.vibrate((C==null?void 0:C.vibrationDuration)??50)),setTimeout(()=>{this._hideMenu(),this._isLongPress=!1},(C==null?void 0:C.displayDuration)??2e3)},650)},{passive:!0}),this.addEventListener("touchend",()=>{this._longPressTimeout&&(window.clearTimeout(this._longPressTimeout),this._longPressTimeout=null)})}setOnLongPress(f){this.onItemLongPress=f}_getMenuOptions(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe;const xe=(T=(m=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item)==null?void 0:m.menu)==null?void 0:T.item;let Ye=[];return(C=this._message)!=null&&C.archived||Ye.push({id:(w=this._message)!=null&&w.read?"unread":"read",icon:{svg:(j=this._message)!=null&&j.read?(M=xe==null?void 0:xe.unread)==null?void 0:M.svg:(Y=xe==null?void 0:xe.read)==null?void 0:Y.svg,color:(ee=this._message)!=null&&ee.read?(le=xe==null?void 0:xe.unread)==null?void 0:le.color:((V=xe==null?void 0:xe.read)==null?void 0:V.color)??"red"},onClick:()=>{this._message&&(this._message.read?un.shared.unreadMessage({message:this._message}):un.shared.readMessage({message:this._message}))}}),Ye.push({id:(oe=this._message)!=null&&oe.archived?"unarchive":"archive",icon:{svg:(se=this._message)!=null&&se.archived?(ue=xe==null?void 0:xe.unarchive)==null?void 0:ue.svg:(ae=xe==null?void 0:xe.archive)==null?void 0:ae.svg,color:(de=this._message)!=null&&de.archived?(ke=xe==null?void 0:xe.unarchive)==null?void 0:ke.color:((fe=xe==null?void 0:xe.archive)==null?void 0:fe.color)??"red"},onClick:()=>{this._message&&(this._message.archived?alert("unarchive"):un.shared.archiveMessage({message:this._message}))}}),Ye}_showMenu(){var f,p,m;const T=(m=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item)==null?void 0:m.menu;T&&T.enabled&&(this._menu.setOptions(this._getMenuOptions()),this._menu.style.display="block",this._menu.show(),this._timeElement.style.opacity="0")}_hideMenu(){var f,p,m;const T=(m=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item)==null?void 0:m.menu;T&&T.enabled&&(this._menu.hide(),this._menu.style.display="none",this._timeElement.style.opacity="1")}_getStyles(){var f,p,m,T,C,w,j,M,Y,ee,le;const V=(p=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:p.item;return`
352
+ `}setOptions(f){this._options=f,this.renderMenu()}renderMenu(){var f,v,m,T;const A=(f=this.shadowRoot)==null?void 0:f.querySelector("ul.menu");if(!A)return;A.innerHTML="";const w=(T=(m=(v=this._theme.inbox)==null?void 0:v.list)==null?void 0:m.item)==null?void 0:T.menu,X=M=>{M.stopPropagation(),M.preventDefault()};this._options.forEach(M=>{var Y,ee,ne;const V=new qm(M.icon.svg,M.icon.color,w==null?void 0:w.backgroundColor,(Y=w==null?void 0:w.item)==null?void 0:Y.hoverBackgroundColor,(ee=w==null?void 0:w.item)==null?void 0:ee.activeBackgroundColor,(ne=w==null?void 0:w.item)==null?void 0:ne.borderRadius),oe=ce=>{X(ce),M.onClick()};V.addEventListener("click",oe),V.addEventListener("touchstart",X),V.addEventListener("touchend",oe),V.addEventListener("touchmove",X),V.addEventListener("mousedown",X),V.addEventListener("mouseup",X),A.appendChild(V)})}show(){this.classList.add("visible")}hide(){this.classList.remove("visible")}}customElements.get("courier-list-item-menu")||customElements.define("courier-list-item-menu",mb);class pb extends HTMLElement{constructor(f){super(),K(this,"_theme"),K(this,"_message",null),K(this,"_feedType","inbox"),K(this,"_isMobile",!1),K(this,"_titleElement"),K(this,"_subtitleElement"),K(this,"_timeElement"),K(this,"_style"),K(this,"_menu"),K(this,"_unreadIndicator"),K(this,"_actionsContainer"),K(this,"_longPressTimeout",null),K(this,"_isLongPress",!1),K(this,"onItemClick",null),K(this,"onItemLongPress",null),K(this,"onItemActionClick",null),this._theme=f,this._isMobile="ontouchstart"in window;const v=this.attachShadow({mode:"open"}),m=document.createElement("div");m.className="content-container",this._titleElement=document.createElement("p"),this._titleElement.setAttribute("part","title"),this._subtitleElement=document.createElement("p"),this._subtitleElement.setAttribute("part","subtitle"),this._actionsContainer=document.createElement("div"),this._actionsContainer.className="actions-container",m.appendChild(this._titleElement),m.appendChild(this._subtitleElement),m.appendChild(this._actionsContainer),this._timeElement=document.createElement("p"),this._timeElement.setAttribute("part","time"),this._unreadIndicator=document.createElement("div"),this._unreadIndicator.className="unread-indicator",this._style=document.createElement("style"),this._refreshStyles(),this._menu=new mb(this._theme),this._menu.setOptions(this._getMenuOptions()),v.append(this._style,this._unreadIndicator,m,this._timeElement,this._menu);const T=A=>{A.stopPropagation(),A.preventDefault()};this._menu.addEventListener("mousedown",T),this._menu.addEventListener("pointerdown",T),this._menu.addEventListener("click",T),this.addEventListener("click",A=>{this._menu.contains(A.target)||A.composedPath().includes(this._menu)||this._message&&this.onItemClick&&!(A.target instanceof Lr)&&!this._isLongPress&&this.onItemClick(this._message)}),this._setupHoverBehavior(),this._setupLongPressBehavior()}_setupHoverBehavior(){this._isMobile||(this.addEventListener("mouseenter",()=>{this._isLongPress=!1,this._showMenu()}),this.addEventListener("mouseleave",()=>this._hideMenu()))}_setupLongPressBehavior(){var f,v,m;const T=(m=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item)==null?void 0:m.menu;if(!(T!=null&&T.enabled))return;const A=T.longPress;this.addEventListener("touchstart",()=>{this._longPressTimeout=window.setTimeout(()=>{this._isLongPress=!0,this._showMenu(),this._message&&this.onItemLongPress&&(this.onItemLongPress(this._message),navigator.vibrate&&navigator.vibrate((A==null?void 0:A.vibrationDuration)??50)),setTimeout(()=>{this._hideMenu(),this._isLongPress=!1},(A==null?void 0:A.displayDuration)??2e3)},650)},{passive:!0}),this.addEventListener("touchend",()=>{this._longPressTimeout&&(window.clearTimeout(this._longPressTimeout),this._longPressTimeout=null)})}setOnLongPress(f){this.onItemLongPress=f}_getMenuOptions(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe;const xe=(T=(m=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item)==null?void 0:m.menu)==null?void 0:T.item;let Ye=[];return(A=this._message)!=null&&A.archived||Ye.push({id:(w=this._message)!=null&&w.read?"unread":"read",icon:{svg:(X=this._message)!=null&&X.read?(M=xe==null?void 0:xe.unread)==null?void 0:M.svg:(Y=xe==null?void 0:xe.read)==null?void 0:Y.svg,color:(ee=this._message)!=null&&ee.read?(ne=xe==null?void 0:xe.unread)==null?void 0:ne.color:((V=xe==null?void 0:xe.read)==null?void 0:V.color)??"red"},onClick:()=>{this._message&&(this._message.read?al.shared.unreadMessage({message:this._message}):al.shared.readMessage({message:this._message}))}}),Ye.push({id:(oe=this._message)!=null&&oe.archived?"unarchive":"archive",icon:{svg:(ce=this._message)!=null&&ce.archived?(ue=xe==null?void 0:xe.unarchive)==null?void 0:ue.svg:(ae=xe==null?void 0:xe.archive)==null?void 0:ae.svg,color:(de=this._message)!=null&&de.archived?(ke=xe==null?void 0:xe.unarchive)==null?void 0:ke.color:((fe=xe==null?void 0:xe.archive)==null?void 0:fe.color)??"red"},onClick:()=>{this._message&&(this._message.archived?alert("unarchive"):al.shared.archiveMessage({message:this._message}))}}),Ye}_showMenu(){var f,v,m;const T=(m=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item)==null?void 0:m.menu;T&&T.enabled&&(this._menu.setOptions(this._getMenuOptions()),this._menu.style.display="block",this._menu.show(),this._timeElement.style.opacity="0")}_hideMenu(){var f,v,m;const T=(m=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item)==null?void 0:m.menu;T&&T.enabled&&(this._menu.hide(),this._menu.style.display="none",this._timeElement.style.opacity="1")}_getStyles(){var f,v,m,T,A,w,X,M,Y,ee,ne;const V=(v=(f=this._theme.inbox)==null?void 0:f.list)==null?void 0:v.item;return`
353
353
  :host {
354
354
  display: flex;
355
355
  flex-direction: row;
@@ -434,20 +434,20 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
434
434
  p[part='title'] {
435
435
  font-family: ${((m=V==null?void 0:V.title)==null?void 0:m.family)??"inherit"};
436
436
  font-size: ${((T=V==null?void 0:V.title)==null?void 0:T.size)??"14px"};
437
- color: ${((C=V==null?void 0:V.title)==null?void 0:C.color)??"red"};
437
+ color: ${((A=V==null?void 0:V.title)==null?void 0:A.color)??"red"};
438
438
  margin-bottom: 4px;
439
439
  }
440
440
 
441
441
  p[part='subtitle'] {
442
442
  font-family: ${((w=V==null?void 0:V.subtitle)==null?void 0:w.family)??"inherit"};
443
- font-size: ${((j=V==null?void 0:V.subtitle)==null?void 0:j.size)??"14px"};
443
+ font-size: ${((X=V==null?void 0:V.subtitle)==null?void 0:X.size)??"14px"};
444
444
  color: ${((M=V==null?void 0:V.subtitle)==null?void 0:M.color)??"red"};
445
445
  }
446
446
 
447
447
  p[part='time'] {
448
448
  font-family: ${((Y=V==null?void 0:V.time)==null?void 0:Y.family)??"inherit"};
449
449
  font-size: ${((ee=V==null?void 0:V.time)==null?void 0:ee.size)??"14px"};
450
- color: ${((le=V==null?void 0:V.time)==null?void 0:le.color)??"red"};
450
+ color: ${((ne=V==null?void 0:V.time)==null?void 0:ne.color)??"red"};
451
451
  text-align: right;
452
452
  white-space: nowrap;
453
453
  }
@@ -470,7 +470,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
470
470
  display: none;
471
471
  }
472
472
 
473
- `}_refreshStyles(){this._style.textContent=this._getStyles()}connectedCallback(){var f,p;const m=this.getAttribute("message"),T=this.getAttribute("feed-type");if(T&&(this._feedType=T),m)try{this._message=JSON.parse(m),this._updateContent()}catch(C){(p=(f=Le.shared.client)==null?void 0:f.options.logger)==null||p.error("CourierListItem – failed to parse message:",C)}}setMessage(f,p){this._message=f,this._feedType=p,this._updateContent()}setOnItemClick(f){this.onItemClick=f}setOnItemActionClick(f){this.onItemActionClick=f}setOnItemLongPress(f){this.onItemLongPress=f}_updateContent(){var f,p,m,T,C,w;if(!this._message){this._titleElement.textContent="",this._subtitleElement.textContent="";return}this.classList.toggle("unread",!this._message.read&&this._feedType!=="archive"),this._titleElement.textContent=this._message.title||"Untitled Message",this._subtitleElement.textContent=this._message.preview||this._message.body||"",this._timeElement.textContent=m2(this._message),this._menu.setOptions(this._getMenuOptions());const j=((f=this._message)==null?void 0:f.actions)&&this._message.actions.length>0;this._actionsContainer.style.display=j?"flex":"none";const M=(T=(m=(p=this._theme.inbox)==null?void 0:p.list)==null?void 0:m.item)==null?void 0:T.actions;(w=(C=this._message)==null?void 0:C.actions)==null||w.forEach(Y=>{var ee,le,V,oe;const se=new dv({text:Y.content,variant:"secondary",backgroundColor:M==null?void 0:M.backgroundColor,hoverBackgroundColor:M==null?void 0:M.hoverBackgroundColor,activeBackgroundColor:M==null?void 0:M.activeBackgroundColor,border:M==null?void 0:M.border,borderRadius:M==null?void 0:M.borderRadius,shadow:M==null?void 0:M.shadow,fontFamily:(ee=M==null?void 0:M.font)==null?void 0:ee.family,fontSize:(le=M==null?void 0:M.font)==null?void 0:le.size,fontWeight:(V=M==null?void 0:M.font)==null?void 0:V.weight,textColor:(oe=M==null?void 0:M.font)==null?void 0:oe.color,onClick:()=>{this._message&&this.onItemActionClick&&this.onItemActionClick(this._message,Y)}});this._actionsContainer.appendChild(se)})}}customElements.get("courier-list-item")||customElements.define("courier-list-item",Cb);class _b extends HTMLElement{constructor(f,p){super(),K(this,"_shadow"),this._shadow=this.attachShadow({mode:"open"});const m=document.createElement("style");m.textContent=this.getStyles(p),this._shadow.appendChild(m);const T=new pv(f,35),C=new pv(f,100),w=new pv(f,82);this._shadow.appendChild(T),this._shadow.appendChild(C),this._shadow.appendChild(w)}getStyles(f){return`
473
+ `}_refreshStyles(){this._style.textContent=this._getStyles()}connectedCallback(){var f,v;const m=this.getAttribute("message"),T=this.getAttribute("feed-type");if(T&&(this._feedType=T),m)try{this._message=JSON.parse(m),this._updateContent()}catch(A){(v=(f=De.shared.client)==null?void 0:f.options.logger)==null||v.error("CourierListItem – failed to parse message:",A)}}setMessage(f,v){this._message=f,this._feedType=v,this._updateContent()}setOnItemClick(f){this.onItemClick=f}setOnItemActionClick(f){this.onItemActionClick=f}setOnItemLongPress(f){this.onItemLongPress=f}_updateContent(){var f,v,m,T,A,w;if(!this._message){this._titleElement.textContent="",this._subtitleElement.textContent="";return}this.classList.toggle("unread",!this._message.read&&this._feedType!=="archive"),this._titleElement.textContent=this._message.title||"Untitled Message",this._subtitleElement.textContent=this._message.preview||this._message.body||"",this._timeElement.textContent=PS(this._message),this._menu.setOptions(this._getMenuOptions());const X=((f=this._message)==null?void 0:f.actions)&&this._message.actions.length>0;this._actionsContainer.style.display=X?"flex":"none";const M=(T=(m=(v=this._theme.inbox)==null?void 0:v.list)==null?void 0:m.item)==null?void 0:T.actions;(w=(A=this._message)==null?void 0:A.actions)==null||w.forEach(Y=>{var ee,ne,V,oe;const ce=new uv({text:Y.content,variant:"secondary",backgroundColor:M==null?void 0:M.backgroundColor,hoverBackgroundColor:M==null?void 0:M.hoverBackgroundColor,activeBackgroundColor:M==null?void 0:M.activeBackgroundColor,border:M==null?void 0:M.border,borderRadius:M==null?void 0:M.borderRadius,shadow:M==null?void 0:M.shadow,fontFamily:(ee=M==null?void 0:M.font)==null?void 0:ee.family,fontSize:(ne=M==null?void 0:M.font)==null?void 0:ne.size,fontWeight:(V=M==null?void 0:M.font)==null?void 0:V.weight,textColor:(oe=M==null?void 0:M.font)==null?void 0:oe.color,onClick:()=>{this._message&&this.onItemActionClick&&this.onItemActionClick(this._message,Y)}});this._actionsContainer.appendChild(ce)})}}customElements.get("courier-list-item")||customElements.define("courier-list-item",pb);class vb extends HTMLElement{constructor(f,v){super(),K(this,"_shadow"),this._shadow=this.attachShadow({mode:"open"});const m=document.createElement("style");m.textContent=this.getStyles(v),this._shadow.appendChild(m);const T=new sv(f,35),A=new sv(f,100),w=new sv(f,82);this._shadow.appendChild(T),this._shadow.appendChild(A),this._shadow.appendChild(w)}getStyles(f){return`
474
474
  :host {
475
475
  display: flex;
476
476
  flex-direction: column;
@@ -480,17 +480,17 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
480
480
  box-sizing: border-box;
481
481
  opacity: ${f};
482
482
  }
483
- `}}customElements.get("courier-inbox-skeleton-list-item")||customElements.define("courier-inbox-skeleton-list-item",_b);class pv extends HTMLElement{constructor(f,p){super(),K(this,"_shadow"),this._shadow=this.attachShadow({mode:"open"});const m=document.createElement("style");m.textContent=this.getStyles(f,p),this._shadow.appendChild(m);const T=document.createElement("div");T.className="skeleton-item",this._shadow.appendChild(T)}getStyles(f,p){var m,T,C,w,j,M,Y,ee,le,V,oe,se;const ue=((C=(T=(m=f.inbox)==null?void 0:m.loading)==null?void 0:T.animation)==null?void 0:C.barColor)??"#000",ae=ue.length===4?`#${ue[1]}${ue[1]}${ue[2]}${ue[2]}${ue[3]}${ue[3]}`:ue,de=parseInt(ae.slice(1,3),16),ke=parseInt(ae.slice(3,5),16),fe=parseInt(ae.slice(5,7),16),xe=`rgba(${de}, ${ke}, ${fe}, 0.8)`,Ye=`rgba(${de}, ${ke}, ${fe}, 0.4)`;return`
483
+ `}}customElements.get("courier-inbox-skeleton-list-item")||customElements.define("courier-inbox-skeleton-list-item",vb);class sv extends HTMLElement{constructor(f,v){super(),K(this,"_shadow"),this._shadow=this.attachShadow({mode:"open"});const m=document.createElement("style");m.textContent=this.getStyles(f,v),this._shadow.appendChild(m);const T=document.createElement("div");T.className="skeleton-item",this._shadow.appendChild(T)}getStyles(f,v){var m,T,A,w,X,M,Y,ee,ne,V,oe,ce;const ue=((A=(T=(m=f.inbox)==null?void 0:m.loading)==null?void 0:T.animation)==null?void 0:A.barColor)??"#000",ae=ue.length===4?`#${ue[1]}${ue[1]}${ue[2]}${ue[2]}${ue[3]}${ue[3]}`:ue,de=parseInt(ae.slice(1,3),16),ke=parseInt(ae.slice(3,5),16),fe=parseInt(ae.slice(5,7),16),xe=`rgba(${de}, ${ke}, ${fe}, 0.8)`,Ye=`rgba(${de}, ${ke}, ${fe}, 0.4)`;return`
484
484
  :host {
485
485
  display: flex;
486
486
  height: 100%;
487
- width: ${p}%;
487
+ width: ${v}%;
488
488
  align-items: flex-start;
489
489
  justify-content: flex-start;
490
490
  }
491
491
 
492
492
  .skeleton-item {
493
- height: ${((M=(j=(w=f.inbox)==null?void 0:w.loading)==null?void 0:j.animation)==null?void 0:M.barHeight)??"14px"};
493
+ height: ${((M=(X=(w=f.inbox)==null?void 0:w.loading)==null?void 0:X.animation)==null?void 0:M.barHeight)??"14px"};
494
494
  width: 100%;
495
495
  background: linear-gradient(
496
496
  90deg,
@@ -499,8 +499,8 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
499
499
  ${xe} 75%
500
500
  );
501
501
  background-size: 200% 100%;
502
- animation: shimmer ${((le=(ee=(Y=f.inbox)==null?void 0:Y.loading)==null?void 0:ee.animation)==null?void 0:le.duration)??"2s"} ease-in-out infinite;
503
- border-radius: ${((se=(oe=(V=f.inbox)==null?void 0:V.loading)==null?void 0:oe.animation)==null?void 0:se.barBorderRadius)??"14px"};
502
+ animation: shimmer ${((ne=(ee=(Y=f.inbox)==null?void 0:Y.loading)==null?void 0:ee.animation)==null?void 0:ne.duration)??"2s"} ease-in-out infinite;
503
+ border-radius: ${((ce=(oe=(V=f.inbox)==null?void 0:V.loading)==null?void 0:oe.animation)==null?void 0:ce.barBorderRadius)??"14px"};
504
504
  }
505
505
 
506
506
  @keyframes shimmer {
@@ -511,7 +511,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
511
511
  background-position: -200% 0;
512
512
  }
513
513
  }
514
- `}}customElements.get("courier-skeleton-animated-row")||customElements.define("courier-skeleton-animated-row",pv);class Jg extends hv{constructor(f){super(),K(this,"_theme"),this._theme=f}defaultElement(){const f=document.createElement("div");f.className="list";const p=document.createElement("style");p.textContent=this.getStyles(),f.appendChild(p);for(let m=0;m<3;m++){const T=new _b(this._theme,1/(m+1));f.appendChild(T)}return this.shadow.appendChild(f),f}getStyles(){var f,p;return`
514
+ `}}customElements.get("courier-skeleton-animated-row")||customElements.define("courier-skeleton-animated-row",sv);class Yg extends ov{constructor(f){super(),K(this,"_theme"),this._theme=f}defaultElement(){const f=document.createElement("div");f.className="list";const v=document.createElement("style");v.textContent=this.getStyles(),f.appendChild(v);for(let m=0;m<3;m++){const T=new vb(this._theme,1/(m+1));f.appendChild(T)}return this.shadow.appendChild(f),f}getStyles(){var f,v;return`
515
515
  :host {
516
516
  display: flex;
517
517
  height: 100%;
@@ -530,13 +530,13 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
530
530
  }
531
531
 
532
532
  .list > * {
533
- border-bottom: ${((p=(f=this._theme.inbox)==null?void 0:f.loading)==null?void 0:p.divider)??"1px solid red"};
533
+ border-bottom: ${((v=(f=this._theme.inbox)==null?void 0:f.loading)==null?void 0:v.divider)??"1px solid red"};
534
534
  }
535
535
 
536
536
  .list > *:last-child {
537
537
  border-bottom: none;
538
538
  }
539
- `}}customElements.get("courier-inbox-skeleton-list")||customElements.define("courier-inbox-skeleton-list",Jg);class Ab extends HTMLElement{constructor(f){super(),K(this,"skeletonLoadingList"),K(this,"observer"),K(this,"customItem"),K(this,"onPaginationTrigger"),this.onPaginationTrigger=f.onPaginationTrigger,this.customItem=f.customItem;const p=this.attachShadow({mode:"open"}),m=document.createElement("style");if(m.textContent=this.getStyles(),p.appendChild(m),this.customItem)p.appendChild(this.customItem);else{const T=document.createElement("div");T.className="skeleton-container",this.skeletonLoadingList=new Jg(f.theme),this.skeletonLoadingList.build(void 0),T.appendChild(this.skeletonLoadingList),p.appendChild(T)}this.observer=new IntersectionObserver(T=>{T.forEach(C=>{C.isIntersecting&&this.onPaginationTrigger()})}),this.observer.observe(this)}getStyles(){return`
539
+ `}}customElements.get("courier-inbox-skeleton-list")||customElements.define("courier-inbox-skeleton-list",Yg);class gb extends HTMLElement{constructor(f){super(),K(this,"skeletonLoadingList"),K(this,"observer"),K(this,"customItem"),K(this,"onPaginationTrigger"),this.onPaginationTrigger=f.onPaginationTrigger,this.customItem=f.customItem;const v=this.attachShadow({mode:"open"}),m=document.createElement("style");if(m.textContent=this.getStyles(),v.appendChild(m),this.customItem)v.appendChild(this.customItem);else{const T=document.createElement("div");T.className="skeleton-container",this.skeletonLoadingList=new Yg(f.theme),this.skeletonLoadingList.build(void 0),T.appendChild(this.skeletonLoadingList),v.appendChild(T)}this.observer=new IntersectionObserver(T=>{T.forEach(A=>{A.isIntersecting&&this.onPaginationTrigger()})}),this.observer.observe(this)}getStyles(){return`
540
540
  :host {
541
541
  padding: 0;
542
542
  margin: 0;
@@ -546,11 +546,11 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
546
546
  .skeleton-container {
547
547
  height: 150%;
548
548
  }
549
- `}disconnectedCallback(){this.observer.disconnect()}}customElements.get("courier-inbox-pagination-list-item")||customElements.define("courier-inbox-pagination-list-item",Ab);class Mb extends HTMLElement{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_messages",[]),K(this,"_feedType","inbox"),K(this,"_isLoading",!0),K(this,"_error",null),K(this,"_canPaginate",!1),K(this,"_onMessageClick",null),K(this,"_onMessageActionClick",null),K(this,"_onMessageLongPress",null),K(this,"_onRefresh"),K(this,"_onPaginationTrigger"),K(this,"_listItemFactory"),K(this,"_paginationItemFactory"),K(this,"_loadingStateFactory"),K(this,"_emptyStateFactory"),K(this,"_errorStateFactory"),this._themeSubscription=f.themeManager.subscribe(T=>{this.refreshTheme()}),this._onRefresh=f.onRefresh,this._onPaginationTrigger=f.onPaginationTrigger,this._onMessageClick=f.onMessageClick,this._onMessageActionClick=f.onMessageActionClick,this._onMessageLongPress=f.onMessageLongPress;const p=this.attachShadow({mode:"open"}),m=document.createElement("style");m.textContent=this.getStyles(),p.appendChild(m)}get messages(){return this._messages}getStyles(){var f;const p=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.list;return`
549
+ `}disconnectedCallback(){this.observer.disconnect()}}customElements.get("courier-inbox-pagination-list-item")||customElements.define("courier-inbox-pagination-list-item",gb);class yb extends HTMLElement{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_messages",[]),K(this,"_feedType","inbox"),K(this,"_isLoading",!0),K(this,"_error",null),K(this,"_canPaginate",!1),K(this,"_onMessageClick",null),K(this,"_onMessageActionClick",null),K(this,"_onMessageLongPress",null),K(this,"_onRefresh"),K(this,"_onPaginationTrigger"),K(this,"_listItemFactory"),K(this,"_paginationItemFactory"),K(this,"_loadingStateFactory"),K(this,"_emptyStateFactory"),K(this,"_errorStateFactory"),this._themeSubscription=f.themeManager.subscribe(T=>{this.refreshTheme()}),this._onRefresh=f.onRefresh,this._onPaginationTrigger=f.onPaginationTrigger,this._onMessageClick=f.onMessageClick,this._onMessageActionClick=f.onMessageActionClick,this._onMessageLongPress=f.onMessageLongPress;const v=this.attachShadow({mode:"open"}),m=document.createElement("style");m.textContent=this.getStyles(),v.appendChild(m)}get messages(){return this._messages}getStyles(){var f;const v=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.list;return`
550
550
  :host {
551
551
  flex: 1;
552
552
  width: 100%;
553
- background-color: ${(p==null?void 0:p.backgroundColor)??Z.white[500]};
553
+ background-color: ${(v==null?void 0:v.backgroundColor)??Z.white[500]};
554
554
  }
555
555
 
556
556
  ul {
@@ -559,7 +559,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
559
559
  margin: 0;
560
560
  height: 100%;
561
561
  }
562
- `}reset(){for(var f,p;(f=this.shadowRoot)!=null&&f.firstChild;)this.shadowRoot.removeChild(this.shadowRoot.firstChild);const m=document.createElement("style");m.textContent=this.getStyles(),(p=this.shadowRoot)==null||p.appendChild(m)}setDataSet(f){this._messages=[...f.messages],this._canPaginate=!!f.canPaginate,this._error=null,this._isLoading=!1,this.render()}addPage(f){this._messages=[...this._messages,...f.messages],this._canPaginate=!!f.canPaginate,this._error=null,this._isLoading=!1,this.render()}addMessage(f,p=0){this._messages.splice(p,0,f),this.render()}removeMessage(f=0){this._messages.splice(f,1),this.render()}updateMessage(f,p=0){this._messages[p]=f,this.render()}setFeedType(f){this._feedType=f,this._error=null,this._isLoading=!0,this.render()}setLoading(f){this._error=null,this._isLoading=f,this.render()}setError(f){this._error=f,this._isLoading=!1,this._messages=[],this.render()}setErrorNoClient(){this.setError(new Error("No user signed in"))}handleRetry(){this._onRefresh()}handleRefresh(){this._onRefresh()}render(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me,_e,Re,Ee,et,Mt,vt,D,W,te,ge,q,pe,ie,ve,He,rt,$e,dl,xt,Gt,Tn,Ul,ti,wl,uu,Jo,Hl,hn,Aa,$u,ou,Ma,su;this.reset();const tl=this._themeSubscription.manager.getTheme();if(this._error){const re=(f=tl.inbox)==null?void 0:f.error,zt=new mv({title:{text:((p=re==null?void 0:re.title)==null?void 0:p.text)??this._error.message,textColor:(T=(m=re==null?void 0:re.title)==null?void 0:m.font)==null?void 0:T.color,fontFamily:(w=(C=re==null?void 0:re.title)==null?void 0:C.font)==null?void 0:w.family,fontSize:(M=(j=re==null?void 0:re.title)==null?void 0:j.font)==null?void 0:M.size,fontWeight:(ee=(Y=re==null?void 0:re.title)==null?void 0:Y.font)==null?void 0:ee.weight},button:{text:(le=re==null?void 0:re.button)==null?void 0:le.text,backgroundColor:(V=re==null?void 0:re.button)==null?void 0:V.backgroundColor,hoverBackgroundColor:(oe=re==null?void 0:re.button)==null?void 0:oe.hoverBackgroundColor,activeBackgroundColor:(se=re==null?void 0:re.button)==null?void 0:se.activeBackgroundColor,textColor:(ae=(ue=re==null?void 0:re.button)==null?void 0:ue.font)==null?void 0:ae.color,fontFamily:(ke=(de=re==null?void 0:re.button)==null?void 0:de.font)==null?void 0:ke.family,fontSize:(xe=(fe=re==null?void 0:re.button)==null?void 0:fe.font)==null?void 0:xe.size,fontWeight:(qe=(Ye=re==null?void 0:re.button)==null?void 0:Ye.font)==null?void 0:qe.weight,shadow:(ze=re==null?void 0:re.button)==null?void 0:ze.shadow,border:(at=re==null?void 0:re.button)==null?void 0:at.border,borderRadius:(me=re==null?void 0:re.button)==null?void 0:me.borderRadius}});zt.build((_e=this._errorStateFactory)==null?void 0:_e.call(this,{feedType:this._feedType,error:this._error})),zt.setButtonClickCallback(()=>this.handleRetry()),(Re=this.shadowRoot)==null||Re.appendChild(zt);return}if(this._isLoading){const re=new Jg(tl);re.build((Ee=this._loadingStateFactory)==null?void 0:Ee.call(this,{feedType:this._feedType})),(et=this.shadowRoot)==null||et.appendChild(re);return}if(this._messages.length===0){const re=(Mt=tl.inbox)==null?void 0:Mt.empty,zt=new mv({title:{text:((vt=re==null?void 0:re.title)==null?void 0:vt.text)??`No ${this._feedType} messages yet`,textColor:(W=(D=re==null?void 0:re.title)==null?void 0:D.font)==null?void 0:W.color,fontFamily:(ge=(te=re==null?void 0:re.title)==null?void 0:te.font)==null?void 0:ge.family,fontSize:(pe=(q=re==null?void 0:re.title)==null?void 0:q.font)==null?void 0:pe.size,fontWeight:(ve=(ie=re==null?void 0:re.title)==null?void 0:ie.font)==null?void 0:ve.weight},button:{text:(He=re==null?void 0:re.button)==null?void 0:He.text,backgroundColor:(rt=re==null?void 0:re.button)==null?void 0:rt.backgroundColor,hoverBackgroundColor:($e=re==null?void 0:re.button)==null?void 0:$e.hoverBackgroundColor,activeBackgroundColor:(dl=re==null?void 0:re.button)==null?void 0:dl.activeBackgroundColor,textColor:(Gt=(xt=re==null?void 0:re.button)==null?void 0:xt.font)==null?void 0:Gt.color,fontFamily:(Ul=(Tn=re==null?void 0:re.button)==null?void 0:Tn.font)==null?void 0:Ul.family,fontSize:(wl=(ti=re==null?void 0:re.button)==null?void 0:ti.font)==null?void 0:wl.size,fontWeight:(Jo=(uu=re==null?void 0:re.button)==null?void 0:uu.font)==null?void 0:Jo.weight,shadow:(Hl=re==null?void 0:re.button)==null?void 0:Hl.shadow,border:(hn=re==null?void 0:re.button)==null?void 0:hn.border,borderRadius:(Aa=re==null?void 0:re.button)==null?void 0:Aa.borderRadius}});zt.build(($u=this._emptyStateFactory)==null?void 0:$u.call(this,{feedType:this._feedType})),zt.setButtonClickCallback(()=>this.handleRefresh()),(ou=this.shadowRoot)==null||ou.appendChild(zt);return}const cu=document.createElement("ul");if((Ma=this.shadowRoot)==null||Ma.appendChild(cu),this._messages.forEach((re,zt)=>{if(this._listItemFactory){cu.appendChild(this._listItemFactory({message:re,index:zt}));return}const Bt=new Cb(tl);Bt.setMessage(re,this._feedType),Bt.setOnItemClick(xn=>{var Ot;return(Ot=this._onMessageClick)==null?void 0:Ot.call(this,xn,zt)}),Bt.setOnItemActionClick((xn,Ot)=>{var ru;return(ru=this._onMessageActionClick)==null?void 0:ru.call(this,xn,Ot,zt)}),Bt.setOnItemLongPress(xn=>{var Ot;return(Ot=this._onMessageLongPress)==null?void 0:Ot.call(this,xn,zt)}),cu.appendChild(Bt)}),this._canPaginate){const re=new Ab({theme:tl,customItem:(su=this._paginationItemFactory)==null?void 0:su.call(this,{feedType:this._feedType}),onPaginationTrigger:()=>{var zt;return(zt=this._onPaginationTrigger)==null?void 0:zt.call(this,this._feedType)}});cu.appendChild(re)}}setLoadingStateFactory(f){this._loadingStateFactory=f,this.render()}setEmptyStateFactory(f){this._emptyStateFactory=f,this.render()}setErrorStateFactory(f){this._errorStateFactory=f,this.render()}setListItemFactory(f){this._listItemFactory=f,this.render()}setPaginationItemFactory(f){this._paginationItemFactory=f,this.render()}refreshTheme(){this.render()}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-list")||customElements.define("courier-inbox-list",Mb);class Rb extends HTMLElement{constructor(f){super(),K(this,"_option"),K(this,"_isSelected"),K(this,"_content"),K(this,"_itemIcon"),K(this,"_title"),K(this,"_selectionIcon"),K(this,"_style"),K(this,"_themeManager"),this._option=f.option,this._isSelected=f.isSelected,this._themeManager=f.themeManager;const p=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._content=document.createElement("div"),this._content.className="menu-item",this._itemIcon=new Vr(this._option.icon.svg??we.inbox),this._itemIcon.setAttribute("size","16"),this._title=document.createElement("p"),this._title.textContent=this._option.text;const m=document.createElement("div");m.className="spacer",this._selectionIcon=new Vr(we.check),this._content.appendChild(this._itemIcon),this._content.appendChild(this._title),this._content.appendChild(m),f.selectable&&this._content.appendChild(this._selectionIcon),p.appendChild(this._style),p.appendChild(this._content),this._selectionIcon.style.display=this._isSelected?"block":"none",this.refreshTheme()}getStyles(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me,_e,Re,Ee,et,Mt,vt,D,W,te;const ge=this._themeManager.getTheme();return`
562
+ `}reset(){for(var f,v;(f=this.shadowRoot)!=null&&f.firstChild;)this.shadowRoot.removeChild(this.shadowRoot.firstChild);const m=document.createElement("style");m.textContent=this.getStyles(),(v=this.shadowRoot)==null||v.appendChild(m)}setDataSet(f){this._messages=[...f.messages],this._canPaginate=!!f.canPaginate,this._error=null,this._isLoading=!1,this.render()}addPage(f){this._messages=[...this._messages,...f.messages],this._canPaginate=!!f.canPaginate,this._error=null,this._isLoading=!1,this.render()}addMessage(f,v=0){this._messages.splice(v,0,f),this.render()}removeMessage(f=0){this._messages.splice(f,1),this.render()}updateMessage(f,v=0){this._messages[v]=f,this.render()}setFeedType(f){this._feedType=f,this._error=null,this._isLoading=!0,this.render()}setLoading(f){this._error=null,this._isLoading=f,this.render()}setError(f){this._error=f,this._isLoading=!1,this._messages=[],this.render()}setErrorNoClient(){this.setError(new Error("No user signed in"))}handleRetry(){this._onRefresh()}handleRefresh(){this._onRefresh()}render(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me,Ce,Re,Ee,et,Mt,vt,D,I,te,ge,q,pe,ie,ve,Be,rt,$e,fn,xt,Vt,bl,On,ei,Un,au,Qo,Hn,fl,Ca,Qu,iu,Aa,uu;this.reset();const Pl=this._themeSubscription.manager.getTheme();if(this._error){const re=(f=Pl.inbox)==null?void 0:f.error,zt=new cv({title:{text:((v=re==null?void 0:re.title)==null?void 0:v.text)??this._error.message,textColor:(T=(m=re==null?void 0:re.title)==null?void 0:m.font)==null?void 0:T.color,fontFamily:(w=(A=re==null?void 0:re.title)==null?void 0:A.font)==null?void 0:w.family,fontSize:(M=(X=re==null?void 0:re.title)==null?void 0:X.font)==null?void 0:M.size,fontWeight:(ee=(Y=re==null?void 0:re.title)==null?void 0:Y.font)==null?void 0:ee.weight},button:{text:(ne=re==null?void 0:re.button)==null?void 0:ne.text,backgroundColor:(V=re==null?void 0:re.button)==null?void 0:V.backgroundColor,hoverBackgroundColor:(oe=re==null?void 0:re.button)==null?void 0:oe.hoverBackgroundColor,activeBackgroundColor:(ce=re==null?void 0:re.button)==null?void 0:ce.activeBackgroundColor,textColor:(ae=(ue=re==null?void 0:re.button)==null?void 0:ue.font)==null?void 0:ae.color,fontFamily:(ke=(de=re==null?void 0:re.button)==null?void 0:de.font)==null?void 0:ke.family,fontSize:(xe=(fe=re==null?void 0:re.button)==null?void 0:fe.font)==null?void 0:xe.size,fontWeight:(qe=(Ye=re==null?void 0:re.button)==null?void 0:Ye.font)==null?void 0:qe.weight,shadow:(Oe=re==null?void 0:re.button)==null?void 0:Oe.shadow,border:(at=re==null?void 0:re.button)==null?void 0:at.border,borderRadius:(me=re==null?void 0:re.button)==null?void 0:me.borderRadius}});zt.build((Ce=this._errorStateFactory)==null?void 0:Ce.call(this,{feedType:this._feedType,error:this._error})),zt.setButtonClickCallback(()=>this.handleRetry()),(Re=this.shadowRoot)==null||Re.appendChild(zt);return}if(this._isLoading){const re=new Yg(Pl);re.build((Ee=this._loadingStateFactory)==null?void 0:Ee.call(this,{feedType:this._feedType})),(et=this.shadowRoot)==null||et.appendChild(re);return}if(this._messages.length===0){const re=(Mt=Pl.inbox)==null?void 0:Mt.empty,zt=new cv({title:{text:((vt=re==null?void 0:re.title)==null?void 0:vt.text)??`No ${this._feedType} messages yet`,textColor:(I=(D=re==null?void 0:re.title)==null?void 0:D.font)==null?void 0:I.color,fontFamily:(ge=(te=re==null?void 0:re.title)==null?void 0:te.font)==null?void 0:ge.family,fontSize:(pe=(q=re==null?void 0:re.title)==null?void 0:q.font)==null?void 0:pe.size,fontWeight:(ve=(ie=re==null?void 0:re.title)==null?void 0:ie.font)==null?void 0:ve.weight},button:{text:(Be=re==null?void 0:re.button)==null?void 0:Be.text,backgroundColor:(rt=re==null?void 0:re.button)==null?void 0:rt.backgroundColor,hoverBackgroundColor:($e=re==null?void 0:re.button)==null?void 0:$e.hoverBackgroundColor,activeBackgroundColor:(fn=re==null?void 0:re.button)==null?void 0:fn.activeBackgroundColor,textColor:(Vt=(xt=re==null?void 0:re.button)==null?void 0:xt.font)==null?void 0:Vt.color,fontFamily:(On=(bl=re==null?void 0:re.button)==null?void 0:bl.font)==null?void 0:On.family,fontSize:(Un=(ei=re==null?void 0:re.button)==null?void 0:ei.font)==null?void 0:Un.size,fontWeight:(Qo=(au=re==null?void 0:re.button)==null?void 0:au.font)==null?void 0:Qo.weight,shadow:(Hn=re==null?void 0:re.button)==null?void 0:Hn.shadow,border:(fl=re==null?void 0:re.button)==null?void 0:fl.border,borderRadius:(Ca=re==null?void 0:re.button)==null?void 0:Ca.borderRadius}});zt.build((Qu=this._emptyStateFactory)==null?void 0:Qu.call(this,{feedType:this._feedType})),zt.setButtonClickCallback(()=>this.handleRefresh()),(iu=this.shadowRoot)==null||iu.appendChild(zt);return}const ou=document.createElement("ul");if((Aa=this.shadowRoot)==null||Aa.appendChild(ou),this._messages.forEach((re,zt)=>{if(this._listItemFactory){ou.appendChild(this._listItemFactory({message:re,index:zt}));return}const Bt=new pb(Pl);Bt.setMessage(re,this._feedType),Bt.setOnItemClick(Sl=>{var Ot;return(Ot=this._onMessageClick)==null?void 0:Ot.call(this,Sl,zt)}),Bt.setOnItemActionClick((Sl,Ot)=>{var cu;return(cu=this._onMessageActionClick)==null?void 0:cu.call(this,Sl,Ot,zt)}),Bt.setOnItemLongPress(Sl=>{var Ot;return(Ot=this._onMessageLongPress)==null?void 0:Ot.call(this,Sl,zt)}),ou.appendChild(Bt)}),this._canPaginate){const re=new gb({theme:Pl,customItem:(uu=this._paginationItemFactory)==null?void 0:uu.call(this,{feedType:this._feedType}),onPaginationTrigger:()=>{var zt;return(zt=this._onPaginationTrigger)==null?void 0:zt.call(this,this._feedType)}});ou.appendChild(re)}}setLoadingStateFactory(f){this._loadingStateFactory=f,this.render()}setEmptyStateFactory(f){this._emptyStateFactory=f,this.render()}setErrorStateFactory(f){this._errorStateFactory=f,this.render()}setListItemFactory(f){this._listItemFactory=f,this.render()}setPaginationItemFactory(f){this._paginationItemFactory=f,this.render()}refreshTheme(){this.render()}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-list")||customElements.define("courier-inbox-list",yb);class bb extends HTMLElement{constructor(f){super(),K(this,"_option"),K(this,"_isSelected"),K(this,"_content"),K(this,"_itemIcon"),K(this,"_title"),K(this,"_selectionIcon"),K(this,"_style"),K(this,"_themeManager"),this._option=f.option,this._isSelected=f.isSelected,this._themeManager=f.themeManager;const v=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._content=document.createElement("div"),this._content.className="menu-item",this._itemIcon=new Lr(this._option.icon.svg??we.inbox),this._itemIcon.setAttribute("size","16"),this._title=document.createElement("p"),this._title.textContent=this._option.text;const m=document.createElement("div");m.className="spacer",this._selectionIcon=new Lr(we.check),this._content.appendChild(this._itemIcon),this._content.appendChild(this._title),this._content.appendChild(m),f.selectable&&this._content.appendChild(this._selectionIcon),v.appendChild(this._style),v.appendChild(this._content),this._selectionIcon.style.display=this._isSelected?"block":"none",this.refreshTheme()}getStyles(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me,Ce,Re,Ee,et,Mt,vt,D,I,te;const ge=this._themeManager.getTheme();return`
563
563
  :host {
564
564
  display: flex;
565
565
  flex-direction: row;
@@ -568,11 +568,11 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
568
568
  }
569
569
 
570
570
  :host(:hover) {
571
- background-color: ${((C=(T=(m=(p=(f=ge.inbox)==null?void 0:f.header)==null?void 0:p.menus)==null?void 0:m.popup)==null?void 0:T.list)==null?void 0:C.hoverBackgroundColor)??"red"};
571
+ background-color: ${((A=(T=(m=(v=(f=ge.inbox)==null?void 0:f.header)==null?void 0:v.menus)==null?void 0:m.popup)==null?void 0:T.list)==null?void 0:A.hoverBackgroundColor)??"red"};
572
572
  }
573
573
 
574
574
  :host(:active) {
575
- background-color: ${((ee=(Y=(M=(j=(w=ge.inbox)==null?void 0:w.header)==null?void 0:j.menus)==null?void 0:M.popup)==null?void 0:Y.list)==null?void 0:ee.activeBackgroundColor)??"red"};
575
+ background-color: ${((ee=(Y=(M=(X=(w=ge.inbox)==null?void 0:w.header)==null?void 0:X.menus)==null?void 0:M.popup)==null?void 0:Y.list)==null?void 0:ee.activeBackgroundColor)??"red"};
576
576
  }
577
577
 
578
578
  .menu-item {
@@ -588,17 +588,17 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
588
588
 
589
589
  p {
590
590
  margin: 0;
591
- font-family: ${((ae=(ue=(se=(oe=(V=(le=ge.inbox)==null?void 0:le.header)==null?void 0:V.menus)==null?void 0:oe.popup)==null?void 0:se.list)==null?void 0:ue.font)==null?void 0:ae.family)??"inherit"};
591
+ font-family: ${((ae=(ue=(ce=(oe=(V=(ne=ge.inbox)==null?void 0:ne.header)==null?void 0:V.menus)==null?void 0:oe.popup)==null?void 0:ce.list)==null?void 0:ue.font)==null?void 0:ae.family)??"inherit"};
592
592
  font-weight: ${((qe=(Ye=(xe=(fe=(ke=(de=ge.inbox)==null?void 0:de.header)==null?void 0:ke.menus)==null?void 0:fe.popup)==null?void 0:xe.list)==null?void 0:Ye.font)==null?void 0:qe.weight)??"inherit"};
593
- font-size: ${((Ee=(Re=(_e=(me=(at=(ze=ge.inbox)==null?void 0:ze.header)==null?void 0:at.menus)==null?void 0:me.popup)==null?void 0:_e.list)==null?void 0:Re.font)==null?void 0:Ee.size)??"14px"};
594
- color: ${((te=(W=(D=(vt=(Mt=(et=ge.inbox)==null?void 0:et.header)==null?void 0:Mt.menus)==null?void 0:vt.popup)==null?void 0:D.list)==null?void 0:W.font)==null?void 0:te.color)??"red"};
593
+ font-size: ${((Ee=(Re=(Ce=(me=(at=(Oe=ge.inbox)==null?void 0:Oe.header)==null?void 0:at.menus)==null?void 0:me.popup)==null?void 0:Ce.list)==null?void 0:Re.font)==null?void 0:Ee.size)??"14px"};
594
+ color: ${((te=(I=(D=(vt=(Mt=(et=ge.inbox)==null?void 0:et.header)==null?void 0:Mt.menus)==null?void 0:vt.popup)==null?void 0:D.list)==null?void 0:I.font)==null?void 0:te.color)??"red"};
595
595
  white-space: nowrap;
596
596
  }
597
597
 
598
598
  .check-icon {
599
599
  display: none;
600
600
  }
601
- `}refreshTheme(){var f,p,m,T;this._style.textContent=this.getStyles(),this._selectionIcon.updateColor(((f=this._option.selectionIcon)==null?void 0:f.color)??"red"),this._selectionIcon.updateSVG(((p=this._option.selectionIcon)==null?void 0:p.svg)??we.check),this._title.textContent=this._option.text??"Missing Text",this._itemIcon.updateColor(((m=this._option.icon)==null?void 0:m.color)??"red"),this._itemIcon.updateSVG(((T=this._option.icon)==null?void 0:T.svg)??we.inbox)}}customElements.get("courier-inbox-filter-menu-item")||customElements.define("courier-inbox-filter-menu-item",Rb);class Kg extends HTMLElement{constructor(f,p,m,T,C){super(),K(this,"_themeSubscription"),K(this,"_type"),K(this,"_selectedIndex",0),K(this,"_options"),K(this,"_selectable"),K(this,"_onMenuOpen"),K(this,"_menuButton"),K(this,"_menu"),K(this,"_style"),this._type=p,this._selectable=m,this._options=T,this._selectedIndex=0,this._onMenuOpen=C;const w=this.attachShadow({mode:"open"});this._menuButton=new Xm(p==="filters"?we.filter:we.overflow),this._menu=document.createElement("div"),this._menu.className=`menu ${p}`,this._style=document.createElement("style"),w.appendChild(this._style),w.appendChild(this._menuButton),w.appendChild(this._menu),this._menuButton.addEventListener("click",this.toggleMenu.bind(this)),document.addEventListener("click",this.handleOutsideClick.bind(this)),this._themeSubscription=f.subscribe(j=>{this.refreshTheme()}),this.refreshTheme()}getStyles(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye;const qe=this._themeSubscription.manager.getTheme();return`
601
+ `}refreshTheme(){var f,v,m,T;this._style.textContent=this.getStyles(),this._selectionIcon.updateColor(((f=this._option.selectionIcon)==null?void 0:f.color)??"red"),this._selectionIcon.updateSVG(((v=this._option.selectionIcon)==null?void 0:v.svg)??we.check),this._title.textContent=this._option.text??"Missing Text",this._itemIcon.updateColor(((m=this._option.icon)==null?void 0:m.color)??"red"),this._itemIcon.updateSVG(((T=this._option.icon)==null?void 0:T.svg)??we.inbox)}}customElements.get("courier-inbox-filter-menu-item")||customElements.define("courier-inbox-filter-menu-item",bb);class Vg extends HTMLElement{constructor(f,v,m,T,A){super(),K(this,"_themeSubscription"),K(this,"_type"),K(this,"_selectedIndex",0),K(this,"_options"),K(this,"_selectable"),K(this,"_onMenuOpen"),K(this,"_menuButton"),K(this,"_menu"),K(this,"_style"),this._type=v,this._selectable=m,this._options=T,this._selectedIndex=0,this._onMenuOpen=A;const w=this.attachShadow({mode:"open"});this._menuButton=new qm(v==="filters"?we.filter:we.overflow),this._menu=document.createElement("div"),this._menu.className=`menu ${v}`,this._style=document.createElement("style"),w.appendChild(this._style),w.appendChild(this._menuButton),w.appendChild(this._menu),this._menuButton.addEventListener("click",this.toggleMenu.bind(this)),document.addEventListener("click",this.handleOutsideClick.bind(this)),this._themeSubscription=f.subscribe(X=>{this.refreshTheme()}),this.refreshTheme()}getStyles(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye;const qe=this._themeSubscription.manager.getTheme();return`
602
602
  :host {
603
603
  position: relative;
604
604
  display: inline-block;
@@ -609,10 +609,10 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
609
609
  position: absolute;
610
610
  top: 42px;
611
611
  right: -6px;
612
- border-radius: ${((T=(m=(p=(f=qe.inbox)==null?void 0:f.header)==null?void 0:p.menus)==null?void 0:m.popup)==null?void 0:T.borderRadius)??"6px"};
613
- border: ${((M=(j=(w=(C=qe.inbox)==null?void 0:C.header)==null?void 0:w.menus)==null?void 0:j.popup)==null?void 0:M.border)??"1px solid red"};
614
- background: ${((V=(le=(ee=(Y=qe.inbox)==null?void 0:Y.header)==null?void 0:ee.menus)==null?void 0:le.popup)==null?void 0:V.backgroundColor)??"red"};
615
- box-shadow: ${((ae=(ue=(se=(oe=qe.inbox)==null?void 0:oe.header)==null?void 0:se.menus)==null?void 0:ue.popup)==null?void 0:ae.shadow)??"0 4px 12px 0 red"};
612
+ border-radius: ${((T=(m=(v=(f=qe.inbox)==null?void 0:f.header)==null?void 0:v.menus)==null?void 0:m.popup)==null?void 0:T.borderRadius)??"6px"};
613
+ border: ${((M=(X=(w=(A=qe.inbox)==null?void 0:A.header)==null?void 0:w.menus)==null?void 0:X.popup)==null?void 0:M.border)??"1px solid red"};
614
+ background: ${((V=(ne=(ee=(Y=qe.inbox)==null?void 0:Y.header)==null?void 0:ee.menus)==null?void 0:ne.popup)==null?void 0:V.backgroundColor)??"red"};
615
+ box-shadow: ${((ae=(ue=(ce=(oe=qe.inbox)==null?void 0:oe.header)==null?void 0:ce.menus)==null?void 0:ue.popup)==null?void 0:ae.shadow)??"0 4px 12px 0 red"};
616
616
  z-index: 1000;
617
617
  min-width: 200px;
618
618
  overflow: hidden;
@@ -626,22 +626,22 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
626
626
  courier-inbox-filter-menu-item:last-child {
627
627
  border-bottom: none;
628
628
  }
629
- `}refreshTheme(){var f,p,m,T,C,w;this._style.textContent=this.getStyles();const j=(p=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.header)==null?void 0:p.menus,M=this._type==="filters",Y=M?(m=j==null?void 0:j.filters)==null?void 0:m.button:(T=j==null?void 0:j.actions)==null?void 0:T.button,ee=M?we.filter:we.overflow;this._menuButton.updateIconSVG(((C=Y==null?void 0:Y.icon)==null?void 0:C.svg)??ee),this._menuButton.updateIconColor(((w=Y==null?void 0:Y.icon)==null?void 0:w.color)??"red"),this._menuButton.updateBackgroundColor((Y==null?void 0:Y.backgroundColor)??"transparent"),this._menuButton.updateHoverBackgroundColor((Y==null?void 0:Y.hoverBackgroundColor)??"red"),this._menuButton.updateActiveBackgroundColor((Y==null?void 0:Y.activeBackgroundColor)??"red"),this.refreshMenuItems()}setOptions(f){this._options=f,this.refreshMenuItems()}refreshMenuItems(){this._menu.innerHTML="",this._options.forEach((f,p)=>{const m=new Rb({option:f,selectable:this._selectable,isSelected:this._selectedIndex===p,themeManager:this._themeSubscription.manager});m.addEventListener("click",()=>{this._selectedIndex=p,f.onClick(f),this.refreshMenuItems(),this.closeMenu()}),this._menu.appendChild(m)})}toggleMenu(f){f.stopPropagation();const p=this._menu.style.display!=="block";this._menu.style.display=p?"block":"none",p&&this._onMenuOpen()}handleOutsideClick(f){this.contains(f.target)||this.closeMenu()}closeMenu(){this._menu.style.display="none"}selectOption(f){this._selectedIndex=this._options.findIndex(p=>p.id===f.id),this.refreshMenuItems()}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-option-menu")||customElements.define("courier-inbox-option-menu",Kg);class Ig extends HTMLElement{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_location"),K(this,"_count",0),K(this,"_badge"),K(this,"_style"),this._location=f.location,this._themeSubscription=f.themeBus.subscribe(m=>{this.refreshTheme(this._location)});const p=this.attachShadow({mode:"open"});this._badge=document.createElement("span"),this._badge.className="unread-badge",this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._location),p.appendChild(this._style),p.appendChild(this._badge)}getStyles(f){var p,m,T,C,w,j,M;const Y=this._themeSubscription.manager.getTheme(),ee=f==="button"?(m=(p=Y.popup)==null?void 0:p.button)==null?void 0:m.unreadIndicator:(w=(C=(T=Y.inbox)==null?void 0:T.header)==null?void 0:C.filters)==null?void 0:w.unreadIndicator,le=ee==null?void 0:ee.backgroundColor,V=ee==null?void 0:ee.borderRadius,oe=(j=ee==null?void 0:ee.font)==null?void 0:j.color,se=(M=ee==null?void 0:ee.font)==null?void 0:M.size;return`
629
+ `}refreshTheme(){var f,v,m,T,A,w;this._style.textContent=this.getStyles();const X=(v=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.header)==null?void 0:v.menus,M=this._type==="filters",Y=M?(m=X==null?void 0:X.filters)==null?void 0:m.button:(T=X==null?void 0:X.actions)==null?void 0:T.button,ee=M?we.filter:we.overflow;this._menuButton.updateIconSVG(((A=Y==null?void 0:Y.icon)==null?void 0:A.svg)??ee),this._menuButton.updateIconColor(((w=Y==null?void 0:Y.icon)==null?void 0:w.color)??"red"),this._menuButton.updateBackgroundColor((Y==null?void 0:Y.backgroundColor)??"transparent"),this._menuButton.updateHoverBackgroundColor((Y==null?void 0:Y.hoverBackgroundColor)??"red"),this._menuButton.updateActiveBackgroundColor((Y==null?void 0:Y.activeBackgroundColor)??"red"),this.refreshMenuItems()}setOptions(f){this._options=f,this.refreshMenuItems()}refreshMenuItems(){this._menu.innerHTML="",this._options.forEach((f,v)=>{const m=new bb({option:f,selectable:this._selectable,isSelected:this._selectedIndex===v,themeManager:this._themeSubscription.manager});m.addEventListener("click",()=>{this._selectedIndex=v,f.onClick(f),this.refreshMenuItems(),this.closeMenu()}),this._menu.appendChild(m)})}toggleMenu(f){f.stopPropagation();const v=this._menu.style.display!=="block";this._menu.style.display=v?"block":"none",v&&this._onMenuOpen()}handleOutsideClick(f){this.contains(f.target)||this.closeMenu()}closeMenu(){this._menu.style.display="none"}selectOption(f){this._selectedIndex=this._options.findIndex(v=>v.id===f.id),this.refreshMenuItems()}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-option-menu")||customElements.define("courier-inbox-option-menu",Vg);class Gg extends HTMLElement{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_location"),K(this,"_count",0),K(this,"_badge"),K(this,"_style"),this._location=f.location,this._themeSubscription=f.themeBus.subscribe(m=>{this.refreshTheme(this._location)});const v=this.attachShadow({mode:"open"});this._badge=document.createElement("span"),this._badge.className="unread-badge",this._style=document.createElement("style"),this._style.textContent=this.getStyles(this._location),v.appendChild(this._style),v.appendChild(this._badge)}getStyles(f){var v,m,T,A,w,X,M;const Y=this._themeSubscription.manager.getTheme(),ee=f==="button"?(m=(v=Y.popup)==null?void 0:v.button)==null?void 0:m.unreadIndicator:(w=(A=(T=Y.inbox)==null?void 0:T.header)==null?void 0:A.filters)==null?void 0:w.unreadIndicator,ne=ee==null?void 0:ee.backgroundColor,V=ee==null?void 0:ee.borderRadius,oe=(X=ee==null?void 0:ee.font)==null?void 0:X.color,ce=(M=ee==null?void 0:ee.font)==null?void 0:M.size;return`
630
630
  :host {
631
631
  display: inline-block;
632
632
  }
633
633
 
634
634
  .unread-badge {
635
- background-color: ${le};
635
+ background-color: ${ne};
636
636
  color: ${oe};
637
637
  border-radius: ${V};
638
638
  padding: 4px 8px;
639
- font-size: ${se};
639
+ font-size: ${ce};
640
640
  text-align: center;
641
641
  display: none;
642
642
  pointer-events: none;
643
643
  }
644
- `}setCount(f){this._count=f,this.updateBadge()}refreshTheme(f){this._location=f,this.updateBadge()}updateBadge(){this._style.textContent=this.getStyles(this._location),this._count>0?(this._badge.textContent=this._count.toString(),this._badge.style.display="block"):this._badge.style.display="none"}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-unread-count-badge")||customElements.define("courier-unread-count-badge",Ig);class Db extends HTMLElement{constructor(f,p){super(),K(this,"_themeSubscription"),K(this,"_option"),K(this,"_feedType"),K(this,"_titleElement"),K(this,"_iconElement"),K(this,"_unreadBadge"),K(this,"_container"),K(this,"_style"),this._option=p;const m=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._container=document.createElement("div"),this._container.className="title-section",this._iconElement=new Vr(void 0,this._option.icon.svg),this._titleElement=document.createElement("h2"),this._unreadBadge=new Ig({themeBus:f,location:"header"}),this._container.appendChild(this._iconElement),this._container.appendChild(this._titleElement),this._container.appendChild(this._unreadBadge),m.appendChild(this._style),m.appendChild(this._container),this._themeSubscription=f.subscribe(T=>{this.refreshTheme(this._feedType??"inbox")}),this.refreshTheme(this._feedType??"inbox")}getStyles(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae;const de=this._themeSubscription.manager.getTheme();return`
644
+ `}setCount(f){this._count=f,this.updateBadge()}refreshTheme(f){this._location=f,this.updateBadge()}updateBadge(){this._style.textContent=this.getStyles(this._location),this._count>0?(this._badge.textContent=this._count.toString(),this._badge.style.display="block"):this._badge.style.display="none"}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-unread-count-badge")||customElements.define("courier-unread-count-badge",Gg);class Sb extends HTMLElement{constructor(f,v){super(),K(this,"_themeSubscription"),K(this,"_option"),K(this,"_feedType"),K(this,"_titleElement"),K(this,"_iconElement"),K(this,"_unreadBadge"),K(this,"_container"),K(this,"_style"),this._option=v;const m=this.attachShadow({mode:"open"});this._style=document.createElement("style"),this._container=document.createElement("div"),this._container.className="title-section",this._iconElement=new Lr(void 0,this._option.icon.svg),this._titleElement=document.createElement("h2"),this._unreadBadge=new Gg({themeBus:f,location:"header"}),this._container.appendChild(this._iconElement),this._container.appendChild(this._titleElement),this._container.appendChild(this._unreadBadge),m.appendChild(this._style),m.appendChild(this._container),this._themeSubscription=f.subscribe(T=>{this.refreshTheme(this._feedType??"inbox")}),this.refreshTheme(this._feedType??"inbox")}getStyles(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae;const de=this._themeSubscription.manager.getTheme();return`
645
645
  .title-section {
646
646
  display: flex;
647
647
  align-items: center;
@@ -656,16 +656,16 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
656
656
 
657
657
  h2 {
658
658
  margin: 0;
659
- font-family: ${((T=(m=(p=(f=de.inbox)==null?void 0:f.header)==null?void 0:p.filters)==null?void 0:m.font)==null?void 0:T.family)??"inherit"};
660
- font-size: ${((M=(j=(w=(C=de.inbox)==null?void 0:C.header)==null?void 0:w.filters)==null?void 0:j.font)==null?void 0:M.size)??"18px"};
661
- font-weight: ${((V=(le=(ee=(Y=de.inbox)==null?void 0:Y.header)==null?void 0:ee.filters)==null?void 0:le.font)==null?void 0:V.weight)??"500"};
662
- color: ${((ae=(ue=(se=(oe=de.inbox)==null?void 0:oe.header)==null?void 0:se.filters)==null?void 0:ue.font)==null?void 0:ae.color)??"red"};
659
+ font-family: ${((T=(m=(v=(f=de.inbox)==null?void 0:f.header)==null?void 0:v.filters)==null?void 0:m.font)==null?void 0:T.family)??"inherit"};
660
+ font-size: ${((M=(X=(w=(A=de.inbox)==null?void 0:A.header)==null?void 0:w.filters)==null?void 0:X.font)==null?void 0:M.size)??"18px"};
661
+ font-weight: ${((V=(ne=(ee=(Y=de.inbox)==null?void 0:Y.header)==null?void 0:ee.filters)==null?void 0:ne.font)==null?void 0:V.weight)??"500"};
662
+ color: ${((ae=(ue=(ce=(oe=de.inbox)==null?void 0:oe.header)==null?void 0:ce.filters)==null?void 0:ue.font)==null?void 0:ae.color)??"red"};
663
663
  }
664
664
 
665
665
  courier-unread-count-badge {
666
666
  margin-left: 4px;
667
667
  }
668
- `}refreshTheme(f){this._feedType=f,this._style.textContent=this.getStyles(),this._unreadBadge.refreshTheme("header"),this.updateFilter()}updateSelectedOption(f,p,m){this._option=f,this._feedType=p,this._unreadBadge.setCount(m),this.updateFilter()}updateFilter(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me,_e,Re,Ee;const et=this._themeSubscription.manager.getTheme();switch(this._feedType){case"inbox":this._titleElement.textContent=((T=(m=(p=(f=et.inbox)==null?void 0:f.header)==null?void 0:p.filters)==null?void 0:m.inbox)==null?void 0:T.text)??"Inbox",this._iconElement.updateSVG(((Y=(M=(j=(w=(C=et.inbox)==null?void 0:C.header)==null?void 0:w.filters)==null?void 0:j.inbox)==null?void 0:M.icon)==null?void 0:Y.svg)??we.inbox),this._iconElement.updateColor(((se=(oe=(V=(le=(ee=et.inbox)==null?void 0:ee.header)==null?void 0:le.filters)==null?void 0:V.inbox)==null?void 0:oe.icon)==null?void 0:se.color)??"red");break;case"archive":this._titleElement.textContent=((ke=(de=(ae=(ue=et.inbox)==null?void 0:ue.header)==null?void 0:ae.filters)==null?void 0:de.archive)==null?void 0:ke.text)??"Archive",this._iconElement.updateSVG(((ze=(qe=(Ye=(xe=(fe=et.inbox)==null?void 0:fe.header)==null?void 0:xe.filters)==null?void 0:Ye.archive)==null?void 0:qe.icon)==null?void 0:ze.svg)??we.archive),this._iconElement.updateColor(((Ee=(Re=(_e=(me=(at=et.inbox)==null?void 0:at.header)==null?void 0:me.filters)==null?void 0:_e.archive)==null?void 0:Re.icon)==null?void 0:Ee.color)??"red");break}}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-header-title")||customElements.define("courier-inbox-header-title",Db);class zb extends hv{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_feedType","inbox"),K(this,"_unreadCount",0),K(this,"_titleSection"),K(this,"_filterMenu"),K(this,"_actionMenu"),K(this,"_style"),K(this,"_onFeedTypeChange"),this._themeSubscription=f.themeManager.subscribe(p=>{this.refreshTheme()}),this._onFeedTypeChange=f.onFeedTypeChange}getFilterOptions(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me,_e,Re,Ee,et,Mt,vt,D,W,te,ge,q,pe;const ie=this._themeSubscription.manager.getTheme(),ve=(m=(p=(f=ie.inbox)==null?void 0:f.header)==null?void 0:p.menus)==null?void 0:m.filters;return[{id:"inbox",text:((T=ve==null?void 0:ve.inbox)==null?void 0:T.text)??"Inbox",icon:{color:((w=(C=ve==null?void 0:ve.inbox)==null?void 0:C.icon)==null?void 0:w.color)??"red",svg:((M=(j=ve==null?void 0:ve.inbox)==null?void 0:j.icon)==null?void 0:M.svg)??we.inbox},selectionIcon:{color:((se=(oe=(V=(le=(ee=(Y=ie.inbox)==null?void 0:Y.header)==null?void 0:ee.menus)==null?void 0:le.popup)==null?void 0:V.list)==null?void 0:oe.selectionIcon)==null?void 0:se.color)??"red",svg:((xe=(fe=(ke=(de=(ae=(ue=ie.inbox)==null?void 0:ue.header)==null?void 0:ae.menus)==null?void 0:de.popup)==null?void 0:ke.list)==null?void 0:fe.selectionIcon)==null?void 0:xe.svg)??we.check},onClick:He=>{this.handleOptionMenuItemClick("inbox",He)}},{id:"archive",text:((Ye=ve==null?void 0:ve.archive)==null?void 0:Ye.text)??"Archive",icon:{color:((ze=(qe=ve==null?void 0:ve.archive)==null?void 0:qe.icon)==null?void 0:ze.color)??"red",svg:((me=(at=ve==null?void 0:ve.archive)==null?void 0:at.icon)==null?void 0:me.svg)??we.archive},selectionIcon:{color:((vt=(Mt=(et=(Ee=(Re=(_e=ie.inbox)==null?void 0:_e.header)==null?void 0:Re.menus)==null?void 0:Ee.popup)==null?void 0:et.list)==null?void 0:Mt.selectionIcon)==null?void 0:vt.color)??"red",svg:((pe=(q=(ge=(te=(W=(D=ie.inbox)==null?void 0:D.header)==null?void 0:W.menus)==null?void 0:te.popup)==null?void 0:ge.list)==null?void 0:q.selectionIcon)==null?void 0:pe.svg)??we.check},onClick:He=>{this.handleOptionMenuItemClick("archive",He)}}]}getActionOptions(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke;const fe=(m=(p=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.header)==null?void 0:p.menus)==null?void 0:m.actions;return[{id:"markAllRead",text:((T=fe==null?void 0:fe.markAllRead)==null?void 0:T.text)??"Mark All as Read",icon:{color:((w=(C=fe==null?void 0:fe.markAllRead)==null?void 0:C.icon)==null?void 0:w.color)??"red",svg:((M=(j=fe==null?void 0:fe.markAllRead)==null?void 0:j.icon)==null?void 0:M.svg)??we.inbox},selectionIcon:null,onClick:xe=>{un.shared.readAllMessages({canCallApi:!0})}},{id:"archiveAll",text:((Y=fe==null?void 0:fe.archiveAll)==null?void 0:Y.text)??"Archive All",icon:{color:((le=(ee=fe==null?void 0:fe.archiveAll)==null?void 0:ee.icon)==null?void 0:le.color)??"red",svg:((oe=(V=fe==null?void 0:fe.archiveAll)==null?void 0:V.icon)==null?void 0:oe.svg)??we.archive},selectionIcon:null,onClick:xe=>{var Ye;alert(JSON.stringify((Ye=Le.shared.client)==null?void 0:Ye.options))}},{id:"archiveRead",text:((se=fe==null?void 0:fe.archiveRead)==null?void 0:se.text)??"Archive Read",icon:{color:((ae=(ue=fe==null?void 0:fe.archiveRead)==null?void 0:ue.icon)==null?void 0:ae.color)??"red",svg:((ke=(de=fe==null?void 0:fe.archiveRead)==null?void 0:de.icon)==null?void 0:ke.svg)??we.archive},selectionIcon:null,onClick:xe=>{un.shared.archiveReadMessages({canCallApi:!0})}}]}static get observedAttributes(){return["icon","title","feed-type"]}refreshTheme(){var f,p,m,T,C,w,j;const M=this._themeSubscription.manager.getTheme(),Y=(f=this.shadow)==null?void 0:f.querySelector(".courier-inbox-header");Y&&(Y.style.backgroundColor=((m=(p=M.inbox)==null?void 0:p.header)==null?void 0:m.backgroundColor)??Z.white[500],Y.style.boxShadow=((C=(T=M.inbox)==null?void 0:T.header)==null?void 0:C.shadow)??`0px 1px 0px 0px ${Z.gray[500]}`),(w=this._filterMenu)==null||w.setOptions(this.getFilterOptions()),(j=this._actionMenu)==null||j.setOptions(this.getActionOptions())}handleOptionMenuItemClick(f,p){this._feedType=f,this._titleSection&&this._titleSection.updateSelectedOption(p,this._feedType,this._feedType==="inbox"?this._unreadCount:0),this._onFeedTypeChange(f)}render(f){this._feedType=f.feedType,this._unreadCount=f.unreadCount,this.refreshTitleSection()}refreshTitleSection(){var f,p;const m=this.getFilterOptions().find(T=>["inbox","archive"].includes(T.id)&&T.id===this._feedType);m&&((f=this._titleSection)==null||f.updateSelectedOption(m,this._feedType,this._feedType==="inbox"?this._unreadCount:0),(p=this._filterMenu)==null||p.selectOption(m))}build(f){var p;super.build(f),this._style=document.createElement("style"),this._style.textContent=this.getStyles(),(p=this.shadow)==null||p.appendChild(this._style),this.refreshTheme()}defaultElement(){const f=this.getFilterOptions();this._titleSection=new Db(this._themeSubscription.manager,f[0]),this._filterMenu=new Kg(this._themeSubscription.manager,"filters",!0,f,()=>{var C;(C=this._actionMenu)==null||C.closeMenu()}),this._actionMenu=new Kg(this._themeSubscription.manager,"actions",!1,this.getActionOptions(),()=>{var C;(C=this._filterMenu)==null||C.closeMenu()}),this._filterMenu.selectOption(f[0]);const p=document.createElement("div");p.className="spacer";const m=document.createElement("div");m.className="actions",m.appendChild(this._filterMenu),m.appendChild(this._actionMenu);const T=document.createElement("div");return T.className="courier-inbox-header",T.appendChild(this._titleSection),T.appendChild(p),T.appendChild(m),T}getStyles(){return`
668
+ `}refreshTheme(f){this._feedType=f,this._style.textContent=this.getStyles(),this._unreadBadge.refreshTheme("header"),this.updateFilter()}updateSelectedOption(f,v,m){this._option=f,this._feedType=v,this._unreadBadge.setCount(m),this.updateFilter()}updateFilter(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me,Ce,Re,Ee;const et=this._themeSubscription.manager.getTheme();switch(this._feedType){case"inbox":this._titleElement.textContent=((T=(m=(v=(f=et.inbox)==null?void 0:f.header)==null?void 0:v.filters)==null?void 0:m.inbox)==null?void 0:T.text)??"Inbox",this._iconElement.updateSVG(((Y=(M=(X=(w=(A=et.inbox)==null?void 0:A.header)==null?void 0:w.filters)==null?void 0:X.inbox)==null?void 0:M.icon)==null?void 0:Y.svg)??we.inbox),this._iconElement.updateColor(((ce=(oe=(V=(ne=(ee=et.inbox)==null?void 0:ee.header)==null?void 0:ne.filters)==null?void 0:V.inbox)==null?void 0:oe.icon)==null?void 0:ce.color)??"red");break;case"archive":this._titleElement.textContent=((ke=(de=(ae=(ue=et.inbox)==null?void 0:ue.header)==null?void 0:ae.filters)==null?void 0:de.archive)==null?void 0:ke.text)??"Archive",this._iconElement.updateSVG(((Oe=(qe=(Ye=(xe=(fe=et.inbox)==null?void 0:fe.header)==null?void 0:xe.filters)==null?void 0:Ye.archive)==null?void 0:qe.icon)==null?void 0:Oe.svg)??we.archive),this._iconElement.updateColor(((Ee=(Re=(Ce=(me=(at=et.inbox)==null?void 0:at.header)==null?void 0:me.filters)==null?void 0:Ce.archive)==null?void 0:Re.icon)==null?void 0:Ee.color)??"red");break}}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-header-title")||customElements.define("courier-inbox-header-title",Sb);class Tb extends ov{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_feedType","inbox"),K(this,"_unreadCount",0),K(this,"_titleSection"),K(this,"_filterMenu"),K(this,"_actionMenu"),K(this,"_style"),K(this,"_onFeedTypeChange"),this._themeSubscription=f.themeManager.subscribe(v=>{this.refreshTheme()}),this._onFeedTypeChange=f.onFeedTypeChange}getFilterOptions(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me,Ce,Re,Ee,et,Mt,vt,D,I,te,ge,q,pe;const ie=this._themeSubscription.manager.getTheme(),ve=(m=(v=(f=ie.inbox)==null?void 0:f.header)==null?void 0:v.menus)==null?void 0:m.filters;return[{id:"inbox",text:((T=ve==null?void 0:ve.inbox)==null?void 0:T.text)??"Inbox",icon:{color:((w=(A=ve==null?void 0:ve.inbox)==null?void 0:A.icon)==null?void 0:w.color)??"red",svg:((M=(X=ve==null?void 0:ve.inbox)==null?void 0:X.icon)==null?void 0:M.svg)??we.inbox},selectionIcon:{color:((ce=(oe=(V=(ne=(ee=(Y=ie.inbox)==null?void 0:Y.header)==null?void 0:ee.menus)==null?void 0:ne.popup)==null?void 0:V.list)==null?void 0:oe.selectionIcon)==null?void 0:ce.color)??"red",svg:((xe=(fe=(ke=(de=(ae=(ue=ie.inbox)==null?void 0:ue.header)==null?void 0:ae.menus)==null?void 0:de.popup)==null?void 0:ke.list)==null?void 0:fe.selectionIcon)==null?void 0:xe.svg)??we.check},onClick:Be=>{this.handleOptionMenuItemClick("inbox",Be)}},{id:"archive",text:((Ye=ve==null?void 0:ve.archive)==null?void 0:Ye.text)??"Archive",icon:{color:((Oe=(qe=ve==null?void 0:ve.archive)==null?void 0:qe.icon)==null?void 0:Oe.color)??"red",svg:((me=(at=ve==null?void 0:ve.archive)==null?void 0:at.icon)==null?void 0:me.svg)??we.archive},selectionIcon:{color:((vt=(Mt=(et=(Ee=(Re=(Ce=ie.inbox)==null?void 0:Ce.header)==null?void 0:Re.menus)==null?void 0:Ee.popup)==null?void 0:et.list)==null?void 0:Mt.selectionIcon)==null?void 0:vt.color)??"red",svg:((pe=(q=(ge=(te=(I=(D=ie.inbox)==null?void 0:D.header)==null?void 0:I.menus)==null?void 0:te.popup)==null?void 0:ge.list)==null?void 0:q.selectionIcon)==null?void 0:pe.svg)??we.check},onClick:Be=>{this.handleOptionMenuItemClick("archive",Be)}}]}getActionOptions(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke;const fe=(m=(v=(f=this._themeSubscription.manager.getTheme().inbox)==null?void 0:f.header)==null?void 0:v.menus)==null?void 0:m.actions;return[{id:"markAllRead",text:((T=fe==null?void 0:fe.markAllRead)==null?void 0:T.text)??"Mark All as Read",icon:{color:((w=(A=fe==null?void 0:fe.markAllRead)==null?void 0:A.icon)==null?void 0:w.color)??"red",svg:((M=(X=fe==null?void 0:fe.markAllRead)==null?void 0:X.icon)==null?void 0:M.svg)??we.inbox},selectionIcon:null,onClick:xe=>{al.shared.readAllMessages({canCallApi:!0})}},{id:"archiveAll",text:((Y=fe==null?void 0:fe.archiveAll)==null?void 0:Y.text)??"Archive All",icon:{color:((ne=(ee=fe==null?void 0:fe.archiveAll)==null?void 0:ee.icon)==null?void 0:ne.color)??"red",svg:((oe=(V=fe==null?void 0:fe.archiveAll)==null?void 0:V.icon)==null?void 0:oe.svg)??we.archive},selectionIcon:null,onClick:xe=>{var Ye;alert(JSON.stringify((Ye=De.shared.client)==null?void 0:Ye.options))}},{id:"archiveRead",text:((ce=fe==null?void 0:fe.archiveRead)==null?void 0:ce.text)??"Archive Read",icon:{color:((ae=(ue=fe==null?void 0:fe.archiveRead)==null?void 0:ue.icon)==null?void 0:ae.color)??"red",svg:((ke=(de=fe==null?void 0:fe.archiveRead)==null?void 0:de.icon)==null?void 0:ke.svg)??we.archive},selectionIcon:null,onClick:xe=>{al.shared.archiveReadMessages({canCallApi:!0})}}]}static get observedAttributes(){return["icon","title","feed-type"]}refreshTheme(){var f,v,m,T,A,w,X;const M=this._themeSubscription.manager.getTheme(),Y=(f=this.shadow)==null?void 0:f.querySelector(".courier-inbox-header");Y&&(Y.style.backgroundColor=((m=(v=M.inbox)==null?void 0:v.header)==null?void 0:m.backgroundColor)??Z.white[500],Y.style.boxShadow=((A=(T=M.inbox)==null?void 0:T.header)==null?void 0:A.shadow)??`0px 1px 0px 0px ${Z.gray[500]}`),(w=this._filterMenu)==null||w.setOptions(this.getFilterOptions()),(X=this._actionMenu)==null||X.setOptions(this.getActionOptions())}handleOptionMenuItemClick(f,v){this._feedType=f,this._titleSection&&this._titleSection.updateSelectedOption(v,this._feedType,this._feedType==="inbox"?this._unreadCount:0),this._onFeedTypeChange(f)}render(f){this._feedType=f.feedType,this._unreadCount=f.unreadCount,this.refreshTitleSection()}refreshTitleSection(){var f,v;const m=this.getFilterOptions().find(T=>["inbox","archive"].includes(T.id)&&T.id===this._feedType);m&&((f=this._titleSection)==null||f.updateSelectedOption(m,this._feedType,this._feedType==="inbox"?this._unreadCount:0),(v=this._filterMenu)==null||v.selectOption(m))}build(f){var v;super.build(f),this._style=document.createElement("style"),this._style.textContent=this.getStyles(),(v=this.shadow)==null||v.appendChild(this._style),this.refreshTheme()}defaultElement(){const f=this.getFilterOptions();this._titleSection=new Sb(this._themeSubscription.manager,f[0]),this._filterMenu=new Vg(this._themeSubscription.manager,"filters",!0,f,()=>{var A;(A=this._actionMenu)==null||A.closeMenu()}),this._actionMenu=new Vg(this._themeSubscription.manager,"actions",!1,this.getActionOptions(),()=>{var A;(A=this._filterMenu)==null||A.closeMenu()}),this._filterMenu.selectOption(f[0]);const v=document.createElement("div");v.className="spacer";const m=document.createElement("div");m.className="actions",m.appendChild(this._filterMenu),m.appendChild(this._actionMenu);const T=document.createElement("div");return T.className="courier-inbox-header",T.appendChild(this._titleSection),T.appendChild(v),T.appendChild(m),T}getStyles(){return`
669
669
  :host {
670
670
  z-index: 100;
671
671
  }
@@ -694,7 +694,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
694
694
  align-items: center;
695
695
  gap: 4px;
696
696
  }
697
- `}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-header")||customElements.define("courier-inbox-header",zb);class Wg{constructor(f){K(this,"events"),this.events=f}remove(){un.shared.removeDataStoreListener(this)}}const Qm={popup:{button:{icon:{color:Z.black[500],svg:we.inbox},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020],unreadIndicator:{font:{color:Z.white[500],size:"14px",family:void 0,weight:void 0},backgroundColor:Z.blue[500],borderRadius:"12px"}},window:{backgroundColor:Z.white[500],borderRadius:"8px",border:`1px solid ${Z.gray[500]}`,shadow:`0px 8px 16px -4px ${Z.gray[500]}`}},inbox:{header:{backgroundColor:Z.white[500],shadow:`0px 1px 0px 0px ${Z.gray[500]}`,filters:{font:{color:Z.black[500],family:void 0,size:"18px"},inbox:{icon:{color:Z.black[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.black[500],svg:we.archive},text:"Archive"},unreadIndicator:{font:{color:Z.white[500],family:void 0,size:"14px"},backgroundColor:Z.blue[500],borderRadius:"12px"}},menus:{popup:{backgroundColor:Z.white[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:`0px 4px 8px -2px ${Z.gray[500]}`,list:{hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],divider:"none",font:{color:Z.black[500],family:void 0,size:"14px"},selectionIcon:{color:Z.black[500],svg:we.check}}},filters:{button:{icon:{color:Z.black[500],svg:we.filter},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020]},inbox:{icon:{color:Z.black[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.black[500],svg:we.archive},text:"Archive"}},actions:{button:{icon:{color:Z.black[500],svg:we.overflow},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020]},markAllRead:{icon:{color:Z.black[500],svg:we.read},text:"Mark All as Read"},archiveAll:{icon:{color:Z.black[500],svg:we.archive},text:"Archive All"},archiveRead:{icon:{color:Z.black[500],svg:we.archiveRead},text:"Archive Read"}}}},list:{backgroundColor:Z.white[500],item:{backgroundColor:"transparent",unreadIndicatorColor:Z.blue[500],hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],actions:{backgroundColor:"transparent",hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.06)",font:{color:Z.black[500],family:void 0,size:"14px"}},title:{color:Z.black[500],family:void 0,size:"14px"},subtitle:{color:Z.gray[600],family:void 0,size:"14px"},time:{color:Z.gray[600],family:void 0,size:"14px"},divider:`1px solid ${Z.gray[200]}`,menu:{enabled:!0,backgroundColor:Z.white[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:`0px 2px 4px -2px ${Z.gray[500]}`,longPress:{displayDuration:4e3,vibrationDuration:50},item:{hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],borderRadius:"0px",read:{color:Z.black[500],svg:we.read},unread:{color:Z.black[500],svg:we.unread},archive:{color:Z.black[500],svg:we.archive},unarchive:{color:Z.black[500],svg:we.unarchive}}}}},loading:{animation:{barColor:Z.gray[500],barHeight:"14px",barBorderRadius:"14px",duration:"2s"},divider:`1px solid ${Z.gray[200]}`},empty:{title:{font:{size:"16px",weight:"500",color:Z.black[500]}},button:{text:"Refresh"}},error:{title:{font:{size:"16px",weight:"500",color:Z.black[500]}},button:{text:"Retry"}}}},Fg={popup:{button:{icon:{color:Z.white[500],svg:we.inbox},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],unreadIndicator:{font:{color:Z.white[500],size:"14px",family:void 0,weight:void 0},backgroundColor:Z.blue[500],borderRadius:"12px"}},window:{backgroundColor:Z.black[500],borderRadius:"8px",border:`1px solid ${Z.gray[400]}`,shadow:`0px 4px 8px -2px ${Z.white[50020]}`}},inbox:{header:{backgroundColor:Z.black[500],shadow:`0px 1px 0px 0px ${Z.gray[400]}`,filters:{font:{color:Z.white[500],family:void 0,size:"18px"},inbox:{icon:{color:Z.white[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.white[500],svg:we.archive},text:"Archive"},unreadIndicator:{font:{color:Z.white[500],family:void 0,size:"14px"},backgroundColor:Z.blue[500],borderRadius:"12px"}},menus:{popup:{backgroundColor:Z.black[500],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 4px 8px -2px ${Z.white[50020]}`,list:{hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],divider:"none",font:{color:Z.white[500],family:void 0,size:"14px"},selectionIcon:{color:Z.white[500],svg:we.check}}},filters:{button:{icon:{color:Z.white[500],svg:we.filter},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020]},inbox:{icon:{color:Z.white[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.white[500],svg:we.archive},text:"Archive"}},actions:{button:{icon:{color:Z.white[500],svg:we.overflow},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020]},markAllRead:{icon:{color:Z.white[500],svg:we.read},text:"Mark All as Read"},archiveAll:{icon:{color:Z.white[500],svg:we.archive},text:"Archive All"},archiveRead:{icon:{color:Z.white[500],svg:we.archiveRead},text:"Archive Read"}}}},list:{backgroundColor:Z.black[500],item:{backgroundColor:"transparent",unreadIndicatorColor:Z.blue[500],hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],actions:{backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 1px 2px 0px ${Z.white[50010]}`,font:{color:Z.white[500],family:void 0,size:"14px"}},title:{color:Z.white[500],family:void 0,size:"14px"},subtitle:{color:Z.gray[500],family:void 0,size:"14px"},time:{color:Z.gray[500],family:void 0,size:"12px"},divider:`1px solid ${Z.gray[400]}`,menu:{enabled:!0,backgroundColor:Z.black[500],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 2px 4px -2px ${Z.white[50020]}`,longPress:{displayDuration:4e3,vibrationDuration:50},item:{hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],borderRadius:"0px",read:{color:Z.white[500],svg:we.read},unread:{color:Z.white[500],svg:we.unread},archive:{color:Z.white[500],svg:we.archive},unarchive:{color:Z.white[500],svg:we.unarchive}}}}},loading:{animation:{barColor:Z.white[500],barHeight:"14px",barBorderRadius:"14px",duration:"2s"},divider:`1px solid ${Z.gray[400]}`},empty:{title:{font:{size:"16px",weight:"500",color:Z.white[500]}},button:{text:"Refresh"}},error:{title:{font:{size:"16px",weight:"500",color:Z.white[500]}},button:{text:"Retry"}}}},p2=(b,f)=>{var p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke,fe,xe,Ye,qe,ze,at,me,_e,Re,Ee,et,Mt,vt,D,W,te,ge,q,pe,ie,ve,He,rt,$e,dl,xt,Gt,Tn,Ul,ti,wl,uu,Jo,Hl,hn,Aa,$u,ou,Ma,su,tl,cu,re,zt,Bt,xn,Ot,ru,Xr,Bd,fu,ta,Xn,Ra,kl,nn,Da,ni,za,li,Qr,Ju,Ku,hl,Ko,Zr,Nd,Zt,ln,En,du,Io,$r,Wo,Jr,ye,Iu,on,ai,Wu,na,$t,Fu,Qn,Oa,Ua,Kr,Fo,ac,Ir,la,Pu,Bl,Po,ic,ii,Cn,wa,ui,uc,mn,eo,oc,Ha,oi,hu,Ld,nl,es,ts,to,si,sc,cc,mu,Wr,ns,no,ci,qd,Fr,lo,ri,ls,pu,vu,Pr,rc,gu,fi,Nl,as,aa,ia,yu,di,fc,sn,is,us,_n,ka,os,ao,ef,dc,ss,io,hi,hc,tf,nf,Yd,mc,Vd,Gd,jd,uo,lf,pc,af,uf,vc,of,ua,mi,ml,Zn,oo,cs,gc,wn,sf,rs,pi,yc,cf,rf,so,co,bc,Ll,Sc,fs,ro,Ba,Na,Tc,vi,ff,ds,hs,pl,vl,xc,ql,Ec,Cc,gi,yi,_c,bu,Ac,ms,La,oa,Mc,Rc,cn,qa,Ya,Et,fo,Dc,ho,bi,Yl,gl,Va,Si,ps,sa,Ti,ll,yl,Vl,df,zc,hf,Oc,vs,mf,Uc,wc,Su,al,Hc,$n,Hn,Ga,Gl;const De=b==="light"?Qm:Fg;return{popup:{button:{...(p=De.popup)==null?void 0:p.button,...(m=f.popup)==null?void 0:m.button,icon:{...(C=(T=De.popup)==null?void 0:T.button)==null?void 0:C.icon,...(j=(w=f.popup)==null?void 0:w.button)==null?void 0:j.icon},unreadIndicator:{...(Y=(M=De.popup)==null?void 0:M.button)==null?void 0:Y.unreadIndicator,...(le=(ee=f.popup)==null?void 0:ee.button)==null?void 0:le.unreadIndicator}},window:{...(V=De.popup)==null?void 0:V.window,...(oe=f.popup)==null?void 0:oe.window}},inbox:{header:{...(se=De.inbox)==null?void 0:se.header,...(ue=f.inbox)==null?void 0:ue.header,filters:{...(de=(ae=De.inbox)==null?void 0:ae.header)==null?void 0:de.filters,...(fe=(ke=f.inbox)==null?void 0:ke.header)==null?void 0:fe.filters,inbox:{...(qe=(Ye=(xe=De.inbox)==null?void 0:xe.header)==null?void 0:Ye.filters)==null?void 0:qe.inbox,...(me=(at=(ze=f.inbox)==null?void 0:ze.header)==null?void 0:at.filters)==null?void 0:me.inbox,icon:{...(et=(Ee=(Re=(_e=De.inbox)==null?void 0:_e.header)==null?void 0:Re.filters)==null?void 0:Ee.inbox)==null?void 0:et.icon,...(W=(D=(vt=(Mt=f.inbox)==null?void 0:Mt.header)==null?void 0:vt.filters)==null?void 0:D.inbox)==null?void 0:W.icon}},archive:{...(q=(ge=(te=De.inbox)==null?void 0:te.header)==null?void 0:ge.filters)==null?void 0:q.archive,...(ve=(ie=(pe=f.inbox)==null?void 0:pe.header)==null?void 0:ie.filters)==null?void 0:ve.archive,icon:{...(dl=($e=(rt=(He=De.inbox)==null?void 0:He.header)==null?void 0:rt.filters)==null?void 0:$e.archive)==null?void 0:dl.icon,...(Ul=(Tn=(Gt=(xt=f.inbox)==null?void 0:xt.header)==null?void 0:Gt.filters)==null?void 0:Tn.archive)==null?void 0:Ul.icon}},unreadIndicator:{...(uu=(wl=(ti=De.inbox)==null?void 0:ti.header)==null?void 0:wl.filters)==null?void 0:uu.unreadIndicator,...(hn=(Hl=(Jo=f.inbox)==null?void 0:Jo.header)==null?void 0:Hl.filters)==null?void 0:hn.unreadIndicator}},menus:{...($u=(Aa=De.inbox)==null?void 0:Aa.header)==null?void 0:$u.menus,...(Ma=(ou=f.inbox)==null?void 0:ou.header)==null?void 0:Ma.menus,popup:{...(cu=(tl=(su=De.inbox)==null?void 0:su.header)==null?void 0:tl.menus)==null?void 0:cu.popup,...(Bt=(zt=(re=f.inbox)==null?void 0:re.header)==null?void 0:zt.menus)==null?void 0:Bt.popup,list:{...(Xr=(ru=(Ot=(xn=De.inbox)==null?void 0:xn.header)==null?void 0:Ot.menus)==null?void 0:ru.popup)==null?void 0:Xr.list,...(Xn=(ta=(fu=(Bd=f.inbox)==null?void 0:Bd.header)==null?void 0:fu.menus)==null?void 0:ta.popup)==null?void 0:Xn.list,font:{...(ni=(Da=(nn=(kl=(Ra=De.inbox)==null?void 0:Ra.header)==null?void 0:kl.menus)==null?void 0:nn.popup)==null?void 0:Da.list)==null?void 0:ni.font,...(Ku=(Ju=(Qr=(li=(za=f.inbox)==null?void 0:za.header)==null?void 0:li.menus)==null?void 0:Qr.popup)==null?void 0:Ju.list)==null?void 0:Ku.font},selectionIcon:{...(Zt=(Nd=(Zr=(Ko=(hl=De.inbox)==null?void 0:hl.header)==null?void 0:Ko.menus)==null?void 0:Zr.popup)==null?void 0:Nd.list)==null?void 0:Zt.selectionIcon,...($r=(Io=(du=(En=(ln=f.inbox)==null?void 0:ln.header)==null?void 0:En.menus)==null?void 0:du.popup)==null?void 0:Io.list)==null?void 0:$r.selectionIcon}}},filters:{...(ye=(Jr=(Wo=De.inbox)==null?void 0:Wo.header)==null?void 0:Jr.menus)==null?void 0:ye.filters,...(ai=(on=(Iu=f.inbox)==null?void 0:Iu.header)==null?void 0:on.menus)==null?void 0:ai.filters,inbox:{...(Fu=($t=(na=(Wu=De.inbox)==null?void 0:Wu.header)==null?void 0:na.menus)==null?void 0:$t.filters)==null?void 0:Fu.inbox,...(Kr=(Ua=(Oa=(Qn=f.inbox)==null?void 0:Qn.header)==null?void 0:Oa.menus)==null?void 0:Ua.filters)==null?void 0:Kr.inbox,icon:{...(Pu=(la=(Ir=(ac=(Fo=De.inbox)==null?void 0:Fo.header)==null?void 0:ac.menus)==null?void 0:Ir.filters)==null?void 0:la.inbox)==null?void 0:Pu.icon,...(Cn=(ii=(ic=(Po=(Bl=f.inbox)==null?void 0:Bl.header)==null?void 0:Po.menus)==null?void 0:ic.filters)==null?void 0:ii.inbox)==null?void 0:Cn.icon}},archive:{...(mn=(uc=(ui=(wa=De.inbox)==null?void 0:wa.header)==null?void 0:ui.menus)==null?void 0:uc.filters)==null?void 0:mn.archive,...(oi=(Ha=(oc=(eo=f.inbox)==null?void 0:eo.header)==null?void 0:oc.menus)==null?void 0:Ha.filters)==null?void 0:oi.archive,icon:{...(ts=(es=(nl=(Ld=(hu=De.inbox)==null?void 0:hu.header)==null?void 0:Ld.menus)==null?void 0:nl.filters)==null?void 0:es.archive)==null?void 0:ts.icon,...(mu=(cc=(sc=(si=(to=f.inbox)==null?void 0:to.header)==null?void 0:si.menus)==null?void 0:sc.filters)==null?void 0:cc.archive)==null?void 0:mu.icon}}},actions:{...(no=(ns=(Wr=De.inbox)==null?void 0:Wr.header)==null?void 0:ns.menus)==null?void 0:no.actions,...(Fr=(qd=(ci=f.inbox)==null?void 0:ci.header)==null?void 0:qd.menus)==null?void 0:Fr.actions,markAllRead:{...(pu=(ls=(ri=(lo=De.inbox)==null?void 0:lo.header)==null?void 0:ri.menus)==null?void 0:ls.actions)==null?void 0:pu.markAllRead,...(gu=(rc=(Pr=(vu=f.inbox)==null?void 0:vu.header)==null?void 0:Pr.menus)==null?void 0:rc.actions)==null?void 0:gu.markAllRead,icon:{...(ia=(aa=(as=(Nl=(fi=De.inbox)==null?void 0:fi.header)==null?void 0:Nl.menus)==null?void 0:as.actions)==null?void 0:aa.markAllRead)==null?void 0:ia.icon,...(is=(sn=(fc=(di=(yu=f.inbox)==null?void 0:yu.header)==null?void 0:di.menus)==null?void 0:fc.actions)==null?void 0:sn.markAllRead)==null?void 0:is.icon}},archiveAll:{...(os=(ka=(_n=(us=De.inbox)==null?void 0:us.header)==null?void 0:_n.menus)==null?void 0:ka.actions)==null?void 0:os.archiveAll,...(ss=(dc=(ef=(ao=f.inbox)==null?void 0:ao.header)==null?void 0:ef.menus)==null?void 0:dc.actions)==null?void 0:ss.archiveAll,icon:{...(nf=(tf=(hc=(hi=(io=De.inbox)==null?void 0:io.header)==null?void 0:hi.menus)==null?void 0:hc.actions)==null?void 0:tf.archiveAll)==null?void 0:nf.icon,...(jd=(Gd=(Vd=(mc=(Yd=f.inbox)==null?void 0:Yd.header)==null?void 0:mc.menus)==null?void 0:Vd.actions)==null?void 0:Gd.archiveAll)==null?void 0:jd.icon}},archiveRead:{...(af=(pc=(lf=(uo=De.inbox)==null?void 0:uo.header)==null?void 0:lf.menus)==null?void 0:pc.actions)==null?void 0:af.archiveRead,...(ua=(of=(vc=(uf=f.inbox)==null?void 0:uf.header)==null?void 0:vc.menus)==null?void 0:of.actions)==null?void 0:ua.archiveRead,icon:{...(cs=(oo=(Zn=(ml=(mi=De.inbox)==null?void 0:mi.header)==null?void 0:ml.menus)==null?void 0:Zn.actions)==null?void 0:oo.archiveRead)==null?void 0:cs.icon,...(pi=(rs=(sf=(wn=(gc=f.inbox)==null?void 0:gc.header)==null?void 0:wn.menus)==null?void 0:sf.actions)==null?void 0:rs.archiveRead)==null?void 0:pi.icon}}}}},list:{...(yc=De.inbox)==null?void 0:yc.list,...(cf=f.inbox)==null?void 0:cf.list,item:{...(so=(rf=De.inbox)==null?void 0:rf.list)==null?void 0:so.item,...(bc=(co=f.inbox)==null?void 0:co.list)==null?void 0:bc.item,menu:{...(fs=(Sc=(Ll=De.inbox)==null?void 0:Ll.list)==null?void 0:Sc.item)==null?void 0:fs.menu,...(Na=(Ba=(ro=f.inbox)==null?void 0:ro.list)==null?void 0:Ba.item)==null?void 0:Na.menu,item:{...(ds=(ff=(vi=(Tc=De.inbox)==null?void 0:Tc.list)==null?void 0:vi.item)==null?void 0:ff.menu)==null?void 0:ds.item,...(xc=(vl=(pl=(hs=f.inbox)==null?void 0:hs.list)==null?void 0:pl.item)==null?void 0:vl.menu)==null?void 0:xc.item,read:{...(yi=(gi=(Cc=(Ec=(ql=De.inbox)==null?void 0:ql.list)==null?void 0:Ec.item)==null?void 0:Cc.menu)==null?void 0:gi.item)==null?void 0:yi.read,...(La=(ms=(Ac=(bu=(_c=f.inbox)==null?void 0:_c.list)==null?void 0:bu.item)==null?void 0:Ac.menu)==null?void 0:ms.item)==null?void 0:La.read},unread:{...(qa=(cn=(Rc=(Mc=(oa=De.inbox)==null?void 0:oa.list)==null?void 0:Mc.item)==null?void 0:Rc.menu)==null?void 0:cn.item)==null?void 0:qa.unread,...(ho=(Dc=(fo=(Et=(Ya=f.inbox)==null?void 0:Ya.list)==null?void 0:Et.item)==null?void 0:fo.menu)==null?void 0:Dc.item)==null?void 0:ho.unread},archive:{...(Si=(Va=(gl=(Yl=(bi=De.inbox)==null?void 0:bi.list)==null?void 0:Yl.item)==null?void 0:gl.menu)==null?void 0:Va.item)==null?void 0:Si.archive,...(yl=(ll=(Ti=(sa=(ps=f.inbox)==null?void 0:ps.list)==null?void 0:sa.item)==null?void 0:Ti.menu)==null?void 0:ll.item)==null?void 0:yl.archive},unarchive:{...(Oc=(hf=(zc=(df=(Vl=De.inbox)==null?void 0:Vl.list)==null?void 0:df.item)==null?void 0:zc.menu)==null?void 0:hf.item)==null?void 0:Oc.unarchive,...(Su=(wc=(Uc=(mf=(vs=f.inbox)==null?void 0:vs.list)==null?void 0:mf.item)==null?void 0:Uc.menu)==null?void 0:wc.item)==null?void 0:Su.unarchive}}}}},loading:{...(al=De.inbox)==null?void 0:al.loading,...(Hc=f.inbox)==null?void 0:Hc.loading},empty:{...($n=De.inbox)==null?void 0:$n.empty,...(Hn=f.inbox)==null?void 0:Hn.empty},error:{...(Ga=De.inbox)==null?void 0:Ga.error,...(Gl=f.inbox)==null?void 0:Gl.error}}}};class Ob{constructor(f){K(this,"THEME_CHANGE_EVENT","courier_inbox_theme_change"),K(this,"_theme"),K(this,"_lightTheme",Qm),K(this,"_darkTheme",Fg),K(this,"_target"),K(this,"_subscriptions",[]),K(this,"_userMode"),K(this,"_systemMode"),K(this,"_systemThemeCleanup"),this._theme=f,this._target=new EventTarget,this._userMode="system",this._systemMode=bb(),this.setLightTheme(Qm),this.setDarkTheme(Fg),this._systemThemeCleanup=Sb(p=>{this._systemMode=p,this.updateTheme()})}setLightTheme(f){this._lightTheme=f,this._systemMode==="light"&&this.updateTheme()}setDarkTheme(f){this._darkTheme=f,this._systemMode==="dark"&&this.updateTheme()}get currentSystemTheme(){return this._systemMode}getTheme(){return this._theme}updateTheme(){const f=this._userMode==="system"?this._systemMode:this._userMode,p=f==="light"?this._lightTheme:this._darkTheme,m=p2(f,p);this.setTheme(m)}setTheme(f){f!==this._theme&&(this._theme=f,this._target.dispatchEvent(new CustomEvent(this.THEME_CHANGE_EVENT,{detail:{theme:f}})))}setMode(f){this._userMode=f,this.updateTheme()}subscribe(f){const p=new AbortController;this._target.addEventListener(this.THEME_CHANGE_EVENT,T=>{f(T.detail.theme)},{signal:p.signal});const m={manager:this,unsubscribe:()=>{p.abort();const T=this._subscriptions.indexOf(m);T>-1&&this._subscriptions.splice(T,1)}};return this._subscriptions.push(m),m}cleanup(){this._systemThemeCleanup&&this._systemThemeCleanup(),this._subscriptions.forEach(f=>f.unsubscribe()),this._subscriptions=[]}}class Ub extends HTMLElement{constructor(f){var p;super(),K(this,"_currentFeed","inbox"),K(this,"_themeManager"),K(this,"_shadow"),K(this,"_list"),K(this,"_datastoreListener"),K(this,"_authListener"),K(this,"_style"),K(this,"_header"),K(this,"_headerFactory"),K(this,"_onMessageClick"),K(this,"_onMessageActionClick"),K(this,"_onMessageLongPress"),K(this,"_defaultProps",{title:"Inbox",icon:we.inbox,feedType:this._currentFeed,height:"768px"}),this._shadow=this.attachShadow({mode:"open"}),this._themeManager=f??new Ob(Qm),this._header=new zb({themeManager:this._themeManager,onFeedTypeChange:m=>{this.setFeedType(m)}}),this._header.build(void 0),this._shadow.appendChild(this._header),this._list=new Mb({themeManager:this._themeManager,onRefresh:()=>{this.refresh()},onPaginationTrigger:async m=>{var T,C;try{await un.shared.fetchNextPageOfMessages({feedType:m})}catch(w){(C=(T=Le.shared.client)==null?void 0:T.options.logger)==null||C.error("Failed to fetch next page of messages:",w)}},onMessageClick:(m,T)=>{var C;un.shared.clickMessage({message:m}),this.dispatchEvent(new CustomEvent("message-click",{detail:{message:m,index:T},bubbles:!0,composed:!0})),(C=this._onMessageClick)==null||C.call(this,{message:m,index:T})},onMessageActionClick:(m,T,C)=>{var w;this.dispatchEvent(new CustomEvent("message-action-click",{detail:{message:m,action:T,index:C},bubbles:!0,composed:!0})),(w=this._onMessageActionClick)==null||w.call(this,{message:m,action:T,index:C})},onMessageLongPress:(m,T)=>{var C;this.dispatchEvent(new CustomEvent("message-long-press",{detail:{message:m,index:T},bubbles:!0,composed:!0})),(C=this._onMessageLongPress)==null||C.call(this,{message:m,index:T})}}),this._style=document.createElement("style"),this.refreshTheme(),this._shadow.appendChild(this._style),this._shadow.appendChild(this._list),this._datastoreListener=new Wg({onError:m=>{this._list.setError(m)},onDataSetChange:(m,T)=>{this._currentFeed===T&&(this._list.setDataSet(m),this.updateHeader())},onPageAdded:(m,T)=>{this._currentFeed===T&&(this._list.addPage(m),this.updateHeader())},onMessageAdd:(m,T,C)=>{this._currentFeed===C&&(this._list.addMessage(m,T),this.updateHeader())},onMessageRemove:(m,T,C)=>{this._currentFeed===C&&(this._list.removeMessage(T),this.updateHeader())},onMessageUpdate:(m,T,C)=>{this._currentFeed===C&&(this._list.updateMessage(m,T),this.updateHeader())},onUnreadCountChange:m=>{this.updateHeader()}}),un.shared.addDataStoreListener(this._datastoreListener),this._themeManager.subscribe(m=>{this.refreshTheme()}),this._authListener=Le.shared.addAuthenticationListener(m=>{this.refresh()}),(p=Le.shared.client)!=null&&p.options.userId&&this.refresh()}get theme(){return this._themeManager.getTheme()}setLightTheme(f){this._themeManager.setLightTheme(f)}setDarkTheme(f){this._themeManager.setDarkTheme(f)}static get observedAttributes(){return["height","light-theme","dark-theme","mode","message-click","message-action-click","message-long-press"]}refreshTheme(){this._style.textContent=this.getStyles()}getStyles(){return`
697
+ `}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-header")||customElements.define("courier-inbox-header",Tb);class Xg{constructor(f){K(this,"events"),this.events=f}remove(){al.shared.removeDataStoreListener(this)}}const Ym={popup:{button:{icon:{color:Z.black[500],svg:we.inbox},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020],unreadIndicator:{font:{color:Z.white[500],size:"14px",family:void 0,weight:void 0},backgroundColor:Z.blue[500],borderRadius:"12px"}},window:{backgroundColor:Z.white[500],borderRadius:"8px",border:`1px solid ${Z.gray[500]}`,shadow:`0px 8px 16px -4px ${Z.gray[500]}`}},inbox:{header:{backgroundColor:Z.white[500],shadow:`0px 1px 0px 0px ${Z.gray[500]}`,filters:{font:{color:Z.black[500],family:void 0,size:"18px"},inbox:{icon:{color:Z.black[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.black[500],svg:we.archive},text:"Archive"},unreadIndicator:{font:{color:Z.white[500],family:void 0,size:"14px"},backgroundColor:Z.blue[500],borderRadius:"12px"}},menus:{popup:{backgroundColor:Z.white[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:`0px 4px 8px -2px ${Z.gray[500]}`,list:{hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],divider:"none",font:{color:Z.black[500],family:void 0,size:"14px"},selectionIcon:{color:Z.black[500],svg:we.check}}},filters:{button:{icon:{color:Z.black[500],svg:we.filter},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020]},inbox:{icon:{color:Z.black[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.black[500],svg:we.archive},text:"Archive"}},actions:{button:{icon:{color:Z.black[500],svg:we.overflow},backgroundColor:"transparent",hoverBackgroundColor:Z.black[50010],activeBackgroundColor:Z.black[50020]},markAllRead:{icon:{color:Z.black[500],svg:we.read},text:"Mark All as Read"},archiveAll:{icon:{color:Z.black[500],svg:we.archive},text:"Archive All"},archiveRead:{icon:{color:Z.black[500],svg:we.archiveRead},text:"Archive Read"}}}},list:{backgroundColor:Z.white[500],item:{backgroundColor:"transparent",unreadIndicatorColor:Z.blue[500],hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],actions:{backgroundColor:"transparent",hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.06)",font:{color:Z.black[500],family:void 0,size:"14px"}},title:{color:Z.black[500],family:void 0,size:"14px"},subtitle:{color:Z.gray[600],family:void 0,size:"14px"},time:{color:Z.gray[600],family:void 0,size:"14px"},divider:`1px solid ${Z.gray[200]}`,menu:{enabled:!0,backgroundColor:Z.white[500],border:`1px solid ${Z.gray[500]}`,borderRadius:"4px",shadow:`0px 2px 4px -2px ${Z.gray[500]}`,longPress:{displayDuration:4e3,vibrationDuration:50},item:{hoverBackgroundColor:Z.gray[200],activeBackgroundColor:Z.gray[500],borderRadius:"0px",read:{color:Z.black[500],svg:we.read},unread:{color:Z.black[500],svg:we.unread},archive:{color:Z.black[500],svg:we.archive},unarchive:{color:Z.black[500],svg:we.unarchive}}}}},loading:{animation:{barColor:Z.gray[500],barHeight:"14px",barBorderRadius:"14px",duration:"2s"},divider:`1px solid ${Z.gray[200]}`},empty:{title:{font:{size:"16px",weight:"500",color:Z.black[500]}},button:{text:"Refresh"}},error:{title:{font:{size:"16px",weight:"500",color:Z.black[500]}},button:{text:"Retry"}}}},jg={popup:{button:{icon:{color:Z.white[500],svg:we.inbox},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],unreadIndicator:{font:{color:Z.white[500],size:"14px",family:void 0,weight:void 0},backgroundColor:Z.blue[500],borderRadius:"12px"}},window:{backgroundColor:Z.black[500],borderRadius:"8px",border:`1px solid ${Z.gray[400]}`,shadow:`0px 4px 8px -2px ${Z.white[50020]}`}},inbox:{header:{backgroundColor:Z.black[500],shadow:`0px 1px 0px 0px ${Z.gray[400]}`,filters:{font:{color:Z.white[500],family:void 0,size:"18px"},inbox:{icon:{color:Z.white[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.white[500],svg:we.archive},text:"Archive"},unreadIndicator:{font:{color:Z.white[500],family:void 0,size:"14px"},backgroundColor:Z.blue[500],borderRadius:"12px"}},menus:{popup:{backgroundColor:Z.black[500],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 4px 8px -2px ${Z.white[50020]}`,list:{hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],divider:"none",font:{color:Z.white[500],family:void 0,size:"14px"},selectionIcon:{color:Z.white[500],svg:we.check}}},filters:{button:{icon:{color:Z.white[500],svg:we.filter},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020]},inbox:{icon:{color:Z.white[500],svg:we.inbox},text:"Inbox"},archive:{icon:{color:Z.white[500],svg:we.archive},text:"Archive"}},actions:{button:{icon:{color:Z.white[500],svg:we.overflow},backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020]},markAllRead:{icon:{color:Z.white[500],svg:we.read},text:"Mark All as Read"},archiveAll:{icon:{color:Z.white[500],svg:we.archive},text:"Archive All"},archiveRead:{icon:{color:Z.white[500],svg:we.archiveRead},text:"Archive Read"}}}},list:{backgroundColor:Z.black[500],item:{backgroundColor:"transparent",unreadIndicatorColor:Z.blue[500],hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],actions:{backgroundColor:"transparent",hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 1px 2px 0px ${Z.white[50010]}`,font:{color:Z.white[500],family:void 0,size:"14px"}},title:{color:Z.white[500],family:void 0,size:"14px"},subtitle:{color:Z.gray[500],family:void 0,size:"14px"},time:{color:Z.gray[500],family:void 0,size:"12px"},divider:`1px solid ${Z.gray[400]}`,menu:{enabled:!0,backgroundColor:Z.black[500],border:`1px solid ${Z.gray[400]}`,borderRadius:"4px",shadow:`0px 2px 4px -2px ${Z.white[50020]}`,longPress:{displayDuration:4e3,vibrationDuration:50},item:{hoverBackgroundColor:Z.white[50010],activeBackgroundColor:Z.white[50020],borderRadius:"0px",read:{color:Z.white[500],svg:we.read},unread:{color:Z.white[500],svg:we.unread},archive:{color:Z.white[500],svg:we.archive},unarchive:{color:Z.white[500],svg:we.unarchive}}}}},loading:{animation:{barColor:Z.white[500],barHeight:"14px",barBorderRadius:"14px",duration:"2s"},divider:`1px solid ${Z.gray[400]}`},empty:{title:{font:{size:"16px",weight:"500",color:Z.white[500]}},button:{text:"Refresh"}},error:{title:{font:{size:"16px",weight:"500",color:Z.white[500]}},button:{text:"Retry"}}}},e2=(x,f)=>{var v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke,fe,xe,Ye,qe,Oe,at,me,Ce,Re,Ee,et,Mt,vt,D,I,te,ge,q,pe,ie,ve,Be,rt,$e,fn,xt,Vt,bl,On,ei,Un,au,Qo,Hn,fl,Ca,Qu,iu,Aa,uu,Pl,ou,re,zt,Bt,Sl,Ot,cu,qr,Od,su,ea,Gl,Ma,wn,tl,Ra,ti,Da,li,Yr,Zu,$u,dn,Zo,Vr,Ud,Qt,ll,Tl,ru,$o,Gr,Jo,Xr,ye,Ju,il,ni,Ku,ta,Zt,Wu,Xl,za,Oa,jr,Ko,ts,Qr,la,Iu,Bn,Wo,ls,ai,xl,Ua,ii,ns,dl,Fu,as,Ha,ui,fu,Hd,en,Io,Fo,Pu,oi,is,us,du,Zr,Po,eo,ci,wd,$r,to,si,ec,hu,mu,Jr,os,pu,ri,kn,tc,na,aa,vu,fi,cs,ul,lc,nc,El,wa,ac,lo,Kr,ss,ic,no,di,rs,Wr,Ir,Bd,fs,kd,Nd,Ld,ao,Fr,ds,Pr,ef,hs,tf,ia,hi,hn,jl,io,uc,ms,Ol,lf,oc,mi,ps,nf,af,uo,oo,vs,Nn,gs,cc,co,Ba,ka,ys,pi,uf,sc,rc,mn,pn,bs,Ln,Ss,Ts,vi,gi,xs,gu,Es,fc,Na,ua,_s,Cs,ol,La,qa,Et,so,As,ro,yi,qn,vn,Ya,bi,dc,oa,Si,tn,gn,Yn,of,Ms,cf,Rs,hc,sf,Ds,zs,yu,ln,Os,Ql,Ul,Va,Vn;const ze=x==="light"?Ym:jg;return{popup:{button:{...(v=ze.popup)==null?void 0:v.button,...(m=f.popup)==null?void 0:m.button,icon:{...(A=(T=ze.popup)==null?void 0:T.button)==null?void 0:A.icon,...(X=(w=f.popup)==null?void 0:w.button)==null?void 0:X.icon},unreadIndicator:{...(Y=(M=ze.popup)==null?void 0:M.button)==null?void 0:Y.unreadIndicator,...(ne=(ee=f.popup)==null?void 0:ee.button)==null?void 0:ne.unreadIndicator}},window:{...(V=ze.popup)==null?void 0:V.window,...(oe=f.popup)==null?void 0:oe.window}},inbox:{header:{...(ce=ze.inbox)==null?void 0:ce.header,...(ue=f.inbox)==null?void 0:ue.header,filters:{...(de=(ae=ze.inbox)==null?void 0:ae.header)==null?void 0:de.filters,...(fe=(ke=f.inbox)==null?void 0:ke.header)==null?void 0:fe.filters,inbox:{...(qe=(Ye=(xe=ze.inbox)==null?void 0:xe.header)==null?void 0:Ye.filters)==null?void 0:qe.inbox,...(me=(at=(Oe=f.inbox)==null?void 0:Oe.header)==null?void 0:at.filters)==null?void 0:me.inbox,icon:{...(et=(Ee=(Re=(Ce=ze.inbox)==null?void 0:Ce.header)==null?void 0:Re.filters)==null?void 0:Ee.inbox)==null?void 0:et.icon,...(I=(D=(vt=(Mt=f.inbox)==null?void 0:Mt.header)==null?void 0:vt.filters)==null?void 0:D.inbox)==null?void 0:I.icon}},archive:{...(q=(ge=(te=ze.inbox)==null?void 0:te.header)==null?void 0:ge.filters)==null?void 0:q.archive,...(ve=(ie=(pe=f.inbox)==null?void 0:pe.header)==null?void 0:ie.filters)==null?void 0:ve.archive,icon:{...(fn=($e=(rt=(Be=ze.inbox)==null?void 0:Be.header)==null?void 0:rt.filters)==null?void 0:$e.archive)==null?void 0:fn.icon,...(On=(bl=(Vt=(xt=f.inbox)==null?void 0:xt.header)==null?void 0:Vt.filters)==null?void 0:bl.archive)==null?void 0:On.icon}},unreadIndicator:{...(au=(Un=(ei=ze.inbox)==null?void 0:ei.header)==null?void 0:Un.filters)==null?void 0:au.unreadIndicator,...(fl=(Hn=(Qo=f.inbox)==null?void 0:Qo.header)==null?void 0:Hn.filters)==null?void 0:fl.unreadIndicator}},menus:{...(Qu=(Ca=ze.inbox)==null?void 0:Ca.header)==null?void 0:Qu.menus,...(Aa=(iu=f.inbox)==null?void 0:iu.header)==null?void 0:Aa.menus,popup:{...(ou=(Pl=(uu=ze.inbox)==null?void 0:uu.header)==null?void 0:Pl.menus)==null?void 0:ou.popup,...(Bt=(zt=(re=f.inbox)==null?void 0:re.header)==null?void 0:zt.menus)==null?void 0:Bt.popup,list:{...(qr=(cu=(Ot=(Sl=ze.inbox)==null?void 0:Sl.header)==null?void 0:Ot.menus)==null?void 0:cu.popup)==null?void 0:qr.list,...(Gl=(ea=(su=(Od=f.inbox)==null?void 0:Od.header)==null?void 0:su.menus)==null?void 0:ea.popup)==null?void 0:Gl.list,font:{...(ti=(Ra=(tl=(wn=(Ma=ze.inbox)==null?void 0:Ma.header)==null?void 0:wn.menus)==null?void 0:tl.popup)==null?void 0:Ra.list)==null?void 0:ti.font,...($u=(Zu=(Yr=(li=(Da=f.inbox)==null?void 0:Da.header)==null?void 0:li.menus)==null?void 0:Yr.popup)==null?void 0:Zu.list)==null?void 0:$u.font},selectionIcon:{...(Qt=(Ud=(Vr=(Zo=(dn=ze.inbox)==null?void 0:dn.header)==null?void 0:Zo.menus)==null?void 0:Vr.popup)==null?void 0:Ud.list)==null?void 0:Qt.selectionIcon,...(Gr=($o=(ru=(Tl=(ll=f.inbox)==null?void 0:ll.header)==null?void 0:Tl.menus)==null?void 0:ru.popup)==null?void 0:$o.list)==null?void 0:Gr.selectionIcon}}},filters:{...(ye=(Xr=(Jo=ze.inbox)==null?void 0:Jo.header)==null?void 0:Xr.menus)==null?void 0:ye.filters,...(ni=(il=(Ju=f.inbox)==null?void 0:Ju.header)==null?void 0:il.menus)==null?void 0:ni.filters,inbox:{...(Wu=(Zt=(ta=(Ku=ze.inbox)==null?void 0:Ku.header)==null?void 0:ta.menus)==null?void 0:Zt.filters)==null?void 0:Wu.inbox,...(jr=(Oa=(za=(Xl=f.inbox)==null?void 0:Xl.header)==null?void 0:za.menus)==null?void 0:Oa.filters)==null?void 0:jr.inbox,icon:{...(Iu=(la=(Qr=(ts=(Ko=ze.inbox)==null?void 0:Ko.header)==null?void 0:ts.menus)==null?void 0:Qr.filters)==null?void 0:la.inbox)==null?void 0:Iu.icon,...(xl=(ai=(ls=(Wo=(Bn=f.inbox)==null?void 0:Bn.header)==null?void 0:Wo.menus)==null?void 0:ls.filters)==null?void 0:ai.inbox)==null?void 0:xl.icon}},archive:{...(dl=(ns=(ii=(Ua=ze.inbox)==null?void 0:Ua.header)==null?void 0:ii.menus)==null?void 0:ns.filters)==null?void 0:dl.archive,...(ui=(Ha=(as=(Fu=f.inbox)==null?void 0:Fu.header)==null?void 0:as.menus)==null?void 0:Ha.filters)==null?void 0:ui.archive,icon:{...(Fo=(Io=(en=(Hd=(fu=ze.inbox)==null?void 0:fu.header)==null?void 0:Hd.menus)==null?void 0:en.filters)==null?void 0:Io.archive)==null?void 0:Fo.icon,...(du=(us=(is=(oi=(Pu=f.inbox)==null?void 0:Pu.header)==null?void 0:oi.menus)==null?void 0:is.filters)==null?void 0:us.archive)==null?void 0:du.icon}}},actions:{...(eo=(Po=(Zr=ze.inbox)==null?void 0:Zr.header)==null?void 0:Po.menus)==null?void 0:eo.actions,...($r=(wd=(ci=f.inbox)==null?void 0:ci.header)==null?void 0:wd.menus)==null?void 0:$r.actions,markAllRead:{...(hu=(ec=(si=(to=ze.inbox)==null?void 0:to.header)==null?void 0:si.menus)==null?void 0:ec.actions)==null?void 0:hu.markAllRead,...(pu=(os=(Jr=(mu=f.inbox)==null?void 0:mu.header)==null?void 0:Jr.menus)==null?void 0:os.actions)==null?void 0:pu.markAllRead,icon:{...(aa=(na=(tc=(kn=(ri=ze.inbox)==null?void 0:ri.header)==null?void 0:kn.menus)==null?void 0:tc.actions)==null?void 0:na.markAllRead)==null?void 0:aa.icon,...(lc=(ul=(cs=(fi=(vu=f.inbox)==null?void 0:vu.header)==null?void 0:fi.menus)==null?void 0:cs.actions)==null?void 0:ul.markAllRead)==null?void 0:lc.icon}},archiveAll:{...(ac=(wa=(El=(nc=ze.inbox)==null?void 0:nc.header)==null?void 0:El.menus)==null?void 0:wa.actions)==null?void 0:ac.archiveAll,...(ic=(ss=(Kr=(lo=f.inbox)==null?void 0:lo.header)==null?void 0:Kr.menus)==null?void 0:ss.actions)==null?void 0:ic.archiveAll,icon:{...(Ir=(Wr=(rs=(di=(no=ze.inbox)==null?void 0:no.header)==null?void 0:di.menus)==null?void 0:rs.actions)==null?void 0:Wr.archiveAll)==null?void 0:Ir.icon,...(Ld=(Nd=(kd=(fs=(Bd=f.inbox)==null?void 0:Bd.header)==null?void 0:fs.menus)==null?void 0:kd.actions)==null?void 0:Nd.archiveAll)==null?void 0:Ld.icon}},archiveRead:{...(Pr=(ds=(Fr=(ao=ze.inbox)==null?void 0:ao.header)==null?void 0:Fr.menus)==null?void 0:ds.actions)==null?void 0:Pr.archiveRead,...(ia=(tf=(hs=(ef=f.inbox)==null?void 0:ef.header)==null?void 0:hs.menus)==null?void 0:tf.actions)==null?void 0:ia.archiveRead,icon:{...(uc=(io=(jl=(hn=(hi=ze.inbox)==null?void 0:hi.header)==null?void 0:hn.menus)==null?void 0:jl.actions)==null?void 0:io.archiveRead)==null?void 0:uc.icon,...(mi=(oc=(lf=(Ol=(ms=f.inbox)==null?void 0:ms.header)==null?void 0:Ol.menus)==null?void 0:lf.actions)==null?void 0:oc.archiveRead)==null?void 0:mi.icon}}}}},list:{...(ps=ze.inbox)==null?void 0:ps.list,...(nf=f.inbox)==null?void 0:nf.list,item:{...(uo=(af=ze.inbox)==null?void 0:af.list)==null?void 0:uo.item,...(vs=(oo=f.inbox)==null?void 0:oo.list)==null?void 0:vs.item,menu:{...(cc=(gs=(Nn=ze.inbox)==null?void 0:Nn.list)==null?void 0:gs.item)==null?void 0:cc.menu,...(ka=(Ba=(co=f.inbox)==null?void 0:co.list)==null?void 0:Ba.item)==null?void 0:ka.menu,item:{...(sc=(uf=(pi=(ys=ze.inbox)==null?void 0:ys.list)==null?void 0:pi.item)==null?void 0:uf.menu)==null?void 0:sc.item,...(bs=(pn=(mn=(rc=f.inbox)==null?void 0:rc.list)==null?void 0:mn.item)==null?void 0:pn.menu)==null?void 0:bs.item,read:{...(gi=(vi=(Ts=(Ss=(Ln=ze.inbox)==null?void 0:Ln.list)==null?void 0:Ss.item)==null?void 0:Ts.menu)==null?void 0:vi.item)==null?void 0:gi.read,...(Na=(fc=(Es=(gu=(xs=f.inbox)==null?void 0:xs.list)==null?void 0:gu.item)==null?void 0:Es.menu)==null?void 0:fc.item)==null?void 0:Na.read},unread:{...(La=(ol=(Cs=(_s=(ua=ze.inbox)==null?void 0:ua.list)==null?void 0:_s.item)==null?void 0:Cs.menu)==null?void 0:ol.item)==null?void 0:La.unread,...(ro=(As=(so=(Et=(qa=f.inbox)==null?void 0:qa.list)==null?void 0:Et.item)==null?void 0:so.menu)==null?void 0:As.item)==null?void 0:ro.unread},archive:{...(bi=(Ya=(vn=(qn=(yi=ze.inbox)==null?void 0:yi.list)==null?void 0:qn.item)==null?void 0:vn.menu)==null?void 0:Ya.item)==null?void 0:bi.archive,...(gn=(tn=(Si=(oa=(dc=f.inbox)==null?void 0:dc.list)==null?void 0:oa.item)==null?void 0:Si.menu)==null?void 0:tn.item)==null?void 0:gn.archive},unarchive:{...(Rs=(cf=(Ms=(of=(Yn=ze.inbox)==null?void 0:Yn.list)==null?void 0:of.item)==null?void 0:Ms.menu)==null?void 0:cf.item)==null?void 0:Rs.unarchive,...(yu=(zs=(Ds=(sf=(hc=f.inbox)==null?void 0:hc.list)==null?void 0:sf.item)==null?void 0:Ds.menu)==null?void 0:zs.item)==null?void 0:yu.unarchive}}}}},loading:{...(ln=ze.inbox)==null?void 0:ln.loading,...(Os=f.inbox)==null?void 0:Os.loading},empty:{...(Ql=ze.inbox)==null?void 0:Ql.empty,...(Ul=f.inbox)==null?void 0:Ul.empty},error:{...(Va=ze.inbox)==null?void 0:Va.error,...(Vn=f.inbox)==null?void 0:Vn.error}}}};class xb{constructor(f){K(this,"THEME_CHANGE_EVENT","courier_inbox_theme_change"),K(this,"_theme"),K(this,"_lightTheme",Ym),K(this,"_darkTheme",jg),K(this,"_target"),K(this,"_subscriptions",[]),K(this,"_userMode"),K(this,"_systemMode"),K(this,"_systemThemeCleanup"),this._theme=f,this._target=new EventTarget,this._userMode="system",this._systemMode=rb(),this.setLightTheme(Ym),this.setDarkTheme(jg),this._systemThemeCleanup=fb(v=>{this._systemMode=v,this.updateTheme()})}setLightTheme(f){this._lightTheme=f,this._systemMode==="light"&&this.updateTheme()}setDarkTheme(f){this._darkTheme=f,this._systemMode==="dark"&&this.updateTheme()}get currentSystemTheme(){return this._systemMode}getTheme(){return this._theme}updateTheme(){const f=this._userMode==="system"?this._systemMode:this._userMode,v=f==="light"?this._lightTheme:this._darkTheme,m=e2(f,v);this.setTheme(m)}setTheme(f){f!==this._theme&&(this._theme=f,this._target.dispatchEvent(new CustomEvent(this.THEME_CHANGE_EVENT,{detail:{theme:f}})))}setMode(f){this._userMode=f,this.updateTheme()}subscribe(f){const v=new AbortController;this._target.addEventListener(this.THEME_CHANGE_EVENT,T=>{f(T.detail.theme)},{signal:v.signal});const m={manager:this,unsubscribe:()=>{v.abort();const T=this._subscriptions.indexOf(m);T>-1&&this._subscriptions.splice(T,1)}};return this._subscriptions.push(m),m}cleanup(){this._systemThemeCleanup&&this._systemThemeCleanup(),this._subscriptions.forEach(f=>f.unsubscribe()),this._subscriptions=[]}}class Eb extends HTMLElement{constructor(f){var v;super(),K(this,"_currentFeed","inbox"),K(this,"_themeManager"),K(this,"_shadow"),K(this,"_list"),K(this,"_datastoreListener"),K(this,"_authListener"),K(this,"_style"),K(this,"_header"),K(this,"_headerFactory"),K(this,"_onMessageClick"),K(this,"_onMessageActionClick"),K(this,"_onMessageLongPress"),K(this,"_defaultProps",{title:"Inbox",icon:we.inbox,feedType:this._currentFeed,height:"768px"}),this._shadow=this.attachShadow({mode:"open"}),this._themeManager=f??new xb(Ym),this._header=new Tb({themeManager:this._themeManager,onFeedTypeChange:m=>{this.setFeedType(m)}}),this._header.build(void 0),this._shadow.appendChild(this._header),this._list=new yb({themeManager:this._themeManager,onRefresh:()=>{this.refresh()},onPaginationTrigger:async m=>{var T,A;try{await al.shared.fetchNextPageOfMessages({feedType:m})}catch(w){(A=(T=De.shared.client)==null?void 0:T.options.logger)==null||A.error("Failed to fetch next page of messages:",w)}},onMessageClick:(m,T)=>{var A;al.shared.clickMessage({message:m}),this.dispatchEvent(new CustomEvent("message-click",{detail:{message:m,index:T},bubbles:!0,composed:!0})),(A=this._onMessageClick)==null||A.call(this,{message:m,index:T})},onMessageActionClick:(m,T,A)=>{var w;this.dispatchEvent(new CustomEvent("message-action-click",{detail:{message:m,action:T,index:A},bubbles:!0,composed:!0})),(w=this._onMessageActionClick)==null||w.call(this,{message:m,action:T,index:A})},onMessageLongPress:(m,T)=>{var A;this.dispatchEvent(new CustomEvent("message-long-press",{detail:{message:m,index:T},bubbles:!0,composed:!0})),(A=this._onMessageLongPress)==null||A.call(this,{message:m,index:T})}}),this._style=document.createElement("style"),this.refreshTheme(),this._shadow.appendChild(this._style),this._shadow.appendChild(this._list),this._datastoreListener=new Xg({onError:m=>{this._list.setError(m)},onDataSetChange:(m,T)=>{this._currentFeed===T&&(this._list.setDataSet(m),this.updateHeader())},onPageAdded:(m,T)=>{this._currentFeed===T&&(this._list.addPage(m),this.updateHeader())},onMessageAdd:(m,T,A)=>{this._currentFeed===A&&(this._list.addMessage(m,T),this.updateHeader())},onMessageRemove:(m,T,A)=>{this._currentFeed===A&&(this._list.removeMessage(T),this.updateHeader())},onMessageUpdate:(m,T,A)=>{this._currentFeed===A&&(this._list.updateMessage(m,T),this.updateHeader())},onUnreadCountChange:m=>{this.updateHeader()}}),al.shared.addDataStoreListener(this._datastoreListener),this._themeManager.subscribe(m=>{this.refreshTheme()}),this._authListener=De.shared.addAuthenticationListener(m=>{this.refresh()}),(v=De.shared.client)!=null&&v.options.userId&&this.refresh()}get theme(){return this._themeManager.getTheme()}setLightTheme(f){this._themeManager.setLightTheme(f)}setDarkTheme(f){this._themeManager.setDarkTheme(f)}static get observedAttributes(){return["height","light-theme","dark-theme","mode","message-click","message-action-click","message-long-press"]}refreshTheme(){this._style.textContent=this.getStyles()}getStyles(){return`
698
698
  :host {
699
699
  display: flex;
700
700
  flex-direction: column;
@@ -711,7 +711,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
711
711
  overflow-y: auto;
712
712
  overflow-x: hidden;
713
713
  }
714
- `}setHeader(f){this._headerFactory=f,this.updateHeader()}removeHeader(){this._headerFactory=null,this.updateHeader()}setLoadingState(f){this._list.setLoadingStateFactory(f)}setEmptyState(f){this._list.setEmptyStateFactory(f)}setErrorState(f){this._list.setErrorStateFactory(f)}setListItem(f){this._list.setListItemFactory(f)}setPaginationItem(f){this._list.setPaginationItemFactory(f)}onMessageClick(f){this._onMessageClick=f}onMessageActionClick(f){this._onMessageActionClick=f}onMessageLongPress(f){this._onMessageLongPress=f}setFeedType(f){this._currentFeed=f,this._list.setFeedType(f),this.updateHeader(),this.load({feedType:this._currentFeed,canUseCache:!0})}updateHeader(){const f={feedType:this._currentFeed,unreadCount:un.shared.unreadCount,messageCount:this._list.messages.length};switch(this._headerFactory){case void 0:this._header.render(f);break;case null:this._header.build(null);break;default:const p=this._headerFactory(f);this._header.build(p);break}}async load(f){await un.shared.load(f)}refresh(){this.load({feedType:this._currentFeed,canUseCache:!1})}connectedCallback(){this.refresh()}disconnectedCallback(){var f,p;this._themeManager.cleanup(),(f=this._datastoreListener)==null||f.remove(),(p=this._authListener)==null||p.remove()}attributeChangedCallback(f,p,m){var T,C,w,j,M,Y;if(p!==m)switch(f){case"height":const ee=m||this._defaultProps.height;this.style.height=ee;break;case"message-click":if(m)try{this._onMessageClick=new Function("props",m)}catch(le){(C=(T=Le.shared.client)==null?void 0:T.options.logger)==null||C.error("Failed to parse message-click handler:",le)}else this._onMessageClick=void 0;break;case"message-action-click":if(m)try{this._onMessageActionClick=new Function("props",m)}catch(le){(j=(w=Le.shared.client)==null?void 0:w.options.logger)==null||j.error("Failed to parse message-action-click handler:",le)}else this._onMessageActionClick=void 0;break;case"message-long-press":if(m)try{this._onMessageLongPress=new Function("props",m)}catch(le){(Y=(M=Le.shared.client)==null?void 0:M.options.logger)==null||Y.error("Failed to parse message-long-press handler:",le)}else this._onMessageLongPress=void 0;break;case"light-theme":m&&this.setLightTheme(JSON.parse(m));break;case"dark-theme":m&&this.setDarkTheme(JSON.parse(m));break;case"mode":this._themeManager.setMode(m);break}}}customElements.get("courier-inbox")||customElements.define("courier-inbox",Ub);class wb extends hv{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_container"),K(this,"_triggerButton"),K(this,"_unreadCountBadge"),this._themeSubscription=f.subscribe(p=>{this.updateTheme()})}defaultElement(){this._container=document.createElement("div"),this._container.className="menu-button-container",this._triggerButton=new Xm(we.inbox),this._unreadCountBadge=new Ig({themeBus:this._themeSubscription.manager,location:"button"}),this._unreadCountBadge.id="unread-badge";const f=document.createElement("style");return f.textContent=this.getStyles(),this._container.appendChild(f),this._container.appendChild(this._triggerButton),this._container.appendChild(this._unreadCountBadge),this.shadow.appendChild(this._container),this.updateTheme(),this._container}getStyles(){return`
714
+ `}setHeader(f){this._headerFactory=f,this.updateHeader()}removeHeader(){this._headerFactory=null,this.updateHeader()}setLoadingState(f){this._list.setLoadingStateFactory(f)}setEmptyState(f){this._list.setEmptyStateFactory(f)}setErrorState(f){this._list.setErrorStateFactory(f)}setListItem(f){this._list.setListItemFactory(f)}setPaginationItem(f){this._list.setPaginationItemFactory(f)}onMessageClick(f){this._onMessageClick=f}onMessageActionClick(f){this._onMessageActionClick=f}onMessageLongPress(f){this._onMessageLongPress=f}setFeedType(f){this._currentFeed=f,this._list.setFeedType(f),this.updateHeader(),this.load({feedType:this._currentFeed,canUseCache:!0})}updateHeader(){const f={feedType:this._currentFeed,unreadCount:al.shared.unreadCount,messageCount:this._list.messages.length};switch(this._headerFactory){case void 0:this._header.render(f);break;case null:this._header.build(null);break;default:const v=this._headerFactory(f);this._header.build(v);break}}async load(f){await al.shared.load(f)}refresh(){this.load({feedType:this._currentFeed,canUseCache:!1})}connectedCallback(){this.refresh()}disconnectedCallback(){var f,v;this._themeManager.cleanup(),(f=this._datastoreListener)==null||f.remove(),(v=this._authListener)==null||v.remove()}attributeChangedCallback(f,v,m){var T,A,w,X,M,Y;if(v!==m)switch(f){case"height":const ee=m||this._defaultProps.height;this.style.height=ee;break;case"message-click":if(m)try{this._onMessageClick=new Function("props",m)}catch(ne){(A=(T=De.shared.client)==null?void 0:T.options.logger)==null||A.error("Failed to parse message-click handler:",ne)}else this._onMessageClick=void 0;break;case"message-action-click":if(m)try{this._onMessageActionClick=new Function("props",m)}catch(ne){(X=(w=De.shared.client)==null?void 0:w.options.logger)==null||X.error("Failed to parse message-action-click handler:",ne)}else this._onMessageActionClick=void 0;break;case"message-long-press":if(m)try{this._onMessageLongPress=new Function("props",m)}catch(ne){(Y=(M=De.shared.client)==null?void 0:M.options.logger)==null||Y.error("Failed to parse message-long-press handler:",ne)}else this._onMessageLongPress=void 0;break;case"light-theme":m&&this.setLightTheme(JSON.parse(m));break;case"dark-theme":m&&this.setDarkTheme(JSON.parse(m));break;case"mode":this._themeManager.setMode(m);break}}}customElements.get("courier-inbox")||customElements.define("courier-inbox",Eb);class _b extends ov{constructor(f){super(),K(this,"_themeSubscription"),K(this,"_container"),K(this,"_triggerButton"),K(this,"_unreadCountBadge"),this._themeSubscription=f.subscribe(v=>{this.updateTheme()})}defaultElement(){this._container=document.createElement("div"),this._container.className="menu-button-container",this._triggerButton=new qm(we.inbox),this._unreadCountBadge=new Gg({themeBus:this._themeSubscription.manager,location:"button"}),this._unreadCountBadge.id="unread-badge";const f=document.createElement("style");return f.textContent=this.getStyles(),this._container.appendChild(f),this._container.appendChild(this._triggerButton),this._container.appendChild(this._unreadCountBadge),this.shadow.appendChild(this._container),this.updateTheme(),this._container}getStyles(){return`
715
715
  .menu-button-container {
716
716
  position: relative;
717
717
  display: inline-block;
@@ -723,7 +723,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
723
723
  left: 50%;
724
724
  pointer-events: none;
725
725
  }
726
- `}onUnreadCountChange(f){var p;(p=this._unreadCountBadge)==null||p.setCount(f),this.updateTheme()}updateTheme(){var f,p,m,T,C,w,j,M,Y,ee,le,V,oe,se,ue,ae,de,ke;const fe=this._themeSubscription.manager.getTheme();(T=this._triggerButton)==null||T.updateIconColor(((m=(p=(f=fe==null?void 0:fe.popup)==null?void 0:f.button)==null?void 0:p.icon)==null?void 0:m.color)??Z.black[500]),(M=this._triggerButton)==null||M.updateIconSVG(((j=(w=(C=fe==null?void 0:fe.popup)==null?void 0:C.button)==null?void 0:w.icon)==null?void 0:j.svg)??we.inbox),(le=this._triggerButton)==null||le.updateBackgroundColor(((ee=(Y=fe==null?void 0:fe.popup)==null?void 0:Y.button)==null?void 0:ee.backgroundColor)??"transparent"),(se=this._triggerButton)==null||se.updateHoverBackgroundColor(((oe=(V=fe==null?void 0:fe.popup)==null?void 0:V.button)==null?void 0:oe.hoverBackgroundColor)??Z.black[50010]),(de=this._triggerButton)==null||de.updateActiveBackgroundColor(((ae=(ue=fe==null?void 0:fe.popup)==null?void 0:ue.button)==null?void 0:ae.activeBackgroundColor)??Z.black[50020]),(ke=this._unreadCountBadge)==null||ke.refreshTheme("button")}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-menu-button")||customElements.define("courier-inbox-menu-button",wb);class v2 extends HTMLElement{constructor(){super(),K(this,"_width","440px"),K(this,"_height","440px"),K(this,"_popupAlignment","top-right"),K(this,"_top","40px"),K(this,"_right","0"),K(this,"_bottom","40px"),K(this,"_left","0"),K(this,"_themeManager",new Ob(Qm)),K(this,"_triggerButton"),K(this,"_popup"),K(this,"_inbox"),K(this,"_style"),K(this,"_datastoreListener"),K(this,"_popupMenuButtonFactory");const f=this.attachShadow({mode:"open"});this._triggerButton=new wb(this._themeManager),this._triggerButton.build(void 0),this._popup=document.createElement("div"),this._popup.className="popup",this._inbox=new Ub(this._themeManager),this._inbox.setAttribute("height","100%"),this._style=document.createElement("style"),this.refreshTheme(),f.appendChild(this._style),f.appendChild(this._triggerButton),f.appendChild(this._popup),this._popup.appendChild(this._inbox),this._triggerButton.addEventListener("click",this.togglePopup.bind(this)),document.addEventListener("click",this.handleOutsideClick.bind(this)),this.updatePopupPosition(),this._datastoreListener=new Wg(this),un.shared.addDataStoreListener(this._datastoreListener),this._themeManager.subscribe(p=>{this.refreshTheme()})}get theme(){return this._themeManager.getTheme()}setLightTheme(f){this._themeManager.setLightTheme(f)}setDarkTheme(f){this._themeManager.setDarkTheme(f)}static get observedAttributes(){return["popup-alignment","message-click","message-action-click","message-long-press","popup-width","popup-height","top","right","bottom","left","light-theme","dark-theme","mode"]}refreshTheme(){this._style.textContent=this.getStyles()}getStyles(){var f,p,m,T,C,w,j,M;return`
726
+ `}onUnreadCountChange(f){var v;(v=this._unreadCountBadge)==null||v.setCount(f),this.updateTheme()}updateTheme(){var f,v,m,T,A,w,X,M,Y,ee,ne,V,oe,ce,ue,ae,de,ke;const fe=this._themeSubscription.manager.getTheme();(T=this._triggerButton)==null||T.updateIconColor(((m=(v=(f=fe==null?void 0:fe.popup)==null?void 0:f.button)==null?void 0:v.icon)==null?void 0:m.color)??Z.black[500]),(M=this._triggerButton)==null||M.updateIconSVG(((X=(w=(A=fe==null?void 0:fe.popup)==null?void 0:A.button)==null?void 0:w.icon)==null?void 0:X.svg)??we.inbox),(ne=this._triggerButton)==null||ne.updateBackgroundColor(((ee=(Y=fe==null?void 0:fe.popup)==null?void 0:Y.button)==null?void 0:ee.backgroundColor)??"transparent"),(ce=this._triggerButton)==null||ce.updateHoverBackgroundColor(((oe=(V=fe==null?void 0:fe.popup)==null?void 0:V.button)==null?void 0:oe.hoverBackgroundColor)??Z.black[50010]),(de=this._triggerButton)==null||de.updateActiveBackgroundColor(((ae=(ue=fe==null?void 0:fe.popup)==null?void 0:ue.button)==null?void 0:ae.activeBackgroundColor)??Z.black[50020]),(ke=this._unreadCountBadge)==null||ke.refreshTheme("button")}disconnectedCallback(){this._themeSubscription.unsubscribe()}}customElements.get("courier-inbox-menu-button")||customElements.define("courier-inbox-menu-button",_b);class t2 extends HTMLElement{constructor(){super(),K(this,"_width","440px"),K(this,"_height","440px"),K(this,"_popupAlignment","top-right"),K(this,"_top","40px"),K(this,"_right","0"),K(this,"_bottom","40px"),K(this,"_left","0"),K(this,"_themeManager",new xb(Ym)),K(this,"_triggerButton"),K(this,"_popup"),K(this,"_inbox"),K(this,"_style"),K(this,"_datastoreListener"),K(this,"_popupMenuButtonFactory");const f=this.attachShadow({mode:"open"});this._triggerButton=new _b(this._themeManager),this._triggerButton.build(void 0),this._popup=document.createElement("div"),this._popup.className="popup",this._inbox=new Eb(this._themeManager),this._inbox.setAttribute("height","100%"),this._style=document.createElement("style"),this.refreshTheme(),f.appendChild(this._style),f.appendChild(this._triggerButton),f.appendChild(this._popup),this._popup.appendChild(this._inbox),this._triggerButton.addEventListener("click",this.togglePopup.bind(this)),document.addEventListener("click",this.handleOutsideClick.bind(this)),this.updatePopupPosition(),this._datastoreListener=new Xg(this),al.shared.addDataStoreListener(this._datastoreListener),this._themeManager.subscribe(v=>{this.refreshTheme()})}get theme(){return this._themeManager.getTheme()}setLightTheme(f){this._themeManager.setLightTheme(f)}setDarkTheme(f){this._themeManager.setDarkTheme(f)}static get observedAttributes(){return["popup-alignment","message-click","message-action-click","message-long-press","popup-width","popup-height","top","right","bottom","left","light-theme","dark-theme","mode"]}refreshTheme(){this._style.textContent=this.getStyles()}getStyles(){var f,v,m,T,A,w,X,M;return`
727
727
  :host {
728
728
  display: inline-block;
729
729
  position: relative;
@@ -737,10 +737,10 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
737
737
  .popup {
738
738
  display: none;
739
739
  position: absolute;
740
- background: ${((p=(f=this.theme.popup)==null?void 0:f.window)==null?void 0:p.backgroundColor)??"red"};
740
+ background: ${((v=(f=this.theme.popup)==null?void 0:f.window)==null?void 0:v.backgroundColor)??"red"};
741
741
  border-radius: ${((T=(m=this.theme.popup)==null?void 0:m.window)==null?void 0:T.borderRadius)??"8px"};
742
- border: ${((w=(C=this.theme.popup)==null?void 0:C.window)==null?void 0:w.border)??"1px solid red"};
743
- box-shadow: ${((M=(j=this.theme.popup)==null?void 0:j.window)==null?void 0:M.shadow)??"0px 8px 16px -4px red"};
742
+ border: ${((w=(A=this.theme.popup)==null?void 0:A.window)==null?void 0:w.border)??"1px solid red"};
743
+ box-shadow: ${((M=(X=this.theme.popup)==null?void 0:X.window)==null?void 0:M.shadow)??"0px 8px 16px -4px red"};
744
744
  z-index: 1000;
745
745
  width: ${this._width};
746
746
  height: ${this._height};
@@ -759,137 +759,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
759
759
  courier-inbox {
760
760
  height: 100%;
761
761
  }
762
- `}attributeChangedCallback(f,p,m){switch(f){case"popup-alignment":this.isValidPosition(m)&&(this._popupAlignment=m,this.updatePopupPosition());break;case"popup-width":this._width=m,this.setSize(m,this._height);break;case"popup-height":this._height=m,this.setSize(this._width,m);break;case"top":this._top=m,this.updatePopupPosition();break;case"right":this._right=m,this.updatePopupPosition();break;case"bottom":this._bottom=m,this.updatePopupPosition();break;case"left":this._left=m,this.updatePopupPosition();break;case"light-theme":m&&this.setLightTheme(JSON.parse(m));break;case"dark-theme":m&&this.setDarkTheme(JSON.parse(m));break;case"mode":this._themeManager.setMode(m);break}}onUnreadCountChange(f){this.render()}onMessageClick(f){this._inbox.onMessageClick(f)}onMessageActionClick(f){this._inbox.onMessageActionClick(f)}onMessageLongPress(f){this._inbox.onMessageLongPress(f)}isValidPosition(f){return["top-right","top-left","top-center","bottom-right","bottom-left","bottom-center","center-right","center-left","center-center"].includes(f)}updatePopupPosition(){switch(this._popup.style.top="",this._popup.style.bottom="",this._popup.style.left="",this._popup.style.right="",this._popup.style.margin="",this._popup.style.transform="",this._popupAlignment){case"top-right":this._popup.style.top=this._top,this._popup.style.right=this._right;break;case"top-left":this._popup.style.top=this._top,this._popup.style.left=this._left;break;case"top-center":this._popup.style.top=this._top,this._popup.style.left="50%",this._popup.style.transform="translateX(-50%)";break;case"bottom-right":this._popup.style.bottom=this._bottom,this._popup.style.right=this._right;break;case"bottom-left":this._popup.style.bottom=this._bottom,this._popup.style.left=this._left;break;case"bottom-center":this._popup.style.bottom=this._bottom,this._popup.style.left="50%",this._popup.style.transform="translateX(-50%)";break;case"center-right":this._popup.style.top="50%",this._popup.style.right=this._right,this._popup.style.transform="translateY(-50%)";break;case"center-left":this._popup.style.top="50%",this._popup.style.left=this._left,this._popup.style.transform="translateY(-50%)";break;case"center-center":this._popup.style.top="50%",this._popup.style.left="50%",this._popup.style.transform="translate(-50%, -50%)";break}}togglePopup(f){f.stopPropagation(),this._popup.style.display==="block"?this._popup.style.display="none":this._popup.style.display="block"}handleOutsideClick(f){this.contains(f.target)||(this._popup.style.display="none")}setContent(f){this._inbox.innerHTML="",this._inbox.appendChild(f)}setSize(f,p){this._width=f,this._height=p,this._popup.style.width=f,this._popup.style.height=p}setPosition(f){var p,m;this.isValidPosition(f)?(this._popupAlignment=f,this.updatePopupPosition()):(m=(p=Le.shared.client)==null?void 0:p.options.logger)==null||m.error(`Invalid position: ${f}`)}setFeedType(f){this._inbox.setFeedType(f)}setPopupHeader(f){this._inbox.setHeader(f)}removePopupHeader(){this._inbox.removeHeader()}setPopupLoadingState(f){this._inbox.setLoadingState(f)}setPopupEmptyState(f){this._inbox.setEmptyState(f)}setPopupErrorState(f){this._inbox.setErrorState(f)}setPopupListItem(f){this._inbox.setListItem(f)}setPopupPaginationItem(f){this._inbox.setPaginationItem(f)}setPopupMenuButton(f){this._popupMenuButtonFactory=f,this.render()}render(){const f=un.shared.unreadCount;switch(this._popupMenuButtonFactory){case void 0:case null:this._triggerButton.build(void 0),this._triggerButton.onUnreadCountChange(f);break;default:const p=this._popupMenuButtonFactory({unreadCount:f});this._triggerButton.build(p);break}}disconnectedCallback(){var f;(f=this._datastoreListener)==null||f.remove(),this._themeManager.cleanup()}}customElements.get("courier-inbox-menu")||customElements.define("courier-inbox-menu",v2);var g2=Object.defineProperty,y2=(b,f,p)=>f in b?g2(b,f,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[f]=p,kt=(b,f,p)=>y2(b,typeof f!="symbol"?f+"":f,p);const Hb=class JS{constructor(f,p){kt(this,"webSocket",null),kt(this,"pingInterval",null),kt(this,"onOpen"),kt(this,"onMessageReceived"),kt(this,"onClose"),kt(this,"onError"),kt(this,"url"),kt(this,"options"),this.url=f,this.options=p}get isConnected(){return this.webSocket!==null}async connect(){return this.disconnect(),new Promise((f,p)=>{try{this.webSocket=new WebSocket(this.url),this.webSocket.onopen=()=>{var m;(m=this.onOpen)==null||m.call(this),f()},this.webSocket.onmessage=m=>{var T;(T=this.onMessageReceived)==null||T.call(this,m.data)},this.webSocket.onclose=m=>{var T;this.webSocket=null,(T=this.onClose)==null||T.call(this,m.code,m.reason)},this.webSocket.onerror=m=>{var T;this.webSocket=null;const C=new Error("Courier Socket connection failed");C.originalEvent=m,(T=this.onError)==null||T.call(this,C),p(C)}}catch(m){this.webSocket=null,p(m)}})}disconnect(){this.stopPing(),this.webSocket&&(this.webSocket.close(JS.NORMAL_CLOSURE_STATUS),this.webSocket=null)}async send(f){if(!this.webSocket)return!1;const p=JSON.stringify(f);return this.webSocket.send(p)!==void 0}keepAlive(f){this.stopPing(),this.pingInterval=setInterval(async()=>{var p;try{await this.send({action:"keepAlive"})}catch(m){(p=this.options.logger)==null||p.error("Error occurred on Keep Alive:",m)}},(f==null?void 0:f.intervalInMillis)??3e5)}stopPing(){this.pingInterval&&(clearInterval(this.pingInterval),this.pingInterval=null)}};kt(Hb,"NORMAL_CLOSURE_STATUS",1e3);let b2=Hb;const kb=b=>({courier:{rest:(b==null?void 0:b.courier.rest)||"https://api.courier.com",graphql:(b==null?void 0:b.courier.graphql)||"https://api.courier.com/client/q"},inbox:{graphql:(b==null?void 0:b.inbox.graphql)||"https://inbox.courier.com/q",webSocket:(b==null?void 0:b.inbox.webSocket)||"wss://realtime.courier.com"}});class S2{constructor(f){kt(this,"PREFIX","[COURIER]"),this.showLogs=f}warn(f,...p){this.showLogs&&console.warn(`${this.PREFIX} ${f}`,...p)}log(f,...p){this.showLogs&&console.log(`${this.PREFIX} ${f}`,...p)}error(f,...p){this.showLogs&&console.error(`${this.PREFIX} ${f}`,...p)}debug(f,...p){this.showLogs&&console.debug(`${this.PREFIX} ${f}`,...p)}info(f,...p){this.showLogs&&console.info(`${this.PREFIX} ${f}`,...p)}}class vv{static generate(f){const p=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);return f?f+p:p}}class gv extends Error{constructor(f,p,m){super(p),this.code=f,this.type=m,this.name="CourierRequestError"}}function Bb(b,f,p,m){b.log(`
763
- 📡 New Courier ${p} Request: ${f}
764
- URL: ${m.url}
765
- ${m.method?`Method: ${m.method}`:""}
766
- ${m.query?`Query: ${m.query}`:""}
767
- ${m.variables?`Variables: ${JSON.stringify(m.variables,null,2)}`:""}
768
- Headers: ${JSON.stringify(m.headers,null,2)}
769
- Body: ${m.body?JSON.stringify(m.body,null,2):"Empty"}
770
- `)}function Nb(b,f,p,m){b.log(`
771
- 📡 New Courier ${p} Response: ${f}
772
- Status Code: ${m.status}
773
- Response JSON: ${JSON.stringify(m.response,null,2)}
774
- `)}async function $o(b){const f=b.validCodes??[200],p=b.options.showLogs?vv.generate():void 0,m=new Request(b.url,{method:b.method,headers:{"Content-Type":"application/json",...b.headers},body:b.body?JSON.stringify(b.body):void 0});p&&Bb(b.options.logger,p,"HTTP",{url:m.url,method:m.method,headers:Object.fromEntries(m.headers.entries()),body:b.body});const T=await fetch(m);if(T.status===204)return;let C;try{C=await T.json()}catch{if(T.status===200)return;throw new gv(T.status,"Failed to parse response as JSON","PARSE_ERROR")}if(p&&Nb(b.options.logger,p,"HTTP",{status:T.status,response:C}),!f.includes(T.status))throw new gv(T.status,(C==null?void 0:C.message)||"Unknown Error",C==null?void 0:C.type);return C}async function iu(b){const f=b.options.showLogs?vv.generate():void 0;f&&Bb(b.options.logger,f,"GraphQL",{url:b.url,headers:b.headers,query:b.query,variables:b.variables});const p=await fetch(b.url,{method:"POST",headers:{"Content-Type":"application/json",...b.headers},body:JSON.stringify({query:b.query,variables:b.variables})});let m;try{m=await p.json()}catch{throw new gv(p.status,"Failed to parse response as JSON","PARSE_ERROR")}if(f&&Nb(b.options.logger,f,"GraphQL",{status:p.status,response:m}),!p.ok)throw new gv(p.status,(m==null?void 0:m.message)||"Unknown Error",m==null?void 0:m.type);return m}class Gr{constructor(f){this.options=f}}class T2 extends Gr{async getBrand(f){const p=`
775
- query GetBrand {
776
- brand(brandId: "${f.brandId}") {
777
- settings {
778
- colors {
779
- primary
780
- secondary
781
- tertiary
782
- }
783
- inapp {
784
- borderRadius
785
- disableCourierFooter
786
- }
787
- }
788
- }
789
- }
790
- `;return(await iu({options:this.options,url:this.options.apiUrls.courier.graphql,headers:{"x-courier-user-id":this.options.userId,"x-courier-client-key":"empty",Authorization:`Bearer ${this.options.accessToken}`},query:p,variables:{brandId:f.brandId}})).data.brand}}class Pg extends b2{constructor(f){const p=Pg.buildUrl(f);super(p,f),kt(this,"receivedMessage"),kt(this,"receivedMessageEvent"),this.onMessageReceived=m=>this.convertToType(m)}convertToType(f){var p,m,T,C;try{switch(JSON.parse(f).type){case"event":const j=JSON.parse(f);(p=this.receivedMessageEvent)==null||p.call(this,j);break;case"message":const M=JSON.parse(f);(m=this.receivedMessage)==null||m.call(this,M);break}}catch(w){(T=this.options.logger)==null||T.error("Error parsing socket message",w),w instanceof Error&&((C=this.onError)==null||C.call(this,w))}}async sendSubscribe(f){var p;const m={action:"subscribe",data:{userAgent:"courier-js",channel:this.options.userId,event:"*",version:(f==null?void 0:f.version)??5}};this.options.connectionId&&(m.data.clientSourceId=this.options.connectionId),this.options.tenantId&&(m.data.accountId=this.options.tenantId),(p=this.options.logger)==null||p.debug("Sending subscribe request",m),await this.send(m)}static buildUrl(f){var p;let m=((p=f.apiUrls)==null?void 0:p.inbox.webSocket)??"";return f.accessToken&&(m+=`/?auth=${f.accessToken}`),m}}class x2 extends Gr{constructor(f){super(f),kt(this,"socket"),this.socket=new Pg(f)}async getMessages(f){const p=`
791
- query GetInboxMessages(
792
- $params: FilterParamsInput = { ${this.options.tenantId?`accountId: "${this.options.tenantId}"`:""} }
793
- $limit: Int = ${(f==null?void 0:f.paginationLimit)??24}
794
- $after: String ${f!=null&&f.startCursor?`= "${f.startCursor}"`:""}
795
- ) {
796
- count(params: $params)
797
- messages(params: $params, limit: $limit, after: $after) {
798
- totalCount
799
- pageInfo {
800
- startCursor
801
- hasNextPage
802
- }
803
- nodes {
804
- messageId
805
- read
806
- archived
807
- created
808
- opened
809
- title
810
- preview
811
- data
812
- tags
813
- trackingIds {
814
- clickTrackingId
815
- }
816
- actions {
817
- content
818
- data
819
- href
820
- }
821
- }
822
- }
823
- }
824
- `;return await iu({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getArchivedMessages(f){const p=`
825
- query GetInboxMessages(
826
- $params: FilterParamsInput = { ${this.options.tenantId?`accountId: "${this.options.tenantId}"`:""}, archived: true }
827
- $limit: Int = ${(f==null?void 0:f.paginationLimit)??24}
828
- $after: String ${f!=null&&f.startCursor?`= "${f.startCursor}"`:""}
829
- ) {
830
- count(params: $params)
831
- messages(params: $params, limit: $limit, after: $after) {
832
- totalCount
833
- pageInfo {
834
- startCursor
835
- hasNextPage
836
- }
837
- nodes {
838
- messageId
839
- read
840
- archived
841
- created
842
- opened
843
- title
844
- preview
845
- data
846
- tags
847
- trackingIds {
848
- clickTrackingId
849
- }
850
- actions {
851
- content
852
- data
853
- href
854
- }
855
- }
856
- }
857
- }
858
- `;return iu({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})}async getUnreadMessageCount(){var f;const p=`
859
- query GetMessages {
860
- count(params: { status: "unread" ${this.options.tenantId?`, accountId: "${this.options.tenantId}"`:""} })
861
- }
862
- `;return((f=(await iu({options:this.options,query:p,headers:{"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`},url:this.options.apiUrls.inbox.graphql})).data)==null?void 0:f.count)??0}async click(f){const p=`
863
- mutation TrackEvent {
864
- clicked(messageId: "${f.messageId}", trackingId: "${f.trackingId}")
865
- }
866
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async read(f){const p=`
867
- mutation TrackEvent {
868
- read(messageId: "${f.messageId}")
869
- }
870
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async unread(f){const p=`
871
- mutation TrackEvent {
872
- unread(messageId: "${f.messageId}")
873
- }
874
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async readAll(){const f=`
875
- mutation TrackEvent {
876
- markAllRead
877
- }
878
- `,p={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(p["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:f,headers:p,url:this.options.apiUrls.inbox.graphql})}async open(f){const p=`
879
- mutation TrackEvent {
880
- opened(messageId: "${f.messageId}")
881
- }
882
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async archive(f){const p=`
883
- mutation TrackEvent {
884
- archive(messageId: "${f.messageId}")
885
- }
886
- `,m={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(m["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:p,headers:m,url:this.options.apiUrls.inbox.graphql})}async archiveRead(){const f=`
887
- mutation TrackEvent {
888
- archiveRead
889
- }
890
- `,p={"x-courier-user-id":this.options.userId,Authorization:`Bearer ${this.options.accessToken}`};this.options.connectionId&&(p["x-courier-client-source-id"]=this.options.connectionId),await iu({options:this.options,query:f,headers:p,url:this.options.apiUrls.inbox.graphql})}}class E2{transformItem(f){return{topicId:f.topic_id,topicName:f.topic_name,sectionId:f.section_id,sectionName:f.section_name,status:f.status,defaultStatus:f.default_status,hasCustomRouting:f.has_custom_routing,customRouting:f.custom_routing||[]}}*transform(f){for(const p of f)yield this.transformItem(p)}}function C2(b){const f=atob(b),p=new Uint8Array(f.length);for(let m=0;m<f.length;m++)p[m]=f.charCodeAt(m);return String.fromCharCode(...p)}function _2(b){const f=new Uint8Array(b.length);for(let p=0;p<b.length;p++)f[p]=b.charCodeAt(p);return btoa(String.fromCharCode(...f))}class A2 extends Gr{constructor(){super(...arguments),kt(this,"transformer",new E2)}async getUserPreferences(f){let p=`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences`;f!=null&&f.paginationCursor&&(p+=`?cursor=${f.paginationCursor}`);const T=await $o({options:this.options,url:p,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return{items:[...this.transformer.transform(T.items)],paging:T.paging}}async getUserPreferenceTopic(f){const m=await $o({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"GET",headers:{Authorization:`Bearer ${this.options.accessToken}`}});return this.transformer.transformItem(m.topic)}async putUserPreferenceTopic(f){const p={topic:{status:f.status,has_custom_routing:f.hasCustomRouting,custom_routing:f.customRouting}};await $o({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/preferences/${f.topicId}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:p})}getNotificationCenterUrl(f){const p=C2(f.clientKey);return`https://view.notificationcenter.app/p/${_2(`${p}#${this.options.userId}${this.options.tenantId?`#${this.options.tenantId}`:""}#false`)}`}}class M2 extends Gr{async putUserToken(f){const p={provider_key:f.provider,...f.device&&{device:{app_id:f.device.appId,ad_id:f.device.adId,device_id:f.device.deviceId,platform:f.device.platform,manufacturer:f.device.manufacturer,model:f.device.model}}};await $o({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:p,validCodes:[200,204]})}async deleteUserToken(f){await $o({options:this.options,url:`${this.options.apiUrls.courier.rest}/users/${this.options.userId}/tokens/${f.token}`,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`},validCodes:[200,204]})}}class R2 extends Gr{async putSubscription(f){return await $o({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"PUT",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}async deleteSubscription(f){return await $o({url:`${this.options.apiUrls.courier.rest}/lists/${f.listId}/subscriptions/${this.options.userId}`,options:this.options,method:"DELETE",headers:{Authorization:`Bearer ${this.options.accessToken}`}})}}class D2 extends Gr{async postInboundCourier(f){return await $o({url:`${this.options.apiUrls.courier.rest}/inbound/courier`,options:this.options,method:"POST",headers:{Authorization:`Bearer ${this.options.accessToken}`},body:{...f,userId:this.options.userId},validCodes:[200,202]})}async postTrackingUrl(f){return await $o({url:f.url,options:this.options,method:"POST",body:{event:f.event}})}}class z2 extends Gr{constructor(f){var p,m;const T=f.showLogs!==void 0?f.showLogs:process.env.NODE_ENV==="development",C={...f,showLogs:T,apiUrls:f.apiUrls||kb(),accessToken:f.jwt??f.publicApiKey};super({...C,logger:new S2(C.showLogs),apiUrls:kb(C.apiUrls)}),kt(this,"tokens"),kt(this,"brands"),kt(this,"preferences"),kt(this,"inbox"),kt(this,"lists"),kt(this,"tracking"),this.tokens=new M2(this.options),this.brands=new T2(this.options),this.preferences=new A2(this.options),this.inbox=new x2(this.options),this.lists=new R2(this.options),this.tracking=new D2(this.options),!this.options.jwt&&!this.options.publicApiKey&&this.options.logger.warn("Courier Client initialized with no authentication method. Please provide a JWT or public API key."),this.options.publicApiKey&&((p=this.options.logger)==null||p.warn(`Courier Warning: Public API Keys are for testing only. Please use JWTs for production.
891
- You can generate a JWT with this endpoint: https://www.courier.com/docs/reference/auth/issue-token
892
- This endpoint should be called from your backend server, not the SDK.`)),this.options.jwt&&this.options.publicApiKey&&((m=this.options.logger)==null||m.warn("Courier Warning: Both a JWT and a Public API Key were provided. The Public API Key will be ignored."))}}class O2{constructor(f){kt(this,"callback"),this.callback=f}remove(){jr.shared.removeAuthenticationListener(this)}}const Lb=class cv{constructor(){kt(this,"id",vv.generate()),kt(this,"instanceClient"),kt(this,"_paginationLimit",24),kt(this,"authenticationListeners",[])}get paginationLimit(){return this._paginationLimit}set paginationLimit(f){this._paginationLimit=Math.min(Math.max(f,1),100)}get client(){return this.instanceClient}static get shared(){return cv.instance||(cv.instance=new cv),cv.instance}signIn(f){const p=f.connectionId??vv.generate();this.instanceClient=new z2({...f,connectionId:p}),this.notifyAuthenticationListeners({userId:f.userId})}signOut(){this.instanceClient=void 0,this.notifyAuthenticationListeners({userId:void 0})}addAuthenticationListener(f){var p;(p=this.instanceClient)==null||p.options.logger.info("Adding authentication listener");const m=new O2(f);return this.authenticationListeners.push(m),m}removeAuthenticationListener(f){var p;(p=this.instanceClient)==null||p.options.logger.info("Removing authentication listener"),this.authenticationListeners=this.authenticationListeners.filter(m=>m!==f)}notifyAuthenticationListeners(f){this.authenticationListeners.forEach(p=>p.callback(f))}};kt(Lb,"instance");let jr=Lb;const U2=()=>{const b=ae=>jr.shared.signIn(ae),f=()=>jr.shared.signOut(),p=ae=>un.shared.load(ae),m=ae=>un.shared.fetchNextPageOfMessages(ae),T=ae=>jr.shared.paginationLimit=ae,C=ae=>un.shared.readMessage({message:ae}),w=ae=>un.shared.unreadMessage({message:ae}),j=ae=>un.shared.clickMessage({message:ae}),M=ae=>un.shared.archiveMessage({message:ae}),Y=ae=>un.shared.openMessage({message:ae}),[ee,le]=pt.useState({userId:void 0,signIn:b,signOut:f}),[V,oe]=pt.useState({load:p,fetchNextPageOfMessages:m,setPaginationLimit:T,readMessage:C,unreadMessage:w,clickMessage:j,archiveMessage:M,openMessage:Y});pt.useEffect(()=>{const ae=jr.shared.addAuthenticationListener(()=>se()),de=new Wg({onError:ke=>ue(ke),onDataSetChange:()=>ue(),onPageAdded:()=>ue(),onMessageAdd:()=>ue(),onMessageRemove:()=>ue(),onMessageUpdate:()=>ue(),onUnreadCountChange:()=>ue()});return un.shared.addDataStoreListener(de),se(),ue(),()=>{ae.remove(),de.remove()}},[]);const se=()=>{var de;const ae=(de=jr.shared.client)==null?void 0:de.options;le({userId:ae==null?void 0:ae.userId,signIn:b,signOut:f})},ue=ae=>{const de=un.shared;oe({load:p,fetchNextPageOfMessages:m,setPaginationLimit:T,readMessage:C,unreadMessage:w,clickMessage:j,archiveMessage:M,openMessage:Y,inbox:de.inboxDataSet,archive:de.archiveDataSet,unreadCount:de.unreadCount,error:ae})};return{shared:jr.shared,auth:ee,inbox:V}};var yv={exports:{}},Zm={};/**
762
+ `}attributeChangedCallback(f,v,m){switch(f){case"popup-alignment":this.isValidPosition(m)&&(this._popupAlignment=m,this.updatePopupPosition());break;case"popup-width":this._width=m,this.setSize(m,this._height);break;case"popup-height":this._height=m,this.setSize(this._width,m);break;case"top":this._top=m,this.updatePopupPosition();break;case"right":this._right=m,this.updatePopupPosition();break;case"bottom":this._bottom=m,this.updatePopupPosition();break;case"left":this._left=m,this.updatePopupPosition();break;case"light-theme":m&&this.setLightTheme(JSON.parse(m));break;case"dark-theme":m&&this.setDarkTheme(JSON.parse(m));break;case"mode":this._themeManager.setMode(m);break}}onUnreadCountChange(f){this.render()}onMessageClick(f){this._inbox.onMessageClick(f)}onMessageActionClick(f){this._inbox.onMessageActionClick(f)}onMessageLongPress(f){this._inbox.onMessageLongPress(f)}isValidPosition(f){return["top-right","top-left","top-center","bottom-right","bottom-left","bottom-center","center-right","center-left","center-center"].includes(f)}updatePopupPosition(){switch(this._popup.style.top="",this._popup.style.bottom="",this._popup.style.left="",this._popup.style.right="",this._popup.style.margin="",this._popup.style.transform="",this._popupAlignment){case"top-right":this._popup.style.top=this._top,this._popup.style.right=this._right;break;case"top-left":this._popup.style.top=this._top,this._popup.style.left=this._left;break;case"top-center":this._popup.style.top=this._top,this._popup.style.left="50%",this._popup.style.transform="translateX(-50%)";break;case"bottom-right":this._popup.style.bottom=this._bottom,this._popup.style.right=this._right;break;case"bottom-left":this._popup.style.bottom=this._bottom,this._popup.style.left=this._left;break;case"bottom-center":this._popup.style.bottom=this._bottom,this._popup.style.left="50%",this._popup.style.transform="translateX(-50%)";break;case"center-right":this._popup.style.top="50%",this._popup.style.right=this._right,this._popup.style.transform="translateY(-50%)";break;case"center-left":this._popup.style.top="50%",this._popup.style.left=this._left,this._popup.style.transform="translateY(-50%)";break;case"center-center":this._popup.style.top="50%",this._popup.style.left="50%",this._popup.style.transform="translate(-50%, -50%)";break}}togglePopup(f){f.stopPropagation(),this._popup.style.display==="block"?this._popup.style.display="none":this._popup.style.display="block"}handleOutsideClick(f){this.contains(f.target)||(this._popup.style.display="none")}setContent(f){this._inbox.innerHTML="",this._inbox.appendChild(f)}setSize(f,v){this._width=f,this._height=v,this._popup.style.width=f,this._popup.style.height=v}setPosition(f){var v,m;this.isValidPosition(f)?(this._popupAlignment=f,this.updatePopupPosition()):(m=(v=De.shared.client)==null?void 0:v.options.logger)==null||m.error(`Invalid position: ${f}`)}setFeedType(f){this._inbox.setFeedType(f)}setPopupHeader(f){this._inbox.setHeader(f)}removePopupHeader(){this._inbox.removeHeader()}setPopupLoadingState(f){this._inbox.setLoadingState(f)}setPopupEmptyState(f){this._inbox.setEmptyState(f)}setPopupErrorState(f){this._inbox.setErrorState(f)}setPopupListItem(f){this._inbox.setListItem(f)}setPopupPaginationItem(f){this._inbox.setPaginationItem(f)}setPopupMenuButton(f){this._popupMenuButtonFactory=f,this.render()}render(){const f=al.shared.unreadCount;switch(this._popupMenuButtonFactory){case void 0:case null:this._triggerButton.build(void 0),this._triggerButton.onUnreadCountChange(f);break;default:const v=this._popupMenuButtonFactory({unreadCount:f});this._triggerButton.build(v);break}}disconnectedCallback(){var f;(f=this._datastoreListener)==null||f.remove(),this._themeManager.cleanup()}}customElements.get("courier-inbox-menu")||customElements.define("courier-inbox-menu",t2);const l2=()=>{const x=ae=>De.shared.signIn(ae),f=()=>De.shared.signOut(),v=ae=>al.shared.load(ae),m=ae=>al.shared.fetchNextPageOfMessages(ae),T=ae=>De.shared.paginationLimit=ae,A=ae=>al.shared.readMessage({message:ae}),w=ae=>al.shared.unreadMessage({message:ae}),X=ae=>al.shared.clickMessage({message:ae}),M=ae=>al.shared.archiveMessage({message:ae}),Y=ae=>al.shared.openMessage({message:ae}),[ee,ne]=pt.useState({userId:void 0,signIn:x,signOut:f}),[V,oe]=pt.useState({load:v,fetchNextPageOfMessages:m,setPaginationLimit:T,readMessage:A,unreadMessage:w,clickMessage:X,archiveMessage:M,openMessage:Y});pt.useEffect(()=>{const ae=De.shared.addAuthenticationListener(()=>ce()),de=new Xg({onError:ke=>ue(ke),onDataSetChange:()=>ue(),onPageAdded:()=>ue(),onMessageAdd:()=>ue(),onMessageRemove:()=>ue(),onMessageUpdate:()=>ue(),onUnreadCountChange:()=>ue()});return al.shared.addDataStoreListener(de),ce(),ue(),()=>{ae.remove(),de.remove()}},[]);const ce=()=>{var de;const ae=(de=De.shared.client)==null?void 0:de.options;ne({userId:ae==null?void 0:ae.userId,signIn:x,signOut:f})},ue=ae=>{const de=al.shared;oe({load:v,fetchNextPageOfMessages:m,setPaginationLimit:T,readMessage:A,unreadMessage:w,clickMessage:X,archiveMessage:M,openMessage:Y,inbox:de.inboxDataSet,archive:de.archiveDataSet,unreadCount:de.unreadCount,error:ae})};return{shared:De.shared,auth:ee,inbox:V}};var rv={exports:{}},Vm={};/**
893
763
  * @license React
894
764
  * react-jsx-runtime.production.js
895
765
  *
@@ -897,7 +767,7 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
897
767
  *
898
768
  * This source code is licensed under the MIT license found in the
899
769
  * LICENSE file in the root directory of this source tree.
900
- */var qb;function w2(){if(qb)return Zm;qb=1;var b=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function p(m,T,C){var w=null;if(C!==void 0&&(w=""+C),T.key!==void 0&&(w=""+T.key),"key"in T){C={};for(var j in T)j!=="key"&&(C[j]=T[j])}else C=T;return T=C.ref,{$$typeof:b,type:m,key:w,ref:T!==void 0?T:null,props:C}}return Zm.Fragment=f,Zm.jsx=p,Zm.jsxs=p,Zm}var $m={};/**
770
+ */var Cb;function n2(){if(Cb)return Vm;Cb=1;var x=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function v(m,T,A){var w=null;if(A!==void 0&&(w=""+A),T.key!==void 0&&(w=""+T.key),"key"in T){A={};for(var X in T)X!=="key"&&(A[X]=T[X])}else A=T;return T=A.ref,{$$typeof:x,type:m,key:w,ref:T!==void 0?T:null,props:A}}return Vm.Fragment=f,Vm.jsx=v,Vm.jsxs=v,Vm}var Gm={};/**
901
771
  * @license React
902
772
  * react-jsx-runtime.development.js
903
773
  *
@@ -905,12 +775,12 @@ This endpoint should be called from your backend server, not the SDK.`)),this.op
905
775
  *
906
776
  * This source code is licensed under the MIT license found in the
907
777
  * LICENSE file in the root directory of this source tree.
908
- */var Yb;function H2(){return Yb||(Yb=1,process.env.NODE_ENV!=="production"&&function(){function b(q){if(q==null)return null;if(typeof q=="function")return q.$$typeof===_e?null:q.displayName||q.name||null;if(typeof q=="string")return q;switch(q){case ue:return"Fragment";case de:return"Profiler";case ae:return"StrictMode";case Ye:return"Suspense";case qe:return"SuspenseList";case me:return"Activity"}if(typeof q=="object")switch(typeof q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),q.$$typeof){case se:return"Portal";case fe:return(q.displayName||"Context")+".Provider";case ke:return(q._context.displayName||"Context")+".Consumer";case xe:var pe=q.render;return q=q.displayName,q||(q=pe.displayName||pe.name||"",q=q!==""?"ForwardRef("+q+")":"ForwardRef"),q;case ze:return pe=q.displayName||null,pe!==null?pe:b(q.type)||"Memo";case at:pe=q._payload,q=q._init;try{return b(q(pe))}catch{}}return null}function f(q){return""+q}function p(q){try{f(q);var pe=!1}catch{pe=!0}if(pe){pe=console;var ie=pe.error,ve=typeof Symbol=="function"&&Symbol.toStringTag&&q[Symbol.toStringTag]||q.constructor.name||"Object";return ie.call(pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ve),f(q)}}function m(q){if(q===ue)return"<>";if(typeof q=="object"&&q!==null&&q.$$typeof===at)return"<...>";try{var pe=b(q);return pe?"<"+pe+">":"<...>"}catch{return"<...>"}}function T(){var q=Re.A;return q===null?null:q.getOwner()}function C(){return Error("react-stack-top-frame")}function w(q){if(Ee.call(q,"key")){var pe=Object.getOwnPropertyDescriptor(q,"key").get;if(pe&&pe.isReactWarning)return!1}return q.key!==void 0}function j(q,pe){function ie(){vt||(vt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pe))}ie.isReactWarning=!0,Object.defineProperty(q,"key",{get:ie,configurable:!0})}function M(){var q=b(this.type);return D[q]||(D[q]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),q=this.props.ref,q!==void 0?q:null}function Y(q,pe,ie,ve,He,rt,$e,dl){return ie=rt.ref,q={$$typeof:oe,type:q,key:pe,props:rt,_owner:He},(ie!==void 0?ie:null)!==null?Object.defineProperty(q,"ref",{enumerable:!1,get:M}):Object.defineProperty(q,"ref",{enumerable:!1,value:null}),q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.defineProperty(q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:dl}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q}function ee(q,pe,ie,ve,He,rt,$e,dl){var xt=pe.children;if(xt!==void 0)if(ve)if(et(xt)){for(ve=0;ve<xt.length;ve++)le(xt[ve]);Object.freeze&&Object.freeze(xt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(xt);if(Ee.call(pe,"key")){xt=b(q);var Gt=Object.keys(pe).filter(function(Ul){return Ul!=="key"});ve=0<Gt.length?"{key: someKey, "+Gt.join(": ..., ")+": ...}":"{key: someKey}",ge[xt+ve]||(Gt=0<Gt.length?"{"+Gt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
778
+ */var Ab;function a2(){return Ab||(Ab=1,process.env.NODE_ENV!=="production"&&function(){function x(q){if(q==null)return null;if(typeof q=="function")return q.$$typeof===Ce?null:q.displayName||q.name||null;if(typeof q=="string")return q;switch(q){case ue:return"Fragment";case de:return"Profiler";case ae:return"StrictMode";case Ye:return"Suspense";case qe:return"SuspenseList";case me:return"Activity"}if(typeof q=="object")switch(typeof q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),q.$$typeof){case ce:return"Portal";case fe:return(q.displayName||"Context")+".Provider";case ke:return(q._context.displayName||"Context")+".Consumer";case xe:var pe=q.render;return q=q.displayName,q||(q=pe.displayName||pe.name||"",q=q!==""?"ForwardRef("+q+")":"ForwardRef"),q;case Oe:return pe=q.displayName||null,pe!==null?pe:x(q.type)||"Memo";case at:pe=q._payload,q=q._init;try{return x(q(pe))}catch{}}return null}function f(q){return""+q}function v(q){try{f(q);var pe=!1}catch{pe=!0}if(pe){pe=console;var ie=pe.error,ve=typeof Symbol=="function"&&Symbol.toStringTag&&q[Symbol.toStringTag]||q.constructor.name||"Object";return ie.call(pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ve),f(q)}}function m(q){if(q===ue)return"<>";if(typeof q=="object"&&q!==null&&q.$$typeof===at)return"<...>";try{var pe=x(q);return pe?"<"+pe+">":"<...>"}catch{return"<...>"}}function T(){var q=Re.A;return q===null?null:q.getOwner()}function A(){return Error("react-stack-top-frame")}function w(q){if(Ee.call(q,"key")){var pe=Object.getOwnPropertyDescriptor(q,"key").get;if(pe&&pe.isReactWarning)return!1}return q.key!==void 0}function X(q,pe){function ie(){vt||(vt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pe))}ie.isReactWarning=!0,Object.defineProperty(q,"key",{get:ie,configurable:!0})}function M(){var q=x(this.type);return D[q]||(D[q]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),q=this.props.ref,q!==void 0?q:null}function Y(q,pe,ie,ve,Be,rt,$e,fn){return ie=rt.ref,q={$$typeof:oe,type:q,key:pe,props:rt,_owner:Be},(ie!==void 0?ie:null)!==null?Object.defineProperty(q,"ref",{enumerable:!1,get:M}):Object.defineProperty(q,"ref",{enumerable:!1,value:null}),q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.defineProperty(q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fn}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q}function ee(q,pe,ie,ve,Be,rt,$e,fn){var xt=pe.children;if(xt!==void 0)if(ve)if(et(xt)){for(ve=0;ve<xt.length;ve++)ne(xt[ve]);Object.freeze&&Object.freeze(xt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ne(xt);if(Ee.call(pe,"key")){xt=x(q);var Vt=Object.keys(pe).filter(function(On){return On!=="key"});ve=0<Vt.length?"{key: someKey, "+Vt.join(": ..., ")+": ...}":"{key: someKey}",ge[xt+ve]||(Vt=0<Vt.length?"{"+Vt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
909
779
  let props = %s;
910
780
  <%s {...props} />
911
781
  React keys must be passed directly to JSX without using spread:
912
782
  let props = %s;
913
- <%s key={someKey} {...props} />`,ve,xt,Gt,xt),ge[xt+ve]=!0)}if(xt=null,ie!==void 0&&(p(ie),xt=""+ie),w(pe)&&(p(pe.key),xt=""+pe.key),"key"in pe){ie={};for(var Tn in pe)Tn!=="key"&&(ie[Tn]=pe[Tn])}else ie=pe;return xt&&j(ie,typeof q=="function"?q.displayName||q.name||"Unknown":q),Y(q,xt,rt,He,T(),ie,$e,dl)}function le(q){typeof q=="object"&&q!==null&&q.$$typeof===oe&&q._store&&(q._store.validated=1)}var V=pt,oe=Symbol.for("react.transitional.element"),se=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),ke=Symbol.for("react.consumer"),fe=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),Ye=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),ze=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),_e=Symbol.for("react.client.reference"),Re=V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=Object.prototype.hasOwnProperty,et=Array.isArray,Mt=console.createTask?console.createTask:function(){return null};V={"react-stack-bottom-frame":function(q){return q()}};var vt,D={},W=V["react-stack-bottom-frame"].bind(V,C)(),te=Mt(m(C)),ge={};$m.Fragment=ue,$m.jsx=function(q,pe,ie,ve,He){var rt=1e4>Re.recentlyCreatedOwnerStacks++;return ee(q,pe,ie,!1,ve,He,rt?Error("react-stack-top-frame"):W,rt?Mt(m(q)):te)},$m.jsxs=function(q,pe,ie,ve,He){var rt=1e4>Re.recentlyCreatedOwnerStacks++;return ee(q,pe,ie,!0,ve,He,rt?Error("react-stack-top-frame"):W,rt?Mt(m(q)):te)}}()),$m}var Vb;function k2(){return Vb||(Vb=1,process.env.NODE_ENV==="production"?yv.exports=w2():yv.exports=H2()),yv.exports}var bv=k2(),Sv={exports:{}},Jm={},Tv={exports:{}},ey={};/**
783
+ <%s key={someKey} {...props} />`,ve,xt,Vt,xt),ge[xt+ve]=!0)}if(xt=null,ie!==void 0&&(v(ie),xt=""+ie),w(pe)&&(v(pe.key),xt=""+pe.key),"key"in pe){ie={};for(var bl in pe)bl!=="key"&&(ie[bl]=pe[bl])}else ie=pe;return xt&&X(ie,typeof q=="function"?q.displayName||q.name||"Unknown":q),Y(q,xt,rt,Be,T(),ie,$e,fn)}function ne(q){typeof q=="object"&&q!==null&&q.$$typeof===oe&&q._store&&(q._store.validated=1)}var V=pt,oe=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),ke=Symbol.for("react.consumer"),fe=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),Ye=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),Ce=Symbol.for("react.client.reference"),Re=V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=Object.prototype.hasOwnProperty,et=Array.isArray,Mt=console.createTask?console.createTask:function(){return null};V={"react-stack-bottom-frame":function(q){return q()}};var vt,D={},I=V["react-stack-bottom-frame"].bind(V,A)(),te=Mt(m(A)),ge={};Gm.Fragment=ue,Gm.jsx=function(q,pe,ie,ve,Be){var rt=1e4>Re.recentlyCreatedOwnerStacks++;return ee(q,pe,ie,!1,ve,Be,rt?Error("react-stack-top-frame"):I,rt?Mt(m(q)):te)},Gm.jsxs=function(q,pe,ie,ve,Be){var rt=1e4>Re.recentlyCreatedOwnerStacks++;return ee(q,pe,ie,!0,ve,Be,rt?Error("react-stack-top-frame"):I,rt?Mt(m(q)):te)}}()),Gm}var Mb;function i2(){return Mb||(Mb=1,process.env.NODE_ENV==="production"?rv.exports=n2():rv.exports=a2()),rv.exports}var fv=i2(),dv={exports:{}},Xm={},hv={exports:{}},Qg={};/**
914
784
  * @license React
915
785
  * scheduler.production.js
916
786
  *
@@ -918,7 +788,7 @@ React keys must be passed directly to JSX without using spread:
918
788
  *
919
789
  * This source code is licensed under the MIT license found in the
920
790
  * LICENSE file in the root directory of this source tree.
921
- */var Gb;function B2(){return Gb||(Gb=1,function(b){function f(D,W){var te=D.length;D.push(W);e:for(;0<te;){var ge=te-1>>>1,q=D[ge];if(0<T(q,W))D[ge]=W,D[te]=q,te=ge;else break e}}function p(D){return D.length===0?null:D[0]}function m(D){if(D.length===0)return null;var W=D[0],te=D.pop();if(te!==W){D[0]=te;e:for(var ge=0,q=D.length,pe=q>>>1;ge<pe;){var ie=2*(ge+1)-1,ve=D[ie],He=ie+1,rt=D[He];if(0>T(ve,te))He<q&&0>T(rt,ve)?(D[ge]=rt,D[He]=te,ge=He):(D[ge]=ve,D[ie]=te,ge=ie);else if(He<q&&0>T(rt,te))D[ge]=rt,D[He]=te,ge=He;else break e}}return W}function T(D,W){var te=D.sortIndex-W.sortIndex;return te!==0?te:D.id-W.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;b.unstable_now=function(){return C.now()}}else{var w=Date,j=w.now();b.unstable_now=function(){return w.now()-j}}var M=[],Y=[],ee=1,le=null,V=3,oe=!1,se=!1,ue=!1,ae=!1,de=typeof setTimeout=="function"?setTimeout:null,ke=typeof clearTimeout=="function"?clearTimeout:null,fe=typeof setImmediate<"u"?setImmediate:null;function xe(D){for(var W=p(Y);W!==null;){if(W.callback===null)m(Y);else if(W.startTime<=D)m(Y),W.sortIndex=W.expirationTime,f(M,W);else break;W=p(Y)}}function Ye(D){if(ue=!1,xe(D),!se)if(p(M)!==null)se=!0,qe||(qe=!0,Ee());else{var W=p(Y);W!==null&&vt(Ye,W.startTime-D)}}var qe=!1,ze=-1,at=5,me=-1;function _e(){return ae?!0:!(b.unstable_now()-me<at)}function Re(){if(ae=!1,qe){var D=b.unstable_now();me=D;var W=!0;try{e:{se=!1,ue&&(ue=!1,ke(ze),ze=-1),oe=!0;var te=V;try{t:{for(xe(D),le=p(M);le!==null&&!(le.expirationTime>D&&_e());){var ge=le.callback;if(typeof ge=="function"){le.callback=null,V=le.priorityLevel;var q=ge(le.expirationTime<=D);if(D=b.unstable_now(),typeof q=="function"){le.callback=q,xe(D),W=!0;break t}le===p(M)&&m(M),xe(D)}else m(M);le=p(M)}if(le!==null)W=!0;else{var pe=p(Y);pe!==null&&vt(Ye,pe.startTime-D),W=!1}}break e}finally{le=null,V=te,oe=!1}W=void 0}}finally{W?Ee():qe=!1}}}var Ee;if(typeof fe=="function")Ee=function(){fe(Re)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,Mt=et.port2;et.port1.onmessage=Re,Ee=function(){Mt.postMessage(null)}}else Ee=function(){de(Re,0)};function vt(D,W){ze=de(function(){D(b.unstable_now())},W)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(D){D.callback=null},b.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):at=0<D?Math.floor(1e3/D):5},b.unstable_getCurrentPriorityLevel=function(){return V},b.unstable_next=function(D){switch(V){case 1:case 2:case 3:var W=3;break;default:W=V}var te=V;V=W;try{return D()}finally{V=te}},b.unstable_requestPaint=function(){ae=!0},b.unstable_runWithPriority=function(D,W){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=V;V=D;try{return W()}finally{V=te}},b.unstable_scheduleCallback=function(D,W,te){var ge=b.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,D){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=te+q,D={id:ee++,callback:W,priorityLevel:D,startTime:te,expirationTime:q,sortIndex:-1},te>ge?(D.sortIndex=te,f(Y,D),p(M)===null&&D===p(Y)&&(ue?(ke(ze),ze=-1):ue=!0,vt(Ye,te-ge))):(D.sortIndex=q,f(M,D),se||oe||(se=!0,qe||(qe=!0,Ee()))),D},b.unstable_shouldYield=_e,b.unstable_wrapCallback=function(D){var W=V;return function(){var te=V;V=W;try{return D.apply(this,arguments)}finally{V=te}}}}(ey)),ey}var ty={};/**
791
+ */var Rb;function u2(){return Rb||(Rb=1,function(x){function f(D,I){var te=D.length;D.push(I);e:for(;0<te;){var ge=te-1>>>1,q=D[ge];if(0<T(q,I))D[ge]=I,D[te]=q,te=ge;else break e}}function v(D){return D.length===0?null:D[0]}function m(D){if(D.length===0)return null;var I=D[0],te=D.pop();if(te!==I){D[0]=te;e:for(var ge=0,q=D.length,pe=q>>>1;ge<pe;){var ie=2*(ge+1)-1,ve=D[ie],Be=ie+1,rt=D[Be];if(0>T(ve,te))Be<q&&0>T(rt,ve)?(D[ge]=rt,D[Be]=te,ge=Be):(D[ge]=ve,D[ie]=te,ge=ie);else if(Be<q&&0>T(rt,te))D[ge]=rt,D[Be]=te,ge=Be;else break e}}return I}function T(D,I){var te=D.sortIndex-I.sortIndex;return te!==0?te:D.id-I.id}if(x.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;x.unstable_now=function(){return A.now()}}else{var w=Date,X=w.now();x.unstable_now=function(){return w.now()-X}}var M=[],Y=[],ee=1,ne=null,V=3,oe=!1,ce=!1,ue=!1,ae=!1,de=typeof setTimeout=="function"?setTimeout:null,ke=typeof clearTimeout=="function"?clearTimeout:null,fe=typeof setImmediate<"u"?setImmediate:null;function xe(D){for(var I=v(Y);I!==null;){if(I.callback===null)m(Y);else if(I.startTime<=D)m(Y),I.sortIndex=I.expirationTime,f(M,I);else break;I=v(Y)}}function Ye(D){if(ue=!1,xe(D),!ce)if(v(M)!==null)ce=!0,qe||(qe=!0,Ee());else{var I=v(Y);I!==null&&vt(Ye,I.startTime-D)}}var qe=!1,Oe=-1,at=5,me=-1;function Ce(){return ae?!0:!(x.unstable_now()-me<at)}function Re(){if(ae=!1,qe){var D=x.unstable_now();me=D;var I=!0;try{e:{ce=!1,ue&&(ue=!1,ke(Oe),Oe=-1),oe=!0;var te=V;try{t:{for(xe(D),ne=v(M);ne!==null&&!(ne.expirationTime>D&&Ce());){var ge=ne.callback;if(typeof ge=="function"){ne.callback=null,V=ne.priorityLevel;var q=ge(ne.expirationTime<=D);if(D=x.unstable_now(),typeof q=="function"){ne.callback=q,xe(D),I=!0;break t}ne===v(M)&&m(M),xe(D)}else m(M);ne=v(M)}if(ne!==null)I=!0;else{var pe=v(Y);pe!==null&&vt(Ye,pe.startTime-D),I=!1}}break e}finally{ne=null,V=te,oe=!1}I=void 0}}finally{I?Ee():qe=!1}}}var Ee;if(typeof fe=="function")Ee=function(){fe(Re)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,Mt=et.port2;et.port1.onmessage=Re,Ee=function(){Mt.postMessage(null)}}else Ee=function(){de(Re,0)};function vt(D,I){Oe=de(function(){D(x.unstable_now())},I)}x.unstable_IdlePriority=5,x.unstable_ImmediatePriority=1,x.unstable_LowPriority=4,x.unstable_NormalPriority=3,x.unstable_Profiling=null,x.unstable_UserBlockingPriority=2,x.unstable_cancelCallback=function(D){D.callback=null},x.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):at=0<D?Math.floor(1e3/D):5},x.unstable_getCurrentPriorityLevel=function(){return V},x.unstable_next=function(D){switch(V){case 1:case 2:case 3:var I=3;break;default:I=V}var te=V;V=I;try{return D()}finally{V=te}},x.unstable_requestPaint=function(){ae=!0},x.unstable_runWithPriority=function(D,I){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=V;V=D;try{return I()}finally{V=te}},x.unstable_scheduleCallback=function(D,I,te){var ge=x.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,D){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=te+q,D={id:ee++,callback:I,priorityLevel:D,startTime:te,expirationTime:q,sortIndex:-1},te>ge?(D.sortIndex=te,f(Y,D),v(M)===null&&D===v(Y)&&(ue?(ke(Oe),Oe=-1):ue=!0,vt(Ye,te-ge))):(D.sortIndex=q,f(M,D),ce||oe||(ce=!0,qe||(qe=!0,Ee()))),D},x.unstable_shouldYield=Ce,x.unstable_wrapCallback=function(D){var I=V;return function(){var te=V;V=I;try{return D.apply(this,arguments)}finally{V=te}}}}(Qg)),Qg}var Zg={};/**
922
792
  * @license React
923
793
  * scheduler.development.js
924
794
  *
@@ -926,7 +796,7 @@ React keys must be passed directly to JSX without using spread:
926
796
  *
927
797
  * This source code is licensed under the MIT license found in the
928
798
  * LICENSE file in the root directory of this source tree.
929
- */var jb;function N2(){return jb||(jb=1,function(b){process.env.NODE_ENV!=="production"&&function(){function f(){if(Ye=!1,me){var D=b.unstable_now();Ee=D;var W=!0;try{e:{fe=!1,xe&&(xe=!1,ze(_e),_e=-1),ke=!0;var te=de;try{t:{for(w(D),ae=m(oe);ae!==null&&!(ae.expirationTime>D&&M());){var ge=ae.callback;if(typeof ge=="function"){ae.callback=null,de=ae.priorityLevel;var q=ge(ae.expirationTime<=D);if(D=b.unstable_now(),typeof q=="function"){ae.callback=q,w(D),W=!0;break t}ae===m(oe)&&T(oe),w(D)}else T(oe);ae=m(oe)}if(ae!==null)W=!0;else{var pe=m(se);pe!==null&&Y(j,pe.startTime-D),W=!1}}break e}finally{ae=null,de=te,ke=!1}W=void 0}}finally{W?et():me=!1}}}function p(D,W){var te=D.length;D.push(W);e:for(;0<te;){var ge=te-1>>>1,q=D[ge];if(0<C(q,W))D[ge]=W,D[te]=q,te=ge;else break e}}function m(D){return D.length===0?null:D[0]}function T(D){if(D.length===0)return null;var W=D[0],te=D.pop();if(te!==W){D[0]=te;e:for(var ge=0,q=D.length,pe=q>>>1;ge<pe;){var ie=2*(ge+1)-1,ve=D[ie],He=ie+1,rt=D[He];if(0>C(ve,te))He<q&&0>C(rt,ve)?(D[ge]=rt,D[He]=te,ge=He):(D[ge]=ve,D[ie]=te,ge=ie);else if(He<q&&0>C(rt,te))D[ge]=rt,D[He]=te,ge=He;else break e}}return W}function C(D,W){var te=D.sortIndex-W.sortIndex;return te!==0?te:D.id-W.id}function w(D){for(var W=m(se);W!==null;){if(W.callback===null)T(se);else if(W.startTime<=D)T(se),W.sortIndex=W.expirationTime,p(oe,W);else break;W=m(se)}}function j(D){if(xe=!1,w(D),!fe)if(m(oe)!==null)fe=!0,me||(me=!0,et());else{var W=m(se);W!==null&&Y(j,W.startTime-D)}}function M(){return Ye?!0:!(b.unstable_now()-Ee<Re)}function Y(D,W){_e=qe(function(){D(b.unstable_now())},W)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var ee=performance;b.unstable_now=function(){return ee.now()}}else{var le=Date,V=le.now();b.unstable_now=function(){return le.now()-V}}var oe=[],se=[],ue=1,ae=null,de=3,ke=!1,fe=!1,xe=!1,Ye=!1,qe=typeof setTimeout=="function"?setTimeout:null,ze=typeof clearTimeout=="function"?clearTimeout:null,at=typeof setImmediate<"u"?setImmediate:null,me=!1,_e=-1,Re=5,Ee=-1;if(typeof at=="function")var et=function(){at(f)};else if(typeof MessageChannel<"u"){var Mt=new MessageChannel,vt=Mt.port2;Mt.port1.onmessage=f,et=function(){vt.postMessage(null)}}else et=function(){qe(f,0)};b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(D){D.callback=null},b.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<D?Math.floor(1e3/D):5},b.unstable_getCurrentPriorityLevel=function(){return de},b.unstable_next=function(D){switch(de){case 1:case 2:case 3:var W=3;break;default:W=de}var te=de;de=W;try{return D()}finally{de=te}},b.unstable_requestPaint=function(){Ye=!0},b.unstable_runWithPriority=function(D,W){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=de;de=D;try{return W()}finally{de=te}},b.unstable_scheduleCallback=function(D,W,te){var ge=b.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,D){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=te+q,D={id:ue++,callback:W,priorityLevel:D,startTime:te,expirationTime:q,sortIndex:-1},te>ge?(D.sortIndex=te,p(se,D),m(oe)===null&&D===m(se)&&(xe?(ze(_e),_e=-1):xe=!0,Y(j,te-ge))):(D.sortIndex=q,p(oe,D),fe||ke||(fe=!0,me||(me=!0,et()))),D},b.unstable_shouldYield=M,b.unstable_wrapCallback=function(D){var W=de;return function(){var te=de;de=W;try{return D.apply(this,arguments)}finally{de=te}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(ty)),ty}var Xb;function Qb(){return Xb||(Xb=1,process.env.NODE_ENV==="production"?Tv.exports=B2():Tv.exports=N2()),Tv.exports}/**
799
+ */var Db;function o2(){return Db||(Db=1,function(x){process.env.NODE_ENV!=="production"&&function(){function f(){if(Ye=!1,me){var D=x.unstable_now();Ee=D;var I=!0;try{e:{fe=!1,xe&&(xe=!1,Oe(Ce),Ce=-1),ke=!0;var te=de;try{t:{for(w(D),ae=m(oe);ae!==null&&!(ae.expirationTime>D&&M());){var ge=ae.callback;if(typeof ge=="function"){ae.callback=null,de=ae.priorityLevel;var q=ge(ae.expirationTime<=D);if(D=x.unstable_now(),typeof q=="function"){ae.callback=q,w(D),I=!0;break t}ae===m(oe)&&T(oe),w(D)}else T(oe);ae=m(oe)}if(ae!==null)I=!0;else{var pe=m(ce);pe!==null&&Y(X,pe.startTime-D),I=!1}}break e}finally{ae=null,de=te,ke=!1}I=void 0}}finally{I?et():me=!1}}}function v(D,I){var te=D.length;D.push(I);e:for(;0<te;){var ge=te-1>>>1,q=D[ge];if(0<A(q,I))D[ge]=I,D[te]=q,te=ge;else break e}}function m(D){return D.length===0?null:D[0]}function T(D){if(D.length===0)return null;var I=D[0],te=D.pop();if(te!==I){D[0]=te;e:for(var ge=0,q=D.length,pe=q>>>1;ge<pe;){var ie=2*(ge+1)-1,ve=D[ie],Be=ie+1,rt=D[Be];if(0>A(ve,te))Be<q&&0>A(rt,ve)?(D[ge]=rt,D[Be]=te,ge=Be):(D[ge]=ve,D[ie]=te,ge=ie);else if(Be<q&&0>A(rt,te))D[ge]=rt,D[Be]=te,ge=Be;else break e}}return I}function A(D,I){var te=D.sortIndex-I.sortIndex;return te!==0?te:D.id-I.id}function w(D){for(var I=m(ce);I!==null;){if(I.callback===null)T(ce);else if(I.startTime<=D)T(ce),I.sortIndex=I.expirationTime,v(oe,I);else break;I=m(ce)}}function X(D){if(xe=!1,w(D),!fe)if(m(oe)!==null)fe=!0,me||(me=!0,et());else{var I=m(ce);I!==null&&Y(X,I.startTime-D)}}function M(){return Ye?!0:!(x.unstable_now()-Ee<Re)}function Y(D,I){Ce=qe(function(){D(x.unstable_now())},I)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),x.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var ee=performance;x.unstable_now=function(){return ee.now()}}else{var ne=Date,V=ne.now();x.unstable_now=function(){return ne.now()-V}}var oe=[],ce=[],ue=1,ae=null,de=3,ke=!1,fe=!1,xe=!1,Ye=!1,qe=typeof setTimeout=="function"?setTimeout:null,Oe=typeof clearTimeout=="function"?clearTimeout:null,at=typeof setImmediate<"u"?setImmediate:null,me=!1,Ce=-1,Re=5,Ee=-1;if(typeof at=="function")var et=function(){at(f)};else if(typeof MessageChannel<"u"){var Mt=new MessageChannel,vt=Mt.port2;Mt.port1.onmessage=f,et=function(){vt.postMessage(null)}}else et=function(){qe(f,0)};x.unstable_IdlePriority=5,x.unstable_ImmediatePriority=1,x.unstable_LowPriority=4,x.unstable_NormalPriority=3,x.unstable_Profiling=null,x.unstable_UserBlockingPriority=2,x.unstable_cancelCallback=function(D){D.callback=null},x.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<D?Math.floor(1e3/D):5},x.unstable_getCurrentPriorityLevel=function(){return de},x.unstable_next=function(D){switch(de){case 1:case 2:case 3:var I=3;break;default:I=de}var te=de;de=I;try{return D()}finally{de=te}},x.unstable_requestPaint=function(){Ye=!0},x.unstable_runWithPriority=function(D,I){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=de;de=D;try{return I()}finally{de=te}},x.unstable_scheduleCallback=function(D,I,te){var ge=x.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,D){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=te+q,D={id:ue++,callback:I,priorityLevel:D,startTime:te,expirationTime:q,sortIndex:-1},te>ge?(D.sortIndex=te,v(ce,D),m(oe)===null&&D===m(ce)&&(xe?(Oe(Ce),Ce=-1):xe=!0,Y(X,te-ge))):(D.sortIndex=q,v(oe,D),fe||ke||(fe=!0,me||(me=!0,et()))),D},x.unstable_shouldYield=M,x.unstable_wrapCallback=function(D){var I=de;return function(){var te=de;de=I;try{return D.apply(this,arguments)}finally{de=te}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(Zg)),Zg}var zb;function Ob(){return zb||(zb=1,process.env.NODE_ENV==="production"?hv.exports=u2():hv.exports=o2()),hv.exports}/**
930
800
  * @license React
931
801
  * react-dom-client.production.js
932
802
  *
@@ -934,15 +804,15 @@ React keys must be passed directly to JSX without using spread:
934
804
  *
935
805
  * This source code is licensed under the MIT license found in the
936
806
  * LICENSE file in the root directory of this source tree.
937
- */var Zb;function L2(){if(Zb)return Jm;Zb=1;var b=Qb(),f=pt,p=Xg;function m(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)a+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function T(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function C(n){var a=n,i=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(i=a.return),n=a.return;while(n)}return a.tag===3?i:null}function w(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function j(n){if(C(n)!==n)throw Error(m(188))}function M(n){var a=n.alternate;if(!a){if(a=C(n),a===null)throw Error(m(188));return a!==n?null:n}for(var i=n,o=a;;){var r=i.return;if(r===null)break;var d=r.alternate;if(d===null){if(o=r.return,o!==null){i=o;continue}break}if(r.child===d.child){for(d=r.child;d;){if(d===i)return j(r),n;if(d===o)return j(r),a;d=d.sibling}throw Error(m(188))}if(i.return!==o.return)i=r,o=d;else{for(var g=!1,y=r.child;y;){if(y===i){g=!0,i=r,o=d;break}if(y===o){g=!0,o=r,i=d;break}y=y.sibling}if(!g){for(y=d.child;y;){if(y===i){g=!0,i=d,o=r;break}if(y===o){g=!0,o=d,i=r;break}y=y.sibling}if(!g)throw Error(m(189))}}if(i.alternate!==o)throw Error(m(190))}if(i.tag!==3)throw Error(m(188));return i.stateNode.current===i?n:a}function Y(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=Y(n),a!==null)return a;n=n.sibling}return null}var ee=Object.assign,le=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),ke=Symbol.for("react.consumer"),fe=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),Ye=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),ze=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),_e=Symbol.for("react.memo_cache_sentinel"),Re=Symbol.iterator;function Ee(n){return n===null||typeof n!="object"?null:(n=Re&&n[Re]||n["@@iterator"],typeof n=="function"?n:null)}var et=Symbol.for("react.client.reference");function Mt(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===et?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case se:return"Fragment";case ae:return"Profiler";case ue:return"StrictMode";case Ye:return"Suspense";case qe:return"SuspenseList";case me:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case oe:return"Portal";case fe:return(n.displayName||"Context")+".Provider";case ke:return(n._context.displayName||"Context")+".Consumer";case xe:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ze:return a=n.displayName||null,a!==null?a:Mt(n.type)||"Memo";case at:a=n._payload,n=n._init;try{return Mt(n(a))}catch{}}return null}var vt=Array.isArray,D=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=p.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ge=[],q=-1;function pe(n){return{current:n}}function ie(n){0>q||(n.current=ge[q],ge[q]=null,q--)}function ve(n,a){q++,ge[q]=n.current,n.current=a}var He=pe(null),rt=pe(null),$e=pe(null),dl=pe(null);function xt(n,a){switch(ve($e,a),ve(rt,n),ve(He,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?ku(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=ku(a),n=vr(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}ie(He),ve(He,n)}function Gt(){ie(He),ie(rt),ie($e)}function Tn(n){n.memoizedState!==null&&ve(dl,n);var a=He.current,i=vr(a,n.type);a!==i&&(ve(rt,n),ve(He,i))}function Ul(n){rt.current===n&&(ie(He),ie(rt)),dl.current===n&&(ie(dl),zl._currentValue=te)}var ti=Object.prototype.hasOwnProperty,wl=b.unstable_scheduleCallback,uu=b.unstable_cancelCallback,Jo=b.unstable_shouldYield,Hl=b.unstable_requestPaint,hn=b.unstable_now,Aa=b.unstable_getCurrentPriorityLevel,$u=b.unstable_ImmediatePriority,ou=b.unstable_UserBlockingPriority,Ma=b.unstable_NormalPriority,su=b.unstable_LowPriority,tl=b.unstable_IdlePriority,cu=b.log,re=b.unstable_setDisableYieldValue,zt=null,Bt=null;function xn(n){if(typeof cu=="function"&&re(n),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode(zt,n)}catch{}}var Ot=Math.clz32?Math.clz32:Bd,ru=Math.log,Xr=Math.LN2;function Bd(n){return n>>>=0,n===0?32:31-(ru(n)/Xr|0)|0}var fu=256,ta=4194304;function Xn(n){var a=n&42;if(a!==0)return a;switch(n&-n){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:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ra(n,a,i){var o=n.pendingLanes;if(o===0)return 0;var r=0,d=n.suspendedLanes,g=n.pingedLanes;n=n.warmLanes;var y=o&134217727;return y!==0?(o=y&~d,o!==0?r=Xn(o):(g&=y,g!==0?r=Xn(g):i||(i=y&~n,i!==0&&(r=Xn(i))))):(y=o&~d,y!==0?r=Xn(y):g!==0?r=Xn(g):i||(i=o&~n,i!==0&&(r=Xn(i)))),r===0?0:a!==0&&a!==r&&(a&d)===0&&(d=r&-r,i=a&-a,d>=i||d===32&&(i&4194048)!==0)?a:r}function kl(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function nn(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Da(){var n=fu;return fu<<=1,(fu&4194048)===0&&(fu=256),n}function ni(){var n=ta;return ta<<=1,(ta&62914560)===0&&(ta=4194304),n}function za(n){for(var a=[],i=0;31>i;i++)a.push(n);return a}function li(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Qr(n,a,i,o,r,d){var g=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var y=n.entanglements,E=n.expirationTimes,H=n.hiddenUpdates;for(i=g&~i;0<i;){var I=31-Ot(i),P=1<<I;y[I]=0,E[I]=-1;var B=H[I];if(B!==null)for(H[I]=null,I=0;I<B.length;I++){var L=B[I];L!==null&&(L.lane&=-536870913)}i&=~P}o!==0&&Ju(n,o,0),d!==0&&r===0&&n.tag!==0&&(n.suspendedLanes|=d&~(g&~a))}function Ju(n,a,i){n.pendingLanes|=a,n.suspendedLanes&=~a;var o=31-Ot(a);n.entangledLanes|=a,n.entanglements[o]=n.entanglements[o]|1073741824|i&4194090}function Ku(n,a){var i=n.entangledLanes|=a;for(n=n.entanglements;i;){var o=31-Ot(i),r=1<<o;r&a|n[o]&a&&(n[o]|=a),i&=~r}}function hl(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Ko(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Zr(){var n=W.p;return n!==0?n:(n=window.event,n===void 0?32:x0(n.type))}function Nd(n,a){var i=W.p;try{return W.p=n,a()}finally{W.p=i}}var Zt=Math.random().toString(36).slice(2),ln="__reactFiber$"+Zt,En="__reactProps$"+Zt,du="__reactContainer$"+Zt,Io="__reactEvents$"+Zt,$r="__reactListeners$"+Zt,Wo="__reactHandles$"+Zt,Jr="__reactResources$"+Zt,ye="__reactMarker$"+Zt;function Iu(n){delete n[ln],delete n[En],delete n[Io],delete n[$r],delete n[Wo]}function on(n){var a=n[ln];if(a)return a;for(var i=n.parentNode;i;){if(a=i[du]||i[ln]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(n=qn(n);n!==null;){if(i=n[ln])return i;n=qn(n)}return a}n=i,i=n.parentNode}return null}function ai(n){if(n=n[ln]||n[du]){var a=n.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return n}return null}function Wu(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(m(33))}function na(n){var a=n[Jr];return a||(a=n[Jr]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function $t(n){n[ye]=!0}var Fu=new Set,Qn={};function Oa(n,a){Ua(n,a),Ua(n+"Capture",a)}function Ua(n,a){for(Qn[n]=a,n=0;n<a.length;n++)Fu.add(a[n])}var Kr=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]*$"),Fo={},ac={};function Ir(n){return ti.call(ac,n)?!0:ti.call(Fo,n)?!1:Kr.test(n)?ac[n]=!0:(Fo[n]=!0,!1)}function la(n,a,i){if(Ir(a))if(i===null)n.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+i)}}function Pu(n,a,i){if(i===null)n.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+i)}}function Bl(n,a,i,o){if(o===null)n.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(a,i,""+o)}}var Po,ic;function ii(n){if(Po===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Po=a&&a[1]||"",ic=-1<i.stack.indexOf(`
807
+ */var Ub;function c2(){if(Ub)return Xm;Ub=1;var x=Ob(),f=pt,v=kg;function m(l){var a="https://react.dev/errors/"+l;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)a+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+l+"; visit "+a+" 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 A(l){var a=l,i=l;if(l.alternate)for(;a.return;)a=a.return;else{l=a;do a=l,(a.flags&4098)!==0&&(i=a.return),l=a.return;while(l)}return a.tag===3?i:null}function w(l){if(l.tag===13){var a=l.memoizedState;if(a===null&&(l=l.alternate,l!==null&&(a=l.memoizedState)),a!==null)return a.dehydrated}return null}function X(l){if(A(l)!==l)throw Error(m(188))}function M(l){var a=l.alternate;if(!a){if(a=A(l),a===null)throw Error(m(188));return a!==l?null:l}for(var i=l,o=a;;){var r=i.return;if(r===null)break;var d=r.alternate;if(d===null){if(o=r.return,o!==null){i=o;continue}break}if(r.child===d.child){for(d=r.child;d;){if(d===i)return X(r),l;if(d===o)return X(r),a;d=d.sibling}throw Error(m(188))}if(i.return!==o.return)i=r,o=d;else{for(var g=!1,y=r.child;y;){if(y===i){g=!0,i=r,o=d;break}if(y===o){g=!0,o=r,i=d;break}y=y.sibling}if(!g){for(y=d.child;y;){if(y===i){g=!0,i=d,o=r;break}if(y===o){g=!0,o=d,i=r;break}y=y.sibling}if(!g)throw Error(m(189))}}if(i.alternate!==o)throw Error(m(190))}if(i.tag!==3)throw Error(m(188));return i.stateNode.current===i?l:a}function Y(l){var a=l.tag;if(a===5||a===26||a===27||a===6)return l;for(l=l.child;l!==null;){if(a=Y(l),a!==null)return a;l=l.sibling}return null}var ee=Object.assign,ne=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),ke=Symbol.for("react.consumer"),fe=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),Ye=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Oe=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),Ce=Symbol.for("react.memo_cache_sentinel"),Re=Symbol.iterator;function Ee(l){return l===null||typeof l!="object"?null:(l=Re&&l[Re]||l["@@iterator"],typeof l=="function"?l:null)}var et=Symbol.for("react.client.reference");function Mt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===et?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ce:return"Fragment";case ae:return"Profiler";case ue:return"StrictMode";case Ye:return"Suspense";case qe:return"SuspenseList";case me:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case oe:return"Portal";case fe:return(l.displayName||"Context")+".Provider";case ke:return(l._context.displayName||"Context")+".Consumer";case xe:var a=l.render;return l=l.displayName,l||(l=a.displayName||a.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Oe:return a=l.displayName||null,a!==null?a:Mt(l.type)||"Memo";case at:a=l._payload,l=l._init;try{return Mt(l(a))}catch{}}return null}var vt=Array.isArray,D=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=v.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ge=[],q=-1;function pe(l){return{current:l}}function ie(l){0>q||(l.current=ge[q],ge[q]=null,q--)}function ve(l,a){q++,ge[q]=l.current,l.current=a}var Be=pe(null),rt=pe(null),$e=pe(null),fn=pe(null);function xt(l,a){switch(ve($e,a),ve(rt,l),ve(Be,null),a.nodeType){case 9:case 11:l=(l=a.documentElement)&&(l=l.namespaceURI)?Hu(l):0;break;default:if(l=a.tagName,a=a.namespaceURI)a=Hu(a),l=hr(a,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ie(Be),ve(Be,l)}function Vt(){ie(Be),ie(rt),ie($e)}function bl(l){l.memoizedState!==null&&ve(fn,l);var a=Be.current,i=hr(a,l.type);a!==i&&(ve(rt,l),ve(Be,i))}function On(l){rt.current===l&&(ie(Be),ie(rt)),fn.current===l&&(ie(fn),Dn._currentValue=te)}var ei=Object.prototype.hasOwnProperty,Un=x.unstable_scheduleCallback,au=x.unstable_cancelCallback,Qo=x.unstable_shouldYield,Hn=x.unstable_requestPaint,fl=x.unstable_now,Ca=x.unstable_getCurrentPriorityLevel,Qu=x.unstable_ImmediatePriority,iu=x.unstable_UserBlockingPriority,Aa=x.unstable_NormalPriority,uu=x.unstable_LowPriority,Pl=x.unstable_IdlePriority,ou=x.log,re=x.unstable_setDisableYieldValue,zt=null,Bt=null;function Sl(l){if(typeof ou=="function"&&re(l),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode(zt,l)}catch{}}var Ot=Math.clz32?Math.clz32:Od,cu=Math.log,qr=Math.LN2;function Od(l){return l>>>=0,l===0?32:31-(cu(l)/qr|0)|0}var su=256,ea=4194304;function Gl(l){var a=l&42;if(a!==0)return a;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:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;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 Ma(l,a,i){var o=l.pendingLanes;if(o===0)return 0;var r=0,d=l.suspendedLanes,g=l.pingedLanes;l=l.warmLanes;var y=o&134217727;return y!==0?(o=y&~d,o!==0?r=Gl(o):(g&=y,g!==0?r=Gl(g):i||(i=y&~l,i!==0&&(r=Gl(i))))):(y=o&~d,y!==0?r=Gl(y):g!==0?r=Gl(g):i||(i=o&~l,i!==0&&(r=Gl(i)))),r===0?0:a!==0&&a!==r&&(a&d)===0&&(d=r&-r,i=a&-a,d>=i||d===32&&(i&4194048)!==0)?a:r}function wn(l,a){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&a)===0}function tl(l,a){switch(l){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Ra(){var l=su;return su<<=1,(su&4194048)===0&&(su=256),l}function ti(){var l=ea;return ea<<=1,(ea&62914560)===0&&(ea=4194304),l}function Da(l){for(var a=[],i=0;31>i;i++)a.push(l);return a}function li(l,a){l.pendingLanes|=a,a!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Yr(l,a,i,o,r,d){var g=l.pendingLanes;l.pendingLanes=i,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=i,l.entangledLanes&=i,l.errorRecoveryDisabledLanes&=i,l.shellSuspendCounter=0;var y=l.entanglements,E=l.expirationTimes,H=l.hiddenUpdates;for(i=g&~i;0<i;){var W=31-Ot(i),P=1<<W;y[W]=0,E[W]=-1;var k=H[W];if(k!==null)for(H[W]=null,W=0;W<k.length;W++){var L=k[W];L!==null&&(L.lane&=-536870913)}i&=~P}o!==0&&Zu(l,o,0),d!==0&&r===0&&l.tag!==0&&(l.suspendedLanes|=d&~(g&~a))}function Zu(l,a,i){l.pendingLanes|=a,l.suspendedLanes&=~a;var o=31-Ot(a);l.entangledLanes|=a,l.entanglements[o]=l.entanglements[o]|1073741824|i&4194090}function $u(l,a){var i=l.entangledLanes|=a;for(l=l.entanglements;i;){var o=31-Ot(i),r=1<<o;r&a|l[o]&a&&(l[o]|=a),i&=~r}}function dn(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 Zo(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Vr(){var l=I.p;return l!==0?l:(l=window.event,l===void 0?32:gp(l.type))}function Ud(l,a){var i=I.p;try{return I.p=l,a()}finally{I.p=i}}var Qt=Math.random().toString(36).slice(2),ll="__reactFiber$"+Qt,Tl="__reactProps$"+Qt,ru="__reactContainer$"+Qt,$o="__reactEvents$"+Qt,Gr="__reactListeners$"+Qt,Jo="__reactHandles$"+Qt,Xr="__reactResources$"+Qt,ye="__reactMarker$"+Qt;function Ju(l){delete l[ll],delete l[Tl],delete l[$o],delete l[Gr],delete l[Jo]}function il(l){var a=l[ll];if(a)return a;for(var i=l.parentNode;i;){if(a=i[ru]||i[ll]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(l=Nl(l);l!==null;){if(i=l[ll])return i;l=Nl(l)}return a}l=i,i=l.parentNode}return null}function ni(l){if(l=l[ll]||l[ru]){var a=l.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return l}return null}function Ku(l){var a=l.tag;if(a===5||a===26||a===27||a===6)return l.stateNode;throw Error(m(33))}function ta(l){var a=l[Xr];return a||(a=l[Xr]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Zt(l){l[ye]=!0}var Wu=new Set,Xl={};function za(l,a){Oa(l,a),Oa(l+"Capture",a)}function Oa(l,a){for(Xl[l]=a,l=0;l<a.length;l++)Wu.add(a[l])}var jr=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]*$"),Ko={},ts={};function Qr(l){return ei.call(ts,l)?!0:ei.call(Ko,l)?!1:jr.test(l)?ts[l]=!0:(Ko[l]=!0,!1)}function la(l,a,i){if(Qr(a))if(i===null)l.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":l.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){l.removeAttribute(a);return}}l.setAttribute(a,""+i)}}function Iu(l,a,i){if(i===null)l.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttribute(a,""+i)}}function Bn(l,a,i,o){if(o===null)l.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(i);return}l.setAttributeNS(a,i,""+o)}}var Wo,ls;function ai(l){if(Wo===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Wo=a&&a[1]||"",ls=-1<i.stack.indexOf(`
938
808
  at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
939
- `+Po+n+ic}var Cn=!1;function wa(n,a){if(!n||Cn)return"";Cn=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(L){var B=L}Reflect.construct(n,[],P)}else{try{P.call()}catch(L){B=L}n.call(P.prototype)}}else{try{throw Error()}catch(L){B=L}(P=n())&&typeof P.catch=="function"&&P.catch(function(){})}}catch(L){if(L&&B&&typeof L.stack=="string")return[L.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],y=d[1];if(g&&y){var E=g.split(`
809
+ `+Wo+l+ls}var xl=!1;function Ua(l,a){if(!l||xl)return"";xl=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(L){var k=L}Reflect.construct(l,[],P)}else{try{P.call()}catch(L){k=L}l.call(P.prototype)}}else{try{throw Error()}catch(L){k=L}(P=l())&&typeof P.catch=="function"&&P.catch(function(){})}}catch(L){if(L&&k&&typeof L.stack=="string")return[L.stack,k.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],y=d[1];if(g&&y){var E=g.split(`
940
810
  `),H=y.split(`
941
- `);for(r=o=0;o<E.length&&!E[o].includes("DetermineComponentFrameRoot");)o++;for(;r<H.length&&!H[r].includes("DetermineComponentFrameRoot");)r++;if(o===E.length||r===H.length)for(o=E.length-1,r=H.length-1;1<=o&&0<=r&&E[o]!==H[r];)r--;for(;1<=o&&0<=r;o--,r--)if(E[o]!==H[r]){if(o!==1||r!==1)do if(o--,r--,0>r||E[o]!==H[r]){var I=`
942
- `+E[o].replace(" at new "," at ");return n.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",n.displayName)),I}while(1<=o&&0<=r);break}}}finally{Cn=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?ii(i):""}function ui(n){switch(n.tag){case 26:case 27:case 5:return ii(n.type);case 16:return ii("Lazy");case 13:return ii("Suspense");case 19:return ii("SuspenseList");case 0:case 15:return wa(n.type,!1);case 11:return wa(n.type.render,!1);case 1:return wa(n.type,!0);case 31:return ii("Activity");default:return""}}function uc(n){try{var a="";do a+=ui(n),n=n.return;while(n);return a}catch(i){return`
811
+ `);for(r=o=0;o<E.length&&!E[o].includes("DetermineComponentFrameRoot");)o++;for(;r<H.length&&!H[r].includes("DetermineComponentFrameRoot");)r++;if(o===E.length||r===H.length)for(o=E.length-1,r=H.length-1;1<=o&&0<=r&&E[o]!==H[r];)r--;for(;1<=o&&0<=r;o--,r--)if(E[o]!==H[r]){if(o!==1||r!==1)do if(o--,r--,0>r||E[o]!==H[r]){var W=`
812
+ `+E[o].replace(" at new "," at ");return l.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",l.displayName)),W}while(1<=o&&0<=r);break}}}finally{xl=!1,Error.prepareStackTrace=i}return(i=l?l.displayName||l.name:"")?ai(i):""}function ii(l){switch(l.tag){case 26:case 27:case 5:return ai(l.type);case 16:return ai("Lazy");case 13:return ai("Suspense");case 19:return ai("SuspenseList");case 0:case 15:return Ua(l.type,!1);case 11:return Ua(l.type.render,!1);case 1:return Ua(l.type,!0);case 31:return ai("Activity");default:return""}}function ns(l){try{var a="";do a+=ii(l),l=l.return;while(l);return a}catch(i){return`
943
813
  Error generating stack: `+i.message+`
944
- `+i.stack}}function mn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function eo(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function oc(n){var a=eo(n)?"checked":"value",i=Object.getOwnPropertyDescriptor(n.constructor.prototype,a),o=""+n[a];if(!n.hasOwnProperty(a)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,d=i.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return r.call(this)},set:function(g){o=""+g,d.call(this,g)}}),Object.defineProperty(n,a,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(g){o=""+g},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Ha(n){n._valueTracker||(n._valueTracker=oc(n))}function oi(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var i=a.getValue(),o="";return n&&(o=eo(n)?n.checked?"true":"false":n.value),n=o,n!==i?(a.setValue(n),!0):!1}function hu(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Ld=/[\n"\\]/g;function nl(n){return n.replace(Ld,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function es(n,a,i,o,r,d,g,y){n.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?n.type=g:n.removeAttribute("type"),a!=null?g==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+mn(a)):n.value!==""+mn(a)&&(n.value=""+mn(a)):g!=="submit"&&g!=="reset"||n.removeAttribute("value"),a!=null?to(n,g,mn(a)):i!=null?to(n,g,mn(i)):o!=null&&n.removeAttribute("value"),r==null&&d!=null&&(n.defaultChecked=!!d),r!=null&&(n.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?n.name=""+mn(y):n.removeAttribute("name")}function ts(n,a,i,o,r,d,g,y){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(n.type=d),a!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||a!=null))return;i=i!=null?""+mn(i):"",a=a!=null?""+mn(a):i,y||a===n.value||(n.value=a),n.defaultValue=a}o=o??r,o=typeof o!="function"&&typeof o!="symbol"&&!!o,n.checked=y?n.checked:!!o,n.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.name=g)}function to(n,a,i){a==="number"&&hu(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function si(n,a,i,o){if(n=n.options,a){a={};for(var r=0;r<i.length;r++)a["$"+i[r]]=!0;for(i=0;i<n.length;i++)r=a.hasOwnProperty("$"+n[i].value),n[i].selected!==r&&(n[i].selected=r),r&&o&&(n[i].defaultSelected=!0)}else{for(i=""+mn(i),a=null,r=0;r<n.length;r++){if(n[r].value===i){n[r].selected=!0,o&&(n[r].defaultSelected=!0);return}a!==null||n[r].disabled||(a=n[r])}a!==null&&(a.selected=!0)}}function sc(n,a,i){if(a!=null&&(a=""+mn(a),a!==n.value&&(n.value=a),i==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=i!=null?""+mn(i):""}function cc(n,a,i,o){if(a==null){if(o!=null){if(i!=null)throw Error(m(92));if(vt(o)){if(1<o.length)throw Error(m(93));o=o[0]}i=o}i==null&&(i=""),a=i}i=mn(a),n.defaultValue=i,o=n.textContent,o===i&&o!==""&&o!==null&&(n.value=o)}function mu(n,a){if(a){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=a;return}}n.textContent=a}var Wr=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 ns(n,a,i){var o=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":o?n.setProperty(a,i):typeof i!="number"||i===0||Wr.has(a)?a==="float"?n.cssFloat=i:n[a]=(""+i).trim():n[a]=i+"px"}function no(n,a,i){if(a!=null&&typeof a!="object")throw Error(m(62));if(n=n.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="");for(var r in a)o=a[r],a.hasOwnProperty(r)&&i[r]!==o&&ns(n,r,o)}else for(var d in a)a.hasOwnProperty(d)&&ns(n,d,a[d])}function ci(n){if(n.indexOf("-")===-1)return!1;switch(n){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 qd=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"]]),Fr=/^[\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 lo(n){return Fr.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var ri=null;function ls(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var pu=null,vu=null;function Pr(n){var a=ai(n);if(a&&(n=a.stateNode)){var i=n[En]||null;e:switch(n=a.stateNode,a.type){case"input":if(es(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+nl(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var o=i[a];if(o!==n&&o.form===n.form){var r=o[En]||null;if(!r)throw Error(m(90));es(o,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(a=0;a<i.length;a++)o=i[a],o.form===n.form&&oi(o)}break e;case"textarea":sc(n,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&si(n,!!i.multiple,a,!1)}}}var rc=!1;function gu(n,a,i){if(rc)return n(a,i);rc=!0;try{var o=n(a);return o}finally{if(rc=!1,(pu!==null||vu!==null)&&(Ns(),pu&&(a=pu,n=vu,vu=pu=null,Pr(a),n)))for(a=0;a<n.length;a++)Pr(n[a])}}function fi(n,a){var i=n.stateNode;if(i===null)return null;var o=i[En]||null;if(o===null)return null;i=o[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(m(231,a,typeof i));return i}var Nl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),as=!1;if(Nl)try{var aa={};Object.defineProperty(aa,"passive",{get:function(){as=!0}}),window.addEventListener("test",aa,aa),window.removeEventListener("test",aa,aa)}catch{as=!1}var ia=null,yu=null,di=null;function fc(){if(di)return di;var n,a=yu,i=a.length,o,r="value"in ia?ia.value:ia.textContent,d=r.length;for(n=0;n<i&&a[n]===r[n];n++);var g=i-n;for(o=1;o<=g&&a[i-o]===r[d-o];o++);return di=r.slice(n,1<o?1-o:void 0)}function sn(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function is(){return!0}function us(){return!1}function _n(n){function a(i,o,r,d,g){this._reactName=i,this._targetInst=r,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var y in n)n.hasOwnProperty(y)&&(i=n[y],this[y]=i?i(d):d[y]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?is:us,this.isPropagationStopped=us,this}return ee(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=is)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=is)},persist:function(){},isPersistent:is}),a}var ka={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},os=_n(ka),ao=ee({},ka,{view:0,detail:0}),ef=_n(ao),dc,ss,io,hi=ee({},ao,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ua,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==io&&(io&&n.type==="mousemove"?(dc=n.screenX-io.screenX,ss=n.screenY-io.screenY):ss=dc=0,io=n),dc)},movementY:function(n){return"movementY"in n?n.movementY:ss}}),hc=_n(hi),tf=ee({},hi,{dataTransfer:0}),nf=_n(tf),Yd=ee({},ao,{relatedTarget:0}),mc=_n(Yd),Vd=ee({},ka,{animationName:0,elapsedTime:0,pseudoElement:0}),Gd=_n(Vd),jd=ee({},ka,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),uo=_n(jd),lf=ee({},ka,{data:0}),pc=_n(lf),af={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uf={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"},vc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function of(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=vc[n])?!!a[n]:!1}function ua(){return of}var mi=ee({},ao,{key:function(n){if(n.key){var a=af[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=sn(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?uf[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ua,charCode:function(n){return n.type==="keypress"?sn(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?sn(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),ml=_n(mi),Zn=ee({},hi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),oo=_n(Zn),cs=ee({},ao,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ua}),gc=_n(cs),wn=ee({},ka,{propertyName:0,elapsedTime:0,pseudoElement:0}),sf=_n(wn),rs=ee({},hi,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),pi=_n(rs),yc=ee({},ka,{newState:0,oldState:0}),cf=_n(yc),rf=[9,13,27,32],so=Nl&&"CompositionEvent"in window,co=null;Nl&&"documentMode"in document&&(co=document.documentMode);var bc=Nl&&"TextEvent"in window&&!co,Ll=Nl&&(!so||co&&8<co&&11>=co),Sc=" ",fs=!1;function ro(n,a){switch(n){case"keyup":return rf.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ba(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Na=!1;function Tc(n,a){switch(n){case"compositionend":return Ba(a);case"keypress":return a.which!==32?null:(fs=!0,Sc);case"textInput":return n=a.data,n===Sc&&fs?null:n;default:return null}}function vi(n,a){if(Na)return n==="compositionend"||!so&&ro(n,a)?(n=fc(),di=yu=ia=null,Na=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Ll&&a.locale!=="ko"?null:a.data;default:return null}}var ff={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 ds(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!ff[n.type]:a==="textarea"}function hs(n,a,i,o){pu?vu?vu.push(o):vu=[o]:pu=o,a=pr(a,"onChange"),0<a.length&&(i=new os("onChange","change",null,i,o),n.push({event:i,listeners:a}))}var pl=null,vl=null;function xc(n){Vs(n,0)}function ql(n){var a=Wu(n);if(oi(a))return n}function Ec(n,a){if(n==="change")return a}var Cc=!1;if(Nl){var gi;if(Nl){var yi="oninput"in document;if(!yi){var _c=document.createElement("div");_c.setAttribute("oninput","return;"),yi=typeof _c.oninput=="function"}gi=yi}else gi=!1;Cc=gi&&(!document.documentMode||9<document.documentMode)}function bu(){pl&&(pl.detachEvent("onpropertychange",Ac),vl=pl=null)}function Ac(n){if(n.propertyName==="value"&&ql(vl)){var a=[];hs(a,vl,n,ls(n)),gu(xc,a)}}function ms(n,a,i){n==="focusin"?(bu(),pl=a,vl=i,pl.attachEvent("onpropertychange",Ac)):n==="focusout"&&bu()}function La(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ql(vl)}function oa(n,a){if(n==="click")return ql(a)}function Mc(n,a){if(n==="input"||n==="change")return ql(a)}function Rc(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var cn=typeof Object.is=="function"?Object.is:Rc;function qa(n,a){if(cn(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var i=Object.keys(n),o=Object.keys(a);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var r=i[o];if(!ti.call(a,r)||!cn(n[r],a[r]))return!1}return!0}function Ya(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Et(n,a){var i=Ya(n);n=0;for(var o;i;){if(i.nodeType===3){if(o=n+i.textContent.length,n<=a&&o>=a)return{node:i,offset:a-n};n=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ya(i)}}function fo(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?fo(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Dc(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=hu(n.document);a instanceof n.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)n=a.contentWindow;else break;a=hu(n.document)}return a}function ho(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var bi=Nl&&"documentMode"in document&&11>=document.documentMode,Yl=null,gl=null,Va=null,Si=!1;function ps(n,a,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Si||Yl==null||Yl!==hu(o)||(o=Yl,"selectionStart"in o&&ho(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Va&&qa(Va,o)||(Va=o,o=pr(gl,"onSelect"),0<o.length&&(a=new os("onSelect","select",null,a,i),n.push({event:a,listeners:o}),a.target=Yl)))}function sa(n,a){var i={};return i[n.toLowerCase()]=a.toLowerCase(),i["Webkit"+n]="webkit"+a,i["Moz"+n]="moz"+a,i}var Ti={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionrun:sa("Transition","TransitionRun"),transitionstart:sa("Transition","TransitionStart"),transitioncancel:sa("Transition","TransitionCancel"),transitionend:sa("Transition","TransitionEnd")},ll={},yl={};Nl&&(yl=document.createElement("div").style,"AnimationEvent"in window||(delete Ti.animationend.animation,delete Ti.animationiteration.animation,delete Ti.animationstart.animation),"TransitionEvent"in window||delete Ti.transitionend.transition);function Vl(n){if(ll[n])return ll[n];if(!Ti[n])return n;var a=Ti[n],i;for(i in a)if(a.hasOwnProperty(i)&&i in yl)return ll[n]=a[i];return n}var df=Vl("animationend"),zc=Vl("animationiteration"),hf=Vl("animationstart"),Oc=Vl("transitionrun"),vs=Vl("transitionstart"),mf=Vl("transitioncancel"),Uc=Vl("transitionend"),wc=new Map,Su="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(" ");Su.push("scrollEnd");function al(n,a){wc.set(n,a),Oa(a,[n])}var Hc=new WeakMap;function $n(n,a){if(typeof n=="object"&&n!==null){var i=Hc.get(n);return i!==void 0?i:(a={value:n,source:a,stack:uc(a)},Hc.set(n,a),a)}return{value:n,source:a,stack:uc(a)}}var Hn=[],Ga=0,Gl=0;function De(){for(var n=Ga,a=Gl=Ga=0;a<n;){var i=Hn[a];Hn[a++]=null;var o=Hn[a];Hn[a++]=null;var r=Hn[a];Hn[a++]=null;var d=Hn[a];if(Hn[a++]=null,o!==null&&r!==null){var g=o.pending;g===null?r.next=r:(r.next=g.next,g.next=r),o.pending=r}d!==0&&Bc(i,r,d)}}function mo(n,a,i,o){Hn[Ga++]=n,Hn[Ga++]=a,Hn[Ga++]=i,Hn[Ga++]=o,Gl|=o,n.lanes|=o,n=n.alternate,n!==null&&(n.lanes|=o)}function kc(n,a,i,o){return mo(n,a,i,o),pf(n)}function xi(n,a){return mo(n,null,null,a),pf(n)}function Bc(n,a,i){n.lanes|=i;var o=n.alternate;o!==null&&(o.lanes|=i);for(var r=!1,d=n.return;d!==null;)d.childLanes|=i,o=d.alternate,o!==null&&(o.childLanes|=i),d.tag===22&&(n=d.stateNode,n===null||n._visibility&1||(r=!0)),n=d,d=d.return;return n.tag===3?(d=n.stateNode,r&&a!==null&&(r=31-Ot(i),n=d.hiddenUpdates,o=n[r],o===null?n[r]=[a]:o.push(a),a.lane=i|536870912),d):null}function pf(n){if(50<cr)throw cr=0,Kp=null,Error(m(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var Nc={};function xv(n,a,i,o){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bl(n,a,i,o){return new xv(n,a,i,o)}function vf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ja(n,a){var i=n.alternate;return i===null?(i=bl(n.tag,a,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=a,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,a=n.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Ie(n,a){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,a=i.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function ne(n,a,i,o,r,d){var g=0;if(o=n,typeof n=="function")vf(n)&&(g=1);else if(typeof n=="string")g=ng(n,i,He.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case me:return n=bl(31,i,a,r),n.elementType=me,n.lanes=d,n;case se:return ca(i.children,r,d,a);case ue:g=8,r|=24;break;case ae:return n=bl(12,i,a,r|2),n.elementType=ae,n.lanes=d,n;case Ye:return n=bl(13,i,a,r),n.elementType=Ye,n.lanes=d,n;case qe:return n=bl(19,i,a,r),n.elementType=qe,n.lanes=d,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case de:case fe:g=10;break e;case ke:g=9;break e;case xe:g=11;break e;case ze:g=14;break e;case at:g=16,o=null;break e}g=29,i=Error(m(130,n===null?"null":typeof n,"")),o=null}return a=bl(g,i,a,r),a.elementType=n,a.type=o,a.lanes=d,a}function ca(n,a,i,o){return n=bl(7,n,o,a),n.lanes=i,n}function Lc(n,a,i){return n=bl(6,n,null,a),n.lanes=i,n}function jt(n,a,i){return a=bl(4,n.children!==null?n.children:[],n.key,a),a.lanes=i,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var po=[],vo=0,gf=null,qc=0,ra=[],Sl=0,Tu=null,Xa=1,Jt="";function ut(n,a){po[vo++]=qc,po[vo++]=gf,gf=n,qc=a}function Xd(n,a,i){ra[Sl++]=Xa,ra[Sl++]=Jt,ra[Sl++]=Tu,Tu=n;var o=Xa;n=Jt;var r=32-Ot(o)-1;o&=~(1<<r),i+=1;var d=32-Ot(a)+r;if(30<d){var g=r-r%5;d=(o&(1<<g)-1).toString(32),o>>=g,r-=g,Xa=1<<32-Ot(a)+r|i<<r|o,Jt=d+n}else Xa=1<<d|i<<r|o,Jt=n}function gs(n){n.return!==null&&(ut(n,1),Xd(n,1,0))}function Ei(n){for(;n===gf;)gf=po[--vo],po[vo]=null,qc=po[--vo],po[vo]=null;for(;n===Tu;)Tu=ra[--Sl],ra[Sl]=null,Jt=ra[--Sl],ra[Sl]=null,Xa=ra[--Sl],ra[Sl]=null}var an=null,ft=null,ct=!1,fa=null,da=!1,ys=Error(m(519));function xu(n){var a=Error(m(418,""));throw Gc($n(a,n)),ys}function yf(n){var a=n.stateNode,i=n.type,o=n.memoizedProps;switch(a[ln]=n,a[En]=o,i){case"dialog":Xe("cancel",a),Xe("close",a);break;case"iframe":case"object":case"embed":Xe("load",a);break;case"video":case"audio":for(i=0;i<ld.length;i++)Xe(ld[i],a);break;case"source":Xe("error",a);break;case"img":case"image":case"link":Xe("error",a),Xe("load",a);break;case"details":Xe("toggle",a);break;case"input":Xe("invalid",a),ts(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Ha(a);break;case"select":Xe("invalid",a);break;case"textarea":Xe("invalid",a),cc(a,o.value,o.defaultValue,o.children),Ha(a)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||o.suppressHydrationWarning===!0||c0(a.textContent,i)?(o.popover!=null&&(Xe("beforetoggle",a),Xe("toggle",a)),o.onScroll!=null&&Xe("scroll",a),o.onScrollEnd!=null&&Xe("scrollend",a),o.onClick!=null&&(a.onclick=em),a=!0):a=!1,a||xu(n)}function Im(n){for(an=n.return;an;)switch(an.tag){case 5:case 13:da=!1;return;case 27:case 3:da=!0;return;default:an=an.return}}function Yc(n){if(n!==an)return!1;if(!ct)return Im(n),ct=!0,!1;var a=n.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||ji(n.type,n.memoizedProps)),i=!i),i&&ft&&xu(n),Im(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));e:{for(n=n.nextSibling,a=0;n;){if(n.nodeType===8)if(i=n.data,i==="/$"){if(a===0){ft=Ia(n.nextSibling);break e}a--}else i!=="$"&&i!=="$!"&&i!=="$?"||a++;n=n.nextSibling}ft=null}}else a===27?(a=ft,Ho(n.type)?(n=ko,ko=null,ft=n):ft=a):ft=an?Ia(n.stateNode.nextSibling):null;return!0}function Vc(){ft=an=null,ct=!1}function Wm(){var n=fa;return n!==null&&(Al===null?Al=n:Al.push.apply(Al,n),fa=null),n}function Gc(n){fa===null?fa=[n]:fa.push(n)}var bf=pe(null),Eu=null,Qa=null;function Cu(n,a,i){ve(bf,a._currentValue),a._currentValue=i}function Ci(n){n._currentValue=bf.current,ie(bf)}function Qd(n,a,i){for(;n!==null;){var o=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),n===i)break;n=n.return}}function Fm(n,a,i,o){var r=n.child;for(r!==null&&(r.return=n);r!==null;){var d=r.dependencies;if(d!==null){var g=r.child;d=d.firstContext;e:for(;d!==null;){var y=d;d=r;for(var E=0;E<a.length;E++)if(y.context===a[E]){d.lanes|=i,y=d.alternate,y!==null&&(y.lanes|=i),Qd(d.return,i,n),o||(g=null);break e}d=y.next}}else if(r.tag===18){if(g=r.return,g===null)throw Error(m(341));g.lanes|=i,d=g.alternate,d!==null&&(d.lanes|=i),Qd(g,i,n),g=null}else g=r.child;if(g!==null)g.return=r;else for(g=r;g!==null;){if(g===n){g=null;break}if(r=g.sibling,r!==null){r.return=g.return,g=r;break}g=g.return}r=g}}function jc(n,a,i,o){n=null;for(var r=a,d=!1;r!==null;){if(!d){if((r.flags&524288)!==0)d=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var g=r.alternate;if(g===null)throw Error(m(387));if(g=g.memoizedProps,g!==null){var y=r.type;cn(r.pendingProps.value,g.value)||(n!==null?n.push(y):n=[y])}}else if(r===dl.current){if(g=r.alternate,g===null)throw Error(m(387));g.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(n!==null?n.push(zl):n=[zl])}r=r.return}n!==null&&Fm(a,n,i,o),a.flags|=262144}function Sf(n){for(n=n.firstContext;n!==null;){if(!cn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function go(n){Eu=n,Qa=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function An(n){return Pm(Eu,n)}function Tf(n,a){return Eu===null&&go(n),Pm(n,a)}function Pm(n,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},Qa===null){if(n===null)throw Error(m(308));Qa=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else Qa=Qa.next=a;return i}var Xc=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(i,o){n.push(o)}};this.abort=function(){a.aborted=!0,n.forEach(function(i){return i()})}},Zd=b.unstable_scheduleCallback,Ev=b.unstable_NormalPriority,pn={$$typeof:fe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qc(){return{controller:new Xc,data:new Map,refCount:0}}function _i(n){n.refCount--,n.refCount===0&&Zd(Ev,function(){n.controller.abort()})}var yo=null,xf=0,ha=0,vn=null;function $d(n,a){if(yo===null){var i=yo=[];xf=0,ha=Ys(),vn={status:"pending",value:void 0,then:function(o){i.push(o)}}}return xf++,a.then(Jd,Jd),a}function Jd(){if(--xf===0&&yo!==null){vn!==null&&(vn.status="fulfilled");var n=yo;yo=null,ha=0,vn=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function Cv(n,a){var i=[],o={status:"pending",value:null,reason:null,then:function(r){i.push(r)}};return n.then(function(){o.status="fulfilled",o.value=a;for(var r=0;r<i.length;r++)(0,i[r])(a)},function(r){for(o.status="rejected",o.reason=r,r=0;r<i.length;r++)(0,i[r])(void 0)}),o}var Kd=D.S;D.S=function(n,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&$d(n,a),Kd!==null&&Kd(n,a)};var Ai=pe(null);function Ef(){var n=Ai.current;return n!==null?n:Rt.pooledCache}function bs(n,a){a===null?ve(Ai,Ai.current):ve(Ai,a.pool)}function Id(){var n=Ef();return n===null?null:{parent:pn._currentValue,pool:n}}var bo=Error(m(460)),Wd=Error(m(474)),Cf=Error(m(542)),Fd={then:function(){}};function Pd(n){return n=n.status,n==="fulfilled"||n==="rejected"}function _f(){}function ep(n,a,i){switch(i=n[i],i===void 0?n.push(a):i!==a&&(a.then(_f,_f),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,np(n),n;default:if(typeof a.status=="string")a.then(_f,_f);else{if(n=Rt,n!==null&&100<n.shellSuspendCounter)throw Error(m(482));n=a,n.status="pending",n.then(function(o){if(a.status==="pending"){var r=a;r.status="fulfilled",r.value=o}},function(o){if(a.status==="pending"){var r=a;r.status="rejected",r.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,np(n),n}throw Ss=a,bo}}var Ss=null;function tp(){if(Ss===null)throw Error(m(459));var n=Ss;return Ss=null,n}function np(n){if(n===bo||n===Cf)throw Error(m(483))}var Mi=!1;function eh(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function th(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Tl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ri(n,a,i){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,(yt&2)!==0){var r=o.pending;return r===null?a.next=a:(a.next=r.next,r.next=a),o.pending=a,a=pf(n),Bc(n,null,i),a}return mo(n,o,a,i),pf(n)}function Ts(n,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var o=a.lanes;o&=n.pendingLanes,i|=o,a.lanes=i,Ku(n,i)}}function lp(n,a){var i=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var r=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var g={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?r=d=g:d=d.next=g,i=i.next}while(i!==null);d===null?r=d=a:d=d.next=a}else r=d=a;i={baseState:o.baseState,firstBaseUpdate:r,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=a:n.next=a,i.lastBaseUpdate=a}var ap=!1;function Zc(){if(ap){var n=vn;if(n!==null)throw n}}function _u(n,a,i,o){ap=!1;var r=n.updateQueue;Mi=!1;var d=r.firstBaseUpdate,g=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var E=y,H=E.next;E.next=null,g===null?d=H:g.next=H,g=E;var I=n.alternate;I!==null&&(I=I.updateQueue,y=I.lastBaseUpdate,y!==g&&(y===null?I.firstBaseUpdate=H:y.next=H,I.lastBaseUpdate=E))}if(d!==null){var P=r.baseState;g=0,I=H=E=null,y=d;do{var B=y.lane&-536870913,L=B!==y.lane;if(L?(nt&B)===B:(o&B)===B){B!==0&&B===ha&&(ap=!0),I!==null&&(I=I.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var Ae=n,Me=y;B=a;var ht=i;switch(Me.tag){case 1:if(Ae=Me.payload,typeof Ae=="function"){P=Ae.call(ht,P,B);break e}P=Ae;break e;case 3:Ae.flags=Ae.flags&-65537|128;case 0:if(Ae=Me.payload,B=typeof Ae=="function"?Ae.call(ht,P,B):Ae,B==null)break e;P=ee({},P,B);break e;case 2:Mi=!0}}B=y.callback,B!==null&&(n.flags|=64,L&&(n.flags|=8192),L=r.callbacks,L===null?r.callbacks=[B]:L.push(B))}else L={lane:B,tag:y.tag,payload:y.payload,callback:y.callback,next:null},I===null?(H=I=L,E=P):I=I.next=L,g|=B;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;L=y,y=L.next,L.next=null,r.lastBaseUpdate=L,r.shared.pending=null}}while(!0);I===null&&(E=P),r.baseState=E,r.firstBaseUpdate=H,r.lastBaseUpdate=I,d===null&&(r.shared.lanes=0),Uu|=g,n.lanes=g,n.memoizedState=P}}function nh(n,a){if(typeof n!="function")throw Error(m(191,n));n.call(a)}function Af(n,a){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)nh(i[n],a)}var xs=pe(null),Mf=pe(0);function Mn(n,a){n=Ou,ve(Mf,n),ve(xs,a),Ou=n|a.baseLanes}function $c(){ve(Mf,Ou),ve(xs,xs.current)}function Jc(){Ou=Mf.current,ie(xs),ie(Mf)}var ma=0,je=null,gt=null,Xt=null,Rf=!1,jl=!1,So=!1,Za=0,Xl=0,Au=null,ip=0;function Qt(){throw Error(m(321))}function lh(n,a){if(a===null)return!1;for(var i=0;i<a.length&&i<n.length;i++)if(!cn(n[i],a[i]))return!1;return!0}function ah(n,a,i,o,r,d){return ma=d,je=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,D.H=n===null||n.memoizedState===null?Sp:Tp,So=!1,d=i(o,r),So=!1,jl&&(d=up(a,i,o,r)),To(n),d}function To(n){D.H=Th;var a=gt!==null&&gt.next!==null;if(ma=0,Xt=gt=je=null,Rf=!1,Xl=0,Au=null,a)throw Error(m(300));n===null||gn||(n=n.dependencies,n!==null&&Sf(n)&&(gn=!0))}function up(n,a,i,o){je=n;var r=0;do{if(jl&&(Au=null),Xl=0,jl=!1,25<=r)throw Error(m(301));if(r+=1,Xt=gt=null,n.updateQueue!=null){var d=n.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=Mu,d=a(i,o)}while(jl);return d}function _v(){var n=D.H,a=n.useState()[0];return a=typeof a.then=="function"?zf(a):a,n=n.useState()[0],(gt!==null?gt.memoizedState:null)!==n&&(je.flags|=1024),a}function ih(){var n=Za!==0;return Za=0,n}function Kc(n,a,i){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~i}function uh(n){if(Rf){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Rf=!1}ma=0,Xt=gt=je=null,jl=!1,Xl=Za=0,Au=null}function Jn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?je.memoizedState=Xt=n:Xt=Xt.next=n,Xt}function Kt(){if(gt===null){var n=je.alternate;n=n!==null?n.memoizedState:null}else n=gt.next;var a=Xt===null?je.memoizedState:Xt.next;if(a!==null)Xt=a,gt=n;else{if(n===null)throw je.alternate===null?Error(m(467)):Error(m(310));gt=n,n={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Xt===null?je.memoizedState=Xt=n:Xt=Xt.next=n}return Xt}function Df(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zf(n){var a=Xl;return Xl+=1,Au===null&&(Au=[]),n=ep(Au,n,a),a=je,(Xt===null?a.memoizedState:Xt.next)===null&&(a=a.alternate,D.H=a===null||a.memoizedState===null?Sp:Tp),n}function rn(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return zf(n);if(n.$$typeof===fe)return An(n)}throw Error(m(438,String(n)))}function oh(n){var a=null,i=je.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var o=je.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(r){return r.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Df(),je.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(n),o=0;o<n;o++)i[o]=_e;return a.index++,i}function Di(n,a){return typeof a=="function"?a(n):a}function Of(n){var a=Kt();return sh(a,gt,n)}function sh(n,a,i){var o=n.queue;if(o===null)throw Error(m(311));o.lastRenderedReducer=i;var r=n.baseQueue,d=o.pending;if(d!==null){if(r!==null){var g=r.next;r.next=d.next,d.next=g}a.baseQueue=r=d,o.pending=null}if(d=n.baseState,r===null)n.memoizedState=d;else{a=r.next;var y=g=null,E=null,H=a,I=!1;do{var P=H.lane&-536870913;if(P!==H.lane?(nt&P)===P:(ma&P)===P){var B=H.revertLane;if(B===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),P===ha&&(I=!0);else if((ma&B)===B){H=H.next,B===ha&&(I=!0);continue}else P={lane:0,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},E===null?(y=E=P,g=d):E=E.next=P,je.lanes|=B,Uu|=B;P=H.action,So&&i(d,P),d=H.hasEagerState?H.eagerState:i(d,P)}else B={lane:P,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},E===null?(y=E=B,g=d):E=E.next=B,je.lanes|=P,Uu|=P;H=H.next}while(H!==null&&H!==a);if(E===null?g=d:E.next=y,!cn(d,n.memoizedState)&&(gn=!0,I&&(i=vn,i!==null)))throw i;n.memoizedState=d,n.baseState=g,n.baseQueue=E,o.lastRenderedState=d}return r===null&&(o.lanes=0),[n.memoizedState,o.dispatch]}function ch(n){var a=Kt(),i=a.queue;if(i===null)throw Error(m(311));i.lastRenderedReducer=n;var o=i.dispatch,r=i.pending,d=a.memoizedState;if(r!==null){i.pending=null;var g=r=r.next;do d=n(d,g.action),g=g.next;while(g!==r);cn(d,a.memoizedState)||(gn=!0),a.memoizedState=d,a.baseQueue===null&&(a.baseState=d),i.lastRenderedState=d}return[d,o]}function Uf(n,a,i){var o=je,r=Kt(),d=ct;if(d){if(i===void 0)throw Error(m(407));i=i()}else i=a();var g=!cn((gt||r).memoizedState,i);g&&(r.memoizedState=i,gn=!0),r=r.queue;var y=sp.bind(null,o,r,n);if(Ct(2048,8,y,[n]),r.getSnapshot!==a||g||Xt!==null&&Xt.memoizedState.tag&1){if(o.flags|=2048,xl(9,kf(),op.bind(null,o,r,i,a),null),Rt===null)throw Error(m(349));d||(ma&124)!==0||rh(o,a,i)}return i}function rh(n,a,i){n.flags|=16384,n={getSnapshot:a,value:i},a=je.updateQueue,a===null?(a=Df(),je.updateQueue=a,a.stores=[n]):(i=a.stores,i===null?a.stores=[n]:i.push(n))}function op(n,a,i,o){a.value=i,a.getSnapshot=o,cp(a)&&fh(n)}function sp(n,a,i){return i(function(){cp(a)&&fh(n)})}function cp(n){var a=n.getSnapshot;n=n.value;try{var i=a();return!cn(n,i)}catch{return!0}}function fh(n){var a=xi(n,2);a!==null&&$l(a,n,2)}function wf(n){var a=Jn();if(typeof n=="function"){var i=n;if(n=i(),So){xn(!0);try{i()}finally{xn(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:n},a}function dh(n,a,i,o){return n.baseState=i,sh(n,gt,typeof o=="function"?o:Di)}function Av(n,a,i,o,r){if(As(n))throw Error(m(485));if(n=a.action,n!==null){var d={payload:r,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};D.T!==null?i(!0):d.isTransition=!1,o(d),i=a.pending,i===null?(d.next=a.pending=d,hh(a,d)):(d.next=i.next,a.pending=i.next=d)}}function hh(n,a){var i=a.action,o=a.payload,r=n.state;if(a.isTransition){var d=D.T,g={};D.T=g;try{var y=i(r,o),E=D.S;E!==null&&E(g,y),Hf(n,a,y)}catch(H){ph(n,a,H)}finally{D.T=d}}else try{d=i(r,o),Hf(n,a,d)}catch(H){ph(n,a,H)}}function Hf(n,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){mh(n,a,o)},function(o){return ph(n,a,o)}):mh(n,a,i)}function mh(n,a,i){a.status="fulfilled",a.value=i,rp(a),n.state=i,a=n.pending,a!==null&&(i=a.next,i===a?n.pending=null:(i=i.next,a.next=i,hh(n,i)))}function ph(n,a,i){var o=n.pending;if(n.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=i,rp(a),a=a.next;while(a!==o)}n.action=null}function rp(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function vh(n,a){return a}function fp(n,a){if(ct){var i=Rt.formState;if(i!==null){e:{var o=je;if(ct){if(ft){t:{for(var r=ft,d=da;r.nodeType!==8;){if(!d){r=null;break t}if(r=Ia(r.nextSibling),r===null){r=null;break t}}d=r.data,r=d==="F!"||d==="F"?r:null}if(r){ft=Ia(r.nextSibling),o=r.data==="F!";break e}}xu(o)}o=!1}o&&(a=i[0])}}return i=Jn(),i.memoizedState=i.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a},i.queue=o,i=yp.bind(null,je,o),o.dispatch=i,o=wf(!1),d=Lf.bind(null,je,!1,o.queue),o=Jn(),r={state:a,dispatch:null,action:n,pending:null},o.queue=r,i=Av.bind(null,je,r,d,i),r.dispatch=i,o.memoizedState=n,[a,i,!1]}function zi(n){var a=Kt();return gh(a,gt,n)}function gh(n,a,i){if(a=sh(n,a,vh)[0],n=Of(Di)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=zf(a)}catch(g){throw g===bo?Cf:g}else o=a;a=Kt();var r=a.queue,d=r.dispatch;return i!==a.memoizedState&&(je.flags|=2048,xl(9,kf(),ny.bind(null,r,i),null)),[o,d,n]}function ny(n,a){n.action=a}function yh(n){var a=Kt(),i=gt;if(i!==null)return gh(a,i,n);Kt(),a=a.memoizedState,i=Kt();var o=i.queue.dispatch;return i.memoizedState=n,[a,o,!1]}function xl(n,a,i,o){return n={tag:n,create:i,deps:o,inst:a,next:null},a=je.updateQueue,a===null&&(a=Df(),je.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=n.next=n:(o=i.next,i.next=n,n.next=o,a.lastEffect=n),n}function kf(){return{destroy:void 0,resource:void 0}}function Bf(){return Kt().memoizedState}function xo(n,a,i,o){var r=Jn();o=o===void 0?null:o,je.flags|=n,r.memoizedState=xl(1|a,kf(),i,o)}function Ct(n,a,i,o){var r=Kt();o=o===void 0?null:o;var d=r.memoizedState.inst;gt!==null&&o!==null&&lh(o,gt.memoizedState.deps)?r.memoizedState=xl(a,d,i,o):(je.flags|=n,r.memoizedState=xl(1|a,d,i,o))}function Mv(n,a){xo(8390656,8,n,a)}function Rv(n,a){Ct(2048,8,n,a)}function dp(n,a){return Ct(4,2,n,a)}function $a(n,a){return Ct(4,4,n,a)}function hp(n,a){if(typeof a=="function"){n=n();var i=a(n);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function bh(n,a,i){i=i!=null?i.concat([n]):null,Ct(4,4,hp.bind(null,a,n),i)}function Es(){}function Cs(n,a){var i=Kt();a=a===void 0?null:a;var o=i.memoizedState;return a!==null&&lh(a,o[1])?o[0]:(i.memoizedState=[n,a],n)}function mp(n,a){var i=Kt();a=a===void 0?null:a;var o=i.memoizedState;if(a!==null&&lh(a,o[1]))return o[0];if(o=n(),So){xn(!0);try{n()}finally{xn(!1)}}return i.memoizedState=[o,a],o}function Nf(n,a,i){return i===void 0||(ma&1073741824)!==0?n.memoizedState=a:(n.memoizedState=i,n=Ip(),je.lanes|=n,Uu|=n,i)}function pp(n,a,i,o){return cn(i,a)?i:xs.current!==null?(n=Nf(n,i,o),cn(n,a)||(gn=!0),n):(ma&42)===0?(gn=!0,n.memoizedState=i):(n=Ip(),je.lanes|=n,Uu|=n,a)}function Dv(n,a,i,o,r){var d=W.p;W.p=d!==0&&8>d?d:8;var g=D.T,y={};D.T=y,Lf(n,!1,a,i);try{var E=r(),H=D.S;if(H!==null&&H(y,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var I=Cv(E,o);_s(n,a,I,Zl(n))}else _s(n,a,o,Zl(n))}catch(P){_s(n,a,{then:function(){},status:"rejected",reason:P},Zl())}finally{W.p=d,D.T=g}}function ly(){}function Sh(n,a,i,o){if(n.tag!==5)throw Error(m(476));var r=zv(n).queue;Dv(n,r,a,te,i===null?ly:function(){return Ic(n),i(o)})}function zv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:te},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:i},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function Ic(n){var a=zv(n).next.queue;_s(n,a,{},Zl())}function pa(){return An(zl)}function vp(){return Kt().memoizedState}function Ov(){return Kt().memoizedState}function Uv(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var i=Zl();n=Tl(i);var o=Ri(a,n,i);o!==null&&($l(o,a,i),Ts(o,a,i)),a={cache:Qc()},n.payload=a;return}a=a.return}}function gp(n,a,i){var o=Zl();i={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},As(n)?wv(a,i):(i=kc(n,a,i,o),i!==null&&($l(i,n,o),bp(i,a,o)))}function yp(n,a,i){var o=Zl();_s(n,a,i,o)}function _s(n,a,i,o){var r={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(As(n))wv(a,r);else{var d=n.alternate;if(n.lanes===0&&(d===null||d.lanes===0)&&(d=a.lastRenderedReducer,d!==null))try{var g=a.lastRenderedState,y=d(g,i);if(r.hasEagerState=!0,r.eagerState=y,cn(y,g))return mo(n,a,r,0),Rt===null&&De(),!1}catch{}finally{}if(i=kc(n,a,r,o),i!==null)return $l(i,n,o),bp(i,a,o),!0}return!1}function Lf(n,a,i,o){if(o={lane:2,revertLane:Ys(),action:o,hasEagerState:!1,eagerState:null,next:null},As(n)){if(a)throw Error(m(479))}else a=kc(n,i,o,2),a!==null&&$l(a,n,2)}function As(n){var a=n.alternate;return n===je||a!==null&&a===je}function wv(n,a){jl=Rf=!0;var i=n.pending;i===null?a.next=a:(a.next=i.next,i.next=a),n.pending=a}function bp(n,a,i){if((i&4194048)!==0){var o=a.lanes;o&=n.pendingLanes,i|=o,a.lanes=i,Ku(n,i)}}var Th={readContext:An,use:rn,useCallback:Qt,useContext:Qt,useEffect:Qt,useImperativeHandle:Qt,useLayoutEffect:Qt,useInsertionEffect:Qt,useMemo:Qt,useReducer:Qt,useRef:Qt,useState:Qt,useDebugValue:Qt,useDeferredValue:Qt,useTransition:Qt,useSyncExternalStore:Qt,useId:Qt,useHostTransitionStatus:Qt,useFormState:Qt,useActionState:Qt,useOptimistic:Qt,useMemoCache:Qt,useCacheRefresh:Qt},Sp={readContext:An,use:rn,useCallback:function(n,a){return Jn().memoizedState=[n,a===void 0?null:a],n},useContext:An,useEffect:Mv,useImperativeHandle:function(n,a,i){i=i!=null?i.concat([n]):null,xo(4194308,4,hp.bind(null,a,n),i)},useLayoutEffect:function(n,a){return xo(4194308,4,n,a)},useInsertionEffect:function(n,a){xo(4,2,n,a)},useMemo:function(n,a){var i=Jn();a=a===void 0?null:a;var o=n();if(So){xn(!0);try{n()}finally{xn(!1)}}return i.memoizedState=[o,a],o},useReducer:function(n,a,i){var o=Jn();if(i!==void 0){var r=i(a);if(So){xn(!0);try{i(a)}finally{xn(!1)}}}else r=a;return o.memoizedState=o.baseState=r,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},o.queue=n,n=n.dispatch=gp.bind(null,je,n),[o.memoizedState,n]},useRef:function(n){var a=Jn();return n={current:n},a.memoizedState=n},useState:function(n){n=wf(n);var a=n.queue,i=yp.bind(null,je,a);return a.dispatch=i,[n.memoizedState,i]},useDebugValue:Es,useDeferredValue:function(n,a){var i=Jn();return Nf(i,n,a)},useTransition:function(){var n=wf(!1);return n=Dv.bind(null,je,n.queue,!0,!1),Jn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,i){var o=je,r=Jn();if(ct){if(i===void 0)throw Error(m(407));i=i()}else{if(i=a(),Rt===null)throw Error(m(349));(nt&124)!==0||rh(o,a,i)}r.memoizedState=i;var d={value:i,getSnapshot:a};return r.queue=d,Mv(sp.bind(null,o,d,n),[n]),o.flags|=2048,xl(9,kf(),op.bind(null,o,d,i,a),null),i},useId:function(){var n=Jn(),a=Rt.identifierPrefix;if(ct){var i=Jt,o=Xa;i=(o&~(1<<32-Ot(o)-1)).toString(32)+i,a="«"+a+"R"+i,i=Za++,0<i&&(a+="H"+i.toString(32)),a+="»"}else i=ip++,a="«"+a+"r"+i.toString(32)+"»";return n.memoizedState=a},useHostTransitionStatus:pa,useFormState:fp,useActionState:fp,useOptimistic:function(n){var a=Jn();a.memoizedState=a.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=Lf.bind(null,je,!0,i),i.dispatch=a,[n,a]},useMemoCache:oh,useCacheRefresh:function(){return Jn().memoizedState=Uv.bind(null,je)}},Tp={readContext:An,use:rn,useCallback:Cs,useContext:An,useEffect:Rv,useImperativeHandle:bh,useInsertionEffect:dp,useLayoutEffect:$a,useMemo:mp,useReducer:Of,useRef:Bf,useState:function(){return Of(Di)},useDebugValue:Es,useDeferredValue:function(n,a){var i=Kt();return pp(i,gt.memoizedState,n,a)},useTransition:function(){var n=Of(Di)[0],a=Kt().memoizedState;return[typeof n=="boolean"?n:zf(n),a]},useSyncExternalStore:Uf,useId:vp,useHostTransitionStatus:pa,useFormState:zi,useActionState:zi,useOptimistic:function(n,a){var i=Kt();return dh(i,gt,n,a)},useMemoCache:oh,useCacheRefresh:Ov},Mu={readContext:An,use:rn,useCallback:Cs,useContext:An,useEffect:Rv,useImperativeHandle:bh,useInsertionEffect:dp,useLayoutEffect:$a,useMemo:mp,useReducer:ch,useRef:Bf,useState:function(){return ch(Di)},useDebugValue:Es,useDeferredValue:function(n,a){var i=Kt();return gt===null?Nf(i,n,a):pp(i,gt.memoizedState,n,a)},useTransition:function(){var n=ch(Di)[0],a=Kt().memoizedState;return[typeof n=="boolean"?n:zf(n),a]},useSyncExternalStore:Uf,useId:vp,useHostTransitionStatus:pa,useFormState:yh,useActionState:yh,useOptimistic:function(n,a){var i=Kt();return gt!==null?dh(i,gt,n,a):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:oh,useCacheRefresh:Ov},Ms=null,Wc=0;function xh(n){var a=Wc;return Wc+=1,Ms===null&&(Ms=[]),ep(Ms,n,a)}function Rs(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Kn(n,a){throw a.$$typeof===le?Error(m(525)):(n=Object.prototype.toString.call(a),Error(m(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function xp(n){var a=n._init;return a(n._payload)}function El(n){function a(O,z){if(n){var U=O.deletions;U===null?(O.deletions=[z],O.flags|=16):U.push(z)}}function i(O,z){if(!n)return null;for(;z!==null;)a(O,z),z=z.sibling;return null}function o(O){for(var z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function r(O,z){return O=ja(O,z),O.index=0,O.sibling=null,O}function d(O,z,U){return O.index=U,n?(U=O.alternate,U!==null?(U=U.index,U<z?(O.flags|=67108866,z):U):(O.flags|=67108866,z)):(O.flags|=1048576,z)}function g(O){return n&&O.alternate===null&&(O.flags|=67108866),O}function y(O,z,U,F){return z===null||z.tag!==6?(z=Lc(U,O.mode,F),z.return=O,z):(z=r(z,U),z.return=O,z)}function E(O,z,U,F){var be=U.type;return be===se?I(O,z,U.props.children,F,U.key):z!==null&&(z.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===at&&xp(be)===z.type)?(z=r(z,U.props),Rs(z,U),z.return=O,z):(z=ne(U.type,U.key,U.props,null,O.mode,F),Rs(z,U),z.return=O,z)}function H(O,z,U,F){return z===null||z.tag!==4||z.stateNode.containerInfo!==U.containerInfo||z.stateNode.implementation!==U.implementation?(z=jt(U,O.mode,F),z.return=O,z):(z=r(z,U.children||[]),z.return=O,z)}function I(O,z,U,F,be){return z===null||z.tag!==7?(z=ca(U,O.mode,F,be),z.return=O,z):(z=r(z,U),z.return=O,z)}function P(O,z,U){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=Lc(""+z,O.mode,U),z.return=O,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case V:return U=ne(z.type,z.key,z.props,null,O.mode,U),Rs(U,z),U.return=O,U;case oe:return z=jt(z,O.mode,U),z.return=O,z;case at:var F=z._init;return z=F(z._payload),P(O,z,U)}if(vt(z)||Ee(z))return z=ca(z,O.mode,U,null),z.return=O,z;if(typeof z.then=="function")return P(O,xh(z),U);if(z.$$typeof===fe)return P(O,Tf(O,z),U);Kn(O,z)}return null}function B(O,z,U,F){var be=z!==null?z.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return be!==null?null:y(O,z,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case V:return U.key===be?E(O,z,U,F):null;case oe:return U.key===be?H(O,z,U,F):null;case at:return be=U._init,U=be(U._payload),B(O,z,U,F)}if(vt(U)||Ee(U))return be!==null?null:I(O,z,U,F,null);if(typeof U.then=="function")return B(O,z,xh(U),F);if(U.$$typeof===fe)return B(O,z,Tf(O,U),F);Kn(O,U)}return null}function L(O,z,U,F,be){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return O=O.get(U)||null,y(z,O,""+F,be);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case V:return O=O.get(F.key===null?U:F.key)||null,E(z,O,F,be);case oe:return O=O.get(F.key===null?U:F.key)||null,H(z,O,F,be);case at:var We=F._init;return F=We(F._payload),L(O,z,U,F,be)}if(vt(F)||Ee(F))return O=O.get(U)||null,I(z,O,F,be,null);if(typeof F.then=="function")return L(O,z,U,xh(F),be);if(F.$$typeof===fe)return L(O,z,U,Tf(z,F),be);Kn(z,F)}return null}function Ae(O,z,U,F){for(var be=null,We=null,Ce=z,Ue=z=0,zn=null;Ce!==null&&Ue<U.length;Ue++){Ce.index>Ue?(zn=Ce,Ce=null):zn=Ce.sibling;var st=B(O,Ce,U[Ue],F);if(st===null){Ce===null&&(Ce=zn);break}n&&Ce&&st.alternate===null&&a(O,Ce),z=d(st,z,Ue),We===null?be=st:We.sibling=st,We=st,Ce=zn}if(Ue===U.length)return i(O,Ce),ct&&ut(O,Ue),be;if(Ce===null){for(;Ue<U.length;Ue++)Ce=P(O,U[Ue],F),Ce!==null&&(z=d(Ce,z,Ue),We===null?be=Ce:We.sibling=Ce,We=Ce);return ct&&ut(O,Ue),be}for(Ce=o(Ce);Ue<U.length;Ue++)zn=L(Ce,O,Ue,U[Ue],F),zn!==null&&(n&&zn.alternate!==null&&Ce.delete(zn.key===null?Ue:zn.key),z=d(zn,z,Ue),We===null?be=zn:We.sibling=zn,We=zn);return n&&Ce.forEach(function(Yo){return a(O,Yo)}),ct&&ut(O,Ue),be}function Me(O,z,U,F){if(U==null)throw Error(m(151));for(var be=null,We=null,Ce=z,Ue=z=0,zn=null,st=U.next();Ce!==null&&!st.done;Ue++,st=U.next()){Ce.index>Ue?(zn=Ce,Ce=null):zn=Ce.sibling;var Yo=B(O,Ce,st.value,F);if(Yo===null){Ce===null&&(Ce=zn);break}n&&Ce&&Yo.alternate===null&&a(O,Ce),z=d(Yo,z,Ue),We===null?be=Yo:We.sibling=Yo,We=Yo,Ce=zn}if(st.done)return i(O,Ce),ct&&ut(O,Ue),be;if(Ce===null){for(;!st.done;Ue++,st=U.next())st=P(O,st.value,F),st!==null&&(z=d(st,z,Ue),We===null?be=st:We.sibling=st,We=st);return ct&&ut(O,Ue),be}for(Ce=o(Ce);!st.done;Ue++,st=U.next())st=L(Ce,O,Ue,st.value,F),st!==null&&(n&&st.alternate!==null&&Ce.delete(st.key===null?Ue:st.key),z=d(st,z,Ue),We===null?be=st:We.sibling=st,We=st);return n&&Ce.forEach(function(py){return a(O,py)}),ct&&ut(O,Ue),be}function ht(O,z,U,F){if(typeof U=="object"&&U!==null&&U.type===se&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case V:e:{for(var be=U.key;z!==null;){if(z.key===be){if(be=U.type,be===se){if(z.tag===7){i(O,z.sibling),F=r(z,U.props.children),F.return=O,O=F;break e}}else if(z.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===at&&xp(be)===z.type){i(O,z.sibling),F=r(z,U.props),Rs(F,U),F.return=O,O=F;break e}i(O,z);break}else a(O,z);z=z.sibling}U.type===se?(F=ca(U.props.children,O.mode,F,U.key),F.return=O,O=F):(F=ne(U.type,U.key,U.props,null,O.mode,F),Rs(F,U),F.return=O,O=F)}return g(O);case oe:e:{for(be=U.key;z!==null;){if(z.key===be)if(z.tag===4&&z.stateNode.containerInfo===U.containerInfo&&z.stateNode.implementation===U.implementation){i(O,z.sibling),F=r(z,U.children||[]),F.return=O,O=F;break e}else{i(O,z);break}else a(O,z);z=z.sibling}F=jt(U,O.mode,F),F.return=O,O=F}return g(O);case at:return be=U._init,U=be(U._payload),ht(O,z,U,F)}if(vt(U))return Ae(O,z,U,F);if(Ee(U)){if(be=Ee(U),typeof be!="function")throw Error(m(150));return U=be.call(U),Me(O,z,U,F)}if(typeof U.then=="function")return ht(O,z,xh(U),F);if(U.$$typeof===fe)return ht(O,z,Tf(O,U),F);Kn(O,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,z!==null&&z.tag===6?(i(O,z.sibling),F=r(z,U),F.return=O,O=F):(i(O,z),F=Lc(U,O.mode,F),F.return=O,O=F),g(O)):i(O,z)}return function(O,z,U,F){try{Wc=0;var be=ht(O,z,U,F);return Ms=null,be}catch(Ce){if(Ce===bo||Ce===Cf)throw Ce;var We=bl(29,Ce,null,O.mode);return We.lanes=F,We.return=O,We}finally{}}}var Ds=El(!0),Oi=El(!1),Ql=pe(null),In=null;function Ru(n){var a=n.alternate;ve(_t,_t.current&1),ve(Ql,n),In===null&&(a===null||xs.current!==null||a.memoizedState!==null)&&(In=n)}function Ui(n){if(n.tag===22){if(ve(_t,_t.current),ve(Ql,n),In===null){var a=n.alternate;a!==null&&a.memoizedState!==null&&(In=n)}}else wi()}function wi(){ve(_t,_t.current),ve(Ql,Ql.current)}function Ja(n){ie(Ql),In===n&&(In=null),ie(_t)}var _t=pe(0);function qf(n){for(var a=n;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||sd(i)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Eo(n,a,i,o){a=n.memoizedState,i=i(o,a),i=i==null?a:ee({},a,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Eh={enqueueSetState:function(n,a,i){n=n._reactInternals;var o=Zl(),r=Tl(o);r.payload=a,i!=null&&(r.callback=i),a=Ri(n,r,o),a!==null&&($l(a,n,o),Ts(a,n,o))},enqueueReplaceState:function(n,a,i){n=n._reactInternals;var o=Zl(),r=Tl(o);r.tag=1,r.payload=a,i!=null&&(r.callback=i),a=Ri(n,r,o),a!==null&&($l(a,n,o),Ts(a,n,o))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var i=Zl(),o=Tl(i);o.tag=2,a!=null&&(o.callback=a),a=Ri(n,o,i),a!==null&&($l(a,n,i),Ts(a,n,i))}};function Fc(n,a,i,o,r,d,g){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,d,g):a.prototype&&a.prototype.isPureReactComponent?!qa(i,o)||!qa(r,d):!0}function zs(n,a,i,o){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,o),a.state!==n&&Eh.enqueueReplaceState(a,a.state,null)}function Co(n,a){var i=a;if("ref"in a){i={};for(var o in a)o!=="ref"&&(i[o]=a[o])}if(n=n.defaultProps){i===a&&(i=ee({},i));for(var r in n)i[r]===void 0&&(i[r]=n[r])}return i}var Yf=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function Pc(n){Yf(n)}function Ep(n){console.error(n)}function Vf(n){Yf(n)}function Gf(n,a){try{var i=n.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function Cp(n,a,i){try{var o=n.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function _p(n,a,i){return i=Tl(i),i.tag=3,i.payload={element:null},i.callback=function(){Gf(n,a)},i}function Ap(n){return n=Tl(n),n.tag=3,n}function Cl(n,a,i,o){var r=i.type.getDerivedStateFromError;if(typeof r=="function"){var d=o.value;n.payload=function(){return r(d)},n.callback=function(){Cp(a,i,o)}}var g=i.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(n.callback=function(){Cp(a,i,o),typeof r!="function"&&(Ro===null?Ro=new Set([this]):Ro.add(this));var y=o.stack;this.componentDidCatch(o.value,{componentStack:y!==null?y:""})})}function Hv(n,a,i,o,r){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=i.alternate,a!==null&&jc(a,i,r,!0),i=Ql.current,i!==null){switch(i.tag){case 13:return In===null?qs():i.alternate===null&&Pt===0&&(Pt=3),i.flags&=-257,i.flags|=65536,i.lanes=r,o===Fd?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([o]):a.add(o),Kh(n,o,r)),!1;case 22:return i.flags|=65536,o===Fd?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([o]):i.add(o)),Kh(n,o,r)),!1}throw Error(m(435,i.tag))}return Kh(n,o,r),qs(),!1}if(ct)return a=Ql.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=r,o!==ys&&(n=Error(m(422),{cause:o}),Gc($n(n,i)))):(o!==ys&&(a=Error(m(423),{cause:o}),Gc($n(a,i))),n=n.current.alternate,n.flags|=65536,r&=-r,n.lanes|=r,o=$n(o,i),r=_p(n.stateNode,o,r),lp(n,r),Pt!==4&&(Pt=2)),!1;var d=Error(m(520),{cause:o});if(d=$n(d,i),ur===null?ur=[d]:ur.push(d),Pt!==4&&(Pt=2),a===null)return!0;o=$n(o,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,n=r&-r,i.lanes|=n,n=_p(i.stateNode,o,n),lp(i,n),!1;case 1:if(a=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ro===null||!Ro.has(d))))return i.flags|=65536,r&=-r,i.lanes|=r,r=Ap(r),Cl(r,n,i,o),lp(i,r),!1}i=i.return}while(i!==null);return!1}var It=Error(m(461)),gn=!1;function Rn(n,a,i,o){a.child=n===null?Oi(a,null,i,o):Ds(a,n.child,i,o)}function kv(n,a,i,o,r){i=i.render;var d=a.ref;if("ref"in o){var g={};for(var y in o)y!=="ref"&&(g[y]=o[y])}else g=o;return go(a),o=ah(n,a,i,g,d,r),y=ih(),n!==null&&!gn?(Kc(n,a,r),Hi(n,a,r)):(ct&&y&&gs(a),a.flags|=1,Rn(n,a,o,r),a.child)}function Du(n,a,i,o,r){if(n===null){var d=i.type;return typeof d=="function"&&!vf(d)&&d.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=d,Os(n,a,d,o,r)):(n=ne(i.type,null,o,a,a.mode,r),n.ref=a.ref,n.return=a,a.child=n)}if(d=n.child,!wh(n,r)){var g=d.memoizedProps;if(i=i.compare,i=i!==null?i:qa,i(g,o)&&n.ref===a.ref)return Hi(n,a,r)}return a.flags|=1,n=ja(d,o),n.ref=a.ref,n.return=a,a.child=n}function Os(n,a,i,o,r){if(n!==null){var d=n.memoizedProps;if(qa(d,o)&&n.ref===a.ref)if(gn=!1,a.pendingProps=o=d,wh(n,r))(n.flags&131072)!==0&&(gn=!0);else return a.lanes=n.lanes,Hi(n,a,r)}return _h(n,a,i,o,r)}function Ch(n,a,i){var o=a.pendingProps,r=o.children,d=n!==null?n.memoizedState:null;if(o.mode==="hidden"){if((a.flags&128)!==0){if(o=d!==null?d.baseLanes|i:i,n!==null){for(r=a.child=n.child,d=0;r!==null;)d=d|r.lanes|r.childLanes,r=r.sibling;a.childLanes=d&~o}else a.childLanes=0,a.child=null;return Us(n,a,o,i)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&bs(a,d!==null?d.cachePool:null),d!==null?Mn(a,d):$c(),Ui(a);else return a.lanes=a.childLanes=536870912,Us(n,a,d!==null?d.baseLanes|i:i,i)}else d!==null?(bs(a,d.cachePool),Mn(a,d),wi(),a.memoizedState=null):(n!==null&&bs(a,null),$c(),wi());return Rn(n,a,r,i),a.child}function Us(n,a,i,o){var r=Ef();return r=r===null?null:{parent:pn._currentValue,pool:r},a.memoizedState={baseLanes:i,cachePool:r},n!==null&&bs(a,null),$c(),Ui(a),n!==null&&jc(n,a,o,!0),null}function jf(n,a){var i=a.ref;if(i===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(m(284));(n===null||n.ref!==i)&&(a.flags|=4194816)}}function _h(n,a,i,o,r){return go(a),i=ah(n,a,i,o,void 0,r),o=ih(),n!==null&&!gn?(Kc(n,a,r),Hi(n,a,r)):(ct&&o&&gs(a),a.flags|=1,Rn(n,a,i,r),a.child)}function Mp(n,a,i,o,r,d){return go(a),a.updateQueue=null,i=up(a,o,i,r),To(n),o=ih(),n!==null&&!gn?(Kc(n,a,d),Hi(n,a,d)):(ct&&o&&gs(a),a.flags|=1,Rn(n,a,i,d),a.child)}function Ah(n,a,i,o,r){if(go(a),a.stateNode===null){var d=Nc,g=i.contextType;typeof g=="object"&&g!==null&&(d=An(g)),d=new i(o,d),a.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Eh,a.stateNode=d,d._reactInternals=a,d=a.stateNode,d.props=o,d.state=a.memoizedState,d.refs={},eh(a),g=i.contextType,d.context=typeof g=="object"&&g!==null?An(g):Nc,d.state=a.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(Eo(a,i,g,o),d.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&Eh.enqueueReplaceState(d,d.state,null),_u(a,o,d,r),Zc(),d.state=a.memoizedState),typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(n===null){d=a.stateNode;var y=a.memoizedProps,E=Co(i,y);d.props=E;var H=d.context,I=i.contextType;g=Nc,typeof I=="object"&&I!==null&&(g=An(I));var P=i.getDerivedStateFromProps;I=typeof P=="function"||typeof d.getSnapshotBeforeUpdate=="function",y=a.pendingProps!==y,I||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y||H!==g)&&zs(a,d,o,g),Mi=!1;var B=a.memoizedState;d.state=B,_u(a,o,d,r),Zc(),H=a.memoizedState,y||B!==H||Mi?(typeof P=="function"&&(Eo(a,i,P,o),H=a.memoizedState),(E=Mi||Fc(a,i,E,o,B,H,g))?(I||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(a.flags|=4194308)):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=H),d.props=o,d.state=H,d.context=g,o=E):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{d=a.stateNode,th(n,a),g=a.memoizedProps,I=Co(i,g),d.props=I,P=a.pendingProps,B=d.context,H=i.contextType,E=Nc,typeof H=="object"&&H!==null&&(E=An(H)),y=i.getDerivedStateFromProps,(H=typeof y=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==P||B!==E)&&zs(a,d,o,E),Mi=!1,B=a.memoizedState,d.state=B,_u(a,o,d,r),Zc();var L=a.memoizedState;g!==P||B!==L||Mi||n!==null&&n.dependencies!==null&&Sf(n.dependencies)?(typeof y=="function"&&(Eo(a,i,y,o),L=a.memoizedState),(I=Mi||Fc(a,i,I,o,B,L,E)||n!==null&&n.dependencies!==null&&Sf(n.dependencies))?(H||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,L,E),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,L,E)),typeof d.componentDidUpdate=="function"&&(a.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===n.memoizedProps&&B===n.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===n.memoizedProps&&B===n.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=L),d.props=o,d.state=L,d.context=E,o=I):(typeof d.componentDidUpdate!="function"||g===n.memoizedProps&&B===n.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===n.memoizedProps&&B===n.memoizedState||(a.flags|=1024),o=!1)}return d=o,jf(n,a),o=(a.flags&128)!==0,d||o?(d=a.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:d.render(),a.flags|=1,n!==null&&o?(a.child=Ds(a,n.child,null,r),a.child=Ds(a,null,i,r)):Rn(n,a,i,r),a.memoizedState=d.state,n=a.child):n=Hi(n,a,r),n}function Mh(n,a,i,o){return Vc(),a.flags|=256,Rn(n,a,i,o),a.child}var Rh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rp(n){return{baseLanes:n,cachePool:Id()}}function Dp(n,a,i){return n=n!==null?n.childLanes&~i:0,a&&(n|=ya),n}function zp(n,a,i){var o=a.pendingProps,r=!1,d=(a.flags&128)!==0,g;if((g=d)||(g=n!==null&&n.memoizedState===null?!1:(_t.current&2)!==0),g&&(r=!0,a.flags&=-129),g=(a.flags&32)!==0,a.flags&=-33,n===null){if(ct){if(r?Ru(a):wi(),ct){var y=ft,E;if(E=y){e:{for(E=y,y=da;E.nodeType!==8;){if(!y){y=null;break e}if(E=Ia(E.nextSibling),E===null){y=null;break e}}y=E}y!==null?(a.memoizedState={dehydrated:y,treeContext:Tu!==null?{id:Xa,overflow:Jt}:null,retryLane:536870912,hydrationErrors:null},E=bl(18,null,null,0),E.stateNode=y,E.return=a,a.child=E,an=a,ft=null,E=!0):E=!1}E||xu(a)}if(y=a.memoizedState,y!==null&&(y=y.dehydrated,y!==null))return sd(y)?a.lanes=32:a.lanes=536870912,null;Ja(a)}return y=o.children,o=o.fallback,r?(wi(),r=a.mode,y=zh({mode:"hidden",children:y},r),o=ca(o,r,i,null),y.return=a,o.return=a,y.sibling=o,a.child=y,r=a.child,r.memoizedState=Rp(i),r.childLanes=Dp(n,g,i),a.memoizedState=Rh,o):(Ru(a),Dh(a,y))}if(E=n.memoizedState,E!==null&&(y=E.dehydrated,y!==null)){if(d)a.flags&256?(Ru(a),a.flags&=-257,a=_o(n,a,i)):a.memoizedState!==null?(wi(),a.child=n.child,a.flags|=128,a=null):(wi(),r=o.fallback,y=a.mode,o=zh({mode:"visible",children:o.children},y),r=ca(r,y,i,null),r.flags|=2,o.return=a,r.return=a,o.sibling=r,a.child=o,Ds(a,n.child,null,i),o=a.child,o.memoizedState=Rp(i),o.childLanes=Dp(n,g,i),a.memoizedState=Rh,a=r);else if(Ru(a),sd(y)){if(g=y.nextSibling&&y.nextSibling.dataset,g)var H=g.dgst;g=H,o=Error(m(419)),o.stack="",o.digest=g,Gc({value:o,source:null,stack:null}),a=_o(n,a,i)}else if(gn||jc(n,a,i,!1),g=(i&n.childLanes)!==0,gn||g){if(g=Rt,g!==null&&(o=i&-i,o=(o&42)!==0?1:hl(o),o=(o&(g.suspendedLanes|i))!==0?0:o,o!==0&&o!==E.retryLane))throw E.retryLane=o,xi(n,o),$l(g,n,o),It;y.data==="$?"||qs(),a=_o(n,a,i)}else y.data==="$?"?(a.flags|=192,a.child=n.child,a=null):(n=E.treeContext,ft=Ia(y.nextSibling),an=a,ct=!0,fa=null,da=!1,n!==null&&(ra[Sl++]=Xa,ra[Sl++]=Jt,ra[Sl++]=Tu,Xa=n.id,Jt=n.overflow,Tu=a),a=Dh(a,o.children),a.flags|=4096);return a}return r?(wi(),r=o.fallback,y=a.mode,E=n.child,H=E.sibling,o=ja(E,{mode:"hidden",children:o.children}),o.subtreeFlags=E.subtreeFlags&65011712,H!==null?r=ja(H,r):(r=ca(r,y,i,null),r.flags|=2),r.return=a,o.return=a,o.sibling=r,a.child=o,o=r,r=a.child,y=n.child.memoizedState,y===null?y=Rp(i):(E=y.cachePool,E!==null?(H=pn._currentValue,E=E.parent!==H?{parent:H,pool:H}:E):E=Id(),y={baseLanes:y.baseLanes|i,cachePool:E}),r.memoizedState=y,r.childLanes=Dp(n,g,i),a.memoizedState=Rh,o):(Ru(a),i=n.child,n=i.sibling,i=ja(i,{mode:"visible",children:o.children}),i.return=a,i.sibling=null,n!==null&&(g=a.deletions,g===null?(a.deletions=[n],a.flags|=16):g.push(n)),a.child=i,a.memoizedState=null,i)}function Dh(n,a){return a=zh({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function zh(n,a){return n=bl(22,n,null,a),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function _o(n,a,i){return Ds(a,n.child,null,i),n=Dh(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Xf(n,a,i){n.lanes|=a;var o=n.alternate;o!==null&&(o.lanes|=a),Qd(n.return,a,i)}function Oh(n,a,i,o,r){var d=n.memoizedState;d===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:r}:(d.isBackwards=a,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=i,d.tailMode=r)}function Uh(n,a,i){var o=a.pendingProps,r=o.revealOrder,d=o.tail;if(Rn(n,a,o.children,i),o=_t.current,(o&2)!==0)o=o&1|2,a.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Xf(n,i,a);else if(n.tag===19)Xf(n,i,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}switch(ve(_t,o),r){case"forwards":for(i=a.child,r=null;i!==null;)n=i.alternate,n!==null&&qf(n)===null&&(r=i),i=i.sibling;i=r,i===null?(r=a.child,a.child=null):(r=i.sibling,i.sibling=null),Oh(a,!1,r,i,d);break;case"backwards":for(i=null,r=a.child,a.child=null;r!==null;){if(n=r.alternate,n!==null&&qf(n)===null){a.child=r;break}n=r.sibling,r.sibling=i,i=r,r=n}Oh(a,!0,i,null,d);break;case"together":Oh(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Hi(n,a,i){if(n!==null&&(a.dependencies=n.dependencies),Uu|=a.lanes,(i&a.childLanes)===0)if(n!==null){if(jc(n,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(m(153));if(a.child!==null){for(n=a.child,i=ja(n,n.pendingProps),a.child=i,i.return=a;n.sibling!==null;)n=n.sibling,i=i.sibling=ja(n,n.pendingProps),i.return=a;i.sibling=null}return a.child}function wh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&Sf(n)))}function Bv(n,a,i){switch(a.tag){case 3:xt(a,a.stateNode.containerInfo),Cu(a,pn,n.memoizedState.cache),Vc();break;case 27:case 5:Tn(a);break;case 4:xt(a,a.stateNode.containerInfo);break;case 10:Cu(a,a.type,a.memoizedProps.value);break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(Ru(a),a.flags|=128,null):(i&a.child.childLanes)!==0?zp(n,a,i):(Ru(a),n=Hi(n,a,i),n!==null?n.sibling:null);Ru(a);break;case 19:var r=(n.flags&128)!==0;if(o=(i&a.childLanes)!==0,o||(jc(n,a,i,!1),o=(i&a.childLanes)!==0),r){if(o)return Uh(n,a,i);a.flags|=128}if(r=a.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),ve(_t,_t.current),o)break;return null;case 22:case 23:return a.lanes=0,Ch(n,a,i);case 24:Cu(a,pn,n.memoizedState.cache)}return Hi(n,a,i)}function Nv(n,a,i){if(n!==null)if(n.memoizedProps!==a.pendingProps)gn=!0;else{if(!wh(n,i)&&(a.flags&128)===0)return gn=!1,Bv(n,a,i);gn=(n.flags&131072)!==0}else gn=!1,ct&&(a.flags&1048576)!==0&&Xd(a,qc,a.index);switch(a.lanes=0,a.tag){case 16:e:{n=a.pendingProps;var o=a.elementType,r=o._init;if(o=r(o._payload),a.type=o,typeof o=="function")vf(o)?(n=Co(o,n),a.tag=1,a=Ah(null,a,o,n,i)):(a.tag=0,a=_h(null,a,o,n,i));else{if(o!=null){if(r=o.$$typeof,r===xe){a.tag=11,a=kv(null,a,o,n,i);break e}else if(r===ze){a.tag=14,a=Du(null,a,o,n,i);break e}}throw a=Mt(o)||o,Error(m(306,a,""))}}return a;case 0:return _h(n,a,a.type,a.pendingProps,i);case 1:return o=a.type,r=Co(o,a.pendingProps),Ah(n,a,o,r,i);case 3:e:{if(xt(a,a.stateNode.containerInfo),n===null)throw Error(m(387));o=a.pendingProps;var d=a.memoizedState;r=d.element,th(n,a),_u(a,o,null,i);var g=a.memoizedState;if(o=g.cache,Cu(a,pn,o),o!==d.cache&&Fm(a,[pn],i,!0),Zc(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},a.updateQueue.baseState=d,a.memoizedState=d,a.flags&256){a=Mh(n,a,o,i);break e}else if(o!==r){r=$n(Error(m(424)),a),Gc(r),a=Mh(n,a,o,i);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(ft=Ia(n.firstChild),an=a,ct=!0,fa=null,da=!0,i=Oi(a,null,o,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Vc(),o===r){a=Hi(n,a,i);break e}Rn(n,a,o,i)}a=a.child}return a;case 26:return jf(n,a),n===null?(i=Pv(a.type,null,a.pendingProps,null))?a.memoizedState=i:ct||(i=a.type,n=a.pendingProps,o=Sa($e.current).createElement(i),o[ln]=a,o[En]=n,Be(o,i,n),$t(o),a.stateNode=o):a.memoizedState=Pv(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Tn(a),n===null&&ct&&(o=a.stateNode=he(a.type,a.pendingProps,$e.current),an=a,da=!0,r=ft,Ho(a.type)?(ko=r,ft=Ia(o.firstChild)):ft=r),Rn(n,a,a.pendingProps.children,i),jf(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&ct&&((r=o=ft)&&(o=yr(o,a.type,a.pendingProps,da),o!==null?(a.stateNode=o,an=a,ft=Ia(o.firstChild),da=!1,r=!0):r=!1),r||xu(a)),Tn(a),r=a.type,d=a.pendingProps,g=n!==null?n.memoizedProps:null,o=d.children,ji(r,d)?o=null:g!==null&&ji(r,g)&&(a.flags|=32),a.memoizedState!==null&&(r=ah(n,a,_v,null,null,i),zl._currentValue=r),jf(n,a),Rn(n,a,o,i),a.child;case 6:return n===null&&ct&&((n=i=ft)&&(i=dy(i,a.pendingProps,da),i!==null?(a.stateNode=i,an=a,ft=null,n=!0):n=!1),n||xu(a)),null;case 13:return zp(n,a,i);case 4:return xt(a,a.stateNode.containerInfo),o=a.pendingProps,n===null?a.child=Ds(a,null,o,i):Rn(n,a,o,i),a.child;case 11:return kv(n,a,a.type,a.pendingProps,i);case 7:return Rn(n,a,a.pendingProps,i),a.child;case 8:return Rn(n,a,a.pendingProps.children,i),a.child;case 12:return Rn(n,a,a.pendingProps.children,i),a.child;case 10:return o=a.pendingProps,Cu(a,a.type,o.value),Rn(n,a,o.children,i),a.child;case 9:return r=a.type._context,o=a.pendingProps.children,go(a),r=An(r),o=o(r),a.flags|=1,Rn(n,a,o,i),a.child;case 14:return Du(n,a,a.type,a.pendingProps,i);case 15:return Os(n,a,a.type,a.pendingProps,i);case 19:return Uh(n,a,i);case 31:return o=a.pendingProps,i=a.mode,o={mode:o.mode,children:o.children},n===null?(i=zh(o,i),i.ref=a.ref,a.child=i,i.return=a,a=i):(i=ja(n.child,o),i.ref=a.ref,a.child=i,i.return=a,a=i),a;case 22:return Ch(n,a,i);case 24:return go(a),o=An(pn),n===null?(r=Ef(),r===null&&(r=Rt,d=Qc(),r.pooledCache=d,d.refCount++,d!==null&&(r.pooledCacheLanes|=i),r=d),a.memoizedState={parent:o,cache:r},eh(a),Cu(a,pn,r)):((n.lanes&i)!==0&&(th(n,a),_u(a,null,null,i),Zc()),r=n.memoizedState,d=a.memoizedState,r.parent!==o?(r={parent:o,cache:o},a.memoizedState=r,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=r),Cu(a,pn,o)):(o=d.cache,Cu(a,pn,o),o!==r.cache&&Fm(a,[pn],i,!0))),Rn(n,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(m(156,a.tag))}function ki(n){n.flags|=4}function er(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!h0(a)){if(a=Ql.current,a!==null&&((nt&4194048)===nt?In!==null:(nt&62914560)!==nt&&(nt&536870912)===0||a!==In))throw Ss=Fd,Wd;n.flags|=8192}}function Qf(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?ni():536870912,n.lanes|=a,ir|=a)}function tr(n,a){if(!ct)switch(n.tailMode){case"hidden":a=n.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function Oe(n){var a=n.alternate!==null&&n.alternate.child===n.child,i=0,o=0;if(a)for(var r=n.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags&65011712,o|=r.flags&65011712,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags,o|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=o,n.childLanes=i,a}function Op(n,a,i){var o=a.pendingProps;switch(Ei(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(a),null;case 1:return Oe(a),null;case 3:return i=a.stateNode,o=null,n!==null&&(o=n.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Ci(pn),Gt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Yc(a)?ki(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Wm())),Oe(a),null;case 26:return i=a.memoizedState,n===null?(ki(a),i!==null?(Oe(a),er(a,i)):(Oe(a),a.flags&=-16777217)):i?i!==n.memoizedState?(ki(a),Oe(a),er(a,i)):(Oe(a),a.flags&=-16777217):(n.memoizedProps!==o&&ki(a),Oe(a),a.flags&=-16777217),null;case 27:Ul(a),i=$e.current;var r=a.type;if(n!==null&&a.stateNode!=null)n.memoizedProps!==o&&ki(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Oe(a),null}n=He.current,Yc(a)?yf(a):(n=he(r,o,i),a.stateNode=n,ki(a))}return Oe(a),null;case 5:if(Ul(a),i=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==o&&ki(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Oe(a),null}if(n=He.current,Yc(a))yf(a);else{switch(r=Sa($e.current),n){case 1:n=r.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:n=r.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":n=r.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":n=r.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":n=r.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof o.is=="string"?r.createElement("select",{is:o.is}):r.createElement("select"),o.multiple?n.multiple=!0:o.size&&(n.size=o.size);break;default:n=typeof o.is=="string"?r.createElement(i,{is:o.is}):r.createElement(i)}}n[ln]=a,n[En]=o;e:for(r=a.child;r!==null;){if(r.tag===5||r.tag===6)n.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}a.stateNode=n;e:switch(Be(n,i,o),i){case"button":case"input":case"select":case"textarea":n=!!o.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ki(a)}}return Oe(a),a.flags&=-16777217,null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==o&&ki(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(m(166));if(n=$e.current,Yc(a)){if(n=a.stateNode,i=a.memoizedProps,o=null,r=an,r!==null)switch(r.tag){case 27:case 5:o=r.memoizedProps}n[ln]=a,n=!!(n.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||c0(n.nodeValue,i)),n||xu(a)}else n=Sa(n).createTextNode(o),n[ln]=a,a.stateNode=n}return Oe(a),null;case 13:if(o=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(r=Yc(a),o!==null&&o.dehydrated!==null){if(n===null){if(!r)throw Error(m(318));if(r=a.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(m(317));r[ln]=a}else Vc(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Oe(a),r=!1}else r=Wm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),r=!0;if(!r)return a.flags&256?(Ja(a),a):(Ja(a),null)}if(Ja(a),(a.flags&128)!==0)return a.lanes=i,a;if(i=o!==null,n=n!==null&&n.memoizedState!==null,i){o=a.child,r=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(r=o.alternate.memoizedState.cachePool.pool);var d=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==r&&(o.flags|=2048)}return i!==n&&i&&(a.child.flags|=8192),Qf(a,a.updateQueue),Oe(a),null;case 4:return Gt(),n===null&&o0(a.stateNode.containerInfo),Oe(a),null;case 10:return Ci(a.type),Oe(a),null;case 19:if(ie(_t),r=a.memoizedState,r===null)return Oe(a),null;if(o=(a.flags&128)!==0,d=r.rendering,d===null)if(o)tr(r,!1);else{if(Pt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(d=qf(n),d!==null){for(a.flags|=128,tr(r,!1),n=d.updateQueue,a.updateQueue=n,Qf(a,n),a.subtreeFlags=0,n=i,i=a.child;i!==null;)Ie(i,n),i=i.sibling;return ve(_t,_t.current&1|2),a.child}n=n.sibling}r.tail!==null&&hn()>Gh&&(a.flags|=128,o=!0,tr(r,!1),a.lanes=4194304)}else{if(!o)if(n=qf(d),n!==null){if(a.flags|=128,o=!0,n=n.updateQueue,a.updateQueue=n,Qf(a,n),tr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!d.alternate&&!ct)return Oe(a),null}else 2*hn()-r.renderingStartTime>Gh&&i!==536870912&&(a.flags|=128,o=!0,tr(r,!1),a.lanes=4194304);r.isBackwards?(d.sibling=a.child,a.child=d):(n=r.last,n!==null?n.sibling=d:a.child=d,r.last=d)}return r.tail!==null?(a=r.tail,r.rendering=a,r.tail=a.sibling,r.renderingStartTime=hn(),a.sibling=null,n=_t.current,ve(_t,o?n&1|2:n&1),a):(Oe(a),null);case 22:case 23:return Ja(a),Jc(),o=a.memoizedState!==null,n!==null?n.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(i&536870912)!==0&&(a.flags&128)===0&&(Oe(a),a.subtreeFlags&6&&(a.flags|=8192)):Oe(a),i=a.updateQueue,i!==null&&Qf(a,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==i&&(a.flags|=2048),n!==null&&ie(Ai),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),Ci(pn),Oe(a),null;case 25:return null;case 30:return null}throw Error(m(156,a.tag))}function ay(n,a){switch(Ei(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return Ci(pn),Gt(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return Ul(a),null;case 13:if(Ja(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(m(340));Vc()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return ie(_t),null;case 4:return Gt(),null;case 10:return Ci(a.type),null;case 22:case 23:return Ja(a),Jc(),n!==null&&ie(Ai),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return Ci(pn),null;case 25:return null;default:return null}}function Up(n,a){switch(Ei(a),a.tag){case 3:Ci(pn),Gt();break;case 26:case 27:case 5:Ul(a);break;case 4:Gt();break;case 13:Ja(a);break;case 19:ie(_t);break;case 10:Ci(a.type);break;case 22:case 23:Ja(a),Jc(),n!==null&&ie(Ai);break;case 24:Ci(pn)}}function Zf(n,a){try{var i=a.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var r=o.next;i=r;do{if((i.tag&n)===n){o=void 0;var d=i.create,g=i.inst;o=d(),g.destroy=o}i=i.next}while(i!==r)}}catch(y){St(a,a.return,y)}}function Ao(n,a,i){try{var o=a.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var d=r.next;o=d;do{if((o.tag&n)===n){var g=o.inst,y=g.destroy;if(y!==void 0){g.destroy=void 0,r=a;var E=i,H=y;try{H()}catch(I){St(r,E,I)}}}o=o.next}while(o!==d)}}catch(I){St(a,a.return,I)}}function Hh(n){var a=n.updateQueue;if(a!==null){var i=n.stateNode;try{Af(a,i)}catch(o){St(n,n.return,o)}}}function wp(n,a,i){i.props=Co(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(o){St(n,a,o)}}function nr(n,a){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var o=n.stateNode;break;case 30:o=n.stateNode;break;default:o=n.stateNode}typeof i=="function"?n.refCleanup=i(o):i.current=o}}catch(r){St(n,a,r)}}function Ka(n,a){var i=n.ref,o=n.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(r){St(n,a,r)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(r){St(n,a,r)}else i.current=null}function lr(n){var a=n.type,i=n.memoizedProps,o=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(r){St(n,n.return,r)}}function Hp(n,a,i){try{var o=n.stateNode;cy(o,n.type,i,a),o[En]=a}catch(r){St(n,n.return,r)}}function Lv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ho(n.type)||n.tag===4}function va(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Lv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ho(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ws(n,a,i){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(n),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=em));else if(o!==4&&(o===27&&Ho(n.type)&&(i=n.stateNode,a=null),n=n.child,n!==null))for(ws(n,a,i),n=n.sibling;n!==null;)ws(n,a,i),n=n.sibling}function kh(n,a,i){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?i.insertBefore(n,a):i.appendChild(n);else if(o!==4&&(o===27&&Ho(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(kh(n,a,i),n=n.sibling;n!==null;)kh(n,a,i),n=n.sibling}function Bh(n){var a=n.stateNode,i=n.memoizedProps;try{for(var o=n.type,r=a.attributes;r.length;)a.removeAttributeNode(r[0]);Be(a,o,i),a[ln]=n,a[En]=i}catch(d){St(n,n.return,d)}}var Bi=!1,Wt=!1,Nh=!1,Lh=typeof WeakSet=="function"?WeakSet:Set,yn=null;function kp(n,a){if(n=n.containerInfo,id=fd,n=Dc(n),ho(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var r=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var g=0,y=-1,E=-1,H=0,I=0,P=n,B=null;t:for(;;){for(var L;P!==i||r!==0&&P.nodeType!==3||(y=g+r),P!==d||o!==0&&P.nodeType!==3||(E=g+o),P.nodeType===3&&(g+=P.nodeValue.length),(L=P.firstChild)!==null;)B=P,P=L;for(;;){if(P===n)break t;if(B===i&&++H===r&&(y=g),B===d&&++I===o&&(E=g),(L=P.nextSibling)!==null)break;P=B,B=P.parentNode}P=L}i=y===-1||E===-1?null:{start:y,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for(ud={focusedElem:n,selectionRange:i},fd=!1,yn=a;yn!==null;)if(a=yn,n=a.child,(a.subtreeFlags&1024)!==0&&n!==null)n.return=a,yn=n;else for(;yn!==null;){switch(a=yn,d=a.alternate,n=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&d!==null){n=void 0,i=a,r=d.memoizedProps,d=d.memoizedState,o=i.stateNode;try{var Ae=Co(i.type,r,i.elementType===i.type);n=o.getSnapshotBeforeUpdate(Ae,d),o.__reactInternalSnapshotBeforeUpdate=n}catch(Me){St(i,i.return,Me)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,i=n.nodeType,i===9)od(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":od(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(m(163))}if(n=a.sibling,n!==null){n.return=a.return,yn=n;break}yn=a.return}}function Bp(n,a,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:Li(n,i),o&4&&Zf(5,i);break;case 1:if(Li(n,i),o&4)if(n=i.stateNode,a===null)try{n.componentDidMount()}catch(g){St(i,i.return,g)}else{var r=Co(i.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(r,a,n.__reactInternalSnapshotBeforeUpdate)}catch(g){St(i,i.return,g)}}o&64&&Hh(i),o&512&&nr(i,i.return);break;case 3:if(Li(n,i),o&64&&(n=i.updateQueue,n!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{Af(n,a)}catch(g){St(i,i.return,g)}}break;case 27:a===null&&o&4&&Bh(i);case 26:case 5:Li(n,i),a===null&&o&4&&lr(i),o&512&&nr(i,i.return);break;case 12:Li(n,i);break;case 13:Li(n,i),o&4&&qh(n,i),o&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=iy.bind(null,i),hy(n,i))));break;case 22:if(o=i.memoizedState!==null||Bi,!o){a=a!==null&&a.memoizedState!==null||Wt,r=Bi;var d=Wt;Bi=o,(Wt=a)&&!d?Mo(n,i,(i.subtreeFlags&8772)!==0):Li(n,i),Bi=r,Wt=d}break;case 30:break;default:Li(n,i)}}function Np(n){var a=n.alternate;a!==null&&(n.alternate=null,Np(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Iu(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Nt=null,kn=!1;function Ni(n,a,i){for(i=i.child;i!==null;)Pe(n,a,i),i=i.sibling}function Pe(n,a,i){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(zt,i)}catch{}switch(i.tag){case 26:Wt||Ka(i,a),Ni(n,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Wt||Ka(i,a);var o=Nt,r=kn;Ho(i.type)&&(Nt=i.stateNode,kn=!1),Ni(n,a,i),Rl(i.stateNode),Nt=o,kn=r;break;case 5:Wt||Ka(i,a);case 6:if(o=Nt,r=kn,Nt=null,Ni(n,a,i),Nt=o,kn=r,Nt!==null)if(kn)try{(Nt.nodeType===9?Nt.body:Nt.nodeName==="HTML"?Nt.ownerDocument.body:Nt).removeChild(i.stateNode)}catch(d){St(i,a,d)}else try{Nt.removeChild(i.stateNode)}catch(d){St(i,a,d)}break;case 18:Nt!==null&&(kn?(n=Nt,nm(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),Zi(n)):nm(Nt,i.stateNode));break;case 4:o=Nt,r=kn,Nt=i.stateNode.containerInfo,kn=!0,Ni(n,a,i),Nt=o,kn=r;break;case 0:case 11:case 14:case 15:Wt||Ao(2,i,a),Wt||Ao(4,i,a),Ni(n,a,i);break;case 1:Wt||(Ka(i,a),o=i.stateNode,typeof o.componentWillUnmount=="function"&&wp(i,a,o)),Ni(n,a,i);break;case 21:Ni(n,a,i);break;case 22:Wt=(o=Wt)||i.memoizedState!==null,Ni(n,a,i),Wt=o;break;default:Ni(n,a,i)}}function qh(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Zi(n)}catch(i){St(a,a.return,i)}}function Lp(n){switch(n.tag){case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Lh),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Lh),a;default:throw Error(m(435,n.tag))}}function Yh(n,a){var i=Lp(n);a.forEach(function(o){var r=uy.bind(null,n,o);i.has(o)||(i.add(o),o.then(r,r))})}function il(n,a){var i=a.deletions;if(i!==null)for(var o=0;o<i.length;o++){var r=i[o],d=n,g=a,y=g;e:for(;y!==null;){switch(y.tag){case 27:if(Ho(y.type)){Nt=y.stateNode,kn=!1;break e}break;case 5:Nt=y.stateNode,kn=!1;break e;case 3:case 4:Nt=y.stateNode.containerInfo,kn=!0;break e}y=y.return}if(Nt===null)throw Error(m(160));Pe(d,g,r),Nt=null,kn=!1,d=r.alternate,d!==null&&(d.return=null),r.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)$f(a,n),a=a.sibling}var ul=null;function $f(n,a){var i=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:il(a,n),Dn(n),o&4&&(Ao(3,n,n.return),Zf(3,n),Ao(5,n,n.return));break;case 1:il(a,n),Dn(n),o&512&&(Wt||i===null||Ka(i,i.return)),o&64&&Bi&&(n=n.updateQueue,n!==null&&(o=n.callbacks,o!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var r=ul;if(il(a,n),Dn(n),o&512&&(Wt||i===null||Ka(i,i.return)),o&4){var d=i!==null?i.memoizedState:null;if(o=n.memoizedState,i===null)if(o===null)if(n.stateNode===null){e:{o=n.type,i=n.memoizedProps,r=r.ownerDocument||r;t:switch(o){case"title":d=r.getElementsByTagName("title")[0],(!d||d[ye]||d[ln]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=r.createElement(o),r.head.insertBefore(d,r.querySelector("head > title"))),Be(d,o,i),d[ln]=n,$t(d),o=d;break e;case"link":var g=f0("link","href",r).get(o+(i.href||""));if(g){for(var y=0;y<g.length;y++)if(d=g[y],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){g.splice(y,1);break t}}d=r.createElement(o),Be(d,o,i),r.head.appendChild(d);break;case"meta":if(g=f0("meta","content",r).get(o+(i.content||""))){for(y=0;y<g.length;y++)if(d=g[y],d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){g.splice(y,1);break t}}d=r.createElement(o),Be(d,o,i),r.head.appendChild(d);break;default:throw Error(m(468,o))}d[ln]=n,$t(d),o=d}n.stateNode=o}else d0(r,n.type,n.stateNode);else n.stateNode=tg(r,o,n.memoizedProps);else d!==o?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,o===null?d0(r,n.type,n.stateNode):tg(r,o,n.memoizedProps)):o===null&&n.stateNode!==null&&Hp(n,n.memoizedProps,i.memoizedProps)}break;case 27:il(a,n),Dn(n),o&512&&(Wt||i===null||Ka(i,i.return)),i!==null&&o&4&&Hp(n,n.memoizedProps,i.memoizedProps);break;case 5:if(il(a,n),Dn(n),o&512&&(Wt||i===null||Ka(i,i.return)),n.flags&32){r=n.stateNode;try{mu(r,"")}catch(L){St(n,n.return,L)}}o&4&&n.stateNode!=null&&(r=n.memoizedProps,Hp(n,r,i!==null?i.memoizedProps:r)),o&1024&&(Nh=!0);break;case 6:if(il(a,n),Dn(n),o&4){if(n.stateNode===null)throw Error(m(162));o=n.memoizedProps,i=n.stateNode;try{i.nodeValue=o}catch(L){St(n,n.return,L)}}break;case 3:if(Lo=null,r=ul,ul=lm(a.containerInfo),il(a,n),ul=r,Dn(n),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Zi(a.containerInfo)}catch(L){St(n,n.return,L)}Nh&&(Nh=!1,qp(n));break;case 4:o=ul,ul=lm(n.stateNode.containerInfo),il(a,n),Dn(n),ul=o;break;case 12:il(a,n),Dn(n);break;case 13:il(a,n),Dn(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&($p=hn()),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,Yh(n,o)));break;case 22:r=n.memoizedState!==null;var E=i!==null&&i.memoizedState!==null,H=Bi,I=Wt;if(Bi=H||r,Wt=I||E,il(a,n),Wt=I,Bi=H,Dn(n),o&8192)e:for(a=n.stateNode,a._visibility=r?a._visibility&-2:a._visibility|1,r&&(i===null||E||Bi||Wt||Lt(n)),i=null,a=n;;){if(a.tag===5||a.tag===26){if(i===null){E=i=a;try{if(d=E.stateNode,r)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{y=E.stateNode;var P=E.memoizedProps.style,B=P!=null&&P.hasOwnProperty("display")?P.display:null;y.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(L){St(E,E.return,L)}}}else if(a.tag===6){if(i===null){E=a;try{E.stateNode.nodeValue=r?"":E.memoizedProps}catch(L){St(E,E.return,L)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=n.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,Yh(n,i))));break;case 19:il(a,n),Dn(n),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,Yh(n,o)));break;case 30:break;case 21:break;default:il(a,n),Dn(n)}}function Dn(n){var a=n.flags;if(a&2){try{for(var i,o=n.return;o!==null;){if(Lv(o)){i=o;break}o=o.return}if(i==null)throw Error(m(160));switch(i.tag){case 27:var r=i.stateNode,d=va(n);kh(n,d,r);break;case 5:var g=i.stateNode;i.flags&32&&(mu(g,""),i.flags&=-33);var y=va(n);kh(n,y,g);break;case 3:case 4:var E=i.stateNode.containerInfo,H=va(n);ws(n,H,E);break;default:throw Error(m(161))}}catch(I){St(n,n.return,I)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function qp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;qp(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function Li(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Bp(n,a.alternate,a),a=a.sibling}function Lt(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:Ao(4,a,a.return),Lt(a);break;case 1:Ka(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&wp(a,a.return,i),Lt(a);break;case 27:Rl(a.stateNode);case 26:case 5:Ka(a,a.return),Lt(a);break;case 22:a.memoizedState===null&&Lt(a);break;case 30:Lt(a);break;default:Lt(a)}n=n.sibling}}function Mo(n,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,r=n,d=a,g=d.flags;switch(d.tag){case 0:case 11:case 15:Mo(r,d,i),Zf(4,d);break;case 1:if(Mo(r,d,i),o=d,r=o.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(H){St(o,o.return,H)}if(o=d,r=o.updateQueue,r!==null){var y=o.stateNode;try{var E=r.shared.hiddenCallbacks;if(E!==null)for(r.shared.hiddenCallbacks=null,r=0;r<E.length;r++)nh(E[r],y)}catch(H){St(o,o.return,H)}}i&&g&64&&Hh(d),nr(d,d.return);break;case 27:Bh(d);case 26:case 5:Mo(r,d,i),i&&o===null&&g&4&&lr(d),nr(d,d.return);break;case 12:Mo(r,d,i);break;case 13:Mo(r,d,i),i&&g&4&&qh(r,d);break;case 22:d.memoizedState===null&&Mo(r,d,i),nr(d,d.return);break;case 30:break;default:Mo(r,d,i)}a=a.sibling}}function ga(n,a){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&_i(i))}function Vh(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&_i(n))}function Bn(n,a,i,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Yp(n,a,i,o),a=a.sibling}function Yp(n,a,i,o){var r=a.flags;switch(a.tag){case 0:case 11:case 15:Bn(n,a,i,o),r&2048&&Zf(9,a);break;case 1:Bn(n,a,i,o);break;case 3:Bn(n,a,i,o),r&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&_i(n)));break;case 12:if(r&2048){Bn(n,a,i,o),n=a.stateNode;try{var d=a.memoizedProps,g=d.id,y=d.onPostCommit;typeof y=="function"&&y(g,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(E){St(a,a.return,E)}}else Bn(n,a,i,o);break;case 13:Bn(n,a,i,o);break;case 23:break;case 22:d=a.stateNode,g=a.alternate,a.memoizedState!==null?d._visibility&2?Bn(n,a,i,o):dt(n,a):d._visibility&2?Bn(n,a,i,o):(d._visibility|=2,zu(n,a,i,o,(a.subtreeFlags&10256)!==0)),r&2048&&ga(g,a);break;case 24:Bn(n,a,i,o),r&2048&&Vh(a.alternate,a);break;default:Bn(n,a,i,o)}}function zu(n,a,i,o,r){for(r=r&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var d=n,g=a,y=i,E=o,H=g.flags;switch(g.tag){case 0:case 11:case 15:zu(d,g,y,E,r),Zf(8,g);break;case 23:break;case 22:var I=g.stateNode;g.memoizedState!==null?I._visibility&2?zu(d,g,y,E,r):dt(d,g):(I._visibility|=2,zu(d,g,y,E,r)),r&&H&2048&&ga(g.alternate,g);break;case 24:zu(d,g,y,E,r),r&&H&2048&&Vh(g.alternate,g);break;default:zu(d,g,y,E,r)}a=a.sibling}}function dt(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=n,o=a,r=o.flags;switch(o.tag){case 22:dt(i,o),r&2048&&ga(o.alternate,o);break;case 24:dt(i,o),r&2048&&Vh(o.alternate,o);break;default:dt(i,o)}a=a.sibling}}var Hs=8192;function Ft(n){if(n.subtreeFlags&Hs)for(n=n.child;n!==null;)qv(n),n=n.sibling}function qv(n){switch(n.tag){case 26:Ft(n),n.flags&Hs&&n.memoizedState!==null&&ag(ul,n.memoizedState,n.memoizedProps);break;case 5:Ft(n);break;case 3:case 4:var a=ul;ul=lm(n.stateNode.containerInfo),Ft(n),ul=a;break;case 22:n.memoizedState===null&&(a=n.alternate,a!==null&&a.memoizedState!==null?(a=Hs,Hs=16777216,Ft(n),Hs=a):Ft(n));break;default:Ft(n)}}function Vp(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function ks(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var o=a[i];yn=o,jp(o,n)}Vp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Gp(n),n=n.sibling}function Gp(n){switch(n.tag){case 0:case 11:case 15:ks(n),n.flags&2048&&Ao(9,n,n.return);break;case 3:ks(n);break;case 12:ks(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,ol(n)):ks(n);break;default:ks(n)}}function ol(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var o=a[i];yn=o,jp(o,n)}Vp(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:Ao(8,a,a.return),ol(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,ol(a));break;default:ol(a)}n=n.sibling}}function jp(n,a){for(;yn!==null;){var i=yn;switch(i.tag){case 0:case 11:case 15:Ao(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:_i(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,yn=o;else e:for(i=n;yn!==null;){o=yn;var r=o.sibling,d=o.return;if(Np(o),o===i){yn=null;break e}if(r!==null){r.return=d,yn=r;break e}yn=d}}}var Xp={getCacheForType:function(n){var a=An(pn),i=a.data.get(n);return i===void 0&&(i=n(),a.data.set(n,i)),i}},Yv=typeof WeakMap=="function"?WeakMap:Map,yt=0,Rt=null,tt=null,nt=0,bt=0,_l=null,qi=!1,ar=!1,Qp=!1,Ou=0,Pt=0,Uu=0,Bs=0,Yi=0,ya=0,ir=0,ur=null,Al=null,Zp=!1,$p=0,Gh=1/0,or=null,Ro=null,Nn=0,Vi=null,sr=null,Ln=0,jh=0,Xh=null,Jp=null,cr=0,Kp=null;function Zl(){if((yt&2)!==0&&nt!==0)return nt&-nt;if(D.T!==null){var n=ha;return n!==0?n:Ys()}return Zr()}function Ip(){ya===0&&(ya=(nt&536870912)===0||ct?Da():536870912);var n=Ql.current;return n!==null&&(n.flags|=32),ya}function $l(n,a,i){(n===Rt&&(bt===2||bt===9)||n.cancelPendingCommit!==null)&&(Gi(n,0),wu(n,nt,ya,!1)),li(n,i),((yt&2)===0||n!==Rt)&&(n===Rt&&((yt&2)===0&&(Bs|=i),Pt===4&&wu(n,nt,ya,!1)),Ml(n))}function rr(n,a,i){if((yt&6)!==0)throw Error(m(327));var o=!i&&(a&124)===0&&(a&n.expiredLanes)===0||kl(n,a),r=o?Fp(n,a):Qh(n,a,!0),d=o;do{if(r===0){ar&&!o&&wu(n,a,0,!1);break}else{if(i=n.current.alternate,d&&!Vv(i)){r=Qh(n,a,!1),d=!1;continue}if(r===2){if(d=a,n.errorRecoveryDisabledLanes&d)var g=0;else g=n.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){a=g;e:{var y=n;r=ur;var E=y.current.memoizedState.isDehydrated;if(E&&(Gi(y,g).flags|=256),g=Qh(y,g,!1),g!==2){if(Qp&&!E){y.errorRecoveryDisabledLanes|=d,Bs|=d,r=4;break e}d=Al,Al=r,d!==null&&(Al===null?Al=d:Al.push.apply(Al,d))}r=g}if(d=!1,r!==2)continue}}if(r===1){Gi(n,0),wu(n,a,0,!0);break}e:{switch(o=n,d=r,d){case 0:case 1:throw Error(m(345));case 4:if((a&4194048)!==a)break;case 6:wu(o,a,ya,!qi);break e;case 2:Al=null;break;case 3:case 5:break;default:throw Error(m(329))}if((a&62914560)===a&&(r=$p+300-hn(),10<r)){if(wu(o,a,ya,!qi),Ra(o,0,!0)!==0)break e;o.timeoutHandle=tm(Jf.bind(null,o,i,Al,or,Zp,a,ya,Bs,ir,qi,d,2,-0,0),r);break e}Jf(o,i,Al,or,Zp,a,ya,Bs,ir,qi,d,0,-0,0)}}break}while(!0);Ml(n)}function Jf(n,a,i,o,r,d,g,y,E,H,I,P,B,L){if(n.timeoutHandle=-1,P=a.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(xr={stylesheets:null,count:0,unsuspend:lg},qv(a),P=m0(),P!==null)){n.cancelPendingCommit=P(Xv.bind(null,n,a,d,i,o,r,g,y,E,I,1,B,L)),wu(n,d,g,!H);return}Xv(n,a,d,i,o,r,g,y,E)}function Vv(n){for(var a=n;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var r=i[o],d=r.getSnapshot;r=r.value;try{if(!cn(d(),r))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function wu(n,a,i,o){a&=~Yi,a&=~Bs,n.suspendedLanes|=a,n.pingedLanes&=~a,o&&(n.warmLanes|=a),o=n.expirationTimes;for(var r=a;0<r;){var d=31-Ot(r),g=1<<d;o[d]=-1,r&=~g}i!==0&&Ju(n,i,a)}function Ns(){return(yt&6)===0?(Ff(0),!1):!0}function Do(){if(tt!==null){if(bt===0)var n=tt.return;else n=tt,Qa=Eu=null,uh(n),Ms=null,Wc=0,n=tt;for(;n!==null;)Up(n.alternate,n),n=n.return;tt=null}}function Gi(n,a){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,ry(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Do(),Rt=n,tt=i=ja(n.current,null),nt=a,bt=0,_l=null,qi=!1,ar=kl(n,a),Qp=!1,ir=ya=Yi=Bs=Uu=Pt=0,Al=ur=null,Zp=!1,(a&8)!==0&&(a|=a&32);var o=n.entangledLanes;if(o!==0)for(n=n.entanglements,o&=a;0<o;){var r=31-Ot(o),d=1<<r;a|=n[r],o&=~d}return Ou=a,De(),i}function Wp(n,a){je=null,D.H=Th,a===bo||a===Cf?(a=tp(),bt=3):a===Wd?(a=tp(),bt=4):bt=a===It?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,_l=a,tt===null&&(Pt=1,Gf(n,$n(a,n.current)))}function Gv(){var n=D.H;return D.H=Th,n===null?Th:n}function Ls(){var n=D.A;return D.A=Xp,n}function qs(){Pt=4,qi||(nt&4194048)!==nt&&Ql.current!==null||(ar=!0),(Uu&134217727)===0&&(Bs&134217727)===0||Rt===null||wu(Rt,nt,ya,!1)}function Qh(n,a,i){var o=yt;yt|=2;var r=Gv(),d=Ls();(Rt!==n||nt!==a)&&(or=null,Gi(n,a)),a=!1;var g=Pt;e:do try{if(bt!==0&&tt!==null){var y=tt,E=_l;switch(bt){case 8:Do(),g=6;break e;case 3:case 2:case 9:case 6:Ql.current===null&&(a=!0);var H=bt;if(bt=0,_l=null,fr(n,y,E,H),i&&ar){g=0;break e}break;default:H=bt,bt=0,_l=null,fr(n,y,E,H)}}Zh(),g=Pt;break}catch(I){Wp(n,I)}while(!0);return a&&n.shellSuspendCounter++,Qa=Eu=null,yt=o,D.H=r,D.A=d,tt===null&&(Rt=null,nt=0,De()),g}function Zh(){for(;tt!==null;)e0(tt)}function Fp(n,a){var i=yt;yt|=2;var o=Gv(),r=Ls();Rt!==n||nt!==a?(or=null,Gh=hn()+500,Gi(n,a)):ar=kl(n,a);e:do try{if(bt!==0&&tt!==null){a=tt;var d=_l;t:switch(bt){case 1:bt=0,_l=null,fr(n,a,d,1);break;case 2:case 9:if(Pd(d)){bt=0,_l=null,t0(a);break}a=function(){bt!==2&&bt!==9||Rt!==n||(bt=7),Ml(n)},d.then(a,a);break e;case 3:bt=7;break e;case 4:bt=5;break e;case 7:Pd(d)?(bt=0,_l=null,t0(a)):(bt=0,_l=null,fr(n,a,d,7));break;case 5:var g=null;switch(tt.tag){case 26:g=tt.memoizedState;case 5:case 27:var y=tt;if(!g||h0(g)){bt=0,_l=null;var E=y.sibling;if(E!==null)tt=E;else{var H=y.return;H!==null?(tt=H,Kf(H)):tt=null}break t}}bt=0,_l=null,fr(n,a,d,5);break;case 6:bt=0,_l=null,fr(n,a,d,6);break;case 8:Do(),Pt=6;break e;default:throw Error(m(462))}}Pp();break}catch(I){Wp(n,I)}while(!0);return Qa=Eu=null,D.H=o,D.A=r,yt=i,tt!==null?0:(Rt=null,nt=0,De(),Pt)}function Pp(){for(;tt!==null&&!Jo();)e0(tt)}function e0(n){var a=Nv(n.alternate,n,Ou);n.memoizedProps=n.pendingProps,a===null?Kf(n):tt=a}function t0(n){var a=n,i=a.alternate;switch(a.tag){case 15:case 0:a=Mp(i,a,a.pendingProps,a.type,void 0,nt);break;case 11:a=Mp(i,a,a.pendingProps,a.type.render,a.ref,nt);break;case 5:uh(a);default:Up(i,a),a=tt=Ie(a,Ou),a=Nv(i,a,Ou)}n.memoizedProps=n.pendingProps,a===null?Kf(n):tt=a}function fr(n,a,i,o){Qa=Eu=null,uh(a),Ms=null,Wc=0;var r=a.return;try{if(Hv(n,r,a,i,nt)){Pt=1,Gf(n,$n(i,n.current)),tt=null;return}}catch(d){if(r!==null)throw tt=r,d;Pt=1,Gf(n,$n(i,n.current)),tt=null;return}a.flags&32768?(ct||o===1?n=!0:ar||(nt&536870912)!==0?n=!1:(qi=n=!0,(o===2||o===9||o===3||o===6)&&(o=Ql.current,o!==null&&o.tag===13&&(o.flags|=16384))),jv(a,n)):Kf(a)}function Kf(n){var a=n;do{if((a.flags&32768)!==0){jv(a,qi);return}n=a.return;var i=Op(a.alternate,a,Ou);if(i!==null){tt=i;return}if(a=a.sibling,a!==null){tt=a;return}tt=a=n}while(a!==null);Pt===0&&(Pt=5)}function jv(n,a){do{var i=ay(n.alternate,n);if(i!==null){i.flags&=32767,tt=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(n=n.sibling,n!==null)){tt=n;return}tt=n=i}while(n!==null);Pt=6,tt=null}function Xv(n,a,i,o,r,d,g,y,E){n.cancelPendingCommit=null;do Jh();while(Nn!==0);if((yt&6)!==0)throw Error(m(327));if(a!==null){if(a===n.current)throw Error(m(177));if(d=a.lanes|a.childLanes,d|=Gl,Qr(n,i,d,g,y,E),n===Rt&&(tt=Rt=null,nt=0),sr=a,Vi=n,Ln=i,jh=d,Xh=r,Jp=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,oy(Ma,function(){return n0(),null})):(n.callbackNode=null,n.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,r=W.p,W.p=2,g=yt,yt|=4;try{kp(n,a,i)}finally{yt=g,W.p=r,D.T=o}}Nn=1,Qv(),If(),$h()}}function Qv(){if(Nn===1){Nn=0;var n=Vi,a=sr,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=D.T,D.T=null;var o=W.p;W.p=2;var r=yt;yt|=4;try{$f(a,n);var d=ud,g=Dc(n.containerInfo),y=d.focusedElem,E=d.selectionRange;if(g!==y&&y&&y.ownerDocument&&fo(y.ownerDocument.documentElement,y)){if(E!==null&&ho(y)){var H=E.start,I=E.end;if(I===void 0&&(I=H),"selectionStart"in y)y.selectionStart=H,y.selectionEnd=Math.min(I,y.value.length);else{var P=y.ownerDocument||document,B=P&&P.defaultView||window;if(B.getSelection){var L=B.getSelection(),Ae=y.textContent.length,Me=Math.min(E.start,Ae),ht=E.end===void 0?Me:Math.min(E.end,Ae);!L.extend&&Me>ht&&(g=ht,ht=Me,Me=g);var O=Et(y,Me),z=Et(y,ht);if(O&&z&&(L.rangeCount!==1||L.anchorNode!==O.node||L.anchorOffset!==O.offset||L.focusNode!==z.node||L.focusOffset!==z.offset)){var U=P.createRange();U.setStart(O.node,O.offset),L.removeAllRanges(),Me>ht?(L.addRange(U),L.extend(z.node,z.offset)):(U.setEnd(z.node,z.offset),L.addRange(U))}}}}for(P=[],L=y;L=L.parentNode;)L.nodeType===1&&P.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<P.length;y++){var F=P[y];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}fd=!!id,ud=id=null}finally{yt=r,W.p=o,D.T=i}}n.current=a,Nn=2}}function If(){if(Nn===2){Nn=0;var n=Vi,a=sr,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=D.T,D.T=null;var o=W.p;W.p=2;var r=yt;yt|=4;try{Bp(n,a.alternate,a)}finally{yt=r,W.p=o,D.T=i}}Nn=3}}function $h(){if(Nn===4||Nn===3){Nn=0,Hl();var n=Vi,a=sr,i=Ln,o=Jp;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Nn=5:(Nn=0,sr=Vi=null,Zv(n,n.pendingLanes));var r=n.pendingLanes;if(r===0&&(Ro=null),Ko(i),a=a.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(zt,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=D.T,r=W.p,W.p=2,D.T=null;try{for(var d=n.onRecoverableError,g=0;g<o.length;g++){var y=o[g];d(y.value,{componentStack:y.stack})}}finally{D.T=a,W.p=r}}(Ln&3)!==0&&Jh(),Ml(n),r=n.pendingLanes,(i&4194090)!==0&&(r&42)!==0?n===Kp?cr++:(cr=0,Kp=n):cr=0,Ff(0)}}function Zv(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,_i(a)))}function Jh(n){return Qv(),If(),$h(),n0()}function n0(){if(Nn!==5)return!1;var n=Vi,a=jh;jh=0;var i=Ko(Ln),o=D.T,r=W.p;try{W.p=32>i?32:i,D.T=null,i=Xh,Xh=null;var d=Vi,g=Ln;if(Nn=0,sr=Vi=null,Ln=0,(yt&6)!==0)throw Error(m(331));var y=yt;if(yt|=4,Gp(d.current),Yp(d,d.current,g,i),yt=y,Ff(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(zt,d)}catch{}return!0}finally{W.p=r,D.T=o,Zv(n,a)}}function l0(n,a,i){a=$n(i,a),a=_p(n.stateNode,a,2),n=Ri(n,a,2),n!==null&&(li(n,2),Ml(n))}function St(n,a,i){if(n.tag===3)l0(n,n,i);else for(;a!==null;){if(a.tag===3){l0(a,n,i);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ro===null||!Ro.has(o))){n=$n(i,n),i=Ap(2),o=Ri(a,i,2),o!==null&&(Cl(i,o,a,n),li(o,2),Ml(o));break}}a=a.return}}function Kh(n,a,i){var o=n.pingCache;if(o===null){o=n.pingCache=new Yv;var r=new Set;o.set(a,r)}else r=o.get(a),r===void 0&&(r=new Set,o.set(a,r));r.has(i)||(Qp=!0,r.add(i),n=a0.bind(null,n,a,i),a.then(n,n))}function a0(n,a,i){var o=n.pingCache;o!==null&&o.delete(a),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,Rt===n&&(nt&i)===i&&(Pt===4||Pt===3&&(nt&62914560)===nt&&300>hn()-$p?(yt&2)===0&&Gi(n,0):Yi|=i,ir===nt&&(ir=0)),Ml(n)}function i0(n,a){a===0&&(a=ni()),n=xi(n,a),n!==null&&(li(n,a),Ml(n))}function iy(n){var a=n.memoizedState,i=0;a!==null&&(i=a.retryLane),i0(n,i)}function uy(n,a){var i=0;switch(n.tag){case 13:var o=n.stateNode,r=n.memoizedState;r!==null&&(i=r.retryLane);break;case 19:o=n.stateNode;break;case 22:o=n.stateNode._retryCache;break;default:throw Error(m(314))}o!==null&&o.delete(a),i0(n,i)}function oy(n,a){return wl(n,a)}var Ih=null,zo=null,Wf=!1,dr=!1,Wh=!1,Oo=0;function Ml(n){n!==zo&&n.next===null&&(zo===null?Ih=zo=n:zo=zo.next=n),dr=!0,Wf||(Wf=!0,Kv())}function Ff(n,a){if(!Wh&&dr){Wh=!0;do for(var i=!1,o=Ih;o!==null;){if(n!==0){var r=o.pendingLanes;if(r===0)var d=0;else{var g=o.suspendedLanes,y=o.pingedLanes;d=(1<<31-Ot(42|n)+1)-1,d&=r&~(g&~y),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,ed(o,d))}else d=nt,d=Ra(o,o===Rt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||kl(o,d)||(i=!0,ed(o,d));o=o.next}while(i);Wh=!1}}function $v(){Pf()}function Pf(){dr=Wf=!1;var n=0;Oo!==0&&(Bu()&&(n=Oo),Oo=0);for(var a=hn(),i=null,o=Ih;o!==null;){var r=o.next,d=u0(o,a);d===0?(o.next=null,i===null?Ih=r:i.next=r,r===null&&(zo=i)):(i=o,(n!==0||(d&3)!==0)&&(dr=!0)),o=r}Ff(n)}function u0(n,a){for(var i=n.suspendedLanes,o=n.pingedLanes,r=n.expirationTimes,d=n.pendingLanes&-62914561;0<d;){var g=31-Ot(d),y=1<<g,E=r[g];E===-1?((y&i)===0||(y&o)!==0)&&(r[g]=nn(y,a)):E<=a&&(n.expiredLanes|=y),d&=~y}if(a=Rt,i=nt,i=Ra(n,n===a?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o=n.callbackNode,i===0||n===a&&(bt===2||bt===9)||n.cancelPendingCommit!==null)return o!==null&&o!==null&&uu(o),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||kl(n,i)){if(a=i&-i,a===n.callbackPriority)return a;switch(o!==null&&uu(o),Ko(i)){case 2:case 8:i=ou;break;case 32:i=Ma;break;case 268435456:i=tl;break;default:i=Ma}return o=Jv.bind(null,n),i=wl(i,o),n.callbackPriority=a,n.callbackNode=i,a}return o!==null&&o!==null&&uu(o),n.callbackPriority=2,n.callbackNode=null,2}function Jv(n,a){if(Nn!==0&&Nn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Jh()&&n.callbackNode!==i)return null;var o=nt;return o=Ra(n,n===Rt?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o===0?null:(rr(n,o,a),u0(n,hn()),n.callbackNode!=null&&n.callbackNode===i?Jv.bind(null,n):null)}function ed(n,a){if(Jh())return null;rr(n,a,!0)}function Kv(){fy(function(){(yt&6)!==0?wl($u,$v):Pf()})}function Ys(){return Oo===0&&(Oo=Da()),Oo}function Fh(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:lo(""+n)}function td(n,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,n.id&&i.setAttribute("form",n.id),a.parentNode.insertBefore(i,a),n=new FormData(n),i.parentNode.removeChild(i),n}function Iv(n,a,i,o,r){if(a==="submit"&&i&&i.stateNode===r){var d=Fh((r[En]||null).action),g=o.submitter;g&&(a=(a=g[En]||null)?Fh(a.formAction):g.getAttribute("formAction"),a!==null&&(d=a,g=null));var y=new os("action","action",null,o,r);n.push({event:y,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Oo!==0){var E=g?td(r,g):new FormData(r);Sh(i,{pending:!0,data:E,method:r.method,action:d},null,E)}}else typeof d=="function"&&(y.preventDefault(),E=g?td(r,g):new FormData(r),Sh(i,{pending:!0,data:E,method:r.method,action:d},d,E))},currentTarget:r}]})}}for(var en=0;en<Su.length;en++){var nd=Su[en],sy=nd.toLowerCase(),Ke=nd[0].toUpperCase()+nd.slice(1);al(sy,"on"+Ke)}al(df,"onAnimationEnd"),al(zc,"onAnimationIteration"),al(hf,"onAnimationStart"),al("dblclick","onDoubleClick"),al("focusin","onFocus"),al("focusout","onBlur"),al(Oc,"onTransitionRun"),al(vs,"onTransitionStart"),al(mf,"onTransitionCancel"),al(Uc,"onTransitionEnd"),Ua("onMouseEnter",["mouseout","mouseover"]),Ua("onMouseLeave",["mouseout","mouseover"]),Ua("onPointerEnter",["pointerout","pointerover"]),Ua("onPointerLeave",["pointerout","pointerover"]),Oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Oa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ld="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(" "),Uo=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ld));function Vs(n,a){a=(a&4)!==0;for(var i=0;i<n.length;i++){var o=n[i],r=o.event;o=o.listeners;e:{var d=void 0;if(a)for(var g=o.length-1;0<=g;g--){var y=o[g],E=y.instance,H=y.currentTarget;if(y=y.listener,E!==d&&r.isPropagationStopped())break e;d=y,r.currentTarget=H;try{d(r)}catch(I){Yf(I)}r.currentTarget=null,d=E}else for(g=0;g<o.length;g++){if(y=o[g],E=y.instance,H=y.currentTarget,y=y.listener,E!==d&&r.isPropagationStopped())break e;d=y,r.currentTarget=H;try{d(r)}catch(I){Yf(I)}r.currentTarget=null,d=E}}}}function Xe(n,a){var i=a[Io];i===void 0&&(i=a[Io]=new Set);var o=n+"__bubble";i.has(o)||(Ph(a,n,2,!1),i.add(o))}function hr(n,a,i){var o=0;a&&(o|=4),Ph(i,n,o,a)}var mr="_reactListening"+Math.random().toString(36).slice(2);function o0(n){if(!n[mr]){n[mr]=!0,Fu.forEach(function(i){i!=="selectionchange"&&(Uo.has(i)||hr(i,!1,n),hr(i,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[mr]||(a[mr]=!0,hr("selectionchange",!1,a))}}function Ph(n,a,i,o){switch(x0(a)){case 2:var r=ig;break;case 8:r=ug;break;default:r=S0}i=r.bind(null,a,i,n),r=void 0,!as||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(r=!0),o?r!==void 0?n.addEventListener(a,i,{capture:!0,passive:r}):n.addEventListener(a,i,!0):r!==void 0?n.addEventListener(a,i,{passive:r}):n.addEventListener(a,i,!1)}function ba(n,a,i,o,r){var d=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var y=o.stateNode.containerInfo;if(y===r)break;if(g===4)for(g=o.return;g!==null;){var E=g.tag;if((E===3||E===4)&&g.stateNode.containerInfo===r)return;g=g.return}for(;y!==null;){if(g=on(y),g===null)return;if(E=g.tag,E===5||E===6||E===26||E===27){o=d=g;continue e}y=y.parentNode}}o=o.return}gu(function(){var H=d,I=ls(i),P=[];e:{var B=wc.get(n);if(B!==void 0){var L=os,Ae=n;switch(n){case"keypress":if(sn(i)===0)break e;case"keydown":case"keyup":L=ml;break;case"focusin":Ae="focus",L=mc;break;case"focusout":Ae="blur",L=mc;break;case"beforeblur":case"afterblur":L=mc;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=hc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=nf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=gc;break;case df:case zc:case hf:L=Gd;break;case Uc:L=sf;break;case"scroll":case"scrollend":L=ef;break;case"wheel":L=pi;break;case"copy":case"cut":case"paste":L=uo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=oo;break;case"toggle":case"beforetoggle":L=cf}var Me=(a&4)!==0,ht=!Me&&(n==="scroll"||n==="scrollend"),O=Me?B!==null?B+"Capture":null:B;Me=[];for(var z=H,U;z!==null;){var F=z;if(U=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||U===null||O===null||(F=fi(z,O),F!=null&&Me.push(Hu(z,F,U))),ht)break;z=z.return}0<Me.length&&(B=new L(B,Ae,null,i,I),P.push({event:B,listeners:Me}))}}if((a&7)===0){e:{if(B=n==="mouseover"||n==="pointerover",L=n==="mouseout"||n==="pointerout",B&&i!==ri&&(Ae=i.relatedTarget||i.fromElement)&&(on(Ae)||Ae[du]))break e;if((L||B)&&(B=I.window===I?I:(B=I.ownerDocument)?B.defaultView||B.parentWindow:window,L?(Ae=i.relatedTarget||i.toElement,L=H,Ae=Ae?on(Ae):null,Ae!==null&&(ht=C(Ae),Me=Ae.tag,Ae!==ht||Me!==5&&Me!==27&&Me!==6)&&(Ae=null)):(L=null,Ae=H),L!==Ae)){if(Me=hc,F="onMouseLeave",O="onMouseEnter",z="mouse",(n==="pointerout"||n==="pointerover")&&(Me=oo,F="onPointerLeave",O="onPointerEnter",z="pointer"),ht=L==null?B:Wu(L),U=Ae==null?B:Wu(Ae),B=new Me(F,z+"leave",L,i,I),B.target=ht,B.relatedTarget=U,F=null,on(I)===H&&(Me=new Me(O,z+"enter",Ae,i,I),Me.target=U,Me.relatedTarget=ht,F=Me),ht=F,L&&Ae)t:{for(Me=L,O=Ae,z=0,U=Me;U;U=wo(U))z++;for(U=0,F=O;F;F=wo(F))U++;for(;0<z-U;)Me=wo(Me),z--;for(;0<U-z;)O=wo(O),U--;for(;z--;){if(Me===O||O!==null&&Me===O.alternate)break t;Me=wo(Me),O=wo(O)}Me=null}else Me=null;L!==null&&ad(P,B,L,Me,!1),Ae!==null&&ht!==null&&ad(P,ht,Ae,Me,!0)}}e:{if(B=H?Wu(H):window,L=B.nodeName&&B.nodeName.toLowerCase(),L==="select"||L==="input"&&B.type==="file")var be=Ec;else if(ds(B))if(Cc)be=Mc;else{be=La;var We=ms}else L=B.nodeName,!L||L.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?H&&ci(H.elementType)&&(be=Ec):be=oa;if(be&&(be=be(n,H))){hs(P,be,i,I);break e}We&&We(n,B,H),n==="focusout"&&H&&B.type==="number"&&H.memoizedProps.value!=null&&to(B,"number",B.value)}switch(We=H?Wu(H):window,n){case"focusin":(ds(We)||We.contentEditable==="true")&&(Yl=We,gl=H,Va=null);break;case"focusout":Va=gl=Yl=null;break;case"mousedown":Si=!0;break;case"contextmenu":case"mouseup":case"dragend":Si=!1,ps(P,i,I);break;case"selectionchange":if(bi)break;case"keydown":case"keyup":ps(P,i,I)}var Ce;if(so)e:{switch(n){case"compositionstart":var Ue="onCompositionStart";break e;case"compositionend":Ue="onCompositionEnd";break e;case"compositionupdate":Ue="onCompositionUpdate";break e}Ue=void 0}else Na?ro(n,i)&&(Ue="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(Ue="onCompositionStart");Ue&&(Ll&&i.locale!=="ko"&&(Na||Ue!=="onCompositionStart"?Ue==="onCompositionEnd"&&Na&&(Ce=fc()):(ia=I,yu="value"in ia?ia.value:ia.textContent,Na=!0)),We=pr(H,Ue),0<We.length&&(Ue=new pc(Ue,n,null,i,I),P.push({event:Ue,listeners:We}),Ce?Ue.data=Ce:(Ce=Ba(i),Ce!==null&&(Ue.data=Ce)))),(Ce=bc?Tc(n,i):vi(n,i))&&(Ue=pr(H,"onBeforeInput"),0<Ue.length&&(We=new pc("onBeforeInput","beforeinput",null,i,I),P.push({event:We,listeners:Ue}),We.data=Ce)),Iv(P,n,H,i,I)}Vs(P,a)})}function Hu(n,a,i){return{instance:n,listener:a,currentTarget:i}}function pr(n,a){for(var i=a+"Capture",o=[];n!==null;){var r=n,d=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||d===null||(r=fi(n,i),r!=null&&o.unshift(Hu(n,r,d)),r=fi(n,a),r!=null&&o.push(Hu(n,r,d))),n.tag===3)return o;n=n.return}return[]}function wo(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function ad(n,a,i,o,r){for(var d=a._reactName,g=[];i!==null&&i!==o;){var y=i,E=y.alternate,H=y.stateNode;if(y=y.tag,E!==null&&E===o)break;y!==5&&y!==26&&y!==27||H===null||(E=H,r?(H=fi(i,d),H!=null&&g.unshift(Hu(i,H,E))):r||(H=fi(i,d),H!=null&&g.push(Hu(i,H,E)))),i=i.return}g.length!==0&&n.push({event:a,listeners:g})}var Jl=/\r\n?/g,s0=/\u0000|\uFFFD/g;function Wv(n){return(typeof n=="string"?n:""+n).replace(Jl,`
945
- `).replace(s0,"")}function c0(n,a){return a=Wv(a),Wv(n)===a}function em(){}function Ve(n,a,i,o,r,d){switch(i){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||mu(n,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&mu(n,""+o);break;case"className":Pu(n,"class",o);break;case"tabIndex":Pu(n,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Pu(n,i,o);break;case"style":no(n,o,d);break;case"data":if(a!=="object"){Pu(n,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||i!=="href")){n.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(i);break}o=lo(""+o),n.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){n.setAttribute(i,"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 d=="function"&&(i==="formAction"?(a!=="input"&&Ve(n,a,"name",r.name,r,null),Ve(n,a,"formEncType",r.formEncType,r,null),Ve(n,a,"formMethod",r.formMethod,r,null),Ve(n,a,"formTarget",r.formTarget,r,null)):(Ve(n,a,"encType",r.encType,r,null),Ve(n,a,"method",r.method,r,null),Ve(n,a,"target",r.target,r,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(i);break}o=lo(""+o),n.setAttribute(i,o);break;case"onClick":o!=null&&(n.onclick=em);break;case"onScroll":o!=null&&Xe("scroll",n);break;case"onScrollEnd":o!=null&&Xe("scrollend",n);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(i=o.__html,i!=null){if(r.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"multiple":n.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":n.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){n.removeAttribute("xlink:href");break}i=lo(""+o),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(i,""+o):n.removeAttribute(i);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":o&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":o===!0?n.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(i,o):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?n.setAttribute(i,o):n.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?n.removeAttribute(i):n.setAttribute(i,o);break;case"popover":Xe("beforetoggle",n),Xe("toggle",n),la(n,"popover",o);break;case"xlinkActuate":Bl(n,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Bl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Bl(n,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Bl(n,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Bl(n,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Bl(n,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Bl(n,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Bl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Bl(n,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":la(n,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=qd.get(i)||i,la(n,i,o))}}function G(n,a,i,o,r,d){switch(i){case"style":no(n,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(i=o.__html,i!=null){if(r.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"children":typeof o=="string"?mu(n,o):(typeof o=="number"||typeof o=="bigint")&&mu(n,""+o);break;case"onScroll":o!=null&&Xe("scroll",n);break;case"onScrollEnd":o!=null&&Xe("scrollend",n);break;case"onClick":o!=null&&(n.onclick=em);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qn.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(r=i.endsWith("Capture"),a=i.slice(2,r?i.length-7:void 0),d=n[En]||null,d=d!=null?d[i]:null,typeof d=="function"&&n.removeEventListener(a,d,r),typeof o=="function")){typeof d!="function"&&d!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(a,o,r);break e}i in n?n[i]=o:o===!0?n.setAttribute(i,""):la(n,i,o)}}}function Be(n,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xe("error",n),Xe("load",n);var o=!1,r=!1,d;for(d in i)if(i.hasOwnProperty(d)){var g=i[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ve(n,a,d,g,i,null)}}r&&Ve(n,a,"srcSet",i.srcSet,i,null),o&&Ve(n,a,"src",i.src,i,null);return;case"input":Xe("invalid",n);var y=d=g=r=null,E=null,H=null;for(o in i)if(i.hasOwnProperty(o)){var I=i[o];if(I!=null)switch(o){case"name":r=I;break;case"type":g=I;break;case"checked":E=I;break;case"defaultChecked":H=I;break;case"value":d=I;break;case"defaultValue":y=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(m(137,a));break;default:Ve(n,a,o,I,i,null)}}ts(n,d,y,E,H,g,r,!1),Ha(n);return;case"select":Xe("invalid",n),o=g=d=null;for(r in i)if(i.hasOwnProperty(r)&&(y=i[r],y!=null))switch(r){case"value":d=y;break;case"defaultValue":g=y;break;case"multiple":o=y;default:Ve(n,a,r,y,i,null)}a=d,i=g,n.multiple=!!o,a!=null?si(n,!!o,a,!1):i!=null&&si(n,!!o,i,!0);return;case"textarea":Xe("invalid",n),d=r=o=null;for(g in i)if(i.hasOwnProperty(g)&&(y=i[g],y!=null))switch(g){case"value":o=y;break;case"defaultValue":r=y;break;case"children":d=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(m(91));break;default:Ve(n,a,g,y,i,null)}cc(n,o,r,d),Ha(n);return;case"option":for(E in i)if(i.hasOwnProperty(E)&&(o=i[E],o!=null))switch(E){case"selected":n.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ve(n,a,E,o,i,null)}return;case"dialog":Xe("beforetoggle",n),Xe("toggle",n),Xe("cancel",n),Xe("close",n);break;case"iframe":case"object":Xe("load",n);break;case"video":case"audio":for(o=0;o<ld.length;o++)Xe(ld[o],n);break;case"image":Xe("error",n),Xe("load",n);break;case"details":Xe("toggle",n);break;case"embed":case"source":case"link":Xe("error",n),Xe("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(H in i)if(i.hasOwnProperty(H)&&(o=i[H],o!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ve(n,a,H,o,i,null)}return;default:if(ci(a)){for(I in i)i.hasOwnProperty(I)&&(o=i[I],o!==void 0&&G(n,a,I,o,i,void 0));return}}for(y in i)i.hasOwnProperty(y)&&(o=i[y],o!=null&&Ve(n,a,y,o,i,null))}function cy(n,a,i,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,d=null,g=null,y=null,E=null,H=null,I=null;for(L in i){var P=i[L];if(i.hasOwnProperty(L)&&P!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":E=P;default:o.hasOwnProperty(L)||Ve(n,a,L,null,o,P)}}for(var B in o){var L=o[B];if(P=i[B],o.hasOwnProperty(B)&&(L!=null||P!=null))switch(B){case"type":d=L;break;case"name":r=L;break;case"checked":H=L;break;case"defaultChecked":I=L;break;case"value":g=L;break;case"defaultValue":y=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(m(137,a));break;default:L!==P&&Ve(n,a,B,L,o,P)}}es(n,g,y,E,H,I,d,r);return;case"select":L=g=y=B=null;for(d in i)if(E=i[d],i.hasOwnProperty(d)&&E!=null)switch(d){case"value":break;case"multiple":L=E;default:o.hasOwnProperty(d)||Ve(n,a,d,null,o,E)}for(r in o)if(d=o[r],E=i[r],o.hasOwnProperty(r)&&(d!=null||E!=null))switch(r){case"value":B=d;break;case"defaultValue":y=d;break;case"multiple":g=d;default:d!==E&&Ve(n,a,r,d,o,E)}a=y,i=g,o=L,B!=null?si(n,!!i,B,!1):!!o!=!!i&&(a!=null?si(n,!!i,a,!0):si(n,!!i,i?[]:"",!1));return;case"textarea":L=B=null;for(y in i)if(r=i[y],i.hasOwnProperty(y)&&r!=null&&!o.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ve(n,a,y,null,o,r)}for(g in o)if(r=o[g],d=i[g],o.hasOwnProperty(g)&&(r!=null||d!=null))switch(g){case"value":B=r;break;case"defaultValue":L=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(m(91));break;default:r!==d&&Ve(n,a,g,r,o,d)}sc(n,B,L);return;case"option":for(var Ae in i)if(B=i[Ae],i.hasOwnProperty(Ae)&&B!=null&&!o.hasOwnProperty(Ae))switch(Ae){case"selected":n.selected=!1;break;default:Ve(n,a,Ae,null,o,B)}for(E in o)if(B=o[E],L=i[E],o.hasOwnProperty(E)&&B!==L&&(B!=null||L!=null))switch(E){case"selected":n.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:Ve(n,a,E,B,o,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 Me in i)B=i[Me],i.hasOwnProperty(Me)&&B!=null&&!o.hasOwnProperty(Me)&&Ve(n,a,Me,null,o,B);for(H in o)if(B=o[H],L=i[H],o.hasOwnProperty(H)&&B!==L&&(B!=null||L!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(m(137,a));break;default:Ve(n,a,H,B,o,L)}return;default:if(ci(a)){for(var ht in i)B=i[ht],i.hasOwnProperty(ht)&&B!==void 0&&!o.hasOwnProperty(ht)&&G(n,a,ht,void 0,o,B);for(I in o)B=o[I],L=i[I],!o.hasOwnProperty(I)||B===L||B===void 0&&L===void 0||G(n,a,I,B,o,L);return}}for(var O in i)B=i[O],i.hasOwnProperty(O)&&B!=null&&!o.hasOwnProperty(O)&&Ve(n,a,O,null,o,B);for(P in o)B=o[P],L=i[P],!o.hasOwnProperty(P)||B===L||B==null&&L==null||Ve(n,a,P,B,o,L)}var id=null,ud=null;function Sa(n){return n.nodeType===9?n:n.ownerDocument}function ku(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vr(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function ji(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var gr=null;function Bu(){var n=window.event;return n&&n.type==="popstate"?n===gr?!1:(gr=n,!0):(gr=null,!1)}var tm=typeof setTimeout=="function"?setTimeout:void 0,ry=typeof clearTimeout=="function"?clearTimeout:void 0,Fv=typeof Promise=="function"?Promise:void 0,fy=typeof queueMicrotask=="function"?queueMicrotask:typeof Fv<"u"?function(n){return Fv.resolve(null).then(n).catch(Xi)}:tm;function Xi(n){setTimeout(function(){throw n})}function Ho(n){return n==="head"}function nm(n,a){var i=a,o=0,r=0;do{var d=i.nextSibling;if(n.removeChild(i),d&&d.nodeType===8)if(i=d.data,i==="/$"){if(0<o&&8>o){i=o;var g=n.ownerDocument;if(i&1&&Rl(g.documentElement),i&2&&Rl(g.body),i&4)for(i=g.head,Rl(i),g=i.firstChild;g;){var y=g.nextSibling,E=g.nodeName;g[ye]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=y}}if(r===0){n.removeChild(d),Zi(a);return}r--}else i==="$"||i==="$?"||i==="$!"?r++:o=i.charCodeAt(0)-48;else o=0;i=d}while(i);Zi(a)}function od(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":od(i),Iu(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function yr(n,a,i,o){for(;n.nodeType===1;){var r=i;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(o){if(!n[ye])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(d=n.getAttribute("rel"),d==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(d!==r.rel||n.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||n.getAttribute("title")!==(r.title==null?null:r.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(d=n.getAttribute("src"),(d!==(r.src==null?null:r.src)||n.getAttribute("type")!==(r.type==null?null:r.type)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&d&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var d=r.name==null?null:""+r.name;if(r.type==="hidden"&&n.getAttribute("name")===d)return n}else return n;if(n=Ia(n.nextSibling),n===null)break}return null}function dy(n,a,i){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Ia(n.nextSibling),n===null))return null;return n}function sd(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function hy(n,a){var i=n.ownerDocument;if(n.data!=="$?"||i.readyState==="complete")a();else{var o=function(){a(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),n._reactRetry=o}}function Ia(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return n}var ko=null;function qn(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"){if(a===0)return n;a--}else i==="/$"&&a++}n=n.previousSibling}return null}function he(n,a,i){switch(a=Sa(i),n){case"html":if(n=a.documentElement,!n)throw Error(m(452));return n;case"head":if(n=a.head,!n)throw Error(m(453));return n;case"body":if(n=a.body,!n)throw Error(m(454));return n;default:throw Error(m(451))}}function Rl(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Iu(n)}var tn=new Map,Wn=new Set;function lm(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Nu=W.d;W.d={f:am,r:im,D:Lu,C:um,L:Bo,m:Fn,X:No,S:Dl,M:r0};function am(){var n=Nu.f(),a=Ns();return n||a}function im(n){var a=ai(n);a!==null&&a.tag===5&&a.type==="form"?Ic(a):Nu.r(n)}var Yn=typeof document>"u"?null:document;function Wa(n,a,i){var o=Yn;if(o&&typeof a=="string"&&a){var r=nl(a);r='link[rel="'+n+'"][href="'+r+'"]',typeof i=="string"&&(r+='[crossorigin="'+i+'"]'),Wn.has(r)||(Wn.add(r),n={rel:n,crossOrigin:i,href:a},o.querySelector(r)===null&&(a=o.createElement("link"),Be(a,"link",n),$t(a),o.head.appendChild(a)))}}function Lu(n){Nu.D(n),Wa("dns-prefetch",n,null)}function um(n,a){Nu.C(n,a),Wa("preconnect",n,a)}function Bo(n,a,i){Nu.L(n,a,i);var o=Yn;if(o&&n&&a){var r='link[rel="preload"][as="'+nl(a)+'"]';a==="image"&&i&&i.imageSrcSet?(r+='[imagesrcset="'+nl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(r+='[imagesizes="'+nl(i.imageSizes)+'"]')):r+='[href="'+nl(n)+'"]';var d=r;switch(a){case"style":d=br(n);break;case"script":d=Ta(n)}tn.has(d)||(n=ee({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:n,as:a},i),tn.set(d,n),o.querySelector(r)!==null||a==="style"&&o.querySelector(Sr(d))||a==="script"&&o.querySelector(Gs(d))||(a=o.createElement("link"),Be(a,"link",n),$t(a),o.head.appendChild(a)))}}function Fn(n,a){Nu.m(n,a);var i=Yn;if(i&&n){var o=a&&typeof a.as=="string"?a.as:"script",r='link[rel="modulepreload"][as="'+nl(o)+'"][href="'+nl(n)+'"]',d=r;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ta(n)}if(!tn.has(d)&&(n=ee({rel:"modulepreload",href:n},a),tn.set(d,n),i.querySelector(r)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Gs(d)))return}o=i.createElement("link"),Be(o,"link",n),$t(o),i.head.appendChild(o)}}}function Dl(n,a,i){Nu.S(n,a,i);var o=Yn;if(o&&n){var r=na(o).hoistableStyles,d=br(n);a=a||"default";var g=r.get(d);if(!g){var y={loading:0,preload:null};if(g=o.querySelector(Sr(d)))y.loading=5;else{n=ee({rel:"stylesheet",href:n,"data-precedence":a},i),(i=tn.get(d))&&sm(n,i);var E=g=o.createElement("link");$t(E),Be(E,"link",n),E._p=new Promise(function(H,I){E.onload=H,E.onerror=I}),E.addEventListener("load",function(){y.loading|=1}),E.addEventListener("error",function(){y.loading|=2}),y.loading|=4,om(g,a,o)}g={type:"stylesheet",instance:g,count:1,state:y},r.set(d,g)}}}function No(n,a){Nu.X(n,a);var i=Yn;if(i&&n){var o=na(i).hoistableScripts,r=Ta(n),d=o.get(r);d||(d=i.querySelector(Gs(r)),d||(n=ee({src:n,async:!0},a),(a=tn.get(r))&&cm(n,a),d=i.createElement("script"),$t(d),Be(d,"link",n),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(r,d))}}function r0(n,a){Nu.M(n,a);var i=Yn;if(i&&n){var o=na(i).hoistableScripts,r=Ta(n),d=o.get(r);d||(d=i.querySelector(Gs(r)),d||(n=ee({src:n,async:!0,type:"module"},a),(a=tn.get(r))&&cm(n,a),d=i.createElement("script"),$t(d),Be(d,"link",n),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(r,d))}}function Pv(n,a,i,o){var r=(r=$e.current)?lm(r):null;if(!r)throw Error(m(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=br(i.href),i=na(r).hoistableStyles,o=i.get(a),o||(o={type:"style",instance:null,count:0,state:null},i.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=br(i.href);var d=na(r).hoistableStyles,g=d.get(n);if(g||(r=r.ownerDocument||r,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(n,g),(d=r.querySelector(Sr(n)))&&!d._p&&(g.instance=d,g.state.loading=5),tn.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},tn.set(n,i),d||eg(r,n,i,g.state))),a&&o===null)throw Error(m(528,""));return g}if(a&&o!==null)throw Error(m(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Ta(i),i=na(r).hoistableScripts,o=i.get(a),o||(o={type:"script",instance:null,count:0,state:null},i.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,n))}}function br(n){return'href="'+nl(n)+'"'}function Sr(n){return'link[rel="stylesheet"]['+n+"]"}function Tr(n){return ee({},n,{"data-precedence":n.precedence,precedence:null})}function eg(n,a,i,o){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=n.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),Be(a,"link",i),$t(a),n.head.appendChild(a))}function Ta(n){return'[src="'+nl(n)+'"]'}function Gs(n){return"script[async]"+n}function tg(n,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var o=n.querySelector('style[data-href~="'+nl(i.href)+'"]');if(o)return a.instance=o,$t(o),o;var r=ee({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(n.ownerDocument||n).createElement("style"),$t(o),Be(o,"style",r),om(o,i.precedence,n),a.instance=o;case"stylesheet":r=br(i.href);var d=n.querySelector(Sr(r));if(d)return a.state.loading|=4,a.instance=d,$t(d),d;o=Tr(i),(r=tn.get(r))&&sm(o,r),d=(n.ownerDocument||n).createElement("link"),$t(d);var g=d;return g._p=new Promise(function(y,E){g.onload=y,g.onerror=E}),Be(d,"link",o),a.state.loading|=4,om(d,i.precedence,n),a.instance=d;case"script":return d=Ta(i.src),(r=n.querySelector(Gs(d)))?(a.instance=r,$t(r),r):(o=i,(r=tn.get(d))&&(o=ee({},i),cm(o,r)),n=n.ownerDocument||n,r=n.createElement("script"),$t(r),Be(r,"link",o),n.head.appendChild(r),a.instance=r);case"void":return null;default:throw Error(m(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,om(o,i.precedence,n));return a.instance}function om(n,a,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=o.length?o[o.length-1]:null,d=r,g=0;g<o.length;g++){var y=o[g];if(y.dataset.precedence===a)d=y;else if(d!==r)break}d?d.parentNode.insertBefore(n,d.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(n,a.firstChild))}function sm(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function cm(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var Lo=null;function f0(n,a,i){if(Lo===null){var o=new Map,r=Lo=new Map;r.set(i,o)}else r=Lo,o=r.get(i),o||(o=new Map,r.set(i,o));if(o.has(n))return o;for(o.set(n,null),i=i.getElementsByTagName(n),r=0;r<i.length;r++){var d=i[r];if(!(d[ye]||d[ln]||n==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(a)||"";g=n+g;var y=o.get(g);y?y.push(d):o.set(g,[d])}}return o}function d0(n,a,i){n=n.ownerDocument||n,n.head.insertBefore(i,a==="title"?n.querySelector("head > title"):null)}function ng(n,a,i){if(i===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function h0(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var xr=null;function lg(){}function ag(n,a,i){if(xr===null)throw Error(m(475));var o=xr;if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=br(i.href),d=n.querySelector(Sr(r));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(o.count++,o=cd.bind(o),n.then(o,o)),a.state.loading|=4,a.instance=d,$t(d);return}d=n.ownerDocument||n,i=Tr(i),(r=tn.get(r))&&sm(i,r),d=d.createElement("link"),$t(d);var g=d;g._p=new Promise(function(y,E){g.onload=y,g.onerror=E}),Be(d,"link",i),a.instance=d}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&3)===0&&(o.count++,a=cd.bind(o),n.addEventListener("load",a),n.addEventListener("error",a))}}function m0(){if(xr===null)throw Error(m(475));var n=xr;return n.stylesheets&&n.count===0&&rd(n,n.stylesheets),0<n.count?function(a){var i=setTimeout(function(){if(n.stylesheets&&rd(n,n.stylesheets),n.unsuspend){var o=n.unsuspend;n.unsuspend=null,o()}},6e4);return n.unsuspend=a,function(){n.unsuspend=null,clearTimeout(i)}}:null}function cd(){if(this.count--,this.count===0){if(this.stylesheets)rd(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Er=null;function rd(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Er=new Map,a.forEach(Kl,n),Er=null,cd.call(n))}function Kl(n,a){if(!(a.state.loading&4)){var i=Er.get(n);if(i)var o=i.get(null);else{i=new Map,Er.set(n,i);for(var r=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<r.length;d++){var g=r[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(i.set(g.dataset.precedence,g),o=g)}o&&i.set(null,o)}r=a.instance,g=r.getAttribute("data-precedence"),d=i.get(g)||o,d===o&&i.set(null,r),i.set(g,r),this.count++,o=cd.bind(this),r.addEventListener("load",o),r.addEventListener("error",o),d?d.parentNode.insertBefore(r,d.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(r,n.firstChild)),a.state.loading|=4}}var zl={$$typeof:fe,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function my(n,a,i,o,r,d,g,y){this.tag=1,this.containerInfo=n,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=za(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=za(0),this.hiddenUpdates=za(null),this.identifierPrefix=o,this.onUncaughtError=r,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function p0(n,a,i,o,r,d,g,y,E,H,I,P){return n=new my(n,a,i,g,y,E,H,P),a=1,d===!0&&(a|=24),d=bl(3,null,null,a),n.current=d,d.stateNode=n,a=Qc(),a.refCount++,n.pooledCache=a,a.refCount++,d.memoizedState={element:o,isDehydrated:i,cache:a},eh(d),n}function v0(n){return n?(n=Nc,n):Nc}function g0(n,a,i,o,r,d){r=v0(r),o.context===null?o.context=r:o.pendingContext=r,o=Tl(a),o.payload={element:i},d=d===void 0?null:d,d!==null&&(o.callback=d),i=Ri(n,o,a),i!==null&&($l(i,n,a),Ts(i,n,a))}function y0(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<a?i:a}}function rm(n,a){y0(n,a),(n=n.alternate)&&y0(n,a)}function b0(n){if(n.tag===13){var a=xi(n,67108864);a!==null&&$l(a,n,67108864),rm(n,67108864)}}var fd=!0;function ig(n,a,i,o){var r=D.T;D.T=null;var d=W.p;try{W.p=2,S0(n,a,i,o)}finally{W.p=d,D.T=r}}function ug(n,a,i,o){var r=D.T;D.T=null;var d=W.p;try{W.p=8,S0(n,a,i,o)}finally{W.p=d,D.T=r}}function S0(n,a,i,o){if(fd){var r=fm(o);if(r===null)ba(n,a,o,dm,i),js(n,o);else if(sg(r,n,a,i,o))o.stopPropagation();else if(js(n,o),a&4&&-1<og.indexOf(n)){for(;r!==null;){var d=ai(r);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=Xn(d.pendingLanes);if(g!==0){var y=d;for(y.pendingLanes|=2,y.entangledLanes|=2;g;){var E=1<<31-Ot(g);y.entanglements[1]|=E,g&=~E}Ml(d),(yt&6)===0&&(Gh=hn()+500,Ff(0))}}break;case 13:y=xi(d,2),y!==null&&$l(y,d,2),Ns(),rm(d,2)}if(d=fm(o),d===null&&ba(n,a,o,dm,i),d===r)break;r=d}r!==null&&o.stopPropagation()}else ba(n,a,o,null,i)}}function fm(n){return n=ls(n),T0(n)}var dm=null;function T0(n){if(dm=null,n=on(n),n!==null){var a=C(n);if(a===null)n=null;else{var i=a.tag;if(i===13){if(n=w(a),n!==null)return n;n=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return dm=n,null}function x0(n){switch(n){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(Aa()){case $u:return 2;case ou:return 8;case Ma:case su:return 32;case tl:return 268435456;default:return 32}default:return 32}}var Cr=!1,Qi=null,qu=null,Yu=null,dd=new Map,hd=new Map,qo=[],og="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 js(n,a){switch(n){case"focusin":case"focusout":Qi=null;break;case"dragenter":case"dragleave":qu=null;break;case"mouseover":case"mouseout":Yu=null;break;case"pointerover":case"pointerout":dd.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":hd.delete(a.pointerId)}}function Xs(n,a,i,o,r,d){return n===null||n.nativeEvent!==d?(n={blockedOn:a,domEventName:i,eventSystemFlags:o,nativeEvent:d,targetContainers:[r]},a!==null&&(a=ai(a),a!==null&&b0(a)),n):(n.eventSystemFlags|=o,a=n.targetContainers,r!==null&&a.indexOf(r)===-1&&a.push(r),n)}function sg(n,a,i,o,r){switch(a){case"focusin":return Qi=Xs(Qi,n,a,i,o,r),!0;case"dragenter":return qu=Xs(qu,n,a,i,o,r),!0;case"mouseover":return Yu=Xs(Yu,n,a,i,o,r),!0;case"pointerover":var d=r.pointerId;return dd.set(d,Xs(dd.get(d)||null,n,a,i,o,r)),!0;case"gotpointercapture":return d=r.pointerId,hd.set(d,Xs(hd.get(d)||null,n,a,i,o,r)),!0}return!1}function E0(n){var a=on(n.target);if(a!==null){var i=C(a);if(i!==null){if(a=i.tag,a===13){if(a=w(i),a!==null){n.blockedOn=a,Nd(n.priority,function(){if(i.tag===13){var o=Zl();o=hl(o);var r=xi(i,o);r!==null&&$l(r,i,o),rm(i,o)}});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function md(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var i=fm(n.nativeEvent);if(i===null){i=n.nativeEvent;var o=new i.constructor(i.type,i);ri=o,i.target.dispatchEvent(o),ri=null}else return a=ai(i),a!==null&&b0(a),n.blockedOn=i,!1;a.shift()}return!0}function pd(n,a,i){md(n)&&i.delete(a)}function _r(){Cr=!1,Qi!==null&&md(Qi)&&(Qi=null),qu!==null&&md(qu)&&(qu=null),Yu!==null&&md(Yu)&&(Yu=null),dd.forEach(pd),hd.forEach(pd)}function hm(n,a){n.blockedOn===a&&(n.blockedOn=null,Cr||(Cr=!0,b.unstable_scheduleCallback(b.unstable_NormalPriority,_r)))}var Qs=null;function C0(n){Qs!==n&&(Qs=n,b.unstable_scheduleCallback(b.unstable_NormalPriority,function(){Qs===n&&(Qs=null);for(var a=0;a<n.length;a+=3){var i=n[a],o=n[a+1],r=n[a+2];if(typeof o!="function"){if(T0(o||i)===null)continue;break}var d=ai(i);d!==null&&(n.splice(a,3),a-=3,Sh(d,{pending:!0,data:r,method:i.method,action:o},o,r))}}))}function Zi(n){function a(E){return hm(E,n)}Qi!==null&&hm(Qi,n),qu!==null&&hm(qu,n),Yu!==null&&hm(Yu,n),dd.forEach(a),hd.forEach(a);for(var i=0;i<qo.length;i++){var o=qo[i];o.blockedOn===n&&(o.blockedOn=null)}for(;0<qo.length&&(i=qo[0],i.blockedOn===null);)E0(i),i.blockedOn===null&&qo.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var r=i[o],d=i[o+1],g=r[En]||null;if(typeof d=="function")g||C0(i);else if(g){var y=null;if(d&&d.hasAttribute("formAction")){if(r=d,g=d[En]||null)y=g.formAction;else if(T0(r)!==null)continue}else y=g.action;typeof y=="function"?i[o+1]=y:(i.splice(o,3),o-=3),C0(i)}}}function _0(n){this._internalRoot=n}mm.prototype.render=_0.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(m(409));var i=a.current,o=Zl();g0(i,o,n,a,null,null)},mm.prototype.unmount=_0.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;g0(n.current,2,null,n,null,null),Ns(),a[du]=null}};function mm(n){this._internalRoot=n}mm.prototype.unstable_scheduleHydration=function(n){if(n){var a=Zr();n={blockedOn:null,target:n,priority:a};for(var i=0;i<qo.length&&a!==0&&a<qo[i].priority;i++);qo.splice(i,0,n),i===0&&E0(n)}};var A0=f.version;if(A0!=="19.1.0")throw Error(m(527,A0,"19.1.0"));W.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(m(188)):(n=Object.keys(n).join(","),Error(m(268,n)));return n=M(a),n=n!==null?Y(n):null,n=n===null?null:n.stateNode,n};var sl={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vd.isDisabled&&vd.supportsFiber)try{zt=vd.inject(sl),Bt=vd}catch{}}return Jm.createRoot=function(n,a){if(!T(n))throw Error(m(299));var i=!1,o="",r=Pc,d=Ep,g=Vf,y=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(y=a.unstable_transitionCallbacks)),a=p0(n,1,!1,null,null,i,o,r,d,g,y,null),n[du]=a.current,o0(n),new _0(a)},Jm.hydrateRoot=function(n,a,i){if(!T(n))throw Error(m(299));var o=!1,r="",d=Pc,g=Ep,y=Vf,E=null,H=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(r=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(y=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(E=i.unstable_transitionCallbacks),i.formState!==void 0&&(H=i.formState)),a=p0(n,1,!0,a,i??null,o,r,d,g,y,E,H),a.context=v0(null),i=a.current,o=Zl(),o=hl(o),r=Tl(o),r.callback=null,Ri(i,r,o),i=o,a.current.lanes=i,li(a,i),Ml(a),n[du]=a.current,o0(n),new mm(a)},Jm.version="19.1.0",Jm}var Km={};/**
814
+ `+i.stack}}function dl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Fu(l){var a=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function as(l){var a=Fu(l)?"checked":"value",i=Object.getOwnPropertyDescriptor(l.constructor.prototype,a),o=""+l[a];if(!l.hasOwnProperty(a)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,d=i.set;return Object.defineProperty(l,a,{configurable:!0,get:function(){return r.call(this)},set:function(g){o=""+g,d.call(this,g)}}),Object.defineProperty(l,a,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(g){o=""+g},stopTracking:function(){l._valueTracker=null,delete l[a]}}}}function Ha(l){l._valueTracker||(l._valueTracker=as(l))}function ui(l){if(!l)return!1;var a=l._valueTracker;if(!a)return!0;var i=a.getValue(),o="";return l&&(o=Fu(l)?l.checked?"true":"false":l.value),l=o,l!==i?(a.setValue(l),!0):!1}function fu(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 Hd=/[\n"\\]/g;function en(l){return l.replace(Hd,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Io(l,a,i,o,r,d,g,y){l.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?l.type=g:l.removeAttribute("type"),a!=null?g==="number"?(a===0&&l.value===""||l.value!=a)&&(l.value=""+dl(a)):l.value!==""+dl(a)&&(l.value=""+dl(a)):g!=="submit"&&g!=="reset"||l.removeAttribute("value"),a!=null?Pu(l,g,dl(a)):i!=null?Pu(l,g,dl(i)):o!=null&&l.removeAttribute("value"),r==null&&d!=null&&(l.defaultChecked=!!d),r!=null&&(l.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?l.name=""+dl(y):l.removeAttribute("name")}function Fo(l,a,i,o,r,d,g,y){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(l.type=d),a!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||a!=null))return;i=i!=null?""+dl(i):"",a=a!=null?""+dl(a):i,y||a===l.value||(l.value=a),l.defaultValue=a}o=o??r,o=typeof o!="function"&&typeof o!="symbol"&&!!o,l.checked=y?l.checked:!!o,l.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(l.name=g)}function Pu(l,a,i){a==="number"&&fu(l.ownerDocument)===l||l.defaultValue===""+i||(l.defaultValue=""+i)}function oi(l,a,i,o){if(l=l.options,a){a={};for(var r=0;r<i.length;r++)a["$"+i[r]]=!0;for(i=0;i<l.length;i++)r=a.hasOwnProperty("$"+l[i].value),l[i].selected!==r&&(l[i].selected=r),r&&o&&(l[i].defaultSelected=!0)}else{for(i=""+dl(i),a=null,r=0;r<l.length;r++){if(l[r].value===i){l[r].selected=!0,o&&(l[r].defaultSelected=!0);return}a!==null||l[r].disabled||(a=l[r])}a!==null&&(a.selected=!0)}}function is(l,a,i){if(a!=null&&(a=""+dl(a),a!==l.value&&(l.value=a),i==null)){l.defaultValue!==a&&(l.defaultValue=a);return}l.defaultValue=i!=null?""+dl(i):""}function us(l,a,i,o){if(a==null){if(o!=null){if(i!=null)throw Error(m(92));if(vt(o)){if(1<o.length)throw Error(m(93));o=o[0]}i=o}i==null&&(i=""),a=i}i=dl(a),l.defaultValue=i,o=l.textContent,o===i&&o!==""&&o!==null&&(l.value=o)}function du(l,a){if(a){var i=l.firstChild;if(i&&i===l.lastChild&&i.nodeType===3){i.nodeValue=a;return}}l.textContent=a}var Zr=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 Po(l,a,i){var o=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="":o?l.setProperty(a,i):typeof i!="number"||i===0||Zr.has(a)?a==="float"?l.cssFloat=i:l[a]=(""+i).trim():l[a]=i+"px"}function eo(l,a,i){if(a!=null&&typeof a!="object")throw Error(m(62));if(l=l.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?l.setProperty(o,""):o==="float"?l.cssFloat="":l[o]="");for(var r in a)o=a[r],a.hasOwnProperty(r)&&i[r]!==o&&Po(l,r,o)}else for(var d in a)a.hasOwnProperty(d)&&Po(l,d,a[d])}function ci(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 wd=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"]]),$r=/^[\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 to(l){return $r.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var si=null;function ec(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var hu=null,mu=null;function Jr(l){var a=ni(l);if(a&&(l=a.stateNode)){var i=l[Tl]||null;e:switch(l=a.stateNode,a.type){case"input":if(Io(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=l;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+en(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var o=i[a];if(o!==l&&o.form===l.form){var r=o[Tl]||null;if(!r)throw Error(m(90));Io(o,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(a=0;a<i.length;a++)o=i[a],o.form===l.form&&ui(o)}break e;case"textarea":is(l,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&oi(l,!!i.multiple,a,!1)}}}var os=!1;function pu(l,a,i){if(os)return l(a,i);os=!0;try{var o=l(a);return o}finally{if(os=!1,(hu!==null||mu!==null)&&(wc(),hu&&(a=hu,l=mu,mu=hu=null,Jr(a),l)))for(a=0;a<l.length;a++)Jr(l[a])}}function ri(l,a){var i=l.stateNode;if(i===null)return null;var o=i[Tl]||null;if(o===null)return null;i=o[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(l=l.type,o=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!o;break e;default:l=!1}if(l)return null;if(i&&typeof i!="function")throw Error(m(231,a,typeof i));return i}var kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tc=!1;if(kn)try{var na={};Object.defineProperty(na,"passive",{get:function(){tc=!0}}),window.addEventListener("test",na,na),window.removeEventListener("test",na,na)}catch{tc=!1}var aa=null,vu=null,fi=null;function cs(){if(fi)return fi;var l,a=vu,i=a.length,o,r="value"in aa?aa.value:aa.textContent,d=r.length;for(l=0;l<i&&a[l]===r[l];l++);var g=i-l;for(o=1;o<=g&&a[i-o]===r[d-o];o++);return fi=r.slice(l,1<o?1-o:void 0)}function ul(l){var a=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&a===13&&(l=13)):l=a,l===10&&(l=13),32<=l||l===13?l:0}function lc(){return!0}function nc(){return!1}function El(l){function a(i,o,r,d,g){this._reactName=i,this._targetInst=r,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var y in l)l.hasOwnProperty(y)&&(i=l[y],this[y]=i?i(d):d[y]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?lc:nc,this.isPropagationStopped=nc,this}return ee(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=lc)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=lc)},persist:function(){},isPersistent:lc}),a}var wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ac=El(wa),lo=ee({},wa,{view:0,detail:0}),Kr=El(lo),ss,ic,no,di=ee({},lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ia,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!==no&&(no&&l.type==="mousemove"?(ss=l.screenX-no.screenX,ic=l.screenY-no.screenY):ic=ss=0,no=l),ss)},movementY:function(l){return"movementY"in l?l.movementY:ic}}),rs=El(di),Wr=ee({},di,{dataTransfer:0}),Ir=El(Wr),Bd=ee({},lo,{relatedTarget:0}),fs=El(Bd),kd=ee({},wa,{animationName:0,elapsedTime:0,pseudoElement:0}),Nd=El(kd),Ld=ee({},wa,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),ao=El(Ld),Fr=ee({},wa,{data:0}),ds=El(Fr),Pr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ef={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"},hs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tf(l){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(l):(l=hs[l])?!!a[l]:!1}function ia(){return tf}var hi=ee({},lo,{key:function(l){if(l.key){var a=Pr[l.key]||l.key;if(a!=="Unidentified")return a}return l.type==="keypress"?(l=ul(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?ef[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ia,charCode:function(l){return l.type==="keypress"?ul(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?ul(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),hn=El(hi),jl=ee({},di,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),io=El(jl),uc=ee({},lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ia}),ms=El(uc),Ol=ee({},wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),lf=El(Ol),oc=ee({},di,{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}),mi=El(oc),ps=ee({},wa,{newState:0,oldState:0}),nf=El(ps),af=[9,13,27,32],uo=kn&&"CompositionEvent"in window,oo=null;kn&&"documentMode"in document&&(oo=document.documentMode);var vs=kn&&"TextEvent"in window&&!oo,Nn=kn&&(!uo||oo&&8<oo&&11>=oo),gs=" ",cc=!1;function co(l,a){switch(l){case"keyup":return af.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ba(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ka=!1;function ys(l,a){switch(l){case"compositionend":return Ba(a);case"keypress":return a.which!==32?null:(cc=!0,gs);case"textInput":return l=a.data,l===gs&&cc?null:l;default:return null}}function pi(l,a){if(ka)return l==="compositionend"||!uo&&co(l,a)?(l=cs(),fi=vu=aa=null,ka=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Nn&&a.locale!=="ko"?null:a.data;default:return null}}var uf={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 sc(l){var a=l&&l.nodeName&&l.nodeName.toLowerCase();return a==="input"?!!uf[l.type]:a==="textarea"}function rc(l,a,i,o){hu?mu?mu.push(o):mu=[o]:hu=o,a=dr(a,"onChange"),0<a.length&&(i=new ac("onChange","change",null,i,o),l.push({event:i,listeners:a}))}var mn=null,pn=null;function bs(l){Lc(l,0)}function Ln(l){var a=Ku(l);if(ui(a))return l}function Ss(l,a){if(l==="change")return a}var Ts=!1;if(kn){var vi;if(kn){var gi="oninput"in document;if(!gi){var xs=document.createElement("div");xs.setAttribute("oninput","return;"),gi=typeof xs.oninput=="function"}vi=gi}else vi=!1;Ts=vi&&(!document.documentMode||9<document.documentMode)}function gu(){mn&&(mn.detachEvent("onpropertychange",Es),pn=mn=null)}function Es(l){if(l.propertyName==="value"&&Ln(pn)){var a=[];rc(a,pn,l,ec(l)),pu(bs,a)}}function fc(l,a,i){l==="focusin"?(gu(),mn=a,pn=i,mn.attachEvent("onpropertychange",Es)):l==="focusout"&&gu()}function Na(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ln(pn)}function ua(l,a){if(l==="click")return Ln(a)}function _s(l,a){if(l==="input"||l==="change")return Ln(a)}function Cs(l,a){return l===a&&(l!==0||1/l===1/a)||l!==l&&a!==a}var ol=typeof Object.is=="function"?Object.is:Cs;function La(l,a){if(ol(l,a))return!0;if(typeof l!="object"||l===null||typeof a!="object"||a===null)return!1;var i=Object.keys(l),o=Object.keys(a);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var r=i[o];if(!ei.call(a,r)||!ol(l[r],a[r]))return!1}return!0}function qa(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Et(l,a){var i=qa(l);l=0;for(var o;i;){if(i.nodeType===3){if(o=l+i.textContent.length,l<=a&&o>=a)return{node:i,offset:a-l};l=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=qa(i)}}function so(l,a){return l&&a?l===a?!0:l&&l.nodeType===3?!1:a&&a.nodeType===3?so(l,a.parentNode):"contains"in l?l.contains(a):l.compareDocumentPosition?!!(l.compareDocumentPosition(a)&16):!1:!1}function As(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var a=fu(l.document);a instanceof l.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)l=a.contentWindow;else break;a=fu(l.document)}return a}function ro(l){var a=l&&l.nodeName&&l.nodeName.toLowerCase();return a&&(a==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||a==="textarea"||l.contentEditable==="true")}var yi=kn&&"documentMode"in document&&11>=document.documentMode,qn=null,vn=null,Ya=null,bi=!1;function dc(l,a,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;bi||qn==null||qn!==fu(o)||(o=qn,"selectionStart"in o&&ro(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ya&&La(Ya,o)||(Ya=o,o=dr(vn,"onSelect"),0<o.length&&(a=new ac("onSelect","select",null,a,i),l.push({event:a,listeners:o}),a.target=qn)))}function oa(l,a){var i={};return i[l.toLowerCase()]=a.toLowerCase(),i["Webkit"+l]="webkit"+a,i["Moz"+l]="moz"+a,i}var Si={animationend:oa("Animation","AnimationEnd"),animationiteration:oa("Animation","AnimationIteration"),animationstart:oa("Animation","AnimationStart"),transitionrun:oa("Transition","TransitionRun"),transitionstart:oa("Transition","TransitionStart"),transitioncancel:oa("Transition","TransitionCancel"),transitionend:oa("Transition","TransitionEnd")},tn={},gn={};kn&&(gn=document.createElement("div").style,"AnimationEvent"in window||(delete Si.animationend.animation,delete Si.animationiteration.animation,delete Si.animationstart.animation),"TransitionEvent"in window||delete Si.transitionend.transition);function Yn(l){if(tn[l])return tn[l];if(!Si[l])return l;var a=Si[l],i;for(i in a)if(a.hasOwnProperty(i)&&i in gn)return tn[l]=a[i];return l}var of=Yn("animationend"),Ms=Yn("animationiteration"),cf=Yn("animationstart"),Rs=Yn("transitionrun"),hc=Yn("transitionstart"),sf=Yn("transitioncancel"),Ds=Yn("transitionend"),zs=new Map,yu="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(" ");yu.push("scrollEnd");function ln(l,a){zs.set(l,a),za(a,[l])}var Os=new WeakMap;function Ql(l,a){if(typeof l=="object"&&l!==null){var i=Os.get(l);return i!==void 0?i:(a={value:l,source:a,stack:ns(a)},Os.set(l,a),a)}return{value:l,source:a,stack:ns(a)}}var Ul=[],Va=0,Vn=0;function ze(){for(var l=Va,a=Vn=Va=0;a<l;){var i=Ul[a];Ul[a++]=null;var o=Ul[a];Ul[a++]=null;var r=Ul[a];Ul[a++]=null;var d=Ul[a];if(Ul[a++]=null,o!==null&&r!==null){var g=o.pending;g===null?r.next=r:(r.next=g.next,g.next=r),o.pending=r}d!==0&&Hs(i,r,d)}}function fo(l,a,i,o){Ul[Va++]=l,Ul[Va++]=a,Ul[Va++]=i,Ul[Va++]=o,Vn|=o,l.lanes|=o,l=l.alternate,l!==null&&(l.lanes|=o)}function Us(l,a,i,o){return fo(l,a,i,o),rf(l)}function Ti(l,a){return fo(l,null,null,a),rf(l)}function Hs(l,a,i){l.lanes|=i;var o=l.alternate;o!==null&&(o.lanes|=i);for(var r=!1,d=l.return;d!==null;)d.childLanes|=i,o=d.alternate,o!==null&&(o.childLanes|=i),d.tag===22&&(l=d.stateNode,l===null||l._visibility&1||(r=!0)),l=d,d=d.return;return l.tag===3?(d=l.stateNode,r&&a!==null&&(r=31-Ot(i),l=d.hiddenUpdates,o=l[r],o===null?l[r]=[a]:o.push(a),a.lane=i|536870912),d):null}function rf(l){if(50<ur)throw ur=0,j0=null,Error(m(185));for(var a=l.return;a!==null;)l=a,a=l.return;return l.tag===3?l.stateNode:null}var ws={};function mv(l,a,i,o){this.tag=l,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(l,a,i,o){return new mv(l,a,i,o)}function ff(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ga(l,a){var i=l.alternate;return i===null?(i=yn(l.tag,a,l.key,l.mode),i.elementType=l.elementType,i.type=l.type,i.stateNode=l.stateNode,i.alternate=l,l.alternate=i):(i.pendingProps=a,i.type=l.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=l.flags&65011712,i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,a=l.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=l.sibling,i.index=l.index,i.ref=l.ref,i.refCleanup=l.refCleanup,i}function We(l,a){l.flags&=65011714;var i=l.alternate;return i===null?(l.childLanes=0,l.lanes=a,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=i.childLanes,l.lanes=i.lanes,l.child=i.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=i.memoizedProps,l.memoizedState=i.memoizedState,l.updateQueue=i.updateQueue,l.type=i.type,a=i.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),l}function le(l,a,i,o,r,d){var g=0;if(o=l,typeof l=="function")ff(l)&&(g=1);else if(typeof l=="string")g=Jv(l,i,Be.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case me:return l=yn(31,i,a,r),l.elementType=me,l.lanes=d,l;case ce:return ca(i.children,r,d,a);case ue:g=8,r|=24;break;case ae:return l=yn(12,i,a,r|2),l.elementType=ae,l.lanes=d,l;case Ye:return l=yn(13,i,a,r),l.elementType=Ye,l.lanes=d,l;case qe:return l=yn(19,i,a,r),l.elementType=qe,l.lanes=d,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case de:case fe:g=10;break e;case ke:g=9;break e;case xe:g=11;break e;case Oe:g=14;break e;case at:g=16,o=null;break e}g=29,i=Error(m(130,l===null?"null":typeof l,"")),o=null}return a=yn(g,i,a,r),a.elementType=l,a.type=o,a.lanes=d,a}function ca(l,a,i,o){return l=yn(7,l,o,a),l.lanes=i,l}function Bs(l,a,i){return l=yn(6,l,null,a),l.lanes=i,l}function Gt(l,a,i){return a=yn(4,l.children!==null?l.children:[],l.key,a),a.lanes=i,a.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},a}var ho=[],mo=0,df=null,ks=0,sa=[],bn=0,bu=null,Xa=1,$t="";function ut(l,a){ho[mo++]=ks,ho[mo++]=df,df=l,ks=a}function qd(l,a,i){sa[bn++]=Xa,sa[bn++]=$t,sa[bn++]=bu,bu=l;var o=Xa;l=$t;var r=32-Ot(o)-1;o&=~(1<<r),i+=1;var d=32-Ot(a)+r;if(30<d){var g=r-r%5;d=(o&(1<<g)-1).toString(32),o>>=g,r-=g,Xa=1<<32-Ot(a)+r|i<<r|o,$t=d+l}else Xa=1<<d|i<<r|o,$t=l}function mc(l){l.return!==null&&(ut(l,1),qd(l,1,0))}function xi(l){for(;l===df;)df=ho[--mo],ho[mo]=null,ks=ho[--mo],ho[mo]=null;for(;l===bu;)bu=sa[--bn],sa[bn]=null,$t=sa[--bn],sa[bn]=null,Xa=sa[--bn],sa[bn]=null}var nl=null,ft=null,st=!1,ra=null,fa=!1,pc=Error(m(519));function Su(l){var a=Error(m(418,""));throw qs(Ql(a,l)),pc}function hf(l){var a=l.stateNode,i=l.type,o=l.memoizedProps;switch(a[ll]=l,a[Tl]=o,i){case"dialog":je("cancel",a),je("close",a);break;case"iframe":case"object":case"embed":je("load",a);break;case"video":case"audio":for(i=0;i<Ff.length;i++)je(Ff[i],a);break;case"source":je("error",a);break;case"img":case"image":case"link":je("error",a),je("load",a);break;case"details":je("toggle",a);break;case"input":je("invalid",a),Fo(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Ha(a);break;case"select":je("invalid",a);break;case"textarea":je("invalid",a),us(a,o.value,o.defaultValue,o.children),Ha(a)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||o.suppressHydrationWarning===!0||ap(a.textContent,i)?(o.popover!=null&&(je("beforetoggle",a),je("toggle",a)),o.onScroll!=null&&je("scroll",a),o.onScrollEnd!=null&&je("scrollend",a),o.onClick!=null&&(a.onclick=Kh),a=!0):a=!1,a||Su(l)}function Qm(l){for(nl=l.return;nl;)switch(nl.tag){case 5:case 13:fa=!1;return;case 27:case 3:fa=!0;return;default:nl=nl.return}}function Ns(l){if(l!==nl)return!1;if(!st)return Qm(l),st=!0,!1;var a=l.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=l.type,i=!(i!=="form"&&i!=="button")||Gi(l.type,l.memoizedProps)),i=!i),i&&ft&&Su(l),Qm(l),a===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(m(317));e:{for(l=l.nextSibling,a=0;l;){if(l.nodeType===8)if(i=l.data,i==="/$"){if(a===0){ft=Ka(l.nextSibling);break e}a--}else i!=="$"&&i!=="$!"&&i!=="$?"||a++;l=l.nextSibling}ft=null}}else a===27?(a=ft,Uo(l.type)?(l=Ho,Ho=null,ft=l):ft=a):ft=nl?Ka(l.stateNode.nextSibling):null;return!0}function Ls(){ft=nl=null,st=!1}function Zm(){var l=ra;return l!==null&&(Cn===null?Cn=l:Cn.push.apply(Cn,l),ra=null),l}function qs(l){ra===null?ra=[l]:ra.push(l)}var mf=pe(null),Tu=null,ja=null;function xu(l,a,i){ve(mf,a._currentValue),a._currentValue=i}function Ei(l){l._currentValue=mf.current,ie(mf)}function Yd(l,a,i){for(;l!==null;){var o=l.alternate;if((l.childLanes&a)!==a?(l.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),l===i)break;l=l.return}}function $m(l,a,i,o){var r=l.child;for(r!==null&&(r.return=l);r!==null;){var d=r.dependencies;if(d!==null){var g=r.child;d=d.firstContext;e:for(;d!==null;){var y=d;d=r;for(var E=0;E<a.length;E++)if(y.context===a[E]){d.lanes|=i,y=d.alternate,y!==null&&(y.lanes|=i),Yd(d.return,i,l),o||(g=null);break e}d=y.next}}else if(r.tag===18){if(g=r.return,g===null)throw Error(m(341));g.lanes|=i,d=g.alternate,d!==null&&(d.lanes|=i),Yd(g,i,l),g=null}else g=r.child;if(g!==null)g.return=r;else for(g=r;g!==null;){if(g===l){g=null;break}if(r=g.sibling,r!==null){r.return=g.return,g=r;break}g=g.return}r=g}}function Ys(l,a,i,o){l=null;for(var r=a,d=!1;r!==null;){if(!d){if((r.flags&524288)!==0)d=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var g=r.alternate;if(g===null)throw Error(m(387));if(g=g.memoizedProps,g!==null){var y=r.type;ol(r.pendingProps.value,g.value)||(l!==null?l.push(y):l=[y])}}else if(r===fn.current){if(g=r.alternate,g===null)throw Error(m(387));g.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(l!==null?l.push(Dn):l=[Dn])}r=r.return}l!==null&&$m(a,l,i,o),a.flags|=262144}function pf(l){for(l=l.firstContext;l!==null;){if(!ol(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function po(l){Tu=l,ja=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function _l(l){return Jm(Tu,l)}function vf(l,a){return Tu===null&&po(l),Jm(l,a)}function Jm(l,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},ja===null){if(l===null)throw Error(m(308));ja=a,l.dependencies={lanes:0,firstContext:a},l.flags|=524288}else ja=ja.next=a;return i}var Vs=typeof AbortController<"u"?AbortController:function(){var l=[],a=this.signal={aborted:!1,addEventListener:function(i,o){l.push(o)}};this.abort=function(){a.aborted=!0,l.forEach(function(i){return i()})}},Vd=x.unstable_scheduleCallback,pv=x.unstable_NormalPriority,hl={$$typeof:fe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gs(){return{controller:new Vs,data:new Map,refCount:0}}function _i(l){l.refCount--,l.refCount===0&&Vd(pv,function(){l.controller.abort()})}var vo=null,gf=0,da=0,ml=null;function Gd(l,a){if(vo===null){var i=vo=[];gf=0,da=Nc(),ml={status:"pending",value:void 0,then:function(o){i.push(o)}}}return gf++,a.then(Xd,Xd),a}function Xd(){if(--gf===0&&vo!==null){ml!==null&&(ml.status="fulfilled");var l=vo;vo=null,da=0,ml=null;for(var a=0;a<l.length;a++)(0,l[a])()}}function vv(l,a){var i=[],o={status:"pending",value:null,reason:null,then:function(r){i.push(r)}};return l.then(function(){o.status="fulfilled",o.value=a;for(var r=0;r<i.length;r++)(0,i[r])(a)},function(r){for(o.status="rejected",o.reason=r,r=0;r<i.length;r++)(0,i[r])(void 0)}),o}var jd=D.S;D.S=function(l,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Gd(l,a),jd!==null&&jd(l,a)};var Ci=pe(null);function yf(){var l=Ci.current;return l!==null?l:Rt.pooledCache}function vc(l,a){a===null?ve(Ci,Ci.current):ve(Ci,a.pool)}function Qd(){var l=yf();return l===null?null:{parent:hl._currentValue,pool:l}}var go=Error(m(460)),Zd=Error(m(474)),bf=Error(m(542)),$d={then:function(){}};function Jd(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Sf(){}function Km(l,a,i){switch(i=l[i],i===void 0?l.push(a):i!==a&&(a.then(Sf,Sf),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw l=a.reason,Im(l),l;default:if(typeof a.status=="string")a.then(Sf,Sf);else{if(l=Rt,l!==null&&100<l.shellSuspendCounter)throw Error(m(482));l=a,l.status="pending",l.then(function(o){if(a.status==="pending"){var r=a;r.status="fulfilled",r.value=o}},function(o){if(a.status==="pending"){var r=a;r.status="rejected",r.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw l=a.reason,Im(l),l}throw gc=a,go}}var gc=null;function Wm(){if(gc===null)throw Error(m(459));var l=gc;return gc=null,l}function Im(l){if(l===go||l===bf)throw Error(m(483))}var Ai=!1;function Kd(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wd(l,a){l=l.updateQueue,a.updateQueue===l&&(a.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Sn(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Mi(l,a,i){var o=l.updateQueue;if(o===null)return null;if(o=o.shared,(yt&2)!==0){var r=o.pending;return r===null?a.next=a:(a.next=r.next,r.next=a),o.pending=a,a=rf(l),Hs(l,null,i),a}return fo(l,o,a,i),rf(l)}function yc(l,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var o=a.lanes;o&=l.pendingLanes,i|=o,a.lanes=i,$u(l,i)}}function Fm(l,a){var i=l.updateQueue,o=l.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var r=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var g={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?r=d=g:d=d.next=g,i=i.next}while(i!==null);d===null?r=d=a:d=d.next=a}else r=d=a;i={baseState:o.baseState,firstBaseUpdate:r,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},l.updateQueue=i;return}l=i.lastBaseUpdate,l===null?i.firstBaseUpdate=a:l.next=a,i.lastBaseUpdate=a}var Pm=!1;function Xs(){if(Pm){var l=ml;if(l!==null)throw l}}function Eu(l,a,i,o){Pm=!1;var r=l.updateQueue;Ai=!1;var d=r.firstBaseUpdate,g=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var E=y,H=E.next;E.next=null,g===null?d=H:g.next=H,g=E;var W=l.alternate;W!==null&&(W=W.updateQueue,y=W.lastBaseUpdate,y!==g&&(y===null?W.firstBaseUpdate=H:y.next=H,W.lastBaseUpdate=E))}if(d!==null){var P=r.baseState;g=0,W=H=E=null,y=d;do{var k=y.lane&-536870913,L=k!==y.lane;if(L?(lt&k)===k:(o&k)===k){k!==0&&k===da&&(Pm=!0),W!==null&&(W=W.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var Ae=l,Me=y;k=a;var ht=i;switch(Me.tag){case 1:if(Ae=Me.payload,typeof Ae=="function"){P=Ae.call(ht,P,k);break e}P=Ae;break e;case 3:Ae.flags=Ae.flags&-65537|128;case 0:if(Ae=Me.payload,k=typeof Ae=="function"?Ae.call(ht,P,k):Ae,k==null)break e;P=ee({},P,k);break e;case 2:Ai=!0}}k=y.callback,k!==null&&(l.flags|=64,L&&(l.flags|=8192),L=r.callbacks,L===null?r.callbacks=[k]:L.push(k))}else L={lane:k,tag:y.tag,payload:y.payload,callback:y.callback,next:null},W===null?(H=W=L,E=P):W=W.next=L,g|=k;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;L=y,y=L.next,L.next=null,r.lastBaseUpdate=L,r.shared.pending=null}}while(!0);W===null&&(E=P),r.baseState=E,r.firstBaseUpdate=H,r.lastBaseUpdate=W,d===null&&(r.shared.lanes=0),zu|=g,l.lanes=g,l.memoizedState=P}}function Id(l,a){if(typeof l!="function")throw Error(m(191,l));l.call(a)}function Tf(l,a){var i=l.callbacks;if(i!==null)for(l.callbacks=null,l=0;l<i.length;l++)Id(i[l],a)}var bc=pe(null),xf=pe(0);function Cl(l,a){l=Du,ve(xf,l),ve(bc,a),Du=l|a.baseLanes}function js(){ve(xf,Du),ve(bc,bc.current)}function Qs(){Du=xf.current,ie(bc),ie(xf)}var ha=0,Xe=null,gt=null,Xt=null,Ef=!1,Gn=!1,yo=!1,Qa=0,Xn=0,_u=null,e0=0;function jt(){throw Error(m(321))}function Fd(l,a){if(a===null)return!1;for(var i=0;i<a.length&&i<l.length;i++)if(!ol(l[i],a[i]))return!1;return!0}function Pd(l,a,i,o,r,d){return ha=d,Xe=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,D.H=l===null||l.memoizedState===null?p0:v0,yo=!1,d=i(o,r),yo=!1,Gn&&(d=t0(a,i,o,r)),bo(l),d}function bo(l){D.H=vh;var a=gt!==null&&gt.next!==null;if(ha=0,Xt=gt=Xe=null,Ef=!1,Xn=0,_u=null,a)throw Error(m(300));l===null||pl||(l=l.dependencies,l!==null&&pf(l)&&(pl=!0))}function t0(l,a,i,o){Xe=l;var r=0;do{if(Gn&&(_u=null),Xn=0,Gn=!1,25<=r)throw Error(m(301));if(r+=1,Xt=gt=null,l.updateQueue!=null){var d=l.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=Cu,d=a(i,o)}while(Gn);return d}function gv(){var l=D.H,a=l.useState()[0];return a=typeof a.then=="function"?Cf(a):a,l=l.useState()[0],(gt!==null?gt.memoizedState:null)!==l&&(Xe.flags|=1024),a}function eh(){var l=Qa!==0;return Qa=0,l}function Zs(l,a,i){a.updateQueue=l.updateQueue,a.flags&=-2053,l.lanes&=~i}function th(l){if(Ef){for(l=l.memoizedState;l!==null;){var a=l.queue;a!==null&&(a.pending=null),l=l.next}Ef=!1}ha=0,Xt=gt=Xe=null,Gn=!1,Xn=Qa=0,_u=null}function Zl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?Xe.memoizedState=Xt=l:Xt=Xt.next=l,Xt}function Jt(){if(gt===null){var l=Xe.alternate;l=l!==null?l.memoizedState:null}else l=gt.next;var a=Xt===null?Xe.memoizedState:Xt.next;if(a!==null)Xt=a,gt=l;else{if(l===null)throw Xe.alternate===null?Error(m(467)):Error(m(310));gt=l,l={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Xt===null?Xe.memoizedState=Xt=l:Xt=Xt.next=l}return Xt}function _f(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cf(l){var a=Xn;return Xn+=1,_u===null&&(_u=[]),l=Km(_u,l,a),a=Xe,(Xt===null?a.memoizedState:Xt.next)===null&&(a=a.alternate,D.H=a===null||a.memoizedState===null?p0:v0),l}function cl(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Cf(l);if(l.$$typeof===fe)return _l(l)}throw Error(m(438,String(l)))}function lh(l){var a=null,i=Xe.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var o=Xe.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(r){return r.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=_f(),Xe.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(l),o=0;o<l;o++)i[o]=Ce;return a.index++,i}function Ri(l,a){return typeof a=="function"?a(l):a}function Af(l){var a=Jt();return nh(a,gt,l)}function nh(l,a,i){var o=l.queue;if(o===null)throw Error(m(311));o.lastRenderedReducer=i;var r=l.baseQueue,d=o.pending;if(d!==null){if(r!==null){var g=r.next;r.next=d.next,d.next=g}a.baseQueue=r=d,o.pending=null}if(d=l.baseState,r===null)l.memoizedState=d;else{a=r.next;var y=g=null,E=null,H=a,W=!1;do{var P=H.lane&-536870913;if(P!==H.lane?(lt&P)===P:(ha&P)===P){var k=H.revertLane;if(k===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),P===da&&(W=!0);else if((ha&k)===k){H=H.next,k===da&&(W=!0);continue}else P={lane:0,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},E===null?(y=E=P,g=d):E=E.next=P,Xe.lanes|=k,zu|=k;P=H.action,yo&&i(d,P),d=H.hasEagerState?H.eagerState:i(d,P)}else k={lane:P,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},E===null?(y=E=k,g=d):E=E.next=k,Xe.lanes|=P,zu|=P;H=H.next}while(H!==null&&H!==a);if(E===null?g=d:E.next=y,!ol(d,l.memoizedState)&&(pl=!0,W&&(i=ml,i!==null)))throw i;l.memoizedState=d,l.baseState=g,l.baseQueue=E,o.lastRenderedState=d}return r===null&&(o.lanes=0),[l.memoizedState,o.dispatch]}function ah(l){var a=Jt(),i=a.queue;if(i===null)throw Error(m(311));i.lastRenderedReducer=l;var o=i.dispatch,r=i.pending,d=a.memoizedState;if(r!==null){i.pending=null;var g=r=r.next;do d=l(d,g.action),g=g.next;while(g!==r);ol(d,a.memoizedState)||(pl=!0),a.memoizedState=d,a.baseQueue===null&&(a.baseState=d),i.lastRenderedState=d}return[d,o]}function Mf(l,a,i){var o=Xe,r=Jt(),d=st;if(d){if(i===void 0)throw Error(m(407));i=i()}else i=a();var g=!ol((gt||r).memoizedState,i);g&&(r.memoizedState=i,pl=!0),r=r.queue;var y=n0.bind(null,o,r,l);if(_t(2048,8,y,[l]),r.getSnapshot!==a||g||Xt!==null&&Xt.memoizedState.tag&1){if(o.flags|=2048,Tn(9,zf(),l0.bind(null,o,r,i,a),null),Rt===null)throw Error(m(349));d||(ha&124)!==0||ih(o,a,i)}return i}function ih(l,a,i){l.flags|=16384,l={getSnapshot:a,value:i},a=Xe.updateQueue,a===null?(a=_f(),Xe.updateQueue=a,a.stores=[l]):(i=a.stores,i===null?a.stores=[l]:i.push(l))}function l0(l,a,i,o){a.value=i,a.getSnapshot=o,a0(a)&&uh(l)}function n0(l,a,i){return i(function(){a0(a)&&uh(l)})}function a0(l){var a=l.getSnapshot;l=l.value;try{var i=a();return!ol(l,i)}catch{return!0}}function uh(l){var a=Ti(l,2);a!==null&&Zn(a,l,2)}function Rf(l){var a=Zl();if(typeof l=="function"){var i=l;if(l=i(),yo){Sl(!0);try{i()}finally{Sl(!1)}}}return a.memoizedState=a.baseState=l,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:l},a}function oh(l,a,i,o){return l.baseState=i,nh(l,gt,typeof o=="function"?o:Ri)}function yv(l,a,i,o,r){if(Ec(l))throw Error(m(485));if(l=a.action,l!==null){var d={payload:r,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};D.T!==null?i(!0):d.isTransition=!1,o(d),i=a.pending,i===null?(d.next=a.pending=d,ch(a,d)):(d.next=i.next,a.pending=i.next=d)}}function ch(l,a){var i=a.action,o=a.payload,r=l.state;if(a.isTransition){var d=D.T,g={};D.T=g;try{var y=i(r,o),E=D.S;E!==null&&E(g,y),Df(l,a,y)}catch(H){rh(l,a,H)}finally{D.T=d}}else try{d=i(r,o),Df(l,a,d)}catch(H){rh(l,a,H)}}function Df(l,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){sh(l,a,o)},function(o){return rh(l,a,o)}):sh(l,a,i)}function sh(l,a,i){a.status="fulfilled",a.value=i,i0(a),l.state=i,a=l.pending,a!==null&&(i=a.next,i===a?l.pending=null:(i=i.next,a.next=i,ch(l,i)))}function rh(l,a,i){var o=l.pending;if(l.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=i,i0(a),a=a.next;while(a!==o)}l.action=null}function i0(l){l=l.listeners;for(var a=0;a<l.length;a++)(0,l[a])()}function fh(l,a){return a}function u0(l,a){if(st){var i=Rt.formState;if(i!==null){e:{var o=Xe;if(st){if(ft){t:{for(var r=ft,d=fa;r.nodeType!==8;){if(!d){r=null;break t}if(r=Ka(r.nextSibling),r===null){r=null;break t}}d=r.data,r=d==="F!"||d==="F"?r:null}if(r){ft=Ka(r.nextSibling),o=r.data==="F!";break e}}Su(o)}o=!1}o&&(a=i[0])}}return i=Zl(),i.memoizedState=i.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fh,lastRenderedState:a},i.queue=o,i=h0.bind(null,Xe,o),o.dispatch=i,o=Rf(!1),d=Hf.bind(null,Xe,!1,o.queue),o=Zl(),r={state:a,dispatch:null,action:l,pending:null},o.queue=r,i=yv.bind(null,Xe,r,d,i),r.dispatch=i,o.memoizedState=l,[a,i,!1]}function Di(l){var a=Jt();return dh(a,gt,l)}function dh(l,a,i){if(a=nh(l,a,fh)[0],l=Af(Ri)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=Cf(a)}catch(g){throw g===go?bf:g}else o=a;a=Jt();var r=a.queue,d=r.dispatch;return i!==a.memoizedState&&(Xe.flags|=2048,Tn(9,zf(),$g.bind(null,r,i),null)),[o,d,l]}function $g(l,a){l.action=a}function hh(l){var a=Jt(),i=gt;if(i!==null)return dh(a,i,l);Jt(),a=a.memoizedState,i=Jt();var o=i.queue.dispatch;return i.memoizedState=l,[a,o,!1]}function Tn(l,a,i,o){return l={tag:l,create:i,deps:o,inst:a,next:null},a=Xe.updateQueue,a===null&&(a=_f(),Xe.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=l.next=l:(o=i.next,i.next=l,l.next=o,a.lastEffect=l),l}function zf(){return{destroy:void 0,resource:void 0}}function Of(){return Jt().memoizedState}function So(l,a,i,o){var r=Zl();o=o===void 0?null:o,Xe.flags|=l,r.memoizedState=Tn(1|a,zf(),i,o)}function _t(l,a,i,o){var r=Jt();o=o===void 0?null:o;var d=r.memoizedState.inst;gt!==null&&o!==null&&Fd(o,gt.memoizedState.deps)?r.memoizedState=Tn(a,d,i,o):(Xe.flags|=l,r.memoizedState=Tn(1|a,d,i,o))}function bv(l,a){So(8390656,8,l,a)}function Sv(l,a){_t(2048,8,l,a)}function o0(l,a){return _t(4,2,l,a)}function Za(l,a){return _t(4,4,l,a)}function c0(l,a){if(typeof a=="function"){l=l();var i=a(l);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return l=l(),a.current=l,function(){a.current=null}}function mh(l,a,i){i=i!=null?i.concat([l]):null,_t(4,4,c0.bind(null,a,l),i)}function Sc(){}function Tc(l,a){var i=Jt();a=a===void 0?null:a;var o=i.memoizedState;return a!==null&&Fd(a,o[1])?o[0]:(i.memoizedState=[l,a],l)}function s0(l,a){var i=Jt();a=a===void 0?null:a;var o=i.memoizedState;if(a!==null&&Fd(a,o[1]))return o[0];if(o=l(),yo){Sl(!0);try{l()}finally{Sl(!1)}}return i.memoizedState=[o,a],o}function Uf(l,a,i){return i===void 0||(ha&1073741824)!==0?l.memoizedState=a:(l.memoizedState=i,l=Q0(),Xe.lanes|=l,zu|=l,i)}function r0(l,a,i,o){return ol(i,a)?i:bc.current!==null?(l=Uf(l,i,o),ol(l,a)||(pl=!0),l):(ha&42)===0?(pl=!0,l.memoizedState=i):(l=Q0(),Xe.lanes|=l,zu|=l,a)}function Tv(l,a,i,o,r){var d=I.p;I.p=d!==0&&8>d?d:8;var g=D.T,y={};D.T=y,Hf(l,!1,a,i);try{var E=r(),H=D.S;if(H!==null&&H(y,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var W=vv(E,o);xc(l,a,W,Qn(l))}else xc(l,a,o,Qn(l))}catch(P){xc(l,a,{then:function(){},status:"rejected",reason:P},Qn())}finally{I.p=d,D.T=g}}function Jg(){}function ph(l,a,i,o){if(l.tag!==5)throw Error(m(476));var r=xv(l).queue;Tv(l,r,a,te,i===null?Jg:function(){return $s(l),i(o)})}function xv(l){var a=l.memoizedState;if(a!==null)return a;a={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:te},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:i},next:null},l.memoizedState=a,l=l.alternate,l!==null&&(l.memoizedState=a),a}function $s(l){var a=xv(l).next.queue;xc(l,a,{},Qn())}function ma(){return _l(Dn)}function f0(){return Jt().memoizedState}function Ev(){return Jt().memoizedState}function _v(l){for(var a=l.return;a!==null;){switch(a.tag){case 24:case 3:var i=Qn();l=Sn(i);var o=Mi(a,l,i);o!==null&&(Zn(o,a,i),yc(o,a,i)),a={cache:Gs()},l.payload=a;return}a=a.return}}function d0(l,a,i){var o=Qn();i={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},Ec(l)?Cv(a,i):(i=Us(l,a,i,o),i!==null&&(Zn(i,l,o),m0(i,a,o)))}function h0(l,a,i){var o=Qn();xc(l,a,i,o)}function xc(l,a,i,o){var r={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(Ec(l))Cv(a,r);else{var d=l.alternate;if(l.lanes===0&&(d===null||d.lanes===0)&&(d=a.lastRenderedReducer,d!==null))try{var g=a.lastRenderedState,y=d(g,i);if(r.hasEagerState=!0,r.eagerState=y,ol(y,g))return fo(l,a,r,0),Rt===null&&ze(),!1}catch{}finally{}if(i=Us(l,a,r,o),i!==null)return Zn(i,l,o),m0(i,a,o),!0}return!1}function Hf(l,a,i,o){if(o={lane:2,revertLane:Nc(),action:o,hasEagerState:!1,eagerState:null,next:null},Ec(l)){if(a)throw Error(m(479))}else a=Us(l,i,o,2),a!==null&&Zn(a,l,2)}function Ec(l){var a=l.alternate;return l===Xe||a!==null&&a===Xe}function Cv(l,a){Gn=Ef=!0;var i=l.pending;i===null?a.next=a:(a.next=i.next,i.next=a),l.pending=a}function m0(l,a,i){if((i&4194048)!==0){var o=a.lanes;o&=l.pendingLanes,i|=o,a.lanes=i,$u(l,i)}}var vh={readContext:_l,use:cl,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt},p0={readContext:_l,use:cl,useCallback:function(l,a){return Zl().memoizedState=[l,a===void 0?null:a],l},useContext:_l,useEffect:bv,useImperativeHandle:function(l,a,i){i=i!=null?i.concat([l]):null,So(4194308,4,c0.bind(null,a,l),i)},useLayoutEffect:function(l,a){return So(4194308,4,l,a)},useInsertionEffect:function(l,a){So(4,2,l,a)},useMemo:function(l,a){var i=Zl();a=a===void 0?null:a;var o=l();if(yo){Sl(!0);try{l()}finally{Sl(!1)}}return i.memoizedState=[o,a],o},useReducer:function(l,a,i){var o=Zl();if(i!==void 0){var r=i(a);if(yo){Sl(!0);try{i(a)}finally{Sl(!1)}}}else r=a;return o.memoizedState=o.baseState=r,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:r},o.queue=l,l=l.dispatch=d0.bind(null,Xe,l),[o.memoizedState,l]},useRef:function(l){var a=Zl();return l={current:l},a.memoizedState=l},useState:function(l){l=Rf(l);var a=l.queue,i=h0.bind(null,Xe,a);return a.dispatch=i,[l.memoizedState,i]},useDebugValue:Sc,useDeferredValue:function(l,a){var i=Zl();return Uf(i,l,a)},useTransition:function(){var l=Rf(!1);return l=Tv.bind(null,Xe,l.queue,!0,!1),Zl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,a,i){var o=Xe,r=Zl();if(st){if(i===void 0)throw Error(m(407));i=i()}else{if(i=a(),Rt===null)throw Error(m(349));(lt&124)!==0||ih(o,a,i)}r.memoizedState=i;var d={value:i,getSnapshot:a};return r.queue=d,bv(n0.bind(null,o,d,l),[l]),o.flags|=2048,Tn(9,zf(),l0.bind(null,o,d,i,a),null),i},useId:function(){var l=Zl(),a=Rt.identifierPrefix;if(st){var i=$t,o=Xa;i=(o&~(1<<32-Ot(o)-1)).toString(32)+i,a="«"+a+"R"+i,i=Qa++,0<i&&(a+="H"+i.toString(32)),a+="»"}else i=e0++,a="«"+a+"r"+i.toString(32)+"»";return l.memoizedState=a},useHostTransitionStatus:ma,useFormState:u0,useActionState:u0,useOptimistic:function(l){var a=Zl();a.memoizedState=a.baseState=l;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=Hf.bind(null,Xe,!0,i),i.dispatch=a,[l,a]},useMemoCache:lh,useCacheRefresh:function(){return Zl().memoizedState=_v.bind(null,Xe)}},v0={readContext:_l,use:cl,useCallback:Tc,useContext:_l,useEffect:Sv,useImperativeHandle:mh,useInsertionEffect:o0,useLayoutEffect:Za,useMemo:s0,useReducer:Af,useRef:Of,useState:function(){return Af(Ri)},useDebugValue:Sc,useDeferredValue:function(l,a){var i=Jt();return r0(i,gt.memoizedState,l,a)},useTransition:function(){var l=Af(Ri)[0],a=Jt().memoizedState;return[typeof l=="boolean"?l:Cf(l),a]},useSyncExternalStore:Mf,useId:f0,useHostTransitionStatus:ma,useFormState:Di,useActionState:Di,useOptimistic:function(l,a){var i=Jt();return oh(i,gt,l,a)},useMemoCache:lh,useCacheRefresh:Ev},Cu={readContext:_l,use:cl,useCallback:Tc,useContext:_l,useEffect:Sv,useImperativeHandle:mh,useInsertionEffect:o0,useLayoutEffect:Za,useMemo:s0,useReducer:ah,useRef:Of,useState:function(){return ah(Ri)},useDebugValue:Sc,useDeferredValue:function(l,a){var i=Jt();return gt===null?Uf(i,l,a):r0(i,gt.memoizedState,l,a)},useTransition:function(){var l=ah(Ri)[0],a=Jt().memoizedState;return[typeof l=="boolean"?l:Cf(l),a]},useSyncExternalStore:Mf,useId:f0,useHostTransitionStatus:ma,useFormState:hh,useActionState:hh,useOptimistic:function(l,a){var i=Jt();return gt!==null?oh(i,gt,l,a):(i.baseState=l,[l,i.queue.dispatch])},useMemoCache:lh,useCacheRefresh:Ev},_c=null,Js=0;function gh(l){var a=Js;return Js+=1,_c===null&&(_c=[]),Km(_c,l,a)}function Cc(l,a){a=a.props.ref,l.ref=a!==void 0?a:null}function $l(l,a){throw a.$$typeof===ne?Error(m(525)):(l=Object.prototype.toString.call(a),Error(m(31,l==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":l)))}function g0(l){var a=l._init;return a(l._payload)}function xn(l){function a(O,z){if(l){var U=O.deletions;U===null?(O.deletions=[z],O.flags|=16):U.push(z)}}function i(O,z){if(!l)return null;for(;z!==null;)a(O,z),z=z.sibling;return null}function o(O){for(var z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function r(O,z){return O=Ga(O,z),O.index=0,O.sibling=null,O}function d(O,z,U){return O.index=U,l?(U=O.alternate,U!==null?(U=U.index,U<z?(O.flags|=67108866,z):U):(O.flags|=67108866,z)):(O.flags|=1048576,z)}function g(O){return l&&O.alternate===null&&(O.flags|=67108866),O}function y(O,z,U,F){return z===null||z.tag!==6?(z=Bs(U,O.mode,F),z.return=O,z):(z=r(z,U),z.return=O,z)}function E(O,z,U,F){var be=U.type;return be===ce?W(O,z,U.props.children,F,U.key):z!==null&&(z.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===at&&g0(be)===z.type)?(z=r(z,U.props),Cc(z,U),z.return=O,z):(z=le(U.type,U.key,U.props,null,O.mode,F),Cc(z,U),z.return=O,z)}function H(O,z,U,F){return z===null||z.tag!==4||z.stateNode.containerInfo!==U.containerInfo||z.stateNode.implementation!==U.implementation?(z=Gt(U,O.mode,F),z.return=O,z):(z=r(z,U.children||[]),z.return=O,z)}function W(O,z,U,F,be){return z===null||z.tag!==7?(z=ca(U,O.mode,F,be),z.return=O,z):(z=r(z,U),z.return=O,z)}function P(O,z,U){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=Bs(""+z,O.mode,U),z.return=O,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case V:return U=le(z.type,z.key,z.props,null,O.mode,U),Cc(U,z),U.return=O,U;case oe:return z=Gt(z,O.mode,U),z.return=O,z;case at:var F=z._init;return z=F(z._payload),P(O,z,U)}if(vt(z)||Ee(z))return z=ca(z,O.mode,U,null),z.return=O,z;if(typeof z.then=="function")return P(O,gh(z),U);if(z.$$typeof===fe)return P(O,vf(O,z),U);$l(O,z)}return null}function k(O,z,U,F){var be=z!==null?z.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return be!==null?null:y(O,z,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case V:return U.key===be?E(O,z,U,F):null;case oe:return U.key===be?H(O,z,U,F):null;case at:return be=U._init,U=be(U._payload),k(O,z,U,F)}if(vt(U)||Ee(U))return be!==null?null:W(O,z,U,F,null);if(typeof U.then=="function")return k(O,z,gh(U),F);if(U.$$typeof===fe)return k(O,z,vf(O,U),F);$l(O,U)}return null}function L(O,z,U,F,be){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return O=O.get(U)||null,y(z,O,""+F,be);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case V:return O=O.get(F.key===null?U:F.key)||null,E(z,O,F,be);case oe:return O=O.get(F.key===null?U:F.key)||null,H(z,O,F,be);case at:var Ie=F._init;return F=Ie(F._payload),L(O,z,U,F,be)}if(vt(F)||Ee(F))return O=O.get(U)||null,W(z,O,F,be,null);if(typeof F.then=="function")return L(O,z,U,gh(F),be);if(F.$$typeof===fe)return L(O,z,U,vf(z,F),be);$l(z,F)}return null}function Ae(O,z,U,F){for(var be=null,Ie=null,_e=z,He=z=0,Rl=null;_e!==null&&He<U.length;He++){_e.index>He?(Rl=_e,_e=null):Rl=_e.sibling;var ct=k(O,_e,U[He],F);if(ct===null){_e===null&&(_e=Rl);break}l&&_e&&ct.alternate===null&&a(O,_e),z=d(ct,z,He),Ie===null?be=ct:Ie.sibling=ct,Ie=ct,_e=Rl}if(He===U.length)return i(O,_e),st&&ut(O,He),be;if(_e===null){for(;He<U.length;He++)_e=P(O,U[He],F),_e!==null&&(z=d(_e,z,He),Ie===null?be=_e:Ie.sibling=_e,Ie=_e);return st&&ut(O,He),be}for(_e=o(_e);He<U.length;He++)Rl=L(_e,O,He,U[He],F),Rl!==null&&(l&&Rl.alternate!==null&&_e.delete(Rl.key===null?He:Rl.key),z=d(Rl,z,He),Ie===null?be=Rl:Ie.sibling=Rl,Ie=Rl);return l&&_e.forEach(function(Lo){return a(O,Lo)}),st&&ut(O,He),be}function Me(O,z,U,F){if(U==null)throw Error(m(151));for(var be=null,Ie=null,_e=z,He=z=0,Rl=null,ct=U.next();_e!==null&&!ct.done;He++,ct=U.next()){_e.index>He?(Rl=_e,_e=null):Rl=_e.sibling;var Lo=k(O,_e,ct.value,F);if(Lo===null){_e===null&&(_e=Rl);break}l&&_e&&Lo.alternate===null&&a(O,_e),z=d(Lo,z,He),Ie===null?be=Lo:Ie.sibling=Lo,Ie=Lo,_e=Rl}if(ct.done)return i(O,_e),st&&ut(O,He),be;if(_e===null){for(;!ct.done;He++,ct=U.next())ct=P(O,ct.value,F),ct!==null&&(z=d(ct,z,He),Ie===null?be=ct:Ie.sibling=ct,Ie=ct);return st&&ut(O,He),be}for(_e=o(_e);!ct.done;He++,ct=U.next())ct=L(_e,O,He,ct.value,F),ct!==null&&(l&&ct.alternate!==null&&_e.delete(ct.key===null?He:ct.key),z=d(ct,z,He),Ie===null?be=ct:Ie.sibling=ct,Ie=ct);return l&&_e.forEach(function(uy){return a(O,uy)}),st&&ut(O,He),be}function ht(O,z,U,F){if(typeof U=="object"&&U!==null&&U.type===ce&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case V:e:{for(var be=U.key;z!==null;){if(z.key===be){if(be=U.type,be===ce){if(z.tag===7){i(O,z.sibling),F=r(z,U.props.children),F.return=O,O=F;break e}}else if(z.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===at&&g0(be)===z.type){i(O,z.sibling),F=r(z,U.props),Cc(F,U),F.return=O,O=F;break e}i(O,z);break}else a(O,z);z=z.sibling}U.type===ce?(F=ca(U.props.children,O.mode,F,U.key),F.return=O,O=F):(F=le(U.type,U.key,U.props,null,O.mode,F),Cc(F,U),F.return=O,O=F)}return g(O);case oe:e:{for(be=U.key;z!==null;){if(z.key===be)if(z.tag===4&&z.stateNode.containerInfo===U.containerInfo&&z.stateNode.implementation===U.implementation){i(O,z.sibling),F=r(z,U.children||[]),F.return=O,O=F;break e}else{i(O,z);break}else a(O,z);z=z.sibling}F=Gt(U,O.mode,F),F.return=O,O=F}return g(O);case at:return be=U._init,U=be(U._payload),ht(O,z,U,F)}if(vt(U))return Ae(O,z,U,F);if(Ee(U)){if(be=Ee(U),typeof be!="function")throw Error(m(150));return U=be.call(U),Me(O,z,U,F)}if(typeof U.then=="function")return ht(O,z,gh(U),F);if(U.$$typeof===fe)return ht(O,z,vf(O,U),F);$l(O,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,z!==null&&z.tag===6?(i(O,z.sibling),F=r(z,U),F.return=O,O=F):(i(O,z),F=Bs(U,O.mode,F),F.return=O,O=F),g(O)):i(O,z)}return function(O,z,U,F){try{Js=0;var be=ht(O,z,U,F);return _c=null,be}catch(_e){if(_e===go||_e===bf)throw _e;var Ie=yn(29,_e,null,O.mode);return Ie.lanes=F,Ie.return=O,Ie}finally{}}}var Ac=xn(!0),zi=xn(!1),jn=pe(null),Jl=null;function Au(l){var a=l.alternate;ve(Ct,Ct.current&1),ve(jn,l),Jl===null&&(a===null||bc.current!==null||a.memoizedState!==null)&&(Jl=l)}function Oi(l){if(l.tag===22){if(ve(Ct,Ct.current),ve(jn,l),Jl===null){var a=l.alternate;a!==null&&a.memoizedState!==null&&(Jl=l)}}else Ui()}function Ui(){ve(Ct,Ct.current),ve(jn,jn.current)}function $a(l){ie(jn),Jl===l&&(Jl=null),ie(Ct)}var Ct=pe(0);function wf(l){for(var a=l;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||nd(i)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break;for(;a.sibling===null;){if(a.return===null||a.return===l)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function To(l,a,i,o){a=l.memoizedState,i=i(o,a),i=i==null?a:ee({},a,i),l.memoizedState=i,l.lanes===0&&(l.updateQueue.baseState=i)}var yh={enqueueSetState:function(l,a,i){l=l._reactInternals;var o=Qn(),r=Sn(o);r.payload=a,i!=null&&(r.callback=i),a=Mi(l,r,o),a!==null&&(Zn(a,l,o),yc(a,l,o))},enqueueReplaceState:function(l,a,i){l=l._reactInternals;var o=Qn(),r=Sn(o);r.tag=1,r.payload=a,i!=null&&(r.callback=i),a=Mi(l,r,o),a!==null&&(Zn(a,l,o),yc(a,l,o))},enqueueForceUpdate:function(l,a){l=l._reactInternals;var i=Qn(),o=Sn(i);o.tag=2,a!=null&&(o.callback=a),a=Mi(l,o,i),a!==null&&(Zn(a,l,i),yc(a,l,i))}};function Ks(l,a,i,o,r,d,g){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(o,d,g):a.prototype&&a.prototype.isPureReactComponent?!La(i,o)||!La(r,d):!0}function Mc(l,a,i,o){l=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,o),a.state!==l&&yh.enqueueReplaceState(a,a.state,null)}function xo(l,a){var i=a;if("ref"in a){i={};for(var o in a)o!=="ref"&&(i[o]=a[o])}if(l=l.defaultProps){i===a&&(i=ee({},i));for(var r in l)i[r]===void 0&&(i[r]=l[r])}return i}var Bf=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function Ws(l){Bf(l)}function y0(l){console.error(l)}function kf(l){Bf(l)}function Nf(l,a){try{var i=l.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function b0(l,a,i){try{var o=l.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function S0(l,a,i){return i=Sn(i),i.tag=3,i.payload={element:null},i.callback=function(){Nf(l,a)},i}function T0(l){return l=Sn(l),l.tag=3,l}function En(l,a,i,o){var r=i.type.getDerivedStateFromError;if(typeof r=="function"){var d=o.value;l.payload=function(){return r(d)},l.callback=function(){b0(a,i,o)}}var g=i.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(l.callback=function(){b0(a,i,o),typeof r!="function"&&(Ao===null?Ao=new Set([this]):Ao.add(this));var y=o.stack;this.componentDidCatch(o.value,{componentStack:y!==null?y:""})})}function Av(l,a,i,o,r){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=i.alternate,a!==null&&Ys(a,i,r,!0),i=jn.current,i!==null){switch(i.tag){case 13:return Jl===null?kc():i.alternate===null&&Ft===0&&(Ft=3),i.flags&=-257,i.flags|=65536,i.lanes=r,o===$d?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([o]):a.add(o),jh(l,o,r)),!1;case 22:return i.flags|=65536,o===$d?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([o]):i.add(o)),jh(l,o,r)),!1}throw Error(m(435,i.tag))}return jh(l,o,r),kc(),!1}if(st)return a=jn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=r,o!==pc&&(l=Error(m(422),{cause:o}),qs(Ql(l,i)))):(o!==pc&&(a=Error(m(423),{cause:o}),qs(Ql(a,i))),l=l.current.alternate,l.flags|=65536,r&=-r,l.lanes|=r,o=Ql(o,i),r=S0(l.stateNode,o,r),Fm(l,r),Ft!==4&&(Ft=2)),!1;var d=Error(m(520),{cause:o});if(d=Ql(d,i),nr===null?nr=[d]:nr.push(d),Ft!==4&&(Ft=2),a===null)return!0;o=Ql(o,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,l=r&-r,i.lanes|=l,l=S0(i.stateNode,o,l),Fm(i,l),!1;case 1:if(a=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ao===null||!Ao.has(d))))return i.flags|=65536,r&=-r,i.lanes|=r,r=T0(r),En(r,l,i,o),Fm(i,r),!1}i=i.return}while(i!==null);return!1}var Kt=Error(m(461)),pl=!1;function Al(l,a,i,o){a.child=l===null?zi(a,null,i,o):Ac(a,l.child,i,o)}function Mv(l,a,i,o,r){i=i.render;var d=a.ref;if("ref"in o){var g={};for(var y in o)y!=="ref"&&(g[y]=o[y])}else g=o;return po(a),o=Pd(l,a,i,g,d,r),y=eh(),l!==null&&!pl?(Zs(l,a,r),Hi(l,a,r)):(st&&y&&mc(a),a.flags|=1,Al(l,a,o,r),a.child)}function Mu(l,a,i,o,r){if(l===null){var d=i.type;return typeof d=="function"&&!ff(d)&&d.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=d,Rc(l,a,d,o,r)):(l=le(i.type,null,o,a,a.mode,r),l.ref=a.ref,l.return=a,a.child=l)}if(d=l.child,!Rh(l,r)){var g=d.memoizedProps;if(i=i.compare,i=i!==null?i:La,i(g,o)&&l.ref===a.ref)return Hi(l,a,r)}return a.flags|=1,l=Ga(d,o),l.ref=a.ref,l.return=a,a.child=l}function Rc(l,a,i,o,r){if(l!==null){var d=l.memoizedProps;if(La(d,o)&&l.ref===a.ref)if(pl=!1,a.pendingProps=o=d,Rh(l,r))(l.flags&131072)!==0&&(pl=!0);else return a.lanes=l.lanes,Hi(l,a,r)}return Sh(l,a,i,o,r)}function bh(l,a,i){var o=a.pendingProps,r=o.children,d=l!==null?l.memoizedState:null;if(o.mode==="hidden"){if((a.flags&128)!==0){if(o=d!==null?d.baseLanes|i:i,l!==null){for(r=a.child=l.child,d=0;r!==null;)d=d|r.lanes|r.childLanes,r=r.sibling;a.childLanes=d&~o}else a.childLanes=0,a.child=null;return Dc(l,a,o,i)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},l!==null&&vc(a,d!==null?d.cachePool:null),d!==null?Cl(a,d):js(),Oi(a);else return a.lanes=a.childLanes=536870912,Dc(l,a,d!==null?d.baseLanes|i:i,i)}else d!==null?(vc(a,d.cachePool),Cl(a,d),Ui(),a.memoizedState=null):(l!==null&&vc(a,null),js(),Ui());return Al(l,a,r,i),a.child}function Dc(l,a,i,o){var r=yf();return r=r===null?null:{parent:hl._currentValue,pool:r},a.memoizedState={baseLanes:i,cachePool:r},l!==null&&vc(a,null),js(),Oi(a),l!==null&&Ys(l,a,o,!0),null}function Lf(l,a){var i=a.ref;if(i===null)l!==null&&l.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(m(284));(l===null||l.ref!==i)&&(a.flags|=4194816)}}function Sh(l,a,i,o,r){return po(a),i=Pd(l,a,i,o,void 0,r),o=eh(),l!==null&&!pl?(Zs(l,a,r),Hi(l,a,r)):(st&&o&&mc(a),a.flags|=1,Al(l,a,i,r),a.child)}function x0(l,a,i,o,r,d){return po(a),a.updateQueue=null,i=t0(a,o,i,r),bo(l),o=eh(),l!==null&&!pl?(Zs(l,a,d),Hi(l,a,d)):(st&&o&&mc(a),a.flags|=1,Al(l,a,i,d),a.child)}function Th(l,a,i,o,r){if(po(a),a.stateNode===null){var d=ws,g=i.contextType;typeof g=="object"&&g!==null&&(d=_l(g)),d=new i(o,d),a.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=yh,a.stateNode=d,d._reactInternals=a,d=a.stateNode,d.props=o,d.state=a.memoizedState,d.refs={},Kd(a),g=i.contextType,d.context=typeof g=="object"&&g!==null?_l(g):ws,d.state=a.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(To(a,i,g,o),d.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&yh.enqueueReplaceState(d,d.state,null),Eu(a,o,d,r),Xs(),d.state=a.memoizedState),typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(l===null){d=a.stateNode;var y=a.memoizedProps,E=xo(i,y);d.props=E;var H=d.context,W=i.contextType;g=ws,typeof W=="object"&&W!==null&&(g=_l(W));var P=i.getDerivedStateFromProps;W=typeof P=="function"||typeof d.getSnapshotBeforeUpdate=="function",y=a.pendingProps!==y,W||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y||H!==g)&&Mc(a,d,o,g),Ai=!1;var k=a.memoizedState;d.state=k,Eu(a,o,d,r),Xs(),H=a.memoizedState,y||k!==H||Ai?(typeof P=="function"&&(To(a,i,P,o),H=a.memoizedState),(E=Ai||Ks(a,i,E,o,k,H,g))?(W||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(a.flags|=4194308)):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=H),d.props=o,d.state=H,d.context=g,o=E):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{d=a.stateNode,Wd(l,a),g=a.memoizedProps,W=xo(i,g),d.props=W,P=a.pendingProps,k=d.context,H=i.contextType,E=ws,typeof H=="object"&&H!==null&&(E=_l(H)),y=i.getDerivedStateFromProps,(H=typeof y=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==P||k!==E)&&Mc(a,d,o,E),Ai=!1,k=a.memoizedState,d.state=k,Eu(a,o,d,r),Xs();var L=a.memoizedState;g!==P||k!==L||Ai||l!==null&&l.dependencies!==null&&pf(l.dependencies)?(typeof y=="function"&&(To(a,i,y,o),L=a.memoizedState),(W=Ai||Ks(a,i,W,o,k,L,E)||l!==null&&l.dependencies!==null&&pf(l.dependencies))?(H||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,L,E),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,L,E)),typeof d.componentDidUpdate=="function"&&(a.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===l.memoizedProps&&k===l.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===l.memoizedProps&&k===l.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=L),d.props=o,d.state=L,d.context=E,o=W):(typeof d.componentDidUpdate!="function"||g===l.memoizedProps&&k===l.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===l.memoizedProps&&k===l.memoizedState||(a.flags|=1024),o=!1)}return d=o,Lf(l,a),o=(a.flags&128)!==0,d||o?(d=a.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:d.render(),a.flags|=1,l!==null&&o?(a.child=Ac(a,l.child,null,r),a.child=Ac(a,null,i,r)):Al(l,a,i,r),a.memoizedState=d.state,l=a.child):l=Hi(l,a,r),l}function xh(l,a,i,o){return Ls(),a.flags|=256,Al(l,a,i,o),a.child}var Eh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function E0(l){return{baseLanes:l,cachePool:Qd()}}function _0(l,a,i){return l=l!==null?l.childLanes&~i:0,a&&(l|=ga),l}function C0(l,a,i){var o=a.pendingProps,r=!1,d=(a.flags&128)!==0,g;if((g=d)||(g=l!==null&&l.memoizedState===null?!1:(Ct.current&2)!==0),g&&(r=!0,a.flags&=-129),g=(a.flags&32)!==0,a.flags&=-33,l===null){if(st){if(r?Au(a):Ui(),st){var y=ft,E;if(E=y){e:{for(E=y,y=fa;E.nodeType!==8;){if(!y){y=null;break e}if(E=Ka(E.nextSibling),E===null){y=null;break e}}y=E}y!==null?(a.memoizedState={dehydrated:y,treeContext:bu!==null?{id:Xa,overflow:$t}:null,retryLane:536870912,hydrationErrors:null},E=yn(18,null,null,0),E.stateNode=y,E.return=a,a.child=E,nl=a,ft=null,E=!0):E=!1}E||Su(a)}if(y=a.memoizedState,y!==null&&(y=y.dehydrated,y!==null))return nd(y)?a.lanes=32:a.lanes=536870912,null;$a(a)}return y=o.children,o=o.fallback,r?(Ui(),r=a.mode,y=Ch({mode:"hidden",children:y},r),o=ca(o,r,i,null),y.return=a,o.return=a,y.sibling=o,a.child=y,r=a.child,r.memoizedState=E0(i),r.childLanes=_0(l,g,i),a.memoizedState=Eh,o):(Au(a),_h(a,y))}if(E=l.memoizedState,E!==null&&(y=E.dehydrated,y!==null)){if(d)a.flags&256?(Au(a),a.flags&=-257,a=Eo(l,a,i)):a.memoizedState!==null?(Ui(),a.child=l.child,a.flags|=128,a=null):(Ui(),r=o.fallback,y=a.mode,o=Ch({mode:"visible",children:o.children},y),r=ca(r,y,i,null),r.flags|=2,o.return=a,r.return=a,o.sibling=r,a.child=o,Ac(a,l.child,null,i),o=a.child,o.memoizedState=E0(i),o.childLanes=_0(l,g,i),a.memoizedState=Eh,a=r);else if(Au(a),nd(y)){if(g=y.nextSibling&&y.nextSibling.dataset,g)var H=g.dgst;g=H,o=Error(m(419)),o.stack="",o.digest=g,qs({value:o,source:null,stack:null}),a=Eo(l,a,i)}else if(pl||Ys(l,a,i,!1),g=(i&l.childLanes)!==0,pl||g){if(g=Rt,g!==null&&(o=i&-i,o=(o&42)!==0?1:dn(o),o=(o&(g.suspendedLanes|i))!==0?0:o,o!==0&&o!==E.retryLane))throw E.retryLane=o,Ti(l,o),Zn(g,l,o),Kt;y.data==="$?"||kc(),a=Eo(l,a,i)}else y.data==="$?"?(a.flags|=192,a.child=l.child,a=null):(l=E.treeContext,ft=Ka(y.nextSibling),nl=a,st=!0,ra=null,fa=!1,l!==null&&(sa[bn++]=Xa,sa[bn++]=$t,sa[bn++]=bu,Xa=l.id,$t=l.overflow,bu=a),a=_h(a,o.children),a.flags|=4096);return a}return r?(Ui(),r=o.fallback,y=a.mode,E=l.child,H=E.sibling,o=Ga(E,{mode:"hidden",children:o.children}),o.subtreeFlags=E.subtreeFlags&65011712,H!==null?r=Ga(H,r):(r=ca(r,y,i,null),r.flags|=2),r.return=a,o.return=a,o.sibling=r,a.child=o,o=r,r=a.child,y=l.child.memoizedState,y===null?y=E0(i):(E=y.cachePool,E!==null?(H=hl._currentValue,E=E.parent!==H?{parent:H,pool:H}:E):E=Qd(),y={baseLanes:y.baseLanes|i,cachePool:E}),r.memoizedState=y,r.childLanes=_0(l,g,i),a.memoizedState=Eh,o):(Au(a),i=l.child,l=i.sibling,i=Ga(i,{mode:"visible",children:o.children}),i.return=a,i.sibling=null,l!==null&&(g=a.deletions,g===null?(a.deletions=[l],a.flags|=16):g.push(l)),a.child=i,a.memoizedState=null,i)}function _h(l,a){return a=Ch({mode:"visible",children:a},l.mode),a.return=l,l.child=a}function Ch(l,a){return l=yn(22,l,null,a),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function Eo(l,a,i){return Ac(a,l.child,null,i),l=_h(a,a.pendingProps.children),l.flags|=2,a.memoizedState=null,l}function qf(l,a,i){l.lanes|=a;var o=l.alternate;o!==null&&(o.lanes|=a),Yd(l.return,a,i)}function Ah(l,a,i,o,r){var d=l.memoizedState;d===null?l.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:r}:(d.isBackwards=a,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=i,d.tailMode=r)}function Mh(l,a,i){var o=a.pendingProps,r=o.revealOrder,d=o.tail;if(Al(l,a,o.children,i),o=Ct.current,(o&2)!==0)o=o&1|2,a.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=a.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&qf(l,i,a);else if(l.tag===19)qf(l,i,a);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o&=1}switch(ve(Ct,o),r){case"forwards":for(i=a.child,r=null;i!==null;)l=i.alternate,l!==null&&wf(l)===null&&(r=i),i=i.sibling;i=r,i===null?(r=a.child,a.child=null):(r=i.sibling,i.sibling=null),Ah(a,!1,r,i,d);break;case"backwards":for(i=null,r=a.child,a.child=null;r!==null;){if(l=r.alternate,l!==null&&wf(l)===null){a.child=r;break}l=r.sibling,r.sibling=i,i=r,r=l}Ah(a,!0,i,null,d);break;case"together":Ah(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Hi(l,a,i){if(l!==null&&(a.dependencies=l.dependencies),zu|=a.lanes,(i&a.childLanes)===0)if(l!==null){if(Ys(l,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(l!==null&&a.child!==l.child)throw Error(m(153));if(a.child!==null){for(l=a.child,i=Ga(l,l.pendingProps),a.child=i,i.return=a;l.sibling!==null;)l=l.sibling,i=i.sibling=Ga(l,l.pendingProps),i.return=a;i.sibling=null}return a.child}function Rh(l,a){return(l.lanes&a)!==0?!0:(l=l.dependencies,!!(l!==null&&pf(l)))}function Rv(l,a,i){switch(a.tag){case 3:xt(a,a.stateNode.containerInfo),xu(a,hl,l.memoizedState.cache),Ls();break;case 27:case 5:bl(a);break;case 4:xt(a,a.stateNode.containerInfo);break;case 10:xu(a,a.type,a.memoizedProps.value);break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(Au(a),a.flags|=128,null):(i&a.child.childLanes)!==0?C0(l,a,i):(Au(a),l=Hi(l,a,i),l!==null?l.sibling:null);Au(a);break;case 19:var r=(l.flags&128)!==0;if(o=(i&a.childLanes)!==0,o||(Ys(l,a,i,!1),o=(i&a.childLanes)!==0),r){if(o)return Mh(l,a,i);a.flags|=128}if(r=a.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),ve(Ct,Ct.current),o)break;return null;case 22:case 23:return a.lanes=0,bh(l,a,i);case 24:xu(a,hl,l.memoizedState.cache)}return Hi(l,a,i)}function Dv(l,a,i){if(l!==null)if(l.memoizedProps!==a.pendingProps)pl=!0;else{if(!Rh(l,i)&&(a.flags&128)===0)return pl=!1,Rv(l,a,i);pl=(l.flags&131072)!==0}else pl=!1,st&&(a.flags&1048576)!==0&&qd(a,ks,a.index);switch(a.lanes=0,a.tag){case 16:e:{l=a.pendingProps;var o=a.elementType,r=o._init;if(o=r(o._payload),a.type=o,typeof o=="function")ff(o)?(l=xo(o,l),a.tag=1,a=Th(null,a,o,l,i)):(a.tag=0,a=Sh(null,a,o,l,i));else{if(o!=null){if(r=o.$$typeof,r===xe){a.tag=11,a=Mv(null,a,o,l,i);break e}else if(r===Oe){a.tag=14,a=Mu(null,a,o,l,i);break e}}throw a=Mt(o)||o,Error(m(306,a,""))}}return a;case 0:return Sh(l,a,a.type,a.pendingProps,i);case 1:return o=a.type,r=xo(o,a.pendingProps),Th(l,a,o,r,i);case 3:e:{if(xt(a,a.stateNode.containerInfo),l===null)throw Error(m(387));o=a.pendingProps;var d=a.memoizedState;r=d.element,Wd(l,a),Eu(a,o,null,i);var g=a.memoizedState;if(o=g.cache,xu(a,hl,o),o!==d.cache&&$m(a,[hl],i,!0),Xs(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},a.updateQueue.baseState=d,a.memoizedState=d,a.flags&256){a=xh(l,a,o,i);break e}else if(o!==r){r=Ql(Error(m(424)),a),qs(r),a=xh(l,a,o,i);break e}else{switch(l=a.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(ft=Ka(l.firstChild),nl=a,st=!0,ra=null,fa=!0,i=zi(a,null,o,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Ls(),o===r){a=Hi(l,a,i);break e}Al(l,a,o,i)}a=a.child}return a;case 26:return Lf(l,a),l===null?(i=Qv(a.type,null,a.pendingProps,null))?a.memoizedState=i:st||(i=a.type,l=a.pendingProps,o=ba($e.current).createElement(i),o[ll]=a,o[Tl]=l,Ne(o,i,l),Zt(o),a.stateNode=o):a.memoizedState=Qv(a.type,l.memoizedProps,a.pendingProps,l.memoizedState),null;case 27:return bl(a),l===null&&st&&(o=a.stateNode=he(a.type,a.pendingProps,$e.current),nl=a,fa=!0,r=ft,Uo(a.type)?(Ho=r,ft=Ka(o.firstChild)):ft=r),Al(l,a,a.pendingProps.children,i),Lf(l,a),l===null&&(a.flags|=4194304),a.child;case 5:return l===null&&st&&((r=o=ft)&&(o=pr(o,a.type,a.pendingProps,fa),o!==null?(a.stateNode=o,nl=a,ft=Ka(o.firstChild),fa=!1,r=!0):r=!1),r||Su(a)),bl(a),r=a.type,d=a.pendingProps,g=l!==null?l.memoizedProps:null,o=d.children,Gi(r,d)?o=null:g!==null&&Gi(r,g)&&(a.flags|=32),a.memoizedState!==null&&(r=Pd(l,a,gv,null,null,i),Dn._currentValue=r),Lf(l,a),Al(l,a,o,i),a.child;case 6:return l===null&&st&&((l=i=ft)&&(i=ny(i,a.pendingProps,fa),i!==null?(a.stateNode=i,nl=a,ft=null,l=!0):l=!1),l||Su(a)),null;case 13:return C0(l,a,i);case 4:return xt(a,a.stateNode.containerInfo),o=a.pendingProps,l===null?a.child=Ac(a,null,o,i):Al(l,a,o,i),a.child;case 11:return Mv(l,a,a.type,a.pendingProps,i);case 7:return Al(l,a,a.pendingProps,i),a.child;case 8:return Al(l,a,a.pendingProps.children,i),a.child;case 12:return Al(l,a,a.pendingProps.children,i),a.child;case 10:return o=a.pendingProps,xu(a,a.type,o.value),Al(l,a,o.children,i),a.child;case 9:return r=a.type._context,o=a.pendingProps.children,po(a),r=_l(r),o=o(r),a.flags|=1,Al(l,a,o,i),a.child;case 14:return Mu(l,a,a.type,a.pendingProps,i);case 15:return Rc(l,a,a.type,a.pendingProps,i);case 19:return Mh(l,a,i);case 31:return o=a.pendingProps,i=a.mode,o={mode:o.mode,children:o.children},l===null?(i=Ch(o,i),i.ref=a.ref,a.child=i,i.return=a,a=i):(i=Ga(l.child,o),i.ref=a.ref,a.child=i,i.return=a,a=i),a;case 22:return bh(l,a,i);case 24:return po(a),o=_l(hl),l===null?(r=yf(),r===null&&(r=Rt,d=Gs(),r.pooledCache=d,d.refCount++,d!==null&&(r.pooledCacheLanes|=i),r=d),a.memoizedState={parent:o,cache:r},Kd(a),xu(a,hl,r)):((l.lanes&i)!==0&&(Wd(l,a),Eu(a,null,null,i),Xs()),r=l.memoizedState,d=a.memoizedState,r.parent!==o?(r={parent:o,cache:o},a.memoizedState=r,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=r),xu(a,hl,o)):(o=d.cache,xu(a,hl,o),o!==r.cache&&$m(a,[hl],i,!0))),Al(l,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(m(156,a.tag))}function wi(l){l.flags|=4}function Is(l,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!cp(a)){if(a=jn.current,a!==null&&((lt&4194048)===lt?Jl!==null:(lt&62914560)!==lt&&(lt&536870912)===0||a!==Jl))throw gc=$d,Zd;l.flags|=8192}}function Yf(l,a){a!==null&&(l.flags|=4),l.flags&16384&&(a=l.tag!==22?ti():536870912,l.lanes|=a,lr|=a)}function Fs(l,a){if(!st)switch(l.tailMode){case"hidden":a=l.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?l.tail=null:i.sibling=null;break;case"collapsed":i=l.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?a||l.tail===null?l.tail=null:l.tail.sibling=null:o.sibling=null}}function Ue(l){var a=l.alternate!==null&&l.alternate.child===l.child,i=0,o=0;if(a)for(var r=l.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags&65011712,o|=r.flags&65011712,r.return=l,r=r.sibling;else for(r=l.child;r!==null;)i|=r.lanes|r.childLanes,o|=r.subtreeFlags,o|=r.flags,r.return=l,r=r.sibling;return l.subtreeFlags|=o,l.childLanes=i,a}function A0(l,a,i){var o=a.pendingProps;switch(xi(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(a),null;case 1:return Ue(a),null;case 3:return i=a.stateNode,o=null,l!==null&&(o=l.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Ei(hl),Vt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(l===null||l.child===null)&&(Ns(a)?wi(a):l===null||l.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Zm())),Ue(a),null;case 26:return i=a.memoizedState,l===null?(wi(a),i!==null?(Ue(a),Is(a,i)):(Ue(a),a.flags&=-16777217)):i?i!==l.memoizedState?(wi(a),Ue(a),Is(a,i)):(Ue(a),a.flags&=-16777217):(l.memoizedProps!==o&&wi(a),Ue(a),a.flags&=-16777217),null;case 27:On(a),i=$e.current;var r=a.type;if(l!==null&&a.stateNode!=null)l.memoizedProps!==o&&wi(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Ue(a),null}l=Be.current,Ns(a)?hf(a):(l=he(r,o,i),a.stateNode=l,wi(a))}return Ue(a),null;case 5:if(On(a),i=a.type,l!==null&&a.stateNode!=null)l.memoizedProps!==o&&wi(a);else{if(!o){if(a.stateNode===null)throw Error(m(166));return Ue(a),null}if(l=Be.current,Ns(a))hf(a);else{switch(r=ba($e.current),l){case 1:l=r.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:l=r.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":l=r.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":l=r.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":l=r.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof o.is=="string"?r.createElement("select",{is:o.is}):r.createElement("select"),o.multiple?l.multiple=!0:o.size&&(l.size=o.size);break;default:l=typeof o.is=="string"?r.createElement(i,{is:o.is}):r.createElement(i)}}l[ll]=a,l[Tl]=o;e:for(r=a.child;r!==null;){if(r.tag===5||r.tag===6)l.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}a.stateNode=l;e:switch(Ne(l,i,o),i){case"button":case"input":case"select":case"textarea":l=!!o.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&wi(a)}}return Ue(a),a.flags&=-16777217,null;case 6:if(l&&a.stateNode!=null)l.memoizedProps!==o&&wi(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(m(166));if(l=$e.current,Ns(a)){if(l=a.stateNode,i=a.memoizedProps,o=null,r=nl,r!==null)switch(r.tag){case 27:case 5:o=r.memoizedProps}l[ll]=a,l=!!(l.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||ap(l.nodeValue,i)),l||Su(a)}else l=ba(l).createTextNode(o),l[ll]=a,a.stateNode=l}return Ue(a),null;case 13:if(o=a.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(r=Ns(a),o!==null&&o.dehydrated!==null){if(l===null){if(!r)throw Error(m(318));if(r=a.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(m(317));r[ll]=a}else Ls(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ue(a),r=!1}else r=Zm(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=r),r=!0;if(!r)return a.flags&256?($a(a),a):($a(a),null)}if($a(a),(a.flags&128)!==0)return a.lanes=i,a;if(i=o!==null,l=l!==null&&l.memoizedState!==null,i){o=a.child,r=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(r=o.alternate.memoizedState.cachePool.pool);var d=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==r&&(o.flags|=2048)}return i!==l&&i&&(a.child.flags|=8192),Yf(a,a.updateQueue),Ue(a),null;case 4:return Vt(),l===null&&lp(a.stateNode.containerInfo),Ue(a),null;case 10:return Ei(a.type),Ue(a),null;case 19:if(ie(Ct),r=a.memoizedState,r===null)return Ue(a),null;if(o=(a.flags&128)!==0,d=r.rendering,d===null)if(o)Fs(r,!1);else{if(Ft!==0||l!==null&&(l.flags&128)!==0)for(l=a.child;l!==null;){if(d=wf(l),d!==null){for(a.flags|=128,Fs(r,!1),l=d.updateQueue,a.updateQueue=l,Yf(a,l),a.subtreeFlags=0,l=i,i=a.child;i!==null;)We(i,l),i=i.sibling;return ve(Ct,Ct.current&1|2),a.child}l=l.sibling}r.tail!==null&&fl()>Nh&&(a.flags|=128,o=!0,Fs(r,!1),a.lanes=4194304)}else{if(!o)if(l=wf(d),l!==null){if(a.flags|=128,o=!0,l=l.updateQueue,a.updateQueue=l,Yf(a,l),Fs(r,!0),r.tail===null&&r.tailMode==="hidden"&&!d.alternate&&!st)return Ue(a),null}else 2*fl()-r.renderingStartTime>Nh&&i!==536870912&&(a.flags|=128,o=!0,Fs(r,!1),a.lanes=4194304);r.isBackwards?(d.sibling=a.child,a.child=d):(l=r.last,l!==null?l.sibling=d:a.child=d,r.last=d)}return r.tail!==null?(a=r.tail,r.rendering=a,r.tail=a.sibling,r.renderingStartTime=fl(),a.sibling=null,l=Ct.current,ve(Ct,o?l&1|2:l&1),a):(Ue(a),null);case 22:case 23:return $a(a),Qs(),o=a.memoizedState!==null,l!==null?l.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(i&536870912)!==0&&(a.flags&128)===0&&(Ue(a),a.subtreeFlags&6&&(a.flags|=8192)):Ue(a),i=a.updateQueue,i!==null&&Yf(a,i.retryQueue),i=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==i&&(a.flags|=2048),l!==null&&ie(Ci),null;case 24:return i=null,l!==null&&(i=l.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),Ei(hl),Ue(a),null;case 25:return null;case 30:return null}throw Error(m(156,a.tag))}function Kg(l,a){switch(xi(a),a.tag){case 1:return l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 3:return Ei(hl),Vt(),l=a.flags,(l&65536)!==0&&(l&128)===0?(a.flags=l&-65537|128,a):null;case 26:case 27:case 5:return On(a),null;case 13:if($a(a),l=a.memoizedState,l!==null&&l.dehydrated!==null){if(a.alternate===null)throw Error(m(340));Ls()}return l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 19:return ie(Ct),null;case 4:return Vt(),null;case 10:return Ei(a.type),null;case 22:case 23:return $a(a),Qs(),l!==null&&ie(Ci),l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 24:return Ei(hl),null;case 25:return null;default:return null}}function M0(l,a){switch(xi(a),a.tag){case 3:Ei(hl),Vt();break;case 26:case 27:case 5:On(a);break;case 4:Vt();break;case 13:$a(a);break;case 19:ie(Ct);break;case 10:Ei(a.type);break;case 22:case 23:$a(a),Qs(),l!==null&&ie(Ci);break;case 24:Ei(hl)}}function Vf(l,a){try{var i=a.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var r=o.next;i=r;do{if((i.tag&l)===l){o=void 0;var d=i.create,g=i.inst;o=d(),g.destroy=o}i=i.next}while(i!==r)}}catch(y){St(a,a.return,y)}}function _o(l,a,i){try{var o=a.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var d=r.next;o=d;do{if((o.tag&l)===l){var g=o.inst,y=g.destroy;if(y!==void 0){g.destroy=void 0,r=a;var E=i,H=y;try{H()}catch(W){St(r,E,W)}}}o=o.next}while(o!==d)}}catch(W){St(a,a.return,W)}}function Dh(l){var a=l.updateQueue;if(a!==null){var i=l.stateNode;try{Tf(a,i)}catch(o){St(l,l.return,o)}}}function R0(l,a,i){i.props=xo(l.type,l.memoizedProps),i.state=l.memoizedState;try{i.componentWillUnmount()}catch(o){St(l,a,o)}}function Ps(l,a){try{var i=l.ref;if(i!==null){switch(l.tag){case 26:case 27:case 5:var o=l.stateNode;break;case 30:o=l.stateNode;break;default:o=l.stateNode}typeof i=="function"?l.refCleanup=i(o):i.current=o}}catch(r){St(l,a,r)}}function Ja(l,a){var i=l.ref,o=l.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(r){St(l,a,r)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(r){St(l,a,r)}else i.current=null}function er(l){var a=l.type,i=l.memoizedProps,o=l.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(r){St(l,l.return,r)}}function D0(l,a,i){try{var o=l.stateNode;ey(o,l.type,i,a),o[Tl]=a}catch(r){St(l,l.return,r)}}function zv(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Uo(l.type)||l.tag===4}function pa(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||zv(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&&Uo(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function zc(l,a,i){var o=l.tag;if(o===5||o===6)l=l.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(l,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(l),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=Kh));else if(o!==4&&(o===27&&Uo(l.type)&&(i=l.stateNode,a=null),l=l.child,l!==null))for(zc(l,a,i),l=l.sibling;l!==null;)zc(l,a,i),l=l.sibling}function zh(l,a,i){var o=l.tag;if(o===5||o===6)l=l.stateNode,a?i.insertBefore(l,a):i.appendChild(l);else if(o!==4&&(o===27&&Uo(l.type)&&(i=l.stateNode),l=l.child,l!==null))for(zh(l,a,i),l=l.sibling;l!==null;)zh(l,a,i),l=l.sibling}function Oh(l){var a=l.stateNode,i=l.memoizedProps;try{for(var o=l.type,r=a.attributes;r.length;)a.removeAttributeNode(r[0]);Ne(a,o,i),a[ll]=l,a[Tl]=i}catch(d){St(l,l.return,d)}}var Bi=!1,Wt=!1,Uh=!1,Hh=typeof WeakSet=="function"?WeakSet:Set,vl=null;function z0(l,a){if(l=l.containerInfo,ed=ud,l=As(l),ro(l)){if("selectionStart"in l)var i={start:l.selectionStart,end:l.selectionEnd};else e:{i=(i=l.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var r=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var g=0,y=-1,E=-1,H=0,W=0,P=l,k=null;t:for(;;){for(var L;P!==i||r!==0&&P.nodeType!==3||(y=g+r),P!==d||o!==0&&P.nodeType!==3||(E=g+o),P.nodeType===3&&(g+=P.nodeValue.length),(L=P.firstChild)!==null;)k=P,P=L;for(;;){if(P===l)break t;if(k===i&&++H===r&&(y=g),k===d&&++W===o&&(E=g),(L=P.nextSibling)!==null)break;P=k,k=P.parentNode}P=L}i=y===-1||E===-1?null:{start:y,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for(td={focusedElem:l,selectionRange:i},ud=!1,vl=a;vl!==null;)if(a=vl,l=a.child,(a.subtreeFlags&1024)!==0&&l!==null)l.return=a,vl=l;else for(;vl!==null;){switch(a=vl,d=a.alternate,l=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&d!==null){l=void 0,i=a,r=d.memoizedProps,d=d.memoizedState,o=i.stateNode;try{var Ae=xo(i.type,r,i.elementType===i.type);l=o.getSnapshotBeforeUpdate(Ae,d),o.__reactInternalSnapshotBeforeUpdate=l}catch(Me){St(i,i.return,Me)}}break;case 3:if((l&1024)!==0){if(l=a.stateNode.containerInfo,i=l.nodeType,i===9)ld(l);else if(i===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":ld(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(m(163))}if(l=a.sibling,l!==null){l.return=a.return,vl=l;break}vl=a.return}}function O0(l,a,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:Ni(l,i),o&4&&Vf(5,i);break;case 1:if(Ni(l,i),o&4)if(l=i.stateNode,a===null)try{l.componentDidMount()}catch(g){St(i,i.return,g)}else{var r=xo(i.type,a.memoizedProps);a=a.memoizedState;try{l.componentDidUpdate(r,a,l.__reactInternalSnapshotBeforeUpdate)}catch(g){St(i,i.return,g)}}o&64&&Dh(i),o&512&&Ps(i,i.return);break;case 3:if(Ni(l,i),o&64&&(l=i.updateQueue,l!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{Tf(l,a)}catch(g){St(i,i.return,g)}}break;case 27:a===null&&o&4&&Oh(i);case 26:case 5:Ni(l,i),a===null&&o&4&&er(i),o&512&&Ps(i,i.return);break;case 12:Ni(l,i);break;case 13:Ni(l,i),o&4&&wh(l,i),o&64&&(l=i.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(i=Wg.bind(null,i),ay(l,i))));break;case 22:if(o=i.memoizedState!==null||Bi,!o){a=a!==null&&a.memoizedState!==null||Wt,r=Bi;var d=Wt;Bi=o,(Wt=a)&&!d?Co(l,i,(i.subtreeFlags&8772)!==0):Ni(l,i),Bi=r,Wt=d}break;case 30:break;default:Ni(l,i)}}function U0(l){var a=l.alternate;a!==null&&(l.alternate=null,U0(a)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(a=l.stateNode,a!==null&&Ju(a)),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 kt=null,Hl=!1;function ki(l,a,i){for(i=i.child;i!==null;)Pe(l,a,i),i=i.sibling}function Pe(l,a,i){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(zt,i)}catch{}switch(i.tag){case 26:Wt||Ja(i,a),ki(l,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Wt||Ja(i,a);var o=kt,r=Hl;Uo(i.type)&&(kt=i.stateNode,Hl=!1),ki(l,a,i),Mn(i.stateNode),kt=o,Hl=r;break;case 5:Wt||Ja(i,a);case 6:if(o=kt,r=Hl,kt=null,ki(l,a,i),kt=o,Hl=r,kt!==null)if(Hl)try{(kt.nodeType===9?kt.body:kt.nodeName==="HTML"?kt.ownerDocument.body:kt).removeChild(i.stateNode)}catch(d){St(i,a,d)}else try{kt.removeChild(i.stateNode)}catch(d){St(i,a,d)}break;case 18:kt!==null&&(Hl?(l=kt,Ih(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.stateNode),Qi(l)):Ih(kt,i.stateNode));break;case 4:o=kt,r=Hl,kt=i.stateNode.containerInfo,Hl=!0,ki(l,a,i),kt=o,Hl=r;break;case 0:case 11:case 14:case 15:Wt||_o(2,i,a),Wt||_o(4,i,a),ki(l,a,i);break;case 1:Wt||(Ja(i,a),o=i.stateNode,typeof o.componentWillUnmount=="function"&&R0(i,a,o)),ki(l,a,i);break;case 21:ki(l,a,i);break;case 22:Wt=(o=Wt)||i.memoizedState!==null,ki(l,a,i),Wt=o;break;default:ki(l,a,i)}}function wh(l,a){if(a.memoizedState===null&&(l=a.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Qi(l)}catch(i){St(a,a.return,i)}}function H0(l){switch(l.tag){case 13:case 19:var a=l.stateNode;return a===null&&(a=l.stateNode=new Hh),a;case 22:return l=l.stateNode,a=l._retryCache,a===null&&(a=l._retryCache=new Hh),a;default:throw Error(m(435,l.tag))}}function Bh(l,a){var i=H0(l);a.forEach(function(o){var r=Ig.bind(null,l,o);i.has(o)||(i.add(o),o.then(r,r))})}function nn(l,a){var i=a.deletions;if(i!==null)for(var o=0;o<i.length;o++){var r=i[o],d=l,g=a,y=g;e:for(;y!==null;){switch(y.tag){case 27:if(Uo(y.type)){kt=y.stateNode,Hl=!1;break e}break;case 5:kt=y.stateNode,Hl=!1;break e;case 3:case 4:kt=y.stateNode.containerInfo,Hl=!0;break e}y=y.return}if(kt===null)throw Error(m(160));Pe(d,g,r),kt=null,Hl=!1,d=r.alternate,d!==null&&(d.return=null),r.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Gf(a,l),a=a.sibling}var an=null;function Gf(l,a){var i=l.alternate,o=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:nn(a,l),Ml(l),o&4&&(_o(3,l,l.return),Vf(3,l),_o(5,l,l.return));break;case 1:nn(a,l),Ml(l),o&512&&(Wt||i===null||Ja(i,i.return)),o&64&&Bi&&(l=l.updateQueue,l!==null&&(o=l.callbacks,o!==null&&(i=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var r=an;if(nn(a,l),Ml(l),o&512&&(Wt||i===null||Ja(i,i.return)),o&4){var d=i!==null?i.memoizedState:null;if(o=l.memoizedState,i===null)if(o===null)if(l.stateNode===null){e:{o=l.type,i=l.memoizedProps,r=r.ownerDocument||r;t:switch(o){case"title":d=r.getElementsByTagName("title")[0],(!d||d[ye]||d[ll]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=r.createElement(o),r.head.insertBefore(d,r.querySelector("head > title"))),Ne(d,o,i),d[ll]=l,Zt(d),o=d;break e;case"link":var g=up("link","href",r).get(o+(i.href||""));if(g){for(var y=0;y<g.length;y++)if(d=g[y],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){g.splice(y,1);break t}}d=r.createElement(o),Ne(d,o,i),r.head.appendChild(d);break;case"meta":if(g=up("meta","content",r).get(o+(i.content||""))){for(y=0;y<g.length;y++)if(d=g[y],d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){g.splice(y,1);break t}}d=r.createElement(o),Ne(d,o,i),r.head.appendChild(d);break;default:throw Error(m(468,o))}d[ll]=l,Zt(d),o=d}l.stateNode=o}else op(r,l.type,l.stateNode);else l.stateNode=$v(r,o,l.memoizedProps);else d!==o?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,o===null?op(r,l.type,l.stateNode):$v(r,o,l.memoizedProps)):o===null&&l.stateNode!==null&&D0(l,l.memoizedProps,i.memoizedProps)}break;case 27:nn(a,l),Ml(l),o&512&&(Wt||i===null||Ja(i,i.return)),i!==null&&o&4&&D0(l,l.memoizedProps,i.memoizedProps);break;case 5:if(nn(a,l),Ml(l),o&512&&(Wt||i===null||Ja(i,i.return)),l.flags&32){r=l.stateNode;try{du(r,"")}catch(L){St(l,l.return,L)}}o&4&&l.stateNode!=null&&(r=l.memoizedProps,D0(l,r,i!==null?i.memoizedProps:r)),o&1024&&(Uh=!0);break;case 6:if(nn(a,l),Ml(l),o&4){if(l.stateNode===null)throw Error(m(162));o=l.memoizedProps,i=l.stateNode;try{i.nodeValue=o}catch(L){St(l,l.return,L)}}break;case 3:if(ko=null,r=an,an=Fh(a.containerInfo),nn(a,l),an=r,Ml(l),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Qi(a.containerInfo)}catch(L){St(l,l.return,L)}Uh&&(Uh=!1,w0(l));break;case 4:o=an,an=Fh(l.stateNode.containerInfo),nn(a,l),Ml(l),an=o;break;case 12:nn(a,l),Ml(l);break;case 13:nn(a,l),Ml(l),l.child.flags&8192&&l.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(G0=fl()),o&4&&(o=l.updateQueue,o!==null&&(l.updateQueue=null,Bh(l,o)));break;case 22:r=l.memoizedState!==null;var E=i!==null&&i.memoizedState!==null,H=Bi,W=Wt;if(Bi=H||r,Wt=W||E,nn(a,l),Wt=W,Bi=H,Ml(l),o&8192)e:for(a=l.stateNode,a._visibility=r?a._visibility&-2:a._visibility|1,r&&(i===null||E||Bi||Wt||Nt(l)),i=null,a=l;;){if(a.tag===5||a.tag===26){if(i===null){E=i=a;try{if(d=E.stateNode,r)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{y=E.stateNode;var P=E.memoizedProps.style,k=P!=null&&P.hasOwnProperty("display")?P.display:null;y.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(L){St(E,E.return,L)}}}else if(a.tag===6){if(i===null){E=a;try{E.stateNode.nodeValue=r?"":E.memoizedProps}catch(L){St(E,E.return,L)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===l)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=l.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,Bh(l,i))));break;case 19:nn(a,l),Ml(l),o&4&&(o=l.updateQueue,o!==null&&(l.updateQueue=null,Bh(l,o)));break;case 30:break;case 21:break;default:nn(a,l),Ml(l)}}function Ml(l){var a=l.flags;if(a&2){try{for(var i,o=l.return;o!==null;){if(zv(o)){i=o;break}o=o.return}if(i==null)throw Error(m(160));switch(i.tag){case 27:var r=i.stateNode,d=pa(l);zh(l,d,r);break;case 5:var g=i.stateNode;i.flags&32&&(du(g,""),i.flags&=-33);var y=pa(l);zh(l,y,g);break;case 3:case 4:var E=i.stateNode.containerInfo,H=pa(l);zc(l,H,E);break;default:throw Error(m(161))}}catch(W){St(l,l.return,W)}l.flags&=-3}a&4096&&(l.flags&=-4097)}function w0(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var a=l;w0(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),l=l.sibling}}function Ni(l,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)O0(l,a.alternate,a),a=a.sibling}function Nt(l){for(l=l.child;l!==null;){var a=l;switch(a.tag){case 0:case 11:case 14:case 15:_o(4,a,a.return),Nt(a);break;case 1:Ja(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&R0(a,a.return,i),Nt(a);break;case 27:Mn(a.stateNode);case 26:case 5:Ja(a,a.return),Nt(a);break;case 22:a.memoizedState===null&&Nt(a);break;case 30:Nt(a);break;default:Nt(a)}l=l.sibling}}function Co(l,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,r=l,d=a,g=d.flags;switch(d.tag){case 0:case 11:case 15:Co(r,d,i),Vf(4,d);break;case 1:if(Co(r,d,i),o=d,r=o.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(H){St(o,o.return,H)}if(o=d,r=o.updateQueue,r!==null){var y=o.stateNode;try{var E=r.shared.hiddenCallbacks;if(E!==null)for(r.shared.hiddenCallbacks=null,r=0;r<E.length;r++)Id(E[r],y)}catch(H){St(o,o.return,H)}}i&&g&64&&Dh(d),Ps(d,d.return);break;case 27:Oh(d);case 26:case 5:Co(r,d,i),i&&o===null&&g&4&&er(d),Ps(d,d.return);break;case 12:Co(r,d,i);break;case 13:Co(r,d,i),i&&g&4&&wh(r,d);break;case 22:d.memoizedState===null&&Co(r,d,i),Ps(d,d.return);break;case 30:break;default:Co(r,d,i)}a=a.sibling}}function va(l,a){var i=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==i&&(l!=null&&l.refCount++,i!=null&&_i(i))}function kh(l,a){l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(a.refCount++,l!=null&&_i(l))}function wl(l,a,i,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)B0(l,a,i,o),a=a.sibling}function B0(l,a,i,o){var r=a.flags;switch(a.tag){case 0:case 11:case 15:wl(l,a,i,o),r&2048&&Vf(9,a);break;case 1:wl(l,a,i,o);break;case 3:wl(l,a,i,o),r&2048&&(l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(a.refCount++,l!=null&&_i(l)));break;case 12:if(r&2048){wl(l,a,i,o),l=a.stateNode;try{var d=a.memoizedProps,g=d.id,y=d.onPostCommit;typeof y=="function"&&y(g,a.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(E){St(a,a.return,E)}}else wl(l,a,i,o);break;case 13:wl(l,a,i,o);break;case 23:break;case 22:d=a.stateNode,g=a.alternate,a.memoizedState!==null?d._visibility&2?wl(l,a,i,o):dt(l,a):d._visibility&2?wl(l,a,i,o):(d._visibility|=2,Ru(l,a,i,o,(a.subtreeFlags&10256)!==0)),r&2048&&va(g,a);break;case 24:wl(l,a,i,o),r&2048&&kh(a.alternate,a);break;default:wl(l,a,i,o)}}function Ru(l,a,i,o,r){for(r=r&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var d=l,g=a,y=i,E=o,H=g.flags;switch(g.tag){case 0:case 11:case 15:Ru(d,g,y,E,r),Vf(8,g);break;case 23:break;case 22:var W=g.stateNode;g.memoizedState!==null?W._visibility&2?Ru(d,g,y,E,r):dt(d,g):(W._visibility|=2,Ru(d,g,y,E,r)),r&&H&2048&&va(g.alternate,g);break;case 24:Ru(d,g,y,E,r),r&&H&2048&&kh(g.alternate,g);break;default:Ru(d,g,y,E,r)}a=a.sibling}}function dt(l,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=l,o=a,r=o.flags;switch(o.tag){case 22:dt(i,o),r&2048&&va(o.alternate,o);break;case 24:dt(i,o),r&2048&&kh(o.alternate,o);break;default:dt(i,o)}a=a.sibling}}var Oc=8192;function It(l){if(l.subtreeFlags&Oc)for(l=l.child;l!==null;)Ov(l),l=l.sibling}function Ov(l){switch(l.tag){case 26:It(l),l.flags&Oc&&l.memoizedState!==null&&Wv(an,l.memoizedState,l.memoizedProps);break;case 5:It(l);break;case 3:case 4:var a=an;an=Fh(l.stateNode.containerInfo),It(l),an=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=Oc,Oc=16777216,It(l),Oc=a):It(l));break;default:It(l)}}function k0(l){var a=l.alternate;if(a!==null&&(l=a.child,l!==null)){a.child=null;do a=l.sibling,l.sibling=null,l=a;while(l!==null)}}function Uc(l){var a=l.deletions;if((l.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var o=a[i];vl=o,L0(o,l)}k0(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)N0(l),l=l.sibling}function N0(l){switch(l.tag){case 0:case 11:case 15:Uc(l),l.flags&2048&&_o(9,l,l.return);break;case 3:Uc(l);break;case 12:Uc(l);break;case 22:var a=l.stateNode;l.memoizedState!==null&&a._visibility&2&&(l.return===null||l.return.tag!==13)?(a._visibility&=-3,un(l)):Uc(l);break;default:Uc(l)}}function un(l){var a=l.deletions;if((l.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var o=a[i];vl=o,L0(o,l)}k0(l)}for(l=l.child;l!==null;){switch(a=l,a.tag){case 0:case 11:case 15:_o(8,a,a.return),un(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,un(a));break;default:un(a)}l=l.sibling}}function L0(l,a){for(;vl!==null;){var i=vl;switch(i.tag){case 0:case 11:case 15:_o(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:_i(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,vl=o;else e:for(i=l;vl!==null;){o=vl;var r=o.sibling,d=o.return;if(U0(o),o===i){vl=null;break e}if(r!==null){r.return=d,vl=r;break e}vl=d}}}var q0={getCacheForType:function(l){var a=_l(hl),i=a.data.get(l);return i===void 0&&(i=l(),a.data.set(l,i)),i}},Uv=typeof WeakMap=="function"?WeakMap:Map,yt=0,Rt=null,tt=null,lt=0,bt=0,_n=null,Li=!1,tr=!1,Y0=!1,Du=0,Ft=0,zu=0,Hc=0,qi=0,ga=0,lr=0,nr=null,Cn=null,V0=!1,G0=0,Nh=1/0,ar=null,Ao=null,Bl=0,Yi=null,ir=null,kl=0,Lh=0,qh=null,X0=null,ur=0,j0=null;function Qn(){if((yt&2)!==0&&lt!==0)return lt&-lt;if(D.T!==null){var l=da;return l!==0?l:Nc()}return Vr()}function Q0(){ga===0&&(ga=(lt&536870912)===0||st?Ra():536870912);var l=jn.current;return l!==null&&(l.flags|=32),ga}function Zn(l,a,i){(l===Rt&&(bt===2||bt===9)||l.cancelPendingCommit!==null)&&(Vi(l,0),Ou(l,lt,ga,!1)),li(l,i),((yt&2)===0||l!==Rt)&&(l===Rt&&((yt&2)===0&&(Hc|=i),Ft===4&&Ou(l,lt,ga,!1)),An(l))}function or(l,a,i){if((yt&6)!==0)throw Error(m(327));var o=!i&&(a&124)===0&&(a&l.expiredLanes)===0||wn(l,a),r=o?$0(l,a):Yh(l,a,!0),d=o;do{if(r===0){tr&&!o&&Ou(l,a,0,!1);break}else{if(i=l.current.alternate,d&&!Hv(i)){r=Yh(l,a,!1),d=!1;continue}if(r===2){if(d=a,l.errorRecoveryDisabledLanes&d)var g=0;else g=l.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){a=g;e:{var y=l;r=nr;var E=y.current.memoizedState.isDehydrated;if(E&&(Vi(y,g).flags|=256),g=Yh(y,g,!1),g!==2){if(Y0&&!E){y.errorRecoveryDisabledLanes|=d,Hc|=d,r=4;break e}d=Cn,Cn=r,d!==null&&(Cn===null?Cn=d:Cn.push.apply(Cn,d))}r=g}if(d=!1,r!==2)continue}}if(r===1){Vi(l,0),Ou(l,a,0,!0);break}e:{switch(o=l,d=r,d){case 0:case 1:throw Error(m(345));case 4:if((a&4194048)!==a)break;case 6:Ou(o,a,ga,!Li);break e;case 2:Cn=null;break;case 3:case 5:break;default:throw Error(m(329))}if((a&62914560)===a&&(r=G0+300-fl(),10<r)){if(Ou(o,a,ga,!Li),Ma(o,0,!0)!==0)break e;o.timeoutHandle=Wh(Xf.bind(null,o,i,Cn,ar,V0,a,ga,Hc,lr,Li,d,2,-0,0),r);break e}Xf(o,i,Cn,ar,V0,a,ga,Hc,lr,Li,d,0,-0,0)}}break}while(!0);An(l)}function Xf(l,a,i,o,r,d,g,y,E,H,W,P,k,L){if(l.timeoutHandle=-1,P=a.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(br={stylesheets:null,count:0,unsuspend:Kv},Ov(a),P=sp(),P!==null)){l.cancelPendingCommit=P(kv.bind(null,l,a,d,i,o,r,g,y,E,W,1,k,L)),Ou(l,d,g,!H);return}kv(l,a,d,i,o,r,g,y,E)}function Hv(l){for(var a=l;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var r=i[o],d=r.getSnapshot;r=r.value;try{if(!ol(d(),r))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===l)break;for(;a.sibling===null;){if(a.return===null||a.return===l)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ou(l,a,i,o){a&=~qi,a&=~Hc,l.suspendedLanes|=a,l.pingedLanes&=~a,o&&(l.warmLanes|=a),o=l.expirationTimes;for(var r=a;0<r;){var d=31-Ot(r),g=1<<d;o[d]=-1,r&=~g}i!==0&&Zu(l,i,a)}function wc(){return(yt&6)===0?($f(0),!1):!0}function Mo(){if(tt!==null){if(bt===0)var l=tt.return;else l=tt,ja=Tu=null,th(l),_c=null,Js=0,l=tt;for(;l!==null;)M0(l.alternate,l),l=l.return;tt=null}}function Vi(l,a){var i=l.timeoutHandle;i!==-1&&(l.timeoutHandle=-1,ty(i)),i=l.cancelPendingCommit,i!==null&&(l.cancelPendingCommit=null,i()),Mo(),Rt=l,tt=i=Ga(l.current,null),lt=a,bt=0,_n=null,Li=!1,tr=wn(l,a),Y0=!1,lr=ga=qi=Hc=zu=Ft=0,Cn=nr=null,V0=!1,(a&8)!==0&&(a|=a&32);var o=l.entangledLanes;if(o!==0)for(l=l.entanglements,o&=a;0<o;){var r=31-Ot(o),d=1<<r;a|=l[r],o&=~d}return Du=a,ze(),i}function Z0(l,a){Xe=null,D.H=vh,a===go||a===bf?(a=Wm(),bt=3):a===Zd?(a=Wm(),bt=4):bt=a===Kt?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,_n=a,tt===null&&(Ft=1,Nf(l,Ql(a,l.current)))}function wv(){var l=D.H;return D.H=vh,l===null?vh:l}function Bc(){var l=D.A;return D.A=q0,l}function kc(){Ft=4,Li||(lt&4194048)!==lt&&jn.current!==null||(tr=!0),(zu&134217727)===0&&(Hc&134217727)===0||Rt===null||Ou(Rt,lt,ga,!1)}function Yh(l,a,i){var o=yt;yt|=2;var r=wv(),d=Bc();(Rt!==l||lt!==a)&&(ar=null,Vi(l,a)),a=!1;var g=Ft;e:do try{if(bt!==0&&tt!==null){var y=tt,E=_n;switch(bt){case 8:Mo(),g=6;break e;case 3:case 2:case 9:case 6:jn.current===null&&(a=!0);var H=bt;if(bt=0,_n=null,cr(l,y,E,H),i&&tr){g=0;break e}break;default:H=bt,bt=0,_n=null,cr(l,y,E,H)}}Vh(),g=Ft;break}catch(W){Z0(l,W)}while(!0);return a&&l.shellSuspendCounter++,ja=Tu=null,yt=o,D.H=r,D.A=d,tt===null&&(Rt=null,lt=0,ze()),g}function Vh(){for(;tt!==null;)K0(tt)}function $0(l,a){var i=yt;yt|=2;var o=wv(),r=Bc();Rt!==l||lt!==a?(ar=null,Nh=fl()+500,Vi(l,a)):tr=wn(l,a);e:do try{if(bt!==0&&tt!==null){a=tt;var d=_n;t:switch(bt){case 1:bt=0,_n=null,cr(l,a,d,1);break;case 2:case 9:if(Jd(d)){bt=0,_n=null,W0(a);break}a=function(){bt!==2&&bt!==9||Rt!==l||(bt=7),An(l)},d.then(a,a);break e;case 3:bt=7;break e;case 4:bt=5;break e;case 7:Jd(d)?(bt=0,_n=null,W0(a)):(bt=0,_n=null,cr(l,a,d,7));break;case 5:var g=null;switch(tt.tag){case 26:g=tt.memoizedState;case 5:case 27:var y=tt;if(!g||cp(g)){bt=0,_n=null;var E=y.sibling;if(E!==null)tt=E;else{var H=y.return;H!==null?(tt=H,jf(H)):tt=null}break t}}bt=0,_n=null,cr(l,a,d,5);break;case 6:bt=0,_n=null,cr(l,a,d,6);break;case 8:Mo(),Ft=6;break e;default:throw Error(m(462))}}J0();break}catch(W){Z0(l,W)}while(!0);return ja=Tu=null,D.H=o,D.A=r,yt=i,tt!==null?0:(Rt=null,lt=0,ze(),Ft)}function J0(){for(;tt!==null&&!Qo();)K0(tt)}function K0(l){var a=Dv(l.alternate,l,Du);l.memoizedProps=l.pendingProps,a===null?jf(l):tt=a}function W0(l){var a=l,i=a.alternate;switch(a.tag){case 15:case 0:a=x0(i,a,a.pendingProps,a.type,void 0,lt);break;case 11:a=x0(i,a,a.pendingProps,a.type.render,a.ref,lt);break;case 5:th(a);default:M0(i,a),a=tt=We(a,Du),a=Dv(i,a,Du)}l.memoizedProps=l.pendingProps,a===null?jf(l):tt=a}function cr(l,a,i,o){ja=Tu=null,th(a),_c=null,Js=0;var r=a.return;try{if(Av(l,r,a,i,lt)){Ft=1,Nf(l,Ql(i,l.current)),tt=null;return}}catch(d){if(r!==null)throw tt=r,d;Ft=1,Nf(l,Ql(i,l.current)),tt=null;return}a.flags&32768?(st||o===1?l=!0:tr||(lt&536870912)!==0?l=!1:(Li=l=!0,(o===2||o===9||o===3||o===6)&&(o=jn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Bv(a,l)):jf(a)}function jf(l){var a=l;do{if((a.flags&32768)!==0){Bv(a,Li);return}l=a.return;var i=A0(a.alternate,a,Du);if(i!==null){tt=i;return}if(a=a.sibling,a!==null){tt=a;return}tt=a=l}while(a!==null);Ft===0&&(Ft=5)}function Bv(l,a){do{var i=Kg(l.alternate,l);if(i!==null){i.flags&=32767,tt=i;return}if(i=l.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(l=l.sibling,l!==null)){tt=l;return}tt=l=i}while(l!==null);Ft=6,tt=null}function kv(l,a,i,o,r,d,g,y,E){l.cancelPendingCommit=null;do Xh();while(Bl!==0);if((yt&6)!==0)throw Error(m(327));if(a!==null){if(a===l.current)throw Error(m(177));if(d=a.lanes|a.childLanes,d|=Vn,Yr(l,i,d,g,y,E),l===Rt&&(tt=Rt=null,lt=0),ir=a,Yi=l,kl=i,Lh=d,qh=r,X0=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Fg(Aa,function(){return I0(),null})):(l.callbackNode=null,l.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,r=I.p,I.p=2,g=yt,yt|=4;try{z0(l,a,i)}finally{yt=g,I.p=r,D.T=o}}Bl=1,Nv(),Qf(),Gh()}}function Nv(){if(Bl===1){Bl=0;var l=Yi,a=ir,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=D.T,D.T=null;var o=I.p;I.p=2;var r=yt;yt|=4;try{Gf(a,l);var d=td,g=As(l.containerInfo),y=d.focusedElem,E=d.selectionRange;if(g!==y&&y&&y.ownerDocument&&so(y.ownerDocument.documentElement,y)){if(E!==null&&ro(y)){var H=E.start,W=E.end;if(W===void 0&&(W=H),"selectionStart"in y)y.selectionStart=H,y.selectionEnd=Math.min(W,y.value.length);else{var P=y.ownerDocument||document,k=P&&P.defaultView||window;if(k.getSelection){var L=k.getSelection(),Ae=y.textContent.length,Me=Math.min(E.start,Ae),ht=E.end===void 0?Me:Math.min(E.end,Ae);!L.extend&&Me>ht&&(g=ht,ht=Me,Me=g);var O=Et(y,Me),z=Et(y,ht);if(O&&z&&(L.rangeCount!==1||L.anchorNode!==O.node||L.anchorOffset!==O.offset||L.focusNode!==z.node||L.focusOffset!==z.offset)){var U=P.createRange();U.setStart(O.node,O.offset),L.removeAllRanges(),Me>ht?(L.addRange(U),L.extend(z.node,z.offset)):(U.setEnd(z.node,z.offset),L.addRange(U))}}}}for(P=[],L=y;L=L.parentNode;)L.nodeType===1&&P.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<P.length;y++){var F=P[y];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}ud=!!ed,td=ed=null}finally{yt=r,I.p=o,D.T=i}}l.current=a,Bl=2}}function Qf(){if(Bl===2){Bl=0;var l=Yi,a=ir,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=D.T,D.T=null;var o=I.p;I.p=2;var r=yt;yt|=4;try{O0(l,a.alternate,a)}finally{yt=r,I.p=o,D.T=i}}Bl=3}}function Gh(){if(Bl===4||Bl===3){Bl=0,Hn();var l=Yi,a=ir,i=kl,o=X0;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Bl=5:(Bl=0,ir=Yi=null,Lv(l,l.pendingLanes));var r=l.pendingLanes;if(r===0&&(Ao=null),Zo(i),a=a.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(zt,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=D.T,r=I.p,I.p=2,D.T=null;try{for(var d=l.onRecoverableError,g=0;g<o.length;g++){var y=o[g];d(y.value,{componentStack:y.stack})}}finally{D.T=a,I.p=r}}(kl&3)!==0&&Xh(),An(l),r=l.pendingLanes,(i&4194090)!==0&&(r&42)!==0?l===j0?ur++:(ur=0,j0=l):ur=0,$f(0)}}function Lv(l,a){(l.pooledCacheLanes&=a)===0&&(a=l.pooledCache,a!=null&&(l.pooledCache=null,_i(a)))}function Xh(l){return Nv(),Qf(),Gh(),I0()}function I0(){if(Bl!==5)return!1;var l=Yi,a=Lh;Lh=0;var i=Zo(kl),o=D.T,r=I.p;try{I.p=32>i?32:i,D.T=null,i=qh,qh=null;var d=Yi,g=kl;if(Bl=0,ir=Yi=null,kl=0,(yt&6)!==0)throw Error(m(331));var y=yt;if(yt|=4,N0(d.current),B0(d,d.current,g,i),yt=y,$f(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(zt,d)}catch{}return!0}finally{I.p=r,D.T=o,Lv(l,a)}}function F0(l,a,i){a=Ql(i,a),a=S0(l.stateNode,a,2),l=Mi(l,a,2),l!==null&&(li(l,2),An(l))}function St(l,a,i){if(l.tag===3)F0(l,l,i);else for(;a!==null;){if(a.tag===3){F0(a,l,i);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ao===null||!Ao.has(o))){l=Ql(i,l),i=T0(2),o=Mi(a,i,2),o!==null&&(En(i,o,a,l),li(o,2),An(o));break}}a=a.return}}function jh(l,a,i){var o=l.pingCache;if(o===null){o=l.pingCache=new Uv;var r=new Set;o.set(a,r)}else r=o.get(a),r===void 0&&(r=new Set,o.set(a,r));r.has(i)||(Y0=!0,r.add(i),l=P0.bind(null,l,a,i),a.then(l,l))}function P0(l,a,i){var o=l.pingCache;o!==null&&o.delete(a),l.pingedLanes|=l.suspendedLanes&i,l.warmLanes&=~i,Rt===l&&(lt&i)===i&&(Ft===4||Ft===3&&(lt&62914560)===lt&&300>fl()-G0?(yt&2)===0&&Vi(l,0):qi|=i,lr===lt&&(lr=0)),An(l)}function ep(l,a){a===0&&(a=ti()),l=Ti(l,a),l!==null&&(li(l,a),An(l))}function Wg(l){var a=l.memoizedState,i=0;a!==null&&(i=a.retryLane),ep(l,i)}function Ig(l,a){var i=0;switch(l.tag){case 13:var o=l.stateNode,r=l.memoizedState;r!==null&&(i=r.retryLane);break;case 19:o=l.stateNode;break;case 22:o=l.stateNode._retryCache;break;default:throw Error(m(314))}o!==null&&o.delete(a),ep(l,i)}function Fg(l,a){return Un(l,a)}var Qh=null,Ro=null,Zf=!1,sr=!1,Zh=!1,Do=0;function An(l){l!==Ro&&l.next===null&&(Ro===null?Qh=Ro=l:Ro=Ro.next=l),sr=!0,Zf||(Zf=!0,Vv())}function $f(l,a){if(!Zh&&sr){Zh=!0;do for(var i=!1,o=Qh;o!==null;){if(l!==0){var r=o.pendingLanes;if(r===0)var d=0;else{var g=o.suspendedLanes,y=o.pingedLanes;d=(1<<31-Ot(42|l)+1)-1,d&=r&~(g&~y),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,Kf(o,d))}else d=lt,d=Ma(o,o===Rt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||wn(o,d)||(i=!0,Kf(o,d));o=o.next}while(i);Zh=!1}}function qv(){Jf()}function Jf(){sr=Zf=!1;var l=0;Do!==0&&(wu()&&(l=Do),Do=0);for(var a=fl(),i=null,o=Qh;o!==null;){var r=o.next,d=tp(o,a);d===0?(o.next=null,i===null?Qh=r:i.next=r,r===null&&(Ro=i)):(i=o,(l!==0||(d&3)!==0)&&(sr=!0)),o=r}$f(l)}function tp(l,a){for(var i=l.suspendedLanes,o=l.pingedLanes,r=l.expirationTimes,d=l.pendingLanes&-62914561;0<d;){var g=31-Ot(d),y=1<<g,E=r[g];E===-1?((y&i)===0||(y&o)!==0)&&(r[g]=tl(y,a)):E<=a&&(l.expiredLanes|=y),d&=~y}if(a=Rt,i=lt,i=Ma(l,l===a?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),o=l.callbackNode,i===0||l===a&&(bt===2||bt===9)||l.cancelPendingCommit!==null)return o!==null&&o!==null&&au(o),l.callbackNode=null,l.callbackPriority=0;if((i&3)===0||wn(l,i)){if(a=i&-i,a===l.callbackPriority)return a;switch(o!==null&&au(o),Zo(i)){case 2:case 8:i=iu;break;case 32:i=Aa;break;case 268435456:i=Pl;break;default:i=Aa}return o=Yv.bind(null,l),i=Un(i,o),l.callbackPriority=a,l.callbackNode=i,a}return o!==null&&o!==null&&au(o),l.callbackPriority=2,l.callbackNode=null,2}function Yv(l,a){if(Bl!==0&&Bl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var i=l.callbackNode;if(Xh()&&l.callbackNode!==i)return null;var o=lt;return o=Ma(l,l===Rt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),o===0?null:(or(l,o,a),tp(l,fl()),l.callbackNode!=null&&l.callbackNode===i?Yv.bind(null,l):null)}function Kf(l,a){if(Xh())return null;or(l,a,!0)}function Vv(){ly(function(){(yt&6)!==0?Un(Qu,qv):Jf()})}function Nc(){return Do===0&&(Do=Ra()),Do}function $h(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:to(""+l)}function Wf(l,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,l.id&&i.setAttribute("form",l.id),a.parentNode.insertBefore(i,a),l=new FormData(l),i.parentNode.removeChild(i),l}function Gv(l,a,i,o,r){if(a==="submit"&&i&&i.stateNode===r){var d=$h((r[Tl]||null).action),g=o.submitter;g&&(a=(a=g[Tl]||null)?$h(a.formAction):g.getAttribute("formAction"),a!==null&&(d=a,g=null));var y=new ac("action","action",null,o,r);l.push({event:y,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Do!==0){var E=g?Wf(r,g):new FormData(r);ph(i,{pending:!0,data:E,method:r.method,action:d},null,E)}}else typeof d=="function"&&(y.preventDefault(),E=g?Wf(r,g):new FormData(r),ph(i,{pending:!0,data:E,method:r.method,action:d},d,E))},currentTarget:r}]})}}for(var Pt=0;Pt<yu.length;Pt++){var If=yu[Pt],Pg=If.toLowerCase(),Ke=If[0].toUpperCase()+If.slice(1);ln(Pg,"on"+Ke)}ln(of,"onAnimationEnd"),ln(Ms,"onAnimationIteration"),ln(cf,"onAnimationStart"),ln("dblclick","onDoubleClick"),ln("focusin","onFocus"),ln("focusout","onBlur"),ln(Rs,"onTransitionRun"),ln(hc,"onTransitionStart"),ln(sf,"onTransitionCancel"),ln(Ds,"onTransitionEnd"),Oa("onMouseEnter",["mouseout","mouseover"]),Oa("onMouseLeave",["mouseout","mouseover"]),Oa("onPointerEnter",["pointerout","pointerover"]),Oa("onPointerLeave",["pointerout","pointerover"]),za("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),za("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),za("onBeforeInput",["compositionend","keypress","textInput","paste"]),za("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),za("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),za("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ff="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(" "),zo=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ff));function Lc(l,a){a=(a&4)!==0;for(var i=0;i<l.length;i++){var o=l[i],r=o.event;o=o.listeners;e:{var d=void 0;if(a)for(var g=o.length-1;0<=g;g--){var y=o[g],E=y.instance,H=y.currentTarget;if(y=y.listener,E!==d&&r.isPropagationStopped())break e;d=y,r.currentTarget=H;try{d(r)}catch(W){Bf(W)}r.currentTarget=null,d=E}else for(g=0;g<o.length;g++){if(y=o[g],E=y.instance,H=y.currentTarget,y=y.listener,E!==d&&r.isPropagationStopped())break e;d=y,r.currentTarget=H;try{d(r)}catch(W){Bf(W)}r.currentTarget=null,d=E}}}}function je(l,a){var i=a[$o];i===void 0&&(i=a[$o]=new Set);var o=l+"__bubble";i.has(o)||(Jh(a,l,2,!1),i.add(o))}function rr(l,a,i){var o=0;a&&(o|=4),Jh(i,l,o,a)}var fr="_reactListening"+Math.random().toString(36).slice(2);function lp(l){if(!l[fr]){l[fr]=!0,Wu.forEach(function(i){i!=="selectionchange"&&(zo.has(i)||rr(i,!1,l),rr(i,!0,l))});var a=l.nodeType===9?l:l.ownerDocument;a===null||a[fr]||(a[fr]=!0,rr("selectionchange",!1,a))}}function Jh(l,a,i,o){switch(gp(a)){case 2:var r=Iv;break;case 8:r=Fv;break;default:r=pp}i=r.bind(null,a,i,l),r=void 0,!tc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(r=!0),o?r!==void 0?l.addEventListener(a,i,{capture:!0,passive:r}):l.addEventListener(a,i,!0):r!==void 0?l.addEventListener(a,i,{passive:r}):l.addEventListener(a,i,!1)}function ya(l,a,i,o,r){var d=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var y=o.stateNode.containerInfo;if(y===r)break;if(g===4)for(g=o.return;g!==null;){var E=g.tag;if((E===3||E===4)&&g.stateNode.containerInfo===r)return;g=g.return}for(;y!==null;){if(g=il(y),g===null)return;if(E=g.tag,E===5||E===6||E===26||E===27){o=d=g;continue e}y=y.parentNode}}o=o.return}pu(function(){var H=d,W=ec(i),P=[];e:{var k=zs.get(l);if(k!==void 0){var L=ac,Ae=l;switch(l){case"keypress":if(ul(i)===0)break e;case"keydown":case"keyup":L=hn;break;case"focusin":Ae="focus",L=fs;break;case"focusout":Ae="blur",L=fs;break;case"beforeblur":case"afterblur":L=fs;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=rs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=Ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=ms;break;case of:case Ms:case cf:L=Nd;break;case Ds:L=lf;break;case"scroll":case"scrollend":L=Kr;break;case"wheel":L=mi;break;case"copy":case"cut":case"paste":L=ao;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=io;break;case"toggle":case"beforetoggle":L=nf}var Me=(a&4)!==0,ht=!Me&&(l==="scroll"||l==="scrollend"),O=Me?k!==null?k+"Capture":null:k;Me=[];for(var z=H,U;z!==null;){var F=z;if(U=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||U===null||O===null||(F=ri(z,O),F!=null&&Me.push(Uu(z,F,U))),ht)break;z=z.return}0<Me.length&&(k=new L(k,Ae,null,i,W),P.push({event:k,listeners:Me}))}}if((a&7)===0){e:{if(k=l==="mouseover"||l==="pointerover",L=l==="mouseout"||l==="pointerout",k&&i!==si&&(Ae=i.relatedTarget||i.fromElement)&&(il(Ae)||Ae[ru]))break e;if((L||k)&&(k=W.window===W?W:(k=W.ownerDocument)?k.defaultView||k.parentWindow:window,L?(Ae=i.relatedTarget||i.toElement,L=H,Ae=Ae?il(Ae):null,Ae!==null&&(ht=A(Ae),Me=Ae.tag,Ae!==ht||Me!==5&&Me!==27&&Me!==6)&&(Ae=null)):(L=null,Ae=H),L!==Ae)){if(Me=rs,F="onMouseLeave",O="onMouseEnter",z="mouse",(l==="pointerout"||l==="pointerover")&&(Me=io,F="onPointerLeave",O="onPointerEnter",z="pointer"),ht=L==null?k:Ku(L),U=Ae==null?k:Ku(Ae),k=new Me(F,z+"leave",L,i,W),k.target=ht,k.relatedTarget=U,F=null,il(W)===H&&(Me=new Me(O,z+"enter",Ae,i,W),Me.target=U,Me.relatedTarget=ht,F=Me),ht=F,L&&Ae)t:{for(Me=L,O=Ae,z=0,U=Me;U;U=Oo(U))z++;for(U=0,F=O;F;F=Oo(F))U++;for(;0<z-U;)Me=Oo(Me),z--;for(;0<U-z;)O=Oo(O),U--;for(;z--;){if(Me===O||O!==null&&Me===O.alternate)break t;Me=Oo(Me),O=Oo(O)}Me=null}else Me=null;L!==null&&Pf(P,k,L,Me,!1),Ae!==null&&ht!==null&&Pf(P,ht,Ae,Me,!0)}}e:{if(k=H?Ku(H):window,L=k.nodeName&&k.nodeName.toLowerCase(),L==="select"||L==="input"&&k.type==="file")var be=Ss;else if(sc(k))if(Ts)be=_s;else{be=Na;var Ie=fc}else L=k.nodeName,!L||L.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?H&&ci(H.elementType)&&(be=Ss):be=ua;if(be&&(be=be(l,H))){rc(P,be,i,W);break e}Ie&&Ie(l,k,H),l==="focusout"&&H&&k.type==="number"&&H.memoizedProps.value!=null&&Pu(k,"number",k.value)}switch(Ie=H?Ku(H):window,l){case"focusin":(sc(Ie)||Ie.contentEditable==="true")&&(qn=Ie,vn=H,Ya=null);break;case"focusout":Ya=vn=qn=null;break;case"mousedown":bi=!0;break;case"contextmenu":case"mouseup":case"dragend":bi=!1,dc(P,i,W);break;case"selectionchange":if(yi)break;case"keydown":case"keyup":dc(P,i,W)}var _e;if(uo)e:{switch(l){case"compositionstart":var He="onCompositionStart";break e;case"compositionend":He="onCompositionEnd";break e;case"compositionupdate":He="onCompositionUpdate";break e}He=void 0}else ka?co(l,i)&&(He="onCompositionEnd"):l==="keydown"&&i.keyCode===229&&(He="onCompositionStart");He&&(Nn&&i.locale!=="ko"&&(ka||He!=="onCompositionStart"?He==="onCompositionEnd"&&ka&&(_e=cs()):(aa=W,vu="value"in aa?aa.value:aa.textContent,ka=!0)),Ie=dr(H,He),0<Ie.length&&(He=new ds(He,l,null,i,W),P.push({event:He,listeners:Ie}),_e?He.data=_e:(_e=Ba(i),_e!==null&&(He.data=_e)))),(_e=vs?ys(l,i):pi(l,i))&&(He=dr(H,"onBeforeInput"),0<He.length&&(Ie=new ds("onBeforeInput","beforeinput",null,i,W),P.push({event:Ie,listeners:He}),Ie.data=_e)),Gv(P,l,H,i,W)}Lc(P,a)})}function Uu(l,a,i){return{instance:l,listener:a,currentTarget:i}}function dr(l,a){for(var i=a+"Capture",o=[];l!==null;){var r=l,d=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||d===null||(r=ri(l,i),r!=null&&o.unshift(Uu(l,r,d)),r=ri(l,a),r!=null&&o.push(Uu(l,r,d))),l.tag===3)return o;l=l.return}return[]}function Oo(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Pf(l,a,i,o,r){for(var d=a._reactName,g=[];i!==null&&i!==o;){var y=i,E=y.alternate,H=y.stateNode;if(y=y.tag,E!==null&&E===o)break;y!==5&&y!==26&&y!==27||H===null||(E=H,r?(H=ri(i,d),H!=null&&g.unshift(Uu(i,H,E))):r||(H=ri(i,d),H!=null&&g.push(Uu(i,H,E)))),i=i.return}g.length!==0&&l.push({event:a,listeners:g})}var $n=/\r\n?/g,np=/\u0000|\uFFFD/g;function Xv(l){return(typeof l=="string"?l:""+l).replace($n,`
815
+ `).replace(np,"")}function ap(l,a){return a=Xv(a),Xv(l)===a}function Kh(){}function Ve(l,a,i,o,r,d){switch(i){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||du(l,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&du(l,""+o);break;case"className":Iu(l,"class",o);break;case"tabIndex":Iu(l,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Iu(l,i,o);break;case"style":eo(l,o,d);break;case"data":if(a!=="object"){Iu(l,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||i!=="href")){l.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){l.removeAttribute(i);break}o=to(""+o),l.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){l.setAttribute(i,"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 d=="function"&&(i==="formAction"?(a!=="input"&&Ve(l,a,"name",r.name,r,null),Ve(l,a,"formEncType",r.formEncType,r,null),Ve(l,a,"formMethod",r.formMethod,r,null),Ve(l,a,"formTarget",r.formTarget,r,null)):(Ve(l,a,"encType",r.encType,r,null),Ve(l,a,"method",r.method,r,null),Ve(l,a,"target",r.target,r,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){l.removeAttribute(i);break}o=to(""+o),l.setAttribute(i,o);break;case"onClick":o!=null&&(l.onclick=Kh);break;case"onScroll":o!=null&&je("scroll",l);break;case"onScrollEnd":o!=null&&je("scrollend",l);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(i=o.__html,i!=null){if(r.children!=null)throw Error(m(60));l.innerHTML=i}}break;case"multiple":l.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":l.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){l.removeAttribute("xlink:href");break}i=to(""+o),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?l.setAttribute(i,""+o):l.removeAttribute(i);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":o&&typeof o!="function"&&typeof o!="symbol"?l.setAttribute(i,""):l.removeAttribute(i);break;case"capture":case"download":o===!0?l.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?l.setAttribute(i,o):l.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?l.setAttribute(i,o):l.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?l.removeAttribute(i):l.setAttribute(i,o);break;case"popover":je("beforetoggle",l),je("toggle",l),la(l,"popover",o);break;case"xlinkActuate":Bn(l,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Bn(l,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Bn(l,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Bn(l,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Bn(l,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Bn(l,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":la(l,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=wd.get(i)||i,la(l,i,o))}}function G(l,a,i,o,r,d){switch(i){case"style":eo(l,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(m(61));if(i=o.__html,i!=null){if(r.children!=null)throw Error(m(60));l.innerHTML=i}}break;case"children":typeof o=="string"?du(l,o):(typeof o=="number"||typeof o=="bigint")&&du(l,""+o);break;case"onScroll":o!=null&&je("scroll",l);break;case"onScrollEnd":o!=null&&je("scrollend",l);break;case"onClick":o!=null&&(l.onclick=Kh);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Xl.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(r=i.endsWith("Capture"),a=i.slice(2,r?i.length-7:void 0),d=l[Tl]||null,d=d!=null?d[i]:null,typeof d=="function"&&l.removeEventListener(a,d,r),typeof o=="function")){typeof d!="function"&&d!==null&&(i in l?l[i]=null:l.hasAttribute(i)&&l.removeAttribute(i)),l.addEventListener(a,o,r);break e}i in l?l[i]=o:o===!0?l.setAttribute(i,""):la(l,i,o)}}}function Ne(l,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",l),je("load",l);var o=!1,r=!1,d;for(d in i)if(i.hasOwnProperty(d)){var g=i[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ve(l,a,d,g,i,null)}}r&&Ve(l,a,"srcSet",i.srcSet,i,null),o&&Ve(l,a,"src",i.src,i,null);return;case"input":je("invalid",l);var y=d=g=r=null,E=null,H=null;for(o in i)if(i.hasOwnProperty(o)){var W=i[o];if(W!=null)switch(o){case"name":r=W;break;case"type":g=W;break;case"checked":E=W;break;case"defaultChecked":H=W;break;case"value":d=W;break;case"defaultValue":y=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(m(137,a));break;default:Ve(l,a,o,W,i,null)}}Fo(l,d,y,E,H,g,r,!1),Ha(l);return;case"select":je("invalid",l),o=g=d=null;for(r in i)if(i.hasOwnProperty(r)&&(y=i[r],y!=null))switch(r){case"value":d=y;break;case"defaultValue":g=y;break;case"multiple":o=y;default:Ve(l,a,r,y,i,null)}a=d,i=g,l.multiple=!!o,a!=null?oi(l,!!o,a,!1):i!=null&&oi(l,!!o,i,!0);return;case"textarea":je("invalid",l),d=r=o=null;for(g in i)if(i.hasOwnProperty(g)&&(y=i[g],y!=null))switch(g){case"value":o=y;break;case"defaultValue":r=y;break;case"children":d=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(m(91));break;default:Ve(l,a,g,y,i,null)}us(l,o,r,d),Ha(l);return;case"option":for(E in i)if(i.hasOwnProperty(E)&&(o=i[E],o!=null))switch(E){case"selected":l.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ve(l,a,E,o,i,null)}return;case"dialog":je("beforetoggle",l),je("toggle",l),je("cancel",l),je("close",l);break;case"iframe":case"object":je("load",l);break;case"video":case"audio":for(o=0;o<Ff.length;o++)je(Ff[o],l);break;case"image":je("error",l),je("load",l);break;case"details":je("toggle",l);break;case"embed":case"source":case"link":je("error",l),je("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(H in i)if(i.hasOwnProperty(H)&&(o=i[H],o!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,a));default:Ve(l,a,H,o,i,null)}return;default:if(ci(a)){for(W in i)i.hasOwnProperty(W)&&(o=i[W],o!==void 0&&G(l,a,W,o,i,void 0));return}}for(y in i)i.hasOwnProperty(y)&&(o=i[y],o!=null&&Ve(l,a,y,o,i,null))}function ey(l,a,i,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,d=null,g=null,y=null,E=null,H=null,W=null;for(L in i){var P=i[L];if(i.hasOwnProperty(L)&&P!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":E=P;default:o.hasOwnProperty(L)||Ve(l,a,L,null,o,P)}}for(var k in o){var L=o[k];if(P=i[k],o.hasOwnProperty(k)&&(L!=null||P!=null))switch(k){case"type":d=L;break;case"name":r=L;break;case"checked":H=L;break;case"defaultChecked":W=L;break;case"value":g=L;break;case"defaultValue":y=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(m(137,a));break;default:L!==P&&Ve(l,a,k,L,o,P)}}Io(l,g,y,E,H,W,d,r);return;case"select":L=g=y=k=null;for(d in i)if(E=i[d],i.hasOwnProperty(d)&&E!=null)switch(d){case"value":break;case"multiple":L=E;default:o.hasOwnProperty(d)||Ve(l,a,d,null,o,E)}for(r in o)if(d=o[r],E=i[r],o.hasOwnProperty(r)&&(d!=null||E!=null))switch(r){case"value":k=d;break;case"defaultValue":y=d;break;case"multiple":g=d;default:d!==E&&Ve(l,a,r,d,o,E)}a=y,i=g,o=L,k!=null?oi(l,!!i,k,!1):!!o!=!!i&&(a!=null?oi(l,!!i,a,!0):oi(l,!!i,i?[]:"",!1));return;case"textarea":L=k=null;for(y in i)if(r=i[y],i.hasOwnProperty(y)&&r!=null&&!o.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ve(l,a,y,null,o,r)}for(g in o)if(r=o[g],d=i[g],o.hasOwnProperty(g)&&(r!=null||d!=null))switch(g){case"value":k=r;break;case"defaultValue":L=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(m(91));break;default:r!==d&&Ve(l,a,g,r,o,d)}is(l,k,L);return;case"option":for(var Ae in i)if(k=i[Ae],i.hasOwnProperty(Ae)&&k!=null&&!o.hasOwnProperty(Ae))switch(Ae){case"selected":l.selected=!1;break;default:Ve(l,a,Ae,null,o,k)}for(E in o)if(k=o[E],L=i[E],o.hasOwnProperty(E)&&k!==L&&(k!=null||L!=null))switch(E){case"selected":l.selected=k&&typeof k!="function"&&typeof k!="symbol";break;default:Ve(l,a,E,k,o,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 Me in i)k=i[Me],i.hasOwnProperty(Me)&&k!=null&&!o.hasOwnProperty(Me)&&Ve(l,a,Me,null,o,k);for(H in o)if(k=o[H],L=i[H],o.hasOwnProperty(H)&&k!==L&&(k!=null||L!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(m(137,a));break;default:Ve(l,a,H,k,o,L)}return;default:if(ci(a)){for(var ht in i)k=i[ht],i.hasOwnProperty(ht)&&k!==void 0&&!o.hasOwnProperty(ht)&&G(l,a,ht,void 0,o,k);for(W in o)k=o[W],L=i[W],!o.hasOwnProperty(W)||k===L||k===void 0&&L===void 0||G(l,a,W,k,o,L);return}}for(var O in i)k=i[O],i.hasOwnProperty(O)&&k!=null&&!o.hasOwnProperty(O)&&Ve(l,a,O,null,o,k);for(P in o)k=o[P],L=i[P],!o.hasOwnProperty(P)||k===L||k==null&&L==null||Ve(l,a,P,k,o,L)}var ed=null,td=null;function ba(l){return l.nodeType===9?l:l.ownerDocument}function Hu(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 hr(l,a){if(l===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&a==="foreignObject"?0:l}function Gi(l,a){return l==="textarea"||l==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var mr=null;function wu(){var l=window.event;return l&&l.type==="popstate"?l===mr?!1:(mr=l,!0):(mr=null,!1)}var Wh=typeof setTimeout=="function"?setTimeout:void 0,ty=typeof clearTimeout=="function"?clearTimeout:void 0,jv=typeof Promise=="function"?Promise:void 0,ly=typeof queueMicrotask=="function"?queueMicrotask:typeof jv<"u"?function(l){return jv.resolve(null).then(l).catch(Xi)}:Wh;function Xi(l){setTimeout(function(){throw l})}function Uo(l){return l==="head"}function Ih(l,a){var i=a,o=0,r=0;do{var d=i.nextSibling;if(l.removeChild(i),d&&d.nodeType===8)if(i=d.data,i==="/$"){if(0<o&&8>o){i=o;var g=l.ownerDocument;if(i&1&&Mn(g.documentElement),i&2&&Mn(g.body),i&4)for(i=g.head,Mn(i),g=i.firstChild;g;){var y=g.nextSibling,E=g.nodeName;g[ye]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=y}}if(r===0){l.removeChild(d),Qi(a);return}r--}else i==="$"||i==="$?"||i==="$!"?r++:o=i.charCodeAt(0)-48;else o=0;i=d}while(i);Qi(a)}function ld(l){var a=l.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ld(i),Ju(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}l.removeChild(i)}}function pr(l,a,i,o){for(;l.nodeType===1;){var r=i;if(l.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(o){if(!l[ye])switch(a){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(d=l.getAttribute("rel"),d==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(d!==r.rel||l.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||l.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||l.getAttribute("title")!==(r.title==null?null:r.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(d=l.getAttribute("src"),(d!==(r.src==null?null:r.src)||l.getAttribute("type")!==(r.type==null?null:r.type)||l.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&d&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(a==="input"&&l.type==="hidden"){var d=r.name==null?null:""+r.name;if(r.type==="hidden"&&l.getAttribute("name")===d)return l}else return l;if(l=Ka(l.nextSibling),l===null)break}return null}function ny(l,a,i){if(a==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!i||(l=Ka(l.nextSibling),l===null))return null;return l}function nd(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function ay(l,a){var i=l.ownerDocument;if(l.data!=="$?"||i.readyState==="complete")a();else{var o=function(){a(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),l._reactRetry=o}}function Ka(l){for(;l!=null;l=l.nextSibling){var a=l.nodeType;if(a===1||a===3)break;if(a===8){if(a=l.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return l}var Ho=null;function Nl(l){l=l.previousSibling;for(var a=0;l;){if(l.nodeType===8){var i=l.data;if(i==="$"||i==="$!"||i==="$?"){if(a===0)return l;a--}else i==="/$"&&a++}l=l.previousSibling}return null}function he(l,a,i){switch(a=ba(i),l){case"html":if(l=a.documentElement,!l)throw Error(m(452));return l;case"head":if(l=a.head,!l)throw Error(m(453));return l;case"body":if(l=a.body,!l)throw Error(m(454));return l;default:throw Error(m(451))}}function Mn(l){for(var a=l.attributes;a.length;)l.removeAttributeNode(a[0]);Ju(l)}var el=new Map,Kl=new Set;function Fh(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Bu=I.d;I.d={f:Ph,r:em,D:ku,C:tm,L:wo,m:Wl,X:Bo,S:Rn,M:ip};function Ph(){var l=Bu.f(),a=wc();return l||a}function em(l){var a=ni(l);a!==null&&a.tag===5&&a.type==="form"?$s(a):Bu.r(l)}var Ll=typeof document>"u"?null:document;function Wa(l,a,i){var o=Ll;if(o&&typeof a=="string"&&a){var r=en(a);r='link[rel="'+l+'"][href="'+r+'"]',typeof i=="string"&&(r+='[crossorigin="'+i+'"]'),Kl.has(r)||(Kl.add(r),l={rel:l,crossOrigin:i,href:a},o.querySelector(r)===null&&(a=o.createElement("link"),Ne(a,"link",l),Zt(a),o.head.appendChild(a)))}}function ku(l){Bu.D(l),Wa("dns-prefetch",l,null)}function tm(l,a){Bu.C(l,a),Wa("preconnect",l,a)}function wo(l,a,i){Bu.L(l,a,i);var o=Ll;if(o&&l&&a){var r='link[rel="preload"][as="'+en(a)+'"]';a==="image"&&i&&i.imageSrcSet?(r+='[imagesrcset="'+en(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(r+='[imagesizes="'+en(i.imageSizes)+'"]')):r+='[href="'+en(l)+'"]';var d=r;switch(a){case"style":d=vr(l);break;case"script":d=Sa(l)}el.has(d)||(l=ee({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:l,as:a},i),el.set(d,l),o.querySelector(r)!==null||a==="style"&&o.querySelector(gr(d))||a==="script"&&o.querySelector(qc(d))||(a=o.createElement("link"),Ne(a,"link",l),Zt(a),o.head.appendChild(a)))}}function Wl(l,a){Bu.m(l,a);var i=Ll;if(i&&l){var o=a&&typeof a.as=="string"?a.as:"script",r='link[rel="modulepreload"][as="'+en(o)+'"][href="'+en(l)+'"]',d=r;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Sa(l)}if(!el.has(d)&&(l=ee({rel:"modulepreload",href:l},a),el.set(d,l),i.querySelector(r)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(qc(d)))return}o=i.createElement("link"),Ne(o,"link",l),Zt(o),i.head.appendChild(o)}}}function Rn(l,a,i){Bu.S(l,a,i);var o=Ll;if(o&&l){var r=ta(o).hoistableStyles,d=vr(l);a=a||"default";var g=r.get(d);if(!g){var y={loading:0,preload:null};if(g=o.querySelector(gr(d)))y.loading=5;else{l=ee({rel:"stylesheet",href:l,"data-precedence":a},i),(i=el.get(d))&&nm(l,i);var E=g=o.createElement("link");Zt(E),Ne(E,"link",l),E._p=new Promise(function(H,W){E.onload=H,E.onerror=W}),E.addEventListener("load",function(){y.loading|=1}),E.addEventListener("error",function(){y.loading|=2}),y.loading|=4,lm(g,a,o)}g={type:"stylesheet",instance:g,count:1,state:y},r.set(d,g)}}}function Bo(l,a){Bu.X(l,a);var i=Ll;if(i&&l){var o=ta(i).hoistableScripts,r=Sa(l),d=o.get(r);d||(d=i.querySelector(qc(r)),d||(l=ee({src:l,async:!0},a),(a=el.get(r))&&am(l,a),d=i.createElement("script"),Zt(d),Ne(d,"link",l),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(r,d))}}function ip(l,a){Bu.M(l,a);var i=Ll;if(i&&l){var o=ta(i).hoistableScripts,r=Sa(l),d=o.get(r);d||(d=i.querySelector(qc(r)),d||(l=ee({src:l,async:!0,type:"module"},a),(a=el.get(r))&&am(l,a),d=i.createElement("script"),Zt(d),Ne(d,"link",l),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(r,d))}}function Qv(l,a,i,o){var r=(r=$e.current)?Fh(r):null;if(!r)throw Error(m(446));switch(l){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=vr(i.href),i=ta(r).hoistableStyles,o=i.get(a),o||(o={type:"style",instance:null,count:0,state:null},i.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){l=vr(i.href);var d=ta(r).hoistableStyles,g=d.get(l);if(g||(r=r.ownerDocument||r,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(l,g),(d=r.querySelector(gr(l)))&&!d._p&&(g.instance=d,g.state.loading=5),el.has(l)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},el.set(l,i),d||Zv(r,l,i,g.state))),a&&o===null)throw Error(m(528,""));return g}if(a&&o!==null)throw Error(m(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Sa(i),i=ta(r).hoistableScripts,o=i.get(a),o||(o={type:"script",instance:null,count:0,state:null},i.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,l))}}function vr(l){return'href="'+en(l)+'"'}function gr(l){return'link[rel="stylesheet"]['+l+"]"}function yr(l){return ee({},l,{"data-precedence":l.precedence,precedence:null})}function Zv(l,a,i,o){l.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=l.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),Ne(a,"link",i),Zt(a),l.head.appendChild(a))}function Sa(l){return'[src="'+en(l)+'"]'}function qc(l){return"script[async]"+l}function $v(l,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var o=l.querySelector('style[data-href~="'+en(i.href)+'"]');if(o)return a.instance=o,Zt(o),o;var r=ee({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(l.ownerDocument||l).createElement("style"),Zt(o),Ne(o,"style",r),lm(o,i.precedence,l),a.instance=o;case"stylesheet":r=vr(i.href);var d=l.querySelector(gr(r));if(d)return a.state.loading|=4,a.instance=d,Zt(d),d;o=yr(i),(r=el.get(r))&&nm(o,r),d=(l.ownerDocument||l).createElement("link"),Zt(d);var g=d;return g._p=new Promise(function(y,E){g.onload=y,g.onerror=E}),Ne(d,"link",o),a.state.loading|=4,lm(d,i.precedence,l),a.instance=d;case"script":return d=Sa(i.src),(r=l.querySelector(qc(d)))?(a.instance=r,Zt(r),r):(o=i,(r=el.get(d))&&(o=ee({},i),am(o,r)),l=l.ownerDocument||l,r=l.createElement("script"),Zt(r),Ne(r,"link",o),l.head.appendChild(r),a.instance=r);case"void":return null;default:throw Error(m(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,lm(o,i.precedence,l));return a.instance}function lm(l,a,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=o.length?o[o.length-1]:null,d=r,g=0;g<o.length;g++){var y=o[g];if(y.dataset.precedence===a)d=y;else if(d!==r)break}d?d.parentNode.insertBefore(l,d.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(l,a.firstChild))}function nm(l,a){l.crossOrigin==null&&(l.crossOrigin=a.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=a.referrerPolicy),l.title==null&&(l.title=a.title)}function am(l,a){l.crossOrigin==null&&(l.crossOrigin=a.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=a.referrerPolicy),l.integrity==null&&(l.integrity=a.integrity)}var ko=null;function up(l,a,i){if(ko===null){var o=new Map,r=ko=new Map;r.set(i,o)}else r=ko,o=r.get(i),o||(o=new Map,r.set(i,o));if(o.has(l))return o;for(o.set(l,null),i=i.getElementsByTagName(l),r=0;r<i.length;r++){var d=i[r];if(!(d[ye]||d[ll]||l==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(a)||"";g=l+g;var y=o.get(g);y?y.push(d):o.set(g,[d])}}return o}function op(l,a,i){l=l.ownerDocument||l,l.head.insertBefore(i,a==="title"?l.querySelector("head > title"):null)}function Jv(l,a,i){if(i===1||a.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return l=a.disabled,typeof a.precedence=="string"&&l==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function cp(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var br=null;function Kv(){}function Wv(l,a,i){if(br===null)throw Error(m(475));var o=br;if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=vr(i.href),d=l.querySelector(gr(r));if(d){l=d._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(o.count++,o=ad.bind(o),l.then(o,o)),a.state.loading|=4,a.instance=d,Zt(d);return}d=l.ownerDocument||l,i=yr(i),(r=el.get(r))&&nm(i,r),d=d.createElement("link"),Zt(d);var g=d;g._p=new Promise(function(y,E){g.onload=y,g.onerror=E}),Ne(d,"link",i),a.instance=d}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(a,l),(l=a.state.preload)&&(a.state.loading&3)===0&&(o.count++,a=ad.bind(o),l.addEventListener("load",a),l.addEventListener("error",a))}}function sp(){if(br===null)throw Error(m(475));var l=br;return l.stylesheets&&l.count===0&&id(l,l.stylesheets),0<l.count?function(a){var i=setTimeout(function(){if(l.stylesheets&&id(l,l.stylesheets),l.unsuspend){var o=l.unsuspend;l.unsuspend=null,o()}},6e4);return l.unsuspend=a,function(){l.unsuspend=null,clearTimeout(i)}}:null}function ad(){if(this.count--,this.count===0){if(this.stylesheets)id(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Sr=null;function id(l,a){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Sr=new Map,a.forEach(Jn,l),Sr=null,ad.call(l))}function Jn(l,a){if(!(a.state.loading&4)){var i=Sr.get(l);if(i)var o=i.get(null);else{i=new Map,Sr.set(l,i);for(var r=l.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<r.length;d++){var g=r[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(i.set(g.dataset.precedence,g),o=g)}o&&i.set(null,o)}r=a.instance,g=r.getAttribute("data-precedence"),d=i.get(g)||o,d===o&&i.set(null,r),i.set(g,r),this.count++,o=ad.bind(this),r.addEventListener("load",o),r.addEventListener("error",o),d?d.parentNode.insertBefore(r,d.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(r,l.firstChild)),a.state.loading|=4}}var Dn={$$typeof:fe,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function iy(l,a,i,o,r,d,g,y){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=Da(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Da(0),this.hiddenUpdates=Da(null),this.identifierPrefix=o,this.onUncaughtError=r,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function rp(l,a,i,o,r,d,g,y,E,H,W,P){return l=new iy(l,a,i,g,y,E,H,P),a=1,d===!0&&(a|=24),d=yn(3,null,null,a),l.current=d,d.stateNode=l,a=Gs(),a.refCount++,l.pooledCache=a,a.refCount++,d.memoizedState={element:o,isDehydrated:i,cache:a},Kd(d),l}function fp(l){return l?(l=ws,l):ws}function dp(l,a,i,o,r,d){r=fp(r),o.context===null?o.context=r:o.pendingContext=r,o=Sn(a),o.payload={element:i},d=d===void 0?null:d,d!==null&&(o.callback=d),i=Mi(l,o,a),i!==null&&(Zn(i,l,a),yc(i,l,a))}function hp(l,a){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var i=l.retryLane;l.retryLane=i!==0&&i<a?i:a}}function im(l,a){hp(l,a),(l=l.alternate)&&hp(l,a)}function mp(l){if(l.tag===13){var a=Ti(l,67108864);a!==null&&Zn(a,l,67108864),im(l,67108864)}}var ud=!0;function Iv(l,a,i,o){var r=D.T;D.T=null;var d=I.p;try{I.p=2,pp(l,a,i,o)}finally{I.p=d,D.T=r}}function Fv(l,a,i,o){var r=D.T;D.T=null;var d=I.p;try{I.p=8,pp(l,a,i,o)}finally{I.p=d,D.T=r}}function pp(l,a,i,o){if(ud){var r=um(o);if(r===null)ya(l,a,o,om,i),Yc(l,o);else if(eg(r,l,a,i,o))o.stopPropagation();else if(Yc(l,o),a&4&&-1<Pv.indexOf(l)){for(;r!==null;){var d=ni(r);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=Gl(d.pendingLanes);if(g!==0){var y=d;for(y.pendingLanes|=2,y.entangledLanes|=2;g;){var E=1<<31-Ot(g);y.entanglements[1]|=E,g&=~E}An(d),(yt&6)===0&&(Nh=fl()+500,$f(0))}}break;case 13:y=Ti(d,2),y!==null&&Zn(y,d,2),wc(),im(d,2)}if(d=um(o),d===null&&ya(l,a,o,om,i),d===r)break;r=d}r!==null&&o.stopPropagation()}else ya(l,a,o,null,i)}}function um(l){return l=ec(l),vp(l)}var om=null;function vp(l){if(om=null,l=il(l),l!==null){var a=A(l);if(a===null)l=null;else{var i=a.tag;if(i===13){if(l=w(a),l!==null)return l;l=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;l=null}else a!==l&&(l=null)}}return om=l,null}function gp(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(Ca()){case Qu:return 2;case iu:return 8;case Aa:case uu:return 32;case Pl:return 268435456;default:return 32}default:return 32}}var Tr=!1,ji=null,Nu=null,Lu=null,od=new Map,cd=new Map,No=[],Pv="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 Yc(l,a){switch(l){case"focusin":case"focusout":ji=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":Lu=null;break;case"pointerover":case"pointerout":od.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":cd.delete(a.pointerId)}}function Vc(l,a,i,o,r,d){return l===null||l.nativeEvent!==d?(l={blockedOn:a,domEventName:i,eventSystemFlags:o,nativeEvent:d,targetContainers:[r]},a!==null&&(a=ni(a),a!==null&&mp(a)),l):(l.eventSystemFlags|=o,a=l.targetContainers,r!==null&&a.indexOf(r)===-1&&a.push(r),l)}function eg(l,a,i,o,r){switch(a){case"focusin":return ji=Vc(ji,l,a,i,o,r),!0;case"dragenter":return Nu=Vc(Nu,l,a,i,o,r),!0;case"mouseover":return Lu=Vc(Lu,l,a,i,o,r),!0;case"pointerover":var d=r.pointerId;return od.set(d,Vc(od.get(d)||null,l,a,i,o,r)),!0;case"gotpointercapture":return d=r.pointerId,cd.set(d,Vc(cd.get(d)||null,l,a,i,o,r)),!0}return!1}function yp(l){var a=il(l.target);if(a!==null){var i=A(a);if(i!==null){if(a=i.tag,a===13){if(a=w(i),a!==null){l.blockedOn=a,Ud(l.priority,function(){if(i.tag===13){var o=Qn();o=dn(o);var r=Ti(i,o);r!==null&&Zn(r,i,o),im(i,o)}});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){l.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}l.blockedOn=null}function sd(l){if(l.blockedOn!==null)return!1;for(var a=l.targetContainers;0<a.length;){var i=um(l.nativeEvent);if(i===null){i=l.nativeEvent;var o=new i.constructor(i.type,i);si=o,i.target.dispatchEvent(o),si=null}else return a=ni(i),a!==null&&mp(a),l.blockedOn=i,!1;a.shift()}return!0}function rd(l,a,i){sd(l)&&i.delete(a)}function xr(){Tr=!1,ji!==null&&sd(ji)&&(ji=null),Nu!==null&&sd(Nu)&&(Nu=null),Lu!==null&&sd(Lu)&&(Lu=null),od.forEach(rd),cd.forEach(rd)}function cm(l,a){l.blockedOn===a&&(l.blockedOn=null,Tr||(Tr=!0,x.unstable_scheduleCallback(x.unstable_NormalPriority,xr)))}var Gc=null;function bp(l){Gc!==l&&(Gc=l,x.unstable_scheduleCallback(x.unstable_NormalPriority,function(){Gc===l&&(Gc=null);for(var a=0;a<l.length;a+=3){var i=l[a],o=l[a+1],r=l[a+2];if(typeof o!="function"){if(vp(o||i)===null)continue;break}var d=ni(i);d!==null&&(l.splice(a,3),a-=3,ph(d,{pending:!0,data:r,method:i.method,action:o},o,r))}}))}function Qi(l){function a(E){return cm(E,l)}ji!==null&&cm(ji,l),Nu!==null&&cm(Nu,l),Lu!==null&&cm(Lu,l),od.forEach(a),cd.forEach(a);for(var i=0;i<No.length;i++){var o=No[i];o.blockedOn===l&&(o.blockedOn=null)}for(;0<No.length&&(i=No[0],i.blockedOn===null);)yp(i),i.blockedOn===null&&No.shift();if(i=(l.ownerDocument||l).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var r=i[o],d=i[o+1],g=r[Tl]||null;if(typeof d=="function")g||bp(i);else if(g){var y=null;if(d&&d.hasAttribute("formAction")){if(r=d,g=d[Tl]||null)y=g.formAction;else if(vp(r)!==null)continue}else y=g.action;typeof y=="function"?i[o+1]=y:(i.splice(o,3),o-=3),bp(i)}}}function Sp(l){this._internalRoot=l}sm.prototype.render=Sp.prototype.render=function(l){var a=this._internalRoot;if(a===null)throw Error(m(409));var i=a.current,o=Qn();dp(i,o,l,a,null,null)},sm.prototype.unmount=Sp.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var a=l.containerInfo;dp(l.current,2,null,l,null,null),wc(),a[ru]=null}};function sm(l){this._internalRoot=l}sm.prototype.unstable_scheduleHydration=function(l){if(l){var a=Vr();l={blockedOn:null,target:l,priority:a};for(var i=0;i<No.length&&a!==0&&a<No[i].priority;i++);No.splice(i,0,l),i===0&&yp(l)}};var Tp=f.version;if(Tp!=="19.1.0")throw Error(m(527,Tp,"19.1.0"));I.findDOMNode=function(l){var a=l._reactInternals;if(a===void 0)throw typeof l.render=="function"?Error(m(188)):(l=Object.keys(l).join(","),Error(m(268,l)));return l=M(a),l=l!==null?Y(l):null,l=l===null?null:l.stateNode,l};var on={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fd.isDisabled&&fd.supportsFiber)try{zt=fd.inject(on),Bt=fd}catch{}}return Xm.createRoot=function(l,a){if(!T(l))throw Error(m(299));var i=!1,o="",r=Ws,d=y0,g=kf,y=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(y=a.unstable_transitionCallbacks)),a=rp(l,1,!1,null,null,i,o,r,d,g,y,null),l[ru]=a.current,lp(l),new Sp(a)},Xm.hydrateRoot=function(l,a,i){if(!T(l))throw Error(m(299));var o=!1,r="",d=Ws,g=y0,y=kf,E=null,H=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(r=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(y=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(E=i.unstable_transitionCallbacks),i.formState!==void 0&&(H=i.formState)),a=rp(l,1,!0,a,i??null,o,r,d,g,y,E,H),a.context=fp(null),i=a.current,o=Qn(),o=dn(o),r=Sn(o),r.callback=null,Mi(i,r,o),i=o,a.current.lanes=i,li(a,i),An(a),l[ru]=a.current,lp(l),new sm(a)},Xm.version="19.1.0",Xm}var jm={};/**
946
816
  * @license React
947
817
  * react-dom-client.development.js
948
818
  *
@@ -950,61 +820,61 @@ Error generating stack: `+i.message+`
950
820
  *
951
821
  * This source code is licensed under the MIT license found in the
952
822
  * LICENSE file in the root directory of this source tree.
953
- */var $b;function q2(){return $b||($b=1,process.env.NODE_ENV!=="production"&&function(){function b(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function f(e,t,l,u){if(l>=t.length)return u;var s=t[l],c=Ve(e)?e.slice():Ke({},e);return c[s]=f(e[s],t,l+1,u),c}function p(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<l.length-1;u++)if(t[u]!==l[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return m(e,t,l,0)}}function m(e,t,l,u){var s=t[u],c=Ve(e)?e.slice():Ke({},e);return u+1===t.length?(c[l[u]]=c[s],Ve(c)?c.splice(s,1):delete c[s]):c[s]=m(e[s],t,l,u+1),c}function T(e,t,l){var u=t[l],s=Ve(e)?e.slice():Ke({},e);return l+1===t.length?(Ve(s)?s.splice(u,1):delete s[u],s):(s[u]=T(e[u],t,l+1),s)}function C(){return!1}function w(){return null}function j(){}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 Y(){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 ee(){}function le(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function V(e,t,l,u){return new co(e,t,l,u)}function oe(e,t){e.context===Ar&&(St(e.current,2,t,e,null,null),Os())}function se(e,t){if(Ji!==null){var l=t.staleFamilies;t=t.updatedFamilies,er(),so(e.current,t,l),Os()}}function ue(e){Ji=e}function ae(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function de(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function ke(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function fe(e){if(de(e)!==e)throw Error("Unable to find node on an unmounted component.")}function xe(e){var t=e.alternate;if(!t){if(t=de(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,u=t;;){var s=l.return;if(s===null)break;var c=s.alternate;if(c===null){if(u=s.return,u!==null){l=u;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===l)return fe(s),e;if(c===u)return fe(s),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==u.return)l=s,u=c;else{for(var h=!1,v=s.child;v;){if(v===l){h=!0,l=s,u=c;break}if(v===u){h=!0,u=s,l=c;break}v=v.sibling}if(!h){for(v=c.child;v;){if(v===l){h=!0,l=c,u=s;break}if(v===u){h=!0,u=c,l=s;break}v=v.sibling}if(!h)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(l.alternate!==u)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(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function Ye(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ye(e),t!==null)return t;e=e.sibling}return null}function qe(e){return e===null||typeof e!="object"?null:(e=c0&&e[c0]||e["@@iterator"],typeof e=="function"?e:null)}function ze(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===em?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xe:return"Fragment";case mr:return"Profiler";case hr:return"StrictMode";case pr:return"Suspense";case wo:return"SuspenseList";case s0:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Vs:return"Portal";case ba:return(e.displayName||"Context")+".Provider";case Ph:return(e._context.displayName||"Context")+".Consumer";case Hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ad:return t=e.displayName||null,t!==null?t:ze(e.type)||"Memo";case Jl:t=e._payload,e=e._init;try{return ze(e(t))}catch{}}return null}function at(e){return typeof e.tag=="number"?me(e):typeof e.name=="string"?e.name:null}function me(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ze(t);case 8:return t===hr?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return me(e.return)}return null}function _e(e){return{current:e}}function Re(e,t){0>Sa?console.error("Unexpected pop."):(t!==ud[Sa]&&console.error("Unexpected Fiber popped."),e.current=id[Sa],id[Sa]=null,ud[Sa]=null,Sa--)}function Ee(e,t,l){Sa++,id[Sa]=e.current,ud[Sa]=l,e.current=t}function et(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Mt(e,t){Ee(ji,t,e),Ee(vr,e,e),Ee(ku,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?bt(t):ec;break;default:if(l=t.tagName,t=t.namespaceURI)t=bt(t),t=_l(t,l);else switch(l){case"svg":t=Gm;break;case"math":t=Ng;break;default:t=ec}}l=l.toLowerCase(),l=sc(null,l),l={context:t,ancestorInfo:l},Re(ku,e),Ee(ku,l,e)}function vt(e){Re(ku,e),Re(vr,e),Re(ji,e)}function D(){return et(ku.current)}function W(e){e.memoizedState!==null&&Ee(gr,e,e);var t=et(ku.current),l=e.type,u=_l(t.context,l);l=sc(t.ancestorInfo,l),u={context:u,ancestorInfo:l},t!==u&&(Ee(vr,e,e),Ee(ku,u,e))}function te(e){vr.current===e&&(Re(ku,e),Re(vr,e)),gr.current===e&&(Re(gr,e),av._currentValue=kd)}function ge(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function q(e){try{return pe(e),!1}catch{return!0}}function pe(e){return""+e}function ie(e,t){if(q(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ge(e)),pe(e)}function ve(e,t){if(q(e))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.",t,ge(e)),pe(e)}function He(e){if(q(e))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.",ge(e)),pe(e)}function rt(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{ko=t.inject(e),qn=t}catch(l){console.error("React instrumentation encountered an error: %s.",l)}return!!t.checkDCE}function $e(e){if(typeof hy=="function"&&Ia(e),qn&&typeof qn.setStrictMode=="function")try{qn.setStrictMode(ko,e)}catch(t){Rl||(Rl=!0,console.error("React instrumentation encountered an error: %s",t))}}function dl(e){he=e}function xt(){he!==null&&typeof he.markCommitStopped=="function"&&he.markCommitStopped()}function Gt(e){he!==null&&typeof he.markComponentRenderStarted=="function"&&he.markComponentRenderStarted(e)}function Tn(){he!==null&&typeof he.markComponentRenderStopped=="function"&&he.markComponentRenderStopped()}function Ul(e){he!==null&&typeof he.markRenderStarted=="function"&&he.markRenderStarted(e)}function ti(){he!==null&&typeof he.markRenderStopped=="function"&&he.markRenderStopped()}function wl(e,t){he!==null&&typeof he.markStateUpdateScheduled=="function"&&he.markStateUpdateScheduled(e,t)}function uu(e){return e>>>=0,e===0?32:31-(lm(e)/Nu|0)|0}function Jo(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Hl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function hn(e,t,l){var u=e.pendingLanes;if(u===0)return 0;var s=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var v=u&134217727;return v!==0?(u=v&~c,u!==0?s=Hl(u):(h&=v,h!==0?s=Hl(h):l||(l=v&~e,l!==0&&(s=Hl(l))))):(v=u&~c,v!==0?s=Hl(v):h!==0?s=Hl(h):l||(l=u&~e,l!==0&&(s=Hl(l)))),s===0?0:t!==0&&t!==s&&(t&c)===0&&(c=s&-s,l=t&-t,c>=l||c===32&&(l&4194048)!==0)?t:s}function Aa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $u(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 ou(){var e=am;return am<<=1,(am&4194048)===0&&(am=256),e}function Ma(){var e=im;return im<<=1,(im&62914560)===0&&(im=4194304),e}function su(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function tl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cu(e,t,l,u,s,c){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var v=e.entanglements,S=e.expirationTimes,x=e.hiddenUpdates;for(l=h&~l;0<l;){var N=31-Wn(l),Q=1<<N;v[N]=0,S[N]=-1;var k=x[N];if(k!==null)for(x[N]=null,N=0;N<k.length;N++){var $=k[N];$!==null&&($.lane&=-536870913)}l&=~Q}u!==0&&re(e,u,0),c!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=c&~(h&~t))}function re(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Wn(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|l&4194090}function zt(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var u=31-Wn(l),s=1<<u;s&t|e[u]&t&&(e[u]|=t),l&=~s}}function Bt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function xn(e,t,l){if(tn)for(e=e.pendingUpdatersLaneMap;0<l;){var u=31-Wn(l),s=1<<u;e[u].add(t),l&=~s}}function Ot(e,t){if(tn)for(var l=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;0<t;){var s=31-Wn(t);e=1<<s,s=l[s],0<s.size&&(s.forEach(function(c){var h=c.alternate;h!==null&&u.has(h)||u.add(c)}),s.clear()),t&=~e}}function ru(e){return e&=-e,Yn<e?Wa<e?(e&134217727)!==0?Lu:um:Wa:Yn}function Xr(){var e=Be.p;return e!==0?e:(e=window.event,e===void 0?Lu:Wh(e.type))}function Bd(e,t){var l=Be.p;try{return Be.p=e,t()}finally{Be.p=l}}function fu(e){delete e[Fn],delete e[Dl],delete e[r0],delete e[Pv],delete e[br]}function ta(e){var t=e[Fn];if(t)return t;for(var l=e.parentNode;l;){if(t=l[No]||l[Fn]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=cr(e);e!==null;){if(l=e[Fn])return l;e=cr(e)}return t}e=l,l=e.parentNode}return null}function Xn(e){if(e=e[Fn]||e[No]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ra(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function kl(e){var t=e[Sr];return t||(t=e[Sr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function nn(e){e[Tr]=!0}function Da(e,t){ni(e,t),ni(e+"Capture",t)}function ni(e,t){Ta[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ta[e]=t;var l=e.toLowerCase();for(Gs[l]=e,e==="onDoubleClick"&&(Gs.ondblclick=e),e=0;e<t.length;e++)eg.add(t[e])}function za(e,t){tg[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="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`."),t.onChange||t.readOnly||t.disabled||t.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 li(e){return Bu.call(cm,e)?!0:Bu.call(sm,e)?!1:om.test(e)?cm[e]=!0:(sm[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Qr(e,t,l){if(li(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(ie(l,t),e===""+l?l:e)}}function Ju(e,t,l){if(li(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}ie(l,t),e.setAttribute(t,""+l)}}function Ku(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ie(l,t),e.setAttribute(t,""+l)}}function hl(e,t,l,u){if(u===null)e.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}ie(u,l),e.setAttributeNS(t,l,""+u)}}function Ko(){}function Zr(){if(Lo===0){f0=console.log,d0=console.info,ng=console.warn,h0=console.error,xr=console.group,lg=console.groupCollapsed,ag=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ko,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Lo++}function Nd(){if(Lo--,Lo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ke({},e,{value:f0}),info:Ke({},e,{value:d0}),warn:Ke({},e,{value:ng}),error:Ke({},e,{value:h0}),group:Ke({},e,{value:xr}),groupCollapsed:Ke({},e,{value:lg}),groupEnd:Ke({},e,{value:ag})})}0>Lo&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Zt(e){if(m0===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);m0=t&&t[1]||"",cd=-1<l.stack.indexOf(`
954
- at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
955
- `+m0+e+cd}function ln(e,t){if(!e||Er)return"";var l=rd.get(e);if(l!==void 0)return l;Er=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var u=null;u=G.H,G.H=null,Zr();try{var s={DetermineComponentFrameRoot:function(){try{if(t){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(Se){var $=Se}Reflect.construct(e,[],k)}else{try{k.call()}catch(Se){$=Se}e.call(k.prototype)}}else{try{throw Error()}catch(Se){$=Se}(k=e())&&typeof k.catch=="function"&&k.catch(function(){})}}catch(Se){if(Se&&$&&typeof Se.stack=="string")return[Se.stack,$.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=s.DetermineComponentFrameRoot(),v=h[0],S=h[1];if(v&&S){var x=v.split(`
956
- `),N=S.split(`
957
- `);for(h=c=0;c<x.length&&!x[c].includes("DetermineComponentFrameRoot");)c++;for(;h<N.length&&!N[h].includes("DetermineComponentFrameRoot");)h++;if(c===x.length||h===N.length)for(c=x.length-1,h=N.length-1;1<=c&&0<=h&&x[c]!==N[h];)h--;for(;1<=c&&0<=h;c--,h--)if(x[c]!==N[h]){if(c!==1||h!==1)do if(c--,h--,0>h||x[c]!==N[h]){var Q=`
958
- `+x[c].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&rd.set(e,Q),Q}while(1<=c&&0<=h);break}}}finally{Er=!1,G.H=u,Nd(),Error.prepareStackTrace=l}return x=(x=e?e.displayName||e.name:"")?Zt(x):"",typeof e=="function"&&rd.set(e,x),x}function En(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
823
+ */var Hb;function s2(){return Hb||(Hb=1,process.env.NODE_ENV!=="production"&&function(){function x(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function f(e,t,n,u){if(n>=t.length)return u;var c=t[n],s=Ve(e)?e.slice():Ke({},e);return s[c]=f(e[c],t,n+1,u),s}function v(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<n.length-1;u++)if(t[u]!==n[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return m(e,t,n,0)}}function m(e,t,n,u){var c=t[u],s=Ve(e)?e.slice():Ke({},e);return u+1===t.length?(s[n[u]]=s[c],Ve(s)?s.splice(c,1):delete s[c]):s[c]=m(e[c],t,n,u+1),s}function T(e,t,n){var u=t[n],c=Ve(e)?e.slice():Ke({},e);return n+1===t.length?(Ve(c)?c.splice(u,1):delete c[u],c):(c[u]=T(e[u],t,n+1),c)}function A(){return!1}function w(){return null}function X(){}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 Y(){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 ee(){}function ne(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function V(e,t,n,u){return new oo(e,t,n,u)}function oe(e,t){e.context===Er&&(St(e.current,2,t,e,null,null),Rc())}function ce(e,t){if($i!==null){var n=t.staleFamilies;t=t.updatedFamilies,Is(),uo(e.current,t,n),Rc()}}function ue(e){$i=e}function ae(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function de(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ke(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function fe(e){if(de(e)!==e)throw Error("Unable to find node on an unmounted component.")}function xe(e){var t=e.alternate;if(!t){if(t=de(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,u=t;;){var c=n.return;if(c===null)break;var s=c.alternate;if(s===null){if(u=c.return,u!==null){n=u;continue}break}if(c.child===s.child){for(s=c.child;s;){if(s===n)return fe(c),e;if(s===u)return fe(c),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==u.return)n=c,u=s;else{for(var h=!1,p=c.child;p;){if(p===n){h=!0,n=c,u=s;break}if(p===u){h=!0,u=c,n=s;break}p=p.sibling}if(!h){for(p=s.child;p;){if(p===n){h=!0,n=s,u=c;break}if(p===u){h=!0,u=s,n=c;break}p=p.sibling}if(!h)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(n.alternate!==u)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function Ye(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ye(e),t!==null)return t;e=e.sibling}return null}function qe(e){return e===null||typeof e!="object"?null:(e=ap&&e[ap]||e["@@iterator"],typeof e=="function"?e:null)}function Oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Kh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case je:return"Fragment";case fr:return"Profiler";case rr:return"StrictMode";case dr:return"Suspense";case Oo:return"SuspenseList";case np:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Lc:return"Portal";case ya:return(e.displayName||"Context")+".Provider";case Jh:return(e._context.displayName||"Context")+".Consumer";case Uu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pf:return t=e.displayName||null,t!==null?t:Oe(e.type)||"Memo";case $n:t=e._payload,e=e._init;try{return Oe(e(t))}catch{}}return null}function at(e){return typeof e.tag=="number"?me(e):typeof e.name=="string"?e.name:null}function me(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Oe(t);case 8:return t===rr?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return me(e.return)}return null}function Ce(e){return{current:e}}function Re(e,t){0>ba?console.error("Unexpected pop."):(t!==td[ba]&&console.error("Unexpected Fiber popped."),e.current=ed[ba],ed[ba]=null,td[ba]=null,ba--)}function Ee(e,t,n){ba++,ed[ba]=e.current,td[ba]=n,e.current=t}function et(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Mt(e,t){Ee(Gi,t,e),Ee(hr,e,e),Ee(Hu,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?bt(t):Ic;break;default:if(n=t.tagName,t=t.namespaceURI)t=bt(t),t=_n(t,n);else switch(n){case"svg":t=Nm;break;case"math":t=Dg;break;default:t=Ic}}n=n.toLowerCase(),n=is(null,n),n={context:t,ancestorInfo:n},Re(Hu,e),Ee(Hu,n,e)}function vt(e){Re(Hu,e),Re(hr,e),Re(Gi,e)}function D(){return et(Hu.current)}function I(e){e.memoizedState!==null&&Ee(mr,e,e);var t=et(Hu.current),n=e.type,u=_n(t.context,n);n=is(t.ancestorInfo,n),u={context:u,ancestorInfo:n},t!==u&&(Ee(hr,e,e),Ee(Hu,u,e))}function te(e){hr.current===e&&(Re(Hu,e),Re(hr,e)),mr.current===e&&(Re(mr,e),Pp._currentValue=zd)}function ge(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function q(e){try{return pe(e),!1}catch{return!0}}function pe(e){return""+e}function ie(e,t){if(q(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ge(e)),pe(e)}function ve(e,t){if(q(e))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.",t,ge(e)),pe(e)}function Be(e){if(q(e))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.",ge(e)),pe(e)}function rt(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{Ho=t.inject(e),Nl=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function $e(e){if(typeof ay=="function"&&Ka(e),Nl&&typeof Nl.setStrictMode=="function")try{Nl.setStrictMode(Ho,e)}catch(t){Mn||(Mn=!0,console.error("React instrumentation encountered an error: %s",t))}}function fn(e){he=e}function xt(){he!==null&&typeof he.markCommitStopped=="function"&&he.markCommitStopped()}function Vt(e){he!==null&&typeof he.markComponentRenderStarted=="function"&&he.markComponentRenderStarted(e)}function bl(){he!==null&&typeof he.markComponentRenderStopped=="function"&&he.markComponentRenderStopped()}function On(e){he!==null&&typeof he.markRenderStarted=="function"&&he.markRenderStarted(e)}function ei(){he!==null&&typeof he.markRenderStopped=="function"&&he.markRenderStopped()}function Un(e,t){he!==null&&typeof he.markStateUpdateScheduled=="function"&&he.markStateUpdateScheduled(e,t)}function au(e){return e>>>=0,e===0?32:31-(Fh(e)/Bu|0)|0}function Qo(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Hn(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function fl(e,t,n){var u=e.pendingLanes;if(u===0)return 0;var c=0,s=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var p=u&134217727;return p!==0?(u=p&~s,u!==0?c=Hn(u):(h&=p,h!==0?c=Hn(h):n||(n=p&~e,n!==0&&(c=Hn(n))))):(p=u&~s,p!==0?c=Hn(p):h!==0?c=Hn(h):n||(n=u&~e,n!==0&&(c=Hn(n)))),c===0?0:t!==0&&t!==c&&(t&s)===0&&(s=c&-c,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:c}function Ca(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qu(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 iu(){var e=Ph;return Ph<<=1,(Ph&4194048)===0&&(Ph=256),e}function Aa(){var e=em;return em<<=1,(em&62914560)===0&&(em=4194304),e}function uu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ou(e,t,n,u,c,s){var h=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var p=e.entanglements,b=e.expirationTimes,S=e.hiddenUpdates;for(n=h&~n;0<n;){var N=31-Kl(n),Q=1<<N;p[N]=0,b[N]=-1;var B=S[N];if(B!==null)for(S[N]=null,N=0;N<B.length;N++){var $=B[N];$!==null&&($.lane&=-536870913)}n&=~Q}u!==0&&re(e,u,0),s!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=s&~(h&~t))}function re(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Kl(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|n&4194090}function zt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-Kl(n),c=1<<u;c&t|e[u]&t&&(e[u]|=t),n&=~c}}function Bt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Sl(e,t,n){if(el)for(e=e.pendingUpdatersLaneMap;0<n;){var u=31-Kl(n),c=1<<u;e[u].add(t),n&=~c}}function Ot(e,t){if(el)for(var n=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;0<t;){var c=31-Kl(t);e=1<<c,c=n[c],0<c.size&&(c.forEach(function(s){var h=s.alternate;h!==null&&u.has(h)||u.add(s)}),c.clear()),t&=~e}}function cu(e){return e&=-e,Ll<e?Wa<e?(e&134217727)!==0?ku:tm:Wa:Ll}function qr(){var e=Ne.p;return e!==0?e:(e=window.event,e===void 0?ku:Zh(e.type))}function Od(e,t){var n=Ne.p;try{return Ne.p=e,t()}finally{Ne.p=n}}function su(e){delete e[Wl],delete e[Rn],delete e[ip],delete e[Qv],delete e[vr]}function ea(e){var t=e[Wl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bo]||n[Wl]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ur(e);e!==null;){if(n=e[Wl])return n;e=ur(e)}return t}e=n,n=e.parentNode}return null}function Gl(e){if(e=e[Wl]||e[Bo]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ma(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function wn(e){var t=e[gr];return t||(t=e[gr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tl(e){e[yr]=!0}function Ra(e,t){ti(e,t),ti(e+"Capture",t)}function ti(e,t){Sa[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Sa[e]=t;var n=e.toLowerCase();for(qc[n]=e,e==="onDoubleClick"&&(qc.ondblclick=e),e=0;e<t.length;e++)Zv.add(t[e])}function Da(e,t){$v[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="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`."),t.onChange||t.readOnly||t.disabled||t.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 li(e){return wu.call(am,e)?!0:wu.call(nm,e)?!1:lm.test(e)?am[e]=!0:(nm[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Yr(e,t,n){if(li(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(ie(n,t),e===""+n?n:e)}}function Zu(e,t,n){if(li(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}ie(n,t),e.setAttribute(t,""+n)}}function $u(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ie(n,t),e.setAttribute(t,""+n)}}function dn(e,t,n,u){if(u===null)e.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}ie(u,n),e.setAttributeNS(t,n,""+u)}}function Zo(){}function Vr(){if(ko===0){up=console.log,op=console.info,Jv=console.warn,cp=console.error,br=console.group,Kv=console.groupCollapsed,Wv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Zo,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ko++}function Ud(){if(ko--,ko===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ke({},e,{value:up}),info:Ke({},e,{value:op}),warn:Ke({},e,{value:Jv}),error:Ke({},e,{value:cp}),group:Ke({},e,{value:br}),groupCollapsed:Ke({},e,{value:Kv}),groupEnd:Ke({},e,{value:Wv})})}0>ko&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Qt(e){if(sp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);sp=t&&t[1]||"",ad=-1<n.stack.indexOf(`
824
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
825
+ `+sp+e+ad}function ll(e,t){if(!e||Sr)return"";var n=id.get(e);if(n!==void 0)return n;Sr=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var u=null;u=G.H,G.H=null,Vr();try{var c={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(Se){var $=Se}Reflect.construct(e,[],B)}else{try{B.call()}catch(Se){$=Se}e.call(B.prototype)}}else{try{throw Error()}catch(Se){$=Se}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(Se){if(Se&&$&&typeof Se.stack=="string")return[Se.stack,$.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 h=c.DetermineComponentFrameRoot(),p=h[0],b=h[1];if(p&&b){var S=p.split(`
826
+ `),N=b.split(`
827
+ `);for(h=s=0;s<S.length&&!S[s].includes("DetermineComponentFrameRoot");)s++;for(;h<N.length&&!N[h].includes("DetermineComponentFrameRoot");)h++;if(s===S.length||h===N.length)for(s=S.length-1,h=N.length-1;1<=s&&0<=h&&S[s]!==N[h];)h--;for(;1<=s&&0<=h;s--,h--)if(S[s]!==N[h]){if(s!==1||h!==1)do if(s--,h--,0>h||S[s]!==N[h]){var Q=`
828
+ `+S[s].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&id.set(e,Q),Q}while(1<=s&&0<=h);break}}}finally{Sr=!1,G.H=u,Ud(),Error.prepareStackTrace=n}return S=(S=e?e.displayName||e.name:"")?Qt(S):"",typeof e=="function"&&id.set(e,S),S}function Tl(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
959
829
  `)&&(e=e.slice(29)),t=e.indexOf(`
960
830
  `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
961
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function du(e){switch(e.tag){case 26:case 27:case 5:return Zt(e.type);case 16:return Zt("Lazy");case 13:return Zt("Suspense");case 19:return Zt("SuspenseList");case 0:case 15:return ln(e.type,!1);case 11:return ln(e.type.render,!1);case 1:return ln(e.type,!0);case 31:return Zt("Activity");default:return""}}function Io(e){try{var t="";do{t+=du(e);var l=e._debugInfo;if(l)for(var u=l.length-1;0<=u;u--){var s=l[u];if(typeof s.name=="string"){var c=t,h=s.env,v=Zt(s.name+(h?" ["+h+"]":""));t=c+v}}e=e.return}while(e);return t}catch(S){return`
962
- Error generating stack: `+S.message+`
963
- `+S.stack}}function $r(e){return(e=e?e.displayName||e.name:"")?Zt(e):""}function Wo(){if(Kl===null)return null;var e=Kl._debugOwner;return e!=null?at(e):null}function Jr(){if(Kl===null)return"";var e=Kl;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Zt(e.type);break;case 13:t+=Zt("Suspense");break;case 19:t+=Zt("SuspenseList");break;case 31:t+=Zt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=$r(e.type));break;case 11:e._debugOwner||t!==""||(t+=$r(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var u=l._debugStack;e&&u&&(typeof u!="string"&&(l._debugStack=u=En(u)),u!==""&&(t+=`
964
- `+u))}else if(e.debugStack!=null){var s=e.debugStack;(e=e.owner)&&s&&(t+=`
965
- `+En(s))}else break;var c=t}catch(h){c=`
831
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ru(e){switch(e.tag){case 26:case 27:case 5:return Qt(e.type);case 16:return Qt("Lazy");case 13:return Qt("Suspense");case 19:return Qt("SuspenseList");case 0:case 15:return ll(e.type,!1);case 11:return ll(e.type.render,!1);case 1:return ll(e.type,!0);case 31:return Qt("Activity");default:return""}}function $o(e){try{var t="";do{t+=ru(e);var n=e._debugInfo;if(n)for(var u=n.length-1;0<=u;u--){var c=n[u];if(typeof c.name=="string"){var s=t,h=c.env,p=Qt(c.name+(h?" ["+h+"]":""));t=s+p}}e=e.return}while(e);return t}catch(b){return`
832
+ Error generating stack: `+b.message+`
833
+ `+b.stack}}function Gr(e){return(e=e?e.displayName||e.name:"")?Qt(e):""}function Jo(){if(Jn===null)return null;var e=Jn._debugOwner;return e!=null?at(e):null}function Xr(){if(Jn===null)return"";var e=Jn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Qt(e.type);break;case 13:t+=Qt("Suspense");break;case 19:t+=Qt("SuspenseList");break;case 31:t+=Qt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Gr(e.type));break;case 11:e._debugOwner||t!==""||(t+=Gr(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var u=n._debugStack;e&&u&&(typeof u!="string"&&(n._debugStack=u=Tl(u)),u!==""&&(t+=`
834
+ `+u))}else if(e.debugStack!=null){var c=e.debugStack;(e=e.owner)&&c&&(t+=`
835
+ `+Tl(c))}else break;var s=t}catch(h){s=`
966
836
  Error generating stack: `+h.message+`
967
- `+h.stack}return c}function ye(e,t,l,u,s,c,h){var v=Kl;Iu(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,u,s,c,h)):t(l,u,s,c,h)}finally{Iu(v)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Iu(e){G.getCurrentStack=e===null?null:Jr,zl=!1,Kl=e}function on(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return He(e),e;default:return""}}function ai(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Wu(e){var t=ai(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);He(e[t]);var u=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,c=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(h){He(h),u=""+h,c.call(this,h)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(h){He(h),u=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function na(e){e._valueTracker||(e._valueTracker=Wu(e))}function $t(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),u="";return e&&(u=ai(e)?e.checked?"true":"false":e.value),e=u,e!==l?(t.setValue(e),!0):!1}function Fu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Qn(e){return e.replace(my,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Oa(e,t){t.checked===void 0||t.defaultChecked===void 0||v0||(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",Wo()||"A component",t.type),v0=!0),t.value===void 0||t.defaultValue===void 0||p0||(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",Wo()||"A component",t.type),p0=!0)}function Ua(e,t,l,u,s,c,h,v){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(ie(h,"type"),e.type=h):e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+on(t)):e.value!==""+on(t)&&(e.value=""+on(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Fo(e,h,on(t)):l!=null?Fo(e,h,on(l)):u!=null&&e.removeAttribute("value"),s==null&&c!=null&&(e.defaultChecked=!!c),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?(ie(v,"name"),e.name=""+on(v)):e.removeAttribute("name")}function Kr(e,t,l,u,s,c,h,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(ie(c,"type"),e.type=c),t!=null||l!=null){if(!(c!=="submit"&&c!=="reset"||t!=null))return;l=l!=null?""+on(l):"",t=t!=null?""+on(t):l,v||t===e.value||(e.value=t),e.defaultValue=t}u=u??s,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=v?e.checked:!!u,e.defaultChecked=!!u,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(ie(h,"name"),e.name=h)}function Fo(e,t,l){t==="number"&&Fu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ac(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?nd.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="bigint"||y0||(y0=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||rm||(rm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||g0||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),g0=!0)}function Ir(){var e=Wo();return e?`
968
-
969
- Check the render method of \``+e+"`.":""}function la(e,t,l,u){if(e=e.options,t){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=!0;for(l=0;l<e.length;l++)s=t.hasOwnProperty("$"+e[l].value),e[l].selected!==s&&(e[l].selected=s),s&&u&&(e[l].defaultSelected=!0)}else{for(l=""+on(l),t=null,s=0;s<e.length;s++){if(e[s].value===l){e[s].selected=!0,u&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Pu(e,t){for(e=0;e<fd.length;e++){var l=fd[e];if(t[l]!=null){var u=Ve(t[l]);t.multiple&&!u?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,Ir()):!t.multiple&&u&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,Ir())}}t.value===void 0||t.defaultValue===void 0||b0||(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"),b0=!0)}function Bl(e,t){t.value===void 0||t.defaultValue===void 0||ig||(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",Wo()||"A component"),ig=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Po(e,t,l){if(t!=null&&(t=""+on(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+on(l):""}function ic(e,t,l,u){if(t==null){if(u!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ve(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");u=u[0]}l=u}l==null&&(l=""),t=l}l=on(t),e.defaultValue=l,u=e.textContent,u===l&&u!==""&&u!==null&&(e.value=u)}function ii(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?ii(e.children[0],t):e}function Cn(e){return" "+" ".repeat(e)}function wa(e){return"+ "+" ".repeat(e)}function ui(e){return"- "+" ".repeat(e)}function uc(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function mn(e,t){return ug.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function eo(e,t,l){var u=120-2*l;if(t===null)return wa(l)+mn(e,u)+`
970
- `;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>u-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),wa(l)+mn(e,u)+`
971
- `+ui(l)+mn(t,u)+`
972
- `}return Cn(l)+mn(e,u)+`
973
- `}function oc(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function Ha(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Ve(e))return"[...]";if(e.$$typeof===Uo)return(t=ze(e.type))?"<"+t+">":"<...>";var l=oc(e);if(l==="Object"){l="",t-=2;for(var u in e)if(e.hasOwnProperty(u)){var s=JSON.stringify(u);if(s!=='"'+u+'"'&&(u=s),t-=u.length-2,s=Ha(e[u],15>t?t:15),t-=s.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+u+":"+s}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function oi(e,t){return typeof e!="string"||ug.test(e)?"{"+Ha(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function hu(e,t,l){var u=120-l.length-e.length,s=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var h=oi(t[c],120-l.length-c.length-1);u-=c.length+h.length+2,s.push(c+"="+h)}return s.length===0?l+"<"+e+`>
974
- `:0<u?l+"<"+e+" "+s.join(" ")+`>
975
- `:l+"<"+e+`
976
- `+l+" "+s.join(`
977
- `+l+" ")+`
978
- `+l+`>
979
- `}function Ld(e,t,l){var u="",s=Ke({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete s[c];var h=120-2*l-c.length-2,v=Ha(e[c],h);t.hasOwnProperty(c)?(h=Ha(t[c],h),u+=wa(l)+c+": "+v+`
980
- `,u+=ui(l)+c+": "+h+`
981
- `):u+=wa(l)+c+": "+v+`
982
- `}for(var S in s)s.hasOwnProperty(S)&&(e=Ha(s[S],120-2*l-S.length-2),u+=ui(l)+S+": "+e+`
983
- `);return u}function nl(e,t,l,u){var s="",c=new Map;for(x in l)l.hasOwnProperty(x)&&c.set(x.toLowerCase(),x);if(c.size===1&&c.has("children"))s+=hu(e,t,Cn(u));else{for(var h in t)if(t.hasOwnProperty(h)&&h!=="children"){var v=120-2*(u+1)-h.length-1,S=c.get(h.toLowerCase());if(S!==void 0){c.delete(h.toLowerCase());var x=t[h];S=l[S];var N=oi(x,v);v=oi(S,v),typeof x=="object"&&x!==null&&typeof S=="object"&&S!==null&&oc(x)==="Object"&&oc(S)==="Object"&&(2<Object.keys(x).length||2<Object.keys(S).length||-1<N.indexOf("...")||-1<v.indexOf("..."))?s+=Cn(u+1)+h+`={{
984
- `+Ld(x,S,u+2)+Cn(u+1)+`}}
985
- `:(s+=wa(u+1)+h+"="+N+`
986
- `,s+=ui(u+1)+h+"="+v+`
987
- `)}else s+=Cn(u+1)+h+"="+oi(t[h],v)+`
988
- `}c.forEach(function(Q){if(Q!=="children"){var k=120-2*(u+1)-Q.length-1;s+=ui(u+1)+Q+"="+oi(l[Q],k)+`
989
- `}}),s=s===""?Cn(u)+"<"+e+`>
990
- `:Cn(u)+"<"+e+`
991
- `+s+Cn(u)+`>
992
- `}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),s+=eo(c,""+e,u+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=e==null?s+eo(""+t,null,u+1):s+eo(""+t,void 0,u+1)),s}function es(e,t){var l=uc(e);if(l===null){for(l="",e=e.child;e;)l+=es(e,t),e=e.sibling;return l}return Cn(t)+"<"+l+`>
993
- `}function ts(e,t){var l=ii(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return Cn(t)+`...
994
- `+ts(l,t+1);l="";var u=e.fiber._debugInfo;if(u)for(var s=0;s<u.length;s++){var c=u[s].name;typeof c=="string"&&(l+=Cn(t)+"<"+c+`>
995
- `,t++)}if(u="",s=e.fiber.pendingProps,e.fiber.tag===6)u=eo(s,e.serverProps,t),t++;else if(c=uc(e.fiber),c!==null)if(e.serverProps===void 0){u=t;var h=120-2*u-c.length-2,v="";for(x in s)if(s.hasOwnProperty(x)&&x!=="children"){var S=oi(s[x],15);if(h-=x.length+S.length+2,0>h){v+=" ...";break}v+=" "+x+"="+S}u=Cn(u)+"<"+c+v+`>
996
- `,t++}else e.serverProps===null?(u=hu(c,s,wa(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(u=nl(c,s,e.serverProps,t),t++);var x="";for(s=e.fiber.child,c=0;s&&c<e.children.length;)h=e.children[c],h.fiber===s?(x+=ts(h,t),c++):x+=es(s,t),s=s.sibling;for(s&&0<e.children.length&&(x+=Cn(t)+`...
997
- `),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)c=s[e],x=typeof c=="string"?x+(ui(t)+mn(c,120-2*t)+`
998
- `):x+hu(c.type,c.props,ui(t));return l+u+x}function to(e){try{return`
999
-
1000
- `+ts(e,0)}catch{return""}}function si(e,t,l){for(var u=t,s=null,c=0;u;)u===e&&(c=0),s={fiber:u,children:s!==null?[s]:[],serverProps:u===t?l:u===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,u=u.return;return s!==null?to(s).replaceAll(/^[+-]/gm,">"):""}function sc(e,t){var l=Ke({},e||x0),u={tag:t};return fm.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),dm.indexOf(t)!==-1&&(l.pTagInButtonScope=null),S0.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=u,t==="form"&&(l.formTag=u),t==="a"&&(l.aTagInScope=u),t==="button"&&(l.buttonTagInScope=u),t==="nobr"&&(l.nobrTagInScope=u),t==="p"&&(l.pTagInButtonScope=u),t==="li"&&(l.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=u),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=u),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function cc(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return T0.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function mu(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Wr(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ns(e,t){t=t||x0;var l=t.current;if(t=(l=cc(e,l&&l.tag,t.implicitRootScope)?null:l)?null:mu(e,t),t=l||t,!t)return!0;var u=t.tag;if(t=String(!!l)+"|"+e+"|"+u,Cr[t])return!1;Cr[t]=!0;var s=(t=Kl)?Wr(t.return,u):null,c=t!==null&&s!==null?si(s,t,null):"",h="<"+e+">";return l?(l="",u==="table"&&e==="tr"&&(l+=" 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
1001
- This will cause a hydration error.%s`,h,u,l,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
1002
- This will cause a hydration error.%s`,h,u,c),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||ye(s,function(){console.error(`<%s> cannot contain a nested %s.
1003
- See this log for the ancestor stack trace.`,u,h)})),!1}function no(e,t,l){if(l||cc("#text",t,!1))return!0;if(l="#text|"+t,Cr[l])return!1;Cr[l]=!0;var u=(l=Kl)?Wr(l,t):null;return l=l!==null&&u!==null?si(u,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
1004
- This will cause a hydration error.%s`,t,l):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.
1005
- This will cause a hydration error.%s`,t,l),!1}function ci(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function qd(e){return e.replace(qo,function(t,l){return l.toUpperCase()})}function Fr(e,t,l){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?js.hasOwnProperty(t)&&js[t]||(js[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,qd(t.replace(hd,"ms-")))):dd.test(t)?js.hasOwnProperty(t)&&js[t]||(js[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!og.test(l)||Xs.hasOwnProperty(l)&&Xs[l]||(Xs[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(og,""))),typeof l=="number"&&(isNaN(l)?sg||(sg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||E0||(E0=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,l):typeof l!="number"||l===0||md.has(t)?t==="float"?e.cssFloat=l:(ve(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function lo(e,t,l){if(t!=null&&typeof t!="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(t&&Object.freeze(t),e=e.style,l!=null){if(t){var u={};if(l){for(var s in l)if(l.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var c=Qi[s]||[s],h=0;h<c.length;h++)u[c[h]]=s}for(var v in t)if(t.hasOwnProperty(v)&&(!l||l[v]!==t[v]))for(s=Qi[v]||[v],c=0;c<s.length;c++)u[s[c]]=v;v={};for(var S in t)for(s=Qi[S]||[S],c=0;c<s.length;c++)v[s[c]]=S;S={};for(var x in u)if(s=u[x],(c=v[x])&&s!==c&&(h=s+","+c,!S[h])){S[h]=!0,h=console;var N=t[s];h.error.call(h,"%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.",N==null||typeof N=="boolean"||N===""?"Removing":"Updating",s,c)}}for(var Q in l)!l.hasOwnProperty(Q)||t!=null&&t.hasOwnProperty(Q)||(Q.indexOf("--")===0?e.setProperty(Q,""):Q==="float"?e.cssFloat="":e[Q]="");for(var k in t)x=t[k],t.hasOwnProperty(k)&&l[k]!==x&&Fr(e,k,x)}else for(u in t)t.hasOwnProperty(u)&&Fr(e,u,t[u])}function ri(e){if(e.indexOf("-")===-1)return!1;switch(e){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 ls(e){return hm.get(e)||e}function pu(e,t){if(Bu.call(Zi,t)&&Zi[t])return!0;if(mm.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=C0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Zi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Zi[t]=!0}if(_0.test(t)){if(e=t.toLowerCase(),e=C0.hasOwnProperty(e)?e:null,e==null)return Zi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Zi[t]=!0)}return!0}function vu(e,t){var l=[],u;for(u in t)pu(e,u)||l.push(u);t=l.map(function(s){return"`"+s+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Pr(e,t,l,u){if(Bu.call(sl,t)&&sl[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="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."),sl[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(s)?e[s]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),sl[t]=!0;if(vd.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),sl[t]=!0}else if(vd.test(t))return n.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),sl[t]=!0;if(a.test(t)||i.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),sl[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),sl[t]=!0;if(s==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),sl[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),sl[t]=!0;if(Qs.hasOwnProperty(s)){if(s=Qs[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),sl[t]=!0}else if(t!==s)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.",t,s),sl[t]=!0;switch(t){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 l){case"boolean":switch(t){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 s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(l?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()}.',l,t,t,l,t):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.',l,t,t,l,t,t,t),sl[t]=!0)}case"function":case"symbol":return sl[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){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}?",l,t,l==="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".',t,l),sl[t]=!0}}return!0}function rc(e,t,l){var u=[],s;for(s in t)Pr(e,s,t[s],l)||u.push(s);t=u.map(function(c){return"`"+c+"`"}).join(", "),u.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 ",t,e):1<u.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 ",t,e)}function gu(e){return o.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function fi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Nl(e){var t=Xn(e);if(t&&(e=t.stateNode)){var l=e[Dl]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ua(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(ie(t,"name"),l=l.querySelectorAll('input[name="'+Qn(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var u=l[t];if(u!==e&&u.form===e.form){var s=u[Dl]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ua(u,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<l.length;t++)u=l[t],u.form===e.form&&$t(u)}break e;case"textarea":Po(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&la(e,!!l.multiple,t,!1)}}}function as(e,t,l){if(y)return e(t,l);y=!0;try{var u=e(t);return u}finally{if(y=!1,(d!==null||g!==null)&&(Os(),d&&(t=d,e=g,g=d=null,Nl(t),e)))for(t=0;t<e.length;t++)Nl(e[t])}}function aa(e,t){var l=e.stateNode;if(l===null)return null;var u=l[Dl]||null;if(u===null)return null;l=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function ia(){if(L)return L;var e,t=B,l=t.length,u,s="value"in P?P.value:P.textContent,c=s.length;for(e=0;e<l&&t[e]===s[e];e++);var h=l-e;for(u=1;u<=h&&t[l-u]===s[c-u];u++);return L=s.slice(e,1<u?1-u:void 0)}function yu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function di(){return!0}function fc(){return!1}function sn(e){function t(l,u,s,c,h){this._reactName=l,this._targetInst=s,this.type=u,this.nativeEvent=c,this.target=h,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(l=e[v],this[v]=l?l(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?di:fc,this.isPropagationStopped=fc,this}return Ke(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=di)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=di)},persist:function(){},isPersistent:di}),t}function is(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=I2[e])?!!t[e]:!1}function us(){return is}function _n(e,t){switch(e){case"keyup":return sT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Wb;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ka(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function os(e,t){switch(e){case"compositionend":return ka(t);case"keypress":return t.which!==Pb?null:(t1=!0,e1);case"textInput":return e=t.data,e===e1&&t1?null:e;default:return null}}function ao(e,t){if(pm)return e==="compositionend"||!vy&&_n(e,t)?(e=ia(),L=B=P=null,pm=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fb&&t.locale!=="ko"?null:t.data;default:return null}}function ef(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rT[e.type]:t==="textarea"}function dc(e){if(!E)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function ss(e,t,l,u){d?g?g.push(u):g=[u]:d=u,t=$f(t,"onChange"),0<t.length&&(l=new Me("onChange","change",null,l,u),e.push({event:l,listeners:t}))}function io(e){Ni(e,0)}function hi(e){var t=Ra(e);if($t(t))return e}function hc(e,t){if(e==="change")return t}function tf(){R0&&(R0.detachEvent("onpropertychange",nf),D0=R0=null)}function nf(e){if(e.propertyName==="value"&&hi(D0)){var t=[];ss(t,D0,e,fi(e)),as(io,t)}}function Yd(e,t,l){e==="focusin"?(tf(),R0=t,D0=l,R0.attachEvent("onpropertychange",nf)):e==="focusout"&&tf()}function mc(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return hi(D0)}function Vd(e,t){if(e==="click")return hi(t)}function Gd(e,t){if(e==="input"||e==="change")return hi(t)}function jd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function uo(e,t){if(Il(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),u=Object.keys(t);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var s=l[u];if(!Bu.call(t,s)||!Il(e[s],t[s]))return!1}return!0}function lf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pc(e,t){var l=lf(e);e=0;for(var u;l;){if(l.nodeType===3){if(u=e+l.textContent.length,e<=t&&u>=t)return{node:l,offset:t-e};e=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=lf(l)}}function af(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?af(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Fu(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Fu(e.document)}return t}function vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function of(e,t,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;yy||vm==null||vm!==Fu(u)||(u=vm,"selectionStart"in u&&vc(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),z0&&uo(z0,u)||(z0=u,u=$f(gy,"onSelect"),0<u.length&&(t=new Me("onSelect","select",null,t,l),e.push({event:t,listeners:u}),t.target=vm)))}function ua(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function mi(e){if(by[e])return by[e];if(!gm[e])return e;var t=gm[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in l1)return by[e]=t[l];return e}function ml(e,t){s1.set(e,t),Da(t,[e])}function Zn(e,t){if(typeof e=="object"&&e!==null){var l=Ty.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Io(t)},Ty.set(e,t),t)}return{value:e,source:t,stack:Io(t)}}function oo(){for(var e=ym,t=Ey=ym=0;t<e;){var l=$i[t];$i[t++]=null;var u=$i[t];$i[t++]=null;var s=$i[t];$i[t++]=null;var c=$i[t];if($i[t++]=null,u!==null&&s!==null){var h=u.pending;h===null?s.next=s:(s.next=h.next,h.next=s),u.pending=s}c!==0&&sf(l,s,c)}}function cs(e,t,l,u){$i[ym++]=e,$i[ym++]=t,$i[ym++]=l,$i[ym++]=u,Ey|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function gc(e,t,l,u){return cs(e,t,l,u),rs(e)}function wn(e,t){return cs(e,null,null,t),rs(e)}function sf(e,t,l){e.lanes|=l;var u=e.alternate;u!==null&&(u.lanes|=l);for(var s=!1,c=e.return;c!==null;)c.childLanes|=l,u=c.alternate,u!==null&&(u.childLanes|=l),c.tag===22&&(e=c.stateNode,e===null||e._visibility&xy||(s=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,s&&t!==null&&(s=31-Wn(l),e=c.hiddenUpdates,u=e[s],u===null?e[s]=[t]:u.push(t),t.lane=l|536870912),c):null}function rs(e){if(F0>wT)throw zd=F0=0,P0=Py=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.");zd>HT&&(zd=0,P0=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.")),e.alternate===null&&(e.flags&4098)!==0&&Ka(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ka(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function pi(e){if(Ji===null)return e;var t=Ji(e);return t===void 0?e:t.current}function yc(e){if(Ji===null)return e;var t=Ji(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=pi(e.render),e.render!==t)?(t={$$typeof:Hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function cf(e,t){if(Ji===null)return!1;var l=e.elementType;t=t.type;var u=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||s===Jl)&&(u=!0);break;case 11:(s===Hu||s===Jl)&&(u=!0);break;case 14:case 15:(s===ad||s===Jl)&&(u=!0);break;default:return!1}return!!(u&&(e=Ji(l),e!==void 0&&e===Ji(t)))}function rf(e){Ji!==null&&typeof WeakSet=="function"&&(bm===null&&(bm=new WeakSet),bm.add(e))}function so(e,t,l){var u=e.alternate,s=e.child,c=e.sibling,h=e.tag,v=e.type,S=null;switch(h){case 0:case 15:case 1:S=v;break;case 11:S=v.render}if(Ji===null)throw Error("Expected resolveFamily to be set during hot reload.");var x=!1;v=!1,S!==null&&(S=Ji(S),S!==void 0&&(l.has(S)?v=!0:t.has(S)&&(h===1?v=!0:x=!0))),bm!==null&&(bm.has(e)||u!==null&&bm.has(u))&&(v=!0),v&&(e._debugNeedsRemount=!0),(v||x)&&(u=wn(e,2),u!==null&&It(u,e,2)),s===null||v||so(s,t,l),c!==null&&so(c,t,l)}function co(e,t,l,u){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,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,r1||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function bc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ll(e,t){var l=e.alternate;switch(l===null?(l=V(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=pi(e.type);break;case 1:l.type=pi(e.type);break;case 11:l.type=yc(e.type)}return l}function Sc(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function fs(e,t,l,u,s,c){var h=0,v=e;if(typeof e=="function")bc(e)&&(h=1),v=pi(v);else if(typeof e=="string")h=D(),h=fr(e,l,h)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case s0:return t=V(31,l,t,s),t.elementType=s0,t.lanes=c,t;case Xe:return Ba(l.children,s,c,t);case hr:h=8,s|=Ol,s|=Vu;break;case mr:return e=l,u=s,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=V(12,e,t,u|cl),t.elementType=mr,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case pr:return t=V(13,l,t,s),t.elementType=pr,t.lanes=c,t;case wo:return t=V(19,l,t,s),t.elementType=wo,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case o0:case ba:h=10;break e;case Ph:h=9;break e;case Hu:h=11,v=yc(v);break e;case ad:h=14;break e;case Jl:h=16,v=null;break e}v="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":Ve(e)?l="array":e!==void 0&&e.$$typeof===Uo?(l="<"+(ze(e.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(h=u?at(u):null)&&(v+=`
1006
-
1007
- Check the render method of \``+h+"`."),h=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+v)),v=null}return t=V(h,l,t,s),t.elementType=e,t.type=v,t.lanes=c,t._debugOwner=u,t}function ro(e,t,l){return t=fs(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Ba(e,t,l,u){return e=V(7,e,u,t),e.lanes=l,e}function Na(e,t,l){return e=V(6,e,null,t),e.lanes=l,e}function Tc(e,t,l){return t=V(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vi(e,t){pl(),Sm[Tm++]=rg,Sm[Tm++]=cg,cg=e,rg=t}function ff(e,t,l){pl(),Ki[Ii++]=Zs,Ki[Ii++]=$s,Ki[Ii++]=yd,yd=e;var u=Zs;e=$s;var s=32-Wn(u)-1;u&=~(1<<s),l+=1;var c=32-Wn(t)+s;if(30<c){var h=s-s%5;c=(u&(1<<h)-1).toString(32),u>>=h,s-=h,Zs=1<<32-Wn(t)+s|l<<s|u,$s=c+e}else Zs=1<<c|l<<s|u,$s=e}function ds(e){pl(),e.return!==null&&(vi(e,1),ff(e,1,0))}function hs(e){for(;e===cg;)cg=Sm[--Tm],Sm[Tm]=null,rg=Sm[--Tm],Sm[Tm]=null;for(;e===yd;)yd=Ki[--Ii],Ki[Ii]=null,$s=Ki[--Ii],Ki[Ii]=null,Zs=Ki[--Ii],Ki[Ii]=null}function pl(){mt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function vl(e,t){if(e.return===null){if(Wi===null)Wi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Wi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Wi.distanceFromLeaf>t&&(Wi.distanceFromLeaf=t)}return Wi}var l=vl(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function xc(e,t){Js||(e=vl(e,0),e.serverProps=null,t!==null&&(t=jh(t),e.serverTail.push(t)))}function ql(e){var t="",l=Wi;throw l!==null&&(Wi=null,t=to(l)),bu(Zn(Error(`Hydration failed because the server rendered 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:
837
+ `+h.stack}return s}function ye(e,t,n,u,c,s,h){var p=Jn;Ju(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,u,c,s,h)):t(n,u,c,s,h)}finally{Ju(p)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ju(e){G.getCurrentStack=e===null?null:Xr,Dn=!1,Jn=e}function il(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Be(e),e;default:return""}}function ni(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ku(e){var t=ni(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Be(e[t]);var u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var c=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(h){Be(h),u=""+h,s.call(this,h)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(h){Be(h),u=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ta(e){e._valueTracker||(e._valueTracker=Ku(e))}function Zt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=ni(e)?e.checked?"true":"false":e.value),e=u,e!==n?(t.setValue(e),!0):!1}function Wu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xl(e){return e.replace(iy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function za(e,t){t.checked===void 0||t.defaultChecked===void 0||fp||(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",Jo()||"A component",t.type),fp=!0),t.value===void 0||t.defaultValue===void 0||rp||(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",Jo()||"A component",t.type),rp=!0)}function Oa(e,t,n,u,c,s,h,p){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(ie(h,"type"),e.type=h):e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+il(t)):e.value!==""+il(t)&&(e.value=""+il(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Ko(e,h,il(t)):n!=null?Ko(e,h,il(n)):u!=null&&e.removeAttribute("value"),c==null&&s!=null&&(e.defaultChecked=!!s),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?(ie(p,"name"),e.name=""+il(p)):e.removeAttribute("name")}function jr(e,t,n,u,c,s,h,p){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(ie(s,"type"),e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;n=n!=null?""+il(n):"",t=t!=null?""+il(t):n,p||t===e.value||(e.value=t),e.defaultValue=t}u=u??c,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=p?e.checked:!!u,e.defaultChecked=!!u,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(ie(h,"name"),e.name=h)}function Ko(e,t,n){t==="number"&&Wu(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ts(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?If.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||hp||(hp=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||im||(im=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||dp||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dp=!0)}function Qr(){var e=Jo();return e?`
838
+
839
+ Check the render method of \``+e+"`.":""}function la(e,t,n,u){if(e=e.options,t){t={};for(var c=0;c<n.length;c++)t["$"+n[c]]=!0;for(n=0;n<e.length;n++)c=t.hasOwnProperty("$"+e[n].value),e[n].selected!==c&&(e[n].selected=c),c&&u&&(e[n].defaultSelected=!0)}else{for(n=""+il(n),t=null,c=0;c<e.length;c++){if(e[c].value===n){e[c].selected=!0,u&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function Iu(e,t){for(e=0;e<ud.length;e++){var n=ud[e];if(t[n]!=null){var u=Ve(t[n]);t.multiple&&!u?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Qr()):!t.multiple&&u&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Qr())}}t.value===void 0||t.defaultValue===void 0||mp||(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"),mp=!0)}function Bn(e,t){t.value===void 0||t.defaultValue===void 0||Iv||(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",Jo()||"A component"),Iv=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Wo(e,t,n){if(t!=null&&(t=""+il(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+il(n):""}function ls(e,t,n,u){if(t==null){if(u!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ve(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");u=u[0]}n=u}n==null&&(n=""),t=n}n=il(t),e.defaultValue=n,u=e.textContent,u===n&&u!==""&&u!==null&&(e.value=u)}function ai(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?ai(e.children[0],t):e}function xl(e){return" "+" ".repeat(e)}function Ua(e){return"+ "+" ".repeat(e)}function ii(e){return"- "+" ".repeat(e)}function ns(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function dl(e,t){return Fv.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Fu(e,t,n){var u=120-2*n;if(t===null)return Ua(n)+dl(e,u)+`
840
+ `;if(typeof t=="string"){for(var c=0;c<t.length&&c<e.length&&t.charCodeAt(c)===e.charCodeAt(c);c++);return c>u-8&&10<c&&(e="..."+e.slice(c-8),t="..."+t.slice(c-8)),Ua(n)+dl(e,u)+`
841
+ `+ii(n)+dl(t,u)+`
842
+ `}return xl(n)+dl(e,u)+`
843
+ `}function as(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Ha(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Ve(e))return"[...]";if(e.$$typeof===zo)return(t=Oe(e.type))?"<"+t+">":"<...>";var n=as(e);if(n==="Object"){n="",t-=2;for(var u in e)if(e.hasOwnProperty(u)){var c=JSON.stringify(u);if(c!=='"'+u+'"'&&(u=c),t-=u.length-2,c=Ha(e[u],15>t?t:15),t-=c.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+u+":"+c}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function ui(e,t){return typeof e!="string"||Fv.test(e)?"{"+Ha(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function fu(e,t,n){var u=120-n.length-e.length,c=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var h=ui(t[s],120-n.length-s.length-1);u-=s.length+h.length+2,c.push(s+"="+h)}return c.length===0?n+"<"+e+`>
844
+ `:0<u?n+"<"+e+" "+c.join(" ")+`>
845
+ `:n+"<"+e+`
846
+ `+n+" "+c.join(`
847
+ `+n+" ")+`
848
+ `+n+`>
849
+ `}function Hd(e,t,n){var u="",c=Ke({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete c[s];var h=120-2*n-s.length-2,p=Ha(e[s],h);t.hasOwnProperty(s)?(h=Ha(t[s],h),u+=Ua(n)+s+": "+p+`
850
+ `,u+=ii(n)+s+": "+h+`
851
+ `):u+=Ua(n)+s+": "+p+`
852
+ `}for(var b in c)c.hasOwnProperty(b)&&(e=Ha(c[b],120-2*n-b.length-2),u+=ii(n)+b+": "+e+`
853
+ `);return u}function en(e,t,n,u){var c="",s=new Map;for(S in n)n.hasOwnProperty(S)&&s.set(S.toLowerCase(),S);if(s.size===1&&s.has("children"))c+=fu(e,t,xl(u));else{for(var h in t)if(t.hasOwnProperty(h)&&h!=="children"){var p=120-2*(u+1)-h.length-1,b=s.get(h.toLowerCase());if(b!==void 0){s.delete(h.toLowerCase());var S=t[h];b=n[b];var N=ui(S,p);p=ui(b,p),typeof S=="object"&&S!==null&&typeof b=="object"&&b!==null&&as(S)==="Object"&&as(b)==="Object"&&(2<Object.keys(S).length||2<Object.keys(b).length||-1<N.indexOf("...")||-1<p.indexOf("..."))?c+=xl(u+1)+h+`={{
854
+ `+Hd(S,b,u+2)+xl(u+1)+`}}
855
+ `:(c+=Ua(u+1)+h+"="+N+`
856
+ `,c+=ii(u+1)+h+"="+p+`
857
+ `)}else c+=xl(u+1)+h+"="+ui(t[h],p)+`
858
+ `}s.forEach(function(Q){if(Q!=="children"){var B=120-2*(u+1)-Q.length-1;c+=ii(u+1)+Q+"="+ui(n[Q],B)+`
859
+ `}}),c=c===""?xl(u)+"<"+e+`>
860
+ `:xl(u)+"<"+e+`
861
+ `+c+xl(u)+`>
862
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),c+=Fu(s,""+e,u+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=e==null?c+Fu(""+t,null,u+1):c+Fu(""+t,void 0,u+1)),c}function Io(e,t){var n=ns(e);if(n===null){for(n="",e=e.child;e;)n+=Io(e,t),e=e.sibling;return n}return xl(t)+"<"+n+`>
863
+ `}function Fo(e,t){var n=ai(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return xl(t)+`...
864
+ `+Fo(n,t+1);n="";var u=e.fiber._debugInfo;if(u)for(var c=0;c<u.length;c++){var s=u[c].name;typeof s=="string"&&(n+=xl(t)+"<"+s+`>
865
+ `,t++)}if(u="",c=e.fiber.pendingProps,e.fiber.tag===6)u=Fu(c,e.serverProps,t),t++;else if(s=ns(e.fiber),s!==null)if(e.serverProps===void 0){u=t;var h=120-2*u-s.length-2,p="";for(S in c)if(c.hasOwnProperty(S)&&S!=="children"){var b=ui(c[S],15);if(h-=S.length+b.length+2,0>h){p+=" ...";break}p+=" "+S+"="+b}u=xl(u)+"<"+s+p+`>
866
+ `,t++}else e.serverProps===null?(u=fu(s,c,Ua(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(u=en(s,c,e.serverProps,t),t++);var S="";for(c=e.fiber.child,s=0;c&&s<e.children.length;)h=e.children[s],h.fiber===c?(S+=Fo(h,t),s++):S+=Io(c,t),c=c.sibling;for(c&&0<e.children.length&&(S+=xl(t)+`...
867
+ `),c=e.serverTail,e.serverProps===null&&t--,e=0;e<c.length;e++)s=c[e],S=typeof s=="string"?S+(ii(t)+dl(s,120-2*t)+`
868
+ `):S+fu(s.type,s.props,ii(t));return n+u+S}function Pu(e){try{return`
869
+
870
+ `+Fo(e,0)}catch{return""}}function oi(e,t,n){for(var u=t,c=null,s=0;u;)u===e&&(s=0),c={fiber:u,children:c!==null?[c]:[],serverProps:u===t?n:u===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,u=u.return;return c!==null?Pu(c).replaceAll(/^[+-]/gm,">"):""}function is(e,t){var n=Ke({},e||gp),u={tag:t};return um.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),om.indexOf(t)!==-1&&(n.pTagInButtonScope=null),pp.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=u,t==="form"&&(n.formTag=u),t==="a"&&(n.aTagInScope=u),t==="button"&&(n.buttonTagInScope=u),t==="nobr"&&(n.nobrTagInScope=u),t==="p"&&(n.pTagInButtonScope=u),t==="li"&&(n.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=u),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=u),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function us(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return vp.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function du(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Zr(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Po(e,t){t=t||gp;var n=t.current;if(t=(n=us(e,n&&n.tag,t.implicitRootScope)?null:n)?null:du(e,t),t=n||t,!t)return!0;var u=t.tag;if(t=String(!!n)+"|"+e+"|"+u,Tr[t])return!1;Tr[t]=!0;var c=(t=Jn)?Zr(t.return,u):null,s=t!==null&&c!==null?oi(c,t,null):"",h="<"+e+">";return n?(n="",u==="table"&&e==="tr"&&(n+=" 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
871
+ This will cause a hydration error.%s`,h,u,n,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
872
+ This will cause a hydration error.%s`,h,u,s),t&&(e=t.return,c===null||e===null||c===e&&e._debugOwner===t._debugOwner||ye(c,function(){console.error(`<%s> cannot contain a nested %s.
873
+ See this log for the ancestor stack trace.`,u,h)})),!1}function eo(e,t,n){if(n||us("#text",t,!1))return!0;if(n="#text|"+t,Tr[n])return!1;Tr[n]=!0;var u=(n=Jn)?Zr(n,t):null;return n=n!==null&&u!==null?oi(u,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
874
+ This will cause a hydration error.%s`,t,n):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.
875
+ This will cause a hydration error.%s`,t,n),!1}function ci(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function wd(e){return e.replace(No,function(t,n){return n.toUpperCase()})}function $r(e,t,n){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?Yc.hasOwnProperty(t)&&Yc[t]||(Yc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,wd(t.replace(cd,"ms-")))):od.test(t)?Yc.hasOwnProperty(t)&&Yc[t]||(Yc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Pv.test(n)||Vc.hasOwnProperty(n)&&Vc[n]||(Vc[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Pv,""))),typeof n=="number"&&(isNaN(n)?eg||(eg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||yp||(yp=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,n):typeof n!="number"||n===0||sd.has(t)?t==="float"?e.cssFloat=n:(ve(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function to(e,t,n){if(t!=null&&typeof t!="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(t&&Object.freeze(t),e=e.style,n!=null){if(t){var u={};if(n){for(var c in n)if(n.hasOwnProperty(c)&&!t.hasOwnProperty(c))for(var s=ji[c]||[c],h=0;h<s.length;h++)u[s[h]]=c}for(var p in t)if(t.hasOwnProperty(p)&&(!n||n[p]!==t[p]))for(c=ji[p]||[p],s=0;s<c.length;s++)u[c[s]]=p;p={};for(var b in t)for(c=ji[b]||[b],s=0;s<c.length;s++)p[c[s]]=b;b={};for(var S in u)if(c=u[S],(s=p[S])&&c!==s&&(h=c+","+s,!b[h])){b[h]=!0,h=console;var N=t[c];h.error.call(h,"%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.",N==null||typeof N=="boolean"||N===""?"Removing":"Updating",c,s)}}for(var Q in n)!n.hasOwnProperty(Q)||t!=null&&t.hasOwnProperty(Q)||(Q.indexOf("--")===0?e.setProperty(Q,""):Q==="float"?e.cssFloat="":e[Q]="");for(var B in t)S=t[B],t.hasOwnProperty(B)&&n[B]!==S&&$r(e,B,S)}else for(u in t)t.hasOwnProperty(u)&&$r(e,u,t[u])}function si(e){if(e.indexOf("-")===-1)return!1;switch(e){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 ec(e){return cm.get(e)||e}function hu(e,t){if(wu.call(Qi,t)&&Qi[t])return!0;if(sm.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=bp.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Qi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Qi[t]=!0}if(Sp.test(t)){if(e=t.toLowerCase(),e=bp.hasOwnProperty(e)?e:null,e==null)return Qi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Qi[t]=!0)}return!0}function mu(e,t){var n=[],u;for(u in t)hu(e,u)||n.push(u);t=n.map(function(c){return"`"+c+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Jr(e,t,n,u){if(wu.call(on,t)&&on[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="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."),on[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(c)?e[c]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),on[t]=!0;if(fd.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),on[t]=!0}else if(fd.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),on[t]=!0;if(a.test(t)||i.test(t))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),on[t]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),on[t]=!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),on[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),on[t]=!0;if(Gc.hasOwnProperty(c)){if(c=Gc[c],c!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,c),on[t]=!0}else if(t!==c)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.",t,c),on[t]=!0;switch(t){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 n){case"boolean":switch(t){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 c=t.toLowerCase().slice(0,5),c==="data-"||c==="aria-"?!0:(n?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,t,t,n,t):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.',n,t,t,n,t,t,t),on[t]=!0)}case"function":case"symbol":return on[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){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}?",n,t,n==="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".',t,n),on[t]=!0}}return!0}function os(e,t,n){var u=[],c;for(c in t)Jr(e,c,t[c],n)||u.push(c);t=u.map(function(s){return"`"+s+"`"}).join(", "),u.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 ",t,e):1<u.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 ",t,e)}function pu(e){return o.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ri(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function kn(e){var t=Gl(e);if(t&&(e=t.stateNode)){var n=e[Rn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Oa(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(ie(t,"name"),n=n.querySelectorAll('input[name="'+Xl(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var c=u[Rn]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Oa(u,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<n.length;t++)u=n[t],u.form===e.form&&Zt(u)}break e;case"textarea":Wo(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&la(e,!!n.multiple,t,!1)}}}function tc(e,t,n){if(y)return e(t,n);y=!0;try{var u=e(t);return u}finally{if(y=!1,(d!==null||g!==null)&&(Rc(),d&&(t=d,e=g,g=d=null,kn(t),e)))for(t=0;t<e.length;t++)kn(e[t])}}function na(e,t){var n=e.stateNode;if(n===null)return null;var u=n[Rn]||null;if(u===null)return null;n=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function aa(){if(L)return L;var e,t=k,n=t.length,u,c="value"in P?P.value:P.textContent,s=c.length;for(e=0;e<n&&t[e]===c[e];e++);var h=n-e;for(u=1;u<=h&&t[n-u]===c[s-u];u++);return L=c.slice(e,1<u?1-u:void 0)}function vu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function fi(){return!0}function cs(){return!1}function ul(e){function t(n,u,c,s,h){this._reactName=n,this._targetInst=c,this.type=u,this.nativeEvent=s,this.target=h,this.currentTarget=null;for(var p in e)e.hasOwnProperty(p)&&(n=e[p],this[p]=n?n(s):s[p]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?fi:cs,this.isPropagationStopped=cs,this}return Ke(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=fi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=fi)},persist:function(){},isPersistent:fi}),t}function lc(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=S2[e])?!!t[e]:!1}function nc(){return lc}function El(e,t){switch(e){case"keyup":return U2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Nb;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ac(e,t){switch(e){case"compositionend":return wa(t);case"keypress":return t.which!==qb?null:(Vb=!0,Yb);case"textInput":return e=t.data,e===Yb&&Vb?null:e;default:return null}}function lo(e,t){if(rm)return e==="compositionend"||!oy&&El(e,t)?(e=aa(),L=k=P=null,rm=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lb&&t.locale!=="ko"?null:t.data;default:return null}}function Kr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!w2[e.type]:t==="textarea"}function ss(e){if(!E)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function ic(e,t,n,u){d?g?g.push(u):g=[u]:d=u,t=Gf(t,"onChange"),0<t.length&&(n=new Me("onChange","change",null,n,u),e.push({event:n,listeners:t}))}function no(e){ki(e,0)}function di(e){var t=Ma(e);if(Zt(t))return e}function rs(e,t){if(e==="change")return t}function Wr(){Ep&&(Ep.detachEvent("onpropertychange",Ir),_p=Ep=null)}function Ir(e){if(e.propertyName==="value"&&di(_p)){var t=[];ic(t,_p,e,ri(e)),tc(no,t)}}function Bd(e,t,n){e==="focusin"?(Wr(),Ep=t,_p=n,Ep.attachEvent("onpropertychange",Ir)):e==="focusout"&&Wr()}function fs(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return di(_p)}function kd(e,t){if(e==="click")return di(t)}function Nd(e,t){if(e==="input"||e==="change")return di(t)}function Ld(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ao(e,t){if(Kn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var c=n[u];if(!wu.call(t,c)||!Kn(e[c],t[c]))return!1}return!0}function Fr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ds(e,t){var n=Fr(e);e=0;for(var u;n;){if(n.nodeType===3){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ef(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wu(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wu(e.document)}return t}function hs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function tf(e,t,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sy||fm==null||fm!==Wu(u)||(u=fm,"selectionStart"in u&&hs(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Cp&&ao(Cp,u)||(Cp=u,u=Gf(cy,"onSelect"),0<u.length&&(t=new Me("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=fm)))}function ia(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function hi(e){if(ry[e])return ry[e];if(!dm[e])return e;var t=dm[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xb)return ry[e]=t[n];return e}function hn(e,t){Jb.set(e,t),Ra(t,[e])}function jl(e,t){if(typeof e=="object"&&e!==null){var n=dy.get(e);return n!==void 0?n:(t={value:e,source:t,stack:$o(t)},dy.set(e,t),t)}return{value:e,source:t,stack:$o(t)}}function io(){for(var e=hm,t=my=hm=0;t<e;){var n=Zi[t];Zi[t++]=null;var u=Zi[t];Zi[t++]=null;var c=Zi[t];Zi[t++]=null;var s=Zi[t];if(Zi[t++]=null,u!==null&&c!==null){var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}s!==0&&lf(n,c,s)}}function uc(e,t,n,u){Zi[hm++]=e,Zi[hm++]=t,Zi[hm++]=n,Zi[hm++]=u,my|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function ms(e,t,n,u){return uc(e,t,n,u),oc(e)}function Ol(e,t){return uc(e,null,null,t),oc(e)}function lf(e,t,n){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n);for(var c=!1,s=e.return;s!==null;)s.childLanes|=n,u=s.alternate,u!==null&&(u.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&hy||(c=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,c&&t!==null&&(c=31-Kl(n),e=s.hiddenUpdates,u=e[c],u===null?e[c]=[t]:u.push(t),t.lane=n|536870912),s):null}function oc(e){if($p>nT)throw Cd=$p=0,Jp=jy=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.");Cd>aT&&(Cd=0,Jp=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.")),e.alternate===null&&(e.flags&4098)!==0&&Ja(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ja(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function mi(e){if($i===null)return e;var t=$i(e);return t===void 0?e:t.current}function ps(e){if($i===null)return e;var t=$i(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=mi(e.render),e.render!==t)?(t={$$typeof:Uu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function nf(e,t){if($i===null)return!1;var n=e.elementType;t=t.type;var u=!1,c=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||c===$n)&&(u=!0);break;case 11:(c===Uu||c===$n)&&(u=!0);break;case 14:case 15:(c===Pf||c===$n)&&(u=!0);break;default:return!1}return!!(u&&(e=$i(n),e!==void 0&&e===$i(t)))}function af(e){$i!==null&&typeof WeakSet=="function"&&(mm===null&&(mm=new WeakSet),mm.add(e))}function uo(e,t,n){var u=e.alternate,c=e.child,s=e.sibling,h=e.tag,p=e.type,b=null;switch(h){case 0:case 15:case 1:b=p;break;case 11:b=p.render}if($i===null)throw Error("Expected resolveFamily to be set during hot reload.");var S=!1;p=!1,b!==null&&(b=$i(b),b!==void 0&&(n.has(b)?p=!0:t.has(b)&&(h===1?p=!0:S=!0))),mm!==null&&(mm.has(e)||u!==null&&mm.has(u))&&(p=!0),p&&(e._debugNeedsRemount=!0),(p||S)&&(u=Ol(e,2),u!==null&&Kt(u,e,2)),c===null||p||uo(c,t,n),s!==null&&uo(s,t,n)}function oo(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,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,Wb||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nn(e,t){var n=e.alternate;switch(n===null?(n=V(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=mi(e.type);break;case 1:n.type=mi(e.type);break;case 11:n.type=ps(e.type)}return n}function gs(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function cc(e,t,n,u,c,s){var h=0,p=e;if(typeof e=="function")vs(e)&&(h=1),p=mi(p);else if(typeof e=="string")h=D(),h=cr(e,n,h)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case np:return t=V(31,n,t,c),t.elementType=np,t.lanes=s,t;case je:return Ba(n.children,c,s,t);case rr:h=8,c|=zn,c|=qu;break;case fr:return e=n,u=c,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=V(12,e,t,u|cn),t.elementType=fr,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case dr:return t=V(13,n,t,c),t.elementType=dr,t.lanes=s,t;case Oo:return t=V(19,n,t,c),t.elementType=Oo,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case lp:case ya:h=10;break e;case Jh:h=9;break e;case Uu:h=11,p=ps(p);break e;case Pf:h=14;break e;case $n:h=16,p=null;break e}p="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Ve(e)?n="array":e!==void 0&&e.$$typeof===zo?(n="<"+(Oe(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(h=u?at(u):null)&&(p+=`
876
+
877
+ Check the render method of \``+h+"`."),h=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+p)),p=null}return t=V(h,n,t,c),t.elementType=e,t.type=p,t.lanes=s,t._debugOwner=u,t}function co(e,t,n){return t=cc(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Ba(e,t,n,u){return e=V(7,e,u,t),e.lanes=n,e}function ka(e,t,n){return e=V(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=V(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pi(e,t){mn(),pm[vm++]=lg,pm[vm++]=tg,tg=e,lg=t}function uf(e,t,n){mn(),Ji[Ki++]=Xc,Ji[Ki++]=jc,Ji[Ki++]=hd,hd=e;var u=Xc;e=jc;var c=32-Kl(u)-1;u&=~(1<<c),n+=1;var s=32-Kl(t)+c;if(30<s){var h=c-c%5;s=(u&(1<<h)-1).toString(32),u>>=h,c-=h,Xc=1<<32-Kl(t)+c|n<<c|u,jc=s+e}else Xc=1<<s|n<<c|u,jc=e}function sc(e){mn(),e.return!==null&&(pi(e,1),uf(e,1,0))}function rc(e){for(;e===tg;)tg=pm[--vm],pm[vm]=null,lg=pm[--vm],pm[vm]=null;for(;e===hd;)hd=Ji[--Ki],Ji[Ki]=null,jc=Ji[--Ki],Ji[Ki]=null,Xc=Ji[--Ki],Ji[Ki]=null}function mn(){mt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function pn(e,t){if(e.return===null){if(Wi===null)Wi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Wi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Wi.distanceFromLeaf>t&&(Wi.distanceFromLeaf=t)}return Wi}var n=pn(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function bs(e,t){Qc||(e=pn(e,0),e.serverProps=null,t!==null&&(t=Lh(t),e.serverTail.push(t)))}function Ln(e){var t="",n=Wi;throw n!==null&&(Wi=null,t=Pu(n)),gu(jl(Error(`Hydration failed because the server rendered 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:
1008
878
 
1009
879
  - A server/client branch \`if (typeof window !== 'undefined')\`.
1010
880
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -1014,7 +884,7 @@ Check the render method of \``+h+"`."),h=29,l=Error("Element type is invalid: ex
1014
884
 
1015
885
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
1016
886
 
1017
- https://react.dev/link/hydration-mismatch`+t),e)),Cy}function Ec(e){var t=e.stateNode,l=e.type,u=e.memoizedProps;switch(t[Fn]=e,t[Dl]=u,Li(l,u),l){case"dialog":Pe("cancel",t),Pe("close",t);break;case"iframe":case"object":case"embed":Pe("load",t);break;case"video":case"audio":for(l=0;l<ev.length;l++)Pe(ev[l],t);break;case"source":Pe("error",t);break;case"img":case"image":case"link":Pe("error",t),Pe("load",t);break;case"details":Pe("toggle",t);break;case"input":za("input",u),Pe("invalid",t),Oa(t,u),Kr(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),na(t);break;case"option":ac(t,u);break;case"select":za("select",u),Pe("invalid",t),Pu(t,u);break;case"textarea":za("textarea",u),Pe("invalid",t),Bl(t,u),ic(t,u.value,u.defaultValue,u.children),na(t)}l=u.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||u.suppressHydrationWarning===!0||Yp(t.textContent,l)?(u.popover!=null&&(Pe("beforetoggle",t),Pe("toggle",t)),u.onScroll!=null&&Pe("scroll",t),u.onScrollEnd!=null&&Pe("scrollend",t),u.onClick!=null&&(t.onclick=zu),t=!0):t=!1,t||ql(e)}function Cc(e){for(Wl=e.return;Wl;)switch(Wl.tag){case 5:case 13:Vo=!1;return;case 27:case 3:Vo=!0;return;default:Wl=Wl.return}}function gi(e){if(e!==Wl)return!1;if(!mt)return Cc(e),mt=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||qi(e.type,e.memoizedProps)),l=!l),l&&fn){for(l=fn;l;){var u=vl(e,0),s=jh(l);u.serverTail.push(s),l=s.type==="Suspense"?Jp(l):Ln(l.nextSibling)}ql(e)}if(Cc(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fn=Jp(e)}else t===27?(t=fn,Yi(e.type)?(e=fb,fb=null,fn=e):fn=t):fn=Wl?Ln(e.stateNode.nextSibling):null;return!0}function yi(){fn=Wl=null,Js=mt=!1}function _c(){var e=bd;return e!==null&&(ea===null?ea=e:ea.push.apply(ea,e),bd=null),e}function bu(e){bd===null?bd=[e]:bd.push(e)}function Ac(){var e=Wi;if(e!==null){Wi=null;for(var t=to(e);0<e.children.length;)e=e.children[0];ye(e.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:
887
+ https://react.dev/link/hydration-mismatch`+t),e)),py}function Ss(e){var t=e.stateNode,n=e.type,u=e.memoizedProps;switch(t[Wl]=e,t[Rn]=u,Ni(n,u),n){case"dialog":Pe("cancel",t),Pe("close",t);break;case"iframe":case"object":case"embed":Pe("load",t);break;case"video":case"audio":for(n=0;n<Kp.length;n++)Pe(Kp[n],t);break;case"source":Pe("error",t);break;case"img":case"image":case"link":Pe("error",t),Pe("load",t);break;case"details":Pe("toggle",t);break;case"input":Da("input",u),Pe("invalid",t),za(t,u),jr(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),ta(t);break;case"option":ts(t,u);break;case"select":Da("select",u),Pe("invalid",t),Iu(t,u);break;case"textarea":Da("textarea",u),Pe("invalid",t),Bn(t,u),ls(t,u.value,u.defaultValue,u.children),ta(t)}n=u.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||u.suppressHydrationWarning===!0||B0(t.textContent,n)?(u.popover!=null&&(Pe("beforetoggle",t),Pe("toggle",t)),u.onScroll!=null&&Pe("scroll",t),u.onScrollEnd!=null&&Pe("scrollend",t),u.onClick!=null&&(t.onclick=Ru),t=!0):t=!1,t||Ln(e)}function Ts(e){for(Wn=e.return;Wn;)switch(Wn.tag){case 5:case 13:qo=!1;return;case 27:case 3:qo=!0;return;default:Wn=Wn.return}}function vi(e){if(e!==Wn)return!1;if(!mt)return Ts(e),mt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Li(e.type,e.memoizedProps)),n=!n),n&&sl){for(n=sl;n;){var u=pn(e,0),c=Lh(n);u.serverTail.push(c),n=c.type==="Suspense"?X0(n):kl(n.nextSibling)}Ln(e)}if(Ts(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");sl=X0(e)}else t===27?(t=sl,qi(e.type)?(e=lb,lb=null,sl=e):sl=t):sl=Wn?kl(e.stateNode.nextSibling):null;return!0}function gi(){sl=Wn=null,Qc=mt=!1}function xs(){var e=md;return e!==null&&(Pn===null?Pn=e:Pn.push.apply(Pn,e),md=null),e}function gu(e){md===null?md=[e]:md.push(e)}function Es(){var e=Wi;if(e!==null){Wi=null;for(var t=Pu(e);0<e.children.length;)e=e.children[0];ye(e.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:
1018
888
 
1019
889
  - A server/client branch \`if (typeof window !== 'undefined')\`.
1020
890
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -1024,56 +894,56 @@ https://react.dev/link/hydration-mismatch`+t),e)),Cy}function Ec(e){var t=e.stat
1024
894
 
1025
895
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
1026
896
 
1027
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function ms(){xm=fg=null,Em=!1}function La(e,t,l){Ee(_y,t._currentValue,e),t._currentValue=l,Ee(Ay,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==m1&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=m1}function oa(e,t){e._currentValue=_y.current;var l=Ay.current;Re(Ay,t),e._currentRenderer=l,Re(_y,t)}function Mc(e,t,l){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===l)break;e=e.return}e!==l&&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 Rc(e,t,l,u){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var c=s.dependencies;if(c!==null){var h=s.child;c=c.firstContext;e:for(;c!==null;){var v=c;c=s;for(var S=0;S<t.length;S++)if(v.context===t[S]){c.lanes|=l,v=c.alternate,v!==null&&(v.lanes|=l),Mc(c.return,l,e),u||(h=null);break e}c=v.next}}else if(s.tag===18){if(h=s.return,h===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes|=l,c=h.alternate,c!==null&&(c.lanes|=l),Mc(h,l,e),h=null}else h=s.child;if(h!==null)h.return=s;else for(h=s;h!==null;){if(h===e){h=null;break}if(s=h.sibling,s!==null){s.return=h.return,h=s;break}h=h.return}s=h}}function cn(e,t,l,u){e=null;for(var s=t,c=!1;s!==null;){if(!c){if((s.flags&524288)!==0)c=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var h=s.alternate;if(h===null)throw Error("Should have a current fiber. This is a bug in React.");if(h=h.memoizedProps,h!==null){var v=s.type;Il(s.pendingProps.value,h.value)||(e!==null?e.push(v):e=[v])}}else if(s===gr.current){if(h=s.alternate,h===null)throw Error("Should have a current fiber. This is a bug in React.");h.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(av):e=[av])}s=s.return}e!==null&&Rc(t,e,l,u),t.flags|=262144}function qa(e){for(e=e.firstContext;e!==null;){if(!Il(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ya(e){fg=e,xm=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return Em&&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()."),Dc(fg,e)}function fo(e,t){return fg===null&&Ya(e),Dc(e,t)}function Dc(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},xm===null){if(e===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().");xm=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else xm=xm.next=t;return l}function ho(){return{controller:new yT,data:new Map,refCount:0}}function bi(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Yl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&bT(ST,function(){e.controller.abort()})}function gl(){var e=Sd;return Sd=0,e}function Va(e){var t=Sd;return Sd=e,t}function Si(e){var t=Sd;return Sd+=e,t}function ps(e){xa=Cm(),0>e.actualStartTime&&(e.actualStartTime=xa)}function sa(e){if(0<=xa){var t=Cm()-xa;e.actualDuration+=t,e.selfBaseDuration=t,xa=-1}}function Ti(e){if(0<=xa){var t=Cm()-xa;e.actualDuration+=t,xa=-1}}function ll(){if(0<=xa){var e=Cm()-xa;xa=-1,Sd+=e}}function yl(){xa=Cm()}function Vl(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function df(e,t){if(O0===null){var l=O0=[];My=0,Td=kp(),_m={status:"pending",value:void 0,then:function(u){l.push(u)}}}return My++,t.then(zc,zc),t}function zc(){if(--My===0&&O0!==null){_m!==null&&(_m.status="fulfilled");var e=O0;O0=null,Td=0,_m=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function hf(e,t){var l=[],u={status:"pending",value:null,reason:null,then:function(s){l.push(s)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var s=0;s<l.length;s++)(0,l[s])(t)},function(s){for(u.status="rejected",u.reason=s,s=0;s<l.length;s++)(0,l[s])(void 0)}),u}function Oc(){var e=xd.current;return e!==null?e:Ut.pooledCache}function vs(e,t){t===null?Ee(xd,xd.current,e):Ee(xd,t.pool,e)}function mf(){var e=Oc();return e===null?null:{parent:Vn._currentValue,pool:e}}function Uc(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function wc(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Su(){}function al(e,t,l){G.actQueue!==null&&(G.didUsePromise=!0);var u=e.thenables;switch(l=u[l],l===void 0?u.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.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.")),t.then(Su,Su),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,$n(e),e;default:if(typeof t.status=="string")t.then(Su,Su);else{if(e=Ut,e!==null&&100<e.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.");e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=s}},function(s){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,$n(e),e}throw q0=t,gg=!0,L0}}function Hc(){if(q0===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=q0;return q0=null,gg=!1,e}function $n(e){if(e===L0||e===vg)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 Hn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gl(e){return{lane:e,tag:b1,payload:null,callback:null,next:null}}function De(e,t,l){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,zy===u&&!x1){var s=me(e);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.
897
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function fc(){gm=ng=null,ym=!1}function Na(e,t,n){Ee(vy,t._currentValue,e),t._currentValue=n,Ee(gy,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==e1&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=e1}function ua(e,t){e._currentValue=vy.current;var n=gy.current;Re(gy,t),e._currentRenderer=n,Re(vy,t)}function _s(e,t,n){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}e!==n&&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 Cs(e,t,n,u){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var s=c.dependencies;if(s!==null){var h=c.child;s=s.firstContext;e:for(;s!==null;){var p=s;s=c;for(var b=0;b<t.length;b++)if(p.context===t[b]){s.lanes|=n,p=s.alternate,p!==null&&(p.lanes|=n),_s(s.return,n,e),u||(h=null);break e}s=p.next}}else if(c.tag===18){if(h=c.return,h===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes|=n,s=h.alternate,s!==null&&(s.lanes|=n),_s(h,n,e),h=null}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===e){h=null;break}if(c=h.sibling,c!==null){c.return=h.return,h=c;break}h=h.return}c=h}}function ol(e,t,n,u){e=null;for(var c=t,s=!1;c!==null;){if(!s){if((c.flags&524288)!==0)s=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var h=c.alternate;if(h===null)throw Error("Should have a current fiber. This is a bug in React.");if(h=h.memoizedProps,h!==null){var p=c.type;Kn(c.pendingProps.value,h.value)||(e!==null?e.push(p):e=[p])}}else if(c===mr.current){if(h=c.alternate,h===null)throw Error("Should have a current fiber. This is a bug in React.");h.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Pp):e=[Pp])}c=c.return}e!==null&&Cs(t,e,n,u),t.flags|=262144}function La(e){for(e=e.firstContext;e!==null;){if(!Kn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qa(e){ng=e,gm=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return ym&&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()."),As(ng,e)}function so(e,t){return ng===null&&qa(e),As(e,t)}function As(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},gm===null){if(e===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().");gm=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else gm=gm.next=t;return n}function ro(){return{controller:new G2,data:new Map,refCount:0}}function yi(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function qn(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&X2(j2,function(){e.controller.abort()})}function vn(){var e=pd;return pd=0,e}function Ya(e){var t=pd;return pd=e,t}function bi(e){var t=pd;return pd+=e,t}function dc(e){Ta=bm(),0>e.actualStartTime&&(e.actualStartTime=Ta)}function oa(e){if(0<=Ta){var t=bm()-Ta;e.actualDuration+=t,e.selfBaseDuration=t,Ta=-1}}function Si(e){if(0<=Ta){var t=bm()-Ta;e.actualDuration+=t,Ta=-1}}function tn(){if(0<=Ta){var e=bm()-Ta;Ta=-1,pd+=e}}function gn(){Ta=bm()}function Yn(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function of(e,t){if(Ap===null){var n=Ap=[];yy=0,vd=z0(),Sm={status:"pending",value:void 0,then:function(u){n.push(u)}}}return yy++,t.then(Ms,Ms),t}function Ms(){if(--yy===0&&Ap!==null){Sm!==null&&(Sm.status="fulfilled");var e=Ap;Ap=null,vd=0,Sm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function cf(e,t){var n=[],u={status:"pending",value:null,reason:null,then:function(c){n.push(c)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var c=0;c<n.length;c++)(0,n[c])(t)},function(c){for(u.status="rejected",u.reason=c,c=0;c<n.length;c++)(0,n[c])(void 0)}),u}function Rs(){var e=gd.current;return e!==null?e:Ut.pooledCache}function hc(e,t){t===null?Ee(gd,gd.current,e):Ee(gd,t.pool,e)}function sf(){var e=Rs();return e===null?null:{parent:ql._currentValue,pool:e}}function Ds(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function zs(e){return e=e.status,e==="fulfilled"||e==="rejected"}function yu(){}function ln(e,t,n){G.actQueue!==null&&(G.didUsePromise=!0);var u=e.thenables;switch(n=u[n],n===void 0?u.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.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.")),t.then(yu,yu),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ql(e),e;default:if(typeof t.status=="string")t.then(yu,yu);else{if(e=Ut,e!==null&&100<e.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.");e=t,e.status="pending",e.then(function(c){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=c}},function(c){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=c}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ql(e),e}throw wp=t,sg=!0,Hp}}function Os(){if(wp===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=wp;return wp=null,sg=!1,e}function Ql(e){if(e===Hp||e===cg)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 Ul(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Va(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Vn(e){return{lane:e,tag:i1,payload:null,callback:null,next:null}}function ze(e,t,n){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,Ty===u&&!c1){var c=me(e);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.
1028
898
 
1029
- Please update the following component: %s`,s),x1=!0}return(Tt&Pl)!==Fa?(s=u.pending,s===null?t.next=t:(t.next=s.next,s.next=t),u.pending=t,t=rs(e),sf(e,null,l),t):(cs(e,u,t,l),rs(e))}function mo(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,l|=u,t.lanes=l,zt(e,l)}}function kc(e,t){var l=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var s=null,c=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};c===null?s=c=h:c=c.next=h,l=l.next}while(l!==null);c===null?s=c=t:c=c.next=t}else s=c=t;l={baseState:u.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:u.shared,callbacks:u.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function xi(){if(Oy){var e=_m;if(e!==null)throw e}}function Bc(e,t,l,u){Oy=!1;var s=e.updateQueue;Mr=!1,zy=s.shared;var c=s.firstBaseUpdate,h=s.lastBaseUpdate,v=s.shared.pending;if(v!==null){s.shared.pending=null;var S=v,x=S.next;S.next=null,h===null?c=x:h.next=x,h=S;var N=e.alternate;N!==null&&(N=N.updateQueue,v=N.lastBaseUpdate,v!==h&&(v===null?N.firstBaseUpdate=x:v.next=x,N.lastBaseUpdate=S))}if(c!==null){var Q=s.baseState;h=0,N=x=S=null,v=c;do{var k=v.lane&-536870913,$=k!==v.lane;if($?(it&k)===k:(u&k)===k){k!==0&&k===Td&&(Oy=!0),N!==null&&(N=N.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{k=e;var Se=v,Ne=t,wt=l;switch(Se.tag){case S1:if(Se=Se.payload,typeof Se=="function"){Em=!0;var ot=Se.call(wt,Q,Ne);if(k.mode&Ol){$e(!0);try{Se.call(wt,Q,Ne)}finally{$e(!1)}}Em=!1,Q=ot;break e}Q=Se;break e;case Dy:k.flags=k.flags&-65537|128;case b1:if(ot=Se.payload,typeof ot=="function"){if(Em=!0,Se=ot.call(wt,Q,Ne),k.mode&Ol){$e(!0);try{ot.call(wt,Q,Ne)}finally{$e(!1)}}Em=!1}else Se=ot;if(Se==null)break e;Q=Ke({},Q,Se);break e;case T1:Mr=!0}}k=v.callback,k!==null&&(e.flags|=64,$&&(e.flags|=8192),$=s.callbacks,$===null?s.callbacks=[k]:$.push(k))}else $={lane:k,tag:v.tag,payload:v.payload,callback:v.callback,next:null},N===null?(x=N=$,S=Q):N=N.next=$,h|=k;if(v=v.next,v===null){if(v=s.shared.pending,v===null)break;$=v,v=$.next,$.next=null,s.lastBaseUpdate=$,s.shared.pending=null}}while(!0);N===null&&(S=Q),s.baseState=S,s.firstBaseUpdate=x,s.lastBaseUpdate=N,c===null&&(s.shared.lanes=0),Or|=h,e.lanes=h,e.memoizedState=Q}zy=null}function pf(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Nc(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)pf(l[e],t)}function xv(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)pf(l[e],t)}function bl(e,t){var l=Xo;Ee(yg,l,e),Ee(Am,t,e),Xo=l|t.baseLanes}function vf(e){Ee(yg,Xo,e),Ee(Am,Am.current,e)}function ja(e){Xo=yg.current,Re(Am,e),Re(yg,e)}function Ie(){var e=X;eu===null?eu=[e]:eu.push(e)}function ne(){var e=X;if(eu!==null&&(Is++,eu[Is]!==e)){var t=me(Ge);if(!E1.has(t)&&(E1.add(t),eu!==null)){for(var l="",u=0;u<=Is;u++){var s=eu[u],c=u===Is?e:s;for(s=u+1+". "+s;30>s.length;)s+=" ";s+=c+`
1030
- `,l+=s}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
899
+ Please update the following component: %s`,c),c1=!0}return(Tt&Fn)!==Ia?(c=u.pending,c===null?t.next=t:(t.next=c.next,c.next=t),u.pending=t,t=oc(e),lf(e,null,n),t):(uc(e,u,t,n),oc(e))}function fo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,zt(e,n)}}function Us(e,t){var n=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,n===u)){var c=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?c=s=h:s=s.next=h,n=n.next}while(n!==null);s===null?c=s=t:s=s.next=t}else c=s=t;n={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:s,shared:u.shared,callbacks:u.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ti(){if(xy){var e=Sm;if(e!==null)throw e}}function Hs(e,t,n,u){xy=!1;var c=e.updateQueue;_r=!1,Ty=c.shared;var s=c.firstBaseUpdate,h=c.lastBaseUpdate,p=c.shared.pending;if(p!==null){c.shared.pending=null;var b=p,S=b.next;b.next=null,h===null?s=S:h.next=S,h=b;var N=e.alternate;N!==null&&(N=N.updateQueue,p=N.lastBaseUpdate,p!==h&&(p===null?N.firstBaseUpdate=S:p.next=S,N.lastBaseUpdate=b))}if(s!==null){var Q=c.baseState;h=0,N=S=b=null,p=s;do{var B=p.lane&-536870913,$=B!==p.lane;if($?(it&B)===B:(u&B)===B){B!==0&&B===vd&&(xy=!0),N!==null&&(N=N.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{B=e;var Se=p,Le=t,Ht=n;switch(Se.tag){case u1:if(Se=Se.payload,typeof Se=="function"){ym=!0;var ot=Se.call(Ht,Q,Le);if(B.mode&zn){$e(!0);try{Se.call(Ht,Q,Le)}finally{$e(!1)}}ym=!1,Q=ot;break e}Q=Se;break e;case Sy:B.flags=B.flags&-65537|128;case i1:if(ot=Se.payload,typeof ot=="function"){if(ym=!0,Se=ot.call(Ht,Q,Le),B.mode&zn){$e(!0);try{ot.call(Ht,Q,Le)}finally{$e(!1)}}ym=!1}else Se=ot;if(Se==null)break e;Q=Ke({},Q,Se);break e;case o1:_r=!0}}B=p.callback,B!==null&&(e.flags|=64,$&&(e.flags|=8192),$=c.callbacks,$===null?c.callbacks=[B]:$.push(B))}else $={lane:B,tag:p.tag,payload:p.payload,callback:p.callback,next:null},N===null?(S=N=$,b=Q):N=N.next=$,h|=B;if(p=p.next,p===null){if(p=c.shared.pending,p===null)break;$=p,p=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);N===null&&(b=Q),c.baseState=b,c.firstBaseUpdate=S,c.lastBaseUpdate=N,s===null&&(c.shared.lanes=0),Rr|=h,e.lanes=h,e.memoizedState=Q}Ty=null}function rf(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ws(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)rf(n[e],t)}function mv(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)rf(n[e],t)}function yn(e,t){var n=Go;Ee(rg,n,e),Ee(Tm,t,e),Go=n|t.baseLanes}function ff(e){Ee(rg,Go,e),Ee(Tm,Tm.current,e)}function Ga(e){Go=rg.current,Re(Tm,e),Re(rg,e)}function We(){var e=j;Pi===null?Pi=[e]:Pi.push(e)}function le(){var e=j;if(Pi!==null&&($c++,Pi[$c]!==e)){var t=me(Ge);if(!s1.has(t)&&(s1.add(t),Pi!==null)){for(var n="",u=0;u<=$c;u++){var c=Pi[u],s=u===$c?e:c;for(c=u+1+". "+c;30>c.length;)c+=" ";c+=s+`
900
+ `,n+=c}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
1031
901
 
1032
902
  Previous render Next render
1033
903
  ------------------------------------------------------
1034
904
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1035
- `,t,l)}}}function ca(e){e==null||Ve(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",X,typeof e)}function Lc(){var e=me(Ge);_1.has(e)||(_1.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){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:
905
+ `,t,n)}}}function ca(e){e==null||Ve(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",j,typeof e)}function Bs(){var e=me(Ge);f1.has(e)||(f1.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Gt(){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:
1036
906
  1. You might have mismatching versions of React and the renderer (such as React DOM)
1037
907
  2. You might be breaking the Rules of Hooks
1038
908
  3. You might have more than one copy of React in the same app
1039
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function po(e,t){if(V0)return!1;if(t===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.",X),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
909
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function ho(e,t){if(kp)return!1;if(t===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.",j),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
1040
910
 
1041
911
  Previous: %s
1042
- Incoming: %s`,X,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!Il(e[l],t[l]))return!1;return!0}function vo(e,t,l,u,s,c){Rr=c,Ge=t,eu=e!==null?e._debugHookTypes:null,Is=-1,V0=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(c=me(Ge),Uy.has(c)||(Uy.add(c),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.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e!==null&&e.memoizedState!==null?Hy:eu!==null?A1:wy,Cd=c=(t.mode&Ol)!==qt;var h=ky(l,u,s);if(Cd=!1,Rm&&(h=qc(t,l,u,s)),c){$e(!0);try{h=qc(t,l,u,s)}finally{$e(!1)}}return gf(e,t),h}function gf(e,t){t._debugHookTypes=eu,t.dependencies===null?Ks!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Ks}):t.dependencies._debugThenableState=Ks,G.H=Tg;var l=Dt!==null&&Dt.next!==null;if(Rr=0,eu=X=On=Dt=Ge=null,Is=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),bg=!1,Y0=0,Ks=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Pn||(e=e.dependencies,e!==null&&qa(e)&&(Pn=!0)),gg?(gg=!1,e=!0):e=!1,e&&(t=me(t)||"Unknown",C1.has(t)||Uy.has(t)||(C1.add(t),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 qc(e,t,l,u){Ge=e;var s=0;do{if(Rm&&(Ks=null),Y0=0,Rm=!1,s>=xT)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,V0=!1,On=Dt=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}Is=-1,G.H=M1,c=ky(t,l,u)}while(Rm);return c}function ra(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?gs(t):t,e=e.useState()[0],(Dt!==null?Dt.memoizedState:null)!==e&&(Ge.flags|=1024),t}function Sl(){var e=Sg!==0;return Sg=0,e}function Tu(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Vu)!==qt?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function Xa(e){if(bg){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}bg=!1}Rr=0,eu=On=Dt=Ge=null,Is=-1,X=null,Rm=!1,Y0=Sg=0,Ks=null}function Jt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return On===null?Ge.memoizedState=On=e:On=On.next=e,On}function ut(){if(Dt===null){var e=Ge.alternate;e=e!==null?e.memoizedState:null}else e=Dt.next;var t=On===null?Ge.memoizedState:On.next;if(t!==null)On=t,Dt=e;else{if(e===null)throw Ge.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.");Dt=e,e={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},On===null?Ge.memoizedState=On=e:On=On.next=e}return On}function Xd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gs(e){var t=Y0;return Y0+=1,Ks===null&&(Ks=Uc()),e=al(Ks,e,t),t=Ge,(On===null?t.memoizedState:On.next)===null&&(t=t.alternate,G.H=t!==null&&t.memoizedState!==null?Hy:wy),e}function Ei(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gs(e);if(e.$$typeof===ba)return Et(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function an(e){var t=null,l=Ge.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var u=Ge.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Xd(),Ge.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||V0)for(l=t.data[t.index]=Array(e),u=0;u<e;u++)l[u]=Wv;else l.length!==e&&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.",l.length,e);return t.index++,l}function ft(e,t){return typeof t=="function"?t(e):t}function ct(e,t,l){var u=Jt();if(l!==void 0){var s=l(t);if(Cd){$e(!0);try{l(t)}finally{$e(!1)}}}else s=t;return u.memoizedState=u.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},u.queue=e,e=e.dispatch=ap.bind(null,Ge,e),[u.memoizedState,e]}function fa(e){var t=ut();return da(t,Dt,e)}function da(e,t,l){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=l;var s=e.baseQueue,c=u.pending;if(c!==null){if(s!==null){var h=s.next;s.next=c.next,c.next=h}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=c,u.pending=null}if(c=e.baseState,s===null)e.memoizedState=c;else{t=s.next;var v=h=null,S=null,x=t,N=!1;do{var Q=x.lane&-536870913;if(Q!==x.lane?(it&Q)===Q:(Rr&Q)===Q){var k=x.revertLane;if(k===0)S!==null&&(S=S.next={lane:0,revertLane:0,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),Q===Td&&(N=!0);else if((Rr&k)===k){x=x.next,k===Td&&(N=!0);continue}else Q={lane:0,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},S===null?(v=S=Q,h=c):S=S.next=Q,Ge.lanes|=k,Or|=k;Q=x.action,Cd&&l(c,Q),c=x.hasEagerState?x.eagerState:l(c,Q)}else k={lane:Q,revertLane:x.revertLane,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},S===null?(v=S=k,h=c):S=S.next=k,Ge.lanes|=Q,Or|=Q;x=x.next}while(x!==null&&x!==t);if(S===null?h=c:S.next=v,!Il(c,e.memoizedState)&&(Pn=!0,N&&(l=_m,l!==null)))throw l;e.memoizedState=c,e.baseState=h,e.baseQueue=S,u.lastRenderedState=c}return s===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function ys(e){var t=ut(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var u=l.dispatch,s=l.pending,c=t.memoizedState;if(s!==null){l.pending=null;var h=s=s.next;do c=e(c,h.action),h=h.next;while(h!==s);Il(c,t.memoizedState)||(Pn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),l.lastRenderedState=c}return[c,u]}function xu(e,t,l){var u=Ge,s=Jt();if(mt){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=l();Mm||c===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Mm=!0)}else{if(c=t(),Mm||(l=t(),Il(c,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Mm=!0)),Ut===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(it&124)!==0||Im(u,t,c)}return s.memoizedState=c,l={value:c,getSnapshot:t},s.queue=l,$d(Vc.bind(null,u,l,e),[e]),u.flags|=2048,_i(Pi|Gn,yo(),Yc.bind(null,u,l,c,t),null),c}function yf(e,t,l){var u=Ge,s=ut(),c=mt;if(c){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!Mm){var h=t();Il(l,h)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Mm=!0)}(h=!Il((Dt||s).memoizedState,l))&&(s.memoizedState=l,Pn=!0),s=s.queue;var v=Vc.bind(null,u,s,e);if(vn(2048,Gn,v,[e]),s.getSnapshot!==t||h||On!==null&&On.memoizedState.tag&Pi){if(u.flags|=2048,_i(Pi|Gn,yo(),Yc.bind(null,u,s,l,t),null),Ut===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(Rr&124)!==0||Im(u,t,l)}return l}function Im(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Ge.updateQueue,t===null?(t=Xd(),Ge.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Yc(e,t,l,u){t.value=l,t.getSnapshot=u,Wm(t)&&Gc(e)}function Vc(e,t,l){return l(function(){Wm(t)&&Gc(e)})}function Wm(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Il(e,l)}catch{return!0}}function Gc(e){var t=wn(e,2);t!==null&&It(t,e,2)}function bf(e){var t=Jt();if(typeof e=="function"){var l=e;if(e=l(),Cd){$e(!0);try{l()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:e},t}function Eu(e){e=bf(e);var t=e.queue,l=Zc.bind(null,Ge,t);return t.dispatch=l,[e.memoizedState,l]}function Qa(e){var t=Jt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=nh.bind(null,Ge,!0,l),l.dispatch=t,[e,t]}function Cu(e,t){var l=ut();return Ci(l,Dt,e,t)}function Ci(e,t,l,u){return e.baseState=l,da(e,Dt,typeof u=="function"?u:ft)}function Qd(e,t){var l=ut();return Dt!==null?Ci(l,Dt,e,t):(l.baseState=e,[e,l.queue.dispatch])}function Fm(e,t,l,u,s){if(Af(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){c.listeners.push(h)}};G.T!==null?l(!0):c.isTransition=!1,u(c),l=t.pending,l===null?(c.next=t.pending=c,jc(t,c)):(c.next=l.next,t.pending=l.next=c)}}function jc(e,t){var l=t.action,u=t.payload,s=e.state;if(t.isTransition){var c=G.T,h={};G.T=h,G.T._updatedFibers=new Set;try{var v=l(s,u),S=G.S;S!==null&&S(h,v),Sf(e,t,v)}catch(x){An(e,t,x)}finally{G.T=c,c===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&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{h=l(s,u),Sf(e,t,h)}catch(x){An(e,t,x)}}function Sf(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(l.then(function(u){go(e,t,u)},function(u){return An(e,t,u)}),t.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.")):go(e,t,l)}function go(e,t,l){t.status="fulfilled",t.value=l,Tf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,jc(e,l)))}function An(e,t,l){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=l,Tf(t),t=t.next;while(t!==u)}e.action=null}function Tf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Pm(e,t){return t}function Xc(e,t){if(mt){var l=Ut.formState;if(l!==null){e:{var u=Ge;if(mt){if(fn){t:{for(var s=fn,c=Vo;s.nodeType!==8;){if(!c){s=null;break t}if(s=Ln(s.nextSibling),s===null){s=null;break t}}c=s.data,s=c===ob||c===_S?s:null}if(s){fn=Ln(s.nextSibling),u=s.data===ob;break e}}ql(u)}u=!1}u&&(t=l[0])}}return l=Jt(),l.memoizedState=l.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pm,lastRenderedState:t},l.queue=u,l=Zc.bind(null,Ge,u),u.dispatch=l,u=bf(!1),c=nh.bind(null,Ge,!1,u.queue),u=Jt(),s={state:t,dispatch:null,action:e,pending:null},u.queue=s,l=Fm.bind(null,Ge,s,c,l),s.dispatch=l,u.memoizedState=e,[t,l,!1]}function Zd(e){var t=ut();return Ev(t,Dt,e)}function Ev(e,t,l){if(t=da(e,t,Pm)[0],e=fa(ft)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=gs(t)}catch(h){throw h===L0?vg:h}else u=t;t=ut();var s=t.queue,c=s.dispatch;return l!==t.memoizedState&&(Ge.flags|=2048,_i(Pi|Gn,yo(),pn.bind(null,s,l),null)),[u,c,e]}function pn(e,t){e.action=t}function Qc(e){var t=ut(),l=Dt;if(l!==null)return Ev(t,l,e);ut(),t=t.memoizedState,l=ut();var u=l.queue.dispatch;return l.memoizedState=e,[t,u,!1]}function _i(e,t,l,u){return e={tag:e,create:l,deps:u,inst:t,next:null},t=Ge.updateQueue,t===null&&(t=Xd(),Ge.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(u=l.next,l.next=e,e.next=u,t.lastEffect=e),e}function yo(){return{destroy:void 0,resource:void 0}}function xf(e){var t=Jt();return e={current:e},t.memoizedState=e}function ha(e,t,l,u){var s=Jt();u=u===void 0?null:u,Ge.flags|=e,s.memoizedState=_i(Pi|t,yo(),l,u)}function vn(e,t,l,u){var s=ut();u=u===void 0?null:u;var c=s.memoizedState.inst;Dt!==null&&u!==null&&po(u,Dt.memoizedState.deps)?s.memoizedState=_i(t,c,l,u):(Ge.flags|=e,s.memoizedState=_i(Pi|t,c,l,u))}function $d(e,t){(Ge.mode&Vu)!==qt&&(Ge.mode&c1)===qt?ha(276826112,Gn,e,t):ha(8390656,Gn,e,t)}function Jd(e,t){var l=4194308;return(Ge.mode&Vu)!==qt&&(l|=134217728),ha(l,rl,e,t)}function Cv(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Kd(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var u=4194308;(Ge.mode&Vu)!==qt&&(u|=134217728),ha(u,rl,Cv.bind(null,t,e),l)}function Ai(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,vn(4,rl,Cv.bind(null,t,e),l)}function Ef(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e}function bs(e,t){var l=ut();t=t===void 0?null:t;var u=l.memoizedState;return t!==null&&po(t,u[1])?u[0]:(l.memoizedState=[e,t],e)}function Id(e,t){var l=Jt();t=t===void 0?null:t;var u=e();if(Cd){$e(!0);try{e()}finally{$e(!1)}}return l.memoizedState=[u,t],u}function bo(e,t){var l=ut();t=t===void 0?null:t;var u=l.memoizedState;if(t!==null&&po(t,u[1]))return u[0];if(u=e(),Cd){$e(!0);try{e()}finally{$e(!1)}}return l.memoizedState=[u,t],u}function Wd(e,t){var l=Jt();return Pd(l,e,t)}function Cf(e,t){var l=ut();return _f(l,Dt.memoizedState,e,t)}function Fd(e,t){var l=ut();return Dt===null?Pd(l,e,t):_f(l,Dt.memoizedState,e,t)}function Pd(e,t,l){return l===void 0||(Rr&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=Hv(),Ge.lanes|=e,Or|=e,l)}function _f(e,t,l,u){return Il(l,t)?l:Am.current!==null?(e=Pd(e,l,u),Il(e,t)||(Pn=!0),e):(Rr&42)===0?(Pn=!0,e.memoizedState=l):(e=Hv(),Ge.lanes|=e,Or|=e,t)}function ep(e,t,l,u,s){var c=Be.p;Be.p=c!==0&&c<Wa?c:Wa;var h=G.T,v={};G.T=v,nh(e,!1,t,l),v._updatedFibers=new Set;try{var S=s(),x=G.S;if(x!==null&&x(v,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var N=hf(S,u);_u(e,t,N,Cl(e))}else _u(e,t,u,Cl(e))}catch(Q){_u(e,t,{then:function(){},status:"rejected",reason:Q},Cl(e))}finally{Be.p=c,G.T=h,h===null&&v._updatedFibers&&(e=v._updatedFibers.size,v._updatedFibers.clear(),10<e&&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 Ss(e,t,l,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=tp(e).queue;ep(e,s,t,kd,l===null?ee:function(){return np(e),l(u)})}function tp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:kd,baseState:kd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:kd},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function np(e){G.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=tp(e).next.queue;_u(e,t,{},Cl(e))}function Mi(){var e=bf(!1);return e=ep.bind(null,Ge,e.queue,!0,!1),Jt().memoizedState=e,[!1,e]}function eh(){var e=fa(ft)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:gs(e),t]}function th(){var e=ys(ft)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:gs(e),t]}function Tl(){return Et(av)}function Ri(){var e=Jt(),t=Ut.identifierPrefix;if(mt){var l=$s,u=Zs;l=(u&~(1<<32-Wn(u)-1)).toString(32)+l,t="«"+t+"R"+l,l=Sg++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=TT++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t}function Ts(){return Jt().memoizedState=lp.bind(null,Ge)}function lp(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var u=Cl(l);e=Gl(u);var s=De(l,e,u);s!==null&&(It(s,l,u),mo(s,l,u)),l=ho(),t!=null&&s!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:l};return}l=l.return}}function ap(e,t,l){var u=arguments;typeof u[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()."),u=Cl(e);var s={lane:u,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};Af(e)?xs(t,s):(s=gc(e,t,s,u),s!==null&&(It(s,e,u),Mf(s,t,u))),wl(e,u)}function Zc(e,t,l){var u=arguments;typeof u[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()."),u=Cl(e),_u(e,t,l,u),wl(e,u)}function _u(e,t,l,u){var s={lane:u,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Af(e))xs(t,s);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var h=G.H;G.H=ju;try{var v=t.lastRenderedState,S=c(v,l);if(s.hasEagerState=!0,s.eagerState=S,Il(S,v))return cs(e,t,s,0),Ut===null&&oo(),!1}catch{}finally{G.H=h}}if(l=gc(e,t,s,u),l!==null)return It(l,e,u),Mf(l,t,u),!0}return!1}function nh(e,t,l,u){if(G.T===null&&Td===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."),u={lane:2,revertLane:kp(),action:u,hasEagerState:!1,eagerState:null,next:null},Af(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=gc(e,l,u,2),t!==null&&It(t,e,2);wl(e,2)}function Af(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function xs(e,t){Rm=bg=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Mf(e,t,l){if((l&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,l|=u,t.lanes=l,zt(e,l)}}function Mn(e){var t=Fe;return e!=null&&(Fe=t===null?e:t.concat(e)),t}function $c(e,t,l){for(var u=Object.keys(e.props),s=0;s<u.length;s++){var c=u[s];if(c!=="children"&&c!=="key"){t===null&&(t=ro(e,l.mode,0),t._debugInfo=Fe,t.return=l),ye(t,function(h){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",h)},c);break}}}function Jc(e){var t=G0;return G0+=1,Dm===null&&(Dm=Uc()),al(Dm,e,t)}function ma(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function je(e,t){throw t.$$typeof===ld?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
912
+ Incoming: %s`,j,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Kn(e[n],t[n]))return!1;return!0}function mo(e,t,n,u,c,s){Cr=s,Ge=t,Pi=e!==null?e._debugHookTypes:null,$c=-1,kp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(s=me(Ge),Ey.has(s)||(Ey.add(s),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.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e!==null&&e.memoizedState!==null?Cy:Pi!==null?d1:_y,bd=s=(t.mode&zn)!==Lt;var h=Ay(n,u,c);if(bd=!1,Em&&(h=ks(t,n,u,c)),s){$e(!0);try{h=ks(t,n,u,c)}finally{$e(!1)}}return df(e,t),h}function df(e,t){t._debugHookTypes=Pi,t.dependencies===null?Zc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Zc}):t.dependencies._debugThenableState=Zc,G.H=hg;var n=Dt!==null&&Dt.next!==null;if(Cr=0,Pi=j=Dl=Dt=Ge=null,$c=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),fg=!1,Bp=0,Zc=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Il||(e=e.dependencies,e!==null&&La(e)&&(Il=!0)),sg?(sg=!1,e=!0):e=!1,e&&(t=me(t)||"Unknown",r1.has(t)||Ey.has(t)||(r1.add(t),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 ks(e,t,n,u){Ge=e;var c=0;do{if(Em&&(Zc=null),Bp=0,Em=!1,c>=Z2)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,kp=!1,Dl=Dt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}$c=-1,G.H=h1,s=Ay(t,n,u)}while(Em);return s}function sa(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?mc(t):t,e=e.useState()[0],(Dt!==null?Dt.memoizedState:null)!==e&&(Ge.flags|=1024),t}function bn(){var e=dg!==0;return dg=0,e}function bu(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&qu)!==Lt?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Xa(e){if(fg){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fg=!1}Cr=0,Pi=Dl=Dt=Ge=null,$c=-1,j=null,Em=!1,Bp=dg=0,Zc=null}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dl===null?Ge.memoizedState=Dl=e:Dl=Dl.next=e,Dl}function ut(){if(Dt===null){var e=Ge.alternate;e=e!==null?e.memoizedState:null}else e=Dt.next;var t=Dl===null?Ge.memoizedState:Dl.next;if(t!==null)Dl=t,Dt=e;else{if(e===null)throw Ge.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.");Dt=e,e={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Dl===null?Ge.memoizedState=Dl=e:Dl=Dl.next=e}return Dl}function qd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mc(e){var t=Bp;return Bp+=1,Zc===null&&(Zc=Ds()),e=ln(Zc,e,t),t=Ge,(Dl===null?t.memoizedState:Dl.next)===null&&(t=t.alternate,G.H=t!==null&&t.memoizedState!==null?Cy:_y),e}function xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return mc(e);if(e.$$typeof===ya)return Et(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function nl(e){var t=null,n=Ge.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var u=Ge.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=qd(),Ge.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||kp)for(n=t.data[t.index]=Array(e),u=0;u<e;u++)n[u]=Xv;else n.length!==e&&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.",n.length,e);return t.index++,n}function ft(e,t){return typeof t=="function"?t(e):t}function st(e,t,n){var u=$t();if(n!==void 0){var c=n(t);if(bd){$e(!0);try{n(t)}finally{$e(!1)}}}else c=t;return u.memoizedState=u.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},u.queue=e,e=e.dispatch=Pm.bind(null,Ge,e),[u.memoizedState,e]}function ra(e){var t=ut();return fa(t,Dt,e)}function fa(e,t,n){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var c=e.baseQueue,s=u.pending;if(s!==null){if(c!==null){var h=c.next;c.next=s.next,s.next=h}t.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=c=s,u.pending=null}if(s=e.baseState,c===null)e.memoizedState=s;else{t=c.next;var p=h=null,b=null,S=t,N=!1;do{var Q=S.lane&-536870913;if(Q!==S.lane?(it&Q)===Q:(Cr&Q)===Q){var B=S.revertLane;if(B===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),Q===vd&&(N=!0);else if((Cr&B)===B){S=S.next,B===vd&&(N=!0);continue}else Q={lane:0,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},b===null?(p=b=Q,h=s):b=b.next=Q,Ge.lanes|=B,Rr|=B;Q=S.action,bd&&n(s,Q),s=S.hasEagerState?S.eagerState:n(s,Q)}else B={lane:Q,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},b===null?(p=b=B,h=s):b=b.next=B,Ge.lanes|=Q,Rr|=Q;S=S.next}while(S!==null&&S!==t);if(b===null?h=s:b.next=p,!Kn(s,e.memoizedState)&&(Il=!0,N&&(n=Sm,n!==null)))throw n;e.memoizedState=s,e.baseState=h,e.baseQueue=b,u.lastRenderedState=s}return c===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function pc(e){var t=ut(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var u=n.dispatch,c=n.pending,s=t.memoizedState;if(c!==null){n.pending=null;var h=c=c.next;do s=e(s,h.action),h=h.next;while(h!==c);Kn(s,t.memoizedState)||(Il=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,u]}function Su(e,t,n){var u=Ge,c=$t();if(mt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=n();xm||s===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),xm=!0)}else{if(s=t(),xm||(n=t(),Kn(s,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),xm=!0)),Ut===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(it&124)!==0||Qm(u,t,s)}return c.memoizedState=s,n={value:s,getSnapshot:t},c.queue=n,Gd(Ls.bind(null,u,n,e),[e]),u.flags|=2048,_i(Fi|Yl,vo(),Ns.bind(null,u,n,s,t),null),s}function hf(e,t,n){var u=Ge,c=ut(),s=mt;if(s){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!xm){var h=t();Kn(n,h)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),xm=!0)}(h=!Kn((Dt||c).memoizedState,n))&&(c.memoizedState=n,Il=!0),c=c.queue;var p=Ls.bind(null,u,c,e);if(ml(2048,Yl,p,[e]),c.getSnapshot!==t||h||Dl!==null&&Dl.memoizedState.tag&Fi){if(u.flags|=2048,_i(Fi|Yl,vo(),Ns.bind(null,u,c,n,t),null),Ut===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(Cr&124)!==0||Qm(u,t,n)}return n}function Qm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ge.updateQueue,t===null?(t=qd(),Ge.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ns(e,t,n,u){t.value=n,t.getSnapshot=u,Zm(t)&&qs(e)}function Ls(e,t,n){return n(function(){Zm(t)&&qs(e)})}function Zm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kn(e,n)}catch{return!0}}function qs(e){var t=Ol(e,2);t!==null&&Kt(t,e,2)}function mf(e){var t=$t();if(typeof e=="function"){var n=e;if(e=n(),bd){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:e},t}function Tu(e){e=mf(e);var t=e.queue,n=Xs.bind(null,Ge,t);return t.dispatch=n,[e.memoizedState,n]}function ja(e){var t=$t();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Id.bind(null,Ge,!0,n),n.dispatch=t,[e,t]}function xu(e,t){var n=ut();return Ei(n,Dt,e,t)}function Ei(e,t,n,u){return e.baseState=n,fa(e,Dt,typeof u=="function"?u:ft)}function Yd(e,t){var n=ut();return Dt!==null?Ei(n,Dt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function $m(e,t,n,u,c){if(Tf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){s.listeners.push(h)}};G.T!==null?n(!0):s.isTransition=!1,u(s),n=t.pending,n===null?(s.next=t.pending=s,Ys(t,s)):(s.next=n.next,t.pending=n.next=s)}}function Ys(e,t){var n=t.action,u=t.payload,c=e.state;if(t.isTransition){var s=G.T,h={};G.T=h,G.T._updatedFibers=new Set;try{var p=n(c,u),b=G.S;b!==null&&b(h,p),pf(e,t,p)}catch(S){_l(e,t,S)}finally{G.T=s,s===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&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{h=n(c,u),pf(e,t,h)}catch(S){_l(e,t,S)}}function pf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(u){po(e,t,u)},function(u){return _l(e,t,u)}),t.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.")):po(e,t,n)}function po(e,t,n){t.status="fulfilled",t.value=n,vf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ys(e,n)))}function _l(e,t,n){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=n,vf(t),t=t.next;while(t!==u)}e.action=null}function vf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jm(e,t){return t}function Vs(e,t){if(mt){var n=Ut.formState;if(n!==null){e:{var u=Ge;if(mt){if(sl){t:{for(var c=sl,s=qo;c.nodeType!==8;){if(!s){c=null;break t}if(c=kl(c.nextSibling),c===null){c=null;break t}}s=c.data,c=s===Fy||s===fS?c:null}if(c){sl=kl(c.nextSibling),u=c.data===Fy;break e}}Ln(u)}u=!1}u&&(t=n[0])}}return n=$t(),n.memoizedState=n.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jm,lastRenderedState:t},n.queue=u,n=Xs.bind(null,Ge,u),u.dispatch=n,u=mf(!1),s=Id.bind(null,Ge,!1,u.queue),u=$t(),c={state:t,dispatch:null,action:e,pending:null},u.queue=c,n=$m.bind(null,Ge,c,s,n),c.dispatch=n,u.memoizedState=e,[t,n,!1]}function Vd(e){var t=ut();return pv(t,Dt,e)}function pv(e,t,n){if(t=fa(e,t,Jm)[0],e=ra(ft)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=mc(t)}catch(h){throw h===Hp?cg:h}else u=t;t=ut();var c=t.queue,s=c.dispatch;return n!==t.memoizedState&&(Ge.flags|=2048,_i(Fi|Yl,vo(),hl.bind(null,c,n),null)),[u,s,e]}function hl(e,t){e.action=t}function Gs(e){var t=ut(),n=Dt;if(n!==null)return pv(t,n,e);ut(),t=t.memoizedState,n=ut();var u=n.queue.dispatch;return n.memoizedState=e,[t,u,!1]}function _i(e,t,n,u){return e={tag:e,create:n,deps:u,inst:t,next:null},t=Ge.updateQueue,t===null&&(t=qd(),Ge.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function vo(){return{destroy:void 0,resource:void 0}}function gf(e){var t=$t();return e={current:e},t.memoizedState=e}function da(e,t,n,u){var c=$t();u=u===void 0?null:u,Ge.flags|=e,c.memoizedState=_i(Fi|t,vo(),n,u)}function ml(e,t,n,u){var c=ut();u=u===void 0?null:u;var s=c.memoizedState.inst;Dt!==null&&u!==null&&ho(u,Dt.memoizedState.deps)?c.memoizedState=_i(t,s,n,u):(Ge.flags|=e,c.memoizedState=_i(Fi|t,s,n,u))}function Gd(e,t){(Ge.mode&qu)!==Lt&&(Ge.mode&Kb)===Lt?da(276826112,Yl,e,t):da(8390656,Yl,e,t)}function Xd(e,t){var n=4194308;return(Ge.mode&qu)!==Lt&&(n|=134217728),da(n,sn,e,t)}function vv(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function jd(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var u=4194308;(Ge.mode&qu)!==Lt&&(u|=134217728),da(u,sn,vv.bind(null,t,e),n)}function Ci(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,ml(4,sn,vv.bind(null,t,e),n)}function yf(e,t){return $t().memoizedState=[e,t===void 0?null:t],e}function vc(e,t){var n=ut();t=t===void 0?null:t;var u=n.memoizedState;return t!==null&&ho(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Qd(e,t){var n=$t();t=t===void 0?null:t;var u=e();if(bd){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function go(e,t){var n=ut();t=t===void 0?null:t;var u=n.memoizedState;if(t!==null&&ho(t,u[1]))return u[0];if(u=e(),bd){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function Zd(e,t){var n=$t();return Jd(n,e,t)}function bf(e,t){var n=ut();return Sf(n,Dt.memoizedState,e,t)}function $d(e,t){var n=ut();return Dt===null?Jd(n,e,t):Sf(n,Dt.memoizedState,e,t)}function Jd(e,t,n){return n===void 0||(Cr&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Av(),Ge.lanes|=e,Rr|=e,n)}function Sf(e,t,n,u){return Kn(n,t)?n:Tm.current!==null?(e=Jd(e,n,u),Kn(e,t)||(Il=!0),e):(Cr&42)===0?(Il=!0,e.memoizedState=n):(e=Av(),Ge.lanes|=e,Rr|=e,t)}function Km(e,t,n,u,c){var s=Ne.p;Ne.p=s!==0&&s<Wa?s:Wa;var h=G.T,p={};G.T=p,Id(e,!1,t,n),p._updatedFibers=new Set;try{var b=c(),S=G.S;if(S!==null&&S(p,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var N=cf(b,u);Eu(e,t,N,En(e))}else Eu(e,t,u,En(e))}catch(Q){Eu(e,t,{then:function(){},status:"rejected",reason:Q},En(e))}finally{Ne.p=s,G.T=h,h===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._updatedFibers.clear(),10<e&&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 gc(e,t,n,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Wm(e).queue;Km(e,c,t,zd,n===null?ee:function(){return Im(e),n(u)})}function Wm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:zd,baseState:zd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:zd},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ft,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Im(e){G.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Wm(e).next.queue;Eu(e,t,{},En(e))}function Ai(){var e=mf(!1);return e=Km.bind(null,Ge,e.queue,!0,!1),$t().memoizedState=e,[!1,e]}function Kd(){var e=ra(ft)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:mc(e),t]}function Wd(){var e=pc(ft)[0],t=ut().memoizedState;return[typeof e=="boolean"?e:mc(e),t]}function Sn(){return Et(Pp)}function Mi(){var e=$t(),t=Ut.identifierPrefix;if(mt){var n=jc,u=Xc;n=(u&~(1<<32-Kl(u)-1)).toString(32)+n,t="«"+t+"R"+n,n=dg++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=Q2++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function yc(){return $t().memoizedState=Fm.bind(null,Ge)}function Fm(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var u=En(n);e=Vn(u);var c=ze(n,e,u);c!==null&&(Kt(c,n,u),fo(c,n,u)),n=ro(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Pm(e,t,n){var u=arguments;typeof u[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()."),u=En(e);var c={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};Tf(e)?bc(t,c):(c=ms(e,t,c,u),c!==null&&(Kt(c,e,u),xf(c,t,u))),Un(e,u)}function Xs(e,t,n){var u=arguments;typeof u[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()."),u=En(e),Eu(e,t,n,u),Un(e,u)}function Eu(e,t,n,u){var c={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Tf(e))bc(t,c);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var h=G.H;G.H=Vu;try{var p=t.lastRenderedState,b=s(p,n);if(c.hasEagerState=!0,c.eagerState=b,Kn(b,p))return uc(e,t,c,0),Ut===null&&io(),!1}catch{}finally{G.H=h}}if(n=ms(e,t,c,u),n!==null)return Kt(n,e,u),xf(n,t,u),!0}return!1}function Id(e,t,n,u){if(G.T===null&&vd===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."),u={lane:2,revertLane:z0(),action:u,hasEagerState:!1,eagerState:null,next:null},Tf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ms(e,n,u,2),t!==null&&Kt(t,e,2);Un(e,2)}function Tf(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function bc(e,t){Em=fg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xf(e,t,n){if((n&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,zt(e,n)}}function Cl(e){var t=Fe;return e!=null&&(Fe=t===null?e:t.concat(e)),t}function js(e,t,n){for(var u=Object.keys(e.props),c=0;c<u.length;c++){var s=u[c];if(s!=="children"&&s!=="key"){t===null&&(t=co(e,n.mode,0),t._debugInfo=Fe,t.return=n),ye(t,function(h){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",h)},s);break}}}function Qs(e){var t=Np;return Np+=1,_m===null&&(_m=Ds()),ln(_m,e,t)}function ha(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Xe(e,t){throw t.$$typeof===Ff?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
1043
913
  - Multiple copies of the "react" package is used.
1044
914
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
1045
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function gt(e,t){var l=me(e)||"Component";G1[l]||(G1[l]=!0,t=t.displayName||t.name||"Component",e.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.
915
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function gt(e,t){var n=me(e)||"Component";R1[n]||(R1[n]=!0,t=t.displayName||t.name||"Component",e.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.
1046
916
  root.render(%s)`,t,t,t):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.
1047
- <%s>{%s}</%s>`,t,t,l,t,l))}function Xt(e,t){var l=me(e)||"Component";j1[l]||(j1[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
917
+ <%s>{%s}</%s>`,t,t,n,t,n))}function Xt(e,t){var n=me(e)||"Component";D1[n]||(D1[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
1048
918
  root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
1049
- <%s>%s</%s>`,l,t,l))}function Rf(e){function t(_,A){if(e){var R=_.deletions;R===null?(_.deletions=[A],_.flags|=16):R.push(A)}}function l(_,A){if(!e)return null;for(;A!==null;)t(_,A),A=A.sibling;return null}function u(_){for(var A=new Map;_!==null;)_.key!==null?A.set(_.key,_):A.set(_.index,_),_=_.sibling;return A}function s(_,A){return _=Ll(_,A),_.index=0,_.sibling=null,_}function c(_,A,R){return _.index=R,e?(R=_.alternate,R!==null?(R=R.index,R<A?(_.flags|=67108866,A):R):(_.flags|=67108866,A)):(_.flags|=1048576,A)}function h(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function v(_,A,R,J){return A===null||A.tag!==6?(A=Na(R,_.mode,J),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=Fe,A):(A=s(A,R),A.return=_,A._debugInfo=Fe,A)}function S(_,A,R,J){var ce=R.type;return ce===Xe?(A=N(_,A,R.props.children,J,R.key),$c(R,A,_),A):A!==null&&(A.elementType===ce||cf(A,R)||typeof ce=="object"&&ce!==null&&ce.$$typeof===Jl&&Dr(ce)===A.type)?(A=s(A,R.props),ma(A,R),A.return=_,A._debugOwner=R._owner,A._debugInfo=Fe,A):(A=ro(R,_.mode,J),ma(A,R),A.return=_,A._debugInfo=Fe,A)}function x(_,A,R,J){return A===null||A.tag!==4||A.stateNode.containerInfo!==R.containerInfo||A.stateNode.implementation!==R.implementation?(A=Tc(R,_.mode,J),A.return=_,A._debugInfo=Fe,A):(A=s(A,R.children||[]),A.return=_,A._debugInfo=Fe,A)}function N(_,A,R,J,ce){return A===null||A.tag!==7?(A=Ba(R,_.mode,J,ce),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=Fe,A):(A=s(A,R),A.return=_,A._debugInfo=Fe,A)}function Q(_,A,R){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=Na(""+A,_.mode,R),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=Fe,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case Uo:return R=ro(A,_.mode,R),ma(R,A),R.return=_,_=Mn(A._debugInfo),R._debugInfo=Fe,Fe=_,R;case Vs:return A=Tc(A,_.mode,R),A.return=_,A._debugInfo=Fe,A;case Jl:var J=Mn(A._debugInfo);return A=Dr(A),_=Q(_,A,R),Fe=J,_}if(Ve(A)||qe(A))return R=Ba(A,_.mode,R,null),R.return=_,R._debugOwner=_,R._debugTask=_._debugTask,_=Mn(A._debugInfo),R._debugInfo=Fe,Fe=_,R;if(typeof A.then=="function")return J=Mn(A._debugInfo),_=Q(_,Jc(A),R),Fe=J,_;if(A.$$typeof===ba)return Q(_,fo(_,A),R);je(_,A)}return typeof A=="function"&&gt(_,A),typeof A=="symbol"&&Xt(_,A),null}function k(_,A,R,J){var ce=A!==null?A.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return ce!==null?null:v(_,A,""+R,J);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case Uo:return R.key===ce?(ce=Mn(R._debugInfo),_=S(_,A,R,J),Fe=ce,_):null;case Vs:return R.key===ce?x(_,A,R,J):null;case Jl:return ce=Mn(R._debugInfo),R=Dr(R),_=k(_,A,R,J),Fe=ce,_}if(Ve(R)||qe(R))return ce!==null?null:(ce=Mn(R._debugInfo),_=N(_,A,R,J,null),Fe=ce,_);if(typeof R.then=="function")return ce=Mn(R._debugInfo),_=k(_,A,Jc(R),J),Fe=ce,_;if(R.$$typeof===ba)return k(_,A,fo(_,R),J);je(_,R)}return typeof R=="function"&&gt(_,R),typeof R=="symbol"&&Xt(_,R),null}function $(_,A,R,J,ce){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return _=_.get(R)||null,v(A,_,""+J,ce);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case Uo:return R=_.get(J.key===null?R:J.key)||null,_=Mn(J._debugInfo),A=S(A,R,J,ce),Fe=_,A;case Vs:return _=_.get(J.key===null?R:J.key)||null,x(A,_,J,ce);case Jl:var Qe=Mn(J._debugInfo);return J=Dr(J),A=$(_,A,R,J,ce),Fe=Qe,A}if(Ve(J)||qe(J))return R=_.get(R)||null,_=Mn(J._debugInfo),A=N(A,R,J,ce,null),Fe=_,A;if(typeof J.then=="function")return Qe=Mn(J._debugInfo),A=$(_,A,R,Jc(J),ce),Fe=Qe,A;if(J.$$typeof===ba)return $(_,A,R,fo(A,J),ce);je(A,J)}return typeof J=="function"&&gt(A,J),typeof J=="symbol"&&Xt(A,J),null}function Se(_,A,R,J){if(typeof R!="object"||R===null)return J;switch(R.$$typeof){case Uo:case Vs:j(_,A,R);var ce=R.key;if(typeof ce!="string")break;if(J===null){J=new Set,J.add(ce);break}if(!J.has(ce)){J.add(ce);break}ye(A,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.",ce)});break;case Jl:R=Dr(R),Se(_,A,R,J)}return J}function Ne(_,A,R,J){for(var ce=null,Qe=null,Te=null,Ze=A,Je=A=0,Yt=null;Ze!==null&&Je<R.length;Je++){Ze.index>Je?(Yt=Ze,Ze=null):Yt=Ze.sibling;var Sn=k(_,Ze,R[Je],J);if(Sn===null){Ze===null&&(Ze=Yt);break}ce=Se(_,Sn,R[Je],ce),e&&Ze&&Sn.alternate===null&&t(_,Ze),A=c(Sn,A,Je),Te===null?Qe=Sn:Te.sibling=Sn,Te=Sn,Ze=Yt}if(Je===R.length)return l(_,Ze),mt&&vi(_,Je),Qe;if(Ze===null){for(;Je<R.length;Je++)Ze=Q(_,R[Je],J),Ze!==null&&(ce=Se(_,Ze,R[Je],ce),A=c(Ze,A,Je),Te===null?Qe=Ze:Te.sibling=Ze,Te=Ze);return mt&&vi(_,Je),Qe}for(Ze=u(Ze);Je<R.length;Je++)Yt=$(Ze,_,Je,R[Je],J),Yt!==null&&(ce=Se(_,Yt,R[Je],ce),e&&Yt.alternate!==null&&Ze.delete(Yt.key===null?Je:Yt.key),A=c(Yt,A,Je),Te===null?Qe=Yt:Te.sibling=Yt,Te=Yt);return e&&Ze.forEach(function(nc){return t(_,nc)}),mt&&vi(_,Je),Qe}function wt(_,A,R,J){if(R==null)throw Error("An iterable object provided no iterator.");for(var ce=null,Qe=null,Te=A,Ze=A=0,Je=null,Yt=null,Sn=R.next();Te!==null&&!Sn.done;Ze++,Sn=R.next()){Te.index>Ze?(Je=Te,Te=null):Je=Te.sibling;var nc=k(_,Te,Sn.value,J);if(nc===null){Te===null&&(Te=Je);break}Yt=Se(_,nc,Sn.value,Yt),e&&Te&&nc.alternate===null&&t(_,Te),A=c(nc,A,Ze),Qe===null?ce=nc:Qe.sibling=nc,Qe=nc,Te=Je}if(Sn.done)return l(_,Te),mt&&vi(_,Ze),ce;if(Te===null){for(;!Sn.done;Ze++,Sn=R.next())Te=Q(_,Sn.value,J),Te!==null&&(Yt=Se(_,Te,Sn.value,Yt),A=c(Te,A,Ze),Qe===null?ce=Te:Qe.sibling=Te,Qe=Te);return mt&&vi(_,Ze),ce}for(Te=u(Te);!Sn.done;Ze++,Sn=R.next())Je=$(Te,_,Ze,Sn.value,J),Je!==null&&(Yt=Se(_,Je,Sn.value,Yt),e&&Je.alternate!==null&&Te.delete(Je.key===null?Ze:Je.key),A=c(Je,A,Ze),Qe===null?ce=Je:Qe.sibling=Je,Qe=Je);return e&&Te.forEach(function(JT){return t(_,JT)}),mt&&vi(_,Ze),ce}function ot(_,A,R,J){if(typeof R=="object"&&R!==null&&R.type===Xe&&R.key===null&&($c(R,null,_),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case Uo:var ce=Mn(R._debugInfo);e:{for(var Qe=R.key;A!==null;){if(A.key===Qe){if(Qe=R.type,Qe===Xe){if(A.tag===7){l(_,A.sibling),J=s(A,R.props.children),J.return=_,J._debugOwner=R._owner,J._debugInfo=Fe,$c(R,J,_),_=J;break e}}else if(A.elementType===Qe||cf(A,R)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===Jl&&Dr(Qe)===A.type){l(_,A.sibling),J=s(A,R.props),ma(J,R),J.return=_,J._debugOwner=R._owner,J._debugInfo=Fe,_=J;break e}l(_,A);break}else t(_,A);A=A.sibling}R.type===Xe?(J=Ba(R.props.children,_.mode,J,R.key),J.return=_,J._debugOwner=_,J._debugTask=_._debugTask,J._debugInfo=Fe,$c(R,J,_),_=J):(J=ro(R,_.mode,J),ma(J,R),J.return=_,J._debugInfo=Fe,_=J)}return _=h(_),Fe=ce,_;case Vs:e:{for(ce=R,R=ce.key;A!==null;){if(A.key===R)if(A.tag===4&&A.stateNode.containerInfo===ce.containerInfo&&A.stateNode.implementation===ce.implementation){l(_,A.sibling),J=s(A,ce.children||[]),J.return=_,_=J;break e}else{l(_,A);break}else t(_,A);A=A.sibling}J=Tc(ce,_.mode,J),J.return=_,_=J}return h(_);case Jl:return ce=Mn(R._debugInfo),R=Dr(R),_=ot(_,A,R,J),Fe=ce,_}if(Ve(R))return ce=Mn(R._debugInfo),_=Ne(_,A,R,J),Fe=ce,_;if(qe(R)){if(ce=Mn(R._debugInfo),Qe=qe(R),typeof Qe!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Te=Qe.call(R);return Te===R?(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Te)!=="[object Generator]")&&(Y1||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."),Y1=!0):R.entries!==Qe||Ny||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ny=!0),_=wt(_,A,Te,J),Fe=ce,_}if(typeof R.then=="function")return ce=Mn(R._debugInfo),_=ot(_,A,Jc(R),J),Fe=ce,_;if(R.$$typeof===ba)return ot(_,A,fo(_,R),J);je(_,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(ce=""+R,A!==null&&A.tag===6?(l(_,A.sibling),J=s(A,ce),J.return=_,_=J):(l(_,A),J=Na(ce,_.mode,J),J.return=_,J._debugOwner=_,J._debugTask=_._debugTask,J._debugInfo=Fe,_=J),h(_)):(typeof R=="function"&&gt(_,R),typeof R=="symbol"&&Xt(_,R),l(_,A))}return function(_,A,R,J){var ce=Fe;Fe=null;try{G0=0;var Qe=ot(_,A,R,J);return Dm=null,Qe}catch(Yt){if(Yt===L0||Yt===vg)throw Yt;var Te=V(29,Yt,null,_.mode);Te.lanes=J,Te.return=_;var Ze=Te._debugInfo=Fe;if(Te._debugOwner=_._debugOwner,Te._debugTask=_._debugTask,Ze!=null){for(var Je=Ze.length-1;0<=Je;Je--)if(typeof Ze[Je].stack=="string"){Te._debugOwner=Ze[Je],Te._debugTask=Ze[Je].debugTask;break}}return Te}finally{Fe=ce}}}function jl(e){var t=e.alternate;Ee(jn,jn.current&Om,e),Ee(tu,e,e),jo===null&&(t===null||Am.current!==null||t.memoizedState!==null)&&(jo=e)}function So(e){if(e.tag===22){if(Ee(jn,jn.current,e),Ee(tu,e,e),jo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(jo=e)}}else Za(e)}function Za(e){Ee(jn,jn.current,e),Ee(tu,tu.current,e)}function Xl(e){Re(tu,e),jo===e&&(jo=null),Re(jn,e)}function Au(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data===Ps||Vi(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ip(e){if(e!==null&&typeof e!="function"){var t=String(e);tS.has(t)||(tS.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Qt(e,t,l,u){var s=e.memoizedState,c=l(u,s);if(e.mode&Ol){$e(!0);try{c=l(u,s)}finally{$e(!1)}}c===void 0&&(t=ze(t)||"Component",W1.has(t)||(W1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=c==null?s:Ke({},s,c),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function lh(e,t,l,u,s,c,h){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){if(l=v.shouldComponentUpdate(u,c,h),e.mode&Ol){$e(!0);try{l=v.shouldComponentUpdate(u,c,h)}finally{$e(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ze(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!uo(l,u)||!uo(s,c):!0}function ah(e,t,l,u){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,u),t.state!==s&&(e=me(e)||"Component",Z1.has(e)||(Z1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ly.enqueueReplaceState(t,t.state,null))}function To(e,t){var l=t;if("ref"in t){l={};for(var u in t)u!=="ref"&&(l[u]=t[u])}if(e=e.defaultProps){l===t&&(l=Ke({},l));for(var s in e)l[s]===void 0&&(l[s]=e[s])}return l}function up(e){qy(e),console.warn(`%s
919
+ <%s>%s</%s>`,n,t,n))}function Ef(e){function t(_,C){if(e){var R=_.deletions;R===null?(_.deletions=[C],_.flags|=16):R.push(C)}}function n(_,C){if(!e)return null;for(;C!==null;)t(_,C),C=C.sibling;return null}function u(_){for(var C=new Map;_!==null;)_.key!==null?C.set(_.key,_):C.set(_.index,_),_=_.sibling;return C}function c(_,C){return _=Nn(_,C),_.index=0,_.sibling=null,_}function s(_,C,R){return _.index=R,e?(R=_.alternate,R!==null?(R=R.index,R<C?(_.flags|=67108866,C):R):(_.flags|=67108866,C)):(_.flags|=1048576,C)}function h(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function p(_,C,R,J){return C===null||C.tag!==6?(C=ka(R,_.mode,J),C.return=_,C._debugOwner=_,C._debugTask=_._debugTask,C._debugInfo=Fe,C):(C=c(C,R),C.return=_,C._debugInfo=Fe,C)}function b(_,C,R,J){var se=R.type;return se===je?(C=N(_,C,R.props.children,J,R.key),js(R,C,_),C):C!==null&&(C.elementType===se||nf(C,R)||typeof se=="object"&&se!==null&&se.$$typeof===$n&&Ar(se)===C.type)?(C=c(C,R.props),ha(C,R),C.return=_,C._debugOwner=R._owner,C._debugInfo=Fe,C):(C=co(R,_.mode,J),ha(C,R),C.return=_,C._debugInfo=Fe,C)}function S(_,C,R,J){return C===null||C.tag!==4||C.stateNode.containerInfo!==R.containerInfo||C.stateNode.implementation!==R.implementation?(C=ys(R,_.mode,J),C.return=_,C._debugInfo=Fe,C):(C=c(C,R.children||[]),C.return=_,C._debugInfo=Fe,C)}function N(_,C,R,J,se){return C===null||C.tag!==7?(C=Ba(R,_.mode,J,se),C.return=_,C._debugOwner=_,C._debugTask=_._debugTask,C._debugInfo=Fe,C):(C=c(C,R),C.return=_,C._debugInfo=Fe,C)}function Q(_,C,R){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=ka(""+C,_.mode,R),C.return=_,C._debugOwner=_,C._debugTask=_._debugTask,C._debugInfo=Fe,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case zo:return R=co(C,_.mode,R),ha(R,C),R.return=_,_=Cl(C._debugInfo),R._debugInfo=Fe,Fe=_,R;case Lc:return C=ys(C,_.mode,R),C.return=_,C._debugInfo=Fe,C;case $n:var J=Cl(C._debugInfo);return C=Ar(C),_=Q(_,C,R),Fe=J,_}if(Ve(C)||qe(C))return R=Ba(C,_.mode,R,null),R.return=_,R._debugOwner=_,R._debugTask=_._debugTask,_=Cl(C._debugInfo),R._debugInfo=Fe,Fe=_,R;if(typeof C.then=="function")return J=Cl(C._debugInfo),_=Q(_,Qs(C),R),Fe=J,_;if(C.$$typeof===ya)return Q(_,so(_,C),R);Xe(_,C)}return typeof C=="function"&&gt(_,C),typeof C=="symbol"&&Xt(_,C),null}function B(_,C,R,J){var se=C!==null?C.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return se!==null?null:p(_,C,""+R,J);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case zo:return R.key===se?(se=Cl(R._debugInfo),_=b(_,C,R,J),Fe=se,_):null;case Lc:return R.key===se?S(_,C,R,J):null;case $n:return se=Cl(R._debugInfo),R=Ar(R),_=B(_,C,R,J),Fe=se,_}if(Ve(R)||qe(R))return se!==null?null:(se=Cl(R._debugInfo),_=N(_,C,R,J,null),Fe=se,_);if(typeof R.then=="function")return se=Cl(R._debugInfo),_=B(_,C,Qs(R),J),Fe=se,_;if(R.$$typeof===ya)return B(_,C,so(_,R),J);Xe(_,R)}return typeof R=="function"&&gt(_,R),typeof R=="symbol"&&Xt(_,R),null}function $(_,C,R,J,se){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return _=_.get(R)||null,p(C,_,""+J,se);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case zo:return R=_.get(J.key===null?R:J.key)||null,_=Cl(J._debugInfo),C=b(C,R,J,se),Fe=_,C;case Lc:return _=_.get(J.key===null?R:J.key)||null,S(C,_,J,se);case $n:var Qe=Cl(J._debugInfo);return J=Ar(J),C=$(_,C,R,J,se),Fe=Qe,C}if(Ve(J)||qe(J))return R=_.get(R)||null,_=Cl(J._debugInfo),C=N(C,R,J,se,null),Fe=_,C;if(typeof J.then=="function")return Qe=Cl(J._debugInfo),C=$(_,C,R,Qs(J),se),Fe=Qe,C;if(J.$$typeof===ya)return $(_,C,R,so(C,J),se);Xe(C,J)}return typeof J=="function"&&gt(C,J),typeof J=="symbol"&&Xt(C,J),null}function Se(_,C,R,J){if(typeof R!="object"||R===null)return J;switch(R.$$typeof){case zo:case Lc:X(_,C,R);var se=R.key;if(typeof se!="string")break;if(J===null){J=new Set,J.add(se);break}if(!J.has(se)){J.add(se);break}ye(C,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.",se)});break;case $n:R=Ar(R),Se(_,C,R,J)}return J}function Le(_,C,R,J){for(var se=null,Qe=null,Te=null,Ze=C,Je=C=0,qt=null;Ze!==null&&Je<R.length;Je++){Ze.index>Je?(qt=Ze,Ze=null):qt=Ze.sibling;var yl=B(_,Ze,R[Je],J);if(yl===null){Ze===null&&(Ze=qt);break}se=Se(_,yl,R[Je],se),e&&Ze&&yl.alternate===null&&t(_,Ze),C=s(yl,C,Je),Te===null?Qe=yl:Te.sibling=yl,Te=yl,Ze=qt}if(Je===R.length)return n(_,Ze),mt&&pi(_,Je),Qe;if(Ze===null){for(;Je<R.length;Je++)Ze=Q(_,R[Je],J),Ze!==null&&(se=Se(_,Ze,R[Je],se),C=s(Ze,C,Je),Te===null?Qe=Ze:Te.sibling=Ze,Te=Ze);return mt&&pi(_,Je),Qe}for(Ze=u(Ze);Je<R.length;Je++)qt=$(Ze,_,Je,R[Je],J),qt!==null&&(se=Se(_,qt,R[Je],se),e&&qt.alternate!==null&&Ze.delete(qt.key===null?Je:qt.key),C=s(qt,C,Je),Te===null?Qe=qt:Te.sibling=qt,Te=qt);return e&&Ze.forEach(function(Pc){return t(_,Pc)}),mt&&pi(_,Je),Qe}function Ht(_,C,R,J){if(R==null)throw Error("An iterable object provided no iterator.");for(var se=null,Qe=null,Te=C,Ze=C=0,Je=null,qt=null,yl=R.next();Te!==null&&!yl.done;Ze++,yl=R.next()){Te.index>Ze?(Je=Te,Te=null):Je=Te.sibling;var Pc=B(_,Te,yl.value,J);if(Pc===null){Te===null&&(Te=Je);break}qt=Se(_,Pc,yl.value,qt),e&&Te&&Pc.alternate===null&&t(_,Te),C=s(Pc,C,Ze),Qe===null?se=Pc:Qe.sibling=Pc,Qe=Pc,Te=Je}if(yl.done)return n(_,Te),mt&&pi(_,Ze),se;if(Te===null){for(;!yl.done;Ze++,yl=R.next())Te=Q(_,yl.value,J),Te!==null&&(qt=Se(_,Te,yl.value,qt),C=s(Te,C,Ze),Qe===null?se=Te:Qe.sibling=Te,Qe=Te);return mt&&pi(_,Ze),se}for(Te=u(Te);!yl.done;Ze++,yl=R.next())Je=$(Te,_,Ze,yl.value,J),Je!==null&&(qt=Se(_,Je,yl.value,qt),e&&Je.alternate!==null&&Te.delete(Je.key===null?Ze:Je.key),C=s(Je,C,Ze),Qe===null?se=Je:Qe.sibling=Je,Qe=Je);return e&&Te.forEach(function(yT){return t(_,yT)}),mt&&pi(_,Ze),se}function ot(_,C,R,J){if(typeof R=="object"&&R!==null&&R.type===je&&R.key===null&&(js(R,null,_),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case zo:var se=Cl(R._debugInfo);e:{for(var Qe=R.key;C!==null;){if(C.key===Qe){if(Qe=R.type,Qe===je){if(C.tag===7){n(_,C.sibling),J=c(C,R.props.children),J.return=_,J._debugOwner=R._owner,J._debugInfo=Fe,js(R,J,_),_=J;break e}}else if(C.elementType===Qe||nf(C,R)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===$n&&Ar(Qe)===C.type){n(_,C.sibling),J=c(C,R.props),ha(J,R),J.return=_,J._debugOwner=R._owner,J._debugInfo=Fe,_=J;break e}n(_,C);break}else t(_,C);C=C.sibling}R.type===je?(J=Ba(R.props.children,_.mode,J,R.key),J.return=_,J._debugOwner=_,J._debugTask=_._debugTask,J._debugInfo=Fe,js(R,J,_),_=J):(J=co(R,_.mode,J),ha(J,R),J.return=_,J._debugInfo=Fe,_=J)}return _=h(_),Fe=se,_;case Lc:e:{for(se=R,R=se.key;C!==null;){if(C.key===R)if(C.tag===4&&C.stateNode.containerInfo===se.containerInfo&&C.stateNode.implementation===se.implementation){n(_,C.sibling),J=c(C,se.children||[]),J.return=_,_=J;break e}else{n(_,C);break}else t(_,C);C=C.sibling}J=ys(se,_.mode,J),J.return=_,_=J}return h(_);case $n:return se=Cl(R._debugInfo),R=Ar(R),_=ot(_,C,R,J),Fe=se,_}if(Ve(R))return se=Cl(R._debugInfo),_=Le(_,C,R,J),Fe=se,_;if(qe(R)){if(se=Cl(R._debugInfo),Qe=qe(R),typeof Qe!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Te=Qe.call(R);return Te===R?(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Te)!=="[object Generator]")&&(A1||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."),A1=!0):R.entries!==Qe||Ry||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ry=!0),_=Ht(_,C,Te,J),Fe=se,_}if(typeof R.then=="function")return se=Cl(R._debugInfo),_=ot(_,C,Qs(R),J),Fe=se,_;if(R.$$typeof===ya)return ot(_,C,so(_,R),J);Xe(_,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(se=""+R,C!==null&&C.tag===6?(n(_,C.sibling),J=c(C,se),J.return=_,_=J):(n(_,C),J=ka(se,_.mode,J),J.return=_,J._debugOwner=_,J._debugTask=_._debugTask,J._debugInfo=Fe,_=J),h(_)):(typeof R=="function"&&gt(_,R),typeof R=="symbol"&&Xt(_,R),n(_,C))}return function(_,C,R,J){var se=Fe;Fe=null;try{Np=0;var Qe=ot(_,C,R,J);return _m=null,Qe}catch(qt){if(qt===Hp||qt===cg)throw qt;var Te=V(29,qt,null,_.mode);Te.lanes=J,Te.return=_;var Ze=Te._debugInfo=Fe;if(Te._debugOwner=_._debugOwner,Te._debugTask=_._debugTask,Ze!=null){for(var Je=Ze.length-1;0<=Je;Je--)if(typeof Ze[Je].stack=="string"){Te._debugOwner=Ze[Je],Te._debugTask=Ze[Je].debugTask;break}}return Te}finally{Fe=se}}}function Gn(e){var t=e.alternate;Ee(Vl,Vl.current&Am,e),Ee(eu,e,e),Vo===null&&(t===null||Tm.current!==null||t.memoizedState!==null)&&(Vo=e)}function yo(e){if(e.tag===22){if(Ee(Vl,Vl.current,e),Ee(eu,e,e),Vo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Vo=e)}}else Qa(e)}function Qa(e){Ee(Vl,Vl.current,e),Ee(eu,eu.current,e)}function Xn(e){Re(eu,e),Vo===e&&(Vo=null),Re(Vl,e)}function _u(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===Wc||Yi(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function e0(e){if(e!==null&&typeof e!="function"){var t=String(e);V1.has(t)||(V1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function jt(e,t,n,u){var c=e.memoizedState,s=n(u,c);if(e.mode&zn){$e(!0);try{s=n(u,c)}finally{$e(!1)}}s===void 0&&(t=Oe(t)||"Component",N1.has(t)||(N1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),c=s==null?c:Ke({},c,s),e.memoizedState=c,e.lanes===0&&(e.updateQueue.baseState=c)}function Fd(e,t,n,u,c,s,h){var p=e.stateNode;if(typeof p.shouldComponentUpdate=="function"){if(n=p.shouldComponentUpdate(u,s,h),e.mode&zn){$e(!0);try{n=p.shouldComponentUpdate(u,s,h)}finally{$e(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Oe(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!ao(n,u)||!ao(c,s):!0}function Pd(e,t,n,u){var c=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==c&&(e=me(e)||"Component",U1.has(e)||(U1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Dy.enqueueReplaceState(t,t.state,null))}function bo(e,t){var n=t;if("ref"in t){n={};for(var u in t)u!=="ref"&&(n[u]=t[u])}if(e=e.defaultProps){n===t&&(n=Ke({},n));for(var c in e)n[c]===void 0&&(n[c]=e[c])}return n}function t0(e){zy(e),console.warn(`%s
1050
920
 
1051
921
  %s
1052
- `,Um?"An error occurred in the <"+Um+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
1053
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function _v(e){var t=Um?"The above error occurred in the <"+Um+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Yy||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var u=e.environmentName;e=[`%o
922
+ `,Mm?"An error occurred in the <"+Mm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
923
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function gv(e){var t=Mm?"The above error occurred in the <"+Mm+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Oy||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var u=e.environmentName;e=[`%o
1054
924
 
1055
925
  %s
1056
926
 
1057
927
  %s
1058
- `,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,wS+e[0],HS,Yg+u+Yg,kS):e.splice(0,0,wS,HS,Yg+u+Yg,kS),e.unshift(console),u=ZT.apply(console.error,e),u()}else console.error(`%o
928
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,bS+e[0],SS,Ug+u+Ug,TS):e.splice(0,0,bS,SS,Ug+u+Ug,TS),e.unshift(console),u=vT.apply(console.error,e),u()}else console.error(`%o
1059
929
 
1060
930
  %s
1061
931
 
1062
932
  %s
1063
- `,e,t,l)}function ih(e){qy(e)}function Kc(e,t){try{Um=t.source?me(t.source):null,Yy=null;var l=t.value;if(G.actQueue!==null)G.thrownErrors.push(l);else{var u=e.onUncaughtError;u(l,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function uh(e,t,l){try{Um=l.source?me(l.source):null,Yy=me(t);var u=e.onCaughtError;u(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Jn(e,t,l){return l=Gl(l),l.tag=Dy,l.payload={element:null},l.callback=function(){ye(t.source,Kc,e,t)},l}function Kt(e){return e=Gl(e),e.tag=Dy,e}function Df(e,t,l,u){var s=l.type.getDerivedStateFromError;if(typeof s=="function"){var c=u.value;e.payload=function(){return s(c)},e.callback=function(){rf(l),ye(u.source,uh,t,l,u)}}var h=l.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){rf(l),ye(u.source,uh,t,l,u),typeof s!="function"&&(wr===null?wr=new Set([this]):wr.add(this)),ET(this,u),typeof s=="function"||(l.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.",me(l)||"Unknown")})}function zf(e,t,l,u,s){if(l.flags|=32768,tn&&lr(e,s),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=l.alternate,t!==null&&cn(t,l,s,!0),mt&&(Js=!0),l=tu.current,l!==null){switch(l.tag){case 13:return jo===null?Ah():l.alternate===null&&dn===Fs&&(dn=Xy),l.flags&=-257,l.flags|=65536,l.lanes=s,u===Ry?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([u]):t.add(u),Op(e,u,s)),!1;case 22:return l.flags|=65536,u===Ry?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([u]):l.add(u)),Op(e,u,s)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Op(e,u,s),Ah(),!1}if(mt)return Js=!0,t=tu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,u!==Cy&&bu(Zn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),l))):(u!==Cy&&bu(Zn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),l)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,u=Zn(u,l),s=Jn(e.stateNode,u,s),kc(e,s),dn!==_d&&(dn=Bm)),!1;var c=Zn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),l);if(I0===null?I0=[c]:I0.push(c),dn!==_d&&(dn=Bm),t===null)return!0;u=Zn(u,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=s&-s,l.lanes|=e,e=Jn(l.stateNode,u,e),kc(l,e),!1;case 1:if(t=l.type,c=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(wr===null||!wr.has(c))))return l.flags|=65536,s&=-s,l.lanes|=s,s=Kt(s),Df(s,e,l,u),kc(l,s),!1}l=l.return}while(l!==null);return!1}function rn(e,t,l,u){t.child=e===null?X1(t,null,l,u):zm(t,e.child,l,u)}function oh(e,t,l,u,s){l=l.render;var c=t.ref;if("ref"in u){var h={};for(var v in u)v!=="ref"&&(h[v]=u[v])}else h=u;return Ya(t),Gt(t),u=vo(e,t,l,h,c,s),v=Sl(),Tn(),e!==null&&!Pn?(Tu(e,t,s),zi(e,t,s)):(mt&&v&&ds(t),t.flags|=1,rn(e,t,u,s),t.child)}function Di(e,t,l,u,s){if(e===null){var c=l.type;return typeof c=="function"&&!bc(c)&&c.defaultProps===void 0&&l.compare===null?(l=pi(c),t.tag=15,t.type=l,fh(t,c),Of(e,t,l,u,s)):(e=fs(l.type,null,u,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!gh(e,s)){var h=c.memoizedProps;if(l=l.compare,l=l!==null?l:uo,l(h,u)&&e.ref===t.ref)return zi(e,t,s)}return t.flags|=1,e=Ll(c,u),e.ref=t.ref,e.return=t,t.child=e}function Of(e,t,l,u,s){if(e!==null){var c=e.memoizedProps;if(uo(c,u)&&e.ref===t.ref&&t.type===e.type)if(Pn=!1,t.pendingProps=u=c,gh(e,s))(e.flags&131072)!==0&&(Pn=!0);else return t.lanes=e.lanes,zi(e,t,s)}return rh(e,t,l,u,s)}function sh(e,t,l){var u=t.pendingProps,s=u.children,c=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((t.flags&128)!==0){if(u=c!==null?c.baseLanes|l:l,e!==null){for(s=t.child=e.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;t.childLanes=c&~u}else t.childLanes=0,t.child=null;return ch(e,t,u,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vs(t,c!==null?c.cachePool:null),c!==null?bl(t,c):vf(t),So(t);else return t.lanes=t.childLanes=536870912,ch(e,t,c!==null?c.baseLanes|l:l,l)}else c!==null?(vs(t,c.cachePool),bl(t,c),Za(t),t.memoizedState=null):(e!==null&&vs(t,null),vf(t),Za(t));return rn(e,t,s,l),t.child}function ch(e,t,l,u){var s=Oc();return s=s===null?null:{parent:Vn._currentValue,pool:s},t.memoizedState={baseLanes:l,cachePool:s},e!==null&&vs(t,null),vf(t),So(t),e!==null&&cn(e,t,u,!0),null}function Uf(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function rh(e,t,l,u,s){if(l.prototype&&typeof l.prototype.render=="function"){var c=ze(l)||"Unknown";lS[c]||(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.",c,c),lS[c]=!0)}return t.mode&Ol&&Gu.recordLegacyContextWarning(t,null),e===null&&(fh(t,t.type),l.contextTypes&&(c=ze(l)||"Unknown",iS[c]||(iS[c]=!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)",c)))),Ya(t),Gt(t),l=vo(e,t,l,u,void 0,s),u=Sl(),Tn(),e!==null&&!Pn?(Tu(e,t,s),zi(e,t,s)):(mt&&u&&ds(t),t.flags|=1,rn(e,t,l,s),t.child)}function op(e,t,l,u,s,c){return Ya(t),Gt(t),Is=-1,V0=e!==null&&e.type!==t.type,t.updateQueue=null,l=qc(t,u,l,s),gf(e,t),u=Sl(),Tn(),e!==null&&!Pn?(Tu(e,t,c),zi(e,t,c)):(mt&&u&&ds(t),t.flags|=1,rn(e,t,l,c),t.child)}function sp(e,t,l,u,s){switch(w(t)){case!1:var c=t.stateNode,h=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,h,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var v=s&-s;if(t.lanes|=v,h=Ut,h===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");v=Kt(v),Df(v,h,t,Zn(c,t)),kc(t,v)}if(Ya(t),t.stateNode===null){if(h=Ar,c=l.contextType,"contextType"in l&&c!==null&&(c===void 0||c.$$typeof!==ba)&&!eS.has(l)&&(eS.add(l),v=c===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 c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===Ph?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ze(l)||"Component",v)),typeof c=="object"&&c!==null&&(h=Et(c)),c=new l(u,h),t.mode&Ol){$e(!0);try{c=new l(u,h)}finally{$e(!1)}}if(h=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Ly,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=Q1,typeof l.getDerivedStateFromProps=="function"&&h===null&&(h=ze(l)||"Component",$1.has(h)||($1.add(h),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.",h,c.state===null?"null":"undefined",h))),typeof l.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var S=v=h=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?h="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(h="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?v="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(v="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?S="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(S="UNSAFE_componentWillUpdate"),h!==null||v!==null||S!==null){c=ze(l)||"Component";var x=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";K1.has(c)||(K1.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
933
+ `,e,t,n)}function eh(e){zy(e)}function Zs(e,t){try{Mm=t.source?me(t.source):null,Oy=null;var n=t.value;if(G.actQueue!==null)G.thrownErrors.push(n);else{var u=e.onUncaughtError;u(n,{componentStack:t.stack})}}catch(c){setTimeout(function(){throw c})}}function th(e,t,n){try{Mm=n.source?me(n.source):null,Oy=me(t);var u=e.onCaughtError;u(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Zl(e,t,n){return n=Vn(n),n.tag=Sy,n.payload={element:null},n.callback=function(){ye(t.source,Zs,e,t)},n}function Jt(e){return e=Vn(e),e.tag=Sy,e}function _f(e,t,n,u){var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var s=u.value;e.payload=function(){return c(s)},e.callback=function(){af(n),ye(u.source,th,t,n,u)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){af(n),ye(u.source,th,t,n,u),typeof c!="function"&&(zr===null?zr=new Set([this]):zr.add(this)),$2(this,u),typeof c=="function"||(n.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.",me(n)||"Unknown")})}function Cf(e,t,n,u,c){if(n.flags|=32768,el&&er(e,c),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=n.alternate,t!==null&&ol(t,n,c,!0),mt&&(Qc=!0),n=eu.current,n!==null){switch(n.tag){case 13:return Vo===null?Th():n.alternate===null&&rl===Kc&&(rl=By),n.flags&=-257,n.flags|=65536,n.lanes=c,u===by?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([u]):t.add(u),A0(e,u,c)),!1;case 22:return n.flags|=65536,u===by?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([u]):n.add(u)),A0(e,u,c)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return A0(e,u,c),Th(),!1}if(mt)return Qc=!0,t=eu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,u!==py&&gu(jl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),n))):(u!==py&&gu(jl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),n)),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,u=jl(u,n),c=Zl(e.stateNode,u,c),Us(e,c),rl!==Sd&&(rl=Om)),!1;var s=jl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),n);if(Qp===null?Qp=[s]:Qp.push(s),rl!==Sd&&(rl=Om),t===null)return!0;u=jl(u,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=c&-c,n.lanes|=e,e=Zl(n.stateNode,u,e),Us(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(zr===null||!zr.has(s))))return n.flags|=65536,c&=-c,n.lanes|=c,c=Jt(c),_f(c,e,n,u),Us(n,c),!1}n=n.return}while(n!==null);return!1}function cl(e,t,n,u){t.child=e===null?z1(t,null,n,u):Cm(t,e.child,n,u)}function lh(e,t,n,u,c){n=n.render;var s=t.ref;if("ref"in u){var h={};for(var p in u)p!=="ref"&&(h[p]=u[p])}else h=u;return qa(t),Vt(t),u=mo(e,t,n,h,s,c),p=bn(),bl(),e!==null&&!Il?(bu(e,t,c),Di(e,t,c)):(mt&&p&&sc(t),t.flags|=1,cl(e,t,u,c),t.child)}function Ri(e,t,n,u,c){if(e===null){var s=n.type;return typeof s=="function"&&!vs(s)&&s.defaultProps===void 0&&n.compare===null?(n=mi(s),t.tag=15,t.type=n,uh(t,s),Af(e,t,n,u,c)):(e=cc(n.type,null,u,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!dh(e,c)){var h=s.memoizedProps;if(n=n.compare,n=n!==null?n:ao,n(h,u)&&e.ref===t.ref)return Di(e,t,c)}return t.flags|=1,e=Nn(s,u),e.ref=t.ref,e.return=t,t.child=e}function Af(e,t,n,u,c){if(e!==null){var s=e.memoizedProps;if(ao(s,u)&&e.ref===t.ref&&t.type===e.type)if(Il=!1,t.pendingProps=u=s,dh(e,c))(e.flags&131072)!==0&&(Il=!0);else return t.lanes=e.lanes,Di(e,t,c)}return ih(e,t,n,u,c)}function nh(e,t,n){var u=t.pendingProps,c=u.children,s=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((t.flags&128)!==0){if(u=s!==null?s.baseLanes|n:n,e!==null){for(c=t.child=e.child,s=0;c!==null;)s=s|c.lanes|c.childLanes,c=c.sibling;t.childLanes=s&~u}else t.childLanes=0,t.child=null;return ah(e,t,u,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&hc(t,s!==null?s.cachePool:null),s!==null?yn(t,s):ff(t),yo(t);else return t.lanes=t.childLanes=536870912,ah(e,t,s!==null?s.baseLanes|n:n,n)}else s!==null?(hc(t,s.cachePool),yn(t,s),Qa(t),t.memoizedState=null):(e!==null&&hc(t,null),ff(t),Qa(t));return cl(e,t,c,n),t.child}function ah(e,t,n,u){var c=Rs();return c=c===null?null:{parent:ql._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&hc(t,null),ff(t),yo(t),e!==null&&ol(e,t,u,!0),null}function Mf(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ih(e,t,n,u,c){if(n.prototype&&typeof n.prototype.render=="function"){var s=Oe(n)||"Unknown";X1[s]||(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.",s,s),X1[s]=!0)}return t.mode&zn&&Yu.recordLegacyContextWarning(t,null),e===null&&(uh(t,t.type),n.contextTypes&&(s=Oe(n)||"Unknown",Q1[s]||(Q1[s]=!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)",s)))),qa(t),Vt(t),n=mo(e,t,n,u,void 0,c),u=bn(),bl(),e!==null&&!Il?(bu(e,t,c),Di(e,t,c)):(mt&&u&&sc(t),t.flags|=1,cl(e,t,n,c),t.child)}function l0(e,t,n,u,c,s){return qa(t),Vt(t),$c=-1,kp=e!==null&&e.type!==t.type,t.updateQueue=null,n=ks(t,u,n,c),df(e,t),u=bn(),bl(),e!==null&&!Il?(bu(e,t,s),Di(e,t,s)):(mt&&u&&sc(t),t.flags|=1,cl(e,t,n,s),t.child)}function n0(e,t,n,u,c){switch(w(t)){case!1:var s=t.stateNode,h=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,h,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var p=c&-c;if(t.lanes|=p,h=Ut,h===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");p=Jt(p),_f(p,h,t,jl(s,t)),Us(t,p)}if(qa(t),t.stateNode===null){if(h=Er,s=n.contextType,"contextType"in n&&s!==null&&(s===void 0||s.$$typeof!==ya)&&!Y1.has(n)&&(Y1.add(n),p=s===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 s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===Jh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(n)||"Component",p)),typeof s=="object"&&s!==null&&(h=Et(s)),s=new n(u,h),t.mode&zn){$e(!0);try{s=new n(u,h)}finally{$e(!1)}}if(h=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Dy,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=O1,typeof n.getDerivedStateFromProps=="function"&&h===null&&(h=Oe(n)||"Component",H1.has(h)||(H1.add(h),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.",h,s.state===null?"null":"undefined",h))),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var b=p=h=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?h="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(h="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?p="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(p="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?b="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(b="UNSAFE_componentWillUpdate"),h!==null||p!==null||b!==null){s=Oe(n)||"Component";var S=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";B1.has(s)||(B1.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
1064
934
 
1065
935
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
1066
936
 
1067
937
  The above lifecycles should be removed. Learn more about this warning here:
1068
- https://react.dev/link/unsafe-component-lifecycles`,c,x,h!==null?`
1069
- `+h:"",v!==null?`
1070
- `+v:"",S!==null?`
1071
- `+S:""))}}c=t.stateNode,h=ze(l)||"Component",c.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",h):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",h)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",h),c.getDefaultProps&&!c.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.",h),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),l.childContextTypes&&!P1.has(l)&&(P1.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",h)),l.contextTypes&&!F1.has(l)&&(F1.add(l),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)",h)),typeof c.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.",h),l.prototype&&l.prototype.isPureReactComponent&&typeof c.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.",ze(l)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof c.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().",h),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h),v=c.props!==u,c.props!==void 0&&v&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h),c.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.",h,h),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||J1.has(l)||(J1.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ze(l))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h),(v=c.state)&&(typeof v!="object"||Ve(v))&&console.error("%s.state: must be set to an object or null",h),typeof c.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h),c=t.stateNode,c.props=u,c.state=t.memoizedState,c.refs={},Hn(t),h=l.contextType,c.context=typeof h=="object"&&h!==null?Et(h):Ar,c.state===u&&(h=ze(l)||"Component",I1.has(h)||(I1.add(h),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.",h))),t.mode&Ol&&Gu.recordLegacyContextWarning(t,c),Gu.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,h=l.getDerivedStateFromProps,typeof h=="function"&&(Qt(t,l,h,u),c.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(h=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),h!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",me(t)||"Component"),Ly.enqueueReplaceState(c,c.state,null)),Bc(t,u,c,s),xi(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Vu)!==qt&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var N=t.memoizedProps;v=To(l,N),c.props=v;var Q=c.context;S=l.contextType,h=Ar,typeof S=="object"&&S!==null&&(h=Et(S)),x=l.getDerivedStateFromProps,S=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function",N=t.pendingProps!==N,S||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(N||Q!==h)&&ah(t,c,u,h),Mr=!1;var k=t.memoizedState;c.state=k,Bc(t,u,c,s),xi(),Q=t.memoizedState,N||k!==Q||Mr?(typeof x=="function"&&(Qt(t,l,x,u),Q=t.memoizedState),(v=Mr||lh(t,l,v,u,k,Q,h))?(S||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Vu)!==qt&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Vu)!==qt&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=Q),c.props=u,c.state=Q,c.context=h,c=v):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Vu)!==qt&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Ga(e,t),h=t.memoizedProps,S=To(l,h),c.props=S,x=t.pendingProps,k=c.context,Q=l.contextType,v=Ar,typeof Q=="object"&&Q!==null&&(v=Et(Q)),N=l.getDerivedStateFromProps,(Q=typeof N=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(h!==x||k!==v)&&ah(t,c,u,v),Mr=!1,k=t.memoizedState,c.state=k,Bc(t,u,c,s),xi();var $=t.memoizedState;h!==x||k!==$||Mr||e!==null&&e.dependencies!==null&&qa(e.dependencies)?(typeof N=="function"&&(Qt(t,l,N,u),$=t.memoizedState),(S=Mr||lh(t,l,S,u,k,$,v)||e!==null&&e.dependencies!==null&&qa(e.dependencies))?(Q||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(u,$,v),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(u,$,v)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=$),c.props=u,c.state=$,c.context=v,c=S):(typeof c.componentDidUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),c=!1)}if(v=c,Uf(e,t),h=(t.flags&128)!==0,v||h){if(v=t.stateNode,Iu(t),h&&typeof l.getDerivedStateFromError!="function")l=null,xa=-1;else{if(Gt(t),l=z1(v),t.mode&Ol){$e(!0);try{z1(v)}finally{$e(!1)}}Tn()}t.flags|=1,e!==null&&h?(t.child=zm(t,e.child,null,s),t.child=zm(t,null,l,s)):rn(e,t,l,s),t.memoizedState=v.state,e=t.child}else e=zi(e,t,s);return s=t.stateNode,c&&s.props!==u&&(wm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",me(t)||"a component"),wm=!0),e}function cp(e,t,l,u){return yi(),t.flags|=256,rn(e,t,l,u),t.child}function fh(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
1072
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ze(t)||"Unknown",uS[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),uS[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ze(t)||"Unknown",aS[t]||(console.error("%s: Function components do not support contextType.",t),aS[t]=!0))}function wf(e){return{baseLanes:e,cachePool:mf()}}function dh(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=ei),e}function Av(e,t,l){var u,s=t.pendingProps;C(t)&&(t.flags|=128);var c=!1,h=(t.flags&128)!==0;if((u=h)||(u=e!==null&&e.memoizedState===null?!1:(jn.current&j0)!==0),u&&(c=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(mt){if(c?jl(t):Za(t),mt){var v=fn,S;if(!(S=!v)){e:{var x=v;for(S=Vo;x.nodeType!==8;){if(!S){S=null;break e}if(x=Ln(x.nextSibling),x===null){S=null;break e}}S=x}S!==null?(pl(),t.memoizedState={dehydrated:S,treeContext:yd!==null?{id:Zs,overflow:$s}:null,retryLane:536870912,hydrationErrors:null},x=V(18,null,null,qt),x.stateNode=S,x.return=t,t.child=x,Wl=t,fn=null,S=!0):S=!1,S=!S}S&&(xc(t,v),ql(t))}if(v=t.memoizedState,v!==null&&(v=v.dehydrated,v!==null))return Vi(v)?t.lanes=32:t.lanes=536870912,null;Xl(t)}return v=s.children,s=s.fallback,c?(Za(t),c=t.mode,v=Hf({mode:"hidden",children:v},c),s=Ba(s,c,l,null),v.return=t,s.return=t,v.sibling=s,t.child=v,c=t.child,c.memoizedState=wf(l),c.childLanes=dh(e,u,l),t.memoizedState=Gy,s):(jl(t),hh(t,v))}var N=e.memoizedState;if(N!==null&&(v=N.dehydrated,v!==null)){if(h)t.flags&256?(jl(t),t.flags&=-257,t=mh(e,t,l)):t.memoizedState!==null?(Za(t),t.child=e.child,t.flags|=128,t=null):(Za(t),c=s.fallback,v=t.mode,s=Hf({mode:"visible",children:s.children},v),c=Ba(c,v,l,null),c.flags|=2,s.return=t,c.return=t,s.sibling=c,t.child=s,zm(t,e.child,null,l),s=t.child,s.memoizedState=wf(l),s.childLanes=dh(e,u,l),t.memoizedState=Gy,t=c);else if(jl(t),mt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Vi(v)){if(u=v.nextSibling&&v.nextSibling.dataset,u){S=u.dgst;var Q=u.msg;x=u.stck;var k=u.cstck}v=Q,u=S,s=x,S=c=k,c=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),c.stack=s||"",c.digest=u,u=S===void 0?null:S,s={value:c,source:null,stack:u},typeof u=="string"&&Ty.set(c,s),bu(s),t=mh(e,t,l)}else if(Pn||cn(e,t,l,!1),u=(l&e.childLanes)!==0,Pn||u){if(u=Ut,u!==null&&(s=l&-l,s=(s&42)!==0?1:Bt(s),s=(s&(u.suspendedLanes|l))!==0?0:s,s!==0&&s!==N.retryLane))throw N.retryLane=s,wn(e,s),It(u,e,s),nS;v.data===Ps||Ah(),t=mh(e,t,l)}else v.data===Ps?(t.flags|=192,t.child=e.child,t=null):(e=N.treeContext,fn=Ln(v.nextSibling),Wl=t,mt=!0,bd=null,Js=!1,Wi=null,Vo=!1,e!==null&&(pl(),Ki[Ii++]=Zs,Ki[Ii++]=$s,Ki[Ii++]=yd,Zs=e.id,$s=e.overflow,yd=t),t=hh(t,s.children),t.flags|=4096);return t}return c?(Za(t),c=s.fallback,v=t.mode,S=e.child,x=S.sibling,s=Ll(S,{mode:"hidden",children:s.children}),s.subtreeFlags=S.subtreeFlags&65011712,x!==null?c=Ll(x,c):(c=Ba(c,v,l,null),c.flags|=2),c.return=t,s.return=t,s.sibling=c,t.child=s,s=c,c=t.child,v=e.child.memoizedState,v===null?v=wf(l):(S=v.cachePool,S!==null?(x=Vn._currentValue,S=S.parent!==x?{parent:x,pool:x}:S):S=mf(),v={baseLanes:v.baseLanes|l,cachePool:S}),c.memoizedState=v,c.childLanes=dh(e,u,l),t.memoizedState=Gy,s):(jl(t),l=e.child,e=l.sibling,l=Ll(l,{mode:"visible",children:s.children}),l.return=t,l.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=l,t.memoizedState=null,l)}function hh(e,t){return t=Hf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Hf(e,t){return e=V(22,e,null,t),e.lanes=0,e.stateNode={_visibility:xy,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function mh(e,t,l){return zm(t,e.child,null,l),e=hh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ph(e,t,l){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Mc(e.return,t,l)}function rp(e,t){var l=Ve(e);return e=!l&&typeof qe(e)=="function",l||e?(l=l?"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>",l,t,l),!1):!0}function vh(e,t,l,u,s){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:s}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=u,c.tail=l,c.tailMode=s)}function fp(e,t,l){var u=t.pendingProps,s=u.revealOrder,c=u.tail;if(u=u.children,s!==void 0&&s!=="forwards"&&s!=="backwards"&&s!=="together"&&!oS[s])if(oS[s]=!0,typeof s=="string")switch(s.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',s,s.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.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',s);c===void 0||Vy[c]||(c!=="collapsed"&&c!=="hidden"?(Vy[c]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',c)):s!=="forwards"&&s!=="backwards"&&(Vy[c]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((s==="forwards"||s==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(Ve(u)){for(var h=0;h<u.length;h++)if(!rp(u[h],h))break e}else if(h=qe(u),typeof h=="function"){if(h=h.call(u))for(var v=h.next(),S=0;!v.done;v=h.next()){if(!rp(v.value,S))break e;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?',s);if(rn(e,t,u,l),u=jn.current,(u&j0)!==0)u=u&Om|j0,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ph(e,l,t);else if(e.tag===19)ph(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=Om}switch(Ee(jn,u,t),s){case"forwards":for(l=t.child,s=null;l!==null;)e=l.alternate,e!==null&&Au(e)===null&&(s=l),l=l.sibling;l=s,l===null?(s=t.child,t.child=null):(s=l.sibling,l.sibling=null),vh(t,!1,s,l,c);break;case"backwards":for(l=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Au(e)===null){t.child=s;break}e=s.sibling,s.sibling=l,l=s,s=e}vh(t,!0,l,null,c);break;case"together":vh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zi(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),xa=-1,Or|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(cn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=Ll(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Ll(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function gh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&qa(e)))}function ny(e,t,l){switch(t.tag){case 3:Mt(t,t.stateNode.containerInfo),La(t,Vn,e.memoizedState.cache),yi();break;case 27:case 5:W(t);break;case 4:Mt(t,t.stateNode.containerInfo);break;case 10:La(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(jl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Av(e,t,l):(jl(t),e=zi(e,t,l),e!==null?e.sibling:null);jl(t);break;case 19:var s=(e.flags&128)!==0;if(u=(l&t.childLanes)!==0,u||(cn(e,t,l,!1),u=(l&t.childLanes)!==0),s){if(u)return fp(e,t,l);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ee(jn,jn.current,t),u)break;return null;case 22:case 23:return t.lanes=0,sh(e,t,l);case 24:La(t,Vn,e.memoizedState.cache)}return zi(e,t,l)}function yh(e,t,l){if(t._debugNeedsRemount&&e!==null){l=fs(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===u.child)u.child=l;else{var s=u.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=l}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Pn=!0;else{if(!gh(e,l)&&(t.flags&128)===0)return Pn=!1,ny(e,t,l);Pn=(e.flags&131072)!==0}else Pn=!1,(u=mt)&&(pl(),u=(t.flags&1048576)!==0),u&&(u=t.index,pl(),ff(t,rg,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Dr(t.elementType),t.type=e,typeof e=="function")bc(e)?(u=To(e,u),t.tag=1,t.type=e=pi(e),t=sp(null,t,e,u,l)):(t.tag=0,fh(t,e),t.type=e=pi(e),t=rh(null,t,e,u,l));else{if(e!=null){if(s=e.$$typeof,s===Hu){t.tag=11,t.type=e=yc(e),t=oh(null,t,e,u,l);break e}else if(s===ad){t.tag=14,t=Di(null,t,e,u,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Jl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=ze(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return rh(e,t,t.type,t.pendingProps,l);case 1:return u=t.type,s=To(u,t.pendingProps),sp(e,t,u,s,l);case 3:e:{if(Mt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var c=t.memoizedState;s=c.element,Ga(e,t),Bc(t,u,null,l);var h=t.memoizedState;if(u=h.cache,La(t,Vn,u),u!==c.cache&&Rc(t,[Vn],l,!0),xi(),u=h.element,c.isDehydrated)if(c={element:u,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=cp(e,t,u,l);break e}else if(u!==s){s=Zn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),bu(s),t=cp(e,t,u,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(fn=Ln(e.firstChild),Wl=t,mt=!0,bd=null,Js=!1,Wi=null,Vo=!0,e=X1(t,null,u,l),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(yi(),u===s){t=zi(e,t,l);break e}rn(e,t,u,l)}t=t.child}return t;case 26:return Uf(e,t),e===null?(e=wu(t.type,null,t.pendingProps,null))?t.memoizedState=e:mt||(e=t.type,l=t.pendingProps,u=et(ji.current),u=nt(u).createElement(e),u[Fn]=t,u[Dl]=l,Ft(u,e,l),nn(u),t.stateNode=u):t.memoizedState=wu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return W(t),e===null&&mt&&(u=et(ji.current),s=D(),u=t.stateNode=Ip(t.type,t.pendingProps,u,s,!1),Js||(s=Rt(u,t.type,t.pendingProps,s),s!==null&&(vl(t,0).serverProps=s)),Wl=t,Vo=!0,s=fn,Yi(t.type)?(fb=s,fn=Ln(u.firstChild)):fn=s),rn(e,t,t.pendingProps.children,l),Uf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&mt&&(c=D(),u=ns(t.type,c.ancestorInfo),s=fn,(h=!s)||(h=Ro(s,t.type,t.pendingProps,Vo),h!==null?(t.stateNode=h,Js||(c=Rt(h,t.type,t.pendingProps,c),c!==null&&(vl(t,0).serverProps=c)),Wl=t,fn=Ln(h.firstChild),Vo=!1,c=!0):c=!1,h=!c),h&&(u&&xc(t,s),ql(t))),W(t),s=t.type,c=t.pendingProps,h=e!==null?e.memoizedProps:null,u=c.children,qi(s,c)?u=null:h!==null&&qi(s,h)&&(t.flags|=32),t.memoizedState!==null&&(s=vo(e,t,ra,null,null,l),av._currentValue=s),Uf(e,t),rn(e,t,u,l),t.child;case 6:return e===null&&mt&&(e=t.pendingProps,l=D(),u=l.ancestorInfo.current,e=u!=null?no(e,u.tag,l.ancestorInfo.implicitRootScope):!0,l=fn,(u=!l)||(u=Nn(l,t.pendingProps,Vo),u!==null?(t.stateNode=u,Wl=t,fn=null,u=!0):u=!1,u=!u),u&&(e&&xc(t,l),ql(t))),null;case 13:return Av(e,t,l);case 4:return Mt(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=zm(t,null,u,l):rn(e,t,u,l),t.child;case 11:return oh(e,t,t.type,t.pendingProps,l);case 7:return rn(e,t,t.pendingProps,l),t.child;case 8:return rn(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,rn(e,t,t.pendingProps.children,l),t.child;case 10:return u=t.type,s=t.pendingProps,c=s.value,"value"in s||sS||(sS=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),La(t,u,c),rn(e,t,s.children,l),t.child;case 9:return s=t.type._context,u=t.pendingProps.children,typeof u!="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."),Ya(t),s=Et(s),Gt(t),u=ky(u,s,void 0),Tn(),t.flags|=1,rn(e,t,u,l),t.child;case 14:return Di(e,t,t.type,t.pendingProps,l);case 15:return Of(e,t,t.type,t.pendingProps,l);case 19:return fp(e,t,l);case 31:return u=t.pendingProps,l=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Hf(u,l),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Ll(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return sh(e,t,l);case 24:return Ya(t),u=Et(Vn),e===null?(s=Oc(),s===null&&(s=Ut,c=ho(),s.pooledCache=c,bi(c),c!==null&&(s.pooledCacheLanes|=l),s=c),t.memoizedState={parent:u,cache:s},Hn(t),La(t,Vn,s)):((e.lanes&l)!==0&&(Ga(e,t),Bc(t,null,null,l),xi()),s=e.memoizedState,c=t.memoizedState,s.parent!==u?(s={parent:u,cache:u},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),La(t,Vn,u)):(u=c.cache,La(t,Vn,u),u!==s.cache&&Rc(t,[Vn],l,!0))),rn(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xl(e){e.flags|=4}function kf(e,t){if(t.type!=="stylesheet"||(t.state.loading&nu)!==Hd)e.flags&=-16777217;else if(e.flags|=16777216,!Kf(t)){if(t=tu.current,t!==null&&((it&4194048)===it?jo!==null:(it&62914560)!==it&&(it&536870912)===0||t!==jo))throw q0=Ry,y1;e.flags|=8192}}function Bf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ma():536870912,e.lanes|=t,Rd|=t)}function xo(e,t){if(!mt)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ct(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,u=0;if(t)if((e.mode&cl)!==qt){for(var s=e.selfBaseDuration,c=e.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,s+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,u|=s.subtreeFlags&65011712,u|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&cl)!==qt){s=e.actualDuration,c=e.selfBaseDuration;for(var h=e.child;h!==null;)l|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,s+=h.actualDuration,c+=h.treeBaseDuration,h=h.sibling;e.actualDuration=s,e.treeBaseDuration=c}else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,u|=s.subtreeFlags,u|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=u,e.childLanes=l,t}function Mv(e,t,l){var u=t.pendingProps;switch(hs(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(t),null;case 1:return Ct(t),null;case 3:return l=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),oa(Vn,t),vt(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(gi(t)?(Ac(),xl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,_c())),Ct(t),null;case 26:return l=t.memoizedState,e===null?(xl(t),l!==null?(Ct(t),kf(t,l)):(Ct(t),t.flags&=-16777217)):l?l!==e.memoizedState?(xl(t),Ct(t),kf(t,l)):(Ct(t),t.flags&=-16777217):(e.memoizedProps!==u&&xl(t),Ct(t),t.flags&=-16777217),null;case 27:te(t),l=et(ji.current);var s=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&xl(t);else{if(!u){if(t.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 Ct(t),null}e=D(),gi(t)?Ec(t):(e=Ip(s,u,l,e,!0),t.stateNode=e,xl(t))}return Ct(t),null;case 5:if(te(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&xl(t);else{if(!u){if(t.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 Ct(t),null}if(s=D(),gi(t))Ec(t);else{switch(e=et(ji.current),ns(l,s.ancestorInfo),s=s.context,e=nt(e),s){case Gm:e=e.createElementNS(_r,l);break;case Ng:e=e.createElementNS(pd,l);break;default:switch(l){case"svg":e=e.createElementNS(_r,l);break;case"math":e=e.createElementNS(pd,l);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(l,{is:u.is}):e.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Bu.call(MS,l)||(MS[l]=!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.",l)))}}e[Fn]=t,e[Dl]=u;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=e;e:switch(Ft(e,l,u),l){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&xl(t)}}return Ct(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&xl(t);else{if(typeof u!="string"&&t.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(e=et(ji.current),l=D(),gi(t)){e=t.stateNode,l=t.memoizedProps,s=!Js,u=null;var c=Wl;if(c!==null)switch(c.tag){case 3:s&&(s=Xh(e,l,u),s!==null&&(vl(t,0).serverProps=s));break;case 27:case 5:u=c.memoizedProps,s&&(s=Xh(e,l,u),s!==null&&(vl(t,0).serverProps=s))}e[Fn]=t,e=!!(e.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||Yp(e.nodeValue,l)),e||ql(t)}else s=l.ancestorInfo.current,s!=null&&no(u,s.tag,l.ancestorInfo.implicitRootScope),e=nt(e).createTextNode(u),e[Fn]=t,t.stateNode=e}return Ct(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=gi(t),u!==null&&u.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[Fn]=t,Ct(t),(t.mode&cl)!==qt&&u!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else Ac(),yi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Ct(t),(t.mode&cl)!==qt&&u!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=_c(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Xl(t),t):(Xl(t),null)}return Xl(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&cl)!==qt&&Vl(t),t):(l=u!==null,e=e!==null&&e.memoizedState!==null,l&&(u=t.child,s=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(s=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==s&&(u.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Bf(t,t.updateQueue),Ct(t),(t.mode&cl)!==qt&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return vt(t),e===null&&Lp(t.stateNode.containerInfo),Ct(t),null;case 10:return oa(t.type,t),Ct(t),null;case 19:if(Re(jn,t),s=t.memoizedState,s===null)return Ct(t),null;if(u=(t.flags&128)!==0,c=s.rendering,c===null)if(u)xo(s,!1);else{if(dn!==Fs||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Au(e),c!==null){for(t.flags|=128,xo(s,!1),e=c.updateQueue,t.updateQueue=e,Bf(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Sc(l,e),l=l.sibling;return Ee(jn,jn.current&Om|j0,t),t.child}e=e.sibling}s.tail!==null&&Xi()>_g&&(t.flags|=128,u=!0,xo(s,!1),t.lanes=4194304)}else{if(!u)if(e=Au(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,Bf(t,e),xo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!mt)return Ct(t),null}else 2*Xi()-s.renderingStartTime>_g&&l!==536870912&&(t.flags|=128,u=!0,xo(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(e=s.last,e!==null?e.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Xi(),e.sibling=null,l=jn.current,l=u?l&Om|j0:l&Om,Ee(jn,l,t),e):(Ct(t),null);case 22:case 23:return Xl(t),ja(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(l&536870912)!==0&&(t.flags&128)===0&&(Ct(t),t.subtreeFlags&6&&(t.flags|=8192)):Ct(t),l=t.updateQueue,l!==null&&Bf(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==l&&(t.flags|=2048),e!==null&&Re(xd,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),oa(Vn,t),Ct(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Rv(e,t){switch(hs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cl)!==qt&&Vl(t),t):null;case 3:return oa(Vn,t),vt(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return te(t),null;case 13:if(Xl(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cl)!==qt&&Vl(t),t):null;case 19:return Re(jn,t),null;case 4:return vt(t),null;case 10:return oa(t.type,t),null;case 22:case 23:return Xl(t),ja(t),e!==null&&Re(xd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cl)!==qt&&Vl(t),t):null;case 24:return oa(Vn,t),null;case 25:return null;default:return null}}function dp(e,t){switch(hs(t),t.tag){case 3:oa(Vn,t),vt(t);break;case 26:case 27:case 5:te(t);break;case 4:vt(t);break;case 13:Xl(t);break;case 19:Re(jn,t);break;case 10:oa(t.type,t);break;case 22:case 23:Xl(t),ja(t),e!==null&&Re(xd,t);break;case 24:oa(Vn,t)}}function $a(e){return(e.mode&cl)!==qt}function hp(e,t){$a(e)?(yl(),Es(t,e),ll()):Es(t,e)}function bh(e,t,l){$a(e)?(yl(),Cs(l,e,t),ll()):Cs(l,e,t)}function Es(e,t){try{var l=t.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var s=u.next;l=s;do{if((l.tag&e)===e&&((e&Gn)!==Fi?he!==null&&typeof he.markComponentPassiveEffectMountStarted=="function"&&he.markComponentPassiveEffectMountStarted(t):(e&rl)!==Fi&&he!==null&&typeof he.markComponentLayoutEffectMountStarted=="function"&&he.markComponentLayoutEffectMountStarted(t),u=void 0,(e&Fl)!==Fi&&(Ym=!0),u=ye(t,CT,l),(e&Fl)!==Fi&&(Ym=!1),(e&Gn)!==Fi?he!==null&&typeof he.markComponentPassiveEffectMountStopped=="function"&&he.markComponentPassiveEffectMountStopped():(e&rl)!==Fi&&he!==null&&typeof he.markComponentLayoutEffectMountStopped=="function"&&he.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var c=void 0;c=(l.tag&rl)!==0?"useLayoutEffect":(l.tag&Fl)!==0?"useInsertionEffect":"useEffect";var h=void 0;h=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
938
+ https://react.dev/link/unsafe-component-lifecycles`,s,S,h!==null?`
939
+ `+h:"",p!==null?`
940
+ `+p:"",b!==null?`
941
+ `+b:""))}}s=t.stateNode,h=Oe(n)||"Component",s.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",h):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",h)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.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?",h),s.getDefaultProps&&!s.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.",h),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.childContextTypes&&!q1.has(n)&&(q1.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",h)),n.contextTypes&&!L1.has(n)&&(L1.add(n),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)",h)),typeof s.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.",h),n.prototype&&n.prototype.isPureReactComponent&&typeof s.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.",Oe(n)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof s.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().",h),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h),p=s.props!==u,s.props!==void 0&&p&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h),s.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.",h,h),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||w1.has(n)||(w1.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(n))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h),(p=s.state)&&(typeof p!="object"||Ve(p))&&console.error("%s.state: must be set to an object or null",h),typeof s.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h),s=t.stateNode,s.props=u,s.state=t.memoizedState,s.refs={},Ul(t),h=n.contextType,s.context=typeof h=="object"&&h!==null?Et(h):Er,s.state===u&&(h=Oe(n)||"Component",k1.has(h)||(k1.add(h),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.",h))),t.mode&zn&&Yu.recordLegacyContextWarning(t,s),Yu.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(jt(t,n,h,u),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(h=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),h!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",me(t)||"Component"),Dy.enqueueReplaceState(s,s.state,null)),Hs(t,u,s,c),Ti(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&qu)!==Lt&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var N=t.memoizedProps;p=bo(n,N),s.props=p;var Q=s.context;b=n.contextType,h=Er,typeof b=="object"&&b!==null&&(h=Et(b)),S=n.getDerivedStateFromProps,b=typeof S=="function"||typeof s.getSnapshotBeforeUpdate=="function",N=t.pendingProps!==N,b||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(N||Q!==h)&&Pd(t,s,u,h),_r=!1;var B=t.memoizedState;s.state=B,Hs(t,u,s,c),Ti(),Q=t.memoizedState,N||B!==Q||_r?(typeof S=="function"&&(jt(t,n,S,u),Q=t.memoizedState),(p=_r||Fd(t,n,p,u,B,Q,h))?(b||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&qu)!==Lt&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&qu)!==Lt&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=Q),s.props=u,s.state=Q,s.context=h,s=p):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&qu)!==Lt&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,Va(e,t),h=t.memoizedProps,b=bo(n,h),s.props=b,S=t.pendingProps,B=s.context,Q=n.contextType,p=Er,typeof Q=="object"&&Q!==null&&(p=Et(Q)),N=n.getDerivedStateFromProps,(Q=typeof N=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(h!==S||B!==p)&&Pd(t,s,u,p),_r=!1,B=t.memoizedState,s.state=B,Hs(t,u,s,c),Ti();var $=t.memoizedState;h!==S||B!==$||_r||e!==null&&e.dependencies!==null&&La(e.dependencies)?(typeof N=="function"&&(jt(t,n,N,u),$=t.memoizedState),(b=_r||Fd(t,n,b,u,B,$,p)||e!==null&&e.dependencies!==null&&La(e.dependencies))?(Q||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(u,$,p),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(u,$,p)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=$),s.props=u,s.state=$,s.context=p,s=b):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),s=!1)}if(p=s,Mf(e,t),h=(t.flags&128)!==0,p||h){if(p=t.stateNode,Ju(t),h&&typeof n.getDerivedStateFromError!="function")n=null,Ta=-1;else{if(Vt(t),n=v1(p),t.mode&zn){$e(!0);try{v1(p)}finally{$e(!1)}}bl()}t.flags|=1,e!==null&&h?(t.child=Cm(t,e.child,null,c),t.child=Cm(t,null,n,c)):cl(e,t,n,c),t.memoizedState=p.state,e=t.child}else e=Di(e,t,c);return c=t.stateNode,s&&c.props!==u&&(Rm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",me(t)||"a component"),Rm=!0),e}function a0(e,t,n,u){return gi(),t.flags|=256,cl(e,t,n,u),t.child}function uh(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
942
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Oe(t)||"Unknown",Z1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),Z1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Oe(t)||"Unknown",j1[t]||(console.error("%s: Function components do not support contextType.",t),j1[t]=!0))}function Rf(e){return{baseLanes:e,cachePool:sf()}}function oh(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Pa),e}function yv(e,t,n){var u,c=t.pendingProps;A(t)&&(t.flags|=128);var s=!1,h=(t.flags&128)!==0;if((u=h)||(u=e!==null&&e.memoizedState===null?!1:(Vl.current&Lp)!==0),u&&(s=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(mt){if(s?Gn(t):Qa(t),mt){var p=sl,b;if(!(b=!p)){e:{var S=p;for(b=qo;S.nodeType!==8;){if(!b){b=null;break e}if(S=kl(S.nextSibling),S===null){b=null;break e}}b=S}b!==null?(mn(),t.memoizedState={dehydrated:b,treeContext:hd!==null?{id:Xc,overflow:jc}:null,retryLane:536870912,hydrationErrors:null},S=V(18,null,null,Lt),S.stateNode=b,S.return=t,t.child=S,Wn=t,sl=null,b=!0):b=!1,b=!b}b&&(bs(t,p),Ln(t))}if(p=t.memoizedState,p!==null&&(p=p.dehydrated,p!==null))return Yi(p)?t.lanes=32:t.lanes=536870912,null;Xn(t)}return p=c.children,c=c.fallback,s?(Qa(t),s=t.mode,p=Df({mode:"hidden",children:p},s),c=Ba(c,s,n,null),p.return=t,c.return=t,p.sibling=c,t.child=p,s=t.child,s.memoizedState=Rf(n),s.childLanes=oh(e,u,n),t.memoizedState=Hy,c):(Gn(t),ch(t,p))}var N=e.memoizedState;if(N!==null&&(p=N.dehydrated,p!==null)){if(h)t.flags&256?(Gn(t),t.flags&=-257,t=sh(e,t,n)):t.memoizedState!==null?(Qa(t),t.child=e.child,t.flags|=128,t=null):(Qa(t),s=c.fallback,p=t.mode,c=Df({mode:"visible",children:c.children},p),s=Ba(s,p,n,null),s.flags|=2,c.return=t,s.return=t,c.sibling=s,t.child=c,Cm(t,e.child,null,n),c=t.child,c.memoizedState=Rf(n),c.childLanes=oh(e,u,n),t.memoizedState=Hy,t=s);else if(Gn(t),mt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Yi(p)){if(u=p.nextSibling&&p.nextSibling.dataset,u){b=u.dgst;var Q=u.msg;S=u.stck;var B=u.cstck}p=Q,u=b,c=S,b=s=B,s=Error(p||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s.stack=c||"",s.digest=u,u=b===void 0?null:b,c={value:s,source:null,stack:u},typeof u=="string"&&dy.set(s,c),gu(c),t=sh(e,t,n)}else if(Il||ol(e,t,n,!1),u=(n&e.childLanes)!==0,Il||u){if(u=Ut,u!==null&&(c=n&-n,c=(c&42)!==0?1:Bt(c),c=(c&(u.suspendedLanes|n))!==0?0:c,c!==0&&c!==N.retryLane))throw N.retryLane=c,Ol(e,c),Kt(u,e,c),G1;p.data===Wc||Th(),t=sh(e,t,n)}else p.data===Wc?(t.flags|=192,t.child=e.child,t=null):(e=N.treeContext,sl=kl(p.nextSibling),Wn=t,mt=!0,md=null,Qc=!1,Wi=null,qo=!1,e!==null&&(mn(),Ji[Ki++]=Xc,Ji[Ki++]=jc,Ji[Ki++]=hd,Xc=e.id,jc=e.overflow,hd=t),t=ch(t,c.children),t.flags|=4096);return t}return s?(Qa(t),s=c.fallback,p=t.mode,b=e.child,S=b.sibling,c=Nn(b,{mode:"hidden",children:c.children}),c.subtreeFlags=b.subtreeFlags&65011712,S!==null?s=Nn(S,s):(s=Ba(s,p,n,null),s.flags|=2),s.return=t,c.return=t,c.sibling=s,t.child=c,c=s,s=t.child,p=e.child.memoizedState,p===null?p=Rf(n):(b=p.cachePool,b!==null?(S=ql._currentValue,b=b.parent!==S?{parent:S,pool:S}:b):b=sf(),p={baseLanes:p.baseLanes|n,cachePool:b}),s.memoizedState=p,s.childLanes=oh(e,u,n),t.memoizedState=Hy,c):(Gn(t),n=e.child,e=n.sibling,n=Nn(n,{mode:"visible",children:c.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n)}function ch(e,t){return t=Df({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Df(e,t){return e=V(22,e,null,t),e.lanes=0,e.stateNode={_visibility:hy,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function sh(e,t,n){return Cm(t,e.child,null,n),e=ch(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rh(e,t,n){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),_s(e.return,t,n)}function i0(e,t){var n=Ve(e);return e=!n&&typeof qe(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function fh(e,t,n,u,c){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:c}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=u,s.tail=n,s.tailMode=c)}function u0(e,t,n){var u=t.pendingProps,c=u.revealOrder,s=u.tail;if(u=u.children,c!==void 0&&c!=="forwards"&&c!=="backwards"&&c!=="together"&&!$1[c])if($1[c]=!0,typeof c=="string")switch(c.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',c);s===void 0||Uy[s]||(s!=="collapsed"&&s!=="hidden"?(Uy[s]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',s)):c!=="forwards"&&c!=="backwards"&&(Uy[s]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((c==="forwards"||c==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(Ve(u)){for(var h=0;h<u.length;h++)if(!i0(u[h],h))break e}else if(h=qe(u),typeof h=="function"){if(h=h.call(u))for(var p=h.next(),b=0;!p.done;p=h.next()){if(!i0(p.value,b))break e;b++}}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?',c);if(cl(e,t,u,n),u=Vl.current,(u&Lp)!==0)u=u&Am|Lp,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rh(e,n,t);else if(e.tag===19)rh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=Am}switch(Ee(Vl,u,t),c){case"forwards":for(n=t.child,c=null;n!==null;)e=n.alternate,e!==null&&_u(e)===null&&(c=n),n=n.sibling;n=c,n===null?(c=t.child,t.child=null):(c=n.sibling,n.sibling=null),fh(t,!1,c,n,s);break;case"backwards":for(n=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&_u(e)===null){t.child=c;break}e=c.sibling,c.sibling=n,n=c,c=e}fh(t,!0,n,null,s);break;case"together":fh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Di(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ta=-1,Rr|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ol(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=Nn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Nn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&La(e)))}function $g(e,t,n){switch(t.tag){case 3:Mt(t,t.stateNode.containerInfo),Na(t,ql,e.memoizedState.cache),gi();break;case 27:case 5:I(t);break;case 4:Mt(t,t.stateNode.containerInfo);break;case 10:Na(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Gn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?yv(e,t,n):(Gn(t),e=Di(e,t,n),e!==null?e.sibling:null);Gn(t);break;case 19:var c=(e.flags&128)!==0;if(u=(n&t.childLanes)!==0,u||(ol(e,t,n,!1),u=(n&t.childLanes)!==0),c){if(u)return u0(e,t,n);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ee(Vl,Vl.current,t),u)break;return null;case 22:case 23:return t.lanes=0,nh(e,t,n);case 24:Na(t,ql,e.memoizedState.cache)}return Di(e,t,n)}function hh(e,t,n){if(t._debugNeedsRemount&&e!==null){n=cc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===u.child)u.child=n;else{var c=u.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=n}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Il=!0;else{if(!dh(e,n)&&(t.flags&128)===0)return Il=!1,$g(e,t,n);Il=(e.flags&131072)!==0}else Il=!1,(u=mt)&&(mn(),u=(t.flags&1048576)!==0),u&&(u=t.index,mn(),uf(t,lg,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Ar(t.elementType),t.type=e,typeof e=="function")vs(e)?(u=bo(e,u),t.tag=1,t.type=e=mi(e),t=n0(null,t,e,u,n)):(t.tag=0,uh(t,e),t.type=e=mi(e),t=ih(null,t,e,u,n));else{if(e!=null){if(c=e.$$typeof,c===Uu){t.tag=11,t.type=e=ps(e),t=lh(null,t,e,u,n);break e}else if(c===Pf){t.tag=14,t=Ri(null,t,e,u,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===$n&&(t=" Did you wrap a component in React.lazy() more than once?"),e=Oe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return ih(e,t,t.type,t.pendingProps,n);case 1:return u=t.type,c=bo(u,t.pendingProps),n0(e,t,u,c,n);case 3:e:{if(Mt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var s=t.memoizedState;c=s.element,Va(e,t),Hs(t,u,null,n);var h=t.memoizedState;if(u=h.cache,Na(t,ql,u),u!==s.cache&&Cs(t,[ql],n,!0),Ti(),u=h.element,s.isDehydrated)if(s={element:u,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=a0(e,t,u,n);break e}else if(u!==c){c=jl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),gu(c),t=a0(e,t,u,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(sl=kl(e.firstChild),Wn=t,mt=!0,md=null,Qc=!1,Wi=null,qo=!0,e=z1(t,null,u,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(gi(),u===c){t=Di(e,t,n);break e}cl(e,t,u,n)}t=t.child}return t;case 26:return Mf(e,t),e===null?(e=Ou(t.type,null,t.pendingProps,null))?t.memoizedState=e:mt||(e=t.type,n=t.pendingProps,u=et(Gi.current),u=lt(u).createElement(e),u[Wl]=t,u[Rn]=n,It(u,e,n),tl(u),t.stateNode=u):t.memoizedState=Ou(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return I(t),e===null&&mt&&(u=et(Gi.current),c=D(),u=t.stateNode=Q0(t.type,t.pendingProps,u,c,!1),Qc||(c=Rt(u,t.type,t.pendingProps,c),c!==null&&(pn(t,0).serverProps=c)),Wn=t,qo=!0,c=sl,qi(t.type)?(lb=c,sl=kl(u.firstChild)):sl=c),cl(e,t,t.pendingProps.children,n),Mf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&mt&&(s=D(),u=Po(t.type,s.ancestorInfo),c=sl,(h=!c)||(h=Ao(c,t.type,t.pendingProps,qo),h!==null?(t.stateNode=h,Qc||(s=Rt(h,t.type,t.pendingProps,s),s!==null&&(pn(t,0).serverProps=s)),Wn=t,sl=kl(h.firstChild),qo=!1,s=!0):s=!1,h=!s),h&&(u&&bs(t,c),Ln(t))),I(t),c=t.type,s=t.pendingProps,h=e!==null?e.memoizedProps:null,u=s.children,Li(c,s)?u=null:h!==null&&Li(c,h)&&(t.flags|=32),t.memoizedState!==null&&(c=mo(e,t,sa,null,null,n),Pp._currentValue=c),Mf(e,t),cl(e,t,u,n),t.child;case 6:return e===null&&mt&&(e=t.pendingProps,n=D(),u=n.ancestorInfo.current,e=u!=null?eo(e,u.tag,n.ancestorInfo.implicitRootScope):!0,n=sl,(u=!n)||(u=Bl(n,t.pendingProps,qo),u!==null?(t.stateNode=u,Wn=t,sl=null,u=!0):u=!1,u=!u),u&&(e&&bs(t,n),Ln(t))),null;case 13:return yv(e,t,n);case 4:return Mt(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=Cm(t,null,u,n):cl(e,t,u,n),t.child;case 11:return lh(e,t,t.type,t.pendingProps,n);case 7:return cl(e,t,t.pendingProps,n),t.child;case 8:return cl(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,cl(e,t,t.pendingProps.children,n),t.child;case 10:return u=t.type,c=t.pendingProps,s=c.value,"value"in c||J1||(J1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Na(t,u,s),cl(e,t,c.children,n),t.child;case 9:return c=t.type._context,u=t.pendingProps.children,typeof u!="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."),qa(t),c=Et(c),Vt(t),u=Ay(u,c,void 0),bl(),t.flags|=1,cl(e,t,u,n),t.child;case 14:return Ri(e,t,t.type,t.pendingProps,n);case 15:return Af(e,t,t.type,t.pendingProps,n);case 19:return u0(e,t,n);case 31:return u=t.pendingProps,n=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Df(u,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Nn(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return nh(e,t,n);case 24:return qa(t),u=Et(ql),e===null?(c=Rs(),c===null&&(c=Ut,s=ro(),c.pooledCache=s,yi(s),s!==null&&(c.pooledCacheLanes|=n),c=s),t.memoizedState={parent:u,cache:c},Ul(t),Na(t,ql,c)):((e.lanes&n)!==0&&(Va(e,t),Hs(t,null,null,n),Ti()),c=e.memoizedState,s=t.memoizedState,c.parent!==u?(c={parent:u,cache:u},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),Na(t,ql,u)):(u=s.cache,Na(t,ql,u),u!==c.cache&&Cs(t,[ql],n,!0))),cl(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Tn(e){e.flags|=4}function zf(e,t){if(t.type!=="stylesheet"||(t.state.loading&tu)!==Dd)e.flags&=-16777217;else if(e.flags|=16777216,!jf(t)){if(t=eu.current,t!==null&&((it&4194048)===it?Vo!==null:(it&62914560)!==it&&(it&536870912)===0||t!==Vo))throw wp=by,a1;e.flags|=8192}}function Of(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Aa():536870912,e.lanes|=t,Ed|=t)}function So(e,t){if(!mt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function _t(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,u=0;if(t)if((e.mode&cn)!==Lt){for(var c=e.selfBaseDuration,s=e.child;s!==null;)n|=s.lanes|s.childLanes,u|=s.subtreeFlags&65011712,u|=s.flags&65011712,c+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=c}else for(c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,c.return=e,c=c.sibling;else if((e.mode&cn)!==Lt){c=e.actualDuration,s=e.selfBaseDuration;for(var h=e.child;h!==null;)n|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,c+=h.actualDuration,s+=h.treeBaseDuration,h=h.sibling;e.actualDuration=c,e.treeBaseDuration=s}else for(c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function bv(e,t,n){var u=t.pendingProps;switch(rc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(t),null;case 1:return _t(t),null;case 3:return n=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),ua(ql,t),vt(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(vi(t)?(Es(),Tn(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,xs())),_t(t),null;case 26:return n=t.memoizedState,e===null?(Tn(t),n!==null?(_t(t),zf(t,n)):(_t(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Tn(t),_t(t),zf(t,n)):(_t(t),t.flags&=-16777217):(e.memoizedProps!==u&&Tn(t),_t(t),t.flags&=-16777217),null;case 27:te(t),n=et(Gi.current);var c=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Tn(t);else{if(!u){if(t.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 _t(t),null}e=D(),vi(t)?Ss(t):(e=Q0(c,u,n,e,!0),t.stateNode=e,Tn(t))}return _t(t),null;case 5:if(te(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Tn(t);else{if(!u){if(t.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 _t(t),null}if(c=D(),vi(t))Ss(t);else{switch(e=et(Gi.current),Po(n,c.ancestorInfo),c=c.context,e=lt(e),c){case Nm:e=e.createElementNS(xr,n);break;case Dg:e=e.createElementNS(rd,n);break;default:switch(n){case"svg":e=e.createElementNS(xr,n);break;case"math":e=e.createElementNS(rd,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(n,{is:u.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||wu.call(hS,n)||(hS[n]=!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.",n)))}}e[Wl]=t,e[Rn]=u;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=e;e:switch(It(e,n,u),n){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Tn(t)}}return _t(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Tn(t);else{if(typeof u!="string"&&t.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(e=et(Gi.current),n=D(),vi(t)){e=t.stateNode,n=t.memoizedProps,c=!Qc,u=null;var s=Wn;if(s!==null)switch(s.tag){case 3:c&&(c=qh(e,n,u),c!==null&&(pn(t,0).serverProps=c));break;case 27:case 5:u=s.memoizedProps,c&&(c=qh(e,n,u),c!==null&&(pn(t,0).serverProps=c))}e[Wl]=t,e=!!(e.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||B0(e.nodeValue,n)),e||Ln(t)}else c=n.ancestorInfo.current,c!=null&&eo(u,c.tag,n.ancestorInfo.implicitRootScope),e=lt(e).createTextNode(u),e[Wl]=t,t.stateNode=e}return _t(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=vi(t),u!==null&&u.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[Wl]=t,_t(t),(t.mode&cn)!==Lt&&u!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration))}else Es(),gi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,_t(t),(t.mode&cn)!==Lt&&u!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=xs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Xn(t),t):(Xn(t),null)}return Xn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&cn)!==Lt&&Yn(t),t):(n=u!==null,e=e!==null&&e.memoizedState!==null,n&&(u=t.child,c=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(c=u.alternate.memoizedState.cachePool.pool),s=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(s=u.memoizedState.cachePool.pool),s!==c&&(u.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Of(t,t.updateQueue),_t(t),(t.mode&cn)!==Lt&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return vt(t),e===null&&H0(t.stateNode.containerInfo),_t(t),null;case 10:return ua(t.type,t),_t(t),null;case 19:if(Re(Vl,t),c=t.memoizedState,c===null)return _t(t),null;if(u=(t.flags&128)!==0,s=c.rendering,s===null)if(u)So(c,!1);else{if(rl!==Kc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=_u(e),s!==null){for(t.flags|=128,So(c,!1),e=s.updateQueue,t.updateQueue=e,Of(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)gs(n,e),n=n.sibling;return Ee(Vl,Vl.current&Am|Lp,t),t.child}e=e.sibling}c.tail!==null&&Xi()>gg&&(t.flags|=128,u=!0,So(c,!1),t.lanes=4194304)}else{if(!u)if(e=_u(s),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,Of(t,e),So(c,!0),c.tail===null&&c.tailMode==="hidden"&&!s.alternate&&!mt)return _t(t),null}else 2*Xi()-c.renderingStartTime>gg&&n!==536870912&&(t.flags|=128,u=!0,So(c,!1),t.lanes=4194304);c.isBackwards?(s.sibling=t.child,t.child=s):(e=c.last,e!==null?e.sibling=s:t.child=s,c.last=s)}return c.tail!==null?(e=c.tail,c.rendering=e,c.tail=e.sibling,c.renderingStartTime=Xi(),e.sibling=null,n=Vl.current,n=u?n&Am|Lp:n&Am,Ee(Vl,n,t),e):(_t(t),null);case 22:case 23:return Xn(t),Ga(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(n&536870912)!==0&&(t.flags&128)===0&&(_t(t),t.subtreeFlags&6&&(t.flags|=8192)):_t(t),n=t.updateQueue,n!==null&&Of(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==n&&(t.flags|=2048),e!==null&&Re(gd,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ua(ql,t),_t(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Sv(e,t){switch(rc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cn)!==Lt&&Yn(t),t):null;case 3:return ua(ql,t),vt(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return te(t),null;case 13:if(Xn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cn)!==Lt&&Yn(t),t):null;case 19:return Re(Vl,t),null;case 4:return vt(t),null;case 10:return ua(t.type,t),null;case 22:case 23:return Xn(t),Ga(t),e!==null&&Re(gd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cn)!==Lt&&Yn(t),t):null;case 24:return ua(ql,t),null;case 25:return null;default:return null}}function o0(e,t){switch(rc(t),t.tag){case 3:ua(ql,t),vt(t);break;case 26:case 27:case 5:te(t);break;case 4:vt(t);break;case 13:Xn(t);break;case 19:Re(Vl,t);break;case 10:ua(t.type,t);break;case 22:case 23:Xn(t),Ga(t),e!==null&&Re(gd,t);break;case 24:ua(ql,t)}}function Za(e){return(e.mode&cn)!==Lt}function c0(e,t){Za(e)?(gn(),Sc(t,e),tn()):Sc(t,e)}function mh(e,t,n){Za(e)?(gn(),Tc(n,e,t),tn()):Tc(n,e,t)}function Sc(e,t){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var c=u.next;n=c;do{if((n.tag&e)===e&&((e&Yl)!==Ii?he!==null&&typeof he.markComponentPassiveEffectMountStarted=="function"&&he.markComponentPassiveEffectMountStarted(t):(e&sn)!==Ii&&he!==null&&typeof he.markComponentLayoutEffectMountStarted=="function"&&he.markComponentLayoutEffectMountStarted(t),u=void 0,(e&In)!==Ii&&(Bm=!0),u=ye(t,J2,n),(e&In)!==Ii&&(Bm=!1),(e&Yl)!==Ii?he!==null&&typeof he.markComponentPassiveEffectMountStopped=="function"&&he.markComponentPassiveEffectMountStopped():(e&sn)!==Ii&&he!==null&&typeof he.markComponentLayoutEffectMountStopped=="function"&&he.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var s=void 0;s=(n.tag&sn)!==0?"useLayoutEffect":(n.tag&In)!==0?"useInsertionEffect":"useEffect";var h=void 0;h=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
1073
943
 
1074
- It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
944
+ It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
1075
945
 
1076
- `+c+`(() => {
946
+ `+s+`(() => {
1077
947
  async function fetchData() {
1078
948
  // You can await here
1079
949
  const response = await MyAPI.getData(someId);
@@ -1082,11 +952,11 @@ It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, w
1082
952
  fetchData();
1083
953
  }, [someId]); // Or [] if effect doesn't need props or state
1084
954
 
1085
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ye(t,function(v,S){console.error("%s must not return anything besides a function, which is used for clean-up.%s",v,S)},c,h)}l=l.next}while(l!==s)}}catch(v){Oe(t,t.return,v)}}function Cs(e,t,l){try{var u=t.updateQueue,s=u!==null?u.lastEffect:null;if(s!==null){var c=s.next;u=c;do{if((u.tag&e)===e){var h=u.inst,v=h.destroy;v!==void 0&&(h.destroy=void 0,(e&Gn)!==Fi?he!==null&&typeof he.markComponentPassiveEffectUnmountStarted=="function"&&he.markComponentPassiveEffectUnmountStarted(t):(e&rl)!==Fi&&he!==null&&typeof he.markComponentLayoutEffectUnmountStarted=="function"&&he.markComponentLayoutEffectUnmountStarted(t),(e&Fl)!==Fi&&(Ym=!0),s=t,ye(s,_T,s,l,v),(e&Fl)!==Fi&&(Ym=!1),(e&Gn)!==Fi?he!==null&&typeof he.markComponentPassiveEffectUnmountStopped=="function"&&he.markComponentPassiveEffectUnmountStopped():(e&rl)!==Fi&&he!==null&&typeof he.markComponentLayoutEffectUnmountStopped=="function"&&he.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==c)}}catch(S){Oe(t,t.return,S)}}function mp(e,t){$a(e)?(yl(),Es(t,e),ll()):Es(t,e)}function Nf(e,t,l){$a(e)?(yl(),Cs(l,e,t),ll()):Cs(l,e,t)}function pp(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||wm||(l.props!==e.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.",me(e)||"instance"),l.state!==e.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.",me(e)||"instance"));try{ye(e,xv,t,l)}catch(u){Oe(e,e.return,u)}}}function Dv(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function ly(e,t){var l=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||wm||(t.props!==e.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.",me(e)||"instance"),t.state!==e.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.",me(e)||"instance"));try{var s=To(e.type,l,e.elementType===e.type),c=ye(e,Dv,t,s,u);l=cS,c!==void 0||l.has(e.type)||(l.add(e.type),ye(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",me(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(h){Oe(e,e.return,h)}}function Sh(e,t,l){l.props=To(e.type,e.memoizedProps),l.state=e.memoizedState,$a(e)?(yl(),ye(e,B1,e,t,l),ll()):ye(e,B1,e,t,l)}function zv(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if($a(e))try{yl(),e.refCleanup=t(l)}finally{ll()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",me(e)),t.current=l}}function Ic(e,t){try{ye(e,zv,e)}catch(l){Oe(e,t,l)}}function pa(e,t){var l=e.ref,u=e.refCleanup;if(l!==null)if(typeof u=="function")try{if($a(e))try{yl(),ye(e,u)}finally{ll(e)}else ye(e,u)}catch(s){Oe(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if($a(e))try{yl(),ye(e,l,null)}finally{ll(e)}else ye(e,l,null)}catch(s){Oe(e,t,s)}else l.current=null}function vp(e,t,l,u){var s=e.memoizedProps,c=s.id,h=s.onCommit;s=s.onRender,t=t===null?"mount":"update",hg&&(t="nested-update"),typeof s=="function"&&s(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof h=="function"&&h(e.memoizedProps.id,t,u,l)}function Ov(e,t,l,u){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",hg&&(t="nested-update"),typeof s=="function"&&s(e,t,u,l)}function Uv(e){var t=e.type,l=e.memoizedProps,u=e.stateNode;try{ye(e,Ou,u,t,l,e)}catch(s){Oe(e,e.return,s)}}function gp(e,t,l){try{ye(e,Pt,e.stateNode,e.type,l,t,e)}catch(u){Oe(e,e.return,u)}}function yp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Yi(e.type)||e.tag===4}function _s(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Yi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lf(e,t,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=zu));else if(u!==4&&(u===27&&Yi(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Lf(e,t,l),e=e.sibling;e!==null;)Lf(e,t,l),e=e.sibling}function As(e,t,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(u!==4&&(u===27&&Yi(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(As(e,t,l),e=e.sibling;e!==null;)As(e,t,l),e=e.sibling}function wv(e){for(var t,l=e.return;l!==null;){if(yp(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=_s(e),As(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(Uu(l),t.flags&=-33),t=_s(e),As(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=_s(e),Lf(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bp(e){var t=e.stateNode,l=e.memoizedProps;try{ye(e,$l,e.type,l,t,e)}catch(u){Oe(e,e.return,u)}}function Th(e,t){if(e=e.containerInfo,sb=Vg,e=uf(e),vc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var s=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{l.nodeType,c.nodeType}catch{l=null;break e}var h=0,v=-1,S=-1,x=0,N=0,Q=e,k=null;t:for(;;){for(var $;Q!==l||s!==0&&Q.nodeType!==3||(v=h+s),Q!==c||u!==0&&Q.nodeType!==3||(S=h+u),Q.nodeType===3&&(h+=Q.nodeValue.length),($=Q.firstChild)!==null;)k=Q,Q=$;for(;;){if(Q===e)break t;if(k===l&&++x===s&&(v=h),k===c&&++N===u&&(S=h),($=Q.nextSibling)!==null)break;Q=k,k=Q.parentNode}Q=$}l=v===-1||S===-1?null:{start:v,end:S}}else l=null}l=l||{start:0,end:0}}else l=null;for(cb={focusedElem:e,selectionRange:l},Vg=!1,el=t;el!==null;)if(t=el,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,el=e;else for(;el!==null;){switch(e=t=el,l=e.alternate,s=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(s&1024)!==0&&l!==null&&ly(e,l);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)or(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":or(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&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(e=t.sibling,e!==null){e.return=t.return,el=e;break}el=t.return}}function Sp(e,t,l){var u=l.flags;switch(l.tag){case 0:case 11:case 15:Oi(e,l),u&4&&hp(l,rl|Pi);break;case 1:if(Oi(e,l),u&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||wm||(e.props!==l.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.",me(l)||"instance"),e.state!==l.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.",me(l)||"instance")),$a(l)?(yl(),ye(l,By,l,e),ll()):ye(l,By,l,e);else{var s=To(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||wm||(e.props!==l.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.",me(l)||"instance"),e.state!==l.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.",me(l)||"instance")),$a(l)?(yl(),ye(l,w1,l,e,s,t,e.__reactInternalSnapshotBeforeUpdate),ll()):ye(l,w1,l,e,s,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&pp(l),u&512&&Ic(l,l.return);break;case 3:if(t=gl(),Oi(e,l),u&64&&(u=l.updateQueue,u!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{ye(l,xv,u,s)}catch(h){Oe(l,l.return,h)}}e.effectDuration+=Va(t);break;case 27:t===null&&u&4&&bp(l);case 26:case 5:Oi(e,l),t===null&&u&4&&Uv(l),u&512&&Ic(l,l.return);break;case 12:if(u&4){u=gl(),Oi(e,l),e=l.stateNode,e.effectDuration+=Si(u);try{ye(l,vp,l,t,dg,e.effectDuration)}catch(h){Oe(l,l.return,h)}}else Oi(e,l);break;case 13:Oi(e,l),u&4&&Wc(e,l),u&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Zf.bind(null,l),sr(e,l))));break;case 22:if(u=l.memoizedState!==null||Ws,!u){t=t!==null&&t.memoizedState!==null||bn,s=Ws;var c=bn;Ws=u,(bn=t)&&!c?Ui(e,l,(l.subtreeFlags&8772)!==0):Oi(e,l),Ws=s,bn=c}break;case 30:break;default:Oi(e,l)}}function Tp(e){var t=e.alternate;t!==null&&(e.alternate=null,Tp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&fu(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Mu(e,t,l){for(l=l.child;l!==null;)Ms(e,t,l),l=l.sibling}function Ms(e,t,l){if(qn&&typeof qn.onCommitFiberUnmount=="function")try{qn.onCommitFiberUnmount(ko,l)}catch(c){Rl||(Rl=!0,console.error("React instrumentation encountered an error: %s",c))}switch(l.tag){case 26:bn||pa(l,t),Mu(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:bn||pa(l,t);var u=Un,s=Ea;Yi(l.type)&&(Un=l.stateNode,Ea=!1),Mu(e,t,l),ye(l,rr,l.stateNode),Un=u,Ea=s;break;case 5:bn||pa(l,t);case 6:if(u=Un,s=Ea,Un=null,Mu(e,t,l),Un=u,Ea=s,Un!==null)if(Ea)try{ye(l,ir,Un,l.stateNode)}catch(c){Oe(l,t,c)}else try{ye(l,ya,Un,l.stateNode)}catch(c){Oe(l,t,c)}break;case 18:Un!==null&&(Ea?(e=Un,ur(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Ys(e)):ur(Un,l.stateNode));break;case 4:u=Un,s=Ea,Un=l.stateNode.containerInfo,Ea=!0,Mu(e,t,l),Un=u,Ea=s;break;case 0:case 11:case 14:case 15:bn||Cs(Fl,l,t),bn||bh(l,t,rl),Mu(e,t,l);break;case 1:bn||(pa(l,t),u=l.stateNode,typeof u.componentWillUnmount=="function"&&Sh(l,t,u)),Mu(e,t,l);break;case 21:Mu(e,t,l);break;case 22:bn=(u=bn)||l.memoizedState!==null,Mu(e,t,l),bn=u;break;default:Mu(e,t,l)}}function Wc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ye(t,Zl,e)}catch(l){Oe(t,t.return,l)}}function xh(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new rS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new rS),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Rs(e,t){var l=xh(e);t.forEach(function(u){var s=Ao.bind(null,e,u);if(!l.has(u)){if(l.add(u),tn)if(Hm!==null&&km!==null)lr(km,Hm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(s,s)}})}function Kn(e,t){var l=t.deletions;if(l!==null)for(var u=0;u<l.length;u++){var s=e,c=t,h=l[u],v=c;e:for(;v!==null;){switch(v.tag){case 27:if(Yi(v.type)){Un=v.stateNode,Ea=!1;break e}break;case 5:Un=v.stateNode,Ea=!1;break e;case 3:case 4:Un=v.stateNode.containerInfo,Ea=!0;break e}v=v.return}if(Un===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Ms(s,c,h),Un=null,Ea=!1,s=h,c=s.alternate,c!==null&&(c.return=null),s.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)xp(t,e),t=t.sibling}function xp(e,t){var l=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Kn(t,e),El(e),u&4&&(Cs(Fl|Pi,e,e.return),Es(Fl|Pi,e),bh(e,e.return,rl|Pi));break;case 1:Kn(t,e),El(e),u&512&&(bn||l===null||pa(l,l.return)),u&64&&Ws&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?u:l.concat(u))));break;case 26:var s=Xu;if(Kn(t,e),El(e),u&512&&(bn||l===null||pa(l,l.return)),u&4)if(t=l!==null?l.memoizedState:null,u=e.memoizedState,l===null)if(u===null)if(e.stateNode===null){e:{u=e.type,l=e.memoizedProps,t=s.ownerDocument||s;t:switch(u){case"title":s=t.getElementsByTagName("title")[0],(!s||s[Tr]||s[Fn]||s.namespaceURI===_r||s.hasAttribute("itemprop"))&&(s=t.createElement(u),t.head.insertBefore(s,t.querySelector("head > title"))),Ft(s,u,l),s[Fn]=e,nn(s),u=s;break e;case"link":var c=e0("link","href",t).get(u+(l.href||""));if(c){for(var h=0;h<c.length;h++)if(s=c[h],s.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&s.getAttribute("rel")===(l.rel==null?null:l.rel)&&s.getAttribute("title")===(l.title==null?null:l.title)&&s.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(h,1);break t}}s=t.createElement(u),Ft(s,u,l),t.head.appendChild(s);break;case"meta":if(c=e0("meta","content",t).get(u+(l.content||""))){for(h=0;h<c.length;h++)if(s=c[h],ie(l.content,"content"),s.getAttribute("content")===(l.content==null?null:""+l.content)&&s.getAttribute("name")===(l.name==null?null:l.name)&&s.getAttribute("property")===(l.property==null?null:l.property)&&s.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&s.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(h,1);break t}}s=t.createElement(u),Ft(s,u,l),t.head.appendChild(s);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}s[Fn]=e,nn(s),u=s}e.stateNode=u}else t0(s,e.type,e.stateNode);else e.stateNode=Qh(s,u,e.memoizedProps);else t!==u?(t===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):t.count--,u===null?t0(s,e.type,e.stateNode):Qh(s,u,e.memoizedProps)):u===null&&e.stateNode!==null&&gp(e,e.memoizedProps,l.memoizedProps);break;case 27:Kn(t,e),El(e),u&512&&(bn||l===null||pa(l,l.return)),l!==null&&u&4&&gp(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Kn(t,e),El(e),u&512&&(bn||l===null||pa(l,l.return)),e.flags&32){t=e.stateNode;try{ye(e,Uu,t)}catch(N){Oe(e,e.return,N)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,gp(e,t,l!==null?l.memoizedProps:t)),u&1024&&(jy=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Kn(t,e),El(e),u&4){if(e.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.");u=e.memoizedProps,l=l!==null?l.memoizedProps:u,t=e.stateNode;try{ye(e,Bs,t,l,u)}catch(N){Oe(e,e.return,N)}}break;case 3:if(s=gl(),Lg=null,c=Xu,Xu=Jf(t.containerInfo),Kn(t,e),Xu=c,El(e),u&4&&l!==null&&l.memoizedState.isDehydrated)try{ye(e,Kp,t.containerInfo)}catch(N){Oe(e,e.return,N)}jy&&(jy=!1,Ds(e)),t.effectDuration+=Va(s);break;case 4:u=Xu,Xu=Jf(e.stateNode.containerInfo),Kn(t,e),El(e),Xu=u;break;case 12:u=gl(),Kn(t,e),El(e),e.stateNode.effectDuration+=Si(u);break;case 13:Kn(t,e),El(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ky=Xi()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Rs(e,u)));break;case 22:s=e.memoizedState!==null;var v=l!==null&&l.memoizedState!==null,S=Ws,x=bn;if(Ws=S||s,bn=x||v,Kn(t,e),bn=x,Ws=S,El(e),u&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|xy,s&&(l===null||v||Ws||bn||In(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){v=l=t;try{c=v.stateNode,s?ye(v,Al,c):ye(v,$p,v.stateNode,v.memoizedProps)}catch(N){Oe(v,v.return,N)}}}else if(t.tag===6){if(l===null){v=t;try{h=v.stateNode,s?ye(v,Zp,h):ye(v,Gh,h,v.memoizedProps)}catch(N){Oe(v,v.return,N)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(l=u.retryQueue,l!==null&&(u.retryQueue=null,Rs(e,l))));break;case 19:Kn(t,e),El(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Rs(e,u)));break;case 30:break;case 21:break;default:Kn(t,e),El(e)}}function El(e){var t=e.flags;if(t&2){try{ye(e,wv,e)}catch(l){Oe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ds(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ds(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Oi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Sp(e,t.alternate,t),t=t.sibling}function Ql(e){switch(e.tag){case 0:case 11:case 14:case 15:bh(e,e.return,rl),In(e);break;case 1:pa(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Sh(e,e.return,t),In(e);break;case 27:ye(e,rr,e.stateNode);case 26:case 5:pa(e,e.return),In(e);break;case 22:e.memoizedState===null&&In(e);break;case 30:In(e);break;default:In(e)}}function In(e){for(e=e.child;e!==null;)Ql(e),e=e.sibling}function Ru(e,t,l,u){var s=l.flags;switch(l.tag){case 0:case 11:case 15:Ui(e,l,u),hp(l,rl);break;case 1:if(Ui(e,l,u),t=l.stateNode,typeof t.componentDidMount=="function"&&ye(l,By,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{ye(l,Nc,t,e)}catch(c){Oe(l,l.return,c)}}u&&s&64&&pp(l),Ic(l,l.return);break;case 27:bp(l);case 26:case 5:Ui(e,l,u),u&&t===null&&s&4&&Uv(l),Ic(l,l.return);break;case 12:if(u&&s&4){s=gl(),Ui(e,l,u),u=l.stateNode,u.effectDuration+=Si(s);try{ye(l,vp,l,t,dg,u.effectDuration)}catch(c){Oe(l,l.return,c)}}else Ui(e,l,u);break;case 13:Ui(e,l,u),u&&s&4&&Wc(e,l);break;case 22:l.memoizedState===null&&Ui(e,l,u),Ic(l,l.return);break;case 30:break;default:Ui(e,l,u)}}function Ui(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Ru(e,t.alternate,t,l),t=t.sibling}function wi(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&bi(e),l!=null&&Yl(l))}function Ja(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(bi(t),e!=null&&Yl(e))}function _t(e,t,l,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qf(e,t,l,u),t=t.sibling}function qf(e,t,l,u){var s=t.flags;switch(t.tag){case 0:case 11:case 15:_t(e,t,l,u),s&2048&&mp(t,Gn|Pi);break;case 1:_t(e,t,l,u);break;case 3:var c=gl();_t(e,t,l,u),s&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(bi(t),l!=null&&Yl(l))),e.passiveEffectDuration+=Va(c);break;case 12:if(s&2048){s=gl(),_t(e,t,l,u),e=t.stateNode,e.passiveEffectDuration+=Si(s);try{ye(t,Ov,t,t.alternate,dg,e.passiveEffectDuration)}catch(v){Oe(t,t.return,v)}}else _t(e,t,l,u);break;case 13:_t(e,t,l,u);break;case 23:break;case 22:c=t.stateNode;var h=t.alternate;t.memoizedState!==null?c._visibility&gd?_t(e,t,l,u):Fc(e,t):c._visibility&gd?_t(e,t,l,u):(c._visibility|=gd,Eo(e,t,l,u,(t.subtreeFlags&10256)!==0)),s&2048&&wi(h,t);break;case 24:_t(e,t,l,u),s&2048&&Ja(t.alternate,t);break;default:_t(e,t,l,u)}}function Eo(e,t,l,u,s){for(s=s&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Eh(e,t,l,u,s),t=t.sibling}function Eh(e,t,l,u,s){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Eo(e,t,l,u,s),mp(t,Gn);break;case 23:break;case 22:var h=t.stateNode;t.memoizedState!==null?h._visibility&gd?Eo(e,t,l,u,s):Fc(e,t):(h._visibility|=gd,Eo(e,t,l,u,s)),s&&c&2048&&wi(t.alternate,t);break;case 24:Eo(e,t,l,u,s),s&&c&2048&&Ja(t.alternate,t);break;default:Eo(e,t,l,u,s)}}function Fc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,u=t,s=u.flags;switch(u.tag){case 22:Fc(l,u),s&2048&&wi(u.alternate,u);break;case 24:Fc(l,u),s&2048&&Ja(u.alternate,u);break;default:Fc(l,u)}t=t.sibling}}function zs(e){if(e.subtreeFlags&X0)for(e=e.child;e!==null;)Co(e),e=e.sibling}function Co(e){switch(e.tag){case 26:zs(e),e.flags&X0&&e.memoizedState!==null&&Xv(Xu,e.memoizedState,e.memoizedProps);break;case 5:zs(e);break;case 3:case 4:var t=Xu;Xu=Jf(e.stateNode.containerInfo),zs(e),Xu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=X0,X0=16777216,zs(e),X0=t):zs(e));break;default:zs(e)}}function Yf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var u=t[l];el=u,Cp(u,e)}Yf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ep(e),e=e.sibling}function Ep(e){switch(e.tag){case 0:case 11:case 15:Pc(e),e.flags&2048&&Nf(e,e.return,Gn|Pi);break;case 3:var t=gl();Pc(e),e.stateNode.passiveEffectDuration+=Va(t);break;case 12:t=gl(),Pc(e),e.stateNode.passiveEffectDuration+=Si(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&gd&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Vf(e)):Pc(e);break;default:Pc(e)}}function Vf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var u=t[l];el=u,Cp(u,e)}Yf(e)}for(e=e.child;e!==null;)Gf(e),e=e.sibling}function Gf(e){switch(e.tag){case 0:case 11:case 15:Nf(e,e.return,Gn),Vf(e);break;case 22:var t=e.stateNode;t._visibility&gd&&(t._visibility&=-3,Vf(e));break;default:Vf(e)}}function Cp(e,t){for(;el!==null;){var l=el,u=l;switch(u.tag){case 0:case 11:case 15:Nf(u,t,Gn);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&bi(u));break;case 24:Yl(u.memoizedState.cache)}if(u=l.child,u!==null)u.return=l,el=u;else e:for(l=e;el!==null;){u=el;var s=u.sibling,c=u.return;if(Tp(u),u===l){el=null;break e}if(s!==null){s.return=c,el=s;break e}el=c}}}function _p(){MT.forEach(function(e){return e()})}function Ap(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||G.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Cl(e){if((Tt&Pl)!==Fa&&it!==0)return it&-it;var t=G.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Td,e!==0?e:kp()):Xr()}function Hv(){ei===0&&(ei=(it&536870912)===0||mt?ou():536870912);var e=tu.current;return e!==null&&(e.flags|=32),ei}function It(e,t,l){if(Ym&&console.error("useInsertionEffect must not schedule updates."),eb&&(Ag=!0),(e===Ut&&(At===Ad||At===Md)||e.cancelPendingCommit!==null)&&(Us(e,0),Du(e,it,ei,!1)),tl(e,l),(Tt&Pl)!==0&&e===Ut){if(zl)switch(t.tag){case 0:case 11:case 15:e=lt&&me(lt)||"Unknown",SS.has(e)||(SS.add(e),t=me(t)||"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",t,e,e));break;case 1:bS||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),bS=!0)}}else tn&&xn(e,t,l),Lv(t),e===Ut&&((Tt&Pl)===Fa&&(Ur|=l),dn===_d&&Du(e,it,ei,!1)),va(e)}function gn(e,t,l){if((Tt&(Pl|Qu))!==Fa)throw Error("Should not already be working.");var u=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Aa(e,t),s=u?Rp(e,t):Mh(e,t,!0),c=u;do{if(s===Fs){Lm&&!u&&Du(e,t,0,!1);break}else{if(l=e.current.alternate,c&&!kv(l)){s=Mh(e,t,!1),c=!1;continue}if(s===Bm){if(c=t,e.errorRecoveryDisabledLanes&c)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{s=e;var v=h;h=I0;var S=s.current.memoizedState.isDehydrated;if(S&&(Us(s,v).flags|=256),v=Mh(s,v,!1),v!==Bm){if($y&&!S){s.errorRecoveryDisabledLanes|=c,Ur|=c,s=_d;break e}s=ea,ea=h,s!==null&&(ea===null?ea=s:ea.push.apply(ea,s))}s=v}if(c=!1,s!==Bm)continue}}if(s===Z0){Us(e,0),Du(e,t,0,!0);break}e:{switch(u=e,s){case Fs:case Z0:throw Error("Root did not complete. This is a bug in React.");case _d:if((t&4194048)!==t)break;case Eg:Du(u,t,ei,!zr);break e;case Bm:ea=null;break;case Xy:case fS:break;default:throw Error("Unknown root exit status.")}if(G.actQueue!==null)Uh(u,l,t,ea,W0,Cg,ei,Ur,Rd);else{if((t&62914560)===t&&(c=Ky+hS-Xi(),10<c)){if(Du(u,t,ei,!zr),hn(u,0,!0)!==0)break e;u.timeoutHandle=RS(Rn.bind(null,u,l,ea,W0,Cg,t,ei,Ur,Rd,zr,s,OT,p1,0),c);break e}Rn(u,l,ea,W0,Cg,t,ei,Ur,Rd,zr,s,DT,p1,0)}}}break}while(!0);va(e)}function Rn(e,t,l,u,s,c,h,v,S,x,N,Q,k,$){if(e.timeoutHandle=wd,Q=t.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(lv={stylesheets:null,count:0,unsuspend:jv},Co(t),Q=Qv(),Q!==null)){e.cancelPendingCommit=Q(Uh.bind(null,e,t,c,l,u,s,h,v,S,N,zT,k,$)),Du(e,c,h,!x);return}Uh(e,t,c,l,u,s,h,v,S)}function kv(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var u=0;u<l.length;u++){var s=l[u],c=s.getSnapshot;s=s.value;try{if(!Il(c(),s))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Du(e,t,l,u){t&=~Jy,t&=~Ur,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var s=t;0<s;){var c=31-Wn(s),h=1<<c;u[c]=-1,s&=~h}l!==0&&re(e,l,t)}function Os(){return(Tt&(Pl|Qu))===Fa?(ws(0),!1):!0}function Ch(){if(lt!==null){if(At===Ca)var e=lt.return;else e=lt,ms(),Xa(e),Dm=null,G0=0,e=lt;for(;e!==null;)dp(e.alternate,e),e=e.return;lt=null}}function Us(e,t){var l=e.timeoutHandle;l!==wd&&(e.timeoutHandle=wd,XT(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Ch(),Ut=e,lt=l=Ll(e.current,null),it=t,At=Ca,Pa=null,zr=!1,Lm=Aa(e,t),$y=!1,dn=Fs,Rd=ei=Jy=Ur=Or=0,ea=I0=null,Cg=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var s=31-Wn(u),c=1<<s;t|=e[s],u&=~c}return Xo=t,oo(),t=h1(),1e3<t-d1&&(G.recentlyCreatedOwnerStacks=0,d1=t),Gu.discardPendingWarnings(),l}function jf(e,t){Ge=null,G.H=Tg,G.getCurrentStack=null,zl=!1,Kl=null,t===L0||t===vg?(t=Hc(),At=J0):t===y1?(t=Hc(),At=dS):At=t===nS?Zy:t!==null&&typeof t=="object"&&typeof t.then=="function"?Nm:$0,Pa=t;var l=lt;if(l===null)dn=Z0,Kc(e,Zn(t,e.current));else switch(l.mode&cl&&sa(l),Tn(),At){case $0:he!==null&&typeof he.markComponentErrored=="function"&&he.markComponentErrored(l,t,it);break;case Ad:case Md:case J0:case Nm:case K0:he!==null&&typeof he.markComponentSuspended=="function"&&he.markComponentSuspended(l,t,it)}}function _h(){var e=G.H;return G.H=Tg,e===null?Tg:e}function Mp(){var e=G.A;return G.A=AT,e}function Ah(){dn=_d,zr||(it&4194048)!==it&&tu.current!==null||(Lm=!0),(Or&134217727)===0&&(Ur&134217727)===0||Ut===null||Du(Ut,it,ei,!1)}function Mh(e,t,l){var u=Tt;Tt|=Pl;var s=_h(),c=Mp();if(Ut!==e||it!==t){if(tn){var h=e.memoizedUpdaters;0<h.size&&(lr(e,it),h.clear()),Ot(e,t)}W0=null,Us(e,t)}Ul(t),t=!1,h=dn;e:do try{if(At!==Ca&&lt!==null){var v=lt,S=Pa;switch(At){case Zy:Ch(),h=Eg;break e;case J0:case Ad:case Md:case Nm:tu.current===null&&(t=!0);var x=At;if(At=Ca,Pa=null,_o(e,v,S,x),l&&Lm){h=Fs;break e}break;default:x=At,At=Ca,Pa=null,_o(e,v,S,x)}}Rh(),h=dn;break}catch(N){jf(e,N)}while(!0);return t&&e.shellSuspendCounter++,ms(),Tt=u,G.H=s,G.A=c,ti(),lt===null&&(Ut=null,it=0,oo()),h}function Rh(){for(;lt!==null;)zp(lt)}function Rp(e,t){var l=Tt;Tt|=Pl;var u=_h(),s=Mp();if(Ut!==e||it!==t){if(tn){var c=e.memoizedUpdaters;0<c.size&&(lr(e,it),c.clear()),Ot(e,t)}W0=null,_g=Xi()+mS,Us(e,t)}else Lm=Aa(e,t);Ul(t);e:do try{if(At!==Ca&&lt!==null)t:switch(t=lt,c=Pa,At){case $0:At=Ca,Pa=null,_o(e,t,c,$0);break;case Ad:case Md:if(wc(c)){At=Ca,Pa=null,Dh(t);break}t=function(){At!==Ad&&At!==Md||Ut!==e||(At=K0),va(e)},c.then(t,t);break e;case J0:At=K0;break e;case dS:At=Qy;break e;case K0:wc(c)?(At=Ca,Pa=null,Dh(t)):(At=Ca,Pa=null,_o(e,t,c,K0));break;case Qy:var h=null;switch(lt.tag){case 26:h=lt.memoizedState;case 5:case 27:var v=lt;if(!h||Kf(h)){At=Ca,Pa=null;var S=v.sibling;if(S!==null)lt=S;else{var x=v.return;x!==null?(lt=x,Xf(x)):lt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}At=Ca,Pa=null,_o(e,t,c,Qy);break;case Nm:At=Ca,Pa=null,_o(e,t,c,Nm);break;case Zy:Ch(),dn=Eg;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}G.actQueue!==null?Rh():Dp();break}catch(N){jf(e,N)}while(!0);return ms(),G.H=u,G.A=s,Tt=l,lt!==null?(he!==null&&typeof he.markRenderYielded=="function"&&he.markRenderYielded(),Fs):(ti(),Ut=null,it=0,oo(),dn)}function Dp(){for(;lt!==null&&!Fv();)zp(lt)}function zp(e){var t=e.alternate;(e.mode&cl)!==qt?(ps(e),t=ye(e,yh,t,e,Xo),sa(e)):t=ye(e,yh,t,e,Xo),e.memoizedProps=e.pendingProps,t===null?Xf(e):lt=t}function Dh(e){var t=ye(e,zh,e);e.memoizedProps=e.pendingProps,t===null?Xf(e):lt=t}function zh(e){var t=e.alternate,l=(e.mode&cl)!==qt;switch(l&&ps(e),e.tag){case 15:case 0:t=op(t,e,e.pendingProps,e.type,void 0,it);break;case 11:t=op(t,e,e.pendingProps,e.type.render,e.ref,it);break;case 5:Xa(e);default:dp(t,e),e=lt=Sc(e,Xo),t=yh(t,e,Xo)}return l&&sa(e),t}function _o(e,t,l,u){ms(),Xa(t),Dm=null,G0=0;var s=t.return;try{if(zf(e,s,t,l,it)){dn=Z0,Kc(e,Zn(l,e.current)),lt=null;return}}catch(c){if(s!==null)throw lt=s,c;dn=Z0,Kc(e,Zn(l,e.current)),lt=null;return}t.flags&32768?(mt||u===$0?e=!0:Lm||(it&536870912)!==0?e=!1:(zr=e=!0,(u===Ad||u===Md||u===J0||u===Nm)&&(u=tu.current,u!==null&&u.tag===13&&(u.flags|=16384))),Oh(t,e)):Xf(t)}function Xf(e){var t=e;do{if((t.flags&32768)!==0){Oh(t,zr);return}var l=t.alternate;if(e=t.return,ps(t),l=ye(t,Mv,l,t,Xo),(t.mode&cl)!==qt&&Ti(t),l!==null){lt=l;return}if(t=t.sibling,t!==null){lt=t;return}lt=t=e}while(t!==null);dn===Fs&&(dn=fS)}function Oh(e,t){do{var l=Rv(e.alternate,e);if(l!==null){l.flags&=32767,lt=l;return}if((e.mode&cl)!==qt){Ti(e),l=e.actualDuration;for(var u=e.child;u!==null;)l+=u.actualDuration,u=u.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){lt=e;return}lt=e=l}while(e!==null);dn=Eg,lt=null}function Uh(e,t,l,u,s,c,h,v,S){e.cancelPendingCommit=null;do er();while(fl!==Dd);if(Gu.flushLegacyContextWarning(),Gu.flushPendingUnsafeLifecycleWarnings(),(Tt&(Pl|Qu))!==Fa)throw Error("Should not already be working.");if(he!==null&&typeof he.markCommitStarted=="function"&&he.markCommitStarted(l),t===null)xt();else{if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(c=t.lanes|t.childLanes,c|=Ey,cu(e,l,c,h,v,S),e===Ut&&(lt=Ut=null,it=0),qm=t,Hr=e,kr=l,Wy=c,Fy=s,yS=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Hp(yr,function(){return Qf(),null})):(e.callbackNode=null,e.callbackPriority=0),dg=Cm(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=G.T,G.T=null,s=Be.p,Be.p=Yn,h=Tt,Tt|=Qu;try{Th(e,t,l)}finally{Tt=h,Be.p=s,G.T=u}}fl=pS,Hi(),wh(),Bv()}}function Hi(){if(fl===pS){fl=Dd;var e=Hr,t=qm,l=kr,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=G.T,G.T=null;var s=Be.p;Be.p=Yn;var c=Tt;Tt|=Qu;try{Hm=l,km=e,xp(t,e),km=Hm=null,l=cb;var h=uf(e.containerInfo),v=l.focusedElem,S=l.selectionRange;if(h!==v&&v&&v.ownerDocument&&af(v.ownerDocument.documentElement,v)){if(S!==null&&vc(v)){var x=S.start,N=S.end;if(N===void 0&&(N=x),"selectionStart"in v)v.selectionStart=x,v.selectionEnd=Math.min(N,v.value.length);else{var Q=v.ownerDocument||document,k=Q&&Q.defaultView||window;if(k.getSelection){var $=k.getSelection(),Se=v.textContent.length,Ne=Math.min(S.start,Se),wt=S.end===void 0?Ne:Math.min(S.end,Se);!$.extend&&Ne>wt&&(h=wt,wt=Ne,Ne=h);var ot=pc(v,Ne),_=pc(v,wt);if(ot&&_&&($.rangeCount!==1||$.anchorNode!==ot.node||$.anchorOffset!==ot.offset||$.focusNode!==_.node||$.focusOffset!==_.offset)){var A=Q.createRange();A.setStart(ot.node,ot.offset),$.removeAllRanges(),Ne>wt?($.addRange(A),$.extend(_.node,_.offset)):(A.setEnd(_.node,_.offset),$.addRange(A))}}}}for(Q=[],$=v;$=$.parentNode;)$.nodeType===1&&Q.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Q.length;v++){var R=Q[v];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}Vg=!!sb,cb=sb=null}finally{Tt=c,Be.p=s,G.T=u}}e.current=t,fl=vS}}function wh(){if(fl===vS){fl=Dd;var e=Hr,t=qm,l=kr,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=G.T,G.T=null;var s=Be.p;Be.p=Yn;var c=Tt;Tt|=Qu;try{he!==null&&typeof he.markLayoutEffectsStarted=="function"&&he.markLayoutEffectsStarted(l),Hm=l,km=e,Sp(e,t.alternate,t),km=Hm=null,he!==null&&typeof he.markLayoutEffectsStopped=="function"&&he.markLayoutEffectsStopped()}finally{Tt=c,Be.p=s,G.T=u}}fl=gS}}function Bv(){if(fl===UT||fl===gS){fl=Dd,fy();var e=Hr,t=qm,l=kr,u=yS,s=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;s?fl=Iy:(fl=Dd,qm=Hr=null,ki(e,e.pendingLanes),zd=0,P0=null);var c=e.pendingLanes;if(c===0&&(wr=null),s||nr(e),s=ru(l),t=t.stateNode,qn&&typeof qn.onCommitFiberRoot=="function")try{var h=(t.current.flags&128)===128;switch(s){case Yn:var v=nm;break;case Wa:v=od;break;case Lu:v=yr;break;case um:v=sd;break;default:v=yr}qn.onCommitFiberRoot(ko,t,v,h)}catch(Q){Rl||(Rl=!0,console.error("React instrumentation encountered an error: %s",Q))}if(tn&&e.memoizedUpdaters.clear(),_p(),u!==null){h=G.T,v=Be.p,Be.p=Yn,G.T=null;try{var S=e.onRecoverableError;for(t=0;t<u.length;t++){var x=u[t],N=Nv(x.stack);ye(x.source,S,x.value,N)}}finally{G.T=h,Be.p=v}}(kr&3)!==0&&er(),va(e),c=e.pendingLanes,(l&4194090)!==0&&(c&42)!==0?(mg=!0,e===Py?F0++:(F0=0,Py=e)):F0=0,ws(0),xt()}}function Nv(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function ki(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Yl(t)))}function er(e){return Hi(),wh(),Bv(),Qf()}function Qf(){if(fl!==Iy)return!1;var e=Hr,t=Wy;Wy=0;var l=ru(kr),u=Lu>l?Lu:l;l=G.T;var s=Be.p;try{Be.p=u,G.T=null,u=Fy,Fy=null;var c=Hr,h=kr;if(fl=Dd,qm=Hr=null,kr=0,(Tt&(Pl|Qu))!==Fa)throw Error("Cannot flush passive effects while already rendering.");eb=!0,Ag=!1,he!==null&&typeof he.markPassiveEffectsStarted=="function"&&he.markPassiveEffectsStarted(h);var v=Tt;if(Tt|=Qu,Ep(c.current),qf(c,c.current,h,u),he!==null&&typeof he.markPassiveEffectsStopped=="function"&&he.markPassiveEffectsStopped(),nr(c),Tt=v,ws(0,!1),Ag?c===P0?zd++:(zd=0,P0=c):zd=0,Ag=eb=!1,qn&&typeof qn.onPostCommitFiberRoot=="function")try{qn.onPostCommitFiberRoot(ko,c)}catch(x){Rl||(Rl=!0,console.error("React instrumentation encountered an error: %s",x))}var S=c.current.stateNode;return S.effectDuration=0,S.passiveEffectDuration=0,!0}finally{Be.p=s,G.T=l,ki(e,t)}}function tr(e,t,l){t=Zn(l,t),t=Jn(e.stateNode,t,2),e=De(e,t,2),e!==null&&(tl(e,2),va(e))}function Oe(e,t,l){if(Ym=!1,e.tag===3)tr(e,e,l);else{for(;t!==null;){if(t.tag===3){tr(t,e,l);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(wr===null||!wr.has(u))){e=Zn(l,e),l=Kt(2),u=De(t,l,2),u!==null&&(Df(l,u,t,e),tl(u,2),va(u));return}}t=t.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.
955
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ye(t,function(p,b){console.error("%s must not return anything besides a function, which is used for clean-up.%s",p,b)},s,h)}n=n.next}while(n!==c)}}catch(p){Ue(t,t.return,p)}}function Tc(e,t,n){try{var u=t.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var s=c.next;u=s;do{if((u.tag&e)===e){var h=u.inst,p=h.destroy;p!==void 0&&(h.destroy=void 0,(e&Yl)!==Ii?he!==null&&typeof he.markComponentPassiveEffectUnmountStarted=="function"&&he.markComponentPassiveEffectUnmountStarted(t):(e&sn)!==Ii&&he!==null&&typeof he.markComponentLayoutEffectUnmountStarted=="function"&&he.markComponentLayoutEffectUnmountStarted(t),(e&In)!==Ii&&(Bm=!0),c=t,ye(c,K2,c,n,p),(e&In)!==Ii&&(Bm=!1),(e&Yl)!==Ii?he!==null&&typeof he.markComponentPassiveEffectUnmountStopped=="function"&&he.markComponentPassiveEffectUnmountStopped():(e&sn)!==Ii&&he!==null&&typeof he.markComponentLayoutEffectUnmountStopped=="function"&&he.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==s)}}catch(b){Ue(t,t.return,b)}}function s0(e,t){Za(e)?(gn(),Sc(t,e),tn()):Sc(t,e)}function Uf(e,t,n){Za(e)?(gn(),Tc(n,e,t),tn()):Tc(n,e,t)}function r0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Rm||(n.props!==e.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.",me(e)||"instance"),n.state!==e.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.",me(e)||"instance"));try{ye(e,mv,t,n)}catch(u){Ue(e,e.return,u)}}}function Tv(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Jg(e,t){var n=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Rm||(t.props!==e.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.",me(e)||"instance"),t.state!==e.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.",me(e)||"instance"));try{var c=bo(e.type,n,e.elementType===e.type),s=ye(e,Tv,t,c,u);n=K1,s!==void 0||n.has(e.type)||(n.add(e.type),ye(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",me(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(h){Ue(e,e.return,h)}}function ph(e,t,n){n.props=bo(e.type,e.memoizedProps),n.state=e.memoizedState,Za(e)?(gn(),ye(e,x1,e,t,n),tn()):ye(e,x1,e,t,n)}function xv(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Za(e))try{gn(),e.refCleanup=t(n)}finally{tn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",me(e)),t.current=n}}function $s(e,t){try{ye(e,xv,e)}catch(n){Ue(e,t,n)}}function ma(e,t){var n=e.ref,u=e.refCleanup;if(n!==null)if(typeof u=="function")try{if(Za(e))try{gn(),ye(e,u)}finally{tn(e)}else ye(e,u)}catch(c){Ue(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Za(e))try{gn(),ye(e,n,null)}finally{tn(e)}else ye(e,n,null)}catch(c){Ue(e,t,c)}else n.current=null}function f0(e,t,n,u){var c=e.memoizedProps,s=c.id,h=c.onCommit;c=c.onRender,t=t===null?"mount":"update",ig&&(t="nested-update"),typeof c=="function"&&c(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof h=="function"&&h(e.memoizedProps.id,t,u,n)}function Ev(e,t,n,u){var c=e.memoizedProps;e=c.id,c=c.onPostCommit,t=t===null?"mount":"update",ig&&(t="nested-update"),typeof c=="function"&&c(e,t,u,n)}function _v(e){var t=e.type,n=e.memoizedProps,u=e.stateNode;try{ye(e,Du,u,t,n,e)}catch(c){Ue(e,e.return,c)}}function d0(e,t,n){try{ye(e,Ft,e.stateNode,e.type,n,t,e)}catch(u){Ue(e,e.return,u)}}function h0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qi(e.type)||e.tag===4}function xc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||h0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&qi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hf(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ru));else if(u!==4&&(u===27&&qi(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Hf(e,t,n),e=e.sibling;e!==null;)Hf(e,t,n),e=e.sibling}function Ec(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(u!==4&&(u===27&&qi(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ec(e,t,n),e=e.sibling;e!==null;)Ec(e,t,n),e=e.sibling}function Cv(e){for(var t,n=e.return;n!==null;){if(h0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=xc(e),Ec(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(zu(n),t.flags&=-33),t=xc(e),Ec(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=xc(e),Hf(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function m0(e){var t=e.stateNode,n=e.memoizedProps;try{ye(e,Zn,e.type,n,t,e)}catch(u){Ue(e,e.return,u)}}function vh(e,t){if(e=e.containerInfo,Py=Hg,e=ef(e),hs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var c=u.anchorOffset,s=u.focusNode;u=u.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var h=0,p=-1,b=-1,S=0,N=0,Q=e,B=null;t:for(;;){for(var $;Q!==n||c!==0&&Q.nodeType!==3||(p=h+c),Q!==s||u!==0&&Q.nodeType!==3||(b=h+u),Q.nodeType===3&&(h+=Q.nodeValue.length),($=Q.firstChild)!==null;)B=Q,Q=$;for(;;){if(Q===e)break t;if(B===n&&++S===c&&(p=h),B===s&&++N===u&&(b=h),($=Q.nextSibling)!==null)break;Q=B,B=Q.parentNode}Q=$}n=p===-1||b===-1?null:{start:p,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(eb={focusedElem:e,selectionRange:n},Hg=!1,Fl=t;Fl!==null;)if(t=Fl,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Fl=e;else for(;Fl!==null;){switch(e=t=Fl,n=e.alternate,c=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(c&1024)!==0&&n!==null&&Jg(e,n);break;case 3:if((c&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)ar(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ar(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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(e=t.sibling,e!==null){e.return=t.return,Fl=e;break}Fl=t.return}}function p0(e,t,n){var u=n.flags;switch(n.tag){case 0:case 11:case 15:zi(e,n),u&4&&c0(n,sn|Fi);break;case 1:if(zi(e,n),u&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Rm||(e.props!==n.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.",me(n)||"instance"),e.state!==n.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.",me(n)||"instance")),Za(n)?(gn(),ye(n,My,n,e),tn()):ye(n,My,n,e);else{var c=bo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Rm||(e.props!==n.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.",me(n)||"instance"),e.state!==n.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.",me(n)||"instance")),Za(n)?(gn(),ye(n,b1,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),tn()):ye(n,b1,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&r0(n),u&512&&$s(n,n.return);break;case 3:if(t=vn(),zi(e,n),u&64&&(u=n.updateQueue,u!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{ye(n,mv,u,c)}catch(h){Ue(n,n.return,h)}}e.effectDuration+=Ya(t);break;case 27:t===null&&u&4&&m0(n);case 26:case 5:zi(e,n),t===null&&u&4&&_v(n),u&512&&$s(n,n.return);break;case 12:if(u&4){u=vn(),zi(e,n),e=n.stateNode,e.effectDuration+=bi(u);try{ye(n,f0,n,t,ag,e.effectDuration)}catch(h){Ue(n,n.return,h)}}else zi(e,n);break;case 13:zi(e,n),u&4&&Js(e,n),u&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Vf.bind(null,n),ir(e,n))));break;case 22:if(u=n.memoizedState!==null||Jc,!u){t=t!==null&&t.memoizedState!==null||gl,c=Jc;var s=gl;Jc=u,(gl=t)&&!s?Oi(e,n,(n.subtreeFlags&8772)!==0):zi(e,n),Jc=c,gl=s}break;case 30:break;default:zi(e,n)}}function v0(e){var t=e.alternate;t!==null&&(e.alternate=null,v0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&su(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Cu(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if(Nl&&typeof Nl.onCommitFiberUnmount=="function")try{Nl.onCommitFiberUnmount(Ho,n)}catch(s){Mn||(Mn=!0,console.error("React instrumentation encountered an error: %s",s))}switch(n.tag){case 26:gl||ma(n,t),Cu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:gl||ma(n,t);var u=zl,c=xa;qi(n.type)&&(zl=n.stateNode,xa=!1),Cu(e,t,n),ye(n,or,n.stateNode),zl=u,xa=c;break;case 5:gl||ma(n,t);case 6:if(u=zl,c=xa,zl=null,Cu(e,t,n),zl=u,xa=c,zl!==null)if(xa)try{ye(n,lr,zl,n.stateNode)}catch(s){Ue(n,t,s)}else try{ye(n,ga,zl,n.stateNode)}catch(s){Ue(n,t,s)}break;case 18:zl!==null&&(xa?(e=zl,nr(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Nc(e)):nr(zl,n.stateNode));break;case 4:u=zl,c=xa,zl=n.stateNode.containerInfo,xa=!0,Cu(e,t,n),zl=u,xa=c;break;case 0:case 11:case 14:case 15:gl||Tc(In,n,t),gl||mh(n,t,sn),Cu(e,t,n);break;case 1:gl||(ma(n,t),u=n.stateNode,typeof u.componentWillUnmount=="function"&&ph(n,t,u)),Cu(e,t,n);break;case 21:Cu(e,t,n);break;case 22:gl=(u=gl)||n.memoizedState!==null,Cu(e,t,n),gl=u;break;default:Cu(e,t,n)}}function Js(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ye(t,Qn,e)}catch(n){Ue(t,t.return,n)}}function gh(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new W1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new W1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Cc(e,t){var n=gh(e);t.forEach(function(u){var c=_o.bind(null,e,u);if(!n.has(u)){if(n.add(u),el)if(Dm!==null&&zm!==null)er(zm,Dm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(c,c)}})}function $l(e,t){var n=t.deletions;if(n!==null)for(var u=0;u<n.length;u++){var c=e,s=t,h=n[u],p=s;e:for(;p!==null;){switch(p.tag){case 27:if(qi(p.type)){zl=p.stateNode,xa=!1;break e}break;case 5:zl=p.stateNode,xa=!1;break e;case 3:case 4:zl=p.stateNode.containerInfo,xa=!0;break e}p=p.return}if(zl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");_c(c,s,h),zl=null,xa=!1,c=h,s=c.alternate,s!==null&&(s.return=null),c.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)g0(t,e),t=t.sibling}function g0(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$l(t,e),xn(e),u&4&&(Tc(In|Fi,e,e.return),Sc(In|Fi,e),mh(e,e.return,sn|Fi));break;case 1:$l(t,e),xn(e),u&512&&(gl||n===null||ma(n,n.return)),u&64&&Jc&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?u:n.concat(u))));break;case 26:var c=Gu;if($l(t,e),xn(e),u&512&&(gl||n===null||ma(n,n.return)),u&4)if(t=n!==null?n.memoizedState:null,u=e.memoizedState,n===null)if(u===null)if(e.stateNode===null){e:{u=e.type,n=e.memoizedProps,t=c.ownerDocument||c;t:switch(u){case"title":c=t.getElementsByTagName("title")[0],(!c||c[yr]||c[Wl]||c.namespaceURI===xr||c.hasAttribute("itemprop"))&&(c=t.createElement(u),t.head.insertBefore(c,t.querySelector("head > title"))),It(c,u,n),c[Wl]=e,tl(c),u=c;break e;case"link":var s=K0("link","href",t).get(u+(n.href||""));if(s){for(var h=0;h<s.length;h++)if(c=s[h],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(h,1);break t}}c=t.createElement(u),It(c,u,n),t.head.appendChild(c);break;case"meta":if(s=K0("meta","content",t).get(u+(n.content||""))){for(h=0;h<s.length;h++)if(c=s[h],ie(n.content,"content"),c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){s.splice(h,1);break t}}c=t.createElement(u),It(c,u,n),t.head.appendChild(c);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}c[Wl]=e,tl(c),u=c}e.stateNode=u}else W0(c,e.type,e.stateNode);else e.stateNode=Yh(c,u,e.memoizedProps);else t!==u?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,u===null?W0(c,e.type,e.stateNode):Yh(c,u,e.memoizedProps)):u===null&&e.stateNode!==null&&d0(e,e.memoizedProps,n.memoizedProps);break;case 27:$l(t,e),xn(e),u&512&&(gl||n===null||ma(n,n.return)),n!==null&&u&4&&d0(e,e.memoizedProps,n.memoizedProps);break;case 5:if($l(t,e),xn(e),u&512&&(gl||n===null||ma(n,n.return)),e.flags&32){t=e.stateNode;try{ye(e,zu,t)}catch(N){Ue(e,e.return,N)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,d0(e,t,n!==null?n.memoizedProps:t)),u&1024&&(wy=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($l(t,e),xn(e),u&4){if(e.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.");u=e.memoizedProps,n=n!==null?n.memoizedProps:u,t=e.stateNode;try{ye(e,Hc,t,n,u)}catch(N){Ue(e,e.return,N)}}break;case 3:if(c=vn(),zg=null,s=Gu,Gu=Xf(t.containerInfo),$l(t,e),Gu=s,xn(e),u&4&&n!==null&&n.memoizedState.isDehydrated)try{ye(e,j0,t.containerInfo)}catch(N){Ue(e,e.return,N)}wy&&(wy=!1,Ac(e)),t.effectDuration+=Ya(c);break;case 4:u=Gu,Gu=Xf(e.stateNode.containerInfo),$l(t,e),xn(e),Gu=u;break;case 12:u=vn(),$l(t,e),xn(e),e.stateNode.effectDuration+=bi(u);break;case 13:$l(t,e),xn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Yy=Xi()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cc(e,u)));break;case 22:c=e.memoizedState!==null;var p=n!==null&&n.memoizedState!==null,b=Jc,S=gl;if(Jc=b||c,gl=S||p,$l(t,e),gl=S,Jc=b,xn(e),u&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|hy,c&&(n===null||p||Jc||gl||Jl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){p=n=t;try{s=p.stateNode,c?ye(p,Cn,s):ye(p,G0,p.stateNode,p.memoizedProps)}catch(N){Ue(p,p.return,N)}}}else if(t.tag===6){if(n===null){p=t;try{h=p.stateNode,c?ye(p,V0,h):ye(p,Nh,h,p.memoizedProps)}catch(N){Ue(p,p.return,N)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(n=u.retryQueue,n!==null&&(u.retryQueue=null,Cc(e,n))));break;case 19:$l(t,e),xn(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cc(e,u)));break;case 30:break;case 21:break;default:$l(t,e),xn(e)}}function xn(e){var t=e.flags;if(t&2){try{ye(e,Cv,e)}catch(n){Ue(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ac(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ac(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function zi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)p0(e,t.alternate,t),t=t.sibling}function jn(e){switch(e.tag){case 0:case 11:case 14:case 15:mh(e,e.return,sn),Jl(e);break;case 1:ma(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ph(e,e.return,t),Jl(e);break;case 27:ye(e,or,e.stateNode);case 26:case 5:ma(e,e.return),Jl(e);break;case 22:e.memoizedState===null&&Jl(e);break;case 30:Jl(e);break;default:Jl(e)}}function Jl(e){for(e=e.child;e!==null;)jn(e),e=e.sibling}function Au(e,t,n,u){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Oi(e,n,u),c0(n,sn);break;case 1:if(Oi(e,n,u),t=n.stateNode,typeof t.componentDidMount=="function"&&ye(n,My,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ye(n,ws,t,e)}catch(s){Ue(n,n.return,s)}}u&&c&64&&r0(n),$s(n,n.return);break;case 27:m0(n);case 26:case 5:Oi(e,n,u),u&&t===null&&c&4&&_v(n),$s(n,n.return);break;case 12:if(u&&c&4){c=vn(),Oi(e,n,u),u=n.stateNode,u.effectDuration+=bi(c);try{ye(n,f0,n,t,ag,u.effectDuration)}catch(s){Ue(n,n.return,s)}}else Oi(e,n,u);break;case 13:Oi(e,n,u),u&&c&4&&Js(e,n);break;case 22:n.memoizedState===null&&Oi(e,n,u),$s(n,n.return);break;case 30:break;default:Oi(e,n,u)}}function Oi(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Au(e,t.alternate,t,n),t=t.sibling}function Ui(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&yi(e),n!=null&&qn(n))}function $a(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(yi(t),e!=null&&qn(e))}function Ct(e,t,n,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)wf(e,t,n,u),t=t.sibling}function wf(e,t,n,u){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Ct(e,t,n,u),c&2048&&s0(t,Yl|Fi);break;case 1:Ct(e,t,n,u);break;case 3:var s=vn();Ct(e,t,n,u),c&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(yi(t),n!=null&&qn(n))),e.passiveEffectDuration+=Ya(s);break;case 12:if(c&2048){c=vn(),Ct(e,t,n,u),e=t.stateNode,e.passiveEffectDuration+=bi(c);try{ye(t,Ev,t,t.alternate,ag,e.passiveEffectDuration)}catch(p){Ue(t,t.return,p)}}else Ct(e,t,n,u);break;case 13:Ct(e,t,n,u);break;case 23:break;case 22:s=t.stateNode;var h=t.alternate;t.memoizedState!==null?s._visibility&dd?Ct(e,t,n,u):Ks(e,t):s._visibility&dd?Ct(e,t,n,u):(s._visibility|=dd,To(e,t,n,u,(t.subtreeFlags&10256)!==0)),c&2048&&Ui(h,t);break;case 24:Ct(e,t,n,u),c&2048&&$a(t.alternate,t);break;default:Ct(e,t,n,u)}}function To(e,t,n,u,c){for(c=c&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)yh(e,t,n,u,c),t=t.sibling}function yh(e,t,n,u,c){var s=t.flags;switch(t.tag){case 0:case 11:case 15:To(e,t,n,u,c),s0(t,Yl);break;case 23:break;case 22:var h=t.stateNode;t.memoizedState!==null?h._visibility&dd?To(e,t,n,u,c):Ks(e,t):(h._visibility|=dd,To(e,t,n,u,c)),c&&s&2048&&Ui(t.alternate,t);break;case 24:To(e,t,n,u,c),c&&s&2048&&$a(t.alternate,t);break;default:To(e,t,n,u,c)}}function Ks(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,u=t,c=u.flags;switch(u.tag){case 22:Ks(n,u),c&2048&&Ui(u.alternate,u);break;case 24:Ks(n,u),c&2048&&$a(u.alternate,u);break;default:Ks(n,u)}t=t.sibling}}function Mc(e){if(e.subtreeFlags&qp)for(e=e.child;e!==null;)xo(e),e=e.sibling}function xo(e){switch(e.tag){case 26:Mc(e),e.flags&qp&&e.memoizedState!==null&&kv(Gu,e.memoizedState,e.memoizedProps);break;case 5:Mc(e);break;case 3:case 4:var t=Gu;Gu=Xf(e.stateNode.containerInfo),Mc(e),Gu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=qp,qp=16777216,Mc(e),qp=t):Mc(e));break;default:Mc(e)}}function Bf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ws(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];Fl=u,b0(u,e)}Bf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)y0(e),e=e.sibling}function y0(e){switch(e.tag){case 0:case 11:case 15:Ws(e),e.flags&2048&&Uf(e,e.return,Yl|Fi);break;case 3:var t=vn();Ws(e),e.stateNode.passiveEffectDuration+=Ya(t);break;case 12:t=vn(),Ws(e),e.stateNode.passiveEffectDuration+=bi(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&dd&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,kf(e)):Ws(e);break;default:Ws(e)}}function kf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];Fl=u,b0(u,e)}Bf(e)}for(e=e.child;e!==null;)Nf(e),e=e.sibling}function Nf(e){switch(e.tag){case 0:case 11:case 15:Uf(e,e.return,Yl),kf(e);break;case 22:var t=e.stateNode;t._visibility&dd&&(t._visibility&=-3,kf(e));break;default:kf(e)}}function b0(e,t){for(;Fl!==null;){var n=Fl,u=n;switch(u.tag){case 0:case 11:case 15:Uf(u,t,Yl);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&yi(u));break;case 24:qn(u.memoizedState.cache)}if(u=n.child,u!==null)u.return=n,Fl=u;else e:for(n=e;Fl!==null;){u=Fl;var c=u.sibling,s=u.return;if(v0(u),u===n){Fl=null;break e}if(c!==null){c.return=s,Fl=c;break e}Fl=s}}}function S0(){I2.forEach(function(e){return e()})}function T0(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||G.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function En(e){if((Tt&Fn)!==Ia&&it!==0)return it&-it;var t=G.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=vd,e!==0?e:z0()):qr()}function Av(){Pa===0&&(Pa=(it&536870912)===0||mt?iu():536870912);var e=eu.current;return e!==null&&(e.flags|=32),Pa}function Kt(e,t,n){if(Bm&&console.error("useInsertionEffect must not schedule updates."),Qy&&(yg=!0),(e===Ut&&(At===Td||At===xd)||e.cancelPendingCommit!==null)&&(Dc(e,0),Mu(e,it,Pa,!1)),Pl(e,n),(Tt&Fn)!==0&&e===Ut){if(Dn)switch(t.tag){case 0:case 11:case 15:e=nt&&me(nt)||"Unknown",uS.has(e)||(uS.add(e),t=me(t)||"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",t,e,e));break;case 1:iS||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),iS=!0)}}else el&&Sl(e,t,n),zv(t),e===Ut&&((Tt&Fn)===Ia&&(Dr|=n),rl===Sd&&Mu(e,it,Pa,!1)),pa(e)}function pl(e,t,n){if((Tt&(Fn|Xu))!==Ia)throw Error("Should not already be working.");var u=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Ca(e,t),c=u?E0(e,t):xh(e,t,!0),s=u;do{if(c===Kc){Hm&&!u&&Mu(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!Mv(n)){c=xh(e,t,!1),s=!1;continue}if(c===Om){if(s=t,e.errorRecoveryDisabledLanes&s)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{c=e;var p=h;h=Qp;var b=c.current.memoizedState.isDehydrated;if(b&&(Dc(c,p).flags|=256),p=xh(c,p,!1),p!==Om){if(Ly&&!b){c.errorRecoveryDisabledLanes|=s,Dr|=s,c=Sd;break e}c=Pn,Pn=h,c!==null&&(Pn===null?Pn=c:Pn.push.apply(Pn,c))}c=p}if(s=!1,c!==Om)continue}}if(c===Vp){Dc(e,0),Mu(e,t,0,!0);break}e:{switch(u=e,c){case Kc:case Vp:throw Error("Root did not complete. This is a bug in React.");case Sd:if((t&4194048)!==t)break;case pg:Mu(u,t,Pa,!Mr);break e;case Om:Pn=null;break;case By:case I1:break;default:throw Error("Unknown root exit status.")}if(G.actQueue!==null)Mh(u,n,t,Pn,Zp,vg,Pa,Dr,Ed);else{if((t&62914560)===t&&(s=Yy+P1-Xi(),10<s)){if(Mu(u,t,Pa,!Mr),fl(u,0,!0)!==0)break e;u.timeoutHandle=mS(Al.bind(null,u,n,Pn,Zp,vg,t,Pa,Dr,Ed,Mr,c,tT,t1,0),s);break e}Al(u,n,Pn,Zp,vg,t,Pa,Dr,Ed,Mr,c,P2,t1,0)}}}break}while(!0);pa(e)}function Al(e,t,n,u,c,s,h,p,b,S,N,Q,B,$){if(e.timeoutHandle=Rd,Q=t.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(Fp={stylesheets:null,count:0,unsuspend:Bv},xo(t),Q=Nv(),Q!==null)){e.cancelPendingCommit=Q(Mh.bind(null,e,t,s,n,u,c,h,p,b,N,eT,B,$)),Mu(e,s,h,!S);return}Mh(e,t,s,n,u,c,h,p,b)}function Mv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var u=0;u<n.length;u++){var c=n[u],s=c.getSnapshot;c=c.value;try{if(!Kn(s(),c))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Mu(e,t,n,u){t&=~qy,t&=~Dr,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var c=t;0<c;){var s=31-Kl(c),h=1<<s;u[s]=-1,c&=~h}n!==0&&re(e,n,t)}function Rc(){return(Tt&(Fn|Xu))===Ia?(zc(0),!1):!0}function bh(){if(nt!==null){if(At===Ea)var e=nt.return;else e=nt,fc(),Xa(e),_m=null,Np=0,e=nt;for(;e!==null;)o0(e.alternate,e),e=e.return;nt=null}}function Dc(e,t){var n=e.timeoutHandle;n!==Rd&&(e.timeoutHandle=Rd,mT(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),bh(),Ut=e,nt=n=Nn(e.current,null),it=t,At=Ea,Fa=null,Mr=!1,Hm=Ca(e,t),Ly=!1,rl=Kc,Ed=Pa=qy=Dr=Rr=0,Pn=Qp=null,vg=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var c=31-Kl(u),s=1<<c;t|=e[c],u&=~s}return Go=t,io(),t=Pb(),1e3<t-Fb&&(G.recentlyCreatedOwnerStacks=0,Fb=t),Yu.discardPendingWarnings(),n}function Lf(e,t){Ge=null,G.H=hg,G.getCurrentStack=null,Dn=!1,Jn=null,t===Hp||t===cg?(t=Os(),At=Xp):t===a1?(t=Os(),At=F1):At=t===G1?Ny:t!==null&&typeof t=="object"&&typeof t.then=="function"?Um:Gp,Fa=t;var n=nt;if(n===null)rl=Vp,Zs(e,jl(t,e.current));else switch(n.mode&cn&&oa(n),bl(),At){case Gp:he!==null&&typeof he.markComponentErrored=="function"&&he.markComponentErrored(n,t,it);break;case Td:case xd:case Xp:case Um:case jp:he!==null&&typeof he.markComponentSuspended=="function"&&he.markComponentSuspended(n,t,it)}}function Sh(){var e=G.H;return G.H=hg,e===null?hg:e}function x0(){var e=G.A;return G.A=W2,e}function Th(){rl=Sd,Mr||(it&4194048)!==it&&eu.current!==null||(Hm=!0),(Rr&134217727)===0&&(Dr&134217727)===0||Ut===null||Mu(Ut,it,Pa,!1)}function xh(e,t,n){var u=Tt;Tt|=Fn;var c=Sh(),s=x0();if(Ut!==e||it!==t){if(el){var h=e.memoizedUpdaters;0<h.size&&(er(e,it),h.clear()),Ot(e,t)}Zp=null,Dc(e,t)}On(t),t=!1,h=rl;e:do try{if(At!==Ea&&nt!==null){var p=nt,b=Fa;switch(At){case Ny:bh(),h=pg;break e;case Xp:case Td:case xd:case Um:eu.current===null&&(t=!0);var S=At;if(At=Ea,Fa=null,Eo(e,p,b,S),n&&Hm){h=Kc;break e}break;default:S=At,At=Ea,Fa=null,Eo(e,p,b,S)}}Eh(),h=rl;break}catch(N){Lf(e,N)}while(!0);return t&&e.shellSuspendCounter++,fc(),Tt=u,G.H=c,G.A=s,ei(),nt===null&&(Ut=null,it=0,io()),h}function Eh(){for(;nt!==null;)C0(nt)}function E0(e,t){var n=Tt;Tt|=Fn;var u=Sh(),c=x0();if(Ut!==e||it!==t){if(el){var s=e.memoizedUpdaters;0<s.size&&(er(e,it),s.clear()),Ot(e,t)}Zp=null,gg=Xi()+eS,Dc(e,t)}else Hm=Ca(e,t);On(t);e:do try{if(At!==Ea&&nt!==null)t:switch(t=nt,s=Fa,At){case Gp:At=Ea,Fa=null,Eo(e,t,s,Gp);break;case Td:case xd:if(zs(s)){At=Ea,Fa=null,_h(t);break}t=function(){At!==Td&&At!==xd||Ut!==e||(At=jp),pa(e)},s.then(t,t);break e;case Xp:At=jp;break e;case F1:At=ky;break e;case jp:zs(s)?(At=Ea,Fa=null,_h(t)):(At=Ea,Fa=null,Eo(e,t,s,jp));break;case ky:var h=null;switch(nt.tag){case 26:h=nt.memoizedState;case 5:case 27:var p=nt;if(!h||jf(h)){At=Ea,Fa=null;var b=p.sibling;if(b!==null)nt=b;else{var S=p.return;S!==null?(nt=S,qf(S)):nt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}At=Ea,Fa=null,Eo(e,t,s,ky);break;case Um:At=Ea,Fa=null,Eo(e,t,s,Um);break;case Ny:bh(),rl=pg;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}G.actQueue!==null?Eh():_0();break}catch(N){Lf(e,N)}while(!0);return fc(),G.H=u,G.A=c,Tt=n,nt!==null?(he!==null&&typeof he.markRenderYielded=="function"&&he.markRenderYielded(),Kc):(ei(),Ut=null,it=0,io(),rl)}function _0(){for(;nt!==null&&!jv();)C0(nt)}function C0(e){var t=e.alternate;(e.mode&cn)!==Lt?(dc(e),t=ye(e,hh,t,e,Go),oa(e)):t=ye(e,hh,t,e,Go),e.memoizedProps=e.pendingProps,t===null?qf(e):nt=t}function _h(e){var t=ye(e,Ch,e);e.memoizedProps=e.pendingProps,t===null?qf(e):nt=t}function Ch(e){var t=e.alternate,n=(e.mode&cn)!==Lt;switch(n&&dc(e),e.tag){case 15:case 0:t=l0(t,e,e.pendingProps,e.type,void 0,it);break;case 11:t=l0(t,e,e.pendingProps,e.type.render,e.ref,it);break;case 5:Xa(e);default:o0(t,e),e=nt=gs(e,Go),t=hh(t,e,Go)}return n&&oa(e),t}function Eo(e,t,n,u){fc(),Xa(t),_m=null,Np=0;var c=t.return;try{if(Cf(e,c,t,n,it)){rl=Vp,Zs(e,jl(n,e.current)),nt=null;return}}catch(s){if(c!==null)throw nt=c,s;rl=Vp,Zs(e,jl(n,e.current)),nt=null;return}t.flags&32768?(mt||u===Gp?e=!0:Hm||(it&536870912)!==0?e=!1:(Mr=e=!0,(u===Td||u===xd||u===Xp||u===Um)&&(u=eu.current,u!==null&&u.tag===13&&(u.flags|=16384))),Ah(t,e)):qf(t)}function qf(e){var t=e;do{if((t.flags&32768)!==0){Ah(t,Mr);return}var n=t.alternate;if(e=t.return,dc(t),n=ye(t,bv,n,t,Go),(t.mode&cn)!==Lt&&Si(t),n!==null){nt=n;return}if(t=t.sibling,t!==null){nt=t;return}nt=t=e}while(t!==null);rl===Kc&&(rl=I1)}function Ah(e,t){do{var n=Sv(e.alternate,e);if(n!==null){n.flags&=32767,nt=n;return}if((e.mode&cn)!==Lt){Si(e),n=e.actualDuration;for(var u=e.child;u!==null;)n+=u.actualDuration,u=u.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){nt=e;return}nt=e=n}while(e!==null);rl=pg,nt=null}function Mh(e,t,n,u,c,s,h,p,b){e.cancelPendingCommit=null;do Is();while(rn!==_d);if(Yu.flushLegacyContextWarning(),Yu.flushPendingUnsafeLifecycleWarnings(),(Tt&(Fn|Xu))!==Ia)throw Error("Should not already be working.");if(he!==null&&typeof he.markCommitStarted=="function"&&he.markCommitStarted(n),t===null)xt();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(s=t.lanes|t.childLanes,s|=my,ou(e,n,s,h,p,b),e===Ut&&(nt=Ut=null,it=0),wm=t,Or=e,Ur=n,Gy=s,Xy=c,aS=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,D0(pr,function(){return Yf(),null})):(e.callbackNode=null,e.callbackPriority=0),ag=bm(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=G.T,G.T=null,c=Ne.p,Ne.p=Ll,h=Tt,Tt|=Xu;try{vh(e,t,n)}finally{Tt=h,Ne.p=c,G.T=u}}rn=tS,Hi(),Rh(),Rv()}}function Hi(){if(rn===tS){rn=_d;var e=Or,t=wm,n=Ur,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=G.T,G.T=null;var c=Ne.p;Ne.p=Ll;var s=Tt;Tt|=Xu;try{Dm=n,zm=e,g0(t,e),zm=Dm=null,n=eb;var h=ef(e.containerInfo),p=n.focusedElem,b=n.selectionRange;if(h!==p&&p&&p.ownerDocument&&Pr(p.ownerDocument.documentElement,p)){if(b!==null&&hs(p)){var S=b.start,N=b.end;if(N===void 0&&(N=S),"selectionStart"in p)p.selectionStart=S,p.selectionEnd=Math.min(N,p.value.length);else{var Q=p.ownerDocument||document,B=Q&&Q.defaultView||window;if(B.getSelection){var $=B.getSelection(),Se=p.textContent.length,Le=Math.min(b.start,Se),Ht=b.end===void 0?Le:Math.min(b.end,Se);!$.extend&&Le>Ht&&(h=Ht,Ht=Le,Le=h);var ot=ds(p,Le),_=ds(p,Ht);if(ot&&_&&($.rangeCount!==1||$.anchorNode!==ot.node||$.anchorOffset!==ot.offset||$.focusNode!==_.node||$.focusOffset!==_.offset)){var C=Q.createRange();C.setStart(ot.node,ot.offset),$.removeAllRanges(),Le>Ht?($.addRange(C),$.extend(_.node,_.offset)):(C.setEnd(_.node,_.offset),$.addRange(C))}}}}for(Q=[],$=p;$=$.parentNode;)$.nodeType===1&&Q.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<Q.length;p++){var R=Q[p];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}Hg=!!Py,eb=Py=null}finally{Tt=s,Ne.p=c,G.T=u}}e.current=t,rn=lS}}function Rh(){if(rn===lS){rn=_d;var e=Or,t=wm,n=Ur,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=G.T,G.T=null;var c=Ne.p;Ne.p=Ll;var s=Tt;Tt|=Xu;try{he!==null&&typeof he.markLayoutEffectsStarted=="function"&&he.markLayoutEffectsStarted(n),Dm=n,zm=e,p0(e,t.alternate,t),zm=Dm=null,he!==null&&typeof he.markLayoutEffectsStopped=="function"&&he.markLayoutEffectsStopped()}finally{Tt=s,Ne.p=c,G.T=u}}rn=nS}}function Rv(){if(rn===lT||rn===nS){rn=_d,ly();var e=Or,t=wm,n=Ur,u=aS,c=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;c?rn=Vy:(rn=_d,wm=Or=null,wi(e,e.pendingLanes),Cd=0,Jp=null);var s=e.pendingLanes;if(s===0&&(zr=null),c||Ps(e),c=cu(n),t=t.stateNode,Nl&&typeof Nl.onCommitFiberRoot=="function")try{var h=(t.current.flags&128)===128;switch(c){case Ll:var p=Ih;break;case Wa:p=ld;break;case ku:p=pr;break;case tm:p=nd;break;default:p=pr}Nl.onCommitFiberRoot(Ho,t,p,h)}catch(Q){Mn||(Mn=!0,console.error("React instrumentation encountered an error: %s",Q))}if(el&&e.memoizedUpdaters.clear(),S0(),u!==null){h=G.T,p=Ne.p,Ne.p=Ll,G.T=null;try{var b=e.onRecoverableError;for(t=0;t<u.length;t++){var S=u[t],N=Dv(S.stack);ye(S.source,b,S.value,N)}}finally{G.T=h,Ne.p=p}}(Ur&3)!==0&&Is(),pa(e),s=e.pendingLanes,(n&4194090)!==0&&(s&42)!==0?(ug=!0,e===jy?$p++:($p=0,jy=e)):$p=0,zc(0),xt()}}function Dv(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function wi(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,qn(t)))}function Is(e){return Hi(),Rh(),Rv(),Yf()}function Yf(){if(rn!==Vy)return!1;var e=Or,t=Gy;Gy=0;var n=cu(Ur),u=ku>n?ku:n;n=G.T;var c=Ne.p;try{Ne.p=u,G.T=null,u=Xy,Xy=null;var s=Or,h=Ur;if(rn=_d,wm=Or=null,Ur=0,(Tt&(Fn|Xu))!==Ia)throw Error("Cannot flush passive effects while already rendering.");Qy=!0,yg=!1,he!==null&&typeof he.markPassiveEffectsStarted=="function"&&he.markPassiveEffectsStarted(h);var p=Tt;if(Tt|=Xu,y0(s.current),wf(s,s.current,h,u),he!==null&&typeof he.markPassiveEffectsStopped=="function"&&he.markPassiveEffectsStopped(),Ps(s),Tt=p,zc(0,!1),yg?s===Jp?Cd++:(Cd=0,Jp=s):Cd=0,yg=Qy=!1,Nl&&typeof Nl.onPostCommitFiberRoot=="function")try{Nl.onPostCommitFiberRoot(Ho,s)}catch(S){Mn||(Mn=!0,console.error("React instrumentation encountered an error: %s",S))}var b=s.current.stateNode;return b.effectDuration=0,b.passiveEffectDuration=0,!0}finally{Ne.p=c,G.T=n,wi(e,t)}}function Fs(e,t,n){t=jl(n,t),t=Zl(e.stateNode,t,2),e=ze(e,t,2),e!==null&&(Pl(e,2),pa(e))}function Ue(e,t,n){if(Bm=!1,e.tag===3)Fs(e,e,n);else{for(;t!==null;){if(t.tag===3){Fs(t,e,n);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(zr===null||!zr.has(u))){e=jl(n,e),n=Jt(2),u=ze(t,n,2),u!==null&&(_f(n,u,t,e),Pl(u,2),pa(u));return}}t=t.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.
1086
956
 
1087
957
  Error message:
1088
958
 
1089
- %s`,l)}}function Op(e,t,l){var u=e.pingCache;if(u===null){u=e.pingCache=new RT;var s=new Set;u.set(t,s)}else s=u.get(t),s===void 0&&(s=new Set,u.set(t,s));s.has(l)||($y=!0,s.add(l),u=ay.bind(null,e,t,l),tn&&lr(e,l),t.then(u,u))}function ay(e,t,l){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ap()&&G.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
959
+ %s`,n)}}function A0(e,t,n){var u=e.pingCache;if(u===null){u=e.pingCache=new F2;var c=new Set;u.set(t,c)}else c=u.get(t),c===void 0&&(c=new Set,u.set(t,c));c.has(n)||(Ly=!0,c.add(n),u=Kg.bind(null,e,t,n),el&&er(e,n),t.then(u,u))}function Kg(e,t,n){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,T0()&&G.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
1090
960
 
1091
961
  When testing, code that resolves suspended data should be wrapped into act(...):
1092
962
 
@@ -1095,7 +965,7 @@ act(() => {
1095
965
  });
1096
966
  /* assert on the output */
1097
967
 
1098
- 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`),Ut===e&&(it&l)===l&&(dn===_d||dn===Xy&&(it&62914560)===it&&Xi()-Ky<hS?(Tt&Pl)===Fa&&Us(e,0):Jy|=l,Rd===it&&(Rd=0)),va(e)}function Up(e,t){t===0&&(t=Ma()),e=wn(e,t),e!==null&&(tl(e,t),va(e))}function Zf(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Up(e,l)}function Ao(e,t){var l=0;switch(e.tag){case 13:var u=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),Up(e,l)}function Hh(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,s=t,c=s.type===hr;c=l||c,s.tag!==22?s.flags&67108864?c&&ye(s,wp,u,s,(s.mode&c1)===qt):Hh(u,s,c):s.memoizedState===null&&(c&&s.flags&8192?ye(s,wp,u,s):s.subtreeFlags&67108864&&ye(s,Hh,u,s,c)),t=t.sibling}}function wp(e,t){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{Ql(t),l&&Gf(t),Ru(e,t.alternate,t,!1),l&&Eh(e,t,0,null,!1,0)}finally{$e(!1)}}function nr(e){var t=!0;e.current.mode&(Ol|Vu)||(t=!1),Hh(e,e.current,t)}function Ka(e){if((Tt&Pl)===Fa){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=me(e)||"ReactComponent",Mg!==null){if(Mg.has(t))return;Mg.add(t)}else Mg=new Set([t]);ye(e,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 later calls tries to update the component. Move this work to useEffect instead.")})}}}function lr(e,t){tn&&e.memoizedUpdaters.forEach(function(l){xn(e,l,t)})}function Hp(e,t){var l=G.actQueue;return l!==null?(l.push(t),kT):tm(e,t)}function Lv(e){Ap()&&G.actQueue===null&&ye(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
968
+ 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`),Ut===e&&(it&n)===n&&(rl===Sd||rl===By&&(it&62914560)===it&&Xi()-Yy<P1?(Tt&Fn)===Ia&&Dc(e,0):qy|=n,Ed===it&&(Ed=0)),pa(e)}function M0(e,t){t===0&&(t=Aa()),e=Ol(e,t),e!==null&&(Pl(e,t),pa(e))}function Vf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),M0(e,n)}function _o(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,c=e.memoizedState;c!==null&&(n=c.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),M0(e,n)}function Dh(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,c=t,s=c.type===rr;s=n||s,c.tag!==22?c.flags&67108864?s&&ye(c,R0,u,c,(c.mode&Kb)===Lt):Dh(u,c,s):c.memoizedState===null&&(s&&c.flags&8192?ye(c,R0,u,c):c.subtreeFlags&67108864&&ye(c,Dh,u,c,s)),t=t.sibling}}function R0(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{jn(t),n&&Nf(t),Au(e,t.alternate,t,!1),n&&yh(e,t,0,null,!1,0)}finally{$e(!1)}}function Ps(e){var t=!0;e.current.mode&(zn|qu)||(t=!1),Dh(e,e.current,t)}function Ja(e){if((Tt&Fn)===Ia){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=me(e)||"ReactComponent",bg!==null){if(bg.has(t))return;bg.add(t)}else bg=new Set([t]);ye(e,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 later calls tries to update the component. Move this work to useEffect instead.")})}}}function er(e,t){el&&e.memoizedUpdaters.forEach(function(n){Sl(e,n,t)})}function D0(e,t){var n=G.actQueue;return n!==null?(n.push(t),iT):Wh(e,t)}function zv(e){T0()&&G.actQueue===null&&ye(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
1099
969
 
1100
970
  When testing, code that causes React state updates should be wrapped into act(...):
1101
971
 
@@ -1104,59 +974,59 @@ act(() => {
1104
974
  });
1105
975
  /* assert on the output */
1106
976
 
1107
- 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`,me(e))})}function va(e){e!==Vm&&e.next===null&&(Vm===null?Rg=Vm=e:Vm=Vm.next=e),Dg=!0,G.actQueue!==null?nb||(nb=!0,yn()):tb||(tb=!0,yn())}function ws(e,t){if(!lb&&Dg){lb=!0;do for(var l=!1,u=Rg;u!==null;){if(e!==0){var s=u.pendingLanes;if(s===0)var c=0;else{var h=u.suspendedLanes,v=u.pingedLanes;c=(1<<31-Wn(42|e)+1)-1,c&=s&~(h&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(l=!0,Nh(u,c))}else c=it,c=hn(u,u===Ut?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==wd),(c&3)===0||Aa(u,c)||(l=!0,Nh(u,c));u=u.next}while(l);lb=!1}}function kh(){Bh()}function Bh(){Dg=nb=tb=!1;var e=0;Od!==0&&(ar()&&(e=Od),Od=0);for(var t=Xi(),l=null,u=Rg;u!==null;){var s=u.next,c=Bi(u,t);c===0?(u.next=null,l===null?Rg=s:l.next=s,s===null&&(Vm=l)):(l=u,(e!==0||(c&3)!==0)&&(Dg=!0)),u=s}ws(e)}function Bi(e,t){for(var l=e.suspendedLanes,u=e.pingedLanes,s=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var h=31-Wn(c),v=1<<h,S=s[h];S===-1?((v&l)===0||(v&u)!==0)&&(s[h]=$u(v,t)):S<=t&&(e.expiredLanes|=v),c&=~v}if(t=Ut,l=it,l=hn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==wd),u=e.callbackNode,l===0||e===t&&(At===Ad||At===Md)||e.cancelPendingCommit!==null)return u!==null&&Lh(u),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Aa(e,l)){if(t=l&-l,t!==e.callbackPriority||G.actQueue!==null&&u!==ab)Lh(u);else return t;switch(ru(l)){case Yn:case Wa:l=od;break;case Lu:l=yr;break;case um:l=sd;break;default:l=yr}return u=Wt.bind(null,e),G.actQueue!==null?(G.actQueue.push(u),l=ab):l=tm(l,u),e.callbackPriority=t,e.callbackNode=l,t}return u!==null&&Lh(u),e.callbackPriority=2,e.callbackNode=null,2}function Wt(e,t){if(mg=hg=!1,fl!==Dd&&fl!==Iy)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(er()&&e.callbackNode!==l)return null;var u=it;return u=hn(e,e===Ut?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==wd),u===0?null:(gn(e,u,t),Bi(e,Xi()),e.callbackNode!=null&&e.callbackNode===l?Wt.bind(null,e):null)}function Nh(e,t){if(er())return null;hg=mg,mg=!1,gn(e,t,!0)}function Lh(e){e!==ab&&e!==null&&ry(e)}function yn(){G.actQueue!==null&&G.actQueue.push(function(){return Bh(),null}),QT(function(){(Tt&(Pl|Qu))!==Fa?tm(nm,kh):Bh()})}function kp(){return Od===0&&(Od=ou()),Od}function Bp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ie(e,"action"),gu(""+e))}function Np(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Nt(e,t,l,u,s){if(t==="submit"&&l&&l.stateNode===s){var c=Bp((s[Dl]||null).action),h=u.submitter;h&&(t=(t=h[Dl]||null)?Bp(t.formAction):h.getAttribute("formAction"),t!==null&&(c=t,h=null));var v=new Me("action","action",null,u,s);e.push({event:v,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Od!==0){var S=h?Np(s,h):new FormData(s),x={pending:!0,data:S,method:s.method,action:c};Object.freeze(x),Ss(l,x,null,S)}}else typeof c=="function"&&(v.preventDefault(),S=h?Np(s,h):new FormData(s),x={pending:!0,data:S,method:s.method,action:c},Object.freeze(x),Ss(l,x,c,S))},currentTarget:s}]})}}function kn(e,t,l){e.currentTarget=l;try{t(e)}catch(u){qy(u)}e.currentTarget=null}function Ni(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var u=e[l];e:{var s=void 0,c=u.event;if(u=u.listeners,t)for(var h=u.length-1;0<=h;h--){var v=u[h],S=v.instance,x=v.currentTarget;if(v=v.listener,S!==s&&c.isPropagationStopped())break e;S!==null?ye(S,kn,c,v,x):kn(c,v,x),s=S}else for(h=0;h<u.length;h++){if(v=u[h],S=v.instance,x=v.currentTarget,v=v.listener,S!==s&&c.isPropagationStopped())break e;S!==null?ye(S,kn,c,v,x):kn(c,v,x),s=S}}}}function Pe(e,t){ib.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[r0];l===void 0&&(l=t[r0]=new Set);var u=e+"__bubble";l.has(u)||(Yh(t,e,2,!1),l.add(u))}function qh(e,t,l){ib.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Yh(l,e,u,t)}function Lp(e){if(!e[zg]){e[zg]=!0,eg.forEach(function(l){l!=="selectionchange"&&(ib.has(l)||qh(l,!1,e),qh(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zg]||(t[zg]=!0,qh("selectionchange",!1,t))}}function Yh(e,t,l,u){switch(Wh(t)){case Yn:var s=oy;break;case Wa:s=Ih;break;default:s=zo}l=s.bind(null,t,l,e),s=void 0,!H||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),u?s!==void 0?e.addEventListener(t,l,{capture:!0,passive:s}):e.addEventListener(t,l,!0):s!==void 0?e.addEventListener(t,l,{passive:s}):e.addEventListener(t,l,!1)}function il(e,t,l,u,s){var c=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var h=u.tag;if(h===3||h===4){var v=u.stateNode.containerInfo;if(v===s)break;if(h===4)for(h=u.return;h!==null;){var S=h.tag;if((S===3||S===4)&&h.stateNode.containerInfo===s)return;h=h.return}for(;v!==null;){if(h=ta(v),h===null)return;if(S=h.tag,S===5||S===6||S===26||S===27){u=c=h;continue e}v=v.parentNode}}u=u.return}as(function(){var x=c,N=fi(l),Q=[];e:{var k=s1.get(e);if(k!==void 0){var $=Me,Se=e;switch(e){case"keypress":if(yu(l)===0)break e;case"keydown":case"keyup":$=F2;break;case"focusin":Se="focus",$=st;break;case"focusout":Se="blur",$=st;break;case"beforeblur":case"afterblur":$=st;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=We;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=Ue;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=tT;break;case a1:case i1:case u1:$=py;break;case o1:$=lT;break;case"scroll":case"scrollend":$=O;break;case"wheel":$=iT;break;case"copy":case"cut":case"paste":$=Q2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=Ib;break;case"toggle":case"beforetoggle":$=oT}var Ne=(t&4)!==0,wt=!Ne&&(e==="scroll"||e==="scrollend"),ot=Ne?k!==null?k+"Capture":null:k;Ne=[];for(var _=x,A;_!==null;){var R=_;if(A=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||A===null||ot===null||(R=aa(_,ot),R!=null&&Ne.push(ul(_,R,A))),wt)break;_=_.return}0<Ne.length&&(k=new $(k,Se,null,l,N),Q.push({event:k,listeners:Ne}))}}if((t&7)===0){e:{if(k=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",k&&l!==r&&(Se=l.relatedTarget||l.fromElement)&&(ta(Se)||Se[No]))break e;if(($||k)&&(k=N.window===N?N:(k=N.ownerDocument)?k.defaultView||k.parentWindow:window,$?(Se=l.relatedTarget||l.toElement,$=x,Se=Se?ta(Se):null,Se!==null&&(wt=de(Se),Ne=Se.tag,Se!==wt||Ne!==5&&Ne!==27&&Ne!==6)&&(Se=null)):($=null,Se=x),$!==Se)){if(Ne=We,R="onMouseLeave",ot="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(Ne=Ib,R="onPointerLeave",ot="onPointerEnter",_="pointer"),wt=$==null?k:Ra($),A=Se==null?k:Ra(Se),k=new Ne(R,_+"leave",$,l,N),k.target=wt,k.relatedTarget=A,R=null,ta(N)===x&&(Ne=new Ne(ot,_+"enter",Se,l,N),Ne.target=A,Ne.relatedTarget=wt,R=Ne),wt=R,$&&Se)t:{for(Ne=$,ot=Se,_=0,A=Ne;A;A=Dn(A))_++;for(A=0,R=ot;R;R=Dn(R))A++;for(;0<_-A;)Ne=Dn(Ne),_--;for(;0<A-_;)ot=Dn(ot),A--;for(;_--;){if(Ne===ot||ot!==null&&Ne===ot.alternate)break t;Ne=Dn(Ne),ot=Dn(ot)}Ne=null}else Ne=null;$!==null&&qp(Q,k,$,Ne,!1),Se!==null&&wt!==null&&qp(Q,wt,Se,Ne,!0)}}e:{if(k=x?Ra(x):window,$=k.nodeName&&k.nodeName.toLowerCase(),$==="select"||$==="input"&&k.type==="file")var J=hc;else if(ef(k))if(n1)J=Gd;else{J=mc;var ce=Yd}else $=k.nodeName,!$||$.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?x&&ri(x.elementType)&&(J=hc):J=Vd;if(J&&(J=J(e,x))){ss(Q,J,l,N);break e}ce&&ce(e,k,x),e==="focusout"&&x&&k.type==="number"&&x.memoizedProps.value!=null&&Fo(k,"number",k.value)}switch(ce=x?Ra(x):window,e){case"focusin":(ef(ce)||ce.contentEditable==="true")&&(vm=ce,gy=x,z0=null);break;case"focusout":z0=gy=vm=null;break;case"mousedown":yy=!0;break;case"contextmenu":case"mouseup":case"dragend":yy=!1,of(Q,l,N);break;case"selectionchange":if(fT)break;case"keydown":case"keyup":of(Q,l,N)}var Qe;if(vy)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else pm?_n(e,l)&&(Te="onCompositionEnd"):e==="keydown"&&l.keyCode===Wb&&(Te="onCompositionStart");Te&&(Fb&&l.locale!=="ko"&&(pm||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&pm&&(Qe=ia()):(P=N,B="value"in P?P.value:P.textContent,pm=!0)),ce=$f(x,Te),0<ce.length&&(Te=new Kb(Te,e,null,l,N),Q.push({event:Te,listeners:ce}),Qe?Te.data=Qe:(Qe=ka(l),Qe!==null&&(Te.data=Qe)))),(Qe=cT?os(e,l):ao(e,l))&&(Te=$f(x,"onBeforeInput"),0<Te.length&&(ce=new $2("onBeforeInput","beforeinput",null,l,N),Q.push({event:ce,listeners:Te}),ce.data=Qe)),Nt(Q,e,x,l,N)}Ni(Q,t)})}function ul(e,t,l){return{instance:e,listener:t,currentTarget:l}}function $f(e,t){for(var l=t+"Capture",u=[];e!==null;){var s=e,c=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=aa(e,l),s!=null&&u.unshift(ul(e,s,c)),s=aa(e,t),s!=null&&u.push(ul(e,s,c))),e.tag===3)return u;e=e.return}return[]}function Dn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function qp(e,t,l,u,s){for(var c=t._reactName,h=[];l!==null&&l!==u;){var v=l,S=v.alternate,x=v.stateNode;if(v=v.tag,S!==null&&S===u)break;v!==5&&v!==26&&v!==27||x===null||(S=x,s?(x=aa(l,c),x!=null&&h.unshift(ul(l,x,S))):s||(x=aa(l,c),x!=null&&h.push(ul(l,x,S)))),l=l.return}h.length!==0&&e.push({event:t,listeners:h})}function Li(e,t){vu(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||A0||(A0=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:Ta,possibleRegistrationNames:Gs};ri(e)||typeof t.is=="string"||rc(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 Lt(e,t,l,u){t!==l&&(l=Bn(l),Bn(t)!==l&&(u[e]=t))}function Mo(e,t,l){t.forEach(function(u){l[Vp(u)]=u==="style"?ks(e):e.getAttribute(u)})}function ga(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Vh(e,t){return e=e.namespaceURI===pd||e.namespaceURI===_r?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Bn(e){return q(e)&&(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.",ge(e)),pe(e)),(typeof e=="string"?e:""+e).replace(BT,`
1108
- `).replace(NT,"")}function Yp(e,t){return t=Bn(t),Bn(e)===t}function zu(){}function dt(e,t,l,u,s,c){switch(l){case"children":typeof u=="string"?(no(u,t,!1),t==="body"||t==="textarea"&&u===""||ci(e,u)):(typeof u=="number"||typeof u=="bigint")&&(no(""+u,t,!1),t!=="body"&&ci(e,""+u));break;case"className":Ku(e,"class",u);break;case"tabIndex":Ku(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ku(e,l,u);break;case"style":lo(e,u,c);break;case"data":if(t!=="object"){Ku(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||l!=="href")){console.error(l==="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.',l,l),e.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}ie(u,l),u=gu(""+u),e.setAttribute(l,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(s.encType==null&&s.method==null||wg||(wg=!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.")),s.target==null||Ug||(Ug=!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."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||Og?t!=="button"||s.type==null||s.type==="submit"||Og?typeof u=="function"&&(s.name==null||ES||(ES=!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.')),s.formEncType==null&&s.formMethod==null||wg||(wg=!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.")),s.formTarget==null||Ug||(Ug=!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."))):(Og=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Og=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(l,"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 c=="function"&&(l==="formAction"?(t!=="input"&&dt(e,t,"name",s.name,s,null),dt(e,t,"formEncType",s.formEncType,s,null),dt(e,t,"formMethod",s.formMethod,s,null),dt(e,t,"formTarget",s.formTarget,s,null)):(dt(e,t,"encType",s.encType,s,null),dt(e,t,"method",s.method,s,null),dt(e,t,"target",s.target,s,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}ie(u,l),u=gu(""+u),e.setAttribute(l,u);break;case"onClick":u!=null&&(typeof u!="function"&&ga(l,u),e.onclick=zu);break;case"onScroll":u!=null&&(typeof u!="function"&&ga(l,u),Pe("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&ga(l,u),Pe("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=u.__html,l!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ie(u,l),l=gu(""+u),e.setAttributeNS(Ud,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ie(u,l),e.setAttribute(l,""+u)):e.removeAttribute(l);break;case"inert":u!==""||Hg[l]||(Hg[l]=!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.",l));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":u===!0?e.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ie(u,l),e.setAttribute(l,u)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ie(u,l),e.setAttribute(l,u)):e.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(l):(ie(u,l),e.setAttribute(l,u));break;case"popover":Pe("beforetoggle",e),Pe("toggle",e),Ju(e,"popover",u);break;case"xlinkActuate":hl(e,Ud,"xlink:actuate",u);break;case"xlinkArcrole":hl(e,Ud,"xlink:arcrole",u);break;case"xlinkRole":hl(e,Ud,"xlink:role",u);break;case"xlinkShow":hl(e,Ud,"xlink:show",u);break;case"xlinkTitle":hl(e,Ud,"xlink:title",u);break;case"xlinkType":hl(e,Ud,"xlink:type",u);break;case"xmlBase":hl(e,ub,"xml:base",u);break;case"xmlLang":hl(e,ub,"xml:lang",u);break;case"xmlSpace":hl(e,ub,"xml:space",u);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ju(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":CS||u==null||typeof u!="object"||(CS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=ls(l),Ju(e,l,u)):Ta.hasOwnProperty(l)&&u!=null&&typeof u!="function"&&ga(l,u)}}function Hs(e,t,l,u,s,c){switch(l){case"style":lo(e,u,c);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=u.__html,l!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof u=="string"?ci(e,u):(typeof u=="number"||typeof u=="bigint")&&ci(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&ga(l,u),Pe("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&ga(l,u),Pe("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&ga(l,u),e.onclick=zu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ta.hasOwnProperty(l))u!=null&&typeof u!="function"&&ga(l,u);else e:{if(l[0]==="o"&&l[1]==="n"&&(s=l.endsWith("Capture"),t=l.slice(2,s?l.length-7:void 0),c=e[Dl]||null,c=c!=null?c[l]:null,typeof c=="function"&&e.removeEventListener(t,c,s),typeof u=="function")){typeof c!="function"&&c!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,u,s);break e}l in e?e[l]=u:u===!0?e.setAttribute(l,""):Ju(e,l,u)}}}function Ft(e,t,l){switch(Li(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",e),Pe("load",e);var u=!1,s=!1,c;for(c in l)if(l.hasOwnProperty(c)){var h=l[c];if(h!=null)switch(c){case"src":u=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,c,h,l,null)}}s&&dt(e,t,"srcSet",l.srcSet,l,null),u&&dt(e,t,"src",l.src,l,null);return;case"input":za("input",l),Pe("invalid",e);var v=c=h=s=null,S=null,x=null;for(u in l)if(l.hasOwnProperty(u)){var N=l[u];if(N!=null)switch(u){case"name":s=N;break;case"type":h=N;break;case"checked":S=N;break;case"defaultChecked":x=N;break;case"value":c=N;break;case"defaultValue":v=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,u,N,l,null)}}Oa(e,l),Kr(e,c,v,S,x,h,s,!1),na(e);return;case"select":za("select",l),Pe("invalid",e),u=h=c=null;for(s in l)if(l.hasOwnProperty(s)&&(v=l[s],v!=null))switch(s){case"value":c=v;break;case"defaultValue":h=v;break;case"multiple":u=v;default:dt(e,t,s,v,l,null)}Pu(e,l),t=c,l=h,e.multiple=!!u,t!=null?la(e,!!u,t,!1):l!=null&&la(e,!!u,l,!0);return;case"textarea":za("textarea",l),Pe("invalid",e),c=s=u=null;for(h in l)if(l.hasOwnProperty(h)&&(v=l[h],v!=null))switch(h){case"value":u=v;break;case"defaultValue":s=v;break;case"children":c=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:dt(e,t,h,v,l,null)}Bl(e,l),ic(e,u,s,c),na(e);return;case"option":ac(e,l);for(S in l)if(l.hasOwnProperty(S)&&(u=l[S],u!=null))switch(S){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:dt(e,t,S,u,l,null)}return;case"dialog":Pe("beforetoggle",e),Pe("toggle",e),Pe("cancel",e),Pe("close",e);break;case"iframe":case"object":Pe("load",e);break;case"video":case"audio":for(u=0;u<ev.length;u++)Pe(ev[u],e);break;case"image":Pe("error",e),Pe("load",e);break;case"details":Pe("toggle",e);break;case"embed":case"source":case"link":Pe("error",e),Pe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in l)if(l.hasOwnProperty(x)&&(u=l[x],u!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,x,u,l,null)}return;default:if(ri(t)){for(N in l)l.hasOwnProperty(N)&&(u=l[N],u!==void 0&&Hs(e,t,N,u,l,void 0));return}}for(v in l)l.hasOwnProperty(v)&&(u=l[v],u!=null&&dt(e,t,v,u,l,null))}function qv(e,t,l,u){switch(Li(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,h=null,v=null,S=null,x=null,N=null;for($ in l){var Q=l[$];if(l.hasOwnProperty($)&&Q!=null)switch($){case"checked":break;case"value":break;case"defaultValue":S=Q;default:u.hasOwnProperty($)||dt(e,t,$,null,u,Q)}}for(var k in u){var $=u[k];if(Q=l[k],u.hasOwnProperty(k)&&($!=null||Q!=null))switch(k){case"type":c=$;break;case"name":s=$;break;case"checked":x=$;break;case"defaultChecked":N=$;break;case"value":h=$;break;case"defaultValue":v=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==Q&&dt(e,t,k,$,u,Q)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||xS||(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"),xS=!0),!t||u||TS||(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"),TS=!0),Ua(e,h,v,S,x,N,c,s);return;case"select":$=h=v=k=null;for(c in l)if(S=l[c],l.hasOwnProperty(c)&&S!=null)switch(c){case"value":break;case"multiple":$=S;default:u.hasOwnProperty(c)||dt(e,t,c,null,u,S)}for(s in u)if(c=u[s],S=l[s],u.hasOwnProperty(s)&&(c!=null||S!=null))switch(s){case"value":k=c;break;case"defaultValue":v=c;break;case"multiple":h=c;default:c!==S&&dt(e,t,s,c,u,S)}u=v,t=h,l=$,k!=null?la(e,!!t,k,!1):!!l!=!!t&&(u!=null?la(e,!!t,u,!0):la(e,!!t,t?[]:"",!1));return;case"textarea":$=k=null;for(v in l)if(s=l[v],l.hasOwnProperty(v)&&s!=null&&!u.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:dt(e,t,v,null,u,s)}for(h in u)if(s=u[h],c=l[h],u.hasOwnProperty(h)&&(s!=null||c!=null))switch(h){case"value":k=s;break;case"defaultValue":$=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==c&&dt(e,t,h,s,u,c)}Po(e,k,$);return;case"option":for(var Se in l)if(k=l[Se],l.hasOwnProperty(Se)&&k!=null&&!u.hasOwnProperty(Se))switch(Se){case"selected":e.selected=!1;break;default:dt(e,t,Se,null,u,k)}for(S in u)if(k=u[S],$=l[S],u.hasOwnProperty(S)&&k!==$&&(k!=null||$!=null))switch(S){case"selected":e.selected=k&&typeof k!="function"&&typeof k!="symbol";break;default:dt(e,t,S,k,u,$)}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 Ne in l)k=l[Ne],l.hasOwnProperty(Ne)&&k!=null&&!u.hasOwnProperty(Ne)&&dt(e,t,Ne,null,u,k);for(x in u)if(k=u[x],$=l[x],u.hasOwnProperty(x)&&k!==$&&(k!=null||$!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,x,k,u,$)}return;default:if(ri(t)){for(var wt in l)k=l[wt],l.hasOwnProperty(wt)&&k!==void 0&&!u.hasOwnProperty(wt)&&Hs(e,t,wt,void 0,u,k);for(N in u)k=u[N],$=l[N],!u.hasOwnProperty(N)||k===$||k===void 0&&$===void 0||Hs(e,t,N,k,u,$);return}}for(var ot in l)k=l[ot],l.hasOwnProperty(ot)&&k!=null&&!u.hasOwnProperty(ot)&&dt(e,t,ot,null,u,k);for(Q in u)k=u[Q],$=l[Q],!u.hasOwnProperty(Q)||k===$||k==null&&$==null||dt(e,t,Q,k,u,$)}function Vp(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ks(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var u=e[l];t[u]=e.getPropertyValue(u)}return t}function Gp(e,t,l){if(t!=null&&typeof t!="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 u,s=u="",c;for(c in t)if(t.hasOwnProperty(c)){var h=t[c];h!=null&&typeof h!="boolean"&&h!==""&&(c.indexOf("--")===0?(ve(h,c),u+=s+c+":"+(""+h).trim()):typeof h!="number"||h===0||md.has(c)?(ve(h,c),u+=s+c.replace(qu,"-$1").toLowerCase().replace(Yu,"-ms-")+":"+(""+h).trim()):u+=s+c.replace(qu,"-$1").toLowerCase().replace(Yu,"-ms-")+":"+h+"px",s=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=Bn(u),Bn(t)!==u&&(l.style=ks(e)))}}function ol(e,t,l,u,s,c){if(s.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ie(u,t),e===""+u)return}Lt(t,e,u,c)}function jp(e,t,l,u,s,c){if(s.delete(l),e=e.getAttribute(l),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}Lt(t,e,u,c)}function Xp(e,t,l,u,s,c){if(s.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ie(u,l),e===""+u)return}Lt(t,e,u,c)}function Yv(e,t,l,u,s,c){if(s.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ie(u,t),e===""+u))return}Lt(t,e,u,c)}function yt(e,t,l,u,s,c){if(s.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ie(u,t),l=gu(""+u),e===l)return}Lt(t,e,u,c)}function Rt(e,t,l,u){for(var s={},c=new Set,h=e.attributes,v=0;v<h.length;v++)switch(h[v].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(h[v].name)}if(ri(t)){for(var S in l)if(l.hasOwnProperty(S)){var x=l[S];if(x!=null){if(Ta.hasOwnProperty(S))typeof x!="function"&&ga(S,x);else if(l.suppressHydrationWarning!==!0)switch(S){case"children":typeof x!="string"&&typeof x!="number"||Lt("children",e.textContent,x,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,x=x?x.__html:void 0,x!=null&&(x=Vh(e,x),Lt(S,h,x,s));continue;case"style":c.delete(S),Gp(e,x,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(S.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",S);continue;case"className":c.delete("class"),h=Qr(e,"class",x),Lt("className",h,x,s);continue;default:u.context===ec&&t!=="svg"&&t!=="math"?c.delete(S.toLowerCase()):c.delete(S),h=Qr(e,S,x),Lt(S,h,x,s)}}}}else for(x in l)if(l.hasOwnProperty(x)&&(S=l[x],S!=null)){if(Ta.hasOwnProperty(x))typeof S!="function"&&ga(x,S);else if(l.suppressHydrationWarning!==!0)switch(x){case"children":typeof S!="string"&&typeof S!="number"||Lt("children",e.textContent,S,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,S=S?S.__html:void 0,S!=null&&(S=Vh(e,S),h!==S&&(s[x]={__html:h}));continue;case"className":ol(e,x,"class",S,c,s);continue;case"tabIndex":ol(e,x,"tabindex",S,c,s);continue;case"style":c.delete(x),Gp(e,S,s);continue;case"multiple":c.delete(x),Lt(x,e.multiple,S,s);continue;case"muted":c.delete(x),Lt(x,e.muted,S,s);continue;case"autoFocus":c.delete("autofocus"),Lt(x,e.autofocus,S,s);continue;case"data":if(t!=="object"){c.delete(x),h=e.getAttribute("data"),Lt(x,h,S,s);continue}case"src":case"href":if(!(S!==""||t==="a"&&x==="href"||t==="object"&&x==="data")){console.error(x==="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.',x,x);continue}yt(e,x,x,S,c,s);continue;case"action":case"formAction":if(h=e.getAttribute(x),typeof S=="function"){c.delete(x.toLowerCase()),x==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(h===LT){c.delete(x.toLowerCase()),Lt(x,"function",S,s);continue}yt(e,x,x.toLowerCase(),S,c,s);continue;case"xlinkHref":yt(e,x,"xlink:href",S,c,s);continue;case"contentEditable":Xp(e,x,"contenteditable",S,c,s);continue;case"spellCheck":Xp(e,x,"spellcheck",S,c,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Xp(e,x,x,S,c,s);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":jp(e,x,x.toLowerCase(),S,c,s);continue;case"capture":case"download":e:{v=e;var N=h=x,Q=s;if(c.delete(N),v=v.getAttribute(N),v===null)switch(typeof S){case"undefined":case"function":case"symbol":break e;default:if(S===!1)break e}else if(S!=null)switch(typeof S){case"function":case"symbol":break;case"boolean":if(S===!0&&v==="")break e;break;default:if(ie(S,h),v===""+S)break e}Lt(h,v,S,Q)}continue;case"cols":case"rows":case"size":case"span":e:{if(v=e,N=h=x,Q=s,c.delete(N),v=v.getAttribute(N),v===null)switch(typeof S){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(S)||1>S)break e}else if(S!=null)switch(typeof S){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(S)||1>S)&&(ie(S,h),v===""+S))break e}Lt(h,v,S,Q)}continue;case"rowSpan":Yv(e,x,"rowspan",S,c,s);continue;case"start":Yv(e,x,x,S,c,s);continue;case"xHeight":ol(e,x,"x-height",S,c,s);continue;case"xlinkActuate":ol(e,x,"xlink:actuate",S,c,s);continue;case"xlinkArcrole":ol(e,x,"xlink:arcrole",S,c,s);continue;case"xlinkRole":ol(e,x,"xlink:role",S,c,s);continue;case"xlinkShow":ol(e,x,"xlink:show",S,c,s);continue;case"xlinkTitle":ol(e,x,"xlink:title",S,c,s);continue;case"xlinkType":ol(e,x,"xlink:type",S,c,s);continue;case"xmlBase":ol(e,x,"xml:base",S,c,s);continue;case"xmlLang":ol(e,x,"xml:lang",S,c,s);continue;case"xmlSpace":ol(e,x,"xml:space",S,c,s);continue;case"inert":S!==""||Hg[x]||(Hg[x]=!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.",x)),jp(e,x,x,S,c,s);continue;default:if(!(2<x.length)||x[0]!=="o"&&x[0]!=="O"||x[1]!=="n"&&x[1]!=="N"){v=ls(x),h=!1,u.context===ec&&t!=="svg"&&t!=="math"?c.delete(v.toLowerCase()):(N=x.toLowerCase(),N=Qs.hasOwnProperty(N)&&Qs[N]||null,N!==null&&N!==x&&(h=!0,c.delete(N)),c.delete(v));e:if(N=e,Q=v,v=S,li(Q))if(N.hasAttribute(Q))N=N.getAttribute(Q),ie(v,Q),v=N===""+v?v:N;else{switch(typeof v){case"function":case"symbol":break e;case"boolean":if(N=Q.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-")break e}v=v===void 0?void 0:null}else v=void 0;h||Lt(x,v,S,s)}}}return 0<c.size&&l.suppressHydrationWarning!==!0&&Mo(e,c,s),Object.keys(s).length===0?null:s}function tt(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function nt(e){return e.nodeType===9?e:e.ownerDocument}function bt(e){switch(e){case _r:return Gm;case pd:return Ng;default:return ec}}function _l(e,t){if(e===ec)switch(t){case"svg":return Gm;case"math":return Ng;default:return ec}return e===Gm&&t==="foreignObject"?ec:e}function qi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function ar(){var e=window.event;return e&&e.type==="popstate"?e===rb?!1:(rb=e,!0):(rb=null,!1)}function Qp(e){setTimeout(function(){throw e})}function Ou(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function Pt(e,t,l,u){qv(e,t,l,u),e[Dl]=u}function Uu(e){ci(e,"")}function Bs(e,t,l){e.nodeValue=l}function Yi(e){return e==="head"}function ya(e,t){e.removeChild(t)}function ir(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function ur(e,t){var l=t,u=0,s=0;do{var c=l.nextSibling;if(e.removeChild(l),c&&c.nodeType===8)if(l=c.data,l===Bg){if(0<u&&8>u){l=u;var h=e.ownerDocument;if(l&YT&&rr(h.documentElement),l&VT&&rr(h.body),l&GT)for(l=h.head,rr(l),h=l.firstChild;h;){var v=h.nextSibling,S=h.nodeName;h[Tr]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&h.rel.toLowerCase()==="stylesheet"||l.removeChild(h),h=v}}if(s===0){e.removeChild(c),Ys(t);return}s--}else l===kg||l===Ps||l===tv?s++:u=l.charCodeAt(0)-48;else u=0;l=c}while(l);Ys(t)}function Al(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Zp(e){e.nodeValue=""}function $p(e,t){t=t[jT],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Gh(e,t){e.nodeValue=t}function or(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":or(l),fu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Ro(e,t,l,u){for(;e.nodeType===1;){var s=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Tr])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ie(s.name,"name");var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Ln(e.nextSibling),e===null)break}return null}function Nn(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Ln(e.nextSibling),e===null))return null;return e}function Vi(e){return e.data===tv||e.data===Ps&&e.ownerDocument.readyState===AS}function sr(e,t){var l=e.ownerDocument;if(e.data!==Ps||l.readyState===AS)t();else{var u=function(){t(),l.removeEventListener("DOMContentLoaded",u)};l.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Ln(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===kg||t===tv||t===Ps||t===ob||t===_S)break;if(t===Bg)return null}}return e}function jh(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},u=e.attributes,s=0;s<u.length;s++){var c=u[s];l[Vp(c.name)]=c.name.toLowerCase()==="style"?ks(e):c.value}return{type:t,props:l}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Xh(e,t,l){return l===null||l[qT]!==!0?(e.nodeValue===t?e=null:(t=Bn(t),e=Bn(e.nodeValue)===t?null:e.nodeValue),e):null}function Jp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===Bg){if(t===0)return Ln(e.nextSibling);t--}else l!==kg&&l!==tv&&l!==Ps||t++}e=e.nextSibling}return null}function cr(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===kg||l===tv||l===Ps){if(t===0)return e;t--}else l===Bg&&t++}e=e.previousSibling}return null}function Kp(e){Ys(e)}function Zl(e){Ys(e)}function Ip(e,t,l,u,s){switch(s&&ns(e,u.ancestorInfo),t=nt(l),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function $l(e,t,l,u){if(!l[No]&&Xn(l)){var s=l.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.",s,s,s)}switch(e){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(s=l.attributes;s.length;)l.removeAttributeNode(s[0]);Ft(l,e,t),l[Fn]=u,l[Dl]=t}function rr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);fu(e)}function Jf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Vv(e,t,l){var u=jm;if(u&&typeof t=="string"&&t){var s=Qn(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),US.has(s)||(US.add(s),e={rel:e,crossOrigin:l,href:t},u.querySelector(s)===null&&(t=u.createElement("link"),Ft(t,"link",e),nn(t),u.head.appendChild(t)))}}function wu(e,t,l,u){var s=(s=ji.current)?Jf(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=Do(l.href),t=kl(s).hoistableStyles,u=t.get(l),u||(u={type:"style",instance:null,count:0,state:null},t.set(l,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Do(l.href);var c=kl(s).hoistableStyles,h=c.get(e);if(!h&&(s=s.ownerDocument||s,h={type:"stylesheet",instance:null,count:0,state:{loading:Hd,preload:null}},c.set(e,h),(c=s.querySelector(Gi(e)))&&!c._p&&(h.instance=c,h.state.loading=nv|nu),!lu.has(e))){var v={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};lu.set(e,v),c||Gv(s,e,v,h.state)}if(t&&u===null)throw l=`
977
+ 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`,me(e))})}function pa(e){e!==km&&e.next===null&&(km===null?Sg=km=e:km=km.next=e),Tg=!0,G.actQueue!==null?$y||($y=!0,vl()):Zy||(Zy=!0,vl())}function zc(e,t){if(!Jy&&Tg){Jy=!0;do for(var n=!1,u=Sg;u!==null;){if(e!==0){var c=u.pendingLanes;if(c===0)var s=0;else{var h=u.suspendedLanes,p=u.pingedLanes;s=(1<<31-Kl(42|e)+1)-1,s&=c&~(h&~p),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,Uh(u,s))}else s=it,s=fl(u,u===Ut?s:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Rd),(s&3)===0||Ca(u,s)||(n=!0,Uh(u,s));u=u.next}while(n);Jy=!1}}function zh(){Oh()}function Oh(){Tg=$y=Zy=!1;var e=0;Ad!==0&&(tr()&&(e=Ad),Ad=0);for(var t=Xi(),n=null,u=Sg;u!==null;){var c=u.next,s=Bi(u,t);s===0?(u.next=null,n===null?Sg=c:n.next=c,c===null&&(km=n)):(n=u,(e!==0||(s&3)!==0)&&(Tg=!0)),u=c}zc(e)}function Bi(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var h=31-Kl(s),p=1<<h,b=c[h];b===-1?((p&n)===0||(p&u)!==0)&&(c[h]=Qu(p,t)):b<=t&&(e.expiredLanes|=p),s&=~p}if(t=Ut,n=it,n=fl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Rd),u=e.callbackNode,n===0||e===t&&(At===Td||At===xd)||e.cancelPendingCommit!==null)return u!==null&&Hh(u),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Ca(e,n)){if(t=n&-n,t!==e.callbackPriority||G.actQueue!==null&&u!==Ky)Hh(u);else return t;switch(cu(n)){case Ll:case Wa:n=ld;break;case ku:n=pr;break;case tm:n=nd;break;default:n=pr}return u=Wt.bind(null,e),G.actQueue!==null?(G.actQueue.push(u),n=Ky):n=Wh(n,u),e.callbackPriority=t,e.callbackNode=n,t}return u!==null&&Hh(u),e.callbackPriority=2,e.callbackNode=null,2}function Wt(e,t){if(ug=ig=!1,rn!==_d&&rn!==Vy)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Is()&&e.callbackNode!==n)return null;var u=it;return u=fl(e,e===Ut?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Rd),u===0?null:(pl(e,u,t),Bi(e,Xi()),e.callbackNode!=null&&e.callbackNode===n?Wt.bind(null,e):null)}function Uh(e,t){if(Is())return null;ig=ug,ug=!1,pl(e,t,!0)}function Hh(e){e!==Ky&&e!==null&&ty(e)}function vl(){G.actQueue!==null&&G.actQueue.push(function(){return Oh(),null}),pT(function(){(Tt&(Fn|Xu))!==Ia?Wh(Ih,zh):Oh()})}function z0(){return Ad===0&&(Ad=iu()),Ad}function O0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ie(e,"action"),pu(""+e))}function U0(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function kt(e,t,n,u,c){if(t==="submit"&&n&&n.stateNode===c){var s=O0((c[Rn]||null).action),h=u.submitter;h&&(t=(t=h[Rn]||null)?O0(t.formAction):h.getAttribute("formAction"),t!==null&&(s=t,h=null));var p=new Me("action","action",null,u,c);e.push({event:p,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Ad!==0){var b=h?U0(c,h):new FormData(c),S={pending:!0,data:b,method:c.method,action:s};Object.freeze(S),gc(n,S,null,b)}}else typeof s=="function"&&(p.preventDefault(),b=h?U0(c,h):new FormData(c),S={pending:!0,data:b,method:c.method,action:s},Object.freeze(S),gc(n,S,s,b))},currentTarget:c}]})}}function Hl(e,t,n){e.currentTarget=n;try{t(e)}catch(u){zy(u)}e.currentTarget=null}function ki(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var u=e[n];e:{var c=void 0,s=u.event;if(u=u.listeners,t)for(var h=u.length-1;0<=h;h--){var p=u[h],b=p.instance,S=p.currentTarget;if(p=p.listener,b!==c&&s.isPropagationStopped())break e;b!==null?ye(b,Hl,s,p,S):Hl(s,p,S),c=b}else for(h=0;h<u.length;h++){if(p=u[h],b=p.instance,S=p.currentTarget,p=p.listener,b!==c&&s.isPropagationStopped())break e;b!==null?ye(b,Hl,s,p,S):Hl(s,p,S),c=b}}}}function Pe(e,t){Wy.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[ip];n===void 0&&(n=t[ip]=new Set);var u=e+"__bubble";n.has(u)||(Bh(t,e,2,!1),n.add(u))}function wh(e,t,n){Wy.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Bh(n,e,u,t)}function H0(e){if(!e[xg]){e[xg]=!0,Zv.forEach(function(n){n!=="selectionchange"&&(Wy.has(n)||wh(n,!1,e),wh(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xg]||(t[xg]=!0,wh("selectionchange",!1,t))}}function Bh(e,t,n,u){switch(Zh(t)){case Ll:var c=Fg;break;case Wa:c=Qh;break;default:c=Ro}n=c.bind(null,t,n,e),c=void 0,!H||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),u?c!==void 0?e.addEventListener(t,n,{capture:!0,passive:c}):e.addEventListener(t,n,!0):c!==void 0?e.addEventListener(t,n,{passive:c}):e.addEventListener(t,n,!1)}function nn(e,t,n,u,c){var s=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var h=u.tag;if(h===3||h===4){var p=u.stateNode.containerInfo;if(p===c)break;if(h===4)for(h=u.return;h!==null;){var b=h.tag;if((b===3||b===4)&&h.stateNode.containerInfo===c)return;h=h.return}for(;p!==null;){if(h=ea(p),h===null)return;if(b=h.tag,b===5||b===6||b===26||b===27){u=s=h;continue e}p=p.parentNode}}u=u.return}tc(function(){var S=s,N=ri(n),Q=[];e:{var B=Jb.get(e);if(B!==void 0){var $=Me,Se=e;switch(e){case"keypress":if(vu(n)===0)break e;case"keydown":case"keyup":$=x2;break;case"focusin":Se="focus",$=ct;break;case"focusout":Se="blur",$=ct;break;case"beforeblur":case"afterblur":$=ct;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=Ie;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=He;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=C2;break;case jb:case Qb:case Zb:$=uy;break;case $b:$=M2;break;case"scroll":case"scrollend":$=O;break;case"wheel":$=D2;break;case"copy":case"cut":case"paste":$=p2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=kb;break;case"toggle":case"beforetoggle":$=O2}var Le=(t&4)!==0,Ht=!Le&&(e==="scroll"||e==="scrollend"),ot=Le?B!==null?B+"Capture":null:B;Le=[];for(var _=S,C;_!==null;){var R=_;if(C=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||C===null||ot===null||(R=na(_,ot),R!=null&&Le.push(an(_,R,C))),Ht)break;_=_.return}0<Le.length&&(B=new $(B,Se,null,n,N),Q.push({event:B,listeners:Le}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",B&&n!==r&&(Se=n.relatedTarget||n.fromElement)&&(ea(Se)||Se[Bo]))break e;if(($||B)&&(B=N.window===N?N:(B=N.ownerDocument)?B.defaultView||B.parentWindow:window,$?(Se=n.relatedTarget||n.toElement,$=S,Se=Se?ea(Se):null,Se!==null&&(Ht=de(Se),Le=Se.tag,Se!==Ht||Le!==5&&Le!==27&&Le!==6)&&(Se=null)):($=null,Se=S),$!==Se)){if(Le=Ie,R="onMouseLeave",ot="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(Le=kb,R="onPointerLeave",ot="onPointerEnter",_="pointer"),Ht=$==null?B:Ma($),C=Se==null?B:Ma(Se),B=new Le(R,_+"leave",$,n,N),B.target=Ht,B.relatedTarget=C,R=null,ea(N)===S&&(Le=new Le(ot,_+"enter",Se,n,N),Le.target=C,Le.relatedTarget=Ht,R=Le),Ht=R,$&&Se)t:{for(Le=$,ot=Se,_=0,C=Le;C;C=Ml(C))_++;for(C=0,R=ot;R;R=Ml(R))C++;for(;0<_-C;)Le=Ml(Le),_--;for(;0<C-_;)ot=Ml(ot),C--;for(;_--;){if(Le===ot||ot!==null&&Le===ot.alternate)break t;Le=Ml(Le),ot=Ml(ot)}Le=null}else Le=null;$!==null&&w0(Q,B,$,Le,!1),Se!==null&&Ht!==null&&w0(Q,Ht,Se,Le,!0)}}e:{if(B=S?Ma(S):window,$=B.nodeName&&B.nodeName.toLowerCase(),$==="select"||$==="input"&&B.type==="file")var J=rs;else if(Kr(B))if(Gb)J=Nd;else{J=fs;var se=Bd}else $=B.nodeName,!$||$.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?S&&si(S.elementType)&&(J=rs):J=kd;if(J&&(J=J(e,S))){ic(Q,J,n,N);break e}se&&se(e,B,S),e==="focusout"&&S&&B.type==="number"&&S.memoizedProps.value!=null&&Ko(B,"number",B.value)}switch(se=S?Ma(S):window,e){case"focusin":(Kr(se)||se.contentEditable==="true")&&(fm=se,cy=S,Cp=null);break;case"focusout":Cp=cy=fm=null;break;case"mousedown":sy=!0;break;case"contextmenu":case"mouseup":case"dragend":sy=!1,tf(Q,n,N);break;case"selectionchange":if(B2)break;case"keydown":case"keyup":tf(Q,n,N)}var Qe;if(oy)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else rm?El(e,n)&&(Te="onCompositionEnd"):e==="keydown"&&n.keyCode===Nb&&(Te="onCompositionStart");Te&&(Lb&&n.locale!=="ko"&&(rm||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&rm&&(Qe=aa()):(P=N,k="value"in P?P.value:P.textContent,rm=!0)),se=Gf(S,Te),0<se.length&&(Te=new Bb(Te,e,null,n,N),Q.push({event:Te,listeners:se}),Qe?Te.data=Qe:(Qe=wa(n),Qe!==null&&(Te.data=Qe)))),(Qe=H2?ac(e,n):lo(e,n))&&(Te=Gf(S,"onBeforeInput"),0<Te.length&&(se=new g2("onBeforeInput","beforeinput",null,n,N),Q.push({event:se,listeners:Te}),se.data=Qe)),kt(Q,e,S,n,N)}ki(Q,t)})}function an(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gf(e,t){for(var n=t+"Capture",u=[];e!==null;){var c=e,s=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||s===null||(c=na(e,n),c!=null&&u.unshift(an(e,c,s)),c=na(e,t),c!=null&&u.push(an(e,c,s))),e.tag===3)return u;e=e.return}return[]}function Ml(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function w0(e,t,n,u,c){for(var s=t._reactName,h=[];n!==null&&n!==u;){var p=n,b=p.alternate,S=p.stateNode;if(p=p.tag,b!==null&&b===u)break;p!==5&&p!==26&&p!==27||S===null||(b=S,c?(S=na(n,s),S!=null&&h.unshift(an(n,S,b))):c||(S=na(n,s),S!=null&&h.push(an(n,S,b)))),n=n.return}h.length!==0&&e.push({event:t,listeners:h})}function Ni(e,t){mu(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Tp||(Tp=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Sa,possibleRegistrationNames:qc};si(e)||typeof t.is=="string"||os(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 Nt(e,t,n,u){t!==n&&(n=wl(n),wl(t)!==n&&(u[e]=t))}function Co(e,t,n){t.forEach(function(u){n[k0(u)]=u==="style"?Uc(e):e.getAttribute(u)})}function va(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function kh(e,t){return e=e.namespaceURI===rd||e.namespaceURI===xr?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function wl(e){return q(e)&&(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.",ge(e)),pe(e)),(typeof e=="string"?e:""+e).replace(uT,`
978
+ `).replace(oT,"")}function B0(e,t){return t=wl(t),wl(e)===t}function Ru(){}function dt(e,t,n,u,c,s){switch(n){case"children":typeof u=="string"?(eo(u,t,!1),t==="body"||t==="textarea"&&u===""||ci(e,u)):(typeof u=="number"||typeof u=="bigint")&&(eo(""+u,t,!1),t!=="body"&&ci(e,""+u));break;case"className":$u(e,"class",u);break;case"tabIndex":$u(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":$u(e,n,u);break;case"style":to(e,u,s);break;case"data":if(t!=="object"){$u(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||n!=="href")){console.error(n==="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.',n,n),e.removeAttribute(n);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ie(u,n),u=pu(""+u),e.setAttribute(n,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(c.encType==null&&c.method==null||Cg||(Cg=!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.")),c.target==null||_g||(_g=!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."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||c.type==="submit"||c.type==="image"||Eg?t!=="button"||c.type==null||c.type==="submit"||Eg?typeof u=="function"&&(c.name==null||sS||(sS=!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.')),c.formEncType==null&&c.formMethod==null||Cg||(Cg=!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.")),c.formTarget==null||_g||(_g=!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."))):(Eg=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Eg=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(n,"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 s=="function"&&(n==="formAction"?(t!=="input"&&dt(e,t,"name",c.name,c,null),dt(e,t,"formEncType",c.formEncType,c,null),dt(e,t,"formMethod",c.formMethod,c,null),dt(e,t,"formTarget",c.formTarget,c,null)):(dt(e,t,"encType",c.encType,c,null),dt(e,t,"method",c.method,c,null),dt(e,t,"target",c.target,c,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ie(u,n),u=pu(""+u),e.setAttribute(n,u);break;case"onClick":u!=null&&(typeof u!="function"&&va(n,u),e.onclick=Ru);break;case"onScroll":u!=null&&(typeof u!="function"&&va(n,u),Pe("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&va(n,u),Pe("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ie(u,n),n=pu(""+u),e.setAttributeNS(Md,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ie(u,n),e.setAttribute(n,""+u)):e.removeAttribute(n);break;case"inert":u!==""||Ag[n]||(Ag[n]=!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.",n));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":u===!0?e.setAttribute(n,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ie(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ie(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(n):(ie(u,n),e.setAttribute(n,u));break;case"popover":Pe("beforetoggle",e),Pe("toggle",e),Zu(e,"popover",u);break;case"xlinkActuate":dn(e,Md,"xlink:actuate",u);break;case"xlinkArcrole":dn(e,Md,"xlink:arcrole",u);break;case"xlinkRole":dn(e,Md,"xlink:role",u);break;case"xlinkShow":dn(e,Md,"xlink:show",u);break;case"xlinkTitle":dn(e,Md,"xlink:title",u);break;case"xlinkType":dn(e,Md,"xlink:type",u);break;case"xmlBase":dn(e,Iy,"xml:base",u);break;case"xmlLang":dn(e,Iy,"xml:lang",u);break;case"xmlSpace":dn(e,Iy,"xml:space",u);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Zu(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":rS||u==null||typeof u!="object"||(rS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=ec(n),Zu(e,n,u)):Sa.hasOwnProperty(n)&&u!=null&&typeof u!="function"&&va(n,u)}}function Oc(e,t,n,u,c,s){switch(n){case"style":to(e,u,s);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof u=="string"?ci(e,u):(typeof u=="number"||typeof u=="bigint")&&ci(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&va(n,u),Pe("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&va(n,u),Pe("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&va(n,u),e.onclick=Ru);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Sa.hasOwnProperty(n))u!=null&&typeof u!="function"&&va(n,u);else e:{if(n[0]==="o"&&n[1]==="n"&&(c=n.endsWith("Capture"),t=n.slice(2,c?n.length-7:void 0),s=e[Rn]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,c),typeof u=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,u,c);break e}n in e?e[n]=u:u===!0?e.setAttribute(n,""):Zu(e,n,u)}}}function It(e,t,n){switch(Ni(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",e),Pe("load",e);var u=!1,c=!1,s;for(s in n)if(n.hasOwnProperty(s)){var h=n[s];if(h!=null)switch(s){case"src":u=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,s,h,n,null)}}c&&dt(e,t,"srcSet",n.srcSet,n,null),u&&dt(e,t,"src",n.src,n,null);return;case"input":Da("input",n),Pe("invalid",e);var p=s=h=c=null,b=null,S=null;for(u in n)if(n.hasOwnProperty(u)){var N=n[u];if(N!=null)switch(u){case"name":c=N;break;case"type":h=N;break;case"checked":b=N;break;case"defaultChecked":S=N;break;case"value":s=N;break;case"defaultValue":p=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,u,N,n,null)}}za(e,n),jr(e,s,p,b,S,h,c,!1),ta(e);return;case"select":Da("select",n),Pe("invalid",e),u=h=s=null;for(c in n)if(n.hasOwnProperty(c)&&(p=n[c],p!=null))switch(c){case"value":s=p;break;case"defaultValue":h=p;break;case"multiple":u=p;default:dt(e,t,c,p,n,null)}Iu(e,n),t=s,n=h,e.multiple=!!u,t!=null?la(e,!!u,t,!1):n!=null&&la(e,!!u,n,!0);return;case"textarea":Da("textarea",n),Pe("invalid",e),s=c=u=null;for(h in n)if(n.hasOwnProperty(h)&&(p=n[h],p!=null))switch(h){case"value":u=p;break;case"defaultValue":c=p;break;case"children":s=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:dt(e,t,h,p,n,null)}Bn(e,n),ls(e,u,c,s),ta(e);return;case"option":ts(e,n);for(b in n)if(n.hasOwnProperty(b)&&(u=n[b],u!=null))switch(b){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:dt(e,t,b,u,n,null)}return;case"dialog":Pe("beforetoggle",e),Pe("toggle",e),Pe("cancel",e),Pe("close",e);break;case"iframe":case"object":Pe("load",e);break;case"video":case"audio":for(u=0;u<Kp.length;u++)Pe(Kp[u],e);break;case"image":Pe("error",e),Pe("load",e);break;case"details":Pe("toggle",e);break;case"embed":case"source":case"link":Pe("error",e),Pe("load",e);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 n)if(n.hasOwnProperty(S)&&(u=n[S],u!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,S,u,n,null)}return;default:if(si(t)){for(N in n)n.hasOwnProperty(N)&&(u=n[N],u!==void 0&&Oc(e,t,N,u,n,void 0));return}}for(p in n)n.hasOwnProperty(p)&&(u=n[p],u!=null&&dt(e,t,p,u,n,null))}function Ov(e,t,n,u){switch(Ni(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,s=null,h=null,p=null,b=null,S=null,N=null;for($ in n){var Q=n[$];if(n.hasOwnProperty($)&&Q!=null)switch($){case"checked":break;case"value":break;case"defaultValue":b=Q;default:u.hasOwnProperty($)||dt(e,t,$,null,u,Q)}}for(var B in u){var $=u[B];if(Q=n[B],u.hasOwnProperty(B)&&($!=null||Q!=null))switch(B){case"type":s=$;break;case"name":c=$;break;case"checked":S=$;break;case"defaultChecked":N=$;break;case"value":h=$;break;case"defaultValue":p=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==Q&&dt(e,t,B,$,u,Q)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||cS||(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"),cS=!0),!t||u||oS||(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"),oS=!0),Oa(e,h,p,b,S,N,s,c);return;case"select":$=h=p=B=null;for(s in n)if(b=n[s],n.hasOwnProperty(s)&&b!=null)switch(s){case"value":break;case"multiple":$=b;default:u.hasOwnProperty(s)||dt(e,t,s,null,u,b)}for(c in u)if(s=u[c],b=n[c],u.hasOwnProperty(c)&&(s!=null||b!=null))switch(c){case"value":B=s;break;case"defaultValue":p=s;break;case"multiple":h=s;default:s!==b&&dt(e,t,c,s,u,b)}u=p,t=h,n=$,B!=null?la(e,!!t,B,!1):!!n!=!!t&&(u!=null?la(e,!!t,u,!0):la(e,!!t,t?[]:"",!1));return;case"textarea":$=B=null;for(p in n)if(c=n[p],n.hasOwnProperty(p)&&c!=null&&!u.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:dt(e,t,p,null,u,c)}for(h in u)if(c=u[h],s=n[h],u.hasOwnProperty(h)&&(c!=null||s!=null))switch(h){case"value":B=c;break;case"defaultValue":$=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==s&&dt(e,t,h,c,u,s)}Wo(e,B,$);return;case"option":for(var Se in n)if(B=n[Se],n.hasOwnProperty(Se)&&B!=null&&!u.hasOwnProperty(Se))switch(Se){case"selected":e.selected=!1;break;default:dt(e,t,Se,null,u,B)}for(b in u)if(B=u[b],$=n[b],u.hasOwnProperty(b)&&B!==$&&(B!=null||$!=null))switch(b){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:dt(e,t,b,B,u,$)}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 Le in n)B=n[Le],n.hasOwnProperty(Le)&&B!=null&&!u.hasOwnProperty(Le)&&dt(e,t,Le,null,u,B);for(S in u)if(B=u[S],$=n[S],u.hasOwnProperty(S)&&B!==$&&(B!=null||$!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,S,B,u,$)}return;default:if(si(t)){for(var Ht in n)B=n[Ht],n.hasOwnProperty(Ht)&&B!==void 0&&!u.hasOwnProperty(Ht)&&Oc(e,t,Ht,void 0,u,B);for(N in u)B=u[N],$=n[N],!u.hasOwnProperty(N)||B===$||B===void 0&&$===void 0||Oc(e,t,N,B,u,$);return}}for(var ot in n)B=n[ot],n.hasOwnProperty(ot)&&B!=null&&!u.hasOwnProperty(ot)&&dt(e,t,ot,null,u,B);for(Q in u)B=u[Q],$=n[Q],!u.hasOwnProperty(Q)||B===$||B==null&&$==null||dt(e,t,Q,B,u,$)}function k0(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Uc(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var u=e[n];t[u]=e.getPropertyValue(u)}return t}function N0(e,t,n){if(t!=null&&typeof t!="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 u,c=u="",s;for(s in t)if(t.hasOwnProperty(s)){var h=t[s];h!=null&&typeof h!="boolean"&&h!==""&&(s.indexOf("--")===0?(ve(h,s),u+=c+s+":"+(""+h).trim()):typeof h!="number"||h===0||sd.has(s)?(ve(h,s),u+=c+s.replace(Nu,"-$1").toLowerCase().replace(Lu,"-ms-")+":"+(""+h).trim()):u+=c+s.replace(Nu,"-$1").toLowerCase().replace(Lu,"-ms-")+":"+h+"px",c=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=wl(u),wl(t)!==u&&(n.style=Uc(e)))}}function un(e,t,n,u,c,s){if(c.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ie(u,t),e===""+u)return}Nt(t,e,u,s)}function L0(e,t,n,u,c,s){if(c.delete(n),e=e.getAttribute(n),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}Nt(t,e,u,s)}function q0(e,t,n,u,c,s){if(c.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ie(u,n),e===""+u)return}Nt(t,e,u,s)}function Uv(e,t,n,u,c,s){if(c.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ie(u,t),e===""+u))return}Nt(t,e,u,s)}function yt(e,t,n,u,c,s){if(c.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ie(u,t),n=pu(""+u),e===n)return}Nt(t,e,u,s)}function Rt(e,t,n,u){for(var c={},s=new Set,h=e.attributes,p=0;p<h.length;p++)switch(h[p].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(h[p].name)}if(si(t)){for(var b in n)if(n.hasOwnProperty(b)){var S=n[b];if(S!=null){if(Sa.hasOwnProperty(b))typeof S!="function"&&va(b,S);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof S!="string"&&typeof S!="number"||Nt("children",e.textContent,S,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,S=S?S.__html:void 0,S!=null&&(S=kh(e,S),Nt(b,h,S,c));continue;case"style":s.delete(b),N0(e,S,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(b.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",b);continue;case"className":s.delete("class"),h=Yr(e,"class",S),Nt("className",h,S,c);continue;default:u.context===Ic&&t!=="svg"&&t!=="math"?s.delete(b.toLowerCase()):s.delete(b),h=Yr(e,b,S),Nt(b,h,S,c)}}}}else for(S in n)if(n.hasOwnProperty(S)&&(b=n[S],b!=null)){if(Sa.hasOwnProperty(S))typeof b!="function"&&va(S,b);else if(n.suppressHydrationWarning!==!0)switch(S){case"children":typeof b!="string"&&typeof b!="number"||Nt("children",e.textContent,b,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=kh(e,b),h!==b&&(c[S]={__html:h}));continue;case"className":un(e,S,"class",b,s,c);continue;case"tabIndex":un(e,S,"tabindex",b,s,c);continue;case"style":s.delete(S),N0(e,b,c);continue;case"multiple":s.delete(S),Nt(S,e.multiple,b,c);continue;case"muted":s.delete(S),Nt(S,e.muted,b,c);continue;case"autoFocus":s.delete("autofocus"),Nt(S,e.autofocus,b,c);continue;case"data":if(t!=="object"){s.delete(S),h=e.getAttribute("data"),Nt(S,h,b,c);continue}case"src":case"href":if(!(b!==""||t==="a"&&S==="href"||t==="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}yt(e,S,S,b,s,c);continue;case"action":case"formAction":if(h=e.getAttribute(S),typeof b=="function"){s.delete(S.toLowerCase()),S==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(h===cT){s.delete(S.toLowerCase()),Nt(S,"function",b,c);continue}yt(e,S,S.toLowerCase(),b,s,c);continue;case"xlinkHref":yt(e,S,"xlink:href",b,s,c);continue;case"contentEditable":q0(e,S,"contenteditable",b,s,c);continue;case"spellCheck":q0(e,S,"spellcheck",b,s,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":q0(e,S,S,b,s,c);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":L0(e,S,S.toLowerCase(),b,s,c);continue;case"capture":case"download":e:{p=e;var N=h=S,Q=c;if(s.delete(N),p=p.getAttribute(N),p===null)switch(typeof b){case"undefined":case"function":case"symbol":break e;default:if(b===!1)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":break;case"boolean":if(b===!0&&p==="")break e;break;default:if(ie(b,h),p===""+b)break e}Nt(h,p,b,Q)}continue;case"cols":case"rows":case"size":case"span":e:{if(p=e,N=h=S,Q=c,s.delete(N),p=p.getAttribute(N),p===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(b)||1>b)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(b)||1>b)&&(ie(b,h),p===""+b))break e}Nt(h,p,b,Q)}continue;case"rowSpan":Uv(e,S,"rowspan",b,s,c);continue;case"start":Uv(e,S,S,b,s,c);continue;case"xHeight":un(e,S,"x-height",b,s,c);continue;case"xlinkActuate":un(e,S,"xlink:actuate",b,s,c);continue;case"xlinkArcrole":un(e,S,"xlink:arcrole",b,s,c);continue;case"xlinkRole":un(e,S,"xlink:role",b,s,c);continue;case"xlinkShow":un(e,S,"xlink:show",b,s,c);continue;case"xlinkTitle":un(e,S,"xlink:title",b,s,c);continue;case"xlinkType":un(e,S,"xlink:type",b,s,c);continue;case"xmlBase":un(e,S,"xml:base",b,s,c);continue;case"xmlLang":un(e,S,"xml:lang",b,s,c);continue;case"xmlSpace":un(e,S,"xml:space",b,s,c);continue;case"inert":b!==""||Ag[S]||(Ag[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)),L0(e,S,S,b,s,c);continue;default:if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){p=ec(S),h=!1,u.context===Ic&&t!=="svg"&&t!=="math"?s.delete(p.toLowerCase()):(N=S.toLowerCase(),N=Gc.hasOwnProperty(N)&&Gc[N]||null,N!==null&&N!==S&&(h=!0,s.delete(N)),s.delete(p));e:if(N=e,Q=p,p=b,li(Q))if(N.hasAttribute(Q))N=N.getAttribute(Q),ie(p,Q),p=N===""+p?p:N;else{switch(typeof p){case"function":case"symbol":break e;case"boolean":if(N=Q.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-")break e}p=p===void 0?void 0:null}else p=void 0;h||Nt(S,p,b,c)}}}return 0<s.size&&n.suppressHydrationWarning!==!0&&Co(e,s,c),Object.keys(c).length===0?null:c}function tt(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function lt(e){return e.nodeType===9?e:e.ownerDocument}function bt(e){switch(e){case xr:return Nm;case rd:return Dg;default:return Ic}}function _n(e,t){if(e===Ic)switch(t){case"svg":return Nm;case"math":return Dg;default:return Ic}return e===Nm&&t==="foreignObject"?Ic:e}function Li(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function tr(){var e=window.event;return e&&e.type==="popstate"?e===tb?!1:(tb=e,!0):(tb=null,!1)}function Y0(e){setTimeout(function(){throw e})}function Du(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Ft(e,t,n,u){Ov(e,t,n,u),e[Rn]=u}function zu(e){ci(e,"")}function Hc(e,t,n){e.nodeValue=n}function qi(e){return e==="head"}function ga(e,t){e.removeChild(t)}function lr(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function nr(e,t){var n=t,u=0,c=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===Rg){if(0<u&&8>u){n=u;var h=e.ownerDocument;if(n&rT&&or(h.documentElement),n&fT&&or(h.body),n&dT)for(n=h.head,or(n),h=n.firstChild;h;){var p=h.nextSibling,b=h.nodeName;h[yr]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&h.rel.toLowerCase()==="stylesheet"||n.removeChild(h),h=p}}if(c===0){e.removeChild(s),Nc(t);return}c--}else n===Mg||n===Wc||n===Wp?c++:u=n.charCodeAt(0)-48;else u=0;n=s}while(n);Nc(t)}function Cn(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function V0(e){e.nodeValue=""}function G0(e,t){t=t[hT],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Nh(e,t){e.nodeValue=t}function ar(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ar(n),su(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Ao(e,t,n,u){for(;e.nodeType===1;){var c=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[yr])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ie(c.name,"name");var s=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=kl(e.nextSibling),e===null)break}return null}function Bl(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=kl(e.nextSibling),e===null))return null;return e}function Yi(e){return e.data===Wp||e.data===Wc&&e.ownerDocument.readyState===dS}function ir(e,t){var n=e.ownerDocument;if(e.data!==Wc||n.readyState===dS)t();else{var u=function(){t(),n.removeEventListener("DOMContentLoaded",u)};n.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function kl(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Mg||t===Wp||t===Wc||t===Fy||t===fS)break;if(t===Rg)return null}}return e}function Lh(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},u=e.attributes,c=0;c<u.length;c++){var s=u[c];n[k0(s.name)]=s.name.toLowerCase()==="style"?Uc(e):s.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function qh(e,t,n){return n===null||n[sT]!==!0?(e.nodeValue===t?e=null:(t=wl(t),e=wl(e.nodeValue)===t?null:e.nodeValue),e):null}function X0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Rg){if(t===0)return kl(e.nextSibling);t--}else n!==Mg&&n!==Wp&&n!==Wc||t++}e=e.nextSibling}return null}function ur(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Mg||n===Wp||n===Wc){if(t===0)return e;t--}else n===Rg&&t++}e=e.previousSibling}return null}function j0(e){Nc(e)}function Qn(e){Nc(e)}function Q0(e,t,n,u,c){switch(c&&Po(e,u.ancestorInfo),t=lt(n),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Zn(e,t,n,u){if(!n[Bo]&&Gl(n)){var c=n.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.",c,c,c)}switch(e){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(c=n.attributes;c.length;)n.removeAttributeNode(c[0]);It(n,e,t),n[Wl]=u,n[Rn]=t}function or(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);su(e)}function Xf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Hv(e,t,n){var u=Lm;if(u&&typeof t=="string"&&t){var c=Xl(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof n=="string"&&(c+='[crossorigin="'+n+'"]'),yS.has(c)||(yS.add(c),e={rel:e,crossOrigin:n,href:t},u.querySelector(c)===null&&(t=u.createElement("link"),It(t,"link",e),tl(t),u.head.appendChild(t)))}}function Ou(e,t,n,u){var c=(c=Gi.current)?Xf(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Mo(n.href),t=wn(c).hoistableStyles,u=t.get(n),u||(u={type:"style",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Mo(n.href);var s=wn(c).hoistableStyles,h=s.get(e);if(!h&&(c=c.ownerDocument||c,h={type:"stylesheet",instance:null,count:0,state:{loading:Dd,preload:null}},s.set(e,h),(s=c.querySelector(Vi(e)))&&!s._p&&(h.instance=s,h.state.loading=Ip|tu),!lu.has(e))){var p={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};lu.set(e,p),s||wv(c,e,p,h.state)}if(t&&u===null)throw n=`
1109
979
 
1110
- - `+Ns(t)+`
1111
- + `+Ns(l),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."+l);return h}if(t&&u!==null)throw l=`
980
+ - `+wc(t)+`
981
+ + `+wc(n),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."+n);return h}if(t&&u!==null)throw n=`
1112
982
 
1113
- - `+Ns(t)+`
1114
- + `+Ns(l),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."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Ls(l),t=kl(s).hoistableScripts,u=t.get(l),u||(u={type:"script",instance:null,count:0,state:null},t.set(l,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Ns(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):Bu.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):Bu.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):Bu.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function Do(e){return'href="'+Qn(e)+'"'}function Gi(e){return'link[rel="stylesheet"]['+e+"]"}function Wp(e){return Ke({},e,{"data-precedence":e.precedence,precedence:null})}function Gv(e,t,l,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=nv:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=nv}),t.addEventListener("error",function(){return u.loading|=zS}),Ft(t,"link",l),nn(t),e.head.appendChild(t))}function Ls(e){return'[src="'+Qn(e)+'"]'}function qs(e){return"script[async]"+e}function Qh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Qn(l.href)+'"]');if(u)return t.instance=u,nn(u),u;var s=Ke({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),nn(u),Ft(u,"style",s),Zh(u,l.precedence,e),t.instance=u;case"stylesheet":s=Do(l.href);var c=e.querySelector(Gi(s));if(c)return t.state.loading|=nu,t.instance=c,nn(c),c;u=Wp(l),(s=lu.get(s))&&Fp(u,s),c=(e.ownerDocument||e).createElement("link"),nn(c);var h=c;return h._p=new Promise(function(v,S){h.onload=v,h.onerror=S}),Ft(c,"link",u),t.state.loading|=nu,Zh(c,l.precedence,e),t.instance=c;case"script":return c=Ls(l.src),(s=e.querySelector(qs(c)))?(t.instance=s,nn(s),s):(u=l,(s=lu.get(c))&&(u=Ke({},l),Pp(u,s)),e=e.ownerDocument||e,s=e.createElement("script"),nn(s),Ft(s,"link",u),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&nu)===Hd&&(u=t.instance,t.state.loading|=nu,Zh(u,l.precedence,e));return t.instance}function Zh(e,t,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=u.length?u[u.length-1]:null,c=s,h=0;h<u.length;h++){var v=u[h];if(v.dataset.precedence===t)c=v;else if(c!==s)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Fp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Pp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function e0(e,t,l){if(Lg===null){var u=new Map,s=Lg=new Map;s.set(l,u)}else s=Lg,u=s.get(l),u||(u=new Map,s.set(l,u));if(u.has(e))return u;for(u.set(e,null),l=l.getElementsByTagName(e),s=0;s<l.length;s++){var c=l[s];if(!(c[Tr]||c[Fn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==_r){var h=c.getAttribute(t)||"";h=e+h;var v=u.get(h);v?v.push(c):u.set(h,[c])}}return u}function t0(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function fr(e,t,l){var u=!l.ancestorInfo.containerTagInScope;if(l.context===Gm||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&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 t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var s=t.onError,c=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),s&&l.push("`onError`"),c!=null&&l.push("`disabled`"),s=tt(l,"and"),s+=l.length===1?" prop":" props",c=l.length===1?"an "+s:"the "+s,l.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.',e,c,s)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.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"):(t.onError||t.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(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&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 e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.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":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Kf(e){return!(e.type==="stylesheet"&&(e.state.loading&OS)===Hd)}function jv(){}function Xv(e,t,l){if(lv===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=lv;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&nu)===Hd){if(t.instance===null){var s=Do(l.href),c=e.querySelector(Gi(s));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=If.bind(u),e.then(u,u)),t.state.loading|=nu,t.instance=c,nn(c);return}c=e.ownerDocument||e,l=Wp(l),(s=lu.get(s))&&Fp(l,s),c=c.createElement("link"),nn(c);var h=c;h._p=new Promise(function(v,S){h.onload=v,h.onerror=S}),Ft(c,"link",l),t.instance=c}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&OS)===Hd&&(u.count++,t=If.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function Qv(){if(lv===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=lv;return e.stylesheets&&e.count===0&&$h(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&$h(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function If(){if(this.count--,this.count===0){if(this.stylesheets)$h(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function $h(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,qg=new Map,t.forEach(Zv,e),qg=null,If.call(e))}function Zv(e,t){if(!(t.state.loading&nu)){var l=qg.get(e);if(l)var u=l.get(db);else{l=new Map,qg.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var h=s[c];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(l.set(h.dataset.precedence,h),u=h)}u&&l.set(db,u)}s=t.instance,h=s.getAttribute("data-precedence"),c=l.get(h)||u,c===u&&l.set(db,s),l.set(h,s),this.count++,u=If.bind(this),s.addEventListener("load",u),s.addEventListener("error",u),c?c.parentNode.insertBefore(s,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=nu}}function Jh(e,t,l,u,s,c,h,v){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=wd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=su(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=su(0),this.hiddenUpdates=su(null),this.identifierPrefix=u,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function n0(e,t,l,u,s,c,h,v,S,x,N,Q){return e=new Jh(e,t,l,h,v,S,x,Q),t=pT,c===!0&&(t|=Ol|Vu),tn&&(t|=cl),c=V(3,null,null,t),e.current=c,c.stateNode=e,t=ho(),bi(t),e.pooledCache=t,bi(t),c.memoizedState={element:u,isDehydrated:l,cache:t},Hn(c),e}function l0(e){return e?(e=Ar,e):Ar}function St(e,t,l,u,s,c){if(qn&&typeof qn.onScheduleFiberRoot=="function")try{qn.onScheduleFiberRoot(ko,u,l)}catch(h){Rl||(Rl=!0,console.error("React instrumentation encountered an error: %s",h))}he!==null&&typeof he.markRenderScheduled=="function"&&he.markRenderScheduled(t),s=l0(s),u.context===null?u.context=s:u.pendingContext=s,zl&&Kl!==null&&!BS&&(BS=!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.
983
+ - `+wc(t)+`
984
+ + `+wc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Bc(n),t=wn(c).hoistableScripts,u=t.get(n),u||(u={type:"script",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function wc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):wu.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):wu.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):wu.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Mo(e){return'href="'+Xl(e)+'"'}function Vi(e){return'link[rel="stylesheet"]['+e+"]"}function Z0(e){return Ke({},e,{"data-precedence":e.precedence,precedence:null})}function wv(e,t,n,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=Ip:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=Ip}),t.addEventListener("error",function(){return u.loading|=vS}),It(t,"link",n),tl(t),e.head.appendChild(t))}function Bc(e){return'[src="'+Xl(e)+'"]'}function kc(e){return"script[async]"+e}function Yh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Xl(n.href)+'"]');if(u)return t.instance=u,tl(u),u;var c=Ke({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),tl(u),It(u,"style",c),Vh(u,n.precedence,e),t.instance=u;case"stylesheet":c=Mo(n.href);var s=e.querySelector(Vi(c));if(s)return t.state.loading|=tu,t.instance=s,tl(s),s;u=Z0(n),(c=lu.get(c))&&$0(u,c),s=(e.ownerDocument||e).createElement("link"),tl(s);var h=s;return h._p=new Promise(function(p,b){h.onload=p,h.onerror=b}),It(s,"link",u),t.state.loading|=tu,Vh(s,n.precedence,e),t.instance=s;case"script":return s=Bc(n.src),(c=e.querySelector(kc(s)))?(t.instance=c,tl(c),c):(u=n,(c=lu.get(s))&&(u=Ke({},n),J0(u,c)),e=e.ownerDocument||e,c=e.createElement("script"),tl(c),It(c,"link",u),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&tu)===Dd&&(u=t.instance,t.state.loading|=tu,Vh(u,n.precedence,e));return t.instance}function Vh(e,t,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=u.length?u[u.length-1]:null,s=c,h=0;h<u.length;h++){var p=u[h];if(p.dataset.precedence===t)s=p;else if(s!==c)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function $0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function J0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function K0(e,t,n){if(zg===null){var u=new Map,c=zg=new Map;c.set(n,u)}else c=zg,u=c.get(n),u||(u=new Map,c.set(n,u));if(u.has(e))return u;for(u.set(e,null),n=n.getElementsByTagName(e),c=0;c<n.length;c++){var s=n[c];if(!(s[yr]||s[Wl]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==xr){var h=s.getAttribute(t)||"";h=e+h;var p=u.get(h);p?p.push(s):u.set(h,[s])}}return u}function W0(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function cr(e,t,n){var u=!n.ancestorInfo.containerTagInScope;if(n.context===Nm||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&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 t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var c=t.onError,s=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),c&&n.push("`onError`"),s!=null&&n.push("`disabled`"),c=tt(n,"and"),c+=n.length===1?" prop":" props",s=n.length===1?"an "+c:"the "+c,n.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.',e,s,c)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.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"):(t.onError||t.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(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&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 e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.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":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function jf(e){return!(e.type==="stylesheet"&&(e.state.loading&gS)===Dd)}function Bv(){}function kv(e,t,n){if(Fp===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=Fp;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&tu)===Dd){if(t.instance===null){var c=Mo(n.href),s=e.querySelector(Vi(c));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Qf.bind(u),e.then(u,u)),t.state.loading|=tu,t.instance=s,tl(s);return}s=e.ownerDocument||e,n=Z0(n),(c=lu.get(c))&&$0(n,c),s=s.createElement("link"),tl(s);var h=s;h._p=new Promise(function(p,b){h.onload=p,h.onerror=b}),It(s,"link",n),t.instance=s}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&gS)===Dd&&(u.count++,t=Qf.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function Nv(){if(Fp===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Fp;return e.stylesheets&&e.count===0&&Gh(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Gh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Qf(){if(this.count--,this.count===0){if(this.stylesheets)Gh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Gh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Og=new Map,t.forEach(Lv,e),Og=null,Qf.call(e))}function Lv(e,t){if(!(t.state.loading&tu)){var n=Og.get(e);if(n)var u=n.get(nb);else{n=new Map,Og.set(e,n);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<c.length;s++){var h=c[s];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),u=h)}u&&n.set(nb,u)}c=t.instance,h=c.getAttribute("data-precedence"),s=n.get(h)||u,s===u&&n.set(nb,c),n.set(h,c),this.count++,u=Qf.bind(this),c.addEventListener("load",u),c.addEventListener("error",u),s?s.parentNode.insertBefore(c,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=tu}}function Xh(e,t,n,u,c,s,h,p){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Rd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=uu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.hiddenUpdates=uu(null),this.identifierPrefix=u,this.onUncaughtError=c,this.onCaughtError=s,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function I0(e,t,n,u,c,s,h,p,b,S,N,Q){return e=new Xh(e,t,n,h,p,b,S,Q),t=q2,s===!0&&(t|=zn|qu),el&&(t|=cn),s=V(3,null,null,t),e.current=s,s.stateNode=e,t=ro(),yi(t),e.pooledCache=t,yi(t),s.memoizedState={element:u,isDehydrated:n,cache:t},Ul(s),e}function F0(e){return e?(e=Er,e):Er}function St(e,t,n,u,c,s){if(Nl&&typeof Nl.onScheduleFiberRoot=="function")try{Nl.onScheduleFiberRoot(Ho,u,n)}catch(h){Mn||(Mn=!0,console.error("React instrumentation encountered an error: %s",h))}he!==null&&typeof he.markRenderScheduled=="function"&&he.markRenderScheduled(t),c=F0(c),u.context===null?u.context=c:u.pendingContext=c,Dn&&Jn!==null&&!xS&&(xS=!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.
1115
985
 
1116
- Check the render method of %s.`,me(Kl)||"Unknown")),u=Gl(t),u.payload={element:l},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),u.callback=c),l=De(e,u,t),l!==null&&(It(l,e,t),mo(l,e,t))}function Kh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function a0(e,t){Kh(e,t),(e=e.alternate)&&Kh(e,t)}function i0(e){if(e.tag===13){var t=wn(e,67108864);t!==null&&It(t,e,67108864),a0(e,67108864)}}function iy(){return Kl}function uy(){for(var e=new Map,t=1,l=0;31>l;l++){var u=Jo(t);e.set(t,u),t*=2}return e}function oy(e,t,l,u){var s=G.T;G.T=null;var c=Be.p;try{Be.p=Yn,zo(e,t,l,u)}finally{Be.p=c,G.T=s}}function Ih(e,t,l,u){var s=G.T;G.T=null;var c=Be.p;try{Be.p=Wa,zo(e,t,l,u)}finally{Be.p=c,G.T=s}}function zo(e,t,l,u){if(Vg){var s=Wf(u);if(s===null)il(e,t,u,Gg,l),Oo(e,u);else if(Ff(s,e,t,l,u))u.stopPropagation();else if(Oo(e,u),t&4&&-1<$T.indexOf(e)){for(;s!==null;){var c=Xn(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var h=Hl(c.pendingLanes);if(h!==0){var v=c;for(v.pendingLanes|=2,v.entangledLanes|=2;h;){var S=1<<31-Wn(h);v.entanglements[1]|=S,h&=~S}va(c),(Tt&(Pl|Qu))===Fa&&(_g=Xi()+mS,ws(0))}}break;case 13:v=wn(c,2),v!==null&&It(v,c,2),Os(),a0(c,2)}if(c=Wf(u),c===null&&il(e,t,u,Gg,l),c===s)break;s=c}s!==null&&u.stopPropagation()}else il(e,t,u,null,l)}}function Wf(e){return e=fi(e),dr(e)}function dr(e){if(Gg=null,e=ta(e),e!==null){var t=de(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=ke(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Gg=e,null}function Wh(e){switch(e){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 Yn;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 Wa;case"message":switch(Ho()){case nm:return Yn;case od:return Wa;case yr:case dy:return Lu;case sd:return um;default:return Lu}default:return Lu}}function Oo(e,t){switch(e){case"focusin":case"focusout":Br=null;break;case"dragenter":case"dragleave":Nr=null;break;case"mouseover":case"mouseout":Lr=null;break;case"pointerover":case"pointerout":iv.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":uv.delete(t.pointerId)}}function Ml(e,t,l,u,s,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:l,eventSystemFlags:u,nativeEvent:c,targetContainers:[s]},t!==null&&(t=Xn(t),t!==null&&i0(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Ff(e,t,l,u,s){switch(t){case"focusin":return Br=Ml(Br,e,t,l,u,s),!0;case"dragenter":return Nr=Ml(Nr,e,t,l,u,s),!0;case"mouseover":return Lr=Ml(Lr,e,t,l,u,s),!0;case"pointerover":var c=s.pointerId;return iv.set(c,Ml(iv.get(c)||null,e,t,l,u,s)),!0;case"gotpointercapture":return c=s.pointerId,uv.set(c,Ml(uv.get(c)||null,e,t,l,u,s)),!0}return!1}function $v(e){var t=ta(e.target);if(t!==null){var l=de(t);if(l!==null){if(t=l.tag,t===13){if(t=ke(l),t!==null){e.blockedOn=t,Bd(e.priority,function(){if(l.tag===13){var u=Cl(l);u=Bt(u);var s=wn(l,u);s!==null&&It(s,l,u),a0(l,u)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Pf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Wf(e.nativeEvent);if(l===null){l=e.nativeEvent;var u=new l.constructor(l.type,l),s=u;r!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),r=s,l.target.dispatchEvent(u),r===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."),r=null}else return t=Xn(l),t!==null&&i0(t),e.blockedOn=l,!1;t.shift()}return!0}function u0(e,t,l){Pf(e)&&l.delete(t)}function Jv(){hb=!1,Br!==null&&Pf(Br)&&(Br=null),Nr!==null&&Pf(Nr)&&(Nr=null),Lr!==null&&Pf(Lr)&&(Lr=null),iv.forEach(u0),uv.forEach(u0)}function ed(e,t){e.blockedOn===t&&(e.blockedOn=null,hb||(hb=!0,en.unstable_scheduleCallback(en.unstable_NormalPriority,Jv)))}function Kv(e){jg!==e&&(jg=e,en.unstable_scheduleCallback(en.unstable_NormalPriority,function(){jg===e&&(jg=null);for(var t=0;t<e.length;t+=3){var l=e[t],u=e[t+1],s=e[t+2];if(typeof u!="function"){if(dr(u||l)===null)continue;break}var c=Xn(l);c!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:s,method:l.method,action:u},Object.freeze(l),Ss(c,l,u,s))}}))}function Ys(e){function t(S){return ed(S,e)}Br!==null&&ed(Br,e),Nr!==null&&ed(Nr,e),Lr!==null&&ed(Lr,e),iv.forEach(t),uv.forEach(t);for(var l=0;l<qr.length;l++){var u=qr[l];u.blockedOn===e&&(u.blockedOn=null)}for(;0<qr.length&&(l=qr[0],l.blockedOn===null);)$v(l),l.blockedOn===null&&qr.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(u=0;u<l.length;u+=3){var s=l[u],c=l[u+1],h=s[Dl]||null;if(typeof c=="function")h||Kv(l);else if(h){var v=null;if(c&&c.hasAttribute("formAction")){if(s=c,h=c[Dl]||null)v=h.formAction;else if(dr(s)!==null)continue}else v=h.action;typeof v=="function"?l[u+1]=v:(l.splice(u,3),u-=3),Kv(l)}}}function Fh(e){this._internalRoot=e}function td(e){this._internalRoot=e}function Iv(e){e[No]&&(e._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 en=Qb(),nd=pt,sy=Xg,Ke=Object.assign,ld=Symbol.for("react.element"),Uo=Symbol.for("react.transitional.element"),Vs=Symbol.for("react.portal"),Xe=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),mr=Symbol.for("react.profiler"),o0=Symbol.for("react.provider"),Ph=Symbol.for("react.consumer"),ba=Symbol.for("react.context"),Hu=Symbol.for("react.forward_ref"),pr=Symbol.for("react.suspense"),wo=Symbol.for("react.suspense_list"),ad=Symbol.for("react.memo"),Jl=Symbol.for("react.lazy"),s0=Symbol.for("react.activity"),Wv=Symbol.for("react.memo_cache_sentinel"),c0=Symbol.iterator,em=Symbol.for("react.client.reference"),Ve=Array.isArray,G=nd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Be=sy.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cy=Object.freeze({pending:!1,data:null,method:null,action:null}),id=[],ud=[],Sa=-1,ku=_e(null),vr=_e(null),ji=_e(null),gr=_e(null),Bu=Object.prototype.hasOwnProperty,tm=en.unstable_scheduleCallback,ry=en.unstable_cancelCallback,Fv=en.unstable_shouldYield,fy=en.unstable_requestPaint,Xi=en.unstable_now,Ho=en.unstable_getCurrentPriorityLevel,nm=en.unstable_ImmediatePriority,od=en.unstable_UserBlockingPriority,yr=en.unstable_NormalPriority,dy=en.unstable_LowPriority,sd=en.unstable_IdlePriority,hy=en.log,Ia=en.unstable_setDisableYieldValue,ko=null,qn=null,he=null,Rl=!1,tn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Wn=Math.clz32?Math.clz32:uu,lm=Math.log,Nu=Math.LN2,am=256,im=4194304,Yn=2,Wa=8,Lu=32,um=268435456,Bo=Math.random().toString(36).slice(2),Fn="__reactFiber$"+Bo,Dl="__reactProps$"+Bo,No="__reactContainer$"+Bo,r0="__reactEvents$"+Bo,Pv="__reactListeners$"+Bo,br="__reactHandles$"+Bo,Sr="__reactResources$"+Bo,Tr="__reactMarker$"+Bo,eg=new Set,Ta={},Gs={},tg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},om=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]*$"),sm={},cm={},Lo=0,f0,d0,ng,h0,xr,lg,ag;Ko.__reactDisabledLog=!0;var m0,cd,Er=!1,rd=new(typeof WeakMap=="function"?WeakMap:Map),Kl=null,zl=!1,my=/[\n"\\]/g,p0=!1,v0=!1,g0=!1,y0=!1,rm=!1,b0=!1,fd=["value","defaultValue"],ig=!1,ug=/["'&<>\n\t]|^\s|\s$/,S0="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(" "),fm="applet caption html table td th marquee object template foreignObject desc title".split(" "),dm=fm.concat(["button"]),T0="dd dt li option optgroup p rp rt".split(" "),x0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Cr={},Qi={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"]},qu=/([A-Z])/g,Yu=/^ms-/,dd=/^(?:webkit|moz|o)[A-Z]/,hd=/^-ms-/,qo=/-(.)/g,og=/;\s*$/,js={},Xs={},sg=!1,E0=!1,md=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(" ")),pd="http://www.w3.org/1998/Math/MathML",_r="http://www.w3.org/2000/svg",hm=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"]]),Qs={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"},C0={"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},Zi={},_0=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]*$"),mm=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]*$"),A0=!1,sl={},vd=/^on./,n=/^on[^A-Z]/,a=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]*$"),i=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]*$"),o=/^[\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,r=null,d=null,g=null,y=!1,E=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),H=!1;if(E)try{var I={};Object.defineProperty(I,"passive",{get:function(){H=!0}}),window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch{H=!1}var P=null,B=null,L=null,Ae={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Me=sn(Ae),ht=Ke({},Ae,{view:0,detail:0}),O=sn(ht),z,U,F,be=Ke({},ht,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:us,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==F&&(F&&e.type==="mousemove"?(z=e.screenX-F.screenX,U=e.screenY-F.screenY):U=z=0,F=e),z)},movementY:function(e){return"movementY"in e?e.movementY:U}}),We=sn(be),Ce=Ke({},be,{dataTransfer:0}),Ue=sn(Ce),zn=Ke({},ht,{relatedTarget:0}),st=sn(zn),Yo=Ke({},Ae,{animationName:0,elapsedTime:0,pseudoElement:0}),py=sn(Yo),X2=Ke({},Ae,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Q2=sn(X2),Z2=Ke({},Ae,{data:0}),Kb=sn(Z2),$2=Kb,J2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K2={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"},I2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},W2=Ke({},ht,{key:function(e){if(e.key){var t=J2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?K2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:us,charCode:function(e){return e.type==="keypress"?yu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),F2=sn(W2),P2=Ke({},be,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ib=sn(P2),eT=Ke({},ht,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:us}),tT=sn(eT),nT=Ke({},Ae,{propertyName:0,elapsedTime:0,pseudoElement:0}),lT=sn(nT),aT=Ke({},be,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),iT=sn(aT),uT=Ke({},Ae,{newState:0,oldState:0}),oT=sn(uT),sT=[9,13,27,32],Wb=229,vy=E&&"CompositionEvent"in window,M0=null;E&&"documentMode"in document&&(M0=document.documentMode);var cT=E&&"TextEvent"in window&&!M0,Fb=E&&(!vy||M0&&8<M0&&11>=M0),Pb=32,e1=String.fromCharCode(Pb),t1=!1,pm=!1,rT={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},R0=null,D0=null,n1=!1;E&&(n1=dc("input")&&(!document.documentMode||9<document.documentMode));var Il=typeof Object.is=="function"?Object.is:jd,fT=E&&"documentMode"in document&&11>=document.documentMode,vm=null,gy=null,z0=null,yy=!1,gm={animationend:ua("Animation","AnimationEnd"),animationiteration:ua("Animation","AnimationIteration"),animationstart:ua("Animation","AnimationStart"),transitionrun:ua("Transition","TransitionRun"),transitionstart:ua("Transition","TransitionStart"),transitioncancel:ua("Transition","TransitionCancel"),transitionend:ua("Transition","TransitionEnd")},by={},l1={};E&&(l1=document.createElement("div").style,"AnimationEvent"in window||(delete gm.animationend.animation,delete gm.animationiteration.animation,delete gm.animationstart.animation),"TransitionEvent"in window||delete gm.transitionend.transition);var a1=mi("animationend"),i1=mi("animationiteration"),u1=mi("animationstart"),dT=mi("transitionrun"),hT=mi("transitionstart"),mT=mi("transitioncancel"),o1=mi("transitionend"),s1=new Map,Sy="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(" ");Sy.push("scrollEnd");var Ty=new WeakMap,xy=1,gd=2,$i=[],ym=0,Ey=0,Ar={};Object.freeze(Ar);var Ji=null,bm=null,qt=0,pT=1,cl=2,Ol=8,Vu=16,c1=64,r1=!1;try{var f1=Object.preventExtensions({})}catch{r1=!0}var Sm=[],Tm=0,cg=null,rg=0,Ki=[],Ii=0,yd=null,Zs=1,$s="",Wl=null,fn=null,mt=!1,Js=!1,Wi=null,bd=null,Vo=!1,Cy=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."),d1=0;if(typeof performance=="object"&&typeof performance.now=="function")var vT=performance,h1=function(){return vT.now()};else{var gT=Date;h1=function(){return gT.now()}}var _y=_e(null),Ay=_e(null),m1={},fg=null,xm=null,Em=!1,yT=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},bT=en.unstable_scheduleCallback,ST=en.unstable_NormalPriority,Vn={$$typeof:ba,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Cm=en.unstable_now,p1=-0,dg=-0,xa=-1.1,Sd=-0,hg=!1,mg=!1,O0=null,My=0,Td=0,_m=null,v1=G.S;G.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&df(e,t),v1!==null&&v1(e,t)};var xd=_e(null),Gu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},U0=[],w0=[],H0=[],k0=[],B0=[],N0=[],Ed=new Set;Gu.recordUnsafeLifecycleWarnings=function(e,t){Ed.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&U0.push(e),e.mode&Ol&&typeof t.UNSAFE_componentWillMount=="function"&&w0.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&H0.push(e),e.mode&Ol&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&k0.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&B0.push(e),e.mode&Ol&&typeof t.UNSAFE_componentWillUpdate=="function"&&N0.push(e))},Gu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<U0.length&&(U0.forEach(function(v){e.add(me(v)||"Component"),Ed.add(v.type)}),U0=[]);var t=new Set;0<w0.length&&(w0.forEach(function(v){t.add(me(v)||"Component"),Ed.add(v.type)}),w0=[]);var l=new Set;0<H0.length&&(H0.forEach(function(v){l.add(me(v)||"Component"),Ed.add(v.type)}),H0=[]);var u=new Set;0<k0.length&&(k0.forEach(function(v){u.add(me(v)||"Component"),Ed.add(v.type)}),k0=[]);var s=new Set;0<B0.length&&(B0.forEach(function(v){s.add(me(v)||"Component"),Ed.add(v.type)}),B0=[]);var c=new Set;if(0<N0.length&&(N0.forEach(function(v){c.add(me(v)||"Component"),Ed.add(v.type)}),N0=[]),0<t.size){var h=le(t);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.
986
+ Check the render method of %s.`,me(Jn)||"Unknown")),u=Vn(t),u.payload={element:n},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),u.callback=s),n=ze(e,u,t),n!==null&&(Kt(n,e,t),fo(n,e,t))}function jh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function P0(e,t){jh(e,t),(e=e.alternate)&&jh(e,t)}function ep(e){if(e.tag===13){var t=Ol(e,67108864);t!==null&&Kt(t,e,67108864),P0(e,67108864)}}function Wg(){return Jn}function Ig(){for(var e=new Map,t=1,n=0;31>n;n++){var u=Qo(t);e.set(t,u),t*=2}return e}function Fg(e,t,n,u){var c=G.T;G.T=null;var s=Ne.p;try{Ne.p=Ll,Ro(e,t,n,u)}finally{Ne.p=s,G.T=c}}function Qh(e,t,n,u){var c=G.T;G.T=null;var s=Ne.p;try{Ne.p=Wa,Ro(e,t,n,u)}finally{Ne.p=s,G.T=c}}function Ro(e,t,n,u){if(Hg){var c=Zf(u);if(c===null)nn(e,t,u,wg,n),Do(e,u);else if($f(c,e,t,n,u))u.stopPropagation();else if(Do(e,u),t&4&&-1<gT.indexOf(e)){for(;c!==null;){var s=Gl(c);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var h=Hn(s.pendingLanes);if(h!==0){var p=s;for(p.pendingLanes|=2,p.entangledLanes|=2;h;){var b=1<<31-Kl(h);p.entanglements[1]|=b,h&=~b}pa(s),(Tt&(Fn|Xu))===Ia&&(gg=Xi()+eS,zc(0))}}break;case 13:p=Ol(s,2),p!==null&&Kt(p,s,2),Rc(),P0(s,2)}if(s=Zf(u),s===null&&nn(e,t,u,wg,n),s===c)break;c=s}c!==null&&u.stopPropagation()}else nn(e,t,u,null,n)}}function Zf(e){return e=ri(e),sr(e)}function sr(e){if(wg=null,e=ea(e),e!==null){var t=de(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=ke(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wg=e,null}function Zh(e){switch(e){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 Ll;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 Wa;case"message":switch(Uo()){case Ih:return Ll;case ld:return Wa;case pr:case ny:return ku;case nd:return tm;default:return ku}default:return ku}}function Do(e,t){switch(e){case"focusin":case"focusout":Hr=null;break;case"dragenter":case"dragleave":wr=null;break;case"mouseover":case"mouseout":Br=null;break;case"pointerover":case"pointerout":ev.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tv.delete(t.pointerId)}}function An(e,t,n,u,c,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:s,targetContainers:[c]},t!==null&&(t=Gl(t),t!==null&&ep(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function $f(e,t,n,u,c){switch(t){case"focusin":return Hr=An(Hr,e,t,n,u,c),!0;case"dragenter":return wr=An(wr,e,t,n,u,c),!0;case"mouseover":return Br=An(Br,e,t,n,u,c),!0;case"pointerover":var s=c.pointerId;return ev.set(s,An(ev.get(s)||null,e,t,n,u,c)),!0;case"gotpointercapture":return s=c.pointerId,tv.set(s,An(tv.get(s)||null,e,t,n,u,c)),!0}return!1}function qv(e){var t=ea(e.target);if(t!==null){var n=de(t);if(n!==null){if(t=n.tag,t===13){if(t=ke(n),t!==null){e.blockedOn=t,Od(e.priority,function(){if(n.tag===13){var u=En(n);u=Bt(u);var c=Ol(n,u);c!==null&&Kt(c,n,u),P0(n,u)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Jf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zf(e.nativeEvent);if(n===null){n=e.nativeEvent;var u=new n.constructor(n.type,n),c=u;r!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),r=c,n.target.dispatchEvent(u),r===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."),r=null}else return t=Gl(n),t!==null&&ep(t),e.blockedOn=n,!1;t.shift()}return!0}function tp(e,t,n){Jf(e)&&n.delete(t)}function Yv(){ab=!1,Hr!==null&&Jf(Hr)&&(Hr=null),wr!==null&&Jf(wr)&&(wr=null),Br!==null&&Jf(Br)&&(Br=null),ev.forEach(tp),tv.forEach(tp)}function Kf(e,t){e.blockedOn===t&&(e.blockedOn=null,ab||(ab=!0,Pt.unstable_scheduleCallback(Pt.unstable_NormalPriority,Yv)))}function Vv(e){Bg!==e&&(Bg=e,Pt.unstable_scheduleCallback(Pt.unstable_NormalPriority,function(){Bg===e&&(Bg=null);for(var t=0;t<e.length;t+=3){var n=e[t],u=e[t+1],c=e[t+2];if(typeof u!="function"){if(sr(u||n)===null)continue;break}var s=Gl(n);s!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:c,method:n.method,action:u},Object.freeze(n),gc(s,n,u,c))}}))}function Nc(e){function t(b){return Kf(b,e)}Hr!==null&&Kf(Hr,e),wr!==null&&Kf(wr,e),Br!==null&&Kf(Br,e),ev.forEach(t),tv.forEach(t);for(var n=0;n<kr.length;n++){var u=kr[n];u.blockedOn===e&&(u.blockedOn=null)}for(;0<kr.length&&(n=kr[0],n.blockedOn===null);)qv(n),n.blockedOn===null&&kr.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(u=0;u<n.length;u+=3){var c=n[u],s=n[u+1],h=c[Rn]||null;if(typeof s=="function")h||Vv(n);else if(h){var p=null;if(s&&s.hasAttribute("formAction")){if(c=s,h=s[Rn]||null)p=h.formAction;else if(sr(c)!==null)continue}else p=h.action;typeof p=="function"?n[u+1]=p:(n.splice(u,3),u-=3),Vv(n)}}}function $h(e){this._internalRoot=e}function Wf(e){this._internalRoot=e}function Gv(e){e[Bo]&&(e._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 Pt=Ob(),If=pt,Pg=kg,Ke=Object.assign,Ff=Symbol.for("react.element"),zo=Symbol.for("react.transitional.element"),Lc=Symbol.for("react.portal"),je=Symbol.for("react.fragment"),rr=Symbol.for("react.strict_mode"),fr=Symbol.for("react.profiler"),lp=Symbol.for("react.provider"),Jh=Symbol.for("react.consumer"),ya=Symbol.for("react.context"),Uu=Symbol.for("react.forward_ref"),dr=Symbol.for("react.suspense"),Oo=Symbol.for("react.suspense_list"),Pf=Symbol.for("react.memo"),$n=Symbol.for("react.lazy"),np=Symbol.for("react.activity"),Xv=Symbol.for("react.memo_cache_sentinel"),ap=Symbol.iterator,Kh=Symbol.for("react.client.reference"),Ve=Array.isArray,G=If.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ne=Pg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ey=Object.freeze({pending:!1,data:null,method:null,action:null}),ed=[],td=[],ba=-1,Hu=Ce(null),hr=Ce(null),Gi=Ce(null),mr=Ce(null),wu=Object.prototype.hasOwnProperty,Wh=Pt.unstable_scheduleCallback,ty=Pt.unstable_cancelCallback,jv=Pt.unstable_shouldYield,ly=Pt.unstable_requestPaint,Xi=Pt.unstable_now,Uo=Pt.unstable_getCurrentPriorityLevel,Ih=Pt.unstable_ImmediatePriority,ld=Pt.unstable_UserBlockingPriority,pr=Pt.unstable_NormalPriority,ny=Pt.unstable_LowPriority,nd=Pt.unstable_IdlePriority,ay=Pt.log,Ka=Pt.unstable_setDisableYieldValue,Ho=null,Nl=null,he=null,Mn=!1,el=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Kl=Math.clz32?Math.clz32:au,Fh=Math.log,Bu=Math.LN2,Ph=256,em=4194304,Ll=2,Wa=8,ku=32,tm=268435456,wo=Math.random().toString(36).slice(2),Wl="__reactFiber$"+wo,Rn="__reactProps$"+wo,Bo="__reactContainer$"+wo,ip="__reactEvents$"+wo,Qv="__reactListeners$"+wo,vr="__reactHandles$"+wo,gr="__reactResources$"+wo,yr="__reactMarker$"+wo,Zv=new Set,Sa={},qc={},$v={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},lm=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]*$"),nm={},am={},ko=0,up,op,Jv,cp,br,Kv,Wv;Zo.__reactDisabledLog=!0;var sp,ad,Sr=!1,id=new(typeof WeakMap=="function"?WeakMap:Map),Jn=null,Dn=!1,iy=/[\n"\\]/g,rp=!1,fp=!1,dp=!1,hp=!1,im=!1,mp=!1,ud=["value","defaultValue"],Iv=!1,Fv=/["'&<>\n\t]|^\s|\s$/,pp="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(" "),um="applet caption html table td th marquee object template foreignObject desc title".split(" "),om=um.concat(["button"]),vp="dd dt li option optgroup p rp rt".split(" "),gp={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Tr={},ji={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"]},Nu=/([A-Z])/g,Lu=/^ms-/,od=/^(?:webkit|moz|o)[A-Z]/,cd=/^-ms-/,No=/-(.)/g,Pv=/;\s*$/,Yc={},Vc={},eg=!1,yp=!1,sd=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(" ")),rd="http://www.w3.org/1998/Math/MathML",xr="http://www.w3.org/2000/svg",cm=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"]]),Gc={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"},bp={"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},Qi={},Sp=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]*$"),sm=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]*$"),Tp=!1,on={},fd=/^on./,l=/^on[^A-Z]/,a=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]*$"),i=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]*$"),o=/^[\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,r=null,d=null,g=null,y=!1,E=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),H=!1;if(E)try{var W={};Object.defineProperty(W,"passive",{get:function(){H=!0}}),window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch{H=!1}var P=null,k=null,L=null,Ae={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Me=ul(Ae),ht=Ke({},Ae,{view:0,detail:0}),O=ul(ht),z,U,F,be=Ke({},ht,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==F&&(F&&e.type==="mousemove"?(z=e.screenX-F.screenX,U=e.screenY-F.screenY):U=z=0,F=e),z)},movementY:function(e){return"movementY"in e?e.movementY:U}}),Ie=ul(be),_e=Ke({},be,{dataTransfer:0}),He=ul(_e),Rl=Ke({},ht,{relatedTarget:0}),ct=ul(Rl),Lo=Ke({},Ae,{animationName:0,elapsedTime:0,pseudoElement:0}),uy=ul(Lo),m2=Ke({},Ae,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),p2=ul(m2),v2=Ke({},Ae,{data:0}),Bb=ul(v2),g2=Bb,y2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b2={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"},S2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},T2=Ke({},ht,{key:function(e){if(e.key){var t=y2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=vu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?b2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nc,charCode:function(e){return e.type==="keypress"?vu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),x2=ul(T2),E2=Ke({},be,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kb=ul(E2),_2=Ke({},ht,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nc}),C2=ul(_2),A2=Ke({},Ae,{propertyName:0,elapsedTime:0,pseudoElement:0}),M2=ul(A2),R2=Ke({},be,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),D2=ul(R2),z2=Ke({},Ae,{newState:0,oldState:0}),O2=ul(z2),U2=[9,13,27,32],Nb=229,oy=E&&"CompositionEvent"in window,xp=null;E&&"documentMode"in document&&(xp=document.documentMode);var H2=E&&"TextEvent"in window&&!xp,Lb=E&&(!oy||xp&&8<xp&&11>=xp),qb=32,Yb=String.fromCharCode(qb),Vb=!1,rm=!1,w2={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},Ep=null,_p=null,Gb=!1;E&&(Gb=ss("input")&&(!document.documentMode||9<document.documentMode));var Kn=typeof Object.is=="function"?Object.is:Ld,B2=E&&"documentMode"in document&&11>=document.documentMode,fm=null,cy=null,Cp=null,sy=!1,dm={animationend:ia("Animation","AnimationEnd"),animationiteration:ia("Animation","AnimationIteration"),animationstart:ia("Animation","AnimationStart"),transitionrun:ia("Transition","TransitionRun"),transitionstart:ia("Transition","TransitionStart"),transitioncancel:ia("Transition","TransitionCancel"),transitionend:ia("Transition","TransitionEnd")},ry={},Xb={};E&&(Xb=document.createElement("div").style,"AnimationEvent"in window||(delete dm.animationend.animation,delete dm.animationiteration.animation,delete dm.animationstart.animation),"TransitionEvent"in window||delete dm.transitionend.transition);var jb=hi("animationend"),Qb=hi("animationiteration"),Zb=hi("animationstart"),k2=hi("transitionrun"),N2=hi("transitionstart"),L2=hi("transitioncancel"),$b=hi("transitionend"),Jb=new Map,fy="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(" ");fy.push("scrollEnd");var dy=new WeakMap,hy=1,dd=2,Zi=[],hm=0,my=0,Er={};Object.freeze(Er);var $i=null,mm=null,Lt=0,q2=1,cn=2,zn=8,qu=16,Kb=64,Wb=!1;try{var Ib=Object.preventExtensions({})}catch{Wb=!0}var pm=[],vm=0,tg=null,lg=0,Ji=[],Ki=0,hd=null,Xc=1,jc="",Wn=null,sl=null,mt=!1,Qc=!1,Wi=null,md=null,qo=!1,py=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."),Fb=0;if(typeof performance=="object"&&typeof performance.now=="function")var Y2=performance,Pb=function(){return Y2.now()};else{var V2=Date;Pb=function(){return V2.now()}}var vy=Ce(null),gy=Ce(null),e1={},ng=null,gm=null,ym=!1,G2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},X2=Pt.unstable_scheduleCallback,j2=Pt.unstable_NormalPriority,ql={$$typeof:ya,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},bm=Pt.unstable_now,t1=-0,ag=-0,Ta=-1.1,pd=-0,ig=!1,ug=!1,Ap=null,yy=0,vd=0,Sm=null,l1=G.S;G.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&of(e,t),l1!==null&&l1(e,t)};var gd=Ce(null),Yu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Mp=[],Rp=[],Dp=[],zp=[],Op=[],Up=[],yd=new Set;Yu.recordUnsafeLifecycleWarnings=function(e,t){yd.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Mp.push(e),e.mode&zn&&typeof t.UNSAFE_componentWillMount=="function"&&Rp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Dp.push(e),e.mode&zn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&zp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Op.push(e),e.mode&zn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Up.push(e))},Yu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Mp.length&&(Mp.forEach(function(p){e.add(me(p)||"Component"),yd.add(p.type)}),Mp=[]);var t=new Set;0<Rp.length&&(Rp.forEach(function(p){t.add(me(p)||"Component"),yd.add(p.type)}),Rp=[]);var n=new Set;0<Dp.length&&(Dp.forEach(function(p){n.add(me(p)||"Component"),yd.add(p.type)}),Dp=[]);var u=new Set;0<zp.length&&(zp.forEach(function(p){u.add(me(p)||"Component"),yd.add(p.type)}),zp=[]);var c=new Set;0<Op.length&&(Op.forEach(function(p){c.add(me(p)||"Component"),yd.add(p.type)}),Op=[]);var s=new Set;if(0<Up.length&&(Up.forEach(function(p){s.add(me(p)||"Component"),yd.add(p.type)}),Up=[]),0<t.size){var h=ne(t);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.
1117
987
 
1118
988
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
1119
989
 
1120
- Please update the following components: %s`,h)}0<u.size&&(h=le(u),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.
990
+ Please update the following components: %s`,h)}0<u.size&&(h=ne(u),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.
1121
991
 
1122
992
  * Move data fetching code or side effects to componentDidUpdate.
1123
993
  * 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
1124
994
 
1125
- Please update the following components: %s`,h)),0<c.size&&(h=le(c),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.
995
+ Please update the following components: %s`,h)),0<s.size&&(h=ne(s),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.
1126
996
 
1127
997
  * Move data fetching code or side effects to componentDidUpdate.
1128
998
 
1129
- Please update the following components: %s`,h)),0<e.size&&(h=le(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
999
+ Please update the following components: %s`,h)),0<e.size&&(h=ne(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
1130
1000
 
1131
1001
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
1132
1002
  * 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.
1133
1003
 
1134
- Please update the following components: %s`,h)),0<l.size&&(h=le(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
1004
+ Please update the following components: %s`,h)),0<n.size&&(h=ne(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
1135
1005
 
1136
1006
  * Move data fetching code or side effects to componentDidUpdate.
1137
1007
  * 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
1138
1008
  * 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.
1139
1009
 
1140
- Please update the following components: %s`,h)),0<s.size&&(h=le(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
1010
+ Please update the following components: %s`,h)),0<c.size&&(h=ne(c),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
1141
1011
 
1142
1012
  * Move data fetching code or side effects to componentDidUpdate.
1143
1013
  * 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.
1144
1014
 
1145
- Please update the following components: %s`,h))};var pg=new Map,g1=new Set;Gu.recordLegacyContextWarning=function(e,t){for(var l=null,u=e;u!==null;)u.mode&Ol&&(l=u),u=u.return;l===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."):!g1.has(e.type)&&(u=pg.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],pg.set(l,u)),u.push(e))},Gu.flushLegacyContextWarning=function(){pg.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(s){l.add(me(s)||"Component"),g1.add(s.type)});var u=le(l);ye(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
1015
+ Please update the following components: %s`,h))};var og=new Map,n1=new Set;Yu.recordLegacyContextWarning=function(e,t){for(var n=null,u=e;u!==null;)u.mode&zn&&(n=u),u=u.return;n===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."):!n1.has(e.type)&&(u=og.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],og.set(n,u)),u.push(e))},Yu.flushLegacyContextWarning=function(){og.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(c){n.add(me(c)||"Component"),n1.add(c.type)});var u=ne(n);ye(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
1146
1016
 
1147
1017
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
1148
1018
 
1149
1019
  Please update the following components: %s
1150
1020
 
1151
- Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},Gu.discardPendingWarnings=function(){U0=[],w0=[],H0=[],k0=[],B0=[],N0=[],pg=new Map};var L0=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`."),y1=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."),vg=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."),Ry={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.')}},q0=null,gg=!1,Fi=0,Pi=1,Fl=2,rl=4,Gn=8,b1=0,S1=1,T1=2,Dy=3,Mr=!1,x1=!1,zy=null,Oy=!1,Am=_e(null),yg=_e(0),Mm,E1=new Set,C1=new Set,Uy=new Set,_1=new Set,Rr=0,Ge=null,Dt=null,On=null,bg=!1,Rm=!1,Cd=!1,Sg=0,Y0=0,Ks=null,TT=0,xT=25,X=null,eu=null,Is=-1,V0=!1,Tg={readContext:Et,use:Ei,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt},wy=null,A1=null,Hy=null,M1=null,Go=null,ju=null,xg=null;wy={readContext:function(e){return Et(e)},use:Ei,useCallback:function(e,t){return X="useCallback",Ie(),ca(t),Ef(e,t)},useContext:function(e){return X="useContext",Ie(),Et(e)},useEffect:function(e,t){return X="useEffect",Ie(),ca(t),$d(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",Ie(),ca(l),Kd(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",Ie(),ca(t),ha(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",Ie(),ca(t),Jd(e,t)},useMemo:function(e,t){X="useMemo",Ie(),ca(t);var l=G.H;G.H=Go;try{return Id(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",Ie();var u=G.H;G.H=Go;try{return ct(e,t,l)}finally{G.H=u}},useRef:function(e){return X="useRef",Ie(),xf(e)},useState:function(e){X="useState",Ie();var t=G.H;G.H=Go;try{return Eu(e)}finally{G.H=t}},useDebugValue:function(){X="useDebugValue",Ie()},useDeferredValue:function(e,t){return X="useDeferredValue",Ie(),Wd(e,t)},useTransition:function(){return X="useTransition",Ie(),Mi()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",Ie(),xu(e,t,l)},useId:function(){return X="useId",Ie(),Ri()},useFormState:function(e,t){return X="useFormState",Ie(),Lc(),Xc(e,t)},useActionState:function(e,t){return X="useActionState",Ie(),Xc(e,t)},useOptimistic:function(e){return X="useOptimistic",Ie(),Qa(e)},useHostTransitionStatus:Tl,useMemoCache:an,useCacheRefresh:function(){return X="useCacheRefresh",Ie(),Ts()}},A1={readContext:function(e){return Et(e)},use:Ei,useCallback:function(e,t){return X="useCallback",ne(),Ef(e,t)},useContext:function(e){return X="useContext",ne(),Et(e)},useEffect:function(e,t){return X="useEffect",ne(),$d(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",ne(),Kd(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",ne(),ha(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",ne(),Jd(e,t)},useMemo:function(e,t){X="useMemo",ne();var l=G.H;G.H=Go;try{return Id(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",ne();var u=G.H;G.H=Go;try{return ct(e,t,l)}finally{G.H=u}},useRef:function(e){return X="useRef",ne(),xf(e)},useState:function(e){X="useState",ne();var t=G.H;G.H=Go;try{return Eu(e)}finally{G.H=t}},useDebugValue:function(){X="useDebugValue",ne()},useDeferredValue:function(e,t){return X="useDeferredValue",ne(),Wd(e,t)},useTransition:function(){return X="useTransition",ne(),Mi()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",ne(),xu(e,t,l)},useId:function(){return X="useId",ne(),Ri()},useActionState:function(e,t){return X="useActionState",ne(),Xc(e,t)},useFormState:function(e,t){return X="useFormState",ne(),Lc(),Xc(e,t)},useOptimistic:function(e){return X="useOptimistic",ne(),Qa(e)},useHostTransitionStatus:Tl,useMemoCache:an,useCacheRefresh:function(){return X="useCacheRefresh",ne(),Ts()}},Hy={readContext:function(e){return Et(e)},use:Ei,useCallback:function(e,t){return X="useCallback",ne(),bs(e,t)},useContext:function(e){return X="useContext",ne(),Et(e)},useEffect:function(e,t){X="useEffect",ne(),vn(2048,Gn,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",ne(),Ai(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",ne(),vn(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",ne(),vn(4,rl,e,t)},useMemo:function(e,t){X="useMemo",ne();var l=G.H;G.H=ju;try{return bo(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",ne();var u=G.H;G.H=ju;try{return fa(e,t,l)}finally{G.H=u}},useRef:function(){return X="useRef",ne(),ut().memoizedState},useState:function(){X="useState",ne();var e=G.H;G.H=ju;try{return fa(ft)}finally{G.H=e}},useDebugValue:function(){X="useDebugValue",ne()},useDeferredValue:function(e,t){return X="useDeferredValue",ne(),Cf(e,t)},useTransition:function(){return X="useTransition",ne(),eh()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",ne(),yf(e,t,l)},useId:function(){return X="useId",ne(),ut().memoizedState},useFormState:function(e){return X="useFormState",ne(),Lc(),Zd(e)},useActionState:function(e){return X="useActionState",ne(),Zd(e)},useOptimistic:function(e,t){return X="useOptimistic",ne(),Cu(e,t)},useHostTransitionStatus:Tl,useMemoCache:an,useCacheRefresh:function(){return X="useCacheRefresh",ne(),ut().memoizedState}},M1={readContext:function(e){return Et(e)},use:Ei,useCallback:function(e,t){return X="useCallback",ne(),bs(e,t)},useContext:function(e){return X="useContext",ne(),Et(e)},useEffect:function(e,t){X="useEffect",ne(),vn(2048,Gn,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",ne(),Ai(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",ne(),vn(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",ne(),vn(4,rl,e,t)},useMemo:function(e,t){X="useMemo",ne();var l=G.H;G.H=xg;try{return bo(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",ne();var u=G.H;G.H=xg;try{return ys(e,t,l)}finally{G.H=u}},useRef:function(){return X="useRef",ne(),ut().memoizedState},useState:function(){X="useState",ne();var e=G.H;G.H=xg;try{return ys(ft)}finally{G.H=e}},useDebugValue:function(){X="useDebugValue",ne()},useDeferredValue:function(e,t){return X="useDeferredValue",ne(),Fd(e,t)},useTransition:function(){return X="useTransition",ne(),th()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",ne(),yf(e,t,l)},useId:function(){return X="useId",ne(),ut().memoizedState},useFormState:function(e){return X="useFormState",ne(),Lc(),Qc(e)},useActionState:function(e){return X="useActionState",ne(),Qc(e)},useOptimistic:function(e,t){return X="useOptimistic",ne(),Qd(e,t)},useHostTransitionStatus:Tl,useMemoCache:an,useCacheRefresh:function(){return X="useCacheRefresh",ne(),ut().memoizedState}},Go={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),Ei(e)},useCallback:function(e,t){return X="useCallback",M(),Ie(),Ef(e,t)},useContext:function(e){return X="useContext",M(),Ie(),Et(e)},useEffect:function(e,t){return X="useEffect",M(),Ie(),$d(e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",M(),Ie(),Kd(e,t,l)},useInsertionEffect:function(e,t){X="useInsertionEffect",M(),Ie(),ha(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",M(),Ie(),Jd(e,t)},useMemo:function(e,t){X="useMemo",M(),Ie();var l=G.H;G.H=Go;try{return Id(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",M(),Ie();var u=G.H;G.H=Go;try{return ct(e,t,l)}finally{G.H=u}},useRef:function(e){return X="useRef",M(),Ie(),xf(e)},useState:function(e){X="useState",M(),Ie();var t=G.H;G.H=Go;try{return Eu(e)}finally{G.H=t}},useDebugValue:function(){X="useDebugValue",M(),Ie()},useDeferredValue:function(e,t){return X="useDeferredValue",M(),Ie(),Wd(e,t)},useTransition:function(){return X="useTransition",M(),Ie(),Mi()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",M(),Ie(),xu(e,t,l)},useId:function(){return X="useId",M(),Ie(),Ri()},useFormState:function(e,t){return X="useFormState",M(),Ie(),Xc(e,t)},useActionState:function(e,t){return X="useActionState",M(),Ie(),Xc(e,t)},useOptimistic:function(e){return X="useOptimistic",M(),Ie(),Qa(e)},useMemoCache:function(e){return M(),an(e)},useHostTransitionStatus:Tl,useCacheRefresh:function(){return X="useCacheRefresh",Ie(),Ts()}},ju={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),Ei(e)},useCallback:function(e,t){return X="useCallback",M(),ne(),bs(e,t)},useContext:function(e){return X="useContext",M(),ne(),Et(e)},useEffect:function(e,t){X="useEffect",M(),ne(),vn(2048,Gn,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",M(),ne(),Ai(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",M(),ne(),vn(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",M(),ne(),vn(4,rl,e,t)},useMemo:function(e,t){X="useMemo",M(),ne();var l=G.H;G.H=ju;try{return bo(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",M(),ne();var u=G.H;G.H=ju;try{return fa(e,t,l)}finally{G.H=u}},useRef:function(){return X="useRef",M(),ne(),ut().memoizedState},useState:function(){X="useState",M(),ne();var e=G.H;G.H=ju;try{return fa(ft)}finally{G.H=e}},useDebugValue:function(){X="useDebugValue",M(),ne()},useDeferredValue:function(e,t){return X="useDeferredValue",M(),ne(),Cf(e,t)},useTransition:function(){return X="useTransition",M(),ne(),eh()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",M(),ne(),yf(e,t,l)},useId:function(){return X="useId",M(),ne(),ut().memoizedState},useFormState:function(e){return X="useFormState",M(),ne(),Zd(e)},useActionState:function(e){return X="useActionState",M(),ne(),Zd(e)},useOptimistic:function(e,t){return X="useOptimistic",M(),ne(),Cu(e,t)},useMemoCache:function(e){return M(),an(e)},useHostTransitionStatus:Tl,useCacheRefresh:function(){return X="useCacheRefresh",ne(),ut().memoizedState}},xg={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),Ei(e)},useCallback:function(e,t){return X="useCallback",M(),ne(),bs(e,t)},useContext:function(e){return X="useContext",M(),ne(),Et(e)},useEffect:function(e,t){X="useEffect",M(),ne(),vn(2048,Gn,e,t)},useImperativeHandle:function(e,t,l){return X="useImperativeHandle",M(),ne(),Ai(e,t,l)},useInsertionEffect:function(e,t){return X="useInsertionEffect",M(),ne(),vn(4,Fl,e,t)},useLayoutEffect:function(e,t){return X="useLayoutEffect",M(),ne(),vn(4,rl,e,t)},useMemo:function(e,t){X="useMemo",M(),ne();var l=G.H;G.H=ju;try{return bo(e,t)}finally{G.H=l}},useReducer:function(e,t,l){X="useReducer",M(),ne();var u=G.H;G.H=ju;try{return ys(e,t,l)}finally{G.H=u}},useRef:function(){return X="useRef",M(),ne(),ut().memoizedState},useState:function(){X="useState",M(),ne();var e=G.H;G.H=ju;try{return ys(ft)}finally{G.H=e}},useDebugValue:function(){X="useDebugValue",M(),ne()},useDeferredValue:function(e,t){return X="useDeferredValue",M(),ne(),Fd(e,t)},useTransition:function(){return X="useTransition",M(),ne(),th()},useSyncExternalStore:function(e,t,l){return X="useSyncExternalStore",M(),ne(),yf(e,t,l)},useId:function(){return X="useId",M(),ne(),ut().memoizedState},useFormState:function(e){return X="useFormState",M(),ne(),Qc(e)},useActionState:function(e){return X="useActionState",M(),ne(),Qc(e)},useOptimistic:function(e,t){return X="useOptimistic",M(),ne(),Qd(e,t)},useMemoCache:function(e){return M(),an(e)},useHostTransitionStatus:Tl,useCacheRefresh:function(){return X="useCacheRefresh",ne(),ut().memoizedState}};var R1={"react-stack-bottom-frame":function(e,t,l){var u=zl;zl=!0;try{return e(t,l)}finally{zl=u}}},ky=R1["react-stack-bottom-frame"].bind(R1),D1={"react-stack-bottom-frame":function(e){var t=zl;zl=!0;try{return e.render()}finally{zl=t}}},z1=D1["react-stack-bottom-frame"].bind(D1),O1={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(l){Oe(e,e.return,l)}}},By=O1["react-stack-bottom-frame"].bind(O1),U1={"react-stack-bottom-frame":function(e,t,l,u,s){try{t.componentDidUpdate(l,u,s)}catch(c){Oe(e,e.return,c)}}},w1=U1["react-stack-bottom-frame"].bind(U1),H1={"react-stack-bottom-frame":function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},ET=H1["react-stack-bottom-frame"].bind(H1),k1={"react-stack-bottom-frame":function(e,t,l){try{l.componentWillUnmount()}catch(u){Oe(e,t,u)}}},B1=k1["react-stack-bottom-frame"].bind(k1),N1={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},CT=N1["react-stack-bottom-frame"].bind(N1),L1={"react-stack-bottom-frame":function(e,t,l){try{l()}catch(u){Oe(e,t,u)}}},_T=L1["react-stack-bottom-frame"].bind(L1),q1={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Dr=q1["react-stack-bottom-frame"].bind(q1),Dm=null,G0=0,Fe=null,Ny,Y1=Ny=!1,V1={},G1={},j1={};j=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._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.");l._store.validated=1;var u=me(e),s=u||"null";if(!V1[s]){V1[s]=!0,l=l._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(s=me(e))&&(c=`
1021
+ Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},Yu.discardPendingWarnings=function(){Mp=[],Rp=[],Dp=[],zp=[],Op=[],Up=[],og=new Map};var Hp=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`."),a1=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."),cg=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."),by={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.')}},wp=null,sg=!1,Ii=0,Fi=1,In=2,sn=4,Yl=8,i1=0,u1=1,o1=2,Sy=3,_r=!1,c1=!1,Ty=null,xy=!1,Tm=Ce(null),rg=Ce(0),xm,s1=new Set,r1=new Set,Ey=new Set,f1=new Set,Cr=0,Ge=null,Dt=null,Dl=null,fg=!1,Em=!1,bd=!1,dg=0,Bp=0,Zc=null,Q2=0,Z2=25,j=null,Pi=null,$c=-1,kp=!1,hg={readContext:Et,use:xi,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt},_y=null,d1=null,Cy=null,h1=null,Yo=null,Vu=null,mg=null;_y={readContext:function(e){return Et(e)},use:xi,useCallback:function(e,t){return j="useCallback",We(),ca(t),yf(e,t)},useContext:function(e){return j="useContext",We(),Et(e)},useEffect:function(e,t){return j="useEffect",We(),ca(t),Gd(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",We(),ca(n),jd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",We(),ca(t),da(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",We(),ca(t),Xd(e,t)},useMemo:function(e,t){j="useMemo",We(),ca(t);var n=G.H;G.H=Yo;try{return Qd(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",We();var u=G.H;G.H=Yo;try{return st(e,t,n)}finally{G.H=u}},useRef:function(e){return j="useRef",We(),gf(e)},useState:function(e){j="useState",We();var t=G.H;G.H=Yo;try{return Tu(e)}finally{G.H=t}},useDebugValue:function(){j="useDebugValue",We()},useDeferredValue:function(e,t){return j="useDeferredValue",We(),Zd(e,t)},useTransition:function(){return j="useTransition",We(),Ai()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",We(),Su(e,t,n)},useId:function(){return j="useId",We(),Mi()},useFormState:function(e,t){return j="useFormState",We(),Bs(),Vs(e,t)},useActionState:function(e,t){return j="useActionState",We(),Vs(e,t)},useOptimistic:function(e){return j="useOptimistic",We(),ja(e)},useHostTransitionStatus:Sn,useMemoCache:nl,useCacheRefresh:function(){return j="useCacheRefresh",We(),yc()}},d1={readContext:function(e){return Et(e)},use:xi,useCallback:function(e,t){return j="useCallback",le(),yf(e,t)},useContext:function(e){return j="useContext",le(),Et(e)},useEffect:function(e,t){return j="useEffect",le(),Gd(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",le(),jd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",le(),da(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",le(),Xd(e,t)},useMemo:function(e,t){j="useMemo",le();var n=G.H;G.H=Yo;try{return Qd(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",le();var u=G.H;G.H=Yo;try{return st(e,t,n)}finally{G.H=u}},useRef:function(e){return j="useRef",le(),gf(e)},useState:function(e){j="useState",le();var t=G.H;G.H=Yo;try{return Tu(e)}finally{G.H=t}},useDebugValue:function(){j="useDebugValue",le()},useDeferredValue:function(e,t){return j="useDeferredValue",le(),Zd(e,t)},useTransition:function(){return j="useTransition",le(),Ai()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",le(),Su(e,t,n)},useId:function(){return j="useId",le(),Mi()},useActionState:function(e,t){return j="useActionState",le(),Vs(e,t)},useFormState:function(e,t){return j="useFormState",le(),Bs(),Vs(e,t)},useOptimistic:function(e){return j="useOptimistic",le(),ja(e)},useHostTransitionStatus:Sn,useMemoCache:nl,useCacheRefresh:function(){return j="useCacheRefresh",le(),yc()}},Cy={readContext:function(e){return Et(e)},use:xi,useCallback:function(e,t){return j="useCallback",le(),vc(e,t)},useContext:function(e){return j="useContext",le(),Et(e)},useEffect:function(e,t){j="useEffect",le(),ml(2048,Yl,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",le(),Ci(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",le(),ml(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",le(),ml(4,sn,e,t)},useMemo:function(e,t){j="useMemo",le();var n=G.H;G.H=Vu;try{return go(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",le();var u=G.H;G.H=Vu;try{return ra(e,t,n)}finally{G.H=u}},useRef:function(){return j="useRef",le(),ut().memoizedState},useState:function(){j="useState",le();var e=G.H;G.H=Vu;try{return ra(ft)}finally{G.H=e}},useDebugValue:function(){j="useDebugValue",le()},useDeferredValue:function(e,t){return j="useDeferredValue",le(),bf(e,t)},useTransition:function(){return j="useTransition",le(),Kd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",le(),hf(e,t,n)},useId:function(){return j="useId",le(),ut().memoizedState},useFormState:function(e){return j="useFormState",le(),Bs(),Vd(e)},useActionState:function(e){return j="useActionState",le(),Vd(e)},useOptimistic:function(e,t){return j="useOptimistic",le(),xu(e,t)},useHostTransitionStatus:Sn,useMemoCache:nl,useCacheRefresh:function(){return j="useCacheRefresh",le(),ut().memoizedState}},h1={readContext:function(e){return Et(e)},use:xi,useCallback:function(e,t){return j="useCallback",le(),vc(e,t)},useContext:function(e){return j="useContext",le(),Et(e)},useEffect:function(e,t){j="useEffect",le(),ml(2048,Yl,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",le(),Ci(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",le(),ml(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",le(),ml(4,sn,e,t)},useMemo:function(e,t){j="useMemo",le();var n=G.H;G.H=mg;try{return go(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",le();var u=G.H;G.H=mg;try{return pc(e,t,n)}finally{G.H=u}},useRef:function(){return j="useRef",le(),ut().memoizedState},useState:function(){j="useState",le();var e=G.H;G.H=mg;try{return pc(ft)}finally{G.H=e}},useDebugValue:function(){j="useDebugValue",le()},useDeferredValue:function(e,t){return j="useDeferredValue",le(),$d(e,t)},useTransition:function(){return j="useTransition",le(),Wd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",le(),hf(e,t,n)},useId:function(){return j="useId",le(),ut().memoizedState},useFormState:function(e){return j="useFormState",le(),Bs(),Gs(e)},useActionState:function(e){return j="useActionState",le(),Gs(e)},useOptimistic:function(e,t){return j="useOptimistic",le(),Yd(e,t)},useHostTransitionStatus:Sn,useMemoCache:nl,useCacheRefresh:function(){return j="useCacheRefresh",le(),ut().memoizedState}},Yo={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),xi(e)},useCallback:function(e,t){return j="useCallback",M(),We(),yf(e,t)},useContext:function(e){return j="useContext",M(),We(),Et(e)},useEffect:function(e,t){return j="useEffect",M(),We(),Gd(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",M(),We(),jd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",M(),We(),da(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",M(),We(),Xd(e,t)},useMemo:function(e,t){j="useMemo",M(),We();var n=G.H;G.H=Yo;try{return Qd(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",M(),We();var u=G.H;G.H=Yo;try{return st(e,t,n)}finally{G.H=u}},useRef:function(e){return j="useRef",M(),We(),gf(e)},useState:function(e){j="useState",M(),We();var t=G.H;G.H=Yo;try{return Tu(e)}finally{G.H=t}},useDebugValue:function(){j="useDebugValue",M(),We()},useDeferredValue:function(e,t){return j="useDeferredValue",M(),We(),Zd(e,t)},useTransition:function(){return j="useTransition",M(),We(),Ai()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",M(),We(),Su(e,t,n)},useId:function(){return j="useId",M(),We(),Mi()},useFormState:function(e,t){return j="useFormState",M(),We(),Vs(e,t)},useActionState:function(e,t){return j="useActionState",M(),We(),Vs(e,t)},useOptimistic:function(e){return j="useOptimistic",M(),We(),ja(e)},useMemoCache:function(e){return M(),nl(e)},useHostTransitionStatus:Sn,useCacheRefresh:function(){return j="useCacheRefresh",We(),yc()}},Vu={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),xi(e)},useCallback:function(e,t){return j="useCallback",M(),le(),vc(e,t)},useContext:function(e){return j="useContext",M(),le(),Et(e)},useEffect:function(e,t){j="useEffect",M(),le(),ml(2048,Yl,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",M(),le(),Ci(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",M(),le(),ml(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",M(),le(),ml(4,sn,e,t)},useMemo:function(e,t){j="useMemo",M(),le();var n=G.H;G.H=Vu;try{return go(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",M(),le();var u=G.H;G.H=Vu;try{return ra(e,t,n)}finally{G.H=u}},useRef:function(){return j="useRef",M(),le(),ut().memoizedState},useState:function(){j="useState",M(),le();var e=G.H;G.H=Vu;try{return ra(ft)}finally{G.H=e}},useDebugValue:function(){j="useDebugValue",M(),le()},useDeferredValue:function(e,t){return j="useDeferredValue",M(),le(),bf(e,t)},useTransition:function(){return j="useTransition",M(),le(),Kd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",M(),le(),hf(e,t,n)},useId:function(){return j="useId",M(),le(),ut().memoizedState},useFormState:function(e){return j="useFormState",M(),le(),Vd(e)},useActionState:function(e){return j="useActionState",M(),le(),Vd(e)},useOptimistic:function(e,t){return j="useOptimistic",M(),le(),xu(e,t)},useMemoCache:function(e){return M(),nl(e)},useHostTransitionStatus:Sn,useCacheRefresh:function(){return j="useCacheRefresh",le(),ut().memoizedState}},mg={readContext:function(e){return Y(),Et(e)},use:function(e){return M(),xi(e)},useCallback:function(e,t){return j="useCallback",M(),le(),vc(e,t)},useContext:function(e){return j="useContext",M(),le(),Et(e)},useEffect:function(e,t){j="useEffect",M(),le(),ml(2048,Yl,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",M(),le(),Ci(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",M(),le(),ml(4,In,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",M(),le(),ml(4,sn,e,t)},useMemo:function(e,t){j="useMemo",M(),le();var n=G.H;G.H=Vu;try{return go(e,t)}finally{G.H=n}},useReducer:function(e,t,n){j="useReducer",M(),le();var u=G.H;G.H=Vu;try{return pc(e,t,n)}finally{G.H=u}},useRef:function(){return j="useRef",M(),le(),ut().memoizedState},useState:function(){j="useState",M(),le();var e=G.H;G.H=Vu;try{return pc(ft)}finally{G.H=e}},useDebugValue:function(){j="useDebugValue",M(),le()},useDeferredValue:function(e,t){return j="useDeferredValue",M(),le(),$d(e,t)},useTransition:function(){return j="useTransition",M(),le(),Wd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",M(),le(),hf(e,t,n)},useId:function(){return j="useId",M(),le(),ut().memoizedState},useFormState:function(e){return j="useFormState",M(),le(),Gs(e)},useActionState:function(e){return j="useActionState",M(),le(),Gs(e)},useOptimistic:function(e,t){return j="useOptimistic",M(),le(),Yd(e,t)},useMemoCache:function(e){return M(),nl(e)},useHostTransitionStatus:Sn,useCacheRefresh:function(){return j="useCacheRefresh",le(),ut().memoizedState}};var m1={"react-stack-bottom-frame":function(e,t,n){var u=Dn;Dn=!0;try{return e(t,n)}finally{Dn=u}}},Ay=m1["react-stack-bottom-frame"].bind(m1),p1={"react-stack-bottom-frame":function(e){var t=Dn;Dn=!0;try{return e.render()}finally{Dn=t}}},v1=p1["react-stack-bottom-frame"].bind(p1),g1={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){Ue(e,e.return,n)}}},My=g1["react-stack-bottom-frame"].bind(g1),y1={"react-stack-bottom-frame":function(e,t,n,u,c){try{t.componentDidUpdate(n,u,c)}catch(s){Ue(e,e.return,s)}}},b1=y1["react-stack-bottom-frame"].bind(y1),S1={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},$2=S1["react-stack-bottom-frame"].bind(S1),T1={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(u){Ue(e,t,u)}}},x1=T1["react-stack-bottom-frame"].bind(T1),E1={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},J2=E1["react-stack-bottom-frame"].bind(E1),_1={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(u){Ue(e,t,u)}}},K2=_1["react-stack-bottom-frame"].bind(_1),C1={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Ar=C1["react-stack-bottom-frame"].bind(C1),_m=null,Np=0,Fe=null,Ry,A1=Ry=!1,M1={},R1={},D1={};X=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var u=me(e),c=u||"null";if(!M1[c]){M1[c]=!0,n=n._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(c=me(e))&&(s=`
1152
1022
 
1153
- Check the render method of \``+s+"`."),c||u&&(c=`
1023
+ Check the render method of \``+c+"`."),s||u&&(s=`
1154
1024
 
1155
- Check the top-level render call using <`+u+">.");var h="";l!=null&&e!==l&&(u=null,typeof l.tag=="number"?u=me(l):typeof l.name=="string"&&(u=l.name),u&&(h=" It was passed a child from "+u+".")),ye(t,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.',c,h)})}}};var zm=Rf(!0),X1=Rf(!1),tu=_e(null),jo=null,Om=1,j0=2,jn=_e(0),Q1={},Z1=new Set,$1=new Set,J1=new Set,K1=new Set,I1=new Set,W1=new Set,F1=new Set,P1=new Set,eS=new Set,tS=new Set;Object.freeze(Q1);var Ly={enqueueSetState:function(e,t,l){e=e._reactInternals;var u=Cl(e),s=Gl(u);s.payload=t,l!=null&&(ip(l),s.callback=l),t=De(e,s,u),t!==null&&(It(t,e,u),mo(t,e,u)),wl(e,u)},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var u=Cl(e),s=Gl(u);s.tag=S1,s.payload=t,l!=null&&(ip(l),s.callback=l),t=De(e,s,u),t!==null&&(It(t,e,u),mo(t,e,u)),wl(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Cl(e),u=Gl(l);u.tag=T1,t!=null&&(ip(t),u.callback=t),t=De(e,u,l),t!==null&&(It(t,e,l),mo(t,e,l)),he!==null&&typeof he.markForceUpdateScheduled=="function"&&he.markForceUpdateScheduled(e,l)}},qy=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Um=null,Yy=null,nS=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."),Pn=!1,lS={},aS={},iS={},uS={},wm=!1,oS={},Vy={},Gy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},sS=!1,cS=null;cS=new Set;var Ws=!1,bn=!1,jy=!1,rS=typeof WeakSet=="function"?WeakSet:Set,el=null,Hm=null,km=null,Un=null,Ea=!1,Xu=null,X0=8192,AT={getCacheForType:function(e){var t=Et(Vn),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},getOwner:function(){return Kl}};if(typeof Symbol=="function"&&Symbol.for){var Q0=Symbol.for;Q0("selector.component"),Q0("selector.has_pseudo_class"),Q0("selector.role"),Q0("selector.test_id"),Q0("selector.text")}var MT=[],RT=typeof WeakMap=="function"?WeakMap:Map,Fa=0,Pl=2,Qu=4,Fs=0,Z0=1,Bm=2,Xy=3,_d=4,Eg=6,fS=5,Tt=Fa,Ut=null,lt=null,it=0,Ca=0,$0=1,Ad=2,J0=3,dS=4,Qy=5,Nm=6,K0=7,Zy=8,Md=9,At=Ca,Pa=null,zr=!1,Lm=!1,$y=!1,Xo=0,dn=Fs,Or=0,Ur=0,Jy=0,ei=0,Rd=0,I0=null,ea=null,Cg=!1,Ky=0,hS=300,_g=1/0,mS=500,W0=null,wr=null,DT=0,zT=1,OT=2,Dd=0,pS=1,vS=2,gS=3,UT=4,Iy=5,fl=0,Hr=null,qm=null,kr=0,Wy=0,Fy=null,yS=null,wT=50,F0=0,Py=null,eb=!1,Ag=!1,HT=50,zd=0,P0=null,Ym=!1,Mg=null,bS=!1,SS=new Set,kT={},Rg=null,Vm=null,tb=!1,nb=!1,Dg=!1,lb=!1,Od=0,ab={};(function(){for(var e=0;e<Sy.length;e++){var t=Sy[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ml(l,"on"+t)}ml(a1,"onAnimationEnd"),ml(i1,"onAnimationIteration"),ml(u1,"onAnimationStart"),ml("dblclick","onDoubleClick"),ml("focusin","onFocus"),ml("focusout","onBlur"),ml(dT,"onTransitionRun"),ml(hT,"onTransitionStart"),ml(mT,"onTransitionCancel"),ml(o1,"onTransitionEnd")})(),ni("onMouseEnter",["mouseout","mouseover"]),ni("onMouseLeave",["mouseout","mouseover"]),ni("onPointerEnter",["pointerout","pointerover"]),ni("onPointerLeave",["pointerout","pointerover"]),Da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Da("onBeforeInput",["compositionend","keypress","textInput","paste"]),Da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ev="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(" "),ib=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ev)),zg="_reactListening"+Math.random().toString(36).slice(2),TS=!1,xS=!1,Og=!1,ES=!1,Ug=!1,wg=!1,CS=!1,Hg={},BT=/\r\n?/g,NT=/\u0000|\uFFFD/g,Ud="http://www.w3.org/1999/xlink",ub="http://www.w3.org/XML/1998/namespace",LT="javascript:throw new Error('React form unexpectedly submitted.')",qT="suppressHydrationWarning",kg="$",Bg="/$",Ps="$?",tv="$!",YT=1,VT=2,GT=4,ob="F!",_S="F",AS="complete",jT="style",ec=0,Gm=1,Ng=2,sb=null,cb=null,MS={dialog:!0,webview:!0},rb=null,RS=typeof setTimeout=="function"?setTimeout:void 0,XT=typeof clearTimeout=="function"?clearTimeout:void 0,wd=-1,DS=typeof Promise=="function"?Promise:void 0,QT=typeof queueMicrotask=="function"?queueMicrotask:typeof DS<"u"?function(e){return DS.resolve(null).then(e).catch(Qp)}:RS,fb=null,Hd=0,nv=1,zS=2,OS=3,nu=4,lu=new Map,US=new Set,tc=Be.d;Be.d={f:function(){var e=tc.f(),t=Os();return e||t},r:function(e){var t=Xn(e);t!==null&&t.tag===5&&t.type==="form"?np(t):tc.r(e)},D:function(e){tc.D(e),Vv("dns-prefetch",e,null)},C:function(e,t){tc.C(e,t),Vv("preconnect",e,t)},L:function(e,t,l){tc.L(e,t,l);var u=jm;if(u&&e&&t){var s='link[rel="preload"][as="'+Qn(t)+'"]';t==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+Qn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+Qn(l.imageSizes)+'"]')):s+='[href="'+Qn(e)+'"]';var c=s;switch(t){case"style":c=Do(e);break;case"script":c=Ls(e)}lu.has(c)||(e=Ke({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),lu.set(c,e),u.querySelector(s)!==null||t==="style"&&u.querySelector(Gi(c))||t==="script"&&u.querySelector(qs(c))||(t=u.createElement("link"),Ft(t,"link",e),nn(t),u.head.appendChild(t)))}},m:function(e,t){tc.m(e,t);var l=jm;if(l&&e){var u=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Qn(u)+'"][href="'+Qn(e)+'"]',c=s;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ls(e)}if(!lu.has(c)&&(e=Ke({rel:"modulepreload",href:e},t),lu.set(c,e),l.querySelector(s)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(qs(c)))return}u=l.createElement("link"),Ft(u,"link",e),nn(u),l.head.appendChild(u)}}},X:function(e,t){tc.X(e,t);var l=jm;if(l&&e){var u=kl(l).hoistableScripts,s=Ls(e),c=u.get(s);c||(c=l.querySelector(qs(s)),c||(e=Ke({src:e,async:!0},t),(t=lu.get(s))&&Pp(e,t),c=l.createElement("script"),nn(c),Ft(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(s,c))}},S:function(e,t,l){tc.S(e,t,l);var u=jm;if(u&&e){var s=kl(u).hoistableStyles,c=Do(e);t=t||"default";var h=s.get(c);if(!h){var v={loading:Hd,preload:null};if(h=u.querySelector(Gi(c)))v.loading=nv|nu;else{e=Ke({rel:"stylesheet",href:e,"data-precedence":t},l),(l=lu.get(c))&&Fp(e,l);var S=h=u.createElement("link");nn(S),Ft(S,"link",e),S._p=new Promise(function(x,N){S.onload=x,S.onerror=N}),S.addEventListener("load",function(){v.loading|=nv}),S.addEventListener("error",function(){v.loading|=zS}),v.loading|=nu,Zh(h,t,u)}h={type:"stylesheet",instance:h,count:1,state:v},s.set(c,h)}}},M:function(e,t){tc.M(e,t);var l=jm;if(l&&e){var u=kl(l).hoistableScripts,s=Ls(e),c=u.get(s);c||(c=l.querySelector(qs(s)),c||(e=Ke({src:e,async:!0,type:"module"},t),(t=lu.get(s))&&Pp(e,t),c=l.createElement("script"),nn(c),Ft(c,"link",e),l.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(s,c))}}};var jm=typeof document>"u"?null:document,Lg=null,lv=null,db=null,qg=null,kd=cy,av={$$typeof:ba,Provider:null,Consumer:null,_currentValue:kd,_currentValue2:kd,_threadCount:0},wS="%c%s%c ",HS="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",kS="",Yg=" ",ZT=Function.prototype.bind,BS=!1,NS=null,LS=null,qS=null,YS=null,VS=null,GS=null,jS=null,XS=null,QS=null;NS=function(e,t,l,u){t=b(e,t),t!==null&&(l=f(t.memoizedState,l,0,u),t.memoizedState=l,t.baseState=l,e.memoizedProps=Ke({},e.memoizedProps),l=wn(e,2),l!==null&&It(l,e,2))},LS=function(e,t,l){t=b(e,t),t!==null&&(l=T(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=Ke({},e.memoizedProps),l=wn(e,2),l!==null&&It(l,e,2))},qS=function(e,t,l,u){t=b(e,t),t!==null&&(l=p(t.memoizedState,l,u),t.memoizedState=l,t.baseState=l,e.memoizedProps=Ke({},e.memoizedProps),l=wn(e,2),l!==null&&It(l,e,2))},YS=function(e,t,l){e.pendingProps=f(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&It(t,e,2)},VS=function(e,t){e.pendingProps=T(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&It(t,e,2)},GS=function(e,t,l){e.pendingProps=p(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&It(t,e,2)},jS=function(e){var t=wn(e,2);t!==null&&It(t,e,2)},XS=function(e){w=e},QS=function(e){C=e};var Vg=!0,Gg=null,hb=!1,Br=null,Nr=null,Lr=null,iv=new Map,uv=new Map,qr=[],$T="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(" "),jg=null;if(td.prototype.render=Fh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[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()."):ae(l[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 l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var u=t.current,s=Cl(u);St(u,s,l,t,null,null)},td.prototype.unmount=Fh.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Tt&(Pl|Qu))!==Fa&&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."),St(e.current,2,null,e,null,null),Os(),t[No]=null}},td.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xr();e={blockedOn:null,target:e,priority:t};for(var l=0;l<qr.length&&t!==0&&t<qr[l].priority;l++);qr.splice(l,0,e),l===0&&$v(e)}},function(){var e=nd.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
1025
+ Check the top-level render call using <`+u+">.");var h="";n!=null&&e!==n&&(u=null,typeof n.tag=="number"?u=me(n):typeof n.name=="string"&&(u=n.name),u&&(h=" It was passed a child from "+u+".")),ye(t,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.',s,h)})}}};var Cm=Ef(!0),z1=Ef(!1),eu=Ce(null),Vo=null,Am=1,Lp=2,Vl=Ce(0),O1={},U1=new Set,H1=new Set,w1=new Set,B1=new Set,k1=new Set,N1=new Set,L1=new Set,q1=new Set,Y1=new Set,V1=new Set;Object.freeze(O1);var Dy={enqueueSetState:function(e,t,n){e=e._reactInternals;var u=En(e),c=Vn(u);c.payload=t,n!=null&&(e0(n),c.callback=n),t=ze(e,c,u),t!==null&&(Kt(t,e,u),fo(t,e,u)),Un(e,u)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=En(e),c=Vn(u);c.tag=u1,c.payload=t,n!=null&&(e0(n),c.callback=n),t=ze(e,c,u),t!==null&&(Kt(t,e,u),fo(t,e,u)),Un(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=En(e),u=Vn(n);u.tag=o1,t!=null&&(e0(t),u.callback=t),t=ze(e,u,n),t!==null&&(Kt(t,e,n),fo(t,e,n)),he!==null&&typeof he.markForceUpdateScheduled=="function"&&he.markForceUpdateScheduled(e,n)}},zy=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Mm=null,Oy=null,G1=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."),Il=!1,X1={},j1={},Q1={},Z1={},Rm=!1,$1={},Uy={},Hy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},J1=!1,K1=null;K1=new Set;var Jc=!1,gl=!1,wy=!1,W1=typeof WeakSet=="function"?WeakSet:Set,Fl=null,Dm=null,zm=null,zl=null,xa=!1,Gu=null,qp=8192,W2={getCacheForType:function(e){var t=Et(ql),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return Jn}};if(typeof Symbol=="function"&&Symbol.for){var Yp=Symbol.for;Yp("selector.component"),Yp("selector.has_pseudo_class"),Yp("selector.role"),Yp("selector.test_id"),Yp("selector.text")}var I2=[],F2=typeof WeakMap=="function"?WeakMap:Map,Ia=0,Fn=2,Xu=4,Kc=0,Vp=1,Om=2,By=3,Sd=4,pg=6,I1=5,Tt=Ia,Ut=null,nt=null,it=0,Ea=0,Gp=1,Td=2,Xp=3,F1=4,ky=5,Um=6,jp=7,Ny=8,xd=9,At=Ea,Fa=null,Mr=!1,Hm=!1,Ly=!1,Go=0,rl=Kc,Rr=0,Dr=0,qy=0,Pa=0,Ed=0,Qp=null,Pn=null,vg=!1,Yy=0,P1=300,gg=1/0,eS=500,Zp=null,zr=null,P2=0,eT=1,tT=2,_d=0,tS=1,lS=2,nS=3,lT=4,Vy=5,rn=0,Or=null,wm=null,Ur=0,Gy=0,Xy=null,aS=null,nT=50,$p=0,jy=null,Qy=!1,yg=!1,aT=50,Cd=0,Jp=null,Bm=!1,bg=null,iS=!1,uS=new Set,iT={},Sg=null,km=null,Zy=!1,$y=!1,Tg=!1,Jy=!1,Ad=0,Ky={};(function(){for(var e=0;e<fy.length;e++){var t=fy[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),hn(n,"on"+t)}hn(jb,"onAnimationEnd"),hn(Qb,"onAnimationIteration"),hn(Zb,"onAnimationStart"),hn("dblclick","onDoubleClick"),hn("focusin","onFocus"),hn("focusout","onBlur"),hn(k2,"onTransitionRun"),hn(N2,"onTransitionStart"),hn(L2,"onTransitionCancel"),hn($b,"onTransitionEnd")})(),ti("onMouseEnter",["mouseout","mouseover"]),ti("onMouseLeave",["mouseout","mouseover"]),ti("onPointerEnter",["pointerout","pointerover"]),ti("onPointerLeave",["pointerout","pointerover"]),Ra("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ra("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ra("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ra("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ra("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ra("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kp="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(" "),Wy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kp)),xg="_reactListening"+Math.random().toString(36).slice(2),oS=!1,cS=!1,Eg=!1,sS=!1,_g=!1,Cg=!1,rS=!1,Ag={},uT=/\r\n?/g,oT=/\u0000|\uFFFD/g,Md="http://www.w3.org/1999/xlink",Iy="http://www.w3.org/XML/1998/namespace",cT="javascript:throw new Error('React form unexpectedly submitted.')",sT="suppressHydrationWarning",Mg="$",Rg="/$",Wc="$?",Wp="$!",rT=1,fT=2,dT=4,Fy="F!",fS="F",dS="complete",hT="style",Ic=0,Nm=1,Dg=2,Py=null,eb=null,hS={dialog:!0,webview:!0},tb=null,mS=typeof setTimeout=="function"?setTimeout:void 0,mT=typeof clearTimeout=="function"?clearTimeout:void 0,Rd=-1,pS=typeof Promise=="function"?Promise:void 0,pT=typeof queueMicrotask=="function"?queueMicrotask:typeof pS<"u"?function(e){return pS.resolve(null).then(e).catch(Y0)}:mS,lb=null,Dd=0,Ip=1,vS=2,gS=3,tu=4,lu=new Map,yS=new Set,Fc=Ne.d;Ne.d={f:function(){var e=Fc.f(),t=Rc();return e||t},r:function(e){var t=Gl(e);t!==null&&t.tag===5&&t.type==="form"?Im(t):Fc.r(e)},D:function(e){Fc.D(e),Hv("dns-prefetch",e,null)},C:function(e,t){Fc.C(e,t),Hv("preconnect",e,t)},L:function(e,t,n){Fc.L(e,t,n);var u=Lm;if(u&&e&&t){var c='link[rel="preload"][as="'+Xl(t)+'"]';t==="image"&&n&&n.imageSrcSet?(c+='[imagesrcset="'+Xl(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(c+='[imagesizes="'+Xl(n.imageSizes)+'"]')):c+='[href="'+Xl(e)+'"]';var s=c;switch(t){case"style":s=Mo(e);break;case"script":s=Bc(e)}lu.has(s)||(e=Ke({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),lu.set(s,e),u.querySelector(c)!==null||t==="style"&&u.querySelector(Vi(s))||t==="script"&&u.querySelector(kc(s))||(t=u.createElement("link"),It(t,"link",e),tl(t),u.head.appendChild(t)))}},m:function(e,t){Fc.m(e,t);var n=Lm;if(n&&e){var u=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+Xl(u)+'"][href="'+Xl(e)+'"]',s=c;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Bc(e)}if(!lu.has(s)&&(e=Ke({rel:"modulepreload",href:e},t),lu.set(s,e),n.querySelector(c)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(kc(s)))return}u=n.createElement("link"),It(u,"link",e),tl(u),n.head.appendChild(u)}}},X:function(e,t){Fc.X(e,t);var n=Lm;if(n&&e){var u=wn(n).hoistableScripts,c=Bc(e),s=u.get(c);s||(s=n.querySelector(kc(c)),s||(e=Ke({src:e,async:!0},t),(t=lu.get(c))&&J0(e,t),s=n.createElement("script"),tl(s),It(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},u.set(c,s))}},S:function(e,t,n){Fc.S(e,t,n);var u=Lm;if(u&&e){var c=wn(u).hoistableStyles,s=Mo(e);t=t||"default";var h=c.get(s);if(!h){var p={loading:Dd,preload:null};if(h=u.querySelector(Vi(s)))p.loading=Ip|tu;else{e=Ke({rel:"stylesheet",href:e,"data-precedence":t},n),(n=lu.get(s))&&$0(e,n);var b=h=u.createElement("link");tl(b),It(b,"link",e),b._p=new Promise(function(S,N){b.onload=S,b.onerror=N}),b.addEventListener("load",function(){p.loading|=Ip}),b.addEventListener("error",function(){p.loading|=vS}),p.loading|=tu,Vh(h,t,u)}h={type:"stylesheet",instance:h,count:1,state:p},c.set(s,h)}}},M:function(e,t){Fc.M(e,t);var n=Lm;if(n&&e){var u=wn(n).hoistableScripts,c=Bc(e),s=u.get(c);s||(s=n.querySelector(kc(c)),s||(e=Ke({src:e,async:!0,type:"module"},t),(t=lu.get(c))&&J0(e,t),s=n.createElement("script"),tl(s),It(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},u.set(c,s))}}};var Lm=typeof document>"u"?null:document,zg=null,Fp=null,nb=null,Og=null,zd=ey,Pp={$$typeof:ya,Provider:null,Consumer:null,_currentValue:zd,_currentValue2:zd,_threadCount:0},bS="%c%s%c ",SS="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",TS="",Ug=" ",vT=Function.prototype.bind,xS=!1,ES=null,_S=null,CS=null,AS=null,MS=null,RS=null,DS=null,zS=null,OS=null;ES=function(e,t,n,u){t=x(e,t),t!==null&&(n=f(t.memoizedState,n,0,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ke({},e.memoizedProps),n=Ol(e,2),n!==null&&Kt(n,e,2))},_S=function(e,t,n){t=x(e,t),t!==null&&(n=T(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ke({},e.memoizedProps),n=Ol(e,2),n!==null&&Kt(n,e,2))},CS=function(e,t,n,u){t=x(e,t),t!==null&&(n=v(t.memoizedState,n,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Ke({},e.memoizedProps),n=Ol(e,2),n!==null&&Kt(n,e,2))},AS=function(e,t,n){e.pendingProps=f(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ol(e,2),t!==null&&Kt(t,e,2)},MS=function(e,t){e.pendingProps=T(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ol(e,2),t!==null&&Kt(t,e,2)},RS=function(e,t,n){e.pendingProps=v(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ol(e,2),t!==null&&Kt(t,e,2)},DS=function(e){var t=Ol(e,2);t!==null&&Kt(t,e,2)},zS=function(e){w=e},OS=function(e){A=e};var Hg=!0,wg=null,ab=!1,Hr=null,wr=null,Br=null,ev=new Map,tv=new Map,kr=[],gT="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(" "),Bg=null;if(Wf.prototype.render=$h.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):ae(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var u=t.current,c=En(u);St(u,c,n,t,null,null)},Wf.prototype.unmount=$h.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Tt&(Fn|Xu))!==Ia&&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."),St(e.current,2,null,e,null,null),Rc(),t[Bo]=null}},Wf.prototype.unstable_scheduleHydration=function(e){if(e){var t=qr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kr.length&&t!==0&&t<kr[n].priority;n++);kr.splice(n,0,e),n===0&&qv(e)}},function(){var e=If.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
1156
1026
  - react: `+(e+`
1157
1027
  - react-dom: 19.1.0
1158
- 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"),Be.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=xe(t),e=e!==null?Ye(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.1.0"};return e.overrideHookState=NS,e.overrideHookStateDeletePath=LS,e.overrideHookStateRenamePath=qS,e.overrideProps=YS,e.overridePropsDeletePath=VS,e.overridePropsRenamePath=GS,e.scheduleUpdate=jS,e.setErrorHandler=XS,e.setSuspenseHandler=QS,e.scheduleRefresh=se,e.scheduleRoot=oe,e.setRefreshHandler=ue,e.getCurrentFiber=iy,e.getLaneLabelMap=uy,e.injectProfilingHooks=dl,rt(e)}()&&E&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var ZS=window.location.protocol;/^(https?|file):$/.test(ZS)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(ZS==="file:"?`
1159
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Km.createRoot=function(e,t){if(!ae(e))throw Error("Target container is not a DOM element.");Iv(e);var l=!1,u="",s=up,c=_v,h=ih,v=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Uo&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
1028
+ 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"),Ne.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=xe(t),e=e!==null?Ye(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.1.0"};return e.overrideHookState=ES,e.overrideHookStateDeletePath=_S,e.overrideHookStateRenamePath=CS,e.overrideProps=AS,e.overridePropsDeletePath=MS,e.overridePropsRenamePath=RS,e.scheduleUpdate=DS,e.setErrorHandler=zS,e.setSuspenseHandler=OS,e.scheduleRefresh=ce,e.scheduleRoot=oe,e.setRefreshHandler=ue,e.getCurrentFiber=Wg,e.getLaneLabelMap=Ig,e.injectProfilingHooks=fn,rt(e)}()&&E&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var US=window.location.protocol;/^(https?|file):$/.test(US)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(US==="file:"?`
1029
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}jm.createRoot=function(e,t){if(!ae(e))throw Error("Target container is not a DOM element.");Gv(e);var n=!1,u="",c=t0,s=gv,h=eh,p=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===zo&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
1160
1030
 
1161
1031
  let root = createRoot(domContainer);
1162
- root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(v=t.unstable_transitionCallbacks)),t=n0(e,1,!1,null,null,l,u,s,c,h,v,null),e[No]=t.current,Lp(e),new Fh(t)},Km.hydrateRoot=function(e,t,l){if(!ae(e))throw Error("Target container is not a DOM element.");Iv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,s="",c=up,h=_v,v=ih,S=null,x=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(c=l.onUncaughtError),l.onCaughtError!==void 0&&(h=l.onCaughtError),l.onRecoverableError!==void 0&&(v=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(S=l.unstable_transitionCallbacks),l.formState!==void 0&&(x=l.formState)),t=n0(e,1,!0,t,l??null,u,s,c,h,v,S,x),t.context=l0(null),l=t.current,u=Cl(l),u=Bt(u),s=Gl(u),s.callback=null,De(l,s,u),l=u,t.current.lanes=l,tl(t,l),va(t),e[No]=t.current,Lp(e),new td(t)},Km.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Km}var Jb;function Y2(){if(Jb)return Sv.exports;Jb=1;function b(){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(b)}catch(f){console.error(f)}}}return process.env.NODE_ENV==="production"?(b(),Sv.exports=L2()):Sv.exports=q2(),Sv.exports}var V2=Y2();function _a(b){const f=document.createElement("div");return Xg.flushSync(()=>{V2.createRoot(f).render(bv.jsx(bv.Fragment,{children:b}))}),f}const G2=b=>{const f=pt.useRef(null);return pt.useEffect(()=>{const p=f.current;p&&p.onMessageClick(b.onMessageClick)},[b.onMessageClick,f]),pt.useEffect(()=>{const p=f.current;p&&p.onMessageActionClick(b.onMessageActionClick)},[b.onMessageActionClick,f]),pt.useEffect(()=>{const p=f.current;p&&p.onMessageLongPress(b.onMessageLongPress)},[b.onMessageLongPress,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderHeader||queueMicrotask(()=>{p.setHeader(m=>{const T=b.renderHeader(m);return _a(T)})})},[b.renderHeader,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderListItem||queueMicrotask(()=>{p.setListItem(m=>{const T=b.renderListItem(m);return _a(T)})})},[b.renderListItem,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderEmptyState||queueMicrotask(()=>{p.setEmptyState(m=>{const T=b.renderEmptyState(m);return _a(T)})})},[b.renderEmptyState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderLoadingState||queueMicrotask(()=>{p.setLoadingState(m=>{const T=b.renderLoadingState(m);return _a(T)})})},[b.renderLoadingState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderErrorState||queueMicrotask(()=>{p.setErrorState(m=>{const T=b.renderErrorState(m);return _a(T)})})},[b.renderErrorState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPaginationItem||queueMicrotask(()=>{p.setPaginationItem(m=>{const T=b.renderPaginationItem(m);return _a(T)})})},[b.renderPaginationItem,f]),pt.useEffect(()=>{const p=f.current;p&&queueMicrotask(()=>{p.setFeedType(b.feedType||"inbox")})},[b.feedType,f]),bv.jsx("courier-inbox",{ref:f,height:b.height,"light-theme":b.lightTheme?JSON.stringify(b.lightTheme):void 0,"dark-theme":b.darkTheme?JSON.stringify(b.darkTheme):void 0,mode:b.mode})},j2=b=>{const f=pt.useRef(null);return pt.useEffect(()=>{const p=f.current;p&&p.onMessageClick(b.onMessageClick)},[b.onMessageClick,f]),pt.useEffect(()=>{const p=f.current;p&&p.onMessageActionClick(b.onMessageActionClick)},[b.onMessageActionClick,f]),pt.useEffect(()=>{const p=f.current;p&&p.onMessageLongPress(b.onMessageLongPress)},[b.onMessageLongPress,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupHeader||queueMicrotask(()=>{p.setPopupHeader(m=>{const T=b.renderPopupHeader(m);return _a(T)})})},[b.renderPopupHeader,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupListItem||queueMicrotask(()=>{p.setPopupListItem(m=>{const T=b.renderPopupListItem(m);return _a(T)})})},[b.renderPopupListItem,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupEmptyState||queueMicrotask(()=>{p.setPopupEmptyState(m=>{const T=b.renderPopupEmptyState(m);return _a(T)})})},[b.renderPopupEmptyState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupLoadingState||queueMicrotask(()=>{p.setPopupLoadingState(m=>{const T=b.renderPopupLoadingState(m);return _a(T)})})},[b.renderPopupLoadingState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupErrorState||queueMicrotask(()=>{p.setPopupErrorState(m=>{const T=b.renderPopupErrorState(m);return _a(T)})})},[b.renderPopupErrorState,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupPaginationItem||queueMicrotask(()=>{p.setPopupPaginationItem(m=>{const T=b.renderPopupPaginationItem(m);return _a(T)})})},[b.renderPopupPaginationItem,f]),pt.useEffect(()=>{const p=f.current;!p||!b.renderPopupMenuButton||queueMicrotask(()=>{p.setPopupMenuButton(m=>{const T=b.renderPopupMenuButton(m);return _a(T)})})},[b.renderPopupMenuButton,f]),pt.useEffect(()=>{const p=f.current;p&&queueMicrotask(()=>{p.setFeedType(b.feedType||"inbox")})},[b.feedType,f]),bv.jsx("courier-inbox-menu",{ref:f,"popup-alignment":b.popupAlignment,"popup-width":b.popupWidth,"popup-height":b.popupHeight,left:b.left,top:b.top,right:b.right,bottom:b.bottom,"light-theme":b.lightTheme?JSON.stringify(b.lightTheme):void 0,"dark-theme":b.darkTheme?JSON.stringify(b.darkTheme):void 0,mode:b.mode})};Zu.CourierInbox=G2,Zu.CourierInboxMenu=j2,Zu.useCourier=U2,Object.defineProperty(Zu,Symbol.toStringTag,{value:"Module"})});
1032
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(p=t.unstable_transitionCallbacks)),t=I0(e,1,!1,null,null,n,u,c,s,h,p,null),e[Bo]=t.current,H0(e),new $h(t)},jm.hydrateRoot=function(e,t,n){if(!ae(e))throw Error("Target container is not a DOM element.");Gv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,c="",s=t0,h=gv,p=eh,b=null,S=null;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&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(S=n.formState)),t=I0(e,1,!0,t,n??null,u,c,s,h,p,b,S),t.context=F0(null),n=t.current,u=En(n),u=Bt(u),c=Vn(u),c.callback=null,ze(n,c,u),n=u,t.current.lanes=n,Pl(t,n),pa(t),e[Bo]=t.current,H0(e),new Wf(t)},jm.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),jm}var wb;function r2(){if(wb)return dv.exports;wb=1;function x(){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(x)}catch(f){console.error(f)}}}return process.env.NODE_ENV==="production"?(x(),dv.exports=c2()):dv.exports=s2(),dv.exports}var f2=r2();function _a(x){const f=document.createElement("div");return kg.flushSync(()=>{f2.createRoot(f).render(fv.jsx(fv.Fragment,{children:x}))}),f}const d2=x=>{const f=pt.useRef(null);return pt.useEffect(()=>{const v=f.current;v&&v.onMessageClick(x.onMessageClick)},[x.onMessageClick,f]),pt.useEffect(()=>{const v=f.current;v&&v.onMessageActionClick(x.onMessageActionClick)},[x.onMessageActionClick,f]),pt.useEffect(()=>{const v=f.current;v&&v.onMessageLongPress(x.onMessageLongPress)},[x.onMessageLongPress,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderHeader||queueMicrotask(()=>{v.setHeader(m=>{const T=x.renderHeader(m);return _a(T)})})},[x.renderHeader,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderListItem||queueMicrotask(()=>{v.setListItem(m=>{const T=x.renderListItem(m);return _a(T)})})},[x.renderListItem,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderEmptyState||queueMicrotask(()=>{v.setEmptyState(m=>{const T=x.renderEmptyState(m);return _a(T)})})},[x.renderEmptyState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderLoadingState||queueMicrotask(()=>{v.setLoadingState(m=>{const T=x.renderLoadingState(m);return _a(T)})})},[x.renderLoadingState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderErrorState||queueMicrotask(()=>{v.setErrorState(m=>{const T=x.renderErrorState(m);return _a(T)})})},[x.renderErrorState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPaginationItem||queueMicrotask(()=>{v.setPaginationItem(m=>{const T=x.renderPaginationItem(m);return _a(T)})})},[x.renderPaginationItem,f]),pt.useEffect(()=>{const v=f.current;v&&queueMicrotask(()=>{v.setFeedType(x.feedType||"inbox")})},[x.feedType,f]),fv.jsx("courier-inbox",{ref:f,height:x.height,"light-theme":x.lightTheme?JSON.stringify(x.lightTheme):void 0,"dark-theme":x.darkTheme?JSON.stringify(x.darkTheme):void 0,mode:x.mode})},h2=x=>{const f=pt.useRef(null);return pt.useEffect(()=>{const v=f.current;v&&v.onMessageClick(x.onMessageClick)},[x.onMessageClick,f]),pt.useEffect(()=>{const v=f.current;v&&v.onMessageActionClick(x.onMessageActionClick)},[x.onMessageActionClick,f]),pt.useEffect(()=>{const v=f.current;v&&v.onMessageLongPress(x.onMessageLongPress)},[x.onMessageLongPress,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupHeader||queueMicrotask(()=>{v.setPopupHeader(m=>{const T=x.renderPopupHeader(m);return _a(T)})})},[x.renderPopupHeader,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupListItem||queueMicrotask(()=>{v.setPopupListItem(m=>{const T=x.renderPopupListItem(m);return _a(T)})})},[x.renderPopupListItem,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupEmptyState||queueMicrotask(()=>{v.setPopupEmptyState(m=>{const T=x.renderPopupEmptyState(m);return _a(T)})})},[x.renderPopupEmptyState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupLoadingState||queueMicrotask(()=>{v.setPopupLoadingState(m=>{const T=x.renderPopupLoadingState(m);return _a(T)})})},[x.renderPopupLoadingState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupErrorState||queueMicrotask(()=>{v.setPopupErrorState(m=>{const T=x.renderPopupErrorState(m);return _a(T)})})},[x.renderPopupErrorState,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupPaginationItem||queueMicrotask(()=>{v.setPopupPaginationItem(m=>{const T=x.renderPopupPaginationItem(m);return _a(T)})})},[x.renderPopupPaginationItem,f]),pt.useEffect(()=>{const v=f.current;!v||!x.renderPopupMenuButton||queueMicrotask(()=>{v.setPopupMenuButton(m=>{const T=x.renderPopupMenuButton(m);return _a(T)})})},[x.renderPopupMenuButton,f]),pt.useEffect(()=>{const v=f.current;v&&queueMicrotask(()=>{v.setFeedType(x.feedType||"inbox")})},[x.feedType,f]),fv.jsx("courier-inbox-menu",{ref:f,"popup-alignment":x.popupAlignment,"popup-width":x.popupWidth,"popup-height":x.popupHeight,left:x.left,top:x.top,right:x.right,bottom:x.bottom,"light-theme":x.lightTheme?JSON.stringify(x.lightTheme):void 0,"dark-theme":x.darkTheme?JSON.stringify(x.darkTheme):void 0,mode:x.mode})};ju.CourierInbox=d2,ju.CourierInboxMenu=h2,ju.useCourier=l2,Object.defineProperty(ju,Symbol.toStringTag,{value:"Module"})});