@sekyro/elements 0.1.0-rc.9 → 0.1.0
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 +452 -0
- package/README.md +4 -4
- package/dist/cdn/chunks/{camera-trait-V4UAOPIQ-TFCPOCSU.js → camera-trait-DELAK3YN-4I2GHAFU.js} +1 -1
- package/dist/cdn/chunks/capture-session-doc-7SHEMIO2-UEB3BLJY.js +1 -0
- package/dist/cdn/chunks/challenge-frame-HTZ2ZBIE-5JRAFZOU.js +1 -0
- package/dist/cdn/chunks/chunk-37BKUH3E.js +1 -0
- package/dist/cdn/chunks/chunk-4VGBIKKF.js +3 -0
- package/dist/cdn/chunks/{chunk-ZXPJTB7H.js → chunk-4X4DNUJB.js} +1 -1
- package/dist/cdn/chunks/chunk-5QOH6NQH.js +1 -0
- package/dist/cdn/chunks/{chunk-SMZ7F4L7.js → chunk-5Y7NCFTK.js} +1 -1
- package/dist/cdn/chunks/chunk-65WXOD3F.js +33 -0
- package/dist/cdn/chunks/chunk-6MYG4HWP.js +1 -0
- package/dist/cdn/chunks/{chunk-DASQWRD2.js → chunk-6W6GR7P4.js} +1 -1
- package/dist/cdn/chunks/chunk-7UCVVWRT.js +1 -0
- package/dist/cdn/chunks/chunk-CIDO7UAK.js +1 -0
- package/dist/cdn/chunks/chunk-DDUCV6NE.js +1 -0
- package/dist/cdn/chunks/chunk-E7UFFFZO.js +1 -0
- package/dist/cdn/chunks/{chunk-A2ZKVVIE.js → chunk-ERJRG52Z.js} +1 -1
- package/dist/cdn/chunks/{chunk-O33NXBND.js → chunk-F3BSTTXB.js} +1 -1
- package/dist/cdn/chunks/{chunk-E2MOAJT7.js → chunk-G6ICN3K2.js} +1 -1
- package/dist/cdn/chunks/chunk-K3XSP444.js +25 -0
- package/dist/cdn/chunks/chunk-KQCTXWDO.js +1 -0
- package/dist/cdn/chunks/{chunk-RUN75CTZ.js → chunk-MVPBIASR.js} +1 -1
- package/dist/cdn/chunks/{chunk-T5IERZBI.js → chunk-MZETEVSB.js} +1 -1
- package/dist/cdn/chunks/chunk-NGJMT7M3.js +1 -0
- package/dist/cdn/chunks/chunk-OD63YRJW.js +1 -0
- package/dist/cdn/chunks/chunk-PND4F7JQ.js +1 -0
- package/dist/cdn/chunks/chunk-PQGILDKC.js +1 -0
- package/dist/cdn/chunks/chunk-SLLJX5QK.js +1 -0
- package/dist/cdn/chunks/{chunk-UQKRYXN5.js → chunk-T5IBMUSY.js} +1 -1
- package/dist/cdn/chunks/chunk-W5WWCOOW.js +1 -0
- package/dist/cdn/chunks/chunk-XKZZC74I.js +1 -0
- package/dist/cdn/chunks/{chunk-DYCKQAZH.js → chunk-XUZB5KEZ.js} +1 -1
- package/dist/cdn/chunks/chunk-YHUTESVX.js +1 -0
- package/dist/cdn/chunks/create-document-capture-D6MSQXPC-REYSYPDK.js +1 -0
- package/dist/cdn/chunks/{create-portrait-capture-5VGYZUOK-N3333DJC.js → create-portrait-capture-3MHP4DGA-4XIQSUJ3.js} +1 -1
- package/dist/cdn/chunks/{detector-scanic-SE3CL55N-JIGLCDPS.js → detector-scanic-3VQFGZAA-NF7AFUUP.js} +1 -1
- package/dist/cdn/chunks/document-capture-view-HKEUWRPE-LOW3SNGM.js +1 -0
- package/dist/cdn/chunks/eid-view-Y5OFAHVC-H2H5O3H4.js +1 -0
- package/dist/cdn/chunks/email-otp-view-ZEVLA5UZ-JO2KA6XE.js +1 -0
- package/dist/cdn/chunks/flow-views-ARNNXDI4-7BYKNQLO.js +1 -0
- package/dist/cdn/chunks/form-view-PQQO4VIK-IE4YHFTL.js +1 -0
- package/dist/cdn/chunks/icons-form-R366YPMB-6C7SJPCB.js +1 -0
- package/dist/cdn/chunks/mrz-band-IH54XO42-AE4D3F2E.js +1 -0
- package/dist/cdn/chunks/overlay-de-QAMFKRTE-YSXFO53C.js +1 -0
- package/dist/cdn/chunks/overlay-es-5RUP36SI-HFW77Y5Z.js +1 -0
- package/dist/cdn/chunks/overlay-pt-7EUG7TIT-FUKZ7M5O.js +1 -0
- package/dist/cdn/chunks/plan-runner-DOJCVU2R-PLBX6YZK.js +1 -0
- package/dist/cdn/chunks/{portrait-capture-view-UYISOXXV-HR5FCO4J.js → portrait-capture-view-EKCFW3YQ-DSL42XKH.js} +1 -1
- package/dist/cdn/chunks/portrait-review-view-NKIVRFCL-BK65RBU6.js +1 -0
- package/dist/cdn/chunks/print-DCYX3CZD-DLQCPZZE.js +11 -0
- package/dist/cdn/chunks/proof-of-address-view-HYTT7NHY-73YT3QLR.js +1 -0
- package/dist/cdn/chunks/session-events-W5DRVA6F-BNHYAEHE.js +8 -0
- package/dist/cdn/chunks/session-watch-7HMFAHQI-WNCXXNDK.js +1 -0
- package/dist/cdn/define.js +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/{chunk-HOOZLWNR.js → chunk-25BK7D5W.js} +1 -1
- package/dist/chunk-2Z5FHSRB.js +33 -0
- package/dist/chunk-73ETQUUL.js +1 -0
- package/dist/{chunk-IB3NF7H5.js → chunk-B7CZCSMF.js} +1 -1
- package/dist/chunk-ENB7AFED.js +25 -0
- package/dist/{chunk-UIOHM6CB.js → chunk-FV5OWBNU.js} +1 -1
- package/dist/chunk-HBK2ROSI.js +1 -0
- package/dist/{chunk-DAAZBRNM.js → chunk-HFOCTDYM.js} +1 -1
- package/dist/{chunk-FAZTWW5J.js → chunk-N2BPYCKG.js} +1 -1
- package/dist/{chunk-6MLQBNF4.js → chunk-N3WQ4QSD.js} +1 -1
- package/dist/chunk-NAURWQ6C.js +1 -0
- package/dist/{chunk-THDSSKYQ.js → chunk-RV6PEFNT.js} +1 -1
- package/dist/{chunk-JIHK7L54.js → chunk-TC5736OF.js} +1 -1
- package/dist/chunk-XXCBLQ53.js +1 -0
- package/dist/chunk-Y7JBM2YL.js +1 -0
- package/dist/define.cjs +5 -5
- package/dist/define.js +1 -1
- package/dist/document-capture-view-HKEUWRPE-KB4IVUEE.js +1 -0
- package/dist/{eid-view-U2HL2IX7-ONZGT2S5.js → eid-view-Y5OFAHVC-NUZ7QUBA.js} +1 -1
- package/dist/{email-otp-view-CMJHROOH-4DBMTA3R.js → email-otp-view-ZEVLA5UZ-LAXHM22A.js} +1 -1
- package/dist/flow-views-ARNNXDI4-YXYLG7SQ.js +1 -0
- package/dist/form-view-PQQO4VIK-H7PE6SJF.js +1 -0
- package/dist/icons-form-R366YPMB-KUTXHC7X.js +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +112 -17
- package/dist/index.d.ts +112 -17
- package/dist/index.js +1 -1
- package/dist/overlay-de-QAMFKRTE-Q37YV6YD.js +1 -0
- package/dist/overlay-es-5RUP36SI-N7N3ULGK.js +1 -0
- package/dist/overlay-pt-7EUG7TIT-5S423QBY.js +1 -0
- package/dist/portrait-capture-view-EKCFW3YQ-7UBYR6BX.js +1 -0
- package/dist/portrait-review-view-NKIVRFCL-IP7ZWZ6B.js +1 -0
- package/dist/proof-of-address-view-HYTT7NHY-QFJ33FM2.js +1 -0
- package/dist/styles.css +83 -4
- package/package.json +3 -3
- package/sbom.cdx.json +4 -4
- package/dist/cdn/chunks/capture-session-doc-ESEZJBQM-BXCU4HNS.js +0 -1
- package/dist/cdn/chunks/challenge-frame-YAQJ5YMB-MHZYRGKY.js +0 -1
- package/dist/cdn/chunks/chunk-2FETDQV5.js +0 -1
- package/dist/cdn/chunks/chunk-3S4VNKLC.js +0 -1
- package/dist/cdn/chunks/chunk-4PBYN632.js +0 -1
- package/dist/cdn/chunks/chunk-4ZCLJICC.js +0 -1
- package/dist/cdn/chunks/chunk-6NWHU56A.js +0 -33
- package/dist/cdn/chunks/chunk-CW56KMMH.js +0 -1
- package/dist/cdn/chunks/chunk-CYLXKJUY.js +0 -3
- package/dist/cdn/chunks/chunk-ELKN3A2Q.js +0 -1
- package/dist/cdn/chunks/chunk-F2MXING6.js +0 -1
- package/dist/cdn/chunks/chunk-GTYN5CAI.js +0 -25
- package/dist/cdn/chunks/chunk-J6ERQV2N.js +0 -1
- package/dist/cdn/chunks/chunk-KMKUWNV6.js +0 -1
- package/dist/cdn/chunks/chunk-KVTY4E6J.js +0 -1
- package/dist/cdn/chunks/chunk-L22GFJQV.js +0 -1
- package/dist/cdn/chunks/chunk-MSENKS6X.js +0 -1
- package/dist/cdn/chunks/chunk-OVZDKB3N.js +0 -1
- package/dist/cdn/chunks/chunk-PJ2UDPYO.js +0 -1
- package/dist/cdn/chunks/chunk-S5NGSYGI.js +0 -1
- package/dist/cdn/chunks/create-document-capture-V7XCRRDV-3MGZONM3.js +0 -1
- package/dist/cdn/chunks/document-capture-view-5FWUD45F-TTB7XRVE.js +0 -1
- package/dist/cdn/chunks/eid-view-U2HL2IX7-EKYQNIVA.js +0 -1
- package/dist/cdn/chunks/email-otp-view-CMJHROOH-S7HHGHMS.js +0 -1
- package/dist/cdn/chunks/flow-views-O3KBN7YF-37NQVUAE.js +0 -1
- package/dist/cdn/chunks/form-view-WVPN7ZUY-WVYV733R.js +0 -1
- package/dist/cdn/chunks/mrz-band-VYHOTDHY-VEZ2J5IL.js +0 -1
- package/dist/cdn/chunks/overlay-de-PVJMYZGV-JDDHHQJZ.js +0 -1
- package/dist/cdn/chunks/overlay-es-PZCE25XM-D7N7YW66.js +0 -1
- package/dist/cdn/chunks/overlay-pt-PZ3L6DR7-AD7SQLSO.js +0 -1
- package/dist/cdn/chunks/plan-runner-IXCKR4DB-OJHNDXG2.js +0 -1
- package/dist/cdn/chunks/portrait-review-view-67VI2Q6K-KD55P5MN.js +0 -1
- package/dist/cdn/chunks/print-SEWS3VHQ-HWJTHADG.js +0 -11
- package/dist/cdn/chunks/proof-of-address-view-EIQXYYM3-JYSRHJ7R.js +0 -1
- package/dist/chunk-DUYCGH4R.js +0 -33
- package/dist/chunk-MYYAFIK6.js +0 -1
- package/dist/chunk-TOU3UDCB.js +0 -25
- package/dist/chunk-V2KMG4IA.js +0 -1
- package/dist/chunk-WCPTICNC.js +0 -1
- package/dist/chunk-YZ6YGLNN.js +0 -1
- package/dist/chunk-ZLREPJUJ.js +0 -1
- package/dist/document-capture-view-5FWUD45F-PZAJNUII.js +0 -1
- package/dist/flow-views-O3KBN7YF-I2I3K4EY.js +0 -1
- package/dist/form-view-WVPN7ZUY-Z523S2WJ.js +0 -1
- package/dist/overlay-de-PVJMYZGV-75ZFRADU.js +0 -1
- package/dist/overlay-es-PZCE25XM-IEA7Y6EU.js +0 -1
- package/dist/overlay-pt-PZ3L6DR7-WMCH3XQV.js +0 -1
- package/dist/portrait-capture-view-UYISOXXV-SO3YYR22.js +0 -1
- package/dist/portrait-review-view-67VI2Q6K-ELE4HPWJ.js +0 -1
- package/dist/proof-of-address-view-EIQXYYM3-HDMZQJCO.js +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import{a as zr}from"./chunk-XUZB5KEZ.js";import{a as Tr,b as Ar,d as Er,e as _r}from"./chunk-G6ICN3K2.js";import{a as Mr,b as Or,c as ef,d as Ur,e as Dr,f as Br,g as Hr,h as qr,i as Rr,j as Vr,k as Yr}from"./chunk-YHUTESVX.js";import{a as mr,c as hr}from"./chunk-MVPBIASR.js";import{a as Cr,b as kr,c as xr}from"./chunk-6W6GR7P4.js";import{a as Yn}from"./chunk-E7UFFFZO.js";import{a as Wc}from"./chunk-7UCVVWRT.js";import{a as Nr}from"./chunk-ERJRG52Z.js";import{a as Gn,b as Ba,c as Nl,d as Gr,e as Qr}from"./chunk-KQCTXWDO.js";import{a as ur,e as ir,f as cr,g as Jc,h as Pt,i as Iu,j as fr,k as or}from"./chunk-4VGBIKKF.js";import{b as tf,c as Tl}from"./chunk-PQGILDKC.js";import{A as $c,B as ei,C as Ic,D as pr,F as Pc,G as gr,H as br,J as Sr,K as pl,L as lf,a as vl,b as kl,c as al,k as Fc,p as sr,q as rr,r as dr,t as Pu,u as li,v as Se,w as la,x as yr,y as ea,z as vr}from"./chunk-K3XSP444.js";import{a as T}from"./chunk-5QL6W6FW.js";import{a as i,b as $u,c as V,d as nr,e as B,f as hl,g as yl,h as X}from"./chunk-4FHWXBOB.js";var um=$u(cl=>{"use strict";function _f(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<ri(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(_f,"push");function ke(l){return l.length===0?null:l[0]}i(ke,"peek");function mi(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>ri(f,t))o<n&&0>ri(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>ri(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(mi,"pop");function ri(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(ri,"compare");cl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Fd=performance,cl.unstable_now=function(){return Fd.now()}):(Tf=Date,$d=Tf.now(),cl.unstable_now=function(){return Tf.now()-$d});var Fd,Tf,$d,we=[],Tt=[],a1=1,oe=null,Gl=3,Nf=!1,jn=!1,Ln=!1,Mf=!1,lm=typeof setTimeout=="function"?setTimeout:null,em=typeof clearTimeout=="function"?clearTimeout:null,Id=typeof setImmediate<"u"?setImmediate:null;function di(l){for(var e=ke(Tt);e!==null;){if(e.callback===null)mi(Tt);else if(e.startTime<=l)mi(Tt),e.sortIndex=e.expirationTime,_f(we,e);else break;e=ke(Tt)}}i(di,"advanceTimers");function Of(l){if(Ln=!1,di(l),!jn)if(ke(we)!==null)jn=!0,Ga||(Ga=!0,Ya());else{var e=ke(Tt);e!==null&&Uf(Of,e.startTime-l)}}i(Of,"handleTimeout");var Ga=!1,Zn=-1,tm=5,am=-1;function nm(){return Mf?!0:!(cl.unstable_now()-am<tm)}i(nm,"shouldYieldToHost");function Af(){if(Mf=!1,Ga){var l=cl.unstable_now();am=l;var e=!0;try{l:{jn=!1,Ln&&(Ln=!1,em(Zn),Zn=-1),Nf=!0;var t=Gl;try{e:{for(di(l),oe=ke(we);oe!==null&&!(oe.expirationTime>l&&nm());){var a=oe.callback;if(typeof a=="function"){oe.callback=null,Gl=oe.priorityLevel;var n=a(oe.expirationTime<=l);if(l=cl.unstable_now(),typeof n=="function"){oe.callback=n,di(l),e=!0;break e}oe===ke(we)&&mi(we),di(l)}else mi(we);oe=ke(we)}if(oe!==null)e=!0;else{var u=ke(Tt);u!==null&&Uf(Of,u.startTime-l),e=!1}}break l}finally{oe=null,Gl=t,Nf=!1}e=void 0}}finally{e?Ya():Ga=!1}}}i(Af,"performWorkUntilDeadline");var Ya;typeof Id=="function"?Ya=i(function(){Id(Af)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(Ef=new MessageChannel,Pd=Ef.port2,Ef.port1.onmessage=Af,Ya=i(function(){Pd.postMessage(null)},"schedulePerformWorkUntilDeadline")):Ya=i(function(){lm(Af,0)},"schedulePerformWorkUntilDeadline");var Ef,Pd;function Uf(l,e){Zn=lm(function(){l(cl.unstable_now())},e)}i(Uf,"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"):tm=0<l?Math.floor(1e3/l):5};cl.unstable_getCurrentPriorityLevel=function(){return Gl};cl.unstable_next=function(l){switch(Gl){case 1:case 2:case 3:var e=3;break;default:e=Gl}var t=Gl;Gl=e;try{return l()}finally{Gl=t}};cl.unstable_requestPaint=function(){Mf=!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=Gl;Gl=l;try{return e()}finally{Gl=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:a1++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,_f(Tt,l),ke(we)===null&&l===ke(Tt)&&(Ln?(em(Zn),Zn=-1):Ln=!0,Uf(Of,t-a))):(l.sortIndex=n,_f(we,l),jn||Nf||(jn=!0,Ga||(Ga=!0,Ya()))),l};cl.unstable_shouldYield=nm;cl.unstable_wrapCallback=function(l){var e=Gl;return function(){var t=Gl;Gl=e;try{return l.apply(this,arguments)}finally{Gl=t}}}});var cm=$u((gb,im)=>{"use strict";im.exports=um()});var bv=$u(Vc=>{"use strict";var _l=cm(),xh=vl(),n1=mr();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 Bh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(Bh,"isValidContainer");function Cu(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(Cu,"getNearestMountedFiber");function Hh(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(Hh,"getSuspenseInstanceFromFiber");function qh(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(qh,"getActivityInstanceFromFiber");function fm(l){if(Cu(l)!==l)throw Error(S(188))}i(fm,"assertIsMounted");function u1(l){var e=l.alternate;if(!e){if(e=Cu(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 fm(n),l;if(u===a)return fm(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(u1,"findCurrentFiberUsingSlowPath");function Rh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=Rh(l),e!==null)return e;l=l.sibling}return null}i(Rh,"findCurrentHostFiberImpl");var il=Object.assign,i1=Symbol.for("react.element"),hi=Symbol.for("react.transitional.element"),Pn=Symbol.for("react.portal"),Ka=Symbol.for("react.fragment"),Vh=Symbol.for("react.strict_mode"),oo=Symbol.for("react.profiler"),Yh=Symbol.for("react.consumer"),et=Symbol.for("react.context"),us=Symbol.for("react.forward_ref"),so=Symbol.for("react.suspense"),ro=Symbol.for("react.suspense_list"),is=Symbol.for("react.memo"),At=Symbol.for("react.lazy");Symbol.for("react.scope");var mo=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var c1=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var om=Symbol.iterator;function Kn(l){return l===null||typeof l!="object"?null:(l=om&&l[om]||l["@@iterator"],typeof l=="function"?l:null)}i(Kn,"getIteratorFn");var f1=Symbol.for("react.client.reference");function ho(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===f1?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ka:return"Fragment";case oo:return"Profiler";case Vh:return"StrictMode";case so:return"Suspense";case ro:return"SuspenseList";case mo:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Pn:return"Portal";case et:return l.displayName||"Context";case Yh:return(l._context.displayName||"Context")+".Consumer";case us:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case is:return e=l.displayName||null,e!==null?e:ho(l.type)||"Memo";case At:e=l._payload,l=l._init;try{return ho(l(e))}catch{}}return null}i(ho,"getComponentNameFromType");var lu=Array.isArray,x=xh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=n1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fa={pending:!1,data:null,method:null,action:null},yo=[],wa=-1;function Re(l){return{current:l}}i(Re,"createCursor");function Dl(l){0>wa||(l.current=yo[wa],yo[wa]=null,wa--)}i(Dl,"pop");function tl(l,e){wa++,yo[wa]=l.current,l.current=e}i(tl,"push");var qe=Re(null),pu=Re(null),Bt=Re(null),wi=Re(null);function Ji(l,e){switch(tl(Bt,e),tl(pu,l),tl(qe,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?vh(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=vh(e),l=uv(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Dl(qe),tl(qe,l)}i(Ji,"pushHostContainer");function dn(){Dl(qe),Dl(pu),Dl(Bt)}i(dn,"popHostContainer");function vo(l){l.memoizedState!==null&&tl(wi,l);var e=qe.current,t=uv(e,l.type);e!==t&&(tl(pu,l),tl(qe,t))}i(vo,"pushHostContext");function Wi(l){pu.current===l&&(Dl(qe),Dl(pu)),wi.current===l&&(Dl(wi),Ou._currentValue=fa)}i(Wi,"popHostContext");var Df,sm;function na(l){if(Df===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Df=e&&e[1]||"",sm=-1<t.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+Df+l+sm}i(na,"describeBuiltInComponentFrame");var Cf=!1;function kf(l,e){if(!l||Cf)return"";Cf=!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
|
+
`),s=f.split(`
|
|
5
|
+
`);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===s.length)for(a=o.length-1,n=s.length-1;1<=a&&0<=n&&o[a]!==s[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==s[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==s[n]){var y=`
|
|
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{Cf=!1,Error.prepareStackTrace=t}return(t=l?l.displayName||l.name:"")?na(t):""}i(kf,"describeNativeComponentFrame");function o1(l,e){switch(l.tag){case 26:case 27:case 5:return na(l.type);case 16:return na("Lazy");case 13:return l.child!==e&&e!==null?na("Suspense Fallback"):na("Suspense");case 19:return na("SuspenseList");case 0:case 15:return kf(l.type,!1);case 11:return kf(l.type.render,!1);case 1:return kf(l.type,!0);case 31:return na("Activity");default:return""}}i(o1,"describeFiber");function rm(l){try{var e="",t=null;do e+=o1(l,t),t=l,l=l.return;while(l);return e}catch(a){return`
|
|
7
|
+
Error generating stack: `+a.message+`
|
|
8
|
+
`+a.stack}}i(rm,"getStackByFiberInDevAndProd");var po=Object.prototype.hasOwnProperty,cs=_l.unstable_scheduleCallback,xf=_l.unstable_cancelCallback,s1=_l.unstable_shouldYield,r1=_l.unstable_requestPaint,ee=_l.unstable_now,d1=_l.unstable_getCurrentPriorityLevel,Gh=_l.unstable_ImmediatePriority,Qh=_l.unstable_UserBlockingPriority,Fi=_l.unstable_NormalPriority,m1=_l.unstable_LowPriority,Xh=_l.unstable_IdlePriority,h1=_l.log,y1=_l.unstable_setDisableYieldValue,ku=null,te=null;function Ut(l){if(typeof h1=="function"&&y1(l),te&&typeof te.setStrictMode=="function")try{te.setStrictMode(ku,l)}catch{}}i(Ut,"setIsStrictModeForDevtools");var ae=Math.clz32?Math.clz32:g1,v1=Math.log,p1=Math.LN2;function g1(l){return l>>>=0,l===0?32:31-(v1(l)/p1|0)|0}i(g1,"clz32Fallback");var yi=256,vi=262144,pi=4194304;function ua(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(ua,"getHighestPriorityLanes");function Tc(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=ua(a):(c&=f,c!==0?n=ua(c):t||(t=f&~l,t!==0&&(n=ua(t))))):(f=a&~u,f!==0?n=ua(f):c!==0?n=ua(c):t||(t=a&~l,t!==0&&(n=ua(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(Tc,"getNextLanes");function xu(l,e){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&e)===0}i(xu,"checkIfRootIsPrerendering");function b1(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(b1,"computeExpirationTime");function jh(){var l=pi;return pi<<=1,(pi&62914560)===0&&(pi=4194304),l}i(jh,"claimNextRetryLane");function Bf(l){for(var e=[],t=0;31>t;t++)e.push(l);return e}i(Bf,"createLaneMap");function Bu(l,e){l.pendingLanes|=e,e!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Bu,"markRootUpdated$1");function S1(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-ae(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&&Lh(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~e))}i(S1,"markRootFinished");function Lh(l,e,t){l.pendingLanes|=e,l.suspendedLanes&=~e;var a=31-ae(e);l.entangledLanes|=e,l.entanglements[a]=l.entanglements[a]|1073741824|t&261930}i(Lh,"markSpawnedDeferredLane");function Zh(l,e){var t=l.entangledLanes|=e;for(l=l.entanglements;t;){var a=31-ae(t),n=1<<a;n&e|l[a]&e&&(l[a]|=e),t&=~n}}i(Zh,"markRootEntangled");function Kh(l,e){var t=e&-e;return t=(t&42)!==0?1:fs(t),(t&(l.suspendedLanes|e))!==0?0:t}i(Kh,"getBumpedLaneForHydration");function fs(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(fs,"getBumpedLaneForHydrationByLane");function os(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(os,"lanesToEventPriority");function wh(){var l=Z.p;return l!==0?l:(l=window.event,l===void 0?32:vv(l.type))}i(wh,"resolveUpdatePriority");function dm(l,e){var t=Z.p;try{return Z.p=l,e()}finally{Z.p=t}}i(dm,"runWithPriority");var wt=Math.random().toString(36).slice(2),ql="__reactFiber$"+wt,Wl="__reactProps$"+wt,An="__reactContainer$"+wt,go="__reactEvents$"+wt,z1="__reactListeners$"+wt,T1="__reactHandles$"+wt,mm="__reactResources$"+wt,Hu="__reactMarker$"+wt;function ss(l){delete l[ql],delete l[Wl],delete l[go],delete l[z1],delete l[T1]}i(ss,"detachDeletedInstance");function Ja(l){var e=l[ql];if(e)return e;for(var t=l.parentNode;t;){if(e=t[An]||t[ql]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(l=zh(l);l!==null;){if(t=l[ql])return t;l=zh(l)}return e}l=t,t=l.parentNode}return null}i(Ja,"getClosestInstanceFromNode");function En(l){if(l=l[ql]||l[An]){var e=l.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return l}return null}i(En,"getInstanceFromNode");function eu(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l.stateNode;throw Error(S(33))}i(eu,"getNodeFromInstance");function nn(l){var e=l[mm];return e||(e=l[mm]={hoistableStyles:new Map,hoistableScripts:new Map}),e}i(nn,"getResourcesFromRoot");function Ul(l){l[Hu]=!0}i(Ul,"markNodeAsHoistable");var Jh=new Set,Wh={};function ga(l,e){mn(l,e),mn(l+"Capture",e)}i(ga,"registerTwoPhaseEvent");function mn(l,e){for(Wh[l]=e,l=0;l<e.length;l++)Jh.add(e[l])}i(mn,"registerDirectEvent");var A1=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]*$"),hm={},ym={};function E1(l){return po.call(ym,l)?!0:po.call(hm,l)?!1:A1.test(l)?ym[l]=!0:(hm[l]=!0,!1)}i(E1,"isAttributeNameSafe");function ki(l,e,t){if(E1(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(ki,"setValueForAttribute");function gi(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(gi,"setValueForKnownAttribute");function Je(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(Je,"setValueForNamespacedAttribute");function re(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(re,"getToStringValue");function Fh(l){var e=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}i(Fh,"isCheckable");function _1(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(_1,"trackValueOnNode");function bo(l){if(!l._valueTracker){var e=Fh(l)?"checked":"value";l._valueTracker=_1(l,e,""+l[e])}}i(bo,"track");function $h(l){if(!l)return!1;var e=l._valueTracker;if(!e)return!0;var t=e.getValue(),a="";return l&&(a=Fh(l)?l.checked?"true":"false":l.value),l=a,l!==t?(e.setValue(l),!0):!1}i($h,"updateValueIfChanged");function $i(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($i,"getActiveElement");var N1=/[\n"\\]/g;function he(l){return l.replace(N1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}i(he,"escapeSelectorAttributeValueInsideDoubleQuotes");function So(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=""+re(e)):l.value!==""+re(e)&&(l.value=""+re(e)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),e!=null?zo(l,c,re(e)):t!=null?zo(l,c,re(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=""+re(f):l.removeAttribute("name")}i(So,"updateInput");function Ih(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)){bo(l);return}t=t!=null?""+re(t):"",e=e!=null?""+re(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),bo(l)}i(Ih,"initInput");function zo(l,e,t){e==="number"&&$i(l.ownerDocument)===l||l.defaultValue===""+t||(l.defaultValue=""+t)}i(zo,"setDefaultValue");function un(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=""+re(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(un,"updateOptions");function Ph(l,e,t){if(e!=null&&(e=""+re(e),e!==l.value&&(l.value=e),t==null)){l.defaultValue!==e&&(l.defaultValue=e);return}l.defaultValue=t!=null?""+re(t):""}i(Ph,"updateTextarea");function l0(l,e,t,a){if(e==null){if(a!=null){if(t!=null)throw Error(S(92));if(lu(a)){if(1<a.length)throw Error(S(93));a=a[0]}t=a}t==null&&(t=""),e=t}t=re(e),l.defaultValue=t,a=l.textContent,a===t&&a!==""&&a!==null&&(l.value=a),bo(l)}i(l0,"initTextarea");function hn(l,e){if(e){var t=l.firstChild;if(t&&t===l.lastChild&&t.nodeType===3){t.nodeValue=e;return}}l.textContent=e}i(hn,"setTextContent");var M1=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 vm(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||M1.has(e)?e==="float"?l.cssFloat=t:l[e]=(""+t).trim():l[e]=t+"px"}i(vm,"setValueForStyle");function e0(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&&vm(l,n,a)}else for(var u in e)e.hasOwnProperty(u)&&vm(l,u,e[u])}i(e0,"setValueForStyles");function rs(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(rs,"isCustomElement");var O1=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"]]),U1=/^[\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 xi(l){return U1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(xi,"sanitizeURL");function tt(){}i(tt,"noop$1");var To=null;function ds(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(ds,"getEventTarget");var Wa=null,cn=null;function pm(l){var e=En(l);if(e&&(l=e.stateNode)){var t=l[Wl]||null;l:switch(l=e.stateNode,e.type){case"input":if(So(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="'+he(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var a=t[e];if(a!==l&&a.form===l.form){var n=a[Wl]||null;if(!n)throw Error(S(90));So(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&&$h(a)}break l;case"textarea":Ph(l,t.value,t.defaultValue);break l;case"select":e=t.value,e!=null&&un(l,!!t.multiple,e,!1)}}}i(pm,"restoreStateOfTarget");var Hf=!1;function t0(l,e,t){if(Hf)return l(e,t);Hf=!0;try{var a=l(e);return a}finally{if(Hf=!1,(Wa!==null||cn!==null)&&(Bc(),Wa&&(e=Wa,l=cn,cn=Wa=null,pm(e),l)))for(e=0;e<l.length;e++)pm(l[e])}}i(t0,"batchedUpdates$1");function gu(l,e){var t=l.stateNode;if(t===null)return null;var a=t[Wl]||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(gu,"getListener");var ct=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ao=!1;if(ct)try{Qa={},Object.defineProperty(Qa,"passive",{get:i(function(){Ao=!0},"get")}),window.addEventListener("test",Qa,Qa),window.removeEventListener("test",Qa,Qa)}catch{Ao=!1}var Qa,Dt=null,ms=null,Bi=null;function a0(){if(Bi)return Bi;var l,e=ms,t=e.length,a,n="value"in Dt?Dt.value:Dt.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 Bi=n.slice(l,1<a?1-a:void 0)}i(a0,"getData");function Hi(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(Hi,"getEventCharCode");function bi(){return!0}i(bi,"functionThatReturnsTrue");function gm(){return!1}i(gm,"functionThatReturnsFalse");function Fl(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)?bi:gm,this.isPropagationStopped=gm,this}return i(e,"SyntheticBaseEvent"),il(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=bi)},"preventDefault"),stopPropagation:i(function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=bi)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:bi}),e}i(Fl,"createSyntheticEvent");var ba={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},Ac=Fl(ba),qu=il({},ba,{view:0,detail:0}),D1=Fl(qu),qf,Rf,wn,Ec=il({},qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hs,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!==wn&&(wn&&l.type==="mousemove"?(qf=l.screenX-wn.screenX,Rf=l.screenY-wn.screenY):Rf=qf=0,wn=l),qf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:Rf},"movementY")}),bm=Fl(Ec),C1=il({},Ec,{dataTransfer:0}),k1=Fl(C1),x1=il({},qu,{relatedTarget:0}),Vf=Fl(x1),B1=il({},ba,{animationName:0,elapsedTime:0,pseudoElement:0}),H1=Fl(B1),q1=il({},ba,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),R1=Fl(q1),V1=il({},ba,{data:0}),Sm=Fl(V1),Y1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G1={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"},Q1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function X1(l){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(l):(l=Q1[l])?!!e[l]:!1}i(X1,"modifierStateGetter");function hs(){return X1}i(hs,"getEventModifierState");var j1=il({},qu,{key:i(function(l){if(l.key){var e=Y1[l.key]||l.key;if(e!=="Unidentified")return e}return l.type==="keypress"?(l=Hi(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?G1[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hs,charCode:i(function(l){return l.type==="keypress"?Hi(l):0},"charCode"),keyCode:i(function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"keyCode"),which:i(function(l){return l.type==="keypress"?Hi(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),L1=Fl(j1),Z1=il({},Ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zm=Fl(Z1),K1=il({},qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hs}),w1=Fl(K1),J1=il({},ba,{propertyName:0,elapsedTime:0,pseudoElement:0}),W1=Fl(J1),F1=il({},Ec,{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}),$1=Fl(F1),I1=il({},ba,{newState:0,oldState:0}),P1=Fl(I1),lp=[9,13,27,32],ys=ct&&"CompositionEvent"in window,nu=null;ct&&"documentMode"in document&&(nu=document.documentMode);var ep=ct&&"TextEvent"in window&&!nu,n0=ct&&(!ys||nu&&8<nu&&11>=nu),Tm=" ",Am=!1;function u0(l,e){switch(l){case"keyup":return lp.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i(u0,"isFallbackCompositionEnd");function i0(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(i0,"getDataFromCustomEvent");var Fa=!1;function tp(l,e){switch(l){case"compositionend":return i0(e);case"keypress":return e.which!==32?null:(Am=!0,Tm);case"textInput":return l=e.data,l===Tm&&Am?null:l;default:return null}}i(tp,"getNativeBeforeInputChars");function ap(l,e){if(Fa)return l==="compositionend"||!ys&&u0(l,e)?(l=a0(),Bi=ms=Dt=null,Fa=!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 n0&&e.locale!=="ko"?null:e.data;default:return null}}i(ap,"getFallbackBeforeInputChars");var np={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 Em(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e==="input"?!!np[l.type]:e==="textarea"}i(Em,"isTextInputElement");function c0(l,e,t,a){Wa?cn?cn.push(a):cn=[a]:Wa=a,e=yc(e,"onChange"),0<e.length&&(t=new Ac("onChange","change",null,t,a),l.push({event:t,listeners:e}))}i(c0,"createAndAccumulateChangeEvent");var uu=null,bu=null;function up(l){tv(l,0)}i(up,"runEventInBatch");function _c(l){var e=eu(l);if($h(e))return l}i(_c,"getInstIfValueChanged");function _m(l,e){if(l==="change")return e}i(_m,"getTargetInstForChangeEvent");var f0=!1;ct&&(ct?(zi="oninput"in document,zi||(Yf=document.createElement("div"),Yf.setAttribute("oninput","return;"),zi=typeof Yf.oninput=="function"),Si=zi):Si=!1,f0=Si&&(!document.documentMode||9<document.documentMode));var Si,zi,Yf;function Nm(){uu&&(uu.detachEvent("onpropertychange",o0),bu=uu=null)}i(Nm,"stopWatchingForValueChange");function o0(l){if(l.propertyName==="value"&&_c(bu)){var e=[];c0(e,bu,l,ds(l)),t0(up,e)}}i(o0,"handlePropertyChange");function ip(l,e,t){l==="focusin"?(Nm(),uu=e,bu=t,uu.attachEvent("onpropertychange",o0)):l==="focusout"&&Nm()}i(ip,"handleEventsForInputEventPolyfill");function cp(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return _c(bu)}i(cp,"getTargetInstForInputEventPolyfill");function fp(l,e){if(l==="click")return _c(e)}i(fp,"getTargetInstForClickEvent");function op(l,e){if(l==="input"||l==="change")return _c(e)}i(op,"getTargetInstForInputOrChangeEvent");function sp(l,e){return l===e&&(l!==0||1/l===1/e)||l!==l&&e!==e}i(sp,"is");var ue=typeof Object.is=="function"?Object.is:sp;function Su(l,e){if(ue(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(!po.call(e,n)||!ue(l[n],e[n]))return!1}return!0}i(Su,"shallowEqual");function Mm(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(Mm,"getLeafNode");function Om(l,e){var t=Mm(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=Mm(t)}}i(Om,"getNodeForCharacterOffset");function s0(l,e){return l&&e?l===e?!0:l&&l.nodeType===3?!1:e&&e.nodeType===3?s0(l,e.parentNode):"contains"in l?l.contains(e):l.compareDocumentPosition?!!(l.compareDocumentPosition(e)&16):!1:!1}i(s0,"containsNode");function r0(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var e=$i(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=$i(l.document)}return e}i(r0,"getActiveElementDeep");function vs(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(vs,"hasSelectionCapabilities");var rp=ct&&"documentMode"in document&&11>=document.documentMode,$a=null,Eo=null,iu=null,_o=!1;function Um(l,e,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;_o||$a==null||$a!==$i(a)||(a=$a,"selectionStart"in a&&vs(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}),iu&&Su(iu,a)||(iu=a,a=yc(Eo,"onSelect"),0<a.length&&(e=new Ac("onSelect","select",null,e,t),l.push({event:e,listeners:a}),e.target=$a)))}i(Um,"constructSelectEvent");function aa(l,e){var t={};return t[l.toLowerCase()]=e.toLowerCase(),t["Webkit"+l]="webkit"+e,t["Moz"+l]="moz"+e,t}i(aa,"makePrefixMap");var Ia={animationend:aa("Animation","AnimationEnd"),animationiteration:aa("Animation","AnimationIteration"),animationstart:aa("Animation","AnimationStart"),transitionrun:aa("Transition","TransitionRun"),transitionstart:aa("Transition","TransitionStart"),transitioncancel:aa("Transition","TransitionCancel"),transitionend:aa("Transition","TransitionEnd")},Gf={},d0={};ct&&(d0=document.createElement("div").style,"AnimationEvent"in window||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),"TransitionEvent"in window||delete Ia.transitionend.transition);function Sa(l){if(Gf[l])return Gf[l];if(!Ia[l])return l;var e=Ia[l],t;for(t in e)if(e.hasOwnProperty(t)&&t in d0)return Gf[l]=e[t];return l}i(Sa,"getVendorPrefixedEventName");var m0=Sa("animationend"),h0=Sa("animationiteration"),y0=Sa("animationstart"),dp=Sa("transitionrun"),mp=Sa("transitionstart"),hp=Sa("transitioncancel"),v0=Sa("transitionend"),p0=new Map,No="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");No.push("scrollEnd");function Ee(l,e){p0.set(l,e),ga(e,[l])}i(Ee,"registerSimpleEvent");var Ii=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)},se=[],Pa=0,ps=0;function Nc(){for(var l=Pa,e=ps=Pa=0;e<l;){var t=se[e];se[e++]=null;var a=se[e];se[e++]=null;var n=se[e];se[e++]=null;var u=se[e];if(se[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&&g0(t,n,u)}}i(Nc,"finishQueueingConcurrentUpdates");function Mc(l,e,t,a){se[Pa++]=l,se[Pa++]=e,se[Pa++]=t,se[Pa++]=a,ps|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Mc,"enqueueUpdate$1");function gs(l,e,t,a){return Mc(l,e,t,a),Pi(l)}i(gs,"enqueueConcurrentHookUpdate");function za(l,e){return Mc(l,null,null,e),Pi(l)}i(za,"enqueueConcurrentRenderForLane");function g0(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-ae(t),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[e]:a.push(e),e.lane=t|536870912),u):null}i(g0,"markUpdateLaneFromFiberToRoot");function Pi(l){if(50<yu)throw yu=0,wo=null,Error(S(185));for(var e=l.return;e!==null;)l=e,e=l.return;return l.tag===3?l.stateNode:null}i(Pi,"getRootForUpdatedFiber");var ln={};function yp(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(yp,"FiberNode");function Pl(l,e,t,a){return new yp(l,e,t,a)}i(Pl,"createFiberImplClass");function bs(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(bs,"shouldConstruct");function nt(l,e){var t=l.alternate;return t===null?(t=Pl(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(nt,"createWorkInProgress");function b0(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(b0,"resetWorkInProgress");function qi(l,e,t,a,n,u){var c=0;if(a=l,typeof l=="function")bs(l)&&(c=1);else if(typeof l=="string")c=gg(l,t,qe.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case mo:return l=Pl(31,t,e,n),l.elementType=mo,l.lanes=u,l;case Ka:return oa(t.children,n,u,e);case Vh:c=8,n|=24;break;case oo:return l=Pl(12,t,e,n|2),l.elementType=oo,l.lanes=u,l;case so:return l=Pl(13,t,e,n),l.elementType=so,l.lanes=u,l;case ro:return l=Pl(19,t,e,n),l.elementType=ro,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case et:c=10;break l;case Yh:c=9;break l;case us:c=11;break l;case is:c=14;break l;case At:c=16,a=null;break l}c=29,t=Error(S(130,l===null?"null":typeof l,"")),a=null}return e=Pl(c,t,e,n),e.elementType=l,e.type=a,e.lanes=u,e}i(qi,"createFiberFromTypeAndProps");function oa(l,e,t,a){return l=Pl(7,l,a,e),l.lanes=t,l}i(oa,"createFiberFromFragment");function Qf(l,e,t){return l=Pl(6,l,null,e),l.lanes=t,l}i(Qf,"createFiberFromText");function S0(l){var e=Pl(18,null,null,0);return e.stateNode=l,e}i(S0,"createFiberFromDehydratedFragment");function Xf(l,e,t){return e=Pl(4,l.children!==null?l.children:[],l.key,e),e.lanes=t,e.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},e}i(Xf,"createFiberFromPortal");var Dm=new WeakMap;function ye(l,e){if(typeof l=="object"&&l!==null){var t=Dm.get(l);return t!==void 0?t:(e={value:l,source:e,stack:rm(e)},Dm.set(l,e),e)}return{value:l,source:e,stack:rm(e)}}i(ye,"createCapturedValueAtFiber");var en=[],tn=0,lc=null,zu=0,de=[],me=0,jt=null,xe=1,Be="";function Pe(l,e){en[tn++]=zu,en[tn++]=lc,lc=l,zu=e}i(Pe,"pushTreeFork");function z0(l,e,t){de[me++]=xe,de[me++]=Be,de[me++]=jt,jt=l;var a=xe;l=Be;var n=32-ae(a)-1;a&=~(1<<n),t+=1;var u=32-ae(e)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,xe=1<<32-ae(e)+n|t<<n|a,Be=u+l}else xe=1<<u|t<<n|a,Be=l}i(z0,"pushTreeId");function Ss(l){l.return!==null&&(Pe(l,1),z0(l,1,0))}i(Ss,"pushMaterializedTreeId");function zs(l){for(;l===lc;)lc=en[--tn],en[tn]=null,zu=en[--tn],en[tn]=null;for(;l===jt;)jt=de[--me],de[me]=null,Be=de[--me],de[me]=null,xe=de[--me],de[me]=null}i(zs,"popTreeContext");function T0(l,e){de[me++]=xe,de[me++]=Be,de[me++]=jt,xe=e.id,Be=e.overflow,jt=l}i(T0,"restoreSuspendedTreeContext");var Rl=null,ul=null,j=!1,Ht=null,ve=!1,Mo=Error(S(519));function Lt(l){var e=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Tu(ye(e,l)),Mo}i(Lt,"throwOnHydrationMismatch");function Cm(l){var e=l.stateNode,t=l.type,a=l.memoizedProps;switch(e[ql]=l,e[Wl]=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<Nu.length;t++)Y(Nu[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),Ih(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),l0(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||nv(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=tt),e=!0):e=!1,e||Lt(l,!0)}i(Cm,"prepareToHydrateHostInstance");function km(l){for(Rl=l.return;Rl;)switch(Rl.tag){case 5:case 31:case 13:ve=!1;return;case 27:case 3:ve=!0;return;default:Rl=Rl.return}}i(km,"popToNextHostParent");function Xa(l){if(l!==Rl)return!1;if(!j)return km(l),j=!0,!1;var e=l.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=l.type,t=!(t!=="form"&&t!=="button")||Io(l.type,l.memoizedProps)),t=!t),t&&ul&&Lt(l),km(l),e===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));ul=Sh(l)}else if(e===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));ul=Sh(l)}else e===27?(e=ul,Jt(l.type)?(l=ts,ts=null,ul=l):ul=e):ul=Rl?ge(l.stateNode.nextSibling):null;return!0}i(Xa,"popHydrationState");function ma(){ul=Rl=null,j=!1}i(ma,"resetHydrationState");function jf(){var l=Ht;return l!==null&&(wl===null?wl=l:wl.push.apply(wl,l),Ht=null),l}i(jf,"upgradeHydrationErrorsToRecoverable");function Tu(l){Ht===null?Ht=[l]:Ht.push(l)}i(Tu,"queueHydrationError");var Oo=Re(null),Ta=null,at=null;function _t(l,e,t){tl(Oo,e._currentValue),e._currentValue=t}i(_t,"pushProvider");function ut(l){l._currentValue=Oo.current,Dl(Oo)}i(ut,"popProvider");function Uo(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(Uo,"scheduleContextWorkOnParentPath");function Do(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),Uo(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),Uo(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(Do,"propagateContextChanges");function _n(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;ue(n.pendingProps.value,c.value)||(l!==null?l.push(f):l=[f])}}else if(n===wi.current){if(c=n.alternate,c===null)throw Error(S(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Ou):l=[Ou])}n=n.return}l!==null&&Do(e,l,t,a),e.flags|=262144}i(_n,"propagateParentContextChanges");function ec(l){for(l=l.firstContext;l!==null;){if(!ue(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i(ec,"checkIfContextChanged");function ha(l){Ta=l,at=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(ha,"prepareToReadContext");function Vl(l){return A0(Ta,l)}i(Vl,"readContext");function Ti(l,e){return Ta===null&&ha(l),A0(l,e)}i(Ti,"readContextDuringReconciliation");function A0(l,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},at===null){if(l===null)throw Error(S(308));at=e,l.dependencies={lanes:0,firstContext:e},l.flags|=524288}else at=at.next=e;return t}i(A0,"readContextForConsumer");var vp=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()})}},pp=_l.unstable_scheduleCallback,gp=_l.unstable_NormalPriority,Sl={$$typeof:et,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ts(){return{controller:new vp,data:new Map,refCount:0}}i(Ts,"createCache");function Ru(l){l.refCount--,l.refCount===0&&pp(gp,function(){l.controller.abort()})}i(Ru,"releaseCache");var cu=null,Co=0,yn=0,fn=null;function bp(l,e){if(cu===null){var t=cu=[];Co=0,yn=ws(),fn={status:"pending",value:void 0,then:i(function(a){t.push(a)},"then")}}return Co++,e.then(xm,xm),e}i(bp,"entangleAsyncAction");function xm(){if(--Co===0&&cu!==null){fn!==null&&(fn.status="fulfilled");var l=cu;cu=null,yn=0,fn=null;for(var e=0;e<l.length;e++)(0,l[e])()}}i(xm,"pingEngtangledActionScope");function Sp(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(Sp,"chainThenableValue");var Bm=x.S;x.S=function(l,e){Ry=ee(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&bp(l,e),Bm!==null&&Bm(l,e)};var sa=Re(null);function As(){var l=sa.current;return l!==null?l:el.pooledCache}i(As,"peekCacheFromPool");function Ri(l,e){e===null?tl(sa,sa.current):tl(sa,e.pool)}i(Ri,"pushTransition");function E0(){var l=As();return l===null?null:{parent:Sl._currentValue,pool:l}}i(E0,"getSuspendedCache");var Nn=Error(S(460)),Es=Error(S(474)),Oc=Error(S(542)),tc={then:i(function(){},"then")};function Hm(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(Hm,"isThenableResolved");function _0(l,e,t){switch(t=l[t],t===void 0?l.push(e):t!==e&&(e.then(tt,tt),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,Rm(l),l;default:if(typeof e.status=="string")e.then(tt,tt);else{if(l=el,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,Rm(l),l}throw ra=e,Nn}}i(_0,"trackUsedThenable");function ia(l){try{var e=l._init;return e(l._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(ra=t,Nn):t}}i(ia,"resolveLazy");var ra=null;function qm(){if(ra===null)throw Error(S(459));var l=ra;return ra=null,l}i(qm,"getSuspendedThenable");function Rm(l){if(l===Nn||l===Oc)throw Error(S(483))}i(Rm,"checkIfUseWrappedInAsyncCatch");var on=null,Au=0;function Ai(l){var e=Au;return Au+=1,on===null&&(on=[]),_0(on,l,e)}i(Ai,"unwrapThenable");function Jn(l,e){e=e.props.ref,l.ref=e!==void 0?e:null}i(Jn,"coerceRef");function Ei(l,e){throw e.$$typeof===i1?Error(S(525)):(l=Object.prototype.toString.call(e),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":l)))}i(Ei,"throwOnInvalidObjectTypeImpl");function N0(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=nt(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=Qf(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 A=v.type;return A===Ka?y(m,r,v.props.children,g,v.key):r!==null&&(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===At&&ia(A)===r.type)?(r=n(r,v.props),Jn(r,v),r.return=m,r):(r=qi(v.type,v.key,v.props,null,m.mode,g),Jn(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=Xf(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,A){return r===null||r.tag!==7?(r=oa(v,m.mode,g,A),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=Qf(""+r,m.mode,v),r.return=m,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case hi:return v=qi(r.type,r.key,r.props,null,m.mode,v),Jn(v,r),v.return=m,v;case Pn:return r=Xf(r,m.mode,v),r.return=m,r;case At:return r=ia(r),p(m,r,v)}if(lu(r)||Kn(r))return r=oa(r,m.mode,v,null),r.return=m,r;if(typeof r.then=="function")return p(m,Ai(r),v);if(r.$$typeof===et)return p(m,Ti(m,r),v);Ei(m,r)}return null}i(p,"createChild");function h(m,r,v,g){var A=r!==null?r.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return A!==null?null:f(m,r,""+v,g);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case hi:return v.key===A?o(m,r,v,g):null;case Pn:return v.key===A?s(m,r,v,g):null;case At:return v=ia(v),h(m,r,v,g)}if(lu(v)||Kn(v))return A!==null?null:y(m,r,v,g,null);if(typeof v.then=="function")return h(m,r,Ai(v),g);if(v.$$typeof===et)return h(m,r,Ti(m,v),g);Ei(m,v)}return null}i(h,"updateSlot");function d(m,r,v,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return m=m.get(v)||null,f(r,m,""+g,A);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case hi:return m=m.get(g.key===null?v:g.key)||null,o(r,m,g,A);case Pn:return m=m.get(g.key===null?v:g.key)||null,s(r,m,g,A);case At:return g=ia(g),d(m,r,v,g,A)}if(lu(g)||Kn(g))return m=m.get(v)||null,y(r,m,g,A,null);if(typeof g.then=="function")return d(m,r,v,Ai(g),A);if(g.$$typeof===et)return d(m,r,v,Ti(r,g),A);Ei(r,g)}return null}i(d,"updateFromMap");function z(m,r,v,g){for(var A=null,O=null,_=r,U=r=0,D=null;_!==null&&U<v.length;U++){_.index>U?(D=_,_=null):D=_.sibling;var R=h(m,_,v[U],g);if(R===null){_===null&&(_=D);break}l&&_&&R.alternate===null&&e(m,_),r=u(R,r,U),O===null?A=R:O.sibling=R,O=R,_=D}if(U===v.length)return t(m,_),j&&Pe(m,U),A;if(_===null){for(;U<v.length;U++)_=p(m,v[U],g),_!==null&&(r=u(_,r,U),O===null?A=_:O.sibling=_,O=_);return j&&Pe(m,U),A}for(_=a(_);U<v.length;U++)D=d(_,m,U,v[U],g),D!==null&&(l&&D.alternate!==null&&_.delete(D.key===null?U:D.key),r=u(D,r,U),O===null?A=D:O.sibling=D,O=D);return l&&_.forEach(function(jl){return e(m,jl)}),j&&Pe(m,U),A}i(z,"reconcileChildrenArray");function E(m,r,v,g){if(v==null)throw Error(S(151));for(var A=null,O=null,_=r,U=r=0,D=null,R=v.next();_!==null&&!R.done;U++,R=v.next()){_.index>U?(D=_,_=null):D=_.sibling;var jl=h(m,_,R.value,g);if(jl===null){_===null&&(_=D);break}l&&_&&jl.alternate===null&&e(m,_),r=u(jl,r,U),O===null?A=jl:O.sibling=jl,O=jl,_=D}if(R.done)return t(m,_),j&&Pe(m,U),A;if(_===null){for(;!R.done;U++,R=v.next())R=p(m,R.value,g),R!==null&&(r=u(R,r,U),O===null?A=R:O.sibling=R,O=R);return j&&Pe(m,U),A}for(_=a(_);!R.done;U++,R=v.next())R=d(_,m,U,R.value,g),R!==null&&(l&&R.alternate!==null&&_.delete(R.key===null?U:R.key),r=u(R,r,U),O===null?A=R:O.sibling=R,O=R);return l&&_.forEach(function(Bn){return e(m,Bn)}),j&&Pe(m,U),A}i(E,"reconcileChildrenIterator");function N(m,r,v,g){if(typeof v=="object"&&v!==null&&v.type===Ka&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case hi:l:{for(var A=v.key;r!==null;){if(r.key===A){if(A=v.type,A===Ka){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===A||typeof A=="object"&&A!==null&&A.$$typeof===At&&ia(A)===r.type){t(m,r.sibling),g=n(r,v.props),Jn(g,v),g.return=m,m=g;break l}t(m,r);break}else e(m,r);r=r.sibling}v.type===Ka?(g=oa(v.props.children,m.mode,g,v.key),g.return=m,m=g):(g=qi(v.type,v.key,v.props,null,m.mode,g),Jn(g,v),g.return=m,m=g)}return c(m);case Pn:l:{for(A=v.key;r!==null;){if(r.key===A)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=Xf(v,m.mode,g),g.return=m,m=g}return c(m);case At:return v=ia(v),N(m,r,v,g)}if(lu(v))return z(m,r,v,g);if(Kn(v)){if(A=Kn(v),typeof A!="function")throw Error(S(150));return v=A.call(v),E(m,r,v,g)}if(typeof v.then=="function")return N(m,r,Ai(v),g);if(v.$$typeof===et)return N(m,r,Ti(m,v),g);Ei(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=Qf(v,m.mode,g),g.return=m,m=g),c(m)):t(m,r)}return i(N,"reconcileChildFibersImpl"),function(m,r,v,g){try{Au=0;var A=N(m,r,v,g);return on=null,A}catch(_){if(_===Nn||_===Oc)throw _;var O=Pl(29,_,null,m.mode);return O.lanes=g,O.return=m,O}finally{}}}i(N0,"createChildReconciler");var ya=N0(!0),M0=N0(!1),Et=!1;function _s(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(_s,"initializeUpdateQueue");function ko(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(ko,"cloneUpdateQueue");function qt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(qt,"createUpdate");function Rt(l,e,t){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(L&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Pi(l),g0(l,null,t),e}return Mc(l,a,e,t),Pi(l)}i(Rt,"enqueueUpdate");function fu(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,Zh(l,t)}}i(fu,"entangleTransitions");function Lf(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(Lf,"enqueueCapturedUpdate");var xo=!1;function ou(){if(xo){var l=fn;if(l!==null)throw l}}i(ou,"suspendIfUpdateReadFromEntangledAsyncAction");function su(l,e,t,a){xo=!1;var n=l.updateQueue;Et=!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===yn&&(xo=!0),y!==null&&(y=y.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var z=l,E=f;h=e;var N=t;switch(E.tag){case 1:if(z=E.payload,typeof z=="function"){p=z.call(N,p,h);break l}p=z;break l;case 3:z.flags=z.flags&-65537|128;case 0:if(z=E.payload,h=typeof z=="function"?z.call(N,p,h):z,h==null)break l;p=il({},p,h);break l;case 2:Et=!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),Kt|=c,l.lanes=c,l.memoizedState=p}}i(su,"processUpdateQueue");function O0(l,e){if(typeof l!="function")throw Error(S(191,l));l.call(e)}i(O0,"callCallback");function U0(l,e){var t=l.callbacks;if(t!==null)for(l.callbacks=null,l=0;l<t.length;l++)O0(t[l],e)}i(U0,"commitCallbacks");var vn=Re(null),ac=Re(0);function Vm(l,e){l=rt,tl(ac,l),tl(vn,e),rt=l|e.baseLanes}i(Vm,"pushHiddenContext");function Bo(){tl(ac,rt),tl(vn,vn.current)}i(Bo,"reuseHiddenContextOnStack");function Ns(){rt=ac.current,Dl(vn),Dl(ac)}i(Ns,"popHiddenContext");var ie=Re(null),pe=null;function Nt(l){var e=l.alternate;tl(dl,dl.current&1),tl(ie,l),pe===null&&(e===null||vn.current!==null||e.memoizedState!==null)&&(pe=l)}i(Nt,"pushPrimaryTreeSuspenseHandler");function Ho(l){tl(dl,dl.current),tl(ie,l),pe===null&&(pe=l)}i(Ho,"pushDehydratedActivitySuspenseHandler");function D0(l){l.tag===22?(tl(dl,dl.current),tl(ie,l),pe===null&&(pe=l)):Mt(l)}i(D0,"pushOffscreenSuspenseHandler");function Mt(){tl(dl,dl.current),tl(ie,ie.current)}i(Mt,"reuseSuspenseHandlerOnStack");function Il(l){Dl(ie),pe===l&&(pe=null),Dl(dl)}i(Il,"popSuspenseHandler");var dl=Re(0);function nc(l){for(var e=l;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||ls(t)||es(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(nc,"findFirstSuspended");var ft=0,q=null,ll=null,gl=null,uc=!1,sn=!1,va=!1,ic=0,Eu=0,rn=null,zp=0;function sl(){throw Error(S(321))}i(sl,"throwInvalidHookError");function Ms(l,e){if(e===null)return!1;for(var t=0;t<e.length&&t<l.length;t++)if(!ue(l[t],e[t]))return!1;return!0}i(Ms,"areHookInputsEqual");function Os(l,e,t,a,n,u){return ft=u,q=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,x.H=l===null||l.memoizedState===null?cy:Ys,va=!1,u=t(a,n),va=!1,sn&&(u=k0(e,t,a,n)),C0(l),u}i(Os,"renderWithHooks");function C0(l){x.H=_u;var e=ll!==null&&ll.next!==null;if(ft=0,gl=ll=q=null,uc=!1,Eu=0,rn=null,e)throw Error(S(300));l===null||zl||(l=l.dependencies,l!==null&&ec(l)&&(zl=!0))}i(C0,"finishRenderingHooks");function k0(l,e,t,a){q=l;var n=0;do{if(sn&&(rn=null),Eu=0,sn=!1,25<=n)throw Error(S(301));if(n+=1,gl=ll=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}x.H=fy,u=e(t,a)}while(sn);return u}i(k0,"renderWithHooksAgain");function Tp(){var l=x.H,e=l.useState()[0];return e=typeof e.then=="function"?Vu(e):e,l=l.useState()[0],(ll!==null?ll.memoizedState:null)!==l&&(q.flags|=1024),e}i(Tp,"TransitionAwareHostComponent");function Us(){var l=ic!==0;return ic=0,l}i(Us,"checkDidRenderIdHook");function Ds(l,e,t){e.updateQueue=l.updateQueue,e.flags&=-2053,l.lanes&=~t}i(Ds,"bailoutHooks");function Cs(l){if(uc){for(l=l.memoizedState;l!==null;){var e=l.queue;e!==null&&(e.pending=null),l=l.next}uc=!1}ft=0,gl=ll=q=null,sn=!1,Eu=ic=0,rn=null}i(Cs,"resetHooksOnUnwind");function Xl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gl===null?q.memoizedState=gl=l:gl=gl.next=l,gl}i(Xl,"mountWorkInProgressHook");function ml(){if(ll===null){var l=q.alternate;l=l!==null?l.memoizedState:null}else l=ll.next;var e=gl===null?q.memoizedState:gl.next;if(e!==null)gl=e,ll=l;else{if(l===null)throw q.alternate===null?Error(S(467)):Error(S(310));ll=l,l={memoizedState:ll.memoizedState,baseState:ll.baseState,baseQueue:ll.baseQueue,queue:ll.queue,next:null},gl===null?q.memoizedState=gl=l:gl=gl.next=l}return gl}i(ml,"updateWorkInProgressHook");function Uc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}i(Uc,"createFunctionComponentUpdateQueue");function Vu(l){var e=Eu;return Eu+=1,rn===null&&(rn=[]),l=_0(rn,l,e),e=q,(gl===null?e.memoizedState:gl.next)===null&&(e=e.alternate,x.H=e===null||e.memoizedState===null?cy:Ys),l}i(Vu,"useThenable");function Dc(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Vu(l);if(l.$$typeof===et)return Vl(l)}throw Error(S(438,String(l)))}i(Dc,"use");function ks(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=Uc(),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]=c1;return e.index++,t}i(ks,"useMemoCache");function ot(l,e){return typeof e=="function"?e(l):e}i(ot,"basicStateReducer");function Vi(l){var e=ml();return xs(e,ll,l)}i(Vi,"updateReducer");function xs(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:(ft&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===yn&&(y=!0);else if((ft&h)===h){s=s.next,h===yn&&(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,Kt|=h;p=s.action,va&&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,Kt|=p;s=s.next}while(s!==null&&s!==e);if(o===null?c=u:o.next=f,!ue(u,l.memoizedState)&&(zl=!0,y&&(t=fn,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(xs,"updateReducerImpl");function Zf(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);ue(u,e.memoizedState)||(zl=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),t.lastRenderedState=u}return[u,a]}i(Zf,"rerenderReducer");function x0(l,e,t){var a=q,n=ml(),u=j;if(u){if(t===void 0)throw Error(S(407));t=t()}else t=e();var c=!ue((ll||n).memoizedState,t);if(c&&(n.memoizedState=t,zl=!0),n=n.queue,Bs(q0.bind(null,a,n,l),[l]),n.getSnapshot!==e||c||gl!==null&&gl.memoizedState.tag&1){if(a.flags|=2048,pn(9,{destroy:void 0},H0.bind(null,a,n,t,e),null),el===null)throw Error(S(349));u||(ft&127)!==0||B0(a,e,t)}return t}i(x0,"updateSyncExternalStore");function B0(l,e,t){l.flags|=16384,l={getSnapshot:e,value:t},e=q.updateQueue,e===null?(e=Uc(),q.updateQueue=e,e.stores=[l]):(t=e.stores,t===null?e.stores=[l]:t.push(l))}i(B0,"pushStoreConsistencyCheck");function H0(l,e,t,a){e.value=t,e.getSnapshot=a,R0(e)&&V0(l)}i(H0,"updateStoreInstance");function q0(l,e,t){return t(function(){R0(e)&&V0(l)})}i(q0,"subscribeToStore");function R0(l){var e=l.getSnapshot;l=l.value;try{var t=e();return!ue(l,t)}catch{return!0}}i(R0,"checkIfSnapshotChanged");function V0(l){var e=za(l,2);e!==null&&Jl(e,l,2)}i(V0,"forceStoreRerender");function qo(l){var e=Xl();if(typeof l=="function"){var t=l;if(l=t(),va){Ut(!0);try{t()}finally{Ut(!1)}}}return e.memoizedState=e.baseState=l,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ot,lastRenderedState:l},e}i(qo,"mountStateImpl");function Y0(l,e,t,a){return l.baseState=t,xs(l,ll,typeof a=="function"?a:ot)}i(Y0,"updateOptimisticImpl");function Ap(l,e,t,a,n){if(kc(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")};x.T!==null?t(!0):u.isTransition=!1,a(u),t=e.pending,t===null?(u.next=e.pending=u,G0(e,u)):(u.next=t.next,e.pending=t.next=u)}}i(Ap,"dispatchActionState");function G0(l,e){var t=e.action,a=e.payload,n=l.state;if(e.isTransition){var u=x.T,c={};x.T=c;try{var f=t(n,a),o=x.S;o!==null&&o(c,f),Ym(l,e,f)}catch(s){Ro(l,e,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),x.T=u}}else try{u=t(n,a),Ym(l,e,u)}catch(s){Ro(l,e,s)}}i(G0,"runActionStateAction");function Ym(l,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){Gm(l,e,a)},function(a){return Ro(l,e,a)}):Gm(l,e,t)}i(Ym,"handleActionReturnValue");function Gm(l,e,t){e.status="fulfilled",e.value=t,Q0(e),l.state=t,e=l.pending,e!==null&&(t=e.next,t===e?l.pending=null:(t=t.next,e.next=t,G0(l,t)))}i(Gm,"onActionSuccess");function Ro(l,e,t){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=t,Q0(e),e=e.next;while(e!==a)}l.action=null}i(Ro,"onActionError");function Q0(l){l=l.listeners;for(var e=0;e<l.length;e++)(0,l[e])()}i(Q0,"notifyActionListeners");function X0(l,e){return e}i(X0,"actionStateReducer");function Qm(l,e){if(j){var t=el.formState;if(t!==null){l:{var a=q;if(j){if(ul){e:{for(var n=ul,u=ve;n.nodeType!==8;){if(!u){n=null;break e}if(n=ge(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){ul=ge(n.nextSibling),a=n.data==="F!";break l}}Lt(a)}a=!1}a&&(e=t[0])}}return t=Xl(),t.memoizedState=t.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:X0,lastRenderedState:e},t.queue=a,t=ny.bind(null,q,a),a.dispatch=t,a=qo(!1),u=Vs.bind(null,q,!1,a.queue),a=Xl(),n={state:e,dispatch:null,action:l,pending:null},a.queue=n,t=Ap.bind(null,q,n,u,t),n.dispatch=t,a.memoizedState=l,[e,t,!1]}i(Qm,"mountActionState");function Xm(l){var e=ml();return j0(e,ll,l)}i(Xm,"updateActionState");function j0(l,e,t){if(e=xs(l,e,X0)[0],l=Vi(ot)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Vu(e)}catch(c){throw c===Nn?Oc:c}else a=e;e=ml();var n=e.queue,u=n.dispatch;return t!==e.memoizedState&&(q.flags|=2048,pn(9,{destroy:void 0},Ep.bind(null,n,t),null)),[a,u,l]}i(j0,"updateActionStateImpl");function Ep(l,e){l.action=e}i(Ep,"actionStateActionEffect");function jm(l){var e=ml(),t=ll;if(t!==null)return j0(e,t,l);ml(),e=e.memoizedState,t=ml();var a=t.queue.dispatch;return t.memoizedState=l,[e,a,!1]}i(jm,"rerenderActionState");function pn(l,e,t,a){return l={tag:l,create:t,deps:a,inst:e,next:null},e=q.updateQueue,e===null&&(e=Uc(),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(pn,"pushSimpleEffect");function L0(){return ml().memoizedState}i(L0,"updateRef");function Yi(l,e,t,a){var n=Xl();q.flags|=l,n.memoizedState=pn(1|e,{destroy:void 0},t,a===void 0?null:a)}i(Yi,"mountEffectImpl");function Cc(l,e,t,a){var n=ml();a=a===void 0?null:a;var u=n.memoizedState.inst;ll!==null&&a!==null&&Ms(a,ll.memoizedState.deps)?n.memoizedState=pn(e,u,t,a):(q.flags|=l,n.memoizedState=pn(1|e,u,t,a))}i(Cc,"updateEffectImpl");function Lm(l,e){Yi(8390656,8,l,e)}i(Lm,"mountEffect");function Bs(l,e){Cc(2048,8,l,e)}i(Bs,"updateEffect");function _p(l){q.flags|=4;var e=q.updateQueue;if(e===null)e=Uc(),q.updateQueue=e,e.events=[l];else{var t=e.events;t===null?e.events=[l]:t.push(l)}}i(_p,"useEffectEventImpl");function Z0(l){var e=ml().memoizedState;return _p({ref:e,nextImpl:l}),function(){if((L&2)!==0)throw Error(S(440));return e.impl.apply(void 0,arguments)}}i(Z0,"updateEvent");function K0(l,e){return Cc(4,2,l,e)}i(K0,"updateInsertionEffect");function w0(l,e){return Cc(4,4,l,e)}i(w0,"updateLayoutEffect");function J0(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(J0,"imperativeHandleEffect");function W0(l,e,t){t=t!=null?t.concat([l]):null,Cc(4,4,J0.bind(null,e,l),t)}i(W0,"updateImperativeHandle");function Hs(){}i(Hs,"mountDebugValue");function F0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;return e!==null&&Ms(e,a[1])?a[0]:(t.memoizedState=[l,e],l)}i(F0,"updateCallback");function $0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;if(e!==null&&Ms(e,a[1]))return a[0];if(a=l(),va){Ut(!0);try{l()}finally{Ut(!1)}}return t.memoizedState=[a,e],a}i($0,"updateMemo");function qs(l,e,t){return t===void 0||(ft&1073741824)!==0&&(Q&261930)===0?l.memoizedState=e:(l.memoizedState=t,l=Yy(),q.lanes|=l,Kt|=l,t)}i(qs,"mountDeferredValueImpl");function I0(l,e,t,a){return ue(t,e)?t:vn.current!==null?(l=qs(l,t,a),ue(l,e)||(zl=!0),l):(ft&42)===0||(ft&1073741824)!==0&&(Q&261930)===0?(zl=!0,l.memoizedState=t):(l=Yy(),q.lanes|=l,Kt|=l,e)}i(I0,"updateDeferredValueImpl");function P0(l,e,t,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var c=x.T,f={};x.T=f,Vs(l,!1,e,t);try{var o=n(),s=x.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var y=Sp(o,a);ru(l,e,y,ne(l))}else ru(l,e,a,ne(l))}catch(p){ru(l,e,{then:i(function(){},"then"),status:"rejected",reason:p},ne())}finally{Z.p=u,c!==null&&f.types!==null&&(c.types=f.types),x.T=c}}i(P0,"startTransition");function Np(){}i(Np,"noop");function Vo(l,e,t,a){if(l.tag!==5)throw Error(S(476));var n=ly(l).queue;P0(l,n,e,fa,t===null?Np:function(){return ey(l),t(a)})}i(Vo,"startHostTransition");function ly(l){var e=l.memoizedState;if(e!==null)return e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ot,lastRenderedState:fa},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ot,lastRenderedState:t},next:null},l.memoizedState=e,l=l.alternate,l!==null&&(l.memoizedState=e),e}i(ly,"ensureFormComponentIsStateful");function ey(l){var e=ly(l);e.next===null&&(e=l.alternate.memoizedState),ru(l,e.next.queue,{},ne())}i(ey,"requestFormReset$1");function Rs(){return Vl(Ou)}i(Rs,"useHostTransitionStatus");function ty(){return ml().memoizedState}i(ty,"updateId");function ay(){return ml().memoizedState}i(ay,"updateRefresh");function Mp(l){for(var e=l.return;e!==null;){switch(e.tag){case 24:case 3:var t=ne();l=qt(t);var a=Rt(e,l,t);a!==null&&(Jl(a,e,t),fu(a,e,t)),e={cache:Ts()},l.payload=e;return}e=e.return}}i(Mp,"refreshCache");function Op(l,e,t){var a=ne();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},kc(l)?uy(e,t):(t=gs(l,e,t,a),t!==null&&(Jl(t,l,a),iy(t,e,a)))}i(Op,"dispatchReducerAction");function ny(l,e,t){var a=ne();ru(l,e,t,a)}i(ny,"dispatchSetState");function ru(l,e,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(kc(l))uy(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,ue(f,c))return Mc(l,e,n,0),el===null&&Nc(),!1}catch{}finally{}if(t=gs(l,e,n,a),t!==null)return Jl(t,l,a),iy(t,e,a),!0}return!1}i(ru,"dispatchSetStateInternal");function Vs(l,e,t,a){if(a={lane:2,revertLane:ws(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},kc(l)){if(e)throw Error(S(479))}else e=gs(l,t,a,2),e!==null&&Jl(e,l,2)}i(Vs,"dispatchOptimisticSetState");function kc(l){var e=l.alternate;return l===q||e!==null&&e===q}i(kc,"isRenderPhaseUpdate");function uy(l,e){sn=uc=!0;var t=l.pending;t===null?e.next=e:(e.next=t.next,t.next=e),l.pending=e}i(uy,"enqueueRenderPhaseUpdate");function iy(l,e,t){if((t&4194048)!==0){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Zh(l,t)}}i(iy,"entangleTransitionUpdate");var _u={readContext:Vl,use:Dc,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};_u.useEffectEvent=sl;var cy={readContext:Vl,use:Dc,useCallback:i(function(l,e){return Xl().memoizedState=[l,e===void 0?null:e],l},"useCallback"),useContext:Vl,useEffect:Lm,useImperativeHandle:i(function(l,e,t){t=t!=null?t.concat([l]):null,Yi(4194308,4,J0.bind(null,e,l),t)},"useImperativeHandle"),useLayoutEffect:i(function(l,e){return Yi(4194308,4,l,e)},"useLayoutEffect"),useInsertionEffect:i(function(l,e){Yi(4,2,l,e)},"useInsertionEffect"),useMemo:i(function(l,e){var t=Xl();e=e===void 0?null:e;var a=l();if(va){Ut(!0);try{l()}finally{Ut(!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(va){Ut(!0);try{t(e)}finally{Ut(!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=Op.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=qo(l);var e=l.queue,t=ny.bind(null,q,e);return e.dispatch=t,[l.memoizedState,t]},"useState"),useDebugValue:Hs,useDeferredValue:i(function(l,e){var t=Xl();return qs(t,l,e)},"useDeferredValue"),useTransition:i(function(){var l=qo(!1);return l=P0.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(j){if(t===void 0)throw Error(S(407));t=t()}else{if(t=e(),el===null)throw Error(S(349));(Q&127)!==0||B0(a,e,t)}n.memoizedState=t;var u={value:t,getSnapshot:e};return n.queue=u,Lm(q0.bind(null,a,u,l),[l]),a.flags|=2048,pn(9,{destroy:void 0},H0.bind(null,a,u,t,e),null),t},"useSyncExternalStore"),useId:i(function(){var l=Xl(),e=el.identifierPrefix;if(j){var t=Be,a=xe;t=(a&~(1<<32-ae(a)-1)).toString(32)+t,e="_"+e+"R_"+t,t=ic++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=zp++,e="_"+e+"r_"+t.toString(32)+"_";return l.memoizedState=e},"useId"),useHostTransitionStatus:Rs,useFormState:Qm,useActionState:Qm,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=Vs.bind(null,q,!0,t),t.dispatch=e,[l,e]},"useOptimistic"),useMemoCache:ks,useCacheRefresh:i(function(){return Xl().memoizedState=Mp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var e=Xl(),t={impl:l};return e.memoizedState=t,function(){if((L&2)!==0)throw Error(S(440));return t.impl.apply(void 0,arguments)}},"useEffectEvent")},Ys={readContext:Vl,use:Dc,useCallback:F0,useContext:Vl,useEffect:Bs,useImperativeHandle:W0,useInsertionEffect:K0,useLayoutEffect:w0,useMemo:$0,useReducer:Vi,useRef:L0,useState:i(function(){return Vi(ot)},"useState"),useDebugValue:Hs,useDeferredValue:i(function(l,e){var t=ml();return I0(t,ll.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Vi(ot)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:Vu(l),e]},"useTransition"),useSyncExternalStore:x0,useId:ty,useHostTransitionStatus:Rs,useFormState:Xm,useActionState:Xm,useOptimistic:i(function(l,e){var t=ml();return Y0(t,ll,l,e)},"useOptimistic"),useMemoCache:ks,useCacheRefresh:ay};Ys.useEffectEvent=Z0;var fy={readContext:Vl,use:Dc,useCallback:F0,useContext:Vl,useEffect:Bs,useImperativeHandle:W0,useInsertionEffect:K0,useLayoutEffect:w0,useMemo:$0,useReducer:Zf,useRef:L0,useState:i(function(){return Zf(ot)},"useState"),useDebugValue:Hs,useDeferredValue:i(function(l,e){var t=ml();return ll===null?qs(t,l,e):I0(t,ll.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Zf(ot)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:Vu(l),e]},"useTransition"),useSyncExternalStore:x0,useId:ty,useHostTransitionStatus:Rs,useFormState:jm,useActionState:jm,useOptimistic:i(function(l,e){var t=ml();return ll!==null?Y0(t,ll,l,e):(t.baseState=l,[l,t.queue.dispatch])},"useOptimistic"),useMemoCache:ks,useCacheRefresh:ay};fy.useEffectEvent=Z0;function Kf(l,e,t,a){e=l.memoizedState,t=t(a,e),t=t==null?e:il({},e,t),l.memoizedState=t,l.lanes===0&&(l.updateQueue.baseState=t)}i(Kf,"applyDerivedStateFromProps");var Yo={enqueueSetState:i(function(l,e,t){l=l._reactInternals;var a=ne(),n=qt(a);n.payload=e,t!=null&&(n.callback=t),e=Rt(l,n,a),e!==null&&(Jl(e,l,a),fu(e,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,e,t){l=l._reactInternals;var a=ne(),n=qt(a);n.tag=1,n.payload=e,t!=null&&(n.callback=t),e=Rt(l,n,a),e!==null&&(Jl(e,l,a),fu(e,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,e){l=l._reactInternals;var t=ne(),a=qt(t);a.tag=2,e!=null&&(a.callback=e),e=Rt(l,a,t),e!==null&&(Jl(e,l,t),fu(e,l,t))},"enqueueForceUpdate")};function Zm(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?!Su(t,a)||!Su(n,u):!0}i(Zm,"checkShouldComponentUpdate");function Km(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&&Yo.enqueueReplaceState(e,e.state,null)}i(Km,"callComponentWillReceiveProps");function pa(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=il({},t));for(var n in l)t[n]===void 0&&(t[n]=l[n])}return t}i(pa,"resolveClassComponentProps");function oy(l){Ii(l)}i(oy,"defaultOnUncaughtError");function sy(l){console.error(l)}i(sy,"defaultOnCaughtError");function ry(l){Ii(l)}i(ry,"defaultOnRecoverableError");function cc(l,e){try{var t=l.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}i(cc,"logUncaughtError");function wm(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(wm,"logCaughtError");function Go(l,e,t){return t=qt(t),t.tag=3,t.payload={element:null},t.callback=function(){cc(l,e)},t}i(Go,"createRootErrorUpdate");function dy(l){return l=qt(l),l.tag=3,l}i(dy,"createClassErrorUpdate");function my(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(){wm(e,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){wm(e,t,a),typeof n!="function"&&(Vt===null?Vt=new Set([this]):Vt.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(my,"initializeClassErrorUpdate");function Up(l,e,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=t.alternate,e!==null&&_n(e,t,n,!0),t=ie.current,t!==null){switch(t.tag){case 31:case 13:return pe===null?dc():t.alternate===null&&rl===0&&(rl=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===tc?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([a]):e.add(a),ao(l,a,n)),!1;case 22:return t.flags|=65536,a===tc?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)),ao(l,a,n)),!1}throw Error(S(435,t.tag))}return ao(l,a,n),dc(),!1}if(j)return e=ie.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Mo&&(l=Error(S(422),{cause:a}),Tu(ye(l,t)))):(a!==Mo&&(e=Error(S(423),{cause:a}),Tu(ye(e,t))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=ye(a,t),n=Go(l.stateNode,a,n),Lf(l,n),rl!==4&&(rl=2)),!1;var u=Error(S(520),{cause:a});if(u=ye(u,t),hu===null?hu=[u]:hu.push(u),rl!==4&&(rl=2),e===null)return!0;a=ye(a,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,l=n&-n,t.lanes|=l,l=Go(t.stateNode,a,l),Lf(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"&&(Vt===null||!Vt.has(u))))return t.flags|=65536,n&=-n,t.lanes|=n,n=dy(n),my(n,l,t,a),Lf(t,n),!1}t=t.return}while(t!==null);return!1}i(Up,"throwException");var Gs=Error(S(461)),zl=!1;function Hl(l,e,t,a){e.child=l===null?M0(e,null,t,a):ya(e,l.child,t,a)}i(Hl,"reconcileChildren");function Jm(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 ha(e),a=Os(l,e,t,c,u,n),f=Us(),l!==null&&!zl?(Ds(l,e,n),st(l,e,n)):(j&&f&&Ss(e),e.flags|=1,Hl(l,e,a,n),e.child)}i(Jm,"updateForwardRef");function Wm(l,e,t,a,n){if(l===null){var u=t.type;return typeof u=="function"&&!bs(u)&&u.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=u,hy(l,e,u,a,n)):(l=qi(t.type,null,a,e,e.mode,n),l.ref=e.ref,l.return=e,e.child=l)}if(u=l.child,!Qs(l,n)){var c=u.memoizedProps;if(t=t.compare,t=t!==null?t:Su,t(c,a)&&l.ref===e.ref)return st(l,e,n)}return e.flags|=1,l=nt(u,a),l.ref=e.ref,l.return=e,e.child=l}i(Wm,"updateMemoComponent");function hy(l,e,t,a,n){if(l!==null){var u=l.memoizedProps;if(Su(u,a)&&l.ref===e.ref)if(zl=!1,e.pendingProps=a=u,Qs(l,n))(l.flags&131072)!==0&&(zl=!0);else return e.lanes=l.lanes,st(l,e,n)}return Qo(l,e,t,a,n)}i(hy,"updateSimpleMemoComponent");function yy(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 Fm(l,e,u,t,a)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},l!==null&&Ri(e,u!==null?u.cachePool:null),u!==null?Vm(e,u):Bo(),D0(e);else return a=e.lanes=536870912,Fm(l,e,u!==null?u.baseLanes|t:t,t,a)}else u!==null?(Ri(e,u.cachePool),Vm(e,u),Mt(e),e.memoizedState=null):(l!==null&&Ri(e,null),Bo(),Mt(e));return Hl(l,e,n,t),e.child}i(yy,"updateOffscreenComponent");function tu(l,e){return l!==null&&l.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}i(tu,"bailoutOffscreenComponent");function Fm(l,e,t,a,n){var u=As();return u=u===null?null:{parent:Sl._currentValue,pool:u},e.memoizedState={baseLanes:t,cachePool:u},l!==null&&Ri(e,null),Bo(),D0(e),l!==null&&_n(l,e,a,!0),e.childLanes=n,null}i(Fm,"deferHiddenOffscreenComponent");function Gi(l,e){return e=fc({mode:e.mode,children:e.children},l.mode),e.ref=l.ref,l.child=e,e.return=l,e}i(Gi,"mountActivityChildren");function $m(l,e,t){return ya(e,l.child,null,t),l=Gi(e,e.pendingProps),l.flags|=2,Il(e),e.memoizedState=null,l}i($m,"retryActivityComponentWithoutHydrating");function Dp(l,e,t){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,l===null){if(j){if(a.mode==="hidden")return l=Gi(e,a),e.lanes=536870912,tu(null,l);if(Ho(e),(l=ul)?(l=cv(l,ve),l=l!==null&&l.data==="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:jt!==null?{id:xe,overflow:Be}:null,retryLane:536870912,hydrationErrors:null},t=S0(l),t.return=e,e.child=t,Rl=e,ul=null)):l=null,l===null)throw Lt(e);return e.lanes=536870912,null}return Gi(e,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Ho(e),n)if(e.flags&256)e.flags&=-257,e=$m(l,e,t);else if(e.memoizedState!==null)e.child=l.child,e.flags|=128,e=null;else throw Error(S(558));else if(zl||_n(l,e,t,!1),n=(t&l.childLanes)!==0,zl||n){if(a=el,a!==null&&(c=Kh(a,t),c!==0&&c!==u.retryLane))throw u.retryLane=c,za(l,c),Jl(a,l,c),Gs;dc(),e=$m(l,e,t)}else l=u.treeContext,ul=ge(c.nextSibling),Rl=e,j=!0,Ht=null,ve=!1,l!==null&&T0(e,l),e=Gi(e,a),e.flags|=4096;return e}return l=nt(l.child,{mode:a.mode,children:a.children}),l.ref=e.ref,e.child=l,l.return=e,l}i(Dp,"updateActivityComponent");function Qi(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(Qi,"markRef");function Qo(l,e,t,a,n){return ha(e),t=Os(l,e,t,a,void 0,n),a=Us(),l!==null&&!zl?(Ds(l,e,n),st(l,e,n)):(j&&a&&Ss(e),e.flags|=1,Hl(l,e,t,n),e.child)}i(Qo,"updateFunctionComponent");function Im(l,e,t,a,n,u){return ha(e),e.updateQueue=null,t=k0(e,a,t,n),C0(l),a=Us(),l!==null&&!zl?(Ds(l,e,u),st(l,e,u)):(j&&a&&Ss(e),e.flags|=1,Hl(l,e,t,u),e.child)}i(Im,"replayFunctionComponent");function Pm(l,e,t,a,n){if(ha(e),e.stateNode===null){var u=ln,c=t.contextType;typeof c=="object"&&c!==null&&(u=Vl(c)),u=new t(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Yo,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},_s(e),c=t.contextType,u.context=typeof c=="object"&&c!==null?Vl(c):ln,u.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(Kf(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&&Yo.enqueueReplaceState(u,u.state,null),su(e,a,u,n),ou(),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=pa(t,f);u.props=o;var s=u.context,y=t.contextType;c=ln,typeof y=="object"&&y!==null&&(c=Vl(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)&&Km(e,u,a,c),Et=!1;var h=e.memoizedState;u.state=h,su(e,a,u,n),ou(),s=e.memoizedState,f||h!==s||Et?(typeof p=="function"&&(Kf(e,t,p,a),s=e.memoizedState),(o=Et||Zm(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,ko(l,e),c=e.memoizedProps,y=pa(t,c),u.props=y,p=e.pendingProps,h=u.context,s=t.contextType,o=ln,typeof s=="object"&&s!==null&&(o=Vl(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)&&Km(e,u,a,o),Et=!1,h=e.memoizedState,u.state=h,su(e,a,u,n),ou();var d=e.memoizedState;c!==p||h!==d||Et||l!==null&&l.dependencies!==null&&ec(l.dependencies)?(typeof f=="function"&&(Kf(e,t,f,a),d=e.memoizedState),(y=Et||Zm(e,t,y,a,h,d,o)||l!==null&&l.dependencies!==null&&ec(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,Qi(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=ya(e,l.child,null,n),e.child=ya(e,null,t,n)):Hl(l,e,t,n),e.memoizedState=u.state,l=e.child):l=st(l,e,n),l}i(Pm,"updateClassComponent");function lh(l,e,t,a){return ma(),e.flags|=256,Hl(l,e,t,a),e.child}i(lh,"mountHostRootWithoutHydrating");var wf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jf(l){return{baseLanes:l,cachePool:E0()}}i(Jf,"mountSuspenseOffscreenState");function Wf(l,e,t){return l=l!==null?l.childLanes&~t:0,e&&(l|=le),l}i(Wf,"getRemainingWorkInPrimaryTree");function vy(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(j){if(n?Nt(e):Mt(e),(l=ul)?(l=cv(l,ve),l=l!==null&&l.data!=="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:jt!==null?{id:xe,overflow:Be}:null,retryLane:536870912,hydrationErrors:null},t=S0(l),t.return=e,e.child=t,Rl=e,ul=null)):l=null,l===null)throw Lt(e);return es(l)?e.lanes=32:e.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Mt(e),n=e.mode,f=fc({mode:"hidden",children:f},n),a=oa(a,n,t,null),f.return=e,a.return=e,f.sibling=a,e.child=f,a=e.child,a.memoizedState=Jf(t),a.childLanes=Wf(l,c,t),e.memoizedState=wf,tu(null,a)):(Nt(e),Xo(e,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)e.flags&256?(Nt(e),e.flags&=-257,e=Ff(l,e,t)):e.memoizedState!==null?(Mt(e),e.child=l.child,e.flags|=128,e=null):(Mt(e),f=a.fallback,n=e.mode,a=fc({mode:"visible",children:a.children},n),f=oa(f,n,t,null),f.flags|=2,a.return=e,f.return=e,a.sibling=f,e.child=a,ya(e,l.child,null,t),a=e.child,a.memoizedState=Jf(t),a.childLanes=Wf(l,c,t),e.memoizedState=wf,e=tu(null,a));else if(Nt(e),es(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(S(419)),a.stack="",a.digest=c,Tu({value:a,source:null,stack:null}),e=Ff(l,e,t)}else if(zl||_n(l,e,t,!1),c=(t&l.childLanes)!==0,zl||c){if(c=el,c!==null&&(a=Kh(c,t),a!==0&&a!==o.retryLane))throw o.retryLane=a,za(l,a),Jl(c,l,a),Gs;ls(f)||dc(),e=Ff(l,e,t)}else ls(f)?(e.flags|=192,e.child=l.child,e=null):(l=o.treeContext,ul=ge(f.nextSibling),Rl=e,j=!0,Ht=null,ve=!1,l!==null&&T0(e,l),e=Xo(e,a.children),e.flags|=4096);return e}return n?(Mt(e),f=a.fallback,n=e.mode,o=l.child,s=o.sibling,a=nt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=nt(s,f):(f=oa(f,n,t,null),f.flags|=2),f.return=e,a.return=e,a.sibling=f,e.child=a,tu(null,a),a=e.child,f=l.child.memoizedState,f===null?f=Jf(t):(n=f.cachePool,n!==null?(o=Sl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=E0(),f={baseLanes:f.baseLanes|t,cachePool:n}),a.memoizedState=f,a.childLanes=Wf(l,c,t),e.memoizedState=wf,tu(l.child,a)):(Nt(e),t=l.child,l=t.sibling,t=nt(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(vy,"updateSuspenseComponent");function Xo(l,e){return e=fc({mode:"visible",children:e},l.mode),e.return=l,l.child=e}i(Xo,"mountSuspensePrimaryChildren");function fc(l,e){return l=Pl(22,l,null,e),l.lanes=0,l}i(fc,"mountWorkInProgressOffscreenFiber");function Ff(l,e,t){return ya(e,l.child,null,t),l=Xo(e,e.pendingProps.children),l.flags|=2,e.memoizedState=null,l}i(Ff,"retrySuspenseComponentWithoutHydrating");function eh(l,e,t){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e),Uo(l.return,e,t)}i(eh,"scheduleSuspenseWorkOnFiber");function $f(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($f,"initSuspenseListRenderState");function py(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,tl(dl,c),Hl(l,e,a,t),a=j?zu:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=e.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&eh(l,t,e);else if(l.tag===19)eh(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&&nc(l)===null&&(n=t),t=t.sibling;t=n,t===null?(n=e.child,e.child=null):(n=t.sibling,t.sibling=null),$f(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&&nc(l)===null){e.child=n;break}l=n.sibling,n.sibling=t,t=n,n=l}$f(e,!0,t,null,u,a);break;case"together":$f(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}i(py,"updateSuspenseListComponent");function st(l,e,t){if(l!==null&&(e.dependencies=l.dependencies),Kt|=e.lanes,(t&e.childLanes)===0)if(l!==null){if(_n(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=nt(l,l.pendingProps),e.child=t,t.return=e;l.sibling!==null;)l=l.sibling,t=t.sibling=nt(l,l.pendingProps),t.return=e;t.sibling=null}return e.child}i(st,"bailoutOnAlreadyFinishedWork");function Qs(l,e){return(l.lanes&e)!==0?!0:(l=l.dependencies,!!(l!==null&&ec(l)))}i(Qs,"checkScheduledUpdateOrContext");function Cp(l,e,t){switch(e.tag){case 3:Ji(e,e.stateNode.containerInfo),_t(e,Sl,l.memoizedState.cache),ma();break;case 27:case 5:vo(e);break;case 4:Ji(e,e.stateNode.containerInfo);break;case 10:_t(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Ho(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Nt(e),e.flags|=128,null):(t&e.child.childLanes)!==0?vy(l,e,t):(Nt(e),l=st(l,e,t),l!==null?l.sibling:null);Nt(e);break;case 19:var n=(l.flags&128)!==0;if(a=(t&e.childLanes)!==0,a||(_n(l,e,t,!1),a=(t&e.childLanes)!==0),n){if(a)return py(l,e,t);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),tl(dl,dl.current),a)break;return null;case 22:return e.lanes=0,yy(l,e,t,e.pendingProps);case 24:_t(e,Sl,l.memoizedState.cache)}return st(l,e,t)}i(Cp,"attemptEarlyBailoutIfNoScheduledUpdate");function gy(l,e,t){if(l!==null)if(l.memoizedProps!==e.pendingProps)zl=!0;else{if(!Qs(l,t)&&(e.flags&128)===0)return zl=!1,Cp(l,e,t);zl=(l.flags&131072)!==0}else zl=!1,j&&(e.flags&1048576)!==0&&z0(e,zu,e.index);switch(e.lanes=0,e.tag){case 16:l:{var a=e.pendingProps;if(l=ia(e.elementType),e.type=l,typeof l=="function")bs(l)?(a=pa(l,a),e.tag=1,e=Pm(null,e,l,a,t)):(e.tag=0,e=Qo(null,e,l,a,t));else{if(l!=null){var n=l.$$typeof;if(n===us){e.tag=11,e=Jm(null,e,l,a,t);break l}else if(n===is){e.tag=14,e=Wm(null,e,l,a,t);break l}}throw e=ho(l)||l,Error(S(306,e,""))}}return e;case 0:return Qo(l,e,e.type,e.pendingProps,t);case 1:return a=e.type,n=pa(a,e.pendingProps),Pm(l,e,a,n,t);case 3:l:{if(Ji(e,e.stateNode.containerInfo),l===null)throw Error(S(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,ko(l,e),su(e,a,null,t);var c=e.memoizedState;if(a=c.cache,_t(e,Sl,a),a!==u.cache&&Do(e,[Sl],t,!0),ou(),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=lh(l,e,a,t);break l}else if(a!==n){n=ye(Error(S(424)),e),Tu(n),e=lh(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(ul=ge(l.firstChild),Rl=e,j=!0,Ht=null,ve=!0,t=M0(e,null,a,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(ma(),a===n){e=st(l,e,t);break l}Hl(l,e,a,t)}e=e.child}return e;case 26:return Qi(l,e),l===null?(t=Ah(e.type,null,e.pendingProps,null))?e.memoizedState=t:j||(t=e.type,l=e.pendingProps,a=vc(Bt.current).createElement(t),a[ql]=e,a[Wl]=l,Yl(a,t,l),Ul(a),e.stateNode=a):e.memoizedState=Ah(e.type,l.memoizedProps,e.pendingProps,l.memoizedState),null;case 27:return vo(e),l===null&&j&&(a=e.stateNode=fv(e.type,e.pendingProps,Bt.current),Rl=e,ve=!0,n=ul,Jt(e.type)?(ts=n,ul=ge(a.firstChild)):ul=n),Hl(l,e,e.pendingProps.children,t),Qi(l,e),l===null&&(e.flags|=4194304),e.child;case 5:return l===null&&j&&((n=a=ul)&&(a=ug(a,e.type,e.pendingProps,ve),a!==null?(e.stateNode=a,Rl=e,ul=ge(a.firstChild),ve=!1,n=!0):n=!1),n||Lt(e)),vo(e),n=e.type,u=e.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,Io(n,u)?a=null:c!==null&&Io(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=Os(l,e,Tp,null,null,t),Ou._currentValue=n),Qi(l,e),Hl(l,e,a,t),e.child;case 6:return l===null&&j&&((l=t=ul)&&(t=ig(t,e.pendingProps,ve),t!==null?(e.stateNode=t,Rl=e,ul=null,l=!0):l=!1),l||Lt(e)),null;case 13:return vy(l,e,t);case 4:return Ji(e,e.stateNode.containerInfo),a=e.pendingProps,l===null?e.child=ya(e,null,a,t):Hl(l,e,a,t),e.child;case 11:return Jm(l,e,e.type,e.pendingProps,t);case 7:return Hl(l,e,e.pendingProps,t),e.child;case 8:return Hl(l,e,e.pendingProps.children,t),e.child;case 12:return Hl(l,e,e.pendingProps.children,t),e.child;case 10:return a=e.pendingProps,_t(e,e.type,a.value),Hl(l,e,a.children,t),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,ha(e),n=Vl(n),a=a(n),e.flags|=1,Hl(l,e,a,t),e.child;case 14:return Wm(l,e,e.type,e.pendingProps,t);case 15:return hy(l,e,e.type,e.pendingProps,t);case 19:return py(l,e,t);case 31:return Dp(l,e,t);case 22:return yy(l,e,t,e.pendingProps);case 24:return ha(e),a=Vl(Sl),l===null?(n=As(),n===null&&(n=el,u=Ts(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=t),n=u),e.memoizedState={parent:a,cache:n},_s(e),_t(e,Sl,n)):((l.lanes&t)!==0&&(ko(l,e),su(e,null,null,t),ou()),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),_t(e,Sl,a)):(a=u.cache,_t(e,Sl,a),a!==n.cache&&Do(e,[Sl],t,!0))),Hl(l,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(S(156,e.tag))}i(gy,"beginWork");function We(l){l.flags|=4}i(We,"markUpdate");function If(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(Xy())l.flags|=8192;else throw ra=tc,Es}else l.flags&=-16777217}i(If,"preloadInstanceAndSuspendIfNeeded");function th(l,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!rv(e))if(Xy())l.flags|=8192;else throw ra=tc,Es}i(th,"preloadResourceAndSuspendIfNeeded");function _i(l,e){e!==null&&(l.flags|=4),l.flags&16384&&(e=l.tag!==22?jh():536870912,l.lanes|=e,gn|=e)}i(_i,"scheduleRetryEffect");function Wn(l,e){if(!j)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(Wn,"cutOffTailIfNeeded");function nl(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(nl,"bubbleProperties");function kp(l,e,t){var a=e.pendingProps;switch(zs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nl(e),null;case 1:return nl(e),null;case 3:return t=e.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ut(Sl),dn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(l===null||l.child===null)&&(Xa(e)?We(e):l===null||l.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,jf())),nl(e),null;case 26:var n=e.type,u=e.memoizedState;return l===null?(We(e),u!==null?(nl(e),th(e,u)):(nl(e),If(e,n,null,a,t))):u?u!==l.memoizedState?(We(e),nl(e),th(e,u)):(nl(e),e.flags&=-16777217):(l=l.memoizedProps,l!==a&&We(e),nl(e),If(e,n,l,a,t)),null;case 27:if(Wi(e),t=Bt.current,n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&We(e);else{if(!a){if(e.stateNode===null)throw Error(S(166));return nl(e),null}l=qe.current,Xa(e)?Cm(e,l):(l=fv(n,a,t),e.stateNode=l,We(e))}return nl(e),null;case 5:if(Wi(e),n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&We(e);else{if(!a){if(e.stateNode===null)throw Error(S(166));return nl(e),null}if(u=qe.current,Xa(e))Cm(e,u);else{var c=vc(Bt.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[ql]=e,u[Wl]=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(Yl(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&&We(e)}}return nl(e),If(e,e.type,l===null?null:l.memoizedProps,e.pendingProps,t),null;case 6:if(l&&e.stateNode!=null)l.memoizedProps!==a&&We(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(S(166));if(l=Bt.current,Xa(e)){if(l=e.stateNode,t=e.memoizedProps,a=null,n=Rl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[ql]=e,l=!!(l.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||nv(l.nodeValue,t)),l||Lt(e,!0)}else l=vc(l).createTextNode(a),l[ql]=e,e.stateNode=l}return nl(e),null;case 31:if(t=e.memoizedState,l===null||l.memoizedState!==null){if(a=Xa(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[ql]=e}else ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;nl(e),l=!1}else t=jf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=t),l=!0;if(!l)return e.flags&256?(Il(e),e):(Il(e),null);if((e.flags&128)!==0)throw Error(S(558))}return nl(e),null;case 13:if(a=e.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Xa(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[ql]=e}else ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;nl(e),n=!1}else n=jf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Il(e),e):(Il(e),null)}return Il(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),_i(e,e.updateQueue),nl(e),null);case 4:return dn(),l===null&&Js(e.stateNode.containerInfo),nl(e),null;case 10:return ut(e.type),nl(e),null;case 19:if(Dl(dl),a=e.memoizedState,a===null)return nl(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Wn(a,!1);else{if(rl!==0||l!==null&&(l.flags&128)!==0)for(l=e.child;l!==null;){if(u=nc(l),u!==null){for(e.flags|=128,Wn(a,!1),l=u.updateQueue,e.updateQueue=l,_i(e,l),e.subtreeFlags=0,l=t,t=e.child;t!==null;)b0(t,l),t=t.sibling;return tl(dl,dl.current&1|2),j&&Pe(e,a.treeForkCount),e.child}l=l.sibling}a.tail!==null&&ee()>sc&&(e.flags|=128,n=!0,Wn(a,!1),e.lanes=4194304)}else{if(!n)if(l=nc(u),l!==null){if(e.flags|=128,n=!0,l=l.updateQueue,e.updateQueue=l,_i(e,l),Wn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!j)return nl(e),null}else 2*ee()-a.renderingStartTime>sc&&t!==536870912&&(e.flags|=128,n=!0,Wn(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=ee(),l.sibling=null,t=dl.current,tl(dl,n?t&1|2:t&1),j&&Pe(e,a.treeForkCount),l):(nl(e),null);case 22:case 23:return Il(e),Ns(),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&&(nl(e),e.subtreeFlags&6&&(e.flags|=8192)):nl(e),t=e.updateQueue,t!==null&&_i(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&&Dl(sa),null;case 24:return t=null,l!==null&&(t=l.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),ut(Sl),nl(e),null;case 25:return null;case 30:return null}throw Error(S(156,e.tag))}i(kp,"completeWork");function xp(l,e){switch(zs(e),e.tag){case 1:return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 3:return ut(Sl),dn(),l=e.flags,(l&65536)!==0&&(l&128)===0?(e.flags=l&-65537|128,e):null;case 26:case 27:case 5:return Wi(e),null;case 31:if(e.memoizedState!==null){if(Il(e),e.alternate===null)throw Error(S(340));ma()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 13:if(Il(e),l=e.memoizedState,l!==null&&l.dehydrated!==null){if(e.alternate===null)throw Error(S(340));ma()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 19:return Dl(dl),null;case 4:return dn(),null;case 10:return ut(e.type),null;case 22:case 23:return Il(e),Ns(),l!==null&&Dl(sa),l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 24:return ut(Sl),null;case 25:return null;default:return null}}i(xp,"unwindWork");function by(l,e){switch(zs(e),e.tag){case 3:ut(Sl),dn();break;case 26:case 27:case 5:Wi(e);break;case 4:dn();break;case 31:e.memoizedState!==null&&Il(e);break;case 13:Il(e);break;case 19:Dl(dl);break;case 10:ut(e.type);break;case 22:case 23:Il(e),Ns(),l!==null&&Dl(sa);break;case 24:ut(Sl)}}i(by,"unwindInterruptedWork");function Yu(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){F(e,e.return,f)}}i(Yu,"commitHookEffectListMount");function Zt(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){F(n,o,y)}}}a=a.next}while(a!==u)}}catch(y){F(e,e.return,y)}}i(Zt,"commitHookEffectListUnmount");function Sy(l){var e=l.updateQueue;if(e!==null){var t=l.stateNode;try{U0(e,t)}catch(a){F(l,l.return,a)}}}i(Sy,"commitClassCallbacks");function zy(l,e,t){t.props=pa(l.type,l.memoizedProps),t.state=l.memoizedState;try{t.componentWillUnmount()}catch(a){F(l,e,a)}}i(zy,"safelyCallComponentWillUnmount");function du(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){F(l,e,n)}}i(du,"safelyAttachRef");function He(l,e){var t=l.ref,a=l.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){F(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){F(l,e,n)}else t.current=null}i(He,"safelyDetachRef");function Ty(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){F(l,l.return,n)}}i(Ty,"commitHostMount");function Pf(l,e,t){try{var a=l.stateNode;Pp(a,l.type,t,e),a[Wl]=e}catch(n){F(l,l.return,n)}}i(Pf,"commitHostUpdate");function Ay(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Jt(l.type)||l.tag===4}i(Ay,"isHostParent");function lo(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Ay(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&&Jt(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(lo,"getHostSibling");function jo(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=tt));else if(a!==4&&(a===27&&Jt(l.type)&&(t=l.stateNode,e=null),l=l.child,l!==null))for(jo(l,e,t),l=l.sibling;l!==null;)jo(l,e,t),l=l.sibling}i(jo,"insertOrAppendPlacementNodeIntoContainer");function oc(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&&Jt(l.type)&&(t=l.stateNode),l=l.child,l!==null))for(oc(l,e,t),l=l.sibling;l!==null;)oc(l,e,t),l=l.sibling}i(oc,"insertOrAppendPlacementNode");function Ey(l){var e=l.stateNode,t=l.memoizedProps;try{for(var a=l.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Yl(e,a,t),e[ql]=l,e[Wl]=t}catch(u){F(l,l.return,u)}}i(Ey,"commitHostSingletonAcquisition");var lt=!1,bl=!1,eo=!1,ah=typeof WeakSet=="function"?WeakSet:Set,Ol=null;function Bp(l,e){if(l=l.containerInfo,Fo=Sc,l=r0(l),vs(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($o={focusedElem:l,selectionRange:t},Sc=!1,Ol=e;Ol!==null;)if(e=Ol,l=e.child,(e.subtreeFlags&1028)!==0&&l!==null)l.return=e,Ol=l;else for(;Ol!==null;){switch(e=Ol,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=pa(t.type,n);l=a.getSnapshotBeforeUpdate(z,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(E){F(t,t.return,E)}}break;case 3:if((l&1024)!==0){if(l=e.stateNode.containerInfo,t=l.nodeType,t===9)Po(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Po(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,Ol=l;break}Ol=e.return}}i(Bp,"commitBeforeMutationEffects");function _y(l,e,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:$e(l,t),a&4&&Yu(5,t);break;case 1:if($e(l,t),a&4)if(l=t.stateNode,e===null)try{l.componentDidMount()}catch(c){F(t,t.return,c)}else{var n=pa(t.type,e.memoizedProps);e=e.memoizedState;try{l.componentDidUpdate(n,e,l.__reactInternalSnapshotBeforeUpdate)}catch(c){F(t,t.return,c)}}a&64&&Sy(t),a&512&&du(t,t.return);break;case 3:if($e(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{U0(l,e)}catch(c){F(t,t.return,c)}}break;case 27:e===null&&a&4&&Ey(t);case 26:case 5:$e(l,t),e===null&&a&4&&Ty(t),a&512&&du(t,t.return);break;case 12:$e(l,t);break;case 31:$e(l,t),a&4&&Oy(l,t);break;case 13:$e(l,t),a&4&&Uy(l,t),a&64&&(l=t.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(t=jp.bind(null,t),cg(l,t))));break;case 22:if(a=t.memoizedState!==null||lt,!a){e=e!==null&&e.memoizedState!==null||bl,n=lt;var u=bl;lt=a,(bl=e)&&!u?Ie(l,t,(t.subtreeFlags&8772)!==0):$e(l,t),lt=n,bl=u}break;case 30:break;default:$e(l,t)}}i(_y,"commitLayoutEffectOnFiber");function Ny(l){var e=l.alternate;e!==null&&(l.alternate=null,Ny(e)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(e=l.stateNode,e!==null&&ss(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(Ny,"detachFiberAfterEffects");var fl=null,Kl=!1;function Fe(l,e,t){for(t=t.child;t!==null;)My(l,e,t),t=t.sibling}i(Fe,"recursivelyTraverseDeletionEffects");function My(l,e,t){if(te&&typeof te.onCommitFiberUnmount=="function")try{te.onCommitFiberUnmount(ku,t)}catch{}switch(t.tag){case 26:bl||He(t,e),Fe(l,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:bl||He(t,e);var a=fl,n=Kl;Jt(t.type)&&(fl=t.stateNode,Kl=!1),Fe(l,e,t),vu(t.stateNode),fl=a,Kl=n;break;case 5:bl||He(t,e);case 6:if(a=fl,n=Kl,fl=null,Fe(l,e,t),fl=a,Kl=n,fl!==null)if(Kl)try{(fl.nodeType===9?fl.body:fl.nodeName==="HTML"?fl.ownerDocument.body:fl).removeChild(t.stateNode)}catch(u){F(t,e,u)}else try{fl.removeChild(t.stateNode)}catch(u){F(t,e,u)}break;case 18:fl!==null&&(Kl?(l=fl,gh(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.stateNode),Tn(l)):gh(fl,t.stateNode));break;case 4:a=fl,n=Kl,fl=t.stateNode.containerInfo,Kl=!0,Fe(l,e,t),fl=a,Kl=n;break;case 0:case 11:case 14:case 15:Zt(2,t,e),bl||Zt(4,t,e),Fe(l,e,t);break;case 1:bl||(He(t,e),a=t.stateNode,typeof a.componentWillUnmount=="function"&&zy(t,e,a)),Fe(l,e,t);break;case 21:Fe(l,e,t);break;case 22:bl=(a=bl)||t.memoizedState!==null,Fe(l,e,t),bl=a;break;default:Fe(l,e,t)}}i(My,"commitDeletionEffectsOnFiber");function Oy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Tn(l)}catch(t){F(e,e.return,t)}}}i(Oy,"commitActivityHydrationCallbacks");function Uy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Tn(l)}catch(t){F(e,e.return,t)}}i(Uy,"commitSuspenseHydrationCallbacks");function Hp(l){switch(l.tag){case 31:case 13:case 19:var e=l.stateNode;return e===null&&(e=l.stateNode=new ah),e;case 22:return l=l.stateNode,e=l._retryCache,e===null&&(e=l._retryCache=new ah),e;default:throw Error(S(435,l.tag))}}i(Hp,"getRetryCache");function Ni(l,e){var t=Hp(l);e.forEach(function(a){if(!t.has(a)){t.add(a);var n=Lp.bind(null,l,a);a.then(n,n)}})}i(Ni,"attachSuspenseRetryListeners");function Ll(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(Jt(f.type)){fl=f.stateNode,Kl=!1;break l}break;case 5:fl=f.stateNode,Kl=!1;break l;case 3:case 4:fl=f.stateNode.containerInfo,Kl=!0;break l}f=f.return}if(fl===null)throw Error(S(160));My(u,c,n),fl=null,Kl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Dy(e,l),e=e.sibling}i(Ll,"recursivelyTraverseMutationEffects");var Ae=null;function Dy(l,e){var t=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Ll(e,l),Zl(l),a&4&&(Zt(3,l,l.return),Yu(3,l),Zt(5,l,l.return));break;case 1:Ll(e,l),Zl(l),a&512&&(bl||t===null||He(t,t.return)),a&64&<&&(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=Ae;if(Ll(e,l),Zl(l),a&512&&(bl||t===null||He(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[Hu]||u[ql]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Yl(u,a,t),u[ql]=l,Ul(u),a=u;break l;case"link":var c=_h("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),Yl(u,a,t),n.head.appendChild(u);break;case"meta":if(c=_h("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),Yl(u,a,t),n.head.appendChild(u);break;default:throw Error(S(468,a))}u[ql]=l,Ul(u),a=u}l.stateNode=a}else Nh(n,l.type,l.stateNode);else l.stateNode=Eh(n,a,l.memoizedProps);else u!==a?(u===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):u.count--,a===null?Nh(n,l.type,l.stateNode):Eh(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Pf(l,l.memoizedProps,t.memoizedProps)}break;case 27:Ll(e,l),Zl(l),a&512&&(bl||t===null||He(t,t.return)),t!==null&&a&4&&Pf(l,l.memoizedProps,t.memoizedProps);break;case 5:if(Ll(e,l),Zl(l),a&512&&(bl||t===null||He(t,t.return)),l.flags&32){n=l.stateNode;try{hn(n,"")}catch(z){F(l,l.return,z)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Pf(l,n,t!==null?t.memoizedProps:n)),a&1024&&(eo=!0);break;case 6:if(Ll(e,l),Zl(l),a&4){if(l.stateNode===null)throw Error(S(162));a=l.memoizedProps,t=l.stateNode;try{t.nodeValue=a}catch(z){F(l,l.return,z)}}break;case 3:if(Li=null,n=Ae,Ae=pc(e.containerInfo),Ll(e,l),Ae=n,Zl(l),a&4&&t!==null&&t.memoizedState.isDehydrated)try{Tn(e.containerInfo)}catch(z){F(l,l.return,z)}eo&&(eo=!1,Cy(l));break;case 4:a=Ae,Ae=pc(l.stateNode.containerInfo),Ll(e,l),Zl(l),Ae=a;break;case 12:Ll(e,l),Zl(l);break;case 31:Ll(e,l),Zl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ni(l,a)));break;case 13:Ll(e,l),Zl(l),l.child.flags&8192&&l.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(xc=ee()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ni(l,a)));break;case 22:n=l.memoizedState!==null;var o=t!==null&&t.memoizedState!==null,s=lt,y=bl;if(lt=s||n,bl=y||o,Ll(e,l),bl=y,lt=s,Zl(l),a&8192)l:for(e=l.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(t===null||o||lt||bl||ca(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){F(o,o.return,z)}}}else if(e.tag===6){if(t===null){o=e;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(z){F(o,o.return,z)}}}else if(e.tag===18){if(t===null){o=e;try{var d=o.stateNode;n?bh(d,!0):bh(o.stateNode,!1)}catch(z){F(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,Ni(l,t))));break;case 19:Ll(e,l),Zl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,Ni(l,a)));break;case 30:break;case 21:break;default:Ll(e,l),Zl(l)}}i(Dy,"commitMutationEffectsOnFiber");function Zl(l){var e=l.flags;if(e&2){try{for(var t,a=l.return;a!==null;){if(Ay(a)){t=a;break}a=a.return}if(t==null)throw Error(S(160));switch(t.tag){case 27:var n=t.stateNode,u=lo(l);oc(l,u,n);break;case 5:var c=t.stateNode;t.flags&32&&(hn(c,""),t.flags&=-33);var f=lo(l);oc(l,f,c);break;case 3:case 4:var o=t.stateNode.containerInfo,s=lo(l);jo(l,s,o);break;default:throw Error(S(161))}}catch(y){F(l,l.return,y)}l.flags&=-3}e&4096&&(l.flags&=-4097)}i(Zl,"commitReconciliationEffects");function Cy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var e=l;Cy(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),l=l.sibling}}i(Cy,"recursivelyResetForms");function $e(l,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)_y(l,e.alternate,e),e=e.sibling}i($e,"recursivelyTraverseLayoutEffects");function ca(l){for(l=l.child;l!==null;){var e=l;switch(e.tag){case 0:case 11:case 14:case 15:Zt(4,e,e.return),ca(e);break;case 1:He(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&zy(e,e.return,t),ca(e);break;case 27:vu(e.stateNode);case 26:case 5:He(e,e.return),ca(e);break;case 22:e.memoizedState===null&&ca(e);break;case 30:ca(e);break;default:ca(e)}l=l.sibling}}i(ca,"recursivelyTraverseDisappearLayoutEffects");function Ie(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:Ie(n,u,t),Yu(4,u);break;case 1:if(Ie(n,u,t),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(s){F(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++)O0(o[n],f)}catch(s){F(a,a.return,s)}}t&&c&64&&Sy(u),du(u,u.return);break;case 27:Ey(u);case 26:case 5:Ie(n,u,t),t&&a===null&&c&4&&Ty(u),du(u,u.return);break;case 12:Ie(n,u,t);break;case 31:Ie(n,u,t),t&&c&4&&Oy(n,u);break;case 13:Ie(n,u,t),t&&c&4&&Uy(n,u);break;case 22:u.memoizedState===null&&Ie(n,u,t),du(u,u.return);break;case 30:break;default:Ie(n,u,t)}e=e.sibling}}i(Ie,"recursivelyTraverseReappearLayoutEffects");function Xs(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&&Ru(t))}i(Xs,"commitOffscreenPassiveMountEffects");function js(l,e){l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Ru(l))}i(js,"commitCachePassiveMountEffect");function Te(l,e,t,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ky(l,e,t,a),e=e.sibling}i(Te,"recursivelyTraversePassiveMountEffects");function ky(l,e,t,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Te(l,e,t,a),n&2048&&Yu(9,e);break;case 1:Te(l,e,t,a);break;case 3:Te(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&&Ru(l)));break;case 12:if(n&2048){Te(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){F(e,e.return,o)}}else Te(l,e,t,a);break;case 31:Te(l,e,t,a);break;case 13:Te(l,e,t,a);break;case 23:break;case 22:u=e.stateNode,c=e.alternate,e.memoizedState!==null?u._visibility&2?Te(l,e,t,a):mu(l,e):u._visibility&2?Te(l,e,t,a):(u._visibility|=2,La(l,e,t,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Xs(c,e);break;case 24:Te(l,e,t,a),n&2048&&js(e.alternate,e);break;default:Te(l,e,t,a)}}i(ky,"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),Yu(8,c);break;case 23:break;case 22:var y=c.stateNode;c.memoizedState!==null?y._visibility&2?La(u,c,f,o,n):mu(u,c):(y._visibility|=2,La(u,c,f,o,n)),n&&s&2048&&Xs(c.alternate,c);break;case 24:La(u,c,f,o,n),n&&s&2048&&js(c.alternate,c);break;default:La(u,c,f,o,n)}e=e.sibling}}i(La,"recursivelyTraverseReconnectPassiveEffects");function mu(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:mu(t,a),n&2048&&Xs(a.alternate,a);break;case 24:mu(t,a),n&2048&&js(a.alternate,a);break;default:mu(t,a)}e=e.sibling}}i(mu,"recursivelyTraverseAtomicPassiveEffects");var au=8192;function ja(l,e,t){if(l.subtreeFlags&au)for(l=l.child;l!==null;)xy(l,e,t),l=l.sibling}i(ja,"recursivelyAccumulateSuspenseyCommit");function xy(l,e,t){switch(l.tag){case 26:ja(l,e,t),l.flags&au&&l.memoizedState!==null&&bg(t,Ae,l.memoizedState,l.memoizedProps);break;case 5:ja(l,e,t);break;case 3:case 4:var a=Ae;Ae=pc(l.stateNode.containerInfo),ja(l,e,t),Ae=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=au,au=16777216,ja(l,e,t),au=a):ja(l,e,t));break;default:ja(l,e,t)}}i(xy,"accumulateSuspenseyCommitOnFiber");function By(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(By,"detachAlternateSiblings");function Fn(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];Ol=a,qy(a,l)}By(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Hy(l),l=l.sibling}i(Fn,"recursivelyTraversePassiveUnmountEffects");function Hy(l){switch(l.tag){case 0:case 11:case 15:Fn(l),l.flags&2048&&Zt(9,l,l.return);break;case 3:Fn(l);break;case 12:Fn(l);break;case 22:var e=l.stateNode;l.memoizedState!==null&&e._visibility&2&&(l.return===null||l.return.tag!==13)?(e._visibility&=-3,Xi(l)):Fn(l);break;default:Fn(l)}}i(Hy,"commitPassiveUnmountOnFiber");function Xi(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];Ol=a,qy(a,l)}By(l)}for(l=l.child;l!==null;){switch(e=l,e.tag){case 0:case 11:case 15:Zt(8,e,e.return),Xi(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,Xi(e));break;default:Xi(e)}l=l.sibling}}i(Xi,"recursivelyTraverseDisconnectPassiveEffects");function qy(l,e){for(;Ol!==null;){var t=Ol;switch(t.tag){case 0:case 11:case 15:Zt(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:Ru(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,Ol=a;else l:for(t=l;Ol!==null;){a=Ol;var n=a.sibling,u=a.return;if(Ny(a),a===t){Ol=null;break l}if(n!==null){n.return=u,Ol=n;break l}Ol=u}}}i(qy,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var qp={getCacheForType:i(function(l){var e=Vl(Sl),t=e.data.get(l);return t===void 0&&(t=l(),e.data.set(l,t)),t},"getCacheForType"),cacheSignal:i(function(){return Vl(Sl).controller.signal},"cacheSignal")},Rp=typeof WeakMap=="function"?WeakMap:Map,L=0,el=null,G=null,Q=0,W=0,$l=null,Ct=!1,Mn=!1,Ls=!1,rt=0,rl=0,Kt=0,da=0,Zs=0,le=0,gn=0,hu=null,wl=null,Lo=!1,xc=0,Ry=0,sc=1/0,rc=null,Vt=null,El=0,Yt=null,bn=null,it=0,Zo=0,Ko=null,Vy=null,yu=0,wo=null;function ne(){return(L&2)!==0&&Q!==0?Q&-Q:x.T!==null?ws():wh()}i(ne,"requestUpdateLane");function Yy(){if(le===0)if((Q&536870912)===0||j){var l=vi;vi<<=1,(vi&3932160)===0&&(vi=262144),le=l}else le=536870912;return l=ie.current,l!==null&&(l.flags|=32),le}i(Yy,"requestDeferredLane");function Jl(l,e,t){(l===el&&(W===2||W===9)||l.cancelPendingCommit!==null)&&(Sn(l,0),kt(l,Q,le,!1)),Bu(l,t),((L&2)===0||l!==el)&&(l===el&&((L&2)===0&&(da|=t),rl===4&&kt(l,Q,le,!1)),Ve(l))}i(Jl,"scheduleUpdateOnFiber");function Gy(l,e,t){if((L&6)!==0)throw Error(S(327));var a=!t&&(e&127)===0&&(e&l.expiredLanes)===0||xu(l,e),n=a?Gp(l,e):to(l,e,!0),u=a;do{if(n===0){Mn&&!a&&kt(l,e,0,!1);break}else{if(t=l.current.alternate,u&&!Vp(t)){n=to(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=hu;var o=f.current.memoizedState.isDehydrated;if(o&&(Sn(f,c).flags|=256),c=to(f,c,!1),c!==2){if(Ls&&!o){f.errorRecoveryDisabledLanes|=u,da|=u,n=4;break l}u=wl,wl=n,u!==null&&(wl===null?wl=u:wl.push.apply(wl,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){Sn(l,0),kt(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:kt(a,e,le,!Ct);break l;case 2:wl=null;break;case 3:case 5:break;default:throw Error(S(329))}if((e&62914560)===e&&(n=xc+300-ee(),10<n)){if(kt(a,e,le,!Ct),Tc(a,0,!0)!==0)break l;it=e,a.timeoutHandle=iv(nh.bind(null,a,t,wl,rc,Lo,e,le,da,gn,Ct,u,"Throttled",-0,0),n);break l}nh(a,t,wl,rc,Lo,e,le,da,gn,Ct,u,null,-0,0)}}break}while(!0);Ve(l)}i(Gy,"performWorkOnRoot");function nh(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:tt},xy(e,u,p);var z=(u&62914560)===u?xc-ee():(u&4194048)===u?Ry-ee():0;if(z=Sg(p,z),z!==null){it=u,l.cancelPendingCommit=z(ih.bind(null,l,e,u,t,a,n,c,f,o,y,p,null,h,d)),kt(l,u,c,!s);return}}ih(l,e,u,t,a,n,c,f,o)}i(nh,"commitRootWhenReady");function Vp(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(!ue(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(Vp,"isRenderConsistentWithExternalStores");function kt(l,e,t,a){e&=~Zs,e&=~da,l.suspendedLanes|=e,l.pingedLanes&=~e,a&&(l.warmLanes|=e),a=l.expirationTimes;for(var n=e;0<n;){var u=31-ae(n),c=1<<u;a[u]=-1,n&=~c}t!==0&&Lh(l,t,e)}i(kt,"markRootSuspended");function Bc(){return(L&6)===0?(Gu(0,!1),!1):!0}i(Bc,"flushSyncWork$1");function Ks(){if(G!==null){if(W===0)var l=G.return;else l=G,at=Ta=null,Cs(l),on=null,Au=0,l=G;for(;l!==null;)by(l.alternate,l),l=l.return;G=null}}i(Ks,"resetWorkInProgressStack");function Sn(l,e){var t=l.timeoutHandle;t!==-1&&(l.timeoutHandle=-1,tg(t)),t=l.cancelPendingCommit,t!==null&&(l.cancelPendingCommit=null,t()),it=0,Ks(),el=l,G=t=nt(l.current,null),Q=e,W=0,$l=null,Ct=!1,Mn=xu(l,e),Ls=!1,gn=le=Zs=da=Kt=rl=0,wl=hu=null,Lo=!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-ae(a),u=1<<n;e|=l[n],a&=~u}return rt=e,Nc(),t}i(Sn,"prepareFreshStack");function Qy(l,e){q=null,x.H=_u,e===Nn||e===Oc?(e=qm(),W=3):e===Es?(e=qm(),W=4):W=e===Gs?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,$l=e,G===null&&(rl=1,cc(l,ye(e,l.current)))}i(Qy,"handleThrow");function Xy(){var l=ie.current;return l===null?!0:(Q&4194048)===Q?pe===null:(Q&62914560)===Q||(Q&536870912)!==0?l===pe:!1}i(Xy,"shouldRemainOnPreviousScreen");function jy(){var l=x.H;return x.H=_u,l===null?_u:l}i(jy,"pushDispatcher");function Ly(){var l=x.A;return x.A=qp,l}i(Ly,"pushAsyncDispatcher");function dc(){rl=4,Ct||(Q&4194048)!==Q&&ie.current!==null||(Mn=!0),(Kt&134217727)===0&&(da&134217727)===0||el===null||kt(el,Q,le,!1)}i(dc,"renderDidSuspendDelayIfPossible");function to(l,e,t){var a=L;L|=2;var n=jy(),u=Ly();(el!==l||Q!==e)&&(rc=null,Sn(l,e)),e=!1;var c=rl;l:do try{if(W!==0&&G!==null){var f=G,o=$l;switch(W){case 8:Ks(),c=6;break l;case 3:case 2:case 9:case 6:ie.current===null&&(e=!0);var s=W;if(W=0,$l=null,an(l,f,o,s),t&&Mn){c=0;break l}break;default:s=W,W=0,$l=null,an(l,f,o,s)}}Yp(),c=rl;break}catch(y){Qy(l,y)}while(!0);return e&&l.shellSuspendCounter++,at=Ta=null,L=a,x.H=n,x.A=u,G===null&&(el=null,Q=0,Nc()),c}i(to,"renderRootSync");function Yp(){for(;G!==null;)Zy(G)}i(Yp,"workLoopSync");function Gp(l,e){var t=L;L|=2;var a=jy(),n=Ly();el!==l||Q!==e?(rc=null,sc=ee()+500,Sn(l,e)):Mn=xu(l,e);l:do try{if(W!==0&&G!==null){e=G;var u=$l;e:switch(W){case 1:W=0,$l=null,an(l,e,u,1);break;case 2:case 9:if(Hm(u)){W=0,$l=null,uh(e);break}e=i(function(){W!==2&&W!==9||el!==l||(W=7),Ve(l)},"lanes"),u.then(e,e);break l;case 3:W=7;break l;case 4:W=5;break l;case 7:Hm(u)?(W=0,$l=null,uh(e)):(W=0,$l=null,an(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?rv(c):f.stateNode.complete){W=0,$l=null;var o=f.sibling;if(o!==null)G=o;else{var s=f.return;s!==null?(G=s,Hc(s)):G=null}break e}}W=0,$l=null,an(l,e,u,5);break;case 6:W=0,$l=null,an(l,e,u,6);break;case 8:Ks(),rl=6;break l;default:throw Error(S(462))}}Qp();break}catch(y){Qy(l,y)}while(!0);return at=Ta=null,x.H=a,x.A=n,L=t,G!==null?0:(el=null,Q=0,Nc(),rl)}i(Gp,"renderRootConcurrent");function Qp(){for(;G!==null&&!s1();)Zy(G)}i(Qp,"workLoopConcurrentByScheduler");function Zy(l){var e=gy(l.alternate,l,rt);l.memoizedProps=l.pendingProps,e===null?Hc(l):G=e}i(Zy,"performUnitOfWork");function uh(l){var e=l,t=e.alternate;switch(e.tag){case 15:case 0:e=Im(t,e,e.pendingProps,e.type,void 0,Q);break;case 11:e=Im(t,e,e.pendingProps,e.type.render,e.ref,Q);break;case 5:Cs(e);default:by(t,e),e=G=b0(e,rt),e=gy(t,e,rt)}l.memoizedProps=l.pendingProps,e===null?Hc(l):G=e}i(uh,"replaySuspendedUnitOfWork");function an(l,e,t,a){at=Ta=null,Cs(e),on=null,Au=0;var n=e.return;try{if(Up(l,n,e,t,Q)){rl=1,cc(l,ye(t,l.current)),G=null;return}}catch(u){if(n!==null)throw G=n,u;rl=1,cc(l,ye(t,l.current)),G=null;return}e.flags&32768?(j||a===1?l=!0:Mn||(Q&536870912)!==0?l=!1:(Ct=l=!0,(a===2||a===9||a===3||a===6)&&(a=ie.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ky(e,l)):Hc(e)}i(an,"throwAndUnwindWorkLoop");function Hc(l){var e=l;do{if((e.flags&32768)!==0){Ky(e,Ct);return}l=e.return;var t=kp(e.alternate,e,rt);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(Hc,"completeUnitOfWork");function Ky(l,e){do{var t=xp(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(Ky,"unwindUnitOfWork");function ih(l,e,t,a,n,u,c,f,o){l.cancelPendingCommit=null;do qc();while(El!==0);if((L&6)!==0)throw Error(S(327));if(e!==null){if(e===l.current)throw Error(S(177));if(u=e.lanes|e.childLanes,u|=ps,S1(l,t,u,c,f,o),l===el&&(G=el=null,Q=0),bn=e,Yt=l,it=t,Zo=u,Ko=n,Vy=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Zp(Fi,function(){return $y(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,n=Z.p,Z.p=2,c=L,L|=4;try{Bp(l,e,t)}finally{L=c,Z.p=n,x.T=a}}El=1,wy(),Jy(),Wy()}}i(ih,"commitRoot");function wy(){if(El===1){El=0;var l=Yt,e=bn,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=x.T,x.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{Dy(e,l);var u=$o,c=r0(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&s0(f.ownerDocument.documentElement,f)){if(o!==null&&vs(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,E=Math.min(o.start,z),N=o.end===void 0?E:Math.min(o.end,z);!d.extend&&E>N&&(c=N,N=E,E=c);var m=Om(f,E),r=Om(f,N);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(),E>N?(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}}Sc=!!Fo,$o=Fo=null}finally{L=n,Z.p=a,x.T=t}}l.current=e,El=2}}i(wy,"flushMutationEffects");function Jy(){if(El===2){El=0;var l=Yt,e=bn,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=x.T,x.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{_y(l,e.alternate,e)}finally{L=n,Z.p=a,x.T=t}}El=3}}i(Jy,"flushLayoutEffects");function Wy(){if(El===4||El===3){El=0,r1();var l=Yt,e=bn,t=it,a=Vy;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?El=5:(El=0,bn=Yt=null,Fy(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(Vt=null),os(t),e=e.stateNode,te&&typeof te.onCommitFiberRoot=="function")try{te.onCommitFiberRoot(ku,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=x.T,n=Z.p,Z.p=2,x.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{x.T=e,Z.p=n}}(it&3)!==0&&qc(),Ve(l),n=l.pendingLanes,(t&261930)!==0&&(n&42)!==0?l===wo?yu++:(yu=0,wo=l):yu=0,Gu(0,!1)}}i(Wy,"flushSpawnedWork");function Fy(l,e){(l.pooledCacheLanes&=e)===0&&(e=l.pooledCache,e!=null&&(l.pooledCache=null,Ru(e)))}i(Fy,"releaseRootPooledCache");function qc(){return wy(),Jy(),Wy(),$y()}i(qc,"flushPendingEffects");function $y(){if(El!==5)return!1;var l=Yt,e=Zo;Zo=0;var t=os(it),a=x.T,n=Z.p;try{Z.p=32>t?32:t,x.T=null,t=Ko,Ko=null;var u=Yt,c=it;if(El=0,bn=Yt=null,it=0,(L&6)!==0)throw Error(S(331));var f=L;if(L|=4,Hy(u.current),ky(u,u.current,c,t),L=f,Gu(0,!1),te&&typeof te.onPostCommitFiberRoot=="function")try{te.onPostCommitFiberRoot(ku,u)}catch{}return!0}finally{Z.p=n,x.T=a,Fy(l,e)}}i($y,"flushPassiveEffects");function ch(l,e,t){e=ye(t,e),e=Go(l.stateNode,e,2),l=Rt(l,e,2),l!==null&&(Bu(l,2),Ve(l))}i(ch,"captureCommitPhaseErrorOnRoot");function F(l,e,t){if(l.tag===3)ch(l,l,t);else for(;e!==null;){if(e.tag===3){ch(e,l,t);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Vt===null||!Vt.has(a))){l=ye(t,l),t=dy(2),a=Rt(e,t,2),a!==null&&(my(t,a,e,l),Bu(a,2),Ve(a));break}}e=e.return}}i(F,"captureCommitPhaseError");function ao(l,e,t){var a=l.pingCache;if(a===null){a=l.pingCache=new Rp;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)||(Ls=!0,n.add(t),l=Xp.bind(null,l,e,t),e.then(l,l))}i(ao,"attachPingListener");function Xp(l,e,t){var a=l.pingCache;a!==null&&a.delete(e),l.pingedLanes|=l.suspendedLanes&t,l.warmLanes&=~t,el===l&&(Q&t)===t&&(rl===4||rl===3&&(Q&62914560)===Q&&300>ee()-xc?(L&2)===0&&Sn(l,0):Zs|=t,gn===Q&&(gn=0)),Ve(l)}i(Xp,"pingSuspendedRoot");function Iy(l,e){e===0&&(e=jh()),l=za(l,e),l!==null&&(Bu(l,e),Ve(l))}i(Iy,"retryTimedOutBoundary");function jp(l){var e=l.memoizedState,t=0;e!==null&&(t=e.retryLane),Iy(l,t)}i(jp,"retryDehydratedSuspenseBoundary");function Lp(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),Iy(l,t)}i(Lp,"resolveRetryWakeable");function Zp(l,e){return cs(l,e)}i(Zp,"scheduleCallback$1");var mc=null,Za=null,Jo=!1,hc=!1,no=!1,xt=0;function Ve(l){l!==Za&&l.next===null&&(Za===null?mc=Za=l:Za=Za.next=l),hc=!0,Jo||(Jo=!0,wp())}i(Ve,"ensureRootIsScheduled");function Gu(l,e){if(!no&&hc){no=!0;do for(var t=!1,a=mc;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-ae(42|l)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(t=!0,fh(a,u))}else u=Q,u=Tc(a,a===el?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||xu(a,u)||(t=!0,fh(a,u));a=a.next}while(t);no=!1}}i(Gu,"flushSyncWorkAcrossRoots_impl");function Kp(){Py()}i(Kp,"processRootScheduleInImmediateTask");function Py(){hc=Jo=!1;var l=0;xt!==0&&eg()&&(l=xt);for(var e=ee(),t=null,a=mc;a!==null;){var n=a.next,u=lv(a,e);u===0?(a.next=null,t===null?mc=n:t.next=n,n===null&&(Za=t)):(t=a,(l!==0||(u&3)!==0)&&(hc=!0)),a=n}El!==0&&El!==5||Gu(l,!1),xt!==0&&(xt=0)}i(Py,"processRootScheduleInMicrotask");function lv(l,e){for(var t=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-ae(u),f=1<<c,o=n[c];o===-1?((f&t)===0||(f&a)!==0)&&(n[c]=b1(f,e)):o<=e&&(l.expiredLanes|=f),u&=~f}if(e=el,t=Q,t=Tc(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&&xf(a),l.callbackNode=null,l.callbackPriority=0;if((t&3)===0||xu(l,t)){if(e=t&-t,e===l.callbackPriority)return e;switch(a!==null&&xf(a),os(t)){case 2:case 8:t=Qh;break;case 32:t=Fi;break;case 268435456:t=Xh;break;default:t=Fi}return a=ev.bind(null,l),t=cs(t,a),l.callbackPriority=e,l.callbackNode=t,e}return a!==null&&a!==null&&xf(a),l.callbackPriority=2,l.callbackNode=null,2}i(lv,"scheduleTaskForRootDuringMicrotask");function ev(l,e){if(El!==0&&El!==5)return l.callbackNode=null,l.callbackPriority=0,null;var t=l.callbackNode;if(qc()&&l.callbackNode!==t)return null;var a=Q;return a=Tc(l,l===el?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Gy(l,a,e),lv(l,ee()),l.callbackNode!=null&&l.callbackNode===t?ev.bind(null,l):null)}i(ev,"performWorkOnRootViaSchedulerTask");function fh(l,e){if(qc())return null;Gy(l,e,!0)}i(fh,"performSyncWorkOnRoot");function wp(){ag(function(){(L&6)!==0?cs(Gh,Kp):Py()})}i(wp,"scheduleImmediateRootScheduleTask");function ws(){if(xt===0){var l=yn;l===0&&(l=yi,yi<<=1,(yi&261888)===0&&(yi=256)),xt=l}return xt}i(ws,"requestTransitionLane");function oh(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:xi(""+l)}i(oh,"coerceFormActionProp");function sh(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(sh,"createFormDataWithSubmitter");function Jp(l,e,t,a,n){if(e==="submit"&&t&&t.stateNode===n){var u=oh((n[Wl]||null).action),c=a.submitter;c&&(e=(e=c[Wl]||null)?oh(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,c=null));var f=new Ac("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:i(function(){if(a.defaultPrevented){if(xt!==0){var o=c?sh(n,c):new FormData(n);Vo(t,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?sh(n,c):new FormData(n),Vo(t,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(Jp,"extractEvents$1");for(Mi=0;Mi<No.length;Mi++)Oi=No[Mi],rh=Oi.toLowerCase(),dh=Oi[0].toUpperCase()+Oi.slice(1),Ee(rh,"on"+dh);var Oi,rh,dh,Mi;Ee(m0,"onAnimationEnd");Ee(h0,"onAnimationIteration");Ee(y0,"onAnimationStart");Ee("dblclick","onDoubleClick");Ee("focusin","onFocus");Ee("focusout","onBlur");Ee(dp,"onTransitionRun");Ee(mp,"onTransitionStart");Ee(hp,"onTransitionCancel");Ee(v0,"onTransitionEnd");mn("onMouseEnter",["mouseout","mouseover"]);mn("onMouseLeave",["mouseout","mouseover"]);mn("onPointerEnter",["pointerout","pointerover"]);mn("onPointerLeave",["pointerout","pointerover"]);ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ga("onBeforeInput",["compositionend","keypress","textInput","paste"]);ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nu="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(" "),Wp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nu));function tv(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){Ii(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){Ii(y)}n.currentTarget=null,u=o}}}}i(tv,"processDispatchQueue");function Y(l,e){var t=e[go];t===void 0&&(t=e[go]=new Set);var a=l+"__bubble";t.has(a)||(av(e,l,2,!1),t.add(a))}i(Y,"listenToNonDelegatedEvent");function uo(l,e,t){var a=0;e&&(a|=4),av(t,l,a,e)}i(uo,"listenToNativeEvent");var Ui="_reactListening"+Math.random().toString(36).slice(2);function Js(l){if(!l[Ui]){l[Ui]=!0,Jh.forEach(function(t){t!=="selectionchange"&&(Wp.has(t)||uo(t,!1,l),uo(t,!0,l))});var e=l.nodeType===9?l:l.ownerDocument;e===null||e[Ui]||(e[Ui]=!0,uo("selectionchange",!1,e))}}i(Js,"listenToAllSupportedEvents");function av(l,e,t,a){switch(vv(e)){case 2:var n=Ag;break;case 8:n=Eg;break;default:n=Is}t=n.bind(null,e,t,l),n=void 0,!Ao||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(av,"addTrappedEventListener");function io(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}t0(function(){var s=u,y=ds(t),p=[];l:{var h=p0.get(l);if(h!==void 0){var d=Ac,z=l;switch(l){case"keypress":if(Hi(t)===0)break l;case"keydown":case"keyup":d=L1;break;case"focusin":z="focus",d=Vf;break;case"focusout":z="blur",d=Vf;break;case"beforeblur":case"afterblur":d=Vf;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=bm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=k1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=w1;break;case m0:case h0:case y0:d=H1;break;case v0:d=W1;break;case"scroll":case"scrollend":d=D1;break;case"wheel":d=$1;break;case"copy":case"cut":case"paste":d=R1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=zm;break;case"toggle":case"beforetoggle":d=P1}var E=(e&4)!==0,N=!E&&(l==="scroll"||l==="scrollend"),m=E?h!==null?h+"Capture":null:h;E=[];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=gu(r,m),g!=null&&E.push(Mu(r,g,v))),N)break;r=r.return}0<E.length&&(h=new d(h,z,null,t,y),p.push({event:h,listeners:E}))}}if((e&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",d=l==="mouseout"||l==="pointerout",h&&t!==To&&(z=t.relatedTarget||t.fromElement)&&(Ja(z)||z[An]))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&&(N=Cu(z),E=z.tag,z!==N||E!==5&&E!==27&&E!==6)&&(z=null)):(d=null,z=s),d!==z)){if(E=bm,g="onMouseLeave",m="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(E=zm,g="onPointerLeave",m="onPointerEnter",r="pointer"),N=d==null?h:eu(d),v=z==null?h:eu(z),h=new E(g,r+"leave",d,t,y),h.target=N,h.relatedTarget=v,g=null,Ja(y)===s&&(E=new E(m,r+"enter",z,t,y),E.target=v,E.relatedTarget=N,g=E),N=g,d&&z)e:{for(E=Fp,m=d,r=z,v=0,g=m;g;g=E(g))v++;g=0;for(var A=r;A;A=E(A))g++;for(;0<v-g;)m=E(m),v--;for(;0<g-v;)r=E(r),g--;for(;v--;){if(m===r||r!==null&&m===r.alternate){E=m;break e}m=E(m),r=E(r)}E=null}else E=null;d!==null&&mh(p,h,d,E,!1),z!==null&&N!==null&&mh(p,N,z,E,!0)}}l:{if(h=s?eu(s):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var O=_m;else if(Em(h))if(f0)O=op;else{O=cp;var _=ip}else d=h.nodeName,!d||d.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?s&&rs(s.elementType)&&(O=_m):O=fp;if(O&&(O=O(l,s))){c0(p,O,t,y);break l}_&&_(l,h,s),l==="focusout"&&s&&h.type==="number"&&s.memoizedProps.value!=null&&zo(h,"number",h.value)}switch(_=s?eu(s):window,l){case"focusin":(Em(_)||_.contentEditable==="true")&&($a=_,Eo=s,iu=null);break;case"focusout":iu=Eo=$a=null;break;case"mousedown":_o=!0;break;case"contextmenu":case"mouseup":case"dragend":_o=!1,Um(p,t,y);break;case"selectionchange":if(rp)break;case"keydown":case"keyup":Um(p,t,y)}var U;if(ys)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 Fa?u0(l,t)&&(D="onCompositionEnd"):l==="keydown"&&t.keyCode===229&&(D="onCompositionStart");D&&(n0&&t.locale!=="ko"&&(Fa||D!=="onCompositionStart"?D==="onCompositionEnd"&&Fa&&(U=a0()):(Dt=y,ms="value"in Dt?Dt.value:Dt.textContent,Fa=!0)),_=yc(s,D),0<_.length&&(D=new Sm(D,l,null,t,y),p.push({event:D,listeners:_}),U?D.data=U:(U=i0(t),U!==null&&(D.data=U)))),(U=ep?tp(l,t):ap(l,t))&&(D=yc(s,"onBeforeInput"),0<D.length&&(_=new Sm("onBeforeInput","beforeinput",null,t,y),p.push({event:_,listeners:D}),_.data=U)),Jp(p,l,s,t,y)}tv(p,e)})}i(io,"dispatchEventForPluginEventSystem");function Mu(l,e,t){return{instance:l,listener:e,currentTarget:t}}i(Mu,"createDispatchListener");function yc(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=gu(l,t),n!=null&&a.unshift(Mu(l,n,u)),n=gu(l,e),n!=null&&a.push(Mu(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(yc,"accumulateTwoPhaseListeners");function Fp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(Fp,"getParent");function mh(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=gu(t,u),s!=null&&c.unshift(Mu(t,s,o))):n||(s=gu(t,u),s!=null&&c.push(Mu(t,s,o)))),t=t.return}c.length!==0&&l.push({event:e,listeners:c})}i(mh,"accumulateEnterLeaveListenersForEvent");var $p=/\r\n?/g,Ip=/\u0000|\uFFFD/g;function hh(l){return(typeof l=="string"?l:""+l).replace($p,`
|
|
9
|
+
`).replace(Ip,"")}i(hh,"normalizeMarkupForTextOrAttribute");function nv(l,e){return e=hh(e),hh(l)===e}i(nv,"checkForUnmatchedText");function P(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||hn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&hn(l,""+a);break;case"className":gi(l,"class",a);break;case"tabIndex":gi(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":gi(l,t,a);break;case"style":e0(l,a,u);break;case"data":if(e!=="object"){gi(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=xi(""+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"&&P(l,e,"name",n.name,n,null),P(l,e,"formEncType",n.formEncType,n,null),P(l,e,"formMethod",n.formMethod,n,null),P(l,e,"formTarget",n.formTarget,n,null)):(P(l,e,"encType",n.encType,n,null),P(l,e,"method",n.method,n,null),P(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=xi(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=tt);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=xi(""+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),ki(l,"popover",a);break;case"xlinkActuate":Je(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Je(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Je(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Je(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Je(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Je(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Je(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Je(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Je(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":ki(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=O1.get(t)||t,ki(l,t,a))}}i(P,"setProp");function Wo(l,e,t,a,n,u){switch(t){case"style":e0(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"?hn(l,a):(typeof a=="number"||typeof a=="bigint")&&hn(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=tt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wh.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[Wl]||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,""):ki(l,t,a)}}}i(Wo,"setPropOnCustomElement");function Yl(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:P(l,e,u,c,t,null)}}n&&P(l,e,"srcSet",t.srcSet,t,null),a&&P(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:P(l,e,a,y,t,null)}}Ih(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:P(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?un(l,!!a,e,!1):t!=null&&un(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:P(l,e,c,f,t,null)}l0(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:P(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<Nu.length;a++)Y(Nu[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:P(l,e,s,a,t,null)}return;default:if(rs(e)){for(y in t)t.hasOwnProperty(y)&&(a=t[y],a!==void 0&&Wo(l,e,y,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&P(l,e,f,a,t,null))}i(Yl,"setInitialProperties");function Pp(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)||P(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&&P(l,e,h,d,a,p)}}So(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)||P(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&&P(l,e,n,u,a,o)}e=f,t=c,a=d,h!=null?un(l,!!t,h,!1):!!a!=!!t&&(e!=null?un(l,!!t,e,!0):un(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:P(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&&P(l,e,c,n,a,u)}Ph(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:P(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:P(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 E in t)h=t[E],t.hasOwnProperty(E)&&h!=null&&!a.hasOwnProperty(E)&&P(l,e,E,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:P(l,e,s,h,a,d)}return;default:if(rs(e)){for(var N in t)h=t[N],t.hasOwnProperty(N)&&h!==void 0&&!a.hasOwnProperty(N)&&Wo(l,e,N,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||Wo(l,e,y,h,a,d);return}}for(var m in t)h=t[m],t.hasOwnProperty(m)&&h!=null&&!a.hasOwnProperty(m)&&P(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||P(l,e,p,h,a,d)}i(Pp,"updateProperties");function yh(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(yh,"isLikelyStaticResource");function lg(){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&&yh(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&&yh(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(lg,"estimateBandwidth");var Fo=null,$o=null;function vc(l){return l.nodeType===9?l:l.ownerDocument}i(vc,"getOwnerDocumentFromRootContainer");function vh(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(vh,"getOwnHostContext");function uv(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(uv,"getChildHostContextProd");function Io(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(Io,"shouldSetTextContent");var co=null;function eg(){var l=window.event;return l&&l.type==="popstate"?l===co?!1:(co=l,!0):(co=null,!1)}i(eg,"shouldAttemptEagerTransition");var iv=typeof setTimeout=="function"?setTimeout:void 0,tg=typeof clearTimeout=="function"?clearTimeout:void 0,ph=typeof Promise=="function"?Promise:void 0,ag=typeof queueMicrotask=="function"?queueMicrotask:typeof ph<"u"?function(l){return ph.resolve(null).then(l).catch(ng)}:iv;function ng(l){setTimeout(function(){throw l})}i(ng,"handleErrorInNextTick");function Jt(l){return l==="head"}i(Jt,"isSingletonScope");function gh(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),Tn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")vu(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,vu(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[Hu]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&vu(l.ownerDocument.body);t=n}while(t);Tn(e)}i(gh,"clearHydrationBoundary");function bh(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(bh,"hideOrUnhideDehydratedBoundary");function Po(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":Po(t),ss(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i(Po,"clearContainerSparingly");function ug(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[Hu])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=ge(l.nextSibling),l===null)break}return null}i(ug,"canHydrateInstance");function ig(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=ge(l.nextSibling),l===null))return null;return l}i(ig,"canHydrateTextInstance");function cv(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=ge(l.nextSibling),l===null))return null;return l}i(cv,"canHydrateHydrationBoundary");function ls(l){return l.data==="$?"||l.data==="$~"}i(ls,"isSuspenseInstancePending");function es(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(es,"isSuspenseInstanceFallback");function cg(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(cg,"registerSuspenseInstanceRetry");function ge(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(ge,"getNextHydratable");var ts=null;function Sh(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return ge(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(Sh,"getNextHydratableInstanceAfterHydrationBoundary");function zh(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(zh,"getParentHydrationBoundary");function fv(l,e,t){switch(e=vc(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(fv,"resolveSingletonInstance");function vu(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);ss(l)}i(vu,"releaseSingletonInstance");var be=new Map,Th=new Set;function pc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(pc,"getHoistableRoot");var dt=Z.d;Z.d={f:fg,r:og,D:sg,C:rg,L:dg,m:mg,X:yg,S:hg,M:vg};function fg(){var l=dt.f(),e=Bc();return l||e}i(fg,"flushSyncWork");function og(l){var e=En(l);e!==null&&e.tag===5&&e.type==="form"?ey(e):dt.r(l)}i(og,"requestFormReset");var On=typeof document>"u"?null:document;function ov(l,e,t){var a=On;if(a&&typeof e=="string"&&e){var n=he(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),Th.has(n)||(Th.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Yl(e,"link",l),Ul(e),a.head.appendChild(e)))}}i(ov,"preconnectAs");function sg(l){dt.D(l),ov("dns-prefetch",l,null)}i(sg,"prefetchDNS");function rg(l,e){dt.C(l,e),ov("preconnect",l,e)}i(rg,"preconnect");function dg(l,e,t){dt.L(l,e,t);var a=On;if(a&&l&&e){var n='link[rel="preload"][as="'+he(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+he(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+he(t.imageSizes)+'"]')):n+='[href="'+he(l)+'"]';var u=n;switch(e){case"style":u=zn(l);break;case"script":u=Un(l)}be.has(u)||(l=il({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),be.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Qu(u))||e==="script"&&a.querySelector(Xu(u))||(e=a.createElement("link"),Yl(e,"link",l),Ul(e),a.head.appendChild(e)))}}i(dg,"preload");function mg(l,e){dt.m(l,e);var t=On;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+he(a)+'"][href="'+he(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Un(l)}if(!be.has(u)&&(l=il({rel:"modulepreload",href:l},e),be.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Xu(u)))return}a=t.createElement("link"),Yl(a,"link",l),Ul(a),t.head.appendChild(a)}}}i(mg,"preloadModule");function hg(l,e,t){dt.S(l,e,t);var a=On;if(a&&l){var n=nn(a).hoistableStyles,u=zn(l);e=e||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Qu(u)))f.loading=5;else{l=il({rel:"stylesheet",href:l,"data-precedence":e},t),(t=be.get(u))&&Ws(l,t);var o=c=a.createElement("link");Ul(o),Yl(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,ji(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(hg,"preinitStyle");function yg(l,e){dt.X(l,e);var t=On;if(t&&l){var a=nn(t).hoistableScripts,n=Un(l),u=a.get(n);u||(u=t.querySelector(Xu(n)),u||(l=il({src:l,async:!0},e),(e=be.get(n))&&Fs(l,e),u=t.createElement("script"),Ul(u),Yl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(yg,"preinitScript");function vg(l,e){dt.M(l,e);var t=On;if(t&&l){var a=nn(t).hoistableScripts,n=Un(l),u=a.get(n);u||(u=t.querySelector(Xu(n)),u||(l=il({src:l,async:!0,type:"module"},e),(e=be.get(n))&&Fs(l,e),u=t.createElement("script"),Ul(u),Yl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(vg,"preinitModuleScript");function Ah(l,e,t,a){var n=(n=Bt.current)?pc(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=zn(t.href),t=nn(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=zn(t.href);var u=nn(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(Qu(l)))&&!u._p&&(c.instance=u,c.state.loading=5),be.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},be.set(l,t),u||pg(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=Un(t),t=nn(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(Ah,"getResource");function zn(l){return'href="'+he(l)+'"'}i(zn,"getStyleKey");function Qu(l){return'link[rel="stylesheet"]['+l+"]"}i(Qu,"getStylesheetSelectorFromKey");function sv(l){return il({},l,{"data-precedence":l.precedence,precedence:null})}i(sv,"stylesheetPropsFromRawProps");function pg(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}),Yl(e,"link",t),Ul(e),l.head.appendChild(e))}i(pg,"preloadStylesheet");function Un(l){return'[src="'+he(l)+'"]'}i(Un,"getScriptKey");function Xu(l){return"script[async]"+l}i(Xu,"getScriptSelectorFromKey");function Eh(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+he(t.href)+'"]');if(a)return e.instance=a,Ul(a),a;var n=il({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ul(a),Yl(a,"style",n),ji(a,t.precedence,l),e.instance=a;case"stylesheet":n=zn(t.href);var u=l.querySelector(Qu(n));if(u)return e.state.loading|=4,e.instance=u,Ul(u),u;a=sv(t),(n=be.get(n))&&Ws(a,n),u=(l.ownerDocument||l).createElement("link"),Ul(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Yl(u,"link",a),e.state.loading|=4,ji(u,t.precedence,l),e.instance=u;case"script":return u=Un(t.src),(n=l.querySelector(Xu(u)))?(e.instance=n,Ul(n),n):(a=t,(n=be.get(u))&&(a=il({},t),Fs(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ul(n),Yl(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,ji(a,t.precedence,l));return e.instance}i(Eh,"acquireResource");function ji(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(ji,"insertStylesheet");function Ws(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Ws,"adoptPreloadPropsForStylesheet");function Fs(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(Fs,"adoptPreloadPropsForScript");var Li=null;function _h(l,e,t){if(Li===null){var a=new Map,n=Li=new Map;n.set(t,a)}else n=Li,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[Hu]||u[ql]||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(_h,"getHydratableHoistableCache");function Nh(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(Nh,"mountHoistable");function gg(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(gg,"isHostHoistableType");function rv(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(rv,"preloadResource");function bg(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=zn(a.href),u=e.querySelector(Qu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=gc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ul(u);return}u=e.ownerDocument||e,a=sv(a),(n=be.get(n))&&Ws(a,n),u=u.createElement("link"),Ul(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Yl(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=gc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(bg,"suspendResource");var fo=0;function Sg(l,e){return l.stylesheets&&l.count===0&&Zi(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Zi(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&fo===0&&(fo=62500*lg());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Zi(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>fo?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(Sg,"waitForCommitToBeReady");function gc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(gc,"onUnsuspend");var bc=null;function Zi(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,bc=new Map,e.forEach(zg,l),bc=null,gc.call(l))}i(Zi,"insertSuspendedStylesheets");function zg(l,e){if(!(e.state.loading&4)){var t=bc.get(l);if(t)var a=t.get(null);else{t=new Map,bc.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=gc.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(zg,"insertStylesheetIntoRoot");var Ou={$$typeof:et,Provider:null,Consumer:null,_currentValue:fa,_currentValue2:fa,_threadCount:0};function Tg(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=Bf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bf(0),this.hiddenUpdates=Bf(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(Tg,"FiberRootNode");function dv(l,e,t,a,n,u,c,f,o,s,y,p){return l=new Tg(l,e,t,c,o,s,y,p,f),e=1,u===!0&&(e|=24),u=Pl(3,null,null,e),l.current=u,u.stateNode=l,e=Ts(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},_s(u),l}i(dv,"createFiberRoot");function mv(l){return l?(l=ln,l):ln}i(mv,"getContextForSubtree");function hv(l,e,t,a,n,u){n=mv(n),a.context===null?a.context=n:a.pendingContext=n,a=qt(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=Rt(l,a,e),t!==null&&(Jl(t,l,e),fu(t,l,e))}i(hv,"updateContainerImpl");function Mh(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(Mh,"markRetryLaneImpl");function $s(l,e){Mh(l,e),(l=l.alternate)&&Mh(l,e)}i($s,"markRetryLaneIfNotHydrated");function yv(l){if(l.tag===13||l.tag===31){var e=za(l,67108864);e!==null&&Jl(e,l,67108864),$s(l,67108864)}}i(yv,"attemptContinuousHydration");function Oh(l){if(l.tag===13||l.tag===31){var e=ne();e=fs(e);var t=za(l,e);t!==null&&Jl(t,l,e),$s(l,e)}}i(Oh,"attemptHydrationAtCurrentPriority");var Sc=!0;function Ag(l,e,t,a){var n=x.T;x.T=null;var u=Z.p;try{Z.p=2,Is(l,e,t,a)}finally{Z.p=u,x.T=n}}i(Ag,"dispatchDiscreteEvent");function Eg(l,e,t,a){var n=x.T;x.T=null;var u=Z.p;try{Z.p=8,Is(l,e,t,a)}finally{Z.p=u,x.T=n}}i(Eg,"dispatchContinuousEvent");function Is(l,e,t,a){if(Sc){var n=as(a);if(n===null)io(l,e,a,zc,t),Uh(l,a);else if(Ng(n,l,e,t,a))a.stopPropagation();else if(Uh(l,a),e&4&&-1<_g.indexOf(l)){for(;n!==null;){var u=En(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ua(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var o=1<<31-ae(c);f.entanglements[1]|=o,c&=~o}Ve(u),(L&6)===0&&(sc=ee()+500,Gu(0,!1))}}break;case 31:case 13:f=za(u,2),f!==null&&Jl(f,u,2),Bc(),$s(u,2)}if(u=as(a),u===null&&io(l,e,a,zc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else io(l,e,a,null,t)}}i(Is,"dispatchEvent");function as(l){return l=ds(l),Ps(l)}i(as,"findInstanceBlockingEvent");var zc=null;function Ps(l){if(zc=null,l=Ja(l),l!==null){var e=Cu(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=Hh(e),l!==null)return l;l=null}else if(t===31){if(l=qh(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 zc=l,null}i(Ps,"findInstanceBlockingTarget");function vv(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(d1()){case Gh:return 2;case Qh:return 8;case Fi:case m1:return 32;case Xh:return 268435456;default:return 32}default:return 32}}i(vv,"getEventPriority");var ns=!1,Gt=null,Qt=null,Xt=null,Uu=new Map,Du=new Map,Ot=[],_g="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 Uh(l,e){switch(l){case"focusin":case"focusout":Gt=null;break;case"dragenter":case"dragleave":Qt=null;break;case"mouseover":case"mouseout":Xt=null;break;case"pointerover":case"pointerout":Uu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Du.delete(e.pointerId)}}i(Uh,"clearIfContinuousEvent");function $n(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=En(e),e!==null&&yv(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i($n,"accumulateOrCreateContinuousQueuedReplayableEvent");function Ng(l,e,t,a,n){switch(e){case"focusin":return Gt=$n(Gt,l,e,t,a,n),!0;case"dragenter":return Qt=$n(Qt,l,e,t,a,n),!0;case"mouseover":return Xt=$n(Xt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return Uu.set(u,$n(Uu.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Du.set(u,$n(Du.get(u)||null,l,e,t,a,n)),!0}return!1}i(Ng,"queueIfContinuousEvent");function pv(l){var e=Ja(l.target);if(e!==null){var t=Cu(e);if(t!==null){if(e=t.tag,e===13){if(e=Hh(t),e!==null){l.blockedOn=e,dm(l.priority,function(){Oh(t)});return}}else if(e===31){if(e=qh(t),e!==null){l.blockedOn=e,dm(l.priority,function(){Oh(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(pv,"attemptExplicitHydrationTarget");function Ki(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=as(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);To=a,t.target.dispatchEvent(a),To=null}else return e=En(t),e!==null&&yv(e),l.blockedOn=t,!1;e.shift()}return!0}i(Ki,"attemptReplayContinuousQueuedEvent");function Dh(l,e,t){Ki(l)&&t.delete(e)}i(Dh,"attemptReplayContinuousQueuedEventInMap");function Mg(){ns=!1,Gt!==null&&Ki(Gt)&&(Gt=null),Qt!==null&&Ki(Qt)&&(Qt=null),Xt!==null&&Ki(Xt)&&(Xt=null),Uu.forEach(Dh),Du.forEach(Dh)}i(Mg,"replayUnblockedEvents");function Di(l,e){l.blockedOn===e&&(l.blockedOn=null,ns||(ns=!0,_l.unstable_scheduleCallback(_l.unstable_NormalPriority,Mg)))}i(Di,"scheduleCallbackIfUnblocked");var Ci=null;function Ch(l){Ci!==l&&(Ci=l,_l.unstable_scheduleCallback(_l.unstable_NormalPriority,function(){Ci===l&&(Ci=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(Ps(a||t)===null)continue;break}var u=En(t);u!==null&&(l.splice(e,3),e-=3,Vo(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(Ch,"scheduleReplayQueueIfNeeded");function Tn(l){function e(o){return Di(o,l)}i(e,"unblock"),Gt!==null&&Di(Gt,l),Qt!==null&&Di(Qt,l),Xt!==null&&Di(Xt,l),Uu.forEach(e),Du.forEach(e);for(var t=0;t<Ot.length;t++){var a=Ot[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ot.length&&(t=Ot[0],t.blockedOn===null);)pv(t),t.blockedOn===null&&Ot.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[Wl]||null;if(typeof u=="function")c||Ch(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Wl]||null)f=c.formAction;else if(Ps(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),Ch(t)}}}i(Tn,"retryIfBlockedOn");function gv(){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(gv,"defaultOnDefaultTransitionIndicator");function lr(l){this._internalRoot=l}i(lr,"ReactDOMRoot");Rc.prototype.render=lr.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(S(409));var t=e.current,a=ne();hv(t,a,l,e,null,null)};Rc.prototype.unmount=lr.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;hv(l.current,2,null,l,null,null),Bc(),e[An]=null}};function Rc(l){this._internalRoot=l}i(Rc,"ReactDOMHydrationRoot");Rc.prototype.unstable_scheduleHydration=function(l){if(l){var e=wh();l={blockedOn:null,target:l,priority:e};for(var t=0;t<Ot.length&&e!==0&&e<Ot[t].priority;t++);Ot.splice(t,0,l),t===0&&pv(l)}};var kh=xh.version;if(kh!=="19.2.0")throw Error(S(527,kh,"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=u1(e),l=l!==null?Rh(l):null,l=l===null?null:l.stateNode,l};var Og={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(In=__REACT_DEVTOOLS_GLOBAL_HOOK__,!In.isDisabled&&In.supportsFiber))try{ku=In.inject(Og),te=In}catch{}var In;Vc.createRoot=function(l,e){if(!Bh(l))throw Error(S(299));var t=!1,a="",n=oy,u=sy,c=ry;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=dv(l,1,!1,null,null,t,a,null,n,u,c,gv),l[An]=e.current,Js(l),new lr(e)};Vc.hydrateRoot=function(l,e,t){if(!Bh(l))throw Error(S(299));var a=!1,n="",u=oy,c=sy,f=ry,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=dv(l,1,!0,e,t??null,a,n,o,u,c,f,gv),e.context=mv(null),t=e.current,a=ne(),a=fs(a),n=qt(a),n.callback=null,Rt(t,n,a),t=a,e.current.lanes=t,Bu(e,t),Ve(e),l[An]=e.current,Js(l),new Rc(e)};Vc.version="19.2.0"});var Tv=$u((zb,zv)=>{"use strict";function Sv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sv)}catch(l){console.error(l)}}i(Sv,"checkDCE");Sv(),zv.exports=bv()});var af="sekyro-verification",nf=[{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."}],xg=[{name:"verification",type:"Verification | null",description:"A `Verification` you created with `createVerification` from `@sekyro/web`. Set, it wins over `client-token`, and your page destroys it. Read, it is the verification the element runs, set or created."},{name:"strings",type:"Partial<SekyroStrings> | undefined",description:"Copy overrides, keyed like the SDK's strings."},{name:"theme",type:"SekyroTheme | undefined",description:"A runtime theme. It wins over the session's branding."},{name:"livenessProps",type:"SekyroElementLivenessOptions | undefined",description:"Options of the face capture step: `autoStart`, `tips`, `tipsSummary`, `coach`, `notice`, `startDisabled`, `startLabel`."},{name:"documentLiveMrz",type:"DocumentLiveMrzOptions | undefined",description:"Live MRZ reading on the document step: `workerUrl`, `assetBaseUrl`, or `mode: 'off'`."},{name:"voice",type:"false | VoiceOptions | undefined",description:"Spoken guidance options, or `false` to turn it off."}],Xr=[{name:"header",description:"Replaces the partner header."},{name:"header-end",description:"Sits at the inline end of the partner header, before the close button (a language menu)."},{name:"footer",description:'Replaces the "Verified by Sekyro AI" link. An empty element hides it.'}],Bg=[{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 uf=V(kl(),1);var xl={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'},Qn={colors:{...xl.light},radius:xl.radiusLg,fontFamily:xl.font},jr={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 Zr(l={}){let e={};for(let t of Object.keys(jr))e[jr[t]]=l.colors?.[t]??Qn.colors[t];return e["--sekyro-radius"]=l.radius??Qn.radius,e["--sekyro-font"]=l.fontFamily??Qn.fontFamily,e}i(Zr,"S");T(Zr,"themeToCssVars");var Dv=/^#[0-9a-f]{6}$/i,Cv=["brand","brandFg","bg","surface","fg","fgMuted"],kv=["danger","success","warning"],Lr=!1;function ti(l){let e=l?.colors;if(l===void 0||e===void 0||!kv.some(c=>c in e))return l;!Lr&&Or()&&(Lr=!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(ti,"p");T(ti,"stripDeprecatedStatusColors");var xv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},Bv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function ai(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of Cv){let f=a[c];f!==void 0&&Dv.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=xv[l.radius];n&&(e.radius=n);let u=Bv[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${Qn.fontFamily}`:Qn.fontFamily),e}i(ai,"x");T(ai,"brandingToTheme");function ni(...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(ni,"I");T(ni,"mergeThemes");function cf({theme:l,children:e,className:t}){return(0,uf.jsx)(ui,{theme:ti(l),...t!==void 0?{className:t}:{},children:e})}i(cf,"C");T(cf,"SekyroThemeProvider");function ui({theme:l,children:e,className:t}){let a=Zr(l);return(0,uf.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(ui,"R");T(ui,"SekyroThemeRoot");var Xn=V(vl(),1),Bl=V(vl(),1),k=V(kl(),1),gt=V(vl(),1),Xe=V(kl(),1),bt=V(vl(),1),je=V(kl(),1),nd=V(vl(),1),Ha=V(kl(),1);var qa=V(vl(),1),K=V(kl(),1);var fe=V(vl(),1);var Ze=V(vl(),1),Al=V(kl(),1),ze=V(kl(),1);var Ml=V(vl(),1),J=V(kl(),1),St=V(vl(),1),Ue=V(kl(),1),zt=V(vl(),1),De=V(kl(),1);var C=V(vl(),1),hd=V(mr(),1),oi=V(vl(),1),pt=V(vl(),1),Ce=V(kl(),1),Le=V(kl(),1),gd=V(vl(),1),ci=V(kl(),1),zd=V(vl(),1),Va=V(vl(),1),I=V(kl(),1),b=V(kl(),1),Ke=V(vl(),1),ta=V(kl(),1);function Pr(l){let[e,t]=(0,Xn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Xn.useState)(null);return(0,Xn.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(Pr,"yt");T(Pr,"useVerificationStep");var Kr=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"),Hv=600,qv=30,Rv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),Vv=["whatsapp","sms"],wr=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 ld(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??Tr(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(ld,"go");T(ld,"phoneCountriesOf");function ed({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Tl(e,t),{t:f}=c,o=(0,Bl.useMemo)(()=>ld(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",y=l.phoneInternational===!0,p=Er({countries:o,international:y,closed:!!l.phoneRules?.length,defaultPhone:s}),[h,d]=(0,Bl.useState)(""),[z,E]=(0,Bl.useState)(!1),[N,m]=(0,Bl.useState)(null),[r,v]=(0,Bl.useState)(null),[g,A]=(0,Bl.useState)(!1),[O,_]=(0,Bl.useState)(null),U=(0,Bl.useRef)(null),D=l.phase==="verify"&&!g,R=l.phase==="verify",jl=xr(R),[Bn,Hn]=Cr(l.reason==="otp_mismatch",l.attemptsRemaining,()=>d("")),Me=(0,Bl.useId)(),Ua=(0,Bl.useRef)(null);(0,Bl.useEffect)(()=>{let $=setTimeout(()=>Ua.current?.focus({preventScroll:!0}),350);return()=>clearTimeout($)},[D]);let qn=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,Bl.useEffect)(()=>{qn!==null&&(A(!1),U.current!==null&&!wr.has(l.reason??"")&&_(U.current),U.current=null)},[qn]);let Da=T(async $=>{E(!0),v(null);try{await $()}catch(Ql){v(Yn(Ql,c.strings)),u?.(Ql)}finally{E(!1),m(null)}},"run"),ce=Vv.filter($=>(l.channels??[]).includes($)),Ge=p.typed,Ft=!l.needsPhone||Ge!==null,Qe=T(($,Ql=!1)=>{let w=l.needsPhone?Ql?O:{number:Ge??p.phone,shown:p.shown}:null;U.current=w,m($??null),Da(async()=>{try{await l.send({...w!==null?{phone:w.number}:{},...$!==void 0?{channel:$}:{}})}catch(Vn){throw U.current=null,Vn}})},"send"),Ca=T($=>{Da(()=>l.verify($))},"submitCode"),Rn=T($=>{$.preventDefault(),D?Ca(h):ce.length<=1&&Ft&&Qe(ce[0])},"onSubmit"),Lu=`${Me}-phone`,ka=Kr(l.codeExpiresAt,jl,Hv),yt=Kr(l.resendAvailableAt,jl,qv),$t=D&&l.codeExpiresAt!==void 0&&ka===0,Zu=l.needsPhone&&!l.attemptsExhausted,Ku=R&&(l.codeExpiresAt===void 0||ka>0);$c(D&&Zu?()=>A(!0):g&&Ku?()=>A(!1):null,z);let vt=T($=>f($==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),xa=T($=>z&&N!==null&&N===$,"busyFor"),[wu,Ju]=f("otp.sentTo",{channel:vt(l.channel)}).split("{number}"),It=l.context.simulation?.otpCode,Wu=l.reason==="otp_mismatch"?(0,k.jsxs)(pl,{tone:"danger",children:[(0,k.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,k.jsx)("span",{children:lf(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&wr.has(l.reason)?(0,k.jsx)(pl,{tone:"warning",children:(0,k.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_mismatch"?(0,k.jsx)(pl,{tone:"warning",children:(0,k.jsx)("span",{children:f("sandboxMode.mismatchPhone")})}):null,Cl=(0,k.jsxs)(k.Fragment,{children:[Wu,r!==null?(0,k.jsx)(pl,{tone:"danger",children:(0,k.jsx)("span",{children:f(r)})}):null]});if(D){let $=ce.length===0;return(0,k.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":Me,onSubmit:Rn,noValidate:!0,children:[(0,k.jsx)(la,{id:Me,title:f("otp.verifyTitle"),lead:It!==void 0?(0,k.jsx)(br,{template:f("sandbox.otpHint"),code:It}):(0,k.jsxs)(k.Fragment,{children:[wu,(0,k.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:O?.shown??l.sentToMasked}),Ju]})}),Cl,(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:`${Me}-code`,children:f("otp.codeLabel")}),(0,k.jsx)(kr,{id:`${Me}-code`,value:h,invalid:Bn,onChange:i(Ql=>{Ql!==""&&Hn(),d(Ql),Ql.length===6&&h.length!==6&&!z&&!l.attemptsExhausted&&Ca(Ql)},"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:Rv(ka)})})]}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:$t?f("otp.expired"):""}),(0,k.jsxs)(ea,{children:[(0,k.jsx)(al,{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:[$?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z||yt>0,onClick:i(()=>Qe(void 0,!0),"onClick"),children:yt>0?f("otp.resendIn",{seconds:yt}):f("otp.resend")}):yt>0?(0,k.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:yt})}):ce.map(Ql=>(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>Qe(Ql,!0),"onClick"),children:f("otp.resendBy",{channel:vt(Ql)})},Ql)),Zu?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>A(!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":Me,onSubmit:Rn,noValidate:!0,children:[(0,k.jsx)(la,{id:Me,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),Cl,l.needsPhone?(0,k.jsxs)("div",{className:"sekyro-field",children:[(0,k.jsx)("label",{className:"sekyro-label",htmlFor:Lu,children:f("otp.phoneLabel")}),(0,k.jsx)(_r,{field:p,id:Lu,locale:c.locale,t:f,inputRef:Ua,ready:Ft})]}):(0,k.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,k.jsxs)(ea,{children:[ce.length===1?(0,k.jsx)(al,{type:"submit",full:!0,disabled:z||!Ft,"aria-busy":xa(ce[0])||void 0,children:f("otp.sendBy",{channel:vt(ce[0])})}):ce.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:ce.map($=>(0,k.jsxs)(al,{kind:"primary",disabled:z||!Ft,"aria-busy":xa($)||void 0,onClick:i(()=>Qe($),"onClick"),children:[(0,k.jsx)(Se,{name:$}),vt($)]},$))})]}):(0,k.jsx)(al,{type:"submit",full:!0,disabled:z||!Ft,"aria-busy":z||void 0,children:f("otp.send")}),(0,k.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:z&&N!==null?f("otp.sending",{channel:vt(N)}):""}),g&&Ku?(0,k.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:z,onClick:i(()=>A(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(ed,"gt");T(ed,"PhoneOtpStep");var Yv={load:T(()=>import("./email-otp-view-ZEVLA5UZ-JO2KA6XE.js"),"load")};function td({locale:l,strings:e,...t}){let a=Tl(l,e),[n,u]=(0,gt.useState)(0),c=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>Yv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Xe.jsxs)(pl,{tone:"danger",children:[(0,Xe.jsx)("span",{children:a.t("errors.network_error")}),(0,Xe.jsx)(al,{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)(gt.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(td,"kt");T(td,"EmailOtpStep");var Gv={load:T(()=>import("./eid-view-Y5OFAHVC-H2H5O3H4.js"),"load")};function ad({locale:l,strings:e,...t}){let a=Tl(l,e),[n,u]=(0,bt.useState)(0),c=(0,bt.useMemo)(()=>(0,bt.lazy)(()=>Gv.load().then(o=>({default:o.EidView}))),[n]),f=(0,je.jsxs)(pl,{tone:"danger",children:[(0,je.jsx)("span",{children:a.t("errors.network_error")}),(0,je.jsx)(al,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,je.jsx)(Ba,{fallback:f,children:(0,je.jsx)(bt.Suspense,{fallback:(0,je.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,je.jsx)(c,{...t,i18n:a})})},n)}i(ad,"ht");T(ad,"EidStep");function ud({step:l,locale:e,strings:t,className:a,onError:n}){let u=Tl(e,t),{busy:c,error:f,run:o}=qr(u,n),s=(0,nd.useMemo)(()=>l.choice.options.flatMap(p=>{let h=Hr(p,u),d=Br[p.service];return h===null?[]:[{id:p.id,label:h,glyph:d&&(0,Ha.jsx)(Se,{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)(Mr,{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)(Nl,{view:"EidContinueHint",i18n:u,provider:y.nationalEid.providerName,quiet:!0}):null]})}i(ud,"bt");T(ud,"MethodChoice");var Qv=new Set(["nni_not_found","registry_record_not_found"]),Xv=new Set(["nni_invalid","id_number_invalid"]);function hf({step:l,locale:e,strings:t,className:a,onError:n}){let u=Tl(e,t),{t:c}=u,[f,o]=(0,qa.useState)(""),[s,y]=(0,qa.useState)(!1),[p,h]=(0,qa.useState)(null),d=(0,qa.useId)(),z=l.attemptsExhausted,E=T(async U=>{y(!0),h(null);try{await U()}catch(D){h(Yn(D,u.strings)),n?.(D)}finally{y(!1)}},"run"),N=T(U=>{if(U.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let D=Jc(f);if(!/^\d{10}$/.test(D))return h("population.invalid");if(!cr(D))return h("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(D):l.submitNni(D))},"onSubmit"),m=lf(u,l.attemptsRemaining,z),r=l.reason!==void 0&&Qv.has(l.reason),v=l.reason!==void 0&&Xv.has(l.reason),g=(0,K.jsxs)(K.Fragment,{children:[l.reason==="registry_unavailable"?(0,K.jsxs)(pl,{tone:"warning",children:[(0,K.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,K.jsx)("span",{children:m})]}):null,r&&l.canUseDocument?(0,K.jsxs)(pl,{tone:"warning",children:[(0,K.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,K.jsx)("span",{children:m}),(0,K.jsx)(al,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||v?(0,K.jsxs)(pl,{tone:"danger",children:[(0,K.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,K.jsx)("span",{children:m})]}):null,l.reason==="tester_mismatch"?(0,K.jsxs)(pl,{tone:"danger",children:[(0,K.jsx)("span",{children:c("sandboxMode.mismatchIdNumber")}),(0,K.jsx)("span",{children:m})]}):null,z&&l.reason===void 0?(0,K.jsx)(pl,{tone:"danger",children:(0,K.jsx)("span",{children:m})}):null,p!==null?(0,K.jsx)(pl,{tone:"danger",children:(0,K.jsx)("span",{children:c(p)})}):null]}),[A,O,_]=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,K.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":d,onSubmit:N,noValidate:!0,children:[(0,K.jsx)(la,{id:d,title:c(A),lead:c(O)}),g,l.source==="typed"?(0,K.jsxs)("div",{className:"sekyro-field",children:[(0,K.jsx)("label",{className:"sekyro-label",htmlFor:`${d}-id-number`,children:c("population.label")}),(0,K.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(U=>{h(null),o(Jc(U.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,K.jsx)("span",{id:`${d}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,K.jsx)(ea,{children:z?null:(0,K.jsx)(al,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(_)})})]})}i(hf,"Je");T(hf,"IdNumberEntry");function jv(l){return hf(l)}i(jv,"Oo");T(jv,"NniEntry");var Lv=220;function id(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(id,"Do");T(id,"countryNames");function cd({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,Ze.useMemo)(()=>[...Iu(l.documents)].sort(),[l.documents]),o=(0,Ze.useMemo)(()=>id(c,f,l.detectedCountry),[c,f,l.detectedCountry]),s=f.length===1?f[0]:null,[y,p]=(0,Ze.useState)(t??s),[h,d]=(0,Ze.useState)(null),z=s===null?[]:Pt(l.documents,s),E=s!==null&&z.length===1?z[0]:null;(0,Ze.useEffect)(()=>{s!==null&&E!==null&&l.selectDocument(s,E)},[s,E]);let N=T((O,_)=>{l.selectDocument(O,_),a?.()},"pick"),m=T(O=>{let _=Pt(l.documents,O);_.length===1?N(O,_[0]):p(O)},"chooseIssuer");(0,Ze.useEffect)(()=>{if(h===null||y===null)return;let O=setTimeout(()=>N(y,h),Lv);return()=>clearTimeout(O)},[h]),$c(y!==null&&f.length>1&&t===void 0?()=>{p(null),d(null)}:null);let r=h!==null;if(E!==null)return null;let v=Wc(l.acceptedNationalities,e),g=v!==null?(0,Al.jsx)(pl,{tone:"info",children:v}):null;if(y===null)return(0,Al.jsxs)("section",{className:"sekyro-step",children:[(0,Al.jsx)(la,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),g,(0,Al.jsx)(Ar,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:m}),(0,Al.jsx)(ea,{children:null})]});let A=Pt(l.documents,y);return(0,Al.jsxs)("section",{className:"sekyro-step",children:[(0,Al.jsx)(la,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),g,(0,Al.jsx)("div",{className:"sekyro-choices",children:A.map(O=>(0,Al.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":h===O,disabled:r&&h!==O,onClick:i(()=>{r||d(O)},"onClick"),children:[(0,Al.jsx)("span",{className:"sekyro-card__tile",children:(0,Al.jsx)(Se,{name:O==="passport"?"passport":"card"})}),(0,Al.jsxs)("span",{className:"sekyro-card__body",children:[(0,Al.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${O}`)}),(0,Al.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${O}`)})]}),(0,Al.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},O))}),f.length>1?(0,Al.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),d(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,Al.jsx)(ea,{children:null})]})}i(cd,"En");T(cd,"DocumentPicker");var Zv={load:T(()=>import("./document-capture-view-HKEUWRPE-LOW3SNGM.js"),"load")};function fd({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Tl(e,t),[f,o]=(0,fe.useState)(0),[s,y]=(0,fe.useState)(null),p=Iu(l.documents),h=p.length>1,d=l.issuer!==null&&Pt(l.documents,l.issuer).length>1,z=l.documentType===null||l.issuer===null||s!==null,E=p.length===1&&Pt(l.documents,p[0]).length===1,[N]=(0,fe.useState)(()=>z&&!E),m=l.ageStepUp===!0,r=(0,fe.useMemo)(()=>(0,fe.lazy)(()=>Zv.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,fe.useEffect)(()=>{fr()},[]);let v=(0,ze.jsxs)(pl,{tone:"danger",children:[(0,ze.jsx)("span",{children:c.t("errors.network_error")}),(0,ze.jsx)(al,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,ze.jsx)("div",{className:a,children:z?(0,ze.jsx)(cd,{step:l,i18n:c,ageStepUp:m&&s===null&&N,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>y(null),"onPicked")}):(0,ze.jsx)(Ba,{fallback:v,children:(0,ze.jsx)(fe.Suspense,{fallback:(0,ze.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:c.t("common.loading")}),children:(0,ze.jsx)(r,{step:l,i18n:c,ageLead:m&&!N,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...h?{onChangeCountry:T(()=>y("country"),"onChangeCountry")}:{},...d?{onChangeDocument:T(()=>y("document"),"onChangeDocument")}:{}})})},f)})}i(fd,"Nt");T(fd,"DocumentCapture");var Kv={load:T(()=>import("./portrait-capture-view-EKCFW3YQ-DSL42XKH.js"),"load")},wv={load:T(()=>import("./portrait-review-view-NKIVRFCL-BK65RBU6.js"),"load")},Ra,od=(Ra=class extends Ml.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(Ra,"xt"),Ra);T(od,"LoadBoundary");var Jr=od;function sd({step:l,i18n:e}){let{t}=e,a=Pu();return(0,J.jsxs)("section",{className:"sekyro-stack sekyro-stack--2","data-testid":"sekyro-portrait-match",children:[(0,J.jsx)("h2",{ref:a,tabIndex:-1,className:"sekyro-text-body",children:t(l.review?"portrait.reviewTitle":"session.steps.portrait.title")}),l.review?(0,J.jsx)("p",{className:"sekyro-text-muted",children:t("portrait.reviewDescription")}):null,l.uploadFailed?(0,J.jsxs)(pl,{tone:"danger",children:[(0,J.jsx)("span",{children:t("portrait.uploadFailed")}),(0,J.jsx)(al,{kind:"secondary",onClick:i(()=>{l.resubmit()},"onClick"),children:t("portrait.sendAgain")})]}):(0,J.jsx)("p",{role:"status","aria-live":"polite","aria-busy":"true",className:"sekyro-text-muted",children:t("portrait.matching")})]})}i(sd,"er");T(sd,"MatchPhase");function rd({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Tl(e,t),f=Ur(u),o=(0,Ml.useContext)(Pc),[s,y]=(0,Ml.useState)(0),[p,h]=(0,Ml.useState)(null),d=(0,Ml.useMemo)(()=>(0,Ml.lazy)(()=>Kv.load().then(_=>({default:_.PortraitCaptureView}))),[s]),z=(0,Ml.useMemo)(()=>(0,Ml.lazy)(()=>wv.load().then(_=>({default:_.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",N=E?l.photo?.source??"camera":"camera",m=E&&N!=="camera"&&l.photo?.uploadOffered===!0,r=N!=="upload",v=N==="upload"?"upload":N==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,Ml.useEffect)(()=>{l.phase==="capture"&&v==="camera"&&!g&&or()},[l.phase,v,g]),l.phase==="match")return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(sd,{step:l,i18n:c})});let A=(0,J.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,J.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,J.jsx)(la,{title:c.t("session.steps.portrait.title")}),(0,J.jsx)(ea,{children:(0,J.jsx)(al,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||v!=="camera"||g)return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(Jr,{fallback:(0,J.jsx)(al,{kind:"ghost",onClick:i(()=>y(_=>_+1),"onClick"),children:c.t("common.retry")}),children:(0,J.jsx)(Ml.Suspense,{fallback:A,children:(0,J.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,J.jsx)("div",{className:a,children:A});let O=(0,J.jsxs)(pl,{tone:"danger",children:[(0,J.jsx)("span",{children:c.t("errors.network_error")}),(0,J.jsx)(al,{kind:"secondary",onClick:i(()=>y(_=>_+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(Jr,{fallback:O,children:(0,J.jsx)(Ml.Suspense,{fallback:A,children:(0,J.jsx)(d,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...m?{onUpload:T(()=>h("upload"),"onUpload")}:{}})})},s)})}i(rd,"_t");T(rd,"PortraitCapture");var Jv={load:T(()=>import("./proof-of-address-view-HYTT7NHY-73YT3QLR.js"),"load")};function dd({step:l,locale:e,strings:t,className:a}){let n=Tl(e,t),[u,c]=(0,St.useState)(0),f=(0,St.useMemo)(()=>(0,St.lazy)(()=>Jv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,Ue.jsxs)(pl,{tone:"danger",children:[(0,Ue.jsx)("span",{children:n.t("errors.network_error")}),(0,Ue.jsx)(al,{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)(St.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(dd,"Pt");T(dd,"ProofOfAddress");var Wv={load:T(()=>import("./form-view-PQQO4VIK-IE4YHFTL.js"),"load")};function md({step:l,locale:e,strings:t,className:a,onError:n}){let u=Tl(e,t),[c,f]=(0,zt.useState)(0),o=(0,zt.useMemo)(()=>(0,zt.lazy)(()=>Wv.load().then(y=>({default:y.FormView}))),[c]),s=(0,De.jsxs)(pl,{tone:"danger",children:[(0,De.jsx)("span",{children:u.t("errors.network_error")}),(0,De.jsx)(al,{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)(zt.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(md,"It");T(md,"FormStep");var Wr={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)"}},yf={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"}}},Fv=["danger","success","warning","info"];function ii(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ii,"Rt");T(ii,"channel");function of(l){let e=ii(parseInt(l.slice(1,3),16)),t=ii(parseInt(l.slice(3,5),16)),a=ii(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(of,"On");T(of,"luminance");function yd(l,e){let t=of(l),a=of(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(yd,"mr");T(yd,"contrastRatio");function sf(l,e){return Math.min(...Fv.map(t=>yd(yf[l][t].fg,e)))}i(sf,"Mn");T(sf,"worstAgainst");function rf(l,e,t){return Math.min(sf(l,e),sf(l,t))}i(rf,"An");T(rf,"worstStatusContrast");function vd(l,e){return rf("light",l,e)>=rf("dark",l,e)?"light":"dark"}i(vd,"Fn");T(vd,"statusSchemeFor");function vf({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,pt.useRef)(null),y=(0,pt.useRef)(null),p=(0,pt.useRef)(!1),h=(0,pt.useId)();return(0,pt.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)(Se,{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(vf,"nt");T(vf,"FlowDialog");var $v=["intro","data","processing","sharing","retention"];function pd({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,oi.useState)(!1),u=(0,oi.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)(vf,{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)(Nl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):$v.map(o=>(0,Le.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(pd,"Un");T(pd,"ConsentNotice");function bd({step:l}){let{t:e}=Tl(),[t,a]=(0,gd.useState)(!1),n=T(()=>{a(!0),l.retry().catch(()=>{}).finally(()=>a(!1))},"retry");return(0,ci.jsx)(Gn,{tone:"neutral",icon:"smartphone",title:e(l.ended?"elsewhere.endedTitle":"elsewhere.title"),testId:"sekyro-elsewhere",actions:l.ended?void 0:(0,ci.jsx)(al,{kind:"secondary",full:!0,disabled:t,onClick:n,children:e("elsewhere.retry")}),children:(0,ci.jsx)("p",{children:e(l.ended?"elsewhere.endedBody":"elsewhere.body")})})}i(bd,"$n");T(bd,"ElsewhereView");function Sd(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(Sd,"Kn");T(Sd,"initials");var Td=T(l=>({colors:{...l?xl.dark:xl.light},radius:xl.radius,fontFamily:xl.font}),"brandTheme"),mb=Td(!1),Fr=/^#[0-9a-f]{6}$/i;function pf(l,e,t){if(e)return null;let a=ai(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!Fr.test(n)||u!==void 0&&!Fr.test(u)?null:vd(n??xl.light.bg,u??xl.light.surface)}i(pf,"Vt");T(pf,"partnerStatusScheme");function gf(l,e,t){let a=ai(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&_d(n,xl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(pf(l,t,e)==="dark"){let n=yf.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return ni(Td(t),a,ti(e))}i(gf,"ot");T(gf,"verificationTheme");function bf(l){let e=(0,zd.useSyncExternalStore)(Ed,Pv,()=>!1);return l==="dark"||l==="system"&&e}i(bf,"rt");T(bf,"useDarkScheme");var Iv="(prefers-color-scheme: dark)",Ad=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Iv):null,"media"),Pv=T(()=>Ad()?.matches??!1,"prefersDark");function Ed(l){let e=Ad();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(Ed,"Nr");T(Ed,"subscribe");function _d(l,e){let[t,a]=[df(l),df(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(_d,"_r");T(_d,"contrast");function df(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(df,"Gn");T(df,"luminance");var $r=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),l1={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 Nd({screen:l}){if(l==="verified")return(0,I.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,I.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,I.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,I.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}=l1[l];return(0,I.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,I.jsx)(Se,{name:e})})}i(Nd,"Rr");T(Nd,"OutcomeMark");function Md({label:l,id:e,copied:t}){let[a,n]=(0,Va.useState)(!1);return(0,Va.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,I.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,I.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,I.jsx)("bdi",{dir:"ltr",children:e}),(0,I.jsx)(Se,{name:"copy"})]})}i(Md,"Tr");T(Md,"ReferenceLine");function Od({step:l,t:e}){if(!l.context.sandbox)return null;let t=l.context.sandboxRun,a=t?.mode??(l.context.simulation!==void 0?"simulated":void 0);if(a===void 0)return null;let n=t?.testerName,u=a==="simulated"?e("sandboxMode.testData"):n!==void 0?e("sandboxMode.resultTester",{name:n}):e("sandboxMode.resultTesterUnnamed");return(0,I.jsxs)(li,{tone:a==="simulated"?"warning":"info",role:"status",testId:"sekyro-sandbox-mode",children:[(0,I.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,I.jsx)(Se,{name:"info"})}),(0,I.jsx)("div",{className:"sekyro-notice__body","data-mode":a,children:(0,I.jsx)("span",{children:u})})]})}i(Od,"Br");T(Od,"SandboxModeLine");var e1={population_registry:"sandboxMode.mismatchIdNumber",document:"sandboxMode.mismatchDocument",doc_ocr:"sandboxMode.mismatchDocument",nfc:"sandboxMode.mismatchDocument",nfc_chip:"sandboxMode.mismatchDocument",phone_otp:"sandboxMode.mismatchPhone",email_otp:"sandboxMode.mismatchEmail"};function Ud(l,e){switch(l.reasonCode){case"tester_mismatch":{let t=l.step!==void 0?e1[l.step.service]:void 0;return e(t??"reasons.tester_mismatch")}case"tester_incomplete":return l.missing?.includes("registry")?e("sandboxMode.missingRegistry"):e(l.missing?.includes("idNumber")?"sandboxMode.missingIdNumber":"reasons.tester_incomplete");case"tester_not_recognized":case"tester_liveness_failed":case"tester_limit_reached":return e(`reasons.${l.reasonCode}`);default:return null}}i(Ud,"Lr");T(Ud,"testerReasonLine");function Dd(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(Dd,"Or");T(Dd,"resultTitleKey");function Cd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Tl(e,t),{t:c}=u,f=(0,Va.useId)(),o=Pu(),s=l.context.orgName,y=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,h=T(N=>(s!==""||N==="verified")&&N!=="cooldown"?c(`native.result.${N}`,{org:s}):c(`session.result.${N}.description`),"partnerLine"),d,z=Ud(l,c);if(z!==null)d=z;else switch(l.display){case"rejected":y==="identity_not_verified"?d=s!==""?c("reasons.identity_not_verified",{org:s}):c("session.result.identityNotVerified"):d=$r.has(Fc(y))?c("session.result.detailsMismatch",{org:s}):h("rejected");break;case"policy":{if($r.has(Fc(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 N=y===""?null:rr(y);d=N!==null?c(N,{org:s}):h("policy")}break}case"cooldown":{let N=dr(u.locale,l.retryAfter);d=N!==null?c(N.key,{time:N.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 E=y==="nationality_not_allowed"?Wc(l.acceptedNationalities,u):null;return(0,I.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,I.jsxs)("div",{className:"sekyro-result__body",children:[(0,I.jsx)(Nd,{screen:p}),(0,I.jsxs)("div",{className:"sekyro-heading",children:[(0,I.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(Dd(p,l.result))}),(0,I.jsx)("p",{className:"sekyro-text-muted",children:d}),E!==null?(0,I.jsx)("p",{className:"sekyro-text-muted","data-testid":"sekyro-result-nationality",children:E}):null]}),(0,I.jsx)(Od,{step:l,t:c}),(0,I.jsx)(Md,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,I.jsx)("div",{className:"sekyro-actions",children:(0,I.jsx)(al,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(Cd,"Lt");T(Cd,"VerificationResultScreen");function kd(l,e,t){let a=e?xl.dark:xl.light,n=e?xl.roles.dark:xl.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===xl.font&&(c["--sekyro-font-display"]=xl.fontDisplay);let o=e?Wr.dark:Wr.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=yf[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(kd,"Hr");T(kd,"flowRoles");function xd({verification:l}){let e=Tl(),[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,hd.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(xd,"Ur");T(xd,"BrowserCheckPending");function si(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Pr(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=bf(l.colorScheme??"light"),s=c?.context.branding,y=gf(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 E=(0,C.useRef)(c);E.current=c;let N=(0,C.useCallback)(()=>{let A=E.current;z.current?.(A?.kind==="result"?{reason:"finished",result:A.result}:{reason:"cancelled"})},[]),[m,r]=(0,C.useState)(null),v=(0,C.useCallback)(()=>{let A=E.current;A!==null&&A.kind!=="result"&&A.context.consentRecorded?r("close"):N()},[N]),g=(0,C.useMemo)(()=>e.reportCaptureIssue===void 0?null:A=>e.reportCaptureIssue?.(A),[e]);return(0,b.jsx)(ui,{theme:y,className:d,children:(0,b.jsx)(tf,{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:kd(y,o,pf(s,o,l.theme)),children:(0,b.jsx)(pr.Provider,{value:h,children:(0,b.jsx)(Ic.Provider,{value:l.onClose!==void 0?N:void 0,children:(0,b.jsx)(ei.Provider,{value:l.onClose!==void 0?v:void 0,children:(0,b.jsxs)(Nr.Provider,{value:g,children:[(0,b.jsx)(Gd,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:N}),(0,b.jsx)(xd,{verification:e}),(0,b.jsx)(Rd,{open:m!==null,onStay:i(()=>{m==="history"&&fi(),r(null)},"onStay"),onLeave:i(()=>{let A=m;r(null),A==="close"||l.onClose!==void 0?N():typeof window<"u"&&zf()},"onLeave")})]})})})})})})})}i(si,"Mt");T(si,"SekyroVerification");function Bd(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(Bd,"$r");T(Bd,"processingCopyOf");function Hd({error:l,retry:e}){let{t}=Tl(),a=Pu();return(0,b.jsxs)(li,{tone:"danger",testId:"sekyro-error-notice",children:[(0,b.jsx)("span",{children:t(sr(l))}),l.retryable?(0,b.jsx)(al,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(Hd,"Kr");T(Hd,"CameraErrorNotice");var qd="sekyroFlow";function Sf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[qd]===!0}i(Sf,"Xn");T(Sf,"onGuard");function fi(){if(typeof window>"u"||Sf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[qd]:!0},"")}i(fi,"Ot");T(fi,"pushGuard");function zf(){window.history.back()}i(zf,"Jn");T(zf,"leaveHistory");function Rd({open:l,onStay:e,onLeave:t}){let{t:a}=Tl();return(0,b.jsx)(vf,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(al,{full:!0,onClick:e,children:a("leave.stay")}),(0,b.jsx)(al,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,b.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Rd,"zr");T(Rd,"LeaveDialog");function Vd(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(E=>u(e.t(Yn(E,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(Vd,"Gr");T(Vd,"useSkipCapture");function Yd({skip:l}){return(0,b.jsxs)(b.Fragment,{children:[l.failed!==null?(0,b.jsx)(pl,{tone:"danger",children:(0,b.jsx)("span",{children:l.failed})}):null,(0,b.jsx)(al,{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(Yd,"qr");T(Yd,"SkipAction");function Gd(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Tl(),{t:c}=u,[f,o]=(0,C.useState)(!1),[s,y]=(0,C.useState)([]),p=(0,C.useCallback)(M=>(y(ol=>[...ol,M]),()=>y(ol=>ol.filter(Oe=>Oe!==M))),[]),[h,d]=(0,C.useState)(null),z=(0,C.useCallback)(M=>d(()=>M),[]),[E,N]=(0,C.useState)(0),[m,r]=(0,C.useState)(null),v=Vd(e,u),g=e?.context.client?.role,A=e?.context.client?.handoffOpen,O=e?.context.client?.codesRedeemed,_=l.verification,U=(0,C.useMemo)(()=>({verification:_,...g!==void 0?{client:{role:g,handoffOpen:A!==!1,...O!==void 0?{codesRedeemed:O}:{}}}:{}}),[_,g,A,O]),[D,R]=(0,C.useState)(!1),[jl,Bn]=(0,C.useState)(e?.kind);e?.kind!==jl&&(jl==="tester_check"&&e!==null&&e.kind!=="result"&&R(!0),Bn(e?.kind));let Hn=e?.context.purpose??"identity",Me=e?.context.returning===!0,Ua=l.verification,qn=Hn==="human"||e?.context.cameraUnavailableHandled===!0,Da=Ua.reportCameraUnavailable!==void 0&&qn?M=>Ua.reportCameraUnavailable?.(M)??Promise.resolve():void 0,ce=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,Ge=l.handoffUrl,Ft=(0,C.useRef)({last:null,count:0}),Qe=(0,C.useCallback)((M,ol,Oe=!1)=>Da===void 0&&ol!=="denied"?void 0:(0,b.jsx)(Nl,{view:"NoCameraView",i18n:u,quiet:!0,cause:ol,onRetry:M,repeated:Oe,...ce&&Da!==void 0?{onContinue:Da}:{},...Ge!==void 0?{handoffUrl:Ge}:{}}),[u,Ua,qn,ce,Ge]),Ca=(0,C.useMemo)(()=>Rr(e),[e]),Rn=(0,C.useCallback)((M,ol)=>(0,b.jsx)(Vr,{start:M,context:ol,human:Hn==="human",returning:Me,notice:ol.permissionSettled&&ol.permission==="denied"?Qe(M,"denied"):void 0,...Ca!==void 0?{retry:Ca}:{}}),[Hn,Me,Qe,Ca]),Lu=(0,C.useCallback)((M,ol)=>{let Oe=ir(M.kind),Fu=Ft.current;M.kind==="permission"&&M!==Fu.last&&(Fu.last=M,Fu.count+=1);let Uv=M.kind==="permission"&&Fu.count>1;return(Oe!==void 0?Qe(ol,Oe,Uv):void 0)??(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Hd,{error:M,retry:ol}),Oe!==void 0&&Ge!==void 0?(0,b.jsx)(Nl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:Ge}):null]})},[Qe,Ge,u]),ka=(0,C.useRef)(""),yt=l.livenessProps?.slots?.stageOverlay,$t=(0,C.useCallback)(M=>(M.guidance!==""&&!M.coached&&(ka.current=M.guidance),(0,b.jsx)(zr,{testId:"sekyro-capture-stage",video:(0,b.jsx)("video",{ref:M.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:M.settled?c("capture.checkingTitle"):M.guidance!==""?M.guidance:ka.current,note:M.note,status:M.status,busy:M.settled,progress:M.phase==="seeking"||M.phase==="aligning"?M.progress:1,still:M.still,live:M.live,closeLabel:c("native.close"),overlay:yt?.(M.videoRef),ramp:M.ramp?.colour??null,...M.settled?{}:{onClose:T(()=>N(ol=>ol+1),"onClose")},end:M.modeSwitch!=null?(0,b.jsx)(hr,{view:M.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:M.settled||!M.live?null:(0,b.jsx)(gr,{onStop:i(()=>N(ol=>ol+1),"onStop")})})),[c,yt]),Zu=(0,C.useId)(),Ku=e,vt=e!==null&&m===e.key&&e.context.switchable!==void 0,xa=Xd({own:h,step:e,laneShown:vt,laneOpen:e!==null&&e.context.switchable!==void 0&&typeof Ku?.chooseOption=="function",openLane:T(()=>e!==null&&r(e.key),"openLane")}),wu=(0,C.useRef)(xa);wu.current=xa;let Ju=(0,C.useRef)(e);Ju.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 Wu=l.backNavigation==="history";if((0,C.useEffect)(()=>{if(!Wu||typeof window>"u")return;fi();let M=T(()=>{if(Sf())return;let ol=Ju.current,Oe=wu.current;Oe!==null?(Oe(),fi()):ol?.kind!=="result"&&ol?.context.consentRecorded===!0?It.current.ask():It.current.hostClose?It.current.closed():zf()},"onPop");return window.addEventListener("popstate",M),()=>window.removeEventListener("popstate",M)},[Wu]),t!==null)return(0,b.jsx)(li,{tone:"danger",children:(0,b.jsx)("span",{children:c(Yn(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:Cl}=e,$=T(M=>{o(!0),M().finally(()=>o(!1))},"refresh"),Ql=a?.header??(0,b.jsx)(Ld,{context:Cl,headerId:Zu,end:a?.headerEnd,back:xa}),w,Vn=vt;if(D&&e.kind!=="result")w=(0,b.jsx)(Nl,{view:"TesterBoundView",i18n:u,...Cl.sandboxRun?.testerName!==void 0?{testerName:Cl.sandboxRun.testerName}:{},onContinue:i(()=>R(!1),"onContinue")});else if(Vn)w=(0,b.jsx)(Nl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"sandbox_mode":w=(0,b.jsx)(Nl,{view:"SandboxModeView",i18n:u,step:e,verification:l.verification});break;case"tester_check":w=(0,b.jsx)(ef.Provider,{value:$t,children:(0,b.jsx)(Nl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:e.attemptsLeft,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??Rn},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice}})});break;case"phone_otp":w=(0,b.jsx)(ed,{step:e});break;case"email_otp":w=(0,b.jsx)(td,{step:e});break;case"method":w=(0,b.jsx)(ud,{step:e});break;case"registry":w=(0,b.jsx)(hf,{step:e});break;case"document":w=(0,b.jsx)(fd,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let M=l.livenessProps?.slots?.intro,ol={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:M??Rn,...M===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:Lu}:{}},...E>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};w=(0,b.jsx)(ef.Provider,{value:$t,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,b.jsx)(Nl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:ol,sekyroIntro:M===void 0},E):(0,b.jsx)(Dr,{...ol},E)});break}case"portrait":w=(0,b.jsxs)(b.Fragment,{children:[e.retakeOnly?(0,b.jsx)(Nl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,b.jsx)(rd,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":w=(0,b.jsx)(dd,{step:e});break;case"form":w=(0,b.jsx)(md,{step:e});break;case"contact_choice":w=(0,b.jsx)(Nl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":w=(0,b.jsx)(Nl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":w=(0,b.jsx)(Nl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let M=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;w=l.handoffUrl!==void 0?(0,b.jsx)(Nl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,...M!==void 0?{lead:M}:{}}):(0,b.jsx)(Gn,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,b.jsx)(al,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>$(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,b.jsx)("p",{children:M??c("reasons.mobile_required")})});break}case"native_app_required":w=(0,b.jsx)(Nl,{view:"NativeAppView",i18n:u,org:Cl.orgName,nativeApp:e.nativeApp,refresh:e.refresh,footer:(0,b.jsx)(mf,{org:Cl.orgName})});break;case"processing":{let M=Bd(u.strings,e.service);w=(0,b.jsx)(Gn,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:M?.title??c("session.processing.title"),actions:e.stalled?(0,b.jsx)(al,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>$(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,b.jsx)("p",{children:M?.description??c("session.processing.description")})});break}case"eid":w=(0,b.jsx)(ad,{step:e});break;case"unsupported":{let M=e.reason==="platform_unsupported";w=(0,b.jsx)(Gn,{tone:"neutral",icon:"smartphone",title:c(M?"needsApp.title":"unsupported.title"),actions:(0,b.jsx)(mf,{org:Cl.orgName}),children:(0,b.jsx)("p",{children:M?Cl.orgName!==""?c("needsApp.description",{org:Cl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Cl.orgName})})});break}case"elsewhere":w=(0,b.jsx)(bd,{step:e});break;case"result":w=a?.result?.(e)??(0,b.jsx)(Qd,{step:e});break;default:{let M=e;w=null}}let tr=!n&&!Cl.consentRecorded&&e.kind!=="result"?(0,b.jsx)(pd,{i18n:u,purpose:Cl.purpose}):null,ar=v!==null&&!n&&!Vn&&!D?(0,b.jsx)(Yd,{skip:v}):null,wc=ar===null?tr:(0,b.jsxs)(b.Fragment,{children:[ar,tr]});return(0,b.jsx)(vr.Provider,{value:z,children:(0,b.jsx)(Pc.Provider,{value:v,children:(0,b.jsx)(Gr.Provider,{value:l.handoffUrl,children:(0,b.jsx)(Qr.Provider,{value:U,children:(0,b.jsxs)(yr.Provider,{value:wc===null?null:{node:wc,owner:s[0]??null,claim:p},children:[n?null:Ql,!n&&e.kind!=="result"&&Cl.sections.length>1?(0,b.jsx)(Zd,{context:Cl,current:e.section,i18n:u}):null,(0,b.jsx)(Sr,{pageKey:D?"tester_bound":e.key,children:w}),!n&&!Vn&&e.kind!=="result"&&e.context.switchable!==void 0?(0,b.jsx)(Nl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?wc:null,n?null:a?.footer!==void 0?a.footer:Cl.branding?.hideAttribution===!0?null:(0,b.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,b.jsx)(Se,{name:"lock"}),c("shell.verifiedBy")]})]})})})})})}i(Gd,"Yr");T(Gd,"Body");function mf({org:l}){let{t:e}=Tl(),t=(0,C.useContext)(Ic);return t===void 0?null:(0,b.jsx)(al,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(mf,"Zn");T(mf,"BackToOrg");function Qd({step:l}){return(0,b.jsx)(ei.Consumer,{children:i(e=>(0,b.jsx)(Cd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(Qd,"Wr");T(Qd,"ResultPage");function Xd({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(Xd,"Zr");T(Xd,"backOf");function jd(l){let e=l.levelName??l.purpose;return e==="contact"?"shell.subtitleContact":e==="human"?"shell.subtitleHuman":"shell.subtitle"}i(jd,"Qr");T(jd,"subtitleKeyOf");function Ld({context:l,headerId:e,end:t,back:a}){let{t:n}=Tl(),[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)(Se,{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")}):Sd(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(jd(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)(ei.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)(Se,{name:"close"})}):null,"children")})]})})}i(Ld,"Xr");T(Ld,"OrgHeader");function Zd({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(Zd,"Jr");T(Zd,"SectionProgress");var Ir="sekyro_handoff";function Kd(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Kd,"jr");T(Kd,"pageUrl");var ff=new Map;function wd(){if(!(typeof window>"u"))try{let l=new URL(window.location.href),e=l.searchParams.get(Ir);if(e===null||e===""){let t=ff.get(l.href);return ff.delete(l.href),t!==void 0&&Date.now()-t.at<1e3?t.code:void 0}return l.searchParams.delete(Ir),window.history.replaceState(window.history.state,"",`${l.pathname}${l.search}${l.hash}`),ff.set(l.href,{code:e,at:Date.now()}),e}catch{return}}i(wd,"es");T(wd,"takeHandoffParam");function Jd(l,e){let[t]=(0,Ke.useState)(()=>{let a=e??wd();return a!==void 0?l.fromHandoffCode?.(a)??null:l.resumeHandoff?.()??null});return(0,Ke.useEffect)(()=>t===null?void 0:()=>t.destroy(),[t]),t??l}i(Jd,"ts");T(Jd,"useHandoffVerification");function t1({hostedUrl:l,inAppBrowser:e,handoffCode:t,...a}){let n=Jd(a.verification,t),[u,c]=(0,Ke.useState)(e===!0);(0,Ke.useEffect)(()=>{e===void 0&&Yr()&&c(!0)},[e]);let[f,o]=(0,Ke.useState)(!1),s=bf(a.colorScheme??"light"),y=a.handoffUrl??l??Kd();return u&&!f?(0,ta.jsx)(cf,{theme:ni(gf(void 0,void 0,s),a.theme),className:`sekyro-verification${s?" sekyro-verification--dark":""}${a.className!==void 0?` ${a.className}`:""}`,children:(0,ta.jsx)(tf,{locale:a.locale,...a.strings!==void 0?{strings:a.strings}:{},children:(0,ta.jsx)("div",{dir:a.dir??(a.locale==="ar"?"rtl":"ltr"),lang:a.locale,className:"sekyro-flow",children:(0,ta.jsx)(Wd,{url:y,verification:n,onContinue:i(()=>o(!0),"onContinue")})})})}):(0,ta.jsx)(si,{...a,verification:n,...y!==""?{handoffUrl:y}:{}})}i(t1,"ns");T(t1,"SekyroFlow");function Wd({url:l,verification:e,onContinue:t}){let a=Tl(),[n,u]=(0,Ke.useState)(l);return(0,Ke.useEffect)(()=>{let c=!0;u(l);let f=e.clientRole?.(),o=e.handoffLink;if(!(f===void 0||o===void 0))return f.then(s=>s==="bound"||s==="origin"?o.call(e,l!==""?{address:l}:{}):null).then(s=>{c&&s!==null&&u(s.link)}).catch(()=>{}),()=>{c=!1}},[l,e]),(0,ta.jsx)(Nl,{view:"InAppBrowserPrompt",i18n:a,url:n,onContinue:t})}i(Wd,"os");T(Wd,"Prompt");var Yc=V(vl(),1),Av=V(Tv(),1);var Ev=["ar","fr","en","es","pt","de"],Ug=["light","dark","system"];function Dg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return Ev.includes(l)?l:null}i(Dg,"documentLocale");var Cg=typeof HTMLElement>"u"?class{}:HTMLElement;function kg({node:l}){return(0,Yc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(kg,"SlotNode");var ht,_e,Dn,Aa,Ea,Ne,Cn,_a,Na,Ma,kn,Oa,xn,H,Wt,Ye,Qc,Xc,jc,Lc,Zc,_v,mt,er,Nv,ju,Mv,Ov,Kc=class Kc extends Cg{constructor(){super();hl(this,H);hl(this,ht,null);hl(this,_e,null);hl(this,Dn,!1);hl(this,Aa,!1);hl(this,Ea,null);hl(this,Ne,null);hl(this,Cn,null);hl(this,_a,new Map);hl(this,Na);hl(this,Ma);hl(this,kn);hl(this,Oa);hl(this,xn);hl(this,Qc,i(t=>X(this,H,Ye).call(this,"sekyro-step",t),"#onStep"));hl(this,Xc,i(t=>X(this,H,Ye).call(this,"sekyro-result",t),"#onResult"));hl(this,jc,i(t=>X(this,H,Ye).call(this,"sekyro-close",t),"#onClose"));hl(this,Lc,i(t=>X(this,H,Ye).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Zc,{onStateChange:i(t=>X(this,H,Ye).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,H,Ye).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,H,Ye).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...nf.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,H,Wt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,H,Wt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&Ev.includes(t)?t:null}set locale(t){X(this,H,Wt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&Ug.includes(t)?t:null}set colorScheme(t){X(this,H,Wt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,H,Wt).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,H,Wt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,H,Wt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return B(this,Ea)??B(this,Ne)}set verification(t){yl(this,Ea,t??null),X(this,H,mt).call(this)}get strings(){return B(this,Na)}set strings(t){yl(this,Na,t??void 0),X(this,H,mt).call(this)}get theme(){return B(this,Ma)}set theme(t){yl(this,Ma,t??void 0),X(this,H,mt).call(this)}get livenessProps(){return B(this,kn)}set livenessProps(t){yl(this,kn,t??void 0),X(this,H,mt).call(this)}get documentLiveMrz(){return B(this,Oa)}set documentLiveMrz(t){yl(this,Oa,t??void 0),X(this,H,mt).call(this)}get voice(){return B(this,xn)}set voice(t){yl(this,xn,t===null?void 0:t),X(this,H,mt).call(this)}connectedCallback(){yl(this,Aa,!1),X(this,H,_v).call(this),(B(this,_e)===null||B(this,_e).parentNode!==this)&&(yl(this,_e,document.createElement("div")),B(this,_e).className="sekyro-elements-root",this.appendChild(B(this,_e))),B(this,ht)??yl(this,ht,(0,Av.createRoot)(B(this,_e))),X(this,H,mt).call(this)}disconnectedCallback(){yl(this,Aa,!0),queueMicrotask(()=>{!B(this,Aa)||this.isConnected||(yl(this,Aa,!1),X(this,H,Ov).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,H,mt).call(this)}};ht=new WeakMap,_e=new WeakMap,Dn=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,Ne=new WeakMap,Cn=new WeakMap,_a=new WeakMap,Na=new WeakMap,Ma=new WeakMap,kn=new WeakMap,Oa=new WeakMap,xn=new WeakMap,H=new WeakSet,Wt=i(function(t,a){a==null?this.removeAttribute(t):this.setAttribute(t,String(a))},"#reflect"),Ye=i(function(t,a){this.dispatchEvent(new CustomEvent(t,{detail:a,bubbles:!0,composed:!0}))},"#emit"),Qc=new WeakMap,Xc=new WeakMap,jc=new WeakMap,Lc=new WeakMap,Zc=new WeakMap,_v=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!Xr.some(n=>n.name===a)||(B(this,_a).set(a,t),t.remove())}},"#takeSlots"),mt=i(function(){B(this,Dn)||(yl(this,Dn,!0),queueMicrotask(()=>{yl(this,Dn,!1),this.isConnected&&B(this,ht)!==null&&X(this,H,Mv).call(this)}))},"#schedule"),er=i(function(){return this.locale??Dg()??"en"},"#effectiveLocale"),Nv=i(function(){if(B(this,Ea)!==null)return X(this,H,ju).call(this),B(this,Ea);let t=this.clientToken;if(t===null||t==="")return X(this,H,ju).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(B(this,Ne)!==null&&B(this,Cn)===n)return B(this,Ne);X(this,H,ju).call(this);try{yl(this,Ne,ur({clientToken:t,locale:X(this,H,er).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Cn,n)}catch(u){return X(this,H,Ye).call(this,"sekyro-error",{error:u}),null}return X(this,H,Ye).call(this,"sekyro-ready",{verification:B(this,Ne)}),B(this,Ne)},"#currentVerification"),ju=i(function(){B(this,Ne)?.destroy(),yl(this,Ne,null),yl(this,Cn,null)},"#dropOwned"),Mv=i(function(){let t=X(this,H,Nv).call(this);if(t===null){B(this,ht)?.render(null);return}let a=X(this,H,er).call(this),n=this.getAttribute("dir"),u=B(this,xn)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let h=B(this,_a).get(p);return h===void 0?void 0:(0,Yc.createElement)(kg,{node:h})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),y={verification:t,locale:a,onStep:B(this,Qc),onResult:B(this,Xc),onLivenessCaptured:B(this,Lc),livenessProps:{...B(this,kn),...B(this,Zc)},...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:B(this,jc)}:{},...B(this,Na)!==void 0?{strings:B(this,Na)}:{},...B(this,Ma)!==void 0?{theme:B(this,Ma)}:{},...B(this,Oa)!==void 0?{documentLiveMrz:B(this,Oa)}:{},...u!==void 0?{voice:u}:{},...f!==void 0||o!==void 0||s!==void 0?{slots:{...f!==void 0?{header:f}:{},...o!==void 0?{headerEnd:o}:{},...s!==void 0?{footer:s}:{}}}:{}};B(this,ht)?.render((0,Yc.createElement)(si,y))},"#render"),Ov=i(function(){B(this,ht)?.unmount(),yl(this,ht,null),B(this,_e)?.remove(),yl(this,_e,null),X(this,H,ju).call(this);for(let t of B(this,_a).values())this.appendChild(t);B(this,_a).clear()},"#teardown"),i(Kc,"SekyroVerificationElement"),nr(Kc,"observedAttributes",nf.map(t=>t.name));var Gc=Kc;function Cb(){return typeof customElements>"u"?!1:(customElements.get(af)===void 0&&customElements.define(af,Gc),!0)}i(Cb,"defineSekyroElements");export{af as a,nf as b,xg as c,Xr as d,Bg as e,Gc as f,Cb as g};
|
|
10
|
+
/*! Bundled license information:
|
|
11
|
+
|
|
12
|
+
scheduler/cjs/scheduler.production.js:
|
|
13
|
+
(**
|
|
14
|
+
* @license React
|
|
15
|
+
* scheduler.production.js
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the MIT license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*)
|
|
22
|
+
|
|
23
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
24
|
+
(**
|
|
25
|
+
* @license React
|
|
26
|
+
* react-dom-client.production.js
|
|
27
|
+
*
|
|
28
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*)
|
|
33
|
+
*/
|