@sekyro/elements 0.1.0-rc.10 → 0.1.0-rc.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cdn/chunks/{capture-session-doc-2LIRRKFX-GZQBYOR3.js → capture-session-doc-FAMDLRRZ-QPOFTNTG.js} +1 -1
  3. package/dist/cdn/chunks/challenge-frame-YBTLAQ5G-NN763UU5.js +1 -0
  4. package/dist/cdn/chunks/chunk-3DDOCOIB.js +1 -0
  5. package/dist/cdn/chunks/{chunk-6N4AXKCS.js → chunk-4YBL75VD.js} +1 -1
  6. package/dist/cdn/chunks/{chunk-UQKRYXN5.js → chunk-5JSOPXYS.js} +1 -1
  7. package/dist/cdn/chunks/{chunk-SJAQ7DUY.js → chunk-5JWGGQBH.js} +1 -1
  8. package/dist/cdn/chunks/chunk-6MYG4HWP.js +1 -0
  9. package/dist/cdn/chunks/{chunk-NT7PZPBW.js → chunk-7JUL7AKT.js} +1 -1
  10. package/dist/cdn/chunks/{chunk-MZ6WG3QQ.js → chunk-AARN2MG7.js} +1 -1
  11. package/dist/cdn/chunks/{chunk-JDANRDDK.js → chunk-BMUUDLFA.js} +1 -1
  12. package/dist/cdn/chunks/{chunk-BZDKXIWD.js → chunk-CSKOH7QX.js} +1 -1
  13. package/dist/cdn/chunks/{chunk-NNYJYD3Q.js → chunk-CVFJQIMW.js} +1 -1
  14. package/dist/cdn/chunks/{chunk-ZRL6E7XH.js → chunk-FVWYONHZ.js} +1 -1
  15. package/dist/cdn/chunks/chunk-GPGK6XZM.js +1 -0
  16. package/dist/cdn/chunks/{chunk-MDDGAHO6.js → chunk-GZOBS7KG.js} +1 -1
  17. package/dist/cdn/chunks/{chunk-SVROKIYG.js → chunk-JI5WT66H.js} +1 -1
  18. package/dist/cdn/chunks/chunk-JJ3Q52P3.js +25 -0
  19. package/dist/cdn/chunks/{chunk-Q6GRUOR3.js → chunk-K4BLQMYZ.js} +1 -1
  20. package/dist/cdn/chunks/chunk-LBZCFEU4.js +33 -0
  21. package/dist/cdn/chunks/{chunk-52CHUGVC.js → chunk-Q5BUNNRN.js} +2 -2
  22. package/dist/cdn/chunks/{chunk-FVMJYXGV.js → chunk-SDK2YXFV.js} +1 -1
  23. package/dist/cdn/chunks/{chunk-X7QE75V5.js → chunk-UN4V3UNQ.js} +1 -1
  24. package/dist/cdn/chunks/{chunk-YPIQ6IU7.js → chunk-VHNWBOKW.js} +1 -1
  25. package/dist/cdn/chunks/{chunk-PH7RJ5GZ.js → chunk-XDRH4VWV.js} +1 -1
  26. package/dist/cdn/chunks/chunk-XSGZY4JI.js +1 -0
  27. package/dist/cdn/chunks/{chunk-YGXNL7S2.js → chunk-YFJBTK3L.js} +1 -1
  28. package/dist/cdn/chunks/chunk-YLH3WX7Y.js +1 -0
  29. package/dist/cdn/chunks/create-document-capture-WFTNVMCE-QOCPJSAU.js +1 -0
  30. package/dist/cdn/chunks/{create-portrait-capture-5VGYZUOK-N3333DJC.js → create-portrait-capture-5VGYZUOK-KTCFCHTN.js} +1 -1
  31. package/dist/cdn/chunks/{detector-scanic-KMAVOHGF-NFYSZ7GU.js → detector-scanic-S4PB2RNW-3KSM3MW5.js} +1 -1
  32. package/dist/cdn/chunks/{document-capture-view-QMXAAYA2-5HJJKIZ4.js → document-capture-view-GENB535Z-YBRM7NWN.js} +1 -1
  33. package/dist/cdn/chunks/{eid-view-3QTJORA7-S7APLLOM.js → eid-view-IQRZGEMP-SPGYQDQP.js} +1 -1
  34. package/dist/cdn/chunks/{email-otp-view-6MD74OFN-PRYGFOHY.js → email-otp-view-CL76K5TY-TJMSLYLZ.js} +1 -1
  35. package/dist/cdn/chunks/flow-views-C3EIMXME-ODOF67JZ.js +1 -0
  36. package/dist/cdn/chunks/{form-view-YAGVGWMI-7BEAIBSC.js → form-view-MEYCK437-JBO5DNG5.js} +1 -1
  37. package/dist/cdn/chunks/overlay-de-LOQWEHOH-HSNQGD4A.js +1 -0
  38. package/dist/cdn/chunks/overlay-es-F54CKFZO-BTQKTR4A.js +1 -0
  39. package/dist/cdn/chunks/overlay-pt-NHIQY3JB-DQ7MH2QJ.js +1 -0
  40. package/dist/cdn/chunks/{plan-runner-T2ZTSBI4-SEXJ6KJP.js → plan-runner-LSQTIO6L-XZJIKXPZ.js} +1 -1
  41. package/dist/cdn/chunks/{portrait-capture-view-6EUUL2QA-7F2WSHIW.js → portrait-capture-view-VTN2VU3E-JH34ISLI.js} +1 -1
  42. package/dist/cdn/chunks/{portrait-review-view-TTVTYGLG-SVRXTB4Q.js → portrait-review-view-JTRGDYNV-C2O6OFYY.js} +1 -1
  43. package/dist/cdn/chunks/{proof-of-address-view-5WWGRXJL-JQWHMWVI.js → proof-of-address-view-UQOZZXQO-T3QOIQNE.js} +1 -1
  44. package/dist/cdn/define.js +1 -1
  45. package/dist/cdn/index.js +1 -1
  46. package/dist/{chunk-F2IYM4GV.js → chunk-6OZGEXX6.js} +1 -1
  47. package/dist/{chunk-M3SKGQUG.js → chunk-753PBLDK.js} +1 -1
  48. package/dist/chunk-BZGVYIDN.js +25 -0
  49. package/dist/{chunk-XJJ3KCLT.js → chunk-FBXU2OZN.js} +1 -1
  50. package/dist/{chunk-2WPZFQUP.js → chunk-FCIH6PVW.js} +1 -1
  51. package/dist/{chunk-SSSIPHG7.js → chunk-GA2DVM5C.js} +1 -1
  52. package/dist/{chunk-YC4IK7VG.js → chunk-HLMRVFVD.js} +1 -1
  53. package/dist/chunk-K7PFKAQD.js +1 -0
  54. package/dist/{chunk-PCLZBE2D.js → chunk-KNWOL5RR.js} +1 -1
  55. package/dist/chunk-LGFZBFVB.js +33 -0
  56. package/dist/{chunk-GIMNUGVE.js → chunk-PYQREZ33.js} +1 -1
  57. package/dist/{chunk-DMESMWZ7.js → chunk-W6ODZ5JK.js} +1 -1
  58. package/dist/{chunk-NQQZCBHQ.js → chunk-XEWL7C6M.js} +1 -1
  59. package/dist/{chunk-F67N4IZQ.js → chunk-ZUVOUGIA.js} +1 -1
  60. package/dist/define.cjs +5 -5
  61. package/dist/define.js +1 -1
  62. package/dist/{document-capture-view-QMXAAYA2-62JPLXV7.js → document-capture-view-GENB535Z-L5V7YSPP.js} +1 -1
  63. package/dist/{eid-view-3QTJORA7-TLA52WL7.js → eid-view-IQRZGEMP-LAMWORUL.js} +1 -1
  64. package/dist/{email-otp-view-6MD74OFN-WVIWSE4A.js → email-otp-view-CL76K5TY-C7O472UB.js} +1 -1
  65. package/dist/flow-views-C3EIMXME-GGE4OUEO.js +1 -0
  66. package/dist/{form-view-YAGVGWMI-CWM5GSJJ.js → form-view-MEYCK437-356QICGF.js} +1 -1
  67. package/dist/index.cjs +5 -5
  68. package/dist/index.d.cts +11 -0
  69. package/dist/index.d.ts +11 -0
  70. package/dist/index.js +1 -1
  71. package/dist/overlay-de-LOQWEHOH-YIQXHAUD.js +1 -0
  72. package/dist/overlay-es-F54CKFZO-JNTVTVWI.js +1 -0
  73. package/dist/overlay-pt-NHIQY3JB-V5CJ5SGF.js +1 -0
  74. package/dist/{portrait-capture-view-6EUUL2QA-ZTAGMPU2.js → portrait-capture-view-VTN2VU3E-2HKWLWRG.js} +1 -1
  75. package/dist/{portrait-review-view-TTVTYGLG-HVTGBDRR.js → portrait-review-view-JTRGDYNV-TNR7WBYD.js} +1 -1
  76. package/dist/{proof-of-address-view-5WWGRXJL-3BWMP23I.js → proof-of-address-view-UQOZZXQO-XJTGU3G6.js} +1 -1
  77. package/package.json +2 -2
  78. package/sbom.cdx.json +4 -4
  79. package/dist/cdn/chunks/challenge-frame-YAQJ5YMB-MHZYRGKY.js +0 -1
  80. package/dist/cdn/chunks/chunk-574O5HZZ.js +0 -1
  81. package/dist/cdn/chunks/chunk-5FPDMYLD.js +0 -33
  82. package/dist/cdn/chunks/chunk-BIK4PGBE.js +0 -1
  83. package/dist/cdn/chunks/chunk-CW56KMMH.js +0 -1
  84. package/dist/cdn/chunks/chunk-LAF6JZRH.js +0 -1
  85. package/dist/cdn/chunks/chunk-WKQRKYX4.js +0 -25
  86. package/dist/cdn/chunks/chunk-X42LECG5.js +0 -1
  87. package/dist/cdn/chunks/create-document-capture-X35M4UAK-BB2SCTPK.js +0 -1
  88. package/dist/cdn/chunks/flow-views-AEVFAZOT-DUBO6WU5.js +0 -1
  89. package/dist/cdn/chunks/overlay-de-U5AM34SS-UPJSNTKZ.js +0 -1
  90. package/dist/cdn/chunks/overlay-es-LS4JWU5J-UFZMJAU6.js +0 -1
  91. package/dist/cdn/chunks/overlay-pt-M4ZJJRFE-HJIXIX5G.js +0 -1
  92. package/dist/chunk-BCDTYNQ3.js +0 -1
  93. package/dist/chunk-K5DAJSLX.js +0 -25
  94. package/dist/chunk-W23RACX3.js +0 -33
  95. package/dist/flow-views-AEVFAZOT-PKXWQC2K.js +0 -1
  96. package/dist/overlay-de-U5AM34SS-ISYPWAT7.js +0 -1
  97. package/dist/overlay-es-LS4JWU5J-2VRTV7R4.js +0 -1
  98. package/dist/overlay-pt-M4ZJJRFE-UCQAZFCI.js +0 -1
