@sekyro/elements 0.1.0-rc.25 → 0.1.0-rc.26
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 +9 -0
- package/dist/cdn/chunks/capture-session-doc-GMJHALX2-ARC4FOZR.js +1 -0
- package/dist/cdn/chunks/{chunk-53PI7QVO.js → chunk-3YI7B3GE.js} +1 -1
- package/dist/cdn/chunks/{chunk-W5QMFEZY.js → chunk-4LUARCPT.js} +1 -1
- package/dist/cdn/chunks/chunk-5EMGDVL5.js +1 -0
- package/dist/cdn/chunks/{chunk-AXCBMN2S.js → chunk-5MZT6V5W.js} +2 -2
- package/dist/cdn/chunks/chunk-6RG5RG7Q.js +1 -0
- package/dist/cdn/chunks/{chunk-43I6I3SU.js → chunk-BLRCS3XB.js} +1 -1
- package/dist/cdn/chunks/{chunk-IHKI3APK.js → chunk-CTQAORJP.js} +1 -1
- package/dist/cdn/chunks/chunk-DFGFFVZV.js +3 -0
- package/dist/cdn/chunks/{chunk-B5QW2GSC.js → chunk-EP25HO5D.js} +1 -1
- package/dist/cdn/chunks/{chunk-23W5VB46.js → chunk-FD543JGD.js} +1 -1
- package/dist/cdn/chunks/{chunk-4EWD6VW3.js → chunk-H6JCZ7X4.js} +1 -1
- package/dist/cdn/chunks/{chunk-SS7SVE6O.js → chunk-HW2VL6K5.js} +1 -1
- package/dist/cdn/chunks/{chunk-5ZUDZLHN.js → chunk-IYEBJ2ZV.js} +1 -1
- package/dist/cdn/chunks/{chunk-XYXBZEKH.js → chunk-NEULQ5JV.js} +1 -1
- package/dist/cdn/chunks/{chunk-34QKBDWM.js → chunk-RTFEIA57.js} +1 -1
- package/dist/cdn/chunks/{chunk-UALTP6H4.js → chunk-S6RK76P5.js} +1 -1
- package/dist/cdn/chunks/{chunk-YR7GTH7M.js → chunk-SA3JLP6W.js} +1 -1
- package/dist/cdn/chunks/{chunk-E7S6A26U.js → chunk-SX74G3GE.js} +1 -1
- package/dist/cdn/chunks/chunk-T5ZB7FLK.js +1 -0
- package/dist/cdn/chunks/{chunk-YWAPDHEW.js → chunk-TD4WLFWX.js} +1 -1
- package/dist/cdn/chunks/chunk-VP7GHHEK.js +1 -0
- package/dist/cdn/chunks/{chunk-PPERVFSD.js → chunk-WQA4EGMT.js} +1 -1
- package/dist/cdn/chunks/{create-document-capture-TTMHZP7R-YI3GL7MF.js → create-document-capture-AFUM53J2-RHFJOKSG.js} +1 -1
- package/dist/cdn/chunks/document-capture-view-C7G76Z5Z-47KQFEKS.js +1 -0
- package/dist/cdn/chunks/{eid-view-INQTMVDU-FRHHODOC.js → eid-view-I7JWDMJ4-NLMOCQTP.js} +1 -1
- package/dist/cdn/chunks/{email-otp-view-OO535PQT-6N2IPXEG.js → email-otp-view-WVQSVKW4-UAEN7WJP.js} +1 -1
- package/dist/cdn/chunks/flow-views-OQMWGGG3-HT4WAHJ2.js +1 -0
- package/dist/cdn/chunks/{form-view-LJLYP54G-N2BB5ZXR.js → form-view-GA2TGOJL-UO5HMK5Q.js} +1 -1
- package/dist/cdn/chunks/overlay-de-OC3UDZ6R-Y4PL6NJC.js +1 -0
- package/dist/cdn/chunks/overlay-es-SYZKGHMP-WWIOE7ES.js +1 -0
- package/dist/cdn/chunks/overlay-pt-CTVAN7HT-ESRXIQKH.js +1 -0
- package/dist/cdn/chunks/{plan-runner-FW3EAJCC-H4N5NEL4.js → plan-runner-B75OACFY-IKQWQZK2.js} +1 -1
- package/dist/cdn/chunks/{portrait-capture-view-N36CKIFR-JIO6P6XN.js → portrait-capture-view-O6M7N32A-BNCHYVMO.js} +1 -1
- package/dist/cdn/chunks/{portrait-review-view-OG23OEMA-E4JD5Q5S.js → portrait-review-view-TI34GIXN-EFM6O45B.js} +1 -1
- package/dist/cdn/chunks/{proof-of-address-view-CHM5JRHI-PUHZCNXH.js → proof-of-address-view-BTCXADNY-LJ5HXDRA.js} +1 -1
- package/dist/cdn/define.js +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/{chunk-RXILZ6JM.js → chunk-2IOKT6MW.js} +1 -1
- package/dist/{chunk-2PJRIGH2.js → chunk-2UKKUNLM.js} +1 -1
- package/dist/{chunk-SD4A47RM.js → chunk-3AB3BDSC.js} +1 -1
- package/dist/{chunk-MLH4M6JP.js → chunk-AIQISJXO.js} +1 -1
- package/dist/chunk-BBMKEHE2.js +1 -0
- package/dist/{chunk-GDADEN5C.js → chunk-EHI6A6IC.js} +2 -2
- package/dist/{chunk-JW4QXADM.js → chunk-JHCWF5SC.js} +1 -1
- package/dist/{chunk-2QEYDBI7.js → chunk-K2HD46BJ.js} +1 -1
- package/dist/{chunk-FFRJKCZK.js → chunk-K7FZ3SWO.js} +1 -1
- package/dist/{chunk-RJVZHRDP.js → chunk-MGZU2EY6.js} +1 -1
- package/dist/{chunk-KEN7JBVG.js → chunk-NZB3FFMJ.js} +1 -1
- package/dist/{chunk-JAEOFYLJ.js → chunk-RUGMWI6S.js} +1 -1
- package/dist/{chunk-RAF7Z7I3.js → chunk-SAH7S6QH.js} +1 -1
- package/dist/{chunk-OEZKZQC4.js → chunk-SBLYDU3J.js} +1 -1
- package/dist/define.cjs +5 -5
- package/dist/define.js +1 -1
- package/dist/document-capture-view-C7G76Z5Z-B37X2GAQ.js +1 -0
- package/dist/{eid-view-INQTMVDU-H7KHUN3L.js → eid-view-I7JWDMJ4-KZ5TCWLJ.js} +1 -1
- package/dist/{email-otp-view-OO535PQT-6EYUU43N.js → email-otp-view-WVQSVKW4-PC7XV2PN.js} +1 -1
- package/dist/flow-views-OQMWGGG3-5QDNKNYP.js +1 -0
- package/dist/{form-view-LJLYP54G-OUW66I62.js → form-view-GA2TGOJL-Y6LZSZ57.js} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/overlay-de-OC3UDZ6R-2XA2EF5R.js +1 -0
- package/dist/overlay-es-SYZKGHMP-WPBHUSMV.js +1 -0
- package/dist/overlay-pt-CTVAN7HT-GQFAZU5I.js +1 -0
- package/dist/{portrait-capture-view-N36CKIFR-S2H37PI5.js → portrait-capture-view-O6M7N32A-DITR3Z7I.js} +1 -1
- package/dist/{portrait-review-view-OG23OEMA-MO3FN432.js → portrait-review-view-TI34GIXN-XA4FB3UB.js} +1 -1
- package/dist/{proof-of-address-view-CHM5JRHI-U6ARAGX7.js → proof-of-address-view-BTCXADNY-RLSTG7XR.js} +1 -1
- package/dist/styles.css +2 -0
- package/package.json +2 -2
- package/sbom.cdx.json +4 -4
- package/dist/cdn/chunks/capture-session-doc-56O6IQ3D-FTWOAELH.js +0 -1
- package/dist/cdn/chunks/chunk-4VFGV3VA.js +0 -1
- package/dist/cdn/chunks/chunk-F6BL7IXJ.js +0 -1
- package/dist/cdn/chunks/chunk-PNQ5TDY5.js +0 -1
- package/dist/cdn/chunks/chunk-VD2BADU2.js +0 -1
- package/dist/cdn/chunks/chunk-VQSFTT4B.js +0 -3
- package/dist/cdn/chunks/document-capture-view-5EYETVEI-UMC6FOKY.js +0 -1
- package/dist/cdn/chunks/flow-views-EW2KEEFU-7LTB52QC.js +0 -1
- package/dist/cdn/chunks/overlay-de-VGC75M5R-ZUC7ZPRY.js +0 -1
- package/dist/cdn/chunks/overlay-es-CSXBWVAG-IQMHKRYH.js +0 -1
- package/dist/cdn/chunks/overlay-pt-RGTYSSOJ-EH2IJ6QI.js +0 -1
- package/dist/chunk-NMUB5C2E.js +0 -1
- package/dist/document-capture-view-5EYETVEI-ZQ5RAN4Y.js +0 -1
- package/dist/flow-views-EW2KEEFU-H7LOLIEJ.js +0 -1
- package/dist/overlay-de-VGC75M5R-C6XYWRT5.js +0 -1
- package/dist/overlay-es-CSXBWVAG-MSMVW5KX.js +0 -1
- package/dist/overlay-pt-RGTYSSOJ-QA5FJP3U.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Dr,b as Cr,d as kr,e as Br}from"./chunk-YWAPDHEW.js";import{a as br,b as Sr,c as Pc,d as zr,e as Tr,f as Ar,g as Er,h as Nr,i as _r,j as Mr,k as Or}from"./chunk-5ZUDZLHN.js";import{a as Hr,b as xr,c as qr}from"./chunk-E7S6A26U.js";import{a as qn}from"./chunk-SS7SVE6O.js";import{a as Jc}from"./chunk-7UCVVWRT.js";import{b as lf,c as Nl}from"./chunk-VD2BADU2.js";import{a as pr}from"./chunk-4EWD6VW3.js";import{a as or,c as sr}from"./chunk-23W5VB46.js";import{a as gr}from"./chunk-W5QMFEZY.js";import{a as er,e as tr,f as ar,g as Kc,h as la,i as Wu,j as nr,k as ur}from"./chunk-VQSFTT4B.js";import{a as Ba,b as Dl,c as Ur}from"./chunk-UALTP6H4.js";import{a as Pu}from"./chunk-34QKBDWM.js";import{A as Wc,B as Iu,C as Fc,D as mr,F as $c,G as hr,H as yr,J as vr,K as zl,L as Ic,a as Sl,b as Vl,c as il,k as wc,p as ir,q as cr,r as fr,t as Fu,u as $u,v as ze,w as ea,x as rr,y as ta,z as dr}from"./chunk-IHKI3APK.js";import{a as T}from"./chunk-5QL6W6FW.js";import{a as i,b as wu,c as V,d as lr,e as H,f as hl,g as yl,h as X}from"./chunk-4FHWXBOB.js";var $d=wu(cl=>{"use strict";function Af(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<oi(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(Af,"push");function ke(l){return l.length===0?null:l[0]}i(ke,"peek");function ri(l){if(l.length===0)return null;var e=l[0],t=l.pop();if(t!==e){l[0]=t;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,t))o<n&&0>oi(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>oi(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(ri,"pop");function oi(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(oi,"compare");cl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Xd=performance,cl.unstable_now=function(){return Xd.now()}):(Sf=Date,Ld=Sf.now(),cl.unstable_now=function(){return Sf.now()-Ld});var Xd,Sf,Ld,Ze=[],St=[],wv=1,se=null,Ql=3,Ef=!1,Vn=!1,Qn=!1,Nf=!1,Kd=typeof setTimeout=="function"?setTimeout:null,Jd=typeof clearTimeout=="function"?clearTimeout:null,jd=typeof setImmediate<"u"?setImmediate:null;function si(l){for(var e=ke(St);e!==null;){if(e.callback===null)ri(St);else if(e.startTime<=l)ri(St),e.sortIndex=e.expirationTime,Af(Ze,e);else break;e=ke(St)}}i(si,"advanceTimers");function _f(l){if(Qn=!1,si(l),!Vn)if(ke(Ze)!==null)Vn=!0,Ga||(Ga=!0,Ya());else{var e=ke(St);e!==null&&Mf(_f,e.startTime-l)}}i(_f,"handleTimeout");var Ga=!1,Xn=-1,wd=5,Wd=-1;function Fd(){return Nf?!0:!(cl.unstable_now()-Wd<wd)}i(Fd,"shouldYieldToHost");function zf(){if(Nf=!1,Ga){var l=cl.unstable_now();Wd=l;var e=!0;try{l:{Vn=!1,Qn&&(Qn=!1,Jd(Xn),Xn=-1),Ef=!0;var t=Ql;try{e:{for(si(l),se=ke(Ze);se!==null&&!(se.expirationTime>l&&Fd());){var a=se.callback;if(typeof a=="function"){se.callback=null,Ql=se.priorityLevel;var n=a(se.expirationTime<=l);if(l=cl.unstable_now(),typeof n=="function"){se.callback=n,si(l),e=!0;break e}se===ke(Ze)&&ri(Ze),si(l)}else ri(Ze);se=ke(Ze)}if(se!==null)e=!0;else{var u=ke(St);u!==null&&Mf(_f,u.startTime-l),e=!1}}break l}finally{se=null,Ql=t,Ef=!1}e=void 0}}finally{e?Ya():Ga=!1}}}i(zf,"performWorkUntilDeadline");var Ya;typeof jd=="function"?Ya=i(function(){jd(zf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(Tf=new MessageChannel,Zd=Tf.port2,Tf.port1.onmessage=zf,Ya=i(function(){Zd.postMessage(null)},"schedulePerformWorkUntilDeadline")):Ya=i(function(){Kd(zf,0)},"schedulePerformWorkUntilDeadline");var Tf,Zd;function Mf(l,e){Xn=Kd(function(){l(cl.unstable_now())},e)}i(Mf,"requestHostTimeout");cl.unstable_IdlePriority=5;cl.unstable_ImmediatePriority=1;cl.unstable_LowPriority=4;cl.unstable_NormalPriority=3;cl.unstable_Profiling=null;cl.unstable_UserBlockingPriority=2;cl.unstable_cancelCallback=function(l){l.callback=null};cl.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"):wd=0<l?Math.floor(1e3/l):5};cl.unstable_getCurrentPriorityLevel=function(){return Ql};cl.unstable_next=function(l){switch(Ql){case 1:case 2:case 3:var e=3;break;default:e=Ql}var t=Ql;Ql=e;try{return l()}finally{Ql=t}};cl.unstable_requestPaint=function(){Nf=!0};cl.unstable_runWithPriority=function(l,e){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=Ql;Ql=l;try{return e()}finally{Ql=t}};cl.unstable_scheduleCallback=function(l,e,t){var a=cl.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?a+t:a):t=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=t+n,l={id:wv++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,Af(St,l),ke(Ze)===null&&l===ke(St)&&(Qn?(Jd(Xn),Xn=-1):Qn=!0,Mf(_f,t-a))):(l.sortIndex=n,Af(Ze,l),Vn||Ef||(Vn=!0,Ga||(Ga=!0,Ya()))),l};cl.unstable_shouldYield=Fd;cl.unstable_wrapCallback=function(l){var e=Ql;return function(){var t=Ql;Ql=e;try{return l.apply(this,arguments)}finally{Ql=t}}}});var Pd=wu((sb,Id)=>{"use strict";Id.exports=$d()});var rv=wu(qc=>{"use strict";var El=Pd(),Nh=Sl(),Wv=or();function S(l){var e="https://react.dev/errors/"+l;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(S,"formatProdErrorMessage");function _h(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(_h,"isValidContainer");function Ou(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}i(Ou,"getNearestMountedFiber");function Mh(l){if(l.tag===13){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(Mh,"getSuspenseInstanceFromFiber");function Oh(l){if(l.tag===31){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(Oh,"getActivityInstanceFromFiber");function lm(l){if(Ou(l)!==l)throw Error(S(188))}i(lm,"assertIsMounted");function Fv(l){var e=l.alternate;if(!e){if(e=Ou(l),e===null)throw Error(S(188));return e!==l?null:l}for(var t=l,a=e;;){var n=t.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===t)return lm(n),l;if(u===a)return lm(n),e;u=u.sibling}throw Error(S(188))}if(t.return!==a.return)t=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===t){c=!0,t=n,a=u;break}if(f===a){c=!0,a=n,t=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===t){c=!0,t=u,a=n;break}if(f===a){c=!0,a=u,t=n;break}f=f.sibling}if(!c)throw Error(S(189))}}if(t.alternate!==a)throw Error(S(190))}if(t.tag!==3)throw Error(S(188));return t.stateNode.current===t?l:e}i(Fv,"findCurrentFiberUsingSlowPath");function Uh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=Uh(l),e!==null)return e;l=l.sibling}return null}i(Uh,"findCurrentHostFiberImpl");var ul=Object.assign,$v=Symbol.for("react.element"),di=Symbol.for("react.transitional.element"),Fn=Symbol.for("react.portal"),Za=Symbol.for("react.fragment"),Dh=Symbol.for("react.strict_mode"),co=Symbol.for("react.profiler"),Ch=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),as=Symbol.for("react.forward_ref"),fo=Symbol.for("react.suspense"),oo=Symbol.for("react.suspense_list"),ns=Symbol.for("react.memo"),zt=Symbol.for("react.lazy");Symbol.for("react.scope");var so=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Iv=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var em=Symbol.iterator;function Ln(l){return l===null||typeof l!="object"?null:(l=em&&l[em]||l["@@iterator"],typeof l=="function"?l:null)}i(Ln,"getIteratorFn");var Pv=Symbol.for("react.client.reference");function ro(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Pv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Za:return"Fragment";case co:return"Profiler";case Dh:return"StrictMode";case fo:return"Suspense";case oo:return"SuspenseList";case so:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Fn:return"Portal";case Pe:return l.displayName||"Context";case Ch:return(l._context.displayName||"Context")+".Consumer";case as:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ns:return e=l.displayName||null,e!==null?e:ro(l.type)||"Memo";case zt:e=l._payload,l=l._init;try{return ro(l(e))}catch{}}return null}i(ro,"getComponentNameFromType");var $n=Array.isArray,B=Nh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Wv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oa={pending:!1,data:null,method:null,action:null},mo=[],Ka=-1;function Re(l){return{current:l}}i(Re,"createCursor");function Ul(l){0>Ka||(l.current=mo[Ka],mo[Ka]=null,Ka--)}i(Ul,"pop");function el(l,e){Ka++,mo[Ka]=l.current,l.current=e}i(el,"push");var qe=Re(null),hu=Re(null),kt=Re(null),Zi=Re(null);function Ki(l,e){switch(el(kt,e),el(hu,l),el(qe,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?fh(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=fh(e),l=$y(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ul(qe),el(qe,l)}i(Ki,"pushHostContainer");function rn(){Ul(qe),Ul(hu),Ul(kt)}i(rn,"popHostContainer");function ho(l){l.memoizedState!==null&&el(Zi,l);var e=qe.current,t=$y(e,l.type);e!==t&&(el(hu,l),el(qe,t))}i(ho,"pushHostContext");function Ji(l){hu.current===l&&(Ul(qe),Ul(hu)),Zi.current===l&&(Ul(Zi),Nu._currentValue=oa)}i(Ji,"popHostContext");var Of,tm;function ua(l){if(Of===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Of=e&&e[1]||"",tm=-1<t.stack.indexOf(`
|
|
1
|
+
import{a as Dr,b as Cr,d as kr,e as Br}from"./chunk-TD4WLFWX.js";import{a as br,b as Sr,c as Pc,d as zr,e as Tr,f as Ar,g as Er,h as Nr,i as _r,j as Mr,k as Or}from"./chunk-IYEBJ2ZV.js";import{a as Hr,b as xr,c as qr}from"./chunk-SX74G3GE.js";import{a as qn}from"./chunk-HW2VL6K5.js";import{a as Jc}from"./chunk-7UCVVWRT.js";import{b as lf,c as Nl}from"./chunk-5EMGDVL5.js";import{a as pr}from"./chunk-H6JCZ7X4.js";import{a as or,c as sr}from"./chunk-FD543JGD.js";import{a as gr}from"./chunk-4LUARCPT.js";import{a as er,e as tr,f as ar,g as Kc,h as la,i as Wu,j as nr,k as ur}from"./chunk-DFGFFVZV.js";import{a as Ba,b as Dl,c as Ur}from"./chunk-S6RK76P5.js";import{a as Pu}from"./chunk-RTFEIA57.js";import{A as Wc,B as Iu,C as Fc,D as mr,F as $c,G as hr,H as yr,J as vr,K as zl,L as Ic,a as Sl,b as Vl,c as il,k as wc,p as ir,q as cr,r as fr,t as Fu,u as $u,v as ze,w as ea,x as rr,y as ta,z as dr}from"./chunk-CTQAORJP.js";import{a as T}from"./chunk-5QL6W6FW.js";import{a as i,b as wu,c as V,d as lr,e as H,f as hl,g as yl,h as X}from"./chunk-4FHWXBOB.js";var $d=wu(cl=>{"use strict";function Af(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<oi(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(Af,"push");function ke(l){return l.length===0?null:l[0]}i(ke,"peek");function ri(l){if(l.length===0)return null;var e=l[0],t=l.pop();if(t!==e){l[0]=t;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,t))o<n&&0>oi(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>oi(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(ri,"pop");function oi(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(oi,"compare");cl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Xd=performance,cl.unstable_now=function(){return Xd.now()}):(Sf=Date,Ld=Sf.now(),cl.unstable_now=function(){return Sf.now()-Ld});var Xd,Sf,Ld,Ze=[],St=[],wv=1,se=null,Ql=3,Ef=!1,Vn=!1,Qn=!1,Nf=!1,Kd=typeof setTimeout=="function"?setTimeout:null,Jd=typeof clearTimeout=="function"?clearTimeout:null,jd=typeof setImmediate<"u"?setImmediate:null;function si(l){for(var e=ke(St);e!==null;){if(e.callback===null)ri(St);else if(e.startTime<=l)ri(St),e.sortIndex=e.expirationTime,Af(Ze,e);else break;e=ke(St)}}i(si,"advanceTimers");function _f(l){if(Qn=!1,si(l),!Vn)if(ke(Ze)!==null)Vn=!0,Ga||(Ga=!0,Ya());else{var e=ke(St);e!==null&&Mf(_f,e.startTime-l)}}i(_f,"handleTimeout");var Ga=!1,Xn=-1,wd=5,Wd=-1;function Fd(){return Nf?!0:!(cl.unstable_now()-Wd<wd)}i(Fd,"shouldYieldToHost");function zf(){if(Nf=!1,Ga){var l=cl.unstable_now();Wd=l;var e=!0;try{l:{Vn=!1,Qn&&(Qn=!1,Jd(Xn),Xn=-1),Ef=!0;var t=Ql;try{e:{for(si(l),se=ke(Ze);se!==null&&!(se.expirationTime>l&&Fd());){var a=se.callback;if(typeof a=="function"){se.callback=null,Ql=se.priorityLevel;var n=a(se.expirationTime<=l);if(l=cl.unstable_now(),typeof n=="function"){se.callback=n,si(l),e=!0;break e}se===ke(Ze)&&ri(Ze),si(l)}else ri(Ze);se=ke(Ze)}if(se!==null)e=!0;else{var u=ke(St);u!==null&&Mf(_f,u.startTime-l),e=!1}}break l}finally{se=null,Ql=t,Ef=!1}e=void 0}}finally{e?Ya():Ga=!1}}}i(zf,"performWorkUntilDeadline");var Ya;typeof jd=="function"?Ya=i(function(){jd(zf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(Tf=new MessageChannel,Zd=Tf.port2,Tf.port1.onmessage=zf,Ya=i(function(){Zd.postMessage(null)},"schedulePerformWorkUntilDeadline")):Ya=i(function(){Kd(zf,0)},"schedulePerformWorkUntilDeadline");var Tf,Zd;function Mf(l,e){Xn=Kd(function(){l(cl.unstable_now())},e)}i(Mf,"requestHostTimeout");cl.unstable_IdlePriority=5;cl.unstable_ImmediatePriority=1;cl.unstable_LowPriority=4;cl.unstable_NormalPriority=3;cl.unstable_Profiling=null;cl.unstable_UserBlockingPriority=2;cl.unstable_cancelCallback=function(l){l.callback=null};cl.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"):wd=0<l?Math.floor(1e3/l):5};cl.unstable_getCurrentPriorityLevel=function(){return Ql};cl.unstable_next=function(l){switch(Ql){case 1:case 2:case 3:var e=3;break;default:e=Ql}var t=Ql;Ql=e;try{return l()}finally{Ql=t}};cl.unstable_requestPaint=function(){Nf=!0};cl.unstable_runWithPriority=function(l,e){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=Ql;Ql=l;try{return e()}finally{Ql=t}};cl.unstable_scheduleCallback=function(l,e,t){var a=cl.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?a+t:a):t=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=t+n,l={id:wv++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,Af(St,l),ke(Ze)===null&&l===ke(St)&&(Qn?(Jd(Xn),Xn=-1):Qn=!0,Mf(_f,t-a))):(l.sortIndex=n,Af(Ze,l),Vn||Ef||(Vn=!0,Ga||(Ga=!0,Ya()))),l};cl.unstable_shouldYield=Fd;cl.unstable_wrapCallback=function(l){var e=Ql;return function(){var t=Ql;Ql=e;try{return l.apply(this,arguments)}finally{Ql=t}}}});var Pd=wu((sb,Id)=>{"use strict";Id.exports=$d()});var rv=wu(qc=>{"use strict";var El=Pd(),Nh=Sl(),Wv=or();function S(l){var e="https://react.dev/errors/"+l;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}i(S,"formatProdErrorMessage");function _h(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(_h,"isValidContainer");function Ou(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}i(Ou,"getNearestMountedFiber");function Mh(l){if(l.tag===13){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(Mh,"getSuspenseInstanceFromFiber");function Oh(l){if(l.tag===31){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}i(Oh,"getActivityInstanceFromFiber");function lm(l){if(Ou(l)!==l)throw Error(S(188))}i(lm,"assertIsMounted");function Fv(l){var e=l.alternate;if(!e){if(e=Ou(l),e===null)throw Error(S(188));return e!==l?null:l}for(var t=l,a=e;;){var n=t.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===t)return lm(n),l;if(u===a)return lm(n),e;u=u.sibling}throw Error(S(188))}if(t.return!==a.return)t=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===t){c=!0,t=n,a=u;break}if(f===a){c=!0,a=n,t=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===t){c=!0,t=u,a=n;break}if(f===a){c=!0,a=u,t=n;break}f=f.sibling}if(!c)throw Error(S(189))}}if(t.alternate!==a)throw Error(S(190))}if(t.tag!==3)throw Error(S(188));return t.stateNode.current===t?l:e}i(Fv,"findCurrentFiberUsingSlowPath");function Uh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=Uh(l),e!==null)return e;l=l.sibling}return null}i(Uh,"findCurrentHostFiberImpl");var ul=Object.assign,$v=Symbol.for("react.element"),di=Symbol.for("react.transitional.element"),Fn=Symbol.for("react.portal"),Za=Symbol.for("react.fragment"),Dh=Symbol.for("react.strict_mode"),co=Symbol.for("react.profiler"),Ch=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),as=Symbol.for("react.forward_ref"),fo=Symbol.for("react.suspense"),oo=Symbol.for("react.suspense_list"),ns=Symbol.for("react.memo"),zt=Symbol.for("react.lazy");Symbol.for("react.scope");var so=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Iv=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var em=Symbol.iterator;function Ln(l){return l===null||typeof l!="object"?null:(l=em&&l[em]||l["@@iterator"],typeof l=="function"?l:null)}i(Ln,"getIteratorFn");var Pv=Symbol.for("react.client.reference");function ro(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Pv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Za:return"Fragment";case co:return"Profiler";case Dh:return"StrictMode";case fo:return"Suspense";case oo:return"SuspenseList";case so:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Fn:return"Portal";case Pe:return l.displayName||"Context";case Ch:return(l._context.displayName||"Context")+".Consumer";case as:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ns:return e=l.displayName||null,e!==null?e:ro(l.type)||"Memo";case zt:e=l._payload,l=l._init;try{return ro(l(e))}catch{}}return null}i(ro,"getComponentNameFromType");var $n=Array.isArray,B=Nh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Wv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oa={pending:!1,data:null,method:null,action:null},mo=[],Ka=-1;function Re(l){return{current:l}}i(Re,"createCursor");function Ul(l){0>Ka||(l.current=mo[Ka],mo[Ka]=null,Ka--)}i(Ul,"pop");function el(l,e){Ka++,mo[Ka]=l.current,l.current=e}i(el,"push");var qe=Re(null),hu=Re(null),kt=Re(null),Zi=Re(null);function Ki(l,e){switch(el(kt,e),el(hu,l),el(qe,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?fh(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=fh(e),l=$y(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ul(qe),el(qe,l)}i(Ki,"pushHostContainer");function rn(){Ul(qe),Ul(hu),Ul(kt)}i(rn,"popHostContainer");function ho(l){l.memoizedState!==null&&el(Zi,l);var e=qe.current,t=$y(e,l.type);e!==t&&(el(hu,l),el(qe,t))}i(ho,"pushHostContext");function Ji(l){hu.current===l&&(Ul(qe),Ul(hu)),Zi.current===l&&(Ul(Zi),Nu._currentValue=oa)}i(Ji,"popHostContext");var Of,tm;function ua(l){if(Of===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Of=e&&e[1]||"",tm=-1<t.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
3
|
`+Of+l+tm}i(ua,"describeBuiltInComponentFrame");var Uf=!1;function Df(l,e){if(!l||Uf)return"";Uf=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:i(function(){try{if(e){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(d){var h=d}Reflect.construct(l,[],p)}else{try{p.call()}catch(d){h=d}l.call(p.prototype)}}else{try{throw Error()}catch(d){h=d}(p=l())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(d){if(d&&h&&typeof d.stack=="string")return[d.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
4
|
`),s=f.split(`
|
|
@@ -6,7 +6,7 @@ import{a as Dr,b as Cr,d as kr,e as Br}from"./chunk-YWAPDHEW.js";import{a as br,
|
|
|
6
6
|
`+o[a].replace(" at new "," at ");return l.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",l.displayName)),y}while(1<=a&&0<=n);break}}}finally{Uf=!1,Error.prepareStackTrace=t}return(t=l?l.displayName||l.name:"")?ua(t):""}i(Df,"describeNativeComponentFrame");function l1(l,e){switch(l.tag){case 26:case 27:case 5:return ua(l.type);case 16:return ua("Lazy");case 13:return l.child!==e&&e!==null?ua("Suspense Fallback"):ua("Suspense");case 19:return ua("SuspenseList");case 0:case 15:return Df(l.type,!1);case 11:return Df(l.type.render,!1);case 1:return Df(l.type,!0);case 31:return ua("Activity");default:return""}}i(l1,"describeFiber");function am(l){try{var e="",t=null;do e+=l1(l,t),t=l,l=l.return;while(l);return e}catch(a){return`
|
|
7
7
|
Error generating stack: `+a.message+`
|
|
8
8
|
`+a.stack}}i(am,"getStackByFiberInDevAndProd");var yo=Object.prototype.hasOwnProperty,us=El.unstable_scheduleCallback,Cf=El.unstable_cancelCallback,e1=El.unstable_shouldYield,t1=El.unstable_requestPaint,te=El.unstable_now,a1=El.unstable_getCurrentPriorityLevel,kh=El.unstable_ImmediatePriority,Bh=El.unstable_UserBlockingPriority,wi=El.unstable_NormalPriority,n1=El.unstable_LowPriority,Hh=El.unstable_IdlePriority,u1=El.log,i1=El.unstable_setDisableYieldValue,Uu=null,ae=null;function Mt(l){if(typeof u1=="function"&&i1(l),ae&&typeof ae.setStrictMode=="function")try{ae.setStrictMode(Uu,l)}catch{}}i(Mt,"setIsStrictModeForDevtools");var ne=Math.clz32?Math.clz32:o1,c1=Math.log,f1=Math.LN2;function o1(l){return l>>>=0,l===0?32:31-(c1(l)/f1|0)|0}i(o1,"clz32Fallback");var mi=256,hi=262144,yi=4194304;function ia(l){var e=l&42;if(e!==0)return e;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(ia,"getHighestPriorityLanes");function Sc(l,e,t){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=ia(a):(c&=f,c!==0?n=ia(c):t||(t=f&~l,t!==0&&(n=ia(t))))):(f=a&~u,f!==0?n=ia(f):c!==0?n=ia(c):t||(t=a&~l,t!==0&&(n=ia(t)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,t=e&-e,u>=t||u===32&&(t&4194048)!==0)?e:n}i(Sc,"getNextLanes");function Du(l,e){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&e)===0}i(Du,"checkIfRootIsPrerendering");function s1(l,e){switch(l){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}i(s1,"computeExpirationTime");function xh(){var l=yi;return yi<<=1,(yi&62914560)===0&&(yi=4194304),l}i(xh,"claimNextRetryLane");function kf(l){for(var e=[],t=0;31>t;t++)e.push(l);return e}i(kf,"createLaneMap");function Cu(l,e){l.pendingLanes|=e,e!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Cu,"markRootUpdated$1");function r1(l,e,t,a,n,u){var c=l.pendingLanes;l.pendingLanes=t,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=t,l.entangledLanes&=t,l.errorRecoveryDisabledLanes&=t,l.shellSuspendCounter=0;var f=l.entanglements,o=l.expirationTimes,s=l.hiddenUpdates;for(t=c&~t;0<t;){var y=31-ne(t),p=1<<y;f[y]=0,o[y]=-1;var h=s[y];if(h!==null)for(s[y]=null,y=0;y<h.length;y++){var d=h[y];d!==null&&(d.lane&=-536870913)}t&=~p}a!==0&&qh(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~e))}i(r1,"markRootFinished");function qh(l,e,t){l.pendingLanes|=e,l.suspendedLanes&=~e;var a=31-ne(e);l.entangledLanes|=e,l.entanglements[a]=l.entanglements[a]|1073741824|t&261930}i(qh,"markSpawnedDeferredLane");function Rh(l,e){var t=l.entangledLanes|=e;for(l=l.entanglements;t;){var a=31-ne(t),n=1<<a;n&e|l[a]&e&&(l[a]|=e),t&=~n}}i(Rh,"markRootEntangled");function Yh(l,e){var t=e&-e;return t=(t&42)!==0?1:is(t),(t&(l.suspendedLanes|e))!==0?0:t}i(Yh,"getBumpedLaneForHydration");function is(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(is,"getBumpedLaneForHydrationByLane");function cs(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(cs,"lanesToEventPriority");function Gh(){var l=Z.p;return l!==0?l:(l=window.event,l===void 0?32:fv(l.type))}i(Gh,"resolveUpdatePriority");function nm(l,e){var t=Z.p;try{return Z.p=l,e()}finally{Z.p=t}}i(nm,"runWithPriority");var Zt=Math.random().toString(36).slice(2),Hl="__reactFiber$"+Zt,Fl="__reactProps$"+Zt,Tn="__reactContainer$"+Zt,vo="__reactEvents$"+Zt,d1="__reactListeners$"+Zt,m1="__reactHandles$"+Zt,um="__reactResources$"+Zt,ku="__reactMarker$"+Zt;function fs(l){delete l[Hl],delete l[Fl],delete l[vo],delete l[d1],delete l[m1]}i(fs,"detachDeletedInstance");function Ja(l){var e=l[Hl];if(e)return e;for(var t=l.parentNode;t;){if(e=t[Tn]||t[Hl]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(l=mh(l);l!==null;){if(t=l[Hl])return t;l=mh(l)}return e}l=t,t=l.parentNode}return null}i(Ja,"getClosestInstanceFromNode");function An(l){if(l=l[Hl]||l[Tn]){var e=l.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return l}return null}i(An,"getInstanceFromNode");function In(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l.stateNode;throw Error(S(33))}i(In,"getNodeFromInstance");function an(l){var e=l[um];return e||(e=l[um]={hoistableStyles:new Map,hoistableScripts:new Map}),e}i(an,"getResourcesFromRoot");function Ol(l){l[ku]=!0}i(Ol,"markNodeAsHoistable");var Vh=new Set,Qh={};function ba(l,e){dn(l,e),dn(l+"Capture",e)}i(ba,"registerTwoPhaseEvent");function dn(l,e){for(Qh[l]=e,l=0;l<e.length;l++)Vh.add(e[l])}i(dn,"registerDirectEvent");var h1=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]*$"),im={},cm={};function y1(l){return yo.call(cm,l)?!0:yo.call(im,l)?!1:h1.test(l)?cm[l]=!0:(im[l]=!0,!1)}i(y1,"isAttributeNameSafe");function Di(l,e,t){if(y1(e))if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":l.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(e);return}}l.setAttribute(e,""+t)}}i(Di,"setValueForAttribute");function vi(l,e,t){if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttribute(e,""+t)}}i(vi,"setValueForKnownAttribute");function Ke(l,e,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttributeNS(e,t,""+a)}}i(Ke,"setValueForNamespacedAttribute");function de(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(de,"getToStringValue");function Xh(l){var e=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}i(Xh,"isCheckable");function v1(l,e,t){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,e);if(!l.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,e,{configurable:!0,get:i(function(){return n.call(this)},"get"),set:i(function(c){t=""+c,u.call(this,c)},"set")}),Object.defineProperty(l,e,{enumerable:a.enumerable}),{getValue:i(function(){return t},"getValue"),setValue:i(function(c){t=""+c},"setValue"),stopTracking:i(function(){l._valueTracker=null,delete l[e]},"stopTracking")}}}i(v1,"trackValueOnNode");function po(l){if(!l._valueTracker){var e=Xh(l)?"checked":"value";l._valueTracker=v1(l,e,""+l[e])}}i(po,"track");function Lh(l){if(!l)return!1;var e=l._valueTracker;if(!e)return!0;var t=e.getValue(),a="";return l&&(a=Xh(l)?l.checked?"true":"false":l.value),l=a,l!==t?(e.setValue(l),!0):!1}i(Lh,"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 p1=/[\n"\\]/g;function ye(l){return l.replace(p1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}i(ye,"escapeSelectorAttributeValueInsideDoubleQuotes");function go(l,e,t,a,n,u,c,f){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),e!=null?c==="number"?(e===0&&l.value===""||l.value!=e)&&(l.value=""+de(e)):l.value!==""+de(e)&&(l.value=""+de(e)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),e!=null?bo(l,c,de(e)):t!=null?bo(l,c,de(t)):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=""+de(f):l.removeAttribute("name")}i(go,"updateInput");function jh(l,e,t,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),e!=null||t!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){po(l);return}t=t!=null?""+de(t):"",e=e!=null?""+de(e):t,f||e===l.value||(l.value=e),l.defaultValue=e}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),po(l)}i(jh,"initInput");function bo(l,e,t){e==="number"&&Wi(l.ownerDocument)===l||l.defaultValue===""+t||(l.defaultValue=""+t)}i(bo,"setDefaultValue");function nn(l,e,t,a){if(l=l.options,e){e={};for(var n=0;n<t.length;n++)e["$"+t[n]]=!0;for(t=0;t<l.length;t++)n=e.hasOwnProperty("$"+l[t].value),l[t].selected!==n&&(l[t].selected=n),n&&a&&(l[t].defaultSelected=!0)}else{for(t=""+de(t),e=null,n=0;n<l.length;n++){if(l[n].value===t){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}e!==null||l[n].disabled||(e=l[n])}e!==null&&(e.selected=!0)}}i(nn,"updateOptions");function Zh(l,e,t){if(e!=null&&(e=""+de(e),e!==l.value&&(l.value=e),t==null)){l.defaultValue!==e&&(l.defaultValue=e);return}l.defaultValue=t!=null?""+de(t):""}i(Zh,"updateTextarea");function Kh(l,e,t,a){if(e==null){if(a!=null){if(t!=null)throw Error(S(92));if($n(a)){if(1<a.length)throw Error(S(93));a=a[0]}t=a}t==null&&(t=""),e=t}t=de(e),l.defaultValue=t,a=l.textContent,a===t&&a!==""&&a!==null&&(l.value=a),po(l)}i(Kh,"initTextarea");function mn(l,e){if(e){var t=l.firstChild;if(t&&t===l.lastChild&&t.nodeType===3){t.nodeValue=e;return}}l.textContent=e}i(mn,"setTextContent");var g1=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 fm(l,e,t){var a=e.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?a?l.setProperty(e,""):e==="float"?l.cssFloat="":l[e]="":a?l.setProperty(e,t):typeof t!="number"||t===0||g1.has(e)?e==="float"?l.cssFloat=t:l[e]=(""+t).trim():l[e]=t+"px"}i(fm,"setValueForStyle");function Jh(l,e,t){if(e!=null&&typeof e!="object")throw Error(S(62));if(l=l.style,t!=null){for(var a in t)!t.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&t[n]!==a&&fm(l,n,a)}else for(var u in e)e.hasOwnProperty(u)&&fm(l,u,e[u])}i(Jh,"setValueForStyles");function os(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(os,"isCustomElement");var b1=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"]]),S1=/^[\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 S1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(Ci,"sanitizeURL");function lt(){}i(lt,"noop$1");var So=null;function ss(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(ss,"getEventTarget");var wa=null,un=null;function om(l){var e=An(l);if(e&&(l=e.stateNode)){var t=l[Fl]||null;l:switch(l=e.stateNode,e.type){case"input":if(go(l,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),e=t.name,t.type==="radio"&&e!=null){for(t=l;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+ye(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var a=t[e];if(a!==l&&a.form===l.form){var n=a[Fl]||null;if(!n)throw Error(S(90));go(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<t.length;e++)a=t[e],a.form===l.form&&Lh(a)}break l;case"textarea":Zh(l,t.value,t.defaultValue);break l;case"select":e=t.value,e!=null&&nn(l,!!t.multiple,e,!1)}}}i(om,"restoreStateOfTarget");var Bf=!1;function wh(l,e,t){if(Bf)return l(e,t);Bf=!0;try{var a=l(e);return a}finally{if(Bf=!1,(wa!==null||un!==null)&&(kc(),wa&&(e=wa,l=un,un=wa=null,om(e),l)))for(e=0;e<l.length;e++)om(l[e])}}i(wh,"batchedUpdates$1");function yu(l,e){var t=l.stateNode;if(t===null)return null;var a=t[Fl]||null;if(a===null)return null;t=a[e];l:switch(e){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(t&&typeof t!="function")throw Error(S(231,e,typeof t));return t}i(yu,"getListener");var ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zo=!1;if(ut)try{Va={},Object.defineProperty(Va,"passive",{get:i(function(){zo=!0},"get")}),window.addEventListener("test",Va,Va),window.removeEventListener("test",Va,Va)}catch{zo=!1}var Va,Ot=null,rs=null,ki=null;function Wh(){if(ki)return ki;var l,e=rs,t=e.length,a,n="value"in Ot?Ot.value:Ot.textContent,u=n.length;for(l=0;l<t&&e[l]===n[l];l++);var c=t-l;for(a=1;a<=c&&e[t-a]===n[u-a];a++);return ki=n.slice(l,1<a?1-a:void 0)}i(Wh,"getData");function Bi(l){var e=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&e===13&&(l=13)):l=e,l===10&&(l=13),32<=l||l===13?l:0}i(Bi,"getEventCharCode");function pi(){return!0}i(pi,"functionThatReturnsTrue");function sm(){return!1}i(sm,"functionThatReturnsFalse");function $l(l){function e(t,a,n,u,c){this._reactName=t,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in l)l.hasOwnProperty(f)&&(t=l[f],this[f]=t?t(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?pi:sm,this.isPropagationStopped=sm,this}return i(e,"SyntheticBaseEvent"),ul(e.prototype,{preventDefault:i(function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=pi)},"preventDefault"),stopPropagation:i(function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=pi)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:pi}),e}i($l,"createSyntheticEvent");var Sa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},zc=$l(Sa),Bu=ul({},Sa,{view:0,detail:0}),z1=$l(Bu),Hf,xf,jn,Tc=ul({},Bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ds,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!==jn&&(jn&&l.type==="mousemove"?(Hf=l.screenX-jn.screenX,xf=l.screenY-jn.screenY):xf=Hf=0,jn=l),Hf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:xf},"movementY")}),rm=$l(Tc),T1=ul({},Tc,{dataTransfer:0}),A1=$l(T1),E1=ul({},Bu,{relatedTarget:0}),qf=$l(E1),N1=ul({},Sa,{animationName:0,elapsedTime:0,pseudoElement:0}),_1=$l(N1),M1=ul({},Sa,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),O1=$l(M1),U1=ul({},Sa,{data:0}),dm=$l(U1),D1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},C1={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"},k1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function B1(l){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(l):(l=k1[l])?!!e[l]:!1}i(B1,"modifierStateGetter");function ds(){return B1}i(ds,"getEventModifierState");var H1=ul({},Bu,{key:i(function(l){if(l.key){var e=D1[l.key]||l.key;if(e!=="Unidentified")return e}return l.type==="keypress"?(l=Bi(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?C1[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ds,charCode:i(function(l){return l.type==="keypress"?Bi(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"?Bi(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),x1=$l(H1),q1=ul({},Tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mm=$l(q1),R1=ul({},Bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ds}),Y1=$l(R1),G1=ul({},Sa,{propertyName:0,elapsedTime:0,pseudoElement:0}),V1=$l(G1),Q1=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}),X1=$l(Q1),L1=ul({},Sa,{newState:0,oldState:0}),j1=$l(L1),Z1=[9,13,27,32],ms=ut&&"CompositionEvent"in window,eu=null;ut&&"documentMode"in document&&(eu=document.documentMode);var K1=ut&&"TextEvent"in window&&!eu,Fh=ut&&(!ms||eu&&8<eu&&11>=eu),hm=" ",ym=!1;function $h(l,e){switch(l){case"keyup":return Z1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i($h,"isFallbackCompositionEnd");function Ih(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(Ih,"getDataFromCustomEvent");var Wa=!1;function J1(l,e){switch(l){case"compositionend":return Ih(e);case"keypress":return e.which!==32?null:(ym=!0,hm);case"textInput":return l=e.data,l===hm&&ym?null:l;default:return null}}i(J1,"getNativeBeforeInputChars");function w1(l,e){if(Wa)return l==="compositionend"||!ms&&$h(l,e)?(l=Wh(),ki=rs=Ot=null,Wa=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Fh&&e.locale!=="ko"?null:e.data;default:return null}}i(w1,"getFallbackBeforeInputChars");var W1={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 vm(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e==="input"?!!W1[l.type]:e==="textarea"}i(vm,"isTextInputElement");function Ph(l,e,t,a){wa?un?un.push(a):un=[a]:wa=a,e=mc(e,"onChange"),0<e.length&&(t=new zc("onChange","change",null,t,a),l.push({event:t,listeners:e}))}i(Ph,"createAndAccumulateChangeEvent");var tu=null,vu=null;function F1(l){wy(l,0)}i(F1,"runEventInBatch");function Ac(l){var e=In(l);if(Lh(e))return l}i(Ac,"getInstIfValueChanged");function pm(l,e){if(l==="change")return e}i(pm,"getTargetInstForChangeEvent");var l0=!1;ut&&(ut?(bi="oninput"in document,bi||(Rf=document.createElement("div"),Rf.setAttribute("oninput","return;"),bi=typeof Rf.oninput=="function"),gi=bi):gi=!1,l0=gi&&(!document.documentMode||9<document.documentMode));var gi,bi,Rf;function gm(){tu&&(tu.detachEvent("onpropertychange",e0),vu=tu=null)}i(gm,"stopWatchingForValueChange");function e0(l){if(l.propertyName==="value"&&Ac(vu)){var e=[];Ph(e,vu,l,ss(l)),wh(F1,e)}}i(e0,"handlePropertyChange");function $1(l,e,t){l==="focusin"?(gm(),tu=e,vu=t,tu.attachEvent("onpropertychange",e0)):l==="focusout"&&gm()}i($1,"handleEventsForInputEventPolyfill");function I1(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ac(vu)}i(I1,"getTargetInstForInputEventPolyfill");function P1(l,e){if(l==="click")return Ac(e)}i(P1,"getTargetInstForClickEvent");function lp(l,e){if(l==="input"||l==="change")return Ac(e)}i(lp,"getTargetInstForInputOrChangeEvent");function ep(l,e){return l===e&&(l!==0||1/l===1/e)||l!==l&&e!==e}i(ep,"is");var ie=typeof Object.is=="function"?Object.is:ep;function pu(l,e){if(ie(l,e))return!0;if(typeof l!="object"||l===null||typeof e!="object"||e===null)return!1;var t=Object.keys(l),a=Object.keys(e);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var n=t[a];if(!yo.call(e,n)||!ie(l[n],e[n]))return!1}return!0}i(pu,"shallowEqual");function bm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(bm,"getLeafNode");function Sm(l,e){var t=bm(l);l=0;for(var a;t;){if(t.nodeType===3){if(a=l+t.textContent.length,l<=e&&a>=e)return{node:t,offset:e-l};l=a}l:{for(;t;){if(t.nextSibling){t=t.nextSibling;break l}t=t.parentNode}t=void 0}t=bm(t)}}i(Sm,"getNodeForCharacterOffset");function t0(l,e){return l&&e?l===e?!0:l&&l.nodeType===3?!1:e&&e.nodeType===3?t0(l,e.parentNode):"contains"in l?l.contains(e):l.compareDocumentPosition?!!(l.compareDocumentPosition(e)&16):!1:!1}i(t0,"containsNode");function a0(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var e=Wi(l.document);e instanceof l.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)l=e.contentWindow;else break;e=Wi(l.document)}return e}i(a0,"getActiveElementDeep");function hs(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e&&(e==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||e==="textarea"||l.contentEditable==="true")}i(hs,"hasSelectionCapabilities");var tp=ut&&"documentMode"in document&&11>=document.documentMode,Fa=null,To=null,au=null,Ao=!1;function zm(l,e,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Ao||Fa==null||Fa!==Wi(a)||(a=Fa,"selectionStart"in a&&hs(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(To,"onSelect"),0<a.length&&(e=new zc("onSelect","select",null,e,t),l.push({event:e,listeners:a}),e.target=Fa)))}i(zm,"constructSelectEvent");function na(l,e){var t={};return t[l.toLowerCase()]=e.toLowerCase(),t["Webkit"+l]="webkit"+e,t["Moz"+l]="moz"+e,t}i(na,"makePrefixMap");var $a={animationend:na("Animation","AnimationEnd"),animationiteration:na("Animation","AnimationIteration"),animationstart:na("Animation","AnimationStart"),transitionrun:na("Transition","TransitionRun"),transitionstart:na("Transition","TransitionStart"),transitioncancel:na("Transition","TransitionCancel"),transitionend:na("Transition","TransitionEnd")},Yf={},n0={};ut&&(n0=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function za(l){if(Yf[l])return Yf[l];if(!$a[l])return l;var e=$a[l],t;for(t in e)if(e.hasOwnProperty(t)&&t in n0)return Yf[l]=e[t];return l}i(za,"getVendorPrefixedEventName");var u0=za("animationend"),i0=za("animationiteration"),c0=za("animationstart"),ap=za("transitionrun"),np=za("transitionstart"),up=za("transitioncancel"),f0=za("transitionend"),o0=new Map,Eo="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(" ");Eo.push("scrollEnd");function Ne(l,e){o0.set(l,e),ba(e,[l])}i(Ne,"registerSimpleEvent");var Fi=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},re=[],Ia=0,ys=0;function Ec(){for(var l=Ia,e=ys=Ia=0;e<l;){var t=re[e];re[e++]=null;var a=re[e];re[e++]=null;var n=re[e];re[e++]=null;var u=re[e];if(re[e++]=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&&s0(t,n,u)}}i(Ec,"finishQueueingConcurrentUpdates");function Nc(l,e,t,a){re[Ia++]=l,re[Ia++]=e,re[Ia++]=t,re[Ia++]=a,ys|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Nc,"enqueueUpdate$1");function vs(l,e,t,a){return Nc(l,e,t,a),$i(l)}i(vs,"enqueueConcurrentHookUpdate");function Ta(l,e){return Nc(l,null,null,e),$i(l)}i(Ta,"enqueueConcurrentRenderForLane");function s0(l,e,t){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t);for(var n=!1,u=l.return;u!==null;)u.childLanes|=t,a=u.alternate,a!==null&&(a.childLanes|=t),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&&e!==null&&(n=31-ne(t),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[e]:a.push(e),e.lane=t|536870912),u):null}i(s0,"markUpdateLaneFromFiberToRoot");function $i(l){if(50<du)throw du=0,Zo=null,Error(S(185));for(var e=l.return;e!==null;)l=e,e=l.return;return l.tag===3?l.stateNode:null}i($i,"getRootForUpdatedFiber");var Pa={};function ip(l,e,t,a){this.tag=l,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}i(ip,"FiberNode");function le(l,e,t,a){return new ip(l,e,t,a)}i(le,"createFiberImplClass");function ps(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(ps,"shouldConstruct");function tt(l,e){var t=l.alternate;return t===null?(t=le(l.tag,e,l.key,l.mode),t.elementType=l.elementType,t.type=l.type,t.stateNode=l.stateNode,t.alternate=l,l.alternate=t):(t.pendingProps=e,t.type=l.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=l.flags&65011712,t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=l.sibling,t.index=l.index,t.ref=l.ref,t.refCleanup=l.refCleanup,t}i(tt,"createWorkInProgress");function r0(l,e){l.flags&=65011714;var t=l.alternate;return t===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,l.type=t.type,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),l}i(r0,"resetWorkInProgress");function Hi(l,e,t,a,n,u){var c=0;if(a=l,typeof l=="function")ps(l)&&(c=1);else if(typeof l=="string")c=og(l,t,qe.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case so:return l=le(31,t,e,n),l.elementType=so,l.lanes=u,l;case Za:return sa(t.children,n,u,e);case Dh:c=8,n|=24;break;case co:return l=le(12,t,e,n|2),l.elementType=co,l.lanes=u,l;case fo:return l=le(13,t,e,n),l.elementType=fo,l.lanes=u,l;case oo:return l=le(19,t,e,n),l.elementType=oo,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Pe:c=10;break l;case Ch:c=9;break l;case as:c=11;break l;case ns:c=14;break l;case zt:c=16,a=null;break l}c=29,t=Error(S(130,l===null?"null":typeof l,"")),a=null}return e=le(c,t,e,n),e.elementType=l,e.type=a,e.lanes=u,e}i(Hi,"createFiberFromTypeAndProps");function sa(l,e,t,a){return l=le(7,l,a,e),l.lanes=t,l}i(sa,"createFiberFromFragment");function Gf(l,e,t){return l=le(6,l,null,e),l.lanes=t,l}i(Gf,"createFiberFromText");function d0(l){var e=le(18,null,null,0);return e.stateNode=l,e}i(d0,"createFiberFromDehydratedFragment");function Vf(l,e,t){return e=le(4,l.children!==null?l.children:[],l.key,e),e.lanes=t,e.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},e}i(Vf,"createFiberFromPortal");var Tm=new WeakMap;function ve(l,e){if(typeof l=="object"&&l!==null){var t=Tm.get(l);return t!==void 0?t:(e={value:l,source:e,stack:am(e)},Tm.set(l,e),e)}return{value:l,source:e,stack:am(e)}}i(ve,"createCapturedValueAtFiber");var ln=[],en=0,Ii=null,gu=0,me=[],he=0,Qt=null,Be=1,He="";function $e(l,e){ln[en++]=gu,ln[en++]=Ii,Ii=l,gu=e}i($e,"pushTreeFork");function m0(l,e,t){me[he++]=Be,me[he++]=He,me[he++]=Qt,Qt=l;var a=Be;l=He;var n=32-ne(a)-1;a&=~(1<<n),t+=1;var u=32-ne(e)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Be=1<<32-ne(e)+n|t<<n|a,He=u+l}else Be=1<<u|t<<n|a,He=l}i(m0,"pushTreeId");function gs(l){l.return!==null&&($e(l,1),m0(l,1,0))}i(gs,"pushMaterializedTreeId");function bs(l){for(;l===Ii;)Ii=ln[--en],ln[en]=null,gu=ln[--en],ln[en]=null;for(;l===Qt;)Qt=me[--he],me[he]=null,He=me[--he],me[he]=null,Be=me[--he],me[he]=null}i(bs,"popTreeContext");function h0(l,e){me[he++]=Be,me[he++]=He,me[he++]=Qt,Be=e.id,He=e.overflow,Qt=l}i(h0,"restoreSuspendedTreeContext");var xl=null,nl=null,L=!1,Bt=null,pe=!1,No=Error(S(519));function Xt(l){var e=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bu(ve(e,l)),No}i(Xt,"throwOnHydrationMismatch");function Am(l){var e=l.stateNode,t=l.type,a=l.memoizedProps;switch(e[Hl]=l,e[Fl]=a,t){case"dialog":Y("cancel",e),Y("close",e);break;case"iframe":case"object":case"embed":Y("load",e);break;case"video":case"audio":for(t=0;t<Au.length;t++)Y(Au[t],e);break;case"source":Y("error",e);break;case"img":case"image":case"link":Y("error",e),Y("load",e);break;case"details":Y("toggle",e);break;case"input":Y("invalid",e),jh(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Y("invalid",e);break;case"textarea":Y("invalid",e),Kh(e,a.value,a.defaultValue,a.children)}t=a.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||e.textContent===""+t||a.suppressHydrationWarning===!0||Fy(e.textContent,t)?(a.popover!=null&&(Y("beforetoggle",e),Y("toggle",e)),a.onScroll!=null&&Y("scroll",e),a.onScrollEnd!=null&&Y("scrollend",e),a.onClick!=null&&(e.onclick=lt),e=!0):e=!1,e||Xt(l,!0)}i(Am,"prepareToHydrateHostInstance");function Em(l){for(xl=l.return;xl;)switch(xl.tag){case 5:case 31:case 13:pe=!1;return;case 27:case 3:pe=!0;return;default:xl=xl.return}}i(Em,"popToNextHostParent");function Qa(l){if(l!==xl)return!1;if(!L)return Em(l),L=!0,!1;var e=l.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=l.type,t=!(t!=="form"&&t!=="button")||Fo(l.type,l.memoizedProps)),t=!t),t&&nl&&Xt(l),Em(l),e===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));nl=dh(l)}else if(e===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));nl=dh(l)}else e===27?(e=nl,Kt(l.type)?(l=ls,ls=null,nl=l):nl=e):nl=xl?be(l.stateNode.nextSibling):null;return!0}i(Qa,"popHydrationState");function ha(){nl=xl=null,L=!1}i(ha,"resetHydrationState");function Qf(){var l=Bt;return l!==null&&(wl===null?wl=l:wl.push.apply(wl,l),Bt=null),l}i(Qf,"upgradeHydrationErrorsToRecoverable");function bu(l){Bt===null?Bt=[l]:Bt.push(l)}i(bu,"queueHydrationError");var _o=Re(null),Aa=null,et=null;function At(l,e,t){el(_o,e._currentValue),e._currentValue=t}i(At,"pushProvider");function at(l){l._currentValue=_o.current,Ul(_o)}i(at,"popProvider");function Mo(l,e,t){for(;l!==null;){var a=l.alternate;if((l.childLanes&e)!==e?(l.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),l===t)break;l=l.return}}i(Mo,"scheduleContextWorkOnParentPath");function Oo(l,e,t,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<e.length;o++)if(f.context===e[o]){u.lanes|=t,f=u.alternate,f!==null&&(f.lanes|=t),Mo(u.return,t,l),a||(c=null);break l}u=f.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(S(341));c.lanes|=t,u=c.alternate,u!==null&&(u.lanes|=t),Mo(c,t,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(Oo,"propagateContextChanges");function En(l,e,t,a){l=null;for(var n=e,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(S(387));if(c=c.memoizedProps,c!==null){var f=n.type;ie(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(S(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Nu):l=[Nu])}n=n.return}l!==null&&Oo(e,l,t,a),e.flags|=262144}i(En,"propagateParentContextChanges");function Pi(l){for(l=l.firstContext;l!==null;){if(!ie(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i(Pi,"checkIfContextChanged");function ya(l){Aa=l,et=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(ya,"prepareToReadContext");function ql(l){return y0(Aa,l)}i(ql,"readContext");function Si(l,e){return Aa===null&&ya(l),y0(l,e)}i(Si,"readContextDuringReconciliation");function y0(l,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},et===null){if(l===null)throw Error(S(308));et=e,l.dependencies={lanes:0,firstContext:e},l.flags|=524288}else et=et.next=e;return t}i(y0,"readContextForConsumer");var cp=typeof AbortController<"u"?AbortController:function(){var l=[],e=this.signal={aborted:!1,addEventListener:i(function(t,a){l.push(a)},"addEventListener")};this.abort=function(){e.aborted=!0,l.forEach(function(t){return t()})}},fp=El.unstable_scheduleCallback,op=El.unstable_NormalPriority,gl={$$typeof:Pe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ss(){return{controller:new cp,data:new Map,refCount:0}}i(Ss,"createCache");function Hu(l){l.refCount--,l.refCount===0&&fp(op,function(){l.controller.abort()})}i(Hu,"releaseCache");var nu=null,Uo=0,hn=0,cn=null;function sp(l,e){if(nu===null){var t=nu=[];Uo=0,hn=Zs(),cn={status:"pending",value:void 0,then:i(function(a){t.push(a)},"then")}}return Uo++,e.then(Nm,Nm),e}i(sp,"entangleAsyncAction");function Nm(){if(--Uo===0&&nu!==null){cn!==null&&(cn.status="fulfilled");var l=nu;nu=null,hn=0,cn=null;for(var e=0;e<l.length;e++)(0,l[e])()}}i(Nm,"pingEngtangledActionScope");function rp(l,e){var t=[],a={status:"pending",value:null,reason:null,then:i(function(n){t.push(n)},"then")};return l.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<t.length;n++)(0,t[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<t.length;n++)(0,t[n])(void 0)}),a}i(rp,"chainThenableValue");var _m=B.S;B.S=function(l,e){Uy=te(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&sp(l,e),_m!==null&&_m(l,e)};var ra=Re(null);function zs(){var l=ra.current;return l!==null?l:ll.pooledCache}i(zs,"peekCacheFromPool");function xi(l,e){e===null?el(ra,ra.current):el(ra,e.pool)}i(xi,"pushTransition");function v0(){var l=zs();return l===null?null:{parent:gl._currentValue,pool:l}}i(v0,"getSuspendedCache");var Nn=Error(S(460)),Ts=Error(S(474)),_c=Error(S(542)),lc={then:i(function(){},"then")};function Mm(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(Mm,"isThenableResolved");function p0(l,e,t){switch(t=l[t],t===void 0?l.push(e):t!==e&&(e.then(lt,lt),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,Um(l),l;default:if(typeof e.status=="string")e.then(lt,lt);else{if(l=ll,l!==null&&100<l.shellSuspendCounter)throw Error(S(482));l=e,l.status="pending",l.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,Um(l),l}throw da=e,Nn}}i(p0,"trackUsedThenable");function ca(l){try{var e=l._init;return e(l._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(da=t,Nn):t}}i(ca,"resolveLazy");var da=null;function Om(){if(da===null)throw Error(S(459));var l=da;return da=null,l}i(Om,"getSuspendedThenable");function Um(l){if(l===Nn||l===_c)throw Error(S(483))}i(Um,"checkIfUseWrappedInAsyncCatch");var fn=null,Su=0;function zi(l){var e=Su;return Su+=1,fn===null&&(fn=[]),p0(fn,l,e)}i(zi,"unwrapThenable");function Zn(l,e){e=e.props.ref,l.ref=e!==void 0?e:null}i(Zn,"coerceRef");function Ti(l,e){throw e.$$typeof===$v?Error(S(525)):(l=Object.prototype.toString.call(e),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":l)))}i(Ti,"throwOnInvalidObjectTypeImpl");function g0(l){function e(m,r){if(l){var v=m.deletions;v===null?(m.deletions=[r],m.flags|=16):v.push(r)}}i(e,"deleteChild");function t(m,r){if(!l)return null;for(;r!==null;)e(m,r),r=r.sibling;return null}i(t,"deleteRemainingChildren");function a(m){for(var r=new Map;m!==null;)m.key!==null?r.set(m.key,m):r.set(m.index,m),m=m.sibling;return r}i(a,"mapRemainingChildren");function n(m,r){return m=tt(m,r),m.index=0,m.sibling=null,m}i(n,"useFiber");function u(m,r,v){return m.index=v,l?(v=m.alternate,v!==null?(v=v.index,v<r?(m.flags|=67108866,r):v):(m.flags|=67108866,r)):(m.flags|=1048576,r)}i(u,"placeChild");function c(m){return l&&m.alternate===null&&(m.flags|=67108866),m}i(c,"placeSingleChild");function f(m,r,v,g){return r===null||r.tag!==6?(r=Gf(v,m.mode,g),r.return=m,r):(r=n(r,v),r.return=m,r)}i(f,"updateTextNode");function o(m,r,v,g){var E=v.type;return E===Za?y(m,r,v.props.children,g,v.key):r!==null&&(r.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===zt&&ca(E)===r.type)?(r=n(r,v.props),Zn(r,v),r.return=m,r):(r=Hi(v.type,v.key,v.props,null,m.mode,g),Zn(r,v),r.return=m,r)}i(o,"updateElement");function s(m,r,v,g){return r===null||r.tag!==4||r.stateNode.containerInfo!==v.containerInfo||r.stateNode.implementation!==v.implementation?(r=Vf(v,m.mode,g),r.return=m,r):(r=n(r,v.children||[]),r.return=m,r)}i(s,"updatePortal");function y(m,r,v,g,E){return r===null||r.tag!==7?(r=sa(v,m.mode,g,E),r.return=m,r):(r=n(r,v),r.return=m,r)}i(y,"updateFragment");function p(m,r,v){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Gf(""+r,m.mode,v),r.return=m,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case di:return v=Hi(r.type,r.key,r.props,null,m.mode,v),Zn(v,r),v.return=m,v;case Fn:return r=Vf(r,m.mode,v),r.return=m,r;case zt:return r=ca(r),p(m,r,v)}if($n(r)||Ln(r))return r=sa(r,m.mode,v,null),r.return=m,r;if(typeof r.then=="function")return p(m,zi(r),v);if(r.$$typeof===Pe)return p(m,Si(m,r),v);Ti(m,r)}return null}i(p,"createChild");function h(m,r,v,g){var E=r!==null?r.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return E!==null?null:f(m,r,""+v,g);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case di:return v.key===E?o(m,r,v,g):null;case Fn:return v.key===E?s(m,r,v,g):null;case zt:return v=ca(v),h(m,r,v,g)}if($n(v)||Ln(v))return E!==null?null:y(m,r,v,g,null);if(typeof v.then=="function")return h(m,r,zi(v),g);if(v.$$typeof===Pe)return h(m,r,Si(m,v),g);Ti(m,v)}return null}i(h,"updateSlot");function d(m,r,v,g,E){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return m=m.get(v)||null,f(r,m,""+g,E);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case di:return m=m.get(g.key===null?v:g.key)||null,o(r,m,g,E);case Fn:return m=m.get(g.key===null?v:g.key)||null,s(r,m,g,E);case zt:return g=ca(g),d(m,r,v,g,E)}if($n(g)||Ln(g))return m=m.get(v)||null,y(r,m,g,E,null);if(typeof g.then=="function")return d(m,r,v,zi(g),E);if(g.$$typeof===Pe)return d(m,r,v,Si(r,g),E);Ti(r,g)}return null}i(d,"updateFromMap");function z(m,r,v,g){for(var E=null,M=null,N=r,O=r=0,D=null;N!==null&&O<v.length;O++){N.index>O?(D=N,N=null):D=N.sibling;var R=h(m,N,v[O],g);if(R===null){N===null&&(N=D);break}l&&N&&R.alternate===null&&e(m,N),r=u(R,r,O),M===null?E=R:M.sibling=R,M=R,N=D}if(O===v.length)return t(m,N),L&&$e(m,O),E;if(N===null){for(;O<v.length;O++)N=p(m,v[O],g),N!==null&&(r=u(N,r,O),M===null?E=N:M.sibling=N,M=N);return L&&$e(m,O),E}for(N=a(N);O<v.length;O++)D=d(N,m,O,v[O],g),D!==null&&(l&&D.alternate!==null&&N.delete(D.key===null?O:D.key),r=u(D,r,O),M===null?E=D:M.sibling=D,M=D);return l&&N.forEach(function(Ll){return e(m,Ll)}),L&&$e(m,O),E}i(z,"reconcileChildrenArray");function A(m,r,v,g){if(v==null)throw Error(S(151));for(var E=null,M=null,N=r,O=r=0,D=null,R=v.next();N!==null&&!R.done;O++,R=v.next()){N.index>O?(D=N,N=null):D=N.sibling;var Ll=h(m,N,R.value,g);if(Ll===null){N===null&&(N=D);break}l&&N&&Ll.alternate===null&&e(m,N),r=u(Ll,r,O),M===null?E=Ll:M.sibling=Ll,M=Ll,N=D}if(R.done)return t(m,N),L&&$e(m,O),E;if(N===null){for(;!R.done;O++,R=v.next())R=p(m,R.value,g),R!==null&&(r=u(R,r,O),M===null?E=R:M.sibling=R,M=R);return L&&$e(m,O),E}for(N=a(N);!R.done;O++,R=v.next())R=d(N,m,O,R.value,g),R!==null&&(l&&R.alternate!==null&&N.delete(R.key===null?O:R.key),r=u(R,r,O),M===null?E=R:M.sibling=R,M=R);return l&&N.forEach(function(wt){return e(m,wt)}),L&&$e(m,O),E}i(A,"reconcileChildrenIterator");function U(m,r,v,g){if(typeof v=="object"&&v!==null&&v.type===Za&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case di:l:{for(var E=v.key;r!==null;){if(r.key===E){if(E=v.type,E===Za){if(r.tag===7){t(m,r.sibling),g=n(r,v.props.children),g.return=m,m=g;break l}}else if(r.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===zt&&ca(E)===r.type){t(m,r.sibling),g=n(r,v.props),Zn(g,v),g.return=m,m=g;break l}t(m,r);break}else e(m,r);r=r.sibling}v.type===Za?(g=sa(v.props.children,m.mode,g,v.key),g.return=m,m=g):(g=Hi(v.type,v.key,v.props,null,m.mode,g),Zn(g,v),g.return=m,m=g)}return c(m);case Fn:l:{for(E=v.key;r!==null;){if(r.key===E)if(r.tag===4&&r.stateNode.containerInfo===v.containerInfo&&r.stateNode.implementation===v.implementation){t(m,r.sibling),g=n(r,v.children||[]),g.return=m,m=g;break l}else{t(m,r);break}else e(m,r);r=r.sibling}g=Vf(v,m.mode,g),g.return=m,m=g}return c(m);case zt:return v=ca(v),U(m,r,v,g)}if($n(v))return z(m,r,v,g);if(Ln(v)){if(E=Ln(v),typeof E!="function")throw Error(S(150));return v=E.call(v),A(m,r,v,g)}if(typeof v.then=="function")return U(m,r,zi(v),g);if(v.$$typeof===Pe)return U(m,r,Si(m,v),g);Ti(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,r!==null&&r.tag===6?(t(m,r.sibling),g=n(r,v),g.return=m,m=g):(t(m,r),g=Gf(v,m.mode,g),g.return=m,m=g),c(m)):t(m,r)}return i(U,"reconcileChildFibersImpl"),function(m,r,v,g){try{Su=0;var E=U(m,r,v,g);return fn=null,E}catch(N){if(N===Nn||N===_c)throw N;var M=le(29,N,null,m.mode);return M.lanes=g,M.return=m,M}finally{}}}i(g0,"createChildReconciler");var va=g0(!0),b0=g0(!1),Tt=!1;function As(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(As,"initializeUpdateQueue");function Do(l,e){l=l.updateQueue,e.updateQueue===l&&(e.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}i(Do,"cloneUpdateQueue");function Ht(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(Ht,"createUpdate");function xt(l,e,t){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(j&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=$i(l),s0(l,null,t),e}return Nc(l,a,e,t),$i(l)}i(xt,"enqueueUpdate");function uu(l,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Rh(l,t)}}i(uu,"entangleTransitions");function Xf(l,e){var t=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,t===a)){var n=null,u=null;if(t=t.firstBaseUpdate,t!==null){do{var c={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,t=t.next}while(t!==null);u===null?n=u=e:u=u.next=e}else n=u=e;t={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=t;return}l=t.lastBaseUpdate,l===null?t.firstBaseUpdate=e:l.next=e,t.lastBaseUpdate=e}i(Xf,"enqueueCapturedUpdate");var Co=!1;function iu(){if(Co){var l=cn;if(l!==null)throw l}}i(iu,"suspendIfUpdateReadFromEntangledAsyncAction");function cu(l,e,t,a){Co=!1;var n=l.updateQueue;Tt=!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 y=l.alternate;y!==null&&(y=y.updateQueue,f=y.lastBaseUpdate,f!==c&&(f===null?y.firstBaseUpdate=s:f.next=s,y.lastBaseUpdate=o))}if(u!==null){var p=n.baseState;c=0,y=s=o=null,f=u;do{var h=f.lane&-536870913,d=h!==f.lane;if(d?(Q&h)===h:(a&h)===h){h!==0&&h===hn&&(Co=!0),y!==null&&(y=y.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var z=l,A=f;h=e;var U=t;switch(A.tag){case 1:if(z=A.payload,typeof z=="function"){p=z.call(U,p,h);break l}p=z;break l;case 3:z.flags=z.flags&-65537|128;case 0:if(z=A.payload,h=typeof z=="function"?z.call(U,p,h):z,h==null)break l;p=ul({},p,h);break l;case 2:Tt=!0}}h=f.callback,h!==null&&(l.flags|=64,d&&(l.flags|=8192),d=n.callbacks,d===null?n.callbacks=[h]:d.push(h))}else d={lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},y===null?(s=y=d,o=p):y=y.next=d,c|=h;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;d=f,f=d.next,d.next=null,n.lastBaseUpdate=d,n.shared.pending=null}}while(!0);y===null&&(o=p),n.baseState=o,n.firstBaseUpdate=s,n.lastBaseUpdate=y,u===null&&(n.shared.lanes=0),jt|=c,l.lanes=c,l.memoizedState=p}}i(cu,"processUpdateQueue");function S0(l,e){if(typeof l!="function")throw Error(S(191,l));l.call(e)}i(S0,"callCallback");function z0(l,e){var t=l.callbacks;if(t!==null)for(l.callbacks=null,l=0;l<t.length;l++)S0(t[l],e)}i(z0,"commitCallbacks");var yn=Re(null),ec=Re(0);function Dm(l,e){l=ot,el(ec,l),el(yn,e),ot=l|e.baseLanes}i(Dm,"pushHiddenContext");function ko(){el(ec,ot),el(yn,yn.current)}i(ko,"reuseHiddenContextOnStack");function Es(){ot=ec.current,Ul(yn),Ul(ec)}i(Es,"popHiddenContext");var ce=Re(null),ge=null;function Et(l){var e=l.alternate;el(dl,dl.current&1),el(ce,l),ge===null&&(e===null||yn.current!==null||e.memoizedState!==null)&&(ge=l)}i(Et,"pushPrimaryTreeSuspenseHandler");function Bo(l){el(dl,dl.current),el(ce,l),ge===null&&(ge=l)}i(Bo,"pushDehydratedActivitySuspenseHandler");function T0(l){l.tag===22?(el(dl,dl.current),el(ce,l),ge===null&&(ge=l)):Nt(l)}i(T0,"pushOffscreenSuspenseHandler");function Nt(){el(dl,dl.current),el(ce,ce.current)}i(Nt,"reuseSuspenseHandlerOnStack");function Pl(l){Ul(ce),ge===l&&(ge=null),Ul(dl)}i(Pl,"popSuspenseHandler");var dl=Re(0);function tc(l){for(var e=l;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||Io(t)||Po(t)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}i(tc,"findFirstSuspended");var it=0,q=null,I=null,vl=null,ac=!1,on=!1,pa=!1,nc=0,zu=0,sn=null,dp=0;function sl(){throw Error(S(321))}i(sl,"throwInvalidHookError");function Ns(l,e){if(e===null)return!1;for(var t=0;t<e.length&&t<l.length;t++)if(!ie(l[t],e[t]))return!1;return!0}i(Ns,"areHookInputsEqual");function _s(l,e,t,a,n,u){return it=u,q=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=l===null||l.memoizedState===null?P0:Rs,pa=!1,u=t(a,n),pa=!1,on&&(u=E0(e,t,a,n)),A0(l),u}i(_s,"renderWithHooks");function A0(l){B.H=Tu;var e=I!==null&&I.next!==null;if(it=0,vl=I=q=null,ac=!1,zu=0,sn=null,e)throw Error(S(300));l===null||bl||(l=l.dependencies,l!==null&&Pi(l)&&(bl=!0))}i(A0,"finishRenderingHooks");function E0(l,e,t,a){q=l;var n=0;do{if(on&&(sn=null),zu=0,on=!1,25<=n)throw Error(S(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)}B.H=ly,u=e(t,a)}while(on);return u}i(E0,"renderWithHooksAgain");function mp(){var l=B.H,e=l.useState()[0];return e=typeof e.then=="function"?xu(e):e,l=l.useState()[0],(I!==null?I.memoizedState:null)!==l&&(q.flags|=1024),e}i(mp,"TransitionAwareHostComponent");function Ms(){var l=nc!==0;return nc=0,l}i(Ms,"checkDidRenderIdHook");function Os(l,e,t){e.updateQueue=l.updateQueue,e.flags&=-2053,l.lanes&=~t}i(Os,"bailoutHooks");function Us(l){if(ac){for(l=l.memoizedState;l!==null;){var e=l.queue;e!==null&&(e.pending=null),l=l.next}ac=!1}it=0,vl=I=q=null,on=!1,zu=nc=0,sn=null}i(Us,"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 e=vl===null?q.memoizedState:vl.next;if(e!==null)vl=e,I=l;else{if(l===null)throw q.alternate===null?Error(S(467)):Error(S(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 e=zu;return zu+=1,sn===null&&(sn=[]),l=p0(sn,l,e),e=q,(vl===null?e.memoizedState:vl.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?P0:Rs),l}i(xu,"useThenable");function Oc(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return xu(l);if(l.$$typeof===Pe)return ql(l)}throw Error(S(438,String(l)))}i(Oc,"use");function Ds(l){var e=null,t=q.updateQueue;if(t!==null&&(e=t.memoCache),e==null){var a=q.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),t===null&&(t=Mc(),q.updateQueue=t),t.memoCache=e,t=e.data[e.index],t===void 0)for(t=e.data[e.index]=Array(l),a=0;a<l;a++)t[a]=Iv;return e.index++,t}i(Ds,"useMemoCache");function ct(l,e){return typeof e=="function"?e(l):e}i(ct,"basicStateReducer");function qi(l){var e=ml();return Cs(e,I,l)}i(qi,"updateReducer");function Cs(l,e,t){var a=l.queue;if(a===null)throw Error(S(311));a.lastRenderedReducer=t;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}e.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{e=n.next;var f=c=null,o=null,s=e,y=!1;do{var p=s.lane&-536870913;if(p!==s.lane?(Q&p)===p:(it&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===hn&&(y=!0);else if((it&h)===h){s=s.next,h===hn&&(y=!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,jt|=h;p=s.action,pa&&t(u,p),u=s.hasEagerState?s.eagerState:t(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,jt|=p;s=s.next}while(s!==null&&s!==e);if(o===null?c=u:o.next=f,!ie(u,l.memoizedState)&&(bl=!0,y&&(t=cn,t!==null)))throw t;l.memoizedState=u,l.baseState=c,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}i(Cs,"updateReducerImpl");function Lf(l){var e=ml(),t=e.queue;if(t===null)throw Error(S(311));t.lastRenderedReducer=l;var a=t.dispatch,n=t.pending,u=e.memoizedState;if(n!==null){t.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);ie(u,e.memoizedState)||(bl=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),t.lastRenderedState=u}return[u,a]}i(Lf,"rerenderReducer");function N0(l,e,t){var a=q,n=ml(),u=L;if(u){if(t===void 0)throw Error(S(407));t=t()}else t=e();var c=!ie((I||n).memoizedState,t);if(c&&(n.memoizedState=t,bl=!0),n=n.queue,ks(O0.bind(null,a,n,l),[l]),n.getSnapshot!==e||c||vl!==null&&vl.memoizedState.tag&1){if(a.flags|=2048,vn(9,{destroy:void 0},M0.bind(null,a,n,t,e),null),ll===null)throw Error(S(349));u||(it&127)!==0||_0(a,e,t)}return t}i(N0,"updateSyncExternalStore");function _0(l,e,t){l.flags|=16384,l={getSnapshot:e,value:t},e=q.updateQueue,e===null?(e=Mc(),q.updateQueue=e,e.stores=[l]):(t=e.stores,t===null?e.stores=[l]:t.push(l))}i(_0,"pushStoreConsistencyCheck");function M0(l,e,t,a){e.value=t,e.getSnapshot=a,U0(e)&&D0(l)}i(M0,"updateStoreInstance");function O0(l,e,t){return t(function(){U0(e)&&D0(l)})}i(O0,"subscribeToStore");function U0(l){var e=l.getSnapshot;l=l.value;try{var t=e();return!ie(l,t)}catch{return!0}}i(U0,"checkIfSnapshotChanged");function D0(l){var e=Ta(l,2);e!==null&&Wl(e,l,2)}i(D0,"forceStoreRerender");function Ho(l){var e=Xl();if(typeof l=="function"){var t=l;if(l=t(),pa){Mt(!0);try{t()}finally{Mt(!1)}}}return e.memoizedState=e.baseState=l,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:l},e}i(Ho,"mountStateImpl");function C0(l,e,t,a){return l.baseState=t,Cs(l,I,typeof a=="function"?a:ct)}i(C0,"updateOptimisticImpl");function hp(l,e,t,a,n){if(Dc(l))throw Error(S(485));if(l=e.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")};B.T!==null?t(!0):u.isTransition=!1,a(u),t=e.pending,t===null?(u.next=e.pending=u,k0(e,u)):(u.next=t.next,e.pending=t.next=u)}}i(hp,"dispatchActionState");function k0(l,e){var t=e.action,a=e.payload,n=l.state;if(e.isTransition){var u=B.T,c={};B.T=c;try{var f=t(n,a),o=B.S;o!==null&&o(c,f),Cm(l,e,f)}catch(s){xo(l,e,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),B.T=u}}else try{u=t(n,a),Cm(l,e,u)}catch(s){xo(l,e,s)}}i(k0,"runActionStateAction");function Cm(l,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){km(l,e,a)},function(a){return xo(l,e,a)}):km(l,e,t)}i(Cm,"handleActionReturnValue");function km(l,e,t){e.status="fulfilled",e.value=t,B0(e),l.state=t,e=l.pending,e!==null&&(t=e.next,t===e?l.pending=null:(t=t.next,e.next=t,k0(l,t)))}i(km,"onActionSuccess");function xo(l,e,t){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=t,B0(e),e=e.next;while(e!==a)}l.action=null}i(xo,"onActionError");function B0(l){l=l.listeners;for(var e=0;e<l.length;e++)(0,l[e])()}i(B0,"notifyActionListeners");function H0(l,e){return e}i(H0,"actionStateReducer");function Bm(l,e){if(L){var t=ll.formState;if(t!==null){l:{var a=q;if(L){if(nl){e:{for(var n=nl,u=pe;n.nodeType!==8;){if(!u){n=null;break e}if(n=be(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){nl=be(n.nextSibling),a=n.data==="F!";break l}}Xt(a)}a=!1}a&&(e=t[0])}}return t=Xl(),t.memoizedState=t.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:H0,lastRenderedState:e},t.queue=a,t=F0.bind(null,q,a),a.dispatch=t,a=Ho(!1),u=qs.bind(null,q,!1,a.queue),a=Xl(),n={state:e,dispatch:null,action:l,pending:null},a.queue=n,t=hp.bind(null,q,n,u,t),n.dispatch=t,a.memoizedState=l,[e,t,!1]}i(Bm,"mountActionState");function Hm(l){var e=ml();return x0(e,I,l)}i(Hm,"updateActionState");function x0(l,e,t){if(e=Cs(l,e,H0)[0],l=qi(ct)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=xu(e)}catch(c){throw c===Nn?_c:c}else a=e;e=ml();var n=e.queue,u=n.dispatch;return t!==e.memoizedState&&(q.flags|=2048,vn(9,{destroy:void 0},yp.bind(null,n,t),null)),[a,u,l]}i(x0,"updateActionStateImpl");function yp(l,e){l.action=e}i(yp,"actionStateActionEffect");function xm(l){var e=ml(),t=I;if(t!==null)return x0(e,t,l);ml(),e=e.memoizedState,t=ml();var a=t.queue.dispatch;return t.memoizedState=l,[e,a,!1]}i(xm,"rerenderActionState");function vn(l,e,t,a){return l={tag:l,create:t,deps:a,inst:e,next:null},e=q.updateQueue,e===null&&(e=Mc(),q.updateQueue=e),t=e.lastEffect,t===null?e.lastEffect=l.next=l:(a=t.next,t.next=l,l.next=a,e.lastEffect=l),l}i(vn,"pushSimpleEffect");function q0(){return ml().memoizedState}i(q0,"updateRef");function Ri(l,e,t,a){var n=Xl();q.flags|=l,n.memoizedState=vn(1|e,{destroy:void 0},t,a===void 0?null:a)}i(Ri,"mountEffectImpl");function Uc(l,e,t,a){var n=ml();a=a===void 0?null:a;var u=n.memoizedState.inst;I!==null&&a!==null&&Ns(a,I.memoizedState.deps)?n.memoizedState=vn(e,u,t,a):(q.flags|=l,n.memoizedState=vn(1|e,u,t,a))}i(Uc,"updateEffectImpl");function qm(l,e){Ri(8390656,8,l,e)}i(qm,"mountEffect");function ks(l,e){Uc(2048,8,l,e)}i(ks,"updateEffect");function vp(l){q.flags|=4;var e=q.updateQueue;if(e===null)e=Mc(),q.updateQueue=e,e.events=[l];else{var t=e.events;t===null?e.events=[l]:t.push(l)}}i(vp,"useEffectEventImpl");function R0(l){var e=ml().memoizedState;return vp({ref:e,nextImpl:l}),function(){if((j&2)!==0)throw Error(S(440));return e.impl.apply(void 0,arguments)}}i(R0,"updateEvent");function Y0(l,e){return Uc(4,2,l,e)}i(Y0,"updateInsertionEffect");function G0(l,e){return Uc(4,4,l,e)}i(G0,"updateLayoutEffect");function V0(l,e){if(typeof e=="function"){l=l();var t=e(l);return function(){typeof t=="function"?t():e(null)}}if(e!=null)return l=l(),e.current=l,function(){e.current=null}}i(V0,"imperativeHandleEffect");function Q0(l,e,t){t=t!=null?t.concat([l]):null,Uc(4,4,V0.bind(null,e,l),t)}i(Q0,"updateImperativeHandle");function Bs(){}i(Bs,"mountDebugValue");function X0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;return e!==null&&Ns(e,a[1])?a[0]:(t.memoizedState=[l,e],l)}i(X0,"updateCallback");function L0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;if(e!==null&&Ns(e,a[1]))return a[0];if(a=l(),pa){Mt(!0);try{l()}finally{Mt(!1)}}return t.memoizedState=[a,e],a}i(L0,"updateMemo");function Hs(l,e,t){return t===void 0||(it&1073741824)!==0&&(Q&261930)===0?l.memoizedState=e:(l.memoizedState=t,l=Cy(),q.lanes|=l,jt|=l,t)}i(Hs,"mountDeferredValueImpl");function j0(l,e,t,a){return ie(t,e)?t:yn.current!==null?(l=Hs(l,t,a),ie(l,e)||(bl=!0),l):(it&42)===0||(it&1073741824)!==0&&(Q&261930)===0?(bl=!0,l.memoizedState=t):(l=Cy(),q.lanes|=l,jt|=l,e)}i(j0,"updateDeferredValueImpl");function Z0(l,e,t,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var c=B.T,f={};B.T=f,qs(l,!1,e,t);try{var o=n(),s=B.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var y=rp(o,a);fu(l,e,y,ue(l))}else fu(l,e,a,ue(l))}catch(p){fu(l,e,{then:i(function(){},"then"),status:"rejected",reason:p},ue())}finally{Z.p=u,c!==null&&f.types!==null&&(c.types=f.types),B.T=c}}i(Z0,"startTransition");function pp(){}i(pp,"noop");function qo(l,e,t,a){if(l.tag!==5)throw Error(S(476));var n=K0(l).queue;Z0(l,n,e,oa,t===null?pp:function(){return J0(l),t(a)})}i(qo,"startHostTransition");function K0(l){var e=l.memoizedState;if(e!==null)return e;e={memoizedState:oa,baseState:oa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:oa},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ct,lastRenderedState:t},next:null},l.memoizedState=e,l=l.alternate,l!==null&&(l.memoizedState=e),e}i(K0,"ensureFormComponentIsStateful");function J0(l){var e=K0(l);e.next===null&&(e=l.alternate.memoizedState),fu(l,e.next.queue,{},ue())}i(J0,"requestFormReset$1");function xs(){return ql(Nu)}i(xs,"useHostTransitionStatus");function w0(){return ml().memoizedState}i(w0,"updateId");function W0(){return ml().memoizedState}i(W0,"updateRefresh");function gp(l){for(var e=l.return;e!==null;){switch(e.tag){case 24:case 3:var t=ue();l=Ht(t);var a=xt(e,l,t);a!==null&&(Wl(a,e,t),uu(a,e,t)),e={cache:Ss()},l.payload=e;return}e=e.return}}i(gp,"refreshCache");function bp(l,e,t){var a=ue();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},Dc(l)?$0(e,t):(t=vs(l,e,t,a),t!==null&&(Wl(t,l,a),I0(t,e,a)))}i(bp,"dispatchReducerAction");function F0(l,e,t){var a=ue();fu(l,e,t,a)}i(F0,"dispatchSetState");function fu(l,e,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(Dc(l))$0(e,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var c=e.lastRenderedState,f=u(c,t);if(n.hasEagerState=!0,n.eagerState=f,ie(f,c))return Nc(l,e,n,0),ll===null&&Ec(),!1}catch{}finally{}if(t=vs(l,e,n,a),t!==null)return Wl(t,l,a),I0(t,e,a),!0}return!1}i(fu,"dispatchSetStateInternal");function qs(l,e,t,a){if(a={lane:2,revertLane:Zs(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Dc(l)){if(e)throw Error(S(479))}else e=vs(l,t,a,2),e!==null&&Wl(e,l,2)}i(qs,"dispatchOptimisticSetState");function Dc(l){var e=l.alternate;return l===q||e!==null&&e===q}i(Dc,"isRenderPhaseUpdate");function $0(l,e){on=ac=!0;var t=l.pending;t===null?e.next=e:(e.next=t.next,t.next=e),l.pending=e}i($0,"enqueueRenderPhaseUpdate");function I0(l,e,t){if((t&4194048)!==0){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Rh(l,t)}}i(I0,"entangleTransitionUpdate");var Tu={readContext:ql,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 P0={readContext:ql,use:Oc,useCallback:i(function(l,e){return Xl().memoizedState=[l,e===void 0?null:e],l},"useCallback"),useContext:ql,useEffect:qm,useImperativeHandle:i(function(l,e,t){t=t!=null?t.concat([l]):null,Ri(4194308,4,V0.bind(null,e,l),t)},"useImperativeHandle"),useLayoutEffect:i(function(l,e){return Ri(4194308,4,l,e)},"useLayoutEffect"),useInsertionEffect:i(function(l,e){Ri(4,2,l,e)},"useInsertionEffect"),useMemo:i(function(l,e){var t=Xl();e=e===void 0?null:e;var a=l();if(pa){Mt(!0);try{l()}finally{Mt(!1)}}return t.memoizedState=[a,e],a},"useMemo"),useReducer:i(function(l,e,t){var a=Xl();if(t!==void 0){var n=t(e);if(pa){Mt(!0);try{t(e)}finally{Mt(!1)}}}else n=e;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=bp.bind(null,q,l),[a.memoizedState,l]},"useReducer"),useRef:i(function(l){var e=Xl();return l={current:l},e.memoizedState=l},"useRef"),useState:i(function(l){l=Ho(l);var e=l.queue,t=F0.bind(null,q,e);return e.dispatch=t,[l.memoizedState,t]},"useState"),useDebugValue:Bs,useDeferredValue:i(function(l,e){var t=Xl();return Hs(t,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Ho(!1);return l=Z0.bind(null,q,l.queue,!0,!1),Xl().memoizedState=l,[!1,l]},"useTransition"),useSyncExternalStore:i(function(l,e,t){var a=q,n=Xl();if(L){if(t===void 0)throw Error(S(407));t=t()}else{if(t=e(),ll===null)throw Error(S(349));(Q&127)!==0||_0(a,e,t)}n.memoizedState=t;var u={value:t,getSnapshot:e};return n.queue=u,qm(O0.bind(null,a,u,l),[l]),a.flags|=2048,vn(9,{destroy:void 0},M0.bind(null,a,u,t,e),null),t},"useSyncExternalStore"),useId:i(function(){var l=Xl(),e=ll.identifierPrefix;if(L){var t=He,a=Be;t=(a&~(1<<32-ne(a)-1)).toString(32)+t,e="_"+e+"R_"+t,t=nc++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=dp++,e="_"+e+"r_"+t.toString(32)+"_";return l.memoizedState=e},"useId"),useHostTransitionStatus:xs,useFormState:Bm,useActionState:Bm,useOptimistic:i(function(l){var e=Xl();e.memoizedState=e.baseState=l;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=qs.bind(null,q,!0,t),t.dispatch=e,[l,e]},"useOptimistic"),useMemoCache:Ds,useCacheRefresh:i(function(){return Xl().memoizedState=gp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var e=Xl(),t={impl:l};return e.memoizedState=t,function(){if((j&2)!==0)throw Error(S(440));return t.impl.apply(void 0,arguments)}},"useEffectEvent")},Rs={readContext:ql,use:Oc,useCallback:X0,useContext:ql,useEffect:ks,useImperativeHandle:Q0,useInsertionEffect:Y0,useLayoutEffect:G0,useMemo:L0,useReducer:qi,useRef:q0,useState:i(function(){return qi(ct)},"useState"),useDebugValue:Bs,useDeferredValue:i(function(l,e){var t=ml();return j0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=qi(ct)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),e]},"useTransition"),useSyncExternalStore:N0,useId:w0,useHostTransitionStatus:xs,useFormState:Hm,useActionState:Hm,useOptimistic:i(function(l,e){var t=ml();return C0(t,I,l,e)},"useOptimistic"),useMemoCache:Ds,useCacheRefresh:W0};Rs.useEffectEvent=R0;var ly={readContext:ql,use:Oc,useCallback:X0,useContext:ql,useEffect:ks,useImperativeHandle:Q0,useInsertionEffect:Y0,useLayoutEffect:G0,useMemo:L0,useReducer:Lf,useRef:q0,useState:i(function(){return Lf(ct)},"useState"),useDebugValue:Bs,useDeferredValue:i(function(l,e){var t=ml();return I===null?Hs(t,l,e):j0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Lf(ct)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),e]},"useTransition"),useSyncExternalStore:N0,useId:w0,useHostTransitionStatus:xs,useFormState:xm,useActionState:xm,useOptimistic:i(function(l,e){var t=ml();return I!==null?C0(t,I,l,e):(t.baseState=l,[l,t.queue.dispatch])},"useOptimistic"),useMemoCache:Ds,useCacheRefresh:W0};ly.useEffectEvent=R0;function jf(l,e,t,a){e=l.memoizedState,t=t(a,e),t=t==null?e:ul({},e,t),l.memoizedState=t,l.lanes===0&&(l.updateQueue.baseState=t)}i(jf,"applyDerivedStateFromProps");var Ro={enqueueSetState:i(function(l,e,t){l=l._reactInternals;var a=ue(),n=Ht(a);n.payload=e,t!=null&&(n.callback=t),e=xt(l,n,a),e!==null&&(Wl(e,l,a),uu(e,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,e,t){l=l._reactInternals;var a=ue(),n=Ht(a);n.tag=1,n.payload=e,t!=null&&(n.callback=t),e=xt(l,n,a),e!==null&&(Wl(e,l,a),uu(e,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,e){l=l._reactInternals;var t=ue(),a=Ht(t);a.tag=2,e!=null&&(a.callback=e),e=xt(l,a,t),e!==null&&(Wl(e,l,t),uu(e,l,t))},"enqueueForceUpdate")};function Rm(l,e,t,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):e.prototype&&e.prototype.isPureReactComponent?!pu(t,a)||!pu(n,u):!0}i(Rm,"checkShouldComponentUpdate");function Ym(l,e,t,a){l=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,a),e.state!==l&&Ro.enqueueReplaceState(e,e.state,null)}i(Ym,"callComponentWillReceiveProps");function ga(l,e){var t=e;if("ref"in e){t={};for(var a in e)a!=="ref"&&(t[a]=e[a])}if(l=l.defaultProps){t===e&&(t=ul({},t));for(var n in l)t[n]===void 0&&(t[n]=l[n])}return t}i(ga,"resolveClassComponentProps");function ey(l){Fi(l)}i(ey,"defaultOnUncaughtError");function ty(l){console.error(l)}i(ty,"defaultOnCaughtError");function ay(l){Fi(l)}i(ay,"defaultOnRecoverableError");function uc(l,e){try{var t=l.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}i(uc,"logUncaughtError");function Gm(l,e,t){try{var a=l.onCaughtError;a(t.value,{componentStack:t.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}i(Gm,"logCaughtError");function Yo(l,e,t){return t=Ht(t),t.tag=3,t.payload={element:null},t.callback=function(){uc(l,e)},t}i(Yo,"createRootErrorUpdate");function ny(l){return l=Ht(l),l.tag=3,l}i(ny,"createClassErrorUpdate");function uy(l,e,t,a){var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){Gm(e,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){Gm(e,t,a),typeof n!="function"&&(qt===null?qt=new Set([this]):qt.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(uy,"initializeClassErrorUpdate");function Sp(l,e,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=t.alternate,e!==null&&En(e,t,n,!0),t=ce.current,t!==null){switch(t.tag){case 31:case 13:return ge===null?sc():t.alternate===null&&rl===0&&(rl=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===lc?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([a]):e.add(a),eo(l,a,n)),!1;case 22:return t.flags|=65536,a===lc?t.flags|=16384:(e=t.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},t.updateQueue=e):(t=e.retryQueue,t===null?e.retryQueue=new Set([a]):t.add(a)),eo(l,a,n)),!1}throw Error(S(435,t.tag))}return eo(l,a,n),sc(),!1}if(L)return e=ce.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==No&&(l=Error(S(422),{cause:a}),bu(ve(l,t)))):(a!==No&&(e=Error(S(423),{cause:a}),bu(ve(e,t))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=ve(a,t),n=Yo(l.stateNode,a,n),Xf(l,n),rl!==4&&(rl=2)),!1;var u=Error(S(520),{cause:a});if(u=ve(u,t),ru===null?ru=[u]:ru.push(u),rl!==4&&(rl=2),e===null)return!0;a=ve(a,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,l=n&-n,t.lanes|=l,l=Yo(t.stateNode,a,l),Xf(t,l),!1;case 1:if(e=t.type,u=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(qt===null||!qt.has(u))))return t.flags|=65536,n&=-n,t.lanes|=n,n=ny(n),uy(n,l,t,a),Xf(t,n),!1}t=t.return}while(t!==null);return!1}i(Sp,"throwException");var Ys=Error(S(461)),bl=!1;function Bl(l,e,t,a){e.child=l===null?b0(e,null,t,a):va(e,l.child,t,a)}i(Bl,"reconcileChildren");function Vm(l,e,t,a,n){t=t.render;var u=e.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return ya(e),a=_s(l,e,t,c,u,n),f=Ms(),l!==null&&!bl?(Os(l,e,n),ft(l,e,n)):(L&&f&&gs(e),e.flags|=1,Bl(l,e,a,n),e.child)}i(Vm,"updateForwardRef");function Qm(l,e,t,a,n){if(l===null){var u=t.type;return typeof u=="function"&&!ps(u)&&u.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=u,iy(l,e,u,a,n)):(l=Hi(t.type,null,a,e,e.mode,n),l.ref=e.ref,l.return=e,e.child=l)}if(u=l.child,!Gs(l,n)){var c=u.memoizedProps;if(t=t.compare,t=t!==null?t:pu,t(c,a)&&l.ref===e.ref)return ft(l,e,n)}return e.flags|=1,l=tt(u,a),l.ref=e.ref,l.return=e,e.child=l}i(Qm,"updateMemoComponent");function iy(l,e,t,a,n){if(l!==null){var u=l.memoizedProps;if(pu(u,a)&&l.ref===e.ref)if(bl=!1,e.pendingProps=a=u,Gs(l,n))(l.flags&131072)!==0&&(bl=!0);else return e.lanes=l.lanes,ft(l,e,n)}return Go(l,e,t,a,n)}i(iy,"updateSimpleMemoComponent");function cy(l,e,t,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|t:t,l!==null){for(a=e.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return Xm(l,e,u,t,a)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},l!==null&&xi(e,u!==null?u.cachePool:null),u!==null?Dm(e,u):ko(),T0(e);else return a=e.lanes=536870912,Xm(l,e,u!==null?u.baseLanes|t:t,t,a)}else u!==null?(xi(e,u.cachePool),Dm(e,u),Nt(e),e.memoizedState=null):(l!==null&&xi(e,null),ko(),Nt(e));return Bl(l,e,n,t),e.child}i(cy,"updateOffscreenComponent");function Pn(l,e){return l!==null&&l.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}i(Pn,"bailoutOffscreenComponent");function Xm(l,e,t,a,n){var u=zs();return u=u===null?null:{parent:gl._currentValue,pool:u},e.memoizedState={baseLanes:t,cachePool:u},l!==null&&xi(e,null),ko(),T0(e),l!==null&&En(l,e,a,!0),e.childLanes=n,null}i(Xm,"deferHiddenOffscreenComponent");function Yi(l,e){return e=ic({mode:e.mode,children:e.children},l.mode),e.ref=l.ref,l.child=e,e.return=l,e}i(Yi,"mountActivityChildren");function Lm(l,e,t){return va(e,l.child,null,t),l=Yi(e,e.pendingProps),l.flags|=2,Pl(e),e.memoizedState=null,l}i(Lm,"retryActivityComponentWithoutHydrating");function zp(l,e,t){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,l===null){if(L){if(a.mode==="hidden")return l=Yi(e,a),e.lanes=536870912,Pn(null,l);if(Bo(e),(l=nl)?(l=Py(l,pe),l=l!==null&&l.data==="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Qt!==null?{id:Be,overflow:He}:null,retryLane:536870912,hydrationErrors:null},t=d0(l),t.return=e,e.child=t,xl=e,nl=null)):l=null,l===null)throw Xt(e);return e.lanes=536870912,null}return Yi(e,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Bo(e),n)if(e.flags&256)e.flags&=-257,e=Lm(l,e,t);else if(e.memoizedState!==null)e.child=l.child,e.flags|=128,e=null;else throw Error(S(558));else if(bl||En(l,e,t,!1),n=(t&l.childLanes)!==0,bl||n){if(a=ll,a!==null&&(c=Yh(a,t),c!==0&&c!==u.retryLane))throw u.retryLane=c,Ta(l,c),Wl(a,l,c),Ys;sc(),e=Lm(l,e,t)}else l=u.treeContext,nl=be(c.nextSibling),xl=e,L=!0,Bt=null,pe=!1,l!==null&&h0(e,l),e=Yi(e,a),e.flags|=4096;return e}return l=tt(l.child,{mode:a.mode,children:a.children}),l.ref=e.ref,e.child=l,l.return=e,l}i(zp,"updateActivityComponent");function Gi(l,e){var t=e.ref;if(t===null)l!==null&&l.ref!==null&&(e.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(S(284));(l===null||l.ref!==t)&&(e.flags|=4194816)}}i(Gi,"markRef");function Go(l,e,t,a,n){return ya(e),t=_s(l,e,t,a,void 0,n),a=Ms(),l!==null&&!bl?(Os(l,e,n),ft(l,e,n)):(L&&a&&gs(e),e.flags|=1,Bl(l,e,t,n),e.child)}i(Go,"updateFunctionComponent");function jm(l,e,t,a,n,u){return ya(e),e.updateQueue=null,t=E0(e,a,t,n),A0(l),a=Ms(),l!==null&&!bl?(Os(l,e,u),ft(l,e,u)):(L&&a&&gs(e),e.flags|=1,Bl(l,e,t,u),e.child)}i(jm,"replayFunctionComponent");function Zm(l,e,t,a,n){if(ya(e),e.stateNode===null){var u=Pa,c=t.contextType;typeof c=="object"&&c!==null&&(u=ql(c)),u=new t(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ro,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},As(e),c=t.contextType,u.context=typeof c=="object"&&c!==null?ql(c):Pa,u.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(jf(e,t,c,a),u.state=e.memoizedState),typeof t.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&&Ro.enqueueReplaceState(u,u.state,null),cu(e,a,u,n),iu(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(l===null){u=e.stateNode;var f=e.memoizedProps,o=ga(t,f);u.props=o;var s=u.context,y=t.contextType;c=Pa,typeof y=="object"&&y!==null&&(c=ql(y));var p=t.getDerivedStateFromProps;y=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,y||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||s!==c)&&Ym(e,u,a,c),Tt=!1;var h=e.memoizedState;u.state=h,cu(e,a,u,n),iu(),s=e.memoizedState,f||h!==s||Tt?(typeof p=="function"&&(jf(e,t,p,a),s=e.memoizedState),(o=Tt||Rm(e,t,o,a,h,s,c))?(y||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"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=s),u.props=a,u.state=s,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,Do(l,e),c=e.memoizedProps,y=ga(t,c),u.props=y,p=e.pendingProps,h=u.context,s=t.contextType,o=Pa,typeof s=="object"&&s!==null&&(o=ql(s)),f=t.getDerivedStateFromProps,(s=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==p||h!==o)&&Ym(e,u,a,o),Tt=!1,h=e.memoizedState,u.state=h,cu(e,a,u,n),iu();var d=e.memoizedState;c!==p||h!==d||Tt||l!==null&&l.dependencies!==null&&Pi(l.dependencies)?(typeof f=="function"&&(jf(e,t,f,a),d=e.memoizedState),(y=Tt||Rm(e,t,y,a,h,d,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,d,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,d,o)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=d),u.props=a,u.state=d,u.context=o,a=y):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(e.flags|=1024),a=!1)}return u=a,Gi(l,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,t=a&&typeof t.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,l!==null&&a?(e.child=va(e,l.child,null,n),e.child=va(e,null,t,n)):Bl(l,e,t,n),e.memoizedState=u.state,l=e.child):l=ft(l,e,n),l}i(Zm,"updateClassComponent");function Km(l,e,t,a){return ha(),e.flags|=256,Bl(l,e,t,a),e.child}i(Km,"mountHostRootWithoutHydrating");var Zf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kf(l){return{baseLanes:l,cachePool:v0()}}i(Kf,"mountSuspenseOffscreenState");function Jf(l,e,t){return l=l!==null?l.childLanes&~t:0,e&&(l|=ee),l}i(Jf,"getRemainingWorkInPrimaryTree");function fy(l,e,t){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(dl.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,l===null){if(L){if(n?Et(e):Nt(e),(l=nl)?(l=Py(l,pe),l=l!==null&&l.data!=="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Qt!==null?{id:Be,overflow:He}:null,retryLane:536870912,hydrationErrors:null},t=d0(l),t.return=e,e.child=t,xl=e,nl=null)):l=null,l===null)throw Xt(e);return Po(l)?e.lanes=32:e.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Nt(e),n=e.mode,f=ic({mode:"hidden",children:f},n),a=sa(a,n,t,null),f.return=e,a.return=e,f.sibling=a,e.child=f,a=e.child,a.memoizedState=Kf(t),a.childLanes=Jf(l,c,t),e.memoizedState=Zf,Pn(null,a)):(Et(e),Vo(e,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)e.flags&256?(Et(e),e.flags&=-257,e=wf(l,e,t)):e.memoizedState!==null?(Nt(e),e.child=l.child,e.flags|=128,e=null):(Nt(e),f=a.fallback,n=e.mode,a=ic({mode:"visible",children:a.children},n),f=sa(f,n,t,null),f.flags|=2,a.return=e,f.return=e,a.sibling=f,e.child=a,va(e,l.child,null,t),a=e.child,a.memoizedState=Kf(t),a.childLanes=Jf(l,c,t),e.memoizedState=Zf,e=Pn(null,a));else if(Et(e),Po(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(S(419)),a.stack="",a.digest=c,bu({value:a,source:null,stack:null}),e=wf(l,e,t)}else if(bl||En(l,e,t,!1),c=(t&l.childLanes)!==0,bl||c){if(c=ll,c!==null&&(a=Yh(c,t),a!==0&&a!==o.retryLane))throw o.retryLane=a,Ta(l,a),Wl(c,l,a),Ys;Io(f)||sc(),e=wf(l,e,t)}else Io(f)?(e.flags|=192,e.child=l.child,e=null):(l=o.treeContext,nl=be(f.nextSibling),xl=e,L=!0,Bt=null,pe=!1,l!==null&&h0(e,l),e=Vo(e,a.children),e.flags|=4096);return e}return n?(Nt(e),f=a.fallback,n=e.mode,o=l.child,s=o.sibling,a=tt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=tt(s,f):(f=sa(f,n,t,null),f.flags|=2),f.return=e,a.return=e,a.sibling=f,e.child=a,Pn(null,a),a=e.child,f=l.child.memoizedState,f===null?f=Kf(t):(n=f.cachePool,n!==null?(o=gl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=v0(),f={baseLanes:f.baseLanes|t,cachePool:n}),a.memoizedState=f,a.childLanes=Jf(l,c,t),e.memoizedState=Zf,Pn(l.child,a)):(Et(e),t=l.child,l=t.sibling,t=tt(t,{mode:"visible",children:a.children}),t.return=e,t.sibling=null,l!==null&&(c=e.deletions,c===null?(e.deletions=[l],e.flags|=16):c.push(l)),e.child=t,e.memoizedState=null,t)}i(fy,"updateSuspenseComponent");function Vo(l,e){return e=ic({mode:"visible",children:e},l.mode),e.return=l,l.child=e}i(Vo,"mountSuspensePrimaryChildren");function ic(l,e){return l=le(22,l,null,e),l.lanes=0,l}i(ic,"mountWorkInProgressOffscreenFiber");function wf(l,e,t){return va(e,l.child,null,t),l=Vo(e,e.pendingProps.children),l.flags|=2,e.memoizedState=null,l}i(wf,"retrySuspenseComponentWithoutHydrating");function Jm(l,e,t){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e),Mo(l.return,e,t)}i(Jm,"scheduleSuspenseWorkOnFiber");function Wf(l,e,t,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:n,treeForkCount:u}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=t,c.tailMode=n,c.treeForkCount=u)}i(Wf,"initSuspenseListRenderState");function oy(l,e,t){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=dl.current,f=(c&2)!==0;if(f?(c=c&1|2,e.flags|=128):c&=1,el(dl,c),Bl(l,e,a,t),a=L?gu:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=e.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Jm(l,t,e);else if(l.tag===19)Jm(l,t,e);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break l;for(;l.sibling===null;){if(l.return===null||l.return===e)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(t=e.child,n=null;t!==null;)l=t.alternate,l!==null&&tc(l)===null&&(n=t),t=t.sibling;t=n,t===null?(n=e.child,e.child=null):(n=t.sibling,t.sibling=null),Wf(e,!1,n,t,u,a);break;case"backwards":case"unstable_legacy-backwards":for(t=null,n=e.child,e.child=null;n!==null;){if(l=n.alternate,l!==null&&tc(l)===null){e.child=n;break}l=n.sibling,n.sibling=t,t=n,n=l}Wf(e,!0,t,null,u,a);break;case"together":Wf(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}i(oy,"updateSuspenseListComponent");function ft(l,e,t){if(l!==null&&(e.dependencies=l.dependencies),jt|=e.lanes,(t&e.childLanes)===0)if(l!==null){if(En(l,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(l!==null&&e.child!==l.child)throw Error(S(153));if(e.child!==null){for(l=e.child,t=tt(l,l.pendingProps),e.child=t,t.return=e;l.sibling!==null;)l=l.sibling,t=t.sibling=tt(l,l.pendingProps),t.return=e;t.sibling=null}return e.child}i(ft,"bailoutOnAlreadyFinishedWork");function Gs(l,e){return(l.lanes&e)!==0?!0:(l=l.dependencies,!!(l!==null&&Pi(l)))}i(Gs,"checkScheduledUpdateOrContext");function Tp(l,e,t){switch(e.tag){case 3:Ki(e,e.stateNode.containerInfo),At(e,gl,l.memoizedState.cache),ha();break;case 27:case 5:ho(e);break;case 4:Ki(e,e.stateNode.containerInfo);break;case 10:At(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Bo(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Et(e),e.flags|=128,null):(t&e.child.childLanes)!==0?fy(l,e,t):(Et(e),l=ft(l,e,t),l!==null?l.sibling:null);Et(e);break;case 19:var n=(l.flags&128)!==0;if(a=(t&e.childLanes)!==0,a||(En(l,e,t,!1),a=(t&e.childLanes)!==0),n){if(a)return oy(l,e,t);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),el(dl,dl.current),a)break;return null;case 22:return e.lanes=0,cy(l,e,t,e.pendingProps);case 24:At(e,gl,l.memoizedState.cache)}return ft(l,e,t)}i(Tp,"attemptEarlyBailoutIfNoScheduledUpdate");function sy(l,e,t){if(l!==null)if(l.memoizedProps!==e.pendingProps)bl=!0;else{if(!Gs(l,t)&&(e.flags&128)===0)return bl=!1,Tp(l,e,t);bl=(l.flags&131072)!==0}else bl=!1,L&&(e.flags&1048576)!==0&&m0(e,gu,e.index);switch(e.lanes=0,e.tag){case 16:l:{var a=e.pendingProps;if(l=ca(e.elementType),e.type=l,typeof l=="function")ps(l)?(a=ga(l,a),e.tag=1,e=Zm(null,e,l,a,t)):(e.tag=0,e=Go(null,e,l,a,t));else{if(l!=null){var n=l.$$typeof;if(n===as){e.tag=11,e=Vm(null,e,l,a,t);break l}else if(n===ns){e.tag=14,e=Qm(null,e,l,a,t);break l}}throw e=ro(l)||l,Error(S(306,e,""))}}return e;case 0:return Go(l,e,e.type,e.pendingProps,t);case 1:return a=e.type,n=ga(a,e.pendingProps),Zm(l,e,a,n,t);case 3:l:{if(Ki(e,e.stateNode.containerInfo),l===null)throw Error(S(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,Do(l,e),cu(e,a,null,t);var c=e.memoizedState;if(a=c.cache,At(e,gl,a),a!==u.cache&&Oo(e,[gl],t,!0),iu(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Km(l,e,a,t);break l}else if(a!==n){n=ve(Error(S(424)),e),bu(n),e=Km(l,e,a,t);break l}else{switch(l=e.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(nl=be(l.firstChild),xl=e,L=!0,Bt=null,pe=!0,t=b0(e,null,a,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(ha(),a===n){e=ft(l,e,t);break l}Bl(l,e,a,t)}e=e.child}return e;case 26:return Gi(l,e),l===null?(t=yh(e.type,null,e.pendingProps,null))?e.memoizedState=t:L||(t=e.type,l=e.pendingProps,a=hc(kt.current).createElement(t),a[Hl]=e,a[Fl]=l,Rl(a,t,l),Ol(a),e.stateNode=a):e.memoizedState=yh(e.type,l.memoizedProps,e.pendingProps,l.memoizedState),null;case 27:return ho(e),l===null&&L&&(a=e.stateNode=lv(e.type,e.pendingProps,kt.current),xl=e,pe=!0,n=nl,Kt(e.type)?(ls=n,nl=be(a.firstChild)):nl=n),Bl(l,e,e.pendingProps.children,t),Gi(l,e),l===null&&(e.flags|=4194304),e.child;case 5:return l===null&&L&&((n=a=nl)&&(a=Fp(a,e.type,e.pendingProps,pe),a!==null?(e.stateNode=a,xl=e,nl=be(a.firstChild),pe=!1,n=!0):n=!1),n||Xt(e)),ho(e),n=e.type,u=e.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,Fo(n,u)?a=null:c!==null&&Fo(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=_s(l,e,mp,null,null,t),Nu._currentValue=n),Gi(l,e),Bl(l,e,a,t),e.child;case 6:return l===null&&L&&((l=t=nl)&&(t=$p(t,e.pendingProps,pe),t!==null?(e.stateNode=t,xl=e,nl=null,l=!0):l=!1),l||Xt(e)),null;case 13:return fy(l,e,t);case 4:return Ki(e,e.stateNode.containerInfo),a=e.pendingProps,l===null?e.child=va(e,null,a,t):Bl(l,e,a,t),e.child;case 11:return Vm(l,e,e.type,e.pendingProps,t);case 7:return Bl(l,e,e.pendingProps,t),e.child;case 8:return Bl(l,e,e.pendingProps.children,t),e.child;case 12:return Bl(l,e,e.pendingProps.children,t),e.child;case 10:return a=e.pendingProps,At(e,e.type,a.value),Bl(l,e,a.children,t),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,ya(e),n=ql(n),a=a(n),e.flags|=1,Bl(l,e,a,t),e.child;case 14:return Qm(l,e,e.type,e.pendingProps,t);case 15:return iy(l,e,e.type,e.pendingProps,t);case 19:return oy(l,e,t);case 31:return zp(l,e,t);case 22:return cy(l,e,t,e.pendingProps);case 24:return ya(e),a=ql(gl),l===null?(n=zs(),n===null&&(n=ll,u=Ss(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=t),n=u),e.memoizedState={parent:a,cache:n},As(e),At(e,gl,n)):((l.lanes&t)!==0&&(Do(l,e),cu(e,null,null,t),iu()),n=l.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),At(e,gl,a)):(a=u.cache,At(e,gl,a),a!==n.cache&&Oo(e,[gl],t,!0))),Bl(l,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(S(156,e.tag))}i(sy,"beginWork");function Je(l){l.flags|=4}i(Je,"markUpdate");function Ff(l,e,t,a,n){if((e=(l.mode&32)!==0)&&(e=!1),e){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Hy())l.flags|=8192;else throw da=lc,Ts}else l.flags&=-16777217}i(Ff,"preloadInstanceAndSuspendIfNeeded");function wm(l,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!av(e))if(Hy())l.flags|=8192;else throw da=lc,Ts}i(wm,"preloadResourceAndSuspendIfNeeded");function Ai(l,e){e!==null&&(l.flags|=4),l.flags&16384&&(e=l.tag!==22?xh():536870912,l.lanes|=e,pn|=e)}i(Ai,"scheduleRetryEffect");function Kn(l,e){if(!L)switch(l.tailMode){case"hidden":e=l.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?l.tail=null:t.sibling=null;break;case"collapsed":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}i(Kn,"cutOffTailIfNeeded");function al(l){var e=l.alternate!==null&&l.alternate.child===l.child,t=0,a=0;if(e)for(var n=l.child;n!==null;)t|=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;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=t,e}i(al,"bubbleProperties");function Ap(l,e,t){var a=e.pendingProps;switch(bs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return al(e),null;case 1:return al(e),null;case 3:return t=e.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),at(gl),rn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(l===null||l.child===null)&&(Qa(e)?Je(e):l===null||l.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Qf())),al(e),null;case 26:var n=e.type,u=e.memoizedState;return l===null?(Je(e),u!==null?(al(e),wm(e,u)):(al(e),Ff(e,n,null,a,t))):u?u!==l.memoizedState?(Je(e),al(e),wm(e,u)):(al(e),e.flags&=-16777217):(l=l.memoizedProps,l!==a&&Je(e),al(e),Ff(e,n,l,a,t)),null;case 27:if(Ji(e),t=kt.current,n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(S(166));return al(e),null}l=qe.current,Qa(e)?Am(e,l):(l=lv(n,a,t),e.stateNode=l,Je(e))}return al(e),null;case 5:if(Ji(e),n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(S(166));return al(e),null}if(u=qe.current,Qa(e))Am(e,u);else{var c=hc(kt.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[Hl]=e,u[Fl]=a;l:for(c=e.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===e)break l;for(;c.sibling===null;){if(c.return===null||c.return===e)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=u;l:switch(Rl(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&&Je(e)}}return al(e),Ff(e,e.type,l===null?null:l.memoizedProps,e.pendingProps,t),null;case 6:if(l&&e.stateNode!=null)l.memoizedProps!==a&&Je(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(S(166));if(l=kt.current,Qa(e)){if(l=e.stateNode,t=e.memoizedProps,a=null,n=xl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Hl]=e,l=!!(l.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||Fy(l.nodeValue,t)),l||Xt(e,!0)}else l=hc(l).createTextNode(a),l[Hl]=e,e.stateNode=l}return al(e),null;case 31:if(t=e.memoizedState,l===null||l.memoizedState!==null){if(a=Qa(e),t!==null){if(l===null){if(!a)throw Error(S(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(557));l[Hl]=e}else ha(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),l=!1}else t=Qf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=t),l=!0;if(!l)return e.flags&256?(Pl(e),e):(Pl(e),null);if((e.flags&128)!==0)throw Error(S(558))}return al(e),null;case 13:if(a=e.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Qa(e),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(S(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(S(317));n[Hl]=e}else ha(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),n=!1}else n=Qf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Pl(e),e):(Pl(e),null)}return Pl(e),(e.flags&128)!==0?(e.lanes=t,e):(t=a!==null,l=l!==null&&l.memoizedState!==null,t&&(a=e.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)),t!==l&&t&&(e.child.flags|=8192),Ai(e,e.updateQueue),al(e),null);case 4:return rn(),l===null&&Ks(e.stateNode.containerInfo),al(e),null;case 10:return at(e.type),al(e),null;case 19:if(Ul(dl),a=e.memoizedState,a===null)return al(e),null;if(n=(e.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=e.child;l!==null;){if(u=tc(l),u!==null){for(e.flags|=128,Kn(a,!1),l=u.updateQueue,e.updateQueue=l,Ai(e,l),e.subtreeFlags=0,l=t,t=e.child;t!==null;)r0(t,l),t=t.sibling;return el(dl,dl.current&1|2),L&&$e(e,a.treeForkCount),e.child}l=l.sibling}a.tail!==null&&te()>fc&&(e.flags|=128,n=!0,Kn(a,!1),e.lanes=4194304)}else{if(!n)if(l=tc(u),l!==null){if(e.flags|=128,n=!0,l=l.updateQueue,e.updateQueue=l,Ai(e,l),Kn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!L)return al(e),null}else 2*te()-a.renderingStartTime>fc&&t!==536870912&&(e.flags|=128,n=!0,Kn(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(l=a.last,l!==null?l.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=te(),l.sibling=null,t=dl.current,el(dl,n?t&1|2:t&1),L&&$e(e,a.treeForkCount),l):(al(e),null);case 22:case 23:return Pl(e),Es(),a=e.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(t&536870912)!==0&&(e.flags&128)===0&&(al(e),e.subtreeFlags&6&&(e.flags|=8192)):al(e),t=e.updateQueue,t!==null&&Ai(e,t.retryQueue),t=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==t&&(e.flags|=2048),l!==null&&Ul(ra),null;case 24:return t=null,l!==null&&(t=l.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),at(gl),al(e),null;case 25:return null;case 30:return null}throw Error(S(156,e.tag))}i(Ap,"completeWork");function Ep(l,e){switch(bs(e),e.tag){case 1:return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 3:return at(gl),rn(),l=e.flags,(l&65536)!==0&&(l&128)===0?(e.flags=l&-65537|128,e):null;case 26:case 27:case 5:return Ji(e),null;case 31:if(e.memoizedState!==null){if(Pl(e),e.alternate===null)throw Error(S(340));ha()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 13:if(Pl(e),l=e.memoizedState,l!==null&&l.dehydrated!==null){if(e.alternate===null)throw Error(S(340));ha()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 19:return Ul(dl),null;case 4:return rn(),null;case 10:return at(e.type),null;case 22:case 23:return Pl(e),Es(),l!==null&&Ul(ra),l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 24:return at(gl),null;case 25:return null;default:return null}}i(Ep,"unwindWork");function ry(l,e){switch(bs(e),e.tag){case 3:at(gl),rn();break;case 26:case 27:case 5:Ji(e);break;case 4:rn();break;case 31:e.memoizedState!==null&&Pl(e);break;case 13:Pl(e);break;case 19:Ul(dl);break;case 10:at(e.type);break;case 22:case 23:Pl(e),Es(),l!==null&&Ul(ra);break;case 24:at(gl)}}i(ry,"unwindInterruptedWork");function qu(l,e){try{var t=e.updateQueue,a=t!==null?t.lastEffect:null;if(a!==null){var n=a.next;t=n;do{if((t.tag&l)===l){a=void 0;var u=t.create,c=t.inst;a=u(),c.destroy=a}t=t.next}while(t!==n)}}catch(f){W(e,e.return,f)}}i(qu,"commitHookEffectListMount");function Lt(l,e,t){try{var a=e.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=e;var o=t,s=f;try{s()}catch(y){W(n,o,y)}}}a=a.next}while(a!==u)}}catch(y){W(e,e.return,y)}}i(Lt,"commitHookEffectListUnmount");function dy(l){var e=l.updateQueue;if(e!==null){var t=l.stateNode;try{z0(e,t)}catch(a){W(l,l.return,a)}}}i(dy,"commitClassCallbacks");function my(l,e,t){t.props=ga(l.type,l.memoizedProps),t.state=l.memoizedState;try{t.componentWillUnmount()}catch(a){W(l,e,a)}}i(my,"safelyCallComponentWillUnmount");function ou(l,e){try{var t=l.ref;if(t!==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 t=="function"?l.refCleanup=t(a):t.current=a}}catch(n){W(l,e,n)}}i(ou,"safelyAttachRef");function xe(l,e){var t=l.ref,a=l.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){W(l,e,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(n){W(l,e,n)}else t.current=null}i(xe,"safelyDetachRef");function hy(l){var e=l.type,t=l.memoizedProps,a=l.stateNode;try{l:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break l;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){W(l,l.return,n)}}i(hy,"commitHostMount");function $f(l,e,t){try{var a=l.stateNode;jp(a,l.type,t,e),a[Fl]=e}catch(n){W(l,l.return,n)}}i($f,"commitHostUpdate");function yy(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Kt(l.type)||l.tag===4}i(yy,"isHostParent");function If(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||yy(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&&Kt(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(If,"getHostSibling");function Qo(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(l,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(l),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=lt));else if(a!==4&&(a===27&&Kt(l.type)&&(t=l.stateNode,e=null),l=l.child,l!==null))for(Qo(l,e,t),l=l.sibling;l!==null;)Qo(l,e,t),l=l.sibling}i(Qo,"insertOrAppendPlacementNodeIntoContainer");function cc(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?t.insertBefore(l,e):t.appendChild(l);else if(a!==4&&(a===27&&Kt(l.type)&&(t=l.stateNode),l=l.child,l!==null))for(cc(l,e,t),l=l.sibling;l!==null;)cc(l,e,t),l=l.sibling}i(cc,"insertOrAppendPlacementNode");function vy(l){var e=l.stateNode,t=l.memoizedProps;try{for(var a=l.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Rl(e,a,t),e[Hl]=l,e[Fl]=t}catch(u){W(l,l.return,u)}}i(vy,"commitHostSingletonAcquisition");var Ie=!1,pl=!1,Pf=!1,Wm=typeof WeakSet=="function"?WeakSet:Set,Ml=null;function Np(l,e){if(l=l.containerInfo,wo=gc,l=a0(l),hs(l)){if("selectionStart"in l)var t={start:l.selectionStart,end:l.selectionEnd};else l:{t=(t=l.ownerDocument)&&t.defaultView||window;var a=t.getSelection&&t.getSelection();if(a&&a.rangeCount!==0){t=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break l}var c=0,f=-1,o=-1,s=0,y=0,p=l,h=null;e:for(;;){for(var d;p!==t||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),(d=p.firstChild)!==null;)h=p,p=d;for(;;){if(p===l)break e;if(h===t&&++s===n&&(f=c),h===u&&++y===a&&(o=c),(d=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=d}t=f===-1||o===-1?null:{start:f,end:o}}else t=null}t=t||{start:0,end:0}}else t=null;for(Wo={focusedElem:l,selectionRange:t},gc=!1,Ml=e;Ml!==null;)if(e=Ml,l=e.child,(e.subtreeFlags&1028)!==0&&l!==null)l.return=e,Ml=l;else for(;Ml!==null;){switch(e=Ml,u=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(t=0;t<l.length;t++)n=l[t],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,t=e,n=u.memoizedProps,u=u.memoizedState,a=t.stateNode;try{var z=ga(t.type,n);l=a.getSnapshotBeforeUpdate(z,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(A){W(t,t.return,A)}}break;case 3:if((l&1024)!==0){if(l=e.stateNode.containerInfo,t=l.nodeType,t===9)$o(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":$o(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(S(163))}if(l=e.sibling,l!==null){l.return=e.return,Ml=l;break}Ml=e.return}}i(Np,"commitBeforeMutationEffects");function py(l,e,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:We(l,t),a&4&&qu(5,t);break;case 1:if(We(l,t),a&4)if(l=t.stateNode,e===null)try{l.componentDidMount()}catch(c){W(t,t.return,c)}else{var n=ga(t.type,e.memoizedProps);e=e.memoizedState;try{l.componentDidUpdate(n,e,l.__reactInternalSnapshotBeforeUpdate)}catch(c){W(t,t.return,c)}}a&64&&dy(t),a&512&&ou(t,t.return);break;case 3:if(We(l,t),a&64&&(l=t.updateQueue,l!==null)){if(e=null,t.child!==null)switch(t.child.tag){case 27:case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}try{z0(l,e)}catch(c){W(t,t.return,c)}}break;case 27:e===null&&a&4&&vy(t);case 26:case 5:We(l,t),e===null&&a&4&&hy(t),a&512&&ou(t,t.return);break;case 12:We(l,t);break;case 31:We(l,t),a&4&&Sy(l,t);break;case 13:We(l,t),a&4&&zy(l,t),a&64&&(l=t.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(t=Hp.bind(null,t),Ip(l,t))));break;case 22:if(a=t.memoizedState!==null||Ie,!a){e=e!==null&&e.memoizedState!==null||pl,n=Ie;var u=pl;Ie=a,(pl=e)&&!u?Fe(l,t,(t.subtreeFlags&8772)!==0):We(l,t),Ie=n,pl=u}break;case 30:break;default:We(l,t)}}i(py,"commitLayoutEffectOnFiber");function gy(l){var e=l.alternate;e!==null&&(l.alternate=null,gy(e)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(e=l.stateNode,e!==null&&fs(e)),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(gy,"detachFiberAfterEffects");var fl=null,Jl=!1;function we(l,e,t){for(t=t.child;t!==null;)by(l,e,t),t=t.sibling}i(we,"recursivelyTraverseDeletionEffects");function by(l,e,t){if(ae&&typeof ae.onCommitFiberUnmount=="function")try{ae.onCommitFiberUnmount(Uu,t)}catch{}switch(t.tag){case 26:pl||xe(t,e),we(l,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:pl||xe(t,e);var a=fl,n=Jl;Kt(t.type)&&(fl=t.stateNode,Jl=!1),we(l,e,t),mu(t.stateNode),fl=a,Jl=n;break;case 5:pl||xe(t,e);case 6:if(a=fl,n=Jl,fl=null,we(l,e,t),fl=a,Jl=n,fl!==null)if(Jl)try{(fl.nodeType===9?fl.body:fl.nodeName==="HTML"?fl.ownerDocument.body:fl).removeChild(t.stateNode)}catch(u){W(t,e,u)}else try{fl.removeChild(t.stateNode)}catch(u){W(t,e,u)}break;case 18:fl!==null&&(Jl?(l=fl,sh(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.stateNode),zn(l)):sh(fl,t.stateNode));break;case 4:a=fl,n=Jl,fl=t.stateNode.containerInfo,Jl=!0,we(l,e,t),fl=a,Jl=n;break;case 0:case 11:case 14:case 15:Lt(2,t,e),pl||Lt(4,t,e),we(l,e,t);break;case 1:pl||(xe(t,e),a=t.stateNode,typeof a.componentWillUnmount=="function"&&my(t,e,a)),we(l,e,t);break;case 21:we(l,e,t);break;case 22:pl=(a=pl)||t.memoizedState!==null,we(l,e,t),pl=a;break;default:we(l,e,t)}}i(by,"commitDeletionEffectsOnFiber");function Sy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{zn(l)}catch(t){W(e,e.return,t)}}}i(Sy,"commitActivityHydrationCallbacks");function zy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{zn(l)}catch(t){W(e,e.return,t)}}i(zy,"commitSuspenseHydrationCallbacks");function _p(l){switch(l.tag){case 31:case 13:case 19:var e=l.stateNode;return e===null&&(e=l.stateNode=new Wm),e;case 22:return l=l.stateNode,e=l._retryCache,e===null&&(e=l._retryCache=new Wm),e;default:throw Error(S(435,l.tag))}}i(_p,"getRetryCache");function Ei(l,e){var t=_p(l);e.forEach(function(a){if(!t.has(a)){t.add(a);var n=xp.bind(null,l,a);a.then(n,n)}})}i(Ei,"attachSuspenseRetryListeners");function Zl(l,e){var t=e.deletions;if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],u=l,c=e,f=c;l:for(;f!==null;){switch(f.tag){case 27:if(Kt(f.type)){fl=f.stateNode,Jl=!1;break l}break;case 5:fl=f.stateNode,Jl=!1;break l;case 3:case 4:fl=f.stateNode.containerInfo,Jl=!0;break l}f=f.return}if(fl===null)throw Error(S(160));by(u,c,n),fl=null,Jl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Ty(e,l),e=e.sibling}i(Zl,"recursivelyTraverseMutationEffects");var Ee=null;function Ty(l,e){var t=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Zl(e,l),Kl(l),a&4&&(Lt(3,l,l.return),qu(3,l),Lt(5,l,l.return));break;case 1:Zl(e,l),Kl(l),a&512&&(pl||t===null||xe(t,t.return)),a&64&&Ie&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(t=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=t===null?a:t.concat(a))));break;case 26:var n=Ee;if(Zl(e,l),Kl(l),a&512&&(pl||t===null||xe(t,t.return)),a&4){var u=t!==null?t.memoizedState:null;if(a=l.memoizedState,t===null)if(a===null)if(l.stateNode===null){l:{a=l.type,t=l.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[ku]||u[Hl]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Rl(u,a,t),u[Hl]=l,Ol(u),a=u;break l;case"link":var c=ph("link","href",n).get(a+(t.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&u.getAttribute("rel")===(t.rel==null?null:t.rel)&&u.getAttribute("title")===(t.title==null?null:t.title)&&u.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(f,1);break e}}u=n.createElement(a),Rl(u,a,t),n.head.appendChild(u);break;case"meta":if(c=ph("meta","content",n).get(a+(t.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(t.content==null?null:""+t.content)&&u.getAttribute("name")===(t.name==null?null:t.name)&&u.getAttribute("property")===(t.property==null?null:t.property)&&u.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&u.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(f,1);break e}}u=n.createElement(a),Rl(u,a,t),n.head.appendChild(u);break;default:throw Error(S(468,a))}u[Hl]=l,Ol(u),a=u}l.stateNode=a}else gh(n,l.type,l.stateNode);else l.stateNode=vh(n,a,l.memoizedProps);else u!==a?(u===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):u.count--,a===null?gh(n,l.type,l.stateNode):vh(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&$f(l,l.memoizedProps,t.memoizedProps)}break;case 27:Zl(e,l),Kl(l),a&512&&(pl||t===null||xe(t,t.return)),t!==null&&a&4&&$f(l,l.memoizedProps,t.memoizedProps);break;case 5:if(Zl(e,l),Kl(l),a&512&&(pl||t===null||xe(t,t.return)),l.flags&32){n=l.stateNode;try{mn(n,"")}catch(z){W(l,l.return,z)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,$f(l,n,t!==null?t.memoizedProps:n)),a&1024&&(Pf=!0);break;case 6:if(Zl(e,l),Kl(l),a&4){if(l.stateNode===null)throw Error(S(162));a=l.memoizedProps,t=l.stateNode;try{t.nodeValue=a}catch(z){W(l,l.return,z)}}break;case 3:if(Xi=null,n=Ee,Ee=yc(e.containerInfo),Zl(e,l),Ee=n,Kl(l),a&4&&t!==null&&t.memoizedState.isDehydrated)try{zn(e.containerInfo)}catch(z){W(l,l.return,z)}Pf&&(Pf=!1,Ay(l));break;case 4:a=Ee,Ee=yc(l.stateNode.containerInfo),Zl(e,l),Kl(l),Ee=a;break;case 12:Zl(e,l),Kl(l);break;case 31:Zl(e,l),Kl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ei(l,a)));break;case 13:Zl(e,l),Kl(l),l.child.flags&8192&&l.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(Cc=te()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ei(l,a)));break;case 22:n=l.memoizedState!==null;var o=t!==null&&t.memoizedState!==null,s=Ie,y=pl;if(Ie=s||n,pl=y||o,Zl(e,l),pl=y,Ie=s,Kl(l),a&8192)l:for(e=l.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(t===null||o||Ie||pl||fa(l)),t=null,e=l;;){if(e.tag===5||e.tag===26){if(t===null){o=t=e;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(z){W(o,o.return,z)}}}else if(e.tag===6){if(t===null){o=e;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(z){W(o,o.return,z)}}}else if(e.tag===18){if(t===null){o=e;try{var d=o.stateNode;n?rh(d,!0):rh(o.stateNode,!1)}catch(z){W(o,o.return,z)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===l)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break l;for(;e.sibling===null;){if(e.return===null||e.return===l)break l;t===e&&(t=null),e=e.return}t===e&&(t=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=l.updateQueue,a!==null&&(t=a.retryQueue,t!==null&&(a.retryQueue=null,Ei(l,t))));break;case 19:Zl(e,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(e,l),Kl(l)}}i(Ty,"commitMutationEffectsOnFiber");function Kl(l){var e=l.flags;if(e&2){try{for(var t,a=l.return;a!==null;){if(yy(a)){t=a;break}a=a.return}if(t==null)throw Error(S(160));switch(t.tag){case 27:var n=t.stateNode,u=If(l);cc(l,u,n);break;case 5:var c=t.stateNode;t.flags&32&&(mn(c,""),t.flags&=-33);var f=If(l);cc(l,f,c);break;case 3:case 4:var o=t.stateNode.containerInfo,s=If(l);Qo(l,s,o);break;default:throw Error(S(161))}}catch(y){W(l,l.return,y)}l.flags&=-3}e&4096&&(l.flags&=-4097)}i(Kl,"commitReconciliationEffects");function Ay(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var e=l;Ay(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),l=l.sibling}}i(Ay,"recursivelyResetForms");function We(l,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)py(l,e.alternate,e),e=e.sibling}i(We,"recursivelyTraverseLayoutEffects");function fa(l){for(l=l.child;l!==null;){var e=l;switch(e.tag){case 0:case 11:case 14:case 15:Lt(4,e,e.return),fa(e);break;case 1:xe(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&my(e,e.return,t),fa(e);break;case 27:mu(e.stateNode);case 26:case 5:xe(e,e.return),fa(e);break;case 22:e.memoizedState===null&&fa(e);break;case 30:fa(e);break;default:fa(e)}l=l.sibling}}i(fa,"recursivelyTraverseDisappearLayoutEffects");function Fe(l,e,t){for(t=t&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=l,u=e,c=u.flags;switch(u.tag){case 0:case 11:case 15:Fe(n,u,t),qu(4,u);break;case 1:if(Fe(n,u,t),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++)S0(o[n],f)}catch(s){W(a,a.return,s)}}t&&c&64&&dy(u),ou(u,u.return);break;case 27:vy(u);case 26:case 5:Fe(n,u,t),t&&a===null&&c&4&&hy(u),ou(u,u.return);break;case 12:Fe(n,u,t);break;case 31:Fe(n,u,t),t&&c&4&&Sy(n,u);break;case 13:Fe(n,u,t),t&&c&4&&zy(n,u);break;case 22:u.memoizedState===null&&Fe(n,u,t),ou(u,u.return);break;case 30:break;default:Fe(n,u,t)}e=e.sibling}}i(Fe,"recursivelyTraverseReappearLayoutEffects");function Vs(l,e){var t=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==t&&(l!=null&&l.refCount++,t!=null&&Hu(t))}i(Vs,"commitOffscreenPassiveMountEffects");function Qs(l,e){l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Hu(l))}i(Qs,"commitCachePassiveMountEffect");function Ae(l,e,t,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ey(l,e,t,a),e=e.sibling}i(Ae,"recursivelyTraversePassiveMountEffects");function Ey(l,e,t,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Ae(l,e,t,a),n&2048&&qu(9,e);break;case 1:Ae(l,e,t,a);break;case 3:Ae(l,e,t,a),n&2048&&(l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Hu(l)));break;case 12:if(n&2048){Ae(l,e,t,a),l=e.stateNode;try{var u=e.memoizedProps,c=u.id,f=u.onPostCommit;typeof f=="function"&&f(c,e.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){W(e,e.return,o)}}else Ae(l,e,t,a);break;case 31:Ae(l,e,t,a);break;case 13:Ae(l,e,t,a);break;case 23:break;case 22:u=e.stateNode,c=e.alternate,e.memoizedState!==null?u._visibility&2?Ae(l,e,t,a):su(l,e):u._visibility&2?Ae(l,e,t,a):(u._visibility|=2,La(l,e,t,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Vs(c,e);break;case 24:Ae(l,e,t,a),n&2048&&Qs(e.alternate,e);break;default:Ae(l,e,t,a)}}i(Ey,"commitPassiveMountOnFiber");function La(l,e,t,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=l,c=e,f=t,o=a,s=c.flags;switch(c.tag){case 0:case 11:case 15:La(u,c,f,o,n),qu(8,c);break;case 23:break;case 22:var y=c.stateNode;c.memoizedState!==null?y._visibility&2?La(u,c,f,o,n):su(u,c):(y._visibility|=2,La(u,c,f,o,n)),n&&s&2048&&Vs(c.alternate,c);break;case 24:La(u,c,f,o,n),n&&s&2048&&Qs(c.alternate,c);break;default:La(u,c,f,o,n)}e=e.sibling}}i(La,"recursivelyTraverseReconnectPassiveEffects");function su(l,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=l,a=e,n=a.flags;switch(a.tag){case 22:su(t,a),n&2048&&Vs(a.alternate,a);break;case 24:su(t,a),n&2048&&Qs(a.alternate,a);break;default:su(t,a)}e=e.sibling}}i(su,"recursivelyTraverseAtomicPassiveEffects");var lu=8192;function Xa(l,e,t){if(l.subtreeFlags&lu)for(l=l.child;l!==null;)Ny(l,e,t),l=l.sibling}i(Xa,"recursivelyAccumulateSuspenseyCommit");function Ny(l,e,t){switch(l.tag){case 26:Xa(l,e,t),l.flags&lu&&l.memoizedState!==null&&sg(t,Ee,l.memoizedState,l.memoizedProps);break;case 5:Xa(l,e,t);break;case 3:case 4:var a=Ee;Ee=yc(l.stateNode.containerInfo),Xa(l,e,t),Ee=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=lu,lu=16777216,Xa(l,e,t),lu=a):Xa(l,e,t));break;default:Xa(l,e,t)}}i(Ny,"accumulateSuspenseyCommitOnFiber");function _y(l){var e=l.alternate;if(e!==null&&(l=e.child,l!==null)){e.child=null;do e=l.sibling,l.sibling=null,l=e;while(l!==null)}}i(_y,"detachAlternateSiblings");function Jn(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ml=a,Oy(a,l)}_y(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)My(l),l=l.sibling}i(Jn,"recursivelyTraversePassiveUnmountEffects");function My(l){switch(l.tag){case 0:case 11:case 15:Jn(l),l.flags&2048&&Lt(9,l,l.return);break;case 3:Jn(l);break;case 12:Jn(l);break;case 22:var e=l.stateNode;l.memoizedState!==null&&e._visibility&2&&(l.return===null||l.return.tag!==13)?(e._visibility&=-3,Vi(l)):Jn(l);break;default:Jn(l)}}i(My,"commitPassiveUnmountOnFiber");function Vi(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ml=a,Oy(a,l)}_y(l)}for(l=l.child;l!==null;){switch(e=l,e.tag){case 0:case 11:case 15:Lt(8,e,e.return),Vi(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,Vi(e));break;default:Vi(e)}l=l.sibling}}i(Vi,"recursivelyTraverseDisconnectPassiveEffects");function Oy(l,e){for(;Ml!==null;){var t=Ml;switch(t.tag){case 0:case 11:case 15:Lt(8,t,e);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var a=t.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Hu(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,Ml=a;else l:for(t=l;Ml!==null;){a=Ml;var n=a.sibling,u=a.return;if(gy(a),a===t){Ml=null;break l}if(n!==null){n.return=u,Ml=n;break l}Ml=u}}}i(Oy,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var Mp={getCacheForType:i(function(l){var e=ql(gl),t=e.data.get(l);return t===void 0&&(t=l(),e.data.set(l,t)),t},"getCacheForType"),cacheSignal:i(function(){return ql(gl).controller.signal},"cacheSignal")},Op=typeof WeakMap=="function"?WeakMap:Map,j=0,ll=null,G=null,Q=0,w=0,Il=null,Ut=!1,_n=!1,Xs=!1,ot=0,rl=0,jt=0,ma=0,Ls=0,ee=0,pn=0,ru=null,wl=null,Xo=!1,Cc=0,Uy=0,fc=1/0,oc=null,qt=null,Al=0,Rt=null,gn=null,nt=0,Lo=0,jo=null,Dy=null,du=0,Zo=null;function ue(){return(j&2)!==0&&Q!==0?Q&-Q:B.T!==null?Zs():Gh()}i(ue,"requestUpdateLane");function Cy(){if(ee===0)if((Q&536870912)===0||L){var l=hi;hi<<=1,(hi&3932160)===0&&(hi=262144),ee=l}else ee=536870912;return l=ce.current,l!==null&&(l.flags|=32),ee}i(Cy,"requestDeferredLane");function Wl(l,e,t){(l===ll&&(w===2||w===9)||l.cancelPendingCommit!==null)&&(bn(l,0),Dt(l,Q,ee,!1)),Cu(l,t),((j&2)===0||l!==ll)&&(l===ll&&((j&2)===0&&(ma|=t),rl===4&&Dt(l,Q,ee,!1)),Ye(l))}i(Wl,"scheduleUpdateOnFiber");function ky(l,e,t){if((j&6)!==0)throw Error(S(327));var a=!t&&(e&127)===0&&(e&l.expiredLanes)===0||Du(l,e),n=a?Cp(l,e):lo(l,e,!0),u=a;do{if(n===0){_n&&!a&&Dt(l,e,0,!1);break}else{if(t=l.current.alternate,u&&!Up(t)){n=lo(l,e,!1),u=!1;continue}if(n===2){if(u=e,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;l:{var f=l;n=ru;var o=f.current.memoizedState.isDehydrated;if(o&&(bn(f,c).flags|=256),c=lo(f,c,!1),c!==2){if(Xs&&!o){f.errorRecoveryDisabledLanes|=u,ma|=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){bn(l,0),Dt(l,e,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(S(345));case 4:if((e&4194048)!==e)break;case 6:Dt(a,e,ee,!Ut);break l;case 2:wl=null;break;case 3:case 5:break;default:throw Error(S(329))}if((e&62914560)===e&&(n=Cc+300-te(),10<n)){if(Dt(a,e,ee,!Ut),Sc(a,0,!0)!==0)break l;nt=e,a.timeoutHandle=Iy(Fm.bind(null,a,t,wl,oc,Xo,e,ee,ma,pn,Ut,u,"Throttled",-0,0),n);break l}Fm(a,t,wl,oc,Xo,e,ee,ma,pn,Ut,u,null,-0,0)}}break}while(!0);Ye(l)}i(ky,"performWorkOnRoot");function Fm(l,e,t,a,n,u,c,f,o,s,y,p,h,d){if(l.timeoutHandle=-1,p=e.subtreeFlags,p&8192||(p&16785408)===16785408){p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:lt},Ny(e,u,p);var z=(u&62914560)===u?Cc-te():(u&4194048)===u?Uy-te():0;if(z=rg(p,z),z!==null){nt=u,l.cancelPendingCommit=z(Im.bind(null,l,e,u,t,a,n,c,f,o,y,p,null,h,d)),Dt(l,u,c,!s);return}}Im(l,e,u,t,a,n,c,f,o)}i(Fm,"commitRootWhenReady");function Up(l){for(var e=l;;){var t=e.tag;if((t===0||t===11||t===15)&&e.flags&16384&&(t=e.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var a=0;a<t.length;a++){var n=t[a],u=n.getSnapshot;n=n.value;try{if(!ie(u(),n))return!1}catch{return!1}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}i(Up,"isRenderConsistentWithExternalStores");function Dt(l,e,t,a){e&=~Ls,e&=~ma,l.suspendedLanes|=e,l.pingedLanes&=~e,a&&(l.warmLanes|=e),a=l.expirationTimes;for(var n=e;0<n;){var u=31-ne(n),c=1<<u;a[u]=-1,n&=~c}t!==0&&qh(l,t,e)}i(Dt,"markRootSuspended");function kc(){return(j&6)===0?(Ru(0,!1),!1):!0}i(kc,"flushSyncWork$1");function js(){if(G!==null){if(w===0)var l=G.return;else l=G,et=Aa=null,Us(l),fn=null,Su=0,l=G;for(;l!==null;)ry(l.alternate,l),l=l.return;G=null}}i(js,"resetWorkInProgressStack");function bn(l,e){var t=l.timeoutHandle;t!==-1&&(l.timeoutHandle=-1,Jp(t)),t=l.cancelPendingCommit,t!==null&&(l.cancelPendingCommit=null,t()),nt=0,js(),ll=l,G=t=tt(l.current,null),Q=e,w=0,Il=null,Ut=!1,_n=Du(l,e),Xs=!1,pn=ee=Ls=ma=jt=rl=0,wl=ru=null,Xo=!1,(e&8)!==0&&(e|=e&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=e;0<a;){var n=31-ne(a),u=1<<n;e|=l[n],a&=~u}return ot=e,Ec(),t}i(bn,"prepareFreshStack");function By(l,e){q=null,B.H=Tu,e===Nn||e===_c?(e=Om(),w=3):e===Ts?(e=Om(),w=4):w=e===Ys?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Il=e,G===null&&(rl=1,uc(l,ve(e,l.current)))}i(By,"handleThrow");function Hy(){var l=ce.current;return l===null?!0:(Q&4194048)===Q?ge===null:(Q&62914560)===Q||(Q&536870912)!==0?l===ge:!1}i(Hy,"shouldRemainOnPreviousScreen");function xy(){var l=B.H;return B.H=Tu,l===null?Tu:l}i(xy,"pushDispatcher");function qy(){var l=B.A;return B.A=Mp,l}i(qy,"pushAsyncDispatcher");function sc(){rl=4,Ut||(Q&4194048)!==Q&&ce.current!==null||(_n=!0),(jt&134217727)===0&&(ma&134217727)===0||ll===null||Dt(ll,Q,ee,!1)}i(sc,"renderDidSuspendDelayIfPossible");function lo(l,e,t){var a=j;j|=2;var n=xy(),u=qy();(ll!==l||Q!==e)&&(oc=null,bn(l,e)),e=!1;var c=rl;l:do try{if(w!==0&&G!==null){var f=G,o=Il;switch(w){case 8:js(),c=6;break l;case 3:case 2:case 9:case 6:ce.current===null&&(e=!0);var s=w;if(w=0,Il=null,tn(l,f,o,s),t&&_n){c=0;break l}break;default:s=w,w=0,Il=null,tn(l,f,o,s)}}Dp(),c=rl;break}catch(y){By(l,y)}while(!0);return e&&l.shellSuspendCounter++,et=Aa=null,j=a,B.H=n,B.A=u,G===null&&(ll=null,Q=0,Ec()),c}i(lo,"renderRootSync");function Dp(){for(;G!==null;)Ry(G)}i(Dp,"workLoopSync");function Cp(l,e){var t=j;j|=2;var a=xy(),n=qy();ll!==l||Q!==e?(oc=null,fc=te()+500,bn(l,e)):_n=Du(l,e);l:do try{if(w!==0&&G!==null){e=G;var u=Il;e:switch(w){case 1:w=0,Il=null,tn(l,e,u,1);break;case 2:case 9:if(Mm(u)){w=0,Il=null,$m(e);break}e=i(function(){w!==2&&w!==9||ll!==l||(w=7),Ye(l)},"lanes"),u.then(e,e);break l;case 3:w=7;break l;case 4:w=5;break l;case 7:Mm(u)?(w=0,Il=null,$m(e)):(w=0,Il=null,tn(l,e,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?av(c):f.stateNode.complete){w=0,Il=null;var o=f.sibling;if(o!==null)G=o;else{var s=f.return;s!==null?(G=s,Bc(s)):G=null}break e}}w=0,Il=null,tn(l,e,u,5);break;case 6:w=0,Il=null,tn(l,e,u,6);break;case 8:js(),rl=6;break l;default:throw Error(S(462))}}kp();break}catch(y){By(l,y)}while(!0);return et=Aa=null,B.H=a,B.A=n,j=t,G!==null?0:(ll=null,Q=0,Ec(),rl)}i(Cp,"renderRootConcurrent");function kp(){for(;G!==null&&!e1();)Ry(G)}i(kp,"workLoopConcurrentByScheduler");function Ry(l){var e=sy(l.alternate,l,ot);l.memoizedProps=l.pendingProps,e===null?Bc(l):G=e}i(Ry,"performUnitOfWork");function $m(l){var e=l,t=e.alternate;switch(e.tag){case 15:case 0:e=jm(t,e,e.pendingProps,e.type,void 0,Q);break;case 11:e=jm(t,e,e.pendingProps,e.type.render,e.ref,Q);break;case 5:Us(e);default:ry(t,e),e=G=r0(e,ot),e=sy(t,e,ot)}l.memoizedProps=l.pendingProps,e===null?Bc(l):G=e}i($m,"replaySuspendedUnitOfWork");function tn(l,e,t,a){et=Aa=null,Us(e),fn=null,Su=0;var n=e.return;try{if(Sp(l,n,e,t,Q)){rl=1,uc(l,ve(t,l.current)),G=null;return}}catch(u){if(n!==null)throw G=n,u;rl=1,uc(l,ve(t,l.current)),G=null;return}e.flags&32768?(L||a===1?l=!0:_n||(Q&536870912)!==0?l=!1:(Ut=l=!0,(a===2||a===9||a===3||a===6)&&(a=ce.current,a!==null&&a.tag===13&&(a.flags|=16384))),Yy(e,l)):Bc(e)}i(tn,"throwAndUnwindWorkLoop");function Bc(l){var e=l;do{if((e.flags&32768)!==0){Yy(e,Ut);return}l=e.return;var t=Ap(e.alternate,e,ot);if(t!==null){G=t;return}if(e=e.sibling,e!==null){G=e;return}G=e=l}while(e!==null);rl===0&&(rl=5)}i(Bc,"completeUnitOfWork");function Yy(l,e){do{var t=Ep(l.alternate,l);if(t!==null){t.flags&=32767,G=t;return}if(t=l.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!e&&(l=l.sibling,l!==null)){G=l;return}G=l=t}while(l!==null);rl=6,G=null}i(Yy,"unwindUnitOfWork");function Im(l,e,t,a,n,u,c,f,o){l.cancelPendingCommit=null;do Hc();while(Al!==0);if((j&6)!==0)throw Error(S(327));if(e!==null){if(e===l.current)throw Error(S(177));if(u=e.lanes|e.childLanes,u|=ys,r1(l,t,u,c,f,o),l===ll&&(G=ll=null,Q=0),gn=e,Rt=l,nt=t,Lo=u,jo=n,Dy=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,qp(wi,function(){return Ly(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,n=Z.p,Z.p=2,c=j,j|=4;try{Np(l,e,t)}finally{j=c,Z.p=n,B.T=a}}Al=1,Gy(),Vy(),Qy()}}i(Im,"commitRoot");function Gy(){if(Al===1){Al=0;var l=Rt,e=gn,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=B.T,B.T=null;var a=Z.p;Z.p=2;var n=j;j|=4;try{Ty(e,l);var u=Wo,c=a0(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&t0(f.ownerDocument.documentElement,f)){if(o!==null&&hs(f)){var s=o.start,y=o.end;if(y===void 0&&(y=s),"selectionStart"in f)f.selectionStart=s,f.selectionEnd=Math.min(y,f.value.length);else{var p=f.ownerDocument||document,h=p&&p.defaultView||window;if(h.getSelection){var d=h.getSelection(),z=f.textContent.length,A=Math.min(o.start,z),U=o.end===void 0?A:Math.min(o.end,z);!d.extend&&A>U&&(c=U,U=A,A=c);var m=Sm(f,A),r=Sm(f,U);if(m&&r&&(d.rangeCount!==1||d.anchorNode!==m.node||d.anchorOffset!==m.offset||d.focusNode!==r.node||d.focusOffset!==r.offset)){var v=p.createRange();v.setStart(m.node,m.offset),d.removeAllRanges(),A>U?(d.addRange(v),d.extend(r.node,r.offset)):(v.setEnd(r.node,r.offset),d.addRange(v))}}}}for(p=[],d=f;d=d.parentNode;)d.nodeType===1&&p.push({element:d,left:d.scrollLeft,top:d.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=!!wo,Wo=wo=null}finally{j=n,Z.p=a,B.T=t}}l.current=e,Al=2}}i(Gy,"flushMutationEffects");function Vy(){if(Al===2){Al=0;var l=Rt,e=gn,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=B.T,B.T=null;var a=Z.p;Z.p=2;var n=j;j|=4;try{py(l,e.alternate,e)}finally{j=n,Z.p=a,B.T=t}}Al=3}}i(Vy,"flushLayoutEffects");function Qy(){if(Al===4||Al===3){Al=0,t1();var l=Rt,e=gn,t=nt,a=Dy;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Al=5:(Al=0,gn=Rt=null,Xy(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(qt=null),cs(t),e=e.stateNode,ae&&typeof ae.onCommitFiberRoot=="function")try{ae.onCommitFiberRoot(Uu,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=B.T,n=Z.p,Z.p=2,B.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{B.T=e,Z.p=n}}(nt&3)!==0&&Hc(),Ye(l),n=l.pendingLanes,(t&261930)!==0&&(n&42)!==0?l===Zo?du++:(du=0,Zo=l):du=0,Ru(0,!1)}}i(Qy,"flushSpawnedWork");function Xy(l,e){(l.pooledCacheLanes&=e)===0&&(e=l.pooledCache,e!=null&&(l.pooledCache=null,Hu(e)))}i(Xy,"releaseRootPooledCache");function Hc(){return Gy(),Vy(),Qy(),Ly()}i(Hc,"flushPendingEffects");function Ly(){if(Al!==5)return!1;var l=Rt,e=Lo;Lo=0;var t=cs(nt),a=B.T,n=Z.p;try{Z.p=32>t?32:t,B.T=null,t=jo,jo=null;var u=Rt,c=nt;if(Al=0,gn=Rt=null,nt=0,(j&6)!==0)throw Error(S(331));var f=j;if(j|=4,My(u.current),Ey(u,u.current,c,t),j=f,Ru(0,!1),ae&&typeof ae.onPostCommitFiberRoot=="function")try{ae.onPostCommitFiberRoot(Uu,u)}catch{}return!0}finally{Z.p=n,B.T=a,Xy(l,e)}}i(Ly,"flushPassiveEffects");function Pm(l,e,t){e=ve(t,e),e=Yo(l.stateNode,e,2),l=xt(l,e,2),l!==null&&(Cu(l,2),Ye(l))}i(Pm,"captureCommitPhaseErrorOnRoot");function W(l,e,t){if(l.tag===3)Pm(l,l,t);else for(;e!==null;){if(e.tag===3){Pm(e,l,t);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(qt===null||!qt.has(a))){l=ve(t,l),t=ny(2),a=xt(e,t,2),a!==null&&(uy(t,a,e,l),Cu(a,2),Ye(a));break}}e=e.return}}i(W,"captureCommitPhaseError");function eo(l,e,t){var a=l.pingCache;if(a===null){a=l.pingCache=new Op;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(t)||(Xs=!0,n.add(t),l=Bp.bind(null,l,e,t),e.then(l,l))}i(eo,"attachPingListener");function Bp(l,e,t){var a=l.pingCache;a!==null&&a.delete(e),l.pingedLanes|=l.suspendedLanes&t,l.warmLanes&=~t,ll===l&&(Q&t)===t&&(rl===4||rl===3&&(Q&62914560)===Q&&300>te()-Cc?(j&2)===0&&bn(l,0):Ls|=t,pn===Q&&(pn=0)),Ye(l)}i(Bp,"pingSuspendedRoot");function jy(l,e){e===0&&(e=xh()),l=Ta(l,e),l!==null&&(Cu(l,e),Ye(l))}i(jy,"retryTimedOutBoundary");function Hp(l){var e=l.memoizedState,t=0;e!==null&&(t=e.retryLane),jy(l,t)}i(Hp,"retryDehydratedSuspenseBoundary");function xp(l,e){var t=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(t=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(S(314))}a!==null&&a.delete(e),jy(l,t)}i(xp,"resolveRetryWakeable");function qp(l,e){return us(l,e)}i(qp,"scheduleCallback$1");var rc=null,ja=null,Ko=!1,dc=!1,to=!1,Ct=0;function Ye(l){l!==ja&&l.next===null&&(ja===null?rc=ja=l:ja=ja.next=l),dc=!0,Ko||(Ko=!0,Yp())}i(Ye,"ensureRootIsScheduled");function Ru(l,e){if(!to&&dc){to=!0;do for(var t=!1,a=rc;a!==null;){if(!e)if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-ne(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(t=!0,lh(a,u))}else u=Q,u=Sc(a,a===ll?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Du(a,u)||(t=!0,lh(a,u));a=a.next}while(t);to=!1}}i(Ru,"flushSyncWorkAcrossRoots_impl");function Rp(){Zy()}i(Rp,"processRootScheduleInImmediateTask");function Zy(){dc=Ko=!1;var l=0;Ct!==0&&Kp()&&(l=Ct);for(var e=te(),t=null,a=rc;a!==null;){var n=a.next,u=Ky(a,e);u===0?(a.next=null,t===null?rc=n:t.next=n,n===null&&(ja=t)):(t=a,(l!==0||(u&3)!==0)&&(dc=!0)),a=n}Al!==0&&Al!==5||Ru(l,!1),Ct!==0&&(Ct=0)}i(Zy,"processRootScheduleInMicrotask");function Ky(l,e){for(var t=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-ne(u),f=1<<c,o=n[c];o===-1?((f&t)===0||(f&a)!==0)&&(n[c]=s1(f,e)):o<=e&&(l.expiredLanes|=f),u&=~f}if(e=ll,t=Q,t=Sc(l,l===e?t:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,t===0||l===e&&(w===2||w===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Cf(a),l.callbackNode=null,l.callbackPriority=0;if((t&3)===0||Du(l,t)){if(e=t&-t,e===l.callbackPriority)return e;switch(a!==null&&Cf(a),cs(t)){case 2:case 8:t=Bh;break;case 32:t=wi;break;case 268435456:t=Hh;break;default:t=wi}return a=Jy.bind(null,l),t=us(t,a),l.callbackPriority=e,l.callbackNode=t,e}return a!==null&&a!==null&&Cf(a),l.callbackPriority=2,l.callbackNode=null,2}i(Ky,"scheduleTaskForRootDuringMicrotask");function Jy(l,e){if(Al!==0&&Al!==5)return l.callbackNode=null,l.callbackPriority=0,null;var t=l.callbackNode;if(Hc()&&l.callbackNode!==t)return null;var a=Q;return a=Sc(l,l===ll?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(ky(l,a,e),Ky(l,te()),l.callbackNode!=null&&l.callbackNode===t?Jy.bind(null,l):null)}i(Jy,"performWorkOnRootViaSchedulerTask");function lh(l,e){if(Hc())return null;ky(l,e,!0)}i(lh,"performSyncWorkOnRoot");function Yp(){wp(function(){(j&6)!==0?us(kh,Rp):Zy()})}i(Yp,"scheduleImmediateRootScheduleTask");function Zs(){if(Ct===0){var l=hn;l===0&&(l=mi,mi<<=1,(mi&261888)===0&&(mi=256)),Ct=l}return Ct}i(Zs,"requestTransitionLane");function eh(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Ci(""+l)}i(eh,"coerceFormActionProp");function th(l,e){var t=e.ownerDocument.createElement("input");return t.name=e.name,t.value=e.value,l.id&&t.setAttribute("form",l.id),e.parentNode.insertBefore(t,e),l=new FormData(l),t.parentNode.removeChild(t),l}i(th,"createFormDataWithSubmitter");function Gp(l,e,t,a,n){if(e==="submit"&&t&&t.stateNode===n){var u=eh((n[Fl]||null).action),c=a.submitter;c&&(e=(e=c[Fl]||null)?eh(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,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(Ct!==0){var o=c?th(n,c):new FormData(n);qo(t,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?th(n,c):new FormData(n),qo(t,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(Gp,"extractEvents$1");for(Ni=0;Ni<Eo.length;Ni++)_i=Eo[Ni],ah=_i.toLowerCase(),nh=_i[0].toUpperCase()+_i.slice(1),Ne(ah,"on"+nh);var _i,ah,nh,Ni;Ne(u0,"onAnimationEnd");Ne(i0,"onAnimationIteration");Ne(c0,"onAnimationStart");Ne("dblclick","onDoubleClick");Ne("focusin","onFocus");Ne("focusout","onBlur");Ne(ap,"onTransitionRun");Ne(np,"onTransitionStart");Ne(up,"onTransitionCancel");Ne(f0,"onTransitionEnd");dn("onMouseEnter",["mouseout","mouseover"]);dn("onMouseLeave",["mouseout","mouseover"]);dn("onPointerEnter",["pointerout","pointerover"]);dn("onPointerLeave",["pointerout","pointerover"]);ba("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ba("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ba("onBeforeInput",["compositionend","keypress","textInput","paste"]);ba("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ba("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ba("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(" "),Vp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Au));function wy(l,e){e=(e&4)!==0;for(var t=0;t<l.length;t++){var a=l[t],n=a.event;a=a.listeners;l:{var u=void 0;if(e)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(y){Fi(y)}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(y){Fi(y)}n.currentTarget=null,u=o}}}}i(wy,"processDispatchQueue");function Y(l,e){var t=e[vo];t===void 0&&(t=e[vo]=new Set);var a=l+"__bubble";t.has(a)||(Wy(e,l,2,!1),t.add(a))}i(Y,"listenToNonDelegatedEvent");function ao(l,e,t){var a=0;e&&(a|=4),Wy(t,l,a,e)}i(ao,"listenToNativeEvent");var Mi="_reactListening"+Math.random().toString(36).slice(2);function Ks(l){if(!l[Mi]){l[Mi]=!0,Vh.forEach(function(t){t!=="selectionchange"&&(Vp.has(t)||ao(t,!1,l),ao(t,!0,l))});var e=l.nodeType===9?l:l.ownerDocument;e===null||e[Mi]||(e[Mi]=!0,ao("selectionchange",!1,e))}}i(Ks,"listenToAllSupportedEvents");function Wy(l,e,t,a){switch(fv(e)){case 2:var n=hg;break;case 8:n=yg;break;default:n=Fs}t=n.bind(null,e,t,l),n=void 0,!zo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(e,t,{capture:!0,passive:n}):l.addEventListener(e,t,!0):n!==void 0?l.addEventListener(e,t,{passive:n}):l.addEventListener(e,t,!1)}i(Wy,"addTrappedEventListener");function no(l,e,t,a,n){var u=a;if((e&1)===0&&(e&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=Ja(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}wh(function(){var s=u,y=ss(t),p=[];l:{var h=o0.get(l);if(h!==void 0){var d=zc,z=l;switch(l){case"keypress":if(Bi(t)===0)break l;case"keydown":case"keyup":d=x1;break;case"focusin":z="focus",d=qf;break;case"focusout":z="blur",d=qf;break;case"beforeblur":case"afterblur":d=qf;break;case"click":if(t.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=rm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=A1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=Y1;break;case u0:case i0:case c0:d=_1;break;case f0:d=V1;break;case"scroll":case"scrollend":d=z1;break;case"wheel":d=X1;break;case"copy":case"cut":case"paste":d=O1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=mm;break;case"toggle":case"beforetoggle":d=j1}var A=(e&4)!==0,U=!A&&(l==="scroll"||l==="scrollend"),m=A?h!==null?h+"Capture":null:h;A=[];for(var r=s,v;r!==null;){var g=r;if(v=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||v===null||m===null||(g=yu(r,m),g!=null&&A.push(Eu(r,g,v))),U)break;r=r.return}0<A.length&&(h=new d(h,z,null,t,y),p.push({event:h,listeners:A}))}}if((e&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",d=l==="mouseout"||l==="pointerout",h&&t!==So&&(z=t.relatedTarget||t.fromElement)&&(Ja(z)||z[Tn]))break l;if((d||h)&&(h=y.window===y?y:(h=y.ownerDocument)?h.defaultView||h.parentWindow:window,d?(z=t.relatedTarget||t.toElement,d=s,z=z?Ja(z):null,z!==null&&(U=Ou(z),A=z.tag,z!==U||A!==5&&A!==27&&A!==6)&&(z=null)):(d=null,z=s),d!==z)){if(A=rm,g="onMouseLeave",m="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(A=mm,g="onPointerLeave",m="onPointerEnter",r="pointer"),U=d==null?h:In(d),v=z==null?h:In(z),h=new A(g,r+"leave",d,t,y),h.target=U,h.relatedTarget=v,g=null,Ja(y)===s&&(A=new A(m,r+"enter",z,t,y),A.target=v,A.relatedTarget=U,g=A),U=g,d&&z)e:{for(A=Qp,m=d,r=z,v=0,g=m;g;g=A(g))v++;g=0;for(var E=r;E;E=A(E))g++;for(;0<v-g;)m=A(m),v--;for(;0<g-v;)r=A(r),g--;for(;v--;){if(m===r||r!==null&&m===r.alternate){A=m;break e}m=A(m),r=A(r)}A=null}else A=null;d!==null&&uh(p,h,d,A,!1),z!==null&&U!==null&&uh(p,U,z,A,!0)}}l:{if(h=s?In(s):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var M=pm;else if(vm(h))if(l0)M=lp;else{M=I1;var N=$1}else d=h.nodeName,!d||d.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?s&&os(s.elementType)&&(M=pm):M=P1;if(M&&(M=M(l,s))){Ph(p,M,t,y);break l}N&&N(l,h,s),l==="focusout"&&s&&h.type==="number"&&s.memoizedProps.value!=null&&bo(h,"number",h.value)}switch(N=s?In(s):window,l){case"focusin":(vm(N)||N.contentEditable==="true")&&(Fa=N,To=s,au=null);break;case"focusout":au=To=Fa=null;break;case"mousedown":Ao=!0;break;case"contextmenu":case"mouseup":case"dragend":Ao=!1,zm(p,t,y);break;case"selectionchange":if(tp)break;case"keydown":case"keyup":zm(p,t,y)}var O;if(ms)l:{switch(l){case"compositionstart":var D="onCompositionStart";break l;case"compositionend":D="onCompositionEnd";break l;case"compositionupdate":D="onCompositionUpdate";break l}D=void 0}else Wa?$h(l,t)&&(D="onCompositionEnd"):l==="keydown"&&t.keyCode===229&&(D="onCompositionStart");D&&(Fh&&t.locale!=="ko"&&(Wa||D!=="onCompositionStart"?D==="onCompositionEnd"&&Wa&&(O=Wh()):(Ot=y,rs="value"in Ot?Ot.value:Ot.textContent,Wa=!0)),N=mc(s,D),0<N.length&&(D=new dm(D,l,null,t,y),p.push({event:D,listeners:N}),O?D.data=O:(O=Ih(t),O!==null&&(D.data=O)))),(O=K1?J1(l,t):w1(l,t))&&(D=mc(s,"onBeforeInput"),0<D.length&&(N=new dm("onBeforeInput","beforeinput",null,t,y),p.push({event:N,listeners:D}),N.data=O)),Gp(p,l,s,t,y)}wy(p,e)})}i(no,"dispatchEventForPluginEventSystem");function Eu(l,e,t){return{instance:l,listener:e,currentTarget:t}}i(Eu,"createDispatchListener");function mc(l,e){for(var t=e+"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,t),n!=null&&a.unshift(Eu(l,n,u)),n=yu(l,e),n!=null&&a.push(Eu(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(mc,"accumulateTwoPhaseListeners");function Qp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(Qp,"getParent");function uh(l,e,t,a,n){for(var u=e._reactName,c=[];t!==null&&t!==a;){var f=t,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(t,u),s!=null&&c.unshift(Eu(t,s,o))):n||(s=yu(t,u),s!=null&&c.push(Eu(t,s,o)))),t=t.return}c.length!==0&&l.push({event:e,listeners:c})}i(uh,"accumulateEnterLeaveListenersForEvent");var Xp=/\r\n?/g,Lp=/\u0000|\uFFFD/g;function ih(l){return(typeof l=="string"?l:""+l).replace(Xp,`
|
|
9
|
-
`).replace(Lp,"")}i(ih,"normalizeMarkupForTextOrAttribute");function Fy(l,e){return e=ih(e),ih(l)===e}i(Fy,"checkForUnmatchedText");function $(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||mn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&mn(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,t,a);break;case"style":Jh(l,a,u);break;case"data":if(e!=="object"){vi(l,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||t!=="href")){l.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ci(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(t,"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"&&(t==="formAction"?(e!=="input"&&$(l,e,"name",n.name,n,null),$(l,e,"formEncType",n.formEncType,n,null),$(l,e,"formMethod",n.formMethod,n,null),$(l,e,"formTarget",n.formTarget,n,null)):($(l,e,"encType",n.encType,n,null),$(l,e,"method",n.method,n,null),$(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ci(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=lt);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(S(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(S(60));l.innerHTML=t}}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}t=Ci(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);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(t,""+a):l.removeAttribute(t);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(t,""):l.removeAttribute(t);break;case"capture":case"download":a===!0?l.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,a):l.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(t,a):l.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(t):l.setAttribute(t,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Di(l,"popover",a);break;case"xlinkActuate":Ke(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ke(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ke(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ke(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ke(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ke(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ke(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<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=b1.get(t)||t,Di(l,t,a))}}i($,"setProp");function Jo(l,e,t,a,n,u){switch(t){case"style":Jh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(S(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(S(60));l.innerHTML=t}}break;case"children":typeof a=="string"?mn(l,a):(typeof a=="number"||typeof a=="bigint")&&mn(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=lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qh.hasOwnProperty(t))l:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),e=t.slice(2,n?t.length-7:void 0),u=l[Fl]||null,u=u!=null?u[t]:null,typeof u=="function"&&l.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(t in l?l[t]=null:l.hasAttribute(t)&&l.removeAttribute(t)),l.addEventListener(e,a,n);break l}t in l?l[t]=a:a===!0?l.setAttribute(t,""):Di(l,t,a)}}}i(Jo,"setPropOnCustomElement");function Rl(l,e,t){switch(e){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 t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:$(l,e,u,c,t,null)}}n&&$(l,e,"srcSet",t.srcSet,t,null),a&&$(l,e,"src",t.src,t,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in t)if(t.hasOwnProperty(a)){var y=t[a];if(y!=null)switch(a){case"name":n=y;break;case"type":c=y;break;case"checked":o=y;break;case"defaultChecked":s=y;break;case"value":u=y;break;case"defaultValue":f=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(S(137,e));break;default:$(l,e,a,y,t,null)}}jh(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(f=t[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?nn(l,!!a,e,!1):t!=null&&nn(l,!!a,t,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in t)if(t.hasOwnProperty(c)&&(f=t[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(S(91));break;default:$(l,e,c,f,t,null)}Kh(l,a,n,u);return;case"option":for(o in t)if(t.hasOwnProperty(o)&&(a=t[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:$(l,e,o,a,t,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 t)if(t.hasOwnProperty(s)&&(a=t[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:$(l,e,s,a,t,null)}return;default:if(os(e)){for(y in t)t.hasOwnProperty(y)&&(a=t[y],a!==void 0&&Jo(l,e,y,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&$(l,e,f,a,t,null))}i(Rl,"setInitialProperties");function jp(l,e,t,a){switch(e){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,y=null;for(d in t){var p=t[d];if(t.hasOwnProperty(d)&&p!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(d)||$(l,e,d,null,a,p)}}for(var h in a){var d=a[h];if(p=t[h],a.hasOwnProperty(h)&&(d!=null||p!=null))switch(h){case"type":u=d;break;case"name":n=d;break;case"checked":s=d;break;case"defaultChecked":y=d;break;case"value":c=d;break;case"defaultValue":f=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(S(137,e));break;default:d!==p&&$(l,e,h,d,a,p)}}go(l,c,f,o,s,y,u,n);return;case"select":d=c=f=h=null;for(u in t)if(o=t[u],t.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":d=o;default:a.hasOwnProperty(u)||$(l,e,u,null,a,o)}for(n in a)if(u=a[n],o=t[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,e,n,u,a,o)}e=f,t=c,a=d,h!=null?nn(l,!!t,h,!1):!!a!=!!t&&(e!=null?nn(l,!!t,e,!0):nn(l,!!t,t?[]:"",!1));return;case"textarea":d=h=null;for(f in t)if(n=t[f],t.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,e,f,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":h=n;break;case"defaultValue":d=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(S(91));break;default:n!==u&&$(l,e,c,n,a,u)}Zh(l,h,d);return;case"option":for(var z in t)if(h=t[z],t.hasOwnProperty(z)&&h!=null&&!a.hasOwnProperty(z))switch(z){case"selected":l.selected=!1;break;default:$(l,e,z,null,a,h)}for(o in a)if(h=a[o],d=t[o],a.hasOwnProperty(o)&&h!==d&&(h!=null||d!=null))switch(o){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:$(l,e,o,h,a,d)}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 A in t)h=t[A],t.hasOwnProperty(A)&&h!=null&&!a.hasOwnProperty(A)&&$(l,e,A,null,a,h);for(s in a)if(h=a[s],d=t[s],a.hasOwnProperty(s)&&h!==d&&(h!=null||d!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(S(137,e));break;default:$(l,e,s,h,a,d)}return;default:if(os(e)){for(var U in t)h=t[U],t.hasOwnProperty(U)&&h!==void 0&&!a.hasOwnProperty(U)&&Jo(l,e,U,void 0,a,h);for(y in a)h=a[y],d=t[y],!a.hasOwnProperty(y)||h===d||h===void 0&&d===void 0||Jo(l,e,y,h,a,d);return}}for(var m in t)h=t[m],t.hasOwnProperty(m)&&h!=null&&!a.hasOwnProperty(m)&&$(l,e,m,null,a,h);for(p in a)h=a[p],d=t[p],!a.hasOwnProperty(p)||h===d||h==null&&d==null||$(l,e,p,h,a,d)}i(jp,"updateProperties");function ch(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(ch,"isLikelyStaticResource");function Zp(){if(typeof performance.getEntriesByType=="function"){for(var l=0,e=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&ch(c)){for(c=0,f=n.responseEnd,a+=1;a<t.length;a++){var o=t[a],s=o.startTime;if(s>f)break;var y=o.transferSize,p=o.initiatorType;y&&ch(p)&&(o=o.responseEnd,c+=y*(o<f?1:(f-s)/(o-s)))}if(--a,e+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return e/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Zp,"estimateBandwidth");var wo=null,Wo=null;function hc(l){return l.nodeType===9?l:l.ownerDocument}i(hc,"getOwnerDocumentFromRootContainer");function fh(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(fh,"getOwnHostContext");function $y(l,e){if(l===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&e==="foreignObject"?0:l}i($y,"getChildHostContextProd");function Fo(l,e){return l==="textarea"||l==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}i(Fo,"shouldSetTextContent");var uo=null;function Kp(){var l=window.event;return l&&l.type==="popstate"?l===uo?!1:(uo=l,!0):(uo=null,!1)}i(Kp,"shouldAttemptEagerTransition");var Iy=typeof setTimeout=="function"?setTimeout:void 0,Jp=typeof clearTimeout=="function"?clearTimeout:void 0,oh=typeof Promise=="function"?Promise:void 0,wp=typeof queueMicrotask=="function"?queueMicrotask:typeof oh<"u"?function(l){return oh.resolve(null).then(l).catch(Wp)}:Iy;function Wp(l){setTimeout(function(){throw l})}i(Wp,"handleErrorInNextTick");function Kt(l){return l==="head"}i(Kt,"isSingletonScope");function sh(l,e){var t=e,a=0;do{var n=t.nextSibling;if(l.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){l.removeChild(n),zn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")mu(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,mu(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[ku]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&mu(l.ownerDocument.body);t=n}while(t);zn(e)}i(sh,"clearHydrationBoundary");function rh(l,e){var t=l;l=0;do{var a=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(l===0)break;l--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||l++;t=a}while(t)}i(rh,"hideOrUnhideDehydratedBoundary");function $o(l){var e=l.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":$o(t),fs(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i($o,"clearContainerSparingly");function Fp(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[ku])switch(e){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(e==="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=be(l.nextSibling),l===null)break}return null}i(Fp,"canHydrateInstance");function $p(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=be(l.nextSibling),l===null))return null;return l}i($p,"canHydrateTextInstance");function Py(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=be(l.nextSibling),l===null))return null;return l}i(Py,"canHydrateHydrationBoundary");function Io(l){return l.data==="$?"||l.data==="$~"}i(Io,"isSuspenseInstancePending");function Po(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(Po,"isSuspenseInstanceFallback");function Ip(l,e){var t=l.ownerDocument;if(l.data==="$~")l._reactRetry=e;else if(l.data!=="$?"||t.readyState!=="loading")e();else{var a=i(function(){e(),t.removeEventListener("DOMContentLoaded",a)},"listener");t.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(Ip,"registerSuspenseInstanceRetry");function be(l){for(;l!=null;l=l.nextSibling){var e=l.nodeType;if(e===1||e===3)break;if(e===8){if(e=l.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return l}i(be,"getNextHydratable");var ls=null;function dh(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return be(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(dh,"getNextHydratableInstanceAfterHydrationBoundary");function mh(l){l=l.previousSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return l;e--}else t!=="/$"&&t!=="/&"||e++}l=l.previousSibling}return null}i(mh,"getParentHydrationBoundary");function lv(l,e,t){switch(e=hc(t),l){case"html":if(l=e.documentElement,!l)throw Error(S(452));return l;case"head":if(l=e.head,!l)throw Error(S(453));return l;case"body":if(l=e.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}i(lv,"resolveSingletonInstance");function mu(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);fs(l)}i(mu,"releaseSingletonInstance");var Se=new Map,hh=new Set;function yc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(yc,"getHoistableRoot");var st=Z.d;Z.d={f:Pp,r:lg,D:eg,C:tg,L:ag,m:ng,X:ig,S:ug,M:cg};function Pp(){var l=st.f(),e=kc();return l||e}i(Pp,"flushSyncWork");function lg(l){var e=An(l);e!==null&&e.tag===5&&e.type==="form"?J0(e):st.r(l)}i(lg,"requestFormReset");var Mn=typeof document>"u"?null:document;function ev(l,e,t){var a=Mn;if(a&&typeof e=="string"&&e){var n=ye(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),hh.has(n)||(hh.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Rl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(ev,"preconnectAs");function eg(l){st.D(l),ev("dns-prefetch",l,null)}i(eg,"prefetchDNS");function tg(l,e){st.C(l,e),ev("preconnect",l,e)}i(tg,"preconnect");function ag(l,e,t){st.L(l,e,t);var a=Mn;if(a&&l&&e){var n='link[rel="preload"][as="'+ye(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+ye(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+ye(t.imageSizes)+'"]')):n+='[href="'+ye(l)+'"]';var u=n;switch(e){case"style":u=Sn(l);break;case"script":u=On(l)}Se.has(u)||(l=ul({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),Se.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Yu(u))||e==="script"&&a.querySelector(Gu(u))||(e=a.createElement("link"),Rl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(ag,"preload");function ng(l,e){st.m(l,e);var t=Mn;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+ye(a)+'"][href="'+ye(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=On(l)}if(!Se.has(u)&&(l=ul({rel:"modulepreload",href:l},e),Se.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Gu(u)))return}a=t.createElement("link"),Rl(a,"link",l),Ol(a),t.head.appendChild(a)}}}i(ng,"preloadModule");function ug(l,e,t){st.S(l,e,t);var a=Mn;if(a&&l){var n=an(a).hoistableStyles,u=Sn(l);e=e||"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":e},t),(t=Se.get(u))&&Js(l,t);var o=c=a.createElement("link");Ol(o),Rl(o,"link",l),o._p=new Promise(function(s,y){o.onload=s,o.onerror=y}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Qi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(ug,"preinitStyle");function ig(l,e){st.X(l,e);var t=Mn;if(t&&l){var a=an(t).hoistableScripts,n=On(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0},e),(e=Se.get(n))&&ws(l,e),u=t.createElement("script"),Ol(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(ig,"preinitScript");function cg(l,e){st.M(l,e);var t=Mn;if(t&&l){var a=an(t).hoistableScripts,n=On(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0,type:"module"},e),(e=Se.get(n))&&ws(l,e),u=t.createElement("script"),Ol(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(cg,"preinitModuleScript");function yh(l,e,t,a){var n=(n=kt.current)?yc(n):null;if(!n)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=Sn(t.href),t=an(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){l=Sn(t.href);var u=an(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),Se.has(l)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Se.set(l,t),u||fg(n,l,t,c.state))),e&&a===null)throw Error(S(528,""));return c}if(e&&a!==null)throw Error(S(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=On(t),t=an(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}i(yh,"getResource");function Sn(l){return'href="'+ye(l)+'"'}i(Sn,"getStyleKey");function Yu(l){return'link[rel="stylesheet"]['+l+"]"}i(Yu,"getStylesheetSelectorFromKey");function tv(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i(tv,"stylesheetPropsFromRawProps");function fg(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Rl(e,"link",t),Ol(e),l.head.appendChild(e))}i(fg,"preloadStylesheet");function On(l){return'[src="'+ye(l)+'"]'}i(On,"getScriptKey");function Gu(l){return"script[async]"+l}i(Gu,"getScriptSelectorFromKey");function vh(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+ye(t.href)+'"]');if(a)return e.instance=a,Ol(a),a;var n=ul({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Rl(a,"style",n),Qi(a,t.precedence,l),e.instance=a;case"stylesheet":n=Sn(t.href);var u=l.querySelector(Yu(n));if(u)return e.state.loading|=4,e.instance=u,Ol(u),u;a=tv(t),(n=Se.get(n))&&Js(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}),Rl(u,"link",a),e.state.loading|=4,Qi(u,t.precedence,l),e.instance=u;case"script":return u=On(t.src),(n=l.querySelector(Gu(u)))?(e.instance=n,Ol(n),n):(a=t,(n=Se.get(u))&&(a=ul({},t),ws(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ol(n),Rl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(S(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Qi(a,t.precedence,l));return e.instance}i(vh,"acquireResource");function Qi(l,e,t){for(var a=t.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===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(l,e.firstChild))}i(Qi,"insertStylesheet");function Js(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Js,"adoptPreloadPropsForStylesheet");function ws(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(ws,"adoptPreloadPropsForScript");var Xi=null;function ph(l,e,t){if(Xi===null){var a=new Map,n=Xi=new Map;n.set(t,a)}else n=Xi,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var u=t[n];if(!(u[ku]||u[Hl]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(ph,"getHydratableHoistableCache");function gh(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(gh,"mountHoistable");function og(l,e,t){if(t===1||e.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return l=e.disabled,typeof e.precedence=="string"&&l==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}i(og,"isHostHoistableType");function av(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(av,"preloadResource");function sg(l,e,t,a){if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Sn(a.href),u=e.querySelector(Yu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=vc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ol(u);return}u=e.ownerDocument||e,a=tv(a),(n=Se.get(n))&&Js(a,n),u=u.createElement("link"),Ol(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=vc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(sg,"suspendResource");var io=0;function rg(l,e){return l.stylesheets&&l.count===0&&Li(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Li(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&io===0&&(io=62500*Zp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Li(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>io?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(rg,"waitForCommitToBeReady");function vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Li(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(vc,"onUnsuspend");var pc=null;function Li(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,pc=new Map,e.forEach(dg,l),pc=null,vc.call(l))}i(Li,"insertSuspendedStylesheets");function dg(l,e){if(!(e.state.loading&4)){var t=pc.get(l);if(t)var a=t.get(null);else{t=new Map,pc.set(l,t);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")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),u=t.get(c)||a,u===a&&t.set(null,n),t.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)),e.state.loading|=4}}i(dg,"insertStylesheetIntoRoot");var Nu={$$typeof:Pe,Provider:null,Consumer:null,_currentValue:oa,_currentValue2:oa,_threadCount:0};function mg(l,e,t,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=kf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kf(0),this.hiddenUpdates=kf(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(mg,"FiberRootNode");function nv(l,e,t,a,n,u,c,f,o,s,y,p){return l=new mg(l,e,t,c,o,s,y,p,f),e=1,u===!0&&(e|=24),u=le(3,null,null,e),l.current=u,u.stateNode=l,e=Ss(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},As(u),l}i(nv,"createFiberRoot");function uv(l){return l?(l=Pa,l):Pa}i(uv,"getContextForSubtree");function iv(l,e,t,a,n,u){n=uv(n),a.context===null?a.context=n:a.pendingContext=n,a=Ht(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=xt(l,a,e),t!==null&&(Wl(t,l,e),uu(t,l,e))}i(iv,"updateContainerImpl");function bh(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(bh,"markRetryLaneImpl");function Ws(l,e){bh(l,e),(l=l.alternate)&&bh(l,e)}i(Ws,"markRetryLaneIfNotHydrated");function cv(l){if(l.tag===13||l.tag===31){var e=Ta(l,67108864);e!==null&&Wl(e,l,67108864),Ws(l,67108864)}}i(cv,"attemptContinuousHydration");function Sh(l){if(l.tag===13||l.tag===31){var e=ue();e=is(e);var t=Ta(l,e);t!==null&&Wl(t,l,e),Ws(l,e)}}i(Sh,"attemptHydrationAtCurrentPriority");var gc=!0;function hg(l,e,t,a){var n=B.T;B.T=null;var u=Z.p;try{Z.p=2,Fs(l,e,t,a)}finally{Z.p=u,B.T=n}}i(hg,"dispatchDiscreteEvent");function yg(l,e,t,a){var n=B.T;B.T=null;var u=Z.p;try{Z.p=8,Fs(l,e,t,a)}finally{Z.p=u,B.T=n}}i(yg,"dispatchContinuousEvent");function Fs(l,e,t,a){if(gc){var n=es(a);if(n===null)no(l,e,a,bc,t),zh(l,a);else if(pg(n,l,e,t,a))a.stopPropagation();else if(zh(l,a),e&4&&-1<vg.indexOf(l)){for(;n!==null;){var u=An(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ia(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-ne(c);f.entanglements[1]|=o,c&=~o}Ye(u),(j&6)===0&&(fc=te()+500,Ru(0,!1))}}break;case 31:case 13:f=Ta(u,2),f!==null&&Wl(f,u,2),kc(),Ws(u,2)}if(u=es(a),u===null&&no(l,e,a,bc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else no(l,e,a,null,t)}}i(Fs,"dispatchEvent");function es(l){return l=ss(l),$s(l)}i(es,"findInstanceBlockingEvent");var bc=null;function $s(l){if(bc=null,l=Ja(l),l!==null){var e=Ou(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=Mh(e),l!==null)return l;l=null}else if(t===31){if(l=Oh(e),l!==null)return l;l=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;l=null}else e!==l&&(l=null)}}return bc=l,null}i($s,"findInstanceBlockingTarget");function fv(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(a1()){case kh:return 2;case Bh:return 8;case wi:case n1:return 32;case Hh:return 268435456;default:return 32}default:return 32}}i(fv,"getEventPriority");var ts=!1,Yt=null,Gt=null,Vt=null,_u=new Map,Mu=new Map,_t=[],vg="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 zh(l,e){switch(l){case"focusin":case"focusout":Yt=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Vt=null;break;case"pointerover":case"pointerout":_u.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mu.delete(e.pointerId)}}i(zh,"clearIfContinuousEvent");function wn(l,e,t,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=An(e),e!==null&&cv(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i(wn,"accumulateOrCreateContinuousQueuedReplayableEvent");function pg(l,e,t,a,n){switch(e){case"focusin":return Yt=wn(Yt,l,e,t,a,n),!0;case"dragenter":return Gt=wn(Gt,l,e,t,a,n),!0;case"mouseover":return Vt=wn(Vt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return _u.set(u,wn(_u.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Mu.set(u,wn(Mu.get(u)||null,l,e,t,a,n)),!0}return!1}i(pg,"queueIfContinuousEvent");function ov(l){var e=Ja(l.target);if(e!==null){var t=Ou(e);if(t!==null){if(e=t.tag,e===13){if(e=Mh(t),e!==null){l.blockedOn=e,nm(l.priority,function(){Sh(t)});return}}else if(e===31){if(e=Oh(t),e!==null){l.blockedOn=e,nm(l.priority,function(){Sh(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){l.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(ov,"attemptExplicitHydrationTarget");function ji(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=es(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);So=a,t.target.dispatchEvent(a),So=null}else return e=An(t),e!==null&&cv(e),l.blockedOn=t,!1;e.shift()}return!0}i(ji,"attemptReplayContinuousQueuedEvent");function Th(l,e,t){ji(l)&&t.delete(e)}i(Th,"attemptReplayContinuousQueuedEventInMap");function gg(){ts=!1,Yt!==null&&ji(Yt)&&(Yt=null),Gt!==null&&ji(Gt)&&(Gt=null),Vt!==null&&ji(Vt)&&(Vt=null),_u.forEach(Th),Mu.forEach(Th)}i(gg,"replayUnblockedEvents");function Oi(l,e){l.blockedOn===e&&(l.blockedOn=null,ts||(ts=!0,El.unstable_scheduleCallback(El.unstable_NormalPriority,gg)))}i(Oi,"scheduleCallbackIfUnblocked");var Ui=null;function Ah(l){Ui!==l&&(Ui=l,El.unstable_scheduleCallback(El.unstable_NormalPriority,function(){Ui===l&&(Ui=null);for(var e=0;e<l.length;e+=3){var t=l[e],a=l[e+1],n=l[e+2];if(typeof a!="function"){if($s(a||t)===null)continue;break}var u=An(t);u!==null&&(l.splice(e,3),e-=3,qo(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(Ah,"scheduleReplayQueueIfNeeded");function zn(l){function e(o){return Oi(o,l)}i(e,"unblock"),Yt!==null&&Oi(Yt,l),Gt!==null&&Oi(Gt,l),Vt!==null&&Oi(Vt,l),_u.forEach(e),Mu.forEach(e);for(var t=0;t<_t.length;t++){var a=_t[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<_t.length&&(t=_t[0],t.blockedOn===null);)ov(t),t.blockedOn===null&&_t.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[Fl]||null;if(typeof u=="function")c||Ah(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Fl]||null)f=c.formAction;else if($s(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),Ah(t)}}}i(zn,"retryIfBlockedOn");function sv(){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 e(){n!==null&&(n(),n=null),a||setTimeout(t,20)}i(e,"handleNavigateComplete");function t(){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(t,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}i(sv,"defaultOnDefaultTransitionIndicator");function Is(l){this._internalRoot=l}i(Is,"ReactDOMRoot");xc.prototype.render=Is.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(S(409));var t=e.current,a=ue();iv(t,a,l,e,null,null)};xc.prototype.unmount=Is.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;iv(l.current,2,null,l,null,null),kc(),e[Tn]=null}};function xc(l){this._internalRoot=l}i(xc,"ReactDOMHydrationRoot");xc.prototype.unstable_scheduleHydration=function(l){if(l){var e=Gh();l={blockedOn:null,target:l,priority:e};for(var t=0;t<_t.length&&e!==0&&e<_t[t].priority;t++);_t.splice(t,0,l),t===0&&ov(l)}};var Eh=Nh.version;if(Eh!=="19.2.0")throw Error(S(527,Eh,"19.2.0"));Z.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=Fv(e),l=l!==null?Uh(l):null,l=l===null?null:l.stateNode,l};var bg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Wn.isDisabled&&Wn.supportsFiber))try{Uu=Wn.inject(bg),ae=Wn}catch{}var Wn;qc.createRoot=function(l,e){if(!_h(l))throw Error(S(299));var t=!1,a="",n=ey,u=ty,c=ay;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=nv(l,1,!1,null,null,t,a,null,n,u,c,sv),l[Tn]=e.current,Ks(l),new Is(e)};qc.hydrateRoot=function(l,e,t){if(!_h(l))throw Error(S(299));var a=!1,n="",u=ey,c=ty,f=ay,o=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.formState!==void 0&&(o=t.formState)),e=nv(l,1,!0,e,t??null,a,n,o,u,c,f,sv),e.context=uv(null),t=e.current,a=ue(),a=is(a),n=Ht(a),n.callback=null,xt(t,n,a),t=a,e.current.lanes=t,Cu(e,t),Ye(e),l[Tn]=e.current,Ks(l),new xc(e)};qc.version="19.2.0"});var hv=wu((mb,mv)=>{"use strict";function dv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dv)}catch(l){console.error(l)}}i(dv,"checkDCE");dv(),mv.exports=rv()});var ef="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."}],Eg=[{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."}],Rr=[{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.'}],Ng=[{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 af=V(Vl(),1);var Cl={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:{...Cl.light},radius:Cl.radiusLg,fontFamily:Cl.font},Yr={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 Vr(l={}){let e={};for(let t of Object.keys(Yr))e[Yr[t]]=l.colors?.[t]??Rn.colors[t];return e["--sekyro-radius"]=l.radius??Rn.radius,e["--sekyro-font"]=l.fontFamily??Rn.fontFamily,e}i(Vr,"S");T(Vr,"themeToCssVars");var Tv=/^#[0-9a-f]{6}$/i,Av=["brand","brandFg","bg","surface","fg","fgMuted"],Ev=["danger","success","warning"],Gr=!1;function li(l){let e=l?.colors;if(l===void 0||e===void 0||!Ev.some(c=>c in e))return l;!Gr&&Sr()&&(Gr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:t,success:a,warning:n,...u}=e;return{...l,colors:u}}i(li,"p");T(li,"stripDeprecatedStatusColors");var Nv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},_v={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function ei(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of Av){let f=a[c];f!==void 0&&Tv.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=Nv[l.radius];n&&(e.radius=n);let u=_v[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${Rn.fontFamily}`:Rn.fontFamily),e}i(ei,"x");T(ei,"brandingToTheme");function ti(...l){let e={};for(let t of l)t?.colors&&(e.colors={...e.colors,...t.colors}),t?.radius&&(e.radius=t.radius),t?.fontFamily&&(e.fontFamily=t.fontFamily);return e}i(ti,"I");T(ti,"mergeThemes");function nf({theme:l,children:e,className:t}){return(0,af.jsx)(ai,{theme:li(l),...t!==void 0?{className:t}:{},children:e})}i(nf,"C");T(nf,"SekyroThemeProvider");function ai({theme:l,children:e,className:t}){let a=Vr(l);return(0,af.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(ai,"R");T(ai,"SekyroThemeRoot");var Yn=V(Sl(),1),kl=V(Sl(),1),k=V(Vl(),1),vt=V(Sl(),1),Qe=V(Vl(),1),pt=V(Sl(),1),Xe=V(Vl(),1),Ir=V(Sl(),1),Ha=V(Vl(),1);var xa=V(Sl(),1),P=V(Vl(),1);var oe=V(Sl(),1);var je=V(Sl(),1),Tl=V(Vl(),1),Te=V(Vl(),1);var _l=V(Sl(),1),K=V(Vl(),1),gt=V(Sl(),1),Ue=V(Vl(),1),bt=V(Sl(),1),De=V(Vl(),1);var C=V(Sl(),1),fd=V(or(),1),ii=V(Sl(),1),yt=V(Sl(),1),Ce=V(Vl(),1),Le=V(Vl(),1),md=V(Sl(),1),Ra=V(Sl(),1),J=V(Vl(),1),b=V(Vl(),1),Gn=V(Sl(),1),aa=V(Vl(),1);function Jr(l){let[e,t]=(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&&t(f)});return l.run().then(f=>{u&&t(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:e,error:a}}i(Jr,"ut");T(Jr,"useVerificationStep");var Qr=T((l,e,t)=>{if(l===void 0)return 0;let a=Date.parse(l)-e;return Number.isFinite(a)?Math.min(t,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),Mv=600,Ov=30,Uv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Dv=["whatsapp","sms"],Xr=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 wr(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??Dr(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(wr,"dn");T(wr,"phoneCountriesOf");function Wr({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Nl(e,t),{t:f}=c,o=(0,kl.useMemo)(()=>wr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",y=l.phoneInternational===!0,p=kr({countries:o,international:y,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,d]=(0,kl.useState)(""),[z,A]=(0,kl.useState)(!1),[U,m]=(0,kl.useState)(null),[r,v]=(0,kl.useState)(null),[g,E]=(0,kl.useState)(!1),[M,N]=(0,kl.useState)(null),O=(0,kl.useRef)(null),D=l.phase==="verify"&&!g,R=l.phase==="verify",Ll=qr(R),[wt,Qu]=Hr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>d("")),jl=(0,kl.useId)(),Xu=(0,kl.useRef)(null);(0,kl.useEffect)(()=>{let F=setTimeout(()=>Xu.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(F)},[D]);let Wt=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,kl.useEffect)(()=>{Wt!==null&&(E(!1),O.current!==null&&!Xr.has(l.reason??"")&&N(O.current),O.current=null)},[Wt]);let Da=T(async F=>{A(!0),v(null);try{await F()}catch(Gl){v(qn(Gl,c.strings)),u?.(Gl)}finally{A(!1),m(null)}},"run"),fe=Dv.filter(F=>(l.channels??[]).includes(F)),Lu=p.typed,mt=!l.needsPhone||Lu!==null,Ft=T((F,Gl=!1)=>{let Pt=l.needsPhone?Gl?M:{number:Lu??p.phone,shown:p.shown}:null;O.current=Pt,m(F??null),Da(async()=>{try{await l.send({...Pt!==null?{phone:Pt.number}:{},...F!==void 0?{channel:F}:{}})}catch(_){throw O.current=null,_}})},"send"),Bn=T(F=>{Da(()=>l.verify(F))},"submitCode"),ju=T(F=>{F.preventDefault(),D?Bn(h):fe.length<=1&&mt&&Ft(fe[0])},"onSubmit"),Zu=`${jl}-phone`,Ca=Qr(l.codeExpiresAt,Ll,Mv),Ve=Qr(l.resendAvailableAt,Ll,Ov),$t=D&&l.codeExpiresAt!==void 0&&Ca===0,Hn=l.needsPhone&&!l.attemptsExhausted,It=R&&(l.codeExpiresAt===void 0||Ca>0);Wc(D&&Hn?()=>E(!0):g&&It?()=>E(!1):null,z);let ht=T(F=>f(F==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Yl=T(F=>z&&U!==null&&U===F,"busyFor"),[Ku,Zc]=f("otp.sentTo",{channel:ht(l.channel)}).split("{number}"),tl=l.context.simulation?.otpCode,ka=l.reason==="otp_mismatch"?(0,k.jsxs)(zl,{tone:"danger",children:[(0,k.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,k.jsx)("span",{children:Ic(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Xr.has(l.reason)?(0,k.jsx)(zl,{tone:"warning",children:(0,k.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,k.jsx)(zl,{tone:"warning",children:(0,k.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,xn=(0,k.jsxs)(k.Fragment,{children:[ka,r!==null?(0,k.jsx)(zl,{tone:"danger",children:(0,k.jsx)("span",{children:f(r)})}):null]});if(D){let F=fe.length===0;return(0,k.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,k.jsx)(ea,{id:jl,title:f("otp.verifyTitle"),lead:tl!==void 0?(0,k.jsx)(yr,{template:f("sandbox.otpHint"),code:tl}):(0,k.jsxs)(k.Fragment,{children:[Ku,(0,k.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:M?.shown??l.sentToMasked}),Zc]})}),xn,(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:`${jl}-code`,children:f("otp.codeLabel")}),(0,k.jsx)(xr,{id:`${jl}-code`,value:h,invalid:wt,onChange:i(Gl=>{Gl!==""&&Qu(),d(Gl),Gl.length===6&&h.length!==6&&!z&&!l.attemptsExhausted&&Bn(Gl)},"onChange")}),(0,k.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${$t?" is-danger":""}`,"aria-hidden":!$t||void 0,children:$t?f("otp.expired"):f("otp.expiresIn",{time:Uv(Ca)})})]}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:$t?f("otp.expired"):""}),(0,k.jsxs)(ta,{children:[(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||h.length!==6||l.attemptsExhausted,"aria-busy":z||void 0,children:f("otp.verify")}),(0,k.jsxs)("div",{className:"sekyro-resend-row",children:[F?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z||Ve>0,onClick:i(()=>Ft(void 0,!0),"onClick"),children:Ve>0?f("otp.resendIn",{seconds:Ve}):f("otp.resend")}):Ve>0?(0,k.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Ve})}):fe.map(Gl=>(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>Ft(Gl,!0),"onClick"),children:f("otp.resendBy",{channel:ht(Gl)})},Gl)),Hn?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>E(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,k.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,k.jsx)(ea,{id:jl,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),xn,l.needsPhone?(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:Zu,children:f("otp.phoneLabel")}),(0,k.jsx)(Br,{field:p,id:Zu,locale:c.locale,t:f,inputRef:Xu,ready:mt})]}):(0,k.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,k.jsxs)(ta,{children:[fe.length===1?(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||!mt,"aria-busy":Yl(fe[0])||void 0,children:f("otp.sendBy",{channel:ht(fe[0])})}):fe.length>1?(0,k.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,k.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,k.jsx)("div",{className:"sekyro-channel-row",children:fe.map(F=>(0,k.jsxs)(il,{kind:"primary",disabled:z||!mt,"aria-busy":Yl(F)||void 0,onClick:i(()=>Ft(F),"onClick"),children:[(0,k.jsx)(ze,{name:F}),ht(F)]},F))})]}):(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||!mt,"aria-busy":z||void 0,children:f("otp.send")}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:z&&U!==null?f("otp.sending",{channel:ht(U)}):""}),g&&It?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>E(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Wr,"dt");T(Wr,"PhoneOtpStep");var Cv={load:T(()=>import("./email-otp-view-OO535PQT-6N2IPXEG.js"),"load")};function Fr({locale:l,strings:e,...t}){let a=Nl(l,e),[n,u]=(0,vt.useState)(0),c=(0,vt.useMemo)(()=>(0,vt.lazy)(()=>Cv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Qe.jsxs)(zl,{tone:"danger",children:[(0,Qe.jsx)("span",{children:a.t("errors.network_error")}),(0,Qe.jsx)(il,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Qe.jsx)(Ba,{fallback:f,children:(0,Qe.jsx)(vt.Suspense,{fallback:(0,Qe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Qe.jsx)(c,{...t,i18n:a})})},n)}i(Fr,"pt");T(Fr,"EmailOtpStep");var kv={load:T(()=>import("./eid-view-INQTMVDU-FRHHODOC.js"),"load")};function $r({locale:l,strings:e,...t}){let a=Nl(l,e),[n,u]=(0,pt.useState)(0),c=(0,pt.useMemo)(()=>(0,pt.lazy)(()=>kv.load().then(o=>({default:o.EidView}))),[n]),f=(0,Xe.jsxs)(zl,{tone:"danger",children:[(0,Xe.jsx)("span",{children:a.t("errors.network_error")}),(0,Xe.jsx)(il,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Xe.jsx)(Ba,{fallback:f,children:(0,Xe.jsx)(pt.Suspense,{fallback:(0,Xe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Xe.jsx)(c,{...t,i18n:a})})},n)}i($r,"mt");T($r,"EidStep");function Pr({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),{busy:c,error:f,run:o}=Nr(u,n),s=(0,Ir.useMemo)(()=>l.choice.options.flatMap(p=>{let h=Er(p,u),d=Ar[p.service];return h===null?[]:[{id:p.id,label:h,glyph:d&&(0,Ha.jsx)(ze,{name:d})}]}),[l.choice.options,u]),y=l.choice.options.find(p=>p.service==="national_eid");return(0,Ha.jsxs)("div",{className:a,children:[(0,Ha.jsx)(br,{title:u.t("method.heading"),description:u.t("method.lead"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),y?.nationalEid?.afterPass==="continue"?(0,Ha.jsx)(Dl,{view:"EidContinueHint",i18n:u,provider:y.nationalEid.providerName,quiet:!0}):null]})}i(Pr,"yt");T(Pr,"MethodChoice");var Bv=new Set(["nni_not_found","registry_record_not_found"]),Hv=new Set(["nni_invalid","id_number_invalid"]);function rf({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),{t:c}=u,[f,o]=(0,xa.useState)(""),[s,y]=(0,xa.useState)(!1),[p,h]=(0,xa.useState)(null),d=(0,xa.useId)(),z=l.attemptsExhausted,A=T(async O=>{y(!0),h(null);try{await O()}catch(D){h(qn(D,u.strings)),n?.(D)}finally{y(!1)}},"run"),U=T(O=>{if(O.preventDefault(),l.source!=="typed"){A(()=>l.confirm());return}let D=Kc(f);if(!/^\d{10}$/.test(D))return h("population.invalid");if(!ar(D))return h("population.reason_id_number_invalid");A(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(D):l.submitNni(D))},"onSubmit"),m=Ic(u,l.attemptsRemaining,z),r=l.reason!==void 0&&Bv.has(l.reason),v=l.reason!==void 0&&Hv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(zl,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:m})]}):null,r&&l.canUseDocument?(0,P.jsxs)(zl,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:m}),(0,P.jsx)(il,{kind:"secondary",disabled:s,onClick:i(()=>{A(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||v?(0,P.jsxs)(zl,{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:m})]}):null,z&&l.reason===void 0?(0,P.jsx)(zl,{tone:"danger",children:(0,P.jsx)("span",{children:m})}):null,p!==null?(0,P.jsx)(zl,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[E,M,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":d,onSubmit:U,noValidate:!0,children:[(0,P.jsx)(ea,{id:d,title:c(E),lead:c(M)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${d}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${d}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${d}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(O=>{h(null),o(Kc(O.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${d}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(ta,{children:z?null:(0,P.jsx)(il,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(rf,"Qe");T(rf,"IdNumberEntry");function xv(l){return rf(l)}i(xv,"En");T(xv,"NniEntry");var qv=220;function ld(l,e,t){let a=null;try{a=new Intl.DisplayNames([l],{type:"region"})}catch{}let n=e.map(f=>({code:f,name:a?.of(f)??f})),u=new Intl.Collator(l),c=T(f=>f===t?0:1,"rank");return n.sort((f,o)=>c(f.code)-c(o.code)||u.compare(f.name,o.name))}i(ld,"On");T(ld,"countryNames");function ed({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,je.useMemo)(()=>[...Wu(l.documents)].sort(),[l.documents]),o=(0,je.useMemo)(()=>ld(c,f,l.detectedCountry),[c,f,l.detectedCountry]),s=f.length===1?f[0]:null,[y,p]=(0,je.useState)(t??s),[h,d]=(0,je.useState)(null),z=s===null?[]:la(l.documents,s),A=s!==null&&z.length===1?z[0]:null;(0,je.useEffect)(()=>{s!==null&&A!==null&&l.selectDocument(s,A)},[s,A]);let U=T((M,N)=>{l.selectDocument(M,N),a?.()},"pick"),m=T(M=>{let N=la(l.documents,M);N.length===1?U(M,N[0]):p(M)},"chooseIssuer");(0,je.useEffect)(()=>{if(h===null||y===null)return;let M=setTimeout(()=>U(y,h),qv);return()=>clearTimeout(M)},[h]),Wc(y!==null&&f.length>1&&t===void 0?()=>{p(null),d(null)}:null);let r=h!==null;if(A!==null)return null;let v=Jc(l.acceptedNationalities,e),g=v!==null?(0,Tl.jsx)(zl,{tone:"info",children:v}):null;if(y===null)return(0,Tl.jsxs)("section",{className:"sekyro-step",children:[(0,Tl.jsx)(ea,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),g,(0,Tl.jsx)(Cr,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:m}),(0,Tl.jsx)(ta,{children:null})]});let E=la(l.documents,y);return(0,Tl.jsxs)("section",{className:"sekyro-step",children:[(0,Tl.jsx)(ea,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),g,(0,Tl.jsx)("div",{className:"sekyro-choices",children:E.map(M=>(0,Tl.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===M,disabled:r&&h!==M,onClick:i(()=>{r||d(M)},"onClick"),children:[(0,Tl.jsx)("span",{className:"sekyro-card__tile",children:(0,Tl.jsx)(ze,{name:M==="passport"?"passport":"card"})}),(0,Tl.jsxs)("span",{className:"sekyro-card__body",children:[(0,Tl.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${M}`)}),(0,Tl.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${M}`)})]}),(0,Tl.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},M))}),f.length>1?(0,Tl.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),d(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Tl.jsx)(ta,{children:null})]})}i(ed,"Co");T(ed,"DocumentPicker");var Rv={load:T(()=>import("./document-capture-view-5EYETVEI-UMC6FOKY.js"),"load")};function td({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Nl(e,t),[f,o]=(0,oe.useState)(0),[s,y]=(0,oe.useState)(null),p=Wu(l.documents),h=p.length>1,d=l.issuer!==null&&la(l.documents,l.issuer).length>1,z=l.documentType===null||l.issuer===null||s!==null,A=p.length===1&&la(l.documents,p[0]).length===1,[U]=(0,oe.useState)(()=>z&&!A),m=l.ageStepUp===!0,r=(0,oe.useMemo)(()=>(0,oe.lazy)(()=>Rv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,oe.useEffect)(()=>{nr()},[]);let v=(0,Te.jsxs)(zl,{tone:"danger",children:[(0,Te.jsx)("span",{children:c.t("errors.network_error")}),(0,Te.jsx)(il,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,Te.jsx)("div",{className:a,children:z?(0,Te.jsx)(ed,{step:l,i18n:c,ageStepUp:m&&s===null&&U,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>y(null),"onPicked")}):(0,Te.jsx)(Ba,{fallback:v,children:(0,Te.jsx)(oe.Suspense,{fallback:(0,Te.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,Te.jsx)(r,{step:l,i18n:c,ageLead:m&&!U,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>y("country"),"onChangeCountry")}:{},...d?{onChangeDocument:T(()=>y("document"),"onChangeDocument")}:{}})})},f)})}i(td,"ht");T(td,"DocumentCapture");var Yv={load:T(()=>import("./portrait-capture-view-N36CKIFR-JIO6P6XN.js"),"load")},Gv={load:T(()=>import("./portrait-review-view-OG23OEMA-E4JD5Q5S.js"),"load")},qa,ad=(qa=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(qa,"vt"),qa);T(ad,"LoadBoundary");var Lr=ad;function nd({step:l,i18n:e}){let{t}=e,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:t(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,K.jsx)("p",{className:"sekyro-text-muted",children:t("portrait.reviewDescription")}):null,l.uploadFailed?(0,K.jsxs)(zl,{tone:"danger",children:[(0,K.jsx)("span",{children:t("portrait.uploadFailed")}),(0,K.jsx)(il,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:t("portrait.sendAgain")})]}):(0,K.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:t("portrait.matching")})]})}i(nd,"Zn");T(nd,"MatchPhase");function ud({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Nl(e,t),f=zr(u),o=(0,_l.useContext)($c),[s,y]=(0,_l.useState)(0),[p,h]=(0,_l.useState)(null),d=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Yv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),z=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Gv.load().then(N=>({default:N.PortraitScreens}))),[s]),A=typeof l.uploadPortrait=="function",U=A?l.photo?.source??"camera":"camera",m=A&&U!=="camera"&&l.photo?.uploadOffered===!0,r=U!=="upload",v=U==="upload"?"upload":U==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,_l.useEffect)(()=>{l.phase==="capture"&&v==="camera"&&!g&&ur()},[l.phase,v,g]),l.phase==="match")return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(nd,{step:l,i18n:c})});let E=(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"&&v==="camera")return(0,K.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,K.jsx)(ea,{title:c.t("session.steps.portrait.title")}),(0,K.jsx)(ta,{children:(0,K.jsx)(il,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||v!=="camera"||g)return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Lr,{fallback:(0,K.jsx)(il,{kind:"ghost",onClick:i(()=>y(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,K.jsx)(_l.Suspense,{fallback:E,children:(0,K.jsx)(z,{screen:l.phase==="review"?"review":g&&v==="camera"?"phone":v==="camera"?"review":v,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:E});let M=(0,K.jsxs)(zl,{tone:"danger",children:[(0,K.jsx)("span",{children:c.t("errors.network_error")}),(0,K.jsx)(il,{kind:"secondary",onClick:i(()=>y(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Lr,{fallback:M,children:(0,K.jsx)(_l.Suspense,{fallback:E,children:(0,K.jsx)(d,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...m?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(ud,"bt");T(ud,"PortraitCapture");var Vv={load:T(()=>import("./proof-of-address-view-CHM5JRHI-PUHZCNXH.js"),"load")};function id({step:l,locale:e,strings:t,className:a}){let n=Nl(e,t),[u,c]=(0,gt.useState)(0),f=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>Vv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,Ue.jsxs)(zl,{tone:"danger",children:[(0,Ue.jsx)("span",{children:n.t("errors.network_error")}),(0,Ue.jsx)(il,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,Ue.jsx)("div",{className:a,children:(0,Ue.jsx)(Ba,{fallback:o,children:(0,Ue.jsx)(gt.Suspense,{fallback:(0,Ue.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,Ue.jsx)(f,{step:l,i18n:n})})},u)})}i(id,"Ct");T(id,"ProofOfAddress");var Qv={load:T(()=>import("./form-view-LJLYP54G-N2BB5ZXR.js"),"load")};function cd({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),[c,f]=(0,bt.useState)(0),o=(0,bt.useMemo)(()=>(0,bt.lazy)(()=>Qv.load().then(y=>({default:y.FormView}))),[c]),s=(0,De.jsxs)(zl,{tone:"danger",children:[(0,De.jsx)("span",{children:u.t("errors.network_error")}),(0,De.jsx)(il,{kind:"secondary",onClick:i(()=>f(y=>y+1),"onClick"),children:u.t("common.retry")})]});return(0,De.jsx)("div",{className:a,children:(0,De.jsx)(Ba,{fallback:s,children:(0,De.jsx)(bt.Suspense,{fallback:(0,De.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,De.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(cd,"wt");T(cd,"FormStep");var jr={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)"}},df={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"}}},Xv=["danger","success","warning","info"];function ni(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ni,"_t");T(ni,"channel");function uf(l){let e=ni(parseInt(l.slice(1,3),16)),t=ni(parseInt(l.slice(3,5),16)),a=ni(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(uf,"Io");T(uf,"luminance");function od(l,e){let t=uf(l),a=uf(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(od,"cr");T(od,"contrastRatio");function cf(l,e){return Math.min(...Xv.map(t=>od(df[l][t].fg,e)))}i(cf,"To");T(cf,"worstAgainst");function ff(l,e,t){return Math.min(cf(l,e),cf(l,t))}i(ff,"Eo");T(ff,"worstStatusContrast");function sd(l,e){return ff("light",l,e)>=ff("dark",l,e)?"light":"dark"}i(sd,"Ro");T(sd,"statusSchemeFor");function mf({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,yt.useRef)(null),y=(0,yt.useRef)(null),p=(0,yt.useRef)(!1),h=(0,yt.useId)();return(0,yt.useEffect)(()=>{let d=s.current;if(d!==null){if(l&&!d.open?(y.current=typeof document>"u"?null:document.activeElement,typeof d.showModal=="function"?d.showModal():d.setAttribute("open","")):!l&&d.open&&(typeof d.close=="function"?d.close():d.removeAttribute("open")),!l&&p.current){let z=o?.current??(y.current instanceof HTMLElement?y.current:null);y.current=null,z?.focus()}p.current=l}},[l,o]),(0,Ce.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":h,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(d=>{d.preventDefault(),a()},"onCancel"),onClick:i(d=>{d.target===d.currentTarget&&a()},"onClick"),children:(0,Ce.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,Ce.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,Ce.jsx)("h2",{id:h,className:"sekyro-dialog__title",children:e}),t!==void 0?(0,Ce.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":t,onClick:a,children:(0,Ce.jsx)(ze,{name:"close"})}):null]}),n!==void 0?(0,Ce.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,Ce.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(mf,"et");T(mf,"FlowDialog");var Lv=["intro","data","processing","sharing","retention"];function rd({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,ii.useState)(!1),u=(0,ii.useRef)(null),[c,f=""]=t("consent.short").split("{terms}");return(0,Le.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,Le.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,Le.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:t("consent.termsLink")}),f]}),(0,Le.jsx)(mf,{open:a,title:t("consent.termsTitle"),closeLabel:t("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,Le.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:e==="human"?(0,Le.jsx)(Dl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):Lv.map(o=>(0,Le.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(rd,"Oo");T(rd,"ConsentNotice");function dd(l){let e=l.trim().split(/\s+/).filter(t=>t!=="");return(e.length>=2?[e[0],e[1]].map(t=>Array.from(t??"")[0]??""):Array.from(e[0]??"").slice(0,2)).join("").toUpperCase()}i(dd,"Vo");T(dd,"initials");var hd=T(l=>({colors:{...l?Cl.dark:Cl.light},radius:Cl.radius,fontFamily:Cl.font}),"brandTheme"),ub=hd(!1),Zr=/^#[0-9a-f]{6}$/i;function hf(l,e,t){if(e)return null;let a=ei(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!Zr.test(n)||u!==void 0&&!Zr.test(u)?null:sd(n??Cl.light.bg,u??Cl.light.surface)}i(hf,"xt");T(hf,"partnerStatusScheme");function yf(l,e,t){let a=ei(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&pd(n,Cl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(hf(l,t,e)==="dark"){let n=df.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return ti(hd(t),a,li(e))}i(yf,"tt");T(yf,"verificationTheme");function vf(l){let e=(0,md.useSyncExternalStore)(vd,Zv,()=>!1);return l==="dark"||l==="system"&&e}i(vf,"ot");T(vf,"useDarkScheme");var jv="(prefers-color-scheme: dark)",yd=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(jv):null,"media"),Zv=T(()=>yd()?.matches??!1,"prefersDark");function vd(l){let e=yd();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(vd,"Sr");T(vd,"subscribe");function pd(l,e){let[t,a]=[of(l),of(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(pd,"hr");T(pd,"contrast");function of(l){let e=[1,3,5].map(t=>{let a=Number.parseInt(l.slice(t,t+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(e[0]??0)+.7152*(e[1]??0)+.0722*(e[2]??0)}i(of,"Fo");T(of,"luminance");var pf="sekyro.testerGate";function ci(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ci,"Tt");T(ci,"store");function gd(l=Date.now()){try{ci()?.setItem(pf,String(l))}catch{}}i(gd,"Ho");T(gd,"rememberTester");function bd(l=Date.now()){try{let e=Number(ci()?.getItem(pf)??"");return Number.isFinite(e)&&e>0&&l-e<2592e6}catch{return!1}}i(bd,"Uo");T(bd,"rememberedTester");function Sd(){try{ci()?.removeItem(pf)}catch{}}i(Sd,"$o");T(Sd,"forgetTester");var Kr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Kv={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 zd({screen:l}){if(l==="verified")return(0,J.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,J.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,J.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,J.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:e,tone:t}=Kv[l];return(0,J.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,J.jsx)(ze,{name:e})})}i(zd,"Nr");T(zd,"OutcomeMark");function Td({label:l,id:e,copied:t}){let[a,n]=(0,Ra.useState)(!1);return(0,Ra.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,J.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,J.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,J.jsx)("bdi",{dir:"ltr",children:e}),(0,J.jsx)(ze,{name:"copy"})]})}i(Td,"_r");T(Td,"ReferenceLine");function Ad({step:l,t:e}){let t=l.context.sandbox?l.context.simulation?.reason:void 0;return t===void 0?null:(0,J.jsxs)($u,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,J.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,J.jsx)(ze,{name:"info"})}),(0,J.jsxs)("div",{className:"sekyro-notice__body","data-reason":t,children:[(0,J.jsx)("strong",{children:e("sandbox.simulatedTitle")}),(0,J.jsx)("span",{children:e(t==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(Ad,"Pr");T(Ad,"SimulationNotice");function Ed(l,e){return l==="expired"?"native.result.expiredTitle":l!=="verified"?`session.result.${l}.title`:e.level===3?"session.result.verified.title":e.level===1&&e.assurance==="contact_phone"?"session.result.verified.titlePhone":e.level===1&&e.assurance==="contact_email"?"session.result.verified.titleEmail":e.level===1?"session.result.verified.titleContact":"session.result.verified.titleHuman"}i(Ed,"xr");T(Ed,"resultTitleKey");function Nd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Nl(e,t),{t:c}=u,f=(0,Ra.useId)(),o=Fu(),s=l.context.orgName,y=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(A=>(s!==""||A==="verified")&&A!=="cooldown"?c(`native.result.${A}`,{org:s}):c(`session.result.${A}.description`),"partnerLine"),d;switch(l.display){case"rejected":y==="identity_not_verified"?d=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):d=Kr.has(wc(y))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if(Kr.has(wc(y)))d=c("session.result.detailsMismatch",{org:s});else if(y==="device_velocity_exceeded")d=c("session.result.deviceVelocity",{org:s});else if(y==="capture_tampered")d=c("session.result.deviceStop");else if(y==="camera_unavailable")d=c("reasons.camera_unavailable",{org:s});else if(y==="underage_estimated")d=c("reasons.underage_estimated");else if(y==="starter_credit_claimed")d=c("reasons.starter_credit_claimed");else if(y==="blocked_by_org")d=c("reasons.blocked_by_org");else{let A=y===""?null:cr(y);d=A!==null?c(A,{org:s}):h("policy")}break}case"cooldown":{let A=fr(u.locale,l.retryAfter);d=A!==null?c(A.key,{time:A.time}):c("session.result.cooldown.description");break}case"platform_unsupported":d=c("result.platform_unsupported");break;case"inconclusive":y==="side_missing"?d=s!==""?c("native.result.sideMissing",{org:s}):c("session.result.sideMissing"):d=h("inconclusive");break;default:d=h(p)}let z=y==="nationality_not_allowed"?Jc(l.acceptedNationalities,u):null;return(0,J.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,J.jsxs)("div",{className:"sekyro-result__body",children:[(0,J.jsx)(zd,{screen:p}),(0,J.jsxs)("div",{className:"sekyro-heading",children:[(0,J.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(Ed(p,l.result))}),(0,J.jsx)("p",{className:"sekyro-text-muted",children:d}),z!==null?(0,J.jsx)("p",{className:"sekyro-text-muted","data-testid":"sekyro-result-nationality",children:z}):null]}),(0,J.jsx)(Ad,{step:l,t:c}),(0,J.jsx)(Td,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,J.jsx)("div",{className:"sekyro-actions",children:(0,J.jsx)(il,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(Nd,"Et");T(Nd,"VerificationResultScreen");function _d(l,e,t){let a=e?Cl.dark:Cl.light,n=e?Cl.roles.dark:Cl.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===Cl.font&&(c["--sekyro-font-display"]=Cl.fontDisplay);let o=e?jr.dark:jr.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),t!==null){let s=df[t];for(let y of["danger","success","warning","info"])c[`--sekyro-color-${y}-soft`]=s[y].soft,c[`--sekyro-color-${y}-fg`]=s[y].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(_d,"Br");T(_d,"flowRoles");function Md({verification:l}){let e=Nl(),[t,a]=(0,C.useState)({pending:!1,interactive:!1});return(0,C.useEffect)(()=>(a({pending:!1,interactive:!1}),l.on("browserCheck",n=>a({pending:n.pending,interactive:n.interactive===!0}))),[l]),t.interactive?typeof document>"u"?null:(0,fd.createPortal)((0,b.jsx)("p",{className:"sekyro-check-confirm",role:"status","aria-live":"polite",dir:e.locale==="ar"?"rtl":"ltr","data-testid":"sekyro-browser-check-confirm",children:e.t("common.securityCheckConfirm")}),document.body):t.pending?(0,b.jsxs)("p",{className:"sekyro-check-pending",role:"status","aria-live":"polite","data-testid":"sekyro-browser-check-pending",children:[(0,b.jsx)("span",{className:"sekyro-check-pending__spinner","aria-hidden":"true"}),e.t("common.securityCheckRunning")]}):null}i(Md,"Lr");T(Md,"BrowserCheckPending");function fi(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Jr(e);(0,C.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,C.useEffect)(()=>u===void 0?void 0:e.on("result",u),[e,u]);let o=vf(l.colorScheme??"light"),s=c?.context.branding,y=yf(s,l.theme,o),[p,h]=(0,C.useState)(!1),d=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,z=(0,C.useRef)(l.onClose);z.current=l.onClose;let A=(0,C.useRef)(c);A.current=c;let U=(0,C.useCallback)(()=>{let E=A.current;z.current?.(E?.kind==="result"?{reason:"finished",result:E.result}:{reason:"cancelled"})},[]),[m,r]=(0,C.useState)(null),v=(0,C.useCallback)(()=>{let E=A.current;E!==null&&E.kind!=="result"&&E.context.consentRecorded?r("close"):U()},[U]),g=(0,C.useMemo)(()=>e.reportCaptureIssue===void 0?null:E=>e.reportCaptureIssue?.(E),[e]);return(0,b.jsx)(ai,{theme:y,className:d,children:(0,b.jsx)(lf,{locale:t,...a!==void 0?{strings:a}:{},children:(0,b.jsx)("div",{dir:l.dir??(t==="ar"?"rtl":"ltr"),lang:t,className:"sekyro-flow",style:_d(y,o,hf(s,o,l.theme)),children:(0,b.jsx)(mr.Provider,{value:h,children:(0,b.jsx)(Fc.Provider,{value:l.onClose!==void 0?U:void 0,children:(0,b.jsx)(Iu.Provider,{value:l.onClose!==void 0?v:void 0,children:(0,b.jsxs)(gr.Provider,{value:g,children:[(0,b.jsx)(Hd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:U}),(0,b.jsx)(Md,{verification:e}),(0,b.jsx)(Cd,{open:m!==null,onStay:i(()=>{m==="history"&&ui(),r(null)},"onStay"),onLeave:i(()=>{let E=m;r(null),E==="close"||l.onClose!==void 0?U():typeof window<"u"&&bf()},"onLeave")})]})})})})})})})}i(fi,"Lt");T(fi,"SekyroVerification");function Od(l,e){if(e===void 0||e==="aml_screening")return null;let t=l,a=t[`session.processing.${e}.title`],n=t[`session.processing.${e}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(Od,"Or");T(Od,"processingCopyOf");function Ud({error:l,retry:e}){let{t}=Nl(),a=Fu();return(0,b.jsxs)($u,{tone:"danger",testId:"sekyro-error-notice",children:[(0,b.jsx)("span",{children:t(ir(l))}),l.retryable?(0,b.jsx)(il,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(Ud,"Vr");T(Ud,"CameraErrorNotice");var Dd="sekyroFlow";function gf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[Dd]===!0}i(gf,"qo");T(gf,"onGuard");function ui(){if(typeof window>"u"||gf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[Dd]:!0},"")}i(ui,"Rt");T(ui,"pushGuard");function bf(){window.history.back()}i(bf,"Yo");T(bf,"leaveHistory");function Cd({open:l,onStay:e,onLeave:t}){let{t:a}=Nl();return(0,b.jsx)(mf,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(il,{full:!0,onClick:e,children:a("leave.stay")}),(0,b.jsx)(il,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,b.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Cd,"Ar");T(Cd,"LeaveDialog");function kd(l,e){let[t,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 y=(0,C.useCallback)(()=>{if(o.current)return;let z=f.current;z!==void 0&&(o.current=!0,a(!0),u(null),z().catch(A=>u(e.t(qn(A,e.strings)))).finally(()=>{o.current=!1,a(!1)}))},[e]),p=(0,C.useCallback)(()=>u(null),[]),h=c!==void 0,d=e.t("sandbox.skipCapture");return(0,C.useMemo)(()=>h?{label:d,busy:t,failed:n,run:y,reset:p}:null,[h,d,t,n,y,p])}i(kd,"Fr");T(kd,"useSkipCapture");function Bd({skip:l}){return(0,b.jsxs)(b.Fragment,{children:[l.failed!==null?(0,b.jsx)(zl,{tone:"danger",children:(0,b.jsx)("span",{children:l.failed})}):null,(0,b.jsx)(il,{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(Bd,"Dr");T(Bd,"SkipAction");function Hd(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Nl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,y]=(0,C.useState)([]),p=(0,C.useCallback)(_=>(y(ol=>[...ol,_]),()=>y(ol=>ol.filter(Oe=>Oe!==_))),[]),[h,d]=(0,C.useState)(null),z=(0,C.useCallback)(_=>d(()=>_),[]),[A,U]=(0,C.useState)(0),[m,r]=(0,C.useState)(null),v=kd(e,u),g=e?.context.testerGate!==void 0,[E,M]=(0,C.useState)(!1),N=(0,C.useRef)(null);(0,C.useEffect)(()=>{!g||N.current!==null||(N.current=bd(),N.current&&M(!0))},[g]);let O=e?.context.purpose??"identity",D=e?.context.returning===!0,R=l.verification,Ll=O==="human"||e?.context.cameraUnavailableHandled===!0,wt=R.reportCameraUnavailable!==void 0&&Ll?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Qu=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,jl=l.handoffUrl,Xu=(0,C.useRef)({last:null,count:0}),Wt=(0,C.useCallback)((_,ol,Oe=!1)=>wt===void 0&&ol!=="denied"?void 0:(0,b.jsx)(Dl,{view:"NoCameraView",i18n:u,quiet:!0,cause:ol,onRetry:_,repeated:Oe,...Qu&&wt!==void 0?{onContinue:wt}:{},...jl!==void 0?{handoffUrl:jl}:{}}),[u,R,Ll,Qu,jl]),Da=(0,C.useMemo)(()=>_r(e),[e]),fe=(0,C.useCallback)((_,ol)=>(0,b.jsx)(Mr,{start:_,context:ol,human:O==="human",returning:D,notice:ol.permissionSettled&&ol.permission==="denied"?Wt(_,"denied"):void 0,...Da!==void 0?{retry:Da}:{}}),[O,D,Wt,Da]),Lu=(0,C.useCallback)((_,ol)=>{let Oe=tr(_.kind),Ju=Xu.current;_.kind==="permission"&&_!==Ju.last&&(Ju.last=_,Ju.count+=1);let zv=_.kind==="permission"&&Ju.count>1;return(Oe!==void 0?Wt(ol,Oe,zv):void 0)??(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Ud,{error:_,retry:ol}),Oe!==void 0&&jl!==void 0?(0,b.jsx)(Dl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:jl}):null]})},[Wt,jl,u]),mt=(0,C.useRef)(""),Ft=l.livenessProps?.slots?.stageOverlay,Bn=(0,C.useCallback)(_=>(_.guidance!==""&&!_.coached&&(mt.current=_.guidance),(0,b.jsx)(pr,{testId:"sekyro-capture-stage",video:(0,b.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:mt.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:Ft?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>U(ol=>ol+1),"onClose")},end:_.modeSwitch!=null?(0,b.jsx)(sr,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,b.jsx)(hr,{onStop:i(()=>U(ol=>ol+1),"onStop")})})),[c,Ft]),ju=(0,C.useId)(),Zu=e,Ca=e!==null&&m===e.key&&e.context.switchable!==void 0,Ve=qd({own:h,step:e,laneShown:Ca,laneOpen:e!==null&&e.context.switchable!==void 0&&typeof Zu?.chooseOption=="function",openLane:T(()=>e!==null&&r(e.key),"openLane")}),$t=(0,C.useRef)(Ve);$t.current=Ve;let Hn=(0,C.useRef)(e);Hn.current=e;let It=(0,C.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});It.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let ht=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!ht||typeof window>"u")return;ui();let _=T(()=>{if(gf())return;let ol=Hn.current,Oe=$t.current;Oe!==null?(Oe(),ui()):ol?.kind!=="result"&&ol?.context.consentRecorded===!0?It.current.ask():It.current.hostClose?It.current.closed():bf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[ht]),t!==null)return(0,b.jsx)($u,{tone:"danger",children:(0,b.jsx)("span",{children:c(qn(t,u.strings))})});if(e===null)return(0,b.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,b.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Yl}=e,Ku=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),Zc=a?.header??(0,b.jsx)(Yd,{context:Yl,headerId:ju,end:a?.headerEnd,back:Ve}),tl,ka=Ca;if(E&&l.verification.testerGate!==void 0)tl=(0,b.jsx)(Pc.Provider,{value:Bn,children:(0,b.jsx)(Dl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Yl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??fe},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>gd(),"onBound"),onDone:i(_=>{_&&Sd(),M(!1)},"onDone")})});else if(ka)tl=(0,b.jsx)(Dl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"phone_otp":tl=(0,b.jsx)(Wr,{step:e});break;case"email_otp":tl=(0,b.jsx)(Fr,{step:e});break;case"method":tl=(0,b.jsx)(Pr,{step:e});break;case"registry":tl=(0,b.jsx)(rf,{step:e});break;case"document":tl=(0,b.jsx)(td,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,ol={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??fe,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Lu}:{}},...A>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};tl=(0,b.jsx)(Pc.Provider,{value:Bn,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,b.jsx)(Dl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:ol,sekyroIntro:_===void 0},A):(0,b.jsx)(Tr,{...ol},A)});break}case"portrait":tl=(0,b.jsxs)(b.Fragment,{children:[e.retakeOnly?(0,b.jsx)(Dl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,b.jsx)(ud,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":tl=(0,b.jsx)(id,{step:e});break;case"form":tl=(0,b.jsx)(cd,{step:e});break;case"contact_choice":tl=(0,b.jsx)(Dl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":tl=(0,b.jsx)(Dl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":tl=(0,b.jsx)(Dl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let _=e.checkType==="doc_ocr"?c("handoff.lead.document"):e.checkType==="portrait_icao"?c("handoff.lead.portrait"):e.checkType==="poa"?c("handoff.lead.poa"):void 0;tl=l.handoffUrl!==void 0?(0,b.jsx)(Dl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,..._!==void 0?{lead:_}:{}}):(0,b.jsx)(Pu,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,b.jsx)(il,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Ku(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,b.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":tl=(0,b.jsx)(Dl,{view:"NativeAppView",i18n:u,org:Yl.orgName,nativeApp:e.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:e.refresh,footer:(0,b.jsx)(sf,{org:Yl.orgName})});break;case"processing":{let _=Od(u.strings,e.service);tl=(0,b.jsx)(Pu,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:e.stalled?(0,b.jsx)(il,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Ku(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,b.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":tl=(0,b.jsx)($r,{step:e});break;case"unsupported":{let _=e.reason==="platform_unsupported";tl=(0,b.jsx)(Pu,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,b.jsx)(sf,{org:Yl.orgName}),children:(0,b.jsx)("p",{children:_?Yl.orgName!==""?c("needsApp.description",{org:Yl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Yl.orgName})})});break}case"result":tl=a?.result?.(e)??(0,b.jsx)(xd,{step:e});break;default:{let _=e;tl=null}}let xn=!n&&!Yl.consentRecorded&&e.kind!=="result"?(0,b.jsx)(rd,{i18n:u,purpose:Yl.purpose}):null,F=v!==null&&!n&&!ka&&!E?(0,b.jsx)(Bd,{skip:v}):null,Gl=g&&!E&&!n&&!ka&&l.verification.testerGate!==void 0?(0,b.jsx)(Dl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>M(!0),"onOpen")}):null,Pt=F===null&&Gl===null?xn:(0,b.jsxs)(b.Fragment,{children:[Gl,F,xn]});return(0,b.jsx)(dr.Provider,{value:z,children:(0,b.jsx)($c.Provider,{value:v,children:(0,b.jsx)(Ur.Provider,{value:l.handoffUrl,children:(0,b.jsxs)(rr.Provider,{value:Pt===null?null:{node:Pt,owner:s[0]??null,claim:p},children:[n?null:Zc,!n&&e.kind!=="result"&&Yl.sections.length>1?(0,b.jsx)(Gd,{context:Yl,current:e.section,i18n:u}):null,(0,b.jsx)(vr,{pageKey:e.key,children:tl}),!n&&!ka&&e.kind!=="result"&&e.context.switchable!==void 0?(0,b.jsx)(Dl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?Pt:null,n?null:a?.footer!==void 0?a.footer:Yl.branding?.hideAttribution===!0?null:(0,b.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,b.jsx)(ze,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Hd,"Mr");T(Hd,"Body");function sf({org:l}){let{t:e}=Nl(),t=(0,C.useContext)(Fc);return t===void 0?null:(0,b.jsx)(il,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(sf,"zo");T(sf,"BackToOrg");function xd({step:l}){return(0,b.jsx)(Iu.Consumer,{children:i(e=>(0,b.jsx)(Nd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(xd,"Hr");T(xd,"ResultPage");function qd({own:l,step:e,laneShown:t,laneOpen:a,openLane:n}){return e===null||e.kind==="result"||e.kind==="processing"||l==="blocked"?null:l!==null?l.run:t?null:a?n:null}i(qd,"Ur");T(qd,"backOf");function Rd(l){let e=l.levelName??l.purpose;return e==="contact"?"shell.subtitleContact":e==="human"?"shell.subtitleHuman":"shell.subtitle"}i(Rd,"$r");T(Rd,"subtitleKeyOf");function Yd({context:l,headerId:e,end:t,back:a}){let{t:n}=Nl(),[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,b.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":e,children:(0,b.jsxs)("div",{className:"sekyro-org",children:[(0,b.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),disabled:a===null,"aria-disabled":a===null||void 0,onClick:a??void 0,"data-testid":"sekyro-back",children:(0,b.jsx)(ze,{name:"back"})}),(0,b.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,b.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):dd(l.orgName)}),(0,b.jsxs)("div",{className:"sekyro-org__text",children:[(0,b.jsx)("h1",{id:e,className:"sekyro-org__name",children:o}),(0,b.jsx)("p",{className:"sekyro-org__sub",children:n(Rd(l))})]}),l.sandbox?(0,b.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,t!=null?(0,b.jsx)("div",{className:"sekyro-org__end",children:t}):null,(0,b.jsx)(Iu.Consumer,{children:i(s=>s!==void 0?(0,b.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,b.jsx)(ze,{name:"close"})}):null,"children")})]})})}i(Yd,"Kr");T(Yd,"OrgHeader");function Gd({context:l,current:e,i18n:t}){let a=e===null?-1:l.sections.indexOf(e),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,b.jsx)("ol",{className:"sekyro-progress__bars","aria-label":t.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,b.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,b.jsx)("span",{className:"sekyro-visually-hidden",children:t.strings[`section.${c}`]??c})},c))})}i(Gd,"zr");T(Gd,"SectionProgress");function Vd(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Vd,"qr");T(Vd,"pageUrl");function Jv({hostedUrl:l,inAppBrowser:e,...t}){let[a,n]=(0,Gn.useState)(e===!0);(0,Gn.useEffect)(()=>{e===void 0&&Or()&&n(!0)},[e]);let[u,c]=(0,Gn.useState)(!1),f=vf(t.colorScheme??"light"),o=t.handoffUrl??l??Vd();return a&&!u?(0,aa.jsx)(nf,{theme:ti(yf(void 0,void 0,f),t.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${t.className!==void 0?` ${t.className}`:""}`,children:(0,aa.jsx)(lf,{locale:t.locale,...t.strings!==void 0?{strings:t.strings}:{},children:(0,aa.jsx)("div",{dir:t.dir??(t.locale==="ar"?"rtl":"ltr"),lang:t.locale,className:"sekyro-flow",children:(0,aa.jsx)(Qd,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,aa.jsx)(fi,{...t,...o!==""?{handoffUrl:o}:{}})}i(Jv,"Yr");T(Jv,"SekyroFlow");function Qd({url:l,onContinue:e}){let t=Nl();return(0,aa.jsx)(Dl,{view:"InAppBrowserPrompt",i18n:t,url:l,onContinue:e})}i(Qd,"Wr");T(Qd,"Prompt");var Rc=V(Sl(),1),yv=V(hv(),1);var vv=["ar","fr","en","es","pt","de"],Sg=["light","dark","system"];function zg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return vv.includes(l)?l:null}i(zg,"documentLocale");var Tg=typeof HTMLElement>"u"?class{}:HTMLElement;function Ag({node:l}){return(0,Rc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(Ag,"SlotNode");var dt,_e,Un,Ea,Na,Me,Dn,_a,Ma,Oa,Cn,Ua,kn,x,Jt,Ge,Gc,Vc,Qc,Xc,Lc,pv,rt,Ps,gv,Vu,bv,Sv,jc=class jc extends Tg{constructor(){super();hl(this,x);hl(this,dt,null);hl(this,_e,null);hl(this,Un,!1);hl(this,Ea,!1);hl(this,Na,null);hl(this,Me,null);hl(this,Dn,null);hl(this,_a,new Map);hl(this,Ma);hl(this,Oa);hl(this,Cn);hl(this,Ua);hl(this,kn);hl(this,Gc,i(t=>X(this,x,Ge).call(this,"sekyro-step",t),"#onStep"));hl(this,Vc,i(t=>X(this,x,Ge).call(this,"sekyro-result",t),"#onResult"));hl(this,Qc,i(t=>X(this,x,Ge).call(this,"sekyro-close",t),"#onClose"));hl(this,Xc,i(t=>X(this,x,Ge).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Lc,{onStateChange:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...tf.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,t)){let a=this[t];delete this[t],this[t]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(t){X(this,x,Jt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,x,Jt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&vv.includes(t)?t:null}set locale(t){X(this,x,Jt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&Sg.includes(t)?t:null}set colorScheme(t){X(this,x,Jt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,x,Jt).call(this,"asset-base-url",t)}get backNavigation(){let t=this.getAttribute("back-navigation");return t==="history"||t==="none"?t:null}set backNavigation(t){X(this,x,Jt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,x,Jt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return H(this,Na)??H(this,Me)}set verification(t){yl(this,Na,t??null),X(this,x,rt).call(this)}get strings(){return H(this,Ma)}set strings(t){yl(this,Ma,t??void 0),X(this,x,rt).call(this)}get theme(){return H(this,Oa)}set theme(t){yl(this,Oa,t??void 0),X(this,x,rt).call(this)}get livenessProps(){return H(this,Cn)}set livenessProps(t){yl(this,Cn,t??void 0),X(this,x,rt).call(this)}get documentLiveMrz(){return H(this,Ua)}set documentLiveMrz(t){yl(this,Ua,t??void 0),X(this,x,rt).call(this)}get voice(){return H(this,kn)}set voice(t){yl(this,kn,t===null?void 0:t),X(this,x,rt).call(this)}connectedCallback(){yl(this,Ea,!1),X(this,x,pv).call(this),(H(this,_e)===null||H(this,_e).parentNode!==this)&&(yl(this,_e,document.createElement("div")),H(this,_e).className="sekyro-elements-root",this.appendChild(H(this,_e))),H(this,dt)??yl(this,dt,(0,yv.createRoot)(H(this,_e))),X(this,x,rt).call(this)}disconnectedCallback(){yl(this,Ea,!0),queueMicrotask(()=>{!H(this,Ea)||this.isConnected||(yl(this,Ea,!1),X(this,x,Sv).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,x,rt).call(this)}};dt=new WeakMap,_e=new WeakMap,Un=new WeakMap,Ea=new WeakMap,Na=new WeakMap,Me=new WeakMap,Dn=new WeakMap,_a=new WeakMap,Ma=new WeakMap,Oa=new WeakMap,Cn=new WeakMap,Ua=new WeakMap,kn=new WeakMap,x=new WeakSet,Jt=i(function(t,a){a==null?this.removeAttribute(t):this.setAttribute(t,String(a))},"#reflect"),Ge=i(function(t,a){this.dispatchEvent(new CustomEvent(t,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Gc=new WeakMap,Vc=new WeakMap,Qc=new WeakMap,Xc=new WeakMap,Lc=new WeakMap,pv=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!Rr.some(n=>n.name===a)||(H(this,_a).set(a,t),t.remove())}},"#takeSlots"),rt=i(function(){H(this,Un)||(yl(this,Un,!0),queueMicrotask(()=>{yl(this,Un,!1),this.isConnected&&H(this,dt)!==null&&X(this,x,bv).call(this)}))},"#schedule"),Ps=i(function(){return this.locale??zg()??"en"},"#effectiveLocale"),gv=i(function(){if(H(this,Na)!==null)return X(this,x,Vu).call(this),H(this,Na);let t=this.clientToken;if(t===null||t==="")return X(this,x,Vu).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(H(this,Me)!==null&&H(this,Dn)===n)return H(this,Me);X(this,x,Vu).call(this);try{yl(this,Me,er({clientToken:t,locale:X(this,x,Ps).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Dn,n)}catch(u){return X(this,x,Ge).call(this,"sekyro-error",{error:u}),null}return X(this,x,Ge).call(this,"sekyro-ready",{verification:H(this,Me)}),H(this,Me)},"#currentVerification"),Vu=i(function(){H(this,Me)?.destroy(),yl(this,Me,null),yl(this,Dn,null)},"#dropOwned"),bv=i(function(){let t=X(this,x,gv).call(this);if(t===null){H(this,dt)?.render(null);return}let a=X(this,x,Ps).call(this),n=this.getAttribute("dir"),u=H(this,kn)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=H(this,_a).get(p);return h===void 0?void 0:(0,Rc.createElement)(Ag,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),y={verification:t,locale:a,onStep:H(this,Gc),onResult:H(this,Vc),onLivenessCaptured:H(this,Xc),livenessProps:{...H(this,Cn),...H(this,Lc)},...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,Ma)!==void 0?{strings:H(this,Ma)}:{},...H(this,Oa)!==void 0?{theme:H(this,Oa)}:{},...H(this,Ua)!==void 0?{documentLiveMrz:H(this,Ua)}:{},...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,dt)?.render((0,Rc.createElement)(fi,y))},"#render"),Sv=i(function(){H(this,dt)?.unmount(),yl(this,dt,null),H(this,_e)?.remove(),yl(this,_e,null),X(this,x,Vu).call(this);for(let t of H(this,_a).values())this.appendChild(t);H(this,_a).clear()},"#teardown"),i(jc,"SekyroVerificationElement"),lr(jc,"observedAttributes",tf.map(t=>t.name));var Yc=jc;function Ab(){return typeof customElements>"u"?!1:(customElements.get(ef)===void 0&&customElements.define(ef,Yc),!0)}i(Ab,"defineSekyroElements");export{ef as a,tf as b,Eg as c,Rr as d,Ng as e,Yc as f,Ab as g};
|
|
9
|
+
`).replace(Lp,"")}i(ih,"normalizeMarkupForTextOrAttribute");function Fy(l,e){return e=ih(e),ih(l)===e}i(Fy,"checkForUnmatchedText");function $(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||mn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&mn(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,t,a);break;case"style":Jh(l,a,u);break;case"data":if(e!=="object"){vi(l,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||t!=="href")){l.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ci(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(t,"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"&&(t==="formAction"?(e!=="input"&&$(l,e,"name",n.name,n,null),$(l,e,"formEncType",n.formEncType,n,null),$(l,e,"formMethod",n.formMethod,n,null),$(l,e,"formTarget",n.formTarget,n,null)):($(l,e,"encType",n.encType,n,null),$(l,e,"method",n.method,n,null),$(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Ci(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=lt);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(S(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(S(60));l.innerHTML=t}}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}t=Ci(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);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(t,""+a):l.removeAttribute(t);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(t,""):l.removeAttribute(t);break;case"capture":case"download":a===!0?l.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,a):l.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(t,a):l.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(t):l.setAttribute(t,a);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Di(l,"popover",a);break;case"xlinkActuate":Ke(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ke(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ke(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ke(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ke(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ke(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ke(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ke(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<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=b1.get(t)||t,Di(l,t,a))}}i($,"setProp");function Jo(l,e,t,a,n,u){switch(t){case"style":Jh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(S(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(S(60));l.innerHTML=t}}break;case"children":typeof a=="string"?mn(l,a):(typeof a=="number"||typeof a=="bigint")&&mn(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=lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qh.hasOwnProperty(t))l:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),e=t.slice(2,n?t.length-7:void 0),u=l[Fl]||null,u=u!=null?u[t]:null,typeof u=="function"&&l.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(t in l?l[t]=null:l.hasAttribute(t)&&l.removeAttribute(t)),l.addEventListener(e,a,n);break l}t in l?l[t]=a:a===!0?l.setAttribute(t,""):Di(l,t,a)}}}i(Jo,"setPropOnCustomElement");function Rl(l,e,t){switch(e){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 t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:$(l,e,u,c,t,null)}}n&&$(l,e,"srcSet",t.srcSet,t,null),a&&$(l,e,"src",t.src,t,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in t)if(t.hasOwnProperty(a)){var y=t[a];if(y!=null)switch(a){case"name":n=y;break;case"type":c=y;break;case"checked":o=y;break;case"defaultChecked":s=y;break;case"value":u=y;break;case"defaultValue":f=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(S(137,e));break;default:$(l,e,a,y,t,null)}}jh(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(f=t[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?nn(l,!!a,e,!1):t!=null&&nn(l,!!a,t,!0);return;case"textarea":Y("invalid",l),u=n=a=null;for(c in t)if(t.hasOwnProperty(c)&&(f=t[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(S(91));break;default:$(l,e,c,f,t,null)}Kh(l,a,n,u);return;case"option":for(o in t)if(t.hasOwnProperty(o)&&(a=t[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:$(l,e,o,a,t,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 t)if(t.hasOwnProperty(s)&&(a=t[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:$(l,e,s,a,t,null)}return;default:if(os(e)){for(y in t)t.hasOwnProperty(y)&&(a=t[y],a!==void 0&&Jo(l,e,y,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&$(l,e,f,a,t,null))}i(Rl,"setInitialProperties");function jp(l,e,t,a){switch(e){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,y=null;for(d in t){var p=t[d];if(t.hasOwnProperty(d)&&p!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(d)||$(l,e,d,null,a,p)}}for(var h in a){var d=a[h];if(p=t[h],a.hasOwnProperty(h)&&(d!=null||p!=null))switch(h){case"type":u=d;break;case"name":n=d;break;case"checked":s=d;break;case"defaultChecked":y=d;break;case"value":c=d;break;case"defaultValue":f=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(S(137,e));break;default:d!==p&&$(l,e,h,d,a,p)}}go(l,c,f,o,s,y,u,n);return;case"select":d=c=f=h=null;for(u in t)if(o=t[u],t.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":d=o;default:a.hasOwnProperty(u)||$(l,e,u,null,a,o)}for(n in a)if(u=a[n],o=t[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,e,n,u,a,o)}e=f,t=c,a=d,h!=null?nn(l,!!t,h,!1):!!a!=!!t&&(e!=null?nn(l,!!t,e,!0):nn(l,!!t,t?[]:"",!1));return;case"textarea":d=h=null;for(f in t)if(n=t[f],t.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,e,f,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":h=n;break;case"defaultValue":d=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(S(91));break;default:n!==u&&$(l,e,c,n,a,u)}Zh(l,h,d);return;case"option":for(var z in t)if(h=t[z],t.hasOwnProperty(z)&&h!=null&&!a.hasOwnProperty(z))switch(z){case"selected":l.selected=!1;break;default:$(l,e,z,null,a,h)}for(o in a)if(h=a[o],d=t[o],a.hasOwnProperty(o)&&h!==d&&(h!=null||d!=null))switch(o){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:$(l,e,o,h,a,d)}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 A in t)h=t[A],t.hasOwnProperty(A)&&h!=null&&!a.hasOwnProperty(A)&&$(l,e,A,null,a,h);for(s in a)if(h=a[s],d=t[s],a.hasOwnProperty(s)&&h!==d&&(h!=null||d!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(S(137,e));break;default:$(l,e,s,h,a,d)}return;default:if(os(e)){for(var U in t)h=t[U],t.hasOwnProperty(U)&&h!==void 0&&!a.hasOwnProperty(U)&&Jo(l,e,U,void 0,a,h);for(y in a)h=a[y],d=t[y],!a.hasOwnProperty(y)||h===d||h===void 0&&d===void 0||Jo(l,e,y,h,a,d);return}}for(var m in t)h=t[m],t.hasOwnProperty(m)&&h!=null&&!a.hasOwnProperty(m)&&$(l,e,m,null,a,h);for(p in a)h=a[p],d=t[p],!a.hasOwnProperty(p)||h===d||h==null&&d==null||$(l,e,p,h,a,d)}i(jp,"updateProperties");function ch(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(ch,"isLikelyStaticResource");function Zp(){if(typeof performance.getEntriesByType=="function"){for(var l=0,e=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&ch(c)){for(c=0,f=n.responseEnd,a+=1;a<t.length;a++){var o=t[a],s=o.startTime;if(s>f)break;var y=o.transferSize,p=o.initiatorType;y&&ch(p)&&(o=o.responseEnd,c+=y*(o<f?1:(f-s)/(o-s)))}if(--a,e+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return e/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}i(Zp,"estimateBandwidth");var wo=null,Wo=null;function hc(l){return l.nodeType===9?l:l.ownerDocument}i(hc,"getOwnerDocumentFromRootContainer");function fh(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(fh,"getOwnHostContext");function $y(l,e){if(l===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&e==="foreignObject"?0:l}i($y,"getChildHostContextProd");function Fo(l,e){return l==="textarea"||l==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}i(Fo,"shouldSetTextContent");var uo=null;function Kp(){var l=window.event;return l&&l.type==="popstate"?l===uo?!1:(uo=l,!0):(uo=null,!1)}i(Kp,"shouldAttemptEagerTransition");var Iy=typeof setTimeout=="function"?setTimeout:void 0,Jp=typeof clearTimeout=="function"?clearTimeout:void 0,oh=typeof Promise=="function"?Promise:void 0,wp=typeof queueMicrotask=="function"?queueMicrotask:typeof oh<"u"?function(l){return oh.resolve(null).then(l).catch(Wp)}:Iy;function Wp(l){setTimeout(function(){throw l})}i(Wp,"handleErrorInNextTick");function Kt(l){return l==="head"}i(Kt,"isSingletonScope");function sh(l,e){var t=e,a=0;do{var n=t.nextSibling;if(l.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){l.removeChild(n),zn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")mu(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,mu(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[ku]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&mu(l.ownerDocument.body);t=n}while(t);zn(e)}i(sh,"clearHydrationBoundary");function rh(l,e){var t=l;l=0;do{var a=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(l===0)break;l--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||l++;t=a}while(t)}i(rh,"hideOrUnhideDehydratedBoundary");function $o(l){var e=l.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":$o(t),fs(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i($o,"clearContainerSparingly");function Fp(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[ku])switch(e){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(e==="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=be(l.nextSibling),l===null)break}return null}i(Fp,"canHydrateInstance");function $p(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=be(l.nextSibling),l===null))return null;return l}i($p,"canHydrateTextInstance");function Py(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=be(l.nextSibling),l===null))return null;return l}i(Py,"canHydrateHydrationBoundary");function Io(l){return l.data==="$?"||l.data==="$~"}i(Io,"isSuspenseInstancePending");function Po(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(Po,"isSuspenseInstanceFallback");function Ip(l,e){var t=l.ownerDocument;if(l.data==="$~")l._reactRetry=e;else if(l.data!=="$?"||t.readyState!=="loading")e();else{var a=i(function(){e(),t.removeEventListener("DOMContentLoaded",a)},"listener");t.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}i(Ip,"registerSuspenseInstanceRetry");function be(l){for(;l!=null;l=l.nextSibling){var e=l.nodeType;if(e===1||e===3)break;if(e===8){if(e=l.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return l}i(be,"getNextHydratable");var ls=null;function dh(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return be(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(dh,"getNextHydratableInstanceAfterHydrationBoundary");function mh(l){l=l.previousSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return l;e--}else t!=="/$"&&t!=="/&"||e++}l=l.previousSibling}return null}i(mh,"getParentHydrationBoundary");function lv(l,e,t){switch(e=hc(t),l){case"html":if(l=e.documentElement,!l)throw Error(S(452));return l;case"head":if(l=e.head,!l)throw Error(S(453));return l;case"body":if(l=e.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}i(lv,"resolveSingletonInstance");function mu(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);fs(l)}i(mu,"releaseSingletonInstance");var Se=new Map,hh=new Set;function yc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(yc,"getHoistableRoot");var st=Z.d;Z.d={f:Pp,r:lg,D:eg,C:tg,L:ag,m:ng,X:ig,S:ug,M:cg};function Pp(){var l=st.f(),e=kc();return l||e}i(Pp,"flushSyncWork");function lg(l){var e=An(l);e!==null&&e.tag===5&&e.type==="form"?J0(e):st.r(l)}i(lg,"requestFormReset");var Mn=typeof document>"u"?null:document;function ev(l,e,t){var a=Mn;if(a&&typeof e=="string"&&e){var n=ye(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),hh.has(n)||(hh.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Rl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(ev,"preconnectAs");function eg(l){st.D(l),ev("dns-prefetch",l,null)}i(eg,"prefetchDNS");function tg(l,e){st.C(l,e),ev("preconnect",l,e)}i(tg,"preconnect");function ag(l,e,t){st.L(l,e,t);var a=Mn;if(a&&l&&e){var n='link[rel="preload"][as="'+ye(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+ye(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+ye(t.imageSizes)+'"]')):n+='[href="'+ye(l)+'"]';var u=n;switch(e){case"style":u=Sn(l);break;case"script":u=On(l)}Se.has(u)||(l=ul({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),Se.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Yu(u))||e==="script"&&a.querySelector(Gu(u))||(e=a.createElement("link"),Rl(e,"link",l),Ol(e),a.head.appendChild(e)))}}i(ag,"preload");function ng(l,e){st.m(l,e);var t=Mn;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+ye(a)+'"][href="'+ye(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=On(l)}if(!Se.has(u)&&(l=ul({rel:"modulepreload",href:l},e),Se.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Gu(u)))return}a=t.createElement("link"),Rl(a,"link",l),Ol(a),t.head.appendChild(a)}}}i(ng,"preloadModule");function ug(l,e,t){st.S(l,e,t);var a=Mn;if(a&&l){var n=an(a).hoistableStyles,u=Sn(l);e=e||"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":e},t),(t=Se.get(u))&&Js(l,t);var o=c=a.createElement("link");Ol(o),Rl(o,"link",l),o._p=new Promise(function(s,y){o.onload=s,o.onerror=y}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Qi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(ug,"preinitStyle");function ig(l,e){st.X(l,e);var t=Mn;if(t&&l){var a=an(t).hoistableScripts,n=On(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0},e),(e=Se.get(n))&&ws(l,e),u=t.createElement("script"),Ol(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(ig,"preinitScript");function cg(l,e){st.M(l,e);var t=Mn;if(t&&l){var a=an(t).hoistableScripts,n=On(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0,type:"module"},e),(e=Se.get(n))&&ws(l,e),u=t.createElement("script"),Ol(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(cg,"preinitModuleScript");function yh(l,e,t,a){var n=(n=kt.current)?yc(n):null;if(!n)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=Sn(t.href),t=an(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){l=Sn(t.href);var u=an(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),Se.has(l)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Se.set(l,t),u||fg(n,l,t,c.state))),e&&a===null)throw Error(S(528,""));return c}if(e&&a!==null)throw Error(S(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=On(t),t=an(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}i(yh,"getResource");function Sn(l){return'href="'+ye(l)+'"'}i(Sn,"getStyleKey");function Yu(l){return'link[rel="stylesheet"]['+l+"]"}i(Yu,"getStylesheetSelectorFromKey");function tv(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i(tv,"stylesheetPropsFromRawProps");function fg(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Rl(e,"link",t),Ol(e),l.head.appendChild(e))}i(fg,"preloadStylesheet");function On(l){return'[src="'+ye(l)+'"]'}i(On,"getScriptKey");function Gu(l){return"script[async]"+l}i(Gu,"getScriptSelectorFromKey");function vh(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+ye(t.href)+'"]');if(a)return e.instance=a,Ol(a),a;var n=ul({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Rl(a,"style",n),Qi(a,t.precedence,l),e.instance=a;case"stylesheet":n=Sn(t.href);var u=l.querySelector(Yu(n));if(u)return e.state.loading|=4,e.instance=u,Ol(u),u;a=tv(t),(n=Se.get(n))&&Js(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}),Rl(u,"link",a),e.state.loading|=4,Qi(u,t.precedence,l),e.instance=u;case"script":return u=On(t.src),(n=l.querySelector(Gu(u)))?(e.instance=n,Ol(n),n):(a=t,(n=Se.get(u))&&(a=ul({},t),ws(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ol(n),Rl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(S(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Qi(a,t.precedence,l));return e.instance}i(vh,"acquireResource");function Qi(l,e,t){for(var a=t.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===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(l,e.firstChild))}i(Qi,"insertStylesheet");function Js(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Js,"adoptPreloadPropsForStylesheet");function ws(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(ws,"adoptPreloadPropsForScript");var Xi=null;function ph(l,e,t){if(Xi===null){var a=new Map,n=Xi=new Map;n.set(t,a)}else n=Xi,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var u=t[n];if(!(u[ku]||u[Hl]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=l+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}i(ph,"getHydratableHoistableCache");function gh(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(gh,"mountHoistable");function og(l,e,t){if(t===1||e.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return l=e.disabled,typeof e.precedence=="string"&&l==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}i(og,"isHostHoistableType");function av(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(av,"preloadResource");function sg(l,e,t,a){if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Sn(a.href),u=e.querySelector(Yu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=vc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ol(u);return}u=e.ownerDocument||e,a=tv(a),(n=Se.get(n))&&Js(a,n),u=u.createElement("link"),Ol(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=vc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(sg,"suspendResource");var io=0;function rg(l,e){return l.stylesheets&&l.count===0&&Li(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Li(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&io===0&&(io=62500*Zp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Li(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>io?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(rg,"waitForCommitToBeReady");function vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Li(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(vc,"onUnsuspend");var pc=null;function Li(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,pc=new Map,e.forEach(dg,l),pc=null,vc.call(l))}i(Li,"insertSuspendedStylesheets");function dg(l,e){if(!(e.state.loading&4)){var t=pc.get(l);if(t)var a=t.get(null);else{t=new Map,pc.set(l,t);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")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),u=t.get(c)||a,u===a&&t.set(null,n),t.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)),e.state.loading|=4}}i(dg,"insertStylesheetIntoRoot");var Nu={$$typeof:Pe,Provider:null,Consumer:null,_currentValue:oa,_currentValue2:oa,_threadCount:0};function mg(l,e,t,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=kf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kf(0),this.hiddenUpdates=kf(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(mg,"FiberRootNode");function nv(l,e,t,a,n,u,c,f,o,s,y,p){return l=new mg(l,e,t,c,o,s,y,p,f),e=1,u===!0&&(e|=24),u=le(3,null,null,e),l.current=u,u.stateNode=l,e=Ss(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},As(u),l}i(nv,"createFiberRoot");function uv(l){return l?(l=Pa,l):Pa}i(uv,"getContextForSubtree");function iv(l,e,t,a,n,u){n=uv(n),a.context===null?a.context=n:a.pendingContext=n,a=Ht(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=xt(l,a,e),t!==null&&(Wl(t,l,e),uu(t,l,e))}i(iv,"updateContainerImpl");function bh(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(bh,"markRetryLaneImpl");function Ws(l,e){bh(l,e),(l=l.alternate)&&bh(l,e)}i(Ws,"markRetryLaneIfNotHydrated");function cv(l){if(l.tag===13||l.tag===31){var e=Ta(l,67108864);e!==null&&Wl(e,l,67108864),Ws(l,67108864)}}i(cv,"attemptContinuousHydration");function Sh(l){if(l.tag===13||l.tag===31){var e=ue();e=is(e);var t=Ta(l,e);t!==null&&Wl(t,l,e),Ws(l,e)}}i(Sh,"attemptHydrationAtCurrentPriority");var gc=!0;function hg(l,e,t,a){var n=B.T;B.T=null;var u=Z.p;try{Z.p=2,Fs(l,e,t,a)}finally{Z.p=u,B.T=n}}i(hg,"dispatchDiscreteEvent");function yg(l,e,t,a){var n=B.T;B.T=null;var u=Z.p;try{Z.p=8,Fs(l,e,t,a)}finally{Z.p=u,B.T=n}}i(yg,"dispatchContinuousEvent");function Fs(l,e,t,a){if(gc){var n=es(a);if(n===null)no(l,e,a,bc,t),zh(l,a);else if(pg(n,l,e,t,a))a.stopPropagation();else if(zh(l,a),e&4&&-1<vg.indexOf(l)){for(;n!==null;){var u=An(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ia(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-ne(c);f.entanglements[1]|=o,c&=~o}Ye(u),(j&6)===0&&(fc=te()+500,Ru(0,!1))}}break;case 31:case 13:f=Ta(u,2),f!==null&&Wl(f,u,2),kc(),Ws(u,2)}if(u=es(a),u===null&&no(l,e,a,bc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else no(l,e,a,null,t)}}i(Fs,"dispatchEvent");function es(l){return l=ss(l),$s(l)}i(es,"findInstanceBlockingEvent");var bc=null;function $s(l){if(bc=null,l=Ja(l),l!==null){var e=Ou(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=Mh(e),l!==null)return l;l=null}else if(t===31){if(l=Oh(e),l!==null)return l;l=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;l=null}else e!==l&&(l=null)}}return bc=l,null}i($s,"findInstanceBlockingTarget");function fv(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(a1()){case kh:return 2;case Bh:return 8;case wi:case n1:return 32;case Hh:return 268435456;default:return 32}default:return 32}}i(fv,"getEventPriority");var ts=!1,Yt=null,Gt=null,Vt=null,_u=new Map,Mu=new Map,_t=[],vg="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 zh(l,e){switch(l){case"focusin":case"focusout":Yt=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Vt=null;break;case"pointerover":case"pointerout":_u.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mu.delete(e.pointerId)}}i(zh,"clearIfContinuousEvent");function wn(l,e,t,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=An(e),e!==null&&cv(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i(wn,"accumulateOrCreateContinuousQueuedReplayableEvent");function pg(l,e,t,a,n){switch(e){case"focusin":return Yt=wn(Yt,l,e,t,a,n),!0;case"dragenter":return Gt=wn(Gt,l,e,t,a,n),!0;case"mouseover":return Vt=wn(Vt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return _u.set(u,wn(_u.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Mu.set(u,wn(Mu.get(u)||null,l,e,t,a,n)),!0}return!1}i(pg,"queueIfContinuousEvent");function ov(l){var e=Ja(l.target);if(e!==null){var t=Ou(e);if(t!==null){if(e=t.tag,e===13){if(e=Mh(t),e!==null){l.blockedOn=e,nm(l.priority,function(){Sh(t)});return}}else if(e===31){if(e=Oh(t),e!==null){l.blockedOn=e,nm(l.priority,function(){Sh(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){l.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}l.blockedOn=null}i(ov,"attemptExplicitHydrationTarget");function ji(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=es(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);So=a,t.target.dispatchEvent(a),So=null}else return e=An(t),e!==null&&cv(e),l.blockedOn=t,!1;e.shift()}return!0}i(ji,"attemptReplayContinuousQueuedEvent");function Th(l,e,t){ji(l)&&t.delete(e)}i(Th,"attemptReplayContinuousQueuedEventInMap");function gg(){ts=!1,Yt!==null&&ji(Yt)&&(Yt=null),Gt!==null&&ji(Gt)&&(Gt=null),Vt!==null&&ji(Vt)&&(Vt=null),_u.forEach(Th),Mu.forEach(Th)}i(gg,"replayUnblockedEvents");function Oi(l,e){l.blockedOn===e&&(l.blockedOn=null,ts||(ts=!0,El.unstable_scheduleCallback(El.unstable_NormalPriority,gg)))}i(Oi,"scheduleCallbackIfUnblocked");var Ui=null;function Ah(l){Ui!==l&&(Ui=l,El.unstable_scheduleCallback(El.unstable_NormalPriority,function(){Ui===l&&(Ui=null);for(var e=0;e<l.length;e+=3){var t=l[e],a=l[e+1],n=l[e+2];if(typeof a!="function"){if($s(a||t)===null)continue;break}var u=An(t);u!==null&&(l.splice(e,3),e-=3,qo(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(Ah,"scheduleReplayQueueIfNeeded");function zn(l){function e(o){return Oi(o,l)}i(e,"unblock"),Yt!==null&&Oi(Yt,l),Gt!==null&&Oi(Gt,l),Vt!==null&&Oi(Vt,l),_u.forEach(e),Mu.forEach(e);for(var t=0;t<_t.length;t++){var a=_t[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<_t.length&&(t=_t[0],t.blockedOn===null);)ov(t),t.blockedOn===null&&_t.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[Fl]||null;if(typeof u=="function")c||Ah(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Fl]||null)f=c.formAction;else if($s(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),Ah(t)}}}i(zn,"retryIfBlockedOn");function sv(){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 e(){n!==null&&(n(),n=null),a||setTimeout(t,20)}i(e,"handleNavigateComplete");function t(){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(t,"startFakeNavigation"),typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}i(sv,"defaultOnDefaultTransitionIndicator");function Is(l){this._internalRoot=l}i(Is,"ReactDOMRoot");xc.prototype.render=Is.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(S(409));var t=e.current,a=ue();iv(t,a,l,e,null,null)};xc.prototype.unmount=Is.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;iv(l.current,2,null,l,null,null),kc(),e[Tn]=null}};function xc(l){this._internalRoot=l}i(xc,"ReactDOMHydrationRoot");xc.prototype.unstable_scheduleHydration=function(l){if(l){var e=Gh();l={blockedOn:null,target:l,priority:e};for(var t=0;t<_t.length&&e!==0&&e<_t[t].priority;t++);_t.splice(t,0,l),t===0&&ov(l)}};var Eh=Nh.version;if(Eh!=="19.2.0")throw Error(S(527,Eh,"19.2.0"));Z.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=Fv(e),l=l!==null?Uh(l):null,l=l===null?null:l.stateNode,l};var bg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Wn.isDisabled&&Wn.supportsFiber))try{Uu=Wn.inject(bg),ae=Wn}catch{}var Wn;qc.createRoot=function(l,e){if(!_h(l))throw Error(S(299));var t=!1,a="",n=ey,u=ty,c=ay;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=nv(l,1,!1,null,null,t,a,null,n,u,c,sv),l[Tn]=e.current,Ks(l),new Is(e)};qc.hydrateRoot=function(l,e,t){if(!_h(l))throw Error(S(299));var a=!1,n="",u=ey,c=ty,f=ay,o=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.formState!==void 0&&(o=t.formState)),e=nv(l,1,!0,e,t??null,a,n,o,u,c,f,sv),e.context=uv(null),t=e.current,a=ue(),a=is(a),n=Ht(a),n.callback=null,xt(t,n,a),t=a,e.current.lanes=t,Cu(e,t),Ye(e),l[Tn]=e.current,Ks(l),new xc(e)};qc.version="19.2.0"});var hv=wu((mb,mv)=>{"use strict";function dv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dv)}catch(l){console.error(l)}}i(dv,"checkDCE");dv(),mv.exports=rv()});var ef="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."}],Eg=[{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."}],Rr=[{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.'}],Ng=[{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 af=V(Vl(),1);var Cl={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:{...Cl.light},radius:Cl.radiusLg,fontFamily:Cl.font},Yr={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 Vr(l={}){let e={};for(let t of Object.keys(Yr))e[Yr[t]]=l.colors?.[t]??Rn.colors[t];return e["--sekyro-radius"]=l.radius??Rn.radius,e["--sekyro-font"]=l.fontFamily??Rn.fontFamily,e}i(Vr,"S");T(Vr,"themeToCssVars");var Tv=/^#[0-9a-f]{6}$/i,Av=["brand","brandFg","bg","surface","fg","fgMuted"],Ev=["danger","success","warning"],Gr=!1;function li(l){let e=l?.colors;if(l===void 0||e===void 0||!Ev.some(c=>c in e))return l;!Gr&&Sr()&&(Gr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:t,success:a,warning:n,...u}=e;return{...l,colors:u}}i(li,"p");T(li,"stripDeprecatedStatusColors");var Nv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},_v={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function ei(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of Av){let f=a[c];f!==void 0&&Tv.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=Nv[l.radius];n&&(e.radius=n);let u=_v[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${Rn.fontFamily}`:Rn.fontFamily),e}i(ei,"x");T(ei,"brandingToTheme");function ti(...l){let e={};for(let t of l)t?.colors&&(e.colors={...e.colors,...t.colors}),t?.radius&&(e.radius=t.radius),t?.fontFamily&&(e.fontFamily=t.fontFamily);return e}i(ti,"I");T(ti,"mergeThemes");function nf({theme:l,children:e,className:t}){return(0,af.jsx)(ai,{theme:li(l),...t!==void 0?{className:t}:{},children:e})}i(nf,"C");T(nf,"SekyroThemeProvider");function ai({theme:l,children:e,className:t}){let a=Vr(l);return(0,af.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(ai,"R");T(ai,"SekyroThemeRoot");var Yn=V(Sl(),1),kl=V(Sl(),1),k=V(Vl(),1),vt=V(Sl(),1),Qe=V(Vl(),1),pt=V(Sl(),1),Xe=V(Vl(),1),Ir=V(Sl(),1),Ha=V(Vl(),1);var xa=V(Sl(),1),P=V(Vl(),1);var oe=V(Sl(),1);var je=V(Sl(),1),Tl=V(Vl(),1),Te=V(Vl(),1);var _l=V(Sl(),1),K=V(Vl(),1),gt=V(Sl(),1),Ue=V(Vl(),1),bt=V(Sl(),1),De=V(Vl(),1);var C=V(Sl(),1),fd=V(or(),1),ii=V(Sl(),1),yt=V(Sl(),1),Ce=V(Vl(),1),Le=V(Vl(),1),md=V(Sl(),1),Ra=V(Sl(),1),J=V(Vl(),1),b=V(Vl(),1),Gn=V(Sl(),1),aa=V(Vl(),1);function Jr(l){let[e,t]=(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&&t(f)});return l.run().then(f=>{u&&t(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:e,error:a}}i(Jr,"ut");T(Jr,"useVerificationStep");var Qr=T((l,e,t)=>{if(l===void 0)return 0;let a=Date.parse(l)-e;return Number.isFinite(a)?Math.min(t,Math.max(0,Math.ceil(a/1e3))):0},"secondsUntil"),Mv=600,Ov=30,Uv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Dv=["whatsapp","sms"],Xr=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 wr(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??Dr(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(wr,"dn");T(wr,"phoneCountriesOf");function Wr({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Nl(e,t),{t:f}=c,o=(0,kl.useMemo)(()=>wr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",y=l.phoneInternational===!0,p=kr({countries:o,international:y,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,d]=(0,kl.useState)(""),[z,A]=(0,kl.useState)(!1),[U,m]=(0,kl.useState)(null),[r,v]=(0,kl.useState)(null),[g,E]=(0,kl.useState)(!1),[M,N]=(0,kl.useState)(null),O=(0,kl.useRef)(null),D=l.phase==="verify"&&!g,R=l.phase==="verify",Ll=qr(R),[wt,Qu]=Hr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>d("")),jl=(0,kl.useId)(),Xu=(0,kl.useRef)(null);(0,kl.useEffect)(()=>{let F=setTimeout(()=>Xu.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(F)},[D]);let Wt=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,kl.useEffect)(()=>{Wt!==null&&(E(!1),O.current!==null&&!Xr.has(l.reason??"")&&N(O.current),O.current=null)},[Wt]);let Da=T(async F=>{A(!0),v(null);try{await F()}catch(Gl){v(qn(Gl,c.strings)),u?.(Gl)}finally{A(!1),m(null)}},"run"),fe=Dv.filter(F=>(l.channels??[]).includes(F)),Lu=p.typed,mt=!l.needsPhone||Lu!==null,Ft=T((F,Gl=!1)=>{let Pt=l.needsPhone?Gl?M:{number:Lu??p.phone,shown:p.shown}:null;O.current=Pt,m(F??null),Da(async()=>{try{await l.send({...Pt!==null?{phone:Pt.number}:{},...F!==void 0?{channel:F}:{}})}catch(_){throw O.current=null,_}})},"send"),Bn=T(F=>{Da(()=>l.verify(F))},"submitCode"),ju=T(F=>{F.preventDefault(),D?Bn(h):fe.length<=1&&mt&&Ft(fe[0])},"onSubmit"),Zu=`${jl}-phone`,Ca=Qr(l.codeExpiresAt,Ll,Mv),Ve=Qr(l.resendAvailableAt,Ll,Ov),$t=D&&l.codeExpiresAt!==void 0&&Ca===0,Hn=l.needsPhone&&!l.attemptsExhausted,It=R&&(l.codeExpiresAt===void 0||Ca>0);Wc(D&&Hn?()=>E(!0):g&&It?()=>E(!1):null,z);let ht=T(F=>f(F==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Yl=T(F=>z&&U!==null&&U===F,"busyFor"),[Ku,Zc]=f("otp.sentTo",{channel:ht(l.channel)}).split("{number}"),tl=l.context.simulation?.otpCode,ka=l.reason==="otp_mismatch"?(0,k.jsxs)(zl,{tone:"danger",children:[(0,k.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,k.jsx)("span",{children:Ic(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Xr.has(l.reason)?(0,k.jsx)(zl,{tone:"warning",children:(0,k.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,k.jsx)(zl,{tone:"warning",children:(0,k.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,xn=(0,k.jsxs)(k.Fragment,{children:[ka,r!==null?(0,k.jsx)(zl,{tone:"danger",children:(0,k.jsx)("span",{children:f(r)})}):null]});if(D){let F=fe.length===0;return(0,k.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,k.jsx)(ea,{id:jl,title:f("otp.verifyTitle"),lead:tl!==void 0?(0,k.jsx)(yr,{template:f("sandbox.otpHint"),code:tl}):(0,k.jsxs)(k.Fragment,{children:[Ku,(0,k.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:M?.shown??l.sentToMasked}),Zc]})}),xn,(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:`${jl}-code`,children:f("otp.codeLabel")}),(0,k.jsx)(xr,{id:`${jl}-code`,value:h,invalid:wt,onChange:i(Gl=>{Gl!==""&&Qu(),d(Gl),Gl.length===6&&h.length!==6&&!z&&!l.attemptsExhausted&&Bn(Gl)},"onChange")}),(0,k.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${$t?" is-danger":""}`,"aria-hidden":!$t||void 0,children:$t?f("otp.expired"):f("otp.expiresIn",{time:Uv(Ca)})})]}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:$t?f("otp.expired"):""}),(0,k.jsxs)(ta,{children:[(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||h.length!==6||l.attemptsExhausted,"aria-busy":z||void 0,children:f("otp.verify")}),(0,k.jsxs)("div",{className:"sekyro-resend-row",children:[F?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z||Ve>0,onClick:i(()=>Ft(void 0,!0),"onClick"),children:Ve>0?f("otp.resendIn",{seconds:Ve}):f("otp.resend")}):Ve>0?(0,k.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:Ve})}):fe.map(Gl=>(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>Ft(Gl,!0),"onClick"),children:f("otp.resendBy",{channel:ht(Gl)})},Gl)),Hn?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>E(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,k.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,k.jsx)(ea,{id:jl,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),xn,l.needsPhone?(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:Zu,children:f("otp.phoneLabel")}),(0,k.jsx)(Br,{field:p,id:Zu,locale:c.locale,t:f,inputRef:Xu,ready:mt})]}):(0,k.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,k.jsxs)(ta,{children:[fe.length===1?(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||!mt,"aria-busy":Yl(fe[0])||void 0,children:f("otp.sendBy",{channel:ht(fe[0])})}):fe.length>1?(0,k.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,k.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,k.jsx)("div",{className:"sekyro-channel-row",children:fe.map(F=>(0,k.jsxs)(il,{kind:"primary",disabled:z||!mt,"aria-busy":Yl(F)||void 0,onClick:i(()=>Ft(F),"onClick"),children:[(0,k.jsx)(ze,{name:F}),ht(F)]},F))})]}):(0,k.jsx)(il,{type:"submit",full:!0,disabled:z||!mt,"aria-busy":z||void 0,children:f("otp.send")}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:z&&U!==null?f("otp.sending",{channel:ht(U)}):""}),g&&It?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>E(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Wr,"dt");T(Wr,"PhoneOtpStep");var Cv={load:T(()=>import("./email-otp-view-WVQSVKW4-UAEN7WJP.js"),"load")};function Fr({locale:l,strings:e,...t}){let a=Nl(l,e),[n,u]=(0,vt.useState)(0),c=(0,vt.useMemo)(()=>(0,vt.lazy)(()=>Cv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Qe.jsxs)(zl,{tone:"danger",children:[(0,Qe.jsx)("span",{children:a.t("errors.network_error")}),(0,Qe.jsx)(il,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Qe.jsx)(Ba,{fallback:f,children:(0,Qe.jsx)(vt.Suspense,{fallback:(0,Qe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Qe.jsx)(c,{...t,i18n:a})})},n)}i(Fr,"pt");T(Fr,"EmailOtpStep");var kv={load:T(()=>import("./eid-view-I7JWDMJ4-NLMOCQTP.js"),"load")};function $r({locale:l,strings:e,...t}){let a=Nl(l,e),[n,u]=(0,pt.useState)(0),c=(0,pt.useMemo)(()=>(0,pt.lazy)(()=>kv.load().then(o=>({default:o.EidView}))),[n]),f=(0,Xe.jsxs)(zl,{tone:"danger",children:[(0,Xe.jsx)("span",{children:a.t("errors.network_error")}),(0,Xe.jsx)(il,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Xe.jsx)(Ba,{fallback:f,children:(0,Xe.jsx)(pt.Suspense,{fallback:(0,Xe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Xe.jsx)(c,{...t,i18n:a})})},n)}i($r,"mt");T($r,"EidStep");function Pr({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),{busy:c,error:f,run:o}=Nr(u,n),s=(0,Ir.useMemo)(()=>l.choice.options.flatMap(p=>{let h=Er(p,u),d=Ar[p.service];return h===null?[]:[{id:p.id,label:h,glyph:d&&(0,Ha.jsx)(ze,{name:d})}]}),[l.choice.options,u]),y=l.choice.options.find(p=>p.service==="national_eid");return(0,Ha.jsxs)("div",{className:a,children:[(0,Ha.jsx)(br,{title:u.t("method.heading"),description:u.t("method.lead"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),y?.nationalEid?.afterPass==="continue"?(0,Ha.jsx)(Dl,{view:"EidContinueHint",i18n:u,provider:y.nationalEid.providerName,quiet:!0}):null]})}i(Pr,"yt");T(Pr,"MethodChoice");var Bv=new Set(["nni_not_found","registry_record_not_found"]),Hv=new Set(["nni_invalid","id_number_invalid"]);function rf({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),{t:c}=u,[f,o]=(0,xa.useState)(""),[s,y]=(0,xa.useState)(!1),[p,h]=(0,xa.useState)(null),d=(0,xa.useId)(),z=l.attemptsExhausted,A=T(async O=>{y(!0),h(null);try{await O()}catch(D){h(qn(D,u.strings)),n?.(D)}finally{y(!1)}},"run"),U=T(O=>{if(O.preventDefault(),l.source!=="typed"){A(()=>l.confirm());return}let D=Kc(f);if(!/^\d{10}$/.test(D))return h("population.invalid");if(!ar(D))return h("population.reason_id_number_invalid");A(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(D):l.submitNni(D))},"onSubmit"),m=Ic(u,l.attemptsRemaining,z),r=l.reason!==void 0&&Bv.has(l.reason),v=l.reason!==void 0&&Hv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(zl,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:m})]}):null,r&&l.canUseDocument?(0,P.jsxs)(zl,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:m}),(0,P.jsx)(il,{kind:"secondary",disabled:s,onClick:i(()=>{A(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||v?(0,P.jsxs)(zl,{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:m})]}):null,z&&l.reason===void 0?(0,P.jsx)(zl,{tone:"danger",children:(0,P.jsx)("span",{children:m})}):null,p!==null?(0,P.jsx)(zl,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[E,M,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":d,onSubmit:U,noValidate:!0,children:[(0,P.jsx)(ea,{id:d,title:c(E),lead:c(M)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${d}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${d}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${d}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(O=>{h(null),o(Kc(O.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${d}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(ta,{children:z?null:(0,P.jsx)(il,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(rf,"Qe");T(rf,"IdNumberEntry");function xv(l){return rf(l)}i(xv,"En");T(xv,"NniEntry");var qv=220;function ld(l,e,t){let a=null;try{a=new Intl.DisplayNames([l],{type:"region"})}catch{}let n=e.map(f=>({code:f,name:a?.of(f)??f})),u=new Intl.Collator(l),c=T(f=>f===t?0:1,"rank");return n.sort((f,o)=>c(f.code)-c(o.code)||u.compare(f.name,o.name))}i(ld,"On");T(ld,"countryNames");function ed({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,je.useMemo)(()=>[...Wu(l.documents)].sort(),[l.documents]),o=(0,je.useMemo)(()=>ld(c,f,l.detectedCountry),[c,f,l.detectedCountry]),s=f.length===1?f[0]:null,[y,p]=(0,je.useState)(t??s),[h,d]=(0,je.useState)(null),z=s===null?[]:la(l.documents,s),A=s!==null&&z.length===1?z[0]:null;(0,je.useEffect)(()=>{s!==null&&A!==null&&l.selectDocument(s,A)},[s,A]);let U=T((M,N)=>{l.selectDocument(M,N),a?.()},"pick"),m=T(M=>{let N=la(l.documents,M);N.length===1?U(M,N[0]):p(M)},"chooseIssuer");(0,je.useEffect)(()=>{if(h===null||y===null)return;let M=setTimeout(()=>U(y,h),qv);return()=>clearTimeout(M)},[h]),Wc(y!==null&&f.length>1&&t===void 0?()=>{p(null),d(null)}:null);let r=h!==null;if(A!==null)return null;let v=Jc(l.acceptedNationalities,e),g=v!==null?(0,Tl.jsx)(zl,{tone:"info",children:v}):null;if(y===null)return(0,Tl.jsxs)("section",{className:"sekyro-step",children:[(0,Tl.jsx)(ea,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),g,(0,Tl.jsx)(Cr,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:m}),(0,Tl.jsx)(ta,{children:null})]});let E=la(l.documents,y);return(0,Tl.jsxs)("section",{className:"sekyro-step",children:[(0,Tl.jsx)(ea,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),g,(0,Tl.jsx)("div",{className:"sekyro-choices",children:E.map(M=>(0,Tl.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===M,disabled:r&&h!==M,onClick:i(()=>{r||d(M)},"onClick"),children:[(0,Tl.jsx)("span",{className:"sekyro-card__tile",children:(0,Tl.jsx)(ze,{name:M==="passport"?"passport":"card"})}),(0,Tl.jsxs)("span",{className:"sekyro-card__body",children:[(0,Tl.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${M}`)}),(0,Tl.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${M}`)})]}),(0,Tl.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},M))}),f.length>1?(0,Tl.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),d(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Tl.jsx)(ta,{children:null})]})}i(ed,"Co");T(ed,"DocumentPicker");var Rv={load:T(()=>import("./document-capture-view-C7G76Z5Z-47KQFEKS.js"),"load")};function td({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Nl(e,t),[f,o]=(0,oe.useState)(0),[s,y]=(0,oe.useState)(null),p=Wu(l.documents),h=p.length>1,d=l.issuer!==null&&la(l.documents,l.issuer).length>1,z=l.documentType===null||l.issuer===null||s!==null,A=p.length===1&&la(l.documents,p[0]).length===1,[U]=(0,oe.useState)(()=>z&&!A),m=l.ageStepUp===!0,r=(0,oe.useMemo)(()=>(0,oe.lazy)(()=>Rv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,oe.useEffect)(()=>{nr()},[]);let v=(0,Te.jsxs)(zl,{tone:"danger",children:[(0,Te.jsx)("span",{children:c.t("errors.network_error")}),(0,Te.jsx)(il,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,Te.jsx)("div",{className:a,children:z?(0,Te.jsx)(ed,{step:l,i18n:c,ageStepUp:m&&s===null&&U,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>y(null),"onPicked")}):(0,Te.jsx)(Ba,{fallback:v,children:(0,Te.jsx)(oe.Suspense,{fallback:(0,Te.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,Te.jsx)(r,{step:l,i18n:c,ageLead:m&&!U,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>y("country"),"onChangeCountry")}:{},...d?{onChangeDocument:T(()=>y("document"),"onChangeDocument")}:{}})})},f)})}i(td,"ht");T(td,"DocumentCapture");var Yv={load:T(()=>import("./portrait-capture-view-O6M7N32A-BNCHYVMO.js"),"load")},Gv={load:T(()=>import("./portrait-review-view-TI34GIXN-EFM6O45B.js"),"load")},qa,ad=(qa=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(qa,"vt"),qa);T(ad,"LoadBoundary");var Lr=ad;function nd({step:l,i18n:e}){let{t}=e,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:t(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,K.jsx)("p",{className:"sekyro-text-muted",children:t("portrait.reviewDescription")}):null,l.uploadFailed?(0,K.jsxs)(zl,{tone:"danger",children:[(0,K.jsx)("span",{children:t("portrait.uploadFailed")}),(0,K.jsx)(il,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:t("portrait.sendAgain")})]}):(0,K.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:t("portrait.matching")})]})}i(nd,"Zn");T(nd,"MatchPhase");function ud({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Nl(e,t),f=zr(u),o=(0,_l.useContext)($c),[s,y]=(0,_l.useState)(0),[p,h]=(0,_l.useState)(null),d=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Yv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),z=(0,_l.useMemo)(()=>(0,_l.lazy)(()=>Gv.load().then(N=>({default:N.PortraitScreens}))),[s]),A=typeof l.uploadPortrait=="function",U=A?l.photo?.source??"camera":"camera",m=A&&U!=="camera"&&l.photo?.uploadOffered===!0,r=U!=="upload",v=U==="upload"?"upload":U==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,_l.useEffect)(()=>{l.phase==="capture"&&v==="camera"&&!g&&ur()},[l.phase,v,g]),l.phase==="match")return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(nd,{step:l,i18n:c})});let E=(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"&&v==="camera")return(0,K.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,K.jsx)(ea,{title:c.t("session.steps.portrait.title")}),(0,K.jsx)(ta,{children:(0,K.jsx)(il,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||v!=="camera"||g)return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Lr,{fallback:(0,K.jsx)(il,{kind:"ghost",onClick:i(()=>y(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,K.jsx)(_l.Suspense,{fallback:E,children:(0,K.jsx)(z,{screen:l.phase==="review"?"review":g&&v==="camera"?"phone":v==="camera"?"review":v,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:E});let M=(0,K.jsxs)(zl,{tone:"danger",children:[(0,K.jsx)("span",{children:c.t("errors.network_error")}),(0,K.jsx)(il,{kind:"secondary",onClick:i(()=>y(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,K.jsx)("div",{className:a,children:(0,K.jsx)(Lr,{fallback:M,children:(0,K.jsx)(_l.Suspense,{fallback:E,children:(0,K.jsx)(d,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...m?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(ud,"bt");T(ud,"PortraitCapture");var Vv={load:T(()=>import("./proof-of-address-view-BTCXADNY-LJ5HXDRA.js"),"load")};function id({step:l,locale:e,strings:t,className:a}){let n=Nl(e,t),[u,c]=(0,gt.useState)(0),f=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>Vv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,Ue.jsxs)(zl,{tone:"danger",children:[(0,Ue.jsx)("span",{children:n.t("errors.network_error")}),(0,Ue.jsx)(il,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,Ue.jsx)("div",{className:a,children:(0,Ue.jsx)(Ba,{fallback:o,children:(0,Ue.jsx)(gt.Suspense,{fallback:(0,Ue.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,Ue.jsx)(f,{step:l,i18n:n})})},u)})}i(id,"Ct");T(id,"ProofOfAddress");var Qv={load:T(()=>import("./form-view-GA2TGOJL-UO5HMK5Q.js"),"load")};function cd({step:l,locale:e,strings:t,className:a,onError:n}){let u=Nl(e,t),[c,f]=(0,bt.useState)(0),o=(0,bt.useMemo)(()=>(0,bt.lazy)(()=>Qv.load().then(y=>({default:y.FormView}))),[c]),s=(0,De.jsxs)(zl,{tone:"danger",children:[(0,De.jsx)("span",{children:u.t("errors.network_error")}),(0,De.jsx)(il,{kind:"secondary",onClick:i(()=>f(y=>y+1),"onClick"),children:u.t("common.retry")})]});return(0,De.jsx)("div",{className:a,children:(0,De.jsx)(Ba,{fallback:s,children:(0,De.jsx)(bt.Suspense,{fallback:(0,De.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,De.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(cd,"wt");T(cd,"FormStep");var jr={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)"}},df={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"}}},Xv=["danger","success","warning","info"];function ni(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ni,"_t");T(ni,"channel");function uf(l){let e=ni(parseInt(l.slice(1,3),16)),t=ni(parseInt(l.slice(3,5),16)),a=ni(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(uf,"Io");T(uf,"luminance");function od(l,e){let t=uf(l),a=uf(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(od,"cr");T(od,"contrastRatio");function cf(l,e){return Math.min(...Xv.map(t=>od(df[l][t].fg,e)))}i(cf,"To");T(cf,"worstAgainst");function ff(l,e,t){return Math.min(cf(l,e),cf(l,t))}i(ff,"Eo");T(ff,"worstStatusContrast");function sd(l,e){return ff("light",l,e)>=ff("dark",l,e)?"light":"dark"}i(sd,"Ro");T(sd,"statusSchemeFor");function mf({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,yt.useRef)(null),y=(0,yt.useRef)(null),p=(0,yt.useRef)(!1),h=(0,yt.useId)();return(0,yt.useEffect)(()=>{let d=s.current;if(d!==null){if(l&&!d.open?(y.current=typeof document>"u"?null:document.activeElement,typeof d.showModal=="function"?d.showModal():d.setAttribute("open","")):!l&&d.open&&(typeof d.close=="function"?d.close():d.removeAttribute("open")),!l&&p.current){let z=o?.current??(y.current instanceof HTMLElement?y.current:null);y.current=null,z?.focus()}p.current=l}},[l,o]),(0,Ce.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":h,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(d=>{d.preventDefault(),a()},"onCancel"),onClick:i(d=>{d.target===d.currentTarget&&a()},"onClick"),children:(0,Ce.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,Ce.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,Ce.jsx)("h2",{id:h,className:"sekyro-dialog__title",children:e}),t!==void 0?(0,Ce.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":t,onClick:a,children:(0,Ce.jsx)(ze,{name:"close"})}):null]}),n!==void 0?(0,Ce.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,Ce.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(mf,"et");T(mf,"FlowDialog");var Lv=["intro","data","processing","sharing","retention"];function rd({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,ii.useState)(!1),u=(0,ii.useRef)(null),[c,f=""]=t("consent.short").split("{terms}");return(0,Le.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,Le.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,Le.jsx)("button",{ref:u,type:"button",className:"sekyro-link sekyro-link--inline","aria-haspopup":"dialog",onClick:i(()=>n(!0),"onClick"),children:t("consent.termsLink")}),f]}),(0,Le.jsx)(mf,{open:a,title:t("consent.termsTitle"),closeLabel:t("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,Le.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:e==="human"?(0,Le.jsx)(Dl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):Lv.map(o=>(0,Le.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(rd,"Oo");T(rd,"ConsentNotice");function dd(l){let e=l.trim().split(/\s+/).filter(t=>t!=="");return(e.length>=2?[e[0],e[1]].map(t=>Array.from(t??"")[0]??""):Array.from(e[0]??"").slice(0,2)).join("").toUpperCase()}i(dd,"Vo");T(dd,"initials");var hd=T(l=>({colors:{...l?Cl.dark:Cl.light},radius:Cl.radius,fontFamily:Cl.font}),"brandTheme"),ub=hd(!1),Zr=/^#[0-9a-f]{6}$/i;function hf(l,e,t){if(e)return null;let a=ei(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!Zr.test(n)||u!==void 0&&!Zr.test(u)?null:sd(n??Cl.light.bg,u??Cl.light.surface)}i(hf,"xt");T(hf,"partnerStatusScheme");function yf(l,e,t){let a=ei(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&pd(n,Cl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(hf(l,t,e)==="dark"){let n=df.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return ti(hd(t),a,li(e))}i(yf,"tt");T(yf,"verificationTheme");function vf(l){let e=(0,md.useSyncExternalStore)(vd,Zv,()=>!1);return l==="dark"||l==="system"&&e}i(vf,"ot");T(vf,"useDarkScheme");var jv="(prefers-color-scheme: dark)",yd=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(jv):null,"media"),Zv=T(()=>yd()?.matches??!1,"prefersDark");function vd(l){let e=yd();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(vd,"Sr");T(vd,"subscribe");function pd(l,e){let[t,a]=[of(l),of(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(pd,"hr");T(pd,"contrast");function of(l){let e=[1,3,5].map(t=>{let a=Number.parseInt(l.slice(t,t+2),16)/255;return a<=.03928?a/12.92:((a+.055)/1.055)**2.4});return .2126*(e[0]??0)+.7152*(e[1]??0)+.0722*(e[2]??0)}i(of,"Fo");T(of,"luminance");var pf="sekyro.testerGate";function ci(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ci,"Tt");T(ci,"store");function gd(l=Date.now()){try{ci()?.setItem(pf,String(l))}catch{}}i(gd,"Ho");T(gd,"rememberTester");function bd(l=Date.now()){try{let e=Number(ci()?.getItem(pf)??"");return Number.isFinite(e)&&e>0&&l-e<2592e6}catch{return!1}}i(bd,"Uo");T(bd,"rememberedTester");function Sd(){try{ci()?.removeItem(pf)}catch{}}i(Sd,"$o");T(Sd,"forgetTester");var Kr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Kv={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 zd({screen:l}){if(l==="verified")return(0,J.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,J.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,J.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,J.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:e,tone:t}=Kv[l];return(0,J.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,J.jsx)(ze,{name:e})})}i(zd,"Nr");T(zd,"OutcomeMark");function Td({label:l,id:e,copied:t}){let[a,n]=(0,Ra.useState)(!1);return(0,Ra.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,J.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,J.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,J.jsx)("bdi",{dir:"ltr",children:e}),(0,J.jsx)(ze,{name:"copy"})]})}i(Td,"_r");T(Td,"ReferenceLine");function Ad({step:l,t:e}){let t=l.context.sandbox?l.context.simulation?.reason:void 0;return t===void 0?null:(0,J.jsxs)($u,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,J.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,J.jsx)(ze,{name:"info"})}),(0,J.jsxs)("div",{className:"sekyro-notice__body","data-reason":t,children:[(0,J.jsx)("strong",{children:e("sandbox.simulatedTitle")}),(0,J.jsx)("span",{children:e(t==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(Ad,"Pr");T(Ad,"SimulationNotice");function Ed(l,e){return l==="expired"?"native.result.expiredTitle":l!=="verified"?`session.result.${l}.title`:e.level===3?"session.result.verified.title":e.level===1&&e.assurance==="contact_phone"?"session.result.verified.titlePhone":e.level===1&&e.assurance==="contact_email"?"session.result.verified.titleEmail":e.level===1?"session.result.verified.titleContact":"session.result.verified.titleHuman"}i(Ed,"xr");T(Ed,"resultTitleKey");function Nd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Nl(e,t),{t:c}=u,f=(0,Ra.useId)(),o=Fu(),s=l.context.orgName,y=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(A=>(s!==""||A==="verified")&&A!=="cooldown"?c(`native.result.${A}`,{org:s}):c(`session.result.${A}.description`),"partnerLine"),d;switch(l.display){case"rejected":y==="identity_not_verified"?d=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):d=Kr.has(wc(y))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if(Kr.has(wc(y)))d=c("session.result.detailsMismatch",{org:s});else if(y==="device_velocity_exceeded")d=c("session.result.deviceVelocity",{org:s});else if(y==="capture_tampered")d=c("session.result.deviceStop");else if(y==="camera_unavailable")d=c("reasons.camera_unavailable",{org:s});else if(y==="underage_estimated")d=c("reasons.underage_estimated");else if(y==="starter_credit_claimed")d=c("reasons.starter_credit_claimed");else if(y==="blocked_by_org")d=c("reasons.blocked_by_org");else{let A=y===""?null:cr(y);d=A!==null?c(A,{org:s}):h("policy")}break}case"cooldown":{let A=fr(u.locale,l.retryAfter);d=A!==null?c(A.key,{time:A.time}):c("session.result.cooldown.description");break}case"platform_unsupported":d=c("result.platform_unsupported");break;case"inconclusive":y==="side_missing"?d=s!==""?c("native.result.sideMissing",{org:s}):c("session.result.sideMissing"):d=h("inconclusive");break;default:d=h(p)}let z=y==="nationality_not_allowed"?Jc(l.acceptedNationalities,u):null;return(0,J.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,J.jsxs)("div",{className:"sekyro-result__body",children:[(0,J.jsx)(zd,{screen:p}),(0,J.jsxs)("div",{className:"sekyro-heading",children:[(0,J.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(Ed(p,l.result))}),(0,J.jsx)("p",{className:"sekyro-text-muted",children:d}),z!==null?(0,J.jsx)("p",{className:"sekyro-text-muted","data-testid":"sekyro-result-nationality",children:z}):null]}),(0,J.jsx)(Ad,{step:l,t:c}),(0,J.jsx)(Td,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,J.jsx)("div",{className:"sekyro-actions",children:(0,J.jsx)(il,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(Nd,"Et");T(Nd,"VerificationResultScreen");function _d(l,e,t){let a=e?Cl.dark:Cl.light,n=e?Cl.roles.dark:Cl.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===Cl.font&&(c["--sekyro-font-display"]=Cl.fontDisplay);let o=e?jr.dark:jr.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),t!==null){let s=df[t];for(let y of["danger","success","warning","info"])c[`--sekyro-color-${y}-soft`]=s[y].soft,c[`--sekyro-color-${y}-fg`]=s[y].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(_d,"Br");T(_d,"flowRoles");function Md({verification:l}){let e=Nl(),[t,a]=(0,C.useState)({pending:!1,interactive:!1});return(0,C.useEffect)(()=>(a({pending:!1,interactive:!1}),l.on("browserCheck",n=>a({pending:n.pending,interactive:n.interactive===!0}))),[l]),t.interactive?typeof document>"u"?null:(0,fd.createPortal)((0,b.jsx)("p",{className:"sekyro-check-confirm",role:"status","aria-live":"polite",dir:e.locale==="ar"?"rtl":"ltr","data-testid":"sekyro-browser-check-confirm",children:e.t("common.securityCheckConfirm")}),document.body):t.pending?(0,b.jsxs)("p",{className:"sekyro-check-pending",role:"status","aria-live":"polite","data-testid":"sekyro-browser-check-pending",children:[(0,b.jsx)("span",{className:"sekyro-check-pending__spinner","aria-hidden":"true"}),e.t("common.securityCheckRunning")]}):null}i(Md,"Lr");T(Md,"BrowserCheckPending");function fi(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Jr(e);(0,C.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,C.useEffect)(()=>u===void 0?void 0:e.on("result",u),[e,u]);let o=vf(l.colorScheme??"light"),s=c?.context.branding,y=yf(s,l.theme,o),[p,h]=(0,C.useState)(!1),d=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,z=(0,C.useRef)(l.onClose);z.current=l.onClose;let A=(0,C.useRef)(c);A.current=c;let U=(0,C.useCallback)(()=>{let E=A.current;z.current?.(E?.kind==="result"?{reason:"finished",result:E.result}:{reason:"cancelled"})},[]),[m,r]=(0,C.useState)(null),v=(0,C.useCallback)(()=>{let E=A.current;E!==null&&E.kind!=="result"&&E.context.consentRecorded?r("close"):U()},[U]),g=(0,C.useMemo)(()=>e.reportCaptureIssue===void 0?null:E=>e.reportCaptureIssue?.(E),[e]);return(0,b.jsx)(ai,{theme:y,className:d,children:(0,b.jsx)(lf,{locale:t,...a!==void 0?{strings:a}:{},children:(0,b.jsx)("div",{dir:l.dir??(t==="ar"?"rtl":"ltr"),lang:t,className:"sekyro-flow",style:_d(y,o,hf(s,o,l.theme)),children:(0,b.jsx)(mr.Provider,{value:h,children:(0,b.jsx)(Fc.Provider,{value:l.onClose!==void 0?U:void 0,children:(0,b.jsx)(Iu.Provider,{value:l.onClose!==void 0?v:void 0,children:(0,b.jsxs)(gr.Provider,{value:g,children:[(0,b.jsx)(Hd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:U}),(0,b.jsx)(Md,{verification:e}),(0,b.jsx)(Cd,{open:m!==null,onStay:i(()=>{m==="history"&&ui(),r(null)},"onStay"),onLeave:i(()=>{let E=m;r(null),E==="close"||l.onClose!==void 0?U():typeof window<"u"&&bf()},"onLeave")})]})})})})})})})}i(fi,"Lt");T(fi,"SekyroVerification");function Od(l,e){if(e===void 0||e==="aml_screening")return null;let t=l,a=t[`session.processing.${e}.title`],n=t[`session.processing.${e}.description`];return typeof a=="string"&&a!==""&&typeof n=="string"&&n!==""?{title:a,description:n}:null}i(Od,"Or");T(Od,"processingCopyOf");function Ud({error:l,retry:e}){let{t}=Nl(),a=Fu();return(0,b.jsxs)($u,{tone:"danger",testId:"sekyro-error-notice",children:[(0,b.jsx)("span",{children:t(ir(l))}),l.retryable?(0,b.jsx)(il,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(Ud,"Vr");T(Ud,"CameraErrorNotice");var Dd="sekyroFlow";function gf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[Dd]===!0}i(gf,"qo");T(gf,"onGuard");function ui(){if(typeof window>"u"||gf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[Dd]:!0},"")}i(ui,"Rt");T(ui,"pushGuard");function bf(){window.history.back()}i(bf,"Yo");T(bf,"leaveHistory");function Cd({open:l,onStay:e,onLeave:t}){let{t:a}=Nl();return(0,b.jsx)(mf,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(il,{full:!0,onClick:e,children:a("leave.stay")}),(0,b.jsx)(il,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,b.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Cd,"Ar");T(Cd,"LeaveDialog");function kd(l,e){let[t,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 y=(0,C.useCallback)(()=>{if(o.current)return;let z=f.current;z!==void 0&&(o.current=!0,a(!0),u(null),z().catch(A=>u(e.t(qn(A,e.strings)))).finally(()=>{o.current=!1,a(!1)}))},[e]),p=(0,C.useCallback)(()=>u(null),[]),h=c!==void 0,d=e.t("sandbox.skipCapture");return(0,C.useMemo)(()=>h?{label:d,busy:t,failed:n,run:y,reset:p}:null,[h,d,t,n,y,p])}i(kd,"Fr");T(kd,"useSkipCapture");function Bd({skip:l}){return(0,b.jsxs)(b.Fragment,{children:[l.failed!==null?(0,b.jsx)(zl,{tone:"danger",children:(0,b.jsx)("span",{children:l.failed})}):null,(0,b.jsx)(il,{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(Bd,"Dr");T(Bd,"SkipAction");function Hd(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Nl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,y]=(0,C.useState)([]),p=(0,C.useCallback)(_=>(y(ol=>[...ol,_]),()=>y(ol=>ol.filter(Oe=>Oe!==_))),[]),[h,d]=(0,C.useState)(null),z=(0,C.useCallback)(_=>d(()=>_),[]),[A,U]=(0,C.useState)(0),[m,r]=(0,C.useState)(null),v=kd(e,u),g=e?.context.testerGate!==void 0,[E,M]=(0,C.useState)(!1),N=(0,C.useRef)(null);(0,C.useEffect)(()=>{!g||N.current!==null||(N.current=bd(),N.current&&M(!0))},[g]);let O=e?.context.purpose??"identity",D=e?.context.returning===!0,R=l.verification,Ll=O==="human"||e?.context.cameraUnavailableHandled===!0,wt=R.reportCameraUnavailable!==void 0&&Ll?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Qu=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,jl=l.handoffUrl,Xu=(0,C.useRef)({last:null,count:0}),Wt=(0,C.useCallback)((_,ol,Oe=!1)=>wt===void 0&&ol!=="denied"?void 0:(0,b.jsx)(Dl,{view:"NoCameraView",i18n:u,quiet:!0,cause:ol,onRetry:_,repeated:Oe,...Qu&&wt!==void 0?{onContinue:wt}:{},...jl!==void 0?{handoffUrl:jl}:{}}),[u,R,Ll,Qu,jl]),Da=(0,C.useMemo)(()=>_r(e),[e]),fe=(0,C.useCallback)((_,ol)=>(0,b.jsx)(Mr,{start:_,context:ol,human:O==="human",returning:D,notice:ol.permissionSettled&&ol.permission==="denied"?Wt(_,"denied"):void 0,...Da!==void 0?{retry:Da}:{}}),[O,D,Wt,Da]),Lu=(0,C.useCallback)((_,ol)=>{let Oe=tr(_.kind),Ju=Xu.current;_.kind==="permission"&&_!==Ju.last&&(Ju.last=_,Ju.count+=1);let zv=_.kind==="permission"&&Ju.count>1;return(Oe!==void 0?Wt(ol,Oe,zv):void 0)??(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Ud,{error:_,retry:ol}),Oe!==void 0&&jl!==void 0?(0,b.jsx)(Dl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:jl}):null]})},[Wt,jl,u]),mt=(0,C.useRef)(""),Ft=l.livenessProps?.slots?.stageOverlay,Bn=(0,C.useCallback)(_=>(_.guidance!==""&&!_.coached&&(mt.current=_.guidance),(0,b.jsx)(pr,{testId:"sekyro-capture-stage",video:(0,b.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:mt.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:Ft?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>U(ol=>ol+1),"onClose")},end:_.modeSwitch!=null?(0,b.jsx)(sr,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,b.jsx)(hr,{onStop:i(()=>U(ol=>ol+1),"onStop")})})),[c,Ft]),ju=(0,C.useId)(),Zu=e,Ca=e!==null&&m===e.key&&e.context.switchable!==void 0,Ve=qd({own:h,step:e,laneShown:Ca,laneOpen:e!==null&&e.context.switchable!==void 0&&typeof Zu?.chooseOption=="function",openLane:T(()=>e!==null&&r(e.key),"openLane")}),$t=(0,C.useRef)(Ve);$t.current=Ve;let Hn=(0,C.useRef)(e);Hn.current=e;let It=(0,C.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});It.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let ht=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!ht||typeof window>"u")return;ui();let _=T(()=>{if(gf())return;let ol=Hn.current,Oe=$t.current;Oe!==null?(Oe(),ui()):ol?.kind!=="result"&&ol?.context.consentRecorded===!0?It.current.ask():It.current.hostClose?It.current.closed():bf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[ht]),t!==null)return(0,b.jsx)($u,{tone:"danger",children:(0,b.jsx)("span",{children:c(qn(t,u.strings))})});if(e===null)return(0,b.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,b.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,b.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Yl}=e,Ku=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),Zc=a?.header??(0,b.jsx)(Yd,{context:Yl,headerId:ju,end:a?.headerEnd,back:Ve}),tl,ka=Ca;if(E&&l.verification.testerGate!==void 0)tl=(0,b.jsx)(Pc.Provider,{value:Bn,children:(0,b.jsx)(Dl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Yl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??fe},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>gd(),"onBound"),onDone:i(_=>{_&&Sd(),M(!1)},"onDone")})});else if(ka)tl=(0,b.jsx)(Dl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"phone_otp":tl=(0,b.jsx)(Wr,{step:e});break;case"email_otp":tl=(0,b.jsx)(Fr,{step:e});break;case"method":tl=(0,b.jsx)(Pr,{step:e});break;case"registry":tl=(0,b.jsx)(rf,{step:e});break;case"document":tl=(0,b.jsx)(td,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,ol={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??fe,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Lu}:{}},...A>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};tl=(0,b.jsx)(Pc.Provider,{value:Bn,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,b.jsx)(Dl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:ol,sekyroIntro:_===void 0},A):(0,b.jsx)(Tr,{...ol},A)});break}case"portrait":tl=(0,b.jsxs)(b.Fragment,{children:[e.retakeOnly?(0,b.jsx)(Dl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,b.jsx)(ud,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":tl=(0,b.jsx)(id,{step:e});break;case"form":tl=(0,b.jsx)(cd,{step:e});break;case"contact_choice":tl=(0,b.jsx)(Dl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":tl=(0,b.jsx)(Dl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":tl=(0,b.jsx)(Dl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let _=e.checkType==="doc_ocr"?c("handoff.lead.document"):e.checkType==="portrait_icao"?c("handoff.lead.portrait"):e.checkType==="poa"?c("handoff.lead.poa"):void 0;tl=l.handoffUrl!==void 0?(0,b.jsx)(Dl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,..._!==void 0?{lead:_}:{}}):(0,b.jsx)(Pu,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,b.jsx)(il,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Ku(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,b.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":tl=(0,b.jsx)(Dl,{view:"NativeAppView",i18n:u,org:Yl.orgName,nativeApp:e.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:e.refresh,footer:(0,b.jsx)(sf,{org:Yl.orgName})});break;case"processing":{let _=Od(u.strings,e.service);tl=(0,b.jsx)(Pu,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:e.stalled?(0,b.jsx)(il,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>Ku(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,b.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":tl=(0,b.jsx)($r,{step:e});break;case"unsupported":{let _=e.reason==="platform_unsupported";tl=(0,b.jsx)(Pu,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,b.jsx)(sf,{org:Yl.orgName}),children:(0,b.jsx)("p",{children:_?Yl.orgName!==""?c("needsApp.description",{org:Yl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Yl.orgName})})});break}case"result":tl=a?.result?.(e)??(0,b.jsx)(xd,{step:e});break;default:{let _=e;tl=null}}let xn=!n&&!Yl.consentRecorded&&e.kind!=="result"?(0,b.jsx)(rd,{i18n:u,purpose:Yl.purpose}):null,F=v!==null&&!n&&!ka&&!E?(0,b.jsx)(Bd,{skip:v}):null,Gl=g&&!E&&!n&&!ka&&l.verification.testerGate!==void 0?(0,b.jsx)(Dl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>M(!0),"onOpen")}):null,Pt=F===null&&Gl===null?xn:(0,b.jsxs)(b.Fragment,{children:[Gl,F,xn]});return(0,b.jsx)(dr.Provider,{value:z,children:(0,b.jsx)($c.Provider,{value:v,children:(0,b.jsx)(Ur.Provider,{value:l.handoffUrl,children:(0,b.jsxs)(rr.Provider,{value:Pt===null?null:{node:Pt,owner:s[0]??null,claim:p},children:[n?null:Zc,!n&&e.kind!=="result"&&Yl.sections.length>1?(0,b.jsx)(Gd,{context:Yl,current:e.section,i18n:u}):null,(0,b.jsx)(vr,{pageKey:e.key,children:tl}),!n&&!ka&&e.kind!=="result"&&e.context.switchable!==void 0?(0,b.jsx)(Dl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?Pt:null,n?null:a?.footer!==void 0?a.footer:Yl.branding?.hideAttribution===!0?null:(0,b.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,b.jsx)(ze,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Hd,"Mr");T(Hd,"Body");function sf({org:l}){let{t:e}=Nl(),t=(0,C.useContext)(Fc);return t===void 0?null:(0,b.jsx)(il,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(sf,"zo");T(sf,"BackToOrg");function xd({step:l}){return(0,b.jsx)(Iu.Consumer,{children:i(e=>(0,b.jsx)(Nd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(xd,"Hr");T(xd,"ResultPage");function qd({own:l,step:e,laneShown:t,laneOpen:a,openLane:n}){return e===null||e.kind==="result"||e.kind==="processing"||l==="blocked"?null:l!==null?l.run:t?null:a?n:null}i(qd,"Ur");T(qd,"backOf");function Rd(l){let e=l.levelName??l.purpose;return e==="contact"?"shell.subtitleContact":e==="human"?"shell.subtitleHuman":"shell.subtitle"}i(Rd,"$r");T(Rd,"subtitleKeyOf");function Yd({context:l,headerId:e,end:t,back:a}){let{t:n}=Nl(),[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,b.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":e,children:(0,b.jsxs)("div",{className:"sekyro-org",children:[(0,b.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),disabled:a===null,"aria-disabled":a===null||void 0,onClick:a??void 0,"data-testid":"sekyro-back",children:(0,b.jsx)(ze,{name:"back"})}),(0,b.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,b.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):dd(l.orgName)}),(0,b.jsxs)("div",{className:"sekyro-org__text",children:[(0,b.jsx)("h1",{id:e,className:"sekyro-org__name",children:o}),(0,b.jsx)("p",{className:"sekyro-org__sub",children:n(Rd(l))})]}),l.sandbox?(0,b.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,t!=null?(0,b.jsx)("div",{className:"sekyro-org__end",children:t}):null,(0,b.jsx)(Iu.Consumer,{children:i(s=>s!==void 0?(0,b.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,b.jsx)(ze,{name:"close"})}):null,"children")})]})})}i(Yd,"Kr");T(Yd,"OrgHeader");function Gd({context:l,current:e,i18n:t}){let a=e===null?-1:l.sections.indexOf(e),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,b.jsx)("ol",{className:"sekyro-progress__bars","aria-label":t.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,b.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,b.jsx)("span",{className:"sekyro-visually-hidden",children:t.strings[`section.${c}`]??c})},c))})}i(Gd,"zr");T(Gd,"SectionProgress");function Vd(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Vd,"qr");T(Vd,"pageUrl");function Jv({hostedUrl:l,inAppBrowser:e,...t}){let[a,n]=(0,Gn.useState)(e===!0);(0,Gn.useEffect)(()=>{e===void 0&&Or()&&n(!0)},[e]);let[u,c]=(0,Gn.useState)(!1),f=vf(t.colorScheme??"light"),o=t.handoffUrl??l??Vd();return a&&!u?(0,aa.jsx)(nf,{theme:ti(yf(void 0,void 0,f),t.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${t.className!==void 0?` ${t.className}`:""}`,children:(0,aa.jsx)(lf,{locale:t.locale,...t.strings!==void 0?{strings:t.strings}:{},children:(0,aa.jsx)("div",{dir:t.dir??(t.locale==="ar"?"rtl":"ltr"),lang:t.locale,className:"sekyro-flow",children:(0,aa.jsx)(Qd,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,aa.jsx)(fi,{...t,...o!==""?{handoffUrl:o}:{}})}i(Jv,"Yr");T(Jv,"SekyroFlow");function Qd({url:l,onContinue:e}){let t=Nl();return(0,aa.jsx)(Dl,{view:"InAppBrowserPrompt",i18n:t,url:l,onContinue:e})}i(Qd,"Wr");T(Qd,"Prompt");var Rc=V(Sl(),1),yv=V(hv(),1);var vv=["ar","fr","en","es","pt","de"],Sg=["light","dark","system"];function zg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return vv.includes(l)?l:null}i(zg,"documentLocale");var Tg=typeof HTMLElement>"u"?class{}:HTMLElement;function Ag({node:l}){return(0,Rc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(Ag,"SlotNode");var dt,_e,Un,Ea,Na,Me,Dn,_a,Ma,Oa,Cn,Ua,kn,x,Jt,Ge,Gc,Vc,Qc,Xc,Lc,pv,rt,Ps,gv,Vu,bv,Sv,jc=class jc extends Tg{constructor(){super();hl(this,x);hl(this,dt,null);hl(this,_e,null);hl(this,Un,!1);hl(this,Ea,!1);hl(this,Na,null);hl(this,Me,null);hl(this,Dn,null);hl(this,_a,new Map);hl(this,Ma);hl(this,Oa);hl(this,Cn);hl(this,Ua);hl(this,kn);hl(this,Gc,i(t=>X(this,x,Ge).call(this,"sekyro-step",t),"#onStep"));hl(this,Vc,i(t=>X(this,x,Ge).call(this,"sekyro-result",t),"#onResult"));hl(this,Qc,i(t=>X(this,x,Ge).call(this,"sekyro-close",t),"#onClose"));hl(this,Xc,i(t=>X(this,x,Ge).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Lc,{onStateChange:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,x,Ge).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...tf.filter(a=>!("unreflected"in a)).map(a=>a.property),"verification","strings","theme","livenessProps","documentLiveMrz","voice"])if(Object.prototype.hasOwnProperty.call(this,t)){let a=this[t];delete this[t],this[t]=a}}get clientToken(){return this.getAttribute("client-token")}set clientToken(t){X(this,x,Jt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,x,Jt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&vv.includes(t)?t:null}set locale(t){X(this,x,Jt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&Sg.includes(t)?t:null}set colorScheme(t){X(this,x,Jt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,x,Jt).call(this,"asset-base-url",t)}get backNavigation(){let t=this.getAttribute("back-navigation");return t==="history"||t==="none"?t:null}set backNavigation(t){X(this,x,Jt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,x,Jt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return H(this,Na)??H(this,Me)}set verification(t){yl(this,Na,t??null),X(this,x,rt).call(this)}get strings(){return H(this,Ma)}set strings(t){yl(this,Ma,t??void 0),X(this,x,rt).call(this)}get theme(){return H(this,Oa)}set theme(t){yl(this,Oa,t??void 0),X(this,x,rt).call(this)}get livenessProps(){return H(this,Cn)}set livenessProps(t){yl(this,Cn,t??void 0),X(this,x,rt).call(this)}get documentLiveMrz(){return H(this,Ua)}set documentLiveMrz(t){yl(this,Ua,t??void 0),X(this,x,rt).call(this)}get voice(){return H(this,kn)}set voice(t){yl(this,kn,t===null?void 0:t),X(this,x,rt).call(this)}connectedCallback(){yl(this,Ea,!1),X(this,x,pv).call(this),(H(this,_e)===null||H(this,_e).parentNode!==this)&&(yl(this,_e,document.createElement("div")),H(this,_e).className="sekyro-elements-root",this.appendChild(H(this,_e))),H(this,dt)??yl(this,dt,(0,yv.createRoot)(H(this,_e))),X(this,x,rt).call(this)}disconnectedCallback(){yl(this,Ea,!0),queueMicrotask(()=>{!H(this,Ea)||this.isConnected||(yl(this,Ea,!1),X(this,x,Sv).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,x,rt).call(this)}};dt=new WeakMap,_e=new WeakMap,Un=new WeakMap,Ea=new WeakMap,Na=new WeakMap,Me=new WeakMap,Dn=new WeakMap,_a=new WeakMap,Ma=new WeakMap,Oa=new WeakMap,Cn=new WeakMap,Ua=new WeakMap,kn=new WeakMap,x=new WeakSet,Jt=i(function(t,a){a==null?this.removeAttribute(t):this.setAttribute(t,String(a))},"#reflect"),Ge=i(function(t,a){this.dispatchEvent(new CustomEvent(t,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Gc=new WeakMap,Vc=new WeakMap,Qc=new WeakMap,Xc=new WeakMap,Lc=new WeakMap,pv=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!Rr.some(n=>n.name===a)||(H(this,_a).set(a,t),t.remove())}},"#takeSlots"),rt=i(function(){H(this,Un)||(yl(this,Un,!0),queueMicrotask(()=>{yl(this,Un,!1),this.isConnected&&H(this,dt)!==null&&X(this,x,bv).call(this)}))},"#schedule"),Ps=i(function(){return this.locale??zg()??"en"},"#effectiveLocale"),gv=i(function(){if(H(this,Na)!==null)return X(this,x,Vu).call(this),H(this,Na);let t=this.clientToken;if(t===null||t==="")return X(this,x,Vu).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(H(this,Me)!==null&&H(this,Dn)===n)return H(this,Me);X(this,x,Vu).call(this);try{yl(this,Me,er({clientToken:t,locale:X(this,x,Ps).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Dn,n)}catch(u){return X(this,x,Ge).call(this,"sekyro-error",{error:u}),null}return X(this,x,Ge).call(this,"sekyro-ready",{verification:H(this,Me)}),H(this,Me)},"#currentVerification"),Vu=i(function(){H(this,Me)?.destroy(),yl(this,Me,null),yl(this,Dn,null)},"#dropOwned"),bv=i(function(){let t=X(this,x,gv).call(this);if(t===null){H(this,dt)?.render(null);return}let a=X(this,x,Ps).call(this),n=this.getAttribute("dir"),u=H(this,kn)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=H(this,_a).get(p);return h===void 0?void 0:(0,Rc.createElement)(Ag,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),y={verification:t,locale:a,onStep:H(this,Gc),onResult:H(this,Vc),onLivenessCaptured:H(this,Xc),livenessProps:{...H(this,Cn),...H(this,Lc)},...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,Ma)!==void 0?{strings:H(this,Ma)}:{},...H(this,Oa)!==void 0?{theme:H(this,Oa)}:{},...H(this,Ua)!==void 0?{documentLiveMrz:H(this,Ua)}:{},...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,dt)?.render((0,Rc.createElement)(fi,y))},"#render"),Sv=i(function(){H(this,dt)?.unmount(),yl(this,dt,null),H(this,_e)?.remove(),yl(this,_e,null),X(this,x,Vu).call(this);for(let t of H(this,_a).values())this.appendChild(t);H(this,_a).clear()},"#teardown"),i(jc,"SekyroVerificationElement"),lr(jc,"observedAttributes",tf.map(t=>t.name));var Yc=jc;function Ab(){return typeof customElements>"u"?!1:(customElements.get(ef)===void 0&&customElements.define(ef,Yc),!0)}i(Ab,"defineSekyroElements");export{ef as a,tf as b,Eg as c,Rr as d,Ng as e,Yc as f,Ab as g};
|
|
10
10
|
/*! Bundled license information:
|
|
11
11
|
|
|
12
12
|
scheduler/cjs/scheduler.production.js:
|