testempaquetado 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=l);break}}}finally{to=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?In(e):""}function Qd(e){switch(e.tag){case 5:return In(e.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 2:case 15:return e=no(e.type,!1),e;case 11:return e=no(e.type.render,!1),e;case 1:return e=no(e.type,!0),e;default:return""}}function ro(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ft:return"Fragment";case Bt:return"Portal";case $i:return"Profiler";case Gi:return"StrictMode";case Xi:return"Suspense";case Ki:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pl:return(e.displayName||"Context")+".Consumer";case Ql:return(e._context.displayName||"Context")+".Provider";case Ji:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qi:return t=e.displayName||null,t!==null?t:ro(e.type)||"Memo";case nt:t=e._payload,e=e._init;try{return ro(e(t))}catch{}}return null}function Pd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ro(t);case 8:return t===Gi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yl(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rd(e){var t=Yl(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){e._valueTracker||(e._valueTracker=Rd(e))}function Bl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Yl(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function io(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fl(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vl(e,t){t=t.checked,t!=null&&Zi(e,"checked",t,!1)}function oo(e,t){Vl(e,t);var n=rt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?so(e,t.type,n):t.hasOwnProperty("defaultValue")&&so(e,t.type,rt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hl(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function so(e,t,n){(t!=="number"||xr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nn=Array.isArray;function Vt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function lo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(m(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Wl(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(m(92));if(Nn(n)){if(1<n.length)throw Error(m(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rt(n)}}function Zl(e,t){var n=rt(t.value),r=rt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Gl(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function $l(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function uo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?$l(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var wr,Jl=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(wr=wr||document.createElement("div"),wr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bd=["Webkit","ms","Moz","O"];Object.keys(Tn).forEach(function(e){bd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tn[t]=Tn[e]})});function Xl(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}function Kl(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Xl(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Yd=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ao(e,t){if(t){if(Yd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(m(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(m(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(m(61))}if(t.style!=null&&typeof t.style!="object")throw Error(m(62))}}function co(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fo=null;function po(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ho=null,Ht=null,Wt=null;function ql(e){if(e=Wn(e)){if(typeof ho!="function")throw Error(m(280));var t=e.stateNode;t&&(t=Fr(t),ho(e.stateNode,e.type,t))}}function eu(e){Ht?Wt?Wt.push(e):Wt=[e]:Ht=e}function tu(){if(Ht){var e=Ht,t=Wt;if(Wt=Ht=null,ql(e),t)for(e=0;e<t.length;e++)ql(t[e])}}function nu(e,t){return e(t)}function ru(){}var go=!1;function iu(e,t,n){if(go)return e(t,n);go=!0;try{return nu(e,t,n)}finally{go=!1,(Ht!==null||Wt!==null)&&(ru(),tu())}}function Dn(e,t){var n=e.stateNode;if(n===null)return null;var r=Fr(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(m(231,t,typeof n));return n}var yo=!1;if(We)try{var En={};Object.defineProperty(En,"passive",{get:function(){yo=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{yo=!1}function Bd(e,t,n,r,i,o,s,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(g){this.onError(g)}}var Sn=!1,Ir=null,Nr=!1,Mo=null,Fd={onError:function(e){Sn=!0,Ir=e}};function Vd(e,t,n,r,i,o,s,l,u){Sn=!1,Ir=null,Bd.apply(Fd,arguments)}function Hd(e,t,n,r,i,o,s,l,u){if(Vd.apply(this,arguments),Sn){if(Sn){var c=Ir;Sn=!1,Ir=null}else throw Error(m(198));Nr||(Nr=!0,Mo=c)}}function Tt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ou(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function su(e){if(Tt(e)!==e)throw Error(m(188))}function Wd(e){var t=e.alternate;if(!t){if(t=Tt(e),t===null)throw Error(m(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return su(i),e;if(o===r)return su(i),t;o=o.sibling}throw Error(m(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(m(189))}}if(n.alternate!==r)throw Error(m(190))}if(n.tag!==3)throw Error(m(188));return n.stateNode.current===n?e:t}function lu(e){return e=Wd(e),e!==null?uu(e):null}function uu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=uu(e);if(t!==null)return t;e=e.sibling}return null}var au=me.unstable_scheduleCallback,cu=me.unstable_cancelCallback,Zd=me.unstable_shouldYield,Gd=me.unstable_requestPaint,W=me.unstable_now,$d=me.unstable_getCurrentPriorityLevel,mo=me.unstable_ImmediatePriority,du=me.unstable_UserBlockingPriority,vr=me.unstable_NormalPriority,Jd=me.unstable_LowPriority,fu=me.unstable_IdlePriority,Tr=null,Re=null;function Xd(e){if(Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(Tr,e,void 0,(e.current.flags&128)===128)}catch{}}var je=Math.clz32?Math.clz32:ef,Kd=Math.log,qd=Math.LN2;function ef(e){return e>>>=0,e===0?32:31-(Kd(e)/qd|0)|0}var Dr=64,Er=4194304;function kn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Sr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=kn(l):(o&=s,o!==0&&(r=kn(o)))}else s=n&~i,s!==0?r=kn(s):o!==0&&(r=kn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-je(t),i=1<<n,r|=e[n],t&=~i;return r}function tf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-je(o),l=1<<s,u=i[s];u===-1?(!(l&n)||l&r)&&(i[s]=tf(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}function xo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pu(){var e=Dr;return Dr<<=1,!(Dr&4194240)&&(Dr=64),e}function wo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function An(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-je(t),e[t]=n}function rf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-je(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Io(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-je(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var _=0;function hu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gu,No,yu,Mu,mu,vo=!1,kr=[],it=null,ot=null,st=null,jn=new Map,zn=new Map,lt=[],of="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 submit".split(" ");function xu(e,t){switch(e){case"focusin":case"focusout":it=null;break;case"dragenter":case"dragleave":ot=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":jn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zn.delete(t.pointerId)}}function Cn(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Wn(t),t!==null&&No(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function sf(e,t,n,r,i){switch(t){case"focusin":return it=Cn(it,e,t,n,r,i),!0;case"dragenter":return ot=Cn(ot,e,t,n,r,i),!0;case"mouseover":return st=Cn(st,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return jn.set(o,Cn(jn.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,zn.set(o,Cn(zn.get(o)||null,e,t,n,r,i)),!0}return!1}function wu(e){var t=Dt(e.target);if(t!==null){var n=Tt(t);if(n!==null){if(t=n.tag,t===13){if(t=ou(n),t!==null){e.blockedOn=t,mu(e.priority,function(){yu(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ar(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Do(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fo=r,n.target.dispatchEvent(r),fo=null}else return t=Wn(n),t!==null&&No(t),e.blockedOn=n,!1;t.shift()}return!0}function Iu(e,t,n){Ar(e)&&n.delete(t)}function lf(){vo=!1,it!==null&&Ar(it)&&(it=null),ot!==null&&Ar(ot)&&(ot=null),st!==null&&Ar(st)&&(st=null),jn.forEach(Iu),zn.forEach(Iu)}function Ln(e,t){e.blockedOn===t&&(e.blockedOn=null,vo||(vo=!0,me.unstable_scheduleCallback(me.unstable_NormalPriority,lf)))}function On(e){function t(i){return Ln(i,e)}if(0<kr.length){Ln(kr[0],e);for(var n=1;n<kr.length;n++){var r=kr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(it!==null&&Ln(it,e),ot!==null&&Ln(ot,e),st!==null&&Ln(st,e),jn.forEach(t),zn.forEach(t),n=0;n<lt.length;n++)r=lt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<lt.length&&(n=lt[0],n.blockedOn===null);)wu(n),n.blockedOn===null&<.shift()}var Zt=Ze.ReactCurrentBatchConfig,jr=!0;function uf(e,t,n,r){var i=_,o=Zt.transition;Zt.transition=null;try{_=1,To(e,t,n,r)}finally{_=i,Zt.transition=o}}function af(e,t,n,r){var i=_,o=Zt.transition;Zt.transition=null;try{_=4,To(e,t,n,r)}finally{_=i,Zt.transition=o}}function To(e,t,n,r){if(jr){var i=Do(e,t,n,r);if(i===null)Bo(e,t,r,zr,n),xu(e,r);else if(sf(i,e,t,n,r))r.stopPropagation();else if(xu(e,r),t&4&&-1<of.indexOf(e)){for(;i!==null;){var o=Wn(i);if(o!==null&&gu(o),o=Do(e,t,n,r),o===null&&Bo(e,t,r,zr,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Bo(e,t,r,null,n)}}var zr=null;function Do(e,t,n,r){if(zr=null,e=po(r),e=Dt(e),e!==null)if(t=Tt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ou(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return zr=e,null}function Nu(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($d()){case mo:return 1;case du:return 4;case vr:case Jd:return 16;case fu:return 536870912;default:return 16}default:return 16}}var ut=null,Eo=null,Cr=null;function vu(){if(Cr)return Cr;var e,t=Eo,n=t.length,r,i="value"in ut?ut.value:ut.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Cr=i.slice(e,1<r?1-r:void 0)}function Lr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Or(){return!0}function Tu(){return!1}function xe(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Or:Tu,this.isPropagationStopped=Tu,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Or)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Or)},persist:function(){},isPersistent:Or}),t}var Gt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},So=xe(Gt),_n=B({},Gt,{view:0,detail:0}),cf=xe(_n),ko,Ao,Un,_r=B({},_n,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Un&&(Un&&e.type==="mousemove"?(ko=e.screenX-Un.screenX,Ao=e.screenY-Un.screenY):Ao=ko=0,Un=e),ko)},movementY:function(e){return"movementY"in e?e.movementY:Ao}}),Du=xe(_r),df=B({},_r,{dataTransfer:0}),ff=xe(df),pf=B({},_n,{relatedTarget:0}),jo=xe(pf),hf=B({},Gt,{animationName:0,elapsedTime:0,pseudoElement:0}),gf=xe(hf),yf=B({},Gt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mf=xe(yf),mf=B({},Gt,{data:0}),Eu=xe(mf),xf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wf={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"},If={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=If[e])?!!t[e]:!1}function zo(){return Nf}var vf=B({},_n,{key:function(e){if(e.key){var t=xf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Lr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zo,charCode:function(e){return e.type==="keypress"?Lr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Lr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Tf=xe(vf),Df=B({},_r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Su=xe(Df),Ef=B({},_n,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zo}),Sf=xe(Ef),kf=B({},Gt,{propertyName:0,elapsedTime:0,pseudoElement:0}),Af=xe(kf),jf=B({},_r,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zf=xe(jf),Cf=[9,13,27,32],Co=We&&"CompositionEvent"in window,Qn=null;We&&"documentMode"in document&&(Qn=document.documentMode);var Lf=We&&"TextEvent"in window&&!Qn,ku=We&&(!Co||Qn&&8<Qn&&11>=Qn),Au=String.fromCharCode(32),ju=!1;function zu(e,t){switch(e){case"keyup":return Cf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $t=!1;function Of(e,t){switch(e){case"compositionend":return Cu(t);case"keypress":return t.which!==32?null:(ju=!0,Au);case"textInput":return e=t.data,e===Au&&ju?null:e;default:return null}}function _f(e,t){if($t)return e==="compositionend"||!Co&&zu(e,t)?(e=vu(),Cr=Eo=ut=null,$t=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ku&&t.locale!=="ko"?null:t.data;default:return null}}var Uf={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Lu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Uf[e.type]:t==="textarea"}function Ou(e,t,n,r){eu(r),t=br(t,"onChange"),0<t.length&&(n=new So("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pn=null,Rn=null;function Qf(e){Ku(e,0)}function Ur(e){var t=en(e);if(Bl(t))return e}function Pf(e,t){if(e==="change")return t}var _u=!1;if(We){var Lo;if(We){var Oo="oninput"in document;if(!Oo){var Uu=document.createElement("div");Uu.setAttribute("oninput","return;"),Oo=typeof Uu.oninput=="function"}Lo=Oo}else Lo=!1;_u=Lo&&(!document.documentMode||9<document.documentMode)}function Qu(){Pn&&(Pn.detachEvent("onpropertychange",Pu),Rn=Pn=null)}function Pu(e){if(e.propertyName==="value"&&Ur(Rn)){var t=[];Ou(t,Rn,e,po(e)),iu(Qf,t)}}function Rf(e,t,n){e==="focusin"?(Qu(),Pn=t,Rn=n,Pn.attachEvent("onpropertychange",Pu)):e==="focusout"&&Qu()}function bf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ur(Rn)}function Yf(e,t){if(e==="click")return Ur(t)}function Bf(e,t){if(e==="input"||e==="change")return Ur(t)}function Ff(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ze=typeof Object.is=="function"?Object.is:Ff;function bn(e,t){if(ze(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Vi.call(t,i)||!ze(e[i],t[i]))return!1}return!0}function Ru(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bu(e,t){var n=Ru(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ru(n)}}function Yu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bu(){for(var e=window,t=xr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xr(e.document)}return t}function _o(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vf(e){var t=Bu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yu(n.ownerDocument.documentElement,n)){if(r!==null&&_o(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=bu(n,o);var s=bu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hf=We&&"documentMode"in document&&11>=document.documentMode,Jt=null,Uo=null,Yn=null,Qo=!1;function Fu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qo||Jt==null||Jt!==xr(r)||(r=Jt,"selectionStart"in r&&_o(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yn&&bn(Yn,r)||(Yn=r,r=br(Uo,"onSelect"),0<r.length&&(t=new So("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jt)))}function Qr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xt={animationend:Qr("Animation","AnimationEnd"),animationiteration:Qr("Animation","AnimationIteration"),animationstart:Qr("Animation","AnimationStart"),transitionend:Qr("Transition","TransitionEnd")},Po={},Vu={};We&&(Vu=document.createElement("div").style,"AnimationEvent"in window||(delete Xt.animationend.animation,delete Xt.animationiteration.animation,delete Xt.animationstart.animation),"TransitionEvent"in window||delete Xt.transitionend.transition);function Pr(e){if(Po[e])return Po[e];if(!Xt[e])return e;var t=Xt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Vu)return Po[e]=t[n];return e}var Hu=Pr("animationend"),Wu=Pr("animationiteration"),Zu=Pr("animationstart"),Gu=Pr("transitionend"),$u=new Map,Ju="abort auxClick 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(" ");function at(e,t){$u.set(e,t),vt(t,[e])}for(var Ro=0;Ro<Ju.length;Ro++){var bo=Ju[Ro],Wf=bo.toLowerCase(),Zf=bo[0].toUpperCase()+bo.slice(1);at(Wf,"on"+Zf)}at(Hu,"onAnimationEnd"),at(Wu,"onAnimationIteration"),at(Zu,"onAnimationStart"),at("dblclick","onDoubleClick"),at("focusin","onFocus"),at("focusout","onBlur"),at(Gu,"onTransitionEnd"),Yt("onMouseEnter",["mouseout","mouseover"]),Yt("onMouseLeave",["mouseout","mouseover"]),Yt("onPointerEnter",["pointerout","pointerover"]),Yt("onPointerLeave",["pointerout","pointerover"]),vt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vt("onBeforeInput",["compositionend","keypress","textInput","paste"]),vt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bn="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(" "),Gf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bn));function Xu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Hd(r,t,void 0,e),e.currentTarget=null}function Ku(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==o&&i.isPropagationStopped())break e;Xu(i,l,c),o=u}else for(s=0;s<r.length;s++){if(l=r[s],u=l.instance,c=l.currentTarget,l=l.listener,u!==o&&i.isPropagationStopped())break e;Xu(i,l,c),o=u}}}if(Nr)throw e=Mo,Nr=!1,Mo=null,e}function Q(e,t){var n=t[Go];n===void 0&&(n=t[Go]=new Set);var r=e+"__bubble";n.has(r)||(qu(t,e,2,!1),n.add(r))}function Yo(e,t,n){var r=0;t&&(r|=4),qu(n,e,r,t)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function Fn(e){if(!e[Rr]){e[Rr]=!0,Ol.forEach(function(n){n!=="selectionchange"&&(Gf.has(n)||Yo(n,!1,e),Yo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Rr]||(t[Rr]=!0,Yo("selectionchange",!1,t))}}function qu(e,t,n,r){switch(Nu(t)){case 1:var i=uf;break;case 4:i=af;break;default:i=To}n=i.bind(null,t,n,e),i=void 0,!yo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Bo(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;s=s.return}for(;l!==null;){if(s=Dt(l),s===null)return;if(u=s.tag,u===5||u===6){r=o=s;continue e}l=l.parentNode}}r=r.return}iu(function(){var c=o,g=po(n),h=[];e:{var p=$u.get(e);if(p!==void 0){var M=So,w=e;switch(e){case"keypress":if(Lr(n)===0)break e;case"keydown":case"keyup":M=Tf;break;case"focusin":w="focus",M=jo;break;case"focusout":w="blur",M=jo;break;case"beforeblur":case"afterblur":M=jo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":M=Du;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=ff;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=Sf;break;case Hu:case Wu:case Zu:M=gf;break;case Gu:M=Af;break;case"scroll":M=cf;break;case"wheel":M=zf;break;case"copy":case"cut":case"paste":M=Mf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Su}var x=(t&4)!==0,k=!x&&e==="scroll",d=x?p!==null?p+"Capture":null:p;x=[];for(var a=c,f;a!==null;){f=a;var y=f.stateNode;if(f.tag===5&&y!==null&&(f=y,d!==null&&(y=Dn(a,d),y!=null&&x.push(Vn(a,y,f)))),k)break;a=a.return}0<x.length&&(p=new M(p,w,null,n,g),h.push({event:p,listeners:x}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",p&&n!==fo&&(w=n.relatedTarget||n.fromElement)&&(Dt(w)||w[Ge]))break e;if((M||p)&&(p=g.window===g?g:(p=g.ownerDocument)?p.defaultView||p.parentWindow:window,M?(w=n.relatedTarget||n.toElement,M=c,w=w?Dt(w):null,w!==null&&(k=Tt(w),w!==k||w.tag!==5&&w.tag!==6)&&(w=null)):(M=null,w=c),M!==w)){if(x=Du,y="onMouseLeave",d="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(x=Su,y="onPointerLeave",d="onPointerEnter",a="pointer"),k=M==null?p:en(M),f=w==null?p:en(w),p=new x(y,a+"leave",M,n,g),p.target=k,p.relatedTarget=f,y=null,Dt(g)===c&&(x=new x(d,a+"enter",w,n,g),x.target=f,x.relatedTarget=k,y=x),k=y,M&&w)t:{for(x=M,d=w,a=0,f=x;f;f=Kt(f))a++;for(f=0,y=d;y;y=Kt(y))f++;for(;0<a-f;)x=Kt(x),a--;for(;0<f-a;)d=Kt(d),f--;for(;a--;){if(x===d||d!==null&&x===d.alternate)break t;x=Kt(x),d=Kt(d)}x=null}else x=null;M!==null&&ea(h,p,M,x,!1),w!==null&&k!==null&&ea(h,k,w,x,!0)}}e:{if(p=c?en(c):window,M=p.nodeName&&p.nodeName.toLowerCase(),M==="select"||M==="input"&&p.type==="file")var v=Pf;else if(Lu(p))if(_u)v=Bf;else{v=bf;var N=Rf}else(M=p.nodeName)&&M.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(v=Yf);if(v&&(v=v(e,c))){Ou(h,v,n,g);break e}N&&N(e,p,c),e==="focusout"&&(N=p._wrapperState)&&N.controlled&&p.type==="number"&&so(p,"number",p.value)}switch(N=c?en(c):window,e){case"focusin":(Lu(N)||N.contentEditable==="true")&&(Jt=N,Uo=c,Yn=null);break;case"focusout":Yn=Uo=Jt=null;break;case"mousedown":Qo=!0;break;case"contextmenu":case"mouseup":case"dragend":Qo=!1,Fu(h,n,g);break;case"selectionchange":if(Hf)break;case"keydown":case"keyup":Fu(h,n,g)}var T;if(Co)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else $t?zu(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(ku&&n.locale!=="ko"&&($t||S!=="onCompositionStart"?S==="onCompositionEnd"&&$t&&(T=vu()):(ut=g,Eo="value"in ut?ut.value:ut.textContent,$t=!0)),N=br(c,S),0<N.length&&(S=new Eu(S,e,null,n,g),h.push({event:S,listeners:N}),T?S.data=T:(T=Cu(n),T!==null&&(S.data=T)))),(T=Lf?Of(e,n):_f(e,n))&&(c=br(c,"onBeforeInput"),0<c.length&&(g=new Eu("onBeforeInput","beforeinput",null,n,g),h.push({event:g,listeners:c}),g.data=T))}Ku(h,t)})}function Vn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function br(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Dn(e,n),o!=null&&r.unshift(Vn(e,o,i)),o=Dn(e,t),o!=null&&r.push(Vn(e,o,i))),e=e.return}return r}function Kt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ea(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,u=l.alternate,c=l.stateNode;if(u!==null&&u===r)break;l.tag===5&&c!==null&&(l=c,i?(u=Dn(n,o),u!=null&&s.unshift(Vn(n,u,l))):i||(u=Dn(n,o),u!=null&&s.push(Vn(n,u,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var $f=/\r\n?/g,Jf=/\u0000|\uFFFD/g;function ta(e){return(typeof e=="string"?e:""+e).replace($f,`
|
|
38
38
|
`).replace(Jf,"")}function Yr(e,t,n){if(t=ta(t),ta(e)!==t&&n)throw Error(m(425))}function Br(){}var Fo=null,Vo=null;function Ho(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Wo=typeof setTimeout=="function"?setTimeout:void 0,Xf=typeof clearTimeout=="function"?clearTimeout:void 0,na=typeof Promise=="function"?Promise:void 0,Kf=typeof queueMicrotask=="function"?queueMicrotask:typeof na<"u"?function(e){return na.resolve(null).then(e).catch(qf)}:Wo;function qf(e){setTimeout(function(){throw e})}function Zo(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),On(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);On(t)}function ct(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ra(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var qt=Math.random().toString(36).slice(2),be="__reactFiber$"+qt,Hn="__reactProps$"+qt,Ge="__reactContainer$"+qt,Go="__reactEvents$"+qt,ep="__reactListeners$"+qt,tp="__reactHandles$"+qt;function Dt(e){var t=e[be];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ge]||n[be]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ra(e);e!==null;){if(n=e[be])return n;e=ra(e)}return t}e=n,n=e.parentNode}return null}function Wn(e){return e=e[be]||e[Ge],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function en(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(m(33))}function Fr(e){return e[Hn]||null}var $o=[],tn=-1;function dt(e){return{current:e}}function P(e){0>tn||(e.current=$o[tn],$o[tn]=null,tn--)}function U(e,t){tn++,$o[tn]=e.current,e.current=t}var ft={},ie=dt(ft),fe=dt(!1),Et=ft;function nn(e,t){var n=e.type.contextTypes;if(!n)return ft;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function pe(e){return e=e.childContextTypes,e!=null}function Vr(){P(fe),P(ie)}function ia(e,t,n){if(ie.current!==ft)throw Error(m(168));U(ie,t),U(fe,n)}function oa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(m(108,Pd(e)||"Unknown",i));return B({},n,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ft,Et=ie.current,U(ie,e),U(fe,fe.current),!0}function sa(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=oa(e,t,Et),r.__reactInternalMemoizedMergedChildContext=e,P(fe),P(ie),U(ie,e)):P(fe),U(fe,n)}var $e=null,Wr=!1,Jo=!1;function la(e){$e===null?$e=[e]:$e.push(e)}function np(e){Wr=!0,la(e)}function pt(){if(!Jo&&$e!==null){Jo=!0;var e=0,t=_;try{var n=$e;for(_=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}$e=null,Wr=!1}catch(i){throw $e!==null&&($e=$e.slice(e+1)),au(mo,pt),i}finally{_=t,Jo=!1}}return null}var rn=[],on=0,Zr=null,Gr=0,ve=[],Te=0,St=null,Je=1,Xe="";function kt(e,t){rn[on++]=Gr,rn[on++]=Zr,Zr=e,Gr=t}function ua(e,t,n){ve[Te++]=Je,ve[Te++]=Xe,ve[Te++]=St,St=e;var r=Je;e=Xe;var i=32-je(r)-1;r&=~(1<<i),n+=1;var o=32-je(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Je=1<<32-je(t)+i|n<<i|r,Xe=o+e}else Je=1<<o|n<<i|r,Xe=e}function Xo(e){e.return!==null&&(kt(e,1),ua(e,1,0))}function Ko(e){for(;e===Zr;)Zr=rn[--on],rn[on]=null,Gr=rn[--on],rn[on]=null;for(;e===St;)St=ve[--Te],ve[Te]=null,Xe=ve[--Te],ve[Te]=null,Je=ve[--Te],ve[Te]=null}var we=null,Ie=null,b=!1,Ce=null;function aa(e,t){var n=ke(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ca(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,we=e,Ie=ct(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,we=e,Ie=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=St!==null?{id:Je,overflow:Xe}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ke(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,we=e,Ie=null,!0):!1;default:return!1}}function qo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function es(e){if(b){var t=Ie;if(t){var n=t;if(!ca(e,t)){if(qo(e))throw Error(m(418));t=ct(n.nextSibling);var r=we;t&&ca(e,t)?aa(r,n):(e.flags=e.flags&-4097|2,b=!1,we=e)}}else{if(qo(e))throw Error(m(418));e.flags=e.flags&-4097|2,b=!1,we=e}}}function da(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;we=e}function $r(e){if(e!==we)return!1;if(!b)return da(e),b=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ho(e.type,e.memoizedProps)),t&&(t=Ie)){if(qo(e))throw fa(),Error(m(418));for(;t;)aa(e,t),t=ct(t.nextSibling)}if(da(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(m(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ie=ct(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ie=null}}else Ie=we?ct(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=Ie;e;)e=ct(e.nextSibling)}function sn(){Ie=we=null,b=!1}function ts(e){Ce===null?Ce=[e]:Ce.push(e)}var rp=Ze.ReactCurrentBatchConfig;function Zn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(m(309));var r=n.stateNode}if(!r)throw Error(m(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(m(284));if(!n._owner)throw Error(m(290,e))}return e}function Jr(e,t){throw e=Object.prototype.toString.call(t),Error(m(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pa(e){var t=e._init;return t(e._payload)}function ha(e){function t(d,a){if(e){var f=d.deletions;f===null?(d.deletions=[a],d.flags|=16):f.push(a)}}function n(d,a){if(!e)return null;for(;a!==null;)t(d,a),a=a.sibling;return null}function r(d,a){for(d=new Map;a!==null;)a.key!==null?d.set(a.key,a):d.set(a.index,a),a=a.sibling;return d}function i(d,a){return d=It(d,a),d.index=0,d.sibling=null,d}function o(d,a,f){return d.index=f,e?(f=d.alternate,f!==null?(f=f.index,f<a?(d.flags|=2,a):f):(d.flags|=2,a)):(d.flags|=1048576,a)}function s(d){return e&&d.alternate===null&&(d.flags|=2),d}function l(d,a,f,y){return a===null||a.tag!==6?(a=Ws(f,d.mode,y),a.return=d,a):(a=i(a,f),a.return=d,a)}function u(d,a,f,y){var v=f.type;return v===Ft?g(d,a,f.props.children,y,f.key):a!==null&&(a.elementType===v||typeof v=="object"&&v!==null&&v.$$typeof===nt&&pa(v)===a.type)?(y=i(a,f.props),y.ref=Zn(d,a,f),y.return=d,y):(y=wi(f.type,f.key,f.props,null,d.mode,y),y.ref=Zn(d,a,f),y.return=d,y)}function c(d,a,f,y){return a===null||a.tag!==4||a.stateNode.containerInfo!==f.containerInfo||a.stateNode.implementation!==f.implementation?(a=Zs(f,d.mode,y),a.return=d,a):(a=i(a,f.children||[]),a.return=d,a)}function g(d,a,f,y,v){return a===null||a.tag!==7?(a=Ut(f,d.mode,y,v),a.return=d,a):(a=i(a,f),a.return=d,a)}function h(d,a,f){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Ws(""+a,d.mode,f),a.return=d,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case Mr:return f=wi(a.type,a.key,a.props,null,d.mode,f),f.ref=Zn(d,null,a),f.return=d,f;case Bt:return a=Zs(a,d.mode,f),a.return=d,a;case nt:var y=a._init;return h(d,y(a._payload),f)}if(Nn(a)||wn(a))return a=Ut(a,d.mode,f,null),a.return=d,a;Jr(d,a)}return null}function p(d,a,f,y){var v=a!==null?a.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return v!==null?null:l(d,a,""+f,y);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Mr:return f.key===v?u(d,a,f,y):null;case Bt:return f.key===v?c(d,a,f,y):null;case nt:return v=f._init,p(d,a,v(f._payload),y)}if(Nn(f)||wn(f))return v!==null?null:g(d,a,f,y,null);Jr(d,f)}return null}function M(d,a,f,y,v){if(typeof y=="string"&&y!==""||typeof y=="number")return d=d.get(f)||null,l(a,d,""+y,v);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Mr:return d=d.get(y.key===null?f:y.key)||null,u(a,d,y,v);case Bt:return d=d.get(y.key===null?f:y.key)||null,c(a,d,y,v);case nt:var N=y._init;return M(d,a,f,N(y._payload),v)}if(Nn(y)||wn(y))return d=d.get(f)||null,g(a,d,y,v,null);Jr(a,y)}return null}function w(d,a,f,y){for(var v=null,N=null,T=a,S=a=0,Y=null;T!==null&&S<f.length;S++){T.index>S?(Y=T,T=null):Y=T.sibling;var j=p(d,T,f[S],y);if(j===null){T===null&&(T=Y);break}e&&T&&j.alternate===null&&t(d,T),a=o(j,a,S),N===null?v=j:N.sibling=j,N=j,T=Y}if(S===f.length)return n(d,T),b&&kt(d,S),v;if(T===null){for(;S<f.length;S++)T=h(d,f[S],y),T!==null&&(a=o(T,a,S),N===null?v=T:N.sibling=T,N=T);return b&&kt(d,S),v}for(T=r(d,T);S<f.length;S++)Y=M(T,d,S,f[S],y),Y!==null&&(e&&Y.alternate!==null&&T.delete(Y.key===null?S:Y.key),a=o(Y,a,S),N===null?v=Y:N.sibling=Y,N=Y);return e&&T.forEach(function(Pe){return t(d,Pe)}),b&&kt(d,S),v}function x(d,a,f,y){var v=wn(f);if(typeof v!="function")throw Error(m(150));if(f=v.call(f),f==null)throw Error(m(151));for(var N=v=null,T=a,S=a=0,Y=null,j=f.next();T!==null&&!j.done;S++,j=f.next()){T.index>S?(Y=T,T=null):Y=T.sibling;var Pe=p(d,T,j.value,y);if(Pe===null){T===null&&(T=Y);break}e&&T&&Pe.alternate===null&&t(d,T),a=o(Pe,a,S),N===null?v=Pe:N.sibling=Pe,N=Pe,T=Y}if(j.done)return n(d,T),b&&kt(d,S),v;if(T===null){for(;!j.done;S++,j=f.next())j=h(d,j.value,y),j!==null&&(a=o(j,a,S),N===null?v=j:N.sibling=j,N=j);return b&&kt(d,S),v}for(T=r(d,T);!j.done;S++,j=f.next())j=M(T,d,S,j.value,y),j!==null&&(e&&j.alternate!==null&&T.delete(j.key===null?S:j.key),a=o(j,a,S),N===null?v=j:N.sibling=j,N=j);return e&&T.forEach(function(cr){return t(d,cr)}),b&&kt(d,S),v}function k(d,a,f,y){if(typeof f=="object"&&f!==null&&f.type===Ft&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Mr:e:{for(var v=f.key,N=a;N!==null;){if(N.key===v){if(v=f.type,v===Ft){if(N.tag===7){n(d,N.sibling),a=i(N,f.props.children),a.return=d,d=a;break e}}else if(N.elementType===v||typeof v=="object"&&v!==null&&v.$$typeof===nt&&pa(v)===N.type){n(d,N.sibling),a=i(N,f.props),a.ref=Zn(d,N,f),a.return=d,d=a;break e}n(d,N);break}else t(d,N);N=N.sibling}f.type===Ft?(a=Ut(f.props.children,d.mode,y,f.key),a.return=d,d=a):(y=wi(f.type,f.key,f.props,null,d.mode,y),y.ref=Zn(d,a,f),y.return=d,d=y)}return s(d);case Bt:e:{for(N=f.key;a!==null;){if(a.key===N)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){n(d,a.sibling),a=i(a,f.children||[]),a.return=d,d=a;break e}else{n(d,a);break}else t(d,a);a=a.sibling}a=Zs(f,d.mode,y),a.return=d,d=a}return s(d);case nt:return N=f._init,k(d,a,N(f._payload),y)}if(Nn(f))return w(d,a,f,y);if(wn(f))return x(d,a,f,y);Jr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(n(d,a.sibling),a=i(a,f),a.return=d,d=a):(n(d,a),a=Ws(f,d.mode,y),a.return=d,d=a),s(d)):n(d,a)}return k}var ln=ha(!0),ga=ha(!1),Xr=dt(null),Kr=null,un=null,ns=null;function rs(){ns=un=Kr=null}function is(e){var t=Xr.current;P(Xr),e._currentValue=t}function os(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function an(e,t){Kr=e,ns=un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function De(e){var t=e._currentValue;if(ns!==e)if(e={context:e,memoizedValue:t,next:null},un===null){if(Kr===null)throw Error(m(308));un=e,Kr.dependencies={lanes:0,firstContext:e}}else un=un.next=e;return t}var At=null;function ss(e){At===null?At=[e]:At.push(e)}function ya(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ss(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ke(e,r)}function Ke(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ht=!1;function ls(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ma(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ke(e,n)}return i=r.interleaved,i===null?(t.next=t,ss(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ke(e,n)}function qr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Io(e,n)}}function ma(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ei(e,t,n,r){var i=e.updateQueue;ht=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,c=u.next;u.next=null,s===null?o=c:s.next=c,s=u;var g=e.alternate;g!==null&&(g=g.updateQueue,l=g.lastBaseUpdate,l!==s&&(l===null?g.firstBaseUpdate=c:l.next=c,g.lastBaseUpdate=u))}if(o!==null){var h=i.baseState;s=0,g=c=u=null,l=o;do{var p=l.lane,M=l.eventTime;if((r&p)===p){g!==null&&(g=g.next={eventTime:M,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,x=l;switch(p=t,M=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){h=w.call(M,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,p=typeof w=="function"?w.call(M,h,p):w,p==null)break e;h=B({},h,p);break e;case 2:ht=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else M={eventTime:M,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},g===null?(c=g=M,u=h):g=g.next=M,s|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);if(g===null&&(u=h),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=g,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ct|=s,e.lanes=s,e.memoizedState=h}}function xa(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(m(191,i));i.call(r)}}}var Gn={},Ye=dt(Gn),$n=dt(Gn),Jn=dt(Gn);function jt(e){if(e===Gn)throw Error(m(174));return e}function us(e,t){switch(U(Jn,t),U($n,e),U(Ye,Gn),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:uo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=uo(t,e)}P(Ye),U(Ye,t)}function cn(){P(Ye),P($n),P(Jn)}function wa(e){jt(Jn.current);var t=jt(Ye.current),n=uo(t,e.type);t!==n&&(U($n,e),U(Ye,n))}function as(e){$n.current===e&&(P(Ye),P($n))}var F=dt(0);function ti(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function ds(){for(var e=0;e<cs.length;e++)cs[e]._workInProgressVersionPrimary=null;cs.length=0}var ni=Ze.ReactCurrentDispatcher,fs=Ze.ReactCurrentBatchConfig,zt=0,V=null,J=null,K=null,ri=!1,Xn=!1,Kn=0,ip=0;function oe(){throw Error(m(321))}function ps(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ze(e[n],t[n]))return!1;return!0}function hs(e,t,n,r,i,o){if(zt=o,V=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ni.current=e===null||e.memoizedState===null?up:ap,e=n(r,i),Xn){o=0;do{if(Xn=!1,Kn=0,25<=o)throw Error(m(301));o+=1,K=J=null,t.updateQueue=null,ni.current=cp,e=n(r,i)}while(Xn)}if(ni.current=si,t=J!==null&&J.next!==null,zt=0,K=J=V=null,ri=!1,t)throw Error(m(300));return e}function gs(){var e=Kn!==0;return Kn=0,e}function Be(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return K===null?V.memoizedState=K=e:K=K.next=e,K}function Ee(){if(J===null){var e=V.alternate;e=e!==null?e.memoizedState:null}else e=J.next;var t=K===null?V.memoizedState:K.next;if(t!==null)K=t,J=e;else{if(e===null)throw Error(m(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},K===null?V.memoizedState=K=e:K=K.next=e}return K}function qn(e,t){return typeof t=="function"?t(e):t}function ys(e){var t=Ee(),n=t.queue;if(n===null)throw Error(m(311));n.lastRenderedReducer=e;var r=J,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,u=null,c=o;do{var g=c.lane;if((zt&g)===g)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:g,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(l=u=h,s=r):u=u.next=h,V.lanes|=g,Ct|=g}c=c.next}while(c!==null&&c!==o);u===null?s=r:u.next=l,ze(r,t.memoizedState)||(he=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,V.lanes|=o,Ct|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ms(e){var t=Ee(),n=t.queue;if(n===null)throw Error(m(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);ze(o,t.memoizedState)||(he=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ia(){}function Na(e,t){var n=V,r=Ee(),i=t(),o=!ze(r.memoizedState,i);if(o&&(r.memoizedState=i,he=!0),r=r.queue,ms(Da.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||K!==null&&K.memoizedState.tag&1){if(n.flags|=2048,er(9,Ta.bind(null,n,r,i,t),void 0,null),q===null)throw Error(m(349));zt&30||va(n,t,i)}return i}function va(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ta(e,t,n,r){t.value=n,t.getSnapshot=r,Ea(t)&&Sa(e)}function Da(e,t,n){return n(function(){Ea(t)&&Sa(e)})}function Ea(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ze(e,n)}catch{return!0}}function Sa(e){var t=Ke(e,1);t!==null&&Ue(t,e,1,-1)}function ka(e){var t=Be();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qn,lastRenderedState:e},t.queue=e,e=e.dispatch=lp.bind(null,V,e),[t.memoizedState,e]}function er(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=V.updateQueue,t===null?(t={lastEffect:null,stores:null},V.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Aa(){return Ee().memoizedState}function ii(e,t,n,r){var i=Be();V.flags|=e,i.memoizedState=er(1|t,n,void 0,r===void 0?null:r)}function oi(e,t,n,r){var i=Ee();r=r===void 0?null:r;var o=void 0;if(J!==null){var s=J.memoizedState;if(o=s.destroy,r!==null&&ps(r,s.deps)){i.memoizedState=er(t,n,o,r);return}}V.flags|=e,i.memoizedState=er(1|t,n,o,r)}function ja(e,t){return ii(8390656,8,e,t)}function ms(e,t){return oi(2048,8,e,t)}function za(e,t){return oi(4,2,e,t)}function Ca(e,t){return oi(4,4,e,t)}function La(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Oa(e,t,n){return n=n!=null?n.concat([e]):null,oi(4,4,La.bind(null,t,e),n)}function xs(){}function _a(e,t){var n=Ee();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ps(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ua(e,t){var n=Ee();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ps(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return zt&21?(ze(n,t)||(n=pu(),V.lanes|=n,Ct|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,he=!0),e.memoizedState=n)}function op(e,t){var n=_;_=n!==0&&4>n?n:4,e(!0);var r=fs.transition;fs.transition={};try{e(!1),t()}finally{_=n,fs.transition=r}}function Pa(){return Ee().memoizedState}function sp(e,t,n){var r=xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ra(e))ba(t,n);else if(n=ya(e,t,n,r),n!==null){var i=de();Ue(n,e,r,i),Ya(n,t,r)}}function lp(e,t,n){var r=xt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ra(e))ba(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,ze(l,s)){var u=t.interleaved;u===null?(i.next=i,ss(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=ya(e,t,i,r),n!==null&&(i=de(),Ue(n,e,r,i),Ya(n,t,r))}}function Ra(e){var t=e.alternate;return e===V||t!==null&&t===V}function ba(e,t){Xn=ri=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Io(e,n)}}var si={readContext:De,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},up={readContext:De,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:De,useEffect:ja,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ii(4194308,4,La.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ii(4194308,4,e,t)},useInsertionEffect:function(e,t){return ii(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=sp.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:ka,useDebugValue:xs,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=ka(!1),t=e[0];return e=op.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,i=Be();if(b){if(n===void 0)throw Error(m(407));n=n()}else{if(n=t(),q===null)throw Error(m(349));zt&30||va(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ja(Da.bind(null,r,o,e),[e]),r.flags|=2048,er(9,Ta.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Be(),t=q.identifierPrefix;if(b){var n=Xe,r=Je;n=(r&~(1<<32-je(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Kn++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ip++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ap={readContext:De,useCallback:_a,useContext:De,useEffect:ms,useImperativeHandle:Oa,useInsertionEffect:za,useLayoutEffect:Ca,useMemo:Ua,useReducer:ys,useRef:Aa,useState:function(){return ys(qn)},useDebugValue:xs,useDeferredValue:function(e){var t=Ee();return Qa(t,J.memoizedState,e)},useTransition:function(){var e=ys(qn)[0],t=Ee().memoizedState;return[e,t]},useMutableSource:Ia,useSyncExternalStore:Na,useId:Pa,unstable_isNewReconciler:!1},cp={readContext:De,useCallback:_a,useContext:De,useEffect:ms,useImperativeHandle:Oa,useInsertionEffect:za,useLayoutEffect:Ca,useMemo:Ua,useReducer:Ms,useRef:Aa,useState:function(){return Ms(qn)},useDebugValue:xs,useDeferredValue:function(e){var t=Ee();return J===null?t.memoizedState=e:Qa(t,J.memoizedState,e)},useTransition:function(){var e=Ms(qn)[0],t=Ee().memoizedState;return[e,t]},useMutableSource:Ia,useSyncExternalStore:Na,useId:Pa,unstable_isNewReconciler:!1};function Le(e,t){if(e&&e.defaultProps){t=B({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ws(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:B({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var li={isMounted:function(e){return(e=e._reactInternals)?Tt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=de(),i=xt(e),o=qe(r,i);o.payload=t,n!=null&&(o.callback=n),t=gt(e,o,i),t!==null&&(Ue(t,e,i,r),qr(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=de(),i=xt(e),o=qe(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=gt(e,o,i),t!==null&&(Ue(t,e,i,r),qr(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=de(),r=xt(e),i=qe(n,r);i.tag=2,t!=null&&(i.callback=t),t=gt(e,i,r),t!==null&&(Ue(t,e,r,n),qr(t,e,r))}};function Ba(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!bn(n,r)||!bn(i,o):!0}function Fa(e,t,n){var r=!1,i=ft,o=t.contextType;return typeof o=="object"&&o!==null?o=De(o):(i=pe(t)?Et:ie.current,r=t.contextTypes,o=(r=r!=null)?nn(e,i):ft),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=li,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Va(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&li.enqueueReplaceState(t,t.state,null)}function Is(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ls(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=De(o):(o=pe(t)?Et:ie.current,i.context=nn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(ws(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&li.enqueueReplaceState(i,i.state,null),ei(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function dn(e,t){try{var n="",r=t;do n+=Qd(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
39
39
|
Error generating stack: `+o.message+`
|
|
40
|
-
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ns(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function vs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dp=typeof WeakMap=="function"?WeakMap:Map;function Ha(e,t,n){n=qe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hi||(hi=!0,Ps=r),vs(e,t)},n}function Wa(e,t,n){n=qe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){vs(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){vs(e,t),typeof r!="function"&&(Mt===null?Mt=new Set([this]):Mt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Za(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Dp.bind(null,e,t,n),t.then(e,e))}function Ga(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $a(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qe(-1,1),t.tag=2,gt(n,t,1))),n.lanes|=1),e)}var fp=Ze.ReactCurrentOwner,he=!1;function ce(e,t,n,r){t.child=e===null?ga(t,null,n,r):ln(t,e.child,n,r)}function Ja(e,t,n,r,i){n=n.render;var o=t.ref;return an(t,i),r=hs(e,t,n,r,o,i),n=gs(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,et(e,t,i)):(b&&n&&Xo(t),t.flags|=1,ce(e,t,r,i),t.child)}function Xa(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Hs(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ka(e,t,o,r,i)):(e=wi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:bn,n(s,r)&&e.ref===t.ref)return et(e,t,i)}return t.flags|=1,e=It(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ka(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(bn(o,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,et(e,t,i)}return Ts(e,t,n,r,i)}function qa(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U(pn,Ne),Ne|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,U(pn,Ne),Ne|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,U(pn,Ne),Ne|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,U(pn,Ne),Ne|=r;return ce(e,t,i,n),t.child}function ec(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,i){var o=pe(n)?Et:ie.current;return o=nn(t,o),an(t,i),n=hs(e,t,n,r,o,i),r=gs(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,et(e,t,i)):(b&&r&&Xo(t),t.flags|=1,ce(e,t,n,i),t.child)}function tc(e,t,n,r,i){if(pe(n)){var o=!0;Hr(t)}else o=!1;if(an(t,i),t.stateNode===null)ai(e,t),Fa(t,n,r),Is(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=De(c):(c=pe(n)?Et:ie.current,c=nn(t,c));var g=n.getDerivedStateFromProps,h=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function";h||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||u!==c)&&Va(t,s,r,c),ht=!1;var p=t.memoizedState;s.state=p,ei(t,r,s,i),u=t.memoizedState,l!==r||p!==u||fe.current||ht?(typeof g=="function"&&(ws(t,n,g,r),u=t.memoizedState),(l=ht||Ba(t,n,l,r,p,u,c))?(h||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ma(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Le(t.type,l),s.props=c,h=t.pendingProps,p=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=De(u):(u=pe(n)?Et:ie.current,u=nn(t,u));var M=n.getDerivedStateFromProps;(g=typeof M=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==h||p!==u)&&Va(t,s,r,u),ht=!1,p=t.memoizedState,s.state=p,ei(t,r,s,i);var w=t.memoizedState;l!==h||p!==w||fe.current||ht?(typeof M=="function"&&(ws(t,n,M,r),w=t.memoizedState),(c=ht||Ba(t,n,c,r,p,w,u)||!1)?(g||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ds(e,t,n,r,o,i)}function Ds(e,t,n,r,i,o){ec(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&sa(t,n,!1),et(e,t,o);r=t.stateNode,fp.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ln(t,e.child,null,o),t.child=ln(t,null,l,o)):ce(e,t,l,o),t.memoizedState=r.state,i&&sa(t,n,!0),t.child}function nc(e){var t=e.stateNode;t.pendingContext?ia(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ia(e,t.context,!1),us(e,t.containerInfo)}function rc(e,t,n,r,i){return sn(),ts(i),t.flags|=256,ce(e,t,n,r),t.child}var Es={dehydrated:null,treeContext:null,retryLane:0};function Ss(e){return{baseLanes:e,cachePool:null,transitions:null}}function ic(e,t,n){var r=t.pendingProps,i=F.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),U(F,i&1),e===null)return es(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ii(s,r,0,null),e=Ut(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Ss(n),t.memoizedState=Es,e):ks(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return pp(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=It(i,u),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=It(l,o):(o=Ut(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Ss(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Es,r}return o=e.child,e=o.sibling,r=It(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ks(e,t){return t=Ii({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ui(e,t,n,r){return r!==null&&ts(r),ln(t,e.child,null,n),e=ks(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pp(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Ns(Error(m(422))),ui(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ii({mode:"visible",children:r.children},i,0,null),o=Ut(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&ln(t,e.child,null,s),t.child.memoizedState=Ss(s),t.memoizedState=Es,o);if(!(t.mode&1))return ui(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(m(419)),r=Ns(o,r,void 0),ui(e,t,s,r)}if(l=(s&e.childLanes)!==0,he||l){if(r=q,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ke(e,i),Ue(r,e,i,-1))}return Vs(),r=Ns(Error(m(421))),ui(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ep.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ie=ct(i.nextSibling),we=t,b=!0,Ce=null,e!==null&&(ve[Te++]=Je,ve[Te++]=Xe,ve[Te++]=St,Je=e.id,Xe=e.overflow,St=t),t=ks(t,r.children),t.flags|=4096,t)}function oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),os(e.return,t,n)}function As(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function sc(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=F.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oc(e,n,t);else if(e.tag===19)oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(U(F,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ti(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),As(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ti(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}As(t,!0,n,null,o);break;case"together":As(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ai(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ct|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(m(153));if(t.child!==null){for(e=t.child,n=It(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=It(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hp(e,t,n){switch(t.tag){case 3:nc(t),sn();break;case 5:wa(t);break;case 1:pe(t.type)&&Hr(t);break;case 4:us(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;U(Xr,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(F,F.current&1),t.flags|=128,null):n&t.child.childLanes?ic(e,t,n):(U(F,F.current&1),e=et(e,t,n),e!==null?e.sibling:null);U(F,F.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return sc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(F,F.current),r)break;return null;case 22:case 23:return t.lanes=0,qa(e,t,n)}return et(e,t,n)}var lc,js,uc,ac;lc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},js=function(){},uc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,jt(Ye.current);var o=null;switch(n){case"input":i=io(e,i),r=io(e,r),o=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),o=[];break;case"textarea":i=lo(e,i),r=lo(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Br)}ao(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(xn.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(l=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(o=o||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(xn.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&Q("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},ac=function(e,t,n,r){n!==r&&(t.flags|=4)};function tr(e,t){if(!b)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function se(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gp(e,t,n){var r=t.pendingProps;switch(Ko(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return se(t),null;case 1:return pe(t.type)&&Vr(),se(t),null;case 3:return r=t.stateNode,cn(),P(fe),P(ie),ds(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($r(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ce!==null&&(Ys(Ce),Ce=null))),js(e,t),se(t),null;case 5:as(t);var i=jt(Jn.current);if(n=t.type,e!==null&&t.stateNode!=null)uc(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(m(166));return se(t),null}if(e=jt(Ye.current),$r(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[be]=t,r[Hn]=o,e=(t.mode&1)!==0,n){case"dialog":Q("cancel",r),Q("close",r);break;case"iframe":case"object":case"embed":Q("load",r);break;case"video":case"audio":for(i=0;i<Bn.length;i++)Q(Bn[i],r);break;case"source":Q("error",r);break;case"img":case"image":case"link":Q("error",r),Q("load",r);break;case"details":Q("toggle",r);break;case"input":Fl(r,o),Q("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Q("invalid",r);break;case"textarea":Wl(r,o),Q("invalid",r)}ao(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,l,e),i=["children",""+l]):xn.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&Q("scroll",r)}switch(n){case"input":mr(r),Hl(r,o,!0);break;case"textarea":mr(r),Gl(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Br)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$l(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[be]=t,e[Hn]=r,lc(e,t,!1,!1),t.stateNode=e;e:{switch(s=co(n,r),n){case"dialog":Q("cancel",e),Q("close",e),i=r;break;case"iframe":case"object":case"embed":Q("load",e),i=r;break;case"video":case"audio":for(i=0;i<Bn.length;i++)Q(Bn[i],e);i=r;break;case"source":Q("error",e),i=r;break;case"img":case"image":case"link":Q("error",e),Q("load",e),i=r;break;case"details":Q("toggle",e),i=r;break;case"input":Fl(e,r),i=io(e,r),Q("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),Q("invalid",e);break;case"textarea":Wl(e,r),i=lo(e,r),Q("invalid",e);break;default:i=r}ao(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var u=l[o];o==="style"?Kl(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Jl(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&vn(e,u):typeof u=="number"&&vn(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(xn.hasOwnProperty(o)?u!=null&&o==="onScroll"&&Q("scroll",e):u!=null&&Zi(e,o,u,s))}switch(n){case"input":mr(e),Hl(e,r,!1);break;case"textarea":mr(e),Gl(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Vt(e,!!r.multiple,o,!1):r.defaultValue!=null&&Vt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return se(t),null;case 6:if(e&&t.stateNode!=null)ac(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(m(166));if(n=jt(Jn.current),jt(Ye.current),$r(t)){if(r=t.stateNode,n=t.memoizedProps,r[be]=t,(o=r.nodeValue!==n)&&(e=we,e!==null))switch(e.tag){case 3:Yr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[be]=t,t.stateNode=r}return se(t),null;case 13:if(P(F),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(b&&Ie!==null&&t.mode&1&&!(t.flags&128))fa(),sn(),t.flags|=98560,o=!1;else if(o=$r(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(m(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(m(317));o[be]=t}else sn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;se(t),o=!1}else Ce!==null&&(Ys(Ce),Ce=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||F.current&1?X===0&&(X=3):Vs())),t.updateQueue!==null&&(t.flags|=4),se(t),null);case 4:return cn(),js(e,t),e===null&&Fn(t.stateNode.containerInfo),se(t),null;case 10:return is(t.type._context),se(t),null;case 17:return pe(t.type)&&Vr(),se(t),null;case 19:if(P(F),o=t.memoizedState,o===null)return se(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)tr(o,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ti(e),s!==null){for(t.flags|=128,tr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(F,F.current&1|2),t.child}e=e.sibling}o.tail!==null&&W()>hn&&(t.flags|=128,r=!0,tr(o,!1),t.lanes=4194304)}else{if(!r)if(e=ti(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),tr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!b)return se(t),null}else 2*W()-o.renderingStartTime>hn&&n!==1073741824&&(t.flags|=128,r=!0,tr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=W(),t.sibling=null,n=F.current,U(F,r?n&1|2:n&1),t):(se(t),null);case 22:case 23:return Fs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(se(t),t.subtreeFlags&6&&(t.flags|=8192)):se(t),null;case 24:return null;case 25:return null}throw Error(m(156,t.tag))}function yp(e,t){switch(Ko(t),t.tag){case 1:return pe(t.type)&&Vr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),P(fe),P(ie),ds(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return as(t),null;case 13:if(P(F),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(m(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(F),null;case 4:return cn(),null;case 10:return is(t.type._context),null;case 22:case 23:return Fs(),null;case 24:return null;default:return null}}var ci=!1,le=!1,Mp=typeof WeakSet=="function"?WeakSet:Set,D=null;function fn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function zs(e,t,n){try{n()}catch(r){H(e,t,r)}}var cc=!1;function mp(e,t){if(Fo=jr,e=Bu(),_o(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,g=0,h=e,p=null;t:for(;;){for(var M;h!==n||i!==0&&h.nodeType!==3||(l=s+i),h!==o||r!==0&&h.nodeType!==3||(u=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(M=h.firstChild)!==null;)p=h,h=M;for(;;){if(h===e)break t;if(p===n&&++c===i&&(l=s),p===o&&++g===r&&(u=s),(M=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=M}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vo={focusedElem:e,selectionRange:n},jr=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,k=w.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?x:Le(t.type,x),k);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(m(163))}}catch(y){H(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return w=cc,cc=!1,w}function nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&zs(t,n,o)}i=i.next}while(i!==r)}}function di(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Cs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function dc(e){var t=e.alternate;t!==null&&(e.alternate=null,dc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[be],delete t[Hn],delete t[Go],delete t[ep],delete t[tp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fc(e){return e.tag===5||e.tag===3||e.tag===4}function pc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Br));else if(r!==4&&(e=e.child,e!==null))for(Ls(e,t,n),e=e.sibling;e!==null;)Ls(e,t,n),e=e.sibling}function Os(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Os(e,t,n),e=e.sibling;e!==null;)Os(e,t,n),e=e.sibling}var ne=null,Oe=!1;function yt(e,t,n){for(n=n.child;n!==null;)hc(e,t,n),n=n.sibling}function hc(e,t,n){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(Tr,n)}catch{}switch(n.tag){case 5:le||fn(n,t);case 6:var r=ne,i=Oe;ne=null,yt(e,t,n),ne=r,Oe=i,ne!==null&&(Oe?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Oe?(e=ne,n=n.stateNode,e.nodeType===8?Zo(e.parentNode,n):e.nodeType===1&&Zo(e,n),On(e)):Zo(ne,n.stateNode));break;case 4:r=ne,i=Oe,ne=n.stateNode.containerInfo,Oe=!0,yt(e,t,n),ne=r,Oe=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&zs(n,t,s),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!le&&(fn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){H(n,t,l)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,yt(e,t,n),le=r):yt(e,t,n);break;default:yt(e,t,n)}}function gc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Mp),t.forEach(function(r){var i=Sp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _e(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:ne=l.stateNode,Oe=!1;break e;case 3:ne=l.stateNode.containerInfo,Oe=!0;break e;case 4:ne=l.stateNode.containerInfo,Oe=!0;break e}l=l.return}if(ne===null)throw Error(m(160));hc(o,s,i),ne=null,Oe=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(c){H(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yc(t,e),t=t.sibling}function yc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_e(t,e),Fe(e),r&4){try{nr(3,e,e.return),di(3,e)}catch(x){H(e,e.return,x)}try{nr(5,e,e.return)}catch(x){H(e,e.return,x)}}break;case 1:_e(t,e),Fe(e),r&512&&n!==null&&fn(n,n.return);break;case 5:if(_e(t,e),Fe(e),r&512&&n!==null&&fn(n,n.return),e.flags&32){var i=e.stateNode;try{vn(i,"")}catch(x){H(e,e.return,x)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Vl(i,o),co(l,s);var c=co(l,o);for(s=0;s<u.length;s+=2){var g=u[s],h=u[s+1];g==="style"?Kl(i,h):g==="dangerouslySetInnerHTML"?Jl(i,h):g==="children"?vn(i,h):Zi(i,g,h,c)}switch(l){case"input":oo(i,o);break;case"textarea":Zl(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var M=o.value;M!=null?Vt(i,!!o.multiple,M,!1):p!==!!o.multiple&&(o.defaultValue!=null?Vt(i,!!o.multiple,o.defaultValue,!0):Vt(i,!!o.multiple,o.multiple?[]:"",!1))}i[Hn]=o}catch(x){H(e,e.return,x)}}break;case 6:if(_e(t,e),Fe(e),r&4){if(e.stateNode===null)throw Error(m(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(x){H(e,e.return,x)}}break;case 3:if(_e(t,e),Fe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{On(t.containerInfo)}catch(x){H(e,e.return,x)}break;case 4:_e(t,e),Fe(e);break;case 13:_e(t,e),Fe(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Qs=W())),r&4&&gc(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(le=(c=le)||g,_e(t,e),le=c):_e(t,e),Fe(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!g&&e.mode&1)for(D=e,g=e.child;g!==null;){for(h=D=g;D!==null;){switch(p=D,M=p.child,p.tag){case 0:case 11:case 14:case 15:nr(4,p,p.return);break;case 1:fn(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){H(r,n,x)}}break;case 5:fn(p,p.return);break;case 22:if(p.memoizedState!==null){xc(h);continue}}M!==null?(M.return=p,D=M):xc(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{i=h.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=h.stateNode,u=h.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=Xl("display",s))}catch(x){H(e,e.return,x)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(x){H(e,e.return,x)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:_e(t,e),Fe(e),r&4&&gc(e);break;case 21:break;default:_e(t,e),Fe(e)}}function Fe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(fc(n)){var r=n;break e}n=n.return}throw Error(m(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(vn(i,""),r.flags&=-33);var o=pc(e);Os(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=pc(e);Ls(e,l,s);break;default:throw Error(m(161))}}catch(u){H(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xp(e,t,n){D=e,Mc(e)}function Mc(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var i=D,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ci;if(!s){var l=i.alternate,u=l!==null&&l.memoizedState!==null||le;l=ci;var c=le;if(ci=s,(le=u)&&!c)for(D=i;D!==null;)s=D,u=s.child,s.tag===22&&s.memoizedState!==null?wc(i):u!==null?(u.return=s,D=u):wc(i);for(;o!==null;)D=o,Mc(o),o=o.sibling;D=i,ci=l,le=c}mc(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,D=o):mc(e)}}function mc(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:le||di(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Le(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&xa(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xa(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var g=c.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&On(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(m(163))}le||t.flags&512&&Cs(t)}catch(p){H(t,t.return,p)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function xc(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function wc(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{di(4,t)}catch(u){H(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){H(t,i,u)}}var o=t.return;try{Cs(t)}catch(u){H(t,o,u)}break;case 5:var s=t.return;try{Cs(t)}catch(u){H(t,s,u)}}}catch(u){H(t,t.return,u)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var wp=Math.ceil,fi=Ze.ReactCurrentDispatcher,_s=Ze.ReactCurrentOwner,Se=Ze.ReactCurrentBatchConfig,O=0,q=null,G=null,re=0,Ne=0,pn=dt(0),X=0,rr=null,Ct=0,pi=0,Us=0,ir=null,ge=null,Qs=0,hn=1/0,tt=null,hi=!1,Ps=null,Mt=null,gi=!1,mt=null,yi=0,or=0,Rs=null,Mi=-1,mi=0;function de(){return O&6?W():Mi!==-1?Mi:Mi=W()}function xt(e){return e.mode&1?O&2&&re!==0?re&-re:rp.transition!==null?(mi===0&&(mi=pu()),mi):(e=_,e!==0||(e=window.event,e=e===void 0?16:Nu(e.type)),e):1}function Ue(e,t,n,r){if(50<or)throw or=0,Rs=null,Error(m(185));An(e,n,r),(!(O&2)||e!==q)&&(e===q&&(!(O&2)&&(pi|=n),X===4&&wt(e,re)),ye(e,r),n===1&&O===0&&!(t.mode&1)&&(hn=W()+500,Wr&&pt()))}function ye(e,t){var n=e.callbackNode;nf(e,t);var r=Sr(e,e===q?re:0);if(r===0)n!==null&&cu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&cu(n),t===1)e.tag===0?np(Nc.bind(null,e)):la(Nc.bind(null,e)),Kf(function(){!(O&6)&&pt()}),n=null;else{switch(hu(r)){case 1:n=mo;break;case 4:n=du;break;case 16:n=vr;break;case 536870912:n=fu;break;default:n=vr}n=jc(n,Ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ic(e,t){if(Mi=-1,mi=0,O&6)throw Error(m(327));var n=e.callbackNode;if(gn()&&e.callbackNode!==n)return null;var r=Sr(e,e===q?re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=xi(e,r);else{t=r;var i=O;O|=2;var o=Tc();(q!==e||re!==t)&&(tt=null,hn=W()+500,Ot(e,t));do try{vp();break}catch(l){vc(e,l)}while(1);rs(),fi.current=o,O=i,G!==null?t=0:(q=null,re=0,t=X)}if(t!==0){if(t===2&&(i=xo(e),i!==0&&(r=i,t=bs(e,i))),t===1)throw n=rr,Ot(e,0),wt(e,r),ye(e,W()),n;if(t===6)wt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Ip(i)&&(t=xi(e,r),t===2&&(o=xo(e),o!==0&&(r=o,t=bs(e,o))),t===1))throw n=rr,Ot(e,0),wt(e,r),ye(e,W()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(m(345));case 2:_t(e,ge,tt);break;case 3:if(wt(e,r),(r&130023424)===r&&(t=Qs+500-W(),10<t)){if(Sr(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Wo(_t.bind(null,e,ge,tt),t);break}_t(e,ge,tt);break;case 4:if(wt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-je(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wp(r/1960))-r,10<r){e.timeoutHandle=Wo(_t.bind(null,e,ge,tt),r);break}_t(e,ge,tt);break;case 5:_t(e,ge,tt);break;default:throw Error(m(329))}}}return ye(e,W()),e.callbackNode===n?Ic.bind(null,e):null}function bs(e,t){var n=ir;return e.current.memoizedState.isDehydrated&&(Ot(e,t).flags|=256),e=xi(e,t),e!==2&&(t=ge,ge=n,t!==null&&Ys(t)),e}function Ys(e){ge===null?ge=e:ge.push.apply(ge,e)}function Ip(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ze(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wt(e,t){for(t&=~Us,t&=~pi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-je(t),r=1<<n;e[n]=-1,t&=~r}}function Nc(e){if(O&6)throw Error(m(327));gn();var t=Sr(e,0);if(!(t&1))return ye(e,W()),null;var n=xi(e,t);if(e.tag!==0&&n===2){var r=xo(e);r!==0&&(t=r,n=bs(e,r))}if(n===1)throw n=rr,Ot(e,0),wt(e,t),ye(e,W()),n;if(n===6)throw Error(m(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_t(e,ge,tt),ye(e,W()),null}function Bs(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(hn=W()+500,Wr&&pt())}}function Lt(e){mt!==null&&mt.tag===0&&!(O&6)&&gn();var t=O;O|=1;var n=Se.transition,r=_;try{if(Se.transition=null,_=1,e)return e()}finally{_=r,Se.transition=n,O=t,!(O&6)&&pt()}}function Fs(){Ne=pn.current,P(pn)}function Ot(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Xf(n)),G!==null)for(n=G.return;n!==null;){var r=n;switch(Ko(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vr();break;case 3:cn(),P(fe),P(ie),ds();break;case 5:as(r);break;case 4:cn();break;case 13:P(F);break;case 19:P(F);break;case 10:is(r.type._context);break;case 22:case 23:Fs()}n=n.return}if(q=e,G=e=It(e.current,null),re=Ne=t,X=0,rr=null,Us=pi=Ct=0,ge=ir=null,At!==null){for(t=0;t<At.length;t++)if(n=At[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}At=null}return e}function vc(e,t){do{var n=G;try{if(rs(),ni.current=si,ri){for(var r=V.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ri=!1}if(zt=0,K=J=V=null,Xn=!1,Kn=0,_s.current=null,n===null||n.return===null){X=1,rr=t,G=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=re,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,g=l,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var p=g.alternate;p?(g.updateQueue=p.updateQueue,g.memoizedState=p.memoizedState,g.lanes=p.lanes):(g.updateQueue=null,g.memoizedState=null)}var M=Ga(s);if(M!==null){M.flags&=-257,$a(M,s,l,o,t),M.mode&1&&Za(o,c,t),t=M,u=c;var w=t.updateQueue;if(w===null){var x=new Set;x.add(u),t.updateQueue=x}else w.add(u);break e}else{if(!(t&1)){Za(o,c,t),Vs();break e}u=Error(m(426))}}else if(b&&l.mode&1){var k=Ga(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),$a(k,s,l,o,t),ts(dn(u,l));break e}}o=u=dn(u,l),X!==4&&(X=2),ir===null?ir=[o]:ir.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=Ha(o,u,t);ma(o,d);break e;case 1:l=u;var a=o.type,f=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Mt===null||!Mt.has(f)))){o.flags|=65536,t&=-t,o.lanes|=t;var y=Wa(o,l,t);ma(o,y);break e}}o=o.return}while(o!==null)}Ec(n)}catch(v){t=v,G===n&&n!==null&&(G=n=n.return);continue}break}while(1)}function Tc(){var e=fi.current;return fi.current=si,e===null?si:e}function Vs(){(X===0||X===3||X===2)&&(X=4),q===null||!(Ct&268435455)&&!(pi&268435455)||wt(q,re)}function xi(e,t){var n=O;O|=2;var r=Tc();(q!==e||re!==t)&&(tt=null,Ot(e,t));do try{Np();break}catch(i){vc(e,i)}while(1);if(rs(),O=n,fi.current=r,G!==null)throw Error(m(261));return q=null,re=0,X}function Np(){for(;G!==null;)Dc(G)}function vp(){for(;G!==null&&!Zd();)Dc(G)}function Dc(e){var t=Ac(e.alternate,e,Ne);e.memoizedProps=e.pendingProps,t===null?Ec(e):G=t,_s.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=yp(n,t),n!==null){n.flags&=32767,G=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{X=6,G=null;return}}else if(n=gp(n,t,Ne),n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);X===0&&(X=5)}function _t(e,t,n){var r=_,i=Se.transition;try{Se.transition=null,_=1,Tp(e,t,n,r)}finally{Se.transition=i,_=r}return null}function Tp(e,t,n,r){do gn();while(mt!==null);if(O&6)throw Error(m(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(m(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(rf(e,o),e===q&&(G=q=null,re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gi||(gi=!0,jc(vr,function(){return gn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Se.transition,Se.transition=null;var s=_;_=1;var l=O;O|=4,_s.current=null,mp(e,n),yc(n,e),Vf(Vo),jr=!!Fo,Vo=Fo=null,e.current=n,xp(n),Gd(),O=l,_=s,Se.transition=o}else e.current=n;if(gi&&(gi=!1,mt=e,yi=i),o=e.pendingLanes,o===0&&(Mt=null),Xd(n.stateNode),ye(e,W()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(hi)throw hi=!1,e=Ps,Ps=null,e;return yi&1&&e.tag!==0&&gn(),o=e.pendingLanes,o&1?e===Rs?or++:(or=0,Rs=e):or=0,pt(),null}function gn(){if(mt!==null){var e=hu(yi),t=Se.transition,n=_;try{if(Se.transition=null,_=16>e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,yi=0,O&6)throw Error(m(331));var i=O;for(O|=4,D=e.current;D!==null;){var o=D,s=o.child;if(D.flags&16){var l=o.deletions;if(l!==null){for(var u=0;u<l.length;u++){var c=l[u];for(D=c;D!==null;){var g=D;switch(g.tag){case 0:case 11:case 15:nr(8,g,o)}var h=g.child;if(h!==null)h.return=g,D=h;else for(;D!==null;){g=D;var p=g.sibling,M=g.return;if(dc(g),g===c){D=null;break}if(p!==null){p.return=M,D=p;break}D=M}}}var w=o.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var k=x.sibling;x.sibling=null,x=k}while(x!==null)}}D=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,D=s;else e:for(;D!==null;){if(o=D,o.flags&2048)switch(o.tag){case 0:case 11:case 15:nr(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,D=d;break e}D=o.return}}var a=e.current;for(D=a;D!==null;){s=D;var f=s.child;if(s.subtreeFlags&2064&&f!==null)f.return=s,D=f;else e:for(s=a;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:di(9,l)}}catch(v){H(l,l.return,v)}if(l===s){D=null;break e}var y=l.sibling;if(y!==null){y.return=l.return,D=y;break e}D=l.return}}if(O=i,pt(),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(Tr,e)}catch{}r=!0}return r}finally{_=n,Se.transition=t}}return!1}function Sc(e,t,n){t=dn(n,t),t=Ha(e,t,1),e=gt(e,t,1),t=de(),e!==null&&(An(e,1,t),ye(e,t))}function H(e,t,n){if(e.tag===3)Sc(e,e,n);else for(;t!==null;){if(t.tag===3){Sc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Mt===null||!Mt.has(r))){e=dn(n,e),e=Wa(t,e,1),t=gt(t,e,1),e=de(),t!==null&&(An(t,1,e),ye(t,e));break}}t=t.return}}function Dp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,q===e&&(re&n)===n&&(X===4||X===3&&(re&130023424)===re&&500>W()-Qs?Ot(e,0):Us|=n),ye(e,t)}function kc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=de();e=Ke(e,t),e!==null&&(An(e,t,n),ye(e,n))}function Ep(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kc(e,n)}function Sp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(m(314))}r!==null&&r.delete(t),kc(e,n)}var Ac;Ac=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,hp(e,t,n);he=!!(e.flags&131072)}else he=!1,b&&t.flags&1048576&&ua(t,Gr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ai(e,t),e=t.pendingProps;var i=nn(t,ie.current);an(t,n),i=hs(null,t,r,e,i,n);var o=gs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(o=!0,Hr(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ls(t),i.updater=li,t.stateNode=i,i._reactInternals=t,Is(t,r,e,n),t=Ds(null,t,r,!0,o,n)):(t.tag=0,b&&o&&Xo(t),ce(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ai(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Ap(r),e=Le(r,e),i){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=tc(null,t,r,e,n);break e;case 11:t=Ja(null,t,r,e,n);break e;case 14:t=Xa(null,t,r,Le(r.type,e),n);break e}throw Error(m(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),Ts(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),tc(e,t,r,i,n);case 3:e:{if(nc(t),e===null)throw Error(m(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ma(e,t),ei(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=dn(Error(m(423)),t),t=rc(e,t,r,n,i);break e}else if(r!==i){i=dn(Error(m(424)),t),t=rc(e,t,r,n,i);break e}else for(Ie=ct(t.stateNode.containerInfo.firstChild),we=t,b=!0,Ce=null,n=ga(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===i){t=et(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return wa(t),e===null&&es(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ho(r,i)?s=null:o!==null&&Ho(r,o)&&(t.flags|=32),ec(e,t),ce(e,t,s,n),t.child;case 6:return e===null&&es(t),null;case 13:return ic(e,t,n);case 4:return us(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ln(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),Ja(e,t,r,i,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,U(Xr,r._currentValue),r._currentValue=s,o!==null)if(ze(o.value,s)){if(o.children===i.children&&!fe.current){t=et(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=qe(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?u.next=u:(u.next=g.next,g.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),os(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(m(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),os(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ce(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,an(t,n),i=De(i),r=r(i),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,i=Le(r,t.pendingProps),i=Le(r.type,i),Xa(e,t,r,i,n);case 15:return Ka(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),ai(e,t),t.tag=1,pe(r)?(e=!0,Hr(t)):e=!1,an(t,n),Fa(t,r,i),Is(t,r,i,n),Ds(null,t,r,!0,e,n);case 19:return sc(e,t,n);case 22:return qa(e,t,n)}throw Error(m(156,t.tag))};function jc(e,t){return au(e,t)}function kp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ke(e,t,n,r){return new kp(e,t,n,r)}function Hs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ap(e){if(typeof e=="function")return Hs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ji)return 11;if(e===qi)return 14}return 2}function It(e,t){var n=e.alternate;return n===null?(n=ke(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function wi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Hs(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ft:return Ut(n.children,i,o,t);case Gi:s=8,i|=8;break;case $i:return e=ke(12,n,t,i|2),e.elementType=$i,e.lanes=o,e;case Xi:return e=ke(13,n,t,i),e.elementType=Xi,e.lanes=o,e;case Ki:return e=ke(19,n,t,i),e.elementType=Ki,e.lanes=o,e;case Rl:return Ii(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ql:s=10;break e;case Pl:s=9;break e;case Ji:s=11;break e;case qi:s=14;break e;case nt:s=16,r=null;break e}throw Error(m(130,e==null?e:typeof e,""))}return t=ke(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ut(e,t,n,r){return e=ke(7,e,r,t),e.lanes=n,e}function Ii(e,t,n,r){return e=ke(22,e,r,t),e.elementType=Rl,e.lanes=n,e.stateNode={isHidden:!1},e}function Ws(e,t,n){return e=ke(6,e,null,t),e.lanes=n,e}function Zs(e,t,n){return t=ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jp(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wo(0),this.expirationTimes=wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gs(e,t,n,r,i,o,s,l,u){return e=new jp(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ke(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ls(o),e}function zp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function zc(e){if(!e)return ft;e=e._reactInternals;e:{if(Tt(e)!==e||e.tag!==1)throw Error(m(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(pe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(m(171))}if(e.tag===1){var n=e.type;if(pe(n))return oa(e,n,t)}return t}function Cc(e,t,n,r,i,o,s,l,u){return e=Gs(n,r,!0,e,i,o,s,l,u),e.context=zc(null),n=e.current,r=de(),i=xt(n),o=qe(r,i),o.callback=t??null,gt(n,o,i),e.current.lanes=i,An(e,i,r),ye(e,r),e}function Ni(e,t,n,r){var i=t.current,o=de(),s=xt(i);return n=zc(n),t.context===null?t.context=n:t.pendingContext=n,t=qe(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gt(i,t,s),e!==null&&(Ue(e,i,s,o),qr(e,i,s)),s}function vi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Lc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $s(e,t){Lc(e,t),(e=e.alternate)&&Lc(e,t)}function Cp(){return null}var Oc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Js(e){this._internalRoot=e}Ti.prototype.render=Js.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(m(409));Ni(e,t,null,null)},Ti.prototype.unmount=Js.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Lt(function(){Ni(null,e,null,null)}),t[Ge]=null}};function Ti(e){this._internalRoot=e}Ti.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<lt.length&&t!==0&&t<lt[n].priority;n++);lt.splice(n,0,e),n===0&&wu(e)}};function Xs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Di(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _c(){}function Lp(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=vi(s);o.call(c)}}var s=Cc(t,r,e,0,null,!1,!1,"",_c);return e._reactRootContainer=s,e[Ge]=s.current,Fn(e.nodeType===8?e.parentNode:e),Lt(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var c=vi(u);l.call(c)}}var u=Gs(e,0,!1,null,null,!1,!1,"",_c);return e._reactRootContainer=u,e[Ge]=u.current,Fn(e.nodeType===8?e.parentNode:e),Lt(function(){Ni(t,u,n,r)}),u}function Ei(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var u=vi(s);l.call(u)}}Ni(t,s,e,i)}else s=Lp(n,t,e,i,r);return vi(s)}gu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=kn(t.pendingLanes);n!==0&&(Io(t,n|1),ye(t,W()),!(O&6)&&(hn=W()+500,pt()))}break;case 13:Lt(function(){var r=Ke(e,1);if(r!==null){var i=de();Ue(r,e,1,i)}}),$s(e,1)}},No=function(e){if(e.tag===13){var t=Ke(e,134217728);if(t!==null){var n=de();Ue(t,e,134217728,n)}$s(e,134217728)}},yu=function(e){if(e.tag===13){var t=xt(e),n=Ke(e,t);if(n!==null){var r=de();Ue(n,e,t,r)}$s(e,t)}},Mu=function(){return _},mu=function(e,t){var n=_;try{return _=e,t()}finally{_=n}},ho=function(e,t,n){switch(t){case"input":if(oo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Fr(r);if(!i)throw Error(m(90));Bl(r),oo(r,i)}}}break;case"textarea":Zl(e,n);break;case"select":t=n.value,t!=null&&Vt(e,!!n.multiple,t,!1)}},nu=Bs,ru=Lt;var Op={usingClientEntryPoint:!1,Events:[Wn,en,Fr,eu,tu,Bs]},sr={findFiberByHostInstance:Dt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_p={bundleType:sr.bundleType,version:sr.version,rendererPackageName:sr.rendererPackageName,rendererConfig:sr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ze.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=lu(e),e===null?null:e.stateNode},findFiberByHostInstance:sr.findFiberByHostInstance||Cp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Si=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Si.isDisabled&&Si.supportsFiber)try{Tr=Si.inject(_p),Re=Si}catch{}}Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Op,Me.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Xs(t))throw Error(m(200));return zp(e,t,null,n)},Me.createRoot=function(e,t){if(!Xs(e))throw Error(m(299));var n=!1,r="",i=Oc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gs(e,1,!1,null,null,n,!1,r,i),e[Ge]=t.current,Fn(e.nodeType===8?e.parentNode:e),new Js(t)},Me.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(m(188)):(e=Object.keys(e).join(","),Error(m(268,e)));return e=lu(t),e=e===null?null:e.stateNode,e},Me.flushSync=function(e){return Lt(e)},Me.hydrate=function(e,t,n){if(!Di(t))throw Error(m(200));return Ei(null,e,t,!0,n)},Me.hydrateRoot=function(e,t,n){if(!Xs(e))throw Error(m(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Oc;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Cc(t,null,e,1,n??null,i,!1,o,s),e[Ge]=t.current,Fn(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ti(t)},Me.render=function(e,t,n){if(!Di(t))throw Error(m(200));return Ei(null,e,t,!1,n)},Me.unmountComponentAtNode=function(e){if(!Di(e))throw Error(m(40));return e._reactRootContainer?(Lt(function(){Ei(null,null,e,!1,function(){e._reactRootContainer=null,e[Ge]=null})}),!0):!1},Me.unstable_batchedUpdates=Bs,Me.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Di(n))throw Error(m(200));if(e==null||e._reactInternals===void 0)throw Error(m(38));return Ei(e,t,n,!1,r)},Me.version="18.3.1-next-f1338f8080-20240426";function Uc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),zl.exports=Me;var Up=zl.exports,Qc=Up;yr.createRoot=Qc.createRoot,yr.hydrateRoot=Qc.hydrateRoot;const Qp="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iMTkiIHZpZXdCb3g9I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NjIgMTEuMjY2MSAxNS40NDg3IDEyLjExNzhDMTUuMDgxMiAxMi45Njk0IDE0LjU4MjUgMTMuNzEwMyAxMy45NTI1IDE0LjM0MDNDMTMuMzIyNSAxNC45NzAzIDEyLjU4MTcgMTUuNDY5IDExLjczIDE1LjgzNjVDMTAuODc4MyAxNi4yMDQgOS45NjgzMyAxNi4zODc4IDkgMTYuMzg3OFpNOSAxNC45ODc4QzEwLjU2MzMgMTQuOTg3OCAxMS44ODc1IDE0LjQ0NTMgMTIuOTcyNSAxMy4zNjAzQzE0LjA1NzUgMTIuMjc1MyAxNC42IDEwLjk1MTEgMTQuNiA5LjM4Nzc2QzE0LjYgNy44MjQ0MiAxNC4wNTc1IDYuNTAwMjYgMTIuOTcyNSA1LjQxNTI2QzExLjg4NzUgNC4zMzAyNiAxMC41NjMzIDMuNzg3NzYgOSAzLjc4Nzc2QzcuNDM2NjcgMy43ODc3NiA2LjExMjUgNC4zMzAyNiA1LjAyNzUgNS40MTUyNkMzLjk0MjUgNi41MDAyNiAzLjQgNy44MjQ0MiAzLjQgOS4zODc3NkMzLjQgMTAuOTUxMSAzLjk0MjUgMTIuMjc1MyA1LjAyNzUgMTMuMzYwM0M2LjExMjUgMTQuNDQ1MyA3LjQzNjY3IDE0Ljk4NzggOSAxNC45ODc4WiIgZmlsbD0iI0JEQkRCRCIvPg0KPC9nPg0KPC9zdmc+DQo=",ki=({icon:e,description:t,iconStyle:n="default"})=>{const r={sm:"w-[19px] h-[18px] shrink-0",default:"w-[30px] h-[30px] shrink-0",md:"w-[80px] h-[19px] shrink-0",profile:"w-[51px] h-[40px] shrink-0"},i=r[n]||r.default;return I.jsx("img",{className:i,src:e,alt:t})},Rp=()=>I.jsxs("div",{className:"flex justify-evenly items-center w-full h-full shrink-0 select-none",children:[I.jsx(ki,{icon:Qp,iconStyle:"md",description:"Logo Hi Fenix"}),I.jsxs("div",{className:"flex items-center",children:[I.jsx(ki,{icon:Pp,iconStyle:"sm",description:"Logo Hi Fenix"}),I.jsx("p",{className:"text-[#bdbdbd] font-[Manrope] text-[14px] not-italic font-medium leading-[111%] tracking-[0.2px]",children:"Todos los derechos reservados"})]})]}),Pc=({icon:e,styleImg:t="default",description:n="",styleBtn:r="",callback:i=()=>{},isActive:o=!0,className:s=""})=>I.jsx("button",{onClick:i,className:`flex justify-center items-center p-0 bg-transparent cursor-pointer border-0 ${r} ${s}`,"aria-label":n,title:n,disabled:!o,children:I.jsx(ki,{icon:e,iconStyle:t,description:`Icono de ${n}`})}),Ks=R.createContext({}),Qt=()=>R.useContext(Ks),bp=({cancelarModal:e,reiniciarConversacion:t})=>{const{colorBubble:n}=Qt();return I.jsxs("section",{className:"flex flex-col items-start gap-6 absolute top-[138px] left-1/2 transform -translate-x-1/2 z-[9999] w-full max-w-[416px] h-[187px] p-[30px] rounded-[16px] bg-grayFooter shadow-questionMark box-border",children:[I.jsx("h2",{className:"w-full text-center text-blackAyelen font-[Manrope] text-[20px] font-bold leading-[100%] m-0",children:"¿Seguro desea reiniciar la conversación?"}),I.jsx("p",{className:"w-full text-center text-gray3 font-[Manrope] text-[16px] font-semibold leading-[100%] m-0",children:"No podrá revertir esta acción."}),I.jsxs("div",{className:"flex flex-row justify-between w-full",children:[I.jsx("button",{className:`rounded-full border shadow-[0px_2px_2px_0px_rgba(0,0,0,0.1)] w-[150px] h-[40px] px-4 flex justify-center items-center gap-2 text-[16px] font-semibold font-[Manrope] ${n?"":"border-azulChatbot text-azulChatbot"}`,style:{borderColor:n,color:n},onClick:e,children:"Cancelar"}),I.jsx("button",{className:`rounded-full text-white border-none shadow-[0px_2px_2px_0px_rgba(0,0,0,0.1)] w-[149px] h-[40px] px-4 flex justify-center items-center gap-2 text-[16px] font-semibold font-[Manrope] ${n?"":"bg-azulChatbot"}`,style:{backgroundColor:n},onClick:t,children:"Reiniciar"})]})]})},Rc="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgdm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4LjA5NDMgOC43MzE1MkMxOS4wNzMyIDkuMjE5MzYgMTkuODg3NSA5LjkwNzY1IDIwLjUzNyAxMC43OTY0VjhIMjEuOTQ0MlYxMy43MzdIMTYuMjA3MlYxMi4zM0gxOS45MTI5QzE5LjQxODUgMTEuNDI0MiAxOC43MzI5IDEwLjcxMDcgMTcuODU2IDEwLjE4OTRDMTYuOTc5MyA5LjY2Nzk1IDE2LjAyMDcgOS40MDcyMiAxNC45ODAzIDkuNDA3MjJDMTMuNDE2OCA5LjQwNzIyIDEyLjA4NzcgOS45NTQ0OCAxMC45OTMyIDExLjA0OUM5Ljg5ODY5IDEyLjE0MzUgOS4zNTE0NCAxMy40NzI1IDkuMzUxNDQgMTUuMDM2MUM5LjM1MTQ0IDE2LjU5OTcgOS44OTg2OSAxNy45Mjg3IDEwLjk5MzIgMTkuMDIzM0MxMi4wODc3IDIwLjExNzggMTMuNDE2OCAyMC42NjUgMTQuOTgwMyAyMC42NjVDMTYuMTg0MyAyMC42NjUgMTcuMjcxIDIwLjMyMSAxOC4yNDA0IDE5LjYzM0MxOS4yMDk4IDE4Ljk0NTEgMTkuODkgMTguMDM4MiAyMC4yODA5IDE2LjkxMjRIMjEuNzYzOUMyMS4zMzgxIDE4LjQ0MzUgMjAuNDk5NSAxOS42ODYyIDE5LjI0OCAyMC42NDA2QzE3Ljk5NjUgMjEuNTk1IDE2LjU3MzkgMjIuMDcyMiAxNC45ODAzIDIyLjA3MjJaIiBmaWxsPSIjMzMzMzMzIi8+DQo8L2c+DQo8L2c+DQo8L3N2Zz4NCg==",Hp=({closeChat:e=()=>{},onResetChat:t=()=>{}})=>{const[n,r]=R.useState(!1),{profileSvg:i,titleSvg:o,titleOne:s,titleTwo:l,isBoldTitleOne:u,isBoldTitleTwo:c,colorBubble:g}=Qt(),h=!!i,p=!!o,M=h?i:Rc,w=g?Vp:Bp,x=g?Fp:Yp;return I.jsxs("section",{className:`p-[20px] flex items-center justify-start relative w-full h-full gap-[15px] box-border select-none ${g?"":"bg-azulChatbot"}`,style:{backgroundColor:g},children:[I.jsx("div",{className:"w-[78px] h-[78px] flex-shrink-0 flex items-center justify-center bg-[#e7e7e7] rounded-full",children:I.jsx(ki,{icon:M,iconStyle:"profile",description:"Icono de enviar"})}),I.jsxs("div",{className:"flex flex-col justify-center gap-[2.64px] overflow-hidden",children:[p?I.jsx("img",{src:o,alt:"Custom Title",className:"object-contain",style:{maxWidth:"260px",maxHeight:"50px"}}):I.jsx("h2",{className:"m-0 text-[#FAFAFA] text-[20px] leading-normal",style:{fontFamily:"Montserrat"},children:s?I.jsx("span",{className:u?"font-bold":"",children:s}):I.jsxs(I.Fragment,{children:[I.jsx("span",{className:"font-bold",children:"HCHAT"})," ASSISTANT"]})}),I.jsx("p",{className:`text-grayFooter m-0 text-[16px] leading-[22px] ${c===!0?"font-bold":""}`,children:l||"¡Hola! 👋 Estoy aquí para ayudarte"})]}),I.jsx(Pc,{icon:w,styleImg:"default",description:"Reiniciar conversación",className:"absolute top-[10px] right-[50px]",callback:()=>r(!0)}),I.jsx(Pc,{icon:x,styleImg:"default",description:"Cerrar Hi chat Bot",styleBtn:"w-[30px] h-[30px]",className:"absolute top-[10px] right-[10px]",callback:e}),n&&I.jsx(bp,{cancelarModal:()=>r(!1),reiniciarConversacion:()=>{t(),r(!1)}})]})},Wp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0ic2l6ZS02Ij4NCiAgPHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTUuNjY2IDMuODg4QTIuMjUgMi4yNSAwIDAgMCAxMy41IDIuMjVoLTNjLTEuMDMgMC0xLjkuNjkzLTIuMTY2IDEuNjM4bTcuMzMyIDBjLjA1NS4xOTQuMDg0LjQuMDg0LjYxMnYwYS43NS43NSAwIDAgMS0uNzUuNzVIOWEuNzUuNzUgMCAwIDEtLjc1LS43NXYwYzAtLjIxMi4wMy0uNDE4LjA4NC0uNjEybTcuMzMyIDBjLjY0Ni4wNDkgMS4yODguMTEgMS45MjcuMTg0IDEuMS4xMjggMS45MDcgMS4wNzcgMS45MDcgMi4xODVWMTkuNWEyLjI1IDIuMjUgMCAwIDEtMi4yNSAyLjI1SDYuNzVBMi4yNSAyLjI1IDAgMCAxIDQuNSAxOS41VjYuMjU3YzAtMS4xMDguODA2LTIuMDU3IDEuOTA3LTIuMTg1YTQ4LjIwOCA0OC4yMDggMCAwIDEgMS45MjctLjE4NCIgLz4NCjwvc3ZnPg0K",Zp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iYmx1ZSIgY2xhc3M9InNpemUtNiI+DQogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTMuNzUgMy43NXY0LjVtMC00LjVoNC41bS00LjUgMEw5IDlNMy43NSAyMC4yNXYtNC41bTAgNC41aDQuNW0tNC41IDBMOSAxNU0yMC4yNSAzLjc1aC00LjVtNC41IDB2NC41bTAtNC41TDE1IDltNS4yNSAxMS4yNWgtNC41bTQuNSAwdi00LjVtMCA0LjVMMTUgMTUiIC8+DQo8L3N2Zz4NCg0K",Gp=({image:e,onClose:t})=>I.jsxs("div",{className:"fixed top-0 left-0 w-screen h-screen bg-black/70 backdrop-blur-sm flex justify-center items-center z-[1000]",onClick:t,children:[I.jsx("button",{className:"absolute top-[20px] right-[20px] bg-azulChatbot text-white text-[18px] font-bold px-4 py-2 rounded-full",onClick:t,children:"x"}),I.jsx("img",{src:e,alt:"zoom",className:"max-w-[85vw] max-h-[85vh] rounded-[10px] shadow-[2px_3px_22px_rgba(255,255,255,0.2)]",onClick:n=>n.stopPropagation()})]}),$p=({text:e="",userType:t="",loading:n=!1,images:r})=>{const[i,o]=R.useState(!1),[s,l]=R.useState(""),{colorBubble:u}=Qt(),c=t==="assistant",g=async()=>{try{await navigator.clipboard.writeText(e),o(!0),setTimeout(()=>o(!1),2e3)}catch{console.error("Error copiando al portapapeles")}},h=()=>e.split(/!?\[.*?\]\((.*?)\)/g).map((M,w)=>{const x=M.includes("amazonaws.com"),k=M.startsWith("https://")||M.startsWith("http://");if(x)return I.jsxs("div",{className:"relative w-fit h-fit max-w-[220px] max-h-[140px] m-[12px_auto] cursor-pointer",onClick:()=>l(M),children:[I.jsx("img",{src:Zp,alt:"Ver imagen ampliada",className:"absolute top-[5px] right-[5px] w-[17px] h-[17px] z-10"}),I.jsx("img",{src:M,alt:"preview",className:"max-w-[220px] max-h-[140px] rounded-[10px] object-cover"})]},`img-${w}`);if(k)return I.jsx("a",{href:M,target:"_blank",rel:"noopener noreferrer",className:"underline",style:{color:u||"#2563EB"},children:M},`link-${w}`);const d=M.trim().split(`
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ns(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function vs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var dp=typeof WeakMap=="function"?WeakMap:Map;function Ha(e,t,n){n=qe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hi||(hi=!0,Ps=r),vs(e,t)},n}function Wa(e,t,n){n=qe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){vs(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){vs(e,t),typeof r!="function"&&(Mt===null?Mt=new Set([this]):Mt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Za(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new dp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Dp.bind(null,e,t,n),t.then(e,e))}function Ga(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $a(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qe(-1,1),t.tag=2,gt(n,t,1))),n.lanes|=1),e)}var fp=Ze.ReactCurrentOwner,he=!1;function ce(e,t,n,r){t.child=e===null?ga(t,null,n,r):ln(t,e.child,n,r)}function Ja(e,t,n,r,i){n=n.render;var o=t.ref;return an(t,i),r=hs(e,t,n,r,o,i),n=gs(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,et(e,t,i)):(b&&n&&Xo(t),t.flags|=1,ce(e,t,r,i),t.child)}function Xa(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Hs(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ka(e,t,o,r,i)):(e=wi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:bn,n(s,r)&&e.ref===t.ref)return et(e,t,i)}return t.flags|=1,e=It(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ka(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(bn(o,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,et(e,t,i)}return Ts(e,t,n,r,i)}function qa(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U(pn,Ne),Ne|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,U(pn,Ne),Ne|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,U(pn,Ne),Ne|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,U(pn,Ne),Ne|=r;return ce(e,t,i,n),t.child}function ec(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,i){var o=pe(n)?Et:ie.current;return o=nn(t,o),an(t,i),n=hs(e,t,n,r,o,i),r=gs(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,et(e,t,i)):(b&&r&&Xo(t),t.flags|=1,ce(e,t,n,i),t.child)}function tc(e,t,n,r,i){if(pe(n)){var o=!0;Hr(t)}else o=!1;if(an(t,i),t.stateNode===null)ai(e,t),Fa(t,n,r),Is(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=De(c):(c=pe(n)?Et:ie.current,c=nn(t,c));var g=n.getDerivedStateFromProps,h=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function";h||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||u!==c)&&Va(t,s,r,c),ht=!1;var p=t.memoizedState;s.state=p,ei(t,r,s,i),u=t.memoizedState,l!==r||p!==u||fe.current||ht?(typeof g=="function"&&(ws(t,n,g,r),u=t.memoizedState),(l=ht||Ba(t,n,l,r,p,u,c))?(h||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ma(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Le(t.type,l),s.props=c,h=t.pendingProps,p=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=De(u):(u=pe(n)?Et:ie.current,u=nn(t,u));var M=n.getDerivedStateFromProps;(g=typeof M=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==h||p!==u)&&Va(t,s,r,u),ht=!1,p=t.memoizedState,s.state=p,ei(t,r,s,i);var w=t.memoizedState;l!==h||p!==w||fe.current||ht?(typeof M=="function"&&(ws(t,n,M,r),w=t.memoizedState),(c=ht||Ba(t,n,c,r,p,w,u)||!1)?(g||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ds(e,t,n,r,o,i)}function Ds(e,t,n,r,i,o){ec(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&sa(t,n,!1),et(e,t,o);r=t.stateNode,fp.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ln(t,e.child,null,o),t.child=ln(t,null,l,o)):ce(e,t,l,o),t.memoizedState=r.state,i&&sa(t,n,!0),t.child}function nc(e){var t=e.stateNode;t.pendingContext?ia(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ia(e,t.context,!1),us(e,t.containerInfo)}function rc(e,t,n,r,i){return sn(),ts(i),t.flags|=256,ce(e,t,n,r),t.child}var Es={dehydrated:null,treeContext:null,retryLane:0};function Ss(e){return{baseLanes:e,cachePool:null,transitions:null}}function ic(e,t,n){var r=t.pendingProps,i=F.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),U(F,i&1),e===null)return es(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ii(s,r,0,null),e=Ut(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Ss(n),t.memoizedState=Es,e):ks(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return pp(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=It(i,u),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=It(l,o):(o=Ut(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Ss(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Es,r}return o=e.child,e=o.sibling,r=It(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ks(e,t){return t=Ii({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ui(e,t,n,r){return r!==null&&ts(r),ln(t,e.child,null,n),e=ks(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pp(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Ns(Error(m(422))),ui(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ii({mode:"visible",children:r.children},i,0,null),o=Ut(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&ln(t,e.child,null,s),t.child.memoizedState=Ss(s),t.memoizedState=Es,o);if(!(t.mode&1))return ui(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(m(419)),r=Ns(o,r,void 0),ui(e,t,s,r)}if(l=(s&e.childLanes)!==0,he||l){if(r=q,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ke(e,i),Ue(r,e,i,-1))}return Vs(),r=Ns(Error(m(421))),ui(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ep.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ie=ct(i.nextSibling),we=t,b=!0,Ce=null,e!==null&&(ve[Te++]=Je,ve[Te++]=Xe,ve[Te++]=St,Je=e.id,Xe=e.overflow,St=t),t=ks(t,r.children),t.flags|=4096,t)}function oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),os(e.return,t,n)}function As(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function sc(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=F.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oc(e,n,t);else if(e.tag===19)oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(U(F,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ti(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),As(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ti(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}As(t,!0,n,null,o);break;case"together":As(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ai(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ct|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(m(153));if(t.child!==null){for(e=t.child,n=It(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=It(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hp(e,t,n){switch(t.tag){case 3:nc(t),sn();break;case 5:wa(t);break;case 1:pe(t.type)&&Hr(t);break;case 4:us(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;U(Xr,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(F,F.current&1),t.flags|=128,null):n&t.child.childLanes?ic(e,t,n):(U(F,F.current&1),e=et(e,t,n),e!==null?e.sibling:null);U(F,F.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return sc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(F,F.current),r)break;return null;case 22:case 23:return t.lanes=0,qa(e,t,n)}return et(e,t,n)}var lc,js,uc,ac;lc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},js=function(){},uc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,jt(Ye.current);var o=null;switch(n){case"input":i=io(e,i),r=io(e,r),o=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),o=[];break;case"textarea":i=lo(e,i),r=lo(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Br)}ao(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(xn.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(l=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(o=o||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(xn.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&Q("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},ac=function(e,t,n,r){n!==r&&(t.flags|=4)};function tr(e,t){if(!b)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function se(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gp(e,t,n){var r=t.pendingProps;switch(Ko(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return se(t),null;case 1:return pe(t.type)&&Vr(),se(t),null;case 3:return r=t.stateNode,cn(),P(fe),P(ie),ds(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($r(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ce!==null&&(Ys(Ce),Ce=null))),js(e,t),se(t),null;case 5:as(t);var i=jt(Jn.current);if(n=t.type,e!==null&&t.stateNode!=null)uc(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(m(166));return se(t),null}if(e=jt(Ye.current),$r(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[be]=t,r[Hn]=o,e=(t.mode&1)!==0,n){case"dialog":Q("cancel",r),Q("close",r);break;case"iframe":case"object":case"embed":Q("load",r);break;case"video":case"audio":for(i=0;i<Bn.length;i++)Q(Bn[i],r);break;case"source":Q("error",r);break;case"img":case"image":case"link":Q("error",r),Q("load",r);break;case"details":Q("toggle",r);break;case"input":Fl(r,o),Q("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Q("invalid",r);break;case"textarea":Wl(r,o),Q("invalid",r)}ao(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Yr(r.textContent,l,e),i=["children",""+l]):xn.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&Q("scroll",r)}switch(n){case"input":mr(r),Hl(r,o,!0);break;case"textarea":mr(r),Gl(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Br)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$l(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[be]=t,e[Hn]=r,lc(e,t,!1,!1),t.stateNode=e;e:{switch(s=co(n,r),n){case"dialog":Q("cancel",e),Q("close",e),i=r;break;case"iframe":case"object":case"embed":Q("load",e),i=r;break;case"video":case"audio":for(i=0;i<Bn.length;i++)Q(Bn[i],e);i=r;break;case"source":Q("error",e),i=r;break;case"img":case"image":case"link":Q("error",e),Q("load",e),i=r;break;case"details":Q("toggle",e),i=r;break;case"input":Fl(e,r),i=io(e,r),Q("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),Q("invalid",e);break;case"textarea":Wl(e,r),i=lo(e,r),Q("invalid",e);break;default:i=r}ao(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var u=l[o];o==="style"?Kl(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Jl(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&vn(e,u):typeof u=="number"&&vn(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(xn.hasOwnProperty(o)?u!=null&&o==="onScroll"&&Q("scroll",e):u!=null&&Zi(e,o,u,s))}switch(n){case"input":mr(e),Hl(e,r,!1);break;case"textarea":mr(e),Gl(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Vt(e,!!r.multiple,o,!1):r.defaultValue!=null&&Vt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return se(t),null;case 6:if(e&&t.stateNode!=null)ac(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(m(166));if(n=jt(Jn.current),jt(Ye.current),$r(t)){if(r=t.stateNode,n=t.memoizedProps,r[be]=t,(o=r.nodeValue!==n)&&(e=we,e!==null))switch(e.tag){case 3:Yr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[be]=t,t.stateNode=r}return se(t),null;case 13:if(P(F),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(b&&Ie!==null&&t.mode&1&&!(t.flags&128))fa(),sn(),t.flags|=98560,o=!1;else if(o=$r(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(m(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(m(317));o[be]=t}else sn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;se(t),o=!1}else Ce!==null&&(Ys(Ce),Ce=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||F.current&1?X===0&&(X=3):Vs())),t.updateQueue!==null&&(t.flags|=4),se(t),null);case 4:return cn(),js(e,t),e===null&&Fn(t.stateNode.containerInfo),se(t),null;case 10:return is(t.type._context),se(t),null;case 17:return pe(t.type)&&Vr(),se(t),null;case 19:if(P(F),o=t.memoizedState,o===null)return se(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)tr(o,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ti(e),s!==null){for(t.flags|=128,tr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(F,F.current&1|2),t.child}e=e.sibling}o.tail!==null&&W()>hn&&(t.flags|=128,r=!0,tr(o,!1),t.lanes=4194304)}else{if(!r)if(e=ti(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),tr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!b)return se(t),null}else 2*W()-o.renderingStartTime>hn&&n!==1073741824&&(t.flags|=128,r=!0,tr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=W(),t.sibling=null,n=F.current,U(F,r?n&1|2:n&1),t):(se(t),null);case 22:case 23:return Fs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ne&1073741824&&(se(t),t.subtreeFlags&6&&(t.flags|=8192)):se(t),null;case 24:return null;case 25:return null}throw Error(m(156,t.tag))}function yp(e,t){switch(Ko(t),t.tag){case 1:return pe(t.type)&&Vr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),P(fe),P(ie),ds(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return as(t),null;case 13:if(P(F),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(m(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(F),null;case 4:return cn(),null;case 10:return is(t.type._context),null;case 22:case 23:return Fs(),null;case 24:return null;default:return null}}var ci=!1,le=!1,Mp=typeof WeakSet=="function"?WeakSet:Set,D=null;function fn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function zs(e,t,n){try{n()}catch(r){H(e,t,r)}}var cc=!1;function mp(e,t){if(Fo=jr,e=Bu(),_o(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,g=0,h=e,p=null;t:for(;;){for(var M;h!==n||i!==0&&h.nodeType!==3||(l=s+i),h!==o||r!==0&&h.nodeType!==3||(u=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(M=h.firstChild)!==null;)p=h,h=M;for(;;){if(h===e)break t;if(p===n&&++c===i&&(l=s),p===o&&++g===r&&(u=s),(M=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=M}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vo={focusedElem:e,selectionRange:n},jr=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,k=w.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?x:Le(t.type,x),k);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(m(163))}}catch(y){H(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return w=cc,cc=!1,w}function nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&zs(t,n,o)}i=i.next}while(i!==r)}}function di(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Cs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function dc(e){var t=e.alternate;t!==null&&(e.alternate=null,dc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[be],delete t[Hn],delete t[Go],delete t[ep],delete t[tp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fc(e){return e.tag===5||e.tag===3||e.tag===4}function pc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Br));else if(r!==4&&(e=e.child,e!==null))for(Ls(e,t,n),e=e.sibling;e!==null;)Ls(e,t,n),e=e.sibling}function Os(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Os(e,t,n),e=e.sibling;e!==null;)Os(e,t,n),e=e.sibling}var ne=null,Oe=!1;function yt(e,t,n){for(n=n.child;n!==null;)hc(e,t,n),n=n.sibling}function hc(e,t,n){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(Tr,n)}catch{}switch(n.tag){case 5:le||fn(n,t);case 6:var r=ne,i=Oe;ne=null,yt(e,t,n),ne=r,Oe=i,ne!==null&&(Oe?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Oe?(e=ne,n=n.stateNode,e.nodeType===8?Zo(e.parentNode,n):e.nodeType===1&&Zo(e,n),On(e)):Zo(ne,n.stateNode));break;case 4:r=ne,i=Oe,ne=n.stateNode.containerInfo,Oe=!0,yt(e,t,n),ne=r,Oe=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&zs(n,t,s),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!le&&(fn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){H(n,t,l)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,yt(e,t,n),le=r):yt(e,t,n);break;default:yt(e,t,n)}}function gc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Mp),t.forEach(function(r){var i=Sp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _e(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:ne=l.stateNode,Oe=!1;break e;case 3:ne=l.stateNode.containerInfo,Oe=!0;break e;case 4:ne=l.stateNode.containerInfo,Oe=!0;break e}l=l.return}if(ne===null)throw Error(m(160));hc(o,s,i),ne=null,Oe=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(c){H(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yc(t,e),t=t.sibling}function yc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_e(t,e),Fe(e),r&4){try{nr(3,e,e.return),di(3,e)}catch(x){H(e,e.return,x)}try{nr(5,e,e.return)}catch(x){H(e,e.return,x)}}break;case 1:_e(t,e),Fe(e),r&512&&n!==null&&fn(n,n.return);break;case 5:if(_e(t,e),Fe(e),r&512&&n!==null&&fn(n,n.return),e.flags&32){var i=e.stateNode;try{vn(i,"")}catch(x){H(e,e.return,x)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Vl(i,o),co(l,s);var c=co(l,o);for(s=0;s<u.length;s+=2){var g=u[s],h=u[s+1];g==="style"?Kl(i,h):g==="dangerouslySetInnerHTML"?Jl(i,h):g==="children"?vn(i,h):Zi(i,g,h,c)}switch(l){case"input":oo(i,o);break;case"textarea":Zl(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var M=o.value;M!=null?Vt(i,!!o.multiple,M,!1):p!==!!o.multiple&&(o.defaultValue!=null?Vt(i,!!o.multiple,o.defaultValue,!0):Vt(i,!!o.multiple,o.multiple?[]:"",!1))}i[Hn]=o}catch(x){H(e,e.return,x)}}break;case 6:if(_e(t,e),Fe(e),r&4){if(e.stateNode===null)throw Error(m(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(x){H(e,e.return,x)}}break;case 3:if(_e(t,e),Fe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{On(t.containerInfo)}catch(x){H(e,e.return,x)}break;case 4:_e(t,e),Fe(e);break;case 13:_e(t,e),Fe(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Qs=W())),r&4&&gc(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(le=(c=le)||g,_e(t,e),le=c):_e(t,e),Fe(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!g&&e.mode&1)for(D=e,g=e.child;g!==null;){for(h=D=g;D!==null;){switch(p=D,M=p.child,p.tag){case 0:case 11:case 14:case 15:nr(4,p,p.return);break;case 1:fn(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){H(r,n,x)}}break;case 5:fn(p,p.return);break;case 22:if(p.memoizedState!==null){xc(h);continue}}M!==null?(M.return=p,D=M):xc(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{i=h.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=h.stateNode,u=h.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=Xl("display",s))}catch(x){H(e,e.return,x)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(x){H(e,e.return,x)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:_e(t,e),Fe(e),r&4&&gc(e);break;case 21:break;default:_e(t,e),Fe(e)}}function Fe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(fc(n)){var r=n;break e}n=n.return}throw Error(m(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(vn(i,""),r.flags&=-33);var o=pc(e);Os(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=pc(e);Ls(e,l,s);break;default:throw Error(m(161))}}catch(u){H(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xp(e,t,n){D=e,Mc(e)}function Mc(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var i=D,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ci;if(!s){var l=i.alternate,u=l!==null&&l.memoizedState!==null||le;l=ci;var c=le;if(ci=s,(le=u)&&!c)for(D=i;D!==null;)s=D,u=s.child,s.tag===22&&s.memoizedState!==null?wc(i):u!==null?(u.return=s,D=u):wc(i);for(;o!==null;)D=o,Mc(o),o=o.sibling;D=i,ci=l,le=c}mc(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,D=o):mc(e)}}function mc(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:le||di(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Le(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&xa(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xa(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var g=c.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&On(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(m(163))}le||t.flags&512&&Cs(t)}catch(p){H(t,t.return,p)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function xc(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function wc(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{di(4,t)}catch(u){H(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){H(t,i,u)}}var o=t.return;try{Cs(t)}catch(u){H(t,o,u)}break;case 5:var s=t.return;try{Cs(t)}catch(u){H(t,s,u)}}}catch(u){H(t,t.return,u)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var wp=Math.ceil,fi=Ze.ReactCurrentDispatcher,_s=Ze.ReactCurrentOwner,Se=Ze.ReactCurrentBatchConfig,O=0,q=null,G=null,re=0,Ne=0,pn=dt(0),X=0,rr=null,Ct=0,pi=0,Us=0,ir=null,ge=null,Qs=0,hn=1/0,tt=null,hi=!1,Ps=null,Mt=null,gi=!1,mt=null,yi=0,or=0,Rs=null,Mi=-1,mi=0;function de(){return O&6?W():Mi!==-1?Mi:Mi=W()}function xt(e){return e.mode&1?O&2&&re!==0?re&-re:rp.transition!==null?(mi===0&&(mi=pu()),mi):(e=_,e!==0||(e=window.event,e=e===void 0?16:Nu(e.type)),e):1}function Ue(e,t,n,r){if(50<or)throw or=0,Rs=null,Error(m(185));An(e,n,r),(!(O&2)||e!==q)&&(e===q&&(!(O&2)&&(pi|=n),X===4&&wt(e,re)),ye(e,r),n===1&&O===0&&!(t.mode&1)&&(hn=W()+500,Wr&&pt()))}function ye(e,t){var n=e.callbackNode;nf(e,t);var r=Sr(e,e===q?re:0);if(r===0)n!==null&&cu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&cu(n),t===1)e.tag===0?np(Nc.bind(null,e)):la(Nc.bind(null,e)),Kf(function(){!(O&6)&&pt()}),n=null;else{switch(hu(r)){case 1:n=mo;break;case 4:n=du;break;case 16:n=vr;break;case 536870912:n=fu;break;default:n=vr}n=jc(n,Ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ic(e,t){if(Mi=-1,mi=0,O&6)throw Error(m(327));var n=e.callbackNode;if(gn()&&e.callbackNode!==n)return null;var r=Sr(e,e===q?re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=xi(e,r);else{t=r;var i=O;O|=2;var o=Tc();(q!==e||re!==t)&&(tt=null,hn=W()+500,Ot(e,t));do try{vp();break}catch(l){vc(e,l)}while(1);rs(),fi.current=o,O=i,G!==null?t=0:(q=null,re=0,t=X)}if(t!==0){if(t===2&&(i=xo(e),i!==0&&(r=i,t=bs(e,i))),t===1)throw n=rr,Ot(e,0),wt(e,r),ye(e,W()),n;if(t===6)wt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Ip(i)&&(t=xi(e,r),t===2&&(o=xo(e),o!==0&&(r=o,t=bs(e,o))),t===1))throw n=rr,Ot(e,0),wt(e,r),ye(e,W()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(m(345));case 2:_t(e,ge,tt);break;case 3:if(wt(e,r),(r&130023424)===r&&(t=Qs+500-W(),10<t)){if(Sr(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Wo(_t.bind(null,e,ge,tt),t);break}_t(e,ge,tt);break;case 4:if(wt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-je(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wp(r/1960))-r,10<r){e.timeoutHandle=Wo(_t.bind(null,e,ge,tt),r);break}_t(e,ge,tt);break;case 5:_t(e,ge,tt);break;default:throw Error(m(329))}}}return ye(e,W()),e.callbackNode===n?Ic.bind(null,e):null}function bs(e,t){var n=ir;return e.current.memoizedState.isDehydrated&&(Ot(e,t).flags|=256),e=xi(e,t),e!==2&&(t=ge,ge=n,t!==null&&Ys(t)),e}function Ys(e){ge===null?ge=e:ge.push.apply(ge,e)}function Ip(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ze(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wt(e,t){for(t&=~Us,t&=~pi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-je(t),r=1<<n;e[n]=-1,t&=~r}}function Nc(e){if(O&6)throw Error(m(327));gn();var t=Sr(e,0);if(!(t&1))return ye(e,W()),null;var n=xi(e,t);if(e.tag!==0&&n===2){var r=xo(e);r!==0&&(t=r,n=bs(e,r))}if(n===1)throw n=rr,Ot(e,0),wt(e,t),ye(e,W()),n;if(n===6)throw Error(m(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_t(e,ge,tt),ye(e,W()),null}function Bs(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(hn=W()+500,Wr&&pt())}}function Lt(e){mt!==null&&mt.tag===0&&!(O&6)&&gn();var t=O;O|=1;var n=Se.transition,r=_;try{if(Se.transition=null,_=1,e)return e()}finally{_=r,Se.transition=n,O=t,!(O&6)&&pt()}}function Fs(){Ne=pn.current,P(pn)}function Ot(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Xf(n)),G!==null)for(n=G.return;n!==null;){var r=n;switch(Ko(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vr();break;case 3:cn(),P(fe),P(ie),ds();break;case 5:as(r);break;case 4:cn();break;case 13:P(F);break;case 19:P(F);break;case 10:is(r.type._context);break;case 22:case 23:Fs()}n=n.return}if(q=e,G=e=It(e.current,null),re=Ne=t,X=0,rr=null,Us=pi=Ct=0,ge=ir=null,At!==null){for(t=0;t<At.length;t++)if(n=At[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}At=null}return e}function vc(e,t){do{var n=G;try{if(rs(),ni.current=si,ri){for(var r=V.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ri=!1}if(zt=0,K=J=V=null,Xn=!1,Kn=0,_s.current=null,n===null||n.return===null){X=1,rr=t,G=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=re,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,g=l,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var p=g.alternate;p?(g.updateQueue=p.updateQueue,g.memoizedState=p.memoizedState,g.lanes=p.lanes):(g.updateQueue=null,g.memoizedState=null)}var M=Ga(s);if(M!==null){M.flags&=-257,$a(M,s,l,o,t),M.mode&1&&Za(o,c,t),t=M,u=c;var w=t.updateQueue;if(w===null){var x=new Set;x.add(u),t.updateQueue=x}else w.add(u);break e}else{if(!(t&1)){Za(o,c,t),Vs();break e}u=Error(m(426))}}else if(b&&l.mode&1){var k=Ga(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),$a(k,s,l,o,t),ts(dn(u,l));break e}}o=u=dn(u,l),X!==4&&(X=2),ir===null?ir=[o]:ir.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=Ha(o,u,t);ma(o,d);break e;case 1:l=u;var a=o.type,f=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Mt===null||!Mt.has(f)))){o.flags|=65536,t&=-t,o.lanes|=t;var y=Wa(o,l,t);ma(o,y);break e}}o=o.return}while(o!==null)}Ec(n)}catch(v){t=v,G===n&&n!==null&&(G=n=n.return);continue}break}while(1)}function Tc(){var e=fi.current;return fi.current=si,e===null?si:e}function Vs(){(X===0||X===3||X===2)&&(X=4),q===null||!(Ct&268435455)&&!(pi&268435455)||wt(q,re)}function xi(e,t){var n=O;O|=2;var r=Tc();(q!==e||re!==t)&&(tt=null,Ot(e,t));do try{Np();break}catch(i){vc(e,i)}while(1);if(rs(),O=n,fi.current=r,G!==null)throw Error(m(261));return q=null,re=0,X}function Np(){for(;G!==null;)Dc(G)}function vp(){for(;G!==null&&!Zd();)Dc(G)}function Dc(e){var t=Ac(e.alternate,e,Ne);e.memoizedProps=e.pendingProps,t===null?Ec(e):G=t,_s.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=yp(n,t),n!==null){n.flags&=32767,G=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{X=6,G=null;return}}else if(n=gp(n,t,Ne),n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);X===0&&(X=5)}function _t(e,t,n){var r=_,i=Se.transition;try{Se.transition=null,_=1,Tp(e,t,n,r)}finally{Se.transition=i,_=r}return null}function Tp(e,t,n,r){do gn();while(mt!==null);if(O&6)throw Error(m(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(m(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(rf(e,o),e===q&&(G=q=null,re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gi||(gi=!0,jc(vr,function(){return gn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Se.transition,Se.transition=null;var s=_;_=1;var l=O;O|=4,_s.current=null,mp(e,n),yc(n,e),Vf(Vo),jr=!!Fo,Vo=Fo=null,e.current=n,xp(n),Gd(),O=l,_=s,Se.transition=o}else e.current=n;if(gi&&(gi=!1,mt=e,yi=i),o=e.pendingLanes,o===0&&(Mt=null),Xd(n.stateNode),ye(e,W()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(hi)throw hi=!1,e=Ps,Ps=null,e;return yi&1&&e.tag!==0&&gn(),o=e.pendingLanes,o&1?e===Rs?or++:(or=0,Rs=e):or=0,pt(),null}function gn(){if(mt!==null){var e=hu(yi),t=Se.transition,n=_;try{if(Se.transition=null,_=16>e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,yi=0,O&6)throw Error(m(331));var i=O;for(O|=4,D=e.current;D!==null;){var o=D,s=o.child;if(D.flags&16){var l=o.deletions;if(l!==null){for(var u=0;u<l.length;u++){var c=l[u];for(D=c;D!==null;){var g=D;switch(g.tag){case 0:case 11:case 15:nr(8,g,o)}var h=g.child;if(h!==null)h.return=g,D=h;else for(;D!==null;){g=D;var p=g.sibling,M=g.return;if(dc(g),g===c){D=null;break}if(p!==null){p.return=M,D=p;break}D=M}}}var w=o.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var k=x.sibling;x.sibling=null,x=k}while(x!==null)}}D=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,D=s;else e:for(;D!==null;){if(o=D,o.flags&2048)switch(o.tag){case 0:case 11:case 15:nr(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,D=d;break e}D=o.return}}var a=e.current;for(D=a;D!==null;){s=D;var f=s.child;if(s.subtreeFlags&2064&&f!==null)f.return=s,D=f;else e:for(s=a;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:di(9,l)}}catch(v){H(l,l.return,v)}if(l===s){D=null;break e}var y=l.sibling;if(y!==null){y.return=l.return,D=y;break e}D=l.return}}if(O=i,pt(),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(Tr,e)}catch{}r=!0}return r}finally{_=n,Se.transition=t}}return!1}function Sc(e,t,n){t=dn(n,t),t=Ha(e,t,1),e=gt(e,t,1),t=de(),e!==null&&(An(e,1,t),ye(e,t))}function H(e,t,n){if(e.tag===3)Sc(e,e,n);else for(;t!==null;){if(t.tag===3){Sc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Mt===null||!Mt.has(r))){e=dn(n,e),e=Wa(t,e,1),t=gt(t,e,1),e=de(),t!==null&&(An(t,1,e),ye(t,e));break}}t=t.return}}function Dp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,q===e&&(re&n)===n&&(X===4||X===3&&(re&130023424)===re&&500>W()-Qs?Ot(e,0):Us|=n),ye(e,t)}function kc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=de();e=Ke(e,t),e!==null&&(An(e,t,n),ye(e,n))}function Ep(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kc(e,n)}function Sp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(m(314))}r!==null&&r.delete(t),kc(e,n)}var Ac;Ac=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,hp(e,t,n);he=!!(e.flags&131072)}else he=!1,b&&t.flags&1048576&&ua(t,Gr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ai(e,t),e=t.pendingProps;var i=nn(t,ie.current);an(t,n),i=hs(null,t,r,e,i,n);var o=gs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(o=!0,Hr(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ls(t),i.updater=li,t.stateNode=i,i._reactInternals=t,Is(t,r,e,n),t=Ds(null,t,r,!0,o,n)):(t.tag=0,b&&o&&Xo(t),ce(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ai(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Ap(r),e=Le(r,e),i){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=tc(null,t,r,e,n);break e;case 11:t=Ja(null,t,r,e,n);break e;case 14:t=Xa(null,t,r,Le(r.type,e),n);break e}throw Error(m(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),Ts(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),tc(e,t,r,i,n);case 3:e:{if(nc(t),e===null)throw Error(m(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ma(e,t),ei(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=dn(Error(m(423)),t),t=rc(e,t,r,n,i);break e}else if(r!==i){i=dn(Error(m(424)),t),t=rc(e,t,r,n,i);break e}else for(Ie=ct(t.stateNode.containerInfo.firstChild),we=t,b=!0,Ce=null,n=ga(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===i){t=et(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return wa(t),e===null&&es(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ho(r,i)?s=null:o!==null&&Ho(r,o)&&(t.flags|=32),ec(e,t),ce(e,t,s,n),t.child;case 6:return e===null&&es(t),null;case 13:return ic(e,t,n);case 4:return us(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ln(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),Ja(e,t,r,i,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,U(Xr,r._currentValue),r._currentValue=s,o!==null)if(ze(o.value,s)){if(o.children===i.children&&!fe.current){t=et(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=qe(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?u.next=u:(u.next=g.next,g.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),os(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(m(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),os(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ce(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,an(t,n),i=De(i),r=r(i),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,i=Le(r,t.pendingProps),i=Le(r.type,i),Xa(e,t,r,i,n);case 15:return Ka(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Le(r,i),ai(e,t),t.tag=1,pe(r)?(e=!0,Hr(t)):e=!1,an(t,n),Fa(t,r,i),Is(t,r,i,n),Ds(null,t,r,!0,e,n);case 19:return sc(e,t,n);case 22:return qa(e,t,n)}throw Error(m(156,t.tag))};function jc(e,t){return au(e,t)}function kp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ke(e,t,n,r){return new kp(e,t,n,r)}function Hs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ap(e){if(typeof e=="function")return Hs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ji)return 11;if(e===qi)return 14}return 2}function It(e,t){var n=e.alternate;return n===null?(n=ke(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function wi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Hs(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ft:return Ut(n.children,i,o,t);case Gi:s=8,i|=8;break;case $i:return e=ke(12,n,t,i|2),e.elementType=$i,e.lanes=o,e;case Xi:return e=ke(13,n,t,i),e.elementType=Xi,e.lanes=o,e;case Ki:return e=ke(19,n,t,i),e.elementType=Ki,e.lanes=o,e;case Rl:return Ii(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ql:s=10;break e;case Pl:s=9;break e;case Ji:s=11;break e;case qi:s=14;break e;case nt:s=16,r=null;break e}throw Error(m(130,e==null?e:typeof e,""))}return t=ke(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ut(e,t,n,r){return e=ke(7,e,r,t),e.lanes=n,e}function Ii(e,t,n,r){return e=ke(22,e,r,t),e.elementType=Rl,e.lanes=n,e.stateNode={isHidden:!1},e}function Ws(e,t,n){return e=ke(6,e,null,t),e.lanes=n,e}function Zs(e,t,n){return t=ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jp(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wo(0),this.expirationTimes=wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gs(e,t,n,r,i,o,s,l,u){return e=new jp(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ke(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ls(o),e}function zp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function zc(e){if(!e)return ft;e=e._reactInternals;e:{if(Tt(e)!==e||e.tag!==1)throw Error(m(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(pe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(m(171))}if(e.tag===1){var n=e.type;if(pe(n))return oa(e,n,t)}return t}function Cc(e,t,n,r,i,o,s,l,u){return e=Gs(n,r,!0,e,i,o,s,l,u),e.context=zc(null),n=e.current,r=de(),i=xt(n),o=qe(r,i),o.callback=t??null,gt(n,o,i),e.current.lanes=i,An(e,i,r),ye(e,r),e}function Ni(e,t,n,r){var i=t.current,o=de(),s=xt(i);return n=zc(n),t.context===null?t.context=n:t.pendingContext=n,t=qe(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gt(i,t,s),e!==null&&(Ue(e,i,s,o),qr(e,i,s)),s}function vi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Lc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $s(e,t){Lc(e,t),(e=e.alternate)&&Lc(e,t)}function Cp(){return null}var Oc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Js(e){this._internalRoot=e}Ti.prototype.render=Js.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(m(409));Ni(e,t,null,null)},Ti.prototype.unmount=Js.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Lt(function(){Ni(null,e,null,null)}),t[Ge]=null}};function Ti(e){this._internalRoot=e}Ti.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<lt.length&&t!==0&&t<lt[n].priority;n++);lt.splice(n,0,e),n===0&&wu(e)}};function Xs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Di(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _c(){}function Lp(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=vi(s);o.call(c)}}var s=Cc(t,r,e,0,null,!1,!1,"",_c);return e._reactRootContainer=s,e[Ge]=s.current,Fn(e.nodeType===8?e.parentNode:e),Lt(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var c=vi(u);l.call(c)}}var u=Gs(e,0,!1,null,null,!1,!1,"",_c);return e._reactRootContainer=u,e[Ge]=u.current,Fn(e.nodeType===8?e.parentNode:e),Lt(function(){Ni(t,u,n,r)}),u}function Ei(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var u=vi(s);l.call(u)}}Ni(t,s,e,i)}else s=Lp(n,t,e,i,r);return vi(s)}gu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=kn(t.pendingLanes);n!==0&&(Io(t,n|1),ye(t,W()),!(O&6)&&(hn=W()+500,pt()))}break;case 13:Lt(function(){var r=Ke(e,1);if(r!==null){var i=de();Ue(r,e,1,i)}}),$s(e,1)}},No=function(e){if(e.tag===13){var t=Ke(e,134217728);if(t!==null){var n=de();Ue(t,e,134217728,n)}$s(e,134217728)}},yu=function(e){if(e.tag===13){var t=xt(e),n=Ke(e,t);if(n!==null){var r=de();Ue(n,e,t,r)}$s(e,t)}},Mu=function(){return _},mu=function(e,t){var n=_;try{return _=e,t()}finally{_=n}},ho=function(e,t,n){switch(t){case"input":if(oo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Fr(r);if(!i)throw Error(m(90));Bl(r),oo(r,i)}}}break;case"textarea":Zl(e,n);break;case"select":t=n.value,t!=null&&Vt(e,!!n.multiple,t,!1)}},nu=Bs,ru=Lt;var Op={usingClientEntryPoint:!1,Events:[Wn,en,Fr,eu,tu,Bs]},sr={findFiberByHostInstance:Dt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_p={bundleType:sr.bundleType,version:sr.version,rendererPackageName:sr.rendererPackageName,rendererConfig:sr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ze.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=lu(e),e===null?null:e.stateNode},findFiberByHostInstance:sr.findFiberByHostInstance||Cp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Si=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Si.isDisabled&&Si.supportsFiber)try{Tr=Si.inject(_p),Re=Si}catch{}}Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Op,Me.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Xs(t))throw Error(m(200));return zp(e,t,null,n)},Me.createRoot=function(e,t){if(!Xs(e))throw Error(m(299));var n=!1,r="",i=Oc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gs(e,1,!1,null,null,n,!1,r,i),e[Ge]=t.current,Fn(e.nodeType===8?e.parentNode:e),new Js(t)},Me.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(m(188)):(e=Object.keys(e).join(","),Error(m(268,e)));return e=lu(t),e=e===null?null:e.stateNode,e},Me.flushSync=function(e){return Lt(e)},Me.hydrate=function(e,t,n){if(!Di(t))throw Error(m(200));return Ei(null,e,t,!0,n)},Me.hydrateRoot=function(e,t,n){if(!Xs(e))throw Error(m(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Oc;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Cc(t,null,e,1,n??null,i,!1,o,s),e[Ge]=t.current,Fn(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ti(t)},Me.render=function(e,t,n){if(!Di(t))throw Error(m(200));return Ei(null,e,t,!1,n)},Me.unmountComponentAtNode=function(e){if(!Di(e))throw Error(m(40));return e._reactRootContainer?(Lt(function(){Ei(null,null,e,!1,function(){e._reactRootContainer=null,e[Ge]=null})}),!0):!1},Me.unstable_batchedUpdates=Bs,Me.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Di(n))throw Error(m(200));if(e==null||e._reactInternals===void 0)throw Error(m(38));return Ei(e,t,n,!1,r)},Me.version="18.3.1-next-f1338f8080-20240426";function Uc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),zl.exports=Me;var Up=zl.exports,Qc=Up;yr.createRoot=Qc.createRoot,yr.hydrateRoot=Qc.hydrateRoot;const Qp="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCA4MCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3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EwMyAxMy45NTI1IDE0LjM0MDNDMTMuMzIyNSAxNC45NzAzIDEyLjU4MTcgMTUuNDY5IDExLjczIDE1LjgzNjVDMTAuODc4MyAxNi4yMDQgOS45NjgzMyAxNi4zODc4IDkgMTYuMzg3OFpNOSAxNC45ODc4QzEwLjU2MzMgMTQuOTg3OCAxMS44ODc1IDE0LjQ0NTMgMTIuOTcyNSAxMy4zNjAzQzE0LjA1NzUgMTIuMjc1MyAxNC42IDEwLjk1MTEgMTQuNiA5LjM4Nzc2QzE0LjYgNy44MjQ0MiAxNC4wNTc1IDYuNTAwMjYgMTIuOTcyNSA1LjQxNTI2QzExLjg4NzUgNC4zMzAyNiAxMC41NjMzIDMuNzg3NzYgOSAzLjc4Nzc2QzcuNDM2NjcgMy43ODc3NiA2LjExMjUgNC4zMzAyNiA1LjAyNzUgNS40MTUyNkMzLjk0MjUgNi41MDAyNiAzLjQgNy44MjQ0MiAzLjQgOS4zODc3NkMzLjQgMTAuOTUxMSAzLjk0MjUgMTIuMjc1MyA1LjAyNzUgMTMuMzYwM0M2LjExMjUgMTQuNDQ1MyA3LjQzNjY3IDE0Ljk4NzggOSAxNC45ODc4WiIgZmlsbD0iI0JEQkRCRCIvPg0KPC9nPg0KPC9zdmc+DQo=",ki=({icon:e,description:t,iconStyle:n="default"})=>{const r={sm:"w-[19px] h-[18px] shrink-0",default:"w-[30px] h-[30px] shrink-0",md:"w-[80px] h-[19px] shrink-0",profile:"w-[64px] h-[64px] shrink-0 object-contain"},i=r[n]||r.default;return I.jsx("img",{className:i,src:e,alt:t})},Rp=()=>I.jsxs("div",{className:"flex justify-evenly items-center w-full h-full shrink-0 select-none",children:[I.jsx(ki,{icon:Qp,iconStyle:"md",description:"Logo Hi Fenix"}),I.jsxs("div",{className:"flex items-center",children:[I.jsx(ki,{icon:Pp,iconStyle:"sm",description:"Logo Hi Fenix"}),I.jsx("p",{className:"text-[#bdbdbd] font-[Manrope] text-[14px] not-italic font-medium leading-[111%] tracking-[0.2px]",children:"Todos los derechos reservados"})]})]}),Pc=({icon:e,styleImg:t="default",description:n="",styleBtn:r="",callback:i=()=>{},isActive:o=!0,className:s=""})=>I.jsx("button",{onClick:i,className:`flex justify-center items-center p-0 bg-transparent cursor-pointer border-0 ${r} ${s}`,"aria-label":n,title:n,disabled:!o,children:I.jsx(ki,{icon:e,iconStyle:t,description:`Icono de ${n}`})}),Ks=R.createContext({}),Qt=()=>R.useContext(Ks),bp=({cancelarModal:e,reiniciarConversacion:t})=>{const{colorBubble:n}=Qt();return I.jsxs("section",{className:"flex flex-col items-start gap-6 absolute top-[138px] left-1/2 transform -translate-x-1/2 z-[9999] w-full max-w-[416px] h-[187px] p-[30px] rounded-[16px] bg-grayFooter shadow-questionMark box-border",children:[I.jsx("h2",{className:"w-full text-center text-blackAyelen font-[Manrope] text-[20px] font-bold leading-[100%] m-0",children:"¿Seguro desea reiniciar la conversación?"}),I.jsx("p",{className:"w-full text-center text-gray3 font-[Manrope] text-[16px] font-semibold leading-[100%] m-0",children:"No podrá revertir esta acción."}),I.jsxs("div",{className:"flex flex-row justify-between w-full",children:[I.jsx("button",{className:`rounded-full border shadow-[0px_2px_2px_0px_rgba(0,0,0,0.1)] w-[150px] h-[40px] px-4 flex justify-center items-center gap-2 text-[16px] font-semibold font-[Manrope] ${n?"":"border-azulChatbot text-azulChatbot"}`,style:{borderColor:n,color:n},onClick:e,children:"Cancelar"}),I.jsx("button",{className:`rounded-full text-white border-none shadow-[0px_2px_2px_0px_rgba(0,0,0,0.1)] w-[149px] h-[40px] px-4 flex justify-center items-center gap-2 text-[16px] font-semibold font-[Manrope] ${n?"":"bg-azulChatbot"}`,style:{backgroundColor:n},onClick:t,children:"Reiniciar"})]})]})},Rc="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMjA0OCAxNjAyIiB3aWR0aD0iNTMzIiBo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zNyAxMC43OTY0VjhIMjEuOTQ0MlYxMy43MzdIMTYuMjA3MlYxMi4zM0gxOS45MTI5QzE5LjQxODUgMTEuNDI0MiAxOC43MzI5IDEwLjcxMDcgMTcuODU2IDEwLjE4OTRDMTYuOTc5MyA5LjY2Nzk1IDE2LjAyMDcgOS40MDcyMiAxNC45ODAzIDkuNDA3MjJDMTMuNDE2OCA5LjQwNzIyIDEyLjA4NzcgOS45NTQ0OCAxMC45OTMyIDExLjA0OUM5Ljg5ODY5IDEyLjE0MzUgOS4zNTE0NCAxMy40NzI1IDkuMzUxNDQgMTUuMDM2MUM5LjM1MTQ0IDE2LjU5OTcgOS44OTg2OSAxNy45Mjg3IDEwLjk5MzIgMTkuMDIzM0MxMi4wODc3IDIwLjExNzggMTMuNDE2OCAyMC42NjUgMTQuOTgwMyAyMC42NjVDMTYuMTg0MyAyMC42NjUgMTcuMjcxIDIwLjMyMSAxOC4yNDA0IDE5LjYzM0MxOS4yMDk4IDE4Ljk0NTEgMTkuODkgMTguMDM4MiAyMC4yODA5IDE2LjkxMjRIMjEuNzYzOUMyMS4zMzgxIDE4LjQ0MzUgMjAuNDk5NSAxOS42ODYyIDE5LjI0OCAyMC42NDA2QzE3Ljk5NjUgMjEuNTk1IDE2LjU3MzkgMjIuMDcyMiAxNC45ODAzIDIyLjA3MjJaIiBmaWxsPSIjMzMzMzMzIi8+DQo8L2c+DQo8L2c+DQo8L3N2Zz4NCg==",Hp=({closeChat:e=()=>{},onResetChat:t=()=>{}})=>{const[n,r]=R.useState(!1),{profileSvg:i,titleSvg:o,titleOne:s,titleTwo:l,isBoldTitleOne:u,isBoldTitleTwo:c,colorBubble:g}=Qt(),h=!!i,p=!!o,M=h?i:Rc,w=g?Vp:Bp,x=g?Fp:Yp;return I.jsxs("section",{className:`p-[20px] flex items-center justify-start relative w-full h-full gap-[15px] box-border select-none ${g?"":"bg-azulChatbot"}`,style:{backgroundColor:g},children:[I.jsx("div",{className:"w-[78px] h-[78px] flex-shrink-0 flex items-center justify-center bg-[#e7e7e7] rounded-full",children:I.jsx(ki,{icon:M,iconStyle:"profile",description:"Icono de enviar"})}),I.jsxs("div",{className:"flex flex-col justify-center gap-[2.64px] overflow-hidden",children:[p?I.jsx("img",{src:o,alt:"Custom Title",className:"object-contain",style:{maxWidth:"260px",maxHeight:"50px"}}):I.jsx("h2",{className:"m-0 text-[#FAFAFA] text-[20px] leading-normal",style:{fontFamily:"Montserrat"},children:s?I.jsx("span",{className:u?"font-bold":"",children:s}):I.jsxs(I.Fragment,{children:[I.jsx("span",{className:"font-bold",children:"HI CHAT"})," ASSISTANT"]})}),I.jsx("p",{className:`text-grayFooter m-0 text-[16px] leading-[22px] ${c===!0?"font-bold":""}`,children:l||"¡Hola! 👋 Estoy aquí para ayudarte"})]}),I.jsx(Pc,{icon:w,styleImg:"default",description:"Reiniciar conversación",className:"absolute top-[10px] right-[50px]",callback:()=>r(!0)}),I.jsx(Pc,{icon:x,styleImg:"default",description:"Cerrar Hi chat Bot",styleBtn:"w-[30px] h-[30px]",className:"absolute top-[10px] right-[10px]",callback:e}),n&&I.jsx(bp,{cancelarModal:()=>r(!1),reiniciarConversacion:()=>{t(),r(!1)}})]})},Wp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0ic2l6ZS02Ij4NCiAgPHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTUuNjY2IDMuODg4QTIuMjUgMi4yNSAwIDAgMCAxMy41IDIuMjVoLTNjLTEuMDMgMC0xLjkuNjkzLTIuMTY2IDEuNjM4bTcuMzMyIDBjLjA1NS4xOTQuMDg0LjQuMDg0LjYxMnYwYS43NS43NSAwIDAgMS0uNzUuNzVIOWEuNzUuNzUgMCAwIDEtLjc1LS43NXYwYzAtLjIxMi4wMy0uNDE4LjA4NC0uNjEybTcuMzMyIDBjLjY0Ni4wNDkgMS4yODguMTEgMS45MjcuMTg0IDEuMS4xMjggMS45MDcgMS4wNzcgMS45MDcgMi4xODVWMTkuNWEyLjI1IDIuMjUgMCAwIDEtMi4yNSAyLjI1SDYuNzVBMi4yNSAyLjI1IDAgMCAxIDQuNSAxOS41VjYuMjU3YzAtMS4xMDguODA2LTIuMDU3IDEuOTA3LTIuMTg1YTQ4LjIwOCA0OC4yMDggMCAwIDEgMS45MjctLjE4NCIgLz4NCjwvc3ZnPg0K",Zp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iYmx1ZSIgY2xhc3M9InNpemUtNiI+DQogIDxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTMuNzUgMy43NXY0LjVtMC00LjVoNC41bS00LjUgMEw5IDlNMy43NSAyMC4yNXYtNC41bTAgNC41aDQuNW0tNC41IDBMOSAxNU0yMC4yNSAzLjc1aC00LjVtNC41IDB2NC41bTAtNC41TDE1IDltNS4yNSAxMS4yNWgtNC41bTQuNSAwdi00LjVtMCA0LjVMMTUgMTUiIC8+DQo8L3N2Zz4NCg0K",Gp=({image:e,onClose:t})=>I.jsxs("div",{className:"fixed top-0 left-0 w-screen h-screen bg-black/70 backdrop-blur-sm flex justify-center items-center z-[1000]",onClick:t,children:[I.jsx("button",{className:"absolute top-[20px] right-[20px] bg-azulChatbot text-white text-[18px] font-bold px-4 py-2 rounded-full",onClick:t,children:"x"}),I.jsx("img",{src:e,alt:"zoom",className:"max-w-[85vw] max-h-[85vh] rounded-[10px] shadow-[2px_3px_22px_rgba(255,255,255,0.2)]",onClick:n=>n.stopPropagation()})]}),$p=({text:e="",userType:t="",loading:n=!1,images:r})=>{const[i,o]=R.useState(!1),[s,l]=R.useState(""),{colorBubble:u}=Qt(),c=t==="assistant",g=async()=>{try{await navigator.clipboard.writeText(e),o(!0),setTimeout(()=>o(!1),2e3)}catch{console.error("Error copiando al portapapeles")}},h=()=>e.split(/!?\[.*?\]\((.*?)\)/g).map((M,w)=>{const x=M.includes("amazonaws.com"),k=M.startsWith("https://")||M.startsWith("http://");if(x)return I.jsxs("div",{className:"relative w-fit h-fit max-w-[220px] max-h-[140px] m-[12px_auto] cursor-pointer",onClick:()=>l(M),children:[I.jsx("img",{src:Zp,alt:"Ver imagen ampliada",className:"absolute top-[5px] right-[5px] w-[17px] h-[17px] z-10"}),I.jsx("img",{src:M,alt:"preview",className:"max-w-[220px] max-h-[140px] rounded-[10px] object-cover"})]},`img-${w}`);if(k)return I.jsx("a",{href:M,target:"_blank",rel:"noopener noreferrer",className:"underline",style:{color:u||"#2563EB"},children:M},`link-${w}`);const d=M.trim().split(`
|
|
41
41
|
`).map((a,f)=>I.jsxs("span",{children:[a,I.jsx("br",{})]},f));return I.jsx("span",{children:d},w)}).filter(Boolean);return I.jsxs("div",{className:"relative inline-block",children:[I.jsx("p",{className:`m-0 text-start p-[20px] max-w-[342px] font-[Manrope] text-[16px] font-medium leading-[22px] break-words box-border ${t==="assistant"?"bg-grayChat text-blackAyelen rounded-tr-[10px] rounded-bl-[10px] rounded-br-[10px]":`text-white rounded-tl-[10px] rounded-bl-[10px] rounded-br-[10px] ${u?"":"bg-azulChatbot"}`}`,style:{backgroundColor:t==="user"?u:void 0},children:n?I.jsx("span",{style:{"--bubble-color":u||"#1446FF",backgroundColor:u||"#1446FF"},className:`block w-[5px] h-[5px] rounded-full ${u?"":"bg-azulChatbot"} shadow-[8px_0_var(--bubble-color),-8px_0_var(--bubble-color)] animate-pulse`}):h()}),c&&!n&&I.jsxs(I.Fragment,{children:[I.jsx("button",{className:"absolute top-[10px] left-full ml-[8px] w-[24px] h-[24px] opacity-70 hover:opacity-100",onClick:g,title:"Copiar texto",children:I.jsx("img",{src:Wp,alt:"Copiar"})}),i&&I.jsx("div",{className:"absolute top-[-28px] right-0 bg-black text-white px-2 py-1 text-xs rounded animate-fadeInOut pointer-events-none",children:"Mensaje copiado"})]}),s&&I.jsx(Gp,{image:s,onClose:()=>l("")})]})},Jp=({messages:e=[]})=>I.jsx("div",{className:"flex flex-col gap-[22px] m-[18px] max-w-[416px] bg-white",children:e.length>0&&e.map((t,n)=>I.jsx("div",{className:`flex w-full items-center bg-white ${t.userType==="assistant"?"justify-start":"justify-end"}`,children:I.jsx($p,{text:t.text,userType:t.userType,loading:t.loading,images:t.images})},n))}),Xp="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMyAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxtYXNrIGlkPSJtYXNrMF8xMDIzXzQ1NzAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyMyIgaGVpZ2h0PSIyMSI+DQo8cmVjdCB4PSIwLjQ0MTQwNiIgeT0iMC43MDU4ODciIHdpZHRoPSIyMi4wNTg4IiBoZWlnaHQ9IjE5LjMwMTUiIGZpbGw9IiNEOUQ5RDkiLz4NCjwvbWFzaz4NCjxnIG1hc2s9InVybCgjbWFzazBfMTAyM180NTcwKSI+DQo8cGF0aCBkPSJNMi4xODc1IDE5LjM0NThDMS43NzExNCAxOS41MTIxIDEuMzc2MDMgMTkuNDc2NyAxLjAwMjE4IDE5LjIzOTZDMC42MjgzMzIgMTkuMDAyNSAwLjQ0MTQwNiAxOC42NTcxIDAuNDQxNDA2IDE4LjIwMzVWMTIuMzgzOEw5Ljk4NTk4IDEwLjA3NzNMMC40NDE0MDYgNy43NzA3M1YxLjk1MDk5QzAuNDQxNDA2IDEuNDk3NDEgMC42MjgzMzIgMS4xNTIwNSAxLjAwMjE4IDAuOTE0OTE0QzEuMzc2MDMgMC42Nzc3ODIgMS43NzExNCAwLjY0MjM5OCAyLjE4NzUgMC44MDg3NThMMjEuNDI5IDguOTIxMjRDMjEuOTQxNiA5LjE1MDc4IDIyLjE5OCA5LjUzNjkzIDIyLjE5OCAxMC4wNzk3QzIyLjE5OCAxMC42MjI0IDIxLjk0MTYgMTEuMDA2OSAyMS40MjkgMTEuMjMzM0wyLjE4NzUgMTkuMzQ1OFoiIGZpbGw9IndoaXRlIi8+DQo8L2c+DQo8L3N2Zz4NCg==",Kp=({onSubmit:e=()=>{},inputDisabled:t=!1})=>{const[n,r]=R.useState(""),{colorBubble:i}=Qt(),o=R.useRef(null),s=c=>{const g=c.target.value;r(g);const h=o.current;if(h){h.style.height="auto";const p=Math.min(h.scrollHeight,100);h.style.height=`${p}px`,h.style.overflowY=p>=100?"auto":"hidden"}},l=async()=>{if(n.trim().length!==0)try{await e(n.trim()),r(""),o.current&&(o.current.style.height="auto",o.current.style.overflowY="hidden")}catch(c){console.error("Error enviando mensaje:",c.message)}},u=c=>{c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),l())};return I.jsxs("div",{className:"flex justify-center items-end w-full h-auto min-h-[61px] max-h-[100px] relative bg-white",children:[I.jsx("div",{className:"absolute top-[1px] left-[1px] w-[calc(100%-90px)] h-[4px] bg-white z-[2] pointer-events-none"}),I.jsx("textarea",{ref:o,value:n,onChange:s,onKeyDown:u,placeholder:"Escribe tu mensaje...",rows:1,className:"flex-grow box-border p-[17px_24px_17px_22px] border border-gray-300 text-black font-[Manrope] text-[16px] font-medium leading-[20px] outline-none transition-all resize-none min-h-[61px] h-auto focus:border-azulChatbot overflow-hidden",disabled:t}),I.jsx("button",{className:`cursor-pointer flex justify-center items-center border-0 mx-[18px] mb-[4px] rounded-full w-[50px] h-[50px] flex-shrink-0 ${i?"":"bg-azulChatbot"} shadow-[0px_2px_2px_0px_rgba(0,0,0,0.1)] text-white`,style:{backgroundColor:i},onClick:l,disabled:t||n.trim().length===0,title:"Enviar mensaje","aria-label":"Enviar mensaje",children:I.jsx("img",{src:Xp,alt:"Enviar",className:"w-[22px] h-[19px] relative left-[2px]"})})]})},qp=({messages:e=[],onSendMessage:t=()=>{},inputDisabled:n=!1})=>{const r=R.useRef(null);return R.useEffect(()=>{r.current&&requestAnimationFrame(()=>{r.current.scrollTop=r.current.scrollHeight})},[e]),I.jsxs("div",{className:"w-full h-full flex flex-col overflow-hidden box-border",children:[I.jsx("div",{ref:r,className:"max-w-full h-[361px] max-h-[361px] overflow-y-auto bg-white scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-transparent",children:I.jsx(Jp,{messages:e})}),I.jsx("div",{className:"max-w-[416px] min-h-[61px] max-h-[105px] pt-[5px] h-auto flex-shrink-0 bg-white box-border flex items-end",children:I.jsx(Kp,{onSubmit:t,inputDisabled:n})})]})};function eh({header:e,mainChat:t,footer:n}){const[r,i]=R.useState(!1),{backOfficeBubble:o,colorBubble:s}=Qt(),[l,u]=R.useState(""),c=s?`bg-[${s}]`:"bg-azulChatbot";return R.useEffect(()=>{u(o?"relative":"block fixed bottom-[-600px] right-16 max-sm:px-[10px] max-sm:right-0"),setTimeout(()=>i(!0),10)},[]),I.jsx("div",{className:`
|
|
42
42
|
${l} max-sm:rounded-[8px] max-[1370px]:animate-slide-up-xl
|
|
43
43
|
${o?"w-full h-full":"w-full max-w-[416px] h-[calc(100vh-20px)] max-h-[620px]"}
|
|
@@ -47,5 +47,5 @@ Error generating stack: `+o.message+`
|
|
|
47
47
|
${s}
|
|
48
48
|
w-[50px] h-[50px] rounded-full ${r?"":"bg-azulChatbot"}
|
|
49
49
|
flex items-center justify-center z-[9998] shadow-md transition-opacity duration-300
|
|
50
|
-
ease-in-out select-none rigth-12`,style:{backgroundColor:r,...l},onClick:e,children:I.jsx("img",{src:o,alt:"Abrir chat",className:"w-[30px] h-[24px]"})})},Ve=Object.create(null);Ve.open="0",Ve.close="1",Ve.ping="2",Ve.pong="3",Ve.message="4",Ve.upgrade="5",Ve.noop="6";const Ai=Object.create(null);Object.keys(Ve).forEach(e=>{Ai[Ve[e]]=e});const qs={type:"error",data:"parser error"},bc=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Yc=typeof ArrayBuffer=="function",Bc=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,el=({type:e,data:t},n,r)=>bc&&t instanceof Blob?n?r(t):Fc(t,r):Yc&&(t instanceof ArrayBuffer||Bc(t))?n?r(t):Fc(new Blob([t]),r):r(Ve[e]+(t||"")),Fc=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Vc(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let tl;function nh(e,t){if(bc&&e.data instanceof Blob)return e.data.arrayBuffer().then(Vc).then(t);if(Yc&&(e.data instanceof ArrayBuffer||Bc(e.data)))return t(Vc(e.data));el(e,!1,n=>{tl||(tl=new TextEncoder),t(tl.encode(n))})}const Hc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Hc.length;e++)lr[Hc.charCodeAt(e)]=e;const rh=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,l,u;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),g=new Uint8Array(c);for(r=0;r<n;r+=4)o=lr[e.charCodeAt(r)],s=lr[e.charCodeAt(r+1)],l=lr[e.charCodeAt(r+2)],u=lr[e.charCodeAt(r+3)],g[i++]=o<<2|s>>4,g[i++]=(s&15)<<4|l>>2,g[i++]=(l&3)<<6|u&63;return c},ih=typeof ArrayBuffer=="function",nl=(e,t)=>{if(typeof e!="string")return{type:"message",data:Wc(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:oh(e.substring(1),t)}:Ai[n]?e.length>1?{type:Ai[n],data:e.substring(1)}:{type:Ai[n]}:qs},oh=(e,t)=>{if(ih){const n=rh(e);return Wc(n,t)}else return{base64:!0,data:e}},Wc=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Zc=String.fromCharCode(30),sh=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{el(o,!1,l=>{r[s]=l,++i===n&&t(r.join(Zc))})})},lh=(e,t)=>{const n=e.split(Zc),r=[];for(let i=0;i<n.length;i++){const o=nl(n[i],t);if(r.push(o),o.type==="error")break}return r};function uh(){return new TransformStream({transform(e,t){nh(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let rl;function ji(e){return e.reduce((t,n)=>t+n.length,0)}function zi(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function ah(e,t){rl||(rl=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(r===0){if(ji(n)<1)break;const u=zi(n,1);o=(u[0]&128)===128,i=u[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(ji(n)<2)break;const u=zi(n,2);i=new DataView(u.buffer,u.byteOffset,u.length).getUint16(0),r=3}else if(r===2){if(ji(n)<8)break;const u=zi(n,8),c=new DataView(u.buffer,u.byteOffset,u.length),g=c.getUint32(0);if(g>Math.pow(2,53-32)-1){l.enqueue(qs);break}i=g*Math.pow(2,32)+c.getUint32(4),r=3}else{if(ji(n)<i)break;const u=zi(n,i);l.enqueue(nl(o?u:rl.decode(u),t)),r=0}if(i===0||i>e){l.enqueue(qs);break}}}})}const Gc=4;function $(e){if(e)return ch(e)}function ch(e){for(var t in $.prototype)e[t]=$.prototype[t];return e}$.prototype.on=$.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},$.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},$.prototype.off=$.prototype.removeListener=$.prototype.removeAllListeners=$.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this},$.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},$.prototype.emitReserved=$.prototype.emit,$.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},$.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ci=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ae=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())(),dh="arraybuffer";function og(){}function $c(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const fh=Ae.setTimeout,ph=Ae.clearTimeout;function Li(e,t){t.useNativeTimers?(e.setTimeoutFn=fh.bind(Ae),e.clearTimeoutFn=ph.bind(Ae)):(e.setTimeoutFn=Ae.setTimeout.bind(Ae),e.clearTimeoutFn=Ae.clearTimeout.bind(Ae))}const hh=1.33;function gh(e){return typeof e=="string"?yh(e):Math.ceil((e.byteLength||e.size)*hh)}function yh(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function Jc(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Mh(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function mh(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class xh extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class il extends ${constructor(t){super(),this.writable=!1,Li(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new xh(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=nl(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=Mh(t);return n.length?"?"+n:""}}class wh extends il{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};lh(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,sh(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Jc()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let Xc=!1;try{Xc=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Ih=Xc;function Nh(){}class vh extends wh{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class He extends ${constructor(t,n,r){super(),this.createRequest=t,Li(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=$c(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=He.requestsCount++,He.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Nh,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete He.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}if(He.requestsCount=0,He.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Kc);else if(typeof addEventListener=="function"){const e="onpagehide"in Ae?"pagehide":"unload";addEventListener(e,Kc,!1)}}function Kc(){for(let e in He.requests)He.requests.hasOwnProperty(e)&&He.requests[e].abort()}const Th=function(){const e=qc({xdomain:!1});return e&&e.responseType!==null}();class Dh extends vh{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=Th&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new He(qc,this.uri(),t)}}function qc(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Ih))return new XMLHttpRequest}catch{}if(!t)try{return new Ae[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const ed=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Eh extends il{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=ed?{}:$c(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;el(r,this.supportsBinary,o=>{try{this.doWrite(r,o)}catch{}i&&Ci(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Jc()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const ol=Ae.WebSocket||Ae.MozWebSocket;class Sh extends Eh{createSocket(t,n,r){return ed?new ol(t,n,r):n?new ol(t,n):new ol(t)}doWrite(t,n){this.ws.send(n)}}class kh extends il{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=ah(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=uh();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const o=()=>{r.read().then(({done:l,value:u})=>{l||(this.onPacket(u),o())}).catch(l=>{})};o();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&Ci(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Ah={websocket:Sh,webtransport:kh,polling:Dh},jh=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,zh=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function sl(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=jh.exec(e||""),o={},s=14;for(;s--;)o[zh[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Ch(o,o.path),o.queryKey=Lh(o,o.query),o}function Ch(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Lh(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}const ll=typeof addEventListener=="function"&&typeof removeEventListener=="function",Oi=[];ll&&addEventListener("offline",()=>{Oi.forEach(e=>e())},!1);class Nt extends ${constructor(t,n){if(super(),this.binaryType=dh,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=sl(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=sl(n.host).host);Li(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=mh(this.opts.query)),ll&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Oi.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Gc,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Nt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Nt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=gh(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ci(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(Nt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),ll&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Oi.indexOf(this._offlineEventListener);r!==-1&&Oi.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Nt.protocol=Gc;class Oh extends Nt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;Nt.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Nt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(g(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=n.name,this.emitReserved("upgradeError",p)}}))};function o(){r||(r=!0,g(),n.close(),n=null)}const s=h=>{const p=new Error("probe error: "+h);p.transport=n.name,o(),this.emitReserved("upgradeError",p)};function l(){s("transport closed")}function u(){s("socket closed")}function c(h){n&&h.name!==n.name&&o()}const g=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",l),this.off("close",u),this.off("upgrading",c)};n.once("open",i),n.once("error",s),n.once("close",l),this.once("close",u),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let _h=class extends Oh{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>Ah[i]).filter(i=>!!i)),super(t,r)}};function Uh(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=sl(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const Qh=typeof ArrayBuffer=="function",Ph=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,td=Object.prototype.toString,Rh=typeof Blob=="function"||typeof Blob<"u"&&td.call(Blob)==="[object BlobConstructor]",bh=typeof File=="function"||typeof File<"u"&&td.call(File)==="[object FileConstructor]";function ul(e){return Qh&&(e instanceof ArrayBuffer||Ph(e))||Rh&&e instanceof Blob||bh&&e instanceof File}function _i(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(_i(e[n]))return!0;return!1}if(ul(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return _i(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&_i(e[n]))return!0;return!1}function Yh(e){const t=[],n=e.data,r=e;return r.data=al(n,t),r.attachments=t.length,{packet:r,buffers:t}}function al(e,t){if(!e)return e;if(ul(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=al(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=al(e[r],t));return n}return e}function Bh(e,t){return e.data=cl(e.data,t),delete e.attachments,e}function cl(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=cl(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=cl(e[n],t));return e}const Fh=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Vh=5;var L;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(L||(L={}));class Hh{constructor(t){this.replacer=t}encode(t){return(t.type===L.EVENT||t.type===L.ACK)&&_i(t)?this.encodeAsBinary({type:t.type===L.EVENT?L.BINARY_EVENT:L.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===L.BINARY_EVENT||t.type===L.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=Yh(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function nd(e){return Object.prototype.toString.call(e)==="[object Object]"}class dl extends ${constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===L.BINARY_EVENT;r||n.type===L.BINARY_ACK?(n.type=r?L.EVENT:L.ACK,this.reconstructor=new Wh(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(ul(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(L[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===L.BINARY_EVENT||r.type===L.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(dl.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case L.CONNECT:return nd(n);case L.DISCONNECT:return n===void 0;case L.CONNECT_ERROR:return typeof n=="string"||nd(n);case L.EVENT:case L.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Fh.indexOf(n[0])===-1);case L.ACK:case L.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Wh{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Bh(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Zh=Object.freeze(Object.defineProperty({__proto__:null,Decoder:dl,Encoder:Hh,get PacketType(){return L},protocol:Vh},Symbol.toStringTag,{value:"Module"}));function Qe(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Gh=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class rd extends ${constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Qe(t,"open",this.onopen.bind(this)),Qe(t,"packet",this.onpacket.bind(this)),Qe(t,"error",this.onerror.bind(this)),Qe(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,i,o;if(Gh.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:L.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const g=this.ids++,h=n.pop();this._registerAckCallback(g,h),s.id=g}const l=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,u=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!l||(u?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},i),s=(...l)=>{this.io.clearTimeoutFn(o),n.apply(this,l)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(s,l)=>s?i(s):r(l);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:L.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case L.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case L.EVENT:case L.BINARY_EVENT:this.onevent(t);break;case L.ACK:case L.BINARY_ACK:this.onack(t);break;case L.DISCONNECT:this.ondisconnect();break;case L.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:L.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:L.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function yn(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}yn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},yn.prototype.reset=function(){this.attempts=0},yn.prototype.setMin=function(e){this.ms=e},yn.prototype.setMax=function(e){this.max=e},yn.prototype.setJitter=function(e){this.jitter=e};class fl extends ${constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Li(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new yn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||Zh;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new _h(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Qe(n,"open",function(){r.onopen(),t&&t()}),o=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},s=Qe(n,"error",o);if(this._timeout!==!1){const l=this._timeout,u=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},l);this.opts.autoUnref&&u.unref(),this.subs.push(()=>{this.clearTimeoutFn(u)})}return this.subs.push(i),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Qe(t,"ping",this.onping.bind(this)),Qe(t,"data",this.ondata.bind(this)),Qe(t,"error",this.onerror.bind(this)),Qe(t,"close",this.onclose.bind(this)),Qe(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ci(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new rd(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const ur={};function Ui(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Uh(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=ur[i]&&o in ur[i].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let u;return l?u=new fl(r,t):(ur[i]||(ur[i]=new fl(r,t)),u=ur[i]),n.query&&!t.query&&(t.query=n.queryKey),u.socket(n.path,t)}Object.assign(Ui,{Manager:fl,Socket:rd,io:Ui,connect:Ui});class ar extends Error{}ar.prototype.name="InvalidTokenError";function $h(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Jh(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return $h(t)}catch{return atob(t)}}function Xh(e,t){if(typeof e!="string")throw new ar("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new ar(`Invalid token specified: missing part #${n+1}`);let i;try{i=Jh(r)}catch(o){throw new ar(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new ar(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}let Mn=null;const id=async e=>{var t,n,r,i,o,s,l,u,c,g,h;try{const p=Xh(e);let M=null;const w="https://test-assistant.hichat.com.ar/hi-assistant-test,https://assistant.hichat.com.ar/hi-assistant-prod,https://hichat.com.ar/hichathelpdesk-prod".split(","),x=p.appId||p.appID||p.appid;let k=w[0];if(x==="APP123"?k=w[0]:x==="HICHAT-PROD"&&(k=w[1]),"companyUuId"in p){const d=p.companyUuId,a=`${k}/chat-bubble-config/${d}`;console.log("🌐 Endpoint de configuración:",a);const y=await(await fetch(a,{headers:{Authorization:`Bearer ${e}`,"Content-Type":"application/json"}})).json();try{if(M=(t=y==null?void 0:y.data)==null?void 0:t.socket_url,!M)throw new Error("URL del socket no encontrada en la respuesta.");return{urlSocket:M,autoOpen:(n=y==null?void 0:y.data)==null?void 0:n.auto_open,autoMessage:(r=y==null?void 0:y.data)==null?void 0:r.auto_message,titleSvg:(i=y==null?void 0:y.data)==null?void 0:i.tittle_image,profileSvg:(o=y==null?void 0:y.data)==null?void 0:o.profile_image,floatSvg:(s=y==null?void 0:y.data)==null?void 0:s.float_image,titleOne:(l=y==null?void 0:y.data)==null?void 0:l.titleOne,titleTwo:(u=y==null?void 0:y.data)==null?void 0:u.titleTwo,isBoldTitleOne:(c=y==null?void 0:y.data)==null?void 0:c.isBoldTitleOne,isBoldTitleTwo:(g=y==null?void 0:y.data)==null?void 0:g.isBoldTitleTwo,colorBubble:(h=y==null?void 0:y.data)==null?void 0:h.colorBubble}}catch{throw console.error("❌ La respuesta no es JSON válido:",text),new Error("El backend devolvió una respuesta no válida.")}}else throw new Error("Token no válido: no se reconoce ni 'urlSocket' ni 'companyUuId'.")}catch(p){throw console.error("❌ Error al inicializar el socket:",p),p}},Kh=async e=>{try{const t=new URL(e),n=`${t.protocol}//${t.host}${t.pathname.replace(/\/socket\.\w+$/,"")}`,r=t.pathname.match(/\/(socket\.\w+)$/),i=r?`/${r[1]}`:null;if(!i)throw new Error("Path del socket no encontrado o inválido.");Mn=Ui(n,{path:i,transports:["websocket"],autoConnect:!0,reconnectionAttempts:3,reconnectionDelay:2e3}),Mn.on("connect",()=>{console.log("✅ Conectado al servidor con éxito.")}),Mn.on("disconnect",o=>{console.log("🔌 Desconectado del servidor:",o)}),Mn.on("reconnect_attempt",o=>{console.log(`🔁 Intento de reconexión automática #${o}`)}),Mn.on("reconnect",()=>{console.log("🔗 Reconexión automática exitosa al servidor.")}),window.socket=Mn}catch(t){throw console.error("❌ Error al inicializar el socket:",t),t}},qh=(e="conversationId")=>{const t=e==="conversationId"?"conversationTimestamp":"conversationTimestampBackoffice",n=localStorage.getItem(e),r=localStorage.getItem(t);if(n&&r){const o=parseInt(r,10),s=Date.now(),l=60*60*1e3;if(s-o<l)return n}const i=crypto.randomUUID();return localStorage.setItem(e,i),localStorage.setItem(t,Date.now().toString()),i},eg=(e,t=!1)=>{const n=t?"conversationIdBackoffice":"conversationId",r=t?"conversationTimestampBackoffice":"conversationTimestamp";localStorage.removeItem(n),localStorage.removeItem(r),console.log(`Conversación reiniciada (${t?"backoffice":"normal"})`);const i=crypto.randomUUID();return localStorage.setItem(n,i),localStorage.setItem(r,Date.now().toString()),window.socket&&window.socket.connected&&window.socket.emit("reconnect",{companyToken:e,conversationId:i}),i},tg=({urlSocket:e,companyToken:t,isChatOpen:n,onMessage:r,onConversation:i,backOfficeBubble:o})=>{const[s,l]=R.useState(!1),u=R.useRef(qh(o==="true"?"conversationIdBackoffice":"conversationId")),c=R.useRef(null),[g,h]=R.useState(!1);return R.useEffect(()=>{var a,f,y,v;if(!n||!e)return;const w=N=>{var T;(T=N.message)!=null&&T.includes("autenticación")&&h(!0),r({msg:(N==null?void 0:N.message)||"Ha ocurrido un error inesperado. Inténtelo más tarde."})};try{console.log("📡 Conectando socket..."),Kh(e)}catch(N){console.error("🔴 Error al conectar socket:",N.message),w(N);return}const x=()=>{var N;console.log("✅ Socket conectado."),h(!1),(N=window.socket)!=null&&N.connected&&window.socket.emit("reconnect",{companyToken:t,conversationId:u.current,origin:"web"})},k=N=>{clearTimeout(c.current),c.current=null;const T={msg:N.message,urlImage:N.urlImage||null};r(T)},d=N=>{var S;const T=((S=N==null?void 0:N.conversation)==null?void 0:S.messages)||[];i(T),l(!0)};return(a=window.socket)==null||a.on("connect",x),(f=window.socket)==null||f.on("response",k),(y=window.socket)==null||y.on("conversation",d),(v=window.socket)==null||v.on("error",w),()=>{var N,T,S,Y,j;console.log("📴 Desconectando socket..."),l(!1),(N=window.socket)==null||N.off("connect",x),(T=window.socket)==null||T.off("response",k),(S=window.socket)==null||S.off("conversation",d),(Y=window.socket)==null||Y.off("error",w),(j=window.socket)==null||j.disconnect(),window.socket=null}},[t,n]),{sendMessage:w=>{var x;if(!((x=window.socket)!=null&&x.connected)){r({msg:"No se pudo enviar el mensaje. El socket no está conectado."});return}window.socket.emit("message",{message:w,companyToken:t,conversationId:u.current,origin:"web"}),c.current=setTimeout(()=>{r({msg:"Estamos teniendo dificultades para responder. Por favor, inténtalo más tarde."})},6e4)},resetConversation:()=>{u.current=eg(t,o==="true")},idConversation:u.current,hasAuthError:g,isSocketConnected:s}},od={init:"hola, muy buenas, saludame de la mejor forma, no modifiques tu forma de responder, ignorar el resto del texto -invisible: true",reinit:"quiero que me respondas este mensaje con una bienvenida de vuelta y con un continuamos en donde lo dejamos, no modifiques tu froma de responder, ignorar el resto del texto -invisible: true"},sd=()=>{const[e,t]=R.useState(!1),[n,r]=R.useState([]),{companyToken:i,autoOpen:o,autoMessage:s,urlSocket:l,backOfficeBubble:u}=Qt(),{sendMessage:c,resetConversation:g,hasAuthError:h,isSocketConnected:p}=tg({companyToken:i,urlSocket:l,isChatOpen:e,backOfficeBubble:u,onMessage:x=>r(k=>{const d=k[k.length-1];return(d==null?void 0:d.text)===x.msg?k:[...k.filter(a=>!a.loading),{text:x.msg,userType:"assistant",loading:!1,...x.urlImage&&{images:x.urlImage}}]}),onConversation:x=>{const k=x.filter(d=>(d==null?void 0:d.content)&&!/-invisible:\s*true/.test(d==null?void 0:d.content)).map(d=>({userType:d.role,text:d.content}));r(k.slice(1))}});R.useEffect(()=>{o!=="false"?w():t(!1)},[o]),R.useEffect(()=>{const x=()=>{const k=n.length;return n[k-1].userType==="assistant"&&!n[k-1].loading&&n[k-2]===void 0||n[k-1].userType==="assistant"&&!n[k-1].loading&&n[k-2].userType==="user"};e&&i&&p&&s!=="false"&&(n.length===0?M(od.init,!0):x()&&n.length>=1&&M(od.reinit,!0))},[e,p]);const M=(x,k=!1)=>{r(d=>[...d,...k?[{text:"Cargando...",userType:"assistant",loading:!0}]:[{text:x,userType:"user",loading:!1},{text:"Cargando...",userType:"assistant",loading:!0}]]),c(x)},w=()=>{setTimeout(()=>{t(!0)},7e3)};return I.jsxs(I.Fragment,{children:[!e&&I.jsx(th,{onClick:()=>t(!0)}),e&&I.jsx(eh,{header:I.jsx(Hp,{closeChat:()=>t(!1),onResetChat:()=>{g(),r([])}}),mainChat:I.jsx(qp,{messages:n,onSendMessage:M,inputDisabled:h}),footer:I.jsx(Rp,{})})]})},sg="",ld=`@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Montserrat:wght@100;300;400;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Manrope,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-family:Manrope,sans-serif}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-\\[-600px\\]{bottom:-600px}.bottom-\\[86px\\]{bottom:86px}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[1px\\]{left:1px}.left-\\[2px\\]{left:2px}.left-full{left:100%}.right-0{right:0}.right-16{right:4rem}.right-\\[10px\\]{right:10px}.right-\\[20px\\]{right:20px}.right-\\[50px\\]{right:50px}.right-\\[5px\\]{right:5px}.top-0{top:0}.top-\\[-28px\\]{top:-28px}.top-\\[10px\\]{top:10px}.top-\\[138px\\]{top:138px}.top-\\[1px\\]{top:1px}.top-\\[20px\\]{top:20px}.top-\\[5px\\]{top:5px}.z-10{z-index:10}.z-\\[1000\\]{z-index:1000}.z-\\[2\\]{z-index:2}.z-\\[9998\\]{z-index:9998}.z-\\[9999\\]{z-index:9999}.m-0{margin:0}.m-\\[12px_auto\\]{margin:12px auto}.m-\\[18px\\]{margin:18px}.mx-\\[18px\\]{margin-left:18px;margin-right:18px}.mb-\\[4px\\]{margin-bottom:4px}.ml-\\[8px\\]{margin-left:8px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-\\[138px\\]{height:138px}.h-\\[17px\\]{height:17px}.h-\\[187px\\]{height:187px}.h-\\[18px\\]{height:18px}.h-\\[19px\\]{height:19px}.h-\\[24px\\]{height:24px}.h-\\[30px\\]{height:30px}.h-\\[361px\\]{height:361px}.h-\\[40px\\]{height:40px}.h-\\[422px\\]{height:422px}.h-\\[4px\\]{height:4px}.h-\\[50px\\]{height:50px}.h-\\[5px\\]{height:5px}.h-\\[60px\\]{height:60px}.h-\\[78px\\]{height:78px}.h-\\[calc\\(100vh-20px\\)\\]{height:calc(100vh - 20px)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[100px\\]{max-height:100px}.max-h-\\[105px\\]{max-height:105px}.max-h-\\[138px\\]{max-height:138px}.max-h-\\[140px\\]{max-height:140px}.max-h-\\[361px\\]{max-height:361px}.max-h-\\[422px\\]{max-height:422px}.max-h-\\[60px\\]{max-height:60px}.max-h-\\[620px\\]{max-height:620px}.max-h-\\[85vh\\]{max-height:85vh}.min-h-\\[61px\\]{min-height:61px}.w-\\[149px\\]{width:149px}.w-\\[150px\\]{width:150px}.w-\\[17px\\]{width:17px}.w-\\[19px\\]{width:19px}.w-\\[22px\\]{width:22px}.w-\\[24px\\]{width:24px}.w-\\[30px\\]{width:30px}.w-\\[50px\\]{width:50px}.w-\\[51px\\]{width:51px}.w-\\[5px\\]{width:5px}.w-\\[78px\\]{width:78px}.w-\\[80px\\]{width:80px}.w-\\[calc\\(100\\%-90px\\)\\]{width:calc(100% - 90px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-\\[220px\\]{max-width:220px}.max-w-\\[342px\\]{max-width:342px}.max-w-\\[416px\\]{max-width:416px}.max-w-\\[85vw\\]{max-width:85vw}.max-w-full{max-width:100%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-up-all{0%{bottom:-600px;opacity:0}to{bottom:5vh;opacity:1}}.animate-slide-up-all{animation:slide-up-all .4s cubic-bezier(.25,.1,.25,1) forwards}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\\[15px\\]{gap:15px}.gap-\\[2\\.64px\\]{gap:2.64px}.gap-\\[22px\\]{gap:22px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[18px\\]{border-radius:18px}.rounded-full{border-radius:9999px}.rounded-t-\\[18px\\]{border-top-left-radius:18px;border-top-right-radius:18px}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-tl-\\[10px\\]{border-top-left-radius:10px}.rounded-tr-\\[10px\\]{border-top-right-radius:10px}.border{border-width:1px}.border-0{border-width:0px}.border-none{border-style:none}.border-azulChatbot{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-\\[\\#e7e7e7\\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity, 1))}.bg-azulChatbot{--tw-bg-opacity: 1;background-color:rgb(20 70 255 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/70{background-color:#000000b3}.bg-grayChat{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-grayFooter{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-\\[17px_24px_17px_22px\\]{padding:17px 24px 17px 22px}.p-\\[20px\\]{padding:20px}.p-\\[30px\\]{padding:30px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-\\[5px\\]{padding-top:5px}.text-center{text-align:center}.text-start{text-align:start}.font-\\[Manrope\\]{font-family:Manrope}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-\\[100\\%\\]{line-height:100%}.leading-\\[111\\%\\]{line-height:111%}.leading-\\[20px\\]{line-height:20px}.leading-\\[22px\\]{line-height:22px}.leading-normal{line-height:1.5}.tracking-\\[0\\.2px\\]{letter-spacing:.2px}.text-\\[\\#FAFAFA\\]{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-\\[\\#bdbdbd\\]{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity, 1))}.text-azulChatbot{--tw-text-opacity: 1;color:rgb(20 70 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blackAyelen{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}.text-gray3{--tw-text-opacity: 1;color:rgb(130 130 130 / var(--tw-text-opacity, 1))}.text-grayFooter{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_2px_2px_0px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow: 0px 2px 2px 0px rgba(0,0,0,.1);--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[1px_3px_20px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 1px 3px 20px rgba(0,0,0,.2);--tw-shadow-colored: 1px 3px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[2px_3px_22px_rgba\\(255\\,255\\,255\\,0\\.2\\)\\]{--tw-shadow: 2px 3px 22px rgba(255,255,255,.2);--tw-shadow-colored: 2px 3px 22px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[8px_0_var\\(--bubble-color\\)\\,-8px_0_var\\(--bubble-color\\)\\]{--tw-shadow: 8px 0 var(--bubble-color),-8px 0 var(--bubble-color);--tw-shadow-colored: 8px 0 var(--tw-shadow-color), -8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-questionMark{--tw-shadow: 1px 3px 6px 0px rgba(0, 0, 0, .2);--tw-shadow-colored: 1px 3px 6px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:opacity-100:hover{opacity:1}.focus\\:border-azulChatbot:focus{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}@media (max-width: 1370px){@keyframes slide-up-xl{0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}}.max-\\[1370px\\]\\:animate-slide-up-xl{animation:slide-up-xl .4s cubic-bezier(.25,.1,.25,1) forwards}}@media not all and (min-width: 640px){.max-sm\\:bottom-\\[74px\\]{bottom:74px}.max-sm\\:right-0{right:0}.max-sm\\:right-4{right:1rem}.max-sm\\:rounded-\\[8px\\]{border-radius:8px}.max-sm\\:px-\\[10px\\]{padding-left:10px;padding-right:10px}}
|
|
50
|
+
ease-in-out select-none rigth-12`,style:{backgroundColor:r,...l},onClick:e,children:I.jsx("img",{src:o,alt:"Abrir chat",className:"w-[38px] h-[38px] object-contain"})})},Ve=Object.create(null);Ve.open="0",Ve.close="1",Ve.ping="2",Ve.pong="3",Ve.message="4",Ve.upgrade="5",Ve.noop="6";const Ai=Object.create(null);Object.keys(Ve).forEach(e=>{Ai[Ve[e]]=e});const qs={type:"error",data:"parser error"},bc=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Yc=typeof ArrayBuffer=="function",Bc=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,el=({type:e,data:t},n,r)=>bc&&t instanceof Blob?n?r(t):Fc(t,r):Yc&&(t instanceof ArrayBuffer||Bc(t))?n?r(t):Fc(new Blob([t]),r):r(Ve[e]+(t||"")),Fc=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Vc(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let tl;function nh(e,t){if(bc&&e.data instanceof Blob)return e.data.arrayBuffer().then(Vc).then(t);if(Yc&&(e.data instanceof ArrayBuffer||Bc(e.data)))return t(Vc(e.data));el(e,!1,n=>{tl||(tl=new TextEncoder),t(tl.encode(n))})}const Hc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Hc.length;e++)lr[Hc.charCodeAt(e)]=e;const rh=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,l,u;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),g=new Uint8Array(c);for(r=0;r<n;r+=4)o=lr[e.charCodeAt(r)],s=lr[e.charCodeAt(r+1)],l=lr[e.charCodeAt(r+2)],u=lr[e.charCodeAt(r+3)],g[i++]=o<<2|s>>4,g[i++]=(s&15)<<4|l>>2,g[i++]=(l&3)<<6|u&63;return c},ih=typeof ArrayBuffer=="function",nl=(e,t)=>{if(typeof e!="string")return{type:"message",data:Wc(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:oh(e.substring(1),t)}:Ai[n]?e.length>1?{type:Ai[n],data:e.substring(1)}:{type:Ai[n]}:qs},oh=(e,t)=>{if(ih){const n=rh(e);return Wc(n,t)}else return{base64:!0,data:e}},Wc=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Zc=String.fromCharCode(30),sh=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{el(o,!1,l=>{r[s]=l,++i===n&&t(r.join(Zc))})})},lh=(e,t)=>{const n=e.split(Zc),r=[];for(let i=0;i<n.length;i++){const o=nl(n[i],t);if(r.push(o),o.type==="error")break}return r};function uh(){return new TransformStream({transform(e,t){nh(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let rl;function ji(e){return e.reduce((t,n)=>t+n.length,0)}function zi(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function ah(e,t){rl||(rl=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(r===0){if(ji(n)<1)break;const u=zi(n,1);o=(u[0]&128)===128,i=u[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(ji(n)<2)break;const u=zi(n,2);i=new DataView(u.buffer,u.byteOffset,u.length).getUint16(0),r=3}else if(r===2){if(ji(n)<8)break;const u=zi(n,8),c=new DataView(u.buffer,u.byteOffset,u.length),g=c.getUint32(0);if(g>Math.pow(2,53-32)-1){l.enqueue(qs);break}i=g*Math.pow(2,32)+c.getUint32(4),r=3}else{if(ji(n)<i)break;const u=zi(n,i);l.enqueue(nl(o?u:rl.decode(u),t)),r=0}if(i===0||i>e){l.enqueue(qs);break}}}})}const Gc=4;function $(e){if(e)return ch(e)}function ch(e){for(var t in $.prototype)e[t]=$.prototype[t];return e}$.prototype.on=$.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},$.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},$.prototype.off=$.prototype.removeListener=$.prototype.removeAllListeners=$.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this},$.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},$.prototype.emitReserved=$.prototype.emit,$.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},$.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ci=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Ae=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())(),dh="arraybuffer";function og(){}function $c(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const fh=Ae.setTimeout,ph=Ae.clearTimeout;function Li(e,t){t.useNativeTimers?(e.setTimeoutFn=fh.bind(Ae),e.clearTimeoutFn=ph.bind(Ae)):(e.setTimeoutFn=Ae.setTimeout.bind(Ae),e.clearTimeoutFn=Ae.clearTimeout.bind(Ae))}const hh=1.33;function gh(e){return typeof e=="string"?yh(e):Math.ceil((e.byteLength||e.size)*hh)}function yh(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function Jc(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Mh(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function mh(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class xh extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class il extends ${constructor(t){super(),this.writable=!1,Li(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new xh(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=nl(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=Mh(t);return n.length?"?"+n:""}}class wh extends il{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};lh(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,sh(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Jc()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let Xc=!1;try{Xc=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Ih=Xc;function Nh(){}class vh extends wh{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class He extends ${constructor(t,n,r){super(),this.createRequest=t,Li(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=$c(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=He.requestsCount++,He.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Nh,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete He.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}if(He.requestsCount=0,He.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Kc);else if(typeof addEventListener=="function"){const e="onpagehide"in Ae?"pagehide":"unload";addEventListener(e,Kc,!1)}}function Kc(){for(let e in He.requests)He.requests.hasOwnProperty(e)&&He.requests[e].abort()}const Th=function(){const e=qc({xdomain:!1});return e&&e.responseType!==null}();class Dh extends vh{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=Th&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new He(qc,this.uri(),t)}}function qc(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Ih))return new XMLHttpRequest}catch{}if(!t)try{return new Ae[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const ed=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Eh extends il{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=ed?{}:$c(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;el(r,this.supportsBinary,o=>{try{this.doWrite(r,o)}catch{}i&&Ci(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Jc()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const ol=Ae.WebSocket||Ae.MozWebSocket;class Sh extends Eh{createSocket(t,n,r){return ed?new ol(t,n,r):n?new ol(t,n):new ol(t)}doWrite(t,n){this.ws.send(n)}}class kh extends il{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=ah(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=uh();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const o=()=>{r.read().then(({done:l,value:u})=>{l||(this.onPacket(u),o())}).catch(l=>{})};o();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&Ci(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Ah={websocket:Sh,webtransport:kh,polling:Dh},jh=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,zh=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function sl(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=jh.exec(e||""),o={},s=14;for(;s--;)o[zh[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Ch(o,o.path),o.queryKey=Lh(o,o.query),o}function Ch(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Lh(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}const ll=typeof addEventListener=="function"&&typeof removeEventListener=="function",Oi=[];ll&&addEventListener("offline",()=>{Oi.forEach(e=>e())},!1);class Nt extends ${constructor(t,n){if(super(),this.binaryType=dh,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=sl(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=sl(n.host).host);Li(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=mh(this.opts.query)),ll&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Oi.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Gc,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Nt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Nt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=gh(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ci(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(Nt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),ll&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Oi.indexOf(this._offlineEventListener);r!==-1&&Oi.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Nt.protocol=Gc;class Oh extends Nt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;Nt.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Nt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(g(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=n.name,this.emitReserved("upgradeError",p)}}))};function o(){r||(r=!0,g(),n.close(),n=null)}const s=h=>{const p=new Error("probe error: "+h);p.transport=n.name,o(),this.emitReserved("upgradeError",p)};function l(){s("transport closed")}function u(){s("socket closed")}function c(h){n&&h.name!==n.name&&o()}const g=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",l),this.off("close",u),this.off("upgrading",c)};n.once("open",i),n.once("error",s),n.once("close",l),this.once("close",u),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let _h=class extends Oh{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>Ah[i]).filter(i=>!!i)),super(t,r)}};function Uh(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=sl(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const Qh=typeof ArrayBuffer=="function",Ph=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,td=Object.prototype.toString,Rh=typeof Blob=="function"||typeof Blob<"u"&&td.call(Blob)==="[object BlobConstructor]",bh=typeof File=="function"||typeof File<"u"&&td.call(File)==="[object FileConstructor]";function ul(e){return Qh&&(e instanceof ArrayBuffer||Ph(e))||Rh&&e instanceof Blob||bh&&e instanceof File}function _i(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(_i(e[n]))return!0;return!1}if(ul(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return _i(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&_i(e[n]))return!0;return!1}function Yh(e){const t=[],n=e.data,r=e;return r.data=al(n,t),r.attachments=t.length,{packet:r,buffers:t}}function al(e,t){if(!e)return e;if(ul(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=al(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=al(e[r],t));return n}return e}function Bh(e,t){return e.data=cl(e.data,t),delete e.attachments,e}function cl(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=cl(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=cl(e[n],t));return e}const Fh=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Vh=5;var L;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(L||(L={}));class Hh{constructor(t){this.replacer=t}encode(t){return(t.type===L.EVENT||t.type===L.ACK)&&_i(t)?this.encodeAsBinary({type:t.type===L.EVENT?L.BINARY_EVENT:L.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===L.BINARY_EVENT||t.type===L.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=Yh(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function nd(e){return Object.prototype.toString.call(e)==="[object Object]"}class dl extends ${constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===L.BINARY_EVENT;r||n.type===L.BINARY_ACK?(n.type=r?L.EVENT:L.ACK,this.reconstructor=new Wh(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(ul(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(L[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===L.BINARY_EVENT||r.type===L.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(dl.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case L.CONNECT:return nd(n);case L.DISCONNECT:return n===void 0;case L.CONNECT_ERROR:return typeof n=="string"||nd(n);case L.EVENT:case L.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Fh.indexOf(n[0])===-1);case L.ACK:case L.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Wh{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Bh(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Zh=Object.freeze(Object.defineProperty({__proto__:null,Decoder:dl,Encoder:Hh,get PacketType(){return L},protocol:Vh},Symbol.toStringTag,{value:"Module"}));function Qe(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Gh=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class rd extends ${constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Qe(t,"open",this.onopen.bind(this)),Qe(t,"packet",this.onpacket.bind(this)),Qe(t,"error",this.onerror.bind(this)),Qe(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,i,o;if(Gh.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:L.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const g=this.ids++,h=n.pop();this._registerAckCallback(g,h),s.id=g}const l=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,u=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!l||(u?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},i),s=(...l)=>{this.io.clearTimeoutFn(o),n.apply(this,l)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(s,l)=>s?i(s):r(l);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:L.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case L.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case L.EVENT:case L.BINARY_EVENT:this.onevent(t);break;case L.ACK:case L.BINARY_ACK:this.onack(t);break;case L.DISCONNECT:this.ondisconnect();break;case L.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:L.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:L.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function yn(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}yn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},yn.prototype.reset=function(){this.attempts=0},yn.prototype.setMin=function(e){this.ms=e},yn.prototype.setMax=function(e){this.max=e},yn.prototype.setJitter=function(e){this.jitter=e};class fl extends ${constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Li(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new yn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||Zh;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new _h(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Qe(n,"open",function(){r.onopen(),t&&t()}),o=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},s=Qe(n,"error",o);if(this._timeout!==!1){const l=this._timeout,u=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},l);this.opts.autoUnref&&u.unref(),this.subs.push(()=>{this.clearTimeoutFn(u)})}return this.subs.push(i),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Qe(t,"ping",this.onping.bind(this)),Qe(t,"data",this.ondata.bind(this)),Qe(t,"error",this.onerror.bind(this)),Qe(t,"close",this.onclose.bind(this)),Qe(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ci(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new rd(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const ur={};function Ui(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Uh(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=ur[i]&&o in ur[i].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let u;return l?u=new fl(r,t):(ur[i]||(ur[i]=new fl(r,t)),u=ur[i]),n.query&&!t.query&&(t.query=n.queryKey),u.socket(n.path,t)}Object.assign(Ui,{Manager:fl,Socket:rd,io:Ui,connect:Ui});class ar extends Error{}ar.prototype.name="InvalidTokenError";function $h(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Jh(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return $h(t)}catch{return atob(t)}}function Xh(e,t){if(typeof e!="string")throw new ar("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new ar(`Invalid token specified: missing part #${n+1}`);let i;try{i=Jh(r)}catch(o){throw new ar(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new ar(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}let Mn=null;const id=async e=>{var t,n,r,i,o,s,l,u,c,g,h;try{const p=Xh(e);let M=null;const w="https://test-assistant.hichat.com.ar/hi-assistant-test,https://assistant.hichat.com.ar/hi-assistant-prod,https://hichat.com.ar/hichathelpdesk-prod".split(","),x=p.appId||p.appID||p.appid;let k=w[0];if(x==="APP123"?k=w[0]:x==="HICHAT-PROD"&&(k=w[1]),"companyUuId"in p){const d=p.companyUuId,a=`${k}/chat-bubble-config/${d}`;console.log("🌐 Endpoint de configuración:",a);const y=await(await fetch(a,{headers:{Authorization:`Bearer ${e}`,"Content-Type":"application/json"}})).json();try{if(M=(t=y==null?void 0:y.data)==null?void 0:t.socket_url,!M)throw new Error("URL del socket no encontrada en la respuesta.");return{urlSocket:M,autoOpen:(n=y==null?void 0:y.data)==null?void 0:n.auto_open,autoMessage:(r=y==null?void 0:y.data)==null?void 0:r.auto_message,titleSvg:(i=y==null?void 0:y.data)==null?void 0:i.tittle_image,profileSvg:(o=y==null?void 0:y.data)==null?void 0:o.profile_image,floatSvg:(s=y==null?void 0:y.data)==null?void 0:s.float_image,titleOne:(l=y==null?void 0:y.data)==null?void 0:l.titleOne,titleTwo:(u=y==null?void 0:y.data)==null?void 0:u.titleTwo,isBoldTitleOne:(c=y==null?void 0:y.data)==null?void 0:c.isBoldTitleOne,isBoldTitleTwo:(g=y==null?void 0:y.data)==null?void 0:g.isBoldTitleTwo,colorBubble:(h=y==null?void 0:y.data)==null?void 0:h.colorBubble}}catch{throw console.error("❌ La respuesta no es JSON válido:",text),new Error("El backend devolvió una respuesta no válida.")}}else throw new Error("Token no válido: no se reconoce ni 'urlSocket' ni 'companyUuId'.")}catch(p){throw console.error("❌ Error al inicializar el socket:",p),p}},Kh=async e=>{try{const t=new URL(e),n=`${t.protocol}//${t.host}${t.pathname.replace(/\/socket\.\w+$/,"")}`,r=t.pathname.match(/\/(socket\.\w+)$/),i=r?`/${r[1]}`:null;if(!i)throw new Error("Path del socket no encontrado o inválido.");Mn=Ui(n,{path:i,transports:["websocket"],autoConnect:!0,reconnectionAttempts:3,reconnectionDelay:2e3}),Mn.on("connect",()=>{console.log("✅ Conectado al servidor con éxito.")}),Mn.on("disconnect",o=>{console.log("🔌 Desconectado del servidor:",o)}),Mn.on("reconnect_attempt",o=>{console.log(`🔁 Intento de reconexión automática #${o}`)}),Mn.on("reconnect",()=>{console.log("🔗 Reconexión automática exitosa al servidor.")}),window.socket=Mn}catch(t){throw console.error("❌ Error al inicializar el socket:",t),t}},qh=(e="conversationId")=>{const t=e==="conversationId"?"conversationTimestamp":"conversationTimestampBackoffice",n=localStorage.getItem(e),r=localStorage.getItem(t);if(n&&r){const o=parseInt(r,10),s=Date.now(),l=60*60*1e3;if(s-o<l)return n}const i=crypto.randomUUID();return localStorage.setItem(e,i),localStorage.setItem(t,Date.now().toString()),i},eg=(e,t=!1)=>{const n=t?"conversationIdBackoffice":"conversationId",r=t?"conversationTimestampBackoffice":"conversationTimestamp";localStorage.removeItem(n),localStorage.removeItem(r),console.log(`Conversación reiniciada (${t?"backoffice":"normal"})`);const i=crypto.randomUUID();return localStorage.setItem(n,i),localStorage.setItem(r,Date.now().toString()),window.socket&&window.socket.connected&&window.socket.emit("reconnect",{companyToken:e,conversationId:i}),i},tg=({urlSocket:e,companyToken:t,isChatOpen:n,onMessage:r,onConversation:i,backOfficeBubble:o})=>{const[s,l]=R.useState(!1),u=R.useRef(qh(o==="true"?"conversationIdBackoffice":"conversationId")),c=R.useRef(null),[g,h]=R.useState(!1);return R.useEffect(()=>{var a,f,y,v;if(!n||!e)return;const w=N=>{var T;(T=N.message)!=null&&T.includes("autenticación")&&h(!0),r({msg:(N==null?void 0:N.message)||"Ha ocurrido un error inesperado. Inténtelo más tarde."})};try{console.log("📡 Conectando socket..."),Kh(e)}catch(N){console.error("🔴 Error al conectar socket:",N.message),w(N);return}const x=()=>{var N;console.log("✅ Socket conectado."),h(!1),(N=window.socket)!=null&&N.connected&&window.socket.emit("reconnect",{companyToken:t,conversationId:u.current,origin:"web"})},k=N=>{clearTimeout(c.current),c.current=null;const T={msg:N.message,urlImage:N.urlImage||null};r(T)},d=N=>{var S;const T=((S=N==null?void 0:N.conversation)==null?void 0:S.messages)||[];i(T),l(!0)};return(a=window.socket)==null||a.on("connect",x),(f=window.socket)==null||f.on("response",k),(y=window.socket)==null||y.on("conversation",d),(v=window.socket)==null||v.on("error",w),()=>{var N,T,S,Y,j;console.log("📴 Desconectando socket..."),l(!1),(N=window.socket)==null||N.off("connect",x),(T=window.socket)==null||T.off("response",k),(S=window.socket)==null||S.off("conversation",d),(Y=window.socket)==null||Y.off("error",w),(j=window.socket)==null||j.disconnect(),window.socket=null}},[t,n]),{sendMessage:w=>{var x;if(!((x=window.socket)!=null&&x.connected)){r({msg:"No se pudo enviar el mensaje. El socket no está conectado."});return}window.socket.emit("message",{message:w,companyToken:t,conversationId:u.current,origin:"web"}),c.current=setTimeout(()=>{r({msg:"Estamos teniendo dificultades para responder. Por favor, inténtalo más tarde."})},6e4)},resetConversation:()=>{u.current=eg(t,o==="true")},idConversation:u.current,hasAuthError:g,isSocketConnected:s}},od={init:"hola, muy buenas, saludame de la mejor forma, no modifiques tu forma de responder, ignorar el resto del texto -invisible: true",reinit:"quiero que me respondas este mensaje con una bienvenida de vuelta y con un continuamos en donde lo dejamos, no modifiques tu froma de responder, ignorar el resto del texto -invisible: true"},sd=()=>{const[e,t]=R.useState(!1),[n,r]=R.useState([]),{companyToken:i,autoOpen:o,autoMessage:s,urlSocket:l,backOfficeBubble:u}=Qt(),{sendMessage:c,resetConversation:g,hasAuthError:h,isSocketConnected:p}=tg({companyToken:i,urlSocket:l,isChatOpen:e,backOfficeBubble:u,onMessage:x=>r(k=>{const d=k[k.length-1];return(d==null?void 0:d.text)===x.msg?k:[...k.filter(a=>!a.loading),{text:x.msg,userType:"assistant",loading:!1,...x.urlImage&&{images:x.urlImage}}]}),onConversation:x=>{const k=x.filter(d=>(d==null?void 0:d.content)&&!/-invisible:\s*true/.test(d==null?void 0:d.content)).map(d=>({userType:d.role,text:d.content}));r(k.slice(1))}});R.useEffect(()=>{o!=="false"?w():t(!1)},[o]),R.useEffect(()=>{const x=()=>{const k=n.length;return n[k-1].userType==="assistant"&&!n[k-1].loading&&n[k-2]===void 0||n[k-1].userType==="assistant"&&!n[k-1].loading&&n[k-2].userType==="user"};e&&i&&p&&s!=="false"&&(n.length===0?M(od.init,!0):x()&&n.length>=1&&M(od.reinit,!0))},[e,p]);const M=(x,k=!1)=>{r(d=>[...d,...k?[{text:"Cargando...",userType:"assistant",loading:!0}]:[{text:x,userType:"user",loading:!1},{text:"Cargando...",userType:"assistant",loading:!0}]]),c(x)},w=()=>{setTimeout(()=>{t(!0)},7e3)};return I.jsxs(I.Fragment,{children:[!e&&I.jsx(th,{onClick:()=>t(!0)}),e&&I.jsx(eh,{header:I.jsx(Hp,{closeChat:()=>t(!1),onResetChat:()=>{g(),r([])}}),mainChat:I.jsx(qp,{messages:n,onSendMessage:M,inputDisabled:h}),footer:I.jsx(Rp,{})})]})},sg="",ld=`@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Montserrat:wght@100;300;400;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Manrope,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-family:Manrope,sans-serif}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-\\[-600px\\]{bottom:-600px}.bottom-\\[86px\\]{bottom:86px}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[1px\\]{left:1px}.left-\\[2px\\]{left:2px}.left-full{left:100%}.right-0{right:0}.right-16{right:4rem}.right-\\[10px\\]{right:10px}.right-\\[20px\\]{right:20px}.right-\\[50px\\]{right:50px}.right-\\[5px\\]{right:5px}.top-0{top:0}.top-\\[-28px\\]{top:-28px}.top-\\[10px\\]{top:10px}.top-\\[138px\\]{top:138px}.top-\\[1px\\]{top:1px}.top-\\[20px\\]{top:20px}.top-\\[5px\\]{top:5px}.z-10{z-index:10}.z-\\[1000\\]{z-index:1000}.z-\\[2\\]{z-index:2}.z-\\[9998\\]{z-index:9998}.z-\\[9999\\]{z-index:9999}.m-0{margin:0}.m-\\[12px_auto\\]{margin:12px auto}.m-\\[18px\\]{margin:18px}.mx-\\[18px\\]{margin-left:18px;margin-right:18px}.mb-\\[4px\\]{margin-bottom:4px}.ml-\\[8px\\]{margin-left:8px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-\\[138px\\]{height:138px}.h-\\[17px\\]{height:17px}.h-\\[187px\\]{height:187px}.h-\\[18px\\]{height:18px}.h-\\[19px\\]{height:19px}.h-\\[24px\\]{height:24px}.h-\\[30px\\]{height:30px}.h-\\[361px\\]{height:361px}.h-\\[38px\\]{height:38px}.h-\\[40px\\]{height:40px}.h-\\[422px\\]{height:422px}.h-\\[4px\\]{height:4px}.h-\\[50px\\]{height:50px}.h-\\[5px\\]{height:5px}.h-\\[60px\\]{height:60px}.h-\\[64px\\]{height:64px}.h-\\[78px\\]{height:78px}.h-\\[calc\\(100vh-20px\\)\\]{height:calc(100vh - 20px)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[100px\\]{max-height:100px}.max-h-\\[105px\\]{max-height:105px}.max-h-\\[138px\\]{max-height:138px}.max-h-\\[140px\\]{max-height:140px}.max-h-\\[361px\\]{max-height:361px}.max-h-\\[422px\\]{max-height:422px}.max-h-\\[60px\\]{max-height:60px}.max-h-\\[620px\\]{max-height:620px}.max-h-\\[85vh\\]{max-height:85vh}.min-h-\\[61px\\]{min-height:61px}.w-\\[149px\\]{width:149px}.w-\\[150px\\]{width:150px}.w-\\[17px\\]{width:17px}.w-\\[19px\\]{width:19px}.w-\\[22px\\]{width:22px}.w-\\[24px\\]{width:24px}.w-\\[30px\\]{width:30px}.w-\\[38px\\]{width:38px}.w-\\[50px\\]{width:50px}.w-\\[5px\\]{width:5px}.w-\\[64px\\]{width:64px}.w-\\[78px\\]{width:78px}.w-\\[80px\\]{width:80px}.w-\\[calc\\(100\\%-90px\\)\\]{width:calc(100% - 90px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-\\[220px\\]{max-width:220px}.max-w-\\[342px\\]{max-width:342px}.max-w-\\[416px\\]{max-width:416px}.max-w-\\[85vw\\]{max-width:85vw}.max-w-full{max-width:100%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-up-all{0%{bottom:-600px;opacity:0}to{bottom:5vh;opacity:1}}.animate-slide-up-all{animation:slide-up-all .4s cubic-bezier(.25,.1,.25,1) forwards}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\\[15px\\]{gap:15px}.gap-\\[2\\.64px\\]{gap:2.64px}.gap-\\[22px\\]{gap:22px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[18px\\]{border-radius:18px}.rounded-full{border-radius:9999px}.rounded-t-\\[18px\\]{border-top-left-radius:18px;border-top-right-radius:18px}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-tl-\\[10px\\]{border-top-left-radius:10px}.rounded-tr-\\[10px\\]{border-top-right-radius:10px}.border{border-width:1px}.border-0{border-width:0px}.border-none{border-style:none}.border-azulChatbot{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-\\[\\#e7e7e7\\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity, 1))}.bg-azulChatbot{--tw-bg-opacity: 1;background-color:rgb(20 70 255 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/70{background-color:#000000b3}.bg-grayChat{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-grayFooter{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-\\[17px_24px_17px_22px\\]{padding:17px 24px 17px 22px}.p-\\[20px\\]{padding:20px}.p-\\[30px\\]{padding:30px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-\\[5px\\]{padding-top:5px}.text-center{text-align:center}.text-start{text-align:start}.font-\\[Manrope\\]{font-family:Manrope}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-\\[100\\%\\]{line-height:100%}.leading-\\[111\\%\\]{line-height:111%}.leading-\\[20px\\]{line-height:20px}.leading-\\[22px\\]{line-height:22px}.leading-normal{line-height:1.5}.tracking-\\[0\\.2px\\]{letter-spacing:.2px}.text-\\[\\#FAFAFA\\]{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-\\[\\#bdbdbd\\]{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity, 1))}.text-azulChatbot{--tw-text-opacity: 1;color:rgb(20 70 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blackAyelen{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}.text-gray3{--tw-text-opacity: 1;color:rgb(130 130 130 / var(--tw-text-opacity, 1))}.text-grayFooter{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_2px_2px_0px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow: 0px 2px 2px 0px rgba(0,0,0,.1);--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[1px_3px_20px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 1px 3px 20px rgba(0,0,0,.2);--tw-shadow-colored: 1px 3px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[2px_3px_22px_rgba\\(255\\,255\\,255\\,0\\.2\\)\\]{--tw-shadow: 2px 3px 22px rgba(255,255,255,.2);--tw-shadow-colored: 2px 3px 22px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[8px_0_var\\(--bubble-color\\)\\,-8px_0_var\\(--bubble-color\\)\\]{--tw-shadow: 8px 0 var(--bubble-color),-8px 0 var(--bubble-color);--tw-shadow-colored: 8px 0 var(--tw-shadow-color), -8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-questionMark{--tw-shadow: 1px 3px 6px 0px rgba(0, 0, 0, .2);--tw-shadow-colored: 1px 3px 6px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:opacity-100:hover{opacity:1}.focus\\:border-azulChatbot:focus{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}@media (max-width: 1370px){@keyframes slide-up-xl{0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}}.max-\\[1370px\\]\\:animate-slide-up-xl{animation:slide-up-xl .4s cubic-bezier(.25,.1,.25,1) forwards}}@media not all and (min-width: 640px){.max-sm\\:bottom-\\[74px\\]{bottom:74px}.max-sm\\:right-0{right:0}.max-sm\\:right-4{right:1rem}.max-sm\\:rounded-\\[8px\\]{border-radius:8px}.max-sm\\:px-\\[10px\\]{padding-left:10px;padding-right:10px}}
|
|
51
51
|
`;(()=>{if(!document.querySelector("link[href*='fonts.googleapis.com/css2?family=Montserrat']")){const t=document.createElement("link");t.rel="stylesheet",t.href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&family=Manrope:wght@400;500;600;700&display=swap",document.head.appendChild(t),console.log("✅ Google Fonts inyectadas en <head>")}})();class ng extends HTMLElement{async connectedCallback(){console.log("Connected:",this.tagName);const t=this.attachShadow({mode:"open"}),n=document.createElement("style");n.textContent=ld,t.appendChild(n);const r=document.createElement("div");t.appendChild(r);const i=this.getAttribute("companytoken")||"",s={...await id(i),companyToken:i,backOfficeBubble:this.getAttribute("backOfficeBubble")||""};yr.createRoot(r).render(I.jsx(Al.StrictMode,{children:I.jsx(Ks.Provider,{value:s,children:I.jsx(sd,{})})}))}}class rg extends HTMLElement{async connectedCallback(){console.log("Connected Backoffice:",this.tagName);const t=this.attachShadow({mode:"open"}),n=document.createElement("style");n.textContent=ld,t.appendChild(n);const r=document.createElement("div");t.appendChild(r);const i=this.getAttribute("companytoken")||"",s={...await id(i),companyToken:i,backOfficeBubble:"true"};yr.createRoot(r).render(I.jsx(Al.StrictMode,{children:I.jsx(Ks.Provider,{value:s,children:I.jsx(sd,{})})}))}}customElements.define("hifenix-chatbot",ng),customElements.define("hifenix-chatbot-backoffice",rg)})();
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Montserrat:wght@100;300;400;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Manrope,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-family:Manrope,sans-serif}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-\[-600px\]{bottom:-600px}.bottom-\[86px\]{bottom:86px}.left-0{left:0}.left-1\/2{left:50%}.left-\[1px\]{left:1px}.left-\[2px\]{left:2px}.left-full{left:100%}.right-0{right:0}.right-16{right:4rem}.right-\[10px\]{right:10px}.right-\[20px\]{right:20px}.right-\[50px\]{right:50px}.right-\[5px\]{right:5px}.top-0{top:0}.top-\[-28px\]{top:-28px}.top-\[10px\]{top:10px}.top-\[138px\]{top:138px}.top-\[1px\]{top:1px}.top-\[20px\]{top:20px}.top-\[5px\]{top:5px}.z-10{z-index:10}.z-\[1000\]{z-index:1000}.z-\[2\]{z-index:2}.z-\[9998\]{z-index:9998}.z-\[9999\]{z-index:9999}.m-0{margin:0}.m-\[12px_auto\]{margin:12px auto}.m-\[18px\]{margin:18px}.mx-\[18px\]{margin-left:18px;margin-right:18px}.mb-\[4px\]{margin-bottom:4px}.ml-\[8px\]{margin-left:8px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-\[138px\]{height:138px}.h-\[17px\]{height:17px}.h-\[187px\]{height:187px}.h-\[18px\]{height:18px}.h-\[19px\]{height:19px}.h-\[24px\]{height:24px}.h-\[30px\]{height:30px}.h-\[361px\]{height:361px}.h-\[40px\]{height:40px}.h-\[422px\]{height:422px}.h-\[4px\]{height:4px}.h-\[50px\]{height:50px}.h-\[5px\]{height:5px}.h-\[60px\]{height:60px}.h-\[78px\]{height:78px}.h-\[calc\(100vh-20px\)\]{height:calc(100vh - 20px)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[100px\]{max-height:100px}.max-h-\[105px\]{max-height:105px}.max-h-\[138px\]{max-height:138px}.max-h-\[140px\]{max-height:140px}.max-h-\[361px\]{max-height:361px}.max-h-\[422px\]{max-height:422px}.max-h-\[60px\]{max-height:60px}.max-h-\[620px\]{max-height:620px}.max-h-\[85vh\]{max-height:85vh}.min-h-\[61px\]{min-height:61px}.w-\[149px\]{width:149px}.w-\[150px\]{width:150px}.w-\[17px\]{width:17px}.w-\[19px\]{width:19px}.w-\[22px\]{width:22px}.w-\[24px\]{width:24px}.w-\[30px\]{width:30px}.w-\[50px\]{width:50px}.w-\[51px\]{width:51px}.w-\[5px\]{width:5px}.w-\[78px\]{width:78px}.w-\[80px\]{width:80px}.w-\[calc\(100\%-90px\)\]{width:calc(100% - 90px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-\[220px\]{max-width:220px}.max-w-\[342px\]{max-width:342px}.max-w-\[416px\]{max-width:416px}.max-w-\[85vw\]{max-width:85vw}.max-w-full{max-width:100%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-up-all{0%{bottom:-600px;opacity:0}to{bottom:5vh;opacity:1}}.animate-slide-up-all{animation:slide-up-all .4s cubic-bezier(.25,.1,.25,1) forwards}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[15px\]{gap:15px}.gap-\[2\.64px\]{gap:2.64px}.gap-\[22px\]{gap:22px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[10px\]{border-radius:10px}.rounded-\[16px\]{border-radius:16px}.rounded-\[18px\]{border-radius:18px}.rounded-full{border-radius:9999px}.rounded-t-\[18px\]{border-top-left-radius:18px;border-top-right-radius:18px}.rounded-bl-\[10px\]{border-bottom-left-radius:10px}.rounded-br-\[10px\]{border-bottom-right-radius:10px}.rounded-tl-\[10px\]{border-top-left-radius:10px}.rounded-tr-\[10px\]{border-top-right-radius:10px}.border{border-width:1px}.border-0{border-width:0px}.border-none{border-style:none}.border-azulChatbot{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-\[\#e7e7e7\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity, 1))}.bg-azulChatbot{--tw-bg-opacity: 1;background-color:rgb(20 70 255 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/70{background-color:#000000b3}.bg-grayChat{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-grayFooter{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-\[17px_24px_17px_22px\]{padding:17px 24px 17px 22px}.p-\[20px\]{padding:20px}.p-\[30px\]{padding:30px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-\[5px\]{padding-top:5px}.text-center{text-align:center}.text-start{text-align:start}.font-\[Manrope\]{font-family:Manrope}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-\[100\%\]{line-height:100%}.leading-\[111\%\]{line-height:111%}.leading-\[20px\]{line-height:20px}.leading-\[22px\]{line-height:22px}.leading-normal{line-height:1.5}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-\[\#FAFAFA\]{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-\[\#bdbdbd\]{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity, 1))}.text-azulChatbot{--tw-text-opacity: 1;color:rgb(20 70 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blackAyelen{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}.text-gray3{--tw-text-opacity: 1;color:rgb(130 130 130 / var(--tw-text-opacity, 1))}.text-grayFooter{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_2px_2px_0px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: 0px 2px 2px 0px rgba(0,0,0,.1);--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[1px_3px_20px_rgba\(0\,0\,0\,0\.2\)\]{--tw-shadow: 1px 3px 20px rgba(0,0,0,.2);--tw-shadow-colored: 1px 3px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[2px_3px_22px_rgba\(255\,255\,255\,0\.2\)\]{--tw-shadow: 2px 3px 22px rgba(255,255,255,.2);--tw-shadow-colored: 2px 3px 22px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[8px_0_var\(--bubble-color\)\,-8px_0_var\(--bubble-color\)\]{--tw-shadow: 8px 0 var(--bubble-color),-8px 0 var(--bubble-color);--tw-shadow-colored: 8px 0 var(--tw-shadow-color), -8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-questionMark{--tw-shadow: 1px 3px 6px 0px rgba(0, 0, 0, .2);--tw-shadow-colored: 1px 3px 6px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:opacity-100:hover{opacity:1}.focus\:border-azulChatbot:focus{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}@media (max-width: 1370px){@keyframes slide-up-xl{0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}}.max-\[1370px\]\:animate-slide-up-xl{animation:slide-up-xl .4s cubic-bezier(.25,.1,.25,1) forwards}}@media not all and (min-width: 640px){.max-sm\:bottom-\[74px\]{bottom:74px}.max-sm\:right-0{right:0}.max-sm\:right-4{right:1rem}.max-sm\:rounded-\[8px\]{border-radius:8px}.max-sm\:px-\[10px\]{padding-left:10px;padding-right:10px}}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Montserrat:wght@100;300;400;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Manrope,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{font-family:Manrope,sans-serif}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-\[-600px\]{bottom:-600px}.bottom-\[86px\]{bottom:86px}.left-0{left:0}.left-1\/2{left:50%}.left-\[1px\]{left:1px}.left-\[2px\]{left:2px}.left-full{left:100%}.right-0{right:0}.right-16{right:4rem}.right-\[10px\]{right:10px}.right-\[20px\]{right:20px}.right-\[50px\]{right:50px}.right-\[5px\]{right:5px}.top-0{top:0}.top-\[-28px\]{top:-28px}.top-\[10px\]{top:10px}.top-\[138px\]{top:138px}.top-\[1px\]{top:1px}.top-\[20px\]{top:20px}.top-\[5px\]{top:5px}.z-10{z-index:10}.z-\[1000\]{z-index:1000}.z-\[2\]{z-index:2}.z-\[9998\]{z-index:9998}.z-\[9999\]{z-index:9999}.m-0{margin:0}.m-\[12px_auto\]{margin:12px auto}.m-\[18px\]{margin:18px}.mx-\[18px\]{margin-left:18px;margin-right:18px}.mb-\[4px\]{margin-bottom:4px}.ml-\[8px\]{margin-left:8px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-\[138px\]{height:138px}.h-\[17px\]{height:17px}.h-\[187px\]{height:187px}.h-\[18px\]{height:18px}.h-\[19px\]{height:19px}.h-\[24px\]{height:24px}.h-\[30px\]{height:30px}.h-\[361px\]{height:361px}.h-\[38px\]{height:38px}.h-\[40px\]{height:40px}.h-\[422px\]{height:422px}.h-\[4px\]{height:4px}.h-\[50px\]{height:50px}.h-\[5px\]{height:5px}.h-\[60px\]{height:60px}.h-\[64px\]{height:64px}.h-\[78px\]{height:78px}.h-\[calc\(100vh-20px\)\]{height:calc(100vh - 20px)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[100px\]{max-height:100px}.max-h-\[105px\]{max-height:105px}.max-h-\[138px\]{max-height:138px}.max-h-\[140px\]{max-height:140px}.max-h-\[361px\]{max-height:361px}.max-h-\[422px\]{max-height:422px}.max-h-\[60px\]{max-height:60px}.max-h-\[620px\]{max-height:620px}.max-h-\[85vh\]{max-height:85vh}.min-h-\[61px\]{min-height:61px}.w-\[149px\]{width:149px}.w-\[150px\]{width:150px}.w-\[17px\]{width:17px}.w-\[19px\]{width:19px}.w-\[22px\]{width:22px}.w-\[24px\]{width:24px}.w-\[30px\]{width:30px}.w-\[38px\]{width:38px}.w-\[50px\]{width:50px}.w-\[5px\]{width:5px}.w-\[64px\]{width:64px}.w-\[78px\]{width:78px}.w-\[80px\]{width:80px}.w-\[calc\(100\%-90px\)\]{width:calc(100% - 90px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-\[220px\]{max-width:220px}.max-w-\[342px\]{max-width:342px}.max-w-\[416px\]{max-width:416px}.max-w-\[85vw\]{max-width:85vw}.max-w-full{max-width:100%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-up-all{0%{bottom:-600px;opacity:0}to{bottom:5vh;opacity:1}}.animate-slide-up-all{animation:slide-up-all .4s cubic-bezier(.25,.1,.25,1) forwards}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[15px\]{gap:15px}.gap-\[2\.64px\]{gap:2.64px}.gap-\[22px\]{gap:22px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[10px\]{border-radius:10px}.rounded-\[16px\]{border-radius:16px}.rounded-\[18px\]{border-radius:18px}.rounded-full{border-radius:9999px}.rounded-t-\[18px\]{border-top-left-radius:18px;border-top-right-radius:18px}.rounded-bl-\[10px\]{border-bottom-left-radius:10px}.rounded-br-\[10px\]{border-bottom-right-radius:10px}.rounded-tl-\[10px\]{border-top-left-radius:10px}.rounded-tr-\[10px\]{border-top-right-radius:10px}.border{border-width:1px}.border-0{border-width:0px}.border-none{border-style:none}.border-azulChatbot{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-\[\#e7e7e7\]{--tw-bg-opacity: 1;background-color:rgb(231 231 231 / var(--tw-bg-opacity, 1))}.bg-azulChatbot{--tw-bg-opacity: 1;background-color:rgb(20 70 255 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/70{background-color:#000000b3}.bg-grayChat{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.bg-grayFooter{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-\[17px_24px_17px_22px\]{padding:17px 24px 17px 22px}.p-\[20px\]{padding:20px}.p-\[30px\]{padding:30px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pt-\[5px\]{padding-top:5px}.text-center{text-align:center}.text-start{text-align:start}.font-\[Manrope\]{font-family:Manrope}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-\[100\%\]{line-height:100%}.leading-\[111\%\]{line-height:111%}.leading-\[20px\]{line-height:20px}.leading-\[22px\]{line-height:22px}.leading-normal{line-height:1.5}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-\[\#FAFAFA\]{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-\[\#bdbdbd\]{--tw-text-opacity: 1;color:rgb(189 189 189 / var(--tw-text-opacity, 1))}.text-azulChatbot{--tw-text-opacity: 1;color:rgb(20 70 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blackAyelen{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}.text-gray3{--tw-text-opacity: 1;color:rgb(130 130 130 / var(--tw-text-opacity, 1))}.text-grayFooter{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_2px_2px_0px_rgba\(0\,0\,0\,0\.1\)\]{--tw-shadow: 0px 2px 2px 0px rgba(0,0,0,.1);--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[1px_3px_20px_rgba\(0\,0\,0\,0\.2\)\]{--tw-shadow: 1px 3px 20px rgba(0,0,0,.2);--tw-shadow-colored: 1px 3px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[2px_3px_22px_rgba\(255\,255\,255\,0\.2\)\]{--tw-shadow: 2px 3px 22px rgba(255,255,255,.2);--tw-shadow-colored: 2px 3px 22px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[8px_0_var\(--bubble-color\)\,-8px_0_var\(--bubble-color\)\]{--tw-shadow: 8px 0 var(--bubble-color),-8px 0 var(--bubble-color);--tw-shadow-colored: 8px 0 var(--tw-shadow-color), -8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-questionMark{--tw-shadow: 1px 3px 6px 0px rgba(0, 0, 0, .2);--tw-shadow-colored: 1px 3px 6px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:opacity-100:hover{opacity:1}.focus\:border-azulChatbot:focus{--tw-border-opacity: 1;border-color:rgb(20 70 255 / var(--tw-border-opacity, 1))}@media (max-width: 1370px){@keyframes slide-up-xl{0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}0%{bottom:-600px;opacity:0}to{bottom:3.2vh;opacity:1}}.max-\[1370px\]\:animate-slide-up-xl{animation:slide-up-xl .4s cubic-bezier(.25,.1,.25,1) forwards}}@media not all and (min-width: 640px){.max-sm\:bottom-\[74px\]{bottom:74px}.max-sm\:right-0{right:0}.max-sm\:right-4{right:1rem}.max-sm\:rounded-\[8px\]{border-radius:8px}.max-sm\:px-\[10px\]{padding-left:10px;padding-right:10px}}
|