@@ -1,33 +0,0 @@
1
- import{a as ir}from"./chunk-PCLZBE2D.js";import{a as Da,b as Dl,c as gr}from"./chunk-GIMNUGVE.js";import{a as br,b as Sr,d as zr,e as Tr}from"./chunk-F2IYM4GV.js";import{a as fr,b as or,c as Jc,d as sr,e as rr,f as dr,g as mr,h as hr,i as yr,j as vr,k as pr}from"./chunk-F67N4IZQ.js";import{a as fv,c as Ps}from"./chunk-XJJ3KCLT.js";import{a as cr}from"./chunk-DMESMWZ7.js";import{a as Fu}from"./chunk-2WPZFQUP.js";import{a as Ar,b as Er,c as Nr}from"./chunk-NQQZCBHQ.js";import{a as qn}from"./chunk-YZ6YGLNN.js";import{b as wc,c as Ul}from"./chunk-BCDTYNQ3.js";import{A as jc,B as Wu,C as Lc,D as tr,F as Zc,G as ar,H as nr,J as ur,K as Al,L as Kc,a as Sl,b as Gl,c as cl,k as Xc,p as Fs,q as $s,r as Is,t as Ju,u as wu,v as Se,w as It,x as lr,y as Pt,z as er}from"./chunk-K5DAJSLX.js";import{a as i,b as Ku,c as Q,d as Ws,e as H,f as hl,g as yl,h as X,i as T}from"./chunk-SSU37LFQ.js";var Yd=Ku(fl=>{"use strict";function gf(l,e){var t=l.length;l.push(e);l:for(;0<t;){var a=t-1>>>1,n=l[a];if(0<ii(n,e))l[a]=e,l[t]=n,t=a;else break l}}i(gf,"push");function Ce(l){return l.length===0?null:l[0]}i(Ce,"peek");function fi(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>ii(f,t))o<n&&0>ii(s,f)?(l[a]=s,l[o]=t,a=o):(l[a]=f,l[c]=t,a=c);else if(o<n&&0>ii(s,t))l[a]=s,l[o]=t,a=o;else break l}}return e}i(fi,"pop");function ii(l,e){var t=l.sortIndex-e.sortIndex;return t!==0?t:l.id-e.id}i(ii,"compare");fl.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Ud=performance,fl.unstable_now=function(){return Ud.now()}):(yf=Date,Dd=yf.now(),fl.unstable_now=function(){return yf.now()-Dd});var Ud,yf,Dd,je=[],St=[],Qv=1,fe=null,Vl=3,bf=!1,Vn=!1,Qn=!1,Sf=!1,Hd=typeof setTimeout=="function"?setTimeout:null,Bd=typeof clearTimeout=="function"?clearTimeout:null,Cd=typeof setImmediate<"u"?setImmediate:null;function ci(l){for(var e=Ce(St);e!==null;){if(e.callback===null)fi(St);else if(e.startTime<=l)fi(St),e.sortIndex=e.expirationTime,gf(je,e);else break;e=Ce(St)}}i(ci,"advanceTimers");function zf(l){if(Qn=!1,ci(l),!Vn)if(Ce(je)!==null)Vn=!0,qa||(qa=!0,xa());else{var e=Ce(St);e!==null&&Tf(zf,e.startTime-l)}}i(zf,"handleTimeout");var qa=!1,Xn=-1,xd=5,qd=-1;function Rd(){return Sf?!0:!(fl.unstable_now()-qd<xd)}i(Rd,"shouldYieldToHost");function vf(){if(Sf=!1,qa){var l=fl.unstable_now();qd=l;var e=!0;try{l:{Vn=!1,Qn&&(Qn=!1,Bd(Xn),Xn=-1),bf=!0;var t=Vl;try{e:{for(ci(l),fe=Ce(je);fe!==null&&!(fe.expirationTime>l&&Rd());){var a=fe.callback;if(typeof a=="function"){fe.callback=null,Vl=fe.priorityLevel;var n=a(fe.expirationTime<=l);if(l=fl.unstable_now(),typeof n=="function"){fe.callback=n,ci(l),e=!0;break e}fe===Ce(je)&&fi(je),ci(l)}else fi(je);fe=Ce(je)}if(fe!==null)e=!0;else{var u=Ce(St);u!==null&&Tf(zf,u.startTime-l),e=!1}}break l}finally{fe=null,Vl=t,bf=!1}e=void 0}}finally{e?xa():qa=!1}}}i(vf,"performWorkUntilDeadline");var xa;typeof Cd=="function"?xa=i(function(){Cd(vf)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?(pf=new MessageChannel,kd=pf.port2,pf.port1.onmessage=vf,xa=i(function(){kd.postMessage(null)},"schedulePerformWorkUntilDeadline")):xa=i(function(){Hd(vf,0)},"schedulePerformWorkUntilDeadline");var pf,kd;function Tf(l,e){Xn=Hd(function(){l(fl.unstable_now())},e)}i(Tf,"requestHostTimeout");fl.unstable_IdlePriority=5;fl.unstable_ImmediatePriority=1;fl.unstable_LowPriority=4;fl.unstable_NormalPriority=3;fl.unstable_Profiling=null;fl.unstable_UserBlockingPriority=2;fl.unstable_cancelCallback=function(l){l.callback=null};fl.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):xd=0<l?Math.floor(1e3/l):5};fl.unstable_getCurrentPriorityLevel=function(){return Vl};fl.unstable_next=function(l){switch(Vl){case 1:case 2:case 3:var e=3;break;default:e=Vl}var t=Vl;Vl=e;try{return l()}finally{Vl=t}};fl.unstable_requestPaint=function(){Sf=!0};fl.unstable_runWithPriority=function(l,e){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=Vl;Vl=l;try{return e()}finally{Vl=t}};fl.unstable_scheduleCallback=function(l,e,t){var a=fl.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:Qv++,callback:e,priorityLevel:l,startTime:t,expirationTime:n,sortIndex:-1},t>a?(l.sortIndex=t,gf(St,l),Ce(je)===null&&l===Ce(St)&&(Qn?(Bd(Xn),Xn=-1):Qn=!0,Tf(zf,t-a))):(l.sortIndex=n,gf(je,l),Vn||bf||(Vn=!0,qa||(qa=!0,xa()))),l};fl.unstable_shouldYield=Rd;fl.unstable_wrapCallback=function(l){var e=Vl;return function(){var t=Vl;Vl=e;try{return l.apply(this,arguments)}finally{Vl=t}}}});var Vd=Ku((ab,Gd)=>{"use strict";Gd.exports=Yd()});var Iy=Ku(Hc=>{"use strict";var Tl=Vd(),dh=Sl(),Xv=fv();function b(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(b,"formatProdErrorMessage");function mh(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}i(mh,"isValidContainer");function Ou(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}i(Ou,"getNearestMountedFiber");function 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 yh(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(yh,"getActivityInstanceFromFiber");function Qd(l){if(Ou(l)!==l)throw Error(b(188))}i(Qd,"assertIsMounted");function jv(l){var e=l.alternate;if(!e){if(e=Ou(l),e===null)throw Error(b(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 Qd(n),l;if(u===a)return Qd(n),e;u=u.sibling}throw Error(b(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(b(189))}}if(t.alternate!==a)throw Error(b(190))}if(t.tag!==3)throw Error(b(188));return t.stateNode.current===t?l:e}i(jv,"findCurrentFiberUsingSlowPath");function vh(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=vh(l),e!==null)return e;l=l.sibling}return null}i(vh,"findCurrentHostFiberImpl");var ul=Object.assign,Lv=Symbol.for("react.element"),oi=Symbol.for("react.transitional.element"),Fn=Symbol.for("react.portal"),Xa=Symbol.for("react.fragment"),ph=Symbol.for("react.strict_mode"),to=Symbol.for("react.profiler"),gh=Symbol.for("react.consumer"),$e=Symbol.for("react.context"),Io=Symbol.for("react.forward_ref"),ao=Symbol.for("react.suspense"),no=Symbol.for("react.suspense_list"),Po=Symbol.for("react.memo"),zt=Symbol.for("react.lazy"),uo=Symbol.for("react.activity"),Zv=Symbol.for("react.memo_cache_sentinel"),Xd=Symbol.iterator;function jn(l){return l===null||typeof l!="object"?null:(l=Xd&&l[Xd]||l["@@iterator"],typeof l=="function"?l:null)}i(jn,"getIteratorFn");var Kv=Symbol.for("react.client.reference");function io(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Kv?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Xa:return"Fragment";case to:return"Profiler";case ph:return"StrictMode";case ao:return"Suspense";case no:return"SuspenseList";case uo:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Fn:return"Portal";case $e:return l.displayName||"Context";case gh:return(l._context.displayName||"Context")+".Consumer";case Io:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Po:return e=l.displayName||null,e!==null?e:io(l.type)||"Memo";case zt:e=l._payload,l=l._init;try{return io(l(e))}catch{}}return null}i(io,"getComponentNameFromType");var $n=Array.isArray,C=dh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Xv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ia={pending:!1,data:null,method:null,action:null},co=[],ja=-1;function qe(l){return{current:l}}i(qe,"createCursor");function Ol(l){0>ja||(l.current=co[ja],co[ja]=null,ja--)}i(Ol,"pop");function tl(l,e){ja++,co[ja]=l.current,l.current=e}i(tl,"push");var xe=qe(null),hu=qe(null),kt=qe(null),Xi=qe(null);function ji(l,e){switch(tl(kt,e),tl(hu,l),tl(xe,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?Wm(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=Wm(e),l=Yy(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Ol(xe),tl(xe,l)}i(ji,"pushHostContainer");function fn(){Ol(xe),Ol(hu),Ol(kt)}i(fn,"popHostContainer");function fo(l){l.memoizedState!==null&&tl(Xi,l);var e=xe.current,t=Yy(e,l.type);e!==t&&(tl(hu,l),tl(xe,t))}i(fo,"pushHostContext");function Li(l){hu.current===l&&(Ol(xe),Ol(hu)),Xi.current===l&&(Ol(Xi),Nu._currentValue=ia)}i(Li,"popHostContext");var Af,jd;function ta(l){if(Af===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Af=e&&e[1]||"",jd=-1<t.stack.indexOf(`
2
- at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+Af+l+jd}i(ta,"describeBuiltInComponentFrame");var Ef=!1;function Nf(l,e){if(!l||Ef)return"";Ef=!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(h){var m=h}Reflect.construct(l,[],p)}else{try{p.call()}catch(h){m=h}l.call(p.prototype)}}else{try{throw Error()}catch(h){m=h}(p=l())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(h){if(h&&m&&typeof h.stack=="string")return[h.stack,m.stack]}return[null,null]},"DetermineComponentFrameRoot")};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var o=c.split(`
4
- `),s=f.split(`
5
- `);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===s.length)for(a=o.length-1,n=s.length-1;1<=a&&0<=n&&o[a]!==s[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==s[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==s[n]){var v=`
6
- `+o[a].replace(" at new "," at ");return l.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",l.displayName)),v}while(1<=a&&0<=n);break}}}finally{Ef=!1,Error.prepareStackTrace=t}return(t=l?l.displayName||l.name:"")?ta(t):""}i(Nf,"describeNativeComponentFrame");function Jv(l,e){switch(l.tag){case 26:case 27:case 5:return ta(l.type);case 16:return ta("Lazy");case 13:return l.child!==e&&e!==null?ta("Suspense Fallback"):ta("Suspense");case 19:return ta("SuspenseList");case 0:case 15:return Nf(l.type,!1);case 11:return Nf(l.type.render,!1);case 1:return Nf(l.type,!0);case 31:return ta("Activity");default:return""}}i(Jv,"describeFiber");function Ld(l){try{var e="",t=null;do e+=Jv(l,t),t=l,l=l.return;while(l);return e}catch(a){return`
7
- Error generating stack: `+a.message+`
8
- `+a.stack}}i(Ld,"getStackByFiberInDevAndProd");var oo=Object.prototype.hasOwnProperty,ls=Tl.unstable_scheduleCallback,_f=Tl.unstable_cancelCallback,wv=Tl.unstable_shouldYield,Wv=Tl.unstable_requestPaint,ee=Tl.unstable_now,Fv=Tl.unstable_getCurrentPriorityLevel,bh=Tl.unstable_ImmediatePriority,Sh=Tl.unstable_UserBlockingPriority,Zi=Tl.unstable_NormalPriority,$v=Tl.unstable_LowPriority,zh=Tl.unstable_IdlePriority,Iv=Tl.log,Pv=Tl.unstable_setDisableYieldValue,Uu=null,te=null;function Mt(l){if(typeof Iv=="function"&&Pv(l),te&&typeof te.setStrictMode=="function")try{te.setStrictMode(Uu,l)}catch{}}i(Mt,"setIsStrictModeForDevtools");var ae=Math.clz32?Math.clz32:t1,l1=Math.log,e1=Math.LN2;function t1(l){return l>>>=0,l===0?32:31-(l1(l)/e1|0)|0}i(t1,"clz32Fallback");var si=256,ri=262144,di=4194304;function aa(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(aa,"getHighestPriorityLanes");function pc(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=aa(a):(c&=f,c!==0?n=aa(c):t||(t=f&~l,t!==0&&(n=aa(t))))):(f=a&~u,f!==0?n=aa(f):c!==0?n=aa(c):t||(t=a&~l,t!==0&&(n=aa(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(pc,"getNextLanes");function Du(l,e){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&e)===0}i(Du,"checkIfRootIsPrerendering");function a1(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(a1,"computeExpirationTime");function Th(){var l=di;return di<<=1,(di&62914560)===0&&(di=4194304),l}i(Th,"claimNextRetryLane");function Mf(l){for(var e=[],t=0;31>t;t++)e.push(l);return e}i(Mf,"createLaneMap");function Cu(l,e){l.pendingLanes|=e,e!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}i(Cu,"markRootUpdated$1");function n1(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 v=31-ae(t),p=1<<v;f[v]=0,o[v]=-1;var m=s[v];if(m!==null)for(s[v]=null,v=0;v<m.length;v++){var h=m[v];h!==null&&(h.lane&=-536870913)}t&=~p}a!==0&&Ah(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~e))}i(n1,"markRootFinished");function Ah(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(Ah,"markSpawnedDeferredLane");function Eh(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(Eh,"markRootEntangled");function Nh(l,e){var t=e&-e;return t=(t&42)!==0?1:es(t),(t&(l.suspendedLanes|e))!==0?0:t}i(Nh,"getBumpedLaneForHydration");function es(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(es,"getBumpedLaneForHydrationByLane");function ts(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}i(ts,"lanesToEventPriority");function _h(){var l=Z.p;return l!==0?l:(l=window.event,l===void 0?32:Wy(l.type))}i(_h,"resolveUpdatePriority");function Zd(l,e){var t=Z.p;try{return Z.p=l,e()}finally{Z.p=t}}i(Zd,"runWithPriority");var Zt=Math.random().toString(36).slice(2),Bl="__reactFiber$"+Zt,Wl="__reactProps$"+Zt,bn="__reactContainer$"+Zt,so="__reactEvents$"+Zt,u1="__reactListeners$"+Zt,i1="__reactHandles$"+Zt,Kd="__reactResources$"+Zt,ku="__reactMarker$"+Zt;function as(l){delete l[Bl],delete l[Wl],delete l[so],delete l[u1],delete l[i1]}i(as,"detachDeletedInstance");function La(l){var e=l[Bl];if(e)return e;for(var t=l.parentNode;t;){if(e=t[bn]||t[Bl]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(l=lh(l);l!==null;){if(t=l[Bl])return t;l=lh(l)}return e}l=t,t=l.parentNode}return null}i(La,"getClosestInstanceFromNode");function Sn(l){if(l=l[Bl]||l[bn]){var e=l.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return l}return null}i(Sn,"getInstanceFromNode");function In(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l.stateNode;throw Error(b(33))}i(In,"getNodeFromInstance");function ln(l){var e=l[Kd];return e||(e=l[Kd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}i(ln,"getResourcesFromRoot");function Ml(l){l[ku]=!0}i(Ml,"markNodeAsHoistable");var Mh=new Set,Oh={};function va(l,e){on(l,e),on(l+"Capture",e)}i(va,"registerTwoPhaseEvent");function on(l,e){for(Oh[l]=e,l=0;l<e.length;l++)Mh.add(e[l])}i(on,"registerDirectEvent");var c1=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]*$"),Jd={},wd={};function f1(l){return oo.call(wd,l)?!0:oo.call(Jd,l)?!1:c1.test(l)?wd[l]=!0:(Jd[l]=!0,!1)}i(f1,"isAttributeNameSafe");function Mi(l,e,t){if(f1(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(Mi,"setValueForAttribute");function mi(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(mi,"setValueForKnownAttribute");function Le(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(Le,"setValueForNamespacedAttribute");function se(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}i(se,"getToStringValue");function Uh(l){var e=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}i(Uh,"isCheckable");function o1(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(o1,"trackValueOnNode");function ro(l){if(!l._valueTracker){var e=Uh(l)?"checked":"value";l._valueTracker=o1(l,e,""+l[e])}}i(ro,"track");function Dh(l){if(!l)return!1;var e=l._valueTracker;if(!e)return!0;var t=e.getValue(),a="";return l&&(a=Uh(l)?l.checked?"true":"false":l.value),l=a,l!==t?(e.setValue(l),!0):!1}i(Dh,"updateValueIfChanged");function Ki(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(Ki,"getActiveElement");var s1=/[\n"\\]/g;function me(l){return l.replace(s1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}i(me,"escapeSelectorAttributeValueInsideDoubleQuotes");function mo(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=""+se(e)):l.value!==""+se(e)&&(l.value=""+se(e)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),e!=null?ho(l,c,se(e)):t!=null?ho(l,c,se(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=""+se(f):l.removeAttribute("name")}i(mo,"updateInput");function Ch(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)){ro(l);return}t=t!=null?""+se(t):"",e=e!=null?""+se(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),ro(l)}i(Ch,"initInput");function ho(l,e,t){e==="number"&&Ki(l.ownerDocument)===l||l.defaultValue===""+t||(l.defaultValue=""+t)}i(ho,"setDefaultValue");function en(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=""+se(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(en,"updateOptions");function kh(l,e,t){if(e!=null&&(e=""+se(e),e!==l.value&&(l.value=e),t==null)){l.defaultValue!==e&&(l.defaultValue=e);return}l.defaultValue=t!=null?""+se(t):""}i(kh,"updateTextarea");function Hh(l,e,t,a){if(e==null){if(a!=null){if(t!=null)throw Error(b(92));if($n(a)){if(1<a.length)throw Error(b(93));a=a[0]}t=a}t==null&&(t=""),e=t}t=se(e),l.defaultValue=t,a=l.textContent,a===t&&a!==""&&a!==null&&(l.value=a),ro(l)}i(Hh,"initTextarea");function sn(l,e){if(e){var t=l.firstChild;if(t&&t===l.lastChild&&t.nodeType===3){t.nodeValue=e;return}}l.textContent=e}i(sn,"setTextContent");var r1=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 Wd(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||r1.has(e)?e==="float"?l.cssFloat=t:l[e]=(""+t).trim():l[e]=t+"px"}i(Wd,"setValueForStyle");function Bh(l,e,t){if(e!=null&&typeof e!="object")throw Error(b(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&&Wd(l,n,a)}else for(var u in e)e.hasOwnProperty(u)&&Wd(l,u,e[u])}i(Bh,"setValueForStyles");function ns(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(ns,"isCustomElement");var d1=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"]]),m1=/^[\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 Oi(l){return m1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}i(Oi,"sanitizeURL");function Ie(){}i(Ie,"noop$1");var yo=null;function us(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}i(us,"getEventTarget");var Za=null,tn=null;function Fd(l){var e=Sn(l);if(e&&(l=e.stateNode)){var t=l[Wl]||null;l:switch(l=e.stateNode,e.type){case"input":if(mo(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="'+me(""+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(b(90));mo(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&&Dh(a)}break l;case"textarea":kh(l,t.value,t.defaultValue);break l;case"select":e=t.value,e!=null&&en(l,!!t.multiple,e,!1)}}}i(Fd,"restoreStateOfTarget");var Of=!1;function xh(l,e,t){if(Of)return l(e,t);Of=!0;try{var a=l(e);return a}finally{if(Of=!1,(Za!==null||tn!==null)&&(Uc(),Za&&(e=Za,l=tn,tn=Za=null,Fd(e),l)))for(e=0;e<l.length;e++)Fd(l[e])}}i(xh,"batchedUpdates$1");function yu(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(b(231,e,typeof t));return t}i(yu,"getListener");var at=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(at)try{Ra={},Object.defineProperty(Ra,"passive",{get:i(function(){vo=!0},"get")}),window.addEventListener("test",Ra,Ra),window.removeEventListener("test",Ra,Ra)}catch{vo=!1}var Ra,Ot=null,is=null,Ui=null;function qh(){if(Ui)return Ui;var l,e=is,t=e.length,a,n="value"in Ot?Ot.value:Ot.textContent,u=n.length;for(l=0;l<t&&e[l]===n[l];l++);var c=t-l;for(a=1;a<=c&&e[t-a]===n[u-a];a++);return Ui=n.slice(l,1<a?1-a:void 0)}i(qh,"getData");function Di(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(Di,"getEventCharCode");function hi(){return!0}i(hi,"functionThatReturnsTrue");function $d(){return!1}i($d,"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)?hi:$d,this.isPropagationStopped=$d,this}return i(e,"SyntheticBaseEvent"),ul(e.prototype,{preventDefault:i(function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=hi)},"preventDefault"),stopPropagation:i(function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=hi)},"stopPropagation"),persist:i(function(){},"persist"),isPersistent:hi}),e}i(Fl,"createSyntheticEvent");var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:i(function(l){return l.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},gc=Fl(pa),Hu=ul({},pa,{view:0,detail:0}),h1=Fl(Hu),Uf,Df,Ln,bc=ul({},Hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cs,button:0,buttons:0,relatedTarget:i(function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},"relatedTarget"),movementX:i(function(l){return"movementX"in l?l.movementX:(l!==Ln&&(Ln&&l.type==="mousemove"?(Uf=l.screenX-Ln.screenX,Df=l.screenY-Ln.screenY):Df=Uf=0,Ln=l),Uf)},"movementX"),movementY:i(function(l){return"movementY"in l?l.movementY:Df},"movementY")}),Id=Fl(bc),y1=ul({},bc,{dataTransfer:0}),v1=Fl(y1),p1=ul({},Hu,{relatedTarget:0}),Cf=Fl(p1),g1=ul({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),b1=Fl(g1),S1=ul({},pa,{clipboardData:i(function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData},"clipboardData")}),z1=Fl(S1),T1=ul({},pa,{data:0}),Pd=Fl(T1),A1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},E1={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"},N1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _1(l){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(l):(l=N1[l])?!!e[l]:!1}i(_1,"modifierStateGetter");function cs(){return _1}i(cs,"getEventModifierState");var M1=ul({},Hu,{key:i(function(l){if(l.key){var e=A1[l.key]||l.key;if(e!=="Unidentified")return e}return l.type==="keypress"?(l=Di(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?E1[l.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cs,charCode:i(function(l){return l.type==="keypress"?Di(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"?Di(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0},"which")}),O1=Fl(M1),U1=ul({},bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lm=Fl(U1),D1=ul({},Hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cs}),C1=Fl(D1),k1=ul({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),H1=Fl(k1),B1=ul({},bc,{deltaX:i(function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},"deltaX"),deltaY:i(function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),x1=Fl(B1),q1=ul({},pa,{newState:0,oldState:0}),R1=Fl(q1),Y1=[9,13,27,32],fs=at&&"CompositionEvent"in window,eu=null;at&&"documentMode"in document&&(eu=document.documentMode);var G1=at&&"TextEvent"in window&&!eu,Rh=at&&(!fs||eu&&8<eu&&11>=eu),em=" ",tm=!1;function Yh(l,e){switch(l){case"keyup":return Y1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}i(Yh,"isFallbackCompositionEnd");function Gh(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}i(Gh,"getDataFromCustomEvent");var Ka=!1;function V1(l,e){switch(l){case"compositionend":return Gh(e);case"keypress":return e.which!==32?null:(tm=!0,em);case"textInput":return l=e.data,l===em&&tm?null:l;default:return null}}i(V1,"getNativeBeforeInputChars");function Q1(l,e){if(Ka)return l==="compositionend"||!fs&&Yh(l,e)?(l=qh(),Ui=is=Ot=null,Ka=!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 Rh&&e.locale!=="ko"?null:e.data;default:return null}}i(Q1,"getFallbackBeforeInputChars");var X1={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 am(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e==="input"?!!X1[l.type]:e==="textarea"}i(am,"isTextInputElement");function Vh(l,e,t,a){Za?tn?tn.push(a):tn=[a]:Za=a,e=sc(e,"onChange"),0<e.length&&(t=new gc("onChange","change",null,t,a),l.push({event:t,listeners:e}))}i(Vh,"createAndAccumulateChangeEvent");var tu=null,vu=null;function j1(l){xy(l,0)}i(j1,"runEventInBatch");function Sc(l){var e=In(l);if(Dh(e))return l}i(Sc,"getInstIfValueChanged");function nm(l,e){if(l==="change")return e}i(nm,"getTargetInstForChangeEvent");var Qh=!1;at&&(at?(vi="oninput"in document,vi||(kf=document.createElement("div"),kf.setAttribute("oninput","return;"),vi=typeof kf.oninput=="function"),yi=vi):yi=!1,Qh=yi&&(!document.documentMode||9<document.documentMode));var yi,vi,kf;function um(){tu&&(tu.detachEvent("onpropertychange",Xh),vu=tu=null)}i(um,"stopWatchingForValueChange");function Xh(l){if(l.propertyName==="value"&&Sc(vu)){var e=[];Vh(e,vu,l,us(l)),xh(j1,e)}}i(Xh,"handlePropertyChange");function L1(l,e,t){l==="focusin"?(um(),tu=e,vu=t,tu.attachEvent("onpropertychange",Xh)):l==="focusout"&&um()}i(L1,"handleEventsForInputEventPolyfill");function Z1(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Sc(vu)}i(Z1,"getTargetInstForInputEventPolyfill");function K1(l,e){if(l==="click")return Sc(e)}i(K1,"getTargetInstForClickEvent");function J1(l,e){if(l==="input"||l==="change")return Sc(e)}i(J1,"getTargetInstForInputOrChangeEvent");function w1(l,e){return l===e&&(l!==0||1/l===1/e)||l!==l&&e!==e}i(w1,"is");var ue=typeof Object.is=="function"?Object.is:w1;function pu(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(!oo.call(e,n)||!ue(l[n],e[n]))return!1}return!0}i(pu,"shallowEqual");function im(l){for(;l&&l.firstChild;)l=l.firstChild;return l}i(im,"getLeafNode");function cm(l,e){var t=im(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=im(t)}}i(cm,"getNodeForCharacterOffset");function jh(l,e){return l&&e?l===e?!0:l&&l.nodeType===3?!1:e&&e.nodeType===3?jh(l,e.parentNode):"contains"in l?l.contains(e):l.compareDocumentPosition?!!(l.compareDocumentPosition(e)&16):!1:!1}i(jh,"containsNode");function Lh(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var e=Ki(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=Ki(l.document)}return e}i(Lh,"getActiveElementDeep");function os(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(os,"hasSelectionCapabilities");var W1=at&&"documentMode"in document&&11>=document.documentMode,Ja=null,po=null,au=null,go=!1;function fm(l,e,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;go||Ja==null||Ja!==Ki(a)||(a=Ja,"selectionStart"in a&&os(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),au&&pu(au,a)||(au=a,a=sc(po,"onSelect"),0<a.length&&(e=new gc("onSelect","select",null,e,t),l.push({event:e,listeners:a}),e.target=Ja)))}i(fm,"constructSelectEvent");function ea(l,e){var t={};return t[l.toLowerCase()]=e.toLowerCase(),t["Webkit"+l]="webkit"+e,t["Moz"+l]="moz"+e,t}i(ea,"makePrefixMap");var wa={animationend:ea("Animation","AnimationEnd"),animationiteration:ea("Animation","AnimationIteration"),animationstart:ea("Animation","AnimationStart"),transitionrun:ea("Transition","TransitionRun"),transitionstart:ea("Transition","TransitionStart"),transitioncancel:ea("Transition","TransitionCancel"),transitionend:ea("Transition","TransitionEnd")},Hf={},Zh={};at&&(Zh=document.createElement("div").style,"AnimationEvent"in window||(delete wa.animationend.animation,delete wa.animationiteration.animation,delete wa.animationstart.animation),"TransitionEvent"in window||delete wa.transitionend.transition);function ga(l){if(Hf[l])return Hf[l];if(!wa[l])return l;var e=wa[l],t;for(t in e)if(e.hasOwnProperty(t)&&t in Zh)return Hf[l]=e[t];return l}i(ga,"getVendorPrefixedEventName");var Kh=ga("animationend"),Jh=ga("animationiteration"),wh=ga("animationstart"),F1=ga("transitionrun"),$1=ga("transitionstart"),I1=ga("transitioncancel"),Wh=ga("transitionend"),Fh=new Map,bo="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(" ");bo.push("scrollEnd");function Ee(l,e){Fh.set(l,e),va(e,[l])}i(Ee,"registerSimpleEvent");var Ji=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)},oe=[],Wa=0,ss=0;function zc(){for(var l=Wa,e=ss=Wa=0;e<l;){var t=oe[e];oe[e++]=null;var a=oe[e];oe[e++]=null;var n=oe[e];oe[e++]=null;var u=oe[e];if(oe[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&&$h(t,n,u)}}i(zc,"finishQueueingConcurrentUpdates");function Tc(l,e,t,a){oe[Wa++]=l,oe[Wa++]=e,oe[Wa++]=t,oe[Wa++]=a,ss|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}i(Tc,"enqueueUpdate$1");function rs(l,e,t,a){return Tc(l,e,t,a),wi(l)}i(rs,"enqueueConcurrentHookUpdate");function ba(l,e){return Tc(l,null,null,e),wi(l)}i(ba,"enqueueConcurrentRenderForLane");function $h(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($h,"markUpdateLaneFromFiberToRoot");function wi(l){if(50<du)throw du=0,Vo=null,Error(b(185));for(var e=l.return;e!==null;)l=e,e=l.return;return l.tag===3?l.stateNode:null}i(wi,"getRootForUpdatedFiber");var Fa={};function P1(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(P1,"FiberNode");function Pl(l,e,t,a){return new P1(l,e,t,a)}i(Pl,"createFiberImplClass");function ds(l){return l=l.prototype,!(!l||!l.isReactComponent)}i(ds,"shouldConstruct");function lt(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(lt,"createWorkInProgress");function Ih(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(Ih,"resetWorkInProgress");function Ci(l,e,t,a,n,u){var c=0;if(a=l,typeof l=="function")ds(l)&&(c=1);else if(typeof l=="string")c=tg(l,t,xe.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case uo:return l=Pl(31,t,e,n),l.elementType=uo,l.lanes=u,l;case Xa:return ca(t.children,n,u,e);case ph:c=8,n|=24;break;case to:return l=Pl(12,t,e,n|2),l.elementType=to,l.lanes=u,l;case ao:return l=Pl(13,t,e,n),l.elementType=ao,l.lanes=u,l;case no:return l=Pl(19,t,e,n),l.elementType=no,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case $e:c=10;break l;case gh:c=9;break l;case Io:c=11;break l;case Po:c=14;break l;case zt:c=16,a=null;break l}c=29,t=Error(b(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(Ci,"createFiberFromTypeAndProps");function ca(l,e,t,a){return l=Pl(7,l,a,e),l.lanes=t,l}i(ca,"createFiberFromFragment");function Bf(l,e,t){return l=Pl(6,l,null,e),l.lanes=t,l}i(Bf,"createFiberFromText");function Ph(l){var e=Pl(18,null,null,0);return e.stateNode=l,e}i(Ph,"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 om=new WeakMap;function he(l,e){if(typeof l=="object"&&l!==null){var t=om.get(l);return t!==void 0?t:(e={value:l,source:e,stack:Ld(e)},om.set(l,e),e)}return{value:l,source:e,stack:Ld(e)}}i(he,"createCapturedValueAtFiber");var $a=[],Ia=0,Wi=null,gu=0,re=[],de=0,Qt=null,ke=1,He="";function We(l,e){$a[Ia++]=gu,$a[Ia++]=Wi,Wi=l,gu=e}i(We,"pushTreeFork");function l0(l,e,t){re[de++]=ke,re[de++]=He,re[de++]=Qt,Qt=l;var a=ke;l=He;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,ke=1<<32-ae(e)+n|t<<n|a,He=u+l}else ke=1<<u|t<<n|a,He=l}i(l0,"pushTreeId");function ms(l){l.return!==null&&(We(l,1),l0(l,1,0))}i(ms,"pushMaterializedTreeId");function hs(l){for(;l===Wi;)Wi=$a[--Ia],$a[Ia]=null,gu=$a[--Ia],$a[Ia]=null;for(;l===Qt;)Qt=re[--de],re[de]=null,He=re[--de],re[de]=null,ke=re[--de],re[de]=null}i(hs,"popTreeContext");function e0(l,e){re[de++]=ke,re[de++]=He,re[de++]=Qt,ke=e.id,He=e.overflow,Qt=l}i(e0,"restoreSuspendedTreeContext");var xl=null,nl=null,j=!1,Ht=null,ye=!1,So=Error(b(519));function Xt(l){var e=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bu(he(e,l)),So}i(Xt,"throwOnHydrationMismatch");function sm(l){var e=l.stateNode,t=l.type,a=l.memoizedProps;switch(e[Bl]=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<Au.length;t++)Y(Au[t],e);break;case"source":Y("error",e);break;case"img":case"image":case"link":Y("error",e),Y("load",e);break;case"details":Y("toggle",e);break;case"input":Y("invalid",e),Ch(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),Hh(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||Ry(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=Ie),e=!0):e=!1,e||Xt(l,!0)}i(sm,"prepareToHydrateHostInstance");function rm(l){for(xl=l.return;xl;)switch(xl.tag){case 5:case 31:case 13:ye=!1;return;case 27:case 3:ye=!0;return;default:xl=xl.return}}i(rm,"popToNextHostParent");function Ya(l){if(l!==xl)return!1;if(!j)return rm(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")||Zo(l.type,l.memoizedProps)),t=!t),t&&nl&&Xt(l),rm(l),e===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=Pm(l)}else if(e===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(317));nl=Pm(l)}else e===27?(e=nl,Kt(l.type)?(l=Wo,Wo=null,nl=l):nl=e):nl=xl?pe(l.stateNode.nextSibling):null;return!0}i(Ya,"popHydrationState");function ra(){nl=xl=null,j=!1}i(ra,"resetHydrationState");function qf(){var l=Ht;return l!==null&&(Jl===null?Jl=l:Jl.push.apply(Jl,l),Ht=null),l}i(qf,"upgradeHydrationErrorsToRecoverable");function bu(l){Ht===null?Ht=[l]:Ht.push(l)}i(bu,"queueHydrationError");var zo=qe(null),Sa=null,Pe=null;function At(l,e,t){tl(zo,e._currentValue),e._currentValue=t}i(At,"pushProvider");function et(l){l._currentValue=zo.current,Ol(zo)}i(et,"popProvider");function To(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(To,"scheduleContextWorkOnParentPath");function Ao(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),To(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(b(341));c.lanes|=t,u=c.alternate,u!==null&&(u.lanes|=t),To(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(Ao,"propagateContextChanges");function zn(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(b(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===Xi.current){if(c=n.alternate,c===null)throw Error(b(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Nu):l=[Nu])}n=n.return}l!==null&&Ao(e,l,t,a),e.flags|=262144}i(zn,"propagateParentContextChanges");function Fi(l){for(l=l.firstContext;l!==null;){if(!ue(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}i(Fi,"checkIfContextChanged");function da(l){Sa=l,Pe=null,l=l.dependencies,l!==null&&(l.firstContext=null)}i(da,"prepareToReadContext");function ql(l){return t0(Sa,l)}i(ql,"readContext");function pi(l,e){return Sa===null&&da(l),t0(l,e)}i(pi,"readContextDuringReconciliation");function t0(l,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},Pe===null){if(l===null)throw Error(b(308));Pe=e,l.dependencies={lanes:0,firstContext:e},l.flags|=524288}else Pe=Pe.next=e;return t}i(t0,"readContextForConsumer");var lp=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()})}},ep=Tl.unstable_scheduleCallback,tp=Tl.unstable_NormalPriority,gl={$$typeof:$e,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ys(){return{controller:new lp,data:new Map,refCount:0}}i(ys,"createCache");function Bu(l){l.refCount--,l.refCount===0&&ep(tp,function(){l.controller.abort()})}i(Bu,"releaseCache");var nu=null,Eo=0,rn=0,an=null;function ap(l,e){if(nu===null){var t=nu=[];Eo=0,rn=Vs(),an={status:"pending",value:void 0,then:i(function(a){t.push(a)},"then")}}return Eo++,e.then(dm,dm),e}i(ap,"entangleAsyncAction");function dm(){if(--Eo===0&&nu!==null){an!==null&&(an.status="fulfilled");var l=nu;nu=null,rn=0,an=null;for(var e=0;e<l.length;e++)(0,l[e])()}}i(dm,"pingEngtangledActionScope");function np(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(np,"chainThenableValue");var mm=C.S;C.S=function(l,e){vy=ee(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&ap(l,e),mm!==null&&mm(l,e)};var fa=qe(null);function vs(){var l=fa.current;return l!==null?l:ll.pooledCache}i(vs,"peekCacheFromPool");function ki(l,e){e===null?tl(fa,fa.current):tl(fa,e.pool)}i(ki,"pushTransition");function a0(){var l=vs();return l===null?null:{parent:gl._currentValue,pool:l}}i(a0,"getSuspendedCache");var Tn=Error(b(460)),ps=Error(b(474)),Ac=Error(b(542)),$i={then:i(function(){},"then")};function hm(l){return l=l.status,l==="fulfilled"||l==="rejected"}i(hm,"isThenableResolved");function n0(l,e,t){switch(t=l[t],t===void 0?l.push(e):t!==e&&(e.then(Ie,Ie),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,vm(l),l;default:if(typeof e.status=="string")e.then(Ie,Ie);else{if(l=ll,l!==null&&100<l.shellSuspendCounter)throw Error(b(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,vm(l),l}throw oa=e,Tn}}i(n0,"trackUsedThenable");function na(l){try{var e=l._init;return e(l._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(oa=t,Tn):t}}i(na,"resolveLazy");var oa=null;function ym(){if(oa===null)throw Error(b(459));var l=oa;return oa=null,l}i(ym,"getSuspendedThenable");function vm(l){if(l===Tn||l===Ac)throw Error(b(483))}i(vm,"checkIfUseWrappedInAsyncCatch");var nn=null,Su=0;function gi(l){var e=Su;return Su+=1,nn===null&&(nn=[]),n0(nn,l,e)}i(gi,"unwrapThenable");function Zn(l,e){e=e.props.ref,l.ref=e!==void 0?e:null}i(Zn,"coerceRef");function bi(l,e){throw e.$$typeof===Lv?Error(b(525)):(l=Object.prototype.toString.call(e),Error(b(31,l==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":l)))}i(bi,"throwOnInvalidObjectTypeImpl");function u0(l){function e(d,r){if(l){var y=d.deletions;y===null?(d.deletions=[r],d.flags|=16):y.push(r)}}i(e,"deleteChild");function t(d,r){if(!l)return null;for(;r!==null;)e(d,r),r=r.sibling;return null}i(t,"deleteRemainingChildren");function a(d){for(var r=new Map;d!==null;)d.key!==null?r.set(d.key,d):r.set(d.index,d),d=d.sibling;return r}i(a,"mapRemainingChildren");function n(d,r){return d=lt(d,r),d.index=0,d.sibling=null,d}i(n,"useFiber");function u(d,r,y){return d.index=y,l?(y=d.alternate,y!==null?(y=y.index,y<r?(d.flags|=67108866,r):y):(d.flags|=67108866,r)):(d.flags|=1048576,r)}i(u,"placeChild");function c(d){return l&&d.alternate===null&&(d.flags|=67108866),d}i(c,"placeSingleChild");function f(d,r,y,g){return r===null||r.tag!==6?(r=Bf(y,d.mode,g),r.return=d,r):(r=n(r,y),r.return=d,r)}i(f,"updateTextNode");function o(d,r,y,g){var A=y.type;return A===Xa?v(d,r,y.props.children,g,y.key):r!==null&&(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===zt&&na(A)===r.type)?(r=n(r,y.props),Zn(r,y),r.return=d,r):(r=Ci(y.type,y.key,y.props,null,d.mode,g),Zn(r,y),r.return=d,r)}i(o,"updateElement");function s(d,r,y,g){return r===null||r.tag!==4||r.stateNode.containerInfo!==y.containerInfo||r.stateNode.implementation!==y.implementation?(r=xf(y,d.mode,g),r.return=d,r):(r=n(r,y.children||[]),r.return=d,r)}i(s,"updatePortal");function v(d,r,y,g,A){return r===null||r.tag!==7?(r=ca(y,d.mode,g,A),r.return=d,r):(r=n(r,y),r.return=d,r)}i(v,"updateFragment");function p(d,r,y){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Bf(""+r,d.mode,y),r.return=d,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case oi:return y=Ci(r.type,r.key,r.props,null,d.mode,y),Zn(y,r),y.return=d,y;case Fn:return r=xf(r,d.mode,y),r.return=d,r;case zt:return r=na(r),p(d,r,y)}if($n(r)||jn(r))return r=ca(r,d.mode,y,null),r.return=d,r;if(typeof r.then=="function")return p(d,gi(r),y);if(r.$$typeof===$e)return p(d,pi(d,r),y);bi(d,r)}return null}i(p,"createChild");function m(d,r,y,g){var A=r!==null?r.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return A!==null?null:f(d,r,""+y,g);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case oi:return y.key===A?o(d,r,y,g):null;case Fn:return y.key===A?s(d,r,y,g):null;case zt:return y=na(y),m(d,r,y,g)}if($n(y)||jn(y))return A!==null?null:v(d,r,y,g,null);if(typeof y.then=="function")return m(d,r,gi(y),g);if(y.$$typeof===$e)return m(d,r,pi(d,y),g);bi(d,y)}return null}i(m,"updateSlot");function h(d,r,y,g,A){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return d=d.get(y)||null,f(r,d,""+g,A);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case oi:return d=d.get(g.key===null?y:g.key)||null,o(r,d,g,A);case Fn:return d=d.get(g.key===null?y:g.key)||null,s(r,d,g,A);case zt:return g=na(g),h(d,r,y,g,A)}if($n(g)||jn(g))return d=d.get(y)||null,v(r,d,g,A,null);if(typeof g.then=="function")return h(d,r,y,gi(g),A);if(g.$$typeof===$e)return h(d,r,y,pi(r,g),A);bi(r,g)}return null}i(h,"updateFromMap");function S(d,r,y,g){for(var A=null,x=null,N=r,M=r=0,U=null;N!==null&&M<y.length;M++){N.index>M?(U=N,N=null):U=N.sibling;var R=m(d,N,y[M],g);if(R===null){N===null&&(N=U);break}l&&N&&R.alternate===null&&e(d,N),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R,N=U}if(M===y.length)return t(d,N),j&&We(d,M),A;if(N===null){for(;M<y.length;M++)N=p(d,y[M],g),N!==null&&(r=u(N,r,M),x===null?A=N:x.sibling=N,x=N);return j&&We(d,M),A}for(N=a(N);M<y.length;M++)U=h(N,d,M,y[M],g),U!==null&&(l&&U.alternate!==null&&N.delete(U.key===null?M:U.key),r=u(U,r,M),x===null?A=U:x.sibling=U,x=U);return l&&N.forEach(function(Xl){return e(d,Xl)}),j&&We(d,M),A}i(S,"reconcileChildrenArray");function E(d,r,y,g){if(y==null)throw Error(b(151));for(var A=null,x=null,N=r,M=r=0,U=null,R=y.next();N!==null&&!R.done;M++,R=y.next()){N.index>M?(U=N,N=null):U=N.sibling;var Xl=m(d,N,R.value,g);if(Xl===null){N===null&&(N=U);break}l&&N&&Xl.alternate===null&&e(d,N),r=u(Xl,r,M),x===null?A=Xl:x.sibling=Xl,x=Xl,N=U}if(R.done)return t(d,N),j&&We(d,M),A;if(N===null){for(;!R.done;M++,R=y.next())R=p(d,R.value,g),R!==null&&(r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return j&&We(d,M),A}for(N=a(N);!R.done;M++,R=y.next())R=h(N,d,M,R.value,g),R!==null&&(l&&R.alternate!==null&&N.delete(R.key===null?M:R.key),r=u(R,r,M),x===null?A=R:x.sibling=R,x=R);return l&&N.forEach(function(Ma){return e(d,Ma)}),j&&We(d,M),A}i(E,"reconcileChildrenIterator");function O(d,r,y,g){if(typeof y=="object"&&y!==null&&y.type===Xa&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case oi:l:{for(var A=y.key;r!==null;){if(r.key===A){if(A=y.type,A===Xa){if(r.tag===7){t(d,r.sibling),g=n(r,y.props.children),g.return=d,d=g;break l}}else if(r.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===zt&&na(A)===r.type){t(d,r.sibling),g=n(r,y.props),Zn(g,y),g.return=d,d=g;break l}t(d,r);break}else e(d,r);r=r.sibling}y.type===Xa?(g=ca(y.props.children,d.mode,g,y.key),g.return=d,d=g):(g=Ci(y.type,y.key,y.props,null,d.mode,g),Zn(g,y),g.return=d,d=g)}return c(d);case Fn:l:{for(A=y.key;r!==null;){if(r.key===A)if(r.tag===4&&r.stateNode.containerInfo===y.containerInfo&&r.stateNode.implementation===y.implementation){t(d,r.sibling),g=n(r,y.children||[]),g.return=d,d=g;break l}else{t(d,r);break}else e(d,r);r=r.sibling}g=xf(y,d.mode,g),g.return=d,d=g}return c(d);case zt:return y=na(y),O(d,r,y,g)}if($n(y))return S(d,r,y,g);if(jn(y)){if(A=jn(y),typeof A!="function")throw Error(b(150));return y=A.call(y),E(d,r,y,g)}if(typeof y.then=="function")return O(d,r,gi(y),g);if(y.$$typeof===$e)return O(d,r,pi(d,y),g);bi(d,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,r!==null&&r.tag===6?(t(d,r.sibling),g=n(r,y),g.return=d,d=g):(t(d,r),g=Bf(y,d.mode,g),g.return=d,d=g),c(d)):t(d,r)}return i(O,"reconcileChildFibersImpl"),function(d,r,y,g){try{Su=0;var A=O(d,r,y,g);return nn=null,A}catch(N){if(N===Tn||N===Ac)throw N;var x=Pl(29,N,null,d.mode);return x.lanes=g,x.return=d,x}}}i(u0,"createChildReconciler");var ma=u0(!0),i0=u0(!1),Tt=!1;function gs(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}i(gs,"initializeUpdateQueue");function No(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(No,"cloneUpdateQueue");function Bt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}i(Bt,"createUpdate");function xt(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=wi(l),$h(l,null,t),e}return Tc(l,a,e,t),wi(l)}i(xt,"enqueueUpdate");function uu(l,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Eh(l,t)}}i(uu,"entangleTransitions");function Rf(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(Rf,"enqueueCapturedUpdate");var _o=!1;function iu(){if(_o){var l=an;if(l!==null)throw l}}i(iu,"suspendIfUpdateReadFromEntangledAsyncAction");function cu(l,e,t,a){_o=!1;var n=l.updateQueue;Tt=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var o=f,s=o.next;o.next=null,c===null?u=s:c.next=s,c=o;var v=l.alternate;v!==null&&(v=v.updateQueue,f=v.lastBaseUpdate,f!==c&&(f===null?v.firstBaseUpdate=s:f.next=s,v.lastBaseUpdate=o))}if(u!==null){var p=n.baseState;c=0,v=s=o=null,f=u;do{var m=f.lane&-536870913,h=m!==f.lane;if(h?(V&m)===m:(a&m)===m){m!==0&&m===rn&&(_o=!0),v!==null&&(v=v.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});l:{var S=l,E=f;m=e;var O=t;switch(E.tag){case 1:if(S=E.payload,typeof S=="function"){p=S.call(O,p,m);break l}p=S;break l;case 3:S.flags=S.flags&-65537|128;case 0:if(S=E.payload,m=typeof S=="function"?S.call(O,p,m):S,m==null)break l;p=ul({},p,m);break l;case 2:Tt=!0}}m=f.callback,m!==null&&(l.flags|=64,h&&(l.flags|=8192),h=n.callbacks,h===null?n.callbacks=[m]:h.push(m))}else h={lane:m,tag:f.tag,payload:f.payload,callback:f.callback,next:null},v===null?(s=v=h,o=p):v=v.next=h,c|=m;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;h=f,f=h.next,h.next=null,n.lastBaseUpdate=h,n.shared.pending=null}}while(!0);v===null&&(o=p),n.baseState=o,n.firstBaseUpdate=s,n.lastBaseUpdate=v,u===null&&(n.shared.lanes=0),Lt|=c,l.lanes=c,l.memoizedState=p}}i(cu,"processUpdateQueue");function c0(l,e){if(typeof l!="function")throw Error(b(191,l));l.call(e)}i(c0,"callCallback");function f0(l,e){var t=l.callbacks;if(t!==null)for(l.callbacks=null,l=0;l<t.length;l++)c0(t[l],e)}i(f0,"commitCallbacks");var dn=qe(null),Ii=qe(0);function pm(l,e){l=ct,tl(Ii,l),tl(dn,e),ct=l|e.baseLanes}i(pm,"pushHiddenContext");function Mo(){tl(Ii,ct),tl(dn,dn.current)}i(Mo,"reuseHiddenContextOnStack");function bs(){ct=Ii.current,Ol(dn),Ol(Ii)}i(bs,"popHiddenContext");var ie=qe(null),ve=null;function Et(l){var e=l.alternate;tl(dl,dl.current&1),tl(ie,l),ve===null&&(e===null||dn.current!==null||e.memoizedState!==null)&&(ve=l)}i(Et,"pushPrimaryTreeSuspenseHandler");function Oo(l){tl(dl,dl.current),tl(ie,l),ve===null&&(ve=l)}i(Oo,"pushDehydratedActivitySuspenseHandler");function o0(l){l.tag===22?(tl(dl,dl.current),tl(ie,l),ve===null&&(ve=l)):Nt(l)}i(o0,"pushOffscreenSuspenseHandler");function Nt(){tl(dl,dl.current),tl(ie,ie.current)}i(Nt,"reuseSuspenseHandlerOnStack");function Il(l){Ol(ie),ve===l&&(ve=null),Ol(dl)}i(Il,"popSuspenseHandler");var dl=qe(0);function Pi(l){for(var e=l;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||Jo(t)||wo(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(Pi,"findFirstSuspended");var nt=0,q=null,I=null,vl=null,lc=!1,un=!1,ha=!1,ec=0,zu=0,cn=null,up=0;function sl(){throw Error(b(321))}i(sl,"throwInvalidHookError");function Ss(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(Ss,"areHookInputsEqual");function zs(l,e,t,a,n,u){return nt=u,q=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,C.H=l===null||l.memoizedState===null?V0:ks,ha=!1,u=t(a,n),ha=!1,un&&(u=r0(e,t,a,n)),s0(l),u}i(zs,"renderWithHooks");function s0(l){C.H=Tu;var e=I!==null&&I.next!==null;if(nt=0,vl=I=q=null,lc=!1,zu=0,cn=null,e)throw Error(b(300));l===null||bl||(l=l.dependencies,l!==null&&Fi(l)&&(bl=!0))}i(s0,"finishRenderingHooks");function r0(l,e,t,a){q=l;var n=0;do{if(un&&(cn=null),zu=0,un=!1,25<=n)throw Error(b(301));if(n+=1,vl=I=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}C.H=Q0,u=e(t,a)}while(un);return u}i(r0,"renderWithHooksAgain");function ip(){var l=C.H,e=l.useState()[0];return e=typeof e.then=="function"?xu(e):e,l=l.useState()[0],(I!==null?I.memoizedState:null)!==l&&(q.flags|=1024),e}i(ip,"TransitionAwareHostComponent");function Ts(){var l=ec!==0;return ec=0,l}i(Ts,"checkDidRenderIdHook");function As(l,e,t){e.updateQueue=l.updateQueue,e.flags&=-2053,l.lanes&=~t}i(As,"bailoutHooks");function Es(l){if(lc){for(l=l.memoizedState;l!==null;){var e=l.queue;e!==null&&(e.pending=null),l=l.next}lc=!1}nt=0,vl=I=q=null,un=!1,zu=ec=0,cn=null}i(Es,"resetHooksOnUnwind");function Ql(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vl===null?q.memoizedState=vl=l:vl=vl.next=l,vl}i(Ql,"mountWorkInProgressHook");function ml(){if(I===null){var l=q.alternate;l=l!==null?l.memoizedState:null}else l=I.next;var e=vl===null?q.memoizedState:vl.next;if(e!==null)vl=e,I=l;else{if(l===null)throw q.alternate===null?Error(b(467)):Error(b(310));I=l,l={memoizedState:I.memoizedState,baseState:I.baseState,baseQueue:I.baseQueue,queue:I.queue,next:null},vl===null?q.memoizedState=vl=l:vl=vl.next=l}return vl}i(ml,"updateWorkInProgressHook");function Ec(){return{lastEffect:null,events:null,stores:null,memoCache:null}}i(Ec,"createFunctionComponentUpdateQueue");function xu(l){var e=zu;return zu+=1,cn===null&&(cn=[]),l=n0(cn,l,e),e=q,(vl===null?e.memoizedState:vl.next)===null&&(e=e.alternate,C.H=e===null||e.memoizedState===null?V0:ks),l}i(xu,"useThenable");function Nc(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return xu(l);if(l.$$typeof===$e)return ql(l)}throw Error(b(438,String(l)))}i(Nc,"use");function Ns(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=Ec(),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]=Zv;return e.index++,t}i(Ns,"useMemoCache");function ut(l,e){return typeof e=="function"?e(l):e}i(ut,"basicStateReducer");function Hi(l){var e=ml();return _s(e,I,l)}i(Hi,"updateReducer");function _s(l,e,t){var a=l.queue;if(a===null)throw Error(b(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,v=!1;do{var p=s.lane&-536870913;if(p!==s.lane?(V&p)===p:(nt&p)===p){var m=s.revertLane;if(m===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),p===rn&&(v=!0);else if((nt&m)===m){s=s.next,m===rn&&(v=!0);continue}else p={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=p,c=u):o=o.next=p,q.lanes|=m,Lt|=m;p=s.action,ha&&t(u,p),u=s.hasEagerState?s.eagerState:t(u,p)}else m={lane:p,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(f=o=m,c=u):o=o.next=m,q.lanes|=p,Lt|=p;s=s.next}while(s!==null&&s!==e);if(o===null?c=u:o.next=f,!ue(u,l.memoizedState)&&(bl=!0,v&&(t=an,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(_s,"updateReducerImpl");function Yf(l){var e=ml(),t=e.queue;if(t===null)throw Error(b(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)||(bl=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),t.lastRenderedState=u}return[u,a]}i(Yf,"rerenderReducer");function d0(l,e,t){var a=q,n=ml(),u=j;if(u){if(t===void 0)throw Error(b(407));t=t()}else t=e();var c=!ue((I||n).memoizedState,t);if(c&&(n.memoizedState=t,bl=!0),n=n.queue,Ms(y0.bind(null,a,n,l),[l]),n.getSnapshot!==e||c||vl!==null&&vl.memoizedState.tag&1){if(a.flags|=2048,mn(9,{destroy:void 0},h0.bind(null,a,n,t,e),null),ll===null)throw Error(b(349));u||(nt&127)!==0||m0(a,e,t)}return t}i(d0,"updateSyncExternalStore");function m0(l,e,t){l.flags|=16384,l={getSnapshot:e,value:t},e=q.updateQueue,e===null?(e=Ec(),q.updateQueue=e,e.stores=[l]):(t=e.stores,t===null?e.stores=[l]:t.push(l))}i(m0,"pushStoreConsistencyCheck");function h0(l,e,t,a){e.value=t,e.getSnapshot=a,v0(e)&&p0(l)}i(h0,"updateStoreInstance");function y0(l,e,t){return t(function(){v0(e)&&p0(l)})}i(y0,"subscribeToStore");function v0(l){var e=l.getSnapshot;l=l.value;try{var t=e();return!ue(l,t)}catch{return!0}}i(v0,"checkIfSnapshotChanged");function p0(l){var e=ba(l,2);e!==null&&wl(e,l,2)}i(p0,"forceStoreRerender");function Uo(l){var e=Ql();if(typeof l=="function"){var t=l;if(l=t(),ha){Mt(!0);try{t()}finally{Mt(!1)}}}return e.memoizedState=e.baseState=l,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ut,lastRenderedState:l},e}i(Uo,"mountStateImpl");function g0(l,e,t,a){return l.baseState=t,_s(l,I,typeof a=="function"?a:ut)}i(g0,"updateOptimisticImpl");function cp(l,e,t,a,n){if(Mc(l))throw Error(b(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")};C.T!==null?t(!0):u.isTransition=!1,a(u),t=e.pending,t===null?(u.next=e.pending=u,b0(e,u)):(u.next=t.next,e.pending=t.next=u)}}i(cp,"dispatchActionState");function b0(l,e){var t=e.action,a=e.payload,n=l.state;if(e.isTransition){var u=C.T,c={};C.T=c;try{var f=t(n,a),o=C.S;o!==null&&o(c,f),gm(l,e,f)}catch(s){Do(l,e,s)}finally{u!==null&&c.types!==null&&(u.types=c.types),C.T=u}}else try{u=t(n,a),gm(l,e,u)}catch(s){Do(l,e,s)}}i(b0,"runActionStateAction");function gm(l,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){bm(l,e,a)},function(a){return Do(l,e,a)}):bm(l,e,t)}i(gm,"handleActionReturnValue");function bm(l,e,t){e.status="fulfilled",e.value=t,S0(e),l.state=t,e=l.pending,e!==null&&(t=e.next,t===e?l.pending=null:(t=t.next,e.next=t,b0(l,t)))}i(bm,"onActionSuccess");function Do(l,e,t){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=t,S0(e),e=e.next;while(e!==a)}l.action=null}i(Do,"onActionError");function S0(l){l=l.listeners;for(var e=0;e<l.length;e++)(0,l[e])()}i(S0,"notifyActionListeners");function z0(l,e){return e}i(z0,"actionStateReducer");function Sm(l,e){if(j){var t=ll.formState;if(t!==null){l:{var a=q;if(j){if(nl){e:{for(var n=nl,u=ye;n.nodeType!==8;){if(!u){n=null;break e}if(n=pe(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){nl=pe(n.nextSibling),a=n.data==="F!";break l}}Xt(a)}a=!1}a&&(e=t[0])}}return t=Ql(),t.memoizedState=t.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:z0,lastRenderedState:e},t.queue=a,t=R0.bind(null,q,a),a.dispatch=t,a=Uo(!1),u=Cs.bind(null,q,!1,a.queue),a=Ql(),n={state:e,dispatch:null,action:l,pending:null},a.queue=n,t=cp.bind(null,q,n,u,t),n.dispatch=t,a.memoizedState=l,[e,t,!1]}i(Sm,"mountActionState");function zm(l){var e=ml();return T0(e,I,l)}i(zm,"updateActionState");function T0(l,e,t){if(e=_s(l,e,z0)[0],l=Hi(ut)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=xu(e)}catch(c){throw c===Tn?Ac:c}else a=e;e=ml();var n=e.queue,u=n.dispatch;return t!==e.memoizedState&&(q.flags|=2048,mn(9,{destroy:void 0},fp.bind(null,n,t),null)),[a,u,l]}i(T0,"updateActionStateImpl");function fp(l,e){l.action=e}i(fp,"actionStateActionEffect");function Tm(l){var e=ml(),t=I;if(t!==null)return T0(e,t,l);ml(),e=e.memoizedState,t=ml();var a=t.queue.dispatch;return t.memoizedState=l,[e,a,!1]}i(Tm,"rerenderActionState");function mn(l,e,t,a){return l={tag:l,create:t,deps:a,inst:e,next:null},e=q.updateQueue,e===null&&(e=Ec(),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(mn,"pushSimpleEffect");function A0(){return ml().memoizedState}i(A0,"updateRef");function Bi(l,e,t,a){var n=Ql();q.flags|=l,n.memoizedState=mn(1|e,{destroy:void 0},t,a===void 0?null:a)}i(Bi,"mountEffectImpl");function _c(l,e,t,a){var n=ml();a=a===void 0?null:a;var u=n.memoizedState.inst;I!==null&&a!==null&&Ss(a,I.memoizedState.deps)?n.memoizedState=mn(e,u,t,a):(q.flags|=l,n.memoizedState=mn(1|e,u,t,a))}i(_c,"updateEffectImpl");function Am(l,e){Bi(8390656,8,l,e)}i(Am,"mountEffect");function Ms(l,e){_c(2048,8,l,e)}i(Ms,"updateEffect");function op(l){q.flags|=4;var e=q.updateQueue;if(e===null)e=Ec(),q.updateQueue=e,e.events=[l];else{var t=e.events;t===null?e.events=[l]:t.push(l)}}i(op,"useEffectEventImpl");function E0(l){var e=ml().memoizedState;return op({ref:e,nextImpl:l}),function(){if((L&2)!==0)throw Error(b(440));return e.impl.apply(void 0,arguments)}}i(E0,"updateEvent");function N0(l,e){return _c(4,2,l,e)}i(N0,"updateInsertionEffect");function _0(l,e){return _c(4,4,l,e)}i(_0,"updateLayoutEffect");function M0(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(M0,"imperativeHandleEffect");function O0(l,e,t){t=t!=null?t.concat([l]):null,_c(4,4,M0.bind(null,e,l),t)}i(O0,"updateImperativeHandle");function Os(){}i(Os,"mountDebugValue");function U0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;return e!==null&&Ss(e,a[1])?a[0]:(t.memoizedState=[l,e],l)}i(U0,"updateCallback");function D0(l,e){var t=ml();e=e===void 0?null:e;var a=t.memoizedState;if(e!==null&&Ss(e,a[1]))return a[0];if(a=l(),ha){Mt(!0);try{l()}finally{Mt(!1)}}return t.memoizedState=[a,e],a}i(D0,"updateMemo");function Us(l,e,t){return t===void 0||(nt&1073741824)!==0&&(V&261930)===0?l.memoizedState=e:(l.memoizedState=t,l=gy(),q.lanes|=l,Lt|=l,t)}i(Us,"mountDeferredValueImpl");function C0(l,e,t,a){return ue(t,e)?t:dn.current!==null?(l=Us(l,t,a),ue(l,e)||(bl=!0),l):(nt&42)===0||(nt&1073741824)!==0&&(V&261930)===0?(bl=!0,l.memoizedState=t):(l=gy(),q.lanes|=l,Lt|=l,e)}i(C0,"updateDeferredValueImpl");function k0(l,e,t,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var c=C.T,f={};C.T=f,Cs(l,!1,e,t);try{var o=n(),s=C.S;if(s!==null&&s(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var v=np(o,a);fu(l,e,v,ne(l))}else fu(l,e,a,ne(l))}catch(p){fu(l,e,{then:i(function(){},"then"),status:"rejected",reason:p},ne())}finally{Z.p=u,c!==null&&f.types!==null&&(c.types=f.types),C.T=c}}i(k0,"startTransition");function sp(){}i(sp,"noop");function Co(l,e,t,a){if(l.tag!==5)throw Error(b(476));var n=H0(l).queue;k0(l,n,e,ia,t===null?sp:function(){return B0(l),t(a)})}i(Co,"startHostTransition");function H0(l){var e=l.memoizedState;if(e!==null)return e;e={memoizedState:ia,baseState:ia,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ut,lastRenderedState:ia},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ut,lastRenderedState:t},next:null},l.memoizedState=e,l=l.alternate,l!==null&&(l.memoizedState=e),e}i(H0,"ensureFormComponentIsStateful");function B0(l){var e=H0(l);e.next===null&&(e=l.alternate.memoizedState),fu(l,e.next.queue,{},ne())}i(B0,"requestFormReset$1");function Ds(){return ql(Nu)}i(Ds,"useHostTransitionStatus");function x0(){return ml().memoizedState}i(x0,"updateId");function q0(){return ml().memoizedState}i(q0,"updateRefresh");function rp(l){for(var e=l.return;e!==null;){switch(e.tag){case 24:case 3:var t=ne();l=Bt(t);var a=xt(e,l,t);a!==null&&(wl(a,e,t),uu(a,e,t)),e={cache:ys()},l.payload=e;return}e=e.return}}i(rp,"refreshCache");function dp(l,e,t){var a=ne();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},Mc(l)?Y0(e,t):(t=rs(l,e,t,a),t!==null&&(wl(t,l,a),G0(t,e,a)))}i(dp,"dispatchReducerAction");function R0(l,e,t){var a=ne();fu(l,e,t,a)}i(R0,"dispatchSetState");function fu(l,e,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(Mc(l))Y0(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 Tc(l,e,n,0),ll===null&&zc(),!1}catch{}if(t=rs(l,e,n,a),t!==null)return wl(t,l,a),G0(t,e,a),!0}return!1}i(fu,"dispatchSetStateInternal");function Cs(l,e,t,a){if(a={lane:2,revertLane:Vs(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Mc(l)){if(e)throw Error(b(479))}else e=rs(l,t,a,2),e!==null&&wl(e,l,2)}i(Cs,"dispatchOptimisticSetState");function Mc(l){var e=l.alternate;return l===q||e!==null&&e===q}i(Mc,"isRenderPhaseUpdate");function Y0(l,e){un=lc=!0;var t=l.pending;t===null?e.next=e:(e.next=t.next,t.next=e),l.pending=e}i(Y0,"enqueueRenderPhaseUpdate");function G0(l,e,t){if((t&4194048)!==0){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Eh(l,t)}}i(G0,"entangleTransitionUpdate");var Tu={readContext:ql,use:Nc,useCallback:sl,useContext:sl,useEffect:sl,useImperativeHandle:sl,useLayoutEffect:sl,useInsertionEffect:sl,useMemo:sl,useReducer:sl,useRef:sl,useState:sl,useDebugValue:sl,useDeferredValue:sl,useTransition:sl,useSyncExternalStore:sl,useId:sl,useHostTransitionStatus:sl,useFormState:sl,useActionState:sl,useOptimistic:sl,useMemoCache:sl,useCacheRefresh:sl};Tu.useEffectEvent=sl;var V0={readContext:ql,use:Nc,useCallback:i(function(l,e){return Ql().memoizedState=[l,e===void 0?null:e],l},"useCallback"),useContext:ql,useEffect:Am,useImperativeHandle:i(function(l,e,t){t=t!=null?t.concat([l]):null,Bi(4194308,4,M0.bind(null,e,l),t)},"useImperativeHandle"),useLayoutEffect:i(function(l,e){return Bi(4194308,4,l,e)},"useLayoutEffect"),useInsertionEffect:i(function(l,e){Bi(4,2,l,e)},"useInsertionEffect"),useMemo:i(function(l,e){var t=Ql();e=e===void 0?null:e;var a=l();if(ha){Mt(!0);try{l()}finally{Mt(!1)}}return t.memoizedState=[a,e],a},"useMemo"),useReducer:i(function(l,e,t){var a=Ql();if(t!==void 0){var n=t(e);if(ha){Mt(!0);try{t(e)}finally{Mt(!1)}}}else n=e;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=dp.bind(null,q,l),[a.memoizedState,l]},"useReducer"),useRef:i(function(l){var e=Ql();return l={current:l},e.memoizedState=l},"useRef"),useState:i(function(l){l=Uo(l);var e=l.queue,t=R0.bind(null,q,e);return e.dispatch=t,[l.memoizedState,t]},"useState"),useDebugValue:Os,useDeferredValue:i(function(l,e){var t=Ql();return Us(t,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Uo(!1);return l=k0.bind(null,q,l.queue,!0,!1),Ql().memoizedState=l,[!1,l]},"useTransition"),useSyncExternalStore:i(function(l,e,t){var a=q,n=Ql();if(j){if(t===void 0)throw Error(b(407));t=t()}else{if(t=e(),ll===null)throw Error(b(349));(V&127)!==0||m0(a,e,t)}n.memoizedState=t;var u={value:t,getSnapshot:e};return n.queue=u,Am(y0.bind(null,a,u,l),[l]),a.flags|=2048,mn(9,{destroy:void 0},h0.bind(null,a,u,t,e),null),t},"useSyncExternalStore"),useId:i(function(){var l=Ql(),e=ll.identifierPrefix;if(j){var t=He,a=ke;t=(a&~(1<<32-ae(a)-1)).toString(32)+t,e="_"+e+"R_"+t,t=ec++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=up++,e="_"+e+"r_"+t.toString(32)+"_";return l.memoizedState=e},"useId"),useHostTransitionStatus:Ds,useFormState:Sm,useActionState:Sm,useOptimistic:i(function(l){var e=Ql();e.memoizedState=e.baseState=l;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=Cs.bind(null,q,!0,t),t.dispatch=e,[l,e]},"useOptimistic"),useMemoCache:Ns,useCacheRefresh:i(function(){return Ql().memoizedState=rp.bind(null,q)},"useCacheRefresh"),useEffectEvent:i(function(l){var e=Ql(),t={impl:l};return e.memoizedState=t,function(){if((L&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}},"useEffectEvent")},ks={readContext:ql,use:Nc,useCallback:U0,useContext:ql,useEffect:Ms,useImperativeHandle:O0,useInsertionEffect:N0,useLayoutEffect:_0,useMemo:D0,useReducer:Hi,useRef:A0,useState:i(function(){return Hi(ut)},"useState"),useDebugValue:Os,useDeferredValue:i(function(l,e){var t=ml();return C0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Hi(ut)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),e]},"useTransition"),useSyncExternalStore:d0,useId:x0,useHostTransitionStatus:Ds,useFormState:zm,useActionState:zm,useOptimistic:i(function(l,e){var t=ml();return g0(t,I,l,e)},"useOptimistic"),useMemoCache:Ns,useCacheRefresh:q0};ks.useEffectEvent=E0;var Q0={readContext:ql,use:Nc,useCallback:U0,useContext:ql,useEffect:Ms,useImperativeHandle:O0,useInsertionEffect:N0,useLayoutEffect:_0,useMemo:D0,useReducer:Yf,useRef:A0,useState:i(function(){return Yf(ut)},"useState"),useDebugValue:Os,useDeferredValue:i(function(l,e){var t=ml();return I===null?Us(t,l,e):C0(t,I.memoizedState,l,e)},"useDeferredValue"),useTransition:i(function(){var l=Yf(ut)[0],e=ml().memoizedState;return[typeof l=="boolean"?l:xu(l),e]},"useTransition"),useSyncExternalStore:d0,useId:x0,useHostTransitionStatus:Ds,useFormState:Tm,useActionState:Tm,useOptimistic:i(function(l,e){var t=ml();return I!==null?g0(t,I,l,e):(t.baseState=l,[l,t.queue.dispatch])},"useOptimistic"),useMemoCache:Ns,useCacheRefresh:q0};Q0.useEffectEvent=E0;function Gf(l,e,t,a){e=l.memoizedState,t=t(a,e),t=t==null?e:ul({},e,t),l.memoizedState=t,l.lanes===0&&(l.updateQueue.baseState=t)}i(Gf,"applyDerivedStateFromProps");var ko={enqueueSetState:i(function(l,e,t){l=l._reactInternals;var a=ne(),n=Bt(a);n.payload=e,t!=null&&(n.callback=t),e=xt(l,n,a),e!==null&&(wl(e,l,a),uu(e,l,a))},"enqueueSetState"),enqueueReplaceState:i(function(l,e,t){l=l._reactInternals;var a=ne(),n=Bt(a);n.tag=1,n.payload=e,t!=null&&(n.callback=t),e=xt(l,n,a),e!==null&&(wl(e,l,a),uu(e,l,a))},"enqueueReplaceState"),enqueueForceUpdate:i(function(l,e){l=l._reactInternals;var t=ne(),a=Bt(t);a.tag=2,e!=null&&(a.callback=e),e=xt(l,a,t),e!==null&&(wl(e,l,t),uu(e,l,t))},"enqueueForceUpdate")};function Em(l,e,t,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):e.prototype&&e.prototype.isPureReactComponent?!pu(t,a)||!pu(n,u):!0}i(Em,"checkShouldComponentUpdate");function Nm(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&&ko.enqueueReplaceState(e,e.state,null)}i(Nm,"callComponentWillReceiveProps");function ya(l,e){var t=e;if("ref"in e){t={};for(var a in e)a!=="ref"&&(t[a]=e[a])}if(l=l.defaultProps){t===e&&(t=ul({},t));for(var n in l)t[n]===void 0&&(t[n]=l[n])}return t}i(ya,"resolveClassComponentProps");function X0(l){Ji(l)}i(X0,"defaultOnUncaughtError");function j0(l){console.error(l)}i(j0,"defaultOnCaughtError");function L0(l){Ji(l)}i(L0,"defaultOnRecoverableError");function tc(l,e){try{var t=l.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}i(tc,"logUncaughtError");function _m(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(_m,"logCaughtError");function Ho(l,e,t){return t=Bt(t),t.tag=3,t.payload={element:null},t.callback=function(){tc(l,e)},t}i(Ho,"createRootErrorUpdate");function Z0(l){return l=Bt(l),l.tag=3,l}i(Z0,"createClassErrorUpdate");function K0(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(){_m(e,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){_m(e,t,a),typeof n!="function"&&(qt===null?qt=new Set([this]):qt.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}i(K0,"initializeClassErrorUpdate");function mp(l,e,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=t.alternate,e!==null&&zn(e,t,n,!0),t=ie.current,t!==null){switch(t.tag){case 31:case 13:return ve===null?cc():t.alternate===null&&rl===0&&(rl=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===$i?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([a]):e.add(a),Ff(l,a,n)),!1;case 22:return t.flags|=65536,a===$i?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)),Ff(l,a,n)),!1}throw Error(b(435,t.tag))}return Ff(l,a,n),cc(),!1}if(j)return e=ie.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==So&&(l=Error(b(422),{cause:a}),bu(he(l,t)))):(a!==So&&(e=Error(b(423),{cause:a}),bu(he(e,t))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=he(a,t),n=Ho(l.stateNode,a,n),Rf(l,n),rl!==4&&(rl=2)),!1;var u=Error(b(520),{cause:a});if(u=he(u,t),ru===null?ru=[u]:ru.push(u),rl!==4&&(rl=2),e===null)return!0;a=he(a,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,l=n&-n,t.lanes|=l,l=Ho(t.stateNode,a,l),Rf(t,l),!1;case 1:if(e=t.type,u=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(qt===null||!qt.has(u))))return t.flags|=65536,n&=-n,t.lanes|=n,n=Z0(n),K0(n,l,t,a),Rf(t,n),!1}t=t.return}while(t!==null);return!1}i(mp,"throwException");var Hs=Error(b(461)),bl=!1;function Hl(l,e,t,a){e.child=l===null?i0(e,null,t,a):ma(e,l.child,t,a)}i(Hl,"reconcileChildren");function Mm(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 da(e),a=zs(l,e,t,c,u,n),f=Ts(),l!==null&&!bl?(As(l,e,n),it(l,e,n)):(j&&f&&ms(e),e.flags|=1,Hl(l,e,a,n),e.child)}i(Mm,"updateForwardRef");function Om(l,e,t,a,n){if(l===null){var u=t.type;return typeof u=="function"&&!ds(u)&&u.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=u,J0(l,e,u,a,n)):(l=Ci(t.type,null,a,e,e.mode,n),l.ref=e.ref,l.return=e,e.child=l)}if(u=l.child,!Bs(l,n)){var c=u.memoizedProps;if(t=t.compare,t=t!==null?t:pu,t(c,a)&&l.ref===e.ref)return it(l,e,n)}return e.flags|=1,l=lt(u,a),l.ref=e.ref,l.return=e,e.child=l}i(Om,"updateMemoComponent");function J0(l,e,t,a,n){if(l!==null){var u=l.memoizedProps;if(pu(u,a)&&l.ref===e.ref)if(bl=!1,e.pendingProps=a=u,Bs(l,n))(l.flags&131072)!==0&&(bl=!0);else return e.lanes=l.lanes,it(l,e,n)}return Bo(l,e,t,a,n)}i(J0,"updateSimpleMemoComponent");function w0(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 Um(l,e,u,t,a)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},l!==null&&ki(e,u!==null?u.cachePool:null),u!==null?pm(e,u):Mo(),o0(e);else return a=e.lanes=536870912,Um(l,e,u!==null?u.baseLanes|t:t,t,a)}else u!==null?(ki(e,u.cachePool),pm(e,u),Nt(e),e.memoizedState=null):(l!==null&&ki(e,null),Mo(),Nt(e));return Hl(l,e,n,t),e.child}i(w0,"updateOffscreenComponent");function Pn(l,e){return l!==null&&l.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}i(Pn,"bailoutOffscreenComponent");function Um(l,e,t,a,n){var u=vs();return u=u===null?null:{parent:gl._currentValue,pool:u},e.memoizedState={baseLanes:t,cachePool:u},l!==null&&ki(e,null),Mo(),o0(e),l!==null&&zn(l,e,a,!0),e.childLanes=n,null}i(Um,"deferHiddenOffscreenComponent");function xi(l,e){return e=ac({mode:e.mode,children:e.children},l.mode),e.ref=l.ref,l.child=e,e.return=l,e}i(xi,"mountActivityChildren");function Dm(l,e,t){return ma(e,l.child,null,t),l=xi(e,e.pendingProps),l.flags|=2,Il(e),e.memoizedState=null,l}i(Dm,"retryActivityComponentWithoutHydrating");function hp(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=xi(e,a),e.lanes=536870912,Pn(null,l);if(Oo(e),(l=nl)?(l=Vy(l,ye),l=l!==null&&l.data==="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Qt!==null?{id:ke,overflow:He}:null,retryLane:536870912,hydrationErrors:null},t=Ph(l),t.return=e,e.child=t,xl=e,nl=null)):l=null,l===null)throw Xt(e);return e.lanes=536870912,null}return xi(e,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Oo(e),n)if(e.flags&256)e.flags&=-257,e=Dm(l,e,t);else if(e.memoizedState!==null)e.child=l.child,e.flags|=128,e=null;else throw Error(b(558));else if(bl||zn(l,e,t,!1),n=(t&l.childLanes)!==0,bl||n){if(a=ll,a!==null&&(c=Nh(a,t),c!==0&&c!==u.retryLane))throw u.retryLane=c,ba(l,c),wl(a,l,c),Hs;cc(),e=Dm(l,e,t)}else l=u.treeContext,nl=pe(c.nextSibling),xl=e,j=!0,Ht=null,ye=!1,l!==null&&e0(e,l),e=xi(e,a),e.flags|=4096;return e}return l=lt(l.child,{mode:a.mode,children:a.children}),l.ref=e.ref,e.child=l,l.return=e,l}i(hp,"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(b(284));(l===null||l.ref!==t)&&(e.flags|=4194816)}}i(qi,"markRef");function Bo(l,e,t,a,n){return da(e),t=zs(l,e,t,a,void 0,n),a=Ts(),l!==null&&!bl?(As(l,e,n),it(l,e,n)):(j&&a&&ms(e),e.flags|=1,Hl(l,e,t,n),e.child)}i(Bo,"updateFunctionComponent");function Cm(l,e,t,a,n,u){return da(e),e.updateQueue=null,t=r0(e,a,t,n),s0(l),a=Ts(),l!==null&&!bl?(As(l,e,u),it(l,e,u)):(j&&a&&ms(e),e.flags|=1,Hl(l,e,t,u),e.child)}i(Cm,"replayFunctionComponent");function km(l,e,t,a,n){if(da(e),e.stateNode===null){var u=Fa,c=t.contextType;typeof c=="object"&&c!==null&&(u=ql(c)),u=new t(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=ko,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},gs(e),c=t.contextType,u.context=typeof c=="object"&&c!==null?ql(c):Fa,u.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(Gf(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&&ko.enqueueReplaceState(u,u.state,null),cu(e,a,u,n),iu(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(l===null){u=e.stateNode;var f=e.memoizedProps,o=ya(t,f);u.props=o;var s=u.context,v=t.contextType;c=Fa,typeof v=="object"&&v!==null&&(c=ql(v));var p=t.getDerivedStateFromProps;v=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,v||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||s!==c)&&Nm(e,u,a,c),Tt=!1;var m=e.memoizedState;u.state=m,cu(e,a,u,n),iu(),s=e.memoizedState,f||m!==s||Tt?(typeof p=="function"&&(Gf(e,t,p,a),s=e.memoizedState),(o=Tt||Em(e,t,o,a,m,s,c))?(v||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(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,No(l,e),c=e.memoizedProps,v=ya(t,c),u.props=v,p=e.pendingProps,m=u.context,s=t.contextType,o=Fa,typeof s=="object"&&s!==null&&(o=ql(s)),f=t.getDerivedStateFromProps,(s=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==p||m!==o)&&Nm(e,u,a,o),Tt=!1,m=e.memoizedState,u.state=m,cu(e,a,u,n),iu();var h=e.memoizedState;c!==p||m!==h||Tt||l!==null&&l.dependencies!==null&&Fi(l.dependencies)?(typeof f=="function"&&(Gf(e,t,f,a),h=e.memoizedState),(v=Tt||Em(e,t,v,a,m,h,o)||l!==null&&l.dependencies!==null&&Fi(l.dependencies))?(s||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,h,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,h,o)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=h),u.props=a,u.state=h,u.context=o,a=v):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&m===l.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&m===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=ma(e,l.child,null,n),e.child=ma(e,null,t,n)):Hl(l,e,t,n),e.memoizedState=u.state,l=e.child):l=it(l,e,n),l}i(km,"updateClassComponent");function Hm(l,e,t,a){return ra(),e.flags|=256,Hl(l,e,t,a),e.child}i(Hm,"mountHostRootWithoutHydrating");var Vf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qf(l){return{baseLanes:l,cachePool:a0()}}i(Qf,"mountSuspenseOffscreenState");function Xf(l,e,t){return l=l!==null?l.childLanes&~t:0,e&&(l|=le),l}i(Xf,"getRemainingWorkInPrimaryTree");function W0(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?Et(e):Nt(e),(l=nl)?(l=Vy(l,ye),l=l!==null&&l.data!=="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:Qt!==null?{id:ke,overflow:He}:null,retryLane:536870912,hydrationErrors:null},t=Ph(l),t.return=e,e.child=t,xl=e,nl=null)):l=null,l===null)throw Xt(e);return wo(l)?e.lanes=32:e.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Nt(e),n=e.mode,f=ac({mode:"hidden",children:f},n),a=ca(a,n,t,null),f.return=e,a.return=e,f.sibling=a,e.child=f,a=e.child,a.memoizedState=Qf(t),a.childLanes=Xf(l,c,t),e.memoizedState=Vf,Pn(null,a)):(Et(e),xo(e,f))}var o=l.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)e.flags&256?(Et(e),e.flags&=-257,e=jf(l,e,t)):e.memoizedState!==null?(Nt(e),e.child=l.child,e.flags|=128,e=null):(Nt(e),f=a.fallback,n=e.mode,a=ac({mode:"visible",children:a.children},n),f=ca(f,n,t,null),f.flags|=2,a.return=e,f.return=e,a.sibling=f,e.child=a,ma(e,l.child,null,t),a=e.child,a.memoizedState=Qf(t),a.childLanes=Xf(l,c,t),e.memoizedState=Vf,e=Pn(null,a));else if(Et(e),wo(f)){if(c=f.nextSibling&&f.nextSibling.dataset,c)var s=c.dgst;c=s,a=Error(b(419)),a.stack="",a.digest=c,bu({value:a,source:null,stack:null}),e=jf(l,e,t)}else if(bl||zn(l,e,t,!1),c=(t&l.childLanes)!==0,bl||c){if(c=ll,c!==null&&(a=Nh(c,t),a!==0&&a!==o.retryLane))throw o.retryLane=a,ba(l,a),wl(c,l,a),Hs;Jo(f)||cc(),e=jf(l,e,t)}else Jo(f)?(e.flags|=192,e.child=l.child,e=null):(l=o.treeContext,nl=pe(f.nextSibling),xl=e,j=!0,Ht=null,ye=!1,l!==null&&e0(e,l),e=xo(e,a.children),e.flags|=4096);return e}return n?(Nt(e),f=a.fallback,n=e.mode,o=l.child,s=o.sibling,a=lt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,s!==null?f=lt(s,f):(f=ca(f,n,t,null),f.flags|=2),f.return=e,a.return=e,a.sibling=f,e.child=a,Pn(null,a),a=e.child,f=l.child.memoizedState,f===null?f=Qf(t):(n=f.cachePool,n!==null?(o=gl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=a0(),f={baseLanes:f.baseLanes|t,cachePool:n}),a.memoizedState=f,a.childLanes=Xf(l,c,t),e.memoizedState=Vf,Pn(l.child,a)):(Et(e),t=l.child,l=t.sibling,t=lt(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(W0,"updateSuspenseComponent");function xo(l,e){return e=ac({mode:"visible",children:e},l.mode),e.return=l,l.child=e}i(xo,"mountSuspensePrimaryChildren");function ac(l,e){return l=Pl(22,l,null,e),l.lanes=0,l}i(ac,"mountWorkInProgressOffscreenFiber");function jf(l,e,t){return ma(e,l.child,null,t),l=xo(e,e.pendingProps.children),l.flags|=2,e.memoizedState=null,l}i(jf,"retrySuspenseComponentWithoutHydrating");function Bm(l,e,t){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e),To(l.return,e,t)}i(Bm,"scheduleSuspenseWorkOnFiber");function Lf(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(Lf,"initSuspenseListRenderState");function F0(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?gu:0,!f&&l!==null&&(l.flags&128)!==0)l:for(l=e.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Bm(l,t,e);else if(l.tag===19)Bm(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&&Pi(l)===null&&(n=t),t=t.sibling;t=n,t===null?(n=e.child,e.child=null):(n=t.sibling,t.sibling=null),Lf(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&&Pi(l)===null){e.child=n;break}l=n.sibling,n.sibling=t,t=n,n=l}Lf(e,!0,t,null,u,a);break;case"together":Lf(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}i(F0,"updateSuspenseListComponent");function it(l,e,t){if(l!==null&&(e.dependencies=l.dependencies),Lt|=e.lanes,(t&e.childLanes)===0)if(l!==null){if(zn(l,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(l!==null&&e.child!==l.child)throw Error(b(153));if(e.child!==null){for(l=e.child,t=lt(l,l.pendingProps),e.child=t,t.return=e;l.sibling!==null;)l=l.sibling,t=t.sibling=lt(l,l.pendingProps),t.return=e;t.sibling=null}return e.child}i(it,"bailoutOnAlreadyFinishedWork");function Bs(l,e){return(l.lanes&e)!==0?!0:(l=l.dependencies,!!(l!==null&&Fi(l)))}i(Bs,"checkScheduledUpdateOrContext");function yp(l,e,t){switch(e.tag){case 3:ji(e,e.stateNode.containerInfo),At(e,gl,l.memoizedState.cache),ra();break;case 27:case 5:fo(e);break;case 4:ji(e,e.stateNode.containerInfo);break;case 10:At(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Oo(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Et(e),e.flags|=128,null):(t&e.child.childLanes)!==0?W0(l,e,t):(Et(e),l=it(l,e,t),l!==null?l.sibling:null);Et(e);break;case 19:var n=(l.flags&128)!==0;if(a=(t&e.childLanes)!==0,a||(zn(l,e,t,!1),a=(t&e.childLanes)!==0),n){if(a)return F0(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,w0(l,e,t,e.pendingProps);case 24:At(e,gl,l.memoizedState.cache)}return it(l,e,t)}i(yp,"attemptEarlyBailoutIfNoScheduledUpdate");function $0(l,e,t){if(l!==null)if(l.memoizedProps!==e.pendingProps)bl=!0;else{if(!Bs(l,t)&&(e.flags&128)===0)return bl=!1,yp(l,e,t);bl=(l.flags&131072)!==0}else bl=!1,j&&(e.flags&1048576)!==0&&l0(e,gu,e.index);switch(e.lanes=0,e.tag){case 16:l:{var a=e.pendingProps;if(l=na(e.elementType),e.type=l,typeof l=="function")ds(l)?(a=ya(l,a),e.tag=1,e=km(null,e,l,a,t)):(e.tag=0,e=Bo(null,e,l,a,t));else{if(l!=null){var n=l.$$typeof;if(n===Io){e.tag=11,e=Mm(null,e,l,a,t);break l}else if(n===Po){e.tag=14,e=Om(null,e,l,a,t);break l}}throw e=io(l)||l,Error(b(306,e,""))}}return e;case 0:return Bo(l,e,e.type,e.pendingProps,t);case 1:return a=e.type,n=ya(a,e.pendingProps),km(l,e,a,n,t);case 3:l:{if(ji(e,e.stateNode.containerInfo),l===null)throw Error(b(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,No(l,e),cu(e,a,null,t);var c=e.memoizedState;if(a=c.cache,At(e,gl,a),a!==u.cache&&Ao(e,[gl],t,!0),iu(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Hm(l,e,a,t);break l}else if(a!==n){n=he(Error(b(424)),e),bu(n),e=Hm(l,e,a,t);break l}else for(l=e.stateNode.containerInfo,l.nodeType===9?l=l.body:l=l.nodeName==="HTML"?l.ownerDocument.body:l,nl=pe(l.firstChild),xl=e,j=!0,Ht=null,ye=!0,t=i0(e,null,a,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(ra(),a===n){e=it(l,e,t);break l}Hl(l,e,a,t)}e=e.child}return e;case 26:return qi(l,e),l===null?(t=th(e.type,null,e.pendingProps,null))?e.memoizedState=t:j||(t=e.type,l=e.pendingProps,a=rc(kt.current).createElement(t),a[Bl]=e,a[Wl]=l,Rl(a,t,l),Ml(a),e.stateNode=a):e.memoizedState=th(e.type,l.memoizedProps,e.pendingProps,l.memoizedState),null;case 27:return fo(e),l===null&&j&&(a=e.stateNode=Qy(e.type,e.pendingProps,kt.current),xl=e,ye=!0,n=nl,Kt(e.type)?(Wo=n,nl=pe(a.firstChild)):nl=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=nl)&&(a=jp(a,e.type,e.pendingProps,ye),a!==null?(e.stateNode=a,xl=e,nl=pe(a.firstChild),ye=!1,n=!0):n=!1),n||Xt(e)),fo(e),n=e.type,u=e.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,Zo(n,u)?a=null:c!==null&&Zo(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=zs(l,e,ip,null,null,t),Nu._currentValue=n),qi(l,e),Hl(l,e,a,t),e.child;case 6:return l===null&&j&&((l=t=nl)&&(t=Lp(t,e.pendingProps,ye),t!==null?(e.stateNode=t,xl=e,nl=null,l=!0):l=!1),l||Xt(e)),null;case 13:return W0(l,e,t);case 4:return ji(e,e.stateNode.containerInfo),a=e.pendingProps,l===null?e.child=ma(e,null,a,t):Hl(l,e,a,t),e.child;case 11:return Mm(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,At(e,e.type,a.value),Hl(l,e,a.children,t),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,da(e),n=ql(n),a=a(n),e.flags|=1,Hl(l,e,a,t),e.child;case 14:return Om(l,e,e.type,e.pendingProps,t);case 15:return J0(l,e,e.type,e.pendingProps,t);case 19:return F0(l,e,t);case 31:return hp(l,e,t);case 22:return w0(l,e,t,e.pendingProps);case 24:return da(e),a=ql(gl),l===null?(n=vs(),n===null&&(n=ll,u=ys(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=t),n=u),e.memoizedState={parent:a,cache:n},gs(e),At(e,gl,n)):((l.lanes&t)!==0&&(No(l,e),cu(e,null,null,t),iu()),n=l.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),At(e,gl,a)):(a=u.cache,At(e,gl,a),a!==n.cache&&Ao(e,[gl],t,!0))),Hl(l,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(b(156,e.tag))}i($0,"beginWork");function Ze(l){l.flags|=4}i(Ze,"markUpdate");function Zf(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(zy())l.flags|=8192;else throw oa=$i,ps}else l.flags&=-16777217}i(Zf,"preloadInstanceAndSuspendIfNeeded");function xm(l,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Ly(e))if(zy())l.flags|=8192;else throw oa=$i,ps}i(xm,"preloadResourceAndSuspendIfNeeded");function Si(l,e){e!==null&&(l.flags|=4),l.flags&16384&&(e=l.tag!==22?Th():536870912,l.lanes|=e,hn|=e)}i(Si,"scheduleRetryEffect");function Kn(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(Kn,"cutOffTailIfNeeded");function al(l){var e=l.alternate!==null&&l.alternate.child===l.child,t=0,a=0;if(e)for(var n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=t,e}i(al,"bubbleProperties");function vp(l,e,t){var a=e.pendingProps;switch(hs(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return al(e),null;case 1:return al(e),null;case 3:return t=e.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),et(gl),fn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(l===null||l.child===null)&&(Ya(e)?Ze(e):l===null||l.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,qf())),al(e),null;case 26:var n=e.type,u=e.memoizedState;return l===null?(Ze(e),u!==null?(al(e),xm(e,u)):(al(e),Zf(e,n,null,a,t))):u?u!==l.memoizedState?(Ze(e),al(e),xm(e,u)):(al(e),e.flags&=-16777217):(l=l.memoizedProps,l!==a&&Ze(e),al(e),Zf(e,n,l,a,t)),null;case 27:if(Li(e),t=kt.current,n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Ze(e);else{if(!a){if(e.stateNode===null)throw Error(b(166));return al(e),null}l=xe.current,Ya(e)?sm(e,l):(l=Qy(n,a,t),e.stateNode=l,Ze(e))}return al(e),null;case 5:if(Li(e),n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Ze(e);else{if(!a){if(e.stateNode===null)throw Error(b(166));return al(e),null}if(u=xe.current,Ya(e))sm(e,u);else{var c=rc(kt.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Bl]=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(Rl(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Ze(e)}}return al(e),Zf(e,e.type,l===null?null:l.memoizedProps,e.pendingProps,t),null;case 6:if(l&&e.stateNode!=null)l.memoizedProps!==a&&Ze(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(b(166));if(l=kt.current,Ya(e)){if(l=e.stateNode,t=e.memoizedProps,a=null,n=xl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Bl]=e,l=!!(l.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||Ry(l.nodeValue,t)),l||Xt(e,!0)}else l=rc(l).createTextNode(a),l[Bl]=e,e.stateNode=l}return al(e),null;case 31:if(t=e.memoizedState,l===null||l.memoizedState!==null){if(a=Ya(e),t!==null){if(l===null){if(!a)throw Error(b(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(b(557));l[Bl]=e}else ra(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),l=!1}else t=qf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=t),l=!0;if(!l)return e.flags&256?(Il(e),e):(Il(e),null);if((e.flags&128)!==0)throw Error(b(558))}return al(e),null;case 13:if(a=e.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Ya(e),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(b(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(b(317));n[Bl]=e}else ra(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;al(e),n=!1}else n=qf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(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),Si(e,e.updateQueue),al(e),null);case 4:return fn(),l===null&&Qs(e.stateNode.containerInfo),al(e),null;case 10:return et(e.type),al(e),null;case 19:if(Ol(dl),a=e.memoizedState,a===null)return al(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Kn(a,!1);else{if(rl!==0||l!==null&&(l.flags&128)!==0)for(l=e.child;l!==null;){if(u=Pi(l),u!==null){for(e.flags|=128,Kn(a,!1),l=u.updateQueue,e.updateQueue=l,Si(e,l),e.subtreeFlags=0,l=t,t=e.child;t!==null;)Ih(t,l),t=t.sibling;return tl(dl,dl.current&1|2),j&&We(e,a.treeForkCount),e.child}l=l.sibling}a.tail!==null&&ee()>uc&&(e.flags|=128,n=!0,Kn(a,!1),e.lanes=4194304)}else{if(!n)if(l=Pi(u),l!==null){if(e.flags|=128,n=!0,l=l.updateQueue,e.updateQueue=l,Si(e,l),Kn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!j)return al(e),null}else 2*ee()-a.renderingStartTime>uc&&t!==536870912&&(e.flags|=128,n=!0,Kn(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(l=a.last,l!==null?l.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=ee(),l.sibling=null,t=dl.current,tl(dl,n?t&1|2:t&1),j&&We(e,a.treeForkCount),l):(al(e),null);case 22:case 23:return Il(e),bs(),a=e.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(t&536870912)!==0&&(e.flags&128)===0&&(al(e),e.subtreeFlags&6&&(e.flags|=8192)):al(e),t=e.updateQueue,t!==null&&Si(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&&Ol(fa),null;case 24:return t=null,l!==null&&(t=l.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),et(gl),al(e),null;case 25:return null;case 30:return null}throw Error(b(156,e.tag))}i(vp,"completeWork");function pp(l,e){switch(hs(e),e.tag){case 1:return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 3:return et(gl),fn(),l=e.flags,(l&65536)!==0&&(l&128)===0?(e.flags=l&-65537|128,e):null;case 26:case 27:case 5:return Li(e),null;case 31:if(e.memoizedState!==null){if(Il(e),e.alternate===null)throw Error(b(340));ra()}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(b(340));ra()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 19:return Ol(dl),null;case 4:return fn(),null;case 10:return et(e.type),null;case 22:case 23:return Il(e),bs(),l!==null&&Ol(fa),l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 24:return et(gl),null;case 25:return null;default:return null}}i(pp,"unwindWork");function I0(l,e){switch(hs(e),e.tag){case 3:et(gl),fn();break;case 26:case 27:case 5:Li(e);break;case 4:fn();break;case 31:e.memoizedState!==null&&Il(e);break;case 13:Il(e);break;case 19:Ol(dl);break;case 10:et(e.type);break;case 22:case 23:Il(e),bs(),l!==null&&Ol(fa);break;case 24:et(gl)}}i(I0,"unwindInterruptedWork");function qu(l,e){try{var t=e.updateQueue,a=t!==null?t.lastEffect:null;if(a!==null){var n=a.next;t=n;do{if((t.tag&l)===l){a=void 0;var u=t.create,c=t.inst;a=u(),c.destroy=a}t=t.next}while(t!==n)}}catch(f){W(e,e.return,f)}}i(qu,"commitHookEffectListMount");function jt(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(v){W(n,o,v)}}}a=a.next}while(a!==u)}}catch(v){W(e,e.return,v)}}i(jt,"commitHookEffectListUnmount");function P0(l){var e=l.updateQueue;if(e!==null){var t=l.stateNode;try{f0(e,t)}catch(a){W(l,l.return,a)}}}i(P0,"commitClassCallbacks");function ly(l,e,t){t.props=ya(l.type,l.memoizedProps),t.state=l.memoizedState;try{t.componentWillUnmount()}catch(a){W(l,e,a)}}i(ly,"safelyCallComponentWillUnmount");function ou(l,e){try{var t=l.ref;if(t!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof t=="function"?l.refCleanup=t(a):t.current=a}}catch(n){W(l,e,n)}}i(ou,"safelyAttachRef");function Be(l,e){var t=l.ref,a=l.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){W(l,e,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(n){W(l,e,n)}else t.current=null}i(Be,"safelyDetachRef");function ey(l){var e=l.type,t=l.memoizedProps,a=l.stateNode;try{l:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break l;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){W(l,l.return,n)}}i(ey,"commitHostMount");function Kf(l,e,t){try{var a=l.stateNode;Rp(a,l.type,t,e),a[Wl]=e}catch(n){W(l,l.return,n)}}i(Kf,"commitHostUpdate");function ty(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Kt(l.type)||l.tag===4}i(ty,"isHostParent");function Jf(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ty(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Kt(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}i(Jf,"getHostSibling");function qo(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(l,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(l),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=Ie));else if(a!==4&&(a===27&&Kt(l.type)&&(t=l.stateNode,e=null),l=l.child,l!==null))for(qo(l,e,t),l=l.sibling;l!==null;)qo(l,e,t),l=l.sibling}i(qo,"insertOrAppendPlacementNodeIntoContainer");function nc(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?t.insertBefore(l,e):t.appendChild(l);else if(a!==4&&(a===27&&Kt(l.type)&&(t=l.stateNode),l=l.child,l!==null))for(nc(l,e,t),l=l.sibling;l!==null;)nc(l,e,t),l=l.sibling}i(nc,"insertOrAppendPlacementNode");function ay(l){var e=l.stateNode,t=l.memoizedProps;try{for(var a=l.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Rl(e,a,t),e[Bl]=l,e[Wl]=t}catch(u){W(l,l.return,u)}}i(ay,"commitHostSingletonAcquisition");var Fe=!1,pl=!1,wf=!1,qm=typeof WeakSet=="function"?WeakSet:Set,_l=null;function gp(l,e){if(l=l.containerInfo,jo=yc,l=Lh(l),os(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,v=0,p=l,m=null;e:for(;;){for(var h;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),(h=p.firstChild)!==null;)m=p,p=h;for(;;){if(p===l)break e;if(m===t&&++s===n&&(f=c),m===u&&++v===a&&(o=c),(h=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=h}t=f===-1||o===-1?null:{start:f,end:o}}else t=null}t=t||{start:0,end:0}}else t=null;for(Lo={focusedElem:l,selectionRange:t},yc=!1,_l=e;_l!==null;)if(e=_l,l=e.child,(e.subtreeFlags&1028)!==0&&l!==null)l.return=e,_l=l;else for(;_l!==null;){switch(e=_l,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 S=ya(t.type,n);l=a.getSnapshotBeforeUpdate(S,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(E){W(t,t.return,E)}}break;case 3:if((l&1024)!==0){if(l=e.stateNode.containerInfo,t=l.nodeType,t===9)Ko(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Ko(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(b(163))}if(l=e.sibling,l!==null){l.return=e.return,_l=l;break}_l=e.return}}i(gp,"commitBeforeMutationEffects");function ny(l,e,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Je(l,t),a&4&&qu(5,t);break;case 1:if(Je(l,t),a&4)if(l=t.stateNode,e===null)try{l.componentDidMount()}catch(c){W(t,t.return,c)}else{var n=ya(t.type,e.memoizedProps);e=e.memoizedState;try{l.componentDidUpdate(n,e,l.__reactInternalSnapshotBeforeUpdate)}catch(c){W(t,t.return,c)}}a&64&&P0(t),a&512&&ou(t,t.return);break;case 3:if(Je(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{f0(l,e)}catch(c){W(t,t.return,c)}}break;case 27:e===null&&a&4&&ay(t);case 26:case 5:Je(l,t),e===null&&a&4&&ey(t),a&512&&ou(t,t.return);break;case 12:Je(l,t);break;case 31:Je(l,t),a&4&&cy(l,t);break;case 13:Je(l,t),a&4&&fy(l,t),a&64&&(l=t.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(t=Mp.bind(null,t),Zp(l,t))));break;case 22:if(a=t.memoizedState!==null||Fe,!a){e=e!==null&&e.memoizedState!==null||pl,n=Fe;var u=pl;Fe=a,(pl=e)&&!u?we(l,t,(t.subtreeFlags&8772)!==0):Je(l,t),Fe=n,pl=u}break;case 30:break;default:Je(l,t)}}i(ny,"commitLayoutEffectOnFiber");function uy(l){var e=l.alternate;e!==null&&(l.alternate=null,uy(e)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(e=l.stateNode,e!==null&&as(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(uy,"detachFiberAfterEffects");var ol=null,Kl=!1;function Ke(l,e,t){for(t=t.child;t!==null;)iy(l,e,t),t=t.sibling}i(Ke,"recursivelyTraverseDeletionEffects");function iy(l,e,t){if(te&&typeof te.onCommitFiberUnmount=="function")try{te.onCommitFiberUnmount(Uu,t)}catch{}switch(t.tag){case 26:pl||Be(t,e),Ke(l,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:pl||Be(t,e);var a=ol,n=Kl;Kt(t.type)&&(ol=t.stateNode,Kl=!1),Ke(l,e,t),mu(t.stateNode),ol=a,Kl=n;break;case 5:pl||Be(t,e);case 6:if(a=ol,n=Kl,ol=null,Ke(l,e,t),ol=a,Kl=n,ol!==null)if(Kl)try{(ol.nodeType===9?ol.body:ol.nodeName==="HTML"?ol.ownerDocument.body:ol).removeChild(t.stateNode)}catch(u){W(t,e,u)}else try{ol.removeChild(t.stateNode)}catch(u){W(t,e,u)}break;case 18:ol!==null&&(Kl?(l=ol,$m(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.stateNode),gn(l)):$m(ol,t.stateNode));break;case 4:a=ol,n=Kl,ol=t.stateNode.containerInfo,Kl=!0,Ke(l,e,t),ol=a,Kl=n;break;case 0:case 11:case 14:case 15:jt(2,t,e),pl||jt(4,t,e),Ke(l,e,t);break;case 1:pl||(Be(t,e),a=t.stateNode,typeof a.componentWillUnmount=="function"&&ly(t,e,a)),Ke(l,e,t);break;case 21:Ke(l,e,t);break;case 22:pl=(a=pl)||t.memoizedState!==null,Ke(l,e,t),pl=a;break;default:Ke(l,e,t)}}i(iy,"commitDeletionEffectsOnFiber");function cy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{gn(l)}catch(t){W(e,e.return,t)}}}i(cy,"commitActivityHydrationCallbacks");function fy(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{gn(l)}catch(t){W(e,e.return,t)}}i(fy,"commitSuspenseHydrationCallbacks");function bp(l){switch(l.tag){case 31:case 13:case 19:var e=l.stateNode;return e===null&&(e=l.stateNode=new qm),e;case 22:return l=l.stateNode,e=l._retryCache,e===null&&(e=l._retryCache=new qm),e;default:throw Error(b(435,l.tag))}}i(bp,"getRetryCache");function zi(l,e){var t=bp(l);e.forEach(function(a){if(!t.has(a)){t.add(a);var n=Op.bind(null,l,a);a.then(n,n)}})}i(zi,"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(Kt(f.type)){ol=f.stateNode,Kl=!1;break l}break;case 5:ol=f.stateNode,Kl=!1;break l;case 3:case 4:ol=f.stateNode.containerInfo,Kl=!0;break l}f=f.return}if(ol===null)throw Error(b(160));iy(u,c,n),ol=null,Kl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)oy(e,l),e=e.sibling}i(Ll,"recursivelyTraverseMutationEffects");var Ae=null;function oy(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&&(jt(3,l,l.return),qu(3,l),jt(5,l,l.return));break;case 1:Ll(e,l),Zl(l),a&512&&(pl||t===null||Be(t,t.return)),a&64&&Fe&&(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&&(pl||t===null||Be(t,t.return)),a&4){var u=t!==null?t.memoizedState:null;if(a=l.memoizedState,t===null)if(a===null)if(l.stateNode===null){l:{a=l.type,t=l.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[ku]||u[Bl]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Rl(u,a,t),u[Bl]=l,Ml(u),a=u;break l;case"link":var c=nh("link","href",n).get(a+(t.href||""));if(c){for(var f=0;f<c.length;f++)if(u=c[f],u.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&u.getAttribute("rel")===(t.rel==null?null:t.rel)&&u.getAttribute("title")===(t.title==null?null:t.title)&&u.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(f,1);break e}}u=n.createElement(a),Rl(u,a,t),n.head.appendChild(u);break;case"meta":if(c=nh("meta","content",n).get(a+(t.content||""))){for(f=0;f<c.length;f++)if(u=c[f],u.getAttribute("content")===(t.content==null?null:""+t.content)&&u.getAttribute("name")===(t.name==null?null:t.name)&&u.getAttribute("property")===(t.property==null?null:t.property)&&u.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&u.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(f,1);break e}}u=n.createElement(a),Rl(u,a,t),n.head.appendChild(u);break;default:throw Error(b(468,a))}u[Bl]=l,Ml(u),a=u}l.stateNode=a}else uh(n,l.type,l.stateNode);else l.stateNode=ah(n,a,l.memoizedProps);else u!==a?(u===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):u.count--,a===null?uh(n,l.type,l.stateNode):ah(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Kf(l,l.memoizedProps,t.memoizedProps)}break;case 27:Ll(e,l),Zl(l),a&512&&(pl||t===null||Be(t,t.return)),t!==null&&a&4&&Kf(l,l.memoizedProps,t.memoizedProps);break;case 5:if(Ll(e,l),Zl(l),a&512&&(pl||t===null||Be(t,t.return)),l.flags&32){n=l.stateNode;try{sn(n,"")}catch(S){W(l,l.return,S)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Kf(l,n,t!==null?t.memoizedProps:n)),a&1024&&(wf=!0);break;case 6:if(Ll(e,l),Zl(l),a&4){if(l.stateNode===null)throw Error(b(162));a=l.memoizedProps,t=l.stateNode;try{t.nodeValue=a}catch(S){W(l,l.return,S)}}break;case 3:if(Gi=null,n=Ae,Ae=dc(e.containerInfo),Ll(e,l),Ae=n,Zl(l),a&4&&t!==null&&t.memoizedState.isDehydrated)try{gn(e.containerInfo)}catch(S){W(l,l.return,S)}wf&&(wf=!1,sy(l));break;case 4:a=Ae,Ae=dc(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,zi(l,a)));break;case 13:Ll(e,l),Zl(l),l.child.flags&8192&&l.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(Oc=ee()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,zi(l,a)));break;case 22:n=l.memoizedState!==null;var o=t!==null&&t.memoizedState!==null,s=Fe,v=pl;if(Fe=s||n,pl=v||o,Ll(e,l),pl=v,Fe=s,Zl(l),a&8192)l:for(e=l.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(t===null||o||Fe||pl||ua(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,m=p!=null&&p.hasOwnProperty("display")?p.display:null;f.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(S){W(o,o.return,S)}}}else if(e.tag===6){if(t===null){o=e;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(S){W(o,o.return,S)}}}else if(e.tag===18){if(t===null){o=e;try{var h=o.stateNode;n?Im(h,!0):Im(o.stateNode,!1)}catch(S){W(o,o.return,S)}}}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,zi(l,t))));break;case 19:Ll(e,l),Zl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,zi(l,a)));break;case 30:break;case 21:break;default:Ll(e,l),Zl(l)}}i(oy,"commitMutationEffectsOnFiber");function Zl(l){var e=l.flags;if(e&2){try{for(var t,a=l.return;a!==null;){if(ty(a)){t=a;break}a=a.return}if(t==null)throw Error(b(160));switch(t.tag){case 27:var n=t.stateNode,u=Jf(l);nc(l,u,n);break;case 5:var c=t.stateNode;t.flags&32&&(sn(c,""),t.flags&=-33);var f=Jf(l);nc(l,f,c);break;case 3:case 4:var o=t.stateNode.containerInfo,s=Jf(l);qo(l,s,o);break;default:throw Error(b(161))}}catch(v){W(l,l.return,v)}l.flags&=-3}e&4096&&(l.flags&=-4097)}i(Zl,"commitReconciliationEffects");function sy(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var e=l;sy(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),l=l.sibling}}i(sy,"recursivelyResetForms");function Je(l,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)ny(l,e.alternate,e),e=e.sibling}i(Je,"recursivelyTraverseLayoutEffects");function ua(l){for(l=l.child;l!==null;){var e=l;switch(e.tag){case 0:case 11:case 14:case 15:jt(4,e,e.return),ua(e);break;case 1:Be(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ly(e,e.return,t),ua(e);break;case 27:mu(e.stateNode);case 26:case 5:Be(e,e.return),ua(e);break;case 22:e.memoizedState===null&&ua(e);break;case 30:ua(e);break;default:ua(e)}l=l.sibling}}i(ua,"recursivelyTraverseDisappearLayoutEffects");function we(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:we(n,u,t),qu(4,u);break;case 1:if(we(n,u,t),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(s){W(a,a.return,s)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)c0(o[n],f)}catch(s){W(a,a.return,s)}}t&&c&64&&P0(u),ou(u,u.return);break;case 27:ay(u);case 26:case 5:we(n,u,t),t&&a===null&&c&4&&ey(u),ou(u,u.return);break;case 12:we(n,u,t);break;case 31:we(n,u,t),t&&c&4&&cy(n,u);break;case 13:we(n,u,t),t&&c&4&&fy(n,u);break;case 22:u.memoizedState===null&&we(n,u,t),ou(u,u.return);break;case 30:break;default:we(n,u,t)}e=e.sibling}}i(we,"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&&Bu(t))}i(xs,"commitOffscreenPassiveMountEffects");function qs(l,e){l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Bu(l))}i(qs,"commitCachePassiveMountEffect");function Te(l,e,t,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ry(l,e,t,a),e=e.sibling}i(Te,"recursivelyTraversePassiveMountEffects");function ry(l,e,t,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Te(l,e,t,a),n&2048&&qu(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&&Bu(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){W(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):su(l,e):u._visibility&2?Te(l,e,t,a):(u._visibility|=2,Va(l,e,t,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&xs(c,e);break;case 24:Te(l,e,t,a),n&2048&&qs(e.alternate,e);break;default:Te(l,e,t,a)}}i(ry,"commitPassiveMountOnFiber");function Va(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:Va(u,c,f,o,n),qu(8,c);break;case 23:break;case 22:var v=c.stateNode;c.memoizedState!==null?v._visibility&2?Va(u,c,f,o,n):su(u,c):(v._visibility|=2,Va(u,c,f,o,n)),n&&s&2048&&xs(c.alternate,c);break;case 24:Va(u,c,f,o,n),n&&s&2048&&qs(c.alternate,c);break;default:Va(u,c,f,o,n)}e=e.sibling}}i(Va,"recursivelyTraverseReconnectPassiveEffects");function su(l,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=l,a=e,n=a.flags;switch(a.tag){case 22:su(t,a),n&2048&&xs(a.alternate,a);break;case 24:su(t,a),n&2048&&qs(a.alternate,a);break;default:su(t,a)}e=e.sibling}}i(su,"recursivelyTraverseAtomicPassiveEffects");var lu=8192;function Ga(l,e,t){if(l.subtreeFlags&lu)for(l=l.child;l!==null;)dy(l,e,t),l=l.sibling}i(Ga,"recursivelyAccumulateSuspenseyCommit");function dy(l,e,t){switch(l.tag){case 26:Ga(l,e,t),l.flags&lu&&l.memoizedState!==null&&ag(t,Ae,l.memoizedState,l.memoizedProps);break;case 5:Ga(l,e,t);break;case 3:case 4:var a=Ae;Ae=dc(l.stateNode.containerInfo),Ga(l,e,t),Ae=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=lu,lu=16777216,Ga(l,e,t),lu=a):Ga(l,e,t));break;default:Ga(l,e,t)}}i(dy,"accumulateSuspenseyCommitOnFiber");function my(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(my,"detachAlternateSiblings");function Jn(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];_l=a,yy(a,l)}my(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)hy(l),l=l.sibling}i(Jn,"recursivelyTraversePassiveUnmountEffects");function hy(l){switch(l.tag){case 0:case 11:case 15:Jn(l),l.flags&2048&&jt(9,l,l.return);break;case 3:Jn(l);break;case 12:Jn(l);break;case 22:var e=l.stateNode;l.memoizedState!==null&&e._visibility&2&&(l.return===null||l.return.tag!==13)?(e._visibility&=-3,Ri(l)):Jn(l);break;default:Jn(l)}}i(hy,"commitPassiveUnmountOnFiber");function Ri(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];_l=a,yy(a,l)}my(l)}for(l=l.child;l!==null;){switch(e=l,e.tag){case 0:case 11:case 15:jt(8,e,e.return),Ri(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,Ri(e));break;default:Ri(e)}l=l.sibling}}i(Ri,"recursivelyTraverseDisconnectPassiveEffects");function yy(l,e){for(;_l!==null;){var t=_l;switch(t.tag){case 0:case 11:case 15:jt(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:Bu(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,_l=a;else l:for(t=l;_l!==null;){a=_l;var n=a.sibling,u=a.return;if(uy(a),a===t){_l=null;break l}if(n!==null){n.return=u,_l=n;break l}_l=u}}}i(yy,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var Sp={getCacheForType:i(function(l){var e=ql(gl),t=e.data.get(l);return t===void 0&&(t=l(),e.data.set(l,t)),t},"getCacheForType"),cacheSignal:i(function(){return ql(gl).controller.signal},"cacheSignal")},zp=typeof WeakMap=="function"?WeakMap:Map,L=0,ll=null,G=null,V=0,w=0,$l=null,Ut=!1,An=!1,Rs=!1,ct=0,rl=0,Lt=0,sa=0,Ys=0,le=0,hn=0,ru=null,Jl=null,Ro=!1,Oc=0,vy=0,uc=1/0,ic=null,qt=null,zl=0,Rt=null,yn=null,tt=0,Yo=0,Go=null,py=null,du=0,Vo=null;function ne(){return(L&2)!==0&&V!==0?V&-V:C.T!==null?Vs():_h()}i(ne,"requestUpdateLane");function gy(){if(le===0)if((V&536870912)===0||j){var l=ri;ri<<=1,(ri&3932160)===0&&(ri=262144),le=l}else le=536870912;return l=ie.current,l!==null&&(l.flags|=32),le}i(gy,"requestDeferredLane");function wl(l,e,t){(l===ll&&(w===2||w===9)||l.cancelPendingCommit!==null)&&(vn(l,0),Dt(l,V,le,!1)),Cu(l,t),((L&2)===0||l!==ll)&&(l===ll&&((L&2)===0&&(sa|=t),rl===4&&Dt(l,V,le,!1)),Re(l))}i(wl,"scheduleUpdateOnFiber");function by(l,e,t){if((L&6)!==0)throw Error(b(327));var a=!t&&(e&127)===0&&(e&l.expiredLanes)===0||Du(l,e),n=a?Ep(l,e):Wf(l,e,!0),u=a;do{if(n===0){An&&!a&&Dt(l,e,0,!1);break}else{if(t=l.current.alternate,u&&!Tp(t)){n=Wf(l,e,!1),u=!1;continue}if(n===2){if(u=e,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;l:{var f=l;n=ru;var o=f.current.memoizedState.isDehydrated;if(o&&(vn(f,c).flags|=256),c=Wf(f,c,!1),c!==2){if(Rs&&!o){f.errorRecoveryDisabledLanes|=u,sa|=u,n=4;break l}u=Jl,Jl=n,u!==null&&(Jl===null?Jl=u:Jl.push.apply(Jl,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){vn(l,0),Dt(l,e,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(b(345));case 4:if((e&4194048)!==e)break;case 6:Dt(a,e,le,!Ut);break l;case 2:Jl=null;break;case 3:case 5:break;default:throw Error(b(329))}if((e&62914560)===e&&(n=Oc+300-ee(),10<n)){if(Dt(a,e,le,!Ut),pc(a,0,!0)!==0)break l;tt=e,a.timeoutHandle=Gy(Rm.bind(null,a,t,Jl,ic,Ro,e,le,sa,hn,Ut,u,"Throttled",-0,0),n);break l}Rm(a,t,Jl,ic,Ro,e,le,sa,hn,Ut,u,null,-0,0)}}break}while(!0);Re(l)}i(by,"performWorkOnRoot");function Rm(l,e,t,a,n,u,c,f,o,s,v,p,m,h){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:Ie},dy(e,u,p);var S=(u&62914560)===u?Oc-ee():(u&4194048)===u?vy-ee():0;if(S=ng(p,S),S!==null){tt=u,l.cancelPendingCommit=S(Gm.bind(null,l,e,u,t,a,n,c,f,o,v,p,null,m,h)),Dt(l,u,c,!s);return}}Gm(l,e,u,t,a,n,c,f,o)}i(Rm,"commitRootWhenReady");function Tp(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(Tp,"isRenderConsistentWithExternalStores");function Dt(l,e,t,a){e&=~Ys,e&=~sa,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&&Ah(l,t,e)}i(Dt,"markRootSuspended");function Uc(){return(L&6)===0?(Ru(0,!1),!1):!0}i(Uc,"flushSyncWork$1");function Gs(){if(G!==null){if(w===0)var l=G.return;else l=G,Pe=Sa=null,Es(l),nn=null,Su=0,l=G;for(;l!==null;)I0(l.alternate,l),l=l.return;G=null}}i(Gs,"resetWorkInProgressStack");function vn(l,e){var t=l.timeoutHandle;t!==-1&&(l.timeoutHandle=-1,Vp(t)),t=l.cancelPendingCommit,t!==null&&(l.cancelPendingCommit=null,t()),tt=0,Gs(),ll=l,G=t=lt(l.current,null),V=e,w=0,$l=null,Ut=!1,An=Du(l,e),Rs=!1,hn=le=Ys=sa=Lt=rl=0,Jl=ru=null,Ro=!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 ct=e,zc(),t}i(vn,"prepareFreshStack");function Sy(l,e){q=null,C.H=Tu,e===Tn||e===Ac?(e=ym(),w=3):e===ps?(e=ym(),w=4):w=e===Hs?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,$l=e,G===null&&(rl=1,tc(l,he(e,l.current)))}i(Sy,"handleThrow");function zy(){var l=ie.current;return l===null?!0:(V&4194048)===V?ve===null:(V&62914560)===V||(V&536870912)!==0?l===ve:!1}i(zy,"shouldRemainOnPreviousScreen");function Ty(){var l=C.H;return C.H=Tu,l===null?Tu:l}i(Ty,"pushDispatcher");function Ay(){var l=C.A;return C.A=Sp,l}i(Ay,"pushAsyncDispatcher");function cc(){rl=4,Ut||(V&4194048)!==V&&ie.current!==null||(An=!0),(Lt&134217727)===0&&(sa&134217727)===0||ll===null||Dt(ll,V,le,!1)}i(cc,"renderDidSuspendDelayIfPossible");function Wf(l,e,t){var a=L;L|=2;var n=Ty(),u=Ay();(ll!==l||V!==e)&&(ic=null,vn(l,e)),e=!1;var c=rl;l:do try{if(w!==0&&G!==null){var f=G,o=$l;switch(w){case 8:Gs(),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,Pa(l,f,o,s),t&&An){c=0;break l}break;default:s=w,w=0,$l=null,Pa(l,f,o,s)}}Ap(),c=rl;break}catch(v){Sy(l,v)}while(!0);return e&&l.shellSuspendCounter++,Pe=Sa=null,L=a,C.H=n,C.A=u,G===null&&(ll=null,V=0,zc()),c}i(Wf,"renderRootSync");function Ap(){for(;G!==null;)Ey(G)}i(Ap,"workLoopSync");function Ep(l,e){var t=L;L|=2;var a=Ty(),n=Ay();ll!==l||V!==e?(ic=null,uc=ee()+500,vn(l,e)):An=Du(l,e);l:do try{if(w!==0&&G!==null){e=G;var u=$l;e:switch(w){case 1:w=0,$l=null,Pa(l,e,u,1);break;case 2:case 9:if(hm(u)){w=0,$l=null,Ym(e);break}e=i(function(){w!==2&&w!==9||ll!==l||(w=7),Re(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,Ym(e)):(w=0,$l=null,Pa(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?Ly(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,Dc(s)):G=null}break e}}w=0,$l=null,Pa(l,e,u,5);break;case 6:w=0,$l=null,Pa(l,e,u,6);break;case 8:Gs(),rl=6;break l;default:throw Error(b(462))}}Np();break}catch(v){Sy(l,v)}while(!0);return Pe=Sa=null,C.H=a,C.A=n,L=t,G!==null?0:(ll=null,V=0,zc(),rl)}i(Ep,"renderRootConcurrent");function Np(){for(;G!==null&&!wv();)Ey(G)}i(Np,"workLoopConcurrentByScheduler");function Ey(l){var e=$0(l.alternate,l,ct);l.memoizedProps=l.pendingProps,e===null?Dc(l):G=e}i(Ey,"performUnitOfWork");function Ym(l){var e=l,t=e.alternate;switch(e.tag){case 15:case 0:e=Cm(t,e,e.pendingProps,e.type,void 0,V);break;case 11:e=Cm(t,e,e.pendingProps,e.type.render,e.ref,V);break;case 5:Es(e);default:I0(t,e),e=G=Ih(e,ct),e=$0(t,e,ct)}l.memoizedProps=l.pendingProps,e===null?Dc(l):G=e}i(Ym,"replaySuspendedUnitOfWork");function Pa(l,e,t,a){Pe=Sa=null,Es(e),nn=null,Su=0;var n=e.return;try{if(mp(l,n,e,t,V)){rl=1,tc(l,he(t,l.current)),G=null;return}}catch(u){if(n!==null)throw G=n,u;rl=1,tc(l,he(t,l.current)),G=null;return}e.flags&32768?(j||a===1?l=!0:An||(V&536870912)!==0?l=!1:(Ut=l=!0,(a===2||a===9||a===3||a===6)&&(a=ie.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ny(e,l)):Dc(e)}i(Pa,"throwAndUnwindWorkLoop");function Dc(l){var e=l;do{if((e.flags&32768)!==0){Ny(e,Ut);return}l=e.return;var t=vp(e.alternate,e,ct);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(Dc,"completeUnitOfWork");function Ny(l,e){do{var t=pp(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(Ny,"unwindUnitOfWork");function Gm(l,e,t,a,n,u,c,f,o){l.cancelPendingCommit=null;do Cc();while(zl!==0);if((L&6)!==0)throw Error(b(327));if(e!==null){if(e===l.current)throw Error(b(177));if(u=e.lanes|e.childLanes,u|=ss,n1(l,t,u,c,f,o),l===ll&&(G=ll=null,V=0),yn=e,Rt=l,tt=t,Yo=u,Go=n,py=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Up(Zi,function(){return Dy(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=C.T,C.T=null,n=Z.p,Z.p=2,c=L,L|=4;try{gp(l,e,t)}finally{L=c,Z.p=n,C.T=a}}zl=1,_y(),My(),Oy()}}i(Gm,"commitRoot");function _y(){if(zl===1){zl=0;var l=Rt,e=yn,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=C.T,C.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{oy(e,l);var u=Lo,c=Lh(l.containerInfo),f=u.focusedElem,o=u.selectionRange;if(c!==f&&f&&f.ownerDocument&&jh(f.ownerDocument.documentElement,f)){if(o!==null&&os(f)){var s=o.start,v=o.end;if(v===void 0&&(v=s),"selectionStart"in f)f.selectionStart=s,f.selectionEnd=Math.min(v,f.value.length);else{var p=f.ownerDocument||document,m=p&&p.defaultView||window;if(m.getSelection){var h=m.getSelection(),S=f.textContent.length,E=Math.min(o.start,S),O=o.end===void 0?E:Math.min(o.end,S);!h.extend&&E>O&&(c=O,O=E,E=c);var d=cm(f,E),r=cm(f,O);if(d&&r&&(h.rangeCount!==1||h.anchorNode!==d.node||h.anchorOffset!==d.offset||h.focusNode!==r.node||h.focusOffset!==r.offset)){var y=p.createRange();y.setStart(d.node,d.offset),h.removeAllRanges(),E>O?(h.addRange(y),h.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),h.addRange(y))}}}}for(p=[],h=f;h=h.parentNode;)h.nodeType===1&&p.push({element:h,left:h.scrollLeft,top:h.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}}yc=!!jo,Lo=jo=null}finally{L=n,Z.p=a,C.T=t}}l.current=e,zl=2}}i(_y,"flushMutationEffects");function My(){if(zl===2){zl=0;var l=Rt,e=yn,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=C.T,C.T=null;var a=Z.p;Z.p=2;var n=L;L|=4;try{ny(l,e.alternate,e)}finally{L=n,Z.p=a,C.T=t}}zl=3}}i(My,"flushLayoutEffects");function Oy(){if(zl===4||zl===3){zl=0,Wv();var l=Rt,e=yn,t=tt,a=py;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?zl=5:(zl=0,yn=Rt=null,Uy(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(qt=null),ts(t),e=e.stateNode,te&&typeof te.onCommitFiberRoot=="function")try{te.onCommitFiberRoot(Uu,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=C.T,n=Z.p,Z.p=2,C.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{C.T=e,Z.p=n}}(tt&3)!==0&&Cc(),Re(l),n=l.pendingLanes,(t&261930)!==0&&(n&42)!==0?l===Vo?du++:(du=0,Vo=l):du=0,Ru(0,!1)}}i(Oy,"flushSpawnedWork");function Uy(l,e){(l.pooledCacheLanes&=e)===0&&(e=l.pooledCache,e!=null&&(l.pooledCache=null,Bu(e)))}i(Uy,"releaseRootPooledCache");function Cc(){return _y(),My(),Oy(),Dy()}i(Cc,"flushPendingEffects");function Dy(){if(zl!==5)return!1;var l=Rt,e=Yo;Yo=0;var t=ts(tt),a=C.T,n=Z.p;try{Z.p=32>t?32:t,C.T=null,t=Go,Go=null;var u=Rt,c=tt;if(zl=0,yn=Rt=null,tt=0,(L&6)!==0)throw Error(b(331));var f=L;if(L|=4,hy(u.current),ry(u,u.current,c,t),L=f,Ru(0,!1),te&&typeof te.onPostCommitFiberRoot=="function")try{te.onPostCommitFiberRoot(Uu,u)}catch{}return!0}finally{Z.p=n,C.T=a,Uy(l,e)}}i(Dy,"flushPassiveEffects");function Vm(l,e,t){e=he(t,e),e=Ho(l.stateNode,e,2),l=xt(l,e,2),l!==null&&(Cu(l,2),Re(l))}i(Vm,"captureCommitPhaseErrorOnRoot");function W(l,e,t){if(l.tag===3)Vm(l,l,t);else for(;e!==null;){if(e.tag===3){Vm(e,l,t);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(qt===null||!qt.has(a))){l=he(t,l),t=Z0(2),a=xt(e,t,2),a!==null&&(K0(t,a,e,l),Cu(a,2),Re(a));break}}e=e.return}}i(W,"captureCommitPhaseError");function Ff(l,e,t){var a=l.pingCache;if(a===null){a=l.pingCache=new zp;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)||(Rs=!0,n.add(t),l=_p.bind(null,l,e,t),e.then(l,l))}i(Ff,"attachPingListener");function _p(l,e,t){var a=l.pingCache;a!==null&&a.delete(e),l.pingedLanes|=l.suspendedLanes&t,l.warmLanes&=~t,ll===l&&(V&t)===t&&(rl===4||rl===3&&(V&62914560)===V&&300>ee()-Oc?(L&2)===0&&vn(l,0):Ys|=t,hn===V&&(hn=0)),Re(l)}i(_p,"pingSuspendedRoot");function Cy(l,e){e===0&&(e=Th()),l=ba(l,e),l!==null&&(Cu(l,e),Re(l))}i(Cy,"retryTimedOutBoundary");function Mp(l){var e=l.memoizedState,t=0;e!==null&&(t=e.retryLane),Cy(l,t)}i(Mp,"retryDehydratedSuspenseBoundary");function Op(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(b(314))}a!==null&&a.delete(e),Cy(l,t)}i(Op,"resolveRetryWakeable");function Up(l,e){return ls(l,e)}i(Up,"scheduleCallback$1");var fc=null,Qa=null,Qo=!1,oc=!1,$f=!1,Ct=0;function Re(l){l!==Qa&&l.next===null&&(Qa===null?fc=Qa=l:Qa=Qa.next=l),oc=!0,Qo||(Qo=!0,Cp())}i(Re,"ensureRootIsScheduled");function Ru(l,e){if(!$f&&oc){$f=!0;do for(var t=!1,a=fc;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,Qm(a,u))}else u=V,u=pc(a,a===ll?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Du(a,u)||(t=!0,Qm(a,u));a=a.next}while(t);$f=!1}}i(Ru,"flushSyncWorkAcrossRoots_impl");function Dp(){ky()}i(Dp,"processRootScheduleInImmediateTask");function ky(){oc=Qo=!1;var l=0;Ct!==0&&Gp()&&(l=Ct);for(var e=ee(),t=null,a=fc;a!==null;){var n=a.next,u=Hy(a,e);u===0?(a.next=null,t===null?fc=n:t.next=n,n===null&&(Qa=t)):(t=a,(l!==0||(u&3)!==0)&&(oc=!0)),a=n}zl!==0&&zl!==5||Ru(l,!1),Ct!==0&&(Ct=0)}i(ky,"processRootScheduleInMicrotask");function Hy(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]=a1(f,e)):o<=e&&(l.expiredLanes|=f),u&=~f}if(e=ll,t=V,t=pc(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&&_f(a),l.callbackNode=null,l.callbackPriority=0;if((t&3)===0||Du(l,t)){if(e=t&-t,e===l.callbackPriority)return e;switch(a!==null&&_f(a),ts(t)){case 2:case 8:t=Sh;break;case 32:t=Zi;break;case 268435456:t=zh;break;default:t=Zi}return a=By.bind(null,l),t=ls(t,a),l.callbackPriority=e,l.callbackNode=t,e}return a!==null&&a!==null&&_f(a),l.callbackPriority=2,l.callbackNode=null,2}i(Hy,"scheduleTaskForRootDuringMicrotask");function By(l,e){if(zl!==0&&zl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var t=l.callbackNode;if(Cc()&&l.callbackNode!==t)return null;var a=V;return a=pc(l,l===ll?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(by(l,a,e),Hy(l,ee()),l.callbackNode!=null&&l.callbackNode===t?By.bind(null,l):null)}i(By,"performWorkOnRootViaSchedulerTask");function Qm(l,e){if(Cc())return null;by(l,e,!0)}i(Qm,"performSyncWorkOnRoot");function Cp(){Qp(function(){(L&6)!==0?ls(bh,Dp):ky()})}i(Cp,"scheduleImmediateRootScheduleTask");function Vs(){if(Ct===0){var l=rn;l===0&&(l=si,si<<=1,(si&261888)===0&&(si=256)),Ct=l}return Ct}i(Vs,"requestTransitionLane");function Xm(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Oi(""+l)}i(Xm,"coerceFormActionProp");function jm(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(jm,"createFormDataWithSubmitter");function kp(l,e,t,a,n){if(e==="submit"&&t&&t.stateNode===n){var u=Xm((n[Wl]||null).action),c=a.submitter;c&&(e=(e=c[Wl]||null)?Xm(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,c=null));var f=new gc("action","action",null,a,n);l.push({event:f,listeners:[{instance:null,listener:i(function(){if(a.defaultPrevented){if(Ct!==0){var o=c?jm(n,c):new FormData(n);Co(t,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=c?jm(n,c):new FormData(n),Co(t,{pending:!0,data:o,method:n.method,action:u},u,o))},"listener"),currentTarget:n}]})}}i(kp,"extractEvents$1");for(Ti=0;Ti<bo.length;Ti++)Ai=bo[Ti],Lm=Ai.toLowerCase(),Zm=Ai[0].toUpperCase()+Ai.slice(1),Ee(Lm,"on"+Zm);var Ai,Lm,Zm,Ti;Ee(Kh,"onAnimationEnd");Ee(Jh,"onAnimationIteration");Ee(wh,"onAnimationStart");Ee("dblclick","onDoubleClick");Ee("focusin","onFocus");Ee("focusout","onBlur");Ee(F1,"onTransitionRun");Ee($1,"onTransitionStart");Ee(I1,"onTransitionCancel");Ee(Wh,"onTransitionEnd");on("onMouseEnter",["mouseout","mouseover"]);on("onMouseLeave",["mouseout","mouseover"]);on("onPointerEnter",["pointerout","pointerover"]);on("onPointerLeave",["pointerout","pointerover"]);va("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));va("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));va("onBeforeInput",["compositionend","keypress","textInput","paste"]);va("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));va("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));va("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Au="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Hp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Au));function xy(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(v){Ji(v)}n.currentTarget=null,u=o}else for(c=0;c<a.length;c++){if(f=a[c],o=f.instance,s=f.currentTarget,f=f.listener,o!==u&&n.isPropagationStopped())break l;u=f,n.currentTarget=s;try{u(n)}catch(v){Ji(v)}n.currentTarget=null,u=o}}}}i(xy,"processDispatchQueue");function Y(l,e){var t=e[so];t===void 0&&(t=e[so]=new Set);var a=l+"__bubble";t.has(a)||(qy(e,l,2,!1),t.add(a))}i(Y,"listenToNonDelegatedEvent");function If(l,e,t){var a=0;e&&(a|=4),qy(t,l,a,e)}i(If,"listenToNativeEvent");var Ei="_reactListening"+Math.random().toString(36).slice(2);function Qs(l){if(!l[Ei]){l[Ei]=!0,Mh.forEach(function(t){t!=="selectionchange"&&(Hp.has(t)||If(t,!1,l),If(t,!0,l))});var e=l.nodeType===9?l:l.ownerDocument;e===null||e[Ei]||(e[Ei]=!0,If("selectionchange",!1,e))}}i(Qs,"listenToAllSupportedEvents");function qy(l,e,t,a){switch(Wy(e)){case 2:var n=cg;break;case 8:n=fg;break;default:n=Zs}t=n.bind(null,e,t,l),n=void 0,!vo||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(qy,"addTrappedEventListener");function Pf(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=La(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}xh(function(){var s=u,v=us(t),p=[];l:{var m=Fh.get(l);if(m!==void 0){var h=gc,S=l;switch(l){case"keypress":if(Di(t)===0)break l;case"keydown":case"keyup":h=O1;break;case"focusin":S="focus",h=Cf;break;case"focusout":S="blur",h=Cf;break;case"beforeblur":case"afterblur":h=Cf;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":h=Id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=v1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=C1;break;case Kh:case Jh:case wh:h=b1;break;case Wh:h=H1;break;case"scroll":case"scrollend":h=h1;break;case"wheel":h=x1;break;case"copy":case"cut":case"paste":h=z1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=lm;break;case"toggle":case"beforetoggle":h=R1}var E=(e&4)!==0,O=!E&&(l==="scroll"||l==="scrollend"),d=E?m!==null?m+"Capture":null:m;E=[];for(var r=s,y;r!==null;){var g=r;if(y=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||y===null||d===null||(g=yu(r,d),g!=null&&E.push(Eu(r,g,y))),O)break;r=r.return}0<E.length&&(m=new h(m,S,null,t,v),p.push({event:m,listeners:E}))}}if((e&7)===0){l:{if(m=l==="mouseover"||l==="pointerover",h=l==="mouseout"||l==="pointerout",m&&t!==yo&&(S=t.relatedTarget||t.fromElement)&&(La(S)||S[bn]))break l;if((h||m)&&(m=v.window===v?v:(m=v.ownerDocument)?m.defaultView||m.parentWindow:window,h?(S=t.relatedTarget||t.toElement,h=s,S=S?La(S):null,S!==null&&(O=Ou(S),E=S.tag,S!==O||E!==5&&E!==27&&E!==6)&&(S=null)):(h=null,S=s),h!==S)){if(E=Id,g="onMouseLeave",d="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(E=lm,g="onPointerLeave",d="onPointerEnter",r="pointer"),O=h==null?m:In(h),y=S==null?m:In(S),m=new E(g,r+"leave",h,t,v),m.target=O,m.relatedTarget=y,g=null,La(v)===s&&(E=new E(d,r+"enter",S,t,v),E.target=y,E.relatedTarget=O,g=E),O=g,h&&S)e:{for(E=Bp,d=h,r=S,y=0,g=d;g;g=E(g))y++;g=0;for(var A=r;A;A=E(A))g++;for(;0<y-g;)d=E(d),y--;for(;0<g-y;)r=E(r),g--;for(;y--;){if(d===r||r!==null&&d===r.alternate){E=d;break e}d=E(d),r=E(r)}E=null}else E=null;h!==null&&Km(p,m,h,E,!1),S!==null&&O!==null&&Km(p,O,S,E,!0)}}l:{if(m=s?In(s):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var x=nm;else if(am(m))if(Qh)x=J1;else{x=Z1;var N=L1}else h=m.nodeName,!h||h.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?s&&ns(s.elementType)&&(x=nm):x=K1;if(x&&(x=x(l,s))){Vh(p,x,t,v);break l}N&&N(l,m,s),l==="focusout"&&s&&m.type==="number"&&s.memoizedProps.value!=null&&ho(m,"number",m.value)}switch(N=s?In(s):window,l){case"focusin":(am(N)||N.contentEditable==="true")&&(Ja=N,po=s,au=null);break;case"focusout":au=po=Ja=null;break;case"mousedown":go=!0;break;case"contextmenu":case"mouseup":case"dragend":go=!1,fm(p,t,v);break;case"selectionchange":if(W1)break;case"keydown":case"keyup":fm(p,t,v)}var M;if(fs)l:{switch(l){case"compositionstart":var U="onCompositionStart";break l;case"compositionend":U="onCompositionEnd";break l;case"compositionupdate":U="onCompositionUpdate";break l}U=void 0}else Ka?Yh(l,t)&&(U="onCompositionEnd"):l==="keydown"&&t.keyCode===229&&(U="onCompositionStart");U&&(Rh&&t.locale!=="ko"&&(Ka||U!=="onCompositionStart"?U==="onCompositionEnd"&&Ka&&(M=qh()):(Ot=v,is="value"in Ot?Ot.value:Ot.textContent,Ka=!0)),N=sc(s,U),0<N.length&&(U=new Pd(U,l,null,t,v),p.push({event:U,listeners:N}),M?U.data=M:(M=Gh(t),M!==null&&(U.data=M)))),(M=G1?V1(l,t):Q1(l,t))&&(U=sc(s,"onBeforeInput"),0<U.length&&(N=new Pd("onBeforeInput","beforeinput",null,t,v),p.push({event:N,listeners:U}),N.data=M)),kp(p,l,s,t,v)}xy(p,e)})}i(Pf,"dispatchEventForPluginEventSystem");function Eu(l,e,t){return{instance:l,listener:e,currentTarget:t}}i(Eu,"createDispatchListener");function sc(l,e){for(var t=e+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=yu(l,t),n!=null&&a.unshift(Eu(l,n,u)),n=yu(l,e),n!=null&&a.push(Eu(l,n,u))),l.tag===3)return a;l=l.return}return[]}i(sc,"accumulateTwoPhaseListeners");function Bp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}i(Bp,"getParent");function Km(l,e,t,a,n){for(var u=e._reactName,c=[];t!==null&&t!==a;){var f=t,o=f.alternate,s=f.stateNode;if(f=f.tag,o!==null&&o===a)break;f!==5&&f!==26&&f!==27||s===null||(o=s,n?(s=yu(t,u),s!=null&&c.unshift(Eu(t,s,o))):n||(s=yu(t,u),s!=null&&c.push(Eu(t,s,o)))),t=t.return}c.length!==0&&l.push({event:e,listeners:c})}i(Km,"accumulateEnterLeaveListenersForEvent");var xp=/\r\n?/g,qp=/\u0000|\uFFFD/g;function Jm(l){return(typeof l=="string"?l:""+l).replace(xp,`
9
- `).replace(qp,"")}i(Jm,"normalizeMarkupForTextOrAttribute");function Ry(l,e){return e=Jm(e),Jm(l)===e}i(Ry,"checkForUnmatchedText");function $(l,e,t,a,n,u){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||sn(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&sn(l,""+a);break;case"className":mi(l,"class",a);break;case"tabIndex":mi(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":mi(l,t,a);break;case"style":Bh(l,a,u);break;case"data":if(e!=="object"){mi(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=Oi(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(t==="formAction"?(e!=="input"&&$(l,e,"name",n.name,n,null),$(l,e,"formEncType",n.formEncType,n,null),$(l,e,"formMethod",n.formMethod,n,null),$(l,e,"formTarget",n.formTarget,n,null)):($(l,e,"encType",n.encType,n,null),$(l,e,"method",n.method,n,null),$(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Oi(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=Ie);break;case"onScroll":a!=null&&Y("scroll",l);break;case"onScrollEnd":a!=null&&Y("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(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=Oi(""+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),Mi(l,"popover",a);break;case"xlinkActuate":Le(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Le(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Le(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Le(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Le(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Le(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Le(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Le(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Le(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mi(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=d1.get(t)||t,Mi(l,t,a))}}i($,"setProp");function Xo(l,e,t,a,n,u){switch(t){case"style":Bh(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(b(60));l.innerHTML=t}}break;case"children":typeof a=="string"?sn(l,a):(typeof a=="number"||typeof a=="bigint")&&sn(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=Ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Oh.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,""):Mi(l,t,a)}}}i(Xo,"setPropOnCustomElement");function Rl(l,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Y("error",l),Y("load",l);var a=!1,n=!1,u;for(u in t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,u,c,t,null)}}n&&$(l,e,"srcSet",t.srcSet,t,null),a&&$(l,e,"src",t.src,t,null);return;case"input":Y("invalid",l);var f=u=c=n=null,o=null,s=null;for(a in t)if(t.hasOwnProperty(a)){var v=t[a];if(v!=null)switch(a){case"name":n=v;break;case"type":c=v;break;case"checked":o=v;break;case"defaultChecked":s=v;break;case"value":u=v;break;case"defaultValue":f=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(b(137,e));break;default:$(l,e,a,v,t,null)}}Ch(l,u,f,o,s,c,n,!1);return;case"select":Y("invalid",l),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(f=t[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:$(l,e,n,f,t,null)}e=u,t=c,l.multiple=!!a,e!=null?en(l,!!a,e,!1):t!=null&&en(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(b(91));break;default:$(l,e,c,f,t,null)}Hh(l,a,n,u);return;case"option":for(o in t)t.hasOwnProperty(o)&&(a=t[o],a!=null)&&(o==="selected"?l.selected=a&&typeof a!="function"&&typeof a!="symbol":$(l,e,o,a,t,null));return;case"dialog":Y("beforetoggle",l),Y("toggle",l),Y("cancel",l),Y("close",l);break;case"iframe":case"object":Y("load",l);break;case"video":case"audio":for(a=0;a<Au.length;a++)Y(Au[a],l);break;case"image":Y("error",l),Y("load",l);break;case"details":Y("toggle",l);break;case"embed":case"source":case"link":Y("error",l),Y("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in t)if(t.hasOwnProperty(s)&&(a=t[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,e));default:$(l,e,s,a,t,null)}return;default:if(ns(e)){for(v in t)t.hasOwnProperty(v)&&(a=t[v],a!==void 0&&Xo(l,e,v,a,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(a=t[f],a!=null&&$(l,e,f,a,t,null))}i(Rl,"setInitialProperties");function Rp(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,v=null;for(h in t){var p=t[h];if(t.hasOwnProperty(h)&&p!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":o=p;default:a.hasOwnProperty(h)||$(l,e,h,null,a,p)}}for(var m in a){var h=a[m];if(p=t[m],a.hasOwnProperty(m)&&(h!=null||p!=null))switch(m){case"type":u=h;break;case"name":n=h;break;case"checked":s=h;break;case"defaultChecked":v=h;break;case"value":c=h;break;case"defaultValue":f=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,e));break;default:h!==p&&$(l,e,m,h,a,p)}}mo(l,c,f,o,s,v,u,n);return;case"select":h=c=f=m=null;for(u in t)if(o=t[u],t.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":h=o;default:a.hasOwnProperty(u)||$(l,e,u,null,a,o)}for(n in a)if(u=a[n],o=t[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":m=u;break;case"defaultValue":f=u;break;case"multiple":c=u;default:u!==o&&$(l,e,n,u,a,o)}e=f,t=c,a=h,m!=null?en(l,!!t,m,!1):!!a!=!!t&&(e!=null?en(l,!!t,e,!0):en(l,!!t,t?[]:"",!1));return;case"textarea":h=m=null;for(f in t)if(n=t[f],t.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:$(l,e,f,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":m=n;break;case"defaultValue":h=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==u&&$(l,e,c,n,a,u)}kh(l,m,h);return;case"option":for(var S in t)m=t[S],t.hasOwnProperty(S)&&m!=null&&!a.hasOwnProperty(S)&&(S==="selected"?l.selected=!1:$(l,e,S,null,a,m));for(o in a)m=a[o],h=t[o],a.hasOwnProperty(o)&&m!==h&&(m!=null||h!=null)&&(o==="selected"?l.selected=m&&typeof m!="function"&&typeof m!="symbol":$(l,e,o,m,a,h));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)m=t[E],t.hasOwnProperty(E)&&m!=null&&!a.hasOwnProperty(E)&&$(l,e,E,null,a,m);for(s in a)if(m=a[s],h=t[s],a.hasOwnProperty(s)&&m!==h&&(m!=null||h!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(b(137,e));break;default:$(l,e,s,m,a,h)}return;default:if(ns(e)){for(var O in t)m=t[O],t.hasOwnProperty(O)&&m!==void 0&&!a.hasOwnProperty(O)&&Xo(l,e,O,void 0,a,m);for(v in a)m=a[v],h=t[v],!a.hasOwnProperty(v)||m===h||m===void 0&&h===void 0||Xo(l,e,v,m,a,h);return}}for(var d in t)m=t[d],t.hasOwnProperty(d)&&m!=null&&!a.hasOwnProperty(d)&&$(l,e,d,null,a,m);for(p in a)m=a[p],h=t[p],!a.hasOwnProperty(p)||m===h||m==null&&h==null||$(l,e,p,m,a,h)}i(Rp,"updateProperties");function wm(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}i(wm,"isLikelyStaticResource");function Yp(){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&&wm(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 v=o.transferSize,p=o.initiatorType;v&&wm(p)&&(o=o.responseEnd,c+=v*(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(Yp,"estimateBandwidth");var jo=null,Lo=null;function rc(l){return l.nodeType===9?l:l.ownerDocument}i(rc,"getOwnerDocumentFromRootContainer");function Wm(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(Wm,"getOwnHostContext");function Yy(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(Yy,"getChildHostContextProd");function Zo(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(Zo,"shouldSetTextContent");var lo=null;function Gp(){var l=window.event;return l&&l.type==="popstate"?l===lo?!1:(lo=l,!0):(lo=null,!1)}i(Gp,"shouldAttemptEagerTransition");var Gy=typeof setTimeout=="function"?setTimeout:void 0,Vp=typeof clearTimeout=="function"?clearTimeout:void 0,Fm=typeof Promise=="function"?Promise:void 0,Qp=typeof queueMicrotask=="function"?queueMicrotask:typeof Fm<"u"?function(l){return Fm.resolve(null).then(l).catch(Xp)}:Gy;function Xp(l){setTimeout(function(){throw l})}i(Xp,"handleErrorInNextTick");function Kt(l){return l==="head"}i(Kt,"isSingletonScope");function $m(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),gn(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")mu(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,mu(t);for(var u=t.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[ku]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&mu(l.ownerDocument.body);t=n}while(t);gn(e)}i($m,"clearHydrationBoundary");function Im(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(Im,"hideOrUnhideDehydratedBoundary");function Ko(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":Ko(t),as(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}i(Ko,"clearContainerSparingly");function jp(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[ku])switch(e){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(e==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=pe(l.nextSibling),l===null)break}return null}i(jp,"canHydrateInstance");function Lp(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=pe(l.nextSibling),l===null))return null;return l}i(Lp,"canHydrateTextInstance");function Vy(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=pe(l.nextSibling),l===null))return null;return l}i(Vy,"canHydrateHydrationBoundary");function Jo(l){return l.data==="$?"||l.data==="$~"}i(Jo,"isSuspenseInstancePending");function wo(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}i(wo,"isSuspenseInstanceFallback");function Zp(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(Zp,"registerSuspenseInstanceRetry");function pe(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(pe,"getNextHydratable");var Wo=null;function Pm(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return pe(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}i(Pm,"getNextHydratableInstanceAfterHydrationBoundary");function lh(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(lh,"getParentHydrationBoundary");function Qy(l,e,t){switch(e=rc(t),l){case"html":if(l=e.documentElement,!l)throw Error(b(452));return l;case"head":if(l=e.head,!l)throw Error(b(453));return l;case"body":if(l=e.body,!l)throw Error(b(454));return l;default:throw Error(b(451))}}i(Qy,"resolveSingletonInstance");function mu(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);as(l)}i(mu,"releaseSingletonInstance");var ge=new Map,eh=new Set;function dc(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}i(dc,"getHoistableRoot");var ft=Z.d;Z.d={f:Kp,r:Jp,D:wp,C:Wp,L:Fp,m:$p,X:Pp,S:Ip,M:lg};function Kp(){var l=ft.f(),e=Uc();return l||e}i(Kp,"flushSyncWork");function Jp(l){var e=Sn(l);e!==null&&e.tag===5&&e.type==="form"?B0(e):ft.r(l)}i(Jp,"requestFormReset");var En=typeof document>"u"?null:document;function Xy(l,e,t){var a=En;if(a&&typeof e=="string"&&e){var n=me(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),eh.has(n)||(eh.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Rl(e,"link",l),Ml(e),a.head.appendChild(e)))}}i(Xy,"preconnectAs");function wp(l){ft.D(l),Xy("dns-prefetch",l,null)}i(wp,"prefetchDNS");function Wp(l,e){ft.C(l,e),Xy("preconnect",l,e)}i(Wp,"preconnect");function Fp(l,e,t){ft.L(l,e,t);var a=En;if(a&&l&&e){var n='link[rel="preload"][as="'+me(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+me(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+me(t.imageSizes)+'"]')):n+='[href="'+me(l)+'"]';var u=n;switch(e){case"style":u=pn(l);break;case"script":u=Nn(l)}ge.has(u)||(l=ul({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),ge.set(u,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(Yu(u))||e==="script"&&a.querySelector(Gu(u))||(e=a.createElement("link"),Rl(e,"link",l),Ml(e),a.head.appendChild(e)))}}i(Fp,"preload");function $p(l,e){ft.m(l,e);var t=En;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+me(a)+'"][href="'+me(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Nn(l)}if(!ge.has(u)&&(l=ul({rel:"modulepreload",href:l},e),ge.set(u,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Gu(u)))return}a=t.createElement("link"),Rl(a,"link",l),Ml(a),t.head.appendChild(a)}}}i($p,"preloadModule");function Ip(l,e,t){ft.S(l,e,t);var a=En;if(a&&l){var n=ln(a).hoistableStyles,u=pn(l);e=e||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(Yu(u)))f.loading=5;else{l=ul({rel:"stylesheet",href:l,"data-precedence":e},t),(t=ge.get(u))&&Xs(l,t);var o=c=a.createElement("link");Ml(o),Rl(o,"link",l),o._p=new Promise(function(s,v){o.onload=s,o.onerror=v}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Yi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}i(Ip,"preinitStyle");function Pp(l,e){ft.X(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0},e),(e=ge.get(n))&&js(l,e),u=t.createElement("script"),Ml(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(Pp,"preinitScript");function lg(l,e){ft.M(l,e);var t=En;if(t&&l){var a=ln(t).hoistableScripts,n=Nn(l),u=a.get(n);u||(u=t.querySelector(Gu(n)),u||(l=ul({src:l,async:!0,type:"module"},e),(e=ge.get(n))&&js(l,e),u=t.createElement("script"),Ml(u),Rl(u,"link",l),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}i(lg,"preinitModuleScript");function th(l,e,t,a){var n=(n=kt.current)?dc(n):null;if(!n)throw Error(b(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=pn(t.href),t=ln(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=pn(t.href);var u=ln(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(Yu(l)))&&!u._p&&(c.instance=u,c.state.loading=5),ge.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},ge.set(l,t),u||eg(n,l,t,c.state))),e&&a===null)throw Error(b(528,""));return c}if(e&&a!==null)throw Error(b(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Nn(t),t=ln(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(b(444,l))}}i(th,"getResource");function pn(l){return'href="'+me(l)+'"'}i(pn,"getStyleKey");function Yu(l){return'link[rel="stylesheet"]['+l+"]"}i(Yu,"getStylesheetSelectorFromKey");function jy(l){return ul({},l,{"data-precedence":l.precedence,precedence:null})}i(jy,"stylesheetPropsFromRawProps");function eg(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Rl(e,"link",t),Ml(e),l.head.appendChild(e))}i(eg,"preloadStylesheet");function Nn(l){return'[src="'+me(l)+'"]'}i(Nn,"getScriptKey");function Gu(l){return"script[async]"+l}i(Gu,"getScriptSelectorFromKey");function ah(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+me(t.href)+'"]');if(a)return e.instance=a,Ml(a),a;var n=ul({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ml(a),Rl(a,"style",n),Yi(a,t.precedence,l),e.instance=a;case"stylesheet":n=pn(t.href);var u=l.querySelector(Yu(n));if(u)return e.state.loading|=4,e.instance=u,Ml(u),u;a=jy(t),(n=ge.get(n))&&Xs(a,n),u=(l.ownerDocument||l).createElement("link"),Ml(u);var c=u;return c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),e.state.loading|=4,Yi(u,t.precedence,l),e.instance=u;case"script":return u=Nn(t.src),(n=l.querySelector(Gu(u)))?(e.instance=n,Ml(n),n):(a=t,(n=ge.get(u))&&(a=ul({},t),js(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Ml(n),Rl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(b(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Yi(a,t.precedence,l));return e.instance}i(ah,"acquireResource");function Yi(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(Yi,"insertStylesheet");function Xs(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}i(Xs,"adoptPreloadPropsForStylesheet");function js(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}i(js,"adoptPreloadPropsForScript");var Gi=null;function nh(l,e,t){if(Gi===null){var a=new Map,n=Gi=new Map;n.set(t,a)}else n=Gi,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var u=t[n];if(!(u[ku]||u[Bl]||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(nh,"getHydratableHoistableCache");function uh(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}i(uh,"mountHoistable");function tg(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;return e.rel==="stylesheet"?(l=e.disabled,typeof e.precedence=="string"&&l==null):!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(tg,"isHostHoistableType");function Ly(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}i(Ly,"preloadResource");function ag(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=pn(a.href),u=e.querySelector(Yu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=mc.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=u,Ml(u);return}u=e.ownerDocument||e,a=jy(a),(n=ge.get(n))&&Xs(a,n),u=u.createElement("link"),Ml(u);var c=u;c._p=new Promise(function(f,o){c.onload=f,c.onerror=o}),Rl(u,"link",a),t.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=mc.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}i(ag,"suspendResource");var eo=0;function ng(l,e){return l.stylesheets&&l.count===0&&Vi(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Vi(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+e);0<l.imgBytes&&eo===0&&(eo=62500*Yp());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Vi(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>eo?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}i(ng,"waitForCommitToBeReady");function mc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}i(mc,"onUnsuspend");var hc=null;function Vi(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,hc=new Map,e.forEach(ug,l),hc=null,mc.call(l))}i(Vi,"insertSuspendedStylesheets");function ug(l,e){if(!(e.state.loading&4)){var t=hc.get(l);if(t)var a=t.get(null);else{t=new Map,hc.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=mc.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(ug,"insertStylesheetIntoRoot");var Nu={$$typeof:$e,Provider:null,Consumer:null,_currentValue:ia,_currentValue2:ia,_threadCount:0};function ig(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=Mf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mf(0),this.hiddenUpdates=Mf(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(ig,"FiberRootNode");function Zy(l,e,t,a,n,u,c,f,o,s,v,p){return l=new ig(l,e,t,c,o,s,v,p,f),e=1,u===!0&&(e|=24),u=Pl(3,null,null,e),l.current=u,u.stateNode=l,e=ys(),e.refCount++,l.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:e},gs(u),l}i(Zy,"createFiberRoot");function Ky(l){return l?(l=Fa,l):Fa}i(Ky,"getContextForSubtree");function Jy(l,e,t,a,n,u){n=Ky(n),a.context===null?a.context=n:a.pendingContext=n,a=Bt(e),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=xt(l,a,e),t!==null&&(wl(t,l,e),uu(t,l,e))}i(Jy,"updateContainerImpl");function ih(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}i(ih,"markRetryLaneImpl");function Ls(l,e){ih(l,e),(l=l.alternate)&&ih(l,e)}i(Ls,"markRetryLaneIfNotHydrated");function wy(l){if(l.tag===13||l.tag===31){var e=ba(l,67108864);e!==null&&wl(e,l,67108864),Ls(l,67108864)}}i(wy,"attemptContinuousHydration");function ch(l){if(l.tag===13||l.tag===31){var e=ne();e=es(e);var t=ba(l,e);t!==null&&wl(t,l,e),Ls(l,e)}}i(ch,"attemptHydrationAtCurrentPriority");var yc=!0;function cg(l,e,t,a){var n=C.T;C.T=null;var u=Z.p;try{Z.p=2,Zs(l,e,t,a)}finally{Z.p=u,C.T=n}}i(cg,"dispatchDiscreteEvent");function fg(l,e,t,a){var n=C.T;C.T=null;var u=Z.p;try{Z.p=8,Zs(l,e,t,a)}finally{Z.p=u,C.T=n}}i(fg,"dispatchContinuousEvent");function Zs(l,e,t,a){if(yc){var n=Fo(a);if(n===null)Pf(l,e,a,vc,t),fh(l,a);else if(sg(n,l,e,t,a))a.stopPropagation();else if(fh(l,a),e&4&&-1<og.indexOf(l)){for(;n!==null;){var u=Sn(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=aa(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}Re(u),(L&6)===0&&(uc=ee()+500,Ru(0,!1))}}break;case 31:case 13:f=ba(u,2),f!==null&&wl(f,u,2),Uc(),Ls(u,2)}if(u=Fo(a),u===null&&Pf(l,e,a,vc,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else Pf(l,e,a,null,t)}}i(Zs,"dispatchEvent");function Fo(l){return l=us(l),Ks(l)}i(Fo,"findInstanceBlockingEvent");var vc=null;function Ks(l){if(vc=null,l=La(l),l!==null){var e=Ou(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=yh(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 vc=l,null}i(Ks,"findInstanceBlockingTarget");function Wy(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(Fv()){case bh:return 2;case Sh:return 8;case Zi:case $v:return 32;case zh:return 268435456;default:return 32}default:return 32}}i(Wy,"getEventPriority");var $o=!1,Yt=null,Gt=null,Vt=null,_u=new Map,Mu=new Map,_t=[],og="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function fh(l,e){switch(l){case"focusin":case"focusout":Yt=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Vt=null;break;case"pointerover":case"pointerout":_u.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mu.delete(e.pointerId)}}i(fh,"clearIfContinuousEvent");function wn(l,e,t,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=Sn(e),e!==null&&wy(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}i(wn,"accumulateOrCreateContinuousQueuedReplayableEvent");function sg(l,e,t,a,n){switch(e){case"focusin":return Yt=wn(Yt,l,e,t,a,n),!0;case"dragenter":return Gt=wn(Gt,l,e,t,a,n),!0;case"mouseover":return Vt=wn(Vt,l,e,t,a,n),!0;case"pointerover":var u=n.pointerId;return _u.set(u,wn(_u.get(u)||null,l,e,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Mu.set(u,wn(Mu.get(u)||null,l,e,t,a,n)),!0}return!1}i(sg,"queueIfContinuousEvent");function Fy(l){var e=La(l.target);if(e!==null){var t=Ou(e);if(t!==null){if(e=t.tag,e===13){if(e=hh(t),e!==null){l.blockedOn=e,Zd(l.priority,function(){ch(t)});return}}else if(e===31){if(e=yh(t),e!==null){l.blockedOn=e,Zd(l.priority,function(){ch(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(Fy,"attemptExplicitHydrationTarget");function Qi(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=Fo(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);yo=a,t.target.dispatchEvent(a),yo=null}else return e=Sn(t),e!==null&&wy(e),l.blockedOn=t,!1;e.shift()}return!0}i(Qi,"attemptReplayContinuousQueuedEvent");function oh(l,e,t){Qi(l)&&t.delete(e)}i(oh,"attemptReplayContinuousQueuedEventInMap");function rg(){$o=!1,Yt!==null&&Qi(Yt)&&(Yt=null),Gt!==null&&Qi(Gt)&&(Gt=null),Vt!==null&&Qi(Vt)&&(Vt=null),_u.forEach(oh),Mu.forEach(oh)}i(rg,"replayUnblockedEvents");function Ni(l,e){l.blockedOn===e&&(l.blockedOn=null,$o||($o=!0,Tl.unstable_scheduleCallback(Tl.unstable_NormalPriority,rg)))}i(Ni,"scheduleCallbackIfUnblocked");var _i=null;function sh(l){_i!==l&&(_i=l,Tl.unstable_scheduleCallback(Tl.unstable_NormalPriority,function(){_i===l&&(_i=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(Ks(a||t)===null)continue;break}var u=Sn(t);u!==null&&(l.splice(e,3),e-=3,Co(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}i(sh,"scheduleReplayQueueIfNeeded");function gn(l){function e(o){return Ni(o,l)}i(e,"unblock"),Yt!==null&&Ni(Yt,l),Gt!==null&&Ni(Gt,l),Vt!==null&&Ni(Vt,l),_u.forEach(e),Mu.forEach(e);for(var t=0;t<_t.length;t++){var a=_t[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<_t.length&&(t=_t[0],t.blockedOn===null);)Fy(t),t.blockedOn===null&&_t.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[Wl]||null;if(typeof u=="function")c||sh(t);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Wl]||null)f=c.formAction;else if(Ks(n)!==null)continue}else f=c.action;typeof f=="function"?t[a+1]=f:(t.splice(a,3),a-=3),sh(t)}}}i(gn,"retryIfBlockedOn");function $y(){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($y,"defaultOnDefaultTransitionIndicator");function Js(l){this._internalRoot=l}i(Js,"ReactDOMRoot");kc.prototype.render=Js.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(b(409));var t=e.current,a=ne();Jy(t,a,l,e,null,null)};kc.prototype.unmount=Js.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;Jy(l.current,2,null,l,null,null),Uc(),e[bn]=null}};function kc(l){this._internalRoot=l}i(kc,"ReactDOMHydrationRoot");kc.prototype.unstable_scheduleHydration=function(l){if(l){var e=_h();l={blockedOn:null,target:l,priority:e};for(var t=0;t<_t.length&&e!==0&&e<_t[t].priority;t++);_t.splice(t,0,l),t===0&&Fy(l)}};var rh=dh.version;if(rh!=="19.2.0")throw Error(b(527,rh,"19.2.0"));Z.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(b(188)):(l=Object.keys(l).join(","),Error(b(268,l)));return l=jv(e),l=l!==null?vh(l):null,l=l===null?null:l.stateNode,l};var dg={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Wn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Wn.isDisabled&&Wn.supportsFiber))try{Uu=Wn.inject(dg),te=Wn}catch{}var Wn;Hc.createRoot=function(l,e){if(!mh(l))throw Error(b(299));var t=!1,a="",n=X0,u=j0,c=L0;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=Zy(l,1,!1,null,null,t,a,null,n,u,c,$y),l[bn]=e.current,Qs(l),new Js(e)};Hc.hydrateRoot=function(l,e,t){if(!mh(l))throw Error(b(299));var a=!1,n="",u=X0,c=j0,f=L0,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=Zy(l,1,!0,e,t??null,a,n,o,u,c,f,$y),e.context=Ky(null),t=e.current,a=ne(),a=es(a),n=Bt(a),n.callback=null,xt(t,n,a),t=a,e.current.lanes=t,Cu(e,t),Re(e),l[bn]=e.current,Qs(l),new kc(e)};Hc.version="19.2.0"});var ev=Ku((ib,lv)=>{"use strict";function Py(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Py)}catch(l){console.error(l)}}i(Py,"checkDCE");Py(),lv.exports=Iy()});var Wc="sekyro-verification",Fc=[{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."}],gg=[{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."}],_r=[{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 }`)."}];import{createVerification as mg}from"@sekyro/web";var $c=Q(Gl(),1);var Cl={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Geist Fallback", "Sekyro Geist Fallback Roboto", "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'},Rn={colors:{...Cl.light},radius:Cl.radiusLg,fontFamily:Cl.font},Mr={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 Ur(l={}){let e={};for(let t of Object.keys(Mr))e[Mr[t]]=l.colors?.[t]??Rn.colors[t];return e["--sekyro-radius"]=l.radius??Rn.radius,e["--sekyro-font"]=l.fontFamily??Rn.fontFamily,e}i(Ur,"S");T(Ur,"themeToCssVars");var ov=/^#[0-9a-f]{6}$/i,sv=["brand","brandFg","bg","surface","fg","fgMuted"],rv=["danger","success","warning"],Or=!1;function $u(l){let e=l?.colors;if(l===void 0||e===void 0||!rv.some(c=>c in e))return l;!Or&&or()&&(Or=!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($u,"p");T($u,"stripDeprecatedStatusColors");var dv={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},mv={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function Iu(l){let e={};if(!l)return e;let t={},a=l.colors??{};for(let c of sv){let f=a[c];f!==void 0&&ov.test(f)&&(t[c]=f)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(e.colors=t);let n=dv[l.radius];n&&(e.radius=n);let u=mv[l.fontFamily];return u!==void 0&&(e.fontFamily=u?`${u}, ${Rn.fontFamily}`:Rn.fontFamily),e}i(Iu,"x");T(Iu,"brandingToTheme");function Pu(...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(Pu,"I");T(Pu,"mergeThemes");function Ic({theme:l,children:e,className:t}){return(0,$c.jsx)(li,{theme:$u(l),...t!==void 0?{className:t}:{},children:e})}i(Ic,"C");T(Ic,"SekyroThemeProvider");function li({theme:l,children:e,className:t}){let a=Ur(l);return(0,$c.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:e})}i(li,"R");T(li,"SekyroThemeRoot");var Yn=Q(Sl(),1),kl=Q(Sl(),1),D=Q(Gl(),1),vt=Q(Sl(),1),Ge=Q(Gl(),1),pt=Q(Sl(),1),Ve=Q(Gl(),1),jr=Q(Sl(),1),Ca=Q(Gl(),1),ka=Q(Sl(),1),P=Q(Gl(),1),ce=Q(Sl(),1),Xe=Q(Sl(),1),El=Q(Gl(),1),ze=Q(Gl(),1),Nl=Q(Sl(),1),J=Q(Gl(),1),gt=Q(Sl(),1),Oe=Q(Gl(),1),bt=Q(Sl(),1),Ue=Q(Gl(),1),k=Q(Sl(),1),ai=Q(Sl(),1),yt=Q(Sl(),1),De=Q(Gl(),1),Qe=Q(Gl(),1),ad=Q(Sl(),1),Ba=Q(Sl(),1),F=Q(Gl(),1),z=Q(Gl(),1),Gn=Q(Sl(),1),la=Q(Gl(),1);import{isValidNni as Sv,normalizeNni as kr}from"@sekyro/web";import{acceptedIssuers as Ev,acceptedTypesFor as Hr,warmDocumentCapture as Nv}from"@sekyro/web";import{acceptedIssuers as _v,acceptedTypesFor as Pc}from"@sekyro/web";import{warmPortraitCapture as Uv}from"@sekyro/web";import{cameraUnavailableCauseOf as Bv}from"@sekyro/web";function Yr(l){let[e,t]=(0,Yn.useState)(()=>l?.currentStep?.()??null),[a,n]=(0,Yn.useState)(null);return(0,Yn.useEffect)(()=>{if(l===void 0)return;if(typeof l.run!="function"){n(new Error("The step components need @sekyro/web 0.2 or later (Verification.run)."));return}let u=!0,c=l.on("step",f=>{u&&t(f)});return l.run().then(f=>{u&&t(o=>o??f)},f=>{u&&n(f)}),()=>{u=!1,c()}},[l]),{step:e,error:a}}i(Yr,"at");T(Yr,"useVerificationStep");var Dr=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,yv=30,vv=T(l=>`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,"mmss"),pv=["whatsapp","sms"],Cr=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 Gr(l){let e=[];for(let t of l.phoneCountries??["MR"]){let a=l.phoneRules?.find(u=>u.code===t),n=a?.dial??br(t);n!==void 0&&!e.some(u=>u.code===t)&&e.push({code:t,dial:`+${n}`,...a!==void 0?{rule:a}:{}})}return e}i(Gr,"an");T(Gr,"phoneCountriesOf");function Vr({step:l,locale:e,strings:t,className:a,defaultPhone:n,onError:u}){let c=Ul(e,t),{t:f}=c,o=(0,kl.useMemo)(()=>Gr(l),[l.phoneCountries,l.phoneRules]),s=n??o[0]?.dial??"",v=l.phoneInternational===!0,p=zr({countries:o,international:v,closed:!!l.phoneRules?.length,defaultPhone:s}),[m,h]=(0,kl.useState)(""),[S,E]=(0,kl.useState)(!1),[O,d]=(0,kl.useState)(null),[r,y]=(0,kl.useState)(null),[g,A]=(0,kl.useState)(!1),[x,N]=(0,kl.useState)(null),M=(0,kl.useRef)(null),U=l.phase==="verify"&&!g,R=l.phase==="verify",Xl=Nr(R),[Ma,Qu]=Ar(l.reason==="otp_mismatch",l.attemptsRemaining,()=>h("")),jl=(0,kl.useId)(),wt=(0,kl.useRef)(null);(0,kl.useEffect)(()=>{let K=setTimeout(()=>wt.current?.focus({preventScroll:!0}),350);return()=>clearTimeout(K)},[U]);let Oa=l.phase==="verify"?l.codeExpiresAt??"sent":null;(0,kl.useEffect)(()=>{Oa!==null&&(A(!1),M.current!==null&&!Cr.has(l.reason??"")&&N(M.current),M.current=null)},[Oa]);let Dn=T(async K=>{E(!0),y(null);try{await K()}catch(_){y(qn(_,c.strings)),u?.(_)}finally{E(!1),d(null)}},"run"),be=pv.filter(K=>(l.channels??[]).includes(K)),Cn=p.typed,rt=!l.needsPhone||Cn!==null,Wt=T((K,_=!1)=>{let el=l.needsPhone?_?x:{number:Cn??p.phone,shown:p.shown}:null;M.current=el,d(K??null),Dn(async()=>{try{await l.send({...el!==null?{phone:el.number}:{},...K!==void 0?{channel:K}:{}})}catch(Me){throw M.current=null,Me}})},"send"),Xu=T(K=>{Dn(()=>l.verify(K))},"submitCode"),ju=T(K=>{K.preventDefault(),U?Xu(m):be.length<=1&&rt&&Wt(be[0])},"onSubmit"),kn=`${jl}-phone`,dt=Dr(l.codeExpiresAt,Xl,hv),mt=Dr(l.resendAvailableAt,Xl,yv),Ft=U&&l.codeExpiresAt!==void 0&&dt===0,$t=l.needsPhone&&!l.attemptsExhausted,Hn=R&&(l.codeExpiresAt===void 0||dt>0),Yl=U&&$t?()=>A(!0):g&&Hn?()=>A(!1):null;jc(Yl===null?null:S?()=>{}:Yl);let ht=T(K=>f(K==="whatsapp"?"otp.channelWhatsapp":"otp.channelSms"),"label"),Lu=T(K=>S&&O!==null&&O===K,"busyFor"),[il,Ua]=f("otp.sentTo",{channel:ht(l.channel)}).split("{number}"),Bn=l.context.simulation?.otpCode,Zu=l.reason==="otp_mismatch"?(0,D.jsxs)(Al,{tone:"danger",children:[(0,D.jsx)("span",{children:f("otp.reason_otp_mismatch")}),(0,D.jsx)("span",{children:Kc(c,l.attemptsRemaining,l.attemptsExhausted)})]}):l.reason!==void 0&&Cr.has(l.reason)?(0,D.jsx)(Al,{tone:"warning",children:(0,D.jsx)("span",{children:f(`otp.reason_${l.reason}`)})}):l.reason==="tester_phone_mismatch"?(0,D.jsx)(Al,{tone:"warning",children:(0,D.jsx)("span",{children:f("reasons.tester_phone_mismatch")})}):null,xn=(0,D.jsxs)(D.Fragment,{children:[Zu,r!==null?(0,D.jsx)(Al,{tone:"danger",children:(0,D.jsx)("span",{children:f(r)})}):null]});if(U){let K=be.length===0;return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(It,{id:jl,title:f("otp.verifyTitle"),lead:Bn!==void 0?(0,D.jsx)(nr,{template:f("sandbox.otpHint"),code:Bn}):(0,D.jsxs)(D.Fragment,{children:[il,(0,D.jsx)("bdi",{dir:"ltr",className:"sekyro-mono",children:x?.shown??l.sentToMasked}),Ua]})}),xn,(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:`${jl}-code`,children:f("otp.codeLabel")}),(0,D.jsx)(Er,{id:`${jl}-code`,value:m,invalid:Ma,onChange:i(_=>{_!==""&&Qu(),h(_),_.length===6&&m.length!==6&&!S&&!l.attemptsExhausted&&Xu(_)},"onChange")}),(0,D.jsx)("span",{className:`sekyro-help sekyro-otp-expiry${Ft?" is-danger":""}`,"aria-hidden":!Ft||void 0,children:Ft?f("otp.expired"):f("otp.expiresIn",{time:vv(dt)})})]}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:Ft?f("otp.expired"):""}),(0,D.jsxs)(Pt,{children:[(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||m.length!==6||l.attemptsExhausted,"aria-busy":S||void 0,children:f("otp.verify")}),(0,D.jsxs)("div",{className:"sekyro-resend-row",children:[K?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S||mt>0,onClick:i(()=>Wt(void 0,!0),"onClick"),children:mt>0?f("otp.resendIn",{seconds:mt}):f("otp.resend")}):mt>0?(0,D.jsx)("p",{className:"sekyro-resend is-waiting",children:f("otp.resendIn",{seconds:mt})}):be.map(_=>(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>Wt(_,!0),"onClick"),children:f("otp.resendBy",{channel:ht(_)})},_)),$t?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!0),"onClick"),"data-testid":"sekyro-otp-change",children:f("otp.changeNumber")}):null]})]})]})}return(0,D.jsxs)("form",{className:`sekyro-step sekyro-otp${a?` ${a}`:""}`,"aria-labelledby":jl,onSubmit:ju,noValidate:!0,children:[(0,D.jsx)(It,{id:jl,title:f("otp.sendTitle"),lead:f("otp.sendDescription")}),xn,l.needsPhone?(0,D.jsxs)("div",{className:"sekyro-field",children:[(0,D.jsx)("label",{className:"sekyro-label",htmlFor:kn,children:f("otp.phoneLabel")}),(0,D.jsx)(Tr,{field:p,id:kn,locale:c.locale,t:f,inputRef:wt,ready:rt})]}):(0,D.jsx)("p",{className:"sekyro-text-muted",children:f("otp.prefilledNotice")}),(0,D.jsxs)(Pt,{children:[be.length===1?(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!rt,"aria-busy":Lu(be[0])||void 0,children:f("otp.sendBy",{channel:ht(be[0])})}):be.length>1?(0,D.jsxs)("div",{className:"sekyro-actions__group",role:"group","aria-label":f("otp.chooseChannel"),children:[(0,D.jsx)("p",{className:"sekyro-label","aria-hidden":"true",children:f("otp.chooseChannel")}),(0,D.jsx)("div",{className:"sekyro-channel-row",children:be.map(K=>(0,D.jsxs)(cl,{kind:"primary",disabled:S||!rt,"aria-busy":Lu(K)||void 0,onClick:i(()=>Wt(K),"onClick"),children:[(0,D.jsx)(Se,{name:K}),ht(K)]},K))})]}):(0,D.jsx)(cl,{type:"submit",full:!0,disabled:S||!rt,"aria-busy":S||void 0,children:f("otp.send")}),(0,D.jsx)("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:S&&O!==null?f("otp.sending",{channel:ht(O)}):""}),g&&Hn?(0,D.jsx)("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:S,onClick:i(()=>A(!1),"onClick"),"data-testid":"sekyro-otp-back-to-code",children:f("otp.backToCode")}):null]})]})}i(Vr,"lt");T(Vr,"PhoneOtpStep");var gv={load:T(()=>import("./email-otp-view-6MD74OFN-WVIWSE4A.js"),"load")};function Qr({locale:l,strings:e,...t}){let a=Ul(l,e),[n,u]=(0,vt.useState)(0),c=(0,vt.useMemo)(()=>(0,vt.lazy)(()=>gv.load().then(o=>({default:o.EmailOtpView}))),[n]),f=(0,Ge.jsxs)(Al,{tone:"danger",children:[(0,Ge.jsx)("span",{children:a.t("errors.network_error")}),(0,Ge.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Ge.jsx)(Da,{fallback:f,children:(0,Ge.jsx)(vt.Suspense,{fallback:(0,Ge.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Ge.jsx)(c,{...t,i18n:a})})},n)}i(Qr,"ct");T(Qr,"EmailOtpStep");var bv={load:T(()=>import("./eid-view-3QTJORA7-TLA52WL7.js"),"load")};function Xr({locale:l,strings:e,...t}){let a=Ul(l,e),[n,u]=(0,pt.useState)(0),c=(0,pt.useMemo)(()=>(0,pt.lazy)(()=>bv.load().then(o=>({default:o.EidView}))),[n]),f=(0,Ve.jsxs)(Al,{tone:"danger",children:[(0,Ve.jsx)("span",{children:a.t("errors.network_error")}),(0,Ve.jsx)(cl,{kind:"secondary",onClick:i(()=>u(o=>o+1),"onClick"),children:a.t("common.retry")})]});return(0,Ve.jsx)(Da,{fallback:f,children:(0,Ve.jsx)(pt.Suspense,{fallback:(0,Ve.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:a.t("common.loading")}),children:(0,Ve.jsx)(c,{...t,i18n:a})})},n)}i(Xr,"ut");T(Xr,"EidStep");function Lr({step:l,locale:e,strings:t,className:a,onError:n}){let u=Ul(e,t),{busy:c,error:f,run:o}=hr(u,n),s=(0,jr.useMemo)(()=>l.choice.options.flatMap(p=>{let m=mr(p,u),h=dr[p.service];return m===null?[]:[{id:p.id,label:m,glyph:h&&(0,Ca.jsx)(Se,{name:h})}]}),[l.choice.options,u]),v=l.choice.options.find(p=>p.service==="national_eid");return(0,Ca.jsxs)("div",{className:a,children:[(0,Ca.jsx)(fr,{title:u.t("method.heading"),description:u.t("method.description"),options:s,busy:c,error:f,focus:!0,testId:"sekyro-method",onChoose:i(p=>o(()=>l.choose(p)),"onChoose")}),v?.nationalEid?.afterPass==="continue"?(0,Ca.jsx)(Dl,{view:"EidContinueHint",i18n:u,provider:v.nationalEid.providerName,quiet:!0}):null]})}i(Lr,"pt");T(Lr,"MethodChoice");var zv=new Set(["nni_not_found","registry_record_not_found"]),Tv=new Set(["nni_invalid","id_number_invalid"]);function uf({step:l,locale:e,strings:t,className:a,onError:n}){let u=Ul(e,t),{t:c}=u,[f,o]=(0,ka.useState)(""),[s,v]=(0,ka.useState)(!1),[p,m]=(0,ka.useState)(null),h=(0,ka.useId)(),S=l.attemptsExhausted,E=T(async M=>{v(!0),m(null);try{await M()}catch(U){m(qn(U,u.strings)),n?.(U)}finally{v(!1)}},"run"),O=T(M=>{if(M.preventDefault(),l.source!=="typed"){E(()=>l.confirm());return}let U=kr(f);if(!/^\d{10}$/.test(U))return m("population.invalid");if(!Sv(U))return m("population.reason_id_number_invalid");E(()=>typeof l.submitIdNumber=="function"?l.submitIdNumber(U):l.submitNni(U))},"onSubmit"),d=Kc(u,l.attemptsRemaining,S),r=l.reason!==void 0&&zv.has(l.reason),y=l.reason!==void 0&&Tv.has(l.reason),g=(0,P.jsxs)(P.Fragment,{children:[l.reason==="registry_unavailable"?(0,P.jsxs)(Al,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_unavailable")}),(0,P.jsx)("span",{children:d})]}):null,r&&l.canUseDocument?(0,P.jsxs)(Al,{tone:"warning",children:[(0,P.jsx)("span",{children:c("population.reason_registry_record_not_found_or_document")}),(0,P.jsx)("span",{children:d}),(0,P.jsx)(cl,{kind:"secondary",disabled:s,onClick:i(()=>{E(()=>l.useDocument())},"onClick"),children:c("population.useDocument")})]}):null,r&&!l.canUseDocument||y?(0,P.jsxs)(Al,{tone:"danger",children:[(0,P.jsx)("span",{children:c(r?"population.reason_registry_record_not_found":"population.reason_id_number_invalid")}),(0,P.jsx)("span",{children:d})]}):null,S&&l.reason===void 0?(0,P.jsx)(Al,{tone:"danger",children:(0,P.jsx)("span",{children:d})}):null,p!==null?(0,P.jsx)(Al,{tone:"danger",children:(0,P.jsx)("span",{children:c(p)})}):null]}),[A,x,N]=l.source==="document"?["population.fromDocument.title","population.fromDocument.description","population.fromDocument.continue"]:l.source==="bound"?["session.steps.population.title","population.bound.description","population.bound.confirm"]:l.recheck?["population.recheck.title","population.recheck.description","population.submit"]:["session.steps.population.title","session.steps.population.description","population.submit"];return(0,P.jsxs)("form",{className:`sekyro-step${a?` ${a}`:""}`,"aria-labelledby":h,onSubmit:O,noValidate:!0,children:[(0,P.jsx)(It,{id:h,title:c(A),lead:c(x)}),g,l.source==="typed"?(0,P.jsxs)("div",{className:"sekyro-field",children:[(0,P.jsx)("label",{className:"sekyro-label",htmlFor:`${h}-id-number`,children:c("population.label")}),(0,P.jsx)("input",{id:`${h}-id-number`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:c("population.placeholder"),value:f,"aria-describedby":`${h}-id-number-help`,"aria-invalid":p==="population.invalid"||p==="population.reason_id_number_invalid"||void 0,onChange:i(M=>{m(null),o(kr(M.target.value).replace(/\D/g,"").slice(0,10))},"onChange")}),(0,P.jsx)("span",{id:`${h}-id-number-help`,className:"sekyro-help",children:c("population.helper")})]}):null,(0,P.jsx)(Pt,{children:S?null:(0,P.jsx)(cl,{type:"submit",full:!0,disabled:s,"aria-busy":s||void 0,children:c(N)})})]})}i(uf,"Ze");T(uf,"IdNumberEntry");function Av(l){return uf(l)}i(Av,"Pn");T(Av,"NniEntry");var Mv=220;function Zr(l,e,t=[],a){let n=null;try{n=new Intl.DisplayNames([l],{type:"region"})}catch{}let u=e.map(o=>({code:o,name:n?.of(o)??o})),c=new Intl.Collator(l),f=T(o=>{if(o===a)return-1;let s=t.indexOf(o);return s<0?t.length:s},"rank");return u.sort((o,s)=>f(o.code)-f(s.code)||c.compare(o.name,s.name))}i(Zr,"En");T(Zr,"countryNames");function Kr({step:l,i18n:e,issuer:t,onPicked:a,ageStepUp:n=!1}){let{t:u,locale:c}=e,f=(0,Xe.useMemo)(()=>_v(l.documents),[l.documents]),o=(0,Xe.useMemo)(()=>Zr(c,f,Object.keys(l.documents.byIssuer??{}),l.detectedCountry),[c,f,l.documents,l.detectedCountry]),s=f.length===1?f[0]:null,[v,p]=(0,Xe.useState)(t??s),[m,h]=(0,Xe.useState)(null),S=s===null?[]:Pc(l.documents,s),E=s!==null&&S.length===1?S[0]:null;(0,Xe.useEffect)(()=>{s!==null&&E!==null&&l.selectDocument(s,E)},[s,E]);let O=T((y,g)=>{l.selectDocument(y,g),a?.()},"pick"),d=T(y=>{let g=Pc(l.documents,y);g.length===1?O(y,g[0]):p(y)},"chooseIssuer");if((0,Xe.useEffect)(()=>{if(m===null||v===null)return;let y=setTimeout(()=>O(v,m),Mv);return()=>clearTimeout(y)},[m]),jc(v!==null&&f.length>1&&t===void 0?()=>{p(null),h(null)}:null),E!==null)return null;if(v===null)return(0,El.jsxs)("section",{className:"sekyro-step",children:[(0,El.jsx)(It,{title:u("doc.countryTitle"),lead:u(n?"doc.ageStepUp":"doc.pickDescription")}),(0,El.jsx)(Sr,{countries:o,label:u("doc.countryLabel"),searchPlaceholder:u("doc.countrySearch"),noMatch:u("doc.noCountryMatch"),onPick:d}),(0,El.jsx)(Pt,{children:null})]});let r=Pc(l.documents,v);return(0,El.jsxs)("section",{className:"sekyro-step",children:[(0,El.jsx)(It,{title:u("doc.pickTitle"),lead:u(n&&s!==null?"doc.ageStepUp":"native.doc.holdIt")}),(0,El.jsx)("div",{className:"sekyro-choices",children:r.map(y=>(0,El.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":m===y,disabled:m!==null&&m!==y,onClick:i(()=>h(y),"onClick"),children:[(0,El.jsx)("span",{className:"sekyro-card__tile",children:(0,El.jsx)(Se,{name:y==="passport"?"passport":"card"})}),(0,El.jsxs)("span",{className:"sekyro-card__body",children:[(0,El.jsx)("span",{className:"sekyro-card__title",children:u(`doc.type.${y}`)}),(0,El.jsx)("span",{className:"sekyro-card__sub",children:u(`doc.sub.${y}`)})]}),(0,El.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},y))}),f.length>1?(0,El.jsx)("button",{type:"button",className:"sekyro-link",onClick:i(()=>{p(null),h(null)},"onClick"),children:u("native.doc.changeCountry")}):null,(0,El.jsx)(Pt,{children:null})]})}i(Kr,"ho");T(Kr,"DocumentPicker");var Ov={load:T(()=>import("./document-capture-view-QMXAAYA2-62JPLXV7.js"),"load")};function Jr({step:l,locale:e,strings:t,className:a,liveMrz:n,barcodeAssetBaseUrl:u}){let c=Ul(e,t),[f,o]=(0,ce.useState)(0),[s,v]=(0,ce.useState)(null),p=Ev(l.documents),m=p.length>1,h=l.issuer!==null&&Hr(l.documents,l.issuer).length>1,S=l.documentType===null||l.issuer===null||s!==null,E=p.length===1&&Hr(l.documents,p[0]).length===1,[O]=(0,ce.useState)(()=>S&&!E),d=l.ageStepUp===!0,r=(0,ce.useMemo)(()=>(0,ce.lazy)(()=>Ov.load().then(g=>({default:g.DocumentCaptureView}))),[f]);(0,ce.useEffect)(()=>{Nv()},[]);let y=(0,ze.jsxs)(Al,{tone:"danger",children:[(0,ze.jsx)("span",{children:c.t("errors.network_error")}),(0,ze.jsx)(cl,{kind:"secondary",onClick:i(()=>o(g=>g+1),"onClick"),children:c.t("doc.retryCamera")})]});return(0,ze.jsx)("div",{className:a,children:S?(0,ze.jsx)(Kr,{step:l,i18n:c,ageStepUp:d&&s===null&&O,...s==="document"&&l.issuer!==null?{issuer:l.issuer}:{},onPicked:i(()=>v(null),"onPicked")}):(0,ze.jsx)(Da,{fallback:y,children:(0,ze.jsx)(ce.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:d&&!O,liveMrz:l.documentType==="drivers_license"?void 0:n,barcodeAssetBaseUrl:u,...m?{onChangeCountry:T(()=>v("country"),"onChangeCountry")}:{},...h?{onChangeDocument:T(()=>v("document"),"onChangeDocument")}:{}})})},f)})}i(Jr,"gt");T(Jr,"DocumentCapture");var Dv={load:T(()=>import("./portrait-capture-view-6EUUL2QA-ZTAGMPU2.js"),"load")},Cv={load:T(()=>import("./portrait-review-view-TTVTYGLG-HVTGBDRR.js"),"load")},Ha,wr=(Ha=class extends Nl.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(Ha,"St"),Ha);T(wr,"LoadBoundary");var Br=wr;function Wr({step:l,i18n:e}){let{t}=e,a=Ju();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)(Al,{tone:"danger",children:[(0,J.jsx)("span",{children:t("portrait.uploadFailed")}),(0,J.jsx)(cl,{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(Wr,"Gn");T(Wr,"MatchPhase");function Fr({step:l,locale:e,strings:t,className:a,assetBaseUrl:n,verification:u}){let c=Ul(e,t),f=sr(u),o=(0,Nl.useContext)(Zc),[s,v]=(0,Nl.useState)(0),[p,m]=(0,Nl.useState)(null),h=(0,Nl.useMemo)(()=>(0,Nl.lazy)(()=>Dv.load().then(N=>({default:N.PortraitCaptureView}))),[s]),S=(0,Nl.useMemo)(()=>(0,Nl.lazy)(()=>Cv.load().then(N=>({default:N.PortraitScreens}))),[s]),E=typeof l.uploadPortrait=="function",O=E?l.photo?.source??"camera":"camera",d=E&&O!=="camera"&&l.photo?.uploadOffered===!0,r=O!=="upload",y=O==="upload"?"upload":O==="choice"?p??l.photo?.pick??"source":"camera",g=l.phase==="capture"&&l.photo?.cameraOnPhone===!0;if((0,Nl.useEffect)(()=>{l.phase==="capture"&&y==="camera"&&!g&&Uv()},[l.phase,y,g]),l.phase==="match")return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(Wr,{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"&&y==="camera")return(0,J.jsxs)("section",{className:`sekyro-step${a?` ${a}`:""}`,children:[(0,J.jsx)(It,{title:c.t("session.steps.portrait.title")}),(0,J.jsx)(Pt,{children:(0,J.jsx)(cl,{kind:"secondary",full:!0,disabled:o.busy,onClick:o.reset,children:c.t("portrait.retryCamera")})})]});if(l.phase==="review"||y!=="camera"||g)return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(Br,{fallback:(0,J.jsx)(cl,{kind:"ghost",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("common.retry")}),children:(0,J.jsx)(Nl.Suspense,{fallback:A,children:(0,J.jsx)(S,{screen:l.phase==="review"?"review":g&&y==="camera"?"phone":y==="camera"?"review":y,step:l,i18n:c,...r?{onCamera:T(()=>m("camera"),"onCamera")}:{},onUpload:i(()=>m("upload"),"onUpload"),onDeclined:i(()=>m(null),"onDeclined")})})},s)});if(!f.settled)return(0,J.jsx)("div",{className:a,children:A});let x=(0,J.jsxs)(Al,{tone:"danger",children:[(0,J.jsx)("span",{children:c.t("errors.network_error")}),(0,J.jsx)(cl,{kind:"secondary",onClick:i(()=>v(N=>N+1),"onClick"),children:c.t("portrait.retryCamera")})]});return(0,J.jsx)("div",{className:a,children:(0,J.jsx)(Br,{fallback:x,children:(0,J.jsx)(Nl.Suspense,{fallback:A,children:(0,J.jsx)(h,{step:l,i18n:c,...n!==void 0?{assetBaseUrl:n}:{},...d?{onUpload:T(()=>m("upload"),"onUpload")}:{}})})},s)})}i(Fr,"kt");T(Fr,"PortraitCapture");var kv={load:T(()=>import("./proof-of-address-view-5WWGRXJL-3BWMP23I.js"),"load")};function $r({step:l,locale:e,strings:t,className:a}){let n=Ul(e,t),[u,c]=(0,gt.useState)(0),f=(0,gt.useMemo)(()=>(0,gt.lazy)(()=>kv.load().then(s=>({default:s.ProofOfAddressView}))),[u]),o=(0,Oe.jsxs)(Al,{tone:"danger",children:[(0,Oe.jsx)("span",{children:n.t("errors.network_error")}),(0,Oe.jsx)(cl,{kind:"secondary",onClick:i(()=>c(s=>s+1),"onClick"),children:n.t("common.retry")})]});return(0,Oe.jsx)("div",{className:a,children:(0,Oe.jsx)(Da,{fallback:o,children:(0,Oe.jsx)(gt.Suspense,{fallback:(0,Oe.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:n.t("common.loading")}),children:(0,Oe.jsx)(f,{step:l,i18n:n})})},u)})}i($r,"ht");T($r,"ProofOfAddress");var Hv={load:T(()=>import("./form-view-YAGVGWMI-CWM5GSJJ.js"),"load")};function Ir({step:l,locale:e,strings:t,className:a,onError:n}){let u=Ul(e,t),[c,f]=(0,bt.useState)(0),o=(0,bt.useMemo)(()=>(0,bt.lazy)(()=>Hv.load().then(v=>({default:v.FormView}))),[c]),s=(0,Ue.jsxs)(Al,{tone:"danger",children:[(0,Ue.jsx)("span",{children:u.t("errors.network_error")}),(0,Ue.jsx)(cl,{kind:"secondary",onClick:i(()=>f(v=>v+1),"onClick"),children:u.t("common.retry")})]});return(0,Ue.jsx)("div",{className:a,children:(0,Ue.jsx)(Da,{fallback:s,children:(0,Ue.jsx)(bt.Suspense,{fallback:(0,Ue.jsx)("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:u.t("common.loading")}),children:(0,Ue.jsx)(o,{step:l,i18n:u,...n!==void 0?{onError:n}:{}})})},c)})}i(Ir,"bt");T(Ir,"FormStep");var xr={light:{lineBrand:"#0d3b66",successSoft:"#d5f0e8",successFg:"#005341",onSuccess:"#ffffff",warningSoft:"#fff7e6",warningFg:"#735003",onWarning:"#191a1b",dangerSoft:"#ffdada",dangerFg:"#ca0f07",onDanger:"#ffffff",info:"#0563d4",infoSoft:"#d3e5ff",infoFg:"#064da5",onInfo:"#ffffff"},dark:{lineBrand:"#3f80bf",successSoft:"#002c23",successFg:"#53ffd4",onSuccess:"#030303",warningSoft:"#463102",warningFg:"#ffd98a",onWarning:"#030303",dangerSoft:"#9c1008",dangerFg:"#ffbbbb",onDanger:"#030303",info:"#5da9ff",infoSoft:"#063778",infoFg:"#acd0ff",onInfo:"#030303"},sizes:{buttonHeight:"52px",controlRadius:"10px",cardRadius:"16px",fieldRadius:"10px",iconTile:"56px",iconTileRadius:"16px",headerTile:"40px",choiceTile:"40px",tileRadius:"10px",resultDisc:"64px",resultRing:"8px",progressHeight:"4px",focusRing:"2px",focusRingOffset:"2px",otpBox:"60px",choiceMinHeight:"76px",stepGap:"32px",headingGap:"12px"},motion:{page:"320ms",easeOut:"cubic-bezier(0.16, 1, 0.3, 1)"}},cf={light:{danger:{base:"#ca0f07",soft:"#ffdada",fg:"#ca0f07",on:"#ffffff"},success:{base:"#007a5e",soft:"#d5f0e8",fg:"#005341",on:"#ffffff"},warning:{base:"#ffab00",soft:"#fff7e6",fg:"#735003",on:"#191a1b"},info:{base:"#0563d4",soft:"#d3e5ff",fg:"#064da5",on:"#ffffff"}},dark:{danger:{base:"#ff7c7c",soft:"#9c1008",fg:"#ffbbbb",on:"#030303"},success:{base:"#00c897",soft:"#002c23",fg:"#53ffd4",on:"#030303"},warning:{base:"#ffbb2e",soft:"#463102",fg:"#ffd98a",on:"#030303"},info:{base:"#5da9ff",soft:"#063778",fg:"#acd0ff",on:"#030303"}}},xv=["danger","success","warning","info"];function ei(l){let e=l/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}i(ei,"Ct");T(ei,"channel");function lf(l){let e=ei(parseInt(l.slice(1,3),16)),t=ei(parseInt(l.slice(3,5),16)),a=ei(parseInt(l.slice(5,7),16));return .2126*e+.7152*t+.0722*a}i(lf,"_o");T(lf,"luminance");function Pr(l,e){let t=lf(l),a=lf(e),n=Math.max(t,a),u=Math.min(t,a);return(n+.05)/(u+.05)}i(Pr,"sr");T(Pr,"contrastRatio");function ef(l,e){return Math.min(...xv.map(t=>Pr(cf[l][t].fg,e)))}i(ef,"Po");T(ef,"worstAgainst");function tf(l,e,t){return Math.min(ef(l,e),ef(l,t))}i(tf,"xo");T(tf,"worstStatusContrast");function ld(l,e){return tf("light",l,e)>=tf("dark",l,e)?"light":"dark"}i(ld,"Io");T(ld,"statusSchemeFor");function ff({open:l,title:e,closeLabel:t,onClose:a,children:n,actions:u,role:c,testId:f,returnFocus:o}){let s=(0,yt.useRef)(null),v=(0,yt.useRef)(null),p=(0,yt.useRef)(!1),m=(0,yt.useId)();return(0,yt.useEffect)(()=>{let h=s.current;if(h!==null){if(l&&!h.open?(v.current=typeof document>"u"?null:document.activeElement,typeof h.showModal=="function"?h.showModal():h.setAttribute("open","")):!l&&h.open&&(typeof h.close=="function"?h.close():h.removeAttribute("open")),!l&&p.current){let S=o?.current??(v.current instanceof HTMLElement?v.current:null);v.current=null,S?.focus()}p.current=l}},[l,o]),(0,De.jsx)("dialog",{ref:s,className:"sekyro-dialog","aria-labelledby":m,...c==="alertdialog"?{role:c}:{},"data-testid":f,onCancel:i(h=>{h.preventDefault(),a()},"onCancel"),onClick:i(h=>{h.target===h.currentTarget&&a()},"onClick"),children:(0,De.jsxs)("div",{className:"sekyro-dialog__panel",children:[(0,De.jsxs)("div",{className:"sekyro-dialog__head",children:[(0,De.jsx)("h2",{id:m,className:"sekyro-dialog__title",children:e}),t!==void 0?(0,De.jsx)("button",{type:"button",className:"sekyro-disc sekyro-dialog__close","aria-label":t,onClick:a,children:(0,De.jsx)(Se,{name:"close"})}):null]}),n!==void 0?(0,De.jsx)("div",{className:"sekyro-dialog__body",children:n}):null,u!==void 0?(0,De.jsx)("div",{className:"sekyro-dialog__actions",children:u}):null]})})}i(ff,"je");T(ff,"FlowDialog");var qv=["intro","data","processing","sharing","retention"];function ed({i18n:l,purpose:e="identity"}){let{t}=l,[a,n]=(0,ai.useState)(!1),u=(0,ai.useRef)(null),[c,f=""]=t("consent.short").split("{terms}");return(0,Qe.jsxs)("div",{className:"sekyro-consent","data-testid":"sekyro-consent",children:[(0,Qe.jsxs)("p",{className:"sekyro-consent__line",children:[c,(0,Qe.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,Qe.jsx)(ff,{open:a,title:t("consent.termsTitle"),closeLabel:t("native.close"),onClose:i(()=>n(!1),"onClose"),returnFocus:u,testId:"sekyro-consent-terms",children:(0,Qe.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:e==="human"?(0,Qe.jsx)(Dl,{view:"HumanConsentTerms",i18n:l,quiet:!0}):qv.map(o=>(0,Qe.jsx)("p",{children:t(`consent.terms.${o}`)},o))})})]})}i(ed,"Ro");T(ed,"ConsentNotice");function td(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(td,"Oo");T(td,"initials");var nd=T(l=>({colors:{...l?Cl.dark:Cl.light},radius:Cl.radius,fontFamily:Cl.font}),"brandTheme"),Ig=nd(!1),qr=/^#[0-9a-f]{6}$/i;function of(l,e,t){if(e)return null;let a=Iu(l).colors,n=t?.colors?.bg??a?.bg,u=t?.colors?.surface??a?.surface;return n===void 0&&u===void 0||n!==void 0&&!qr.test(n)||u!==void 0&&!qr.test(u)?null:ld(n??Cl.light.bg,u??Cl.light.surface)}i(of,"Nt");T(of,"partnerStatusScheme");function sf(l,e,t){let a=Iu(l);if(t&&a.colors!==void 0){let{brand:n,brandFg:u}=a.colors;n!==void 0&&cd(n,Cl.dark.bg)>=3?a.colors={brand:n,ring:n,...u!==void 0?{brandFg:u}:{}}:delete a.colors}if(of(l,t,e)==="dark"){let n=cf.dark;a.colors={...a.colors,danger:n.danger.base,success:n.success.base,warning:n.warning.fg}}return Pu(nd(t),a,$u(e))}i(sf,"et");T(sf,"verificationTheme");function rf(l){let e=(0,ad.useSyncExternalStore)(id,Yv,()=>!1);return l==="dark"||l==="system"&&e}i(rf,"tt");T(rf,"useDarkScheme");var Rv="(prefers-color-scheme: dark)",ud=T(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(Rv):null,"media"),Yv=T(()=>ud()?.matches??!1,"prefersDark");function id(l){let e=ud();return e?.addEventListener("change",l),()=>e?.removeEventListener("change",l)}i(id,"fr");T(id,"subscribe");function cd(l,e){let[t,a]=[af(l),af(e)];return(Math.max(t,a)+.05)/(Math.min(t,a)+.05)}i(cd,"yr");T(cd,"contrast");function af(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(af,"Lo");T(af,"luminance");var df="sekyro.testerGate";function ni(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}i(ni,"Pt");T(ni,"store");function fd(l=Date.now()){try{ni()?.setItem(df,String(l))}catch{}}i(fd,"Fo");T(fd,"rememberTester");function od(l=Date.now()){try{let e=Number(ni()?.getItem(df)??"");return Number.isFinite(e)&&e>0&&l-e<2592e6}catch{return!1}}i(od,"Do");T(od,"rememberedTester");function sd(){try{ni()?.removeItem(df)}catch{}}i(sd,"Mo");T(sd,"forgetTester");var Rr=new Set(["document_id_number_mismatch","name_mismatch","birth_date_mismatch"]),Gv={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 rd({screen:l}){if(l==="verified")return(0,F.jsxs)("svg",{className:"sekyro-outcome sekyro-outcome--approved",viewBox:"0 0 136 136","aria-hidden":"true",focusable:"false",children:[(0,F.jsx)("circle",{className:"sekyro-outcome__ring",cx:"68",cy:"68",r:"54",pathLength:"1"}),(0,F.jsx)("circle",{className:"sekyro-outcome__disc",cx:"68",cy:"68",r:"48"}),(0,F.jsx)("path",{className:"sekyro-outcome__glyph",d:"M6.5 12.5l3.6 3.6 7.4-8.2",pathLength:"1",transform:"translate(39 39) scale(2.4167)"})]});let{icon:e,tone:t}=Gv[l];return(0,F.jsx)("span",{className:`sekyro-tile sekyro-tile--${t} sekyro-outcome-tile`,"aria-hidden":"true","data-screen":l,children:(0,F.jsx)(Se,{name:e})})}i(rd,"br");T(rd,"OutcomeMark");function dd({label:l,id:e,copied:t}){let[a,n]=(0,Ba.useState)(!1);return(0,Ba.useEffect)(()=>{if(!a)return;let u=setTimeout(()=>n(!1),1600);return()=>clearTimeout(u)},[a]),(0,F.jsxs)("button",{type:"button",className:`sekyro-reference${a?" is-copied":""}`,onClick:i(()=>{navigator.clipboard?.writeText(e).then(()=>n(!0),()=>{})},"onClick"),children:[(0,F.jsx)("span",{"aria-live":"polite",children:a?t:l}),(0,F.jsx)("bdi",{dir:"ltr",children:e}),(0,F.jsx)(Se,{name:"copy"})]})}i(dd,"vr");T(dd,"ReferenceLine");function md({step:l,t:e}){let t=l.context.sandbox?l.context.simulation?.reason:void 0;return t===void 0?null:(0,F.jsxs)(wu,{tone:"warning",role:"status",testId:"sekyro-simulated-notice",children:[(0,F.jsx)("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:(0,F.jsx)(Se,{name:"info"})}),(0,F.jsxs)("div",{className:"sekyro-notice__body","data-reason":t,children:[(0,F.jsx)("strong",{children:e("sandbox.simulatedTitle")}),(0,F.jsx)("span",{children:e(t==="no_testers"?"sandbox.simulatedNoTesters":"sandbox.simulatedGate")})]})]})}i(md,"Cr");T(md,"SimulationNotice");function hd(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(hd,"wr");T(hd,"resultTitleKey");function yd({step:l,locale:e,strings:t,className:a,onClose:n}){let u=Ul(e,t),{t:c}=u,f=(0,Ba.useId)(),o=Ju(),s=l.context.orgName,v=l.reasonCode??"",p=l.display==="platform_unsupported"?"policy":l.display,m=T(S=>(s!==""||S==="verified")&&S!=="cooldown"?c(`native.result.${S}`,{org:s}):c(`session.result.${S}.description`),"partnerLine"),h;switch(l.display){case"rejected":h=Rr.has(Xc(v))?c("session.result.detailsMismatch",{org:s}):m("rejected");break;case"policy":{if(Rr.has(Xc(v)))h=c("session.result.detailsMismatch",{org:s});else if(v==="device_velocity_exceeded")h=c("session.result.deviceVelocity",{org:s});else if(v==="capture_tampered")h=c("session.result.deviceStop");else if(v==="camera_unavailable")h=c("reasons.camera_unavailable",{org:s});else if(v==="underage_estimated")h=c("reasons.underage_estimated");else if(v==="starter_credit_claimed")h=c("reasons.starter_credit_claimed");else if(v==="blocked_by_org")h=c("reasons.blocked_by_org");else{let S=v===""?null:$s(v);h=S!==null?c(S,{org:s}):m("policy")}break}case"cooldown":{let S=Is(u.locale,l.retryAfter);h=S!==null?c(S.key,{time:S.time}):c("session.result.cooldown.description");break}case"platform_unsupported":h=c("result.platform_unsupported");break;default:h=m(p)}return(0,F.jsxs)("section",{className:`sekyro-result${a?` ${a}`:""}`,"aria-labelledby":f,"data-testid":"sekyro-result",children:[(0,F.jsxs)("div",{className:"sekyro-result__body",children:[(0,F.jsx)(rd,{screen:p}),(0,F.jsxs)("div",{className:"sekyro-heading",children:[(0,F.jsx)("h2",{id:f,ref:o,tabIndex:-1,className:"sekyro-text-body",children:c(hd(p,l.result))}),(0,F.jsx)("p",{className:"sekyro-text-muted",children:h})]}),(0,F.jsx)(md,{step:l,t:c}),(0,F.jsx)(dd,{label:c("result.referenceLabel"),id:l.context.sessionId,copied:c("native.result.copied")})]}),n!==void 0?(0,F.jsx)("div",{className:"sekyro-actions",children:(0,F.jsx)(cl,{full:!0,onClick:n,children:c("native.result.continue",{org:s})})}):null]})}i(yd,"xt");T(yd,"VerificationResultScreen");function vd(l,e,t){let a=e?Cl.dark:Cl.light,n=e?Cl.roles.dark:Cl.roles.light,u=l.colors??{},c={},f=u.fg===a.fg&&u.surface===a.surface;u.brand===a.brand&&u.surface===a.surface&&(c["--sekyro-color-brand-soft"]=n.brandSoft),f&&(c["--sekyro-color-line"]=n.line,c["--sekyro-color-line-subtle"]=n.lineSubtle,c["--sekyro-color-line-strong"]=n.lineStrong,c["--sekyro-color-sunken"]=n.sunken),u.fgMuted===a.fgMuted&&u.surface===a.surface&&(c["--sekyro-color-fg-subtle"]=n.fgSubtle),l.fontFamily===Cl.font&&(c["--sekyro-font-display"]=Cl.fontDisplay);let o=e?xr.dark:xr.light;if(c["--sekyro-color-success-soft"]=o.successSoft,c["--sekyro-color-success-fg"]=o.successFg,c["--sekyro-color-on-success"]=o.onSuccess,c["--sekyro-color-warning-soft"]=o.warningSoft,c["--sekyro-color-warning-fg"]=o.warningFg,c["--sekyro-color-danger-soft"]=o.dangerSoft,c["--sekyro-color-danger-fg"]=o.dangerFg,c["--sekyro-color-on-danger"]=o.onDanger,c["--sekyro-color-info-soft"]=o.infoSoft,c["--sekyro-color-info-fg"]=o.infoFg,u.brand===a.brand&&(c["--sekyro-color-line-brand"]=o.lineBrand),t!==null){let s=cf[t];for(let v of["danger","success","warning","info"])c[`--sekyro-color-${v}-soft`]=s[v].soft,c[`--sekyro-color-${v}-fg`]=s[v].fg;c["--sekyro-color-on-success"]=s.success.on,c["--sekyro-color-on-danger"]=s.danger.on}return c}i(vd,"xr");T(vd,"flowRoles");function ui(l){let{verification:e,locale:t,strings:a,onStep:n,onResult:u}=l,{step:c,error:f}=Yr(e);(0,k.useEffect)(()=>{c!==null&&n?.(c)},[c,n]),(0,k.useEffect)(()=>u===void 0?void 0:e.on("result",u),[e,u]);let o=rf(l.colorScheme??"light"),s=c?.context.branding,v=sf(s,l.theme,o),[p,m]=(0,k.useState)(!1),h=`sekyro-verification${o?" sekyro-verification--dark":""}${p?" is-immersive":""}${l.className!==void 0?` ${l.className}`:""}`,S=(0,k.useRef)(l.onClose);S.current=l.onClose;let E=(0,k.useRef)(c);E.current=c;let O=(0,k.useCallback)(()=>{let A=E.current;S.current?.(A?.kind==="result"?{reason:"finished",result:A.result}:{reason:"cancelled"})},[]),[d,r]=(0,k.useState)(null),y=(0,k.useCallback)(()=>{let A=E.current;A!==null&&A.kind!=="result"&&A.context.consentRecorded?r("close"):O()},[O]),g=(0,k.useMemo)(()=>e.reportCaptureIssue===void 0?null:A=>e.reportCaptureIssue?.(A),[e]);return(0,z.jsx)(li,{theme:v,className:h,children:(0,z.jsx)(wc,{locale:t,...a!==void 0?{strings:a}:{},children:(0,z.jsx)("div",{dir:l.dir??(t==="ar"?"rtl":"ltr"),lang:t,className:"sekyro-flow",style:vd(v,o,of(s,o,l.theme)),children:(0,z.jsx)(tr.Provider,{value:m,children:(0,z.jsx)(Lc.Provider,{value:l.onClose!==void 0?O:void 0,children:(0,z.jsx)(Wu.Provider,{value:l.onClose!==void 0?y:void 0,children:(0,z.jsxs)(cr.Provider,{value:g,children:[(0,z.jsx)(Ad,{...l,step:c,error:f,immersive:p,onLeaveAsk:i(()=>r("history"),"onLeaveAsk"),onClosed:O}),(0,z.jsx)(Sd,{open:d!==null,onStay:i(()=>{d==="history"&&ti(),r(null)},"onStay"),onLeave:i(()=>{let A=d;r(null),A==="close"||l.onClose!==void 0?O():typeof window<"u"&&hf()},"onLeave")})]})})})})})})})}i(ui,"Et");T(ui,"SekyroVerification");function pd(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(pd,"Ir");T(pd,"processingCopyOf");function gd({error:l,retry:e}){let{t}=Ul(),a=Ju();return(0,z.jsxs)(wu,{tone:"danger",testId:"sekyro-error-notice",children:[(0,z.jsx)("span",{children:t(Fs(l))}),l.retryable?(0,z.jsx)(cl,{ref:a,kind:"secondary",className:"sekyro-btn--start",onClick:e,children:t("common.retry")}):null]})}i(gd,"Tr");T(gd,"CameraErrorNotice");var bd="sekyroFlow";function mf(){let l=window.history.state;return typeof l=="object"&&l!==null&&l[bd]===!0}i(mf,"Ko");T(mf,"onGuard");function ti(){if(typeof window>"u"||mf())return;let l=window.history.state;window.history.pushState({...typeof l=="object"&&l!==null?l:{},[bd]:!0},"")}i(ti,"It");T(ti,"pushGuard");function hf(){window.history.back()}i(hf,"zo");T(hf,"leaveHistory");function Sd({open:l,onStay:e,onLeave:t}){let{t:a}=Ul();return(0,z.jsx)(ff,{open:l,role:"alertdialog",title:a("leave.title"),onClose:e,testId:"sekyro-leave",actions:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(cl,{full:!0,onClick:e,children:a("leave.stay")}),(0,z.jsx)(cl,{full:!0,kind:"danger",onClick:t,children:a("leave.confirm")})]}),children:(0,z.jsx)("p",{className:"sekyro-text-muted",children:a("leave.body")})})}i(Sd,"Er");T(Sd,"LeaveDialog");function zd(l,e){let[t,a]=(0,k.useState)(!1),[n,u]=(0,k.useState)(null),c=l===null?void 0:l.skipCapture,f=(0,k.useRef)(c);f.current=c;let o=(0,k.useRef)(!1),s=l?.key;(0,k.useEffect)(()=>u(null),[s]);let v=(0,k.useCallback)(()=>{if(o.current)return;let S=f.current;S!==void 0&&(o.current=!0,a(!0),u(null),S().catch(E=>u(e.t(qn(E,e.strings)))).finally(()=>{o.current=!1,a(!1)}))},[e]),p=(0,k.useCallback)(()=>u(null),[]),m=c!==void 0,h=e.t("sandbox.skipCapture");return(0,k.useMemo)(()=>m?{label:h,busy:t,failed:n,run:v,reset:p}:null,[m,h,t,n,v,p])}i(zd,"Rr");T(zd,"useSkipCapture");function Td({skip:l}){return(0,z.jsxs)(z.Fragment,{children:[l.failed!==null?(0,z.jsx)(Al,{tone:"danger",children:(0,z.jsx)("span",{children:l.failed})}):null,(0,z.jsx)(cl,{kind:"ghost",full:!0,disabled:l.busy,"aria-busy":l.busy||void 0,onClick:l.run,"data-testid":"sekyro-skip-capture",children:l.label})]})}i(Td,"Or");T(Td,"SkipAction");function Ad(l){let{step:e,error:t,slots:a,immersive:n}=l,u=Ul(),{t:c}=u,[f,o]=(0,k.useState)(!1),[s,v]=(0,k.useState)([]),p=(0,k.useCallback)(_=>(v(el=>[...el,_]),()=>v(el=>el.filter(Me=>Me!==_))),[]),[m,h]=(0,k.useState)(null),S=(0,k.useCallback)(_=>h(()=>_),[]),[E,O]=(0,k.useState)(0),[d,r]=(0,k.useState)(null),y=zd(e,u),g=e?.context.testerGate!==void 0,[A,x]=(0,k.useState)(!1),N=(0,k.useRef)(null);(0,k.useEffect)(()=>{!g||N.current!==null||(N.current=od(),N.current&&x(!0))},[g]);let M=e?.context.purpose??"identity",U=e?.context.returning===!0,R=l.verification,Xl=M==="human"||e?.context.cameraUnavailableHandled===!0,Ma=R.reportCameraUnavailable!==void 0&&Xl?_=>R.reportCameraUnavailable?.(_)??Promise.resolve():void 0,Qu=e?.kind==="liveness"&&e.mode==="liveness"&&e.reason===void 0&&!e.attemptsExhausted,jl=l.handoffUrl,wt=(0,k.useCallback)((_,el)=>Ma===void 0?void 0:(0,z.jsx)(Dl,{view:"NoCameraView",i18n:u,quiet:!0,cause:el,onRetry:_,...Qu?{onContinue:Ma}:{},...jl!==void 0?{handoffUrl:jl}:{}}),[u,R,Xl,Qu,jl]),Oa=(0,k.useMemo)(()=>yr(e),[e]),Dn=(0,k.useCallback)((_,el)=>(0,z.jsx)(vr,{start:_,context:el,human:M==="human",returning:U,notice:el.permissionSettled&&el.permission==="denied"?wt(_,"denied"):void 0,...Oa!==void 0?{retry:Oa}:{}}),[M,U,wt,Oa]),be=(0,k.useCallback)((_,el)=>{let Me=Bv(_.kind);return(Me!==void 0?wt(el,Me):void 0)??(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(gd,{error:_,retry:el}),Me!==void 0&&jl!==void 0?(0,z.jsx)(Dl,{view:"DesktopHandoffView",i18n:u,quiet:!0,url:jl}):null]})},[wt,jl,u]),Cn=(0,k.useRef)(""),rt=l.livenessProps?.slots?.stageOverlay,Wt=(0,k.useCallback)(_=>(_.guidance!==""&&!_.coached&&(Cn.current=_.guidance),(0,z.jsx)(ir,{testId:"sekyro-capture-stage",video:(0,z.jsx)("video",{ref:_.videoRef,playsInline:!0,muted:!0,className:"sekyro-lm-video sekyro-fc-video","aria-hidden":"true","data-testid":"sekyro-capture-video"}),instruction:_.settled?c("capture.checkingTitle"):_.guidance!==""?_.guidance:Cn.current,note:_.note,status:_.status,busy:_.settled,progress:_.phase==="seeking"||_.phase==="aligning"?_.progress:1,still:_.still,live:_.live,closeLabel:c("native.close"),overlay:rt?.(_.videoRef),ramp:_.ramp?.colour??null,..._.settled?{}:{onClose:T(()=>O(el=>el+1),"onClose")},end:_.modeSwitch!=null?(0,z.jsx)(Ps,{view:_.modeSwitch,className:"sekyro-glass sekyro-glass--label"}):null,children:_.settled||!_.live?null:(0,z.jsx)(ar,{onStop:i(()=>O(el=>el+1),"onStop")})})),[c,rt]),Xu=(0,k.useId)(),ju=e,kn=e!==null&&d===e.key&&e.context.switchable!==void 0,dt=m??(e===null||e.kind==="result"?null:kn?()=>r(null):e.context.switchable!==void 0&&typeof ju?.chooseOption=="function"?()=>r(e.key):null),mt=(0,k.useRef)(dt);mt.current=dt;let Ft=(0,k.useRef)(e);Ft.current=e;let $t=(0,k.useRef)({ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0});$t.current={ask:l.onLeaveAsk,closed:l.onClosed,hostClose:l.onClose!==void 0};let Hn=l.backNavigation==="history";if((0,k.useEffect)(()=>{if(!Hn||typeof window>"u")return;ti();let _=T(()=>{if(mf())return;let el=Ft.current,Me=mt.current;Me!==null?(Me(),ti()):el?.kind!=="result"&&el?.context.consentRecorded===!0?$t.current.ask():$t.current.hostClose?$t.current.closed():hf()},"onPop");return window.addEventListener("popstate",_),()=>window.removeEventListener("popstate",_)},[Hn]),t!==null)return(0,z.jsx)(wu,{tone:"danger",children:(0,z.jsx)("span",{children:c(qn(t,u.strings))})});if(e===null)return(0,z.jsxs)("div",{className:"sekyro-skeleton",role:"status","aria-busy":"true",children:[(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:c("common.loading")}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-title"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-short"}),(0,z.jsx)("span",{className:"sekyro-skeleton__bar is-block"})]});let{context:Yl}=e,ht=T(_=>{o(!0),_().finally(()=>o(!1))},"refresh"),Lu=a?.header??(0,z.jsx)(Nd,{context:Yl,headerId:Xu,end:a?.headerEnd,...dt!==null?{onBack:dt}:{}}),il,Ua=kn;if(A&&l.verification.testerGate!==void 0)il=(0,z.jsx)(Jc.Provider,{value:Wt,children:(0,z.jsx)(Dl,{view:"TesterGateView",i18n:u,verification:l.verification,attemptsLeft:Yl.testerGate?.attemptsLeft??0,livenessProps:{...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:l.livenessProps?.slots?.intro??Dn},locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice},onBound:i(()=>fd(),"onBound"),onDone:i(_=>{_&&sd(),x(!1)},"onDone")})});else if(Ua)il=(0,z.jsx)(Dl,{view:"LaneChoiceView",i18n:u,step:e,onClose:i(()=>r(null),"onClose")});else switch(e.kind){case"phone_otp":il=(0,z.jsx)(Vr,{step:e});break;case"email_otp":il=(0,z.jsx)(Qr,{step:e});break;case"method":il=(0,z.jsx)(Lr,{step:e});break;case"registry":il=(0,z.jsx)(uf,{step:e});break;case"document":il=(0,z.jsx)(Jr,{step:e,...l.documentLiveMrz!==void 0?{liveMrz:l.documentLiveMrz}:{},...l.documentBarcodeAssetBaseUrl!==void 0?{barcodeAssetBaseUrl:l.documentBarcodeAssetBaseUrl}:{}});break;case"liveness":{let _=l.livenessProps?.slots?.intro,el={...l.livenessProps??{},slots:{...l.livenessProps?.slots,intro:_??Dn,..._===void 0&&l.livenessProps?.slots?.errorPanel===void 0?{errorPanel:be}:{}},...E>0?{autoStart:!1}:{},verification:l.verification,locale:l.locale,dir:l.dir,strings:u.strings,assetBaseUrl:l.assetBaseUrl,voice:l.voice,onCaptured:l.onLivenessCaptured};il=(0,z.jsx)(Jc.Provider,{value:Wt,children:e.instructions==="icao"||e.livePhoto?.icao===!0?(0,z.jsx)(Dl,{view:"LivePhotoLiveness",i18n:u,step:e,livenessProps:el,sekyroIntro:_===void 0},E):(0,z.jsx)(rr,{...el},E)});break}case"portrait":il=(0,z.jsxs)(z.Fragment,{children:[e.retakeOnly?(0,z.jsx)(Dl,{view:"PortraitRetakeNotice",i18n:u,quiet:!0}):null,(0,z.jsx)(Fr,{step:e,verification:l.verification,...l.assetBaseUrl!==void 0?{assetBaseUrl:l.assetBaseUrl}:{}})]});break;case"proof_of_address":il=(0,z.jsx)($r,{step:e});break;case"form":il=(0,z.jsx)(Ir,{step:e});break;case"contact_choice":il=(0,z.jsx)(Dl,{view:"ContactChoiceView",i18n:u,step:e});break;case"choice":il=(0,z.jsx)(Dl,{view:"GenericChoiceView",i18n:u,step:e});break;case"identity_summary":il=(0,z.jsx)(Dl,{view:"IdentitySummaryView",i18n:u,step:e});break;case"mobile_required":{let _=e.checkType==="doc_ocr"?c("handoff.lead.document"):e.checkType==="portrait_icao"?c("handoff.lead.portrait"):e.checkType==="poa"?c("handoff.lead.poa"):void 0;il=l.handoffUrl!==void 0?(0,z.jsx)(Dl,{view:"HandoffView",i18n:u,url:l.handoffUrl,refresh:e.refresh,..._!==void 0?{lead:_}:{}}):(0,z.jsx)(Fu,{tone:"brand",icon:"smartphone",title:c("handoff.title"),actions:(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>ht(e.refresh),"onClick"),children:c("common.refresh")}),children:(0,z.jsx)("p",{children:_??c("reasons.mobile_required")})});break}case"native_app_required":il=(0,z.jsx)(Dl,{view:"NativeAppView",i18n:u,org:Yl.orgName,nativeApp:e.nativeApp,...l.handoffUrl!==void 0?{fallbackUrl:l.handoffUrl}:{},refresh:e.refresh,footer:(0,z.jsx)(nf,{org:Yl.orgName})});break;case"processing":{let _=pd(u.strings,e.service);il=(0,z.jsx)(Fu,{tone:"brand",icon:"pending",busy:!e.stalled,live:!0,title:_?.title??c("session.processing.title"),actions:e.stalled?(0,z.jsx)(cl,{kind:"secondary",full:!0,disabled:f,onClick:i(()=>ht(e.refresh),"onClick"),children:c("common.refresh")}):null,children:(0,z.jsx)("p",{children:_?.description??c("session.processing.description")})});break}case"eid":il=(0,z.jsx)(Xr,{step:e});break;case"unsupported":{let _=e.reason==="platform_unsupported";il=(0,z.jsx)(Fu,{tone:"neutral",icon:"smartphone",title:c(_?"needsApp.title":"unsupported.title"),actions:(0,z.jsx)(nf,{org:Yl.orgName}),children:(0,z.jsx)("p",{children:_?Yl.orgName!==""?c("needsApp.description",{org:Yl.orgName}):c("needsApp.descriptionNoOrg"):c("unsupported.description",{org:Yl.orgName})})});break}case"result":il=a?.result?.(e)??(0,z.jsx)(Ed,{step:e});break;default:{let _=e;il=null}}let Bn=!n&&!Yl.consentRecorded&&e.kind!=="result"?(0,z.jsx)(ed,{i18n:u,purpose:Yl.purpose}):null,Zu=y!==null&&!n&&!Ua&&!A?(0,z.jsx)(Td,{skip:y}):null,xn=g&&!A&&!n&&!Ua&&l.verification.testerGate!==void 0?(0,z.jsx)(Dl,{view:"TesterGateAction",i18n:u,quiet:!0,onOpen:i(()=>x(!0),"onOpen")}):null,K=Zu===null&&xn===null?Bn:(0,z.jsxs)(z.Fragment,{children:[xn,Zu,Bn]});return(0,z.jsx)(er.Provider,{value:S,children:(0,z.jsx)(Zc.Provider,{value:y,children:(0,z.jsx)(gr.Provider,{value:l.handoffUrl,children:(0,z.jsxs)(lr.Provider,{value:K===null?null:{node:K,owner:s[0]??null,claim:p},children:[n?null:Lu,!n&&e.kind!=="result"&&Yl.sections.length>1?(0,z.jsx)(_d,{context:Yl,current:e.section,i18n:u}):null,(0,z.jsx)(ur,{pageKey:e.key,children:il}),!n&&!Ua&&e.kind!=="result"&&e.context.switchable!==void 0?(0,z.jsx)(Dl,{view:"LaneSwitch",i18n:u,step:e,onOpen:i(()=>r(e.key),"onOpen"),quiet:!0},e.key):null,s.length===0?K:null,n?null:a?.footer!==void 0?a.footer:Yl.branding?.hideAttribution===!0?null:(0,z.jsxs)("a",{className:"sekyro-footer",href:"https://sekyro.ai",target:"_blank",rel:"noopener noreferrer",children:[(0,z.jsx)(Se,{name:"lock"}),c("shell.verifiedBy")]})]})})})})}i(Ad,"Br");T(Ad,"Body");function nf({org:l}){let{t:e}=Ul(),t=(0,k.useContext)(Lc);return t===void 0?null:(0,z.jsx)(cl,{full:!0,onClick:t,children:e("native.result.continue",{org:l})})}i(nf,"Uo");T(nf,"BackToOrg");function Ed({step:l}){return(0,z.jsx)(Wu.Consumer,{children:i(e=>(0,z.jsx)(yd,{step:l,...e!==void 0?{onClose:e}:{}}),"children")})}i(Ed,"Lr");T(Ed,"ResultPage");function Nd({context:l,headerId:e,end:t,onBack:a}){let{t:n}=Ul(),[u,c]=(0,k.useState)(!1),f=u?void 0:l.branding?.logoUrl,o=l.orgName!==""?l.orgName:n(l.returning?"returning.heading":"session.title");return(0,z.jsx)("header",{className:"sekyro-stack sekyro-stack--3","aria-labelledby":e,children:(0,z.jsxs)("div",{className:"sekyro-org",children:[a!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__back","aria-label":n("common.back"),onClick:a,"data-testid":"sekyro-back",children:(0,z.jsx)(Se,{name:"back"})}):null,(0,z.jsx)("span",{className:"sekyro-org__tile","aria-hidden":"true",children:f!==void 0?(0,z.jsx)("img",{className:"sekyro-org__logo",src:f,alt:"",onError:i(()=>c(!0),"onError")}):td(l.orgName)}),(0,z.jsxs)("div",{className:"sekyro-org__text",children:[(0,z.jsx)("h1",{id:e,className:"sekyro-org__name",children:o}),(0,z.jsx)("p",{className:"sekyro-org__sub",children:n(l.purpose==="human"?"shell.subtitleHuman":"shell.subtitle")})]}),l.sandbox?(0,z.jsx)("span",{className:"sekyro-sandbox-badge","data-testid":"sekyro-sandbox-badge",children:n("app.sandboxBadge")}):null,t!=null?(0,z.jsx)("div",{className:"sekyro-org__end",children:t}):null,(0,z.jsx)(Wu.Consumer,{children:i(s=>s!==void 0?(0,z.jsx)("button",{type:"button",className:"sekyro-disc sekyro-org__close","aria-label":n("native.close"),onClick:s,children:(0,z.jsx)(Se,{name:"close"})}):null,"children")})]})})}i(Nd,"Ar");T(Nd,"OrgHeader");function _d({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,z.jsx)("ol",{className:"sekyro-progress__bars","aria-label":t.t("session.progressLabel"),children:u.map(({id:c,state:f})=>(0,z.jsx)("li",{className:`sekyro-progress__bar${f==="done"?" is-done":f==="current"?" is-current":""}`,...f==="current"?{"aria-current":"step"}:{},children:(0,z.jsx)("span",{className:"sekyro-visually-hidden",children:t.strings[`section.${c}`]??c})},c))})}i(_d,"Vr");T(_d,"SectionProgress");function Md(){return typeof window>"u"?"":window.location.href.split("#")[0]??""}i(Md,"Dr");T(Md,"pageUrl");function Vv({hostedUrl:l,inAppBrowser:e,...t}){let[a,n]=(0,Gn.useState)(e===!0);(0,Gn.useEffect)(()=>{e===void 0&&pr()&&n(!0)},[e]);let[u,c]=(0,Gn.useState)(!1),f=rf(t.colorScheme??"light"),o=t.handoffUrl??l??Md();return a&&!u?(0,la.jsx)(Ic,{theme:Pu(sf(void 0,void 0,f),t.theme),className:`sekyro-verification${f?" sekyro-verification--dark":""}${t.className!==void 0?` ${t.className}`:""}`,children:(0,la.jsx)(wc,{locale:t.locale,...t.strings!==void 0?{strings:t.strings}:{},children:(0,la.jsx)("div",{dir:t.dir??(t.locale==="ar"?"rtl":"ltr"),lang:t.locale,className:"sekyro-flow",children:(0,la.jsx)(Od,{url:o,onContinue:i(()=>c(!0),"onContinue")})})})}):(0,la.jsx)(ui,{...t,...o!==""?{handoffUrl:o}:{}})}i(Vv,"Mr");T(Vv,"SekyroFlow");function Od({url:l,onContinue:e}){let t=Ul();return(0,la.jsx)(Dl,{view:"InAppBrowserPrompt",i18n:t,url:l,onContinue:e})}i(Od,"Hr");T(Od,"Prompt");var Bc=Q(Sl(),1),tv=Q(ev(),1);var av=["ar","fr","en","es","pt","de"],hg=["light","dark","system"];function yg(){if(typeof document>"u")return null;let l=document.documentElement.lang.toLowerCase().split("-")[0];return av.includes(l)?l:null}i(yg,"documentLocale");var vg=typeof HTMLElement>"u"?class{}:HTMLElement;function pg({node:l}){return(0,Bc.createElement)("div",{className:"sekyro-elements-slot",style:{display:"contents"},ref:i(e=>{e!==null&&l.parentNode!==e&&e.appendChild(l)},"ref")})}i(pg,"SlotNode");var st,Ne,_n,za,Ta,_e,Mn,Aa,Ea,Na,On,_a,Un,B,Jt,Ye,qc,Rc,Yc,Gc,Vc,nv,ot,ws,uv,Vu,iv,cv,Qc=class Qc extends vg{constructor(){super();hl(this,B);hl(this,st,null);hl(this,Ne,null);hl(this,_n,!1);hl(this,za,!1);hl(this,Ta,null);hl(this,_e,null);hl(this,Mn,null);hl(this,Aa,new Map);hl(this,Ea);hl(this,Na);hl(this,On);hl(this,_a);hl(this,Un);hl(this,qc,i(t=>X(this,B,Ye).call(this,"sekyro-step",t),"#onStep"));hl(this,Rc,i(t=>X(this,B,Ye).call(this,"sekyro-result",t),"#onResult"));hl(this,Yc,i(t=>X(this,B,Ye).call(this,"sekyro-close",t),"#onClose"));hl(this,Gc,i(t=>X(this,B,Ye).call(this,"sekyro-liveness-captured",t),"#onCaptured"));hl(this,Vc,{onStateChange:i(t=>X(this,B,Ye).call(this,"sekyro-liveness-state",t),"onStateChange"),onGuidance:i(t=>X(this,B,Ye).call(this,"sekyro-liveness-guidance",t),"onGuidance"),onError:i(t=>X(this,B,Ye).call(this,"sekyro-liveness-error",t),"onError")});for(let t of[...Fc.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,B,Jt).call(this,"client-token",t)}get apiOrigin(){return this.getAttribute("api-origin")}set apiOrigin(t){X(this,B,Jt).call(this,"api-origin",t)}get locale(){let t=this.getAttribute("locale");return t!==null&&av.includes(t)?t:null}set locale(t){X(this,B,Jt).call(this,"locale",t)}get colorScheme(){let t=this.getAttribute("color-scheme");return t!==null&&hg.includes(t)?t:null}set colorScheme(t){X(this,B,Jt).call(this,"color-scheme",t)}get assetBaseUrl(){return this.getAttribute("asset-base-url")}set assetBaseUrl(t){X(this,B,Jt).call(this,"asset-base-url",t)}get backNavigation(){let t=this.getAttribute("back-navigation");return t==="history"||t==="none"?t:null}set backNavigation(t){X(this,B,Jt).call(this,"back-navigation",t)}get handoffUrl(){return this.getAttribute("handoff-url")}set handoffUrl(t){X(this,B,Jt).call(this,"handoff-url",t)}get closable(){return this.hasAttribute("closable")}set closable(t){this.toggleAttribute("closable",!!t)}get verification(){return H(this,Ta)??H(this,_e)}set verification(t){yl(this,Ta,t??null),X(this,B,ot).call(this)}get strings(){return H(this,Ea)}set strings(t){yl(this,Ea,t??void 0),X(this,B,ot).call(this)}get theme(){return H(this,Na)}set theme(t){yl(this,Na,t??void 0),X(this,B,ot).call(this)}get livenessProps(){return H(this,On)}set livenessProps(t){yl(this,On,t??void 0),X(this,B,ot).call(this)}get documentLiveMrz(){return H(this,_a)}set documentLiveMrz(t){yl(this,_a,t??void 0),X(this,B,ot).call(this)}get voice(){return H(this,Un)}set voice(t){yl(this,Un,t===null?void 0:t),X(this,B,ot).call(this)}connectedCallback(){yl(this,za,!1),X(this,B,nv).call(this),(H(this,Ne)===null||H(this,Ne).parentNode!==this)&&(yl(this,Ne,document.createElement("div")),H(this,Ne).className="sekyro-elements-root",this.appendChild(H(this,Ne))),H(this,st)??yl(this,st,(0,tv.createRoot)(H(this,Ne))),X(this,B,ot).call(this)}disconnectedCallback(){yl(this,za,!0),queueMicrotask(()=>{!H(this,za)||this.isConnected||(yl(this,za,!1),X(this,B,cv).call(this))})}attributeChangedCallback(t,a,n){a!==n&&X(this,B,ot).call(this)}};st=new WeakMap,Ne=new WeakMap,_n=new WeakMap,za=new WeakMap,Ta=new WeakMap,_e=new WeakMap,Mn=new WeakMap,Aa=new WeakMap,Ea=new WeakMap,Na=new WeakMap,On=new WeakMap,_a=new WeakMap,Un=new WeakMap,B=new WeakSet,Jt=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,Rc=new WeakMap,Yc=new WeakMap,Gc=new WeakMap,Vc=new WeakMap,nv=i(function(){for(let t of Array.from(this.children)){let a=t.getAttribute("slot");a===null||!_r.some(n=>n.name===a)||(H(this,Aa).set(a,t),t.remove())}},"#takeSlots"),ot=i(function(){H(this,_n)||(yl(this,_n,!0),queueMicrotask(()=>{yl(this,_n,!1),this.isConnected&&H(this,st)!==null&&X(this,B,iv).call(this)}))},"#schedule"),ws=i(function(){return this.locale??yg()??"en"},"#effectiveLocale"),uv=i(function(){if(H(this,Ta)!==null)return X(this,B,Vu).call(this),H(this,Ta);let t=this.clientToken;if(t===null||t==="")return X(this,B,Vu).call(this),null;let a=this.apiOrigin,n=`${t}\0${a??""}`;if(H(this,_e)!==null&&H(this,Mn)===n)return H(this,_e);X(this,B,Vu).call(this);try{yl(this,_e,mg({clientToken:t,locale:X(this,B,ws).call(this),...a!==null&&a!==""?{apiOrigin:a}:{}})),yl(this,Mn,n)}catch(u){return X(this,B,Ye).call(this,"sekyro-error",{error:u}),null}return X(this,B,Ye).call(this,"sekyro-ready",{verification:H(this,_e)}),H(this,_e)},"#currentVerification"),Vu=i(function(){H(this,_e)?.destroy(),yl(this,_e,null),yl(this,Mn,null)},"#dropOwned"),iv=i(function(){let t=X(this,B,uv).call(this);if(t===null){H(this,st)?.render(null);return}let a=X(this,B,ws).call(this),n=this.getAttribute("dir"),u=H(this,Un)??(this.getAttribute("voice")==="off"?!1:void 0),c=i(p=>{let m=H(this,Aa).get(p);return m===void 0?void 0:(0,Bc.createElement)(pg,{node:m})},"slot"),f=c("header"),o=c("header-end"),s=c("footer"),v={verification:t,locale:a,onStep:H(this,qc),onResult:H(this,Rc),onLivenessCaptured:H(this,Gc),livenessProps:{...H(this,On),...H(this,Vc)},...n==="ltr"||n==="rtl"?{dir:n}:{},...this.colorScheme!==null?{colorScheme:this.colorScheme}:{},...this.assetBaseUrl!==null?{assetBaseUrl:this.assetBaseUrl}:{},...this.backNavigation!==null?{backNavigation:this.backNavigation}:{},...this.handoffUrl!==null?{handoffUrl:this.handoffUrl}:{},...this.closable?{onClose:H(this,Yc)}:{},...H(this,Ea)!==void 0?{strings:H(this,Ea)}:{},...H(this,Na)!==void 0?{theme:H(this,Na)}:{},...H(this,_a)!==void 0?{documentLiveMrz:H(this,_a)}:{},...u!==void 0?{voice:u}:{},...f!==void 0||o!==void 0||s!==void 0?{slots:{...f!==void 0?{header:f}:{},...o!==void 0?{headerEnd:o}:{},...s!==void 0?{footer:s}:{}}}:{}};H(this,st)?.render((0,Bc.createElement)(ui,v))},"#render"),cv=i(function(){H(this,st)?.unmount(),yl(this,st,null),H(this,Ne)?.remove(),yl(this,Ne,null),X(this,B,Vu).call(this);for(let t of H(this,Aa).values())this.appendChild(t);H(this,Aa).clear()},"#teardown"),i(Qc,"SekyroVerificationElement"),Ws(Qc,"observedAttributes",Fc.map(t=>t.name));var xc=Qc;function vb(){return typeof customElements>"u"?!1:(customElements.get(Wc)===void 0&&customElements.define(Wc,xc),!0)}i(vb,"defineSekyroElements");export{Wc as a,Fc as b,gg as c,_r as d,bg as e,xc as f,vb 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
- */