@sekyro/elements 0.1.0-rc.17 → 0.1.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cdn/chunks/{capture-session-doc-MGDYUASI-LYQ23KS6.js → capture-session-doc-DFLSX6BB-3ULMTYJH.js} +1 -1
- package/dist/cdn/chunks/chunk-3PBU4237.js +33 -0
- package/dist/cdn/chunks/chunk-4VHWJD57.js +1 -0
- package/dist/cdn/chunks/{chunk-SI6GIBVC.js → chunk-6H2SLOEK.js} +1 -1
- package/dist/cdn/chunks/{chunk-NPTVQXUW.js → chunk-AC45ZP53.js} +1 -1
- package/dist/cdn/chunks/{chunk-2MJOW3FG.js → chunk-CGOCWIXM.js} +1 -1
- package/dist/cdn/chunks/chunk-D7YINY2U.js +3 -0
- package/dist/cdn/chunks/{chunk-E5JQU363.js → chunk-EPMGZQHF.js} +1 -1
- package/dist/cdn/chunks/{chunk-BR5RW4XZ.js → chunk-EXMVZUHU.js} +1 -1
- package/dist/cdn/chunks/{chunk-3S7YMUPU.js → chunk-F4Q2Q4OC.js} +1 -1
- package/dist/cdn/chunks/{chunk-RPMVDYDV.js → chunk-HXD7VO3F.js} +1 -1
- package/dist/cdn/chunks/{chunk-IGZCP7OY.js → chunk-IWZRAEUN.js} +1 -1
- package/dist/cdn/chunks/{chunk-6TIQ2463.js → chunk-IXRKOBFA.js} +1 -1
- package/dist/cdn/chunks/{chunk-Z5QOJL3W.js → chunk-JR4AQLJ2.js} +1 -1
- package/dist/cdn/chunks/{chunk-3DAULGZ2.js → chunk-K2JDLIFO.js} +1 -1
- package/dist/cdn/chunks/{chunk-3APQX7OW.js → chunk-L66SWMJ5.js} +1 -1
- package/dist/cdn/chunks/{chunk-6L4TYBV7.js → chunk-LUO3AZFS.js} +1 -1
- package/dist/cdn/chunks/{chunk-QR7XWTXK.js → chunk-PAU2BFT7.js} +1 -1
- package/dist/cdn/chunks/{chunk-Z6KNLRUW.js → chunk-PLWGAXYM.js} +1 -1
- package/dist/cdn/chunks/{chunk-DHMC5D6M.js → chunk-RTCZJKYC.js} +1 -1
- package/dist/cdn/chunks/{chunk-E5YZMFCZ.js → chunk-WANVL25H.js} +1 -1
- package/dist/cdn/chunks/{chunk-DCTDTKG7.js → chunk-WCEIXBIS.js} +1 -1
- package/dist/cdn/chunks/{chunk-HM65LKWB.js → chunk-YULJCSQ3.js} +1 -1
- package/dist/cdn/chunks/{chunk-PRMQUJTM.js → chunk-ZWP6MDIC.js} +1 -1
- package/dist/cdn/chunks/{create-document-capture-KISF6XD3-R6PFAJU6.js → create-document-capture-4ZOSBL3Y-KLZDMWOQ.js} +1 -1
- package/dist/cdn/chunks/{detector-scanic-JC25DD3A-YZ3NPKMQ.js → detector-scanic-P2RTEQUV-A5WTP2Q7.js} +1 -1
- package/dist/cdn/chunks/document-capture-view-25EASYV7-EUEYS55L.js +1 -0
- package/dist/cdn/chunks/{eid-view-ZM7QAEME-DIL3UVBB.js → eid-view-6DXZ5ELB-ZX35JGDS.js} +1 -1
- package/dist/cdn/chunks/{email-otp-view-EYS26ZZM-UNGUBHFI.js → email-otp-view-3UJPJOQ6-MIOPWSME.js} +1 -1
- package/dist/cdn/chunks/flow-views-ZVDXJZWH-C5ZVKCB6.js +1 -0
- package/dist/cdn/chunks/{form-view-Y5KA6R5T-KUDCNJNS.js → form-view-4NKEHYNF-I25LMP47.js} +1 -1
- package/dist/cdn/chunks/overlay-de-64ABPD3N-KIBBQI36.js +1 -0
- package/dist/cdn/chunks/overlay-es-VIMXYK2Q-KTLONTNF.js +1 -0
- package/dist/cdn/chunks/overlay-pt-3IBDZBAW-DQTJHDLG.js +1 -0
- package/dist/cdn/chunks/plan-runner-3BLEJWHF-3K3RBXJU.js +1 -0
- package/dist/cdn/chunks/{portrait-capture-view-E5LKQQ5Y-3HNPCMBJ.js → portrait-capture-view-QDUJ36UH-GRTZTYTJ.js} +1 -1
- package/dist/cdn/chunks/{portrait-review-view-NJHH2E4W-B3RFT2PG.js → portrait-review-view-LW5DBF3L-K7WAOPAG.js} +1 -1
- package/dist/cdn/chunks/{proof-of-address-view-LS3JZUTD-MDTXER25.js → proof-of-address-view-E6WJTTIV-7ISFWEEZ.js} +1 -1
- package/dist/cdn/define.js +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/{chunk-AJHRPKD4.js → chunk-57MVUXQ6.js} +1 -1
- package/dist/{chunk-MWTOWGEI.js → chunk-5QJOJLKJ.js} +1 -1
- package/dist/{chunk-2WYXQYNY.js → chunk-6FAODASF.js} +1 -1
- package/dist/{chunk-D3TZZ4SI.js → chunk-7XJHQ3NM.js} +1 -1
- package/dist/{chunk-WLCS5VAA.js → chunk-BRS7YLGB.js} +1 -1
- package/dist/{chunk-5NSMKCTW.js → chunk-CY66YE6F.js} +1 -1
- package/dist/{chunk-VJZANYM3.js → chunk-KYDIB6KR.js} +1 -1
- package/dist/chunk-M7HNWDQD.js +1 -0
- package/dist/{chunk-6NNMOFMF.js → chunk-PKK72TVJ.js} +1 -1
- package/dist/{chunk-ICJ544T4.js → chunk-QNK7OBIW.js} +1 -1
- package/dist/chunk-RPA5QQVH.js +33 -0
- package/dist/{chunk-734Y6RUV.js → chunk-SVGBNMXK.js} +1 -1
- package/dist/{chunk-YVGOUZ7T.js → chunk-VBJ4CJHE.js} +1 -1
- package/dist/{chunk-ZUFN5VIE.js → chunk-XQPY6G2B.js} +1 -1
- package/dist/define.cjs +5 -5
- package/dist/define.js +1 -1
- package/dist/document-capture-view-25EASYV7-MOFQVGV6.js +1 -0
- package/dist/{eid-view-ZM7QAEME-7FRC3TV6.js → eid-view-6DXZ5ELB-XDQVFDXS.js} +1 -1
- package/dist/{email-otp-view-EYS26ZZM-EESWRHKM.js → email-otp-view-3UJPJOQ6-5PQM7LNW.js} +1 -1
- package/dist/flow-views-ZVDXJZWH-LOGNCRIA.js +1 -0
- package/dist/{form-view-Y5KA6R5T-DOZFYGBK.js → form-view-4NKEHYNF-VFMN6QFW.js} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/overlay-de-64ABPD3N-ARJE63WR.js +1 -0
- package/dist/overlay-es-VIMXYK2Q-JRHIX3OT.js +1 -0
- package/dist/overlay-pt-3IBDZBAW-JXQE6BVY.js +1 -0
- package/dist/{portrait-capture-view-E5LKQQ5Y-E3BRULLL.js → portrait-capture-view-QDUJ36UH-QZR4O3YW.js} +1 -1
- package/dist/{portrait-review-view-NJHH2E4W-CKMVD7ME.js → portrait-review-view-LW5DBF3L-QVERJXKH.js} +1 -1
- package/dist/{proof-of-address-view-LS3JZUTD-ZQ4BDFNP.js → proof-of-address-view-E6WJTTIV-4SHZIQ3O.js} +1 -1
- package/package.json +2 -2
- package/sbom.cdx.json +4 -4
- package/dist/cdn/chunks/chunk-4RGDPCRE.js +0 -33
- package/dist/cdn/chunks/chunk-BDRBGJA3.js +0 -3
- package/dist/cdn/chunks/chunk-Q7ACZDU4.js +0 -1
- package/dist/cdn/chunks/document-capture-view-7ZSM7YTT-UHYBVOQI.js +0 -1
- package/dist/cdn/chunks/flow-views-7SAYQQ62-2TENAJ6C.js +0 -1
- package/dist/cdn/chunks/overlay-de-4OISTBDL-WWT74VG7.js +0 -1
- package/dist/cdn/chunks/overlay-es-YO5UCAO2-U3OAELIS.js +0 -1
- package/dist/cdn/chunks/overlay-pt-E7PSFLLQ-ZPN4CLS4.js +0 -1
- package/dist/cdn/chunks/plan-runner-NWK4LZFI-CDXUYVEW.js +0 -1
- package/dist/chunk-2EMXU2MG.js +0 -33
- package/dist/chunk-XI37ATRU.js +0 -1
- package/dist/document-capture-view-7ZSM7YTT-GLHWVI3B.js +0 -1
- package/dist/flow-views-7SAYQQ62-3NIWXTDB.js +0 -1
- package/dist/overlay-de-4OISTBDL-TH46LT3S.js +0 -1
- package/dist/overlay-es-YO5UCAO2-NBICE576.js +0 -1
- package/dist/overlay-pt-E7PSFLLQ-NCA5NABT.js +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import{a as Or,b as Ur,d as Dr,e as Cr}from"./chunk-DCTDTKG7.js";import{a as pr,b as gr,c as Ic,d as br,e as Sr,f as zr,g as Tr,h as Ar,i as Er,j as Nr,k as _r}from"./chunk-Z5QOJL3W.js";import{a as kr,b as Hr,c as Br}from"./chunk-2MJOW3FG.js";import{a as qn}from"./chunk-HM65LKWB.js";import{b as Pc,c as Cl}from"./chunk-Q7ACZDU4.js";import{a as yr}from"./chunk-PRMQUJTM.js";import{a as pv,c as fr}from"./chunk-E5JQU363.js";import{a as vr}from"./chunk-BR5RW4XZ.js";import{a as lr,b as tr,c as er,d as Kc,e as Pe,f as Wu,g as ar,h as nr}from"./chunk-BDRBGJA3.js";import{a as Ca,b as kl,c as Mr}from"./chunk-SI6GIBVC.js";import{a as Pu}from"./chunk-3DAULGZ2.js";import{A as wc,B as Iu,C as Wc,D as rr,F as Fc,G as dr,H as mr,J as hr,K as El,L as $c,a as zl,b as Vl,c as cl,k as Jc,p as ur,q as ir,r as cr,t as Fu,u as $u,v as zt,w as la,x as or,y as ta,z as sr}from"./chunk-Z6KNLRUW.js";import{a as T}from"./chunk-5QL6W6FW.js";import{a as i,b as wu,c as Q,d as Ps,e as H,f as hl,g as yl,h as X}from"./chunk-4FHWXBOB.js";var Kd=wu(fl=>{"use strict";function Tf(l,t){var e=l.length;l.push(t);l:for(;0<e;){var a=e-1>>>1,n=l[a];if(0<oi(n,t))l[a]=t,l[e]=n,e=a;else break l}}i(Tf,"push");function Ht(l){return l.length===0?null:l[0]}i(Ht,"peek");function ri(l){if(l.length===0)return null;var t=l[0],e=l.pop();if(e!==t){l[0]=e;l:for(var a=0,n=l.length,u=n>>>1;a<u;){var c=2*(a+1)-1,f=l[c],o=c+1,s=l[o];if(0>oi(f,e))o<n&&0>oi(s,f)?(l[a]=s,l[o]=e,a=o):(l[a]=f,l[c]=e,a=c);else if(o<n&&0>oi(s,e))l[a]=s,l[o]=e,a=o;else break l}}return t}i(ri,"pop");function oi(l,t){var e=l.sortIndex-t.sortIndex;return e!==0?e:l.id-t.id}i(oi,"compare");fl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Rd=performance,fl.unstable_now=function(){return Rd.now()}):(bf=Date,Yd=bf.now(),fl.unstable_now=function(){return bf.now()-Yd});var Rd,bf,Yd,Zt=[],be=[],Lv=1,st=null,Ql=3,Af=!1,Vn=!1,Qn=!1,Ef=!1,Qd=typeof setTimeout=="function"?setTimeout:null,Xd=typeof clearTimeout=="function"?clearTimeout:null,Gd=typeof setImmediate<"u"?setImmediate:null;function si(l){for(var t=Ht(be);t!==null;){if(t.callback===null)ri(be);else if(t.startTime<=l)ri(be),t.sortIndex=t.expirationTime,Tf(Zt,t);else break;t=Ht(be)}}i(si,"advanceTimers");function Nf(l){if(Qn=!1,si(l),!Vn)if(Ht(Zt)!==null)Vn=!0,Ra||(Ra=!0,qa());else{var t=Ht(be);t!==null&&_f(Nf,t.startTime-l)}}i(Nf,"handleTimeout");var Ra=!1,Xn=-1,jd=5,Ld=-1;function Zd(){return Ef?!0:!(fl.unstable_now()-Ld<jd)}i(Zd,"shouldYieldToHost");function Sf(){if(Ef=!1,Ra){var l=fl.unstable_now();Ld=l;var t=!0;try{l:{Vn=!1,Qn&&(Qn=!1,Xd(Xn),Xn=-1),Af=!0;var e=Ql;try{t:{for(si(l),st=Ht(Zt);st!==null&&!(st.expirationTime>l&&Zd());){var a=st.callback;if(typeof a=="function"){st.callback=null,Ql=st.priorityLevel;var n=a(st.expirationTime<=l);if(l=fl.unstable_now(),typeof n=="function"){st.callback=n,si(l),t=!0;break t}st===Ht(Zt)&&ri(Zt),si(l)}else ri(Zt);st=Ht(Zt)}if(st!==null)t=!0;else{var u=Ht(be);u!==null&&_f(Nf,u.startTime-l),t=!1}}break l}finally{st=null,Ql=e,Af=!1}t=void 0}}finally{t?qa():Ra=!1}}}i(Sf,"performWorkUntilDeadline");var qa;typeof Gd=="function"?qa=i(function(){Gd(Sf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(zf=new MessageChannel,Vd=zf.port2,zf.port1.onmessage=Sf,qa=i(function(){Vd.postMessage(null)},"schedulePerformWorkUntilDeadline")):qa=i(function(){Qd(Sf,0)},"schedulePerformWorkUntilDeadline");var zf,Vd;function _f(l,t){Xn=Qd(function(){l(fl.unstable_now())},t)}i(_f,"requestHostTimeout");fl.unstable_IdlePriority=5;fl.unstable_ImmediatePriority=1;fl.unstable_LowPriority=4;fl.unstable_NormalPriority=3;fl.unstable_Profiling=null;fl.unstable_UserBlockingPriority=2;fl.unstable_cancelCallback=function(l){l.callback=null};fl.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):jd=0<l?Math.floor(1e3/l):5};fl.unstable_getCurrentPriorityLevel=function(){return Ql};fl.unstable_next=function(l){switch(Ql){case 1:case 2:case 3:var t=3;break;default:t=Ql}var e=Ql;Ql=t;try{return l()}finally{Ql=e}};fl.unstable_requestPaint=function(){Ef=!0};fl.unstable_runWithPriority=function(l,t){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var e=Ql;Ql=l;try{return t()}finally{Ql=e}};fl.unstable_scheduleCallback=function(l,t,e){var a=fl.unstable_now();switch(typeof e=="object"&&e!==null?(e=e.delay,e=typeof e=="number"&&0<e?a+e:a):e=a,l){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=e+n,l={id:Lv++,callback:t,priorityLevel:l,startTime:e,expirationTime:n,sortIndex:-1},e>a?(l.sortIndex=e,Tf(be,l),Ht(Zt)===null&&l===Ht(be)&&(Qn?(Xd(Xn),Xn=-1):Qn=!0,_f(Nf,e-a))):(l.sortIndex=n,Tf(Zt,l),Vn||Af||(Vn=!0,Ra||(Ra=!0,qa()))),l};fl.unstable_shouldYield=Zd;fl.unstable_wrapCallback=function(l){var t=Ql;return function(){var e=Ql;Ql=t;try{return l.apply(this,arguments)}finally{Ql=e}}}});var wd=wu((ub,Jd)=>{"use strict";Jd.exports=Kd()});var iv=wu(qc=>{"use strict";var Al=wd(),Sh=zl(),Zv=pv();function b(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(b,"formatProdErrorMessage");function zh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(zh,"isValidContainer");function Ou(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}i(Ou,"getNearestMountedFiber");function Th(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}i(Th,"getSuspenseInstanceFromFiber");function Ah(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}i(Ah,"getActivityInstanceFromFiber");function Wd(l){if(Ou(l)!==l)throw Error(b(188))}i(Wd,"assertIsMounted");function Kv(l){var t=l.alternate;if(!t){if(t=Ou(l),t===null)throw Error(b(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return Wd(n),l;if(u===a)return Wd(n),t;u=u.sibling}throw Error(b(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===e){c=!0,e=n,a=u;break}if(f===a){c=!0,a=n,e=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===e){c=!0,e=u,a=n;break}if(f===a){c=!0,a=u,e=n;break}f=f.sibling}if(!c)throw Error(b(189))}}if(e.alternate!==a)throw Error(b(190))}if(e.tag!==3)throw Error(b(188));return e.stateNode.current===e?l:t}i(Kv,"findCurrentFiberUsingSlowPath");function Eh(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=Eh(l),t!==null)return t;l=l.sibling}return null}i(Eh,"findCurrentHostFiberImpl");var ul=Object.assign,Jv=Symbol.for("react.element"),di=Symbol.for("react.transitional.element"),Fn=Symbol.for("react.portal"),ja=Symbol.for("react.fragment"),Nh=Symbol.for("react.strict_mode"),io=Symbol.for("react.profiler"),_h=Symbol.for("react.consumer"),Pt=Symbol.for("react.context"),es=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),as=Symbol.for("react.memo"),Se=Symbol.for("react.lazy");Symbol.for("react.scope");var oo=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var wv=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var Fd=Symbol.iterator;function jn(l){return l===null||typeof l!="object"?null:(l=Fd&&l[Fd]||l["@@iterator"],typeof l=="function"?l:null)}i(jn,"getIteratorFn");var Wv=Symbol.for("react.client.reference");function so(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Wv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ja:return"Fragment";case io:return"Profiler";case Nh:return"StrictMode";case co:return"Suspense";case fo:return"SuspenseList";case oo:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Fn:return"Portal";case Pt:return l.displayName||"Context";case _h:return(l._context.displayName||"Context")+".Consumer";case es:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case as:return t=l.displayName||null,t!==null?t:so(l.type)||"Memo";case Se:t=l._payload,l=l._init;try{return so(l(t))}catch{}}return null}i(so,"getComponentNameFromType");var $n=Array.isArray,k=Sh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Zv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fa={pending:!1,data:null,method:null,action:null},ro=[],La=-1;function Yt(l){return{current:l}}i(Yt,"createCursor");function Ul(l){0>La||(l.current=ro[La],ro[La]=null,La--)}i(Ul,"pop");function tl(l,t){La++,ro[La]=l.current,l.current=t}i(tl,"push");var Rt=Yt(null),hu=Yt(null),Ce=Yt(null),Zi=Yt(null);function Ki(l,t){switch(tl(Ce,t),tl(hu,l),tl(Rt,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?ah(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=ah(t),l=Ky(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ul(Rt),tl(Rt,l)}i(Ki,"pushHostContainer");function on(){Ul(Rt),Ul(hu),Ul(Ce)}i(on,"popHostContainer");function mo(l){l.memoizedState!==null&&tl(Zi,l);var t=Rt.current,e=Ky(t,l.type);t!==e&&(tl(hu,l),tl(Rt,e))}i(mo,"pushHostContext");function Ji(l){hu.current===l&&(Ul(Rt),Ul(hu)),Zi.current===l&&(Ul(Zi),Nu._currentValue=fa)}i(Ji,"popHostContext");var Mf,$d;function na(l){if(Mf===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Mf=t&&t[1]||"",$d=-1<e.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+Mf+l+$d}i(na,"describeBuiltInComponentFrame");var Of=!1;function Uf(l,t){if(!l||Of)return"";Of=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:i(function(){try{if(t){var p=i(function(){throw Error()},"Fake");if(Object.defineProperty(p.prototype,"props",{set:i(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(m){var h=m}Reflect.construct(l,[],p)}else{try{p.call()}catch(m){h=m}l.call(p.prototype)}}else{try{throw Error()}catch(m){h=m}(p=l())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(m){if(m&&h&&typeof m.stack=="string")return[m.stack,h.stack]}return[null,null]},"DetermineComponentFrameRoot")};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var o=c.split(`
|
|
4
|
-
`),s=f.split(`
|
|
5
|
-
`);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===s.length)for(a=o.length-1,n=s.length-1;1<=a&&0<=n&&o[a]!==s[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==s[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==s[n]){var v=`
|
|
6
|
-
`+o[a].replace(" at new "," at ");return l.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",l.displayName)),v}while(1<=a&&0<=n);break}}}finally{Of=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?na(e):""}i(Uf,"describeNativeComponentFrame");function Fv(l,t){switch(l.tag){case 26:case 27:case 5:return na(l.type);case 16:return na("Lazy");case 13:return l.child!==t&&t!==null?na("Suspense Fallback"):na("Suspense");case 19:return na("SuspenseList");case 0:case 15:return Uf(l.type,!1);case 11:return Uf(l.type.render,!1);case 1:return Uf(l.type,!0);case 31:return na("Activity");default:return""}}i(Fv,"describeFiber");function Id(l){try{var t="",e=null;do t+=Fv(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
|
|
7
|
-
Error generating stack: `+a.message+`
|
|
8
|
-
`+a.stack}}i(Id,"getStackByFiberInDevAndProd");var ho=Object.prototype.hasOwnProperty,ns=Al.unstable_scheduleCallback,Df=Al.unstable_cancelCallback,$v=Al.unstable_shouldYield,Iv=Al.unstable_requestPaint,et=Al.unstable_now,Pv=Al.unstable_getCurrentPriorityLevel,Mh=Al.unstable_ImmediatePriority,Oh=Al.unstable_UserBlockingPriority,wi=Al.unstable_NormalPriority,l1=Al.unstable_LowPriority,Uh=Al.unstable_IdlePriority,t1=Al.log,e1=Al.unstable_setDisableYieldValue,Uu=null,at=null;function _e(l){if(typeof t1=="function"&&e1(l),at&&typeof at.setStrictMode=="function")try{at.setStrictMode(Uu,l)}catch{}}i(_e,"setIsStrictModeForDevtools");var nt=Math.clz32?Math.clz32:u1,a1=Math.log,n1=Math.LN2;function u1(l){return l>>>=0,l===0?32:31-(a1(l)/n1|0)|0}i(u1,"clz32Fallback");var mi=256,hi=262144,yi=4194304;function ua(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}i(ua,"getHighestPriorityLanes");function Sc(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=ua(a):(c&=f,c!==0?n=ua(c):e||(e=f&~l,e!==0&&(n=ua(e))))):(f=a&~u,f!==0?n=ua(f):c!==0?n=ua(c):e||(e=a&~l,e!==0&&(n=ua(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}i(Sc,"getNextLanes");function Du(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}i(Du,"checkIfRootIsPrerendering");function i1(l,t){switch(l){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-1}}i(i1,"computeExpirationTime");function Dh(){var l=yi;return yi<<=1,(yi&62914560)===0&&(yi=4194304),l}i(Dh,"claimNextRetryLane");function Cf(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}i(Cf,"createLaneMap");function Cu(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Cu,"markRootUpdated$1");function c1(l,t,e,a,n,u){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var f=l.entanglements,o=l.expirationTimes,s=l.hiddenUpdates;for(e=c&~e;0<e;){var v=31-nt(e),p=1<<v;f[v]=0,o[v]=-1;var h=s[v];if(h!==null)for(s[v]=null,v=0;v<h.length;v++){var m=h[v];m!==null&&(m.lane&=-536870913)}e&=~p}a!==0&&Ch(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~t))}i(c1,"markRootFinished");function Ch(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-nt(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}i(Ch,"markSpawnedDeferredLane");function kh(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-nt(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}i(kh,"markRootEntangled");function Hh(l,t){var e=t&-t;return e=(e&42)!==0?1:us(e),(e&(l.suspendedLanes|t))!==0?0:e}i(Hh,"getBumpedLaneForHydration");function us(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}i(us,"getBumpedLaneForHydrationByLane");function is(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(is,"lanesToEventPriority");function Bh(){var l=Z.p;return l!==0?l:(l=window.event,l===void 0?32:av(l.type))}i(Bh,"resolveUpdatePriority");function Pd(l,t){var e=Z.p;try{return Z.p=l,t()}finally{Z.p=e}}i(Pd,"runWithPriority");var Le=Math.random().toString(36).slice(2),ql="__reactFiber$"+Le,Fl="__reactProps$"+Le,Sn="__reactContainer$"+Le,yo="__reactEvents$"+Le,f1="__reactListeners$"+Le,o1="__reactHandles$"+Le,lm="__reactResources$"+Le,ku="__reactMarker$"+Le;function cs(l){delete l[ql],delete l[Fl],delete l[yo],delete l[f1],delete l[o1]}i(cs,"detachDeletedInstance");function Za(l){var t=l[ql];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Sn]||e[ql]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=fh(l);l!==null;){if(e=l[ql])return e;l=fh(l)}return t}l=e,e=l.parentNode}return null}i(Za,"getClosestInstanceFromNode");function zn(l){if(l=l[ql]||l[Sn]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}i(zn,"getInstanceFromNode");function In(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(b(33))}i(In,"getNodeFromInstance");function tn(l){var t=l[lm];return t||(t=l[lm]={hoistableStyles:new Map,hoistableScripts:new Map}),t}i(tn,"getResourcesFromRoot");function Ol(l){l[ku]=!0}i(Ol,"markNodeAsHoistable");var xh=new Set,qh={};function ga(l,t){sn(l,t),sn(l+"Capture",t)}i(ga,"registerTwoPhaseEvent");function sn(l,t){for(qh[l]=t,l=0;l<t.length;l++)xh.add(t[l])}i(sn,"registerDirectEvent");var s1=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]*$"),tm={},em={};function r1(l){return ho.call(em,l)?!0:ho.call(tm,l)?!1:s1.test(l)?em[l]=!0:(tm[l]=!0,!1)}i(r1,"isAttributeNameSafe");function Di(l,t,e){if(r1(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}i(Di,"setValueForAttribute");function vi(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}i(vi,"setValueForKnownAttribute");function Kt(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}i(Kt,"setValueForNamespacedAttribute");function dt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(dt,"getToStringValue");function Rh(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}i(Rh,"isCheckable");function d1(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:i(function(){return n.call(this)},"get"),set:i(function(c){e=""+c,u.call(this,c)},"set")}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:i(function(){return e},"getValue"),setValue:i(function(c){e=""+c},"setValue"),stopTracking:i(function(){l._valueTracker=null,delete l[t]},"stopTracking")}}}i(d1,"trackValueOnNode");function vo(l){if(!l._valueTracker){var t=Rh(l)?"checked":"value";l._valueTracker=d1(l,t,""+l[t])}}i(vo,"track");function Yh(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Rh(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}i(Yh,"updateValueIfChanged");function Wi(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}}i(Wi,"getActiveElement");var m1=/[\n"\\]/g;function yt(l){return l.replace(m1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}i(yt,"escapeSelectorAttributeValueInsideDoubleQuotes");function po(l,t,e,a,n,u,c,f){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+dt(t)):l.value!==""+dt(t)&&(l.value=""+dt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?go(l,c,dt(t)):e!=null?go(l,c,dt(e)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.name=""+dt(f):l.removeAttribute("name")}i(po,"updateInput");function Gh(l,t,e,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){vo(l);return}e=e!=null?""+dt(e):"",t=t!=null?""+dt(t):e,f||t===l.value||(l.value=t),l.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=f?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),vo(l)}i(Gh,"initInput");function go(l,t,e){t==="number"&&Wi(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}i(go,"setDefaultValue");function en(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+dt(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}i(en,"updateOptions");function Vh(l,t,e){if(t!=null&&(t=""+dt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+dt(e):""}i(Vh,"updateTextarea");function Qh(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(b(92));if($n(a)){if(1<a.length)throw Error(b(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=dt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),vo(l)}i(Qh,"initTextarea");function rn(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}i(rn,"setTextContent");var h1=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 am(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||h1.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}i(am,"setValueForStyle");function Xh(l,t,e){if(t!=null&&typeof t!="object")throw Error(b(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&am(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&am(l,u,t[u])}i(Xh,"setValueForStyles");function fs(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}}i(fs,"isCustomElement");var y1=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"]]),v1=/^[\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 Ci(l){return v1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(Ci,"sanitizeURL");function le(){}i(le,"noop$1");var bo=null;function os(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(os,"getEventTarget");var Ka=null,an=null;function nm(l){var t=zn(l);if(t&&(l=t.stateNode)){var e=l[Fl]||null;l:switch(l=t.stateNode,t.type){case"input":if(po(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+yt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[Fl]||null;if(!n)throw Error(b(90));po(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&Yh(a)}break l;case"textarea":Vh(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&en(l,!!e.multiple,t,!1)}}}i(nm,"restoreStateOfTarget");var kf=!1;function jh(l,t,e){if(kf)return l(t,e);kf=!0;try{var a=l(t);return a}finally{if(kf=!1,(Ka!==null||an!==null)&&(kc(),Ka&&(t=Ka,l=an,an=Ka=null,nm(t),l)))for(t=0;t<l.length;t++)nm(l[t])}}i(jh,"batchedUpdates$1");function yu(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Fl]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(b(231,t,typeof e));return e}i(yu,"getListener");var ue=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),So=!1;if(ue)try{Ya={},Object.defineProperty(Ya,"passive",{get:i(function(){So=!0},"get")}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{So=!1}var Ya,Me=null,ss=null,ki=null;function Lh(){if(ki)return ki;var l,t=ss,e=t.length,a,n="value"in Me?Me.value:Me.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===n[u-a];a++);return ki=n.slice(l,1<a?1-a:void 0)}i(Lh,"getData");function Hi(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}i(Hi,"getEventCharCode");function pi(){return!0}i(pi,"functionThatReturnsTrue");function um(){return!1}i(um,"functionThatReturnsFalse");function $l(l){function t(e,a,n,u,c){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in l)l.hasOwnProperty(f)&&(e=l[f],this[f]=e?e(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?pi:um,this.isPropagationStopped=um,this}return i(t,"SyntheticBaseEvent"),ul(t.prototype,{preventDefault:i(function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=pi)},"preventDefault"),stopPropagation:i(function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=pi)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:pi}),t}i($l,"createSyntheticEvent");var ba={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},zc=$l(ba),Hu=ul({},ba,{view:0,detail:0}),p1=$l(Hu),Hf,Bf,Ln,Tc=ul({},Hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rs,button:0,buttons:0,relatedTarget:i(function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},"relatedTarget"),movementX:i(function(l){return"movementX"in l?l.movementX:(l!==Ln&&(Ln&&l.type==="mousemove"?(Hf=l.screenX-Ln.screenX,Bf=l.screenY-Ln.screenY):Bf=Hf=0,Ln=l),Hf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:Bf},"movementY")}),im=$l(Tc),g1=ul({},Tc,{dataTransfer:0}),b1=$l(g1),S1=ul({},Hu,{relatedTarget:0}),xf=$l(S1),z1=ul({},ba,{animationName:0,elapsedTime:0,pseudoElement:0}),T1=$l(z1),A1=ul({},ba,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),E1=$l(A1),N1=ul({},ba,{data:0}),cm=$l(N1),_1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M1={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"},O1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U1(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=O1[l])?!!t[l]:!1}i(U1,"modifierStateGetter");function rs(){return U1}i(rs,"getEventModifierState");var D1=ul({},Hu,{key:i(function(l){if(l.key){var t=_1[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Hi(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?M1[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rs,charCode:i(function(l){return l.type==="keypress"?Hi(l):0},"charCode"),keyCode:i(function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"keyCode"),which:i(function(l){return l.type==="keypress"?Hi(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),C1=$l(D1),k1=ul({},Tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fm=$l(k1),H1=ul({},Hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rs}),B1=$l(H1),x1=ul({},ba,{propertyName:0,elapsedTime:0,pseudoElement:0}),q1=$l(x1),R1=ul({},Tc,{deltaX:i(function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},"deltaX"),deltaY:i(function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),Y1=$l(R1),G1=ul({},ba,{newState:0,oldState:0}),V1=$l(G1),Q1=[9,13,27,32],ds=ue&&"CompositionEvent"in window,tu=null;ue&&"documentMode"in document&&(tu=document.documentMode);var X1=ue&&"TextEvent"in window&&!tu,Zh=ue&&(!ds||tu&&8<tu&&11>=tu),om=" ",sm=!1;function Kh(l,t){switch(l){case"keyup":return Q1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i(Kh,"isFallbackCompositionEnd");function Jh(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(Jh,"getDataFromCustomEvent");var Ja=!1;function j1(l,t){switch(l){case"compositionend":return Jh(t);case"keypress":return t.which!==32?null:(sm=!0,om);case"textInput":return l=t.data,l===om&&sm?null:l;default:return null}}i(j1,"getNativeBeforeInputChars");function L1(l,t){if(Ja)return l==="compositionend"||!ds&&Kh(l,t)?(l=Lh(),ki=ss=Me=null,Ja=!1,l):null;switch(l){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 Zh&&t.locale!=="ko"?null:t.data;default:return null}}i(L1,"getFallbackBeforeInputChars");var Z1={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 rm(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Z1[l.type]:t==="textarea"}i(rm,"isTextInputElement");function wh(l,t,e,a){Ka?an?an.push(a):an=[a]:Ka=a,t=mc(t,"onChange"),0<t.length&&(e=new zc("onChange","change",null,e,a),l.push({event:e,listeners:t}))}i(wh,"createAndAccumulateChangeEvent");var eu=null,vu=null;function K1(l){jy(l,0)}i(K1,"runEventInBatch");function Ac(l){var t=In(l);if(Yh(t))return l}i(Ac,"getInstIfValueChanged");function dm(l,t){if(l==="change")return t}i(dm,"getTargetInstForChangeEvent");var Wh=!1;ue&&(ue?(bi="oninput"in document,bi||(qf=document.createElement("div"),qf.setAttribute("oninput","return;"),bi=typeof qf.oninput=="function"),gi=bi):gi=!1,Wh=gi&&(!document.documentMode||9<document.documentMode));var gi,bi,qf;function mm(){eu&&(eu.detachEvent("onpropertychange",Fh),vu=eu=null)}i(mm,"stopWatchingForValueChange");function Fh(l){if(l.propertyName==="value"&&Ac(vu)){var t=[];wh(t,vu,l,os(l)),jh(K1,t)}}i(Fh,"handlePropertyChange");function J1(l,t,e){l==="focusin"?(mm(),eu=t,vu=e,eu.attachEvent("onpropertychange",Fh)):l==="focusout"&&mm()}i(J1,"handleEventsForInputEventPolyfill");function w1(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ac(vu)}i(w1,"getTargetInstForInputEventPolyfill");function W1(l,t){if(l==="click")return Ac(t)}i(W1,"getTargetInstForClickEvent");function F1(l,t){if(l==="input"||l==="change")return Ac(t)}i(F1,"getTargetInstForInputOrChangeEvent");function $1(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}i($1,"is");var it=typeof Object.is=="function"?Object.is:$1;function pu(l,t){if(it(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!ho.call(t,n)||!it(l[n],t[n]))return!1}return!0}i(pu,"shallowEqual");function hm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(hm,"getLeafNode");function ym(l,t){var e=hm(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=hm(e)}}i(ym,"getNodeForCharacterOffset");function $h(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?$h(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}i($h,"containsNode");function Ih(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Wi(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Wi(l.document)}return t}i(Ih,"getActiveElementDeep");function ms(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}i(ms,"hasSelectionCapabilities");var I1=ue&&"documentMode"in document&&11>=document.documentMode,wa=null,zo=null,au=null,To=!1;function vm(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;To||wa==null||wa!==Wi(a)||(a=wa,"selectionStart"in a&&ms(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),au&&pu(au,a)||(au=a,a=mc(zo,"onSelect"),0<a.length&&(t=new zc("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=wa)))}i(vm,"constructSelectEvent");function aa(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}i(aa,"makePrefixMap");var Wa={animationend:aa("Animation","AnimationEnd"),animationiteration:aa("Animation","AnimationIteration"),animationstart:aa("Animation","AnimationStart"),transitionrun:aa("Transition","TransitionRun"),transitionstart:aa("Transition","TransitionStart"),transitioncancel:aa("Transition","TransitionCancel"),transitionend:aa("Transition","TransitionEnd")},Rf={},Ph={};ue&&(Ph=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);function Sa(l){if(Rf[l])return Rf[l];if(!Wa[l])return l;var t=Wa[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in Ph)return Rf[l]=t[e];return l}i(Sa,"getVendorPrefixedEventName");var l0=Sa("animationend"),t0=Sa("animationiteration"),e0=Sa("animationstart"),P1=Sa("transitionrun"),lp=Sa("transitionstart"),tp=Sa("transitioncancel"),a0=Sa("transitionend"),n0=new Map,Ao="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(" ");Ao.push("scrollEnd");function Nt(l,t){n0.set(l,t),ga(t,[l])}i(Nt,"registerSimpleEvent");var Fi=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=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(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},rt=[],Fa=0,hs=0;function Ec(){for(var l=Fa,t=hs=Fa=0;t<l;){var e=rt[t];rt[t++]=null;var a=rt[t];rt[t++]=null;var n=rt[t];rt[t++]=null;var u=rt[t];if(rt[t++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&u0(e,n,u)}}i(Ec,"finishQueueingConcurrentUpdates");function Nc(l,t,e,a){rt[Fa++]=l,rt[Fa++]=t,rt[Fa++]=e,rt[Fa++]=a,hs|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Nc,"enqueueUpdate$1");function ys(l,t,e,a){return Nc(l,t,e,a),$i(l)}i(ys,"enqueueConcurrentHookUpdate");function za(l,t){return Nc(l,null,null,t),$i(l)}i(za,"enqueueConcurrentRenderForLane");function u0(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&t!==null&&(n=31-nt(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}i(u0,"markUpdateLaneFromFiberToRoot");function $i(l){if(50<du)throw du=0,Lo=null,Error(b(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}i($i,"getRootForUpdatedFiber");var $a={};function ep(l,t,e,a){this.tag=l,this.key=e,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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}i(ep,"FiberNode");function lt(l,t,e,a){return new ep(l,t,e,a)}i(lt,"createFiberImplClass");function vs(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(vs,"shouldConstruct");function ee(l,t){var e=l.alternate;return e===null?(e=lt(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}i(ee,"createWorkInProgress");function i0(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}i(i0,"resetWorkInProgress");function Bi(l,t,e,a,n,u){var c=0;if(a=l,typeof l=="function")vs(l)&&(c=1);else if(typeof l=="string")c=ug(l,e,Rt.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case oo:return l=lt(31,e,t,n),l.elementType=oo,l.lanes=u,l;case ja:return oa(e.children,n,u,t);case Nh:c=8,n|=24;break;case io:return l=lt(12,e,t,n|2),l.elementType=io,l.lanes=u,l;case co:return l=lt(13,e,t,n),l.elementType=co,l.lanes=u,l;case fo:return l=lt(19,e,t,n),l.elementType=fo,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Pt:c=10;break l;case _h:c=9;break l;case es:c=11;break l;case as:c=14;break l;case Se:c=16,a=null;break l}c=29,e=Error(b(130,l===null?"null":typeof l,"")),a=null}return t=lt(c,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}i(Bi,"createFiberFromTypeAndProps");function oa(l,t,e,a){return l=lt(7,l,a,t),l.lanes=e,l}i(oa,"createFiberFromFragment");function Yf(l,t,e){return l=lt(6,l,null,t),l.lanes=e,l}i(Yf,"createFiberFromText");function c0(l){var t=lt(18,null,null,0);return t.stateNode=l,t}i(c0,"createFiberFromDehydratedFragment");function Gf(l,t,e){return t=lt(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}i(Gf,"createFiberFromPortal");var pm=new WeakMap;function vt(l,t){if(typeof l=="object"&&l!==null){var e=pm.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Id(t)},pm.set(l,t),t)}return{value:l,source:t,stack:Id(t)}}i(vt,"createCapturedValueAtFiber");var Ia=[],Pa=0,Ii=null,gu=0,mt=[],ht=0,Ve=null,Bt=1,xt="";function $t(l,t){Ia[Pa++]=gu,Ia[Pa++]=Ii,Ii=l,gu=t}i($t,"pushTreeFork");function f0(l,t,e){mt[ht++]=Bt,mt[ht++]=xt,mt[ht++]=Ve,Ve=l;var a=Bt;l=xt;var n=32-nt(a)-1;a&=~(1<<n),e+=1;var u=32-nt(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Bt=1<<32-nt(t)+n|e<<n|a,xt=u+l}else Bt=1<<u|e<<n|a,xt=l}i(f0,"pushTreeId");function ps(l){l.return!==null&&($t(l,1),f0(l,1,0))}i(ps,"pushMaterializedTreeId");function gs(l){for(;l===Ii;)Ii=Ia[--Pa],Ia[Pa]=null,gu=Ia[--Pa],Ia[Pa]=null;for(;l===Ve;)Ve=mt[--ht],mt[ht]=null,xt=mt[--ht],mt[ht]=null,Bt=mt[--ht],mt[ht]=null}i(gs,"popTreeContext");function o0(l,t){mt[ht++]=Bt,mt[ht++]=xt,mt[ht++]=Ve,Bt=t.id,xt=t.overflow,Ve=l}i(o0,"restoreSuspendedTreeContext");var Rl=null,nl=null,j=!1,ke=null,pt=!1,Eo=Error(b(519));function Qe(l){var t=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bu(vt(t,l)),Eo}i(Qe,"throwOnHydrationMismatch");function gm(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[ql]=l,t[Fl]=a,e){case"dialog":Y("cancel",t),Y("close",t);break;case"iframe":case"object":case"embed":Y("load",t);break;case"video":case"audio":for(e=0;e<Au.length;e++)Y(Au[e],t);break;case"source":Y("error",t);break;case"img":case"image":case"link":Y("error",t),Y("load",t);break;case"details":Y("toggle",t);break;case"input":Y("invalid",t),Gh(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Y("invalid",t);break;case"textarea":Y("invalid",t),Qh(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||Zy(t.textContent,e)?(a.popover!=null&&(Y("beforetoggle",t),Y("toggle",t)),a.onScroll!=null&&Y("scroll",t),a.onScrollEnd!=null&&Y("scrollend",t),a.onClick!=null&&(t.onclick=le),t=!0):t=!1,t||Qe(l,!0)}i(gm,"prepareToHydrateHostInstance");function bm(l){for(Rl=l.return;Rl;)switch(Rl.tag){case 5:case 31:case 13:pt=!1;return;case 27:case 3:pt=!0;return;default:Rl=Rl.return}}i(bm,"popToNextHostParent");function Ga(l){if(l!==Rl)return!1;if(!j)return bm(l),j=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||Wo(l.type,l.memoizedProps)),e=!e),e&&nl&&Qe(l),bm(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=ch(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=ch(l)}else t===27?(t=nl,Ze(l.type)?(l=Po,Po=null,nl=l):nl=t):nl=Rl?bt(l.stateNode.nextSibling):null;return!0}i(Ga,"popHydrationState");function ma(){nl=Rl=null,j=!1}i(ma,"resetHydrationState");function Vf(){var l=ke;return l!==null&&(wl===null?wl=l:wl.push.apply(wl,l),ke=null),l}i(Vf,"upgradeHydrationErrorsToRecoverable");function bu(l){ke===null?ke=[l]:ke.push(l)}i(bu,"queueHydrationError");var No=Yt(null),Ta=null,te=null;function Te(l,t,e){tl(No,t._currentValue),t._currentValue=e}i(Te,"pushProvider");function ae(l){l._currentValue=No.current,Ul(No)}i(ae,"popProvider");function _o(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}i(_o,"scheduleContextWorkOnParentPath");function Mo(l,t,e,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;l:for(;u!==null;){var f=u;u=n;for(var o=0;o<t.length;o++)if(f.context===t[o]){u.lanes|=e,f=u.alternate,f!==null&&(f.lanes|=e),_o(u.return,e,l),a||(c=null);break l}u=f.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(b(341));c.lanes|=e,u=c.alternate,u!==null&&(u.lanes|=e),_o(c,e,l),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===l){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}i(Mo,"propagateContextChanges");function Tn(l,t,e,a){l=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(b(387));if(c=c.memoizedProps,c!==null){var f=n.type;it(n.pendingProps.value,c.value)||(l!==null?l.push(f):l=[f])}}else if(n===Zi.current){if(c=n.alternate,c===null)throw Error(b(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Nu):l=[Nu])}n=n.return}l!==null&&Mo(t,l,e,a),t.flags|=262144}i(Tn,"propagateParentContextChanges");function Pi(l){for(l=l.firstContext;l!==null;){if(!it(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i(Pi,"checkIfContextChanged");function ha(l){Ta=l,te=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(ha,"prepareToReadContext");function Yl(l){return s0(Ta,l)}i(Yl,"readContext");function Si(l,t){return Ta===null&&ha(l),s0(l,t)}i(Si,"readContextDuringReconciliation");function s0(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},te===null){if(l===null)throw Error(b(308));te=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else te=te.next=t;return e}i(s0,"readContextForConsumer");var ap=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:i(function(e,a){l.push(a)},"addEventListener")};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},np=Al.unstable_scheduleCallback,up=Al.unstable_NormalPriority,gl={$$typeof:Pt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bs(){return{controller:new ap,data:new Map,refCount:0}}i(bs,"createCache");function Bu(l){l.refCount--,l.refCount===0&&np(up,function(){l.controller.abort()})}i(Bu,"releaseCache");var nu=null,Oo=0,dn=0,nn=null;function ip(l,t){if(nu===null){var e=nu=[];Oo=0,dn=Ls(),nn={status:"pending",value:void 0,then:i(function(a){e.push(a)},"then")}}return Oo++,t.then(Sm,Sm),t}i(ip,"entangleAsyncAction");function Sm(){if(--Oo===0&&nu!==null){nn!==null&&(nn.status="fulfilled");var l=nu;nu=null,dn=0,nn=null;for(var t=0;t<l.length;t++)(0,l[t])()}}i(Sm,"pingEngtangledActionScope");function cp(l,t){var e=[],a={status:"pending",value:null,reason:null,then:i(function(n){e.push(n)},"then")};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}i(cp,"chainThenableValue");var zm=k.S;k.S=function(l,t){Ey=et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&ip(l,t),zm!==null&&zm(l,t)};var sa=Yt(null);function Ss(){var l=sa.current;return l!==null?l:ll.pooledCache}i(Ss,"peekCacheFromPool");function xi(l,t){t===null?tl(sa,sa.current):tl(sa,t.pool)}i(xi,"pushTransition");function r0(){var l=Ss();return l===null?null:{parent:gl._currentValue,pool:l}}i(r0,"getSuspendedCache");var An=Error(b(460)),zs=Error(b(474)),_c=Error(b(542)),lc={then:i(function(){},"then")};function Tm(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(Tm,"isThenableResolved");function d0(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(le,le),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Em(l),l;default:if(typeof t.status=="string")t.then(le,le);else{if(l=ll,l!==null&&100<l.shellSuspendCounter)throw Error(b(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Em(l),l}throw ra=t,An}}i(d0,"trackUsedThenable");function ia(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(ra=e,An):e}}i(ia,"resolveLazy");var ra=null;function Am(){if(ra===null)throw Error(b(459));var l=ra;return ra=null,l}i(Am,"getSuspendedThenable");function Em(l){if(l===An||l===_c)throw Error(b(483))}i(Em,"checkIfUseWrappedInAsyncCatch");var un=null,Su=0;function zi(l){var t=Su;return Su+=1,un===null&&(un=[]),d0(un,l,t)}i(zi,"unwrapThenable");function Zn(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}i(Zn,"coerceRef");function Ti(l,t){throw t.$$typeof===Jv?Error(b(525)):(l=Object.prototype.toString.call(t),Error(b(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}i(Ti,"throwOnInvalidObjectTypeImpl");function m0(l){function t(d,r){if(l){var y=d.deletions;y===null?(d.deletions=[r],d.flags|=16):y.push(r)}}i(t,"deleteChild");function e(d,r){if(!l)return null;for(;r!==null;)t(d,r),r=r.sibling;return null}i(e,"deleteRemainingChildren");function a(d){for(var r=new Map;d!==null;)d.key!==null?r.set(d.key,d):r.set(d.index,d),d=d.sibling;return r}i(a,"mapRemainingChildren");function n(d,r){return d=ee(d,r),d.index=0,d.sibling=null,d}i(n,"useFiber");function u(d,r,y){return d.index=y,l?(y=d.alternate,y!==null?(y=y.index,y<r?(d.flags|=67108866,r):y):(d.flags|=67108866,r)):(d.flags|=1048576,r)}i(u,"placeChild");function c(d){return l&&d.alternate===null&&(d.flags|=67108866),d}i(c,"placeSingleChild");function f(d,r,y,g){return r===null||r.tag!==6?(r=Yf(y,d.mode,g),r.return=d,r):(r=n(r,y),r.return=d,r)}i(f,"updateTextNode");function o(d,r,y,g){var A=y.type;return A===ja?v(d,r,y.props.children,g,y.key):r!==null&&(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Se&&ia(A)===r.type)?(r=n(r,y.props),Zn(r,y),r.return=d,r):(r=Bi(y.type,y.key,y.props,null,d.mode,g),Zn(r,y),r.return=d,r)}i(o,"updateElement");function s(d,r,y,g){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=Gf(y,d.mode,g),r.return=d,r):(r=n(r,y.children||[]),r.return=d,r)}i(s,"updatePortal");function v(d,r,y,g,A){return r===null||r.tag!==7?(r=oa(y,d.mode,g,A),r.return=d,r):(r=n(r,y),r.return=d,r)}i(v,"updateFragment");function p(d,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Yf(""+r,d.mode,y),r.return=d,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case di:return y=Bi(r.type,r.key,r.props,null,d.mode,y),Zn(y,r),y.return=d,y;case Fn:return r=Gf(r,d.mode,y),r.return=d,r;case Se:return r=ia(r),p(d,r,y)}if($n(r)||jn(r))return r=oa(r,d.mode,y,null),r.return=d,r;if(typeof r.then=="function")return p(d,zi(r),y);if(r.$$typeof===Pt)return p(d,Si(d,r),y);Ti(d,r)}return null}i(p,"createChild");function h(d,r,y,g){var A=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return A!==null?null:f(d,r,""+y,g);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case di:return y.key===A?o(d,r,y,g):null;case Fn:return y.key===A?s(d,r,y,g):null;case Se:return y=ia(y),h(d,r,y,g)}if($n(y)||jn(y))return A!==null?null:v(d,r,y,g,null);if(typeof y.then=="function")return h(d,r,zi(y),g);if(y.$$typeof===Pt)return h(d,r,Si(d,y),g);Ti(d,y)}return null}i(h,"updateSlot");function m(d,r,y,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return d=d.get(y)||null,f(r,d,""+g,A);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case di:return d=d.get(g.key===null?y:g.key)||null,o(r,d,g,A);case Fn:return d=d.get(g.key===null?y:g.key)||null,s(r,d,g,A);case Se:return g=ia(g),m(d,r,y,g,A)}if($n(g)||jn(g))return d=d.get(y)||null,v(r,d,g,A,null);if(typeof g.then=="function")return m(d,r,y,zi(g),A);if(g.$$typeof===Pt)return m(d,r,y,Si(r,g),A);Ti(r,g)}return null}i(m,"updateFromMap");function S(d,r,y,g){for(var A=null,x=null,N=r,M=r=0,U=null;N!==null&&M<y.length;M++){N.index>M?(U=N,N=null):U=N.sibling;var R=h(d,N,y[M],g);if(R===null){N===null&&(N=U);break}l&&N&&R.alternate===null&&t(d,N),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R,N=U}if(M===y.length)return e(d,N),j&&$t(d,M),A;if(N===null){for(;M<y.length;M++)N=p(d,y[M],g),N!==null&&(r=u(N,r,M),x===null?A=N:x.sibling=N,x=N);return j&&$t(d,M),A}for(N=a(N);M<y.length;M++)U=m(N,d,M,y[M],g),U!==null&&(l&&U.alternate!==null&&N.delete(U.key===null?M:U.key),r=u(U,r,M),x===null?A=U:x.sibling=U,x=U);return l&&N.forEach(function(jl){return t(d,jl)}),j&&$t(d,M),A}i(S,"reconcileChildrenArray");function E(d,r,y,g){if(y==null)throw Error(b(151));for(var A=null,x=null,N=r,M=r=0,U=null,R=y.next();N!==null&&!R.done;M++,R=y.next()){N.index>M?(U=N,N=null):U=N.sibling;var jl=h(d,N,R.value,g);if(jl===null){N===null&&(N=U);break}l&&N&&jl.alternate===null&&t(d,N),r=u(jl,r,M),x===null?A=jl:x.sibling=jl,x=jl,N=U}if(R.done)return e(d,N),j&&$t(d,M),A;if(N===null){for(;!R.done;M++,R=y.next())R=p(d,R.value,g),R!==null&&(r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return j&&$t(d,M),A}for(N=a(N);!R.done;M++,R=y.next())R=m(N,d,M,R.value,g),R!==null&&(l&&R.alternate!==null&&N.delete(R.key===null?M:R.key),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return l&&N.forEach(function(Je){return t(d,Je)}),j&&$t(d,M),A}i(E,"reconcileChildrenIterator");function O(d,r,y,g){if(typeof y=="object"&&y!==null&&y.type===ja&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case di:l:{for(var A=y.key;r!==null;){if(r.key===A){if(A=y.type,A===ja){if(r.tag===7){e(d,r.sibling),g=n(r,y.props.children),g.return=d,d=g;break l}}else if(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Se&&ia(A)===r.type){e(d,r.sibling),g=n(r,y.props),Zn(g,y),g.return=d,d=g;break l}e(d,r);break}else t(d,r);r=r.sibling}y.type===ja?(g=oa(y.props.children,d.mode,g,y.key),g.return=d,d=g):(g=Bi(y.type,y.key,y.props,null,d.mode,g),Zn(g,y),g.return=d,d=g)}return c(d);case Fn:l:{for(A=y.key;r!==null;){if(r.key===A)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){e(d,r.sibling),g=n(r,y.children||[]),g.return=d,d=g;break l}else{e(d,r);break}else t(d,r);r=r.sibling}g=Gf(y,d.mode,g),g.return=d,d=g}return c(d);case Se:return y=ia(y),O(d,r,y,g)}if($n(y))return S(d,r,y,g);if(jn(y)){if(A=jn(y),typeof A!="function")throw Error(b(150));return y=A.call(y),E(d,r,y,g)}if(typeof y.then=="function")return O(d,r,zi(y),g);if(y.$$typeof===Pt)return O(d,r,Si(d,y),g);Ti(d,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(e(d,r.sibling),g=n(r,y),g.return=d,d=g):(e(d,r),g=Yf(y,d.mode,g),g.return=d,d=g),c(d)):e(d,r)}return i(O,"reconcileChildFibersImpl"),function(d,r,y,g){try{Su=0;var A=O(d,r,y,g);return un=null,A}catch(N){if(N===An||N===_c)throw N;var x=lt(29,N,null,d.mode);return x.lanes=g,x.return=d,x}finally{}}}i(m0,"createChildReconciler");var ya=m0(!0),h0=m0(!1),ze=!1;function Ts(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(Ts,"initializeUpdateQueue");function Uo(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}i(Uo,"cloneUpdateQueue");function He(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(He,"createUpdate");function Be(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(L&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=$i(l),u0(l,null,e),t}return Nc(l,a,t,e),$i(l)}i(Be,"enqueueUpdate");function uu(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,kh(l,e)}}i(uu,"entangleTransitions");function Qf(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}i(Qf,"enqueueCapturedUpdate");var Do=!1;function iu(){if(Do){var l=nn;if(l!==null)throw l}}i(iu,"suspendIfUpdateReadFromEntangledAsyncAction");function cu(l,t,e,a){Do=!1;var n=l.updateQueue;ze=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var o=f,s=o.next;o.next=null,c===null?u=s:c.next=s,c=o;var v=l.alternate;v!==null&&(v=v.updateQueue,f=v.lastBaseUpdate,f!==c&&(f===null?v.firstBaseUpdate=s:f.next=s,v.lastBaseUpdate=o))}if(u!==null){var p=n.baseState;c=0,v=s=o=null,f=u;do{var h=f.lane&-536870913,m=h!==f.lane;if(m?(V&h)===h:(a&h)===h){h!==0&&h===dn&&(Do=!0),v!==null&&(v=v.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var S=l,E=f;h=t;var O=e;switch(E.tag){case 1:if(S=E.payload,typeof S=="function"){p=S.call(O,p,h);break l}p=S;break l;case 3:S.flags=S.flags&-65537|128;case 0:if(S=E.payload,h=typeof S=="function"?S.call(O,p,h):S,h==null)break l;p=ul({},p,h);break l;case 2:ze=!0}}h=f.callback,h!==null&&(l.flags|=64,m&&(l.flags|=8192),m=n.callbacks,m===null?n.callbacks=[h]:m.push(h))}else m={lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},v===null?(s=v=m,o=p):v=v.next=m,c|=h;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;m=f,f=m.next,m.next=null,n.lastBaseUpdate=m,n.shared.pending=null}}while(!0);v===null&&(o=p),n.baseState=o,n.firstBaseUpdate=s,n.lastBaseUpdate=v,u===null&&(n.shared.lanes=0),je|=c,l.lanes=c,l.memoizedState=p}}i(cu,"processUpdateQueue");function y0(l,t){if(typeof l!="function")throw Error(b(191,l));l.call(t)}i(y0,"callCallback");function v0(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)y0(e[l],t)}i(v0,"commitCallbacks");var mn=Yt(null),tc=Yt(0);function Nm(l,t){l=oe,tl(tc,l),tl(mn,t),oe=l|t.baseLanes}i(Nm,"pushHiddenContext");function Co(){tl(tc,oe),tl(mn,mn.current)}i(Co,"reuseHiddenContextOnStack");function As(){oe=tc.current,Ul(mn),Ul(tc)}i(As,"popHiddenContext");var ct=Yt(null),gt=null;function Ae(l){var t=l.alternate;tl(dl,dl.current&1),tl(ct,l),gt===null&&(t===null||mn.current!==null||t.memoizedState!==null)&&(gt=l)}i(Ae,"pushPrimaryTreeSuspenseHandler");function ko(l){tl(dl,dl.current),tl(ct,l),gt===null&&(gt=l)}i(ko,"pushDehydratedActivitySuspenseHandler");function p0(l){l.tag===22?(tl(dl,dl.current),tl(ct,l),gt===null&&(gt=l)):Ee(l)}i(p0,"pushOffscreenSuspenseHandler");function Ee(){tl(dl,dl.current),tl(ct,ct.current)}i(Ee,"reuseSuspenseHandlerOnStack");function Pl(l){Ul(ct),gt===l&&(gt=null),Ul(dl)}i(Pl,"popSuspenseHandler");var dl=Yt(0);function ec(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||$o(e)||Io(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}i(ec,"findFirstSuspended");var ie=0,q=null,I=null,vl=null,ac=!1,cn=!1,va=!1,nc=0,zu=0,fn=null,fp=0;function sl(){throw Error(b(321))}i(sl,"throwInvalidHookError");function Es(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!it(l[e],t[e]))return!1;return!0}i(Es,"areHookInputsEqual");function Ns(l,t,e,a,n,u){return ie=u,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,k.H=l===null||l.memoizedState===null?w0:qs,va=!1,u=e(a,n),va=!1,cn&&(u=b0(t,e,a,n)),g0(l),u}i(Ns,"renderWithHooks");function g0(l){k.H=Tu;var t=I!==null&&I.next!==null;if(ie=0,vl=I=q=null,ac=!1,zu=0,fn=null,t)throw Error(b(300));l===null||bl||(l=l.dependencies,l!==null&&Pi(l)&&(bl=!0))}i(g0,"finishRenderingHooks");function b0(l,t,e,a){q=l;var n=0;do{if(cn&&(fn=null),zu=0,cn=!1,25<=n)throw Error(b(301));if(n+=1,vl=I=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}k.H=W0,u=t(e,a)}while(cn);return u}i(b0,"renderWithHooksAgain");function op(){var l=k.H,t=l.useState()[0];return t=typeof t.then=="function"?xu(t):t,l=l.useState()[0],(I!==null?I.memoizedState:null)!==l&&(q.flags|=1024),t}i(op,"TransitionAwareHostComponent");function _s(){var l=nc!==0;return nc=0,l}i(_s,"checkDidRenderIdHook");function Ms(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}i(Ms,"bailoutHooks");function Os(l){if(ac){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}ac=!1}ie=0,vl=I=q=null,cn=!1,zu=nc=0,fn=null}i(Os,"resetHooksOnUnwind");function Xl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vl===null?q.memoizedState=vl=l:vl=vl.next=l,vl}i(Xl,"mountWorkInProgressHook");function ml(){if(I===null){var l=q.alternate;l=l!==null?l.memoizedState:null}else l=I.next;var t=vl===null?q.memoizedState:vl.next;if(t!==null)vl=t,I=l;else{if(l===null)throw q.alternate===null?Error(b(467)):Error(b(310));I=l,l={memoizedState:I.memoizedState,baseState:I.baseState,baseQueue:I.baseQueue,queue:I.queue,next:null},vl===null?q.memoizedState=vl=l:vl=vl.next=l}return vl}i(ml,"updateWorkInProgressHook");function Mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}i(Mc,"createFunctionComponentUpdateQueue");function xu(l){var t=zu;return zu+=1,fn===null&&(fn=[]),l=d0(fn,l,t),t=q,(vl===null?t.memoizedState:vl.next)===null&&(t=t.alternate,k.H=t===null||t.memoizedState===null?w0:qs),l}i(xu,"useThenable");function Oc(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return xu(l);if(l.$$typeof===Pt)return Yl(l)}throw Error(b(438,String(l)))}i(Oc,"use");function Us(l){var t=null,e=q.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=q.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=Mc(),q.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=wv;return t.index++,e}i(Us,"useMemoCache");function ce(l,t){return typeof t=="function"?t(l):t}i(ce,"basicStateReducer");function qi(l){var t=ml();return Ds(t,I,l)}i(qi,"updateReducer");function Ds(l,t,e){var a=l.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var f=c=null,o=null,s=t,v=!1;do{var p=s.lane&-536870913;if(p!==s.lane?(V&p)===p:(ie&p)===p){var h=s.revertLane;if(h===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),p===dn&&(v=!0);else if((ie&h)===h){s=s.next,h===dn&&(v=!0);continue}else p={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=p,c=u):o=o.next=p,q.lanes|=h,je|=h;p=s.action,va&&e(u,p),u=s.hasEagerState?s.eagerState:e(u,p)}else h={lane:p,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=h,c=u):o=o.next=h,q.lanes|=p,je|=p;s=s.next}while(s!==null&&s!==t);if(o===null?c=u:o.next=f,!it(u,l.memoizedState)&&(bl=!0,v&&(e=nn,e!==null)))throw e;l.memoizedState=u,l.baseState=c,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}i(Ds,"updateReducerImpl");function Xf(l){var t=ml(),e=t.queue;if(e===null)throw Error(b(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);it(u,t.memoizedState)||(bl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}i(Xf,"rerenderReducer");function S0(l,t,e){var a=q,n=ml(),u=j;if(u){if(e===void 0)throw Error(b(407));e=e()}else e=t();var c=!it((I||n).memoizedState,e);if(c&&(n.memoizedState=e,bl=!0),n=n.queue,Cs(A0.bind(null,a,n,l),[l]),n.getSnapshot!==t||c||vl!==null&&vl.memoizedState.tag&1){if(a.flags|=2048,hn(9,{destroy:void 0},T0.bind(null,a,n,e,t),null),ll===null)throw Error(b(349));u||(ie&127)!==0||z0(a,t,e)}return e}i(S0,"updateSyncExternalStore");function z0(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=q.updateQueue,t===null?(t=Mc(),q.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}i(z0,"pushStoreConsistencyCheck");function T0(l,t,e,a){t.value=e,t.getSnapshot=a,E0(t)&&N0(l)}i(T0,"updateStoreInstance");function A0(l,t,e){return e(function(){E0(t)&&N0(l)})}i(A0,"subscribeToStore");function E0(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!it(l,e)}catch{return!0}}i(E0,"checkIfSnapshotChanged");function N0(l){var t=za(l,2);t!==null&&Wl(t,l,2)}i(N0,"forceStoreRerender");function Ho(l){var t=Xl();if(typeof l=="function"){var e=l;if(l=e(),va){_e(!0);try{e()}finally{_e(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:l},t}i(Ho,"mountStateImpl");function _0(l,t,e,a){return l.baseState=e,Ds(l,I,typeof a=="function"?a:ce)}i(_0,"updateOptimisticImpl");function sp(l,t,e,a,n){if(Dc(l))throw Error(b(485));if(l=t.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:i(function(c){u.listeners.push(c)},"then")};k.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,M0(t,u)):(u.next=e.next,t.pending=e.next=u)}}i(sp,"dispatchActionState");function M0(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=k.T,c={};k.T=c;try{var f=e(n,a),o=k.S;o!==null&&o(c,f),_m(l,t,f)}catch(s){Bo(l,t,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),k.T=u}}else try{u=e(n,a),_m(l,t,u)}catch(s){Bo(l,t,s)}}i(M0,"runActionStateAction");function _m(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Mm(l,t,a)},function(a){return Bo(l,t,a)}):Mm(l,t,e)}i(_m,"handleActionReturnValue");function Mm(l,t,e){t.status="fulfilled",t.value=e,O0(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,M0(l,e)))}i(Mm,"onActionSuccess");function Bo(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,O0(t),t=t.next;while(t!==a)}l.action=null}i(Bo,"onActionError");function O0(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}i(O0,"notifyActionListeners");function U0(l,t){return t}i(U0,"actionStateReducer");function Om(l,t){if(j){var e=ll.formState;if(e!==null){l:{var a=q;if(j){if(nl){t:{for(var n=nl,u=pt;n.nodeType!==8;){if(!u){n=null;break t}if(n=bt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){nl=bt(n.nextSibling),a=n.data==="F!";break l}}Qe(a)}a=!1}a&&(t=e[0])}}return e=Xl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:U0,lastRenderedState:t},e.queue=a,e=Z0.bind(null,q,a),a.dispatch=e,a=Ho(!1),u=xs.bind(null,q,!1,a.queue),a=Xl(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=sp.bind(null,q,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}i(Om,"mountActionState");function Um(l){var t=ml();return D0(t,I,l)}i(Um,"updateActionState");function D0(l,t,e){if(t=Ds(l,t,U0)[0],l=qi(ce)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=xu(t)}catch(c){throw c===An?_c:c}else a=t;t=ml();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(q.flags|=2048,hn(9,{destroy:void 0},rp.bind(null,n,e),null)),[a,u,l]}i(D0,"updateActionStateImpl");function rp(l,t){l.action=t}i(rp,"actionStateActionEffect");function Dm(l){var t=ml(),e=I;if(e!==null)return D0(t,e,l);ml(),t=t.memoizedState,e=ml();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}i(Dm,"rerenderActionState");function hn(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=q.updateQueue,t===null&&(t=Mc(),q.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}i(hn,"pushSimpleEffect");function C0(){return ml().memoizedState}i(C0,"updateRef");function Ri(l,t,e,a){var n=Xl();q.flags|=l,n.memoizedState=hn(1|t,{destroy:void 0},e,a===void 0?null:a)}i(Ri,"mountEffectImpl");function Uc(l,t,e,a){var n=ml();a=a===void 0?null:a;var u=n.memoizedState.inst;I!==null&&a!==null&&Es(a,I.memoizedState.deps)?n.memoizedState=hn(t,u,e,a):(q.flags|=l,n.memoizedState=hn(1|t,u,e,a))}i(Uc,"updateEffectImpl");function Cm(l,t){Ri(8390656,8,l,t)}i(Cm,"mountEffect");function Cs(l,t){Uc(2048,8,l,t)}i(Cs,"updateEffect");function dp(l){q.flags|=4;var t=q.updateQueue;if(t===null)t=Mc(),q.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}i(dp,"useEffectEventImpl");function k0(l){var t=ml().memoizedState;return dp({ref:t,nextImpl:l}),function(){if((L&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}}i(k0,"updateEvent");function H0(l,t){return Uc(4,2,l,t)}i(H0,"updateInsertionEffect");function B0(l,t){return Uc(4,4,l,t)}i(B0,"updateLayoutEffect");function x0(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}i(x0,"imperativeHandleEffect");function q0(l,t,e){e=e!=null?e.concat([l]):null,Uc(4,4,x0.bind(null,t,l),e)}i(q0,"updateImperativeHandle");function ks(){}i(ks,"mountDebugValue");function R0(l,t){var e=ml();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Es(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}i(R0,"updateCallback");function Y0(l,t){var e=ml();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Es(t,a[1]))return a[0];if(a=l(),va){_e(!0);try{l()}finally{_e(!1)}}return e.memoizedState=[a,t],a}i(Y0,"updateMemo");function Hs(l,t,e){return e===void 0||(ie&1073741824)!==0&&(V&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=_y(),q.lanes|=l,je|=l,e)}i(Hs,"mountDeferredValueImpl");function G0(l,t,e,a){return it(e,t)?e:mn.current!==null?(l=Hs(l,e,a),it(l,t)||(bl=!0),l):(ie&42)===0||(ie&1073741824)!==0&&(V&261930)===0?(bl=!0,l.memoizedState=e):(l=_y(),q.lanes|=l,je|=l,t)}i(G0,"updateDeferredValueImpl");function V0(l,t,e,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var c=k.T,f={};k.T=f,xs(l,!1,t,e);try{var o=n(),s=k.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var v=cp(o,a);fu(l,t,v,ut(l))}else fu(l,t,a,ut(l))}catch(p){fu(l,t,{then:i(function(){},"then"),status:"rejected",reason:p},ut())}finally{Z.p=u,c!==null&&f.types!==null&&(c.types=f.types),k.T=c}}i(V0,"startTransition");function mp(){}i(mp,"noop");function xo(l,t,e,a){if(l.tag!==5)throw Error(b(476));var n=Q0(l).queue;V0(l,n,t,fa,e===null?mp:function(){return X0(l),e(a)})}i(xo,"startHostTransition");function Q0(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:fa,baseState:fa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:fa},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}i(Q0,"ensureFormComponentIsStateful");function X0(l){var t=Q0(l);t.next===null&&(t=l.alternate.memoizedState),fu(l,t.next.queue,{},ut())}i(X0,"requestFormReset$1");function Bs(){return Yl(Nu)}i(Bs,"useHostTransitionStatus");function j0(){return ml().memoizedState}i(j0,"updateId");function L0(){return ml().memoizedState}i(L0,"updateRefresh");function hp(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=ut();l=He(e);var a=Be(t,l,e);a!==null&&(Wl(a,t,e),uu(a,t,e)),t={cache:bs()},l.payload=t;return}t=t.return}}i(hp,"refreshCache");function yp(l,t,e){var a=ut();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},Dc(l)?K0(t,e):(e=ys(l,t,e,a),e!==null&&(Wl(e,l,a),J0(e,t,a)))}i(yp,"dispatchReducerAction");function Z0(l,t,e){var a=ut();fu(l,t,e,a)}i(Z0,"dispatchSetState");function fu(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(Dc(l))K0(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,f=u(c,e);if(n.hasEagerState=!0,n.eagerState=f,it(f,c))return Nc(l,t,n,0),ll===null&&Ec(),!1}catch{}finally{}if(e=ys(l,t,n,a),e!==null)return Wl(e,l,a),J0(e,t,a),!0}return!1}i(fu,"dispatchSetStateInternal");function xs(l,t,e,a){if(a={lane:2,revertLane:Ls(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Dc(l)){if(t)throw Error(b(479))}else t=ys(l,e,a,2),t!==null&&Wl(t,l,2)}i(xs,"dispatchOptimisticSetState");function Dc(l){var t=l.alternate;return l===q||t!==null&&t===q}i(Dc,"isRenderPhaseUpdate");function K0(l,t){cn=ac=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}i(K0,"enqueueRenderPhaseUpdate");function J0(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,kh(l,e)}}i(J0,"entangleTransitionUpdate");var Tu={readContext:Yl,use:Oc,useCallback:sl,useContext:sl,useEffect:sl,useImperativeHandle:sl,useLayoutEffect:sl,useInsertionEffect:sl,useMemo:sl,useReducer:sl,useRef:sl,useState:sl,useDebugValue:sl,useDeferredValue:sl,useTransition:sl,useSyncExternalStore:sl,useId:sl,useHostTransitionStatus:sl,useFormState:sl,useActionState:sl,useOptimistic:sl,useMemoCache:sl,useCacheRefresh:sl};Tu.useEffectEvent=sl;var w0={readContext:Yl,use:Oc,useCallback:i(function(l,t){return Xl().memoizedState=[l,t===void 0?null:t],l},"useCallback"),useContext:Yl,useEffect:Cm,useImperativeHandle:i(function(l,t,e){e=e!=null?e.concat([l]):null,Ri(4194308,4,x0.bind(null,t,l),e)},"useImperativeHandle"),useLayoutEffect:i(function(l,t){return Ri(4194308,4,l,t)},"useLayoutEffect"),useInsertionEffect:i(function(l,t){Ri(4,2,l,t)},"useInsertionEffect"),useMemo:i(function(l,t){var e=Xl();t=t===void 0?null:t;var a=l();if(va){_e(!0);try{l()}finally{_e(!1)}}return e.memoizedState=[a,t],a},"useMemo"),useReducer:i(function(l,t,e){var a=Xl();if(e!==void 0){var n=e(t);if(va){_e(!0);try{e(t)}finally{_e(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=yp.bind(null,q,l),[a.memoizedState,l]},"useReducer"),useRef:i(function(l){var t=Xl();return l={current:l},t.memoizedState=l},"useRef"),useState:i(function(l){l=Ho(l);var t=l.queue,e=Z0.bind(null,q,t);return t.dispatch=e,[l.memoizedState,e]},"useState"),useDebugValue:ks,useDeferredValue:i(function(l,t){var e=Xl();return Hs(e,l,t)},"useDeferredValue"),useTransition:i(function(){var l=Ho(!1);return l=V0.bind(null,q,l.queue,!0,!1),Xl().memoizedState=l,[!1,l]},"useTransition"),useSyncExternalStore:i(function(l,t,e){var a=q,n=Xl();if(j){if(e===void 0)throw Error(b(407));e=e()}else{if(e=t(),ll===null)throw Error(b(349));(V&127)!==0||z0(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,Cm(A0.bind(null,a,u,l),[l]),a.flags|=2048,hn(9,{destroy:void 0},T0.bind(null,a,u,e,t),null),e},"useSyncExternalStore"),useId:i(function(){var l=Xl(),t=ll.identifierPrefix;if(j){var e=xt,a=Bt;e=(a&~(1<<32-nt(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=nc++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=fp++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},"useId"),useHostTransitionStatus:Bs,useFormState:Om,useActionState:Om,useOptimistic:i(function(l){var t=Xl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=xs.bind(null,q,!0,e),e.dispatch=t,[l,t]},"useOptimistic"),useMemoCache:Us,useCacheRefresh:i(function(){return Xl().memoizedState=hp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var t=Xl(),e={impl:l};return t.memoizedState=e,function(){if((L&2)!==0)throw Error(b(440));return e.impl.apply(void 0,arguments)}},"useEffectEvent")},qs={readContext:Yl,use:Oc,useCallback:R0,useContext:Yl,useEffect:Cs,useImperativeHandle:q0,useInsertionEffect:H0,useLayoutEffect:B0,useMemo:Y0,useReducer:qi,useRef:C0,useState:i(function(){return qi(ce)},"useState"),useDebugValue:ks,useDeferredValue:i(function(l,t){var e=ml();return G0(e,I.memoizedState,l,t)},"useDeferredValue"),useTransition:i(function(){var l=qi(ce)[0],t=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),t]},"useTransition"),useSyncExternalStore:S0,useId:j0,useHostTransitionStatus:Bs,useFormState:Um,useActionState:Um,useOptimistic:i(function(l,t){var e=ml();return _0(e,I,l,t)},"useOptimistic"),useMemoCache:Us,useCacheRefresh:L0};qs.useEffectEvent=k0;var W0={readContext:Yl,use:Oc,useCallback:R0,useContext:Yl,useEffect:Cs,useImperativeHandle:q0,useInsertionEffect:H0,useLayoutEffect:B0,useMemo:Y0,useReducer:Xf,useRef:C0,useState:i(function(){return Xf(ce)},"useState"),useDebugValue:ks,useDeferredValue:i(function(l,t){var e=ml();return I===null?Hs(e,l,t):G0(e,I.memoizedState,l,t)},"useDeferredValue"),useTransition:i(function(){var l=Xf(ce)[0],t=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),t]},"useTransition"),useSyncExternalStore:S0,useId:j0,useHostTransitionStatus:Bs,useFormState:Dm,useActionState:Dm,useOptimistic:i(function(l,t){var e=ml();return I!==null?_0(e,I,l,t):(e.baseState=l,[l,e.queue.dispatch])},"useOptimistic"),useMemoCache:Us,useCacheRefresh:L0};W0.useEffectEvent=k0;function jf(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:ul({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}i(jf,"applyDerivedStateFromProps");var qo={enqueueSetState:i(function(l,t,e){l=l._reactInternals;var a=ut(),n=He(a);n.payload=t,e!=null&&(n.callback=e),t=Be(l,n,a),t!==null&&(Wl(t,l,a),uu(t,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,t,e){l=l._reactInternals;var a=ut(),n=He(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=Be(l,n,a),t!==null&&(Wl(t,l,a),uu(t,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,t){l=l._reactInternals;var e=ut(),a=He(e);a.tag=2,t!=null&&(a.callback=t),t=Be(l,a,e),t!==null&&(Wl(t,l,e),uu(t,l,e))},"enqueueForceUpdate")};function km(l,t,e,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!pu(e,a)||!pu(n,u):!0}i(km,"checkShouldComponentUpdate");function Hm(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&qo.enqueueReplaceState(t,t.state,null)}i(Hm,"callComponentWillReceiveProps");function pa(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=ul({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}i(pa,"resolveClassComponentProps");function F0(l){Fi(l)}i(F0,"defaultOnUncaughtError");function $0(l){console.error(l)}i($0,"defaultOnCaughtError");function I0(l){Fi(l)}i(I0,"defaultOnRecoverableError");function uc(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}i(uc,"logUncaughtError");function Bm(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}i(Bm,"logCaughtError");function Ro(l,t,e){return e=He(e),e.tag=3,e.payload={element:null},e.callback=function(){uc(l,t)},e}i(Ro,"createRootErrorUpdate");function P0(l){return l=He(l),l.tag=3,l}i(P0,"createClassErrorUpdate");function ly(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){Bm(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){Bm(t,e,a),typeof n!="function"&&(xe===null?xe=new Set([this]):xe.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(ly,"initializeClassErrorUpdate");function vp(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&Tn(t,e,n,!0),e=ct.current,e!==null){switch(e.tag){case 31:case 13:return gt===null?sc():e.alternate===null&&rl===0&&(rl=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===lc?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),lo(l,a,n)),!1;case 22:return e.flags|=65536,a===lc?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),lo(l,a,n)),!1}throw Error(b(435,e.tag))}return lo(l,a,n),sc(),!1}if(j)return t=ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Eo&&(l=Error(b(422),{cause:a}),bu(vt(l,e)))):(a!==Eo&&(t=Error(b(423),{cause:a}),bu(vt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=vt(a,e),n=Ro(l.stateNode,a,n),Qf(l,n),rl!==4&&(rl=2)),!1;var u=Error(b(520),{cause:a});if(u=vt(u,e),ru===null?ru=[u]:ru.push(u),rl!==4&&(rl=2),t===null)return!0;a=vt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=Ro(e.stateNode,a,l),Qf(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(xe===null||!xe.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=P0(n),ly(n,l,e,a),Qf(e,n),!1}e=e.return}while(e!==null);return!1}i(vp,"throwException");var Rs=Error(b(461)),bl=!1;function xl(l,t,e,a){t.child=l===null?h0(t,null,e,a):ya(t,l.child,e,a)}i(xl,"reconcileChildren");function xm(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return ha(t),a=Ns(l,t,e,c,u,n),f=_s(),l!==null&&!bl?(Ms(l,t,n),fe(l,t,n)):(j&&f&&ps(t),t.flags|=1,xl(l,t,a,n),t.child)}i(xm,"updateForwardRef");function qm(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!vs(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,ty(l,t,u,a,n)):(l=Bi(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!Ys(l,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:pu,e(c,a)&&l.ref===t.ref)return fe(l,t,n)}return t.flags|=1,l=ee(u,a),l.ref=t.ref,l.return=t,t.child=l}i(qm,"updateMemoComponent");function ty(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(pu(u,a)&&l.ref===t.ref)if(bl=!1,t.pendingProps=a=u,Ys(l,n))(l.flags&131072)!==0&&(bl=!0);else return t.lanes=l.lanes,fe(l,t,n)}return Yo(l,t,e,a,n)}i(ty,"updateSimpleMemoComponent");function ey(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return Rm(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&xi(t,u!==null?u.cachePool:null),u!==null?Nm(t,u):Co(),p0(t);else return a=t.lanes=536870912,Rm(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(xi(t,u.cachePool),Nm(t,u),Ee(t),t.memoizedState=null):(l!==null&&xi(t,null),Co(),Ee(t));return xl(l,t,n,e),t.child}i(ey,"updateOffscreenComponent");function Pn(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}i(Pn,"bailoutOffscreenComponent");function Rm(l,t,e,a,n){var u=Ss();return u=u===null?null:{parent:gl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&xi(t,null),Co(),p0(t),l!==null&&Tn(l,t,a,!0),t.childLanes=n,null}i(Rm,"deferHiddenOffscreenComponent");function Yi(l,t){return t=ic({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}i(Yi,"mountActivityChildren");function Ym(l,t,e){return ya(t,l.child,null,e),l=Yi(t,t.pendingProps),l.flags|=2,Pl(t),t.memoizedState=null,l}i(Ym,"retryActivityComponentWithoutHydrating");function pp(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(j){if(a.mode==="hidden")return l=Yi(t,a),t.lanes=536870912,Pn(null,l);if(ko(t),(l=nl)?(l=wy(l,pt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ve!==null?{id:Bt,overflow:xt}:null,retryLane:536870912,hydrationErrors:null},e=c0(l),e.return=t,t.child=e,Rl=t,nl=null)):l=null,l===null)throw Qe(t);return t.lanes=536870912,null}return Yi(t,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(ko(t),n)if(t.flags&256)t.flags&=-257,t=Ym(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(b(558));else if(bl||Tn(l,t,e,!1),n=(e&l.childLanes)!==0,bl||n){if(a=ll,a!==null&&(c=Hh(a,e),c!==0&&c!==u.retryLane))throw u.retryLane=c,za(l,c),Wl(a,l,c),Rs;sc(),t=Ym(l,t,e)}else l=u.treeContext,nl=bt(c.nextSibling),Rl=t,j=!0,ke=null,pt=!1,l!==null&&o0(t,l),t=Yi(t,a),t.flags|=4096;return t}return l=ee(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}i(pp,"updateActivityComponent");function Gi(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(b(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}i(Gi,"markRef");function Yo(l,t,e,a,n){return ha(t),e=Ns(l,t,e,a,void 0,n),a=_s(),l!==null&&!bl?(Ms(l,t,n),fe(l,t,n)):(j&&a&&ps(t),t.flags|=1,xl(l,t,e,n),t.child)}i(Yo,"updateFunctionComponent");function Gm(l,t,e,a,n,u){return ha(t),t.updateQueue=null,e=b0(t,a,e,n),g0(l),a=_s(),l!==null&&!bl?(Ms(l,t,u),fe(l,t,u)):(j&&a&&ps(t),t.flags|=1,xl(l,t,e,u),t.child)}i(Gm,"replayFunctionComponent");function Vm(l,t,e,a,n){if(ha(t),t.stateNode===null){var u=$a,c=e.contextType;typeof c=="object"&&c!==null&&(u=Yl(c)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=qo,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Ts(t),c=e.contextType,u.context=typeof c=="object"&&c!==null?Yl(c):$a,u.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(jf(t,e,c,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&qo.enqueueReplaceState(u,u.state,null),cu(t,a,u,n),iu(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var f=t.memoizedProps,o=pa(e,f);u.props=o;var s=u.context,v=e.contextType;c=$a,typeof v=="object"&&v!==null&&(c=Yl(v));var p=e.getDerivedStateFromProps;v=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,v||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||s!==c)&&Hm(t,u,a,c),ze=!1;var h=t.memoizedState;u.state=h,cu(t,a,u,n),iu(),s=t.memoizedState,f||h!==s||ze?(typeof p=="function"&&(jf(t,e,p,a),s=t.memoizedState),(o=ze||km(t,e,o,a,h,s,c))?(v||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=s),u.props=a,u.state=s,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Uo(l,t),c=t.memoizedProps,v=pa(e,c),u.props=v,p=t.pendingProps,h=u.context,s=e.contextType,o=$a,typeof s=="object"&&s!==null&&(o=Yl(s)),f=e.getDerivedStateFromProps,(s=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==p||h!==o)&&Hm(t,u,a,o),ze=!1,h=t.memoizedState,u.state=h,cu(t,a,u,n),iu();var m=t.memoizedState;c!==p||h!==m||ze||l!==null&&l.dependencies!==null&&Pi(l.dependencies)?(typeof f=="function"&&(jf(t,e,f,a),m=t.memoizedState),(v=ze||km(t,e,v,a,h,m,o)||l!==null&&l.dependencies!==null&&Pi(l.dependencies))?(s||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,m,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,m,o)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=m),u.props=a,u.state=m,u.context=o,a=v):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,Gi(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=ya(t,l.child,null,n),t.child=ya(t,null,e,n)):xl(l,t,e,n),t.memoizedState=u.state,l=t.child):l=fe(l,t,n),l}i(Vm,"updateClassComponent");function Qm(l,t,e,a){return ma(),t.flags|=256,xl(l,t,e,a),t.child}i(Qm,"mountHostRootWithoutHydrating");var Lf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Zf(l){return{baseLanes:l,cachePool:r0()}}i(Zf,"mountSuspenseOffscreenState");function Kf(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=tt),l}i(Kf,"getRemainingWorkInPrimaryTree");function ay(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(dl.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(j){if(n?Ae(t):Ee(t),(l=nl)?(l=wy(l,pt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Ve!==null?{id:Bt,overflow:xt}:null,retryLane:536870912,hydrationErrors:null},e=c0(l),e.return=t,t.child=e,Rl=t,nl=null)):l=null,l===null)throw Qe(t);return Io(l)?t.lanes=32:t.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Ee(t),n=t.mode,f=ic({mode:"hidden",children:f},n),a=oa(a,n,e,null),f.return=t,a.return=t,f.sibling=a,t.child=f,a=t.child,a.memoizedState=Zf(e),a.childLanes=Kf(l,c,e),t.memoizedState=Lf,Pn(null,a)):(Ae(t),Go(t,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)t.flags&256?(Ae(t),t.flags&=-257,t=Jf(l,t,e)):t.memoizedState!==null?(Ee(t),t.child=l.child,t.flags|=128,t=null):(Ee(t),f=a.fallback,n=t.mode,a=ic({mode:"visible",children:a.children},n),f=oa(f,n,e,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,ya(t,l.child,null,e),a=t.child,a.memoizedState=Zf(e),a.childLanes=Kf(l,c,e),t.memoizedState=Lf,t=Pn(null,a));else if(Ae(t),Io(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(b(419)),a.stack="",a.digest=c,bu({value:a,source:null,stack:null}),t=Jf(l,t,e)}else if(bl||Tn(l,t,e,!1),c=(e&l.childLanes)!==0,bl||c){if(c=ll,c!==null&&(a=Hh(c,e),a!==0&&a!==o.retryLane))throw o.retryLane=a,za(l,a),Wl(c,l,a),Rs;$o(f)||sc(),t=Jf(l,t,e)}else $o(f)?(t.flags|=192,t.child=l.child,t=null):(l=o.treeContext,nl=bt(f.nextSibling),Rl=t,j=!0,ke=null,pt=!1,l!==null&&o0(t,l),t=Go(t,a.children),t.flags|=4096);return t}return n?(Ee(t),f=a.fallback,n=t.mode,o=l.child,s=o.sibling,a=ee(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=ee(s,f):(f=oa(f,n,e,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,Pn(null,a),a=t.child,f=l.child.memoizedState,f===null?f=Zf(e):(n=f.cachePool,n!==null?(o=gl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=r0(),f={baseLanes:f.baseLanes|e,cachePool:n}),a.memoizedState=f,a.childLanes=Kf(l,c,e),t.memoizedState=Lf,Pn(l.child,a)):(Ae(t),e=l.child,l=e.sibling,e=ee(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}i(ay,"updateSuspenseComponent");function Go(l,t){return t=ic({mode:"visible",children:t},l.mode),t.return=l,l.child=t}i(Go,"mountSuspensePrimaryChildren");function ic(l,t){return l=lt(22,l,null,t),l.lanes=0,l}i(ic,"mountWorkInProgressOffscreenFiber");function Jf(l,t,e){return ya(t,l.child,null,e),l=Go(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}i(Jf,"retrySuspenseComponentWithoutHydrating");function Xm(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),_o(l.return,t,e)}i(Xm,"scheduleSuspenseWorkOnFiber");function wf(l,t,e,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=n,c.treeForkCount=u)}i(wf,"initSuspenseListRenderState");function ny(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=dl.current,f=(c&2)!==0;if(f?(c=c&1|2,t.flags|=128):c&=1,tl(dl,c),xl(l,t,a,e),a=j?gu:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Xm(l,e,t);else if(l.tag===19)Xm(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&ec(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),wf(t,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&ec(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}wf(t,!0,e,null,u,a);break;case"together":wf(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}i(ny,"updateSuspenseListComponent");function fe(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),je|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(Tn(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(b(153));if(t.child!==null){for(l=t.child,e=ee(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=ee(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}i(fe,"bailoutOnAlreadyFinishedWork");function Ys(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Pi(l)))}i(Ys,"checkScheduledUpdateOrContext");function gp(l,t,e){switch(t.tag){case 3:Ki(t,t.stateNode.containerInfo),Te(t,gl,l.memoizedState.cache),ma();break;case 27:case 5:mo(t);break;case 4:Ki(t,t.stateNode.containerInfo);break;case 10:Te(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ko(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Ae(t),t.flags|=128,null):(e&t.child.childLanes)!==0?ay(l,t,e):(Ae(t),l=fe(l,t,e),l!==null?l.sibling:null);Ae(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(Tn(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return ny(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),tl(dl,dl.current),a)break;return null;case 22:return t.lanes=0,ey(l,t,e,t.pendingProps);case 24:Te(t,gl,l.memoizedState.cache)}return fe(l,t,e)}i(gp,"attemptEarlyBailoutIfNoScheduledUpdate");function uy(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)bl=!0;else{if(!Ys(l,e)&&(t.flags&128)===0)return bl=!1,gp(l,t,e);bl=(l.flags&131072)!==0}else bl=!1,j&&(t.flags&1048576)!==0&&f0(t,gu,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=ia(t.elementType),t.type=l,typeof l=="function")vs(l)?(a=pa(l,a),t.tag=1,t=Vm(null,t,l,a,e)):(t.tag=0,t=Yo(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===es){t.tag=11,t=xm(null,t,l,a,e);break l}else if(n===as){t.tag=14,t=qm(null,t,l,a,e);break l}}throw t=so(l)||l,Error(b(306,t,""))}}return t;case 0:return Yo(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=pa(a,t.pendingProps),Vm(l,t,a,n,e);case 3:l:{if(Ki(t,t.stateNode.containerInfo),l===null)throw Error(b(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Uo(l,t),cu(t,a,null,e);var c=t.memoizedState;if(a=c.cache,Te(t,gl,a),a!==u.cache&&Mo(t,[gl],e,!0),iu(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Qm(l,t,a,e);break l}else if(a!==n){n=vt(Error(b(424)),t),bu(n),t=Qm(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(nl=bt(l.firstChild),Rl=t,j=!0,ke=null,pt=!0,e=h0(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(ma(),a===n){t=fe(l,t,e);break l}xl(l,t,a,e)}t=t.child}return t;case 26:return Gi(l,t),l===null?(e=sh(t.type,null,t.pendingProps,null))?t.memoizedState=e:j||(e=t.type,l=t.pendingProps,a=hc(Ce.current).createElement(e),a[ql]=t,a[Fl]=l,Gl(a,e,l),Ol(a),t.stateNode=a):t.memoizedState=sh(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return mo(t),l===null&&j&&(a=t.stateNode=Wy(t.type,t.pendingProps,Ce.current),Rl=t,pt=!0,n=nl,Ze(t.type)?(Po=n,nl=bt(a.firstChild)):nl=n),xl(l,t,t.pendingProps.children,e),Gi(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&j&&((n=a=nl)&&(a=Kp(a,t.type,t.pendingProps,pt),a!==null?(t.stateNode=a,Rl=t,nl=bt(a.firstChild),pt=!1,n=!0):n=!1),n||Qe(t)),mo(t),n=t.type,u=t.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,Wo(n,u)?a=null:c!==null&&Wo(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=Ns(l,t,op,null,null,e),Nu._currentValue=n),Gi(l,t),xl(l,t,a,e),t.child;case 6:return l===null&&j&&((l=e=nl)&&(e=Jp(e,t.pendingProps,pt),e!==null?(t.stateNode=e,Rl=t,nl=null,l=!0):l=!1),l||Qe(t)),null;case 13:return ay(l,t,e);case 4:return Ki(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=ya(t,null,a,e):xl(l,t,a,e),t.child;case 11:return xm(l,t,t.type,t.pendingProps,e);case 7:return xl(l,t,t.pendingProps,e),t.child;case 8:return xl(l,t,t.pendingProps.children,e),t.child;case 12:return xl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,Te(t,t.type,a.value),xl(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,ha(t),n=Yl(n),a=a(n),t.flags|=1,xl(l,t,a,e),t.child;case 14:return qm(l,t,t.type,t.pendingProps,e);case 15:return ty(l,t,t.type,t.pendingProps,e);case 19:return ny(l,t,e);case 31:return pp(l,t,e);case 22:return ey(l,t,e,t.pendingProps);case 24:return ha(t),a=Yl(gl),l===null?(n=Ss(),n===null&&(n=ll,u=bs(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},Ts(t),Te(t,gl,n)):((l.lanes&e)!==0&&(Uo(l,t),cu(t,null,null,e),iu()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Te(t,gl,a)):(a=u.cache,Te(t,gl,a),a!==n.cache&&Mo(t,[gl],e,!0))),xl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(b(156,t.tag))}i(uy,"beginWork");function Jt(l){l.flags|=4}i(Jt,"markUpdate");function Wf(l,t,e,a,n){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Uy())l.flags|=8192;else throw ra=lc,zs}else l.flags&=-16777217}i(Wf,"preloadInstanceAndSuspendIfNeeded");function jm(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Iy(t))if(Uy())l.flags|=8192;else throw ra=lc,zs}i(jm,"preloadResourceAndSuspendIfNeeded");function Ai(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Dh():536870912,l.lanes|=t,yn|=t)}i(Ai,"scheduleRetryEffect");function Kn(l,t){if(!j)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}i(Kn,"cutOffTailIfNeeded");function al(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}i(al,"bubbleProperties");function bp(l,t,e){var a=t.pendingProps;switch(gs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return al(t),null;case 1:return al(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ae(gl),on(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(Ga(t)?Jt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Vf())),al(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Jt(t),u!==null?(al(t),jm(t,u)):(al(t),Wf(t,n,null,a,e))):u?u!==l.memoizedState?(Jt(t),al(t),jm(t,u)):(al(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Jt(t),al(t),Wf(t,n,l,a,e)),null;case 27:if(Ji(t),e=Ce.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return al(t),null}l=Rt.current,Ga(t)?gm(t,l):(l=Wy(n,a,e),t.stateNode=l,Jt(t))}return al(t),null;case 5:if(Ji(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return al(t),null}if(u=Rt.current,Ga(t))gm(t,u);else{var c=hc(Ce.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[ql]=t,u[Fl]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)u.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 l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;l:switch(Gl(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Jt(t)}}return al(t),Wf(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(b(166));if(l=Ce.current,Ga(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=Rl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[ql]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Zy(l.nodeValue,e)),l||Qe(t,!0)}else l=hc(l).createTextNode(a),l[ql]=t,t.stateNode=l}return al(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=Ga(t),e!==null){if(l===null){if(!a)throw Error(b(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(557));l[ql]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;al(t),l=!1}else e=Vf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(Pl(t),t):(Pl(t),null);if((t.flags&128)!==0)throw Error(b(558))}return al(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Ga(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(b(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(b(317));n[ql]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;al(t),n=!1}else n=Vf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Pl(t),t):(Pl(t),null)}return Pl(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),Ai(t,t.updateQueue),al(t),null);case 4:return on(),l===null&&Zs(t.stateNode.containerInfo),al(t),null;case 10:return ae(t.type),al(t),null;case 19:if(Ul(dl),a=t.memoizedState,a===null)return al(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)Kn(a,!1);else{if(rl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=ec(l),u!==null){for(t.flags|=128,Kn(a,!1),l=u.updateQueue,t.updateQueue=l,Ai(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)i0(e,l),e=e.sibling;return tl(dl,dl.current&1|2),j&&$t(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&et()>fc&&(t.flags|=128,n=!0,Kn(a,!1),t.lanes=4194304)}else{if(!n)if(l=ec(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,Ai(t,l),Kn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!j)return al(t),null}else 2*et()-a.renderingStartTime>fc&&e!==536870912&&(t.flags|=128,n=!0,Kn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=et(),l.sibling=null,e=dl.current,tl(dl,n?e&1|2:e&1),j&&$t(t,a.treeForkCount),l):(al(t),null);case 22:case 23:return Pl(t),As(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(al(t),t.subtreeFlags&6&&(t.flags|=8192)):al(t),e=t.updateQueue,e!==null&&Ai(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&Ul(sa),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),ae(gl),al(t),null;case 25:return null;case 30:return null}throw Error(b(156,t.tag))}i(bp,"completeWork");function Sp(l,t){switch(gs(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return ae(gl),on(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Ji(t),null;case 31:if(t.memoizedState!==null){if(Pl(t),t.alternate===null)throw Error(b(340));ma()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(Pl(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(b(340));ma()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return Ul(dl),null;case 4:return on(),null;case 10:return ae(t.type),null;case 22:case 23:return Pl(t),As(),l!==null&&Ul(sa),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return ae(gl),null;case 25:return null;default:return null}}i(Sp,"unwindWork");function iy(l,t){switch(gs(t),t.tag){case 3:ae(gl),on();break;case 26:case 27:case 5:Ji(t);break;case 4:on();break;case 31:t.memoizedState!==null&&Pl(t);break;case 13:Pl(t);break;case 19:Ul(dl);break;case 10:ae(t.type);break;case 22:case 23:Pl(t),As(),l!==null&&Ul(sa);break;case 24:ae(gl)}}i(iy,"unwindInterruptedWork");function qu(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,c=e.inst;a=u(),c.destroy=a}e=e.next}while(e!==n)}}catch(f){w(t,t.return,f)}}i(qu,"commitHookEffectListMount");function Xe(l,t,e){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var c=a.inst,f=c.destroy;if(f!==void 0){c.destroy=void 0,n=t;var o=e,s=f;try{s()}catch(v){w(n,o,v)}}}a=a.next}while(a!==u)}}catch(v){w(t,t.return,v)}}i(Xe,"commitHookEffectListUnmount");function cy(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{v0(t,e)}catch(a){w(l,l.return,a)}}}i(cy,"commitClassCallbacks");function fy(l,t,e){e.props=pa(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){w(l,t,a)}}i(fy,"safelyCallComponentWillUnmount");function ou(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(n){w(l,t,n)}}i(ou,"safelyAttachRef");function qt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){w(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){w(l,t,n)}else e.current=null}i(qt,"safelyDetachRef");function oy(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){w(l,l.return,n)}}i(oy,"commitHostMount");function Ff(l,t,e){try{var a=l.stateNode;Vp(a,l.type,e,t),a[Fl]=t}catch(n){w(l,l.return,n)}}i(Ff,"commitHostUpdate");function sy(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Ze(l.type)||l.tag===4}i(sy,"isHostParent");function $f(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||sy(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&&Ze(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}i($f,"getHostSibling");function Vo(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=le));else if(a!==4&&(a===27&&Ze(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Vo(l,t,e),l=l.sibling;l!==null;)Vo(l,t,e),l=l.sibling}i(Vo,"insertOrAppendPlacementNodeIntoContainer");function cc(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&Ze(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(cc(l,t,e),l=l.sibling;l!==null;)cc(l,t,e),l=l.sibling}i(cc,"insertOrAppendPlacementNode");function ry(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Gl(t,a,e),t[ql]=l,t[Fl]=e}catch(u){w(l,l.return,u)}}i(ry,"commitHostSingletonAcquisition");var It=!1,pl=!1,If=!1,Lm=typeof WeakSet=="function"?WeakSet:Set,Ml=null;function zp(l,t){if(l=l.containerInfo,Jo=gc,l=Ih(l),ms(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break l}var c=0,f=-1,o=-1,s=0,v=0,p=l,h=null;t:for(;;){for(var m;p!==e||n!==0&&p.nodeType!==3||(f=c+n),p!==u||a!==0&&p.nodeType!==3||(o=c+a),p.nodeType===3&&(c+=p.nodeValue.length),(m=p.firstChild)!==null;)h=p,p=m;for(;;){if(p===l)break t;if(h===e&&++s===n&&(f=c),h===u&&++v===a&&(o=c),(m=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=m}e=f===-1||o===-1?null:{start:f,end:o}}else e=null}e=e||{start:0,end:0}}else e=null;for(wo={focusedElem:l,selectionRange:e},gc=!1,Ml=t;Ml!==null;)if(t=Ml,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Ml=l;else for(;Ml!==null;){switch(t=Ml,u=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)n=l[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,e=t,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var S=pa(e.type,n);l=a.getSnapshotBeforeUpdate(S,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(E){w(e,e.return,E)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)Fo(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Fo(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(b(163))}if(l=t.sibling,l!==null){l.return=t.return,Ml=l;break}Ml=t.return}}i(zp,"commitBeforeMutationEffects");function dy(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Wt(l,e),a&4&&qu(5,e);break;case 1:if(Wt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){w(e,e.return,c)}else{var n=pa(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){w(e,e.return,c)}}a&64&&cy(e),a&512&&ou(e,e.return);break;case 3:if(Wt(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{v0(l,t)}catch(c){w(e,e.return,c)}}break;case 27:t===null&&a&4&&ry(e);case 26:case 5:Wt(l,e),t===null&&a&4&&oy(e),a&512&&ou(e,e.return);break;case 12:Wt(l,e);break;case 31:Wt(l,e),a&4&&yy(l,e);break;case 13:Wt(l,e),a&4&&vy(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Dp.bind(null,e),wp(l,e))));break;case 22:if(a=e.memoizedState!==null||It,!a){t=t!==null&&t.memoizedState!==null||pl,n=It;var u=pl;It=a,(pl=t)&&!u?Ft(l,e,(e.subtreeFlags&8772)!==0):Wt(l,e),It=n,pl=u}break;case 30:break;default:Wt(l,e)}}i(dy,"commitLayoutEffectOnFiber");function my(l){var t=l.alternate;t!==null&&(l.alternate=null,my(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&cs(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}i(my,"detachFiberAfterEffects");var ol=null,Jl=!1;function wt(l,t,e){for(e=e.child;e!==null;)hy(l,t,e),e=e.sibling}i(wt,"recursivelyTraverseDeletionEffects");function hy(l,t,e){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(Uu,e)}catch{}switch(e.tag){case 26:pl||qt(e,t),wt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:pl||qt(e,t);var a=ol,n=Jl;Ze(e.type)&&(ol=e.stateNode,Jl=!1),wt(l,t,e),mu(e.stateNode),ol=a,Jl=n;break;case 5:pl||qt(e,t);case 6:if(a=ol,n=Jl,ol=null,wt(l,t,e),ol=a,Jl=n,ol!==null)if(Jl)try{(ol.nodeType===9?ol.body:ol.nodeName==="HTML"?ol.ownerDocument.body:ol).removeChild(e.stateNode)}catch(u){w(e,t,u)}else try{ol.removeChild(e.stateNode)}catch(u){w(e,t,u)}break;case 18:ol!==null&&(Jl?(l=ol,uh(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),bn(l)):uh(ol,e.stateNode));break;case 4:a=ol,n=Jl,ol=e.stateNode.containerInfo,Jl=!0,wt(l,t,e),ol=a,Jl=n;break;case 0:case 11:case 14:case 15:Xe(2,e,t),pl||Xe(4,e,t),wt(l,t,e);break;case 1:pl||(qt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&fy(e,t,a)),wt(l,t,e);break;case 21:wt(l,t,e);break;case 22:pl=(a=pl)||e.memoizedState!==null,wt(l,t,e),pl=a;break;default:wt(l,t,e)}}i(hy,"commitDeletionEffectsOnFiber");function yy(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{bn(l)}catch(e){w(t,t.return,e)}}}i(yy,"commitActivityHydrationCallbacks");function vy(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{bn(l)}catch(e){w(t,t.return,e)}}i(vy,"commitSuspenseHydrationCallbacks");function Tp(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Lm),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Lm),t;default:throw Error(b(435,l.tag))}}i(Tp,"getRetryCache");function Ei(l,t){var e=Tp(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=Cp.bind(null,l,a);a.then(n,n)}})}i(Ei,"attachSuspenseRetryListeners");function Zl(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=l,c=t,f=c;l:for(;f!==null;){switch(f.tag){case 27:if(Ze(f.type)){ol=f.stateNode,Jl=!1;break l}break;case 5:ol=f.stateNode,Jl=!1;break l;case 3:case 4:ol=f.stateNode.containerInfo,Jl=!0;break l}f=f.return}if(ol===null)throw Error(b(160));hy(u,c,n),ol=null,Jl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)py(t,l),t=t.sibling}i(Zl,"recursivelyTraverseMutationEffects");var Et=null;function py(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Zl(t,l),Kl(l),a&4&&(Xe(3,l,l.return),qu(3,l),Xe(5,l,l.return));break;case 1:Zl(t,l),Kl(l),a&512&&(pl||e===null||qt(e,e.return)),a&64&&It&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=Et;if(Zl(t,l),Kl(l),a&512&&(pl||e===null||qt(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[ku]||u[ql]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Gl(u,a,e),u[ql]=l,Ol(u),a=u;break l;case"link":var c=dh("link","href",n).get(a+(e.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(f,1);break t}}u=n.createElement(a),Gl(u,a,e),n.head.appendChild(u);break;case"meta":if(c=dh("meta","content",n).get(a+(e.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(f,1);break t}}u=n.createElement(a),Gl(u,a,e),n.head.appendChild(u);break;default:throw Error(b(468,a))}u[ql]=l,Ol(u),a=u}l.stateNode=a}else mh(n,l.type,l.stateNode);else l.stateNode=rh(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?mh(n,l.type,l.stateNode):rh(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Ff(l,l.memoizedProps,e.memoizedProps)}break;case 27:Zl(t,l),Kl(l),a&512&&(pl||e===null||qt(e,e.return)),e!==null&&a&4&&Ff(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Zl(t,l),Kl(l),a&512&&(pl||e===null||qt(e,e.return)),l.flags&32){n=l.stateNode;try{rn(n,"")}catch(S){w(l,l.return,S)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Ff(l,n,e!==null?e.memoizedProps:n)),a&1024&&(If=!0);break;case 6:if(Zl(t,l),Kl(l),a&4){if(l.stateNode===null)throw Error(b(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(S){w(l,l.return,S)}}break;case 3:if(Xi=null,n=Et,Et=yc(t.containerInfo),Zl(t,l),Et=n,Kl(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(S){w(l,l.return,S)}If&&(If=!1,gy(l));break;case 4:a=Et,Et=yc(l.stateNode.containerInfo),Zl(t,l),Kl(l),Et=a;break;case 12:Zl(t,l),Kl(l);break;case 31:Zl(t,l),Kl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ei(l,a)));break;case 13:Zl(t,l),Kl(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Cc=et()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ei(l,a)));break;case 22:n=l.memoizedState!==null;var o=e!==null&&e.memoizedState!==null,s=It,v=pl;if(It=s||n,pl=v||o,Zl(t,l),pl=v,It=s,Kl(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||o||It||pl||ca(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){o=e=t;try{if(u=o.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{f=o.stateNode;var p=o.memoizedProps.style,h=p!=null&&p.hasOwnProperty("display")?p.display:null;f.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(S){w(o,o.return,S)}}}else if(t.tag===6){if(e===null){o=t;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(S){w(o,o.return,S)}}}else if(t.tag===18){if(e===null){o=t;try{var m=o.stateNode;n?ih(m,!0):ih(o.stateNode,!1)}catch(S){w(o,o.return,S)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,Ei(l,e))));break;case 19:Zl(t,l),Kl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ei(l,a)));break;case 30:break;case 21:break;default:Zl(t,l),Kl(l)}}i(py,"commitMutationEffectsOnFiber");function Kl(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(sy(a)){e=a;break}a=a.return}if(e==null)throw Error(b(160));switch(e.tag){case 27:var n=e.stateNode,u=$f(l);cc(l,u,n);break;case 5:var c=e.stateNode;e.flags&32&&(rn(c,""),e.flags&=-33);var f=$f(l);cc(l,f,c);break;case 3:case 4:var o=e.stateNode.containerInfo,s=$f(l);Vo(l,s,o);break;default:throw Error(b(161))}}catch(v){w(l,l.return,v)}l.flags&=-3}t&4096&&(l.flags&=-4097)}i(Kl,"commitReconciliationEffects");function gy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;gy(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}i(gy,"recursivelyResetForms");function Wt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)dy(l,t.alternate,t),t=t.sibling}i(Wt,"recursivelyTraverseLayoutEffects");function ca(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:Xe(4,t,t.return),ca(t);break;case 1:qt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&fy(t,t.return,e),ca(t);break;case 27:mu(t.stateNode);case 26:case 5:qt(t,t.return),ca(t);break;case 22:t.memoizedState===null&&ca(t);break;case 30:ca(t);break;default:ca(t)}l=l.sibling}}i(ca,"recursivelyTraverseDisappearLayoutEffects");function Ft(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,c=u.flags;switch(u.tag){case 0:case 11:case 15:Ft(n,u,e),qu(4,u);break;case 1:if(Ft(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(s){w(a,a.return,s)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)y0(o[n],f)}catch(s){w(a,a.return,s)}}e&&c&64&&cy(u),ou(u,u.return);break;case 27:ry(u);case 26:case 5:Ft(n,u,e),e&&a===null&&c&4&&oy(u),ou(u,u.return);break;case 12:Ft(n,u,e);break;case 31:Ft(n,u,e),e&&c&4&&yy(n,u);break;case 13:Ft(n,u,e),e&&c&4&&vy(n,u);break;case 22:u.memoizedState===null&&Ft(n,u,e),ou(u,u.return);break;case 30:break;default:Ft(n,u,e)}t=t.sibling}}i(Ft,"recursivelyTraverseReappearLayoutEffects");function Gs(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&Bu(e))}i(Gs,"commitOffscreenPassiveMountEffects");function Vs(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Bu(l))}i(Vs,"commitCachePassiveMountEffect");function At(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)by(l,t,e,a),t=t.sibling}i(At,"recursivelyTraversePassiveMountEffects");function by(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:At(l,t,e,a),n&2048&&qu(9,t);break;case 1:At(l,t,e,a);break;case 3:At(l,t,e,a),n&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Bu(l)));break;case 12:if(n&2048){At(l,t,e,a),l=t.stateNode;try{var u=t.memoizedProps,c=u.id,f=u.onPostCommit;typeof f=="function"&&f(c,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){w(t,t.return,o)}}else At(l,t,e,a);break;case 31:At(l,t,e,a);break;case 13:At(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?At(l,t,e,a):su(l,t):u._visibility&2?At(l,t,e,a):(u._visibility|=2,Qa(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Gs(c,t);break;case 24:At(l,t,e,a),n&2048&&Vs(t.alternate,t);break;default:At(l,t,e,a)}}i(by,"commitPassiveMountOnFiber");function Qa(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,c=t,f=e,o=a,s=c.flags;switch(c.tag){case 0:case 11:case 15:Qa(u,c,f,o,n),qu(8,c);break;case 23:break;case 22:var v=c.stateNode;c.memoizedState!==null?v._visibility&2?Qa(u,c,f,o,n):su(u,c):(v._visibility|=2,Qa(u,c,f,o,n)),n&&s&2048&&Gs(c.alternate,c);break;case 24:Qa(u,c,f,o,n),n&&s&2048&&Vs(c.alternate,c);break;default:Qa(u,c,f,o,n)}t=t.sibling}}i(Qa,"recursivelyTraverseReconnectPassiveEffects");function su(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:su(e,a),n&2048&&Gs(a.alternate,a);break;case 24:su(e,a),n&2048&&Vs(a.alternate,a);break;default:su(e,a)}t=t.sibling}}i(su,"recursivelyTraverseAtomicPassiveEffects");var lu=8192;function Va(l,t,e){if(l.subtreeFlags&lu)for(l=l.child;l!==null;)Sy(l,t,e),l=l.sibling}i(Va,"recursivelyAccumulateSuspenseyCommit");function Sy(l,t,e){switch(l.tag){case 26:Va(l,t,e),l.flags&lu&&l.memoizedState!==null&&ig(e,Et,l.memoizedState,l.memoizedProps);break;case 5:Va(l,t,e);break;case 3:case 4:var a=Et;Et=yc(l.stateNode.containerInfo),Va(l,t,e),Et=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=lu,lu=16777216,Va(l,t,e),lu=a):Va(l,t,e));break;default:Va(l,t,e)}}i(Sy,"accumulateSuspenseyCommitOnFiber");function zy(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}i(zy,"detachAlternateSiblings");function Jn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Ml=a,Ay(a,l)}zy(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Ty(l),l=l.sibling}i(Jn,"recursivelyTraversePassiveUnmountEffects");function Ty(l){switch(l.tag){case 0:case 11:case 15:Jn(l),l.flags&2048&&Xe(9,l,l.return);break;case 3:Jn(l);break;case 12:Jn(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Vi(l)):Jn(l);break;default:Jn(l)}}i(Ty,"commitPassiveUnmountOnFiber");function Vi(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Ml=a,Ay(a,l)}zy(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Xe(8,t,t.return),Vi(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,Vi(t));break;default:Vi(t)}l=l.sibling}}i(Vi,"recursivelyTraverseDisconnectPassiveEffects");function Ay(l,t){for(;Ml!==null;){var e=Ml;switch(e.tag){case 0:case 11:case 15:Xe(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Bu(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Ml=a;else l:for(e=l;Ml!==null;){a=Ml;var n=a.sibling,u=a.return;if(my(a),a===e){Ml=null;break l}if(n!==null){n.return=u,Ml=n;break l}Ml=u}}}i(Ay,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var Ap={getCacheForType:i(function(l){var t=Yl(gl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},"getCacheForType"),cacheSignal:i(function(){return Yl(gl).controller.signal},"cacheSignal")},Ep=typeof WeakMap=="function"?WeakMap:Map,L=0,ll=null,G=null,V=0,J=0,Il=null,Oe=!1,En=!1,Qs=!1,oe=0,rl=0,je=0,da=0,Xs=0,tt=0,yn=0,ru=null,wl=null,Qo=!1,Cc=0,Ey=0,fc=1/0,oc=null,xe=null,Tl=0,qe=null,vn=null,ne=0,Xo=0,jo=null,Ny=null,du=0,Lo=null;function ut(){return(L&2)!==0&&V!==0?V&-V:k.T!==null?Ls():Bh()}i(ut,"requestUpdateLane");function _y(){if(tt===0)if((V&536870912)===0||j){var l=hi;hi<<=1,(hi&3932160)===0&&(hi=262144),tt=l}else tt=536870912;return l=ct.current,l!==null&&(l.flags|=32),tt}i(_y,"requestDeferredLane");function Wl(l,t,e){(l===ll&&(J===2||J===9)||l.cancelPendingCommit!==null)&&(pn(l,0),Ue(l,V,tt,!1)),Cu(l,e),((L&2)===0||l!==ll)&&(l===ll&&((L&2)===0&&(da|=e),rl===4&&Ue(l,V,tt,!1)),Gt(l))}i(Wl,"scheduleUpdateOnFiber");function My(l,t,e){if((L&6)!==0)throw Error(b(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Du(l,t),n=a?Mp(l,t):Pf(l,t,!0),u=a;do{if(n===0){En&&!a&&Ue(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!Np(e)){n=Pf(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var f=l;n=ru;var o=f.current.memoizedState.isDehydrated;if(o&&(pn(f,c).flags|=256),c=Pf(f,c,!1),c!==2){if(Qs&&!o){f.errorRecoveryDisabledLanes|=u,da|=u,n=4;break l}u=wl,wl=n,u!==null&&(wl===null?wl=u:wl.push.apply(wl,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){pn(l,0),Ue(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(b(345));case 4:if((t&4194048)!==t)break;case 6:Ue(a,t,tt,!Oe);break l;case 2:wl=null;break;case 3:case 5:break;default:throw Error(b(329))}if((t&62914560)===t&&(n=Cc+300-et(),10<n)){if(Ue(a,t,tt,!Oe),Sc(a,0,!0)!==0)break l;ne=t,a.timeoutHandle=Jy(Zm.bind(null,a,e,wl,oc,Qo,t,tt,da,yn,Oe,u,"Throttled",-0,0),n);break l}Zm(a,e,wl,oc,Qo,t,tt,da,yn,Oe,u,null,-0,0)}}break}while(!0);Gt(l)}i(My,"performWorkOnRoot");function Zm(l,t,e,a,n,u,c,f,o,s,v,p,h,m){if(l.timeoutHandle=-1,p=t.subtreeFlags,p&8192||(p&16785408)===16785408){p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:le},Sy(t,u,p);var S=(u&62914560)===u?Cc-et():(u&4194048)===u?Ey-et():0;if(S=cg(p,S),S!==null){ne=u,l.cancelPendingCommit=S(Jm.bind(null,l,t,u,e,a,n,c,f,o,v,p,null,h,m)),Ue(l,u,c,!s);return}}Jm(l,t,u,e,a,n,c,f,o)}i(Zm,"commitRootWhenReady");function Np(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!it(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}i(Np,"isRenderConsistentWithExternalStores");function Ue(l,t,e,a){t&=~Xs,t&=~da,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-nt(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&Ch(l,e,t)}i(Ue,"markRootSuspended");function kc(){return(L&6)===0?(Ru(0,!1),!1):!0}i(kc,"flushSyncWork$1");function js(){if(G!==null){if(J===0)var l=G.return;else l=G,te=Ta=null,Os(l),un=null,Su=0,l=G;for(;l!==null;)iy(l.alternate,l),l=l.return;G=null}}i(js,"resetWorkInProgressStack");function pn(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,jp(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),ne=0,js(),ll=l,G=e=ee(l.current,null),V=t,J=0,Il=null,Oe=!1,En=Du(l,t),Qs=!1,yn=tt=Xs=da=je=rl=0,wl=ru=null,Qo=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var n=31-nt(a),u=1<<n;t|=l[n],a&=~u}return oe=t,Ec(),e}i(pn,"prepareFreshStack");function Oy(l,t){q=null,k.H=Tu,t===An||t===_c?(t=Am(),J=3):t===zs?(t=Am(),J=4):J=t===Rs?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Il=t,G===null&&(rl=1,uc(l,vt(t,l.current)))}i(Oy,"handleThrow");function Uy(){var l=ct.current;return l===null?!0:(V&4194048)===V?gt===null:(V&62914560)===V||(V&536870912)!==0?l===gt:!1}i(Uy,"shouldRemainOnPreviousScreen");function Dy(){var l=k.H;return k.H=Tu,l===null?Tu:l}i(Dy,"pushDispatcher");function Cy(){var l=k.A;return k.A=Ap,l}i(Cy,"pushAsyncDispatcher");function sc(){rl=4,Oe||(V&4194048)!==V&&ct.current!==null||(En=!0),(je&134217727)===0&&(da&134217727)===0||ll===null||Ue(ll,V,tt,!1)}i(sc,"renderDidSuspendDelayIfPossible");function Pf(l,t,e){var a=L;L|=2;var n=Dy(),u=Cy();(ll!==l||V!==t)&&(oc=null,pn(l,t)),t=!1;var c=rl;l:do try{if(J!==0&&G!==null){var f=G,o=Il;switch(J){case 8:js(),c=6;break l;case 3:case 2:case 9:case 6:ct.current===null&&(t=!0);var s=J;if(J=0,Il=null,ln(l,f,o,s),e&&En){c=0;break l}break;default:s=J,J=0,Il=null,ln(l,f,o,s)}}_p(),c=rl;break}catch(v){Oy(l,v)}while(!0);return t&&l.shellSuspendCounter++,te=Ta=null,L=a,k.H=n,k.A=u,G===null&&(ll=null,V=0,Ec()),c}i(Pf,"renderRootSync");function _p(){for(;G!==null;)ky(G)}i(_p,"workLoopSync");function Mp(l,t){var e=L;L|=2;var a=Dy(),n=Cy();ll!==l||V!==t?(oc=null,fc=et()+500,pn(l,t)):En=Du(l,t);l:do try{if(J!==0&&G!==null){t=G;var u=Il;t:switch(J){case 1:J=0,Il=null,ln(l,t,u,1);break;case 2:case 9:if(Tm(u)){J=0,Il=null,Km(t);break}t=i(function(){J!==2&&J!==9||ll!==l||(J=7),Gt(l)},"lanes"),u.then(t,t);break l;case 3:J=7;break l;case 4:J=5;break l;case 7:Tm(u)?(J=0,Il=null,Km(t)):(J=0,Il=null,ln(l,t,u,7));break;case 5:var c=null;switch(G.tag){case 26:c=G.memoizedState;case 5:case 27:var f=G;if(c?Iy(c):f.stateNode.complete){J=0,Il=null;var o=f.sibling;if(o!==null)G=o;else{var s=f.return;s!==null?(G=s,Hc(s)):G=null}break t}}J=0,Il=null,ln(l,t,u,5);break;case 6:J=0,Il=null,ln(l,t,u,6);break;case 8:js(),rl=6;break l;default:throw Error(b(462))}}Op();break}catch(v){Oy(l,v)}while(!0);return te=Ta=null,k.H=a,k.A=n,L=e,G!==null?0:(ll=null,V=0,Ec(),rl)}i(Mp,"renderRootConcurrent");function Op(){for(;G!==null&&!$v();)ky(G)}i(Op,"workLoopConcurrentByScheduler");function ky(l){var t=uy(l.alternate,l,oe);l.memoizedProps=l.pendingProps,t===null?Hc(l):G=t}i(ky,"performUnitOfWork");function Km(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Gm(e,t,t.pendingProps,t.type,void 0,V);break;case 11:t=Gm(e,t,t.pendingProps,t.type.render,t.ref,V);break;case 5:Os(t);default:iy(e,t),t=G=i0(t,oe),t=uy(e,t,oe)}l.memoizedProps=l.pendingProps,t===null?Hc(l):G=t}i(Km,"replaySuspendedUnitOfWork");function ln(l,t,e,a){te=Ta=null,Os(t),un=null,Su=0;var n=t.return;try{if(vp(l,n,t,e,V)){rl=1,uc(l,vt(e,l.current)),G=null;return}}catch(u){if(n!==null)throw G=n,u;rl=1,uc(l,vt(e,l.current)),G=null;return}t.flags&32768?(j||a===1?l=!0:En||(V&536870912)!==0?l=!1:(Oe=l=!0,(a===2||a===9||a===3||a===6)&&(a=ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),Hy(t,l)):Hc(t)}i(ln,"throwAndUnwindWorkLoop");function Hc(l){var t=l;do{if((t.flags&32768)!==0){Hy(t,Oe);return}l=t.return;var e=bp(t.alternate,t,oe);if(e!==null){G=e;return}if(t=t.sibling,t!==null){G=t;return}G=t=l}while(t!==null);rl===0&&(rl=5)}i(Hc,"completeUnitOfWork");function Hy(l,t){do{var e=Sp(l.alternate,l);if(e!==null){e.flags&=32767,G=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){G=l;return}G=l=e}while(l!==null);rl=6,G=null}i(Hy,"unwindUnitOfWork");function Jm(l,t,e,a,n,u,c,f,o){l.cancelPendingCommit=null;do Bc();while(Tl!==0);if((L&6)!==0)throw Error(b(327));if(t!==null){if(t===l.current)throw Error(b(177));if(u=t.lanes|t.childLanes,u|=hs,c1(l,e,u,c,f,o),l===ll&&(G=ll=null,V=0),vn=t,qe=l,ne=e,Xo=u,jo=n,Ny=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,kp(wi,function(){return Yy(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=k.T,k.T=null,n=Z.p,Z.p=2,c=L,L|=4;try{zp(l,t,e)}finally{L=c,Z.p=n,k.T=a}}Tl=1,By(),xy(),qy()}}i(Jm,"commitRoot");function By(){if(Tl===1){Tl=0;var l=qe,t=vn,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=k.T,k.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{py(t,l);var u=wo,c=Ih(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&$h(f.ownerDocument.documentElement,f)){if(o!==null&&ms(f)){var s=o.start,v=o.end;if(v===void 0&&(v=s),"selectionStart"in f)f.selectionStart=s,f.selectionEnd=Math.min(v,f.value.length);else{var p=f.ownerDocument||document,h=p&&p.defaultView||window;if(h.getSelection){var m=h.getSelection(),S=f.textContent.length,E=Math.min(o.start,S),O=o.end===void 0?E:Math.min(o.end,S);!m.extend&&E>O&&(c=O,O=E,E=c);var d=ym(f,E),r=ym(f,O);if(d&&r&&(m.rangeCount!==1||m.anchorNode!==d.node||m.anchorOffset!==d.offset||m.focusNode!==r.node||m.focusOffset!==r.offset)){var y=p.createRange();y.setStart(d.node,d.offset),m.removeAllRanges(),E>O?(m.addRange(y),m.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),m.addRange(y))}}}}for(p=[],m=f;m=m.parentNode;)m.nodeType===1&&p.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<p.length;f++){var g=p[f];g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}gc=!!Jo,wo=Jo=null}finally{L=n,Z.p=a,k.T=e}}l.current=t,Tl=2}}i(By,"flushMutationEffects");function xy(){if(Tl===2){Tl=0;var l=qe,t=vn,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=k.T,k.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{dy(l,t.alternate,t)}finally{L=n,Z.p=a,k.T=e}}Tl=3}}i(xy,"flushLayoutEffects");function qy(){if(Tl===4||Tl===3){Tl=0,Iv();var l=qe,t=vn,e=ne,a=Ny;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Tl=5:(Tl=0,vn=qe=null,Ry(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(xe=null),is(e),t=t.stateNode,at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(Uu,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=k.T,n=Z.p,Z.p=2,k.T=null;try{for(var u=l.onRecoverableError,c=0;c<a.length;c++){var f=a[c];u(f.value,{componentStack:f.stack})}}finally{k.T=t,Z.p=n}}(ne&3)!==0&&Bc(),Gt(l),n=l.pendingLanes,(e&261930)!==0&&(n&42)!==0?l===Lo?du++:(du=0,Lo=l):du=0,Ru(0,!1)}}i(qy,"flushSpawnedWork");function Ry(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Bu(t)))}i(Ry,"releaseRootPooledCache");function Bc(){return By(),xy(),qy(),Yy()}i(Bc,"flushPendingEffects");function Yy(){if(Tl!==5)return!1;var l=qe,t=Xo;Xo=0;var e=is(ne),a=k.T,n=Z.p;try{Z.p=32>e?32:e,k.T=null,e=jo,jo=null;var u=qe,c=ne;if(Tl=0,vn=qe=null,ne=0,(L&6)!==0)throw Error(b(331));var f=L;if(L|=4,Ty(u.current),by(u,u.current,c,e),L=f,Ru(0,!1),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(Uu,u)}catch{}return!0}finally{Z.p=n,k.T=a,Ry(l,t)}}i(Yy,"flushPassiveEffects");function wm(l,t,e){t=vt(e,t),t=Ro(l.stateNode,t,2),l=Be(l,t,2),l!==null&&(Cu(l,2),Gt(l))}i(wm,"captureCommitPhaseErrorOnRoot");function w(l,t,e){if(l.tag===3)wm(l,l,e);else for(;t!==null;){if(t.tag===3){wm(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(xe===null||!xe.has(a))){l=vt(e,l),e=P0(2),a=Be(t,e,2),a!==null&&(ly(e,a,t,l),Cu(a,2),Gt(a));break}}t=t.return}}i(w,"captureCommitPhaseError");function lo(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new Ep;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Qs=!0,n.add(e),l=Up.bind(null,l,t,e),t.then(l,l))}i(lo,"attachPingListener");function Up(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,ll===l&&(V&e)===e&&(rl===4||rl===3&&(V&62914560)===V&&300>et()-Cc?(L&2)===0&&pn(l,0):Xs|=e,yn===V&&(yn=0)),Gt(l)}i(Up,"pingSuspendedRoot");function Gy(l,t){t===0&&(t=Dh()),l=za(l,t),l!==null&&(Cu(l,t),Gt(l))}i(Gy,"retryTimedOutBoundary");function Dp(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Gy(l,e)}i(Dp,"retryDehydratedSuspenseBoundary");function Cp(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(b(314))}a!==null&&a.delete(t),Gy(l,e)}i(Cp,"resolveRetryWakeable");function kp(l,t){return ns(l,t)}i(kp,"scheduleCallback$1");var rc=null,Xa=null,Zo=!1,dc=!1,to=!1,De=0;function Gt(l){l!==Xa&&l.next===null&&(Xa===null?rc=Xa=l:Xa=Xa.next=l),dc=!0,Zo||(Zo=!0,Bp())}i(Gt,"ensureRootIsScheduled");function Ru(l,t){if(!to&&dc){to=!0;do for(var e=!1,a=rc;a!==null;){if(!t)if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-nt(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,Wm(a,u))}else u=V,u=Sc(a,a===ll?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Du(a,u)||(e=!0,Wm(a,u));a=a.next}while(e);to=!1}}i(Ru,"flushSyncWorkAcrossRoots_impl");function Hp(){Vy()}i(Hp,"processRootScheduleInImmediateTask");function Vy(){dc=Zo=!1;var l=0;De!==0&&Xp()&&(l=De);for(var t=et(),e=null,a=rc;a!==null;){var n=a.next,u=Qy(a,t);u===0?(a.next=null,e===null?rc=n:e.next=n,n===null&&(Xa=e)):(e=a,(l!==0||(u&3)!==0)&&(dc=!0)),a=n}Tl!==0&&Tl!==5||Ru(l,!1),De!==0&&(De=0)}i(Vy,"processRootScheduleInMicrotask");function Qy(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-nt(u),f=1<<c,o=n[c];o===-1?((f&e)===0||(f&a)!==0)&&(n[c]=i1(f,t)):o<=t&&(l.expiredLanes|=f),u&=~f}if(t=ll,e=V,e=Sc(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(J===2||J===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Df(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Du(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Df(a),is(e)){case 2:case 8:e=Oh;break;case 32:e=wi;break;case 268435456:e=Uh;break;default:e=wi}return a=Xy.bind(null,l),e=ns(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Df(a),l.callbackPriority=2,l.callbackNode=null,2}i(Qy,"scheduleTaskForRootDuringMicrotask");function Xy(l,t){if(Tl!==0&&Tl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Bc()&&l.callbackNode!==e)return null;var a=V;return a=Sc(l,l===ll?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(My(l,a,t),Qy(l,et()),l.callbackNode!=null&&l.callbackNode===e?Xy.bind(null,l):null)}i(Xy,"performWorkOnRootViaSchedulerTask");function Wm(l,t){if(Bc())return null;My(l,t,!0)}i(Wm,"performSyncWorkOnRoot");function Bp(){Lp(function(){(L&6)!==0?ns(Mh,Hp):Vy()})}i(Bp,"scheduleImmediateRootScheduleTask");function Ls(){if(De===0){var l=dn;l===0&&(l=mi,mi<<=1,(mi&261888)===0&&(mi=256)),De=l}return De}i(Ls,"requestTransitionLane");function Fm(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Ci(""+l)}i(Fm,"coerceFormActionProp");function $m(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}i($m,"createFormDataWithSubmitter");function xp(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=Fm((n[Fl]||null).action),c=a.submitter;c&&(t=(t=c[Fl]||null)?Fm(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var f=new zc("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:i(function(){if(a.defaultPrevented){if(De!==0){var o=c?$m(n,c):new FormData(n);xo(e,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?$m(n,c):new FormData(n),xo(e,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(xp,"extractEvents$1");for(Ni=0;Ni<Ao.length;Ni++)_i=Ao[Ni],Im=_i.toLowerCase(),Pm=_i[0].toUpperCase()+_i.slice(1),Nt(Im,"on"+Pm);var _i,Im,Pm,Ni;Nt(l0,"onAnimationEnd");Nt(t0,"onAnimationIteration");Nt(e0,"onAnimationStart");Nt("dblclick","onDoubleClick");Nt("focusin","onFocus");Nt("focusout","onBlur");Nt(P1,"onTransitionRun");Nt(lp,"onTransitionStart");Nt(tp,"onTransitionCancel");Nt(a0,"onTransitionEnd");sn("onMouseEnter",["mouseout","mouseover"]);sn("onMouseLeave",["mouseout","mouseover"]);sn("onPointerEnter",["pointerout","pointerover"]);sn("onPointerLeave",["pointerout","pointerover"]);ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ga("onBeforeInput",["compositionend","keypress","textInput","paste"]);ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Au="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(" "),qp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Au));function jy(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)for(var c=a.length-1;0<=c;c--){var f=a[c],o=f.instance,s=f.currentTarget;if(f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=s;try{u(n)}catch(v){Fi(v)}n.currentTarget=null,u=o}else for(c=0;c<a.length;c++){if(f=a[c],o=f.instance,s=f.currentTarget,f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=s;try{u(n)}catch(v){Fi(v)}n.currentTarget=null,u=o}}}}i(jy,"processDispatchQueue");function Y(l,t){var e=t[yo];e===void 0&&(e=t[yo]=new Set);var a=l+"__bubble";e.has(a)||(Ly(t,l,2,!1),e.add(a))}i(Y,"listenToNonDelegatedEvent");function eo(l,t,e){var a=0;t&&(a|=4),Ly(e,l,a,t)}i(eo,"listenToNativeEvent");var Mi="_reactListening"+Math.random().toString(36).slice(2);function Zs(l){if(!l[Mi]){l[Mi]=!0,xh.forEach(function(e){e!=="selectionchange"&&(qp.has(e)||eo(e,!1,l),eo(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Mi]||(t[Mi]=!0,eo("selectionchange",!1,t))}}i(Zs,"listenToAllSupportedEvents");function Ly(l,t,e,a){switch(av(t)){case 2:var n=sg;break;case 8:n=rg;break;default:n=Ws}e=n.bind(null,t,e,l),n=void 0,!So||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}i(Ly,"addTrappedEventListener");function ao(l,t,e,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var f=a.stateNode.containerInfo;if(f===n)break;if(c===4)for(c=a.return;c!==null;){var o=c.tag;if((o===3||o===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;f!==null;){if(c=Za(f),c===null)return;if(o=c.tag,o===5||o===6||o===26||o===27){a=u=c;continue l}f=f.parentNode}}a=a.return}jh(function(){var s=u,v=os(e),p=[];l:{var h=n0.get(l);if(h!==void 0){var m=zc,S=l;switch(l){case"keypress":if(Hi(e)===0)break l;case"keydown":case"keyup":m=C1;break;case"focusin":S="focus",m=xf;break;case"focusout":S="blur",m=xf;break;case"beforeblur":case"afterblur":m=xf;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=b1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=B1;break;case l0:case t0:case e0:m=T1;break;case a0:m=q1;break;case"scroll":case"scrollend":m=p1;break;case"wheel":m=Y1;break;case"copy":case"cut":case"paste":m=E1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=fm;break;case"toggle":case"beforetoggle":m=V1}var E=(t&4)!==0,O=!E&&(l==="scroll"||l==="scrollend"),d=E?h!==null?h+"Capture":null:h;E=[];for(var r=s,y;r!==null;){var g=r;if(y=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||y===null||d===null||(g=yu(r,d),g!=null&&E.push(Eu(r,g,y))),O)break;r=r.return}0<E.length&&(h=new m(h,S,null,e,v),p.push({event:h,listeners:E}))}}if((t&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",m=l==="mouseout"||l==="pointerout",h&&e!==bo&&(S=e.relatedTarget||e.fromElement)&&(Za(S)||S[Sn]))break l;if((m||h)&&(h=v.window===v?v:(h=v.ownerDocument)?h.defaultView||h.parentWindow:window,m?(S=e.relatedTarget||e.toElement,m=s,S=S?Za(S):null,S!==null&&(O=Ou(S),E=S.tag,S!==O||E!==5&&E!==27&&E!==6)&&(S=null)):(m=null,S=s),m!==S)){if(E=im,g="onMouseLeave",d="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(E=fm,g="onPointerLeave",d="onPointerEnter",r="pointer"),O=m==null?h:In(m),y=S==null?h:In(S),h=new E(g,r+"leave",m,e,v),h.target=O,h.relatedTarget=y,g=null,Za(v)===s&&(E=new E(d,r+"enter",S,e,v),E.target=y,E.relatedTarget=O,g=E),O=g,m&&S)t:{for(E=Rp,d=m,r=S,y=0,g=d;g;g=E(g))y++;g=0;for(var A=r;A;A=E(A))g++;for(;0<y-g;)d=E(d),y--;for(;0<g-y;)r=E(r),g--;for(;y--;){if(d===r||r!==null&&d===r.alternate){E=d;break t}d=E(d),r=E(r)}E=null}else E=null;m!==null&&lh(p,h,m,E,!1),S!==null&&O!==null&&lh(p,O,S,E,!0)}}l:{if(h=s?In(s):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var x=dm;else if(rm(h))if(Wh)x=F1;else{x=w1;var N=J1}else m=h.nodeName,!m||m.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?s&&fs(s.elementType)&&(x=dm):x=W1;if(x&&(x=x(l,s))){wh(p,x,e,v);break l}N&&N(l,h,s),l==="focusout"&&s&&h.type==="number"&&s.memoizedProps.value!=null&&go(h,"number",h.value)}switch(N=s?In(s):window,l){case"focusin":(rm(N)||N.contentEditable==="true")&&(wa=N,zo=s,au=null);break;case"focusout":au=zo=wa=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,vm(p,e,v);break;case"selectionchange":if(I1)break;case"keydown":case"keyup":vm(p,e,v)}var M;if(ds)l:{switch(l){case"compositionstart":var U="onCompositionStart";break l;case"compositionend":U="onCompositionEnd";break l;case"compositionupdate":U="onCompositionUpdate";break l}U=void 0}else Ja?Kh(l,e)&&(U="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(U="onCompositionStart");U&&(Zh&&e.locale!=="ko"&&(Ja||U!=="onCompositionStart"?U==="onCompositionEnd"&&Ja&&(M=Lh()):(Me=v,ss="value"in Me?Me.value:Me.textContent,Ja=!0)),N=mc(s,U),0<N.length&&(U=new cm(U,l,null,e,v),p.push({event:U,listeners:N}),M?U.data=M:(M=Jh(e),M!==null&&(U.data=M)))),(M=X1?j1(l,e):L1(l,e))&&(U=mc(s,"onBeforeInput"),0<U.length&&(N=new cm("onBeforeInput","beforeinput",null,e,v),p.push({event:N,listeners:U}),N.data=M)),xp(p,l,s,e,v)}jy(p,t)})}i(ao,"dispatchEventForPluginEventSystem");function Eu(l,t,e){return{instance:l,listener:t,currentTarget:e}}i(Eu,"createDispatchListener");function mc(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=yu(l,e),n!=null&&a.unshift(Eu(l,n,u)),n=yu(l,t),n!=null&&a.push(Eu(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(mc,"accumulateTwoPhaseListeners");function Rp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(Rp,"getParent");function lh(l,t,e,a,n){for(var u=t._reactName,c=[];e!==null&&e!==a;){var f=e,o=f.alternate,s=f.stateNode;if(f=f.tag,o!==null&&o===a)break;f!==5&&f!==26&&f!==27||s===null||(o=s,n?(s=yu(e,u),s!=null&&c.unshift(Eu(e,s,o))):n||(s=yu(e,u),s!=null&&c.push(Eu(e,s,o)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}i(lh,"accumulateEnterLeaveListenersForEvent");var Yp=/\r\n?/g,Gp=/\u0000|\uFFFD/g;function th(l){return(typeof l=="string"?l:""+l).replace(Yp,`
|
|
9
|
-
`).replace(Gp,"")}i(th,"normalizeMarkupForTextOrAttribute");function Zy(l,t){return t=th(t),th(l)===t}i(Zy,"checkForUnmatchedText");function $(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||rn(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&rn(l,""+a);break;case"className":vi(l,"class",a);break;case"tabIndex":vi(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":vi(l,e,a);break;case"style":Xh(l,a,u);break;case"data":if(t!=="object"){vi(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Ci(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"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 u=="function"&&(e==="formAction"?(t!=="input"&&$(l,t,"name",n.name,n,null),$(l,t,"formEncType",n.formEncType,n,null),$(l,t,"formMethod",n.formMethod,n,null),$(l,t,"formTarget",n.formTarget,n,null)):($(l,t,"encType",n.encType,n,null),$(l,t,"method",n.method,n,null),$(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Ci(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=le);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=Ci(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);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":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Di(l,"popover",a);break;case"xlinkActuate":Kt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Kt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Kt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Kt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Kt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Kt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Kt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Kt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Kt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Di(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=y1.get(e)||e,Di(l,e,a))}}i($,"setProp");function Ko(l,t,e,a,n,u){switch(e){case"style":Xh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=e}}break;case"children":typeof a=="string"?rn(l,a):(typeof a=="number"||typeof a=="bigint")&&rn(l,""+a);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"onClick":a!=null&&(l.onclick=le);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qh.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),t=e.slice(2,n?e.length-7:void 0),u=l[Fl]||null,u=u!=null?u[e]:null,typeof u=="function"&&l.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,n);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Di(l,e,a)}}}i(Ko,"setPropOnCustomElement");function Gl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Y("error",l),Y("load",l);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:$(l,t,u,c,e,null)}}n&&$(l,t,"srcSet",e.srcSet,e,null),a&&$(l,t,"src",e.src,e,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in e)if(e.hasOwnProperty(a)){var v=e[a];if(v!=null)switch(a){case"name":n=v;break;case"type":c=v;break;case"checked":o=v;break;case"defaultChecked":s=v;break;case"value":u=v;break;case"defaultValue":f=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(b(137,t));break;default:$(l,t,a,v,e,null)}}Gh(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in e)if(e.hasOwnProperty(n)&&(f=e[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,t,n,f,e,null)}t=u,e=c,l.multiple=!!a,t!=null?en(l,!!a,t,!1):e!=null&&en(l,!!a,e,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in e)if(e.hasOwnProperty(c)&&(f=e[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(91));break;default:$(l,t,c,f,e,null)}Qh(l,a,n,u);return;case"option":for(o in e)if(e.hasOwnProperty(o)&&(a=e[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:$(l,t,o,a,e,null)}return;case"dialog":Y("beforetoggle",l),Y("toggle",l),Y("cancel",l),Y("close",l);break;case"iframe":case"object":Y("load",l);break;case"video":case"audio":for(a=0;a<Au.length;a++)Y(Au[a],l);break;case"image":Y("error",l),Y("load",l);break;case"details":Y("toggle",l);break;case"embed":case"source":case"link":Y("error",l),Y("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(s in e)if(e.hasOwnProperty(s)&&(a=e[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:$(l,t,s,a,e,null)}return;default:if(fs(t)){for(v in e)e.hasOwnProperty(v)&&(a=e[v],a!==void 0&&Ko(l,t,v,a,e,void 0));return}}for(f in e)e.hasOwnProperty(f)&&(a=e[f],a!=null&&$(l,t,f,a,e,null))}i(Gl,"setInitialProperties");function Vp(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,f=null,o=null,s=null,v=null;for(m in e){var p=e[m];if(e.hasOwnProperty(m)&&p!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(m)||$(l,t,m,null,a,p)}}for(var h in a){var m=a[h];if(p=e[h],a.hasOwnProperty(h)&&(m!=null||p!=null))switch(h){case"type":u=m;break;case"name":n=m;break;case"checked":s=m;break;case"defaultChecked":v=m;break;case"value":c=m;break;case"defaultValue":f=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(b(137,t));break;default:m!==p&&$(l,t,h,m,a,p)}}po(l,c,f,o,s,v,u,n);return;case"select":m=c=f=h=null;for(u in e)if(o=e[u],e.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":m=o;default:a.hasOwnProperty(u)||$(l,t,u,null,a,o)}for(n in a)if(u=a[n],o=e[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":h=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&$(l,t,n,u,a,o)}t=f,e=c,a=m,h!=null?en(l,!!e,h,!1):!!a!=!!e&&(t!=null?en(l,!!e,t,!0):en(l,!!e,e?[]:"",!1));return;case"textarea":m=h=null;for(f in e)if(n=e[f],e.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,t,f,null,a,n)}for(c in a)if(n=a[c],u=e[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":h=n;break;case"defaultValue":m=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==u&&$(l,t,c,n,a,u)}Vh(l,h,m);return;case"option":for(var S in e)if(h=e[S],e.hasOwnProperty(S)&&h!=null&&!a.hasOwnProperty(S))switch(S){case"selected":l.selected=!1;break;default:$(l,t,S,null,a,h)}for(o in a)if(h=a[o],m=e[o],a.hasOwnProperty(o)&&h!==m&&(h!=null||m!=null))switch(o){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:$(l,t,o,h,a,m)}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 E in e)h=e[E],e.hasOwnProperty(E)&&h!=null&&!a.hasOwnProperty(E)&&$(l,t,E,null,a,h);for(s in a)if(h=a[s],m=e[s],a.hasOwnProperty(s)&&h!==m&&(h!=null||m!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,t));break;default:$(l,t,s,h,a,m)}return;default:if(fs(t)){for(var O in e)h=e[O],e.hasOwnProperty(O)&&h!==void 0&&!a.hasOwnProperty(O)&&Ko(l,t,O,void 0,a,h);for(v in a)h=a[v],m=e[v],!a.hasOwnProperty(v)||h===m||h===void 0&&m===void 0||Ko(l,t,v,h,a,m);return}}for(var d in e)h=e[d],e.hasOwnProperty(d)&&h!=null&&!a.hasOwnProperty(d)&&$(l,t,d,null,a,h);for(p in a)h=a[p],m=e[p],!a.hasOwnProperty(p)||h===m||h==null&&m==null||$(l,t,p,h,a,m)}i(Vp,"updateProperties");function eh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(eh,"isLikelyStaticResource");function Qp(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&eh(c)){for(c=0,f=n.responseEnd,a+=1;a<e.length;a++){var o=e[a],s=o.startTime;if(s>f)break;var v=o.transferSize,p=o.initiatorType;v&&eh(p)&&(o=o.responseEnd,c+=v*(o<f?1:(f-s)/(o-s)))}if(--a,t+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Qp,"estimateBandwidth");var Jo=null,wo=null;function hc(l){return l.nodeType===9?l:l.ownerDocument}i(hc,"getOwnerDocumentFromRootContainer");function ah(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}}i(ah,"getOwnHostContext");function Ky(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}i(Ky,"getChildHostContextProd");function Wo(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}i(Wo,"shouldSetTextContent");var no=null;function Xp(){var l=window.event;return l&&l.type==="popstate"?l===no?!1:(no=l,!0):(no=null,!1)}i(Xp,"shouldAttemptEagerTransition");var Jy=typeof setTimeout=="function"?setTimeout:void 0,jp=typeof clearTimeout=="function"?clearTimeout:void 0,nh=typeof Promise=="function"?Promise:void 0,Lp=typeof queueMicrotask=="function"?queueMicrotask:typeof nh<"u"?function(l){return nh.resolve(null).then(l).catch(Zp)}:Jy;function Zp(l){setTimeout(function(){throw l})}i(Zp,"handleErrorInNextTick");function Ze(l){return l==="head"}i(Ze,"isSingletonScope");function uh(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),bn(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")mu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,mu(e);for(var u=e.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[ku]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=c}}else e==="body"&&mu(l.ownerDocument.body);e=n}while(e);bn(t)}i(uh,"clearHydrationBoundary");function ih(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}i(ih,"hideOrUnhideDehydratedBoundary");function Fo(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":Fo(e),cs(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}i(Fo,"clearContainerSparingly");function Kp(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[ku])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=bt(l.nextSibling),l===null)break}return null}i(Kp,"canHydrateInstance");function Jp(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=bt(l.nextSibling),l===null))return null;return l}i(Jp,"canHydrateTextInstance");function wy(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=bt(l.nextSibling),l===null))return null;return l}i(wy,"canHydrateHydrationBoundary");function $o(l){return l.data==="$?"||l.data==="$~"}i($o,"isSuspenseInstancePending");function Io(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(Io,"isSuspenseInstanceFallback");function wp(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=i(function(){t(),e.removeEventListener("DOMContentLoaded",a)},"listener");e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(wp,"registerSuspenseInstanceRetry");function bt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}i(bt,"getNextHydratable");var Po=null;function ch(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return bt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}i(ch,"getNextHydratableInstanceAfterHydrationBoundary");function fh(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}i(fh,"getParentHydrationBoundary");function Wy(l,t,e){switch(t=hc(e),l){case"html":if(l=t.documentElement,!l)throw Error(b(452));return l;case"head":if(l=t.head,!l)throw Error(b(453));return l;case"body":if(l=t.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}i(Wy,"resolveSingletonInstance");function mu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);cs(l)}i(mu,"releaseSingletonInstance");var St=new Map,oh=new Set;function yc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(yc,"getHoistableRoot");var se=Z.d;Z.d={f:Wp,r:Fp,D:$p,C:Ip,L:Pp,m:lg,X:eg,S:tg,M:ag};function Wp(){var l=se.f(),t=kc();return l||t}i(Wp,"flushSyncWork");function Fp(l){var t=zn(l);t!==null&&t.tag===5&&t.type==="form"?X0(t):se.r(l)}i(Fp,"requestFormReset");var Nn=typeof document>"u"?null:document;function Fy(l,t,e){var a=Nn;if(a&&typeof t=="string"&&t){var n=yt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),oh.has(n)||(oh.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Gl(t,"link",l),Ol(t),a.head.appendChild(t)))}}i(Fy,"preconnectAs");function $p(l){se.D(l),Fy("dns-prefetch",l,null)}i($p,"prefetchDNS");function Ip(l,t){se.C(l,t),Fy("preconnect",l,t)}i(Ip,"preconnect");function Pp(l,t,e){se.L(l,t,e);var a=Nn;if(a&&l&&t){var n='link[rel="preload"][as="'+yt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+yt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+yt(e.imageSizes)+'"]')):n+='[href="'+yt(l)+'"]';var u=n;switch(t){case"style":u=gn(l);break;case"script":u=_n(l)}St.has(u)||(l=ul({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),St.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(Yu(u))||t==="script"&&a.querySelector(Gu(u))||(t=a.createElement("link"),Gl(t,"link",l),Ol(t),a.head.appendChild(t)))}}i(Pp,"preload");function lg(l,t){se.m(l,t);var e=Nn;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+yt(a)+'"][href="'+yt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=_n(l)}if(!St.has(u)&&(l=ul({rel:"modulepreload",href:l},t),St.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Gu(u)))return}a=e.createElement("link"),Gl(a,"link",l),Ol(a),e.head.appendChild(a)}}}i(lg,"preloadModule");function tg(l,t,e){se.S(l,t,e);var a=Nn;if(a&&l){var n=tn(a).hoistableStyles,u=gn(l);t=t||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Yu(u)))f.loading=5;else{l=ul({rel:"stylesheet",href:l,"data-precedence":t},e),(e=St.get(u))&&Ks(l,e);var o=c=a.createElement("link");Ol(o),Gl(o,"link",l),o._p=new Promise(function(s,v){o.onload=s,o.onerror=v}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Qi(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(tg,"preinitStyle");function eg(l,t){se.X(l,t);var e=Nn;if(e&&l){var a=tn(e).hoistableScripts,n=_n(l),u=a.get(n);u||(u=e.querySelector(Gu(n)),u||(l=ul({src:l,async:!0},t),(t=St.get(n))&&Js(l,t),u=e.createElement("script"),Ol(u),Gl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(eg,"preinitScript");function ag(l,t){se.M(l,t);var e=Nn;if(e&&l){var a=tn(e).hoistableScripts,n=_n(l),u=a.get(n);u||(u=e.querySelector(Gu(n)),u||(l=ul({src:l,async:!0,type:"module"},t),(t=St.get(n))&&Js(l,t),u=e.createElement("script"),Ol(u),Gl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(ag,"preinitModuleScript");function sh(l,t,e,a){var n=(n=Ce.current)?yc(n):null;if(!n)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=gn(e.href),e=tn(n).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=gn(e.href);var u=tn(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(Yu(l)))&&!u._p&&(c.instance=u,c.state.loading=5),St.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},St.set(l,e),u||ng(n,l,e,c.state))),t&&a===null)throw Error(b(528,""));return c}if(t&&a!==null)throw Error(b(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=_n(e),e=tn(n).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,l))}}i(sh,"getResource");function gn(l){return'href="'+yt(l)+'"'}i(gn,"getStyleKey");function Yu(l){return'link[rel="stylesheet"]['+l+"]"}i(Yu,"getStylesheetSelectorFromKey");function $y(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i($y,"stylesheetPropsFromRawProps");function ng(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Gl(t,"link",e),Ol(t),l.head.appendChild(t))}i(ng,"preloadStylesheet");function _n(l){return'[src="'+yt(l)+'"]'}i(_n,"getScriptKey");function Gu(l){return"script[async]"+l}i(Gu,"getScriptSelectorFromKey");function rh(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+yt(e.href)+'"]');if(a)return t.instance=a,Ol(a),a;var n=ul({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Gl(a,"style",n),Qi(a,e.precedence,l),t.instance=a;case"stylesheet":n=gn(e.href);var u=l.querySelector(Yu(n));if(u)return t.state.loading|=4,t.instance=u,Ol(u),u;a=$y(e),(n=St.get(n))&&Ks(a,n),u=(l.ownerDocument||l).createElement("link"),Ol(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),t.state.loading|=4,Qi(u,e.precedence,l),t.instance=u;case"script":return u=_n(e.src),(n=l.querySelector(Gu(u)))?(t.instance=n,Ol(n),n):(a=e,(n=St.get(u))&&(a=ul({},e),Js(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ol(n),Gl(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(b(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Qi(a,e.precedence,l));return t.instance}i(rh,"acquireResource");function Qi(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===t)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}i(Qi,"insertStylesheet");function Ks(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}i(Ks,"adoptPreloadPropsForStylesheet");function Js(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}i(Js,"adoptPreloadPropsForScript");var Xi=null;function dh(l,t,e){if(Xi===null){var a=new Map,n=Xi=new Map;n.set(e,a)}else n=Xi,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[ku]||u[ql]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(dh,"getHydratableHoistableCache");function mh(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}i(mh,"mountHoistable");function ug(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}i(ug,"isHostHoistableType");function Iy(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(Iy,"preloadResource");function ig(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=gn(a.href),u=t.querySelector(Yu(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=vc.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,Ol(u);return}u=t.ownerDocument||t,a=$y(a),(n=St.get(n))&&Ks(a,n),u=u.createElement("link"),Ol(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Gl(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=vc.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}i(ig,"suspendResource");var uo=0;function cg(l,t){return l.stylesheets&&l.count===0&&ji(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&ji(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&uo===0&&(uo=62500*Qp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&ji(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>uo?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(cg,"waitForCommitToBeReady");function vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ji(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(vc,"onUnsuspend");var pc=null;function ji(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,pc=new Map,t.forEach(fg,l),pc=null,vc.call(l))}i(ji,"insertSuspendedStylesheets");function fg(l,t){if(!(t.state.loading&4)){var e=pc.get(l);if(e)var a=e.get(null);else{e=new Map,pc.set(l,e);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=e.get(c)||a,u===a&&e.set(null,n),e.set(c,n),this.count++,a=vc.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),t.state.loading|=4}}i(fg,"insertStylesheetIntoRoot");var Nu={$$typeof:Pt,Provider:null,Consumer:null,_currentValue:fa,_currentValue2:fa,_threadCount:0};function og(l,t,e,a,n,u,c,f,o){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Cf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cf(0),this.hiddenUpdates=Cf(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}i(og,"FiberRootNode");function Py(l,t,e,a,n,u,c,f,o,s,v,p){return l=new og(l,t,e,c,o,s,v,p,f),t=1,u===!0&&(t|=24),u=lt(3,null,null,t),l.current=u,u.stateNode=l,t=bs(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},Ts(u),l}i(Py,"createFiberRoot");function lv(l){return l?(l=$a,l):$a}i(lv,"getContextForSubtree");function tv(l,t,e,a,n,u){n=lv(n),a.context===null?a.context=n:a.pendingContext=n,a=He(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=Be(l,a,t),e!==null&&(Wl(e,l,t),uu(e,l,t))}i(tv,"updateContainerImpl");function hh(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}i(hh,"markRetryLaneImpl");function ws(l,t){hh(l,t),(l=l.alternate)&&hh(l,t)}i(ws,"markRetryLaneIfNotHydrated");function ev(l){if(l.tag===13||l.tag===31){var t=za(l,67108864);t!==null&&Wl(t,l,67108864),ws(l,67108864)}}i(ev,"attemptContinuousHydration");function yh(l){if(l.tag===13||l.tag===31){var t=ut();t=us(t);var e=za(l,t);e!==null&&Wl(e,l,t),ws(l,t)}}i(yh,"attemptHydrationAtCurrentPriority");var gc=!0;function sg(l,t,e,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=2,Ws(l,t,e,a)}finally{Z.p=u,k.T=n}}i(sg,"dispatchDiscreteEvent");function rg(l,t,e,a){var n=k.T;k.T=null;var u=Z.p;try{Z.p=8,Ws(l,t,e,a)}finally{Z.p=u,k.T=n}}i(rg,"dispatchContinuousEvent");function Ws(l,t,e,a){if(gc){var n=ls(a);if(n===null)ao(l,t,a,bc,e),vh(l,a);else if(mg(n,l,t,e,a))a.stopPropagation();else if(vh(l,a),t&4&&-1<dg.indexOf(l)){for(;n!==null;){var u=zn(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ua(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-nt(c);f.entanglements[1]|=o,c&=~o}Gt(u),(L&6)===0&&(fc=et()+500,Ru(0,!1))}}break;case 31:case 13:f=za(u,2),f!==null&&Wl(f,u,2),kc(),ws(u,2)}if(u=ls(a),u===null&&ao(l,t,a,bc,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else ao(l,t,a,null,e)}}i(Ws,"dispatchEvent");function ls(l){return l=os(l),Fs(l)}i(ls,"findInstanceBlockingEvent");var bc=null;function Fs(l){if(bc=null,l=Za(l),l!==null){var t=Ou(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=Th(t),l!==null)return l;l=null}else if(e===31){if(l=Ah(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return bc=l,null}i(Fs,"findInstanceBlockingTarget");function av(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(Pv()){case Mh:return 2;case Oh:return 8;case wi:case l1:return 32;case Uh:return 268435456;default:return 32}default:return 32}}i(av,"getEventPriority");var ts=!1,Re=null,Ye=null,Ge=null,_u=new Map,Mu=new Map,Ne=[],dg="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 vh(l,t){switch(l){case"focusin":case"focusout":Re=null;break;case"dragenter":case"dragleave":Ye=null;break;case"mouseover":case"mouseout":Ge=null;break;case"pointerover":case"pointerout":_u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mu.delete(t.pointerId)}}i(vh,"clearIfContinuousEvent");function wn(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=zn(t),t!==null&&ev(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}i(wn,"accumulateOrCreateContinuousQueuedReplayableEvent");function mg(l,t,e,a,n){switch(t){case"focusin":return Re=wn(Re,l,t,e,a,n),!0;case"dragenter":return Ye=wn(Ye,l,t,e,a,n),!0;case"mouseover":return Ge=wn(Ge,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return _u.set(u,wn(_u.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Mu.set(u,wn(Mu.get(u)||null,l,t,e,a,n)),!0}return!1}i(mg,"queueIfContinuousEvent");function nv(l){var t=Za(l.target);if(t!==null){var e=Ou(t);if(e!==null){if(t=e.tag,t===13){if(t=Th(e),t!==null){l.blockedOn=t,Pd(l.priority,function(){yh(e)});return}}else if(t===31){if(t=Ah(e),t!==null){l.blockedOn=t,Pd(l.priority,function(){yh(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(nv,"attemptExplicitHydrationTarget");function Li(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=ls(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);bo=a,e.target.dispatchEvent(a),bo=null}else return t=zn(e),t!==null&&ev(t),l.blockedOn=e,!1;t.shift()}return!0}i(Li,"attemptReplayContinuousQueuedEvent");function ph(l,t,e){Li(l)&&e.delete(t)}i(ph,"attemptReplayContinuousQueuedEventInMap");function hg(){ts=!1,Re!==null&&Li(Re)&&(Re=null),Ye!==null&&Li(Ye)&&(Ye=null),Ge!==null&&Li(Ge)&&(Ge=null),_u.forEach(ph),Mu.forEach(ph)}i(hg,"replayUnblockedEvents");function Oi(l,t){l.blockedOn===t&&(l.blockedOn=null,ts||(ts=!0,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,hg)))}i(Oi,"scheduleCallbackIfUnblocked");var Ui=null;function gh(l){Ui!==l&&(Ui=l,Al.unstable_scheduleCallback(Al.unstable_NormalPriority,function(){Ui===l&&(Ui=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(Fs(a||e)===null)continue;break}var u=zn(e);u!==null&&(l.splice(t,3),t-=3,xo(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}i(gh,"scheduleReplayQueueIfNeeded");function bn(l){function t(o){return Oi(o,l)}i(t,"unblock"),Re!==null&&Oi(Re,l),Ye!==null&&Oi(Ye,l),Ge!==null&&Oi(Ge,l),_u.forEach(t),Mu.forEach(t);for(var e=0;e<Ne.length;e++){var a=Ne[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ne.length&&(e=Ne[0],e.blockedOn===null);)nv(e),e.blockedOn===null&&Ne.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],c=n[Fl]||null;if(typeof u=="function")c||gh(e);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Fl]||null)f=c.formAction;else if(Fs(n)!==null)continue}else f=c.action;typeof f=="function"?e[a+1]=f:(e.splice(a,3),a-=3),gh(e)}}}i(bn,"retryIfBlockedOn");function uv(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:i(function(){return new Promise(function(c){return n=c})},"handler"),focusReset:"manual",scroll:"manual"})}i(l,"handleNavigate");function t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}i(t,"handleNavigateComplete");function e(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(i(e,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}i(uv,"defaultOnDefaultTransitionIndicator");function $s(l){this._internalRoot=l}i($s,"ReactDOMRoot");xc.prototype.render=$s.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(b(409));var e=t.current,a=ut();tv(e,a,l,t,null,null)};xc.prototype.unmount=$s.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;tv(l.current,2,null,l,null,null),kc(),t[Sn]=null}};function xc(l){this._internalRoot=l}i(xc,"ReactDOMHydrationRoot");xc.prototype.unstable_scheduleHydration=function(l){if(l){var t=Bh();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ne.length&&t!==0&&t<Ne[e].priority;e++);Ne.splice(e,0,l),e===0&&nv(l)}};var bh=Sh.version;if(bh!=="19.2.0")throw Error(b(527,bh,"19.2.0"));Z.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=Kv(t),l=l!==null?Eh(l):null,l=l===null?null:l.stateNode,l};var yg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Wn.isDisabled&&Wn.supportsFiber))try{Uu=Wn.inject(yg),at=Wn}catch{}var Wn;qc.createRoot=function(l,t){if(!zh(l))throw Error(b(299));var e=!1,a="",n=F0,u=$0,c=I0;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Py(l,1,!1,null,null,e,a,null,n,u,c,uv),l[Sn]=t.current,Zs(l),new $s(t)};qc.hydrateRoot=function(l,t,e){if(!zh(l))throw Error(b(299));var a=!1,n="",u=F0,c=$0,f=I0,o=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.formState!==void 0&&(o=e.formState)),t=Py(l,1,!0,t,e??null,a,n,o,u,c,f,uv),t.context=lv(null),e=t.current,a=ut(),a=us(a),n=He(a),n.callback=null,Be(e,n,a),e=a,t.current.lanes=e,Cu(t,e),Gt(t),l[Sn]=t.current,Zs(l),new xc(t)};qc.version="19.2.0"});var ov=wu((fb,fv)=>{"use strict";function cv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cv)}catch(l){console.error(l)}}i(cv,"checkDCE");cv(),fv.exports=iv()});var lf="sekyro-verification",tf=[{name:"client-token",property:"clientToken",type:"string | null",description:"The session's client token, from `clientToken` of the session your server created. Ignored while `verification` is set."},{name:"api-origin",property:"apiOrigin",type:"string | null",description:"The Sekyro AI API origin. Leave it out: the SDK's default is the production API."},{name:"locale",property:"locale",type:"SekyroLocale | null",description:"The language of the flow: `ar`, `fr`, `en`, `es`, `pt` or `de`. Without it: the page's `<html lang>` when it is one of them, else `en`. Arabic runs right to left."},{name:"color-scheme",property:"colorScheme",type:"SekyroColorScheme | null",description:"`light` (the default), `dark`, or `system` to follow the device."},{name:"asset-base-url",property:"assetBaseUrl",type:"string | null",description:"Where your page serves the face detector assets (the `models-v3` files)."},{name:"back-navigation",property:"backNavigation",type:"'history' | 'none' | null",description:"`history` lets the browser's back button go one screen back inside the flow. `none` (the default) never touches the page's history."},{name:"handoff-url",property:"handoffUrl",type:"string | null",description:"The link a desktop shows as a QR code when a camera step needs a phone (the session's `hostedUrl`). Without it, a notice asks the person to continue on their phone."},{name:"closable",property:"closable",type:"boolean",boolean:!0,description:"Shows the header's close button and the result's Continue button. Both fire `sekyro-close`; take the person on from your page there."},{name:"voice",property:"voice",type:"'off' | null",unreflected:!0,description:"`off` turns the spoken guidance off. The `voice` property, when set, wins and carries the voice options."}],Sg=[{name:"verification",type:"Verification | null",description:"A `Verification` you created with `createVerification` from `@sekyro/web`. Set, it wins over `client-token`, and your page destroys it. Read, it is the verification the element runs, set or created."},{name:"strings",type:"Partial<SekyroStrings> | undefined",description:"Copy overrides, keyed like the SDK's strings."},{name:"theme",type:"SekyroTheme | undefined",description:"A runtime theme. It wins over the session's branding."},{name:"livenessProps",type:"SekyroElementLivenessOptions | undefined",description:"Options of the face capture step: `autoStart`, `tips`, `tipsSummary`, `coach`, `notice`, `startDisabled`, `startLabel`."},{name:"documentLiveMrz",type:"DocumentLiveMrzOptions | undefined",description:"Live MRZ reading on the document step: `workerUrl`, `assetBaseUrl`, or `mode: 'off'`."},{name:"voice",type:"false | VoiceOptions | undefined",description:"Spoken guidance options, or `false` to turn it off."}],xr=[{name:"header",description:"Replaces the partner header."},{name:"header-end",description:"Sits at the inline end of the partner header, before the close button (a language menu)."},{name:"footer",description:'Replaces the "Verified by Sekyro AI" link. An empty element hides it.'}],zg=[{name:"sekyro-ready",type:"SekyroReadyDetail",description:"The element created its `Verification` from `client-token` (detail: `{ verification }`)."},{name:"sekyro-step",type:"VerificationStep",mirrors:"onStep",description:"The flow moved to a step."},{name:"sekyro-result",type:"VerificationResult",mirrors:"onResult",description:"A verdict for display. Read the decision that counts from your server."},{name:"sekyro-close",type:"SekyroCloseEvent",mirrors:"onClose",description:"The person closed the flow (`closable` only): `{ reason: 'finished', result }` or `{ reason: 'cancelled' }`."},{name:"sekyro-liveness-captured",type:"CapturedArtifacts",mirrors:"onLivenessCaptured",description:"The face capture finished, before its upload."},{name:"sekyro-liveness-state",type:"CaptureState",mirrors:"livenessProps.onStateChange",description:"The face capture's state changed."},{name:"sekyro-liveness-guidance",type:"StringKey",mirrors:"livenessProps.onGuidance",description:"The face capture shows a guidance line (its string key)."},{name:"sekyro-liveness-error",type:"CaptureError",mirrors:"livenessProps.onError",description:"The face capture failed (camera denied or absent, for example). The flow shows its own screen."},{name:"sekyro-error",type:"SekyroElementErrorDetail",description:"The element could not create its `Verification` from its attributes (detail: `{ error }`)."}];var ef=Q(Vl(),1);var Hl={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Geist Fallback", "Sekyro Geist Fallback Roboto", "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'},Rn={colors:{...Hl.light},radius:Hl.radiusLg,fontFamily:Hl.font},qr={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function Yr(l={}){let t={};for(let e of Object.keys(qr))t[qr[e]]=l.colors?.[e]??Rn.colors[e];return t["--sekyro-radius"]=l.radius??Rn.radius,t["--sekyro-font"]=l.fontFamily??Rn.fontFamily,t}i(Yr,"S");T(Yr,"themeToCssVars");var gv=/^#[0-9a-f]{6}$/i,bv=["brand","brandFg","bg","surface","fg","fgMuted"],Sv=["danger","success","warning"],Rr=!1;function li(l){let t=l?.colors;if(l===void 0||t===void 0||!Sv.some(c=>c in t))return l;!Rr&&gr()&&(Rr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:e,success:a,warning:n,...u}=t;return{...l,colors:u}}i(li,"p");T(li,"stripDeprecatedStatusColors");var zv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},Tv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function ti(l){let t={};if(!l)return t;let e={},a=l.colors??{};for(let c of bv){let f=a[c];f!==void 0&&gv.test(f)&&(e[c]=f)}e.brand&&(e.ring=e.brand),Object.keys(e).length&&(t.colors=e);let n=zv[l.radius];n&&(t.radius=n);let u=Tv[l.fontFamily];return u!==void 0&&(t.fontFamily=u?`${u}, ${Rn.fontFamily}`:Rn.fontFamily),t}i(ti,"x");T(ti,"brandingToTheme");function ei(...l){let t={};for(let e of l)e?.colors&&(t.colors={...t.colors,...e.colors}),e?.radius&&(t.radius=e.radius),e?.fontFamily&&(t.fontFamily=e.fontFamily);return t}i(ei,"I");T(ei,"mergeThemes");function af({theme:l,children:t,className:e}){return(0,ef.jsx)(ai,{theme:li(l),...e!==void 0?{className:e}:{},children:t})}i(af,"C");T(af,"SekyroThemeProvider");function ai({theme:l,children:t,className:e}){let a=Yr(l);return(0,ef.jsx)("div",{className:e===void 0?"sekyro-root":`sekyro-root ${e}`,style:a,children:t})}i(ai,"R");T(ai,"SekyroThemeRoot");var Yn=Q(zl(),1),Bl=Q(zl(),1),D=Q(Vl(),1),ye=Q(zl(),1),Qt=Q(Vl(),1),ve=Q(zl(),1),Xt=Q(Vl(),1),Fr=Q(zl(),1),ka=Q(Vl(),1);var Ha=Q(zl(),1),P=Q(Vl(),1);var ot=Q(zl(),1);var Lt=Q(zl(),1),Nl=Q(Vl(),1),Tt=Q(Vl(),1);var _l=Q(zl(),1),K=Q(Vl(),1),pe=Q(zl(),1),Dt=Q(Vl(),1),ge=Q(zl(),1),Ct=Q(Vl(),1);var C=Q(zl(),1),ii=Q(zl(),1),he=Q(zl(),1),kt=Q(Vl(),1),jt=Q(Vl(),1),sd=Q(zl(),1),xa=Q(zl(),1),F=Q(Vl(),1),z=Q(Vl(),1),Gn=Q(zl(),1),ea=Q(Vl(),1);function Zr(l){let[t,e]=(0,Yn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Yn.useState)(null);return(0,Yn.useEffect)(()=>{if(l===void 0)return;if(typeof l.run!="function"){n(new Error("The step components need @sekyro/web 0.2 or later (Verification.run)."));return}let u=!0,c=l.on("step",f=>{u&&e(f)});return l.run().then(f=>{u&&e(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:t,error:a}}i(Zr,"ct");T(Zr,"useVerificationStep");var Gr=T((l,t,e)=>{if(l===void 0)return 0;let a=Date.parse(l)-t;return Number.isFinite(a)?Math.min(e,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),Av=600,Ev=30,Nv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),_v=["whatsapp","sms"],Vr=new Set(["otp_daily_cap_reached","payment_method_required","spend_cap_reached","insufficient_balance","otp_expired","otp_send_failed","otp_channel_unavailable","otp_destination_not_allowed","otp_destination_unknown","otp_rate_limited","otp_resend_limit","otp_number_invalid","otp_number_not_mobile"]);function Kr(l){let t=[];for(let e of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===e),n=a?.dial??Or(e);n!==void 0&&!t.some(u=>u.code===e)&&t.push({code:e,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return t}i(Kr,"un");T(Kr,"phoneCountriesOf");function Jr({step:l,locale:t,strings:e,className:a,defaultPhone:n,onError:u}){let c=Cl(t,e),{t:f}=c,o=(0,Bl.useMemo)(()=>Kr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",v=l.phoneInternational===!0,p=Dr({countries:o,international:v,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,m]=(0,Bl.useState)(""),[S,E]=(0,Bl.useState)(!1),[O,d]=(0,Bl.useState)(null),[r,y]=(0,Bl.useState)(null),[g,A]=(0,Bl.useState)(!1),[x,N]=(0,Bl.useState)(null),M=(0,Bl.useRef)(null),U=l.phase==="verify"&&!g,R=l.phase==="verify",jl=Br(R),[Je,Qu]=kr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>m("")),Ll=(0,Bl.useId)(),Xu=(0,Bl.useRef)(null);(0,Bl.useEffect)(()=>{let W=setTimeout(()=>Xu.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(W)},[U]);let we=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,Bl.useEffect)(()=>{we!==null&&(A(!1),M.current!==null&&!Vr.has(l.reason??"")&&N(M.current),M.current=null)},[we]);let Ua=T(async W=>{E(!0),y(null);try{await W()}catch(Dl){y(qn(Dl,c.strings)),u?.(Dl)}finally{E(!1),d(null)}},"run"),ft=_v.filter(W=>(l.channels??[]).includes(W)),ju=p.typed,me=!l.needsPhone||ju!==null,We=T((W,Dl=!1)=>{let _=l.needsPhone?Dl?x:{number:ju??p.phone,shown:p.shown}:null;M.current=_,d(W??null),Ua(async()=>{try{await l.send({..._!==null?{phone:_.number}:{},...W!==void 0?{channel:W}:{}})}catch(el){throw M.current=null,el}})},"send"),Cn=T(W=>{Ua(()=>l.verify(W))},"submitCode"),Lu=T(W=>{W.preventDefault(),U?Cn(h):ft.length<=1&&me&&We(ft[0])},"onSubmit"),Zu=`${Ll}-phone`,Da=Gr(l.codeExpiresAt,jl,Av),Ot=Gr(l.resendAvailableAt,jl,Ev),Fe=U&&l.codeExpiresAt!==void 0&&Da===0,kn=l.needsPhone&&!l.attemptsExhausted,$e=R&&(l.codeExpiresAt===void 0||Da>0),Hn=U&&kn?()=>A(!0):g&&$e?()=>A(!1):null;wc(Hn===null?null:S?()=>{}:Hn);let Sl=T(W=>f(W==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Bn=T(W=>S&&O!==null&&O===W,"busyFor"),[Zc,il]=f("otp.sentTo",{channel:Sl(l.channel)}).split("{number}"),Ie=l.context.simulation?.otpCode,Ku=l.reason==="otp_mismatch"?(0,D.jsxs)(El,{tone:"danger",children:[(0,D.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,D.jsx)("span",{children:$c(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Vr.has(l.reason)?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,D.jsx)(El,{tone:"warning",children:(0,D.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,xn=(0,D.jsxs)(D.Fragment,{children:[Ku,r!==null?(0,D.jsx)(El,{tone:"danger",children:(0,D.jsx)("span",{children:f(r)})}):null]});if(U){let W=ft.length===0;return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:Lu,noValidate:!0,children:[(0,D.jsx)(la,{id:Ll,title:f("otp.verifyTitle"),lead:Ie!==void 0?(0,D.jsx)(mr,{template:f("sandbox.otpHint"),code:Ie}):(0,D.jsxs)(D.Fragment,{children:[Zc,(0,D.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:x?.shown??l.sentToMasked}),il]})}),xn,(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:`${Ll}-code`,children:f("otp.codeLabel")}),(0,D.jsx)(Hr,{id:`${Ll}-code`,value:h,invalid:Je,onChange:i(Dl=>{Dl!==""&&Qu(),m(Dl),Dl.length===6&&h.length!==6&&!S&&!l.attemptsExhausted&&Cn(Dl)},"onChange")}),(0,D.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${Fe?" is-danger":""}`,"aria-hidden":!Fe||void 0,children:Fe?f("otp.expired"):f("otp.expiresIn",{time:Nv(Da)})})]}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:Fe?f("otp.expired"):""}),(0,D.jsxs)(ta,{children:[(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||h.length!==6||l.attemptsExhausted,"aria-busy":S||void 0,children:f("otp.verify")}),(0,D.jsxs)("div",{className:"sekyro-resend-row",children:[W?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S||Ot>0,onClick:i(()=>We(void 0,!0),"onClick"),children:Ot>0?f("otp.resendIn",{seconds:Ot}):f("otp.resend")}):Ot>0?(0,D.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Ot})}):ft.map(Dl=>(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>We(Dl,!0),"onClick"),children:f("otp.resendBy",{channel:Sl(Dl)})},Dl)),kn?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Ll,onSubmit:Lu,noValidate:!0,children:[(0,D.jsx)(la,{id:Ll,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),xn,l.needsPhone?(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:Zu,children:f("otp.phoneLabel")}),(0,D.jsx)(Cr,{field:p,id:Zu,locale:c.locale,t:f,inputRef:Xu,ready:me})]}):(0,D.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,D.jsxs)(ta,{children:[ft.length===1?(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!me,"aria-busy":Bn(ft[0])||void 0,children:f("otp.sendBy",{channel:Sl(ft[0])})}):ft.length>1?(0,D.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,D.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,D.jsx)("div",{className:"sekyro-channel-row",children:ft.map(W=>(0,D.jsxs)(cl,{kind:"primary",disabled:S||!me,"aria-busy":Bn(W)||void 0,onClick:i(()=>We(W),"onClick"),children:[(0,D.jsx)(zt,{name:W}),Sl(W)]},W))})]}):(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!me,"aria-busy":S||void 0,children:f("otp.send")}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:S&&O!==null?f("otp.sending",{channel:Sl(O)}):""}),g&&$e?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Jr,"ut");T(Jr,"PhoneOtpStep");var Mv={load:T(()=>import("./email-otp-view-EYS26ZZM-UNGUBHFI.js"),"load")};function wr({locale:l,strings:t,...e}){let a=Cl(l,t),[n,u]=(0,ye.useState)(0),c=(0,ye.useMemo)(()=>(0,ye.lazy)(()=>Mv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Qt.jsxs)(El,{tone:"danger",children:[(0,Qt.jsx)("span",{children:a.t("errors.network_error")}),(0,Qt.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Qt.jsx)(Ca,{fallback:f,children:(0,Qt.jsx)(ye.Suspense,{fallback:(0,Qt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Qt.jsx)(c,{...e,i18n:a})})},n)}i(wr,"dt");T(wr,"EmailOtpStep");var Ov={load:T(()=>import("./eid-view-ZM7QAEME-DIL3UVBB.js"),"load")};function Wr({locale:l,strings:t,...e}){let a=Cl(l,t),[n,u]=(0,ve.useState)(0),c=(0,ve.useMemo)(()=>(0,ve.lazy)(()=>Ov.load().then(o=>({default:o.EidView}))),[n]),f=(0,Xt.jsxs)(El,{tone:"danger",children:[(0,Xt.jsx)("span",{children:a.t("errors.network_error")}),(0,Xt.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Xt.jsx)(Ca,{fallback:f,children:(0,Xt.jsx)(ve.Suspense,{fallback:(0,Xt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Xt.jsx)(c,{...e,i18n:a})})},n)}i(Wr,"pt");T(Wr,"EidStep");function $r({step:l,locale:t,strings:e,className:a,onError:n}){let u=Cl(t,e),{busy:c,error:f,run:o}=Ar(u,n),s=(0,Fr.useMemo)(()=>l.choice.options.flatMap(p=>{let h=Tr(p,u),m=zr[p.service];return h===null?[]:[{id:p.id,label:h,glyph:m&&(0,ka.jsx)(zt,{name:m})}]}),[l.choice.options,u]),v=l.choice.options.find(p=>p.service==="national_eid");return(0,ka.jsxs)("div",{className:a,children:[(0,ka.jsx)(pr,{title:u.t("method.heading"),description:u.t("method.description"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),v?.nationalEid?.afterPass==="continue"?(0,ka.jsx)(kl,{view:"EidContinueHint",i18n:u,provider:v.nationalEid.providerName,quiet:!0}):null]})}i($r,"ft");T($r,"MethodChoice");var Uv=new Set(["nni_not_found","registry_record_not_found"]),Dv=new Set(["nni_invalid","id_number_invalid"]);function sf({step:l,locale:t,strings:e,className:a,onError:n}){let u=Cl(t,e),{t:c}=u,[f,o]=(0,Ha.useState)(""),[s,v]=(0,Ha.useState)(!1),[p,h]=(0,Ha.useState)(null),m=(0,Ha.useId)(),S=l.attemptsExhausted,E=T(async M=>{v(!0),h(null);try{await M()}catch(U){h(qn(U,u.strings)),n?.(U)}finally{v(!1)}},"run"),O=T(M=>{if(M.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let U=Kc(f);if(!/^\d{10}$/.test(U))return h("population.invalid");if(!er(U))return h("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(U):l.submitNni(U))},"onSubmit"),d=$c(u,l.attemptsRemaining,S),r=l.reason!==void 0&&Uv.has(l.reason),y=l.reason!==void 0&&Dv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:d})]}):null,r&&l.canUseDocument?(0,P.jsxs)(El,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:d}),(0,P.jsx)(cl,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||y?(0,P.jsxs)(El,{tone:"danger",children:[(0,P.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,P.jsx)("span",{children:d})]}):null,S&&l.reason===void 0?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:d})}):null,p!==null?(0,P.jsx)(El,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[A,x,N]=l.source==="document"?["population.fromDocument.title","population.fromDocument.description","population.fromDocument.continue"]:l.source==="bound"?["session.steps.population.title","population.bound.description","population.bound.confirm"]:l.recheck?["population.recheck.title","population.recheck.description","population.submit"]:["session.steps.population.title","session.steps.population.description","population.submit"];return(0,P.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":m,onSubmit:O,noValidate:!0,children:[(0,P.jsx)(la,{id:m,title:c(A),lead:c(x)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${m}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${m}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${m}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(M=>{h(null),o(Kc(M.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${m}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(ta,{children:S?null:(0,P.jsx)(cl,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(sf,"Qe");T(sf,"IdNumberEntry");function Cv(l){return sf(l)}i(Cv,"Tn");T(Cv,"NniEntry");var kv=220;function Ir(l,t,e=[],a){let n=null;try{n=new Intl.DisplayNames([l],{type:"region"})}catch{}let u=t.map(o=>({code:o,name:n?.of(o)??o})),c=new Intl.Collator(l),f=T(o=>{if(o===a)return-1;let s=e.indexOf(o);return s<0?e.length:s},"rank");return u.sort((o,s)=>f(o.code)-f(s.code)||c.compare(o.name,s.name))}i(Ir,"Bn");T(Ir,"countryNames");function Pr({step:l,i18n:t,issuer:e,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=t,f=(0,Lt.useMemo)(()=>Wu(l.documents),[l.documents]),o=(0,Lt.useMemo)(()=>Ir(c,f,Object.keys(l.documents.byIssuer??{}),l.detectedCountry),[c,f,l.documents,l.detectedCountry]),s=f.length===1?f[0]:null,[v,p]=(0,Lt.useState)(e??s),[h,m]=(0,Lt.useState)(null),S=s===null?[]:Pe(l.documents,s),E=s!==null&&S.length===1?S[0]:null;(0,Lt.useEffect)(()=>{s!==null&&E!==null&&l.selectDocument(s,E)},[s,E]);let O=T((y,g)=>{l.selectDocument(y,g),a?.()},"pick"),d=T(y=>{let g=Pe(l.documents,y);g.length===1?O(y,g[0]):p(y)},"chooseIssuer");if((0,Lt.useEffect)(()=>{if(h===null||v===null)return;let y=setTimeout(()=>O(v,h),kv);return()=>clearTimeout(y)},[h]),wc(v!==null&&f.length>1&&e===void 0?()=>{p(null),m(null)}:null),E!==null)return null;if(v===null)return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(la,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),(0,Nl.jsx)(Ur,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:d}),(0,Nl.jsx)(ta,{children:null})]});let r=Pe(l.documents,v);return(0,Nl.jsxs)("section",{className:"sekyro-step",children:[(0,Nl.jsx)(la,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),(0,Nl.jsx)("div",{className:"sekyro-choices",children:r.map(y=>(0,Nl.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===y,disabled:h!==null&&h!==y,onClick:i(()=>m(y),"onClick"),children:[(0,Nl.jsx)("span",{className:"sekyro-card__tile",children:(0,Nl.jsx)(zt,{name:y==="passport"?"passport":"card"})}),(0,Nl.jsxs)("span",{className:"sekyro-card__body",children:[(0,Nl.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${y}`)}),(0,Nl.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${y}`)})]}),(0,Nl.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},y))}),f.length>1?(0,Nl.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),m(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Nl.jsx)(ta,{children:null})]})}i(Pr,"vo");T(Pr,"DocumentPicker");var Hv={load:T(()=>import("./document-capture-view-7ZSM7YTT-UHYBVOQI.js"),"load")};function ld({step:l,locale:t,strings:e,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Cl(t,e),[f,o]=(0,ot.useState)(0),[s,v]=(0,ot.useState)(null),p=Wu(l.documents),h=p.length>1,m=l.issuer!==null&&Pe(l.documents,l.issuer).length>1,S=l.documentType===null||l.issuer===null||s!==null,E=p.length===1&&Pe(l.documents,p[0]).length===1,[O]=(0,ot.useState)(()=>S&&!E),d=l.ageStepUp===!0,r=(0,ot.useMemo)(()=>(0,ot.lazy)(()=>Hv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,ot.useEffect)(()=>{ar()},[]);let y=(0,Tt.jsxs)(El,{tone:"danger",children:[(0,Tt.jsx)("span",{children:c.t("errors.network_error")}),(0,Tt.jsx)(cl,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,Tt.jsx)("div",{className:a,children:S?(0,Tt.jsx)(Pr,{step:l,i18n:c,ageStepUp:d&&s===null&&O,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>v(null),"onPicked")}):(0,Tt.jsx)(Ca,{fallback:y,children:(0,Tt.jsx)(ot.Suspense,{fallback:(0,Tt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,Tt.jsx)(r,{step:l,i18n:c,ageLead:d&&!O,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>v("country"),"onChangeCountry")}:{},...m?{onChangeDocument:T(()=>v("document"),"onChangeDocument")}:{}})})},f)})}i(ld,"St");T(ld,"DocumentCapture");var Bv={load:T(()=>import("./portrait-capture-view-E5LKQQ5Y-3HNPCMBJ.js"),"load")},xv={load:T(()=>import("./portrait-review-view-NJHH2E4W-B3RFT2PG.js"),"load")},Ba,td=(Ba=class extends _l.Component{constructor(){super(...arguments),this.state={failed:!1}}static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}},i(Ba,"bt"),Ba);T(td,"LoadBoundary");var Qr=td;function ed({step:l,i18n:t}){let{t:e}=t,a=Fu();return(0,K.jsxs)("section",{className:"sekyro-stack sekyro-stack--2","data-testid":"sekyro-portrait-match",children:[(0,K.jsx)("h2",{ref:a,tabIndex:-1,className:"sekyro-text-body",children:e(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,K.jsx)("p",{className:"sekyro-text-muted",children:e("portrait.reviewDescription")}):null,l.uploadFailed?(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:e("portrait.uploadFailed")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:e("portrait.sendAgain")})]}):(0,K.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:e("portrait.matching")})]})}i(ed,"Wn");T(ed,"MatchPhase");function ad({step:l,locale:t,strings:e,className:a,assetBaseUrl:n,verification:u}){let c=Cl(t,e),f=br(u),o=(0,_l.useContext)(Fc),[s,v]=(0,_l.useState)(0),[p,h]=(0,_l.useState)(null),m=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Bv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),S=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>xv.load().then(N=>({default:N.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",O=E?l.photo?.source??"camera":"camera",d=E&&O!=="camera"&&l.photo?.uploadOffered===!0,r=O!=="upload",y=O==="upload"?"upload":O==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,_l.useEffect)(()=>{l.phase==="capture"&&y==="camera"&&!g&&nr()},[l.phase,y,g]),l.phase==="match")return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(ed,{step:l,i18n:c})});let A=(0,K.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")});if(o!==null&&(o.busy||o.failed!==null)&&l.phase==="capture"&&y==="camera")return(0,K.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,K.jsx)(la,{title:c.t("session.steps.portrait.title")}),(0,K.jsx)(ta,{children:(0,K.jsx)(cl,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||y!=="camera"||g)return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Qr,{fallback:(0,K.jsx)(cl,{kind:"ghost",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(S,{screen:l.phase==="review"?"review":g&&y==="camera"?"phone":y==="camera"?"review":y,step:l,i18n:c,...r?{onCamera:T(()=>h("camera"),"onCamera")}:{},onUpload:i(()=>h("upload"),"onUpload"),onDeclined:i(()=>h(null),"onDeclined")})})},s)});if(!f.settled)return(0,K.jsx)("div",{className:a,children:A});let x=(0,K.jsxs)(El,{tone:"danger",children:[(0,K.jsx)("span",{children:c.t("errors.network_error")}),(0,K.jsx)(cl,{kind:"secondary",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Qr,{fallback:x,children:(0,K.jsx)(_l.Suspense,{fallback:A,children:(0,K.jsx)(m,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...d?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(ad,"ht");T(ad,"PortraitCapture");var qv={load:T(()=>import("./proof-of-address-view-LS3JZUTD-MDTXER25.js"),"load")};function nd({step:l,locale:t,strings:e,className:a}){let n=Cl(t,e),[u,c]=(0,pe.useState)(0),f=(0,pe.useMemo)(()=>(0,pe.lazy)(()=>qv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,Dt.jsxs)(El,{tone:"danger",children:[(0,Dt.jsx)("span",{children:n.t("errors.network_error")}),(0,Dt.jsx)(cl,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,Dt.jsx)("div",{className:a,children:(0,Dt.jsx)(Ca,{fallback:o,children:(0,Dt.jsx)(pe.Suspense,{fallback:(0,Dt.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,Dt.jsx)(f,{step:l,i18n:n})})},u)})}i(nd,"vt");T(nd,"ProofOfAddress");var Rv={load:T(()=>import("./form-view-Y5KA6R5T-KUDCNJNS.js"),"load")};function ud({step:l,locale:t,strings:e,className:a,onError:n}){let u=Cl(t,e),[c,f]=(0,ge.useState)(0),o=(0,ge.useMemo)(()=>(0,ge.lazy)(()=>Rv.load().then(v=>({default:v.FormView}))),[c]),s=(0,Ct.jsxs)(El,{tone:"danger",children:[(0,Ct.jsx)("span",{children:u.t("errors.network_error")}),(0,Ct.jsx)(cl,{kind:"secondary",onClick:i(()=>f(v=>v+1),"onClick"),children:u.t("common.retry")})]});return(0,Ct.jsx)("div",{className:a,children:(0,Ct.jsx)(Ca,{fallback:s,children:(0,Ct.jsx)(ge.Suspense,{fallback:(0,Ct.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,Ct.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(ud,"Ct");T(ud,"FormStep");var Xr={light:{lineBrand:"#0d3b66",successSoft:"#d5f0e8",successFg:"#005341",onSuccess:"#ffffff",warningSoft:"#fff7e6",warningFg:"#735003",onWarning:"#191a1b",dangerSoft:"#ffdada",dangerFg:"#ca0f07",onDanger:"#ffffff",info:"#0563d4",infoSoft:"#d3e5ff",infoFg:"#064da5",onInfo:"#ffffff"},dark:{lineBrand:"#3f80bf",successSoft:"#002c23",successFg:"#53ffd4",onSuccess:"#030303",warningSoft:"#463102",warningFg:"#ffd98a",onWarning:"#030303",dangerSoft:"#9c1008",dangerFg:"#ffbbbb",onDanger:"#030303",info:"#5da9ff",infoSoft:"#063778",infoFg:"#acd0ff",onInfo:"#030303"},sizes:{buttonHeight:"52px",controlRadius:"10px",cardRadius:"16px",fieldRadius:"10px",iconTile:"56px",iconTileRadius:"16px",headerTile:"40px",choiceTile:"40px",tileRadius:"10px",resultDisc:"64px",resultRing:"8px",progressHeight:"4px",focusRing:"2px",focusRingOffset:"2px",otpBox:"60px",choiceMinHeight:"76px",stepGap:"32px",headingGap:"12px"},motion:{page:"320ms",easeOut:"cubic-bezier(0.16, 1, 0.3, 1)"}},rf={light:{danger:{base:"#ca0f07",soft:"#ffdada",fg:"#ca0f07",on:"#ffffff"},success:{base:"#007a5e",soft:"#d5f0e8",fg:"#005341",on:"#ffffff"},warning:{base:"#ffab00",soft:"#fff7e6",fg:"#735003",on:"#191a1b"},info:{base:"#0563d4",soft:"#d3e5ff",fg:"#064da5",on:"#ffffff"}},dark:{danger:{base:"#ff7c7c",soft:"#9c1008",fg:"#ffbbbb",on:"#030303"},success:{base:"#00c897",soft:"#002c23",fg:"#53ffd4",on:"#030303"},warning:{base:"#ffbb2e",soft:"#463102",fg:"#ffd98a",on:"#030303"},info:{base:"#5da9ff",soft:"#063778",fg:"#acd0ff",on:"#030303"}}},Yv=["danger","success","warning","info"];function ni(l){let t=l/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4}i(ni,"Nt");T(ni,"channel");function nf(l){let t=ni(parseInt(l.slice(1,3),16)),e=ni(parseInt(l.slice(3,5),16)),a=ni(parseInt(l.slice(5,7),16));return .2126*t+.7152*e+.0722*a}i(nf,"xo");T(nf,"luminance");function id(l,t){let e=nf(l),a=nf(t),n=Math.max(e,a),u=Math.min(e,a);return(n+.05)/(u+.05)}i(id,"lr");T(id,"contrastRatio");function uf(l,t){return Math.min(...Yv.map(e=>id(rf[l][e].fg,t)))}i(uf,"Io");T(uf,"worstAgainst");function cf(l,t,e){return Math.min(uf(l,t),uf(l,e))}i(cf,"To");T(cf,"worstStatusContrast");function cd(l,t){return cf("light",l,t)>=cf("dark",l,t)?"light":"dark"}i(cd,"Eo");T(cd,"statusSchemeFor");function df({open:l,title:t,closeLabel:e,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,he.useRef)(null),v=(0,he.useRef)(null),p=(0,he.useRef)(!1),h=(0,he.useId)();return(0,he.useEffect)(()=>{let m=s.current;if(m!==null){if(l&&!m.open?(v.current=typeof document>"u"?null:document.activeElement,typeof m.showModal=="function"?m.showModal():m.setAttribute("open","")):!l&&m.open&&(typeof m.close=="function"?m.close():m.removeAttribute("open")),!l&&p.current){let S=o?.current??(v.current instanceof HTMLElement?v.current:null);v.current=null,S?.focus()}p.current=l}},[l,o]),(0,kt.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":h,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(m=>{m.preventDefault(),a()},"onCancel"),onClick:i(m=>{m.target===m.currentTarget&&a()},"onClick"),children:(0,kt.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,kt.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,kt.jsx)("h2",{id:h,className:"sekyro-dialog__title",children:t}),e!==void 0?(0,kt.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":e,onClick:a,children:(0,kt.jsx)(zt,{name:"close"})}):null]}),n!==void 0?(0,kt.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,kt.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(df,"et");T(df,"FlowDialog");var Gv=["intro","data","processing","sharing","retention"];function fd({i18n:l,purpose:t="identity"}){let{t:e}=l,[a,n]=(0,ii.useState)(!1),u=(0,ii.useRef)(null),[c,f=""]=e("consent.short").split("{terms}");return(0,jt.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,jt.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,jt.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:e("consent.termsLink")}),f]}),(0,jt.jsx)(df,{open:a,title:e("consent.termsTitle"),closeLabel:e("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,jt.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:t==="human"?(0,jt.jsx)(kl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):Gv.map(o=>(0,jt.jsx)("p",{children:e(`consent.terms.${o}`)},o))})})]})}i(fd,"Bo");T(fd,"ConsentNotice");function od(l){let t=l.trim().split(/\s+/).filter(e=>e!=="");return(t.length>=2?[t[0],t[1]].map(e=>Array.from(e??"")[0]??""):Array.from(t[0]??"").slice(0,2)).join("").toUpperCase()}i(od,"Lo");T(od,"initials");var rd=T(l=>({colors:{...l?Hl.dark:Hl.light},radius:Hl.radius,fontFamily:Hl.font}),"brandTheme"),lb=rd(!1),jr=/^#[0-9a-f]{6}$/i;function mf(l,t,e){if(t)return null;let a=ti(l).colors,n=e?.colors?.bg??a?.bg,u=e?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!jr.test(n)||u!==void 0&&!jr.test(u)?null:cd(n??Hl.light.bg,u??Hl.light.surface)}i(mf,"Pt");T(mf,"partnerStatusScheme");function hf(l,t,e){let a=ti(l);if(e&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&hd(n,Hl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(mf(l,e,t)==="dark"){let n=rf.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return ei(rd(e),a,li(t))}i(hf,"tt");T(hf,"verificationTheme");function yf(l){let t=(0,sd.useSyncExternalStore)(md,Qv,()=>!1);return l==="dark"||l==="system"&&t}i(yf,"ot");T(yf,"useDarkScheme");var Vv="(prefers-color-scheme: dark)",dd=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Vv):null,"media"),Qv=T(()=>dd()?.matches??!1,"prefersDark");function md(l){let t=dd();return t?.addEventListener("change",l),()=>t?.removeEventListener("change",l)}i(md,"kr");T(md,"subscribe");function hd(l,t){let[e,a]=[ff(l),ff(t)];return(Math.max(e,a)+.05)/(Math.min(e,a)+.05)}i(hd,"Sr");T(hd,"contrast");function ff(l){let t=[1,3,5].map(e=>{let a=Number.parseInt(l.slice(e,e+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(t[0]??0)+.7152*(t[1]??0)+.0722*(t[2]??0)}i(ff,"Ao");T(ff,"luminance");var vf="sekyro.testerGate";function ci(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ci,"It");T(ci,"store");function yd(l=Date.now()){try{ci()?.setItem(vf,String(l))}catch{}}i(yd,"Mo");T(yd,"rememberTester");function vd(l=Date.now()){try{let t=Number(ci()?.getItem(vf)??"");return Number.isFinite(t)&&t>0&&l-t<2592e6}catch{return!1}}i(vd,"Ho");T(vd,"rememberedTester");function pd(){try{ci()?.removeItem(vf)}catch{}}i(pd,"Uo");T(pd,"forgetTester");var Lr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Xv={review:{icon:"pending",tone:"info"},cooldown:{icon:"timer",tone:"info"},rejected:{icon:"close",tone:"neutral"},policy:{icon:"close",tone:"neutral"},inconclusive:{icon:"warning",tone:"neutral"},unavailable:{icon:"timer",tone:"neutral"},expired:{icon:"timer",tone:"neutral"}};function gd({screen:l}){if(l==="verified")return(0,F.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,F.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,F.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,F.jsx)("path",{className:"sekyro-outcome__glyph",d:"M6.5 12.5l3.6 3.6 7.4-8.2",pathLength:"1",transform:"translate(39 39) scale(2.4167)"})]});let{icon:t,tone:e}=Xv[l];return(0,F.jsx)("span",{className:`sekyro-tile sekyro-tile--${e} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,F.jsx)(zt,{name:t})})}i(gd,"wr");T(gd,"OutcomeMark");function bd({label:l,id:t,copied:e}){let[a,n]=(0,xa.useState)(!1);return(0,xa.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,F.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(t).then(()=>n(!0),()=>{})},"onClick"),children:[(0,F.jsx)("span",{"aria-live":"polite",children:a?e:l}),(0,F.jsx)("bdi",{dir:"ltr",children:t}),(0,F.jsx)(zt,{name:"copy"})]})}i(bd,"Nr");T(bd,"ReferenceLine");function Sd({step:l,t}){let e=l.context.sandbox?l.context.simulation?.reason:void 0;return e===void 0?null:(0,F.jsxs)($u,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,F.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,F.jsx)(zt,{name:"info"})}),(0,F.jsxs)("div",{className:"sekyro-notice__body","data-reason":e,children:[(0,F.jsx)("strong",{children:t("sandbox.simulatedTitle")}),(0,F.jsx)("span",{children:t(e==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(Sd,"_r");T(Sd,"SimulationNotice");function zd(l,t){return l==="expired"?"native.result.expiredTitle":l!=="verified"?`session.result.${l}.title`:t.level===3?"session.result.verified.title":t.level===1&&t.assurance==="contact_phone"?"session.result.verified.titlePhone":t.level===1&&t.assurance==="contact_email"?"session.result.verified.titleEmail":t.level===1?"session.result.verified.titleContact":"session.result.verified.titleHuman"}i(zd,"Pr");T(zd,"resultTitleKey");function Td({step:l,locale:t,strings:e,className:a,onClose:n}){let u=Cl(t,e),{t:c}=u,f=(0,xa.useId)(),o=Fu(),s=l.context.orgName,v=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(S=>(s!==""||S==="verified")&&S!=="cooldown"?c(`native.result.${S}`,{org:s}):c(`session.result.${S}.description`),"partnerLine"),m;switch(l.display){case"rejected":v==="identity_not_verified"?m=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):m=Lr.has(Jc(v))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if(Lr.has(Jc(v)))m=c("session.result.detailsMismatch",{org:s});else if(v==="device_velocity_exceeded")m=c("session.result.deviceVelocity",{org:s});else if(v==="capture_tampered")m=c("session.result.deviceStop");else if(v==="camera_unavailable")m=c("reasons.camera_unavailable",{org:s});else if(v==="underage_estimated")m=c("reasons.underage_estimated");else if(v==="starter_credit_claimed")m=c("reasons.starter_credit_claimed");else if(v==="blocked_by_org")m=c("reasons.blocked_by_org");else{let S=v===""?null:ir(v);m=S!==null?c(S,{org:s}):h("policy")}break}case"cooldown":{let S=cr(u.locale,l.retryAfter);m=S!==null?c(S.key,{time:S.time}):c("session.result.cooldown.description");break}case"platform_unsupported":m=c("result.platform_unsupported");break;default:m=h(p)}return(0,F.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,F.jsxs)("div",{className:"sekyro-result__body",children:[(0,F.jsx)(gd,{screen:p}),(0,F.jsxs)("div",{className:"sekyro-heading",children:[(0,F.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(zd(p,l.result))}),(0,F.jsx)("p",{className:"sekyro-text-muted",children:m})]}),(0,F.jsx)(Sd,{step:l,t:c}),(0,F.jsx)(bd,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,F.jsx)("div",{className:"sekyro-actions",children:(0,F.jsx)(cl,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(Td,"Tt");T(Td,"VerificationResultScreen");function Ad(l,t,e){let a=t?Hl.dark:Hl.light,n=t?Hl.roles.dark:Hl.roles.light,u=l.colors??{},c={},f=u.fg===a.fg&&u.surface===a.surface;u.brand===a.brand&&u.surface===a.surface&&(c["--sekyro-color-brand-soft"]=n.brandSoft),f&&(c["--sekyro-color-line"]=n.line,c["--sekyro-color-line-subtle"]=n.lineSubtle,c["--sekyro-color-line-strong"]=n.lineStrong,c["--sekyro-color-sunken"]=n.sunken),u.fgMuted===a.fgMuted&&u.surface===a.surface&&(c["--sekyro-color-fg-subtle"]=n.fgSubtle),l.fontFamily===Hl.font&&(c["--sekyro-font-display"]=Hl.fontDisplay);let o=t?Xr.dark:Xr.light;if(c["--sekyro-color-success-soft"]=o.successSoft,c["--sekyro-color-success-fg"]=o.successFg,c["--sekyro-color-on-success"]=o.onSuccess,c["--sekyro-color-warning-soft"]=o.warningSoft,c["--sekyro-color-warning-fg"]=o.warningFg,c["--sekyro-color-danger-soft"]=o.dangerSoft,c["--sekyro-color-danger-fg"]=o.dangerFg,c["--sekyro-color-on-danger"]=o.onDanger,c["--sekyro-color-info-soft"]=o.infoSoft,c["--sekyro-color-info-fg"]=o.infoFg,u.brand===a.brand&&(c["--sekyro-color-line-brand"]=o.lineBrand),e!==null){let s=rf[e];for(let v of["danger","success","warning","info"])c[`--sekyro-color-${v}-soft`]=s[v].soft,c[`--sekyro-color-${v}-fg`]=s[v].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(Ad,"Er");T(Ad,"flowRoles");function fi(l){let{verification:t,locale:e,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Zr(t);(0,C.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,C.useEffect)(()=>u===void 0?void 0:t.on("result",u),[t,u]);let o=yf(l.colorScheme??"light"),s=c?.context.branding,v=hf(s,l.theme,o),[p,h]=(0,C.useState)(!1),m=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,S=(0,C.useRef)(l.onClose);S.current=l.onClose;let E=(0,C.useRef)(c);E.current=c;let O=(0,C.useCallback)(()=>{let A=E.current;S.current?.(A?.kind==="result"?{reason:"finished",result:A.result}:{reason:"cancelled"})},[]),[d,r]=(0,C.useState)(null),y=(0,C.useCallback)(()=>{let A=E.current;A!==null&&A.kind!=="result"&&A.context.consentRecorded?r("close"):O()},[O]),g=(0,C.useMemo)(()=>t.reportCaptureIssue===void 0?null:A=>t.reportCaptureIssue?.(A),[t]);return(0,z.jsx)(ai,{theme:v,className:m,children:(0,z.jsx)(Pc,{locale:e,...a!==void 0?{strings:a}:{},children:(0,z.jsx)("div",{dir:l.dir??(e==="ar"?"rtl":"ltr"),lang:e,className:"sekyro-flow",style:Ad(v,o,mf(s,o,l.theme)),children:(0,z.jsx)(rr.Provider,{value:h,children:(0,z.jsx)(Wc.Provider,{value:l.onClose!==void 0?O:void 0,children:(0,z.jsx)(Iu.Provider,{value:l.onClose!==void 0?y:void 0,children:(0,z.jsxs)(vr.Provider,{value:g,children:[(0,z.jsx)(Dd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:O}),(0,z.jsx)(Md,{open:d!==null,onStay:i(()=>{d==="history"&&ui(),r(null)},"onStay"),onLeave:i(()=>{let A=d;r(null),A==="close"||l.onClose!==void 0?O():typeof window<"u"&&gf()},"onLeave")})]})})})})})})})}i(fi,"Ot");T(fi,"SekyroVerification");function Ed(l,t){if(t===void 0||t==="aml_screening")return null;let e=l,a=e[`session.processing.${t}.title`],n=e[`session.processing.${t}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(Ed,"Rr");T(Ed,"processingCopyOf");function Nd({error:l,retry:t}){let{t:e}=Cl(),a=Fu();return(0,z.jsxs)($u,{tone:"danger",testId:"sekyro-error-notice",children:[(0,z.jsx)("span",{children:e(ur(l))}),l.retryable?(0,z.jsx)(cl,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:t,children:e("common.retry")}):null]})}i(Nd,"Or");T(Nd,"CameraErrorNotice");var _d="sekyroFlow";function pf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[_d]===!0}i(pf,"Go");T(pf,"onGuard");function ui(){if(typeof window>"u"||pf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[_d]:!0},"")}i(ui,"Et");T(ui,"pushGuard");function gf(){window.history.back()}i(gf,"qo");T(gf,"leaveHistory");function Md({open:l,onStay:t,onLeave:e}){let{t:a}=Cl();return(0,z.jsx)(df,{open:l,role:"alertdialog",title:a("leave.title"),onClose:t,testId:"sekyro-leave",actions:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(cl,{full:!0,onClick:t,children:a("leave.stay")}),(0,z.jsx)(cl,{full:!0,kind:"danger",onClick:e,children:a("leave.confirm")})]}),children:(0,z.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Md,"Br");T(Md,"LeaveDialog");function Od(l,t){let[e,a]=(0,C.useState)(!1),[n,u]=(0,C.useState)(null),c=l===null?void 0:l.skipCapture,f=(0,C.useRef)(c);f.current=c;let o=(0,C.useRef)(!1),s=l?.key;(0,C.useEffect)(()=>u(null),[s]);let v=(0,C.useCallback)(()=>{if(o.current)return;let S=f.current;S!==void 0&&(o.current=!0,a(!0),u(null),S().catch(E=>u(t.t(qn(E,t.strings)))).finally(()=>{o.current=!1,a(!1)}))},[t]),p=(0,C.useCallback)(()=>u(null),[]),h=c!==void 0,m=t.t("sandbox.skipCapture");return(0,C.useMemo)(()=>h?{label:m,busy:e,failed:n,run:v,reset:p}:null,[h,m,e,n,v,p])}i(Od,"Lr");T(Od,"useSkipCapture");function Ud({skip:l}){return(0,z.jsxs)(z.Fragment,{children:[l.failed!==null?(0,z.jsx)(El,{tone:"danger",children:(0,z.jsx)("span",{children:l.failed})}):null,(0,z.jsx)(cl,{kind:"ghost",full:!0,disabled:l.busy,"aria-busy":l.busy||void 0,onClick:l.run,"data-testid":"sekyro-skip-capture",children:l.label})]})}i(Ud,"Vr");T(Ud,"SkipAction");function Dd(l){let{step:t,error:e,slots:a,immersive:n}=l,u=Cl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,v]=(0,C.useState)([]),p=(0,C.useCallback)(_=>(v(el=>[...el,_]),()=>v(el=>el.filter(Ut=>Ut!==_))),[]),[h,m]=(0,C.useState)(null),S=(0,C.useCallback)(_=>m(()=>_),[]),[E,O]=(0,C.useState)(0),[d,r]=(0,C.useState)(null),y=Od(t,u),g=t?.context.testerGate!==void 0,[A,x]=(0,C.useState)(!1),N=(0,C.useRef)(null);(0,C.useEffect)(()=>{!g||N.current!==null||(N.current=vd(),N.current&&x(!0))},[g]);let M=t?.context.purpose??"identity",U=t?.context.returning===!0,R=l.verification,jl=M==="human"||t?.context.cameraUnavailableHandled===!0,Je=R.reportCameraUnavailable!==void 0&&jl?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Qu=t?.kind==="liveness"&&t.mode==="liveness"&&t.reason===void 0&&!t.attemptsExhausted,Ll=l.handoffUrl,Xu=(0,C.useRef)({last:null,count:0}),we=(0,C.useCallback)((_,el,Ut=!1)=>Je===void 0&&el!=="denied"?void 0:(0,z.jsx)(kl,{view:"NoCameraView",i18n:u,quiet:!0,cause:el,onRetry:_,repeated:Ut,...Qu&&Je!==void 0?{onContinue:Je}:{},...Ll!==void 0?{handoffUrl:Ll}:{}}),[u,R,jl,Qu,Ll]),Ua=(0,C.useMemo)(()=>Er(t),[t]),ft=(0,C.useCallback)((_,el)=>(0,z.jsx)(Nr,{start:_,context:el,human:M==="human",returning:U,notice:el.permissionSettled&&el.permission==="denied"?we(_,"denied"):void 0,...Ua!==void 0?{retry:Ua}:{}}),[M,U,we,Ua]),ju=(0,C.useCallback)((_,el)=>{let Ut=tr(_.kind),Ju=Xu.current;_.kind==="permission"&&_!==Ju.last&&(Ju.last=_,Ju.count+=1);let vv=_.kind==="permission"&&Ju.count>1;return(Ut!==void 0?we(el,Ut,vv):void 0)??(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Nd,{error:_,retry:el}),Ut!==void 0&&Ll!==void 0?(0,z.jsx)(kl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:Ll}):null]})},[we,Ll,u]),me=(0,C.useRef)(""),We=l.livenessProps?.slots?.stageOverlay,Cn=(0,C.useCallback)(_=>(_.guidance!==""&&!_.coached&&(me.current=_.guidance),(0,z.jsx)(yr,{testId:"sekyro-capture-stage",video:(0,z.jsx)("video",{ref:_.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:_.settled?c("capture.checkingTitle"):_.guidance!==""?_.guidance:me.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:We?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>O(el=>el+1),"onClose")},end:_.modeSwitch!=null?(0,z.jsx)(fr,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,z.jsx)(dr,{onStop:i(()=>O(el=>el+1),"onStop")})})),[c,We]),Lu=(0,C.useId)(),Zu=t,Da=t!==null&&d===t.key&&t.context.switchable!==void 0,Ot=h??(t===null||t.kind==="result"?null:Da?()=>r(null):t.context.switchable!==void 0&&typeof Zu?.chooseOption=="function"?()=>r(t.key):null),Fe=(0,C.useRef)(Ot);Fe.current=Ot;let kn=(0,C.useRef)(t);kn.current=t;let $e=(0,C.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});$e.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let Hn=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!Hn||typeof window>"u")return;ui();let _=T(()=>{if(pf())return;let el=kn.current,Ut=Fe.current;Ut!==null?(Ut(),ui()):el?.kind!=="result"&&el?.context.consentRecorded===!0?$e.current.ask():$e.current.hostClose?$e.current.closed():gf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[Hn]),e!==null)return(0,z.jsx)($u,{tone:"danger",children:(0,z.jsx)("span",{children:c(qn(e,u.strings))})});if(t===null)return(0,z.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Sl}=t,Bn=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),Zc=a?.header??(0,z.jsx)(Hd,{context:Sl,headerId:Lu,end:a?.headerEnd,...Ot!==null?{onBack:Ot}:{}}),il,Ie=Da;if(A&&l.verification.testerGate!==void 0)il=(0,z.jsx)(Ic.Provider,{value:Cn,children:(0,z.jsx)(kl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Sl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??ft},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>yd(),"onBound"),onDone:i(_=>{_&&pd(),x(!1)},"onDone")})});else if(Ie)il=(0,z.jsx)(kl,{view:"LaneChoiceView",i18n:u,step:t,onClose:i(()=>r(null),"onClose")});else switch(t.kind){case"phone_otp":il=(0,z.jsx)(Jr,{step:t});break;case"email_otp":il=(0,z.jsx)(wr,{step:t});break;case"method":il=(0,z.jsx)($r,{step:t});break;case"registry":il=(0,z.jsx)(sf,{step:t});break;case"document":il=(0,z.jsx)(ld,{step:t,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,el={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??ft,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:ju}:{}},...E>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};il=(0,z.jsx)(Ic.Provider,{value:Cn,children:t.instructions==="icao"||t.livePhoto?.icao===!0?(0,z.jsx)(kl,{view:"LivePhotoLiveness",i18n:u,step:t,livenessProps:el,sekyroIntro:_===void 0},E):(0,z.jsx)(Sr,{...el},E)});break}case"portrait":il=(0,z.jsxs)(z.Fragment,{children:[t.retakeOnly?(0,z.jsx)(kl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,z.jsx)(ad,{step:t,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":il=(0,z.jsx)(nd,{step:t});break;case"form":il=(0,z.jsx)(ud,{step:t});break;case"contact_choice":il=(0,z.jsx)(kl,{view:"ContactChoiceView",i18n:u,step:t});break;case"choice":il=(0,z.jsx)(kl,{view:"GenericChoiceView",i18n:u,step:t});break;case"identity_summary":il=(0,z.jsx)(kl,{view:"IdentitySummaryView",i18n:u,step:t});break;case"mobile_required":{let _=t.checkType==="doc_ocr"?c("handoff.lead.document"):t.checkType==="portrait_icao"?c("handoff.lead.portrait"):t.checkType==="poa"?c("handoff.lead.poa"):void 0;il=l.handoffUrl!==void 0?(0,z.jsx)(kl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:t.refresh,..._!==void 0?{lead:_}:{}}):(0,z.jsx)(Pu,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Bn(t.refresh),"onClick"),children:c("common.refresh")}),children:(0,z.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":il=(0,z.jsx)(kl,{view:"NativeAppView",i18n:u,org:Sl.orgName,nativeApp:t.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:t.refresh,footer:(0,z.jsx)(of,{org:Sl.orgName})});break;case"processing":{let _=Ed(u.strings,t.service);il=(0,z.jsx)(Pu,{tone:"brand",icon:"pending",busy:!t.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:t.stalled?(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Bn(t.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,z.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":il=(0,z.jsx)(Wr,{step:t});break;case"unsupported":{let _=t.reason==="platform_unsupported";il=(0,z.jsx)(Pu,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,z.jsx)(of,{org:Sl.orgName}),children:(0,z.jsx)("p",{children:_?Sl.orgName!==""?c("needsApp.description",{org:Sl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Sl.orgName})})});break}case"result":il=a?.result?.(t)??(0,z.jsx)(Cd,{step:t});break;default:{let _=t;il=null}}let Ku=!n&&!Sl.consentRecorded&&t.kind!=="result"?(0,z.jsx)(fd,{i18n:u,purpose:Sl.purpose}):null,xn=y!==null&&!n&&!Ie&&!A?(0,z.jsx)(Ud,{skip:y}):null,W=g&&!A&&!n&&!Ie&&l.verification.testerGate!==void 0?(0,z.jsx)(kl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>x(!0),"onOpen")}):null,Dl=xn===null&&W===null?Ku:(0,z.jsxs)(z.Fragment,{children:[W,xn,Ku]});return(0,z.jsx)(sr.Provider,{value:S,children:(0,z.jsx)(Fc.Provider,{value:y,children:(0,z.jsx)(Mr.Provider,{value:l.handoffUrl,children:(0,z.jsxs)(or.Provider,{value:Dl===null?null:{node:Dl,owner:s[0]??null,claim:p},children:[n?null:Zc,!n&&t.kind!=="result"&&Sl.sections.length>1?(0,z.jsx)(Bd,{context:Sl,current:t.section,i18n:u}):null,(0,z.jsx)(hr,{pageKey:t.key,children:il}),!n&&!Ie&&t.kind!=="result"&&t.context.switchable!==void 0?(0,z.jsx)(kl,{view:"LaneSwitch",i18n:u,step:t,onOpen:i(()=>r(t.key),"onOpen"),quiet:!0},t.key):null,s.length===0?Dl:null,n?null:a?.footer!==void 0?a.footer:Sl.branding?.hideAttribution===!0?null:(0,z.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,z.jsx)(zt,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Dd,"Ar");T(Dd,"Body");function of({org:l}){let{t}=Cl(),e=(0,C.useContext)(Wc);return e===void 0?null:(0,z.jsx)(cl,{full:!0,onClick:e,children:t("native.result.continue",{org:l})})}i(of,"Ko");T(of,"BackToOrg");function Cd({step:l}){return(0,z.jsx)(Iu.Consumer,{children:i(t=>(0,z.jsx)(Td,{step:l,...t!==void 0?{onClose:t}:{}}),"children")})}i(Cd,"Fr");T(Cd,"ResultPage");function kd(l){let t=l.levelName??l.purpose;return t==="contact"?"shell.subtitleContact":t==="human"?"shell.subtitleHuman":"shell.subtitle"}i(kd,"Dr");T(kd,"subtitleKeyOf");function Hd({context:l,headerId:t,end:e,onBack:a}){let{t:n}=Cl(),[u,c]=(0,C.useState)(!1),f=u?void 0:l.branding?.logoUrl,o=l.orgName!==""?l.orgName:n(l.returning?"returning.heading":"session.title");return(0,z.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":t,children:(0,z.jsxs)("div",{className:"sekyro-org",children:[a!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),onClick:a,"data-testid":"sekyro-back",children:(0,z.jsx)(zt,{name:"back"})}):null,(0,z.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,z.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):od(l.orgName)}),(0,z.jsxs)("div",{className:"sekyro-org__text",children:[(0,z.jsx)("h1",{id:t,className:"sekyro-org__name",children:o}),(0,z.jsx)("p",{className:"sekyro-org__sub",children:n(kd(l))})]}),l.sandbox?(0,z.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,e!=null?(0,z.jsx)("div",{className:"sekyro-org__end",children:e}):null,(0,z.jsx)(Iu.Consumer,{children:i(s=>s!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,z.jsx)(zt,{name:"close"})}):null,"children")})]})})}i(Hd,"Mr");T(Hd,"OrgHeader");function Bd({context:l,current:t,i18n:e}){let a=t===null?-1:l.sections.indexOf(t),n=l.progress,u=n!==void 0&&n.length===l.sections.length?n:l.sections.map((c,f)=>({id:c,state:f<a?"done":f===a?"current":"upcoming"}));return(0,z.jsx)("ol",{className:"sekyro-progress__bars","aria-label":e.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,z.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:e.strings[`section.${c}`]??c})},c))})}i(Bd,"Hr");T(Bd,"SectionProgress");function xd(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(xd,"$r");T(xd,"pageUrl");function jv({hostedUrl:l,inAppBrowser:t,...e}){let[a,n]=(0,Gn.useState)(t===!0);(0,Gn.useEffect)(()=>{t===void 0&&_r()&&n(!0)},[t]);let[u,c]=(0,Gn.useState)(!1),f=yf(e.colorScheme??"light"),o=e.handoffUrl??l??xd();return a&&!u?(0,ea.jsx)(af,{theme:ei(hf(void 0,void 0,f),e.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${e.className!==void 0?` ${e.className}`:""}`,children:(0,ea.jsx)(Pc,{locale:e.locale,...e.strings!==void 0?{strings:e.strings}:{},children:(0,ea.jsx)("div",{dir:e.dir??(e.locale==="ar"?"rtl":"ltr"),lang:e.locale,className:"sekyro-flow",children:(0,ea.jsx)(qd,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,ea.jsx)(fi,{...e,...o!==""?{handoffUrl:o}:{}})}i(jv,"Kr");T(jv,"SekyroFlow");function qd({url:l,onContinue:t}){let e=Cl();return(0,ea.jsx)(kl,{view:"InAppBrowserPrompt",i18n:e,url:l,onContinue:t})}i(qd,"zr");T(qd,"Prompt");var Rc=Q(zl(),1),sv=Q(ov(),1);var rv=["ar","fr","en","es","pt","de"],vg=["light","dark","system"];function pg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return rv.includes(l)?l:null}i(pg,"documentLocale");var gg=typeof HTMLElement>"u"?class{}:HTMLElement;function bg({node:l}){return(0,Rc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(t=>{t!==null&&l.parentNode!==t&&t.appendChild(l)},"ref")})}i(bg,"SlotNode");var de,_t,Mn,Aa,Ea,Mt,On,Na,_a,Ma,Un,Oa,Dn,B,Ke,Vt,Gc,Vc,Qc,Xc,jc,dv,re,Is,mv,Vu,hv,yv,Lc=class Lc extends gg{constructor(){super();hl(this,B);hl(this,de,null);hl(this,_t,null);hl(this,Mn,!1);hl(this,Aa,!1);hl(this,Ea,null);hl(this,Mt,null);hl(this,On,null);hl(this,Na,new Map);hl(this,_a);hl(this,Ma);hl(this,Un);hl(this,Oa);hl(this,Dn);hl(this,Gc,i(e=>X(this,B,Vt).call(this,"sekyro-step",e),"#onStep"));hl(this,Vc,i(e=>X(this,B,Vt).call(this,"sekyro-result",e),"#onResult"));hl(this,Qc,i(e=>X(this,B,Vt).call(this,"sekyro-close",e),"#onClose"));hl(this,Xc,i(e=>X(this,B,Vt).call(this,"sekyro-liveness-captured",e),"#onCaptured"));hl(this,jc,{onStateChange:i(e=>X(this,B,Vt).call(this,"sekyro-liveness-state",e),"onStateChange"),onGuidance:i(e=>X(this,B,Vt).call(this,"sekyro-liveness-guidance",e),"onGuidance"),onError:i(e=>X(this,B,Vt).call(this,"sekyro-liveness-error",e),"onError")});for(let e of[...tf.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,e)){let a=this[e];delete this[e],this[e]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(e){X(this,B,Ke).call(this,"client-token",e)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(e){X(this,B,Ke).call(this,"api-origin",e)}get locale(){let e=this.getAttribute("locale");return e!==null&&rv.includes(e)?e:null}set locale(e){X(this,B,Ke).call(this,"locale",e)}get colorScheme(){let e=this.getAttribute("color-scheme");return e!==null&&vg.includes(e)?e:null}set colorScheme(e){X(this,B,Ke).call(this,"color-scheme",e)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(e){X(this,B,Ke).call(this,"asset-base-url",e)}get backNavigation(){let e=this.getAttribute("back-navigation");return e==="history"||e==="none"?e:null}set backNavigation(e){X(this,B,Ke).call(this,"back-navigation",e)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(e){X(this,B,Ke).call(this,"handoff-url",e)}get closable(){return this.hasAttribute("closable")}set closable(e){this.toggleAttribute("closable",!!e)}get verification(){return H(this,Ea)??H(this,Mt)}set verification(e){yl(this,Ea,e??null),X(this,B,re).call(this)}get strings(){return H(this,_a)}set strings(e){yl(this,_a,e??void 0),X(this,B,re).call(this)}get theme(){return H(this,Ma)}set theme(e){yl(this,Ma,e??void 0),X(this,B,re).call(this)}get livenessProps(){return H(this,Un)}set livenessProps(e){yl(this,Un,e??void 0),X(this,B,re).call(this)}get documentLiveMrz(){return H(this,Oa)}set documentLiveMrz(e){yl(this,Oa,e??void 0),X(this,B,re).call(this)}get voice(){return H(this,Dn)}set voice(e){yl(this,Dn,e===null?void 0:e),X(this,B,re).call(this)}connectedCallback(){yl(this,Aa,!1),X(this,B,dv).call(this),(H(this,_t)===null||H(this,_t).parentNode!==this)&&(yl(this,_t,document.createElement("div")),H(this,_t).className="sekyro-elements-root",this.appendChild(H(this,_t))),H(this,de)??yl(this,de,(0,sv.createRoot)(H(this,_t))),X(this,B,re).call(this)}disconnectedCallback(){yl(this,Aa,!0),queueMicrotask(()=>{!H(this,Aa)||this.isConnected||(yl(this,Aa,!1),X(this,B,yv).call(this))})}attributeChangedCallback(e,a,n){a!==n&&X(this,B,re).call(this)}};de=new WeakMap,_t=new WeakMap,Mn=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,Mt=new WeakMap,On=new WeakMap,Na=new WeakMap,_a=new WeakMap,Ma=new WeakMap,Un=new WeakMap,Oa=new WeakMap,Dn=new WeakMap,B=new WeakSet,Ke=i(function(e,a){a==null?this.removeAttribute(e):this.setAttribute(e,String(a))},"#reflect"),Vt=i(function(e,a){this.dispatchEvent(new CustomEvent(e,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Gc=new WeakMap,Vc=new WeakMap,Qc=new WeakMap,Xc=new WeakMap,jc=new WeakMap,dv=i(function(){for(let e of Array.from(this.children)){let a=e.getAttribute("slot");a===null||!xr.some(n=>n.name===a)||(H(this,Na).set(a,e),e.remove())}},"#takeSlots"),re=i(function(){H(this,Mn)||(yl(this,Mn,!0),queueMicrotask(()=>{yl(this,Mn,!1),this.isConnected&&H(this,de)!==null&&X(this,B,hv).call(this)}))},"#schedule"),Is=i(function(){return this.locale??pg()??"en"},"#effectiveLocale"),mv=i(function(){if(H(this,Ea)!==null)return X(this,B,Vu).call(this),H(this,Ea);let e=this.clientToken;if(e===null||e==="")return X(this,B,Vu).call(this),null;let a=this.apiOrigin,n=`${e}\0${a??""}`;if(H(this,Mt)!==null&&H(this,On)===n)return H(this,Mt);X(this,B,Vu).call(this);try{yl(this,Mt,lr({clientToken:e,locale:X(this,B,Is).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,On,n)}catch(u){return X(this,B,Vt).call(this,"sekyro-error",{error:u}),null}return X(this,B,Vt).call(this,"sekyro-ready",{verification:H(this,Mt)}),H(this,Mt)},"#currentVerification"),Vu=i(function(){H(this,Mt)?.destroy(),yl(this,Mt,null),yl(this,On,null)},"#dropOwned"),hv=i(function(){let e=X(this,B,mv).call(this);if(e===null){H(this,de)?.render(null);return}let a=X(this,B,Is).call(this),n=this.getAttribute("dir"),u=H(this,Dn)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=H(this,Na).get(p);return h===void 0?void 0:(0,Rc.createElement)(bg,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),v={verification:e,locale:a,onStep:H(this,Gc),onResult:H(this,Vc),onLivenessCaptured:H(this,Xc),livenessProps:{...H(this,Un),...H(this,jc)},...n==="ltr"||n==="rtl"?{dir:n}:{},...this.colorScheme!==null?{colorScheme:this.colorScheme}:{},...this.assetBaseUrl!==null?{assetBaseUrl:this.assetBaseUrl}:{},...this.backNavigation!==null?{backNavigation:this.backNavigation}:{},...this.handoffUrl!==null?{handoffUrl:this.handoffUrl}:{},...this.closable?{onClose:H(this,Qc)}:{},...H(this,_a)!==void 0?{strings:H(this,_a)}:{},...H(this,Ma)!==void 0?{theme:H(this,Ma)}:{},...H(this,Oa)!==void 0?{documentLiveMrz:H(this,Oa)}:{},...u!==void 0?{voice:u}:{},...f!==void 0||o!==void 0||s!==void 0?{slots:{...f!==void 0?{header:f}:{},...o!==void 0?{headerEnd:o}:{},...s!==void 0?{footer:s}:{}}}:{}};H(this,de)?.render((0,Rc.createElement)(fi,v))},"#render"),yv=i(function(){H(this,de)?.unmount(),yl(this,de,null),H(this,_t)?.remove(),yl(this,_t,null),X(this,B,Vu).call(this);for(let e of H(this,Na).values())this.appendChild(e);H(this,Na).clear()},"#teardown"),i(Lc,"SekyroVerificationElement"),Ps(Lc,"observedAttributes",tf.map(e=>e.name));var Yc=Lc;function gb(){return typeof customElements>"u"?!1:(customElements.get(lf)===void 0&&customElements.define(lf,Yc),!0)}i(gb,"defineSekyroElements");export{lf as a,tf as b,Sg as c,xr as d,zg as e,Yc as f,gb as g};
|
|
10
|
-
/*! Bundled license information:
|
|
11
|
-
|
|
12
|
-
scheduler/cjs/scheduler.production.js:
|
|
13
|
-
(**
|
|
14
|
-
* @license React
|
|
15
|
-
* scheduler.production.js
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the MIT license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*)
|
|
22
|
-
|
|
23
|
-
react-dom/cjs/react-dom-client.production.js:
|
|
24
|
-
(**
|
|
25
|
-
* @license React
|
|
26
|
-
* react-dom-client.production.js
|
|
27
|
-
*
|
|
28
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
29
|
-
*
|
|
30
|
-
* This source code is licensed under the MIT license found in the
|
|
31
|
-
* LICENSE file in the root directory of this source tree.
|
|
32
|
-
*)
|
|
33
|
-
*/
|