@access-ci/ui 0.20.5 → 0.20.6

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.
@@ -2,24 +2,24 @@
2
2
  `+I+s}var ve=!1;function me(s,c){if(!s||ve)return"";ve=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(ce){var g=ce}Reflect.construct(s,[],c)}else{try{c.call()}catch(ce){g=ce}s.call(c.prototype)}else{try{throw Error()}catch(ce){g=ce}s()}}catch(ce){if(ce&&g&&typeof ce.stack=="string"){for(var v=ce.stack.split(`
3
3
  `),S=g.stack.split(`
4
4
  `),O=v.length-1,U=S.length-1;1<=O&&0<=U&&v[O]!==S[U];)U--;for(;1<=O&&0<=U;O--,U--)if(v[O]!==S[U]){if(O!==1||U!==1)do if(O--,U--,0>U||v[O]!==S[U]){var Y=`
5
- `+v[O].replace(" at new "," at ");return s.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",s.displayName)),Y}while(1<=O&&0<=U);break}}}finally{ve=!1,Error.prepareStackTrace=f}return(s=s?s.displayName||s.name:"")?J(s):""}function we(s){switch(s.tag){case 5:return J(s.type);case 16:return J("Lazy");case 13:return J("Suspense");case 19:return J("SuspenseList");case 0:case 2:case 15:return s=me(s.type,!1),s;case 11:return s=me(s.type.render,!1),s;case 1:return s=me(s.type,!0),s;default:return""}}function _e(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case z:return"Fragment";case R:return"Portal";case K:return"Profiler";case V:return"StrictMode";case oe:return"Suspense";case ue:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Z:return(s.displayName||"Context")+".Consumer";case q:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case te:return c=s.displayName||null,c!==null?c:_e(s.type)||"Memo";case pe:c=s._payload,s=s._init;try{return _e(s(c))}catch{}}return null}function Oe(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(c);case 8:return c===V?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function Ve(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function ze(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function $e(s){var c=ze(s)?"checked":"value",f=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),g=""+s[c];if(!s.hasOwnProperty(c)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,S=f.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return v.call(this)},set:function(O){g=""+O,S.call(this,O)}}),Object.defineProperty(s,c,{enumerable:f.enumerable}),{getValue:function(){return g},setValue:function(O){g=""+O},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function wt(s){s._valueTracker||(s._valueTracker=$e(s))}function Me(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var f=c.getValue(),g="";return s&&(g=ze(s)?s.checked?"true":"false":s.value),s=g,s!==f?(c.setValue(s),!0):!1}function Ee(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Xe(s,c){var f=c.checked;return de({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??s._wrapperState.initialChecked})}function Ge(s,c){var f=c.defaultValue==null?"":c.defaultValue,g=c.checked!=null?c.checked:c.defaultChecked;f=Ve(c.value!=null?c.value:f),s._wrapperState={initialChecked:g,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function At(s,c){c=c.checked,c!=null&&D(s,"checked",c,!1)}function lt(s,c){At(s,c);var f=Ve(c.value),g=c.type;if(f!=null)g==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=""+f):s.value!==""+f&&(s.value=""+f);else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?yt(s,c.type,f):c.hasOwnProperty("defaultValue")&&yt(s,c.type,Ve(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function gt(s,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var g=c.type;if(!(g!=="submit"&&g!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,f||c===s.value||(s.value=c),s.defaultValue=c}f=s.name,f!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,f!==""&&(s.name=f)}function yt(s,c,f){(c!=="number"||Ee(s.ownerDocument)!==s)&&(f==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+f&&(s.defaultValue=""+f))}var mt=Array.isArray;function Rt(s,c,f,g){if(s=s.options,c){c={};for(var v=0;v<f.length;v++)c["$"+f[v]]=!0;for(f=0;f<s.length;f++)v=c.hasOwnProperty("$"+s[f].value),s[f].selected!==v&&(s[f].selected=v),v&&g&&(s[f].defaultSelected=!0)}else{for(f=""+Ve(f),c=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,g&&(s[v].defaultSelected=!0);return}c!==null||s[v].disabled||(c=s[v])}c!==null&&(c.selected=!0)}}function dt(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return de({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Ke(s,c){var f=c.value;if(f==null){if(f=c.children,c=c.defaultValue,f!=null){if(c!=null)throw Error(n(92));if(mt(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}s._wrapperState={initialValue:Ve(f)}}function fn(s,c){var f=Ve(c.value),g=Ve(c.defaultValue);f!=null&&(f=""+f,f!==s.value&&(s.value=f),c.defaultValue==null&&s.defaultValue!==f&&(s.defaultValue=f)),g!=null&&(s.defaultValue=""+g)}function Yt(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function vn(s){switch(s){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 nn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?vn(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var _t,fe=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,g,v){MSApp.execUnsafeLocalFunction(function(){return s(c,f,g,v)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(_t=_t||document.createElement("div"),_t.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=_t.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Le(s,c){if(c){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=c;return}}s.textContent=c}var Be={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},ct=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(s){ct.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Be[c]=Be[s]})});function We(s,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Be.hasOwnProperty(s)&&Be[s]?(""+c).trim():c+"px"}function le(s,c){s=s.style;for(var f in c)if(c.hasOwnProperty(f)){var g=f.indexOf("--")===0,v=We(f,c[f],g);f==="float"&&(f="cssFloat"),g?s.setProperty(f,v):s[f]=v}}var Ce=de({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 Te(s,c){if(c){if(Ce[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function qe(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 He=null;function Ne(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var bt=null,xt=null,it=null;function Zt(s){if(s=mc(s)){if(typeof bt!="function")throw Error(n(280));var c=s.stateNode;c&&(c=wd(c),bt(s.stateNode,s.type,c))}}function qt(s){xt?it?it.push(s):it=[s]:xt=s}function rn(){if(xt){var s=xt,c=it;if(it=xt=null,Zt(s),c)for(s=0;s<c.length;s++)Zt(c[s])}}function Ut(s,c){return s(c)}function an(){}var zt=!1;function Sn(s,c,f){if(zt)return s(c,f);zt=!0;try{return Ut(s,c,f)}finally{zt=!1,(xt!==null||it!==null)&&(an(),rn())}}function Qn(s,c){var f=s.stateNode;if(f===null)return null;var g=wd(f);if(g===null)return null;f=g[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(s=s.type,g=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!g;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var Ir=!1;if(l)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){Ir=!0}}),window.addEventListener("test",ln,ln),window.removeEventListener("test",ln,ln)}catch{Ir=!1}function Hn(s,c,f,g,v,S,O,U,Y){var ce=Array.prototype.slice.call(arguments,3);try{c.apply(f,ce)}catch(be){this.onError(be)}}var yn=!1,Jn=null,Mn=!1,pn=null,Mr={onError:function(s){yn=!0,Jn=s}};function Qo(s,c,f,g,v,S,O,U,Y){yn=!1,Jn=null,Hn.apply(Mr,arguments)}function ur(s,c,f,g,v,S,O,U,Y){if(Qo.apply(this,arguments),yn){if(yn){var ce=Jn;yn=!1,Jn=null}else throw Error(n(198));Mn||(Mn=!0,pn=ce)}}function En(s){var c=s,f=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(f=c.return),s=c.return;while(s)}return c.tag===3?f:null}function Zn(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function on(s){if(En(s)!==s)throw Error(n(188))}function Ho(s){var c=s.alternate;if(!c){if(c=En(s),c===null)throw Error(n(188));return c!==s?null:s}for(var f=s,g=c;;){var v=f.return;if(v===null)break;var S=v.alternate;if(S===null){if(g=v.return,g!==null){f=g;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===f)return on(v),s;if(S===g)return on(v),c;S=S.sibling}throw Error(n(188))}if(f.return!==g.return)f=v,g=S;else{for(var O=!1,U=v.child;U;){if(U===f){O=!0,f=v,g=S;break}if(U===g){O=!0,g=v,f=S;break}U=U.sibling}if(!O){for(U=S.child;U;){if(U===f){O=!0,f=S,g=v;break}if(U===g){O=!0,g=S,f=v;break}U=U.sibling}if(!O)throw Error(n(189))}}if(f.alternate!==g)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?s:c}function co(s){return s=Ho(s),s!==null?Uo(s):null}function Uo(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Uo(s);if(c!==null)return c;s=s.sibling}return null}var pi=e.unstable_scheduleCallback,_s=e.unstable_cancelCallback,Pa=e.unstable_shouldYield,Da=e.unstable_requestPaint,Lt=e.unstable_now,On=e.unstable_getCurrentPriorityLevel,Yi=e.unstable_ImmediatePriority,qi=e.unstable_UserBlockingPriority,Vo=e.unstable_NormalPriority,Ta=e.unstable_LowPriority,uo=e.unstable_IdlePriority,Or=null,$n=null;function hi(s){if($n&&typeof $n.onCommitFiberRoot=="function")try{$n.onCommitFiberRoot(Or,s,void 0,(s.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:Os,Is=Math.log,Ms=Math.LN2;function Os(s){return s>>>=0,s===0?32:31-(Is(s)/Ms|0)|0}var fo=64,Ai=4194304;function Wo(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Yo(s,c){var f=s.pendingLanes;if(f===0)return 0;var g=0,v=s.suspendedLanes,S=s.pingedLanes,O=f&268435455;if(O!==0){var U=O&~v;U!==0?g=Wo(U):(S&=O,S!==0&&(g=Wo(S)))}else O=f&~v,O!==0?g=Wo(O):S!==0&&(g=Wo(S));if(g===0)return 0;if(c!==0&&c!==g&&(c&v)===0&&(v=g&-g,S=c&-c,v>=S||v===16&&(S&4194240)!==0))return c;if((g&4)!==0&&(g|=f&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=g;0<c;)f=31-bn(c),v=1<<f,g|=s[f],c&=~v;return g}function x(s,c){switch(s){case 1:case 2:case 4:return c+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 c+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 _(s,c){for(var f=s.suspendedLanes,g=s.pingedLanes,v=s.expirationTimes,S=s.pendingLanes;0<S;){var O=31-bn(S),U=1<<O,Y=v[O];Y===-1?((U&f)===0||(U&g)!==0)&&(v[O]=x(U,c)):Y<=c&&(s.expiredLanes|=U),S&=~U}}function F(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function H(){var s=fo;return fo<<=1,(fo&4194240)===0&&(fo=64),s}function ie(s){for(var c=[],f=0;31>f;f++)c.push(s);return c}function $(s,c,f){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-bn(c),s[c]=f}function he(s,c){var f=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var g=s.eventTimes;for(s=s.expirationTimes;0<f;){var v=31-bn(f),S=1<<v;c[v]=0,g[v]=-1,s[v]=-1,f&=~S}}function De(s,c){var f=s.entangledLanes|=c;for(s=s.entanglements;f;){var g=31-bn(f),v=1<<g;v&c|s[g]&c&&(s[g]|=c),f&=~v}}var Ie=0;function tt(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var ut,It,dr,fr,Un,po=!1,pr=[],hr=null,Vn=null,Rr=null,Ar=new Map,qo=new Map,Ko=[],Wh="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 ad(s,c){switch(s){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Rr=null;break;case"pointerover":case"pointerout":Ar.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":qo.delete(c.pointerId)}}function Rs(s,c,f,g,v,S){return s===null||s.nativeEvent!==S?(s={blockedOn:c,domEventName:f,eventSystemFlags:g,nativeEvent:S,targetContainers:[v]},c!==null&&(c=mc(c),c!==null&&It(c)),s):(s.eventSystemFlags|=g,c=s.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),s)}function Yh(s,c,f,g,v){switch(c){case"focusin":return hr=Rs(hr,s,c,f,g,v),!0;case"dragenter":return Vn=Rs(Vn,s,c,f,g,v),!0;case"mouseover":return Rr=Rs(Rr,s,c,f,g,v),!0;case"pointerover":var S=v.pointerId;return Ar.set(S,Rs(Ar.get(S)||null,s,c,f,g,v)),!0;case"gotpointercapture":return S=v.pointerId,qo.set(S,Rs(qo.get(S)||null,s,c,f,g,v)),!0}return!1}function Jr(s){var c=Us(s.target);if(c!==null){var f=En(c);if(f!==null){if(c=f.tag,c===13){if(c=Zn(f),c!==null){s.blockedOn=c,Un(s.priority,function(){dr(f)});return}}else if(c===3&&f.stateNode.current.memoizedState.isDehydrated){s.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Ki(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var f=Ns(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(f===null){f=s.nativeEvent;var g=new f.constructor(f.type,f);He=g,f.target.dispatchEvent(g),He=null}else return c=mc(f),c!==null&&It(c),s.blockedOn=f,!1;c.shift()}return!0}function Ls(s,c,f){Ki(s)&&f.delete(c)}function Mt(){po=!1,hr!==null&&Ki(hr)&&(hr=null),Vn!==null&&Ki(Vn)&&(Vn=null),Rr!==null&&Ki(Rr)&&(Rr=null),Ar.forEach(Ls),qo.forEach(Ls)}function ho(s,c){s.blockedOn===c&&(s.blockedOn=null,po||(po=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Mt)))}function Go(s){function c(v){return ho(v,s)}if(0<pr.length){ho(pr[0],s);for(var f=1;f<pr.length;f++){var g=pr[f];g.blockedOn===s&&(g.blockedOn=null)}}for(hr!==null&&ho(hr,s),Vn!==null&&ho(Vn,s),Rr!==null&&ho(Rr,s),Ar.forEach(c),qo.forEach(c),f=0;f<Ko.length;f++)g=Ko[f],g.blockedOn===s&&(g.blockedOn=null);for(;0<Ko.length&&(f=Ko[0],f.blockedOn===null);)Jr(f),f.blockedOn===null&&Ko.shift()}var Zr=C.ReactCurrentBatchConfig,Lr=!0;function Ba(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=1,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function gi(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=4,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function _a(s,c,f,g){if(Lr){var v=Ns(s,c,f,g);if(v===null)rA(s,c,g,Gi,f),ad(s,g);else if(Yh(v,s,c,f,g))g.stopPropagation();else if(ad(s,g),c&4&&-1<Wh.indexOf(s)){for(;v!==null;){var S=mc(v);if(S!==null&&ut(S),S=Ns(s,c,f,g),S===null&&rA(s,c,g,Gi,f),S===v)break;v=S}v!==null&&g.stopPropagation()}else rA(s,c,g,null,f)}}var Gi=null;function Ns(s,c,f,g){if(Gi=null,s=Ne(g),s=Us(s),s!==null)if(c=En(s),c===null)s=null;else if(f=c.tag,f===13){if(s=Zn(c),s!==null)return s;s=null}else if(f===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Gi=s,null}function tc(s){switch(s){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(On()){case Yi:return 1;case qi:return 4;case Vo:case Ta:return 16;case uo:return 536870912;default:return 16}default:return 16}}var Ao=null,Ia=null,Ma=null;function ld(){if(Ma)return Ma;var s,c=Ia,f=c.length,g,v="value"in Ao?Ao.value:Ao.textContent,S=v.length;for(s=0;s<f&&c[s]===v[s];s++);var O=f-s;for(g=1;g<=O&&c[f-g]===v[S-g];g++);return Ma=v.slice(s,1<g?1-g:void 0)}function mi(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Fs(){return!0}function js(){return!1}function Rn(s){function c(f,g,v,S,O){this._reactName=f,this._targetInst=v,this.type=g,this.nativeEvent=S,this.target=O,this.currentTarget=null;for(var U in s)s.hasOwnProperty(U)&&(f=s[U],this[U]=f?f(S):S[U]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Fs:js,this.isPropagationStopped=js,this}return de(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Fs)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Fs)},persist:function(){},isPersistent:Fs}),c}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vi=Rn(Xi),zs=de({},Xi,{view:0,detail:0}),nc=Rn(zs),Ji,yi,Xo,Qs=de({},zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fa,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Xo&&(Xo&&s.type==="mousemove"?(Ji=s.screenX-Xo.screenX,yi=s.screenY-Xo.screenY):yi=Ji=0,Xo=s),Ji)},movementY:function(s){return"movementY"in s?s.movementY:yi}}),rc=Rn(Qs),cd=de({},Qs,{dataTransfer:0}),oc=Rn(cd),er=de({},zs,{relatedTarget:0}),Oa=Rn(er),ic=de({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),qh=Rn(ic),ud=de({},Xi,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Ra=Rn(ud),dd=de({},Xi,{data:0}),sc=Rn(dd),La={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Na={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"},fd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pd(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=fd[s])?!!c[s]:!1}function Fa(){return pd}var ac=de({},zs,{key:function(s){if(s.key){var c=La[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=mi(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Na[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(s){return s.type==="keypress"?mi(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?mi(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),hd=Rn(ac),k=de({},Qs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B=Rn(k),L=de({},zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Q=Rn(L),ae=de({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),re=Rn(ae),Ae=de({},Qs,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),ke=Rn(Ae),et=[9,13,27,32],ft=l&&"CompositionEvent"in window,st=null;l&&"documentMode"in document&&(st=document.documentMode);var Nt=l&&"TextEvent"in window&&!st,Wn=l&&(!ft||st&&8<st&&11>=st),gr=" ",mr=!1;function Hs(s,c){switch(s){case"keyup":return et.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lc(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Jo=!1;function JM(s,c){switch(s){case"compositionend":return lc(c);case"keypress":return c.which!==32?null:(mr=!0,gr);case"textInput":return s=c.data,s===gr&&mr?null:s;default:return null}}function ZM(s,c){if(Jo)return s==="compositionend"||!ft&&Hs(s,c)?(s=ld(),Ma=Ia=Ao=null,Jo=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return Wn&&c.locale!=="ko"?null:c.data;default:return null}}var $M={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 Gx(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!$M[s.type]:c==="textarea"}function Xx(s,c,f,g){qt(g),c=yd(c,"onChange"),0<c.length&&(f=new vi("onChange","change",null,f,g),s.push({event:f,listeners:c}))}var cc=null,uc=null;function e4(s){hw(s,0)}function Ad(s){var c=Ua(s);if(Me(c))return s}function t4(s,c){if(s==="change")return c}var Jx=!1;if(l){var Kh;if(l){var Gh="oninput"in document;if(!Gh){var Zx=document.createElement("div");Zx.setAttribute("oninput","return;"),Gh=typeof Zx.oninput=="function"}Kh=Gh}else Kh=!1;Jx=Kh&&(!document.documentMode||9<document.documentMode)}function $x(){cc&&(cc.detachEvent("onpropertychange",ew),uc=cc=null)}function ew(s){if(s.propertyName==="value"&&Ad(uc)){var c=[];Xx(c,uc,s,Ne(s)),Sn(e4,c)}}function n4(s,c,f){s==="focusin"?($x(),cc=c,uc=f,cc.attachEvent("onpropertychange",ew)):s==="focusout"&&$x()}function r4(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ad(uc)}function o4(s,c){if(s==="click")return Ad(c)}function i4(s,c){if(s==="input"||s==="change")return Ad(c)}function s4(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var go=typeof Object.is=="function"?Object.is:s4;function dc(s,c){if(go(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var f=Object.keys(s),g=Object.keys(c);if(f.length!==g.length)return!1;for(g=0;g<f.length;g++){var v=f[g];if(!u.call(c,v)||!go(s[v],c[v]))return!1}return!0}function tw(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function nw(s,c){var f=tw(s);s=0;for(var g;f;){if(f.nodeType===3){if(g=s+f.textContent.length,s<=c&&g>=c)return{node:f,offset:c-s};s=g}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=tw(f)}}function rw(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?rw(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function ow(){for(var s=window,c=Ee();c instanceof s.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)s=c.contentWindow;else break;c=Ee(s.document)}return c}function Xh(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function a4(s){var c=ow(),f=s.focusedElem,g=s.selectionRange;if(c!==f&&f&&f.ownerDocument&&rw(f.ownerDocument.documentElement,f)){if(g!==null&&Xh(f)){if(c=g.start,s=g.end,s===void 0&&(s=c),"selectionStart"in f)f.selectionStart=c,f.selectionEnd=Math.min(s,f.value.length);else if(s=(c=f.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var v=f.textContent.length,S=Math.min(g.start,v);g=g.end===void 0?S:Math.min(g.end,v),!s.extend&&S>g&&(v=g,g=S,S=v),v=nw(f,S);var O=nw(f,g);v&&O&&(s.rangeCount!==1||s.anchorNode!==v.node||s.anchorOffset!==v.offset||s.focusNode!==O.node||s.focusOffset!==O.offset)&&(c=c.createRange(),c.setStart(v.node,v.offset),s.removeAllRanges(),S>g?(s.addRange(c),s.extend(O.node,O.offset)):(c.setEnd(O.node,O.offset),s.addRange(c)))}}for(c=[],s=f;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<c.length;f++)s=c[f],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var l4=l&&"documentMode"in document&&11>=document.documentMode,ja=null,Jh=null,fc=null,Zh=!1;function iw(s,c,f){var g=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Zh||ja==null||ja!==Ee(g)||(g=ja,"selectionStart"in g&&Xh(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),fc&&dc(fc,g)||(fc=g,g=yd(Jh,"onSelect"),0<g.length&&(c=new vi("onSelect","select",null,c,f),s.push({event:c,listeners:g}),c.target=ja)))}function gd(s,c){var f={};return f[s.toLowerCase()]=c.toLowerCase(),f["Webkit"+s]="webkit"+c,f["Moz"+s]="moz"+c,f}var za={animationend:gd("Animation","AnimationEnd"),animationiteration:gd("Animation","AnimationIteration"),animationstart:gd("Animation","AnimationStart"),transitionend:gd("Transition","TransitionEnd")},$h={},sw={};l&&(sw=document.createElement("div").style,"AnimationEvent"in window||(delete za.animationend.animation,delete za.animationiteration.animation,delete za.animationstart.animation),"TransitionEvent"in window||delete za.transitionend.transition);function md(s){if($h[s])return $h[s];if(!za[s])return s;var c=za[s],f;for(f in c)if(c.hasOwnProperty(f)&&f in sw)return $h[s]=c[f];return s}var aw=md("animationend"),lw=md("animationiteration"),cw=md("animationstart"),uw=md("transitionend"),dw=new Map,fw="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 Zi(s,c){dw.set(s,c),i(c,[s])}for(var eA=0;eA<fw.length;eA++){var tA=fw[eA],c4=tA.toLowerCase(),u4=tA[0].toUpperCase()+tA.slice(1);Zi(c4,"on"+u4)}Zi(aw,"onAnimationEnd"),Zi(lw,"onAnimationIteration"),Zi(cw,"onAnimationStart"),Zi("dblclick","onDoubleClick"),Zi("focusin","onFocus"),Zi("focusout","onBlur"),Zi(uw,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="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(" "),d4=new Set("cancel close invalid load scroll toggle".split(" ").concat(pc));function pw(s,c,f){var g=s.type||"unknown-event";s.currentTarget=f,ur(g,c,void 0,s),s.currentTarget=null}function hw(s,c){c=(c&4)!==0;for(var f=0;f<s.length;f++){var g=s[f],v=g.event;g=g.listeners;e:{var S=void 0;if(c)for(var O=g.length-1;0<=O;O--){var U=g[O],Y=U.instance,ce=U.currentTarget;if(U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}else for(O=0;O<g.length;O++){if(U=g[O],Y=U.instance,ce=U.currentTarget,U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}}}if(Mn)throw s=pn,Mn=!1,pn=null,s}function Vt(s,c){var f=c[cA];f===void 0&&(f=c[cA]=new Set);var g=s+"__bubble";f.has(g)||(Aw(c,s,2,!1),f.add(g))}function nA(s,c,f){var g=0;c&&(g|=4),Aw(f,s,g,c)}var vd="_reactListening"+Math.random().toString(36).slice(2);function hc(s){if(!s[vd]){s[vd]=!0,r.forEach(function(f){f!=="selectionchange"&&(d4.has(f)||nA(f,!1,s),nA(f,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[vd]||(c[vd]=!0,nA("selectionchange",!1,c))}}function Aw(s,c,f,g){switch(tc(c)){case 1:var v=Ba;break;case 4:v=gi;break;default:v=_a}f=v.bind(null,c,f,s),v=void 0,!Ir||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),g?v!==void 0?s.addEventListener(c,f,{capture:!0,passive:v}):s.addEventListener(c,f,!0):v!==void 0?s.addEventListener(c,f,{passive:v}):s.addEventListener(c,f,!1)}function rA(s,c,f,g,v){var S=g;if((c&1)===0&&(c&2)===0&&g!==null)e:for(;;){if(g===null)return;var O=g.tag;if(O===3||O===4){var U=g.stateNode.containerInfo;if(U===v||U.nodeType===8&&U.parentNode===v)break;if(O===4)for(O=g.return;O!==null;){var Y=O.tag;if((Y===3||Y===4)&&(Y=O.stateNode.containerInfo,Y===v||Y.nodeType===8&&Y.parentNode===v))return;O=O.return}for(;U!==null;){if(O=Us(U),O===null)return;if(Y=O.tag,Y===5||Y===6){g=S=O;continue e}U=U.parentNode}}g=g.return}Sn(function(){var ce=S,be=Ne(f),xe=[];e:{var ye=dw.get(s);if(ye!==void 0){var Re=vi,Qe=s;switch(s){case"keypress":if(mi(f)===0)break e;case"keydown":case"keyup":Re=hd;break;case"focusin":Qe="focus",Re=Oa;break;case"focusout":Qe="blur",Re=Oa;break;case"beforeblur":case"afterblur":Re=Oa;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Re=rc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Re=oc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Re=Q;break;case aw:case lw:case cw:Re=qh;break;case uw:Re=re;break;case"scroll":Re=nc;break;case"wheel":Re=ke;break;case"copy":case"cut":case"paste":Re=Ra;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Re=B}var Ue=(c&4)!==0,cn=!Ue&&s==="scroll",ne=Ue?ye!==null?ye+"Capture":null:ye;Ue=[];for(var X=ce,se;X!==null;){se=X;var Pe=se.stateNode;if(se.tag===5&&Pe!==null&&(se=Pe,ne!==null&&(Pe=Qn(X,ne),Pe!=null&&Ue.push(Ac(X,Pe,se)))),cn)break;X=X.return}0<Ue.length&&(ye=new Re(ye,Qe,null,f,be),xe.push({event:ye,listeners:Ue}))}}if((c&7)===0){e:{if(ye=s==="mouseover"||s==="pointerover",Re=s==="mouseout"||s==="pointerout",ye&&f!==He&&(Qe=f.relatedTarget||f.fromElement)&&(Us(Qe)||Qe[bi]))break e;if((Re||ye)&&(ye=be.window===be?be:(ye=be.ownerDocument)?ye.defaultView||ye.parentWindow:window,Re?(Qe=f.relatedTarget||f.toElement,Re=ce,Qe=Qe?Us(Qe):null,Qe!==null&&(cn=En(Qe),Qe!==cn||Qe.tag!==5&&Qe.tag!==6)&&(Qe=null)):(Re=null,Qe=ce),Re!==Qe)){if(Ue=rc,Pe="onMouseLeave",ne="onMouseEnter",X="mouse",(s==="pointerout"||s==="pointerover")&&(Ue=B,Pe="onPointerLeave",ne="onPointerEnter",X="pointer"),cn=Re==null?ye:Ua(Re),se=Qe==null?ye:Ua(Qe),ye=new Ue(Pe,X+"leave",Re,f,be),ye.target=cn,ye.relatedTarget=se,Pe=null,Us(be)===ce&&(Ue=new Ue(ne,X+"enter",Qe,f,be),Ue.target=se,Ue.relatedTarget=cn,Pe=Ue),cn=Pe,Re&&Qe)t:{for(Ue=Re,ne=Qe,X=0,se=Ue;se;se=Qa(se))X++;for(se=0,Pe=ne;Pe;Pe=Qa(Pe))se++;for(;0<X-se;)Ue=Qa(Ue),X--;for(;0<se-X;)ne=Qa(ne),se--;for(;X--;){if(Ue===ne||ne!==null&&Ue===ne.alternate)break t;Ue=Qa(Ue),ne=Qa(ne)}Ue=null}else Ue=null;Re!==null&&gw(xe,ye,Re,Ue,!1),Qe!==null&&cn!==null&&gw(xe,cn,Qe,Ue,!0)}}e:{if(ye=ce?Ua(ce):window,Re=ye.nodeName&&ye.nodeName.toLowerCase(),Re==="select"||Re==="input"&&ye.type==="file")var Ye=t4;else if(Gx(ye))if(Jx)Ye=i4;else{Ye=r4;var Je=n4}else(Re=ye.nodeName)&&Re.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=o4);if(Ye&&(Ye=Ye(s,ce))){Xx(xe,Ye,f,be);break e}Je&&Je(s,ye,ce),s==="focusout"&&(Je=ye._wrapperState)&&Je.controlled&&ye.type==="number"&&yt(ye,"number",ye.value)}switch(Je=ce?Ua(ce):window,s){case"focusin":(Gx(Je)||Je.contentEditable==="true")&&(ja=Je,Jh=ce,fc=null);break;case"focusout":fc=Jh=ja=null;break;case"mousedown":Zh=!0;break;case"contextmenu":case"mouseup":case"dragend":Zh=!1,iw(xe,f,be);break;case"selectionchange":if(l4)break;case"keydown":case"keyup":iw(xe,f,be)}var Ze;if(ft)e:{switch(s){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Jo?Hs(s,f)&&(at="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(at="onCompositionStart");at&&(Wn&&f.locale!=="ko"&&(Jo||at!=="onCompositionStart"?at==="onCompositionEnd"&&Jo&&(Ze=ld()):(Ao=be,Ia="value"in Ao?Ao.value:Ao.textContent,Jo=!0)),Je=yd(ce,at),0<Je.length&&(at=new sc(at,s,null,f,be),xe.push({event:at,listeners:Je}),Ze?at.data=Ze:(Ze=lc(f),Ze!==null&&(at.data=Ze)))),(Ze=Nt?JM(s,f):ZM(s,f))&&(ce=yd(ce,"onBeforeInput"),0<ce.length&&(be=new sc("onBeforeInput","beforeinput",null,f,be),xe.push({event:be,listeners:ce}),be.data=Ze))}hw(xe,c)})}function Ac(s,c,f){return{instance:s,listener:c,currentTarget:f}}function yd(s,c){for(var f=c+"Capture",g=[];s!==null;){var v=s,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Qn(s,f),S!=null&&g.unshift(Ac(s,S,v)),S=Qn(s,c),S!=null&&g.push(Ac(s,S,v))),s=s.return}return g}function Qa(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function gw(s,c,f,g,v){for(var S=c._reactName,O=[];f!==null&&f!==g;){var U=f,Y=U.alternate,ce=U.stateNode;if(Y!==null&&Y===g)break;U.tag===5&&ce!==null&&(U=ce,v?(Y=Qn(f,S),Y!=null&&O.unshift(Ac(f,Y,U))):v||(Y=Qn(f,S),Y!=null&&O.push(Ac(f,Y,U)))),f=f.return}O.length!==0&&s.push({event:c,listeners:O})}var f4=/\r\n?/g,p4=/\u0000|\uFFFD/g;function mw(s){return(typeof s=="string"?s:""+s).replace(f4,`
6
- `).replace(p4,"")}function bd(s,c,f){if(c=mw(c),mw(s)!==c&&f)throw Error(n(425))}function xd(){}var oA=null,iA=null;function sA(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,h4=typeof clearTimeout=="function"?clearTimeout:void 0,vw=typeof Promise=="function"?Promise:void 0,A4=typeof queueMicrotask=="function"?queueMicrotask:typeof vw<"u"?function(s){return vw.resolve(null).then(s).catch(g4)}:aA;function g4(s){setTimeout(function(){throw s})}function lA(s,c){var f=c,g=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(g===0){s.removeChild(v),Go(c);return}g--}else f!=="$"&&f!=="$?"&&f!=="$!"||g++;f=v}while(f);Go(c)}function $i(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function yw(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="$"||f==="$!"||f==="$?"){if(c===0)return s;c--}else f==="/$"&&c++}s=s.previousSibling}return null}var Ha=Math.random().toString(36).slice(2),Zo="__reactFiber$"+Ha,gc="__reactProps$"+Ha,bi="__reactContainer$"+Ha,cA="__reactEvents$"+Ha,m4="__reactListeners$"+Ha,v4="__reactHandles$"+Ha;function Us(s){var c=s[Zo];if(c)return c;for(var f=s.parentNode;f;){if(c=f[bi]||f[Zo]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(s=yw(s);s!==null;){if(f=s[Zo])return f;s=yw(s)}return c}s=f,f=s.parentNode}return null}function mc(s){return s=s[Zo]||s[bi],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Ua(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function wd(s){return s[gc]||null}var uA=[],Va=-1;function es(s){return{current:s}}function Wt(s){0>Va||(s.current=uA[Va],uA[Va]=null,Va--)}function Qt(s,c){Va++,uA[Va]=s.current,s.current=c}var ts={},Yn=es(ts),vr=es(!1),Vs=ts;function Wa(s,c){var f=s.type.contextTypes;if(!f)return ts;var g=s.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===c)return g.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in f)v[S]=c[S];return g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=v),v}function yr(s){return s=s.childContextTypes,s!=null}function kd(){Wt(vr),Wt(Yn)}function bw(s,c,f){if(Yn.current!==ts)throw Error(n(168));Qt(Yn,c),Qt(vr,f)}function xw(s,c,f){var g=s.stateNode;if(c=c.childContextTypes,typeof g.getChildContext!="function")return f;g=g.getChildContext();for(var v in g)if(!(v in c))throw Error(n(108,Oe(s)||"Unknown",v));return de({},f,g)}function Sd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ts,Vs=Yn.current,Qt(Yn,s),Qt(vr,vr.current),!0}function ww(s,c,f){var g=s.stateNode;if(!g)throw Error(n(169));f?(s=xw(s,c,Vs),g.__reactInternalMemoizedMergedChildContext=s,Wt(vr),Wt(Yn),Qt(Yn,s)):Wt(vr),Qt(vr,f)}var xi=null,Ed=!1,dA=!1;function kw(s){xi===null?xi=[s]:xi.push(s)}function y4(s){Ed=!0,kw(s)}function ns(){if(!dA&&xi!==null){dA=!0;var s=0,c=Ie;try{var f=xi;for(Ie=1;s<f.length;s++){var g=f[s];do g=g(!0);while(g!==null)}xi=null,Ed=!1}catch(v){throw xi!==null&&(xi=xi.slice(s+1)),pi(Yi,ns),v}finally{Ie=c,dA=!1}}return null}var Ya=[],qa=0,Cd=null,Pd=0,$r=[],eo=0,Ws=null,wi=1,ki="";function Ys(s,c){Ya[qa++]=Pd,Ya[qa++]=Cd,Cd=s,Pd=c}function Sw(s,c,f){$r[eo++]=wi,$r[eo++]=ki,$r[eo++]=Ws,Ws=s;var g=wi;s=ki;var v=32-bn(g)-1;g&=~(1<<v),f+=1;var S=32-bn(c)+v;if(30<S){var O=v-v%5;S=(g&(1<<O)-1).toString(32),g>>=O,v-=O,wi=1<<32-bn(c)+v|f<<v|g,ki=S+s}else wi=1<<S|f<<v|g,ki=s}function fA(s){s.return!==null&&(Ys(s,1),Sw(s,1,0))}function pA(s){for(;s===Cd;)Cd=Ya[--qa],Ya[qa]=null,Pd=Ya[--qa],Ya[qa]=null;for(;s===Ws;)Ws=$r[--eo],$r[eo]=null,ki=$r[--eo],$r[eo]=null,wi=$r[--eo],$r[eo]=null}var Nr=null,Fr=null,Kt=!1,mo=null;function Ew(s,c){var f=oo(5,null,null,0);f.elementType="DELETED",f.stateNode=c,f.return=s,c=s.deletions,c===null?(s.deletions=[f],s.flags|=16):c.push(f)}function Cw(s,c){switch(s.tag){case 5:var f=s.type;return c=c.nodeType!==1||f.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=$i(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Ws!==null?{id:wi,overflow:ki}:null,s.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=oo(18,null,null,0),f.stateNode=c,f.return=s,s.child=f,Nr=s,Fr=null,!0):!1;default:return!1}}function hA(s){return(s.mode&1)!==0&&(s.flags&128)===0}function AA(s){if(Kt){var c=Fr;if(c){var f=c;if(!Cw(s,c)){if(hA(s))throw Error(n(418));c=$i(f.nextSibling);var g=Nr;c&&Cw(s,c)?Ew(g,f):(s.flags=s.flags&-4097|2,Kt=!1,Nr=s)}}else{if(hA(s))throw Error(n(418));s.flags=s.flags&-4097|2,Kt=!1,Nr=s}}}function Pw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Nr=s}function Dd(s){if(s!==Nr)return!1;if(!Kt)return Pw(s),Kt=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!sA(s.type,s.memoizedProps)),c&&(c=Fr)){if(hA(s))throw Dw(),Error(n(418));for(;c;)Ew(s,c),c=$i(c.nextSibling)}if(Pw(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="/$"){if(c===0){Fr=$i(s.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}s=s.nextSibling}Fr=null}}else Fr=Nr?$i(s.stateNode.nextSibling):null;return!0}function Dw(){for(var s=Fr;s;)s=$i(s.nextSibling)}function Ka(){Fr=Nr=null,Kt=!1}function gA(s){mo===null?mo=[s]:mo.push(s)}var b4=C.ReactCurrentBatchConfig;function vc(s,c,f){if(s=f.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(n(309));var g=f.stateNode}if(!g)throw Error(n(147,s));var v=g,S=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===S?c.ref:(c=function(O){var U=v.refs;O===null?delete U[S]:U[S]=O},c._stringRef=S,c)}if(typeof s!="string")throw Error(n(284));if(!f._owner)throw Error(n(290,s))}return s}function Td(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function Tw(s){var c=s._init;return c(s._payload)}function Bw(s){function c(ne,X){if(s){var se=ne.deletions;se===null?(ne.deletions=[X],ne.flags|=16):se.push(X)}}function f(ne,X){if(!s)return null;for(;X!==null;)c(ne,X),X=X.sibling;return null}function g(ne,X){for(ne=new Map;X!==null;)X.key!==null?ne.set(X.key,X):ne.set(X.index,X),X=X.sibling;return ne}function v(ne,X){return ne=us(ne,X),ne.index=0,ne.sibling=null,ne}function S(ne,X,se){return ne.index=se,s?(se=ne.alternate,se!==null?(se=se.index,se<X?(ne.flags|=2,X):se):(ne.flags|=2,X)):(ne.flags|=1048576,X)}function O(ne){return s&&ne.alternate===null&&(ne.flags|=2),ne}function U(ne,X,se,Pe){return X===null||X.tag!==6?(X=ag(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function Y(ne,X,se,Pe){var Ye=se.type;return Ye===z?be(ne,X,se.props.children,Pe,se.key):X!==null&&(X.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===X.type)?(Pe=v(X,se.props),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe)}function ce(ne,X,se,Pe){return X===null||X.tag!==4||X.stateNode.containerInfo!==se.containerInfo||X.stateNode.implementation!==se.implementation?(X=lg(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se.children||[]),X.return=ne,X)}function be(ne,X,se,Pe,Ye){return X===null||X.tag!==7?(X=ea(se,ne.mode,Pe,Ye),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function xe(ne,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return X=ag(""+X,ne.mode,se),X.return=ne,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case j:return se=$d(X.type,X.key,X.props,null,ne.mode,se),se.ref=vc(ne,null,X),se.return=ne,se;case R:return X=lg(X,ne.mode,se),X.return=ne,X;case pe:var Pe=X._init;return xe(ne,Pe(X._payload),se)}if(mt(X)||N(X))return X=ea(X,ne.mode,se,null),X.return=ne,X;Td(ne,X)}return null}function ye(ne,X,se,Pe){var Ye=X!==null?X.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return Ye!==null?null:U(ne,X,""+se,Pe);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return se.key===Ye?Y(ne,X,se,Pe):null;case R:return se.key===Ye?ce(ne,X,se,Pe):null;case pe:return Ye=se._init,ye(ne,X,Ye(se._payload),Pe)}if(mt(se)||N(se))return Ye!==null?null:be(ne,X,se,Pe,null);Td(ne,se)}return null}function Re(ne,X,se,Pe,Ye){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return ne=ne.get(se)||null,U(X,ne,""+Pe,Ye);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case j:return ne=ne.get(Pe.key===null?se:Pe.key)||null,Y(X,ne,Pe,Ye);case R:return ne=ne.get(Pe.key===null?se:Pe.key)||null,ce(X,ne,Pe,Ye);case pe:var Je=Pe._init;return Re(ne,X,se,Je(Pe._payload),Ye)}if(mt(Pe)||N(Pe))return ne=ne.get(se)||null,be(X,ne,Pe,Ye,null);Td(X,Pe)}return null}function Qe(ne,X,se,Pe){for(var Ye=null,Je=null,Ze=X,at=X=0,Dn=null;Ze!==null&&at<se.length;at++){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var Pt=ye(ne,Ze,se[at],Pe);if(Pt===null){Ze===null&&(Ze=Dn);break}s&&Ze&&Pt.alternate===null&&c(ne,Ze),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt,Ze=Dn}if(at===se.length)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;at<se.length;at++)Ze=xe(ne,se[at],Pe),Ze!==null&&(X=S(Ze,X,at),Je===null?Ye=Ze:Je.sibling=Ze,Je=Ze);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);at<se.length;at++)Dn=Re(Ze,ne,at,se[at],Pe),Dn!==null&&(s&&Dn.alternate!==null&&Ze.delete(Dn.key===null?at:Dn.key),X=S(Dn,X,at),Je===null?Ye=Dn:Je.sibling=Dn,Je=Dn);return s&&Ze.forEach(function(ds){return c(ne,ds)}),Kt&&Ys(ne,at),Ye}function Ue(ne,X,se,Pe){var Ye=N(se);if(typeof Ye!="function")throw Error(n(150));if(se=Ye.call(se),se==null)throw Error(n(151));for(var Je=Ye=null,Ze=X,at=X=0,Dn=null,Pt=se.next();Ze!==null&&!Pt.done;at++,Pt=se.next()){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var ds=ye(ne,Ze,Pt.value,Pe);if(ds===null){Ze===null&&(Ze=Dn);break}s&&Ze&&ds.alternate===null&&c(ne,Ze),X=S(ds,X,at),Je===null?Ye=ds:Je.sibling=ds,Je=ds,Ze=Dn}if(Pt.done)return f(ne,Ze),Kt&&Ys(ne,at),Ye;if(Ze===null){for(;!Pt.done;at++,Pt=se.next())Pt=xe(ne,Pt.value,Pe),Pt!==null&&(X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return Kt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);!Pt.done;at++,Pt=se.next())Pt=Re(Ze,ne,at,Pt.value,Pe),Pt!==null&&(s&&Pt.alternate!==null&&Ze.delete(Pt.key===null?at:Pt.key),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return s&&Ze.forEach(function($4){return c(ne,$4)}),Kt&&Ys(ne,at),Ye}function cn(ne,X,se,Pe){if(typeof se=="object"&&se!==null&&se.type===z&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case j:e:{for(var Ye=se.key,Je=X;Je!==null;){if(Je.key===Ye){if(Ye=se.type,Ye===z){if(Je.tag===7){f(ne,Je.sibling),X=v(Je,se.props.children),X.return=ne,ne=X;break e}}else if(Je.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===Je.type){f(ne,Je.sibling),X=v(Je,se.props),X.ref=vc(ne,Je,se),X.return=ne,ne=X;break e}f(ne,Je);break}else c(ne,Je);Je=Je.sibling}se.type===z?(X=ea(se.props.children,ne.mode,Pe,se.key),X.return=ne,ne=X):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,ne=Pe)}return O(ne);case R:e:{for(Je=se.key;X!==null;){if(X.key===Je)if(X.tag===4&&X.stateNode.containerInfo===se.containerInfo&&X.stateNode.implementation===se.implementation){f(ne,X.sibling),X=v(X,se.children||[]),X.return=ne,ne=X;break e}else{f(ne,X);break}else c(ne,X);X=X.sibling}X=lg(se,ne.mode,Pe),X.return=ne,ne=X}return O(ne);case pe:return Je=se._init,cn(ne,X,Je(se._payload),Pe)}if(mt(se))return Qe(ne,X,se,Pe);if(N(se))return Ue(ne,X,se,Pe);Td(ne,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,X!==null&&X.tag===6?(f(ne,X.sibling),X=v(X,se),X.return=ne,ne=X):(f(ne,X),X=ag(se,ne.mode,Pe),X.return=ne,ne=X),O(ne)):f(ne,X)}return cn}var Ga=Bw(!0),_w=Bw(!1),Bd=es(null),_d=null,Xa=null,mA=null;function vA(){mA=Xa=_d=null}function yA(s){var c=Bd.current;Wt(Bd),s._currentValue=c}function bA(s,c,f){for(;s!==null;){var g=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),s===f)break;s=s.return}}function Ja(s,c){_d=s,mA=Xa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(br=!0),s.firstContext=null)}function to(s){var c=s._currentValue;if(mA!==s)if(s={context:s,memoizedValue:c,next:null},Xa===null){if(_d===null)throw Error(n(308));Xa=s,_d.dependencies={lanes:0,firstContext:s}}else Xa=Xa.next=s;return c}var qs=null;function xA(s){qs===null?qs=[s]:qs.push(s)}function Iw(s,c,f,g){var v=c.interleaved;return v===null?(f.next=f,xA(c)):(f.next=v.next,v.next=f),c.interleaved=f,Si(s,g)}function Si(s,c){s.lanes|=c;var f=s.alternate;for(f!==null&&(f.lanes|=c),f=s,s=s.return;s!==null;)s.childLanes|=c,f=s.alternate,f!==null&&(f.childLanes|=c),f=s,s=s.return;return f.tag===3?f.stateNode:null}var rs=!1;function wA(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Ei(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function os(s,c,f){var g=s.updateQueue;if(g===null)return null;if(g=g.shared,(St&2)!==0){var v=g.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),g.pending=c,Si(s,f)}return v=g.interleaved,v===null?(c.next=c,xA(g)):(c.next=v.next,v.next=c),g.interleaved=c,Si(s,f)}function Id(s,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}function Ow(s,c){var f=s.updateQueue,g=s.alternate;if(g!==null&&(g=g.updateQueue,f===g)){var v=null,S=null;if(f=f.firstBaseUpdate,f!==null){do{var O={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};S===null?v=S=O:S=S.next=O,f=f.next}while(f!==null);S===null?v=S=c:S=S.next=c}else v=S=c;f={baseState:g.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:g.shared,effects:g.effects},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=c}function Md(s,c,f,g){var v=s.updateQueue;rs=!1;var S=v.firstBaseUpdate,O=v.lastBaseUpdate,U=v.shared.pending;if(U!==null){v.shared.pending=null;var Y=U,ce=Y.next;Y.next=null,O===null?S=ce:O.next=ce,O=Y;var be=s.alternate;be!==null&&(be=be.updateQueue,U=be.lastBaseUpdate,U!==O&&(U===null?be.firstBaseUpdate=ce:U.next=ce,be.lastBaseUpdate=Y))}if(S!==null){var xe=v.baseState;O=0,be=ce=Y=null,U=S;do{var ye=U.lane,Re=U.eventTime;if((g&ye)===ye){be!==null&&(be=be.next={eventTime:Re,lane:0,tag:U.tag,payload:U.payload,callback:U.callback,next:null});e:{var Qe=s,Ue=U;switch(ye=c,Re=f,Ue.tag){case 1:if(Qe=Ue.payload,typeof Qe=="function"){xe=Qe.call(Re,xe,ye);break e}xe=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=Ue.payload,ye=typeof Qe=="function"?Qe.call(Re,xe,ye):Qe,ye==null)break e;xe=de({},xe,ye);break e;case 2:rs=!0}}U.callback!==null&&U.lane!==0&&(s.flags|=64,ye=v.effects,ye===null?v.effects=[U]:ye.push(U))}else Re={eventTime:Re,lane:ye,tag:U.tag,payload:U.payload,callback:U.callback,next:null},be===null?(ce=be=Re,Y=xe):be=be.next=Re,O|=ye;if(U=U.next,U===null){if(U=v.shared.pending,U===null)break;ye=U,U=ye.next,ye.next=null,v.lastBaseUpdate=ye,v.shared.pending=null}}while(!0);if(be===null&&(Y=xe),v.baseState=Y,v.firstBaseUpdate=ce,v.lastBaseUpdate=be,c=v.shared.interleaved,c!==null){v=c;do O|=v.lane,v=v.next;while(v!==c)}else S===null&&(v.shared.lanes=0);Xs|=O,s.lanes=O,s.memoizedState=xe}}function Rw(s,c,f){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var g=s[c],v=g.callback;if(v!==null){if(g.callback=null,g=f,typeof v!="function")throw Error(n(191,v));v.call(g)}}}var yc={},$o=es(yc),bc=es(yc),xc=es(yc);function Ks(s){if(s===yc)throw Error(n(174));return s}function kA(s,c){switch(Qt(xc,c),Qt(bc,s),Qt($o,yc),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:nn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=nn(c,s)}Wt($o),Qt($o,c)}function Za(){Wt($o),Wt(bc),Wt(xc)}function Lw(s){Ks(xc.current);var c=Ks($o.current),f=nn(c,s.type);c!==f&&(Qt(bc,s),Qt($o,f))}function SA(s){bc.current===s&&(Wt($o),Wt(bc))}var $t=es(0);function Od(s){for(var c=s;c!==null;){if(c.tag===13){var f=c.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var EA=[];function CA(){for(var s=0;s<EA.length;s++)EA[s]._workInProgressVersionPrimary=null;EA.length=0}var Rd=C.ReactCurrentDispatcher,PA=C.ReactCurrentBatchConfig,Gs=0,en=null,xn=null,Cn=null,Ld=!1,wc=!1,kc=0,x4=0;function qn(){throw Error(n(321))}function DA(s,c){if(c===null)return!1;for(var f=0;f<c.length&&f<s.length;f++)if(!go(s[f],c[f]))return!1;return!0}function TA(s,c,f,g,v,S){if(Gs=S,en=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Rd.current=s===null||s.memoizedState===null?E4:C4,s=f(g,v),wc){S=0;do{if(wc=!1,kc=0,25<=S)throw Error(n(301));S+=1,Cn=xn=null,c.updateQueue=null,Rd.current=P4,s=f(g,v)}while(wc)}if(Rd.current=jd,c=xn!==null&&xn.next!==null,Gs=0,Cn=xn=en=null,Ld=!1,c)throw Error(n(300));return s}function BA(){var s=kc!==0;return kc=0,s}function ei(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s,Cn}function no(){if(xn===null){var s=en.alternate;s=s!==null?s.memoizedState:null}else s=xn.next;var c=Cn===null?en.memoizedState:Cn.next;if(c!==null)Cn=c,xn=s;else{if(s===null)throw Error(n(310));xn=s,s={memoizedState:xn.memoizedState,baseState:xn.baseState,baseQueue:xn.baseQueue,queue:xn.queue,next:null},Cn===null?en.memoizedState=Cn=s:Cn=Cn.next=s}return Cn}function Sc(s,c){return typeof c=="function"?c(s):c}function _A(s){var c=no(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=xn,v=g.baseQueue,S=f.pending;if(S!==null){if(v!==null){var O=v.next;v.next=S.next,S.next=O}g.baseQueue=v=S,f.pending=null}if(v!==null){S=v.next,g=g.baseState;var U=O=null,Y=null,ce=S;do{var be=ce.lane;if((Gs&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null}),g=ce.hasEagerState?ce.eagerState:s(g,ce.action);else{var xe={lane:be,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null};Y===null?(U=Y=xe,O=g):Y=Y.next=xe,en.lanes|=be,Xs|=be}ce=ce.next}while(ce!==null&&ce!==S);Y===null?O=g:Y.next=U,go(g,c.memoizedState)||(br=!0),c.memoizedState=g,c.baseState=O,c.baseQueue=Y,f.lastRenderedState=g}if(s=f.interleaved,s!==null){v=s;do S=v.lane,en.lanes|=S,Xs|=S,v=v.next;while(v!==s)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function IA(s){var c=no(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=f.dispatch,v=f.pending,S=c.memoizedState;if(v!==null){f.pending=null;var O=v=v.next;do S=s(S,O.action),O=O.next;while(O!==v);go(S,c.memoizedState)||(br=!0),c.memoizedState=S,c.baseQueue===null&&(c.baseState=S),f.lastRenderedState=S}return[S,g]}function Nw(){}function Fw(s,c){var f=en,g=no(),v=c(),S=!go(g.memoizedState,v);if(S&&(g.memoizedState=v,br=!0),g=g.queue,MA(Qw.bind(null,f,g,s),[s]),g.getSnapshot!==c||S||Cn!==null&&Cn.memoizedState.tag&1){if(f.flags|=2048,Ec(9,zw.bind(null,f,g,v,c),void 0,null),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(f,c,v)}return v}function jw(s,c,f){s.flags|=16384,s={getSnapshot:c,value:f},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.stores=[s]):(f=c.stores,f===null?c.stores=[s]:f.push(s))}function zw(s,c,f,g){c.value=f,c.getSnapshot=g,Hw(c)&&Uw(s)}function Qw(s,c,f){return f(function(){Hw(c)&&Uw(s)})}function Hw(s){var c=s.getSnapshot;s=s.value;try{var f=c();return!go(s,f)}catch{return!0}}function Uw(s){var c=Si(s,1);c!==null&&xo(c,s,1,-1)}function Vw(s){var c=ei();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sc,lastRenderedState:s},c.queue=s,s=s.dispatch=S4.bind(null,en,s),[c.memoizedState,s]}function Ec(s,c,f,g){return s={tag:s,create:c,destroy:f,deps:g,next:null},c=en.updateQueue,c===null?(c={lastEffect:null,stores:null},en.updateQueue=c,c.lastEffect=s.next=s):(f=c.lastEffect,f===null?c.lastEffect=s.next=s:(g=f.next,f.next=s,s.next=g,c.lastEffect=s)),s}function Ww(){return no().memoizedState}function Nd(s,c,f,g){var v=ei();en.flags|=s,v.memoizedState=Ec(1|c,f,void 0,g===void 0?null:g)}function Fd(s,c,f,g){var v=no();g=g===void 0?null:g;var S=void 0;if(xn!==null){var O=xn.memoizedState;if(S=O.destroy,g!==null&&DA(g,O.deps)){v.memoizedState=Ec(c,f,S,g);return}}en.flags|=s,v.memoizedState=Ec(1|c,f,S,g)}function Yw(s,c){return Nd(8390656,8,s,c)}function MA(s,c){return Fd(2048,8,s,c)}function qw(s,c){return Fd(4,2,s,c)}function Kw(s,c){return Fd(4,4,s,c)}function Gw(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function Xw(s,c,f){return f=f!=null?f.concat([s]):null,Fd(4,4,Gw.bind(null,c,s),f)}function OA(){}function Jw(s,c){var f=no();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(f.memoizedState=[s,c],s)}function Zw(s,c){var f=no();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(s=s(),f.memoizedState=[s,c],s)}function $w(s,c,f){return(Gs&21)===0?(s.baseState&&(s.baseState=!1,br=!0),s.memoizedState=f):(go(f,c)||(f=H(),en.lanes|=f,Xs|=f,s.baseState=!0),c)}function w4(s,c){var f=Ie;Ie=f!==0&&4>f?f:4,s(!0);var g=PA.transition;PA.transition={};try{s(!1),c()}finally{Ie=f,PA.transition=g}}function e1(){return no().memoizedState}function k4(s,c,f){var g=ls(s);if(f={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null},t1(s))n1(c,f);else if(f=Iw(s,c,f,g),f!==null){var v=nr();xo(f,s,g,v),r1(f,c,g)}}function S4(s,c,f){var g=ls(s),v={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null};if(t1(s))n1(c,v);else{var S=s.alternate;if(s.lanes===0&&(S===null||S.lanes===0)&&(S=c.lastRenderedReducer,S!==null))try{var O=c.lastRenderedState,U=S(O,f);if(v.hasEagerState=!0,v.eagerState=U,go(U,O)){var Y=c.interleaved;Y===null?(v.next=v,xA(c)):(v.next=Y.next,Y.next=v),c.interleaved=v;return}}catch{}f=Iw(s,c,v,g),f!==null&&(v=nr(),xo(f,s,g,v),r1(f,c,g))}}function t1(s){var c=s.alternate;return s===en||c!==null&&c===en}function n1(s,c){wc=Ld=!0;var f=s.pending;f===null?c.next=c:(c.next=f.next,f.next=c),s.pending=c}function r1(s,c,f){if((f&4194240)!==0){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}var jd={readContext:to,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useInsertionEffect:qn,useLayoutEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useMutableSource:qn,useSyncExternalStore:qn,useId:qn,unstable_isNewReconciler:!1},E4={readContext:to,useCallback:function(s,c){return ei().memoizedState=[s,c===void 0?null:c],s},useContext:to,useEffect:Yw,useImperativeHandle:function(s,c,f){return f=f!=null?f.concat([s]):null,Nd(4194308,4,Gw.bind(null,c,s),f)},useLayoutEffect:function(s,c){return Nd(4194308,4,s,c)},useInsertionEffect:function(s,c){return Nd(4,2,s,c)},useMemo:function(s,c){var f=ei();return c=c===void 0?null:c,s=s(),f.memoizedState=[s,c],s},useReducer:function(s,c,f){var g=ei();return c=f!==void 0?f(c):c,g.memoizedState=g.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},g.queue=s,s=s.dispatch=k4.bind(null,en,s),[g.memoizedState,s]},useRef:function(s){var c=ei();return s={current:s},c.memoizedState=s},useState:Vw,useDebugValue:OA,useDeferredValue:function(s){return ei().memoizedState=s},useTransition:function(){var s=Vw(!1),c=s[0];return s=w4.bind(null,s[1]),ei().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,f){var g=en,v=ei();if(Kt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(g,c,f)}v.memoizedState=f;var S={value:f,getSnapshot:c};return v.queue=S,Yw(Qw.bind(null,g,S,s),[s]),g.flags|=2048,Ec(9,zw.bind(null,g,S,f,c),void 0,null),f},useId:function(){var s=ei(),c=Pn.identifierPrefix;if(Kt){var f=ki,g=wi;f=(g&~(1<<32-bn(g)-1)).toString(32)+f,c=":"+c+"R"+f,f=kc++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=x4++,c=":"+c+"r"+f.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},C4={readContext:to,useCallback:Jw,useContext:to,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:_A,useRef:Ww,useState:function(){return _A(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=no();return $w(c,xn.memoizedState,s)},useTransition:function(){var s=_A(Sc)[0],c=no().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1},P4={readContext:to,useCallback:Jw,useContext:to,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:IA,useRef:Ww,useState:function(){return IA(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=no();return xn===null?c.memoizedState=s:$w(c,xn.memoizedState,s)},useTransition:function(){var s=IA(Sc)[0],c=no().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1};function vo(s,c){if(s&&s.defaultProps){c=de({},c),s=s.defaultProps;for(var f in s)c[f]===void 0&&(c[f]=s[f]);return c}return c}function RA(s,c,f,g){c=s.memoizedState,f=f(g,c),f=f==null?c:de({},c,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var zd={isMounted:function(s){return(s=s._reactInternals)?En(s)===s:!1},enqueueSetState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Ei(g,v);S.payload=c,f!=null&&(S.callback=f),c=os(s,S,v),c!==null&&(xo(c,s,v,g),Id(c,s,v))},enqueueReplaceState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Ei(g,v);S.tag=1,S.payload=c,f!=null&&(S.callback=f),c=os(s,S,v),c!==null&&(xo(c,s,v,g),Id(c,s,v))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var f=nr(),g=ls(s),v=Ei(f,g);v.tag=2,c!=null&&(v.callback=c),c=os(s,v,g),c!==null&&(xo(c,s,g,f),Id(c,s,g))}};function o1(s,c,f,g,v,S,O){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(g,S,O):c.prototype&&c.prototype.isPureReactComponent?!dc(f,g)||!dc(v,S):!0}function i1(s,c,f){var g=!1,v=ts,S=c.contextType;return typeof S=="object"&&S!==null?S=to(S):(v=yr(c)?Vs:Yn.current,g=c.contextTypes,S=(g=g!=null)?Wa(s,v):ts),c=new c(f,S),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zd,s.stateNode=c,c._reactInternals=s,g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=S),c}function s1(s,c,f,g){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,g),c.state!==s&&zd.enqueueReplaceState(c,c.state,null)}function LA(s,c,f,g){var v=s.stateNode;v.props=f,v.state=s.memoizedState,v.refs={},wA(s);var S=c.contextType;typeof S=="object"&&S!==null?v.context=to(S):(S=yr(c)?Vs:Yn.current,v.context=Wa(s,S)),v.state=s.memoizedState,S=c.getDerivedStateFromProps,typeof S=="function"&&(RA(s,c,S,f),v.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(c=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),c!==v.state&&zd.enqueueReplaceState(v,v.state,null),Md(s,f,v,g),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function $a(s,c){try{var f="",g=c;do f+=we(g),g=g.return;while(g);var v=f}catch(S){v=`
5
+ `+v[O].replace(" at new "," at ");return s.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",s.displayName)),Y}while(1<=O&&0<=U);break}}}finally{ve=!1,Error.prepareStackTrace=f}return(s=s?s.displayName||s.name:"")?J(s):""}function we(s){switch(s.tag){case 5:return J(s.type);case 16:return J("Lazy");case 13:return J("Suspense");case 19:return J("SuspenseList");case 0:case 2:case 15:return s=me(s.type,!1),s;case 11:return s=me(s.type.render,!1),s;case 1:return s=me(s.type,!0),s;default:return""}}function _e(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case z:return"Fragment";case R:return"Portal";case K:return"Profiler";case V:return"StrictMode";case oe:return"Suspense";case ue:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Z:return(s.displayName||"Context")+".Consumer";case q:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case te:return c=s.displayName||null,c!==null?c:_e(s.type)||"Memo";case pe:c=s._payload,s=s._init;try{return _e(s(c))}catch{}}return null}function Oe(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(c);case 8:return c===V?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function Ve(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function ze(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function $e(s){var c=ze(s)?"checked":"value",f=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),g=""+s[c];if(!s.hasOwnProperty(c)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,S=f.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return v.call(this)},set:function(O){g=""+O,S.call(this,O)}}),Object.defineProperty(s,c,{enumerable:f.enumerable}),{getValue:function(){return g},setValue:function(O){g=""+O},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function wt(s){s._valueTracker||(s._valueTracker=$e(s))}function Me(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var f=c.getValue(),g="";return s&&(g=ze(s)?s.checked?"true":"false":s.value),s=g,s!==f?(c.setValue(s),!0):!1}function Ee(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Xe(s,c){var f=c.checked;return de({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??s._wrapperState.initialChecked})}function Ge(s,c){var f=c.defaultValue==null?"":c.defaultValue,g=c.checked!=null?c.checked:c.defaultChecked;f=Ve(c.value!=null?c.value:f),s._wrapperState={initialChecked:g,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function At(s,c){c=c.checked,c!=null&&D(s,"checked",c,!1)}function lt(s,c){At(s,c);var f=Ve(c.value),g=c.type;if(f!=null)g==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=""+f):s.value!==""+f&&(s.value=""+f);else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?yt(s,c.type,f):c.hasOwnProperty("defaultValue")&&yt(s,c.type,Ve(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function gt(s,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var g=c.type;if(!(g!=="submit"&&g!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,f||c===s.value||(s.value=c),s.defaultValue=c}f=s.name,f!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,f!==""&&(s.name=f)}function yt(s,c,f){(c!=="number"||Ee(s.ownerDocument)!==s)&&(f==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+f&&(s.defaultValue=""+f))}var mt=Array.isArray;function Rt(s,c,f,g){if(s=s.options,c){c={};for(var v=0;v<f.length;v++)c["$"+f[v]]=!0;for(f=0;f<s.length;f++)v=c.hasOwnProperty("$"+s[f].value),s[f].selected!==v&&(s[f].selected=v),v&&g&&(s[f].defaultSelected=!0)}else{for(f=""+Ve(f),c=null,v=0;v<s.length;v++){if(s[v].value===f){s[v].selected=!0,g&&(s[v].defaultSelected=!0);return}c!==null||s[v].disabled||(c=s[v])}c!==null&&(c.selected=!0)}}function dt(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return de({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Ke(s,c){var f=c.value;if(f==null){if(f=c.children,c=c.defaultValue,f!=null){if(c!=null)throw Error(n(92));if(mt(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}s._wrapperState={initialValue:Ve(f)}}function fn(s,c){var f=Ve(c.value),g=Ve(c.defaultValue);f!=null&&(f=""+f,f!==s.value&&(s.value=f),c.defaultValue==null&&s.defaultValue!==f&&(s.defaultValue=f)),g!=null&&(s.defaultValue=""+g)}function Yt(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function vn(s){switch(s){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 qt(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?vn(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var _t,fe=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,g,v){MSApp.execUnsafeLocalFunction(function(){return s(c,f,g,v)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(_t=_t||document.createElement("div"),_t.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=_t.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Le(s,c){if(c){var f=s.firstChild;if(f&&f===s.lastChild&&f.nodeType===3){f.nodeValue=c;return}}s.textContent=c}var Be={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},ct=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(s){ct.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),Be[c]=Be[s]})});function We(s,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Be.hasOwnProperty(s)&&Be[s]?(""+c).trim():c+"px"}function le(s,c){s=s.style;for(var f in c)if(c.hasOwnProperty(f)){var g=f.indexOf("--")===0,v=We(f,c[f],g);f==="float"&&(f="cssFloat"),g?s.setProperty(f,v):s[f]=v}}var Ce=de({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 Te(s,c){if(c){if(Ce[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function qe(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 He=null;function Ne(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var bt=null,xt=null,it=null;function $t(s){if(s=mc(s)){if(typeof bt!="function")throw Error(n(280));var c=s.stateNode;c&&(c=wd(c),bt(s.stateNode,s.type,c))}}function Kt(s){xt?it?it.push(s):it=[s]:xt=s}function rn(){if(xt){var s=xt,c=it;if(it=xt=null,$t(s),c)for(s=0;s<c.length;s++)$t(c[s])}}function Ut(s,c){return s(c)}function an(){}var zt=!1;function Sn(s,c,f){if(zt)return s(c,f);zt=!0;try{return Ut(s,c,f)}finally{zt=!1,(xt!==null||it!==null)&&(an(),rn())}}function Qn(s,c){var f=s.stateNode;if(f===null)return null;var g=wd(f);if(g===null)return null;f=g[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(s=s.type,g=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!g;break e;default:s=!1}if(s)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var Ir=!1;if(l)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){Ir=!0}}),window.addEventListener("test",ln,ln),window.removeEventListener("test",ln,ln)}catch{Ir=!1}function Hn(s,c,f,g,v,S,O,U,Y){var ce=Array.prototype.slice.call(arguments,3);try{c.apply(f,ce)}catch(be){this.onError(be)}}var yn=!1,Jn=null,Mn=!1,pn=null,Mr={onError:function(s){yn=!0,Jn=s}};function Qo(s,c,f,g,v,S,O,U,Y){yn=!1,Jn=null,Hn.apply(Mr,arguments)}function ur(s,c,f,g,v,S,O,U,Y){if(Qo.apply(this,arguments),yn){if(yn){var ce=Jn;yn=!1,Jn=null}else throw Error(n(198));Mn||(Mn=!0,pn=ce)}}function En(s){var c=s,f=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(f=c.return),s=c.return;while(s)}return c.tag===3?f:null}function Zn(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function on(s){if(En(s)!==s)throw Error(n(188))}function Ho(s){var c=s.alternate;if(!c){if(c=En(s),c===null)throw Error(n(188));return c!==s?null:s}for(var f=s,g=c;;){var v=f.return;if(v===null)break;var S=v.alternate;if(S===null){if(g=v.return,g!==null){f=g;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===f)return on(v),s;if(S===g)return on(v),c;S=S.sibling}throw Error(n(188))}if(f.return!==g.return)f=v,g=S;else{for(var O=!1,U=v.child;U;){if(U===f){O=!0,f=v,g=S;break}if(U===g){O=!0,g=v,f=S;break}U=U.sibling}if(!O){for(U=S.child;U;){if(U===f){O=!0,f=S,g=v;break}if(U===g){O=!0,g=S,f=v;break}U=U.sibling}if(!O)throw Error(n(189))}}if(f.alternate!==g)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?s:c}function co(s){return s=Ho(s),s!==null?Uo(s):null}function Uo(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Uo(s);if(c!==null)return c;s=s.sibling}return null}var pi=e.unstable_scheduleCallback,_s=e.unstable_cancelCallback,Pa=e.unstable_shouldYield,Da=e.unstable_requestPaint,Lt=e.unstable_now,On=e.unstable_getCurrentPriorityLevel,Yi=e.unstable_ImmediatePriority,qi=e.unstable_UserBlockingPriority,Vo=e.unstable_NormalPriority,Ta=e.unstable_LowPriority,uo=e.unstable_IdlePriority,Or=null,$n=null;function hi(s){if($n&&typeof $n.onCommitFiberRoot=="function")try{$n.onCommitFiberRoot(Or,s,void 0,(s.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:Os,Is=Math.log,Ms=Math.LN2;function Os(s){return s>>>=0,s===0?32:31-(Is(s)/Ms|0)|0}var fo=64,Ai=4194304;function Wo(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Yo(s,c){var f=s.pendingLanes;if(f===0)return 0;var g=0,v=s.suspendedLanes,S=s.pingedLanes,O=f&268435455;if(O!==0){var U=O&~v;U!==0?g=Wo(U):(S&=O,S!==0&&(g=Wo(S)))}else O=f&~v,O!==0?g=Wo(O):S!==0&&(g=Wo(S));if(g===0)return 0;if(c!==0&&c!==g&&(c&v)===0&&(v=g&-g,S=c&-c,v>=S||v===16&&(S&4194240)!==0))return c;if((g&4)!==0&&(g|=f&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=g;0<c;)f=31-bn(c),v=1<<f,g|=s[f],c&=~v;return g}function x(s,c){switch(s){case 1:case 2:case 4:return c+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 c+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 _(s,c){for(var f=s.suspendedLanes,g=s.pingedLanes,v=s.expirationTimes,S=s.pendingLanes;0<S;){var O=31-bn(S),U=1<<O,Y=v[O];Y===-1?((U&f)===0||(U&g)!==0)&&(v[O]=x(U,c)):Y<=c&&(s.expiredLanes|=U),S&=~U}}function F(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function H(){var s=fo;return fo<<=1,(fo&4194240)===0&&(fo=64),s}function ie(s){for(var c=[],f=0;31>f;f++)c.push(s);return c}function $(s,c,f){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-bn(c),s[c]=f}function he(s,c){var f=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var g=s.eventTimes;for(s=s.expirationTimes;0<f;){var v=31-bn(f),S=1<<v;c[v]=0,g[v]=-1,s[v]=-1,f&=~S}}function De(s,c){var f=s.entangledLanes|=c;for(s=s.entanglements;f;){var g=31-bn(f),v=1<<g;v&c|s[g]&c&&(s[g]|=c),f&=~v}}var Ie=0;function tt(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var ut,It,dr,fr,Un,po=!1,pr=[],hr=null,Vn=null,Rr=null,Ar=new Map,qo=new Map,Ko=[],Wh="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 ad(s,c){switch(s){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Rr=null;break;case"pointerover":case"pointerout":Ar.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":qo.delete(c.pointerId)}}function Rs(s,c,f,g,v,S){return s===null||s.nativeEvent!==S?(s={blockedOn:c,domEventName:f,eventSystemFlags:g,nativeEvent:S,targetContainers:[v]},c!==null&&(c=mc(c),c!==null&&It(c)),s):(s.eventSystemFlags|=g,c=s.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),s)}function Yh(s,c,f,g,v){switch(c){case"focusin":return hr=Rs(hr,s,c,f,g,v),!0;case"dragenter":return Vn=Rs(Vn,s,c,f,g,v),!0;case"mouseover":return Rr=Rs(Rr,s,c,f,g,v),!0;case"pointerover":var S=v.pointerId;return Ar.set(S,Rs(Ar.get(S)||null,s,c,f,g,v)),!0;case"gotpointercapture":return S=v.pointerId,qo.set(S,Rs(qo.get(S)||null,s,c,f,g,v)),!0}return!1}function Jr(s){var c=Us(s.target);if(c!==null){var f=En(c);if(f!==null){if(c=f.tag,c===13){if(c=Zn(f),c!==null){s.blockedOn=c,Un(s.priority,function(){dr(f)});return}}else if(c===3&&f.stateNode.current.memoizedState.isDehydrated){s.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}s.blockedOn=null}function Ki(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var f=Ns(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(f===null){f=s.nativeEvent;var g=new f.constructor(f.type,f);He=g,f.target.dispatchEvent(g),He=null}else return c=mc(f),c!==null&&It(c),s.blockedOn=f,!1;c.shift()}return!0}function Ls(s,c,f){Ki(s)&&f.delete(c)}function Mt(){po=!1,hr!==null&&Ki(hr)&&(hr=null),Vn!==null&&Ki(Vn)&&(Vn=null),Rr!==null&&Ki(Rr)&&(Rr=null),Ar.forEach(Ls),qo.forEach(Ls)}function ho(s,c){s.blockedOn===c&&(s.blockedOn=null,po||(po=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Mt)))}function Go(s){function c(v){return ho(v,s)}if(0<pr.length){ho(pr[0],s);for(var f=1;f<pr.length;f++){var g=pr[f];g.blockedOn===s&&(g.blockedOn=null)}}for(hr!==null&&ho(hr,s),Vn!==null&&ho(Vn,s),Rr!==null&&ho(Rr,s),Ar.forEach(c),qo.forEach(c),f=0;f<Ko.length;f++)g=Ko[f],g.blockedOn===s&&(g.blockedOn=null);for(;0<Ko.length&&(f=Ko[0],f.blockedOn===null);)Jr(f),f.blockedOn===null&&Ko.shift()}var Zr=C.ReactCurrentBatchConfig,Lr=!0;function Ba(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=1,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function gi(s,c,f,g){var v=Ie,S=Zr.transition;Zr.transition=null;try{Ie=4,_a(s,c,f,g)}finally{Ie=v,Zr.transition=S}}function _a(s,c,f,g){if(Lr){var v=Ns(s,c,f,g);if(v===null)rA(s,c,g,Gi,f),ad(s,g);else if(Yh(v,s,c,f,g))g.stopPropagation();else if(ad(s,g),c&4&&-1<Wh.indexOf(s)){for(;v!==null;){var S=mc(v);if(S!==null&&ut(S),S=Ns(s,c,f,g),S===null&&rA(s,c,g,Gi,f),S===v)break;v=S}v!==null&&g.stopPropagation()}else rA(s,c,g,null,f)}}var Gi=null;function Ns(s,c,f,g){if(Gi=null,s=Ne(g),s=Us(s),s!==null)if(c=En(s),c===null)s=null;else if(f=c.tag,f===13){if(s=Zn(c),s!==null)return s;s=null}else if(f===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Gi=s,null}function tc(s){switch(s){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(On()){case Yi:return 1;case qi:return 4;case Vo:case Ta:return 16;case uo:return 536870912;default:return 16}default:return 16}}var Ao=null,Ia=null,Ma=null;function ld(){if(Ma)return Ma;var s,c=Ia,f=c.length,g,v="value"in Ao?Ao.value:Ao.textContent,S=v.length;for(s=0;s<f&&c[s]===v[s];s++);var O=f-s;for(g=1;g<=O&&c[f-g]===v[S-g];g++);return Ma=v.slice(s,1<g?1-g:void 0)}function mi(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Fs(){return!0}function js(){return!1}function Rn(s){function c(f,g,v,S,O){this._reactName=f,this._targetInst=v,this.type=g,this.nativeEvent=S,this.target=O,this.currentTarget=null;for(var U in s)s.hasOwnProperty(U)&&(f=s[U],this[U]=f?f(S):S[U]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Fs:js,this.isPropagationStopped=js,this}return de(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Fs)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Fs)},persist:function(){},isPersistent:Fs}),c}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vi=Rn(Xi),zs=de({},Xi,{view:0,detail:0}),nc=Rn(zs),Ji,yi,Xo,Qs=de({},zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fa,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Xo&&(Xo&&s.type==="mousemove"?(Ji=s.screenX-Xo.screenX,yi=s.screenY-Xo.screenY):yi=Ji=0,Xo=s),Ji)},movementY:function(s){return"movementY"in s?s.movementY:yi}}),rc=Rn(Qs),cd=de({},Qs,{dataTransfer:0}),oc=Rn(cd),er=de({},zs,{relatedTarget:0}),Oa=Rn(er),ic=de({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),qh=Rn(ic),ud=de({},Xi,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Ra=Rn(ud),dd=de({},Xi,{data:0}),sc=Rn(dd),La={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Na={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"},fd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pd(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=fd[s])?!!c[s]:!1}function Fa(){return pd}var ac=de({},zs,{key:function(s){if(s.key){var c=La[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=mi(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Na[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(s){return s.type==="keypress"?mi(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?mi(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),hd=Rn(ac),k=de({},Qs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B=Rn(k),L=de({},zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Q=Rn(L),ae=de({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),re=Rn(ae),Ae=de({},Qs,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),ke=Rn(Ae),et=[9,13,27,32],ft=l&&"CompositionEvent"in window,st=null;l&&"documentMode"in document&&(st=document.documentMode);var Nt=l&&"TextEvent"in window&&!st,Wn=l&&(!ft||st&&8<st&&11>=st),gr=" ",mr=!1;function Hs(s,c){switch(s){case"keyup":return et.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lc(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Jo=!1;function JM(s,c){switch(s){case"compositionend":return lc(c);case"keypress":return c.which!==32?null:(mr=!0,gr);case"textInput":return s=c.data,s===gr&&mr?null:s;default:return null}}function ZM(s,c){if(Jo)return s==="compositionend"||!ft&&Hs(s,c)?(s=ld(),Ma=Ia=Ao=null,Jo=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return Wn&&c.locale!=="ko"?null:c.data;default:return null}}var $M={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 Gx(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!$M[s.type]:c==="textarea"}function Xx(s,c,f,g){Kt(g),c=yd(c,"onChange"),0<c.length&&(f=new vi("onChange","change",null,f,g),s.push({event:f,listeners:c}))}var cc=null,uc=null;function e4(s){hw(s,0)}function Ad(s){var c=Ua(s);if(Me(c))return s}function t4(s,c){if(s==="change")return c}var Jx=!1;if(l){var Kh;if(l){var Gh="oninput"in document;if(!Gh){var Zx=document.createElement("div");Zx.setAttribute("oninput","return;"),Gh=typeof Zx.oninput=="function"}Kh=Gh}else Kh=!1;Jx=Kh&&(!document.documentMode||9<document.documentMode)}function $x(){cc&&(cc.detachEvent("onpropertychange",ew),uc=cc=null)}function ew(s){if(s.propertyName==="value"&&Ad(uc)){var c=[];Xx(c,uc,s,Ne(s)),Sn(e4,c)}}function n4(s,c,f){s==="focusin"?($x(),cc=c,uc=f,cc.attachEvent("onpropertychange",ew)):s==="focusout"&&$x()}function r4(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ad(uc)}function o4(s,c){if(s==="click")return Ad(c)}function i4(s,c){if(s==="input"||s==="change")return Ad(c)}function s4(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var go=typeof Object.is=="function"?Object.is:s4;function dc(s,c){if(go(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var f=Object.keys(s),g=Object.keys(c);if(f.length!==g.length)return!1;for(g=0;g<f.length;g++){var v=f[g];if(!u.call(c,v)||!go(s[v],c[v]))return!1}return!0}function tw(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function nw(s,c){var f=tw(s);s=0;for(var g;f;){if(f.nodeType===3){if(g=s+f.textContent.length,s<=c&&g>=c)return{node:f,offset:c-s};s=g}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=tw(f)}}function rw(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?rw(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function ow(){for(var s=window,c=Ee();c instanceof s.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)s=c.contentWindow;else break;c=Ee(s.document)}return c}function Xh(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function a4(s){var c=ow(),f=s.focusedElem,g=s.selectionRange;if(c!==f&&f&&f.ownerDocument&&rw(f.ownerDocument.documentElement,f)){if(g!==null&&Xh(f)){if(c=g.start,s=g.end,s===void 0&&(s=c),"selectionStart"in f)f.selectionStart=c,f.selectionEnd=Math.min(s,f.value.length);else if(s=(c=f.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var v=f.textContent.length,S=Math.min(g.start,v);g=g.end===void 0?S:Math.min(g.end,v),!s.extend&&S>g&&(v=g,g=S,S=v),v=nw(f,S);var O=nw(f,g);v&&O&&(s.rangeCount!==1||s.anchorNode!==v.node||s.anchorOffset!==v.offset||s.focusNode!==O.node||s.focusOffset!==O.offset)&&(c=c.createRange(),c.setStart(v.node,v.offset),s.removeAllRanges(),S>g?(s.addRange(c),s.extend(O.node,O.offset)):(c.setEnd(O.node,O.offset),s.addRange(c)))}}for(c=[],s=f;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<c.length;f++)s=c[f],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var l4=l&&"documentMode"in document&&11>=document.documentMode,ja=null,Jh=null,fc=null,Zh=!1;function iw(s,c,f){var g=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Zh||ja==null||ja!==Ee(g)||(g=ja,"selectionStart"in g&&Xh(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),fc&&dc(fc,g)||(fc=g,g=yd(Jh,"onSelect"),0<g.length&&(c=new vi("onSelect","select",null,c,f),s.push({event:c,listeners:g}),c.target=ja)))}function gd(s,c){var f={};return f[s.toLowerCase()]=c.toLowerCase(),f["Webkit"+s]="webkit"+c,f["Moz"+s]="moz"+c,f}var za={animationend:gd("Animation","AnimationEnd"),animationiteration:gd("Animation","AnimationIteration"),animationstart:gd("Animation","AnimationStart"),transitionend:gd("Transition","TransitionEnd")},$h={},sw={};l&&(sw=document.createElement("div").style,"AnimationEvent"in window||(delete za.animationend.animation,delete za.animationiteration.animation,delete za.animationstart.animation),"TransitionEvent"in window||delete za.transitionend.transition);function md(s){if($h[s])return $h[s];if(!za[s])return s;var c=za[s],f;for(f in c)if(c.hasOwnProperty(f)&&f in sw)return $h[s]=c[f];return s}var aw=md("animationend"),lw=md("animationiteration"),cw=md("animationstart"),uw=md("transitionend"),dw=new Map,fw="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 Zi(s,c){dw.set(s,c),i(c,[s])}for(var eA=0;eA<fw.length;eA++){var tA=fw[eA],c4=tA.toLowerCase(),u4=tA[0].toUpperCase()+tA.slice(1);Zi(c4,"on"+u4)}Zi(aw,"onAnimationEnd"),Zi(lw,"onAnimationIteration"),Zi(cw,"onAnimationStart"),Zi("dblclick","onDoubleClick"),Zi("focusin","onFocus"),Zi("focusout","onBlur"),Zi(uw,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="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(" "),d4=new Set("cancel close invalid load scroll toggle".split(" ").concat(pc));function pw(s,c,f){var g=s.type||"unknown-event";s.currentTarget=f,ur(g,c,void 0,s),s.currentTarget=null}function hw(s,c){c=(c&4)!==0;for(var f=0;f<s.length;f++){var g=s[f],v=g.event;g=g.listeners;e:{var S=void 0;if(c)for(var O=g.length-1;0<=O;O--){var U=g[O],Y=U.instance,ce=U.currentTarget;if(U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}else for(O=0;O<g.length;O++){if(U=g[O],Y=U.instance,ce=U.currentTarget,U=U.listener,Y!==S&&v.isPropagationStopped())break e;pw(v,U,ce),S=Y}}}if(Mn)throw s=pn,Mn=!1,pn=null,s}function Vt(s,c){var f=c[cA];f===void 0&&(f=c[cA]=new Set);var g=s+"__bubble";f.has(g)||(Aw(c,s,2,!1),f.add(g))}function nA(s,c,f){var g=0;c&&(g|=4),Aw(f,s,g,c)}var vd="_reactListening"+Math.random().toString(36).slice(2);function hc(s){if(!s[vd]){s[vd]=!0,r.forEach(function(f){f!=="selectionchange"&&(d4.has(f)||nA(f,!1,s),nA(f,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[vd]||(c[vd]=!0,nA("selectionchange",!1,c))}}function Aw(s,c,f,g){switch(tc(c)){case 1:var v=Ba;break;case 4:v=gi;break;default:v=_a}f=v.bind(null,c,f,s),v=void 0,!Ir||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),g?v!==void 0?s.addEventListener(c,f,{capture:!0,passive:v}):s.addEventListener(c,f,!0):v!==void 0?s.addEventListener(c,f,{passive:v}):s.addEventListener(c,f,!1)}function rA(s,c,f,g,v){var S=g;if((c&1)===0&&(c&2)===0&&g!==null)e:for(;;){if(g===null)return;var O=g.tag;if(O===3||O===4){var U=g.stateNode.containerInfo;if(U===v||U.nodeType===8&&U.parentNode===v)break;if(O===4)for(O=g.return;O!==null;){var Y=O.tag;if((Y===3||Y===4)&&(Y=O.stateNode.containerInfo,Y===v||Y.nodeType===8&&Y.parentNode===v))return;O=O.return}for(;U!==null;){if(O=Us(U),O===null)return;if(Y=O.tag,Y===5||Y===6){g=S=O;continue e}U=U.parentNode}}g=g.return}Sn(function(){var ce=S,be=Ne(f),xe=[];e:{var ye=dw.get(s);if(ye!==void 0){var Re=vi,Qe=s;switch(s){case"keypress":if(mi(f)===0)break e;case"keydown":case"keyup":Re=hd;break;case"focusin":Qe="focus",Re=Oa;break;case"focusout":Qe="blur",Re=Oa;break;case"beforeblur":case"afterblur":Re=Oa;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Re=rc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Re=oc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Re=Q;break;case aw:case lw:case cw:Re=qh;break;case uw:Re=re;break;case"scroll":Re=nc;break;case"wheel":Re=ke;break;case"copy":case"cut":case"paste":Re=Ra;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Re=B}var Ue=(c&4)!==0,cn=!Ue&&s==="scroll",ne=Ue?ye!==null?ye+"Capture":null:ye;Ue=[];for(var X=ce,se;X!==null;){se=X;var Pe=se.stateNode;if(se.tag===5&&Pe!==null&&(se=Pe,ne!==null&&(Pe=Qn(X,ne),Pe!=null&&Ue.push(Ac(X,Pe,se)))),cn)break;X=X.return}0<Ue.length&&(ye=new Re(ye,Qe,null,f,be),xe.push({event:ye,listeners:Ue}))}}if((c&7)===0){e:{if(ye=s==="mouseover"||s==="pointerover",Re=s==="mouseout"||s==="pointerout",ye&&f!==He&&(Qe=f.relatedTarget||f.fromElement)&&(Us(Qe)||Qe[bi]))break e;if((Re||ye)&&(ye=be.window===be?be:(ye=be.ownerDocument)?ye.defaultView||ye.parentWindow:window,Re?(Qe=f.relatedTarget||f.toElement,Re=ce,Qe=Qe?Us(Qe):null,Qe!==null&&(cn=En(Qe),Qe!==cn||Qe.tag!==5&&Qe.tag!==6)&&(Qe=null)):(Re=null,Qe=ce),Re!==Qe)){if(Ue=rc,Pe="onMouseLeave",ne="onMouseEnter",X="mouse",(s==="pointerout"||s==="pointerover")&&(Ue=B,Pe="onPointerLeave",ne="onPointerEnter",X="pointer"),cn=Re==null?ye:Ua(Re),se=Qe==null?ye:Ua(Qe),ye=new Ue(Pe,X+"leave",Re,f,be),ye.target=cn,ye.relatedTarget=se,Pe=null,Us(be)===ce&&(Ue=new Ue(ne,X+"enter",Qe,f,be),Ue.target=se,Ue.relatedTarget=cn,Pe=Ue),cn=Pe,Re&&Qe)t:{for(Ue=Re,ne=Qe,X=0,se=Ue;se;se=Qa(se))X++;for(se=0,Pe=ne;Pe;Pe=Qa(Pe))se++;for(;0<X-se;)Ue=Qa(Ue),X--;for(;0<se-X;)ne=Qa(ne),se--;for(;X--;){if(Ue===ne||ne!==null&&Ue===ne.alternate)break t;Ue=Qa(Ue),ne=Qa(ne)}Ue=null}else Ue=null;Re!==null&&gw(xe,ye,Re,Ue,!1),Qe!==null&&cn!==null&&gw(xe,cn,Qe,Ue,!0)}}e:{if(ye=ce?Ua(ce):window,Re=ye.nodeName&&ye.nodeName.toLowerCase(),Re==="select"||Re==="input"&&ye.type==="file")var Ye=t4;else if(Gx(ye))if(Jx)Ye=i4;else{Ye=r4;var Je=n4}else(Re=ye.nodeName)&&Re.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=o4);if(Ye&&(Ye=Ye(s,ce))){Xx(xe,Ye,f,be);break e}Je&&Je(s,ye,ce),s==="focusout"&&(Je=ye._wrapperState)&&Je.controlled&&ye.type==="number"&&yt(ye,"number",ye.value)}switch(Je=ce?Ua(ce):window,s){case"focusin":(Gx(Je)||Je.contentEditable==="true")&&(ja=Je,Jh=ce,fc=null);break;case"focusout":fc=Jh=ja=null;break;case"mousedown":Zh=!0;break;case"contextmenu":case"mouseup":case"dragend":Zh=!1,iw(xe,f,be);break;case"selectionchange":if(l4)break;case"keydown":case"keyup":iw(xe,f,be)}var Ze;if(ft)e:{switch(s){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Jo?Hs(s,f)&&(at="onCompositionEnd"):s==="keydown"&&f.keyCode===229&&(at="onCompositionStart");at&&(Wn&&f.locale!=="ko"&&(Jo||at!=="onCompositionStart"?at==="onCompositionEnd"&&Jo&&(Ze=ld()):(Ao=be,Ia="value"in Ao?Ao.value:Ao.textContent,Jo=!0)),Je=yd(ce,at),0<Je.length&&(at=new sc(at,s,null,f,be),xe.push({event:at,listeners:Je}),Ze?at.data=Ze:(Ze=lc(f),Ze!==null&&(at.data=Ze)))),(Ze=Nt?JM(s,f):ZM(s,f))&&(ce=yd(ce,"onBeforeInput"),0<ce.length&&(be=new sc("onBeforeInput","beforeinput",null,f,be),xe.push({event:be,listeners:ce}),be.data=Ze))}hw(xe,c)})}function Ac(s,c,f){return{instance:s,listener:c,currentTarget:f}}function yd(s,c){for(var f=c+"Capture",g=[];s!==null;){var v=s,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Qn(s,f),S!=null&&g.unshift(Ac(s,S,v)),S=Qn(s,c),S!=null&&g.push(Ac(s,S,v))),s=s.return}return g}function Qa(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function gw(s,c,f,g,v){for(var S=c._reactName,O=[];f!==null&&f!==g;){var U=f,Y=U.alternate,ce=U.stateNode;if(Y!==null&&Y===g)break;U.tag===5&&ce!==null&&(U=ce,v?(Y=Qn(f,S),Y!=null&&O.unshift(Ac(f,Y,U))):v||(Y=Qn(f,S),Y!=null&&O.push(Ac(f,Y,U)))),f=f.return}O.length!==0&&s.push({event:c,listeners:O})}var f4=/\r\n?/g,p4=/\u0000|\uFFFD/g;function mw(s){return(typeof s=="string"?s:""+s).replace(f4,`
6
+ `).replace(p4,"")}function bd(s,c,f){if(c=mw(c),mw(s)!==c&&f)throw Error(n(425))}function xd(){}var oA=null,iA=null;function sA(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var aA=typeof setTimeout=="function"?setTimeout:void 0,h4=typeof clearTimeout=="function"?clearTimeout:void 0,vw=typeof Promise=="function"?Promise:void 0,A4=typeof queueMicrotask=="function"?queueMicrotask:typeof vw<"u"?function(s){return vw.resolve(null).then(s).catch(g4)}:aA;function g4(s){setTimeout(function(){throw s})}function lA(s,c){var f=c,g=0;do{var v=f.nextSibling;if(s.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(g===0){s.removeChild(v),Go(c);return}g--}else f!=="$"&&f!=="$?"&&f!=="$!"||g++;f=v}while(f);Go(c)}function $i(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function yw(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="$"||f==="$!"||f==="$?"){if(c===0)return s;c--}else f==="/$"&&c++}s=s.previousSibling}return null}var Ha=Math.random().toString(36).slice(2),Zo="__reactFiber$"+Ha,gc="__reactProps$"+Ha,bi="__reactContainer$"+Ha,cA="__reactEvents$"+Ha,m4="__reactListeners$"+Ha,v4="__reactHandles$"+Ha;function Us(s){var c=s[Zo];if(c)return c;for(var f=s.parentNode;f;){if(c=f[bi]||f[Zo]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(s=yw(s);s!==null;){if(f=s[Zo])return f;s=yw(s)}return c}s=f,f=s.parentNode}return null}function mc(s){return s=s[Zo]||s[bi],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Ua(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function wd(s){return s[gc]||null}var uA=[],Va=-1;function es(s){return{current:s}}function Wt(s){0>Va||(s.current=uA[Va],uA[Va]=null,Va--)}function Qt(s,c){Va++,uA[Va]=s.current,s.current=c}var ts={},Yn=es(ts),vr=es(!1),Vs=ts;function Wa(s,c){var f=s.type.contextTypes;if(!f)return ts;var g=s.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===c)return g.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in f)v[S]=c[S];return g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=v),v}function yr(s){return s=s.childContextTypes,s!=null}function kd(){Wt(vr),Wt(Yn)}function bw(s,c,f){if(Yn.current!==ts)throw Error(n(168));Qt(Yn,c),Qt(vr,f)}function xw(s,c,f){var g=s.stateNode;if(c=c.childContextTypes,typeof g.getChildContext!="function")return f;g=g.getChildContext();for(var v in g)if(!(v in c))throw Error(n(108,Oe(s)||"Unknown",v));return de({},f,g)}function Sd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ts,Vs=Yn.current,Qt(Yn,s),Qt(vr,vr.current),!0}function ww(s,c,f){var g=s.stateNode;if(!g)throw Error(n(169));f?(s=xw(s,c,Vs),g.__reactInternalMemoizedMergedChildContext=s,Wt(vr),Wt(Yn),Qt(Yn,s)):Wt(vr),Qt(vr,f)}var xi=null,Ed=!1,dA=!1;function kw(s){xi===null?xi=[s]:xi.push(s)}function y4(s){Ed=!0,kw(s)}function ns(){if(!dA&&xi!==null){dA=!0;var s=0,c=Ie;try{var f=xi;for(Ie=1;s<f.length;s++){var g=f[s];do g=g(!0);while(g!==null)}xi=null,Ed=!1}catch(v){throw xi!==null&&(xi=xi.slice(s+1)),pi(Yi,ns),v}finally{Ie=c,dA=!1}}return null}var Ya=[],qa=0,Cd=null,Pd=0,$r=[],eo=0,Ws=null,wi=1,ki="";function Ys(s,c){Ya[qa++]=Pd,Ya[qa++]=Cd,Cd=s,Pd=c}function Sw(s,c,f){$r[eo++]=wi,$r[eo++]=ki,$r[eo++]=Ws,Ws=s;var g=wi;s=ki;var v=32-bn(g)-1;g&=~(1<<v),f+=1;var S=32-bn(c)+v;if(30<S){var O=v-v%5;S=(g&(1<<O)-1).toString(32),g>>=O,v-=O,wi=1<<32-bn(c)+v|f<<v|g,ki=S+s}else wi=1<<S|f<<v|g,ki=s}function fA(s){s.return!==null&&(Ys(s,1),Sw(s,1,0))}function pA(s){for(;s===Cd;)Cd=Ya[--qa],Ya[qa]=null,Pd=Ya[--qa],Ya[qa]=null;for(;s===Ws;)Ws=$r[--eo],$r[eo]=null,ki=$r[--eo],$r[eo]=null,wi=$r[--eo],$r[eo]=null}var Nr=null,Fr=null,Gt=!1,mo=null;function Ew(s,c){var f=oo(5,null,null,0);f.elementType="DELETED",f.stateNode=c,f.return=s,c=s.deletions,c===null?(s.deletions=[f],s.flags|=16):c.push(f)}function Cw(s,c){switch(s.tag){case 5:var f=s.type;return c=c.nodeType!==1||f.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=$i(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Nr=s,Fr=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Ws!==null?{id:wi,overflow:ki}:null,s.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=oo(18,null,null,0),f.stateNode=c,f.return=s,s.child=f,Nr=s,Fr=null,!0):!1;default:return!1}}function hA(s){return(s.mode&1)!==0&&(s.flags&128)===0}function AA(s){if(Gt){var c=Fr;if(c){var f=c;if(!Cw(s,c)){if(hA(s))throw Error(n(418));c=$i(f.nextSibling);var g=Nr;c&&Cw(s,c)?Ew(g,f):(s.flags=s.flags&-4097|2,Gt=!1,Nr=s)}}else{if(hA(s))throw Error(n(418));s.flags=s.flags&-4097|2,Gt=!1,Nr=s}}}function Pw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Nr=s}function Dd(s){if(s!==Nr)return!1;if(!Gt)return Pw(s),Gt=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!sA(s.type,s.memoizedProps)),c&&(c=Fr)){if(hA(s))throw Dw(),Error(n(418));for(;c;)Ew(s,c),c=$i(c.nextSibling)}if(Pw(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var f=s.data;if(f==="/$"){if(c===0){Fr=$i(s.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}s=s.nextSibling}Fr=null}}else Fr=Nr?$i(s.stateNode.nextSibling):null;return!0}function Dw(){for(var s=Fr;s;)s=$i(s.nextSibling)}function Ka(){Fr=Nr=null,Gt=!1}function gA(s){mo===null?mo=[s]:mo.push(s)}var b4=C.ReactCurrentBatchConfig;function vc(s,c,f){if(s=f.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(n(309));var g=f.stateNode}if(!g)throw Error(n(147,s));var v=g,S=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===S?c.ref:(c=function(O){var U=v.refs;O===null?delete U[S]:U[S]=O},c._stringRef=S,c)}if(typeof s!="string")throw Error(n(284));if(!f._owner)throw Error(n(290,s))}return s}function Td(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function Tw(s){var c=s._init;return c(s._payload)}function Bw(s){function c(ne,X){if(s){var se=ne.deletions;se===null?(ne.deletions=[X],ne.flags|=16):se.push(X)}}function f(ne,X){if(!s)return null;for(;X!==null;)c(ne,X),X=X.sibling;return null}function g(ne,X){for(ne=new Map;X!==null;)X.key!==null?ne.set(X.key,X):ne.set(X.index,X),X=X.sibling;return ne}function v(ne,X){return ne=us(ne,X),ne.index=0,ne.sibling=null,ne}function S(ne,X,se){return ne.index=se,s?(se=ne.alternate,se!==null?(se=se.index,se<X?(ne.flags|=2,X):se):(ne.flags|=2,X)):(ne.flags|=1048576,X)}function O(ne){return s&&ne.alternate===null&&(ne.flags|=2),ne}function U(ne,X,se,Pe){return X===null||X.tag!==6?(X=ag(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function Y(ne,X,se,Pe){var Ye=se.type;return Ye===z?be(ne,X,se.props.children,Pe,se.key):X!==null&&(X.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===X.type)?(Pe=v(X,se.props),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,Pe)}function ce(ne,X,se,Pe){return X===null||X.tag!==4||X.stateNode.containerInfo!==se.containerInfo||X.stateNode.implementation!==se.implementation?(X=lg(se,ne.mode,Pe),X.return=ne,X):(X=v(X,se.children||[]),X.return=ne,X)}function be(ne,X,se,Pe,Ye){return X===null||X.tag!==7?(X=ea(se,ne.mode,Pe,Ye),X.return=ne,X):(X=v(X,se),X.return=ne,X)}function xe(ne,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return X=ag(""+X,ne.mode,se),X.return=ne,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case j:return se=$d(X.type,X.key,X.props,null,ne.mode,se),se.ref=vc(ne,null,X),se.return=ne,se;case R:return X=lg(X,ne.mode,se),X.return=ne,X;case pe:var Pe=X._init;return xe(ne,Pe(X._payload),se)}if(mt(X)||N(X))return X=ea(X,ne.mode,se,null),X.return=ne,X;Td(ne,X)}return null}function ye(ne,X,se,Pe){var Ye=X!==null?X.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return Ye!==null?null:U(ne,X,""+se,Pe);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return se.key===Ye?Y(ne,X,se,Pe):null;case R:return se.key===Ye?ce(ne,X,se,Pe):null;case pe:return Ye=se._init,ye(ne,X,Ye(se._payload),Pe)}if(mt(se)||N(se))return Ye!==null?null:be(ne,X,se,Pe,null);Td(ne,se)}return null}function Re(ne,X,se,Pe,Ye){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return ne=ne.get(se)||null,U(X,ne,""+Pe,Ye);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case j:return ne=ne.get(Pe.key===null?se:Pe.key)||null,Y(X,ne,Pe,Ye);case R:return ne=ne.get(Pe.key===null?se:Pe.key)||null,ce(X,ne,Pe,Ye);case pe:var Je=Pe._init;return Re(ne,X,se,Je(Pe._payload),Ye)}if(mt(Pe)||N(Pe))return ne=ne.get(se)||null,be(X,ne,Pe,Ye,null);Td(X,Pe)}return null}function Qe(ne,X,se,Pe){for(var Ye=null,Je=null,Ze=X,at=X=0,Dn=null;Ze!==null&&at<se.length;at++){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var Pt=ye(ne,Ze,se[at],Pe);if(Pt===null){Ze===null&&(Ze=Dn);break}s&&Ze&&Pt.alternate===null&&c(ne,Ze),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt,Ze=Dn}if(at===se.length)return f(ne,Ze),Gt&&Ys(ne,at),Ye;if(Ze===null){for(;at<se.length;at++)Ze=xe(ne,se[at],Pe),Ze!==null&&(X=S(Ze,X,at),Je===null?Ye=Ze:Je.sibling=Ze,Je=Ze);return Gt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);at<se.length;at++)Dn=Re(Ze,ne,at,se[at],Pe),Dn!==null&&(s&&Dn.alternate!==null&&Ze.delete(Dn.key===null?at:Dn.key),X=S(Dn,X,at),Je===null?Ye=Dn:Je.sibling=Dn,Je=Dn);return s&&Ze.forEach(function(ds){return c(ne,ds)}),Gt&&Ys(ne,at),Ye}function Ue(ne,X,se,Pe){var Ye=N(se);if(typeof Ye!="function")throw Error(n(150));if(se=Ye.call(se),se==null)throw Error(n(151));for(var Je=Ye=null,Ze=X,at=X=0,Dn=null,Pt=se.next();Ze!==null&&!Pt.done;at++,Pt=se.next()){Ze.index>at?(Dn=Ze,Ze=null):Dn=Ze.sibling;var ds=ye(ne,Ze,Pt.value,Pe);if(ds===null){Ze===null&&(Ze=Dn);break}s&&Ze&&ds.alternate===null&&c(ne,Ze),X=S(ds,X,at),Je===null?Ye=ds:Je.sibling=ds,Je=ds,Ze=Dn}if(Pt.done)return f(ne,Ze),Gt&&Ys(ne,at),Ye;if(Ze===null){for(;!Pt.done;at++,Pt=se.next())Pt=xe(ne,Pt.value,Pe),Pt!==null&&(X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return Gt&&Ys(ne,at),Ye}for(Ze=g(ne,Ze);!Pt.done;at++,Pt=se.next())Pt=Re(Ze,ne,at,Pt.value,Pe),Pt!==null&&(s&&Pt.alternate!==null&&Ze.delete(Pt.key===null?at:Pt.key),X=S(Pt,X,at),Je===null?Ye=Pt:Je.sibling=Pt,Je=Pt);return s&&Ze.forEach(function($4){return c(ne,$4)}),Gt&&Ys(ne,at),Ye}function cn(ne,X,se,Pe){if(typeof se=="object"&&se!==null&&se.type===z&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case j:e:{for(var Ye=se.key,Je=X;Je!==null;){if(Je.key===Ye){if(Ye=se.type,Ye===z){if(Je.tag===7){f(ne,Je.sibling),X=v(Je,se.props.children),X.return=ne,ne=X;break e}}else if(Je.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===pe&&Tw(Ye)===Je.type){f(ne,Je.sibling),X=v(Je,se.props),X.ref=vc(ne,Je,se),X.return=ne,ne=X;break e}f(ne,Je);break}else c(ne,Je);Je=Je.sibling}se.type===z?(X=ea(se.props.children,ne.mode,Pe,se.key),X.return=ne,ne=X):(Pe=$d(se.type,se.key,se.props,null,ne.mode,Pe),Pe.ref=vc(ne,X,se),Pe.return=ne,ne=Pe)}return O(ne);case R:e:{for(Je=se.key;X!==null;){if(X.key===Je)if(X.tag===4&&X.stateNode.containerInfo===se.containerInfo&&X.stateNode.implementation===se.implementation){f(ne,X.sibling),X=v(X,se.children||[]),X.return=ne,ne=X;break e}else{f(ne,X);break}else c(ne,X);X=X.sibling}X=lg(se,ne.mode,Pe),X.return=ne,ne=X}return O(ne);case pe:return Je=se._init,cn(ne,X,Je(se._payload),Pe)}if(mt(se))return Qe(ne,X,se,Pe);if(N(se))return Ue(ne,X,se,Pe);Td(ne,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,X!==null&&X.tag===6?(f(ne,X.sibling),X=v(X,se),X.return=ne,ne=X):(f(ne,X),X=ag(se,ne.mode,Pe),X.return=ne,ne=X),O(ne)):f(ne,X)}return cn}var Ga=Bw(!0),_w=Bw(!1),Bd=es(null),_d=null,Xa=null,mA=null;function vA(){mA=Xa=_d=null}function yA(s){var c=Bd.current;Wt(Bd),s._currentValue=c}function bA(s,c,f){for(;s!==null;){var g=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),s===f)break;s=s.return}}function Ja(s,c){_d=s,mA=Xa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(br=!0),s.firstContext=null)}function to(s){var c=s._currentValue;if(mA!==s)if(s={context:s,memoizedValue:c,next:null},Xa===null){if(_d===null)throw Error(n(308));Xa=s,_d.dependencies={lanes:0,firstContext:s}}else Xa=Xa.next=s;return c}var qs=null;function xA(s){qs===null?qs=[s]:qs.push(s)}function Iw(s,c,f,g){var v=c.interleaved;return v===null?(f.next=f,xA(c)):(f.next=v.next,v.next=f),c.interleaved=f,Si(s,g)}function Si(s,c){s.lanes|=c;var f=s.alternate;for(f!==null&&(f.lanes|=c),f=s,s=s.return;s!==null;)s.childLanes|=c,f=s.alternate,f!==null&&(f.childLanes|=c),f=s,s=s.return;return f.tag===3?f.stateNode:null}var rs=!1;function wA(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Ei(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function os(s,c,f){var g=s.updateQueue;if(g===null)return null;if(g=g.shared,(St&2)!==0){var v=g.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),g.pending=c,Si(s,f)}return v=g.interleaved,v===null?(c.next=c,xA(g)):(c.next=v.next,v.next=c),g.interleaved=c,Si(s,f)}function Id(s,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}function Ow(s,c){var f=s.updateQueue,g=s.alternate;if(g!==null&&(g=g.updateQueue,f===g)){var v=null,S=null;if(f=f.firstBaseUpdate,f!==null){do{var O={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};S===null?v=S=O:S=S.next=O,f=f.next}while(f!==null);S===null?v=S=c:S=S.next=c}else v=S=c;f={baseState:g.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:g.shared,effects:g.effects},s.updateQueue=f;return}s=f.lastBaseUpdate,s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=c}function Md(s,c,f,g){var v=s.updateQueue;rs=!1;var S=v.firstBaseUpdate,O=v.lastBaseUpdate,U=v.shared.pending;if(U!==null){v.shared.pending=null;var Y=U,ce=Y.next;Y.next=null,O===null?S=ce:O.next=ce,O=Y;var be=s.alternate;be!==null&&(be=be.updateQueue,U=be.lastBaseUpdate,U!==O&&(U===null?be.firstBaseUpdate=ce:U.next=ce,be.lastBaseUpdate=Y))}if(S!==null){var xe=v.baseState;O=0,be=ce=Y=null,U=S;do{var ye=U.lane,Re=U.eventTime;if((g&ye)===ye){be!==null&&(be=be.next={eventTime:Re,lane:0,tag:U.tag,payload:U.payload,callback:U.callback,next:null});e:{var Qe=s,Ue=U;switch(ye=c,Re=f,Ue.tag){case 1:if(Qe=Ue.payload,typeof Qe=="function"){xe=Qe.call(Re,xe,ye);break e}xe=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=Ue.payload,ye=typeof Qe=="function"?Qe.call(Re,xe,ye):Qe,ye==null)break e;xe=de({},xe,ye);break e;case 2:rs=!0}}U.callback!==null&&U.lane!==0&&(s.flags|=64,ye=v.effects,ye===null?v.effects=[U]:ye.push(U))}else Re={eventTime:Re,lane:ye,tag:U.tag,payload:U.payload,callback:U.callback,next:null},be===null?(ce=be=Re,Y=xe):be=be.next=Re,O|=ye;if(U=U.next,U===null){if(U=v.shared.pending,U===null)break;ye=U,U=ye.next,ye.next=null,v.lastBaseUpdate=ye,v.shared.pending=null}}while(!0);if(be===null&&(Y=xe),v.baseState=Y,v.firstBaseUpdate=ce,v.lastBaseUpdate=be,c=v.shared.interleaved,c!==null){v=c;do O|=v.lane,v=v.next;while(v!==c)}else S===null&&(v.shared.lanes=0);Xs|=O,s.lanes=O,s.memoizedState=xe}}function Rw(s,c,f){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var g=s[c],v=g.callback;if(v!==null){if(g.callback=null,g=f,typeof v!="function")throw Error(n(191,v));v.call(g)}}}var yc={},$o=es(yc),bc=es(yc),xc=es(yc);function Ks(s){if(s===yc)throw Error(n(174));return s}function kA(s,c){switch(Qt(xc,c),Qt(bc,s),Qt($o,yc),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:qt(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=qt(c,s)}Wt($o),Qt($o,c)}function Za(){Wt($o),Wt(bc),Wt(xc)}function Lw(s){Ks(xc.current);var c=Ks($o.current),f=qt(c,s.type);c!==f&&(Qt(bc,s),Qt($o,f))}function SA(s){bc.current===s&&(Wt($o),Wt(bc))}var en=es(0);function Od(s){for(var c=s;c!==null;){if(c.tag===13){var f=c.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var EA=[];function CA(){for(var s=0;s<EA.length;s++)EA[s]._workInProgressVersionPrimary=null;EA.length=0}var Rd=C.ReactCurrentDispatcher,PA=C.ReactCurrentBatchConfig,Gs=0,tn=null,xn=null,Cn=null,Ld=!1,wc=!1,kc=0,x4=0;function qn(){throw Error(n(321))}function DA(s,c){if(c===null)return!1;for(var f=0;f<c.length&&f<s.length;f++)if(!go(s[f],c[f]))return!1;return!0}function TA(s,c,f,g,v,S){if(Gs=S,tn=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Rd.current=s===null||s.memoizedState===null?E4:C4,s=f(g,v),wc){S=0;do{if(wc=!1,kc=0,25<=S)throw Error(n(301));S+=1,Cn=xn=null,c.updateQueue=null,Rd.current=P4,s=f(g,v)}while(wc)}if(Rd.current=jd,c=xn!==null&&xn.next!==null,Gs=0,Cn=xn=tn=null,Ld=!1,c)throw Error(n(300));return s}function BA(){var s=kc!==0;return kc=0,s}function ei(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?tn.memoizedState=Cn=s:Cn=Cn.next=s,Cn}function no(){if(xn===null){var s=tn.alternate;s=s!==null?s.memoizedState:null}else s=xn.next;var c=Cn===null?tn.memoizedState:Cn.next;if(c!==null)Cn=c,xn=s;else{if(s===null)throw Error(n(310));xn=s,s={memoizedState:xn.memoizedState,baseState:xn.baseState,baseQueue:xn.baseQueue,queue:xn.queue,next:null},Cn===null?tn.memoizedState=Cn=s:Cn=Cn.next=s}return Cn}function Sc(s,c){return typeof c=="function"?c(s):c}function _A(s){var c=no(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=xn,v=g.baseQueue,S=f.pending;if(S!==null){if(v!==null){var O=v.next;v.next=S.next,S.next=O}g.baseQueue=v=S,f.pending=null}if(v!==null){S=v.next,g=g.baseState;var U=O=null,Y=null,ce=S;do{var be=ce.lane;if((Gs&be)===be)Y!==null&&(Y=Y.next={lane:0,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null}),g=ce.hasEagerState?ce.eagerState:s(g,ce.action);else{var xe={lane:be,action:ce.action,hasEagerState:ce.hasEagerState,eagerState:ce.eagerState,next:null};Y===null?(U=Y=xe,O=g):Y=Y.next=xe,tn.lanes|=be,Xs|=be}ce=ce.next}while(ce!==null&&ce!==S);Y===null?O=g:Y.next=U,go(g,c.memoizedState)||(br=!0),c.memoizedState=g,c.baseState=O,c.baseQueue=Y,f.lastRenderedState=g}if(s=f.interleaved,s!==null){v=s;do S=v.lane,tn.lanes|=S,Xs|=S,v=v.next;while(v!==s)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function IA(s){var c=no(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=s;var g=f.dispatch,v=f.pending,S=c.memoizedState;if(v!==null){f.pending=null;var O=v=v.next;do S=s(S,O.action),O=O.next;while(O!==v);go(S,c.memoizedState)||(br=!0),c.memoizedState=S,c.baseQueue===null&&(c.baseState=S),f.lastRenderedState=S}return[S,g]}function Nw(){}function Fw(s,c){var f=tn,g=no(),v=c(),S=!go(g.memoizedState,v);if(S&&(g.memoizedState=v,br=!0),g=g.queue,MA(Qw.bind(null,f,g,s),[s]),g.getSnapshot!==c||S||Cn!==null&&Cn.memoizedState.tag&1){if(f.flags|=2048,Ec(9,zw.bind(null,f,g,v,c),void 0,null),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(f,c,v)}return v}function jw(s,c,f){s.flags|=16384,s={getSnapshot:c,value:f},c=tn.updateQueue,c===null?(c={lastEffect:null,stores:null},tn.updateQueue=c,c.stores=[s]):(f=c.stores,f===null?c.stores=[s]:f.push(s))}function zw(s,c,f,g){c.value=f,c.getSnapshot=g,Hw(c)&&Uw(s)}function Qw(s,c,f){return f(function(){Hw(c)&&Uw(s)})}function Hw(s){var c=s.getSnapshot;s=s.value;try{var f=c();return!go(s,f)}catch{return!0}}function Uw(s){var c=Si(s,1);c!==null&&xo(c,s,1,-1)}function Vw(s){var c=ei();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sc,lastRenderedState:s},c.queue=s,s=s.dispatch=S4.bind(null,tn,s),[c.memoizedState,s]}function Ec(s,c,f,g){return s={tag:s,create:c,destroy:f,deps:g,next:null},c=tn.updateQueue,c===null?(c={lastEffect:null,stores:null},tn.updateQueue=c,c.lastEffect=s.next=s):(f=c.lastEffect,f===null?c.lastEffect=s.next=s:(g=f.next,f.next=s,s.next=g,c.lastEffect=s)),s}function Ww(){return no().memoizedState}function Nd(s,c,f,g){var v=ei();tn.flags|=s,v.memoizedState=Ec(1|c,f,void 0,g===void 0?null:g)}function Fd(s,c,f,g){var v=no();g=g===void 0?null:g;var S=void 0;if(xn!==null){var O=xn.memoizedState;if(S=O.destroy,g!==null&&DA(g,O.deps)){v.memoizedState=Ec(c,f,S,g);return}}tn.flags|=s,v.memoizedState=Ec(1|c,f,S,g)}function Yw(s,c){return Nd(8390656,8,s,c)}function MA(s,c){return Fd(2048,8,s,c)}function qw(s,c){return Fd(4,2,s,c)}function Kw(s,c){return Fd(4,4,s,c)}function Gw(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function Xw(s,c,f){return f=f!=null?f.concat([s]):null,Fd(4,4,Gw.bind(null,c,s),f)}function OA(){}function Jw(s,c){var f=no();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(f.memoizedState=[s,c],s)}function Zw(s,c){var f=no();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&DA(c,g[1])?g[0]:(s=s(),f.memoizedState=[s,c],s)}function $w(s,c,f){return(Gs&21)===0?(s.baseState&&(s.baseState=!1,br=!0),s.memoizedState=f):(go(f,c)||(f=H(),tn.lanes|=f,Xs|=f,s.baseState=!0),c)}function w4(s,c){var f=Ie;Ie=f!==0&&4>f?f:4,s(!0);var g=PA.transition;PA.transition={};try{s(!1),c()}finally{Ie=f,PA.transition=g}}function e1(){return no().memoizedState}function k4(s,c,f){var g=ls(s);if(f={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null},t1(s))n1(c,f);else if(f=Iw(s,c,f,g),f!==null){var v=nr();xo(f,s,g,v),r1(f,c,g)}}function S4(s,c,f){var g=ls(s),v={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null};if(t1(s))n1(c,v);else{var S=s.alternate;if(s.lanes===0&&(S===null||S.lanes===0)&&(S=c.lastRenderedReducer,S!==null))try{var O=c.lastRenderedState,U=S(O,f);if(v.hasEagerState=!0,v.eagerState=U,go(U,O)){var Y=c.interleaved;Y===null?(v.next=v,xA(c)):(v.next=Y.next,Y.next=v),c.interleaved=v;return}}catch{}f=Iw(s,c,v,g),f!==null&&(v=nr(),xo(f,s,g,v),r1(f,c,g))}}function t1(s){var c=s.alternate;return s===tn||c!==null&&c===tn}function n1(s,c){wc=Ld=!0;var f=s.pending;f===null?c.next=c:(c.next=f.next,f.next=c),s.pending=c}function r1(s,c,f){if((f&4194240)!==0){var g=c.lanes;g&=s.pendingLanes,f|=g,c.lanes=f,De(s,f)}}var jd={readContext:to,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useInsertionEffect:qn,useLayoutEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useMutableSource:qn,useSyncExternalStore:qn,useId:qn,unstable_isNewReconciler:!1},E4={readContext:to,useCallback:function(s,c){return ei().memoizedState=[s,c===void 0?null:c],s},useContext:to,useEffect:Yw,useImperativeHandle:function(s,c,f){return f=f!=null?f.concat([s]):null,Nd(4194308,4,Gw.bind(null,c,s),f)},useLayoutEffect:function(s,c){return Nd(4194308,4,s,c)},useInsertionEffect:function(s,c){return Nd(4,2,s,c)},useMemo:function(s,c){var f=ei();return c=c===void 0?null:c,s=s(),f.memoizedState=[s,c],s},useReducer:function(s,c,f){var g=ei();return c=f!==void 0?f(c):c,g.memoizedState=g.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},g.queue=s,s=s.dispatch=k4.bind(null,tn,s),[g.memoizedState,s]},useRef:function(s){var c=ei();return s={current:s},c.memoizedState=s},useState:Vw,useDebugValue:OA,useDeferredValue:function(s){return ei().memoizedState=s},useTransition:function(){var s=Vw(!1),c=s[0];return s=w4.bind(null,s[1]),ei().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,f){var g=tn,v=ei();if(Gt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),Pn===null)throw Error(n(349));(Gs&30)!==0||jw(g,c,f)}v.memoizedState=f;var S={value:f,getSnapshot:c};return v.queue=S,Yw(Qw.bind(null,g,S,s),[s]),g.flags|=2048,Ec(9,zw.bind(null,g,S,f,c),void 0,null),f},useId:function(){var s=ei(),c=Pn.identifierPrefix;if(Gt){var f=ki,g=wi;f=(g&~(1<<32-bn(g)-1)).toString(32)+f,c=":"+c+"R"+f,f=kc++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=x4++,c=":"+c+"r"+f.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},C4={readContext:to,useCallback:Jw,useContext:to,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:_A,useRef:Ww,useState:function(){return _A(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=no();return $w(c,xn.memoizedState,s)},useTransition:function(){var s=_A(Sc)[0],c=no().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1},P4={readContext:to,useCallback:Jw,useContext:to,useEffect:MA,useImperativeHandle:Xw,useInsertionEffect:qw,useLayoutEffect:Kw,useMemo:Zw,useReducer:IA,useRef:Ww,useState:function(){return IA(Sc)},useDebugValue:OA,useDeferredValue:function(s){var c=no();return xn===null?c.memoizedState=s:$w(c,xn.memoizedState,s)},useTransition:function(){var s=IA(Sc)[0],c=no().memoizedState;return[s,c]},useMutableSource:Nw,useSyncExternalStore:Fw,useId:e1,unstable_isNewReconciler:!1};function vo(s,c){if(s&&s.defaultProps){c=de({},c),s=s.defaultProps;for(var f in s)c[f]===void 0&&(c[f]=s[f]);return c}return c}function RA(s,c,f,g){c=s.memoizedState,f=f(g,c),f=f==null?c:de({},c,f),s.memoizedState=f,s.lanes===0&&(s.updateQueue.baseState=f)}var zd={isMounted:function(s){return(s=s._reactInternals)?En(s)===s:!1},enqueueSetState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Ei(g,v);S.payload=c,f!=null&&(S.callback=f),c=os(s,S,v),c!==null&&(xo(c,s,v,g),Id(c,s,v))},enqueueReplaceState:function(s,c,f){s=s._reactInternals;var g=nr(),v=ls(s),S=Ei(g,v);S.tag=1,S.payload=c,f!=null&&(S.callback=f),c=os(s,S,v),c!==null&&(xo(c,s,v,g),Id(c,s,v))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var f=nr(),g=ls(s),v=Ei(f,g);v.tag=2,c!=null&&(v.callback=c),c=os(s,v,g),c!==null&&(xo(c,s,g,f),Id(c,s,g))}};function o1(s,c,f,g,v,S,O){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(g,S,O):c.prototype&&c.prototype.isPureReactComponent?!dc(f,g)||!dc(v,S):!0}function i1(s,c,f){var g=!1,v=ts,S=c.contextType;return typeof S=="object"&&S!==null?S=to(S):(v=yr(c)?Vs:Yn.current,g=c.contextTypes,S=(g=g!=null)?Wa(s,v):ts),c=new c(f,S),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zd,s.stateNode=c,c._reactInternals=s,g&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=S),c}function s1(s,c,f,g){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,g),c.state!==s&&zd.enqueueReplaceState(c,c.state,null)}function LA(s,c,f,g){var v=s.stateNode;v.props=f,v.state=s.memoizedState,v.refs={},wA(s);var S=c.contextType;typeof S=="object"&&S!==null?v.context=to(S):(S=yr(c)?Vs:Yn.current,v.context=Wa(s,S)),v.state=s.memoizedState,S=c.getDerivedStateFromProps,typeof S=="function"&&(RA(s,c,S,f),v.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(c=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),c!==v.state&&zd.enqueueReplaceState(v,v.state,null),Md(s,f,v,g),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function $a(s,c){try{var f="",g=c;do f+=we(g),g=g.return;while(g);var v=f}catch(S){v=`
7
7
  Error generating stack: `+S.message+`
8
- `+S.stack}return{value:s,source:c,stack:v,digest:null}}function NA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function FA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var D4=typeof WeakMap=="function"?WeakMap:Map;function a1(s,c,f){f=Ei(-1,f),f.tag=3,f.payload={element:null};var g=c.value;return f.callback=function(){qd||(qd=!0,$A=g),FA(s,c)},f}function l1(s,c,f){f=Ei(-1,f),f.tag=3;var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var v=c.value;f.payload=function(){return g(v)},f.callback=function(){FA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){FA(s,c),typeof g!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function c1(s,c,f){var g=s.pingCache;if(g===null){g=s.pingCache=new D4;var v=new Set;g.set(c,v)}else v=g.get(c),v===void 0&&(v=new Set,g.set(c,v));v.has(f)||(v.add(f),s=H4.bind(null,s,c,f),c.then(s,s))}function u1(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function d1(s,c,f,g,v){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(c=Ei(-1,1),c.tag=2,os(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var T4=C.ReactCurrentOwner,br=!1;function tr(s,c,f,g){c.child=s===null?_w(c,null,f,g):Ga(c,s.child,f,g)}function f1(s,c,f,g,v){f=f.render;var S=c.ref;return Ja(c,v),g=TA(s,c,f,g,S,v),f=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Ci(s,c,v)):(Kt&&f&&fA(c),c.flags|=1,tr(s,c,g,v),c.child)}function p1(s,c,f,g,v){if(s===null){var S=f.type;return typeof S=="function"&&!sg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,h1(s,c,S,g,v)):(s=$d(f.type,null,g,c,c.mode,v),s.ref=c.ref,s.return=c,c.child=s)}if(S=s.child,(s.lanes&v)===0){var O=S.memoizedProps;if(f=f.compare,f=f!==null?f:dc,f(O,g)&&s.ref===c.ref)return Ci(s,c,v)}return c.flags|=1,s=us(S,g),s.ref=c.ref,s.return=c,c.child=s}function h1(s,c,f,g,v){if(s!==null){var S=s.memoizedProps;if(dc(S,g)&&s.ref===c.ref)if(br=!1,c.pendingProps=g=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(br=!0);else return c.lanes=s.lanes,Ci(s,c,v)}return jA(s,c,f,g,v)}function A1(s,c,f){var g=c.pendingProps,v=g.children,S=s!==null?s.memoizedState:null;if(g.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qt(tl,jr),jr|=f;else{if((f&1073741824)===0)return s=S!==null?S.baseLanes|f:f,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Qt(tl,jr),jr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=S!==null?S.baseLanes:f,Qt(tl,jr),jr|=g}else S!==null?(g=S.baseLanes|f,c.memoizedState=null):g=f,Qt(tl,jr),jr|=g;return tr(s,c,v,f),c.child}function g1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function jA(s,c,f,g,v){var S=yr(f)?Vs:Yn.current;return S=Wa(c,S),Ja(c,v),f=TA(s,c,f,g,S,v),g=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Ci(s,c,v)):(Kt&&g&&fA(c),c.flags|=1,tr(s,c,f,v),c.child)}function m1(s,c,f,g,v){if(yr(f)){var S=!0;Sd(c)}else S=!1;if(Ja(c,v),c.stateNode===null)Hd(s,c),i1(c,f,g),LA(c,f,g,v),g=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ce=f.contextType;typeof ce=="object"&&ce!==null?ce=to(ce):(ce=yr(f)?Vs:Yn.current,ce=Wa(c,ce));var be=f.getDerivedStateFromProps,xe=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";xe||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==g||Y!==ce)&&s1(c,O,g,ce),rs=!1;var ye=c.memoizedState;O.state=ye,Md(c,g,O,v),Y=c.memoizedState,U!==g||ye!==Y||vr.current||rs?(typeof be=="function"&&(RA(c,f,be,g),Y=c.memoizedState),(U=rs||o1(c,f,U,g,ye,Y,ce))?(xe||typeof O.UNSAFE_componentWillMount!="function"&&typeof O.componentWillMount!="function"||(typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount()),typeof O.componentDidMount=="function"&&(c.flags|=4194308)):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=Y),O.props=g,O.state=Y,O.context=ce,g=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{O=c.stateNode,Mw(s,c),U=c.memoizedProps,ce=c.type===c.elementType?U:vo(c.type,U),O.props=ce,xe=c.pendingProps,ye=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=to(Y):(Y=yr(f)?Vs:Yn.current,Y=Wa(c,Y));var Re=f.getDerivedStateFromProps;(be=typeof Re=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==xe||ye!==Y)&&s1(c,O,g,Y),rs=!1,ye=c.memoizedState,O.state=ye,Md(c,g,O,v);var Qe=c.memoizedState;U!==xe||ye!==Qe||vr.current||rs?(typeof Re=="function"&&(RA(c,f,Re,g),Qe=c.memoizedState),(ce=rs||o1(c,f,ce,g,ye,Qe,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(g,Qe,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(g,Qe,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=Qe),O.props=g,O.state=Qe,O.context=Y,g=ce):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),g=!1)}return zA(s,c,f,g,S,v)}function zA(s,c,f,g,v,S){g1(s,c);var O=(c.flags&128)!==0;if(!g&&!O)return v&&ww(c,f,!1),Ci(s,c,S);g=c.stateNode,T4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:g.render();return c.flags|=1,s!==null&&O?(c.child=Ga(c,s.child,null,S),c.child=Ga(c,null,U,S)):tr(s,c,U,S),c.memoizedState=g.state,v&&ww(c,f,!0),c.child}function v1(s){var c=s.stateNode;c.pendingContext?bw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&bw(s,c.context,!1),kA(s,c.containerInfo)}function y1(s,c,f,g,v){return Ka(),gA(v),c.flags|=256,tr(s,c,f,g),c.child}var QA={dehydrated:null,treeContext:null,retryLane:0};function HA(s){return{baseLanes:s,cachePool:null,transitions:null}}function b1(s,c,f){var g=c.pendingProps,v=$t.current,S=!1,O=(c.flags&128)!==0,U;if((U=O)||(U=s!==null&&s.memoizedState===null?!1:(v&2)!==0),U?(S=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(v|=1),Qt($t,v&1),s===null)return AA(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(O=g.children,s=g.fallback,S?(g=c.mode,S=c.child,O={mode:"hidden",children:O},(g&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=ef(O,g,0,null),s=ea(s,g,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=HA(f),c.memoizedState=QA,s):UA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return B4(s,c,O,g,U,v,f);if(S){S=g.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:g.children};return(O&1)===0&&c.child!==v?(g=c.child,g.childLanes=0,g.pendingProps=Y,c.deletions=null):(g=us(v,Y),g.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=us(U,S):(S=ea(S,O,f,null),S.flags|=2),S.return=c,g.return=c,g.sibling=S,c.child=g,g=S,S=c.child,O=s.child.memoizedState,O=O===null?HA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=QA,g}return S=s.child,s=S.sibling,g=us(S,{mode:"visible",children:g.children}),(c.mode&1)===0&&(g.lanes=f),g.return=c,g.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=g,c.memoizedState=null,g}function UA(s,c){return c=ef({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Qd(s,c,f,g){return g!==null&&gA(g),Ga(c,s.child,null,f),s=UA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function B4(s,c,f,g,v,S,O){if(f)return c.flags&256?(c.flags&=-257,g=NA(Error(n(422))),Qd(s,c,O,g)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=g.fallback,v=c.mode,g=ef({mode:"visible",children:g.children},v,0,null),S=ea(S,v,O,null),S.flags|=2,g.return=c,S.return=c,g.sibling=S,c.child=g,(c.mode&1)!==0&&Ga(c,s.child,null,O),c.child.memoizedState=HA(O),c.memoizedState=QA,S);if((c.mode&1)===0)return Qd(s,c,O,null);if(v.data==="$!"){if(g=v.nextSibling&&v.nextSibling.dataset,g)var U=g.dgst;return g=U,S=Error(n(419)),g=NA(S,g,void 0),Qd(s,c,O,g)}if(U=(O&s.childLanes)!==0,br||U){if(g=Pn,g!==null){switch(O&-O){case 4:v=2;break;case 16:v=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:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(g.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,Si(s,v),xo(g,s,v,-1))}return ig(),g=NA(Error(n(421))),Qd(s,c,O,g)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=U4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,Fr=$i(v.nextSibling),Nr=c,Kt=!0,mo=null,s!==null&&($r[eo++]=wi,$r[eo++]=ki,$r[eo++]=Ws,wi=s.id,ki=s.overflow,Ws=c),c=UA(c,g.children),c.flags|=4096,c)}function x1(s,c,f){s.lanes|=c;var g=s.alternate;g!==null&&(g.lanes|=c),bA(s.return,c,f)}function VA(s,c,f,g,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=g,S.tail=f,S.tailMode=v)}function w1(s,c,f){var g=c.pendingProps,v=g.revealOrder,S=g.tail;if(tr(s,c,g.children,f),g=$t.current,(g&2)!==0)g=g&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&x1(s,f,c);else if(s.tag===19)x1(s,f,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}g&=1}if(Qt($t,g),(c.mode&1)===0)c.memoizedState=null;else switch(v){case"forwards":for(f=c.child,v=null;f!==null;)s=f.alternate,s!==null&&Od(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),VA(c,!1,v,f,S);break;case"backwards":for(f=null,v=c.child,c.child=null;v!==null;){if(s=v.alternate,s!==null&&Od(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}VA(c,!0,f,null,S);break;case"together":VA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Hd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Ci(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Xs|=c.lanes,(f&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,f=us(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=us(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function _4(s,c,f){switch(c.tag){case 3:v1(c),Ka();break;case 5:Lw(c);break;case 1:yr(c.type)&&Sd(c);break;case 4:kA(c,c.stateNode.containerInfo);break;case 10:var g=c.type._context,v=c.memoizedProps.value;Qt(Bd,g._currentValue),g._currentValue=v;break;case 13:if(g=c.memoizedState,g!==null)return g.dehydrated!==null?(Qt($t,$t.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?b1(s,c,f):(Qt($t,$t.current&1),s=Ci(s,c,f),s!==null?s.sibling:null);Qt($t,$t.current&1);break;case 19:if(g=(f&c.childLanes)!==0,(s.flags&128)!==0){if(g)return w1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Qt($t,$t.current),g)break;return null;case 22:case 23:return c.lanes=0,A1(s,c,f)}return Ci(s,c,f)}var k1,WA,S1,E1;k1=function(s,c){for(var f=c.child;f!==null;){if(f.tag===5||f.tag===6)s.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===c)break;for(;f.sibling===null;){if(f.return===null||f.return===c)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},WA=function(){},S1=function(s,c,f,g){var v=s.memoizedProps;if(v!==g){s=c.stateNode,Ks($o.current);var S=null;switch(f){case"input":v=Xe(s,v),g=Xe(s,g),S=[];break;case"select":v=de({},v,{value:void 0}),g=de({},g,{value:void 0}),S=[];break;case"textarea":v=dt(s,v),g=dt(s,g),S=[];break;default:typeof v.onClick!="function"&&typeof g.onClick=="function"&&(s.onclick=xd)}Te(f,g);var O;f=null;for(ce in v)if(!g.hasOwnProperty(ce)&&v.hasOwnProperty(ce)&&v[ce]!=null)if(ce==="style"){var U=v[ce];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ce!=="dangerouslySetInnerHTML"&&ce!=="children"&&ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&ce!=="autoFocus"&&(o.hasOwnProperty(ce)?S||(S=[]):(S=S||[]).push(ce,null));for(ce in g){var Y=g[ce];if(U=v?.[ce],g.hasOwnProperty(ce)&&Y!==U&&(Y!=null||U!=null))if(ce==="style")if(U){for(O in U)!U.hasOwnProperty(O)||Y&&Y.hasOwnProperty(O)||(f||(f={}),f[O]="");for(O in Y)Y.hasOwnProperty(O)&&U[O]!==Y[O]&&(f||(f={}),f[O]=Y[O])}else f||(S||(S=[]),S.push(ce,f)),f=Y;else ce==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ce,Y)):ce==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ce,""+Y):ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&(o.hasOwnProperty(ce)?(Y!=null&&ce==="onScroll"&&Vt("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ce,Y))}f&&(S=S||[]).push("style",f);var ce=S;(c.updateQueue=ce)&&(c.flags|=4)}},E1=function(s,c,f,g){f!==g&&(c.flags|=4)};function Cc(s,c){if(!Kt)switch(s.tailMode){case"hidden":c=s.tail;for(var f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?s.tail=null:f.sibling=null;break;case"collapsed":f=s.tail;for(var g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:g.sibling=null}}function Kn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,g=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags&14680064,g|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags,g|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=g,s.childLanes=f,c}function I4(s,c,f){var g=c.pendingProps;switch(pA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kn(c),null;case 1:return yr(c.type)&&kd(),Kn(c),null;case 3:return g=c.stateNode,Za(),Wt(vr),Wt(Yn),CA(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(s===null||s.child===null)&&(Dd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,mo!==null&&(ng(mo),mo=null))),WA(s,c),Kn(c),null;case 5:SA(c);var v=Ks(xc.current);if(f=c.type,s!==null&&c.stateNode!=null)S1(s,c,f,g,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!g){if(c.stateNode===null)throw Error(n(166));return Kn(c),null}if(s=Ks($o.current),Dd(c)){g=c.stateNode,f=c.type;var S=c.memoizedProps;switch(g[Zo]=c,g[gc]=S,s=(c.mode&1)!==0,f){case"dialog":Vt("cancel",g),Vt("close",g);break;case"iframe":case"object":case"embed":Vt("load",g);break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],g);break;case"source":Vt("error",g);break;case"img":case"image":case"link":Vt("error",g),Vt("load",g);break;case"details":Vt("toggle",g);break;case"input":Ge(g,S),Vt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!S.multiple},Vt("invalid",g);break;case"textarea":Ke(g,S),Vt("invalid",g)}Te(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?g.textContent!==U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",U]):typeof U=="number"&&g.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",""+U]):o.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Vt("scroll",g)}switch(f){case"input":wt(g),gt(g,S,!0);break;case"textarea":wt(g),Yt(g);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(g.onclick=xd)}g=v,c.updateQueue=g,g!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=vn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof g.is=="string"?s=O.createElement(f,{is:g.is}):(s=O.createElement(f),f==="select"&&(O=s,g.multiple?O.multiple=!0:g.size&&(O.size=g.size))):s=O.createElementNS(s,f),s[Zo]=c,s[gc]=g,k1(s,c,!1,!1),c.stateNode=s;e:{switch(O=qe(f,g),f){case"dialog":Vt("cancel",s),Vt("close",s),v=g;break;case"iframe":case"object":case"embed":Vt("load",s),v=g;break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],s);v=g;break;case"source":Vt("error",s),v=g;break;case"img":case"image":case"link":Vt("error",s),Vt("load",s),v=g;break;case"details":Vt("toggle",s),v=g;break;case"input":Ge(s,g),v=Xe(s,g),Vt("invalid",s);break;case"option":v=g;break;case"select":s._wrapperState={wasMultiple:!!g.multiple},v=de({},g,{value:void 0}),Vt("invalid",s);break;case"textarea":Ke(s,g),v=dt(s,g),Vt("invalid",s);break;default:v=g}Te(f,v),U=v;for(S in U)if(U.hasOwnProperty(S)){var Y=U[S];S==="style"?le(s,Y):S==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&fe(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Le(s,Y):typeof Y=="number"&&Le(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(o.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Vt("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":wt(s),gt(s,g,!1);break;case"textarea":wt(s),Yt(s);break;case"option":g.value!=null&&s.setAttribute("value",""+Ve(g.value));break;case"select":s.multiple=!!g.multiple,S=g.value,S!=null?Rt(s,!!g.multiple,S,!1):g.defaultValue!=null&&Rt(s,!!g.multiple,g.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=xd)}switch(f){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Kn(c),null;case 6:if(s&&c.stateNode!=null)E1(s,c,s.memoizedProps,g);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(f=Ks(xc.current),Ks($o.current),Dd(c)){if(g=c.stateNode,f=c.memoizedProps,g[Zo]=c,(S=g.nodeValue!==f)&&(s=Nr,s!==null))switch(s.tag){case 3:bd(g.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&bd(g.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else g=(f.nodeType===9?f:f.ownerDocument).createTextNode(g),g[Zo]=c,c.stateNode=g}return Kn(c),null;case 13:if(Wt($t),g=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Kt&&Fr!==null&&(c.mode&1)!==0&&(c.flags&128)===0)Dw(),Ka(),c.flags|=98560,S=!1;else if(S=Dd(c),g!==null&&g.dehydrated!==null){if(s===null){if(!S)throw Error(n(318));if(S=c.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[Zo]=c}else Ka(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Kn(c),S=!1}else mo!==null&&(ng(mo),mo=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(g=g!==null,g!==(s!==null&&s.memoizedState!==null)&&g&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||($t.current&1)!==0?wn===0&&(wn=3):ig())),c.updateQueue!==null&&(c.flags|=4),Kn(c),null);case 4:return Za(),WA(s,c),s===null&&hc(c.stateNode.containerInfo),Kn(c),null;case 10:return yA(c.type._context),Kn(c),null;case 17:return yr(c.type)&&kd(),Kn(c),null;case 19:if(Wt($t),S=c.memoizedState,S===null)return Kn(c),null;if(g=(c.flags&128)!==0,O=S.rendering,O===null)if(g)Cc(S,!1);else{if(wn!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Od(s),O!==null){for(c.flags|=128,Cc(S,!1),g=O.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),c.subtreeFlags=0,g=f,f=c.child;f!==null;)S=f,s=g,S.flags&=14680066,O=S.alternate,O===null?(S.childLanes=0,S.lanes=s,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=O.childLanes,S.lanes=O.lanes,S.child=O.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=O.memoizedProps,S.memoizedState=O.memoizedState,S.updateQueue=O.updateQueue,S.type=O.type,s=O.dependencies,S.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),f=f.sibling;return Qt($t,$t.current&1|2),c.child}s=s.sibling}S.tail!==null&&Lt()>nl&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304)}else{if(!g)if(s=Od(O),s!==null){if(c.flags|=128,g=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Kt)return Kn(c),null}else 2*Lt()-S.renderingStartTime>nl&&f!==1073741824&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304);S.isBackwards?(O.sibling=c.child,c.child=O):(f=S.last,f!==null?f.sibling=O:c.child=O,S.last=O)}return S.tail!==null?(c=S.tail,S.rendering=c,S.tail=c.sibling,S.renderingStartTime=Lt(),c.sibling=null,f=$t.current,Qt($t,g?f&1|2:f&1),c):(Kn(c),null);case 22:case 23:return og(),g=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==g&&(c.flags|=8192),g&&(c.mode&1)!==0?(jr&1073741824)!==0&&(Kn(c),c.subtreeFlags&6&&(c.flags|=8192)):Kn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function M4(s,c){switch(pA(c),c.tag){case 1:return yr(c.type)&&kd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Za(),Wt(vr),Wt(Yn),CA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return SA(c),null;case 13:if(Wt($t),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Ka()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return Wt($t),null;case 4:return Za(),null;case 10:return yA(c.type._context),null;case 22:case 23:return og(),null;case 24:return null;default:return null}}var Ud=!1,Gn=!1,O4=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function el(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(g){sn(s,c,g)}else f.current=null}function YA(s,c,f){try{f()}catch(g){sn(s,c,g)}}var C1=!1;function R4(s,c){if(oA=Lr,s=ow(),Xh(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&g.rangeCount!==0){f=g.anchorNode;var v=g.anchorOffset,S=g.focusNode;g=g.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ce=0,be=0,xe=s,ye=null;t:for(;;){for(var Re;xe!==f||v!==0&&xe.nodeType!==3||(U=O+v),xe!==S||g!==0&&xe.nodeType!==3||(Y=O+g),xe.nodeType===3&&(O+=xe.nodeValue.length),(Re=xe.firstChild)!==null;)ye=xe,xe=Re;for(;;){if(xe===s)break t;if(ye===f&&++ce===v&&(U=O),ye===S&&++be===g&&(Y=O),(Re=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Re}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(iA={focusedElem:s,selectionRange:f},Lr=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Qe=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Qe!==null){var Ue=Qe.memoizedProps,cn=Qe.memoizedState,ne=c.stateNode,X=ne.getSnapshotBeforeUpdate(c.elementType===c.type?Ue:vo(c.type,Ue),cn);ne.__reactInternalSnapshotBeforeUpdate=X}break;case 3:var se=c.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Pe){sn(c,c.return,Pe)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Qe=C1,C1=!1,Qe}function Pc(s,c,f){var g=c.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var v=g=g.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&YA(c,f,S)}v=v.next}while(v!==g)}}function Vd(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&s)===s){var g=f.create;f.destroy=g()}f=f.next}while(f!==c)}}function qA(s){var c=s.ref;if(c!==null){var f=s.stateNode;s.tag,s=f,typeof c=="function"?c(s):c.current=s}}function P1(s){var c=s.alternate;c!==null&&(s.alternate=null,P1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[Zo],delete c[gc],delete c[cA],delete c[m4],delete c[v4])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function D1(s){return s.tag===5||s.tag===3||s.tag===4}function T1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||D1(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function KA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(s,c):f.insertBefore(s,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(s,f)):(c=f,c.appendChild(s)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=xd));else if(g!==4&&(s=s.child,s!==null))for(KA(s,c,f),s=s.sibling;s!==null;)KA(s,c,f),s=s.sibling}function GA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(g!==4&&(s=s.child,s!==null))for(GA(s,c,f),s=s.sibling;s!==null;)GA(s,c,f),s=s.sibling}var Ln=null,yo=!1;function is(s,c,f){for(f=f.child;f!==null;)B1(s,c,f),f=f.sibling}function B1(s,c,f){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Or,f)}catch{}switch(f.tag){case 5:Gn||el(f,c);case 6:var g=Ln,v=yo;Ln=null,is(s,c,f),Ln=g,yo=v,Ln!==null&&(yo?(s=Ln,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):Ln.removeChild(f.stateNode));break;case 18:Ln!==null&&(yo?(s=Ln,f=f.stateNode,s.nodeType===8?lA(s.parentNode,f):s.nodeType===1&&lA(s,f),Go(s)):lA(Ln,f.stateNode));break;case 4:g=Ln,v=yo,Ln=f.stateNode.containerInfo,yo=!0,is(s,c,f),Ln=g,yo=v;break;case 0:case 11:case 14:case 15:if(!Gn&&(g=f.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){v=g=g.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&YA(f,c,O),v=v.next}while(v!==g)}is(s,c,f);break;case 1:if(!Gn&&(el(f,c),g=f.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=f.memoizedProps,g.state=f.memoizedState,g.componentWillUnmount()}catch(U){sn(f,c,U)}is(s,c,f);break;case 21:is(s,c,f);break;case 22:f.mode&1?(Gn=(g=Gn)||f.memoizedState!==null,is(s,c,f),Gn=g):is(s,c,f);break;default:is(s,c,f)}}function _1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new O4),c.forEach(function(g){var v=V4.bind(null,s,g);f.has(g)||(f.add(g),g.then(v,v))})}}function bo(s,c){var f=c.deletions;if(f!==null)for(var g=0;g<f.length;g++){var v=f[g];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:Ln=U.stateNode,yo=!1;break e;case 3:Ln=U.stateNode.containerInfo,yo=!0;break e;case 4:Ln=U.stateNode.containerInfo,yo=!0;break e}U=U.return}if(Ln===null)throw Error(n(160));B1(S,O,v),Ln=null,yo=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ce){sn(v,c,ce)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)I1(c,s),c=c.sibling}function I1(s,c){var f=s.alternate,g=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(bo(c,s),ti(s),g&4){try{Pc(3,s,s.return),Vd(3,s)}catch(Ue){sn(s,s.return,Ue)}try{Pc(5,s,s.return)}catch(Ue){sn(s,s.return,Ue)}}break;case 1:bo(c,s),ti(s),g&512&&f!==null&&el(f,f.return);break;case 5:if(bo(c,s),ti(s),g&512&&f!==null&&el(f,f.return),s.flags&32){var v=s.stateNode;try{Le(v,"")}catch(Ue){sn(s,s.return,Ue)}}if(g&4&&(v=s.stateNode,v!=null)){var S=s.memoizedProps,O=f!==null?f.memoizedProps:S,U=s.type,Y=s.updateQueue;if(s.updateQueue=null,Y!==null)try{U==="input"&&S.type==="radio"&&S.name!=null&&At(v,S),qe(U,O);var ce=qe(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],xe=Y[O+1];be==="style"?le(v,xe):be==="dangerouslySetInnerHTML"?fe(v,xe):be==="children"?Le(v,xe):D(v,be,xe,ce)}switch(U){case"input":lt(v,S);break;case"textarea":fn(v,S);break;case"select":var ye=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Re=S.value;Re!=null?Rt(v,!!S.multiple,Re,!1):ye!==!!S.multiple&&(S.defaultValue!=null?Rt(v,!!S.multiple,S.defaultValue,!0):Rt(v,!!S.multiple,S.multiple?[]:"",!1))}v[gc]=S}catch(Ue){sn(s,s.return,Ue)}}break;case 6:if(bo(c,s),ti(s),g&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(Ue){sn(s,s.return,Ue)}}break;case 3:if(bo(c,s),ti(s),g&4&&f!==null&&f.memoizedState.isDehydrated)try{Go(c.containerInfo)}catch(Ue){sn(s,s.return,Ue)}break;case 4:bo(c,s),ti(s);break;case 13:bo(c,s),ti(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(ZA=Lt())),g&4&&_1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Gn=(ce=Gn)||be,bo(c,s),Gn=ce):bo(c,s),ti(s),g&8192){if(ce=s.memoizedState!==null,(s.stateNode.isHidden=ce)&&!be&&(s.mode&1)!==0)for(Fe=s,be=s.child;be!==null;){for(xe=Fe=be;Fe!==null;){switch(ye=Fe,Re=ye.child,ye.tag){case 0:case 11:case 14:case 15:Pc(4,ye,ye.return);break;case 1:el(ye,ye.return);var Qe=ye.stateNode;if(typeof Qe.componentWillUnmount=="function"){g=ye,f=ye.return;try{c=g,Qe.props=c.memoizedProps,Qe.state=c.memoizedState,Qe.componentWillUnmount()}catch(Ue){sn(g,f,Ue)}}break;case 5:el(ye,ye.return);break;case 22:if(ye.memoizedState!==null){R1(xe);continue}}Re!==null?(Re.return=ye,Fe=Re):R1(xe)}be=be.sibling}e:for(be=null,xe=s;;){if(xe.tag===5){if(be===null){be=xe;try{v=xe.stateNode,ce?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=xe.stateNode,Y=xe.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=We("display",O))}catch(Ue){sn(s,s.return,Ue)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ce?"":xe.memoizedProps}catch(Ue){sn(s,s.return,Ue)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===s)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===s)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===s)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:bo(c,s),ti(s),g&4&&_1(s);break;case 21:break;default:bo(c,s),ti(s)}}function ti(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(D1(f)){var g=f;break e}f=f.return}throw Error(n(160))}switch(g.tag){case 5:var v=g.stateNode;g.flags&32&&(Le(v,""),g.flags&=-33);var S=T1(s);GA(s,S,v);break;case 3:case 4:var O=g.stateNode.containerInfo,U=T1(s);KA(s,U,O);break;default:throw Error(n(161))}}catch(Y){sn(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function L4(s,c,f){Fe=s,M1(s)}function M1(s,c,f){for(var g=(s.mode&1)!==0;Fe!==null;){var v=Fe,S=v.child;if(v.tag===22&&g){var O=v.memoizedState!==null||Ud;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Gn;U=Ud;var ce=Gn;if(Ud=O,(Gn=Y)&&!ce)for(Fe=v;Fe!==null;)O=Fe,Y=O.child,O.tag===22&&O.memoizedState!==null?L1(v):Y!==null?(Y.return=O,Fe=Y):L1(v);for(;S!==null;)Fe=S,M1(S),S=S.sibling;Fe=v,Ud=U,Gn=ce}O1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Fe=S):O1(s)}}function O1(s){for(;Fe!==null;){var c=Fe;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Gn||Vd(5,c);break;case 1:var g=c.stateNode;if(c.flags&4&&!Gn)if(f===null)g.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:vo(c.type,f.memoizedProps);g.componentDidUpdate(v,f.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Rw(c,S,g);break;case 3:var O=c.updateQueue;if(O!==null){if(f=null,c.child!==null)switch(c.child.tag){case 5:f=c.child.stateNode;break;case 1:f=c.child.stateNode}Rw(c,O,f)}break;case 5:var U=c.stateNode;if(f===null&&c.flags&4){f=U;var Y=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&f.focus();break;case"img":Y.src&&(f.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var ce=c.alternate;if(ce!==null){var be=ce.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&Go(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Gn||c.flags&512&&qA(c)}catch(ye){sn(c,c.return,ye)}}if(c===s){Fe=null;break}if(f=c.sibling,f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function R1(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function L1(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{Vd(4,c)}catch(Y){sn(c,f,Y)}break;case 1:var g=c.stateNode;if(typeof g.componentDidMount=="function"){var v=c.return;try{g.componentDidMount()}catch(Y){sn(c,v,Y)}}var S=c.return;try{qA(c)}catch(Y){sn(c,S,Y)}break;case 5:var O=c.return;try{qA(c)}catch(Y){sn(c,O,Y)}}}catch(Y){sn(c,c.return,Y)}if(c===s){Fe=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Fe=U;break}Fe=c.return}}var N4=Math.ceil,Wd=C.ReactCurrentDispatcher,XA=C.ReactCurrentOwner,ro=C.ReactCurrentBatchConfig,St=0,Pn=null,hn=null,Nn=0,jr=0,tl=es(0),wn=0,Dc=null,Xs=0,Yd=0,JA=0,Tc=null,xr=null,ZA=0,nl=1/0,Pi=null,qd=!1,$A=null,ss=null,Kd=!1,as=null,Gd=0,Bc=0,eg=null,Xd=-1,Jd=0;function nr(){return(St&6)!==0?Lt():Xd!==-1?Xd:Xd=Lt()}function ls(s){return(s.mode&1)===0?1:(St&2)!==0&&Nn!==0?Nn&-Nn:b4.transition!==null?(Jd===0&&(Jd=H()),Jd):(s=Ie,s!==0||(s=window.event,s=s===void 0?16:tc(s.type)),s)}function xo(s,c,f,g){if(50<Bc)throw Bc=0,eg=null,Error(n(185));$(s,f,g),((St&2)===0||s!==Pn)&&(s===Pn&&((St&2)===0&&(Yd|=f),wn===4&&cs(s,Nn)),wr(s,g),f===1&&St===0&&(c.mode&1)===0&&(nl=Lt()+500,Ed&&ns()))}function wr(s,c){var f=s.callbackNode;_(s,c);var g=Yo(s,s===Pn?Nn:0);if(g===0)f!==null&&_s(f),s.callbackNode=null,s.callbackPriority=0;else if(c=g&-g,s.callbackPriority!==c){if(f!=null&&_s(f),c===1)s.tag===0?y4(F1.bind(null,s)):kw(F1.bind(null,s)),A4(function(){(St&6)===0&&ns()}),f=null;else{switch(tt(g)){case 1:f=Yi;break;case 4:f=qi;break;case 16:f=Vo;break;case 536870912:f=uo;break;default:f=Vo}f=Y1(f,N1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function N1(s,c){if(Xd=-1,Jd=0,(St&6)!==0)throw Error(n(327));var f=s.callbackNode;if(rl()&&s.callbackNode!==f)return null;var g=Yo(s,s===Pn?Nn:0);if(g===0)return null;if((g&30)!==0||(g&s.expiredLanes)!==0||c)c=Zd(s,g);else{c=g;var v=St;St|=2;var S=z1();(Pn!==s||Nn!==c)&&(Pi=null,nl=Lt()+500,Zs(s,c));do try{z4();break}catch(U){j1(s,U)}while(!0);vA(),Wd.current=S,St=v,hn!==null?c=0:(Pn=null,Nn=0,c=wn)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(g=v,c=tg(s,v))),c===1)throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;if(c===6)cs(s,g);else{if(v=s.current.alternate,(g&30)===0&&!F4(v)&&(c=Zd(s,g),c===2&&(S=F(s),S!==0&&(g=S,c=tg(s,S))),c===1))throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;switch(s.finishedWork=v,s.finishedLanes=g,c){case 0:case 1:throw Error(n(345));case 2:$s(s,xr,Pi);break;case 3:if(cs(s,g),(g&130023424)===g&&(c=ZA+500-Lt(),10<c)){if(Yo(s,0)!==0)break;if(v=s.suspendedLanes,(v&g)!==g){nr(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=aA($s.bind(null,s,xr,Pi),c);break}$s(s,xr,Pi);break;case 4:if(cs(s,g),(g&4194240)===g)break;for(c=s.eventTimes,v=-1;0<g;){var O=31-bn(g);S=1<<O,O=c[O],O>v&&(v=O),g&=~S}if(g=v,g=Lt()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*N4(g/1960))-g,10<g){s.timeoutHandle=aA($s.bind(null,s,xr,Pi),g);break}$s(s,xr,Pi);break;case 5:$s(s,xr,Pi);break;default:throw Error(n(329))}}}return wr(s,Lt()),s.callbackNode===f?N1.bind(null,s):null}function tg(s,c){var f=Tc;return s.current.memoizedState.isDehydrated&&(Zs(s,c).flags|=256),s=Zd(s,c),s!==2&&(c=xr,xr=f,c!==null&&ng(c)),s}function ng(s){xr===null?xr=s:xr.push.apply(xr,s)}function F4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var g=0;g<f.length;g++){var v=f[g],S=v.getSnapshot;v=v.value;try{if(!go(S(),v))return!1}catch{return!1}}}if(f=c.child,c.subtreeFlags&16384&&f!==null)f.return=c,c=f;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function cs(s,c){for(c&=~JA,c&=~Yd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-bn(c),g=1<<f;s[f]=-1,c&=~g}}function F1(s){if((St&6)!==0)throw Error(n(327));rl();var c=Yo(s,0);if((c&1)===0)return wr(s,Lt()),null;var f=Zd(s,c);if(s.tag!==0&&f===2){var g=F(s);g!==0&&(c=g,f=tg(s,g))}if(f===1)throw f=Dc,Zs(s,0),cs(s,c),wr(s,Lt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,$s(s,xr,Pi),wr(s,Lt()),null}function rg(s,c){var f=St;St|=1;try{return s(c)}finally{St=f,St===0&&(nl=Lt()+500,Ed&&ns())}}function Js(s){as!==null&&as.tag===0&&(St&6)===0&&rl();var c=St;St|=1;var f=ro.transition,g=Ie;try{if(ro.transition=null,Ie=1,s)return s()}finally{Ie=g,ro.transition=f,St=c,(St&6)===0&&ns()}}function og(){jr=tl.current,Wt(tl)}function Zs(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,h4(f)),hn!==null)for(f=hn.return;f!==null;){var g=f;switch(pA(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&kd();break;case 3:Za(),Wt(vr),Wt(Yn),CA();break;case 5:SA(g);break;case 4:Za();break;case 13:Wt($t);break;case 19:Wt($t);break;case 10:yA(g.type._context);break;case 22:case 23:og()}f=f.return}if(Pn=s,hn=s=us(s.current,null),Nn=jr=c,wn=0,Dc=null,JA=Yd=Xs=0,xr=Tc=null,qs!==null){for(c=0;c<qs.length;c++)if(f=qs[c],g=f.interleaved,g!==null){f.interleaved=null;var v=g.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,g.next=O}f.pending=g}qs=null}return s}function j1(s,c){do{var f=hn;try{if(vA(),Rd.current=jd,Ld){for(var g=en.memoizedState;g!==null;){var v=g.queue;v!==null&&(v.pending=null),g=g.next}Ld=!1}if(Gs=0,Cn=xn=en=null,wc=!1,kc=0,XA.current=null,f===null||f.return===null){wn=1,Dc=c,hn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Nn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ce=Y,be=U,xe=be.tag;if((be.mode&1)===0&&(xe===0||xe===11||xe===15)){var ye=be.alternate;ye?(be.updateQueue=ye.updateQueue,be.memoizedState=ye.memoizedState,be.lanes=ye.lanes):(be.updateQueue=null,be.memoizedState=null)}var Re=u1(O);if(Re!==null){Re.flags&=-257,d1(Re,O,U,S,c),Re.mode&1&&c1(S,ce,c),c=Re,Y=ce;var Qe=c.updateQueue;if(Qe===null){var Ue=new Set;Ue.add(Y),c.updateQueue=Ue}else Qe.add(Y);break e}else{if((c&1)===0){c1(S,ce,c),ig();break e}Y=Error(n(426))}}else if(Kt&&U.mode&1){var cn=u1(O);if(cn!==null){(cn.flags&65536)===0&&(cn.flags|=256),d1(cn,O,U,S,c),gA($a(Y,U));break e}}S=Y=$a(Y,U),wn!==4&&(wn=2),Tc===null?Tc=[S]:Tc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var ne=a1(S,Y,c);Ow(S,ne);break e;case 1:U=Y;var X=S.type,se=S.stateNode;if((S.flags&128)===0&&(typeof X.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(ss===null||!ss.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Pe=l1(S,U,c);Ow(S,Pe);break e}}S=S.return}while(S!==null)}H1(f)}catch(Ye){c=Ye,hn===f&&f!==null&&(hn=f=f.return);continue}break}while(!0)}function z1(){var s=Wd.current;return Wd.current=jd,s===null?jd:s}function ig(){(wn===0||wn===3||wn===2)&&(wn=4),Pn===null||(Xs&268435455)===0&&(Yd&268435455)===0||cs(Pn,Nn)}function Zd(s,c){var f=St;St|=2;var g=z1();(Pn!==s||Nn!==c)&&(Pi=null,Zs(s,c));do try{j4();break}catch(v){j1(s,v)}while(!0);if(vA(),St=f,Wd.current=g,hn!==null)throw Error(n(261));return Pn=null,Nn=0,wn}function j4(){for(;hn!==null;)Q1(hn)}function z4(){for(;hn!==null&&!Pa();)Q1(hn)}function Q1(s){var c=W1(s.alternate,s,jr);s.memoizedProps=s.pendingProps,c===null?H1(s):hn=c,XA.current=null}function H1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=I4(f,c,jr),f!==null){hn=f;return}}else{if(f=M4(f,c),f!==null){f.flags&=32767,hn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{wn=6,hn=null;return}}if(c=c.sibling,c!==null){hn=c;return}hn=c=s}while(c!==null);wn===0&&(wn=5)}function $s(s,c,f){var g=Ie,v=ro.transition;try{ro.transition=null,Ie=1,Q4(s,c,f,g)}finally{ro.transition=v,Ie=g}return null}function Q4(s,c,f,g){do rl();while(as!==null);if((St&6)!==0)throw Error(n(327));f=s.finishedWork;var v=s.finishedLanes;if(f===null)return null;if(s.finishedWork=null,s.finishedLanes=0,f===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var S=f.lanes|f.childLanes;if(he(s,S),s===Pn&&(hn=Pn=null,Nn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Kd||(Kd=!0,Y1(Vo,function(){return rl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=ro.transition,ro.transition=null;var O=Ie;Ie=1;var U=St;St|=4,XA.current=null,R4(s,f),I1(f,s),a4(iA),Lr=!!oA,iA=oA=null,s.current=f,L4(f),Da(),St=U,Ie=O,ro.transition=S}else s.current=f;if(Kd&&(Kd=!1,as=s,Gd=v),S=s.pendingLanes,S===0&&(ss=null),hi(f.stateNode),wr(s,Lt()),c!==null)for(g=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],g(v.value,{componentStack:v.stack,digest:v.digest});if(qd)throw qd=!1,s=$A,$A=null,s;return(Gd&1)!==0&&s.tag!==0&&rl(),S=s.pendingLanes,(S&1)!==0?s===eg?Bc++:(Bc=0,eg=s):Bc=0,ns(),null}function rl(){if(as!==null){var s=tt(Gd),c=ro.transition,f=Ie;try{if(ro.transition=null,Ie=16>s?16:s,as===null)var g=!1;else{if(s=as,as=null,Gd=0,(St&6)!==0)throw Error(n(331));var v=St;for(St|=4,Fe=s.current;Fe!==null;){var S=Fe,O=S.child;if((Fe.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ce=U[Y];for(Fe=ce;Fe!==null;){var be=Fe;switch(be.tag){case 0:case 11:case 15:Pc(8,be,S)}var xe=be.child;if(xe!==null)xe.return=be,Fe=xe;else for(;Fe!==null;){be=Fe;var ye=be.sibling,Re=be.return;if(P1(be),be===ce){Fe=null;break}if(ye!==null){ye.return=Re,Fe=ye;break}Fe=Re}}}var Qe=S.alternate;if(Qe!==null){var Ue=Qe.child;if(Ue!==null){Qe.child=null;do{var cn=Ue.sibling;Ue.sibling=null,Ue=cn}while(Ue!==null)}}Fe=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Fe=O;else e:for(;Fe!==null;){if(S=Fe,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Pc(9,S,S.return)}var ne=S.sibling;if(ne!==null){ne.return=S.return,Fe=ne;break e}Fe=S.return}}var X=s.current;for(Fe=X;Fe!==null;){O=Fe;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Fe=se;else e:for(O=X;Fe!==null;){if(U=Fe,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:Vd(9,U)}}catch(Ye){sn(U,U.return,Ye)}if(U===O){Fe=null;break e}var Pe=U.sibling;if(Pe!==null){Pe.return=U.return,Fe=Pe;break e}Fe=U.return}}if(St=v,ns(),$n&&typeof $n.onPostCommitFiberRoot=="function")try{$n.onPostCommitFiberRoot(Or,s)}catch{}g=!0}return g}finally{Ie=f,ro.transition=c}}return!1}function U1(s,c,f){c=$a(f,c),c=a1(s,c,1),s=os(s,c,1),c=nr(),s!==null&&($(s,1,c),wr(s,c))}function sn(s,c,f){if(s.tag===3)U1(s,s,f);else for(;c!==null;){if(c.tag===3){U1(c,s,f);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(ss===null||!ss.has(g))){s=$a(f,s),s=l1(c,s,1),c=os(c,s,1),s=nr(),c!==null&&($(c,1,s),wr(c,s));break}}c=c.return}}function H4(s,c,f){var g=s.pingCache;g!==null&&g.delete(c),c=nr(),s.pingedLanes|=s.suspendedLanes&f,Pn===s&&(Nn&f)===f&&(wn===4||wn===3&&(Nn&130023424)===Nn&&500>Lt()-ZA?Zs(s,0):JA|=f),wr(s,c)}function V1(s,c){c===0&&((s.mode&1)===0?c=1:(c=Ai,Ai<<=1,(Ai&130023424)===0&&(Ai=4194304)));var f=nr();s=Si(s,c),s!==null&&($(s,c,f),wr(s,f))}function U4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),V1(s,f)}function V4(s,c){var f=0;switch(s.tag){case 13:var g=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:g=s.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(c),V1(s,f)}var W1;W1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||vr.current)br=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return br=!1,_4(s,c,f);br=(s.flags&131072)!==0}else br=!1,Kt&&(c.flags&1048576)!==0&&Sw(c,Pd,c.index);switch(c.lanes=0,c.tag){case 2:var g=c.type;Hd(s,c),s=c.pendingProps;var v=Wa(c,Yn.current);Ja(c,f),v=TA(null,c,g,s,v,f);var S=BA();return c.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,yr(g)?(S=!0,Sd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,wA(c),v.updater=zd,c.stateNode=v,v._reactInternals=c,LA(c,g,s,f),c=zA(null,c,g,!0,S,f)):(c.tag=0,Kt&&S&&fA(c),tr(null,c,v,f),c=c.child),c;case 16:g=c.elementType;e:{switch(Hd(s,c),s=c.pendingProps,v=g._init,g=v(g._payload),c.type=g,v=c.tag=Y4(g),s=vo(g,s),v){case 0:c=jA(null,c,g,s,f);break e;case 1:c=m1(null,c,g,s,f);break e;case 11:c=f1(null,c,g,s,f);break e;case 14:c=p1(null,c,g,vo(g.type,s),f);break e}throw Error(n(306,g,""))}return c;case 0:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),jA(s,c,g,v,f);case 1:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),m1(s,c,g,v,f);case 3:e:{if(v1(c),s===null)throw Error(n(387));g=c.pendingProps,S=c.memoizedState,v=S.element,Mw(s,c),Md(c,g,null,f);var O=c.memoizedState;if(g=O.element,S.isDehydrated)if(S={element:g,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=$a(Error(n(423)),c),c=y1(s,c,g,f,v);break e}else if(g!==v){v=$a(Error(n(424)),c),c=y1(s,c,g,f,v);break e}else for(Fr=$i(c.stateNode.containerInfo.firstChild),Nr=c,Kt=!0,mo=null,f=_w(c,null,g,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Ka(),g===v){c=Ci(s,c,f);break e}tr(s,c,g,f)}c=c.child}return c;case 5:return Lw(c),s===null&&AA(c),g=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,sA(g,v)?O=null:S!==null&&sA(g,S)&&(c.flags|=32),g1(s,c),tr(s,c,O,f),c.child;case 6:return s===null&&AA(c),null;case 13:return b1(s,c,f);case 4:return kA(c,c.stateNode.containerInfo),g=c.pendingProps,s===null?c.child=Ga(c,null,g,f):tr(s,c,g,f),c.child;case 11:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),f1(s,c,g,v,f);case 7:return tr(s,c,c.pendingProps,f),c.child;case 8:return tr(s,c,c.pendingProps.children,f),c.child;case 12:return tr(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(g=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Qt(Bd,g._currentValue),g._currentValue=O,S!==null)if(go(S.value,O)){if(S.children===v.children&&!vr.current){c=Ci(s,c,f);break e}}else for(S=c.child,S!==null&&(S.return=c);S!==null;){var U=S.dependencies;if(U!==null){O=S.child;for(var Y=U.firstContext;Y!==null;){if(Y.context===g){if(S.tag===1){Y=Ei(-1,f&-f),Y.tag=2;var ce=S.updateQueue;if(ce!==null){ce=ce.shared;var be=ce.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ce.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),bA(S.return,f,c),U.lanes|=f;break}Y=Y.next}}else if(S.tag===10)O=S.type===c.type?null:S.child;else if(S.tag===18){if(O=S.return,O===null)throw Error(n(341));O.lanes|=f,U=O.alternate,U!==null&&(U.lanes|=f),bA(O,f,c),O=S.sibling}else O=S.child;if(O!==null)O.return=S;else for(O=S;O!==null;){if(O===c){O=null;break}if(S=O.sibling,S!==null){S.return=O.return,O=S;break}O=O.return}S=O}tr(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,g=c.pendingProps.children,Ja(c,f),v=to(v),g=g(v),c.flags|=1,tr(s,c,g,f),c.child;case 14:return g=c.type,v=vo(g,c.pendingProps),v=vo(g.type,v),p1(s,c,g,v,f);case 15:return h1(s,c,c.type,c.pendingProps,f);case 17:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),Hd(s,c),c.tag=1,yr(g)?(s=!0,Sd(c)):s=!1,Ja(c,f),i1(c,g,v),LA(c,g,v,f),zA(null,c,g,!0,s,f);case 19:return w1(s,c,f);case 22:return A1(s,c,f)}throw Error(n(156,c.tag))};function Y1(s,c){return pi(s,c)}function W4(s,c,f,g){this.tag=s,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oo(s,c,f,g){return new W4(s,c,f,g)}function sg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Y4(s){if(typeof s=="function")return sg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===te)return 14}return 2}function us(s,c){var f=s.alternate;return f===null?(f=oo(s.tag,c,s.key,s.mode),f.elementType=s.elementType,f.type=s.type,f.stateNode=s.stateNode,f.alternate=s,s.alternate=f):(f.pendingProps=c,f.type=s.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=s.flags&14680064,f.childLanes=s.childLanes,f.lanes=s.lanes,f.child=s.child,f.memoizedProps=s.memoizedProps,f.memoizedState=s.memoizedState,f.updateQueue=s.updateQueue,c=s.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=s.sibling,f.index=s.index,f.ref=s.ref,f}function $d(s,c,f,g,v,S){var O=2;if(g=s,typeof s=="function")sg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return ea(f.children,v,S,c);case V:O=8,v|=8;break;case K:return s=oo(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case oe:return s=oo(13,f,c,v),s.elementType=oe,s.lanes=S,s;case ue:return s=oo(19,f,c,v),s.elementType=ue,s.lanes=S,s;case ee:return ef(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case Z:O=9;break e;case W:O=11;break e;case te:O=14;break e;case pe:O=16,g=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=oo(O,f,c,v),c.elementType=s,c.type=g,c.lanes=S,c}function ea(s,c,f,g){return s=oo(7,s,g,c),s.lanes=f,s}function ef(s,c,f,g){return s=oo(22,s,g,c),s.elementType=ee,s.lanes=f,s.stateNode={isHidden:!1},s}function ag(s,c,f){return s=oo(6,s,null,c),s.lanes=f,s}function lg(s,c,f){return c=oo(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function q4(s,c,f,g,v){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ie(0),this.expirationTimes=ie(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ie(0),this.identifierPrefix=g,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function cg(s,c,f,g,v,S,O,U,Y){return s=new q4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=oo(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:g,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},wA(S),s}function K4(s,c,f){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:g==null?null:""+g,children:s,containerInfo:c,implementation:f}}function q1(s){if(!s)return ts;s=s._reactInternals;e:{if(En(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(yr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var f=s.type;if(yr(f))return xw(s,f,c)}return c}function K1(s,c,f,g,v,S,O,U,Y){return s=cg(f,g,!0,s,v,S,O,U,Y),s.context=q1(null),f=s.current,g=nr(),v=ls(f),S=Ei(g,v),S.callback=c??null,os(f,S,v),s.current.lanes=v,$(s,v,g),wr(s,g),s}function tf(s,c,f,g){var v=c.current,S=nr(),O=ls(v);return f=q1(f),c.context===null?c.context=f:c.pendingContext=f,c=Ei(S,O),c.payload={element:s},g=g===void 0?null:g,g!==null&&(c.callback=g),s=os(v,c,O),s!==null&&(xo(s,v,O,S),Id(s,v,O)),O}function nf(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function G1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ug(s,c){G1(s,c),(s=s.alternate)&&G1(s,c)}function G4(){return null}var X1=typeof reportError=="function"?reportError:function(s){console.error(s)};function dg(s){this._internalRoot=s}rf.prototype.render=dg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));tf(s,c,null,null)},rf.prototype.unmount=dg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;Js(function(){tf(null,s,null,null)}),c[bi]=null}};function rf(s){this._internalRoot=s}rf.prototype.unstable_scheduleHydration=function(s){if(s){var c=fr();s={blockedOn:null,target:s,priority:c};for(var f=0;f<Ko.length&&c!==0&&c<Ko[f].priority;f++);Ko.splice(f,0,s),f===0&&Jr(s)}};function fg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function of(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function J1(){}function X4(s,c,f,g,v){if(v){if(typeof g=="function"){var S=g;g=function(){var ce=nf(O);S.call(ce)}}var O=K1(c,g,s,0,null,!1,!1,"",J1);return s._reactRootContainer=O,s[bi]=O.current,hc(s.nodeType===8?s.parentNode:s),Js(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof g=="function"){var U=g;g=function(){var ce=nf(Y);U.call(ce)}}var Y=cg(s,0,!1,null,null,!1,!1,"",J1);return s._reactRootContainer=Y,s[bi]=Y.current,hc(s.nodeType===8?s.parentNode:s),Js(function(){tf(c,Y,f,g)}),Y}function sf(s,c,f,g,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=nf(O);U.call(Y)}}tf(c,O,s,v)}else O=X4(f,c,s,v,g);return nf(O)}ut=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Wo(c.pendingLanes);f!==0&&(De(c,f|1),wr(c,Lt()),(St&6)===0&&(nl=Lt()+500,ns()))}break;case 13:Js(function(){var g=Si(s,1);if(g!==null){var v=nr();xo(g,s,1,v)}}),ug(s,1)}},It=function(s){if(s.tag===13){var c=Si(s,134217728);if(c!==null){var f=nr();xo(c,s,134217728,f)}ug(s,134217728)}},dr=function(s){if(s.tag===13){var c=ls(s),f=Si(s,c);if(f!==null){var g=nr();xo(f,s,c,g)}ug(s,c)}},fr=function(){return Ie},Un=function(s,c){var f=Ie;try{return Ie=s,c()}finally{Ie=f}},bt=function(s,c,f){switch(c){case"input":if(lt(s,f),c=f.name,f.type==="radio"&&c!=null){for(f=s;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<f.length;c++){var g=f[c];if(g!==s&&g.form===s.form){var v=wd(g);if(!v)throw Error(n(90));Me(g),lt(g,v)}}}break;case"textarea":fn(s,f);break;case"select":c=f.value,c!=null&&Rt(s,!!f.multiple,c,!1)}},Ut=rg,an=Js;var J4={usingClientEntryPoint:!1,Events:[mc,Ua,wd,qt,rn,rg]},_c={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Z4={bundleType:_c.bundleType,version:_c.version,rendererPackageName:_c.rendererPackageName,rendererConfig:_c.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=co(s),s===null?null:s.stateNode},findFiberByHostInstance:_c.findFiberByHostInstance||G4,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 af=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!af.isDisabled&&af.supportsFiber)try{Or=af.inject(Z4),$n=af}catch{}}return rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J4,rr.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fg(c))throw Error(n(200));return K4(s,c,null,f)},rr.createRoot=function(s,c){if(!fg(s))throw Error(n(299));var f=!1,g="",v=X1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=cg(s,1,!1,null,null,f,!1,g,v),s[bi]=c.current,hc(s.nodeType===8?s.parentNode:s),new dg(c)},rr.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=co(c),s=s===null?null:s.stateNode,s},rr.flushSync=function(s){return Js(s)},rr.hydrate=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!0,f)},rr.hydrateRoot=function(s,c,f){if(!fg(s))throw Error(n(405));var g=f!=null&&f.hydratedSources||null,v=!1,S="",O=X1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=K1(c,null,s,1,f??null,v,!1,S,O),s[bi]=c.current,hc(s),g)for(s=0;s<g.length;s++)f=g[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new rf(c)},rr.render=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!1,f)},rr.unmountComponentAtNode=function(s){if(!of(s))throw Error(n(40));return s._reactRootContainer?(Js(function(){sf(null,null,s,!1,function(){s._reactRootContainer=null,s[bi]=null})}),!0):!1},rr.unstable_batchedUpdates=rg,rr.unstable_renderSubtreeIntoContainer=function(s,c,f,g){if(!of(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return sf(s,c,f,!1,g)},rr.version="18.3.1-next-f1338f8080-20240426",rr}var bg;function xg(){if(bg)return uf.exports;bg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),uf.exports=rk(),uf.exports}var wg;function ok(){if(wg)return Ic;wg=1;var t=xg();return Ic.createRoot=t.createRoot,Ic.hydrateRoot=t.hydrateRoot,Ic}var ik=ok();const sk="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20className='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function pf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:o=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${o?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:sk,alt:e,height:"14"})})},"home"),r.map(i=>E.jsx("li",{className:i.classes||"",children:i.href||i.onClick?E.jsx("a",{href:i.href,onClick:i.onClick,children:i.name}):i.name},i.name))]})}const ak=T.createContext(null),hf={didCatch:!1,error:null};class kg extends T.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hf}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){const{error:n}=this.state;n!==null&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(hf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:o}=this.props;r&&n.error!==null&&lk(e.resetKeys,o)&&(this.props.onReset?.({next:o,prev:e.resetKeys,reason:"keys"}),this.setState(hf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let l=e;if(i){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=T.createElement(r,u);else if(o!==void 0)l=o;else throw a}return T.createElement(ak.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function lk(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const ck=T.lazy(()=>Promise.resolve().then(()=>SD).then(t=>({default:t.QABot})));let Sg=class extends T.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:o,apiKey:i,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:y}=this.props,w=i||void 0||null;if(!w)return console.error("QA Bot: No valid API key provided"),null;const b=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(kg,{children:E.jsx(T.Suspense,{fallback:null,children:E.jsx(ck,{welcome:e,isLoggedIn:b,open:r,onOpenChange:o,embedded:a===!0,apiKey:w,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:y})})})}};const Eg=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],Cg=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:Eg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Pg={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},Dg={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},uk=[{className:"bluesky",href:"https://bsky.app/profile/accessforci.bsky.social",name:"Bluesky"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],dk=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],fk="https://www.nsf.gov/awardsearch/show-award/",sl=({number:t})=>E.jsxs("a",{href:`${fk}?AWD_ID=${t}`,children:["#",t]}),Mc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:o})=>E.jsx("li",{children:E.jsx("a",{className:n,href:o,children:r})},o))}),pk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuSuec35/VOfpWYLu/r7cZ8/z1HZtd09VdZ23PuH9hAMcHUfH0XF0vFoGOXoLDj36t9zEmBo4G1J2mNmDSI08l0yn+v/xuvdssY7enemHcvQWHHo4xrgi3NC1TA2+QQgXY4nxLSPjmXUAjgLrKLBe+bDyg5Qy3acHO5ltOxgcNwNDI3nt6J059KBHb8GL3CCm6wQkKiUHpQyapgcUhepH78xRYP2TwPLFqBJoJaBgjCEUDIYCPiV+uM43tP1mDG3/PT0KrP+fxtjeu+nQjlu69j75+Uu33fu2wzbRVPEvpoqvRQKglCISjsaCPnbyr78+7/B4U1TtlMC39j/ztUu33feOpudvO4McBdYRGr3rvzvTtdJfg+QPunb25onx7gv+9L2F//Lz9D3/Q4Uy/TLKtCCkACEE8eYuFg4F3qypNPgv90A3/wzczrxBOLlPcCf7h1Ry8J4DA2OvOQqsIzTMXF9HbnLbB7lrHgMWDOcN990KI9F/ufRg2hJC1QtBKCQEACAUiqMl3nJayM9ec//Plv6rxVULdwvvca2kajs8sOdgavG+vmzhKLCO0EiNrtudHnl6i5UfhC/YhqaW+Wf6dXbJgz9f9i9TG8M7bgkQ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r1pgMe0ESNFiOwaGxk0MjOb3FIPc/1T865s3JYSq0A1C4j05w33OtERti1F4dtzeviyfSJu/k1LesGZt9p8KV137rQGpMPKclLjetEVWSgm/ThH0sWU+nXUeBdYRGrse/k+NO7nzbTPBMpkcDg7nLdN2/wfAtn9F/Ou6GwehKWQPJeTztivGqlf35VxieMLE2KTxghDy62vWZv8lqQHv/WKPVBi5V0h5l8tlsTJIduYN97Wf/WDzUWAdiZFKbGsf6HnqhO69L2D3wRSSGet5KXHHv5JIfN/1vdA1+hSj5NZiI3kAgGEJDI0bjuWInwHo/1f+riuv3VuQEj9LpJ3xXT0Z7O5Jy8HR3Mm2zbWjXuGRAFZqfPTAYO5jw+PGVbmCfS4Xci2Af3m7w8s+1u0+/psVaylj7yCENAvhIpN3kMk7B6SU9x8ORjxb4M/3DefvGpssdDiuuB3AA4ySowTpkRgXfmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",hk="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",Tg=({nsfUrl:t="https://www.nsf.gov",placement:e="header",siteName:n="",siteUrl:r="/"})=>E.jsxs("div",{className:`logo logo-${e}`,children:[E.jsx("a",{className:"nsf",href:t,children:E.jsx("img",{className:"nsf-logo",src:pk,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:hk,alt:"ACCESS",role:"img"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),Af=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Bg=(t=900)=>{const[e,n]=T.useState(Af(t));return T.useEffect(()=>{window.addEventListener("resize",()=>n(Af(t)))},[]),e},_g=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ig={},Oc={},Ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:o=void 0,method:i="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Ig)return Ig[a];if(a in Oc)return Oc[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:o,method:i}).then(u=>{if(delete Oc[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Oc[a]=l,l},Xn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:o=null,headers:i=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=T.useState(o);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),T.useEffect(()=>{t.length&&(async()=>{const p=await Promise.all(t.map(A=>Ak(A,{body:e,cache:n,corsProxy:r,headers:i,method:a}))),h=d?p[0]:p;u(h)})()},[t.join(" ")]),l},Mg=()=>{const t=Xn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return gf([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:o,organizations:i,resources:a}=e,l=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],u=[-1];for(let w of r)[100,102,103].includes(w.feature_category_id)&&(l.push({tagCategoryId:w.feature_category_id,name:w.feature_category_name,tags:[]}),u.push(w.feature_category_id));l.sort((w,b)=>w.name.localeCompare(b.name));const d=o.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),p={};for(let w of i)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),p[w.organization_id]=w;d.sort((w,b)=>w.name.localeCompare(b.name));const h=d.map(w=>w.tagId),A=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],m=n.filter(w=>w.rollup_info_resourceids).map(w=>({infoGroupId:w.info_groupid,name:w.group_descriptive_name,description:w.group_description,infoResourceIds:w.rollup_info_resourceids,imageUri:w.group_logo_url?`https://cider.access-ci.org/public/groups/${w.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...w.rollup_organization_ids.map(b=>b*-1).filter(b=>h.includes(b)),...w.rollup_feature_ids.filter(b=>h.includes(b))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(b=>p[b]).filter(b=>b),resources:a.filter(b=>w.rollup_info_resourceids.includes(b.info_resourceid))})),y=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(y)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...y,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${y.infoGroupId}`,parentInfoGroupId:y.infoGroupId,name:w});return m.sort((w,b)=>w.name.localeCompare(b.name)),mk({resourceCategories:A,resourceGroups:m,tags:d,tagCategories:l})})},al=(t,e=null)=>{const n=Mg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},gk=(t,e=[])=>{const n=Xn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},gf=(t,e,n=null)=>T.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),mk=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const o={};for(let l of r)l.tags=[],o[l.tagCategoryId]=l;const i={};for(let l of n)l.tagCategory=o[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],i[l.tagId]=l;const a={};for(let l of t)l.resourceGroups=[],a[l.resourceCategoryId]=l;for(let l of e)l.resourceCategory=a[l.resourceCategoryId],l.resourceCategory.resourceGroups.push(l),l.tags=l.tagIds.map(u=>i[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},vk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const o=new Set,i=new Set,a=new Set,l=new Set(r);for(let p of e)l.has(p.tagId)&&a.add(p.tagCategoryId);const u=n.filter(({tagCategoryId:p})=>a.has(p)),d=new Set(e.filter(p=>!a.has(p.tagCategoryId)).map(p=>p.tagId));for(let p of t){let h=!0;for(let A of u){let m=!1;for(let y of A.tags)if(l.has(y.tagId)&&p.tags.includes(y)){m=!0;break}if(!m){h=!1;break}}if(h){i.add(p.infoGroupId),o.add(p.resourceCategoryId);for(let A of p.tagIds)d.delete(A)}}return{disabledTagIds:d,resourceCategoryIds:o,infoGroupIds:i,tagCategoryIds:a,tagIds:l}},Og=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},mf=t=>t.replace(/(<[^>]+>)/g,"").replace(/&nbsp;/g," "),vf=t=>{const e=[];for(let n of t.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const r=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),o=n.split(/<a[^<]+<\/a>/g),i=[];for(;o.length>0;){i.push(mf(o.shift()));let a=r.shift();if(a){let l=Og(a[1]);l&&i.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:i},n))}return e},yk=({showAfterScroll:t=300})=>{const[e,n]=T.useState(!1);return T.useEffect(()=>{window.addEventListener("scroll",()=>n(_g()>=t))},[]),E.jsx("button",{className:`scroll-to-top ${e?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},bk=(t={})=>E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"container",children:[E.jsxs("div",{className:"upper",children:[E.jsxs("div",{className:"about",children:[E.jsxs("p",{className:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",E.jsx(sl,{number:2138259}),", ",E.jsx(sl,{number:2138286}),","," ",E.jsx(sl,{number:2138307}),", ",E.jsx(sl,{number:2137603})," and"," ",E.jsx(sl,{number:2138296}),"."]}),E.jsx("p",{className:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),E.jsx("a",{className:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),E.jsx(Mc,{className:"social",items:uk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Mc,{items:Eg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Tg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Mc,{className:"links",items:dk})]})]}),E.jsx(yk,{...t})]}),xk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Tg,{...t})}),Rg=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:o,mode:i,name:a,onClick:l,open:u,parentId:d="root",setOpen:p})=>{const h=T.useId(),A=u[d]==h,m=A||t==i,y=()=>p({...u,[d]:A?null:h});if(r)return E.jsx("div",{dangerouslySetInnerHTML:{__html:r}});if(n||l)return E.jsx("a",{href:n||"#",onClick:l,className:`item ${e||""}`,children:a});if(o)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":h,className:`item ${m?"expanded":"collapsed"}`,onClick:y,children:a}),E.jsx("ul",{className:e,id:h,hidden:!m,"aria-hidden":!m,children:o.map(({autoOpenMode:w,classes:b,href:P,html:M,items:D,name:C,onClick:j})=>E.jsx("li",{className:b||"",children:E.jsx(Rg,{autoOpenMode:w,href:P,html:M,items:D,mode:i,name:C,onClick:j,open:u,parentId:h,setOpen:p})},C||M))})]})},Lg=({classes:t,items:e,name:n})=>{const r=T.useRef(null),o=Bg(1280),[i,a]=T.useState({});T.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&Af()=="desktop"&&a({})}),r.current.addEventListener("keydown",({key:u})=>{u=="Escape"&&a({})}))},[]);const l=t?.includes("universal")?"ACCESS universal navigation":t?.includes("site")?`${n}`:n;return E.jsx("nav",{className:`menu ${t||""}`,"aria-label":l,ref:r,children:E.jsx(Rg,{autoOpenMode:"desktop",items:e,mode:o,name:n,open:i,setOpen:a})})},wk=({items:t,siteName:e=""})=>{const n=Bg(768),r=t.map(({name:o,href:i,items:a,onClick:l})=>{if(n=="mobile")for(;!i;)i=a[0].href,a=a[0];return i||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:i,onClick:l,children:o})})},o):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:o}),E.jsx(Mc,{items:a})]},o)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},kk=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:o})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const i={...e?Pg:Dg};i.items=i.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...Cg,i];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=t.find(l=>l.name==o)),a&&(a.classes+=" active")}return E.jsx(Lg,{classes:"universal",items:t,name:"ACCESS Menu"})},Sk=({items:t,siteName:e})=>E.jsx(Lg,{classes:"site",items:t,name:`${e} Menu`});var Ng="popstate";function Fg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Ek(t={}){function e(r,o){let i=o.state?.masked,{pathname:a,search:l,hash:u}=i||r.location;return yf("",{pathname:a,search:l,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:ll(o)}return Pk(e,n,null,t)}function Gt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function wo(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ck(){return Math.random().toString(36).substring(2,10)}function jg(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function yf(t,e,n=null,r,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ta(e):e,state:n,key:e&&e.key||r||Ck(),unstable_mask:o}}function ll({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ta(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Pk(t,e,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l="POP",u=null,d=p();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function p(){return(a.state||{idx:null}).idx}function h(){l="POP";let b=p(),P=b==null?null:b-d;d=b,u&&u({action:l,location:w.location,delta:P})}function A(b,P){l="PUSH";let M=Fg(b)?b:yf(w.location,b,P);d=p()+1;let D=jg(M,d),C=w.createHref(M.unstable_mask||M);try{a.pushState(D,"",C)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(C)}i&&u&&u({action:l,location:w.location,delta:1})}function m(b,P){l="REPLACE";let M=Fg(b)?b:yf(w.location,b,P);d=p();let D=jg(M,d),C=w.createHref(M.unstable_mask||M);a.replaceState(D,"",C),i&&u&&u({action:l,location:w.location,delta:0})}function y(b){return Dk(b)}let w={get action(){return l},get location(){return t(o,a)},listen(b){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Ng,h),u=b,()=>{o.removeEventListener(Ng,h),u=null}},createHref(b){return e(o,b)},createURL:y,encodeLocation(b){let P=y(b);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:A,replace:m,go(b){return a.go(b)}};return w}function Dk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Gt(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:ll(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function zg(t,e,n="/"){return Tk(t,e,n,!1)}function Tk(t,e,n,r){let o=typeof e=="string"?ta(e):e,i=ni(o.pathname||"/",n);if(i==null)return null;let a=Qg(t);Bk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Qk(i);l=jk(a[u],d,r)}return l}function Qg(t,e=[],n=[],r="",o=!1){let i=(a,l,u=o,d)=>{let p={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&u)return;Gt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let h=ko([r,p.relativePath]),A=n.concat(p);a.children&&a.children.length>0&&(Gt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Qg(a.children,e,A,h,u)),!(a.path==null&&!a.index)&&e.push({path:h,score:Nk(h,a.index),routesMeta:A})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let u of Hg(a.path))i(a,l,!0,u)}),e}function Hg(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Hg(r.join("/")),l=[];return l.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function Bk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Fk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var _k=/^:[\w-]+$/,Ik=3,Mk=2,Ok=1,Rk=10,Lk=-2,Ug=t=>t==="*";function Nk(t,e){let n=t.split("/"),r=n.length;return n.some(Ug)&&(r+=Lk),e&&(r+=Mk),n.filter(o=>!Ug(o)).reduce((o,i)=>o+(_k.test(i)?Ik:i===""?Ok:Rk),r)}function Fk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function jk(t,e,n=!1){let{routesMeta:r}=t,o={},i="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,p=i==="/"?e:e.slice(i.length)||"/",h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},p),A=u.route;if(!h&&d&&n&&!r[r.length-1].route.index&&(h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},p)),!h)return null;Object.assign(o,h.params),a.push({params:o,pathname:ko([i,h.pathname]),pathnameBase:Wk(ko([i,h.pathnameBase])),route:A}),h.pathnameBase!=="/"&&(i=ko([i,h.pathnameBase]))}return a}function Rc(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=zk(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((d,{paramName:p,isOptional:h},A)=>{if(p==="*"){let y=l[A]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const m=l[A];return h&&!m?d[p]=void 0:d[p]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:a,pattern:t}}function zk(t,e=!1,n=!0){wo(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,p)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let h=p.charAt(d+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function Qk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return wo(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function ni(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}var Hk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Uk(t,e="/"){let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?ta(t):t,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Vg(n.substring(1),"/"):i=Vg(n,e)):i=e,{pathname:i,search:Yk(r),hash:qk(o)}}function Vg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function bf(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Wg(t){let e=Vk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function xf(t,e,n,r=!1){let o;typeof t=="string"?o=ta(t):(o={...t},Gt(!o.pathname||!o.pathname.includes("?"),bf("?","pathname","search",o)),Gt(!o.pathname||!o.pathname.includes("#"),bf("#","pathname","hash",o)),Gt(!o.search||!o.search.includes("#"),bf("#","search","hash",o)));let i=t===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let h=e.length-1;if(!r&&a.startsWith("..")){let A=a.split("/");for(;A[0]==="..";)A.shift(),h-=1;o.pathname=A.join("/")}l=h>=0?e[h]:"/"}let u=Uk(o,l),d=a&&a!=="/"&&a.endsWith("/"),p=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||p)&&(u.pathname+="/"),u}var ko=t=>t.join("/").replace(/\/\/+/g,"/"),Wk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Yk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Kk=class{constructor(t,e,n,r=!1){this.status=t,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Gk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Xk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qg(t,e){let n=t;if(typeof n!="string"||!Hk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(Yg)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),l=ni(a.pathname,e);a.origin===i.origin&&l!=null?n=l+a.search+a.hash:o=!0}catch{wo(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kg=["POST","PUT","PATCH","DELETE"];new Set(Kg);var Jk=["GET",...Kg];new Set(Jk);var na=T.createContext(null);na.displayName="DataRouter";var Lc=T.createContext(null);Lc.displayName="DataRouterState";var Zk=T.createContext(!1),Gg=T.createContext({isTransitioning:!1});Gg.displayName="ViewTransition";var $k=T.createContext(new Map);$k.displayName="Fetchers";var e2=T.createContext(null);e2.displayName="Await";var zr=T.createContext(null);zr.displayName="Navigation";var cl=T.createContext(null);cl.displayName="Location";var So=T.createContext({outlet:null,matches:[],isDataRoute:!1});So.displayName="Route";var wf=T.createContext(null);wf.displayName="RouteError";var Xg="REACT_ROUTER_ERROR",t2="REDIRECT",n2="ROUTE_ERROR_RESPONSE";function r2(t){if(t.startsWith(`${Xg}:${t2}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function o2(t){if(t.startsWith(`${Xg}:${n2}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Kk(e.status,e.statusText,e.data)}catch{}}function i2(t,{relative:e}={}){Gt(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=T.useContext(zr),{hash:o,pathname:i,search:a}=dl(t,{relative:e}),l=i;return n!=="/"&&(l=i==="/"?n:ko([n,i])),r.createHref({pathname:l,search:a,hash:o})}function ul(){return T.useContext(cl)!=null}function Di(){return Gt(ul(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(cl).location}var Jg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zg(t){T.useContext(zr).static||T.useLayoutEffect(t)}function s2(){let{isDataRoute:t}=T.useContext(So);return t?b2():a2()}function a2(){Gt(ul(),"useNavigate() may be used only in the context of a <Router> component.");let t=T.useContext(na),{basename:e,navigator:n}=T.useContext(zr),{matches:r}=T.useContext(So),{pathname:o}=Di(),i=JSON.stringify(Wg(r)),a=T.useRef(!1);return Zg(()=>{a.current=!0}),T.useCallback((u,d={})=>{if(wo(a.current,Jg),!a.current)return;if(typeof u=="number"){n.go(u);return}let p=xf(u,JSON.parse(i),o,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:ko([e,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[e,n,i,o,t])}T.createContext(null);function l2(){let{matches:t}=T.useContext(So),e=t[t.length-1];return e?e.params:{}}function dl(t,{relative:e}={}){let{matches:n}=T.useContext(So),{pathname:r}=Di(),o=JSON.stringify(Wg(n));return T.useMemo(()=>xf(t,JSON.parse(o),r,e==="path"),[t,o,r,e])}function c2(t,e){return $g(t,e)}function $g(t,e,n){Gt(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=T.useContext(zr),{matches:o}=T.useContext(So),i=o[o.length-1],a=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",d=i&&i.route;{let b=d&&d.path||"";nm(l,!d||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${b}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
8
+ `+S.stack}return{value:s,source:c,stack:v,digest:null}}function NA(s,c,f){return{value:s,source:null,stack:f??null,digest:c??null}}function FA(s,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var D4=typeof WeakMap=="function"?WeakMap:Map;function a1(s,c,f){f=Ei(-1,f),f.tag=3,f.payload={element:null};var g=c.value;return f.callback=function(){qd||(qd=!0,$A=g),FA(s,c)},f}function l1(s,c,f){f=Ei(-1,f),f.tag=3;var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var v=c.value;f.payload=function(){return g(v)},f.callback=function(){FA(s,c)}}var S=s.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(f.callback=function(){FA(s,c),typeof g!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var O=c.stack;this.componentDidCatch(c.value,{componentStack:O!==null?O:""})}),f}function c1(s,c,f){var g=s.pingCache;if(g===null){g=s.pingCache=new D4;var v=new Set;g.set(c,v)}else v=g.get(c),v===void 0&&(v=new Set,g.set(c,v));v.has(f)||(v.add(f),s=H4.bind(null,s,c,f),c.then(s,s))}function u1(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function d1(s,c,f,g,v){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(c=Ei(-1,1),c.tag=2,os(f,c,1))),f.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var T4=C.ReactCurrentOwner,br=!1;function tr(s,c,f,g){c.child=s===null?_w(c,null,f,g):Ga(c,s.child,f,g)}function f1(s,c,f,g,v){f=f.render;var S=c.ref;return Ja(c,v),g=TA(s,c,f,g,S,v),f=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Ci(s,c,v)):(Gt&&f&&fA(c),c.flags|=1,tr(s,c,g,v),c.child)}function p1(s,c,f,g,v){if(s===null){var S=f.type;return typeof S=="function"&&!sg(S)&&S.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=S,h1(s,c,S,g,v)):(s=$d(f.type,null,g,c,c.mode,v),s.ref=c.ref,s.return=c,c.child=s)}if(S=s.child,(s.lanes&v)===0){var O=S.memoizedProps;if(f=f.compare,f=f!==null?f:dc,f(O,g)&&s.ref===c.ref)return Ci(s,c,v)}return c.flags|=1,s=us(S,g),s.ref=c.ref,s.return=c,c.child=s}function h1(s,c,f,g,v){if(s!==null){var S=s.memoizedProps;if(dc(S,g)&&s.ref===c.ref)if(br=!1,c.pendingProps=g=S,(s.lanes&v)!==0)(s.flags&131072)!==0&&(br=!0);else return c.lanes=s.lanes,Ci(s,c,v)}return jA(s,c,f,g,v)}function A1(s,c,f){var g=c.pendingProps,v=g.children,S=s!==null?s.memoizedState:null;if(g.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qt(tl,jr),jr|=f;else{if((f&1073741824)===0)return s=S!==null?S.baseLanes|f:f,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Qt(tl,jr),jr|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=S!==null?S.baseLanes:f,Qt(tl,jr),jr|=g}else S!==null?(g=S.baseLanes|f,c.memoizedState=null):g=f,Qt(tl,jr),jr|=g;return tr(s,c,v,f),c.child}function g1(s,c){var f=c.ref;(s===null&&f!==null||s!==null&&s.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function jA(s,c,f,g,v){var S=yr(f)?Vs:Yn.current;return S=Wa(c,S),Ja(c,v),f=TA(s,c,f,g,S,v),g=BA(),s!==null&&!br?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~v,Ci(s,c,v)):(Gt&&g&&fA(c),c.flags|=1,tr(s,c,f,v),c.child)}function m1(s,c,f,g,v){if(yr(f)){var S=!0;Sd(c)}else S=!1;if(Ja(c,v),c.stateNode===null)Hd(s,c),i1(c,f,g),LA(c,f,g,v),g=!0;else if(s===null){var O=c.stateNode,U=c.memoizedProps;O.props=U;var Y=O.context,ce=f.contextType;typeof ce=="object"&&ce!==null?ce=to(ce):(ce=yr(f)?Vs:Yn.current,ce=Wa(c,ce));var be=f.getDerivedStateFromProps,xe=typeof be=="function"||typeof O.getSnapshotBeforeUpdate=="function";xe||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==g||Y!==ce)&&s1(c,O,g,ce),rs=!1;var ye=c.memoizedState;O.state=ye,Md(c,g,O,v),Y=c.memoizedState,U!==g||ye!==Y||vr.current||rs?(typeof be=="function"&&(RA(c,f,be,g),Y=c.memoizedState),(U=rs||o1(c,f,U,g,ye,Y,ce))?(xe||typeof O.UNSAFE_componentWillMount!="function"&&typeof O.componentWillMount!="function"||(typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount()),typeof O.componentDidMount=="function"&&(c.flags|=4194308)):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=Y),O.props=g,O.state=Y,O.context=ce,g=U):(typeof O.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{O=c.stateNode,Mw(s,c),U=c.memoizedProps,ce=c.type===c.elementType?U:vo(c.type,U),O.props=ce,xe=c.pendingProps,ye=O.context,Y=f.contextType,typeof Y=="object"&&Y!==null?Y=to(Y):(Y=yr(f)?Vs:Yn.current,Y=Wa(c,Y));var Re=f.getDerivedStateFromProps;(be=typeof Re=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(U!==xe||ye!==Y)&&s1(c,O,g,Y),rs=!1,ye=c.memoizedState,O.state=ye,Md(c,g,O,v);var Qe=c.memoizedState;U!==xe||ye!==Qe||vr.current||rs?(typeof Re=="function"&&(RA(c,f,Re,g),Qe=c.memoizedState),(ce=rs||o1(c,f,ce,g,ye,Qe,Y)||!1)?(be||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(g,Qe,Y),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(g,Qe,Y)),typeof O.componentDidUpdate=="function"&&(c.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=Qe),O.props=g,O.state=Qe,O.context=Y,g=ce):(typeof O.componentDidUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||U===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),g=!1)}return zA(s,c,f,g,S,v)}function zA(s,c,f,g,v,S){g1(s,c);var O=(c.flags&128)!==0;if(!g&&!O)return v&&ww(c,f,!1),Ci(s,c,S);g=c.stateNode,T4.current=c;var U=O&&typeof f.getDerivedStateFromError!="function"?null:g.render();return c.flags|=1,s!==null&&O?(c.child=Ga(c,s.child,null,S),c.child=Ga(c,null,U,S)):tr(s,c,U,S),c.memoizedState=g.state,v&&ww(c,f,!0),c.child}function v1(s){var c=s.stateNode;c.pendingContext?bw(s,c.pendingContext,c.pendingContext!==c.context):c.context&&bw(s,c.context,!1),kA(s,c.containerInfo)}function y1(s,c,f,g,v){return Ka(),gA(v),c.flags|=256,tr(s,c,f,g),c.child}var QA={dehydrated:null,treeContext:null,retryLane:0};function HA(s){return{baseLanes:s,cachePool:null,transitions:null}}function b1(s,c,f){var g=c.pendingProps,v=en.current,S=!1,O=(c.flags&128)!==0,U;if((U=O)||(U=s!==null&&s.memoizedState===null?!1:(v&2)!==0),U?(S=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(v|=1),Qt(en,v&1),s===null)return AA(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(O=g.children,s=g.fallback,S?(g=c.mode,S=c.child,O={mode:"hidden",children:O},(g&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=O):S=ef(O,g,0,null),s=ea(s,g,f,null),S.return=c,s.return=c,S.sibling=s,c.child=S,c.child.memoizedState=HA(f),c.memoizedState=QA,s):UA(c,O));if(v=s.memoizedState,v!==null&&(U=v.dehydrated,U!==null))return B4(s,c,O,g,U,v,f);if(S){S=g.fallback,O=c.mode,v=s.child,U=v.sibling;var Y={mode:"hidden",children:g.children};return(O&1)===0&&c.child!==v?(g=c.child,g.childLanes=0,g.pendingProps=Y,c.deletions=null):(g=us(v,Y),g.subtreeFlags=v.subtreeFlags&14680064),U!==null?S=us(U,S):(S=ea(S,O,f,null),S.flags|=2),S.return=c,g.return=c,g.sibling=S,c.child=g,g=S,S=c.child,O=s.child.memoizedState,O=O===null?HA(f):{baseLanes:O.baseLanes|f,cachePool:null,transitions:O.transitions},S.memoizedState=O,S.childLanes=s.childLanes&~f,c.memoizedState=QA,g}return S=s.child,s=S.sibling,g=us(S,{mode:"visible",children:g.children}),(c.mode&1)===0&&(g.lanes=f),g.return=c,g.sibling=null,s!==null&&(f=c.deletions,f===null?(c.deletions=[s],c.flags|=16):f.push(s)),c.child=g,c.memoizedState=null,g}function UA(s,c){return c=ef({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function Qd(s,c,f,g){return g!==null&&gA(g),Ga(c,s.child,null,f),s=UA(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function B4(s,c,f,g,v,S,O){if(f)return c.flags&256?(c.flags&=-257,g=NA(Error(n(422))),Qd(s,c,O,g)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(S=g.fallback,v=c.mode,g=ef({mode:"visible",children:g.children},v,0,null),S=ea(S,v,O,null),S.flags|=2,g.return=c,S.return=c,g.sibling=S,c.child=g,(c.mode&1)!==0&&Ga(c,s.child,null,O),c.child.memoizedState=HA(O),c.memoizedState=QA,S);if((c.mode&1)===0)return Qd(s,c,O,null);if(v.data==="$!"){if(g=v.nextSibling&&v.nextSibling.dataset,g)var U=g.dgst;return g=U,S=Error(n(419)),g=NA(S,g,void 0),Qd(s,c,O,g)}if(U=(O&s.childLanes)!==0,br||U){if(g=Pn,g!==null){switch(O&-O){case 4:v=2;break;case 16:v=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:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(g.suspendedLanes|O))!==0?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,Si(s,v),xo(g,s,v,-1))}return ig(),g=NA(Error(n(421))),Qd(s,c,O,g)}return v.data==="$?"?(c.flags|=128,c.child=s.child,c=U4.bind(null,s),v._reactRetry=c,null):(s=S.treeContext,Fr=$i(v.nextSibling),Nr=c,Gt=!0,mo=null,s!==null&&($r[eo++]=wi,$r[eo++]=ki,$r[eo++]=Ws,wi=s.id,ki=s.overflow,Ws=c),c=UA(c,g.children),c.flags|=4096,c)}function x1(s,c,f){s.lanes|=c;var g=s.alternate;g!==null&&(g.lanes|=c),bA(s.return,c,f)}function VA(s,c,f,g,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:f,tailMode:v}:(S.isBackwards=c,S.rendering=null,S.renderingStartTime=0,S.last=g,S.tail=f,S.tailMode=v)}function w1(s,c,f){var g=c.pendingProps,v=g.revealOrder,S=g.tail;if(tr(s,c,g.children,f),g=en.current,(g&2)!==0)g=g&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&x1(s,f,c);else if(s.tag===19)x1(s,f,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}g&=1}if(Qt(en,g),(c.mode&1)===0)c.memoizedState=null;else switch(v){case"forwards":for(f=c.child,v=null;f!==null;)s=f.alternate,s!==null&&Od(s)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),VA(c,!1,v,f,S);break;case"backwards":for(f=null,v=c.child,c.child=null;v!==null;){if(s=v.alternate,s!==null&&Od(s)===null){c.child=v;break}s=v.sibling,v.sibling=f,f=v,v=s}VA(c,!0,f,null,S);break;case"together":VA(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Hd(s,c){(c.mode&1)===0&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Ci(s,c,f){if(s!==null&&(c.dependencies=s.dependencies),Xs|=c.lanes,(f&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,f=us(s,s.pendingProps),c.child=f,f.return=c;s.sibling!==null;)s=s.sibling,f=f.sibling=us(s,s.pendingProps),f.return=c;f.sibling=null}return c.child}function _4(s,c,f){switch(c.tag){case 3:v1(c),Ka();break;case 5:Lw(c);break;case 1:yr(c.type)&&Sd(c);break;case 4:kA(c,c.stateNode.containerInfo);break;case 10:var g=c.type._context,v=c.memoizedProps.value;Qt(Bd,g._currentValue),g._currentValue=v;break;case 13:if(g=c.memoizedState,g!==null)return g.dehydrated!==null?(Qt(en,en.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?b1(s,c,f):(Qt(en,en.current&1),s=Ci(s,c,f),s!==null?s.sibling:null);Qt(en,en.current&1);break;case 19:if(g=(f&c.childLanes)!==0,(s.flags&128)!==0){if(g)return w1(s,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Qt(en,en.current),g)break;return null;case 22:case 23:return c.lanes=0,A1(s,c,f)}return Ci(s,c,f)}var k1,WA,S1,E1;k1=function(s,c){for(var f=c.child;f!==null;){if(f.tag===5||f.tag===6)s.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===c)break;for(;f.sibling===null;){if(f.return===null||f.return===c)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},WA=function(){},S1=function(s,c,f,g){var v=s.memoizedProps;if(v!==g){s=c.stateNode,Ks($o.current);var S=null;switch(f){case"input":v=Xe(s,v),g=Xe(s,g),S=[];break;case"select":v=de({},v,{value:void 0}),g=de({},g,{value:void 0}),S=[];break;case"textarea":v=dt(s,v),g=dt(s,g),S=[];break;default:typeof v.onClick!="function"&&typeof g.onClick=="function"&&(s.onclick=xd)}Te(f,g);var O;f=null;for(ce in v)if(!g.hasOwnProperty(ce)&&v.hasOwnProperty(ce)&&v[ce]!=null)if(ce==="style"){var U=v[ce];for(O in U)U.hasOwnProperty(O)&&(f||(f={}),f[O]="")}else ce!=="dangerouslySetInnerHTML"&&ce!=="children"&&ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&ce!=="autoFocus"&&(o.hasOwnProperty(ce)?S||(S=[]):(S=S||[]).push(ce,null));for(ce in g){var Y=g[ce];if(U=v?.[ce],g.hasOwnProperty(ce)&&Y!==U&&(Y!=null||U!=null))if(ce==="style")if(U){for(O in U)!U.hasOwnProperty(O)||Y&&Y.hasOwnProperty(O)||(f||(f={}),f[O]="");for(O in Y)Y.hasOwnProperty(O)&&U[O]!==Y[O]&&(f||(f={}),f[O]=Y[O])}else f||(S||(S=[]),S.push(ce,f)),f=Y;else ce==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,U=U?U.__html:void 0,Y!=null&&U!==Y&&(S=S||[]).push(ce,Y)):ce==="children"?typeof Y!="string"&&typeof Y!="number"||(S=S||[]).push(ce,""+Y):ce!=="suppressContentEditableWarning"&&ce!=="suppressHydrationWarning"&&(o.hasOwnProperty(ce)?(Y!=null&&ce==="onScroll"&&Vt("scroll",s),S||U===Y||(S=[])):(S=S||[]).push(ce,Y))}f&&(S=S||[]).push("style",f);var ce=S;(c.updateQueue=ce)&&(c.flags|=4)}},E1=function(s,c,f,g){f!==g&&(c.flags|=4)};function Cc(s,c){if(!Gt)switch(s.tailMode){case"hidden":c=s.tail;for(var f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?s.tail=null:f.sibling=null;break;case"collapsed":f=s.tail;for(var g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:g.sibling=null}}function Kn(s){var c=s.alternate!==null&&s.alternate.child===s.child,f=0,g=0;if(c)for(var v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags&14680064,g|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags,g|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=g,s.childLanes=f,c}function I4(s,c,f){var g=c.pendingProps;switch(pA(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kn(c),null;case 1:return yr(c.type)&&kd(),Kn(c),null;case 3:return g=c.stateNode,Za(),Wt(vr),Wt(Yn),CA(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(s===null||s.child===null)&&(Dd(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,mo!==null&&(ng(mo),mo=null))),WA(s,c),Kn(c),null;case 5:SA(c);var v=Ks(xc.current);if(f=c.type,s!==null&&c.stateNode!=null)S1(s,c,f,g,v),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!g){if(c.stateNode===null)throw Error(n(166));return Kn(c),null}if(s=Ks($o.current),Dd(c)){g=c.stateNode,f=c.type;var S=c.memoizedProps;switch(g[Zo]=c,g[gc]=S,s=(c.mode&1)!==0,f){case"dialog":Vt("cancel",g),Vt("close",g);break;case"iframe":case"object":case"embed":Vt("load",g);break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],g);break;case"source":Vt("error",g);break;case"img":case"image":case"link":Vt("error",g),Vt("load",g);break;case"details":Vt("toggle",g);break;case"input":Ge(g,S),Vt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!S.multiple},Vt("invalid",g);break;case"textarea":Ke(g,S),Vt("invalid",g)}Te(f,S),v=null;for(var O in S)if(S.hasOwnProperty(O)){var U=S[O];O==="children"?typeof U=="string"?g.textContent!==U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",U]):typeof U=="number"&&g.textContent!==""+U&&(S.suppressHydrationWarning!==!0&&bd(g.textContent,U,s),v=["children",""+U]):o.hasOwnProperty(O)&&U!=null&&O==="onScroll"&&Vt("scroll",g)}switch(f){case"input":wt(g),gt(g,S,!0);break;case"textarea":wt(g),Yt(g);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(g.onclick=xd)}g=v,c.updateQueue=g,g!==null&&(c.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=vn(f)),s==="http://www.w3.org/1999/xhtml"?f==="script"?(s=O.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof g.is=="string"?s=O.createElement(f,{is:g.is}):(s=O.createElement(f),f==="select"&&(O=s,g.multiple?O.multiple=!0:g.size&&(O.size=g.size))):s=O.createElementNS(s,f),s[Zo]=c,s[gc]=g,k1(s,c,!1,!1),c.stateNode=s;e:{switch(O=qe(f,g),f){case"dialog":Vt("cancel",s),Vt("close",s),v=g;break;case"iframe":case"object":case"embed":Vt("load",s),v=g;break;case"video":case"audio":for(v=0;v<pc.length;v++)Vt(pc[v],s);v=g;break;case"source":Vt("error",s),v=g;break;case"img":case"image":case"link":Vt("error",s),Vt("load",s),v=g;break;case"details":Vt("toggle",s),v=g;break;case"input":Ge(s,g),v=Xe(s,g),Vt("invalid",s);break;case"option":v=g;break;case"select":s._wrapperState={wasMultiple:!!g.multiple},v=de({},g,{value:void 0}),Vt("invalid",s);break;case"textarea":Ke(s,g),v=dt(s,g),Vt("invalid",s);break;default:v=g}Te(f,v),U=v;for(S in U)if(U.hasOwnProperty(S)){var Y=U[S];S==="style"?le(s,Y):S==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&fe(s,Y)):S==="children"?typeof Y=="string"?(f!=="textarea"||Y!=="")&&Le(s,Y):typeof Y=="number"&&Le(s,""+Y):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(o.hasOwnProperty(S)?Y!=null&&S==="onScroll"&&Vt("scroll",s):Y!=null&&D(s,S,Y,O))}switch(f){case"input":wt(s),gt(s,g,!1);break;case"textarea":wt(s),Yt(s);break;case"option":g.value!=null&&s.setAttribute("value",""+Ve(g.value));break;case"select":s.multiple=!!g.multiple,S=g.value,S!=null?Rt(s,!!g.multiple,S,!1):g.defaultValue!=null&&Rt(s,!!g.multiple,g.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=xd)}switch(f){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return Kn(c),null;case 6:if(s&&c.stateNode!=null)E1(s,c,s.memoizedProps,g);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(f=Ks(xc.current),Ks($o.current),Dd(c)){if(g=c.stateNode,f=c.memoizedProps,g[Zo]=c,(S=g.nodeValue!==f)&&(s=Nr,s!==null))switch(s.tag){case 3:bd(g.nodeValue,f,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&bd(g.nodeValue,f,(s.mode&1)!==0)}S&&(c.flags|=4)}else g=(f.nodeType===9?f:f.ownerDocument).createTextNode(g),g[Zo]=c,c.stateNode=g}return Kn(c),null;case 13:if(Wt(en),g=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Gt&&Fr!==null&&(c.mode&1)!==0&&(c.flags&128)===0)Dw(),Ka(),c.flags|=98560,S=!1;else if(S=Dd(c),g!==null&&g.dehydrated!==null){if(s===null){if(!S)throw Error(n(318));if(S=c.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[Zo]=c}else Ka(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Kn(c),S=!1}else mo!==null&&(ng(mo),mo=null),S=!0;if(!S)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(g=g!==null,g!==(s!==null&&s.memoizedState!==null)&&g&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(en.current&1)!==0?wn===0&&(wn=3):ig())),c.updateQueue!==null&&(c.flags|=4),Kn(c),null);case 4:return Za(),WA(s,c),s===null&&hc(c.stateNode.containerInfo),Kn(c),null;case 10:return yA(c.type._context),Kn(c),null;case 17:return yr(c.type)&&kd(),Kn(c),null;case 19:if(Wt(en),S=c.memoizedState,S===null)return Kn(c),null;if(g=(c.flags&128)!==0,O=S.rendering,O===null)if(g)Cc(S,!1);else{if(wn!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(O=Od(s),O!==null){for(c.flags|=128,Cc(S,!1),g=O.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),c.subtreeFlags=0,g=f,f=c.child;f!==null;)S=f,s=g,S.flags&=14680066,O=S.alternate,O===null?(S.childLanes=0,S.lanes=s,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=O.childLanes,S.lanes=O.lanes,S.child=O.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=O.memoizedProps,S.memoizedState=O.memoizedState,S.updateQueue=O.updateQueue,S.type=O.type,s=O.dependencies,S.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),f=f.sibling;return Qt(en,en.current&1|2),c.child}s=s.sibling}S.tail!==null&&Lt()>nl&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304)}else{if(!g)if(s=Od(O),s!==null){if(c.flags|=128,g=!0,f=s.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!O.alternate&&!Gt)return Kn(c),null}else 2*Lt()-S.renderingStartTime>nl&&f!==1073741824&&(c.flags|=128,g=!0,Cc(S,!1),c.lanes=4194304);S.isBackwards?(O.sibling=c.child,c.child=O):(f=S.last,f!==null?f.sibling=O:c.child=O,S.last=O)}return S.tail!==null?(c=S.tail,S.rendering=c,S.tail=c.sibling,S.renderingStartTime=Lt(),c.sibling=null,f=en.current,Qt(en,g?f&1|2:f&1),c):(Kn(c),null);case 22:case 23:return og(),g=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==g&&(c.flags|=8192),g&&(c.mode&1)!==0?(jr&1073741824)!==0&&(Kn(c),c.subtreeFlags&6&&(c.flags|=8192)):Kn(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function M4(s,c){switch(pA(c),c.tag){case 1:return yr(c.type)&&kd(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Za(),Wt(vr),Wt(Yn),CA(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return SA(c),null;case 13:if(Wt(en),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Ka()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return Wt(en),null;case 4:return Za(),null;case 10:return yA(c.type._context),null;case 22:case 23:return og(),null;case 24:return null;default:return null}}var Ud=!1,Gn=!1,O4=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function el(s,c){var f=s.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(g){sn(s,c,g)}else f.current=null}function YA(s,c,f){try{f()}catch(g){sn(s,c,g)}}var C1=!1;function R4(s,c){if(oA=Lr,s=ow(),Xh(s)){if("selectionStart"in s)var f={start:s.selectionStart,end:s.selectionEnd};else e:{f=(f=s.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&g.rangeCount!==0){f=g.anchorNode;var v=g.anchorOffset,S=g.focusNode;g=g.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var O=0,U=-1,Y=-1,ce=0,be=0,xe=s,ye=null;t:for(;;){for(var Re;xe!==f||v!==0&&xe.nodeType!==3||(U=O+v),xe!==S||g!==0&&xe.nodeType!==3||(Y=O+g),xe.nodeType===3&&(O+=xe.nodeValue.length),(Re=xe.firstChild)!==null;)ye=xe,xe=Re;for(;;){if(xe===s)break t;if(ye===f&&++ce===v&&(U=O),ye===S&&++be===g&&(Y=O),(Re=xe.nextSibling)!==null)break;xe=ye,ye=xe.parentNode}xe=Re}f=U===-1||Y===-1?null:{start:U,end:Y}}else f=null}f=f||{start:0,end:0}}else f=null;for(iA={focusedElem:s,selectionRange:f},Lr=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Qe=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Qe!==null){var Ue=Qe.memoizedProps,cn=Qe.memoizedState,ne=c.stateNode,X=ne.getSnapshotBeforeUpdate(c.elementType===c.type?Ue:vo(c.type,Ue),cn);ne.__reactInternalSnapshotBeforeUpdate=X}break;case 3:var se=c.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Pe){sn(c,c.return,Pe)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Qe=C1,C1=!1,Qe}function Pc(s,c,f){var g=c.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var v=g=g.next;do{if((v.tag&s)===s){var S=v.destroy;v.destroy=void 0,S!==void 0&&YA(c,f,S)}v=v.next}while(v!==g)}}function Vd(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&s)===s){var g=f.create;f.destroy=g()}f=f.next}while(f!==c)}}function qA(s){var c=s.ref;if(c!==null){var f=s.stateNode;s.tag,s=f,typeof c=="function"?c(s):c.current=s}}function P1(s){var c=s.alternate;c!==null&&(s.alternate=null,P1(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[Zo],delete c[gc],delete c[cA],delete c[m4],delete c[v4])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function D1(s){return s.tag===5||s.tag===3||s.tag===4}function T1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||D1(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function KA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(s,c):f.insertBefore(s,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(s,f)):(c=f,c.appendChild(s)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=xd));else if(g!==4&&(s=s.child,s!==null))for(KA(s,c,f),s=s.sibling;s!==null;)KA(s,c,f),s=s.sibling}function GA(s,c,f){var g=s.tag;if(g===5||g===6)s=s.stateNode,c?f.insertBefore(s,c):f.appendChild(s);else if(g!==4&&(s=s.child,s!==null))for(GA(s,c,f),s=s.sibling;s!==null;)GA(s,c,f),s=s.sibling}var Ln=null,yo=!1;function is(s,c,f){for(f=f.child;f!==null;)B1(s,c,f),f=f.sibling}function B1(s,c,f){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Or,f)}catch{}switch(f.tag){case 5:Gn||el(f,c);case 6:var g=Ln,v=yo;Ln=null,is(s,c,f),Ln=g,yo=v,Ln!==null&&(yo?(s=Ln,f=f.stateNode,s.nodeType===8?s.parentNode.removeChild(f):s.removeChild(f)):Ln.removeChild(f.stateNode));break;case 18:Ln!==null&&(yo?(s=Ln,f=f.stateNode,s.nodeType===8?lA(s.parentNode,f):s.nodeType===1&&lA(s,f),Go(s)):lA(Ln,f.stateNode));break;case 4:g=Ln,v=yo,Ln=f.stateNode.containerInfo,yo=!0,is(s,c,f),Ln=g,yo=v;break;case 0:case 11:case 14:case 15:if(!Gn&&(g=f.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){v=g=g.next;do{var S=v,O=S.destroy;S=S.tag,O!==void 0&&((S&2)!==0||(S&4)!==0)&&YA(f,c,O),v=v.next}while(v!==g)}is(s,c,f);break;case 1:if(!Gn&&(el(f,c),g=f.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=f.memoizedProps,g.state=f.memoizedState,g.componentWillUnmount()}catch(U){sn(f,c,U)}is(s,c,f);break;case 21:is(s,c,f);break;case 22:f.mode&1?(Gn=(g=Gn)||f.memoizedState!==null,is(s,c,f),Gn=g):is(s,c,f);break;default:is(s,c,f)}}function _1(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var f=s.stateNode;f===null&&(f=s.stateNode=new O4),c.forEach(function(g){var v=V4.bind(null,s,g);f.has(g)||(f.add(g),g.then(v,v))})}}function bo(s,c){var f=c.deletions;if(f!==null)for(var g=0;g<f.length;g++){var v=f[g];try{var S=s,O=c,U=O;e:for(;U!==null;){switch(U.tag){case 5:Ln=U.stateNode,yo=!1;break e;case 3:Ln=U.stateNode.containerInfo,yo=!0;break e;case 4:Ln=U.stateNode.containerInfo,yo=!0;break e}U=U.return}if(Ln===null)throw Error(n(160));B1(S,O,v),Ln=null,yo=!1;var Y=v.alternate;Y!==null&&(Y.return=null),v.return=null}catch(ce){sn(v,c,ce)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)I1(c,s),c=c.sibling}function I1(s,c){var f=s.alternate,g=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(bo(c,s),ti(s),g&4){try{Pc(3,s,s.return),Vd(3,s)}catch(Ue){sn(s,s.return,Ue)}try{Pc(5,s,s.return)}catch(Ue){sn(s,s.return,Ue)}}break;case 1:bo(c,s),ti(s),g&512&&f!==null&&el(f,f.return);break;case 5:if(bo(c,s),ti(s),g&512&&f!==null&&el(f,f.return),s.flags&32){var v=s.stateNode;try{Le(v,"")}catch(Ue){sn(s,s.return,Ue)}}if(g&4&&(v=s.stateNode,v!=null)){var S=s.memoizedProps,O=f!==null?f.memoizedProps:S,U=s.type,Y=s.updateQueue;if(s.updateQueue=null,Y!==null)try{U==="input"&&S.type==="radio"&&S.name!=null&&At(v,S),qe(U,O);var ce=qe(U,S);for(O=0;O<Y.length;O+=2){var be=Y[O],xe=Y[O+1];be==="style"?le(v,xe):be==="dangerouslySetInnerHTML"?fe(v,xe):be==="children"?Le(v,xe):D(v,be,xe,ce)}switch(U){case"input":lt(v,S);break;case"textarea":fn(v,S);break;case"select":var ye=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Re=S.value;Re!=null?Rt(v,!!S.multiple,Re,!1):ye!==!!S.multiple&&(S.defaultValue!=null?Rt(v,!!S.multiple,S.defaultValue,!0):Rt(v,!!S.multiple,S.multiple?[]:"",!1))}v[gc]=S}catch(Ue){sn(s,s.return,Ue)}}break;case 6:if(bo(c,s),ti(s),g&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,S=s.memoizedProps;try{v.nodeValue=S}catch(Ue){sn(s,s.return,Ue)}}break;case 3:if(bo(c,s),ti(s),g&4&&f!==null&&f.memoizedState.isDehydrated)try{Go(c.containerInfo)}catch(Ue){sn(s,s.return,Ue)}break;case 4:bo(c,s),ti(s);break;case 13:bo(c,s),ti(s),v=s.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(ZA=Lt())),g&4&&_1(s);break;case 22:if(be=f!==null&&f.memoizedState!==null,s.mode&1?(Gn=(ce=Gn)||be,bo(c,s),Gn=ce):bo(c,s),ti(s),g&8192){if(ce=s.memoizedState!==null,(s.stateNode.isHidden=ce)&&!be&&(s.mode&1)!==0)for(Fe=s,be=s.child;be!==null;){for(xe=Fe=be;Fe!==null;){switch(ye=Fe,Re=ye.child,ye.tag){case 0:case 11:case 14:case 15:Pc(4,ye,ye.return);break;case 1:el(ye,ye.return);var Qe=ye.stateNode;if(typeof Qe.componentWillUnmount=="function"){g=ye,f=ye.return;try{c=g,Qe.props=c.memoizedProps,Qe.state=c.memoizedState,Qe.componentWillUnmount()}catch(Ue){sn(g,f,Ue)}}break;case 5:el(ye,ye.return);break;case 22:if(ye.memoizedState!==null){R1(xe);continue}}Re!==null?(Re.return=ye,Fe=Re):R1(xe)}be=be.sibling}e:for(be=null,xe=s;;){if(xe.tag===5){if(be===null){be=xe;try{v=xe.stateNode,ce?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(U=xe.stateNode,Y=xe.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,U.style.display=We("display",O))}catch(Ue){sn(s,s.return,Ue)}}}else if(xe.tag===6){if(be===null)try{xe.stateNode.nodeValue=ce?"":xe.memoizedProps}catch(Ue){sn(s,s.return,Ue)}}else if((xe.tag!==22&&xe.tag!==23||xe.memoizedState===null||xe===s)&&xe.child!==null){xe.child.return=xe,xe=xe.child;continue}if(xe===s)break e;for(;xe.sibling===null;){if(xe.return===null||xe.return===s)break e;be===xe&&(be=null),xe=xe.return}be===xe&&(be=null),xe.sibling.return=xe.return,xe=xe.sibling}}break;case 19:bo(c,s),ti(s),g&4&&_1(s);break;case 21:break;default:bo(c,s),ti(s)}}function ti(s){var c=s.flags;if(c&2){try{e:{for(var f=s.return;f!==null;){if(D1(f)){var g=f;break e}f=f.return}throw Error(n(160))}switch(g.tag){case 5:var v=g.stateNode;g.flags&32&&(Le(v,""),g.flags&=-33);var S=T1(s);GA(s,S,v);break;case 3:case 4:var O=g.stateNode.containerInfo,U=T1(s);KA(s,U,O);break;default:throw Error(n(161))}}catch(Y){sn(s,s.return,Y)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function L4(s,c,f){Fe=s,M1(s)}function M1(s,c,f){for(var g=(s.mode&1)!==0;Fe!==null;){var v=Fe,S=v.child;if(v.tag===22&&g){var O=v.memoizedState!==null||Ud;if(!O){var U=v.alternate,Y=U!==null&&U.memoizedState!==null||Gn;U=Ud;var ce=Gn;if(Ud=O,(Gn=Y)&&!ce)for(Fe=v;Fe!==null;)O=Fe,Y=O.child,O.tag===22&&O.memoizedState!==null?L1(v):Y!==null?(Y.return=O,Fe=Y):L1(v);for(;S!==null;)Fe=S,M1(S),S=S.sibling;Fe=v,Ud=U,Gn=ce}O1(s)}else(v.subtreeFlags&8772)!==0&&S!==null?(S.return=v,Fe=S):O1(s)}}function O1(s){for(;Fe!==null;){var c=Fe;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Gn||Vd(5,c);break;case 1:var g=c.stateNode;if(c.flags&4&&!Gn)if(f===null)g.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:vo(c.type,f.memoizedProps);g.componentDidUpdate(v,f.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var S=c.updateQueue;S!==null&&Rw(c,S,g);break;case 3:var O=c.updateQueue;if(O!==null){if(f=null,c.child!==null)switch(c.child.tag){case 5:f=c.child.stateNode;break;case 1:f=c.child.stateNode}Rw(c,O,f)}break;case 5:var U=c.stateNode;if(f===null&&c.flags&4){f=U;var Y=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&f.focus();break;case"img":Y.src&&(f.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var ce=c.alternate;if(ce!==null){var be=ce.memoizedState;if(be!==null){var xe=be.dehydrated;xe!==null&&Go(xe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Gn||c.flags&512&&qA(c)}catch(ye){sn(c,c.return,ye)}}if(c===s){Fe=null;break}if(f=c.sibling,f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function R1(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var f=c.sibling;if(f!==null){f.return=c.return,Fe=f;break}Fe=c.return}}function L1(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{Vd(4,c)}catch(Y){sn(c,f,Y)}break;case 1:var g=c.stateNode;if(typeof g.componentDidMount=="function"){var v=c.return;try{g.componentDidMount()}catch(Y){sn(c,v,Y)}}var S=c.return;try{qA(c)}catch(Y){sn(c,S,Y)}break;case 5:var O=c.return;try{qA(c)}catch(Y){sn(c,O,Y)}}}catch(Y){sn(c,c.return,Y)}if(c===s){Fe=null;break}var U=c.sibling;if(U!==null){U.return=c.return,Fe=U;break}Fe=c.return}}var N4=Math.ceil,Wd=C.ReactCurrentDispatcher,XA=C.ReactCurrentOwner,ro=C.ReactCurrentBatchConfig,St=0,Pn=null,hn=null,Nn=0,jr=0,tl=es(0),wn=0,Dc=null,Xs=0,Yd=0,JA=0,Tc=null,xr=null,ZA=0,nl=1/0,Pi=null,qd=!1,$A=null,ss=null,Kd=!1,as=null,Gd=0,Bc=0,eg=null,Xd=-1,Jd=0;function nr(){return(St&6)!==0?Lt():Xd!==-1?Xd:Xd=Lt()}function ls(s){return(s.mode&1)===0?1:(St&2)!==0&&Nn!==0?Nn&-Nn:b4.transition!==null?(Jd===0&&(Jd=H()),Jd):(s=Ie,s!==0||(s=window.event,s=s===void 0?16:tc(s.type)),s)}function xo(s,c,f,g){if(50<Bc)throw Bc=0,eg=null,Error(n(185));$(s,f,g),((St&2)===0||s!==Pn)&&(s===Pn&&((St&2)===0&&(Yd|=f),wn===4&&cs(s,Nn)),wr(s,g),f===1&&St===0&&(c.mode&1)===0&&(nl=Lt()+500,Ed&&ns()))}function wr(s,c){var f=s.callbackNode;_(s,c);var g=Yo(s,s===Pn?Nn:0);if(g===0)f!==null&&_s(f),s.callbackNode=null,s.callbackPriority=0;else if(c=g&-g,s.callbackPriority!==c){if(f!=null&&_s(f),c===1)s.tag===0?y4(F1.bind(null,s)):kw(F1.bind(null,s)),A4(function(){(St&6)===0&&ns()}),f=null;else{switch(tt(g)){case 1:f=Yi;break;case 4:f=qi;break;case 16:f=Vo;break;case 536870912:f=uo;break;default:f=Vo}f=Y1(f,N1.bind(null,s))}s.callbackPriority=c,s.callbackNode=f}}function N1(s,c){if(Xd=-1,Jd=0,(St&6)!==0)throw Error(n(327));var f=s.callbackNode;if(rl()&&s.callbackNode!==f)return null;var g=Yo(s,s===Pn?Nn:0);if(g===0)return null;if((g&30)!==0||(g&s.expiredLanes)!==0||c)c=Zd(s,g);else{c=g;var v=St;St|=2;var S=z1();(Pn!==s||Nn!==c)&&(Pi=null,nl=Lt()+500,Zs(s,c));do try{z4();break}catch(U){j1(s,U)}while(!0);vA(),Wd.current=S,St=v,hn!==null?c=0:(Pn=null,Nn=0,c=wn)}if(c!==0){if(c===2&&(v=F(s),v!==0&&(g=v,c=tg(s,v))),c===1)throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;if(c===6)cs(s,g);else{if(v=s.current.alternate,(g&30)===0&&!F4(v)&&(c=Zd(s,g),c===2&&(S=F(s),S!==0&&(g=S,c=tg(s,S))),c===1))throw f=Dc,Zs(s,0),cs(s,g),wr(s,Lt()),f;switch(s.finishedWork=v,s.finishedLanes=g,c){case 0:case 1:throw Error(n(345));case 2:$s(s,xr,Pi);break;case 3:if(cs(s,g),(g&130023424)===g&&(c=ZA+500-Lt(),10<c)){if(Yo(s,0)!==0)break;if(v=s.suspendedLanes,(v&g)!==g){nr(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=aA($s.bind(null,s,xr,Pi),c);break}$s(s,xr,Pi);break;case 4:if(cs(s,g),(g&4194240)===g)break;for(c=s.eventTimes,v=-1;0<g;){var O=31-bn(g);S=1<<O,O=c[O],O>v&&(v=O),g&=~S}if(g=v,g=Lt()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*N4(g/1960))-g,10<g){s.timeoutHandle=aA($s.bind(null,s,xr,Pi),g);break}$s(s,xr,Pi);break;case 5:$s(s,xr,Pi);break;default:throw Error(n(329))}}}return wr(s,Lt()),s.callbackNode===f?N1.bind(null,s):null}function tg(s,c){var f=Tc;return s.current.memoizedState.isDehydrated&&(Zs(s,c).flags|=256),s=Zd(s,c),s!==2&&(c=xr,xr=f,c!==null&&ng(c)),s}function ng(s){xr===null?xr=s:xr.push.apply(xr,s)}function F4(s){for(var c=s;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var g=0;g<f.length;g++){var v=f[g],S=v.getSnapshot;v=v.value;try{if(!go(S(),v))return!1}catch{return!1}}}if(f=c.child,c.subtreeFlags&16384&&f!==null)f.return=c,c=f;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function cs(s,c){for(c&=~JA,c&=~Yd,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var f=31-bn(c),g=1<<f;s[f]=-1,c&=~g}}function F1(s){if((St&6)!==0)throw Error(n(327));rl();var c=Yo(s,0);if((c&1)===0)return wr(s,Lt()),null;var f=Zd(s,c);if(s.tag!==0&&f===2){var g=F(s);g!==0&&(c=g,f=tg(s,g))}if(f===1)throw f=Dc,Zs(s,0),cs(s,c),wr(s,Lt()),f;if(f===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,$s(s,xr,Pi),wr(s,Lt()),null}function rg(s,c){var f=St;St|=1;try{return s(c)}finally{St=f,St===0&&(nl=Lt()+500,Ed&&ns())}}function Js(s){as!==null&&as.tag===0&&(St&6)===0&&rl();var c=St;St|=1;var f=ro.transition,g=Ie;try{if(ro.transition=null,Ie=1,s)return s()}finally{Ie=g,ro.transition=f,St=c,(St&6)===0&&ns()}}function og(){jr=tl.current,Wt(tl)}function Zs(s,c){s.finishedWork=null,s.finishedLanes=0;var f=s.timeoutHandle;if(f!==-1&&(s.timeoutHandle=-1,h4(f)),hn!==null)for(f=hn.return;f!==null;){var g=f;switch(pA(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&kd();break;case 3:Za(),Wt(vr),Wt(Yn),CA();break;case 5:SA(g);break;case 4:Za();break;case 13:Wt(en);break;case 19:Wt(en);break;case 10:yA(g.type._context);break;case 22:case 23:og()}f=f.return}if(Pn=s,hn=s=us(s.current,null),Nn=jr=c,wn=0,Dc=null,JA=Yd=Xs=0,xr=Tc=null,qs!==null){for(c=0;c<qs.length;c++)if(f=qs[c],g=f.interleaved,g!==null){f.interleaved=null;var v=g.next,S=f.pending;if(S!==null){var O=S.next;S.next=v,g.next=O}f.pending=g}qs=null}return s}function j1(s,c){do{var f=hn;try{if(vA(),Rd.current=jd,Ld){for(var g=tn.memoizedState;g!==null;){var v=g.queue;v!==null&&(v.pending=null),g=g.next}Ld=!1}if(Gs=0,Cn=xn=tn=null,wc=!1,kc=0,XA.current=null,f===null||f.return===null){wn=1,Dc=c,hn=null;break}e:{var S=s,O=f.return,U=f,Y=c;if(c=Nn,U.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ce=Y,be=U,xe=be.tag;if((be.mode&1)===0&&(xe===0||xe===11||xe===15)){var ye=be.alternate;ye?(be.updateQueue=ye.updateQueue,be.memoizedState=ye.memoizedState,be.lanes=ye.lanes):(be.updateQueue=null,be.memoizedState=null)}var Re=u1(O);if(Re!==null){Re.flags&=-257,d1(Re,O,U,S,c),Re.mode&1&&c1(S,ce,c),c=Re,Y=ce;var Qe=c.updateQueue;if(Qe===null){var Ue=new Set;Ue.add(Y),c.updateQueue=Ue}else Qe.add(Y);break e}else{if((c&1)===0){c1(S,ce,c),ig();break e}Y=Error(n(426))}}else if(Gt&&U.mode&1){var cn=u1(O);if(cn!==null){(cn.flags&65536)===0&&(cn.flags|=256),d1(cn,O,U,S,c),gA($a(Y,U));break e}}S=Y=$a(Y,U),wn!==4&&(wn=2),Tc===null?Tc=[S]:Tc.push(S),S=O;do{switch(S.tag){case 3:S.flags|=65536,c&=-c,S.lanes|=c;var ne=a1(S,Y,c);Ow(S,ne);break e;case 1:U=Y;var X=S.type,se=S.stateNode;if((S.flags&128)===0&&(typeof X.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(ss===null||!ss.has(se)))){S.flags|=65536,c&=-c,S.lanes|=c;var Pe=l1(S,U,c);Ow(S,Pe);break e}}S=S.return}while(S!==null)}H1(f)}catch(Ye){c=Ye,hn===f&&f!==null&&(hn=f=f.return);continue}break}while(!0)}function z1(){var s=Wd.current;return Wd.current=jd,s===null?jd:s}function ig(){(wn===0||wn===3||wn===2)&&(wn=4),Pn===null||(Xs&268435455)===0&&(Yd&268435455)===0||cs(Pn,Nn)}function Zd(s,c){var f=St;St|=2;var g=z1();(Pn!==s||Nn!==c)&&(Pi=null,Zs(s,c));do try{j4();break}catch(v){j1(s,v)}while(!0);if(vA(),St=f,Wd.current=g,hn!==null)throw Error(n(261));return Pn=null,Nn=0,wn}function j4(){for(;hn!==null;)Q1(hn)}function z4(){for(;hn!==null&&!Pa();)Q1(hn)}function Q1(s){var c=W1(s.alternate,s,jr);s.memoizedProps=s.pendingProps,c===null?H1(s):hn=c,XA.current=null}function H1(s){var c=s;do{var f=c.alternate;if(s=c.return,(c.flags&32768)===0){if(f=I4(f,c,jr),f!==null){hn=f;return}}else{if(f=M4(f,c),f!==null){f.flags&=32767,hn=f;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{wn=6,hn=null;return}}if(c=c.sibling,c!==null){hn=c;return}hn=c=s}while(c!==null);wn===0&&(wn=5)}function $s(s,c,f){var g=Ie,v=ro.transition;try{ro.transition=null,Ie=1,Q4(s,c,f,g)}finally{ro.transition=v,Ie=g}return null}function Q4(s,c,f,g){do rl();while(as!==null);if((St&6)!==0)throw Error(n(327));f=s.finishedWork;var v=s.finishedLanes;if(f===null)return null;if(s.finishedWork=null,s.finishedLanes=0,f===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var S=f.lanes|f.childLanes;if(he(s,S),s===Pn&&(hn=Pn=null,Nn=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Kd||(Kd=!0,Y1(Vo,function(){return rl(),null})),S=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||S){S=ro.transition,ro.transition=null;var O=Ie;Ie=1;var U=St;St|=4,XA.current=null,R4(s,f),I1(f,s),a4(iA),Lr=!!oA,iA=oA=null,s.current=f,L4(f),Da(),St=U,Ie=O,ro.transition=S}else s.current=f;if(Kd&&(Kd=!1,as=s,Gd=v),S=s.pendingLanes,S===0&&(ss=null),hi(f.stateNode),wr(s,Lt()),c!==null)for(g=s.onRecoverableError,f=0;f<c.length;f++)v=c[f],g(v.value,{componentStack:v.stack,digest:v.digest});if(qd)throw qd=!1,s=$A,$A=null,s;return(Gd&1)!==0&&s.tag!==0&&rl(),S=s.pendingLanes,(S&1)!==0?s===eg?Bc++:(Bc=0,eg=s):Bc=0,ns(),null}function rl(){if(as!==null){var s=tt(Gd),c=ro.transition,f=Ie;try{if(ro.transition=null,Ie=16>s?16:s,as===null)var g=!1;else{if(s=as,as=null,Gd=0,(St&6)!==0)throw Error(n(331));var v=St;for(St|=4,Fe=s.current;Fe!==null;){var S=Fe,O=S.child;if((Fe.flags&16)!==0){var U=S.deletions;if(U!==null){for(var Y=0;Y<U.length;Y++){var ce=U[Y];for(Fe=ce;Fe!==null;){var be=Fe;switch(be.tag){case 0:case 11:case 15:Pc(8,be,S)}var xe=be.child;if(xe!==null)xe.return=be,Fe=xe;else for(;Fe!==null;){be=Fe;var ye=be.sibling,Re=be.return;if(P1(be),be===ce){Fe=null;break}if(ye!==null){ye.return=Re,Fe=ye;break}Fe=Re}}}var Qe=S.alternate;if(Qe!==null){var Ue=Qe.child;if(Ue!==null){Qe.child=null;do{var cn=Ue.sibling;Ue.sibling=null,Ue=cn}while(Ue!==null)}}Fe=S}}if((S.subtreeFlags&2064)!==0&&O!==null)O.return=S,Fe=O;else e:for(;Fe!==null;){if(S=Fe,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:Pc(9,S,S.return)}var ne=S.sibling;if(ne!==null){ne.return=S.return,Fe=ne;break e}Fe=S.return}}var X=s.current;for(Fe=X;Fe!==null;){O=Fe;var se=O.child;if((O.subtreeFlags&2064)!==0&&se!==null)se.return=O,Fe=se;else e:for(O=X;Fe!==null;){if(U=Fe,(U.flags&2048)!==0)try{switch(U.tag){case 0:case 11:case 15:Vd(9,U)}}catch(Ye){sn(U,U.return,Ye)}if(U===O){Fe=null;break e}var Pe=U.sibling;if(Pe!==null){Pe.return=U.return,Fe=Pe;break e}Fe=U.return}}if(St=v,ns(),$n&&typeof $n.onPostCommitFiberRoot=="function")try{$n.onPostCommitFiberRoot(Or,s)}catch{}g=!0}return g}finally{Ie=f,ro.transition=c}}return!1}function U1(s,c,f){c=$a(f,c),c=a1(s,c,1),s=os(s,c,1),c=nr(),s!==null&&($(s,1,c),wr(s,c))}function sn(s,c,f){if(s.tag===3)U1(s,s,f);else for(;c!==null;){if(c.tag===3){U1(c,s,f);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(ss===null||!ss.has(g))){s=$a(f,s),s=l1(c,s,1),c=os(c,s,1),s=nr(),c!==null&&($(c,1,s),wr(c,s));break}}c=c.return}}function H4(s,c,f){var g=s.pingCache;g!==null&&g.delete(c),c=nr(),s.pingedLanes|=s.suspendedLanes&f,Pn===s&&(Nn&f)===f&&(wn===4||wn===3&&(Nn&130023424)===Nn&&500>Lt()-ZA?Zs(s,0):JA|=f),wr(s,c)}function V1(s,c){c===0&&((s.mode&1)===0?c=1:(c=Ai,Ai<<=1,(Ai&130023424)===0&&(Ai=4194304)));var f=nr();s=Si(s,c),s!==null&&($(s,c,f),wr(s,f))}function U4(s){var c=s.memoizedState,f=0;c!==null&&(f=c.retryLane),V1(s,f)}function V4(s,c){var f=0;switch(s.tag){case 13:var g=s.stateNode,v=s.memoizedState;v!==null&&(f=v.retryLane);break;case 19:g=s.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(c),V1(s,f)}var W1;W1=function(s,c,f){if(s!==null)if(s.memoizedProps!==c.pendingProps||vr.current)br=!0;else{if((s.lanes&f)===0&&(c.flags&128)===0)return br=!1,_4(s,c,f);br=(s.flags&131072)!==0}else br=!1,Gt&&(c.flags&1048576)!==0&&Sw(c,Pd,c.index);switch(c.lanes=0,c.tag){case 2:var g=c.type;Hd(s,c),s=c.pendingProps;var v=Wa(c,Yn.current);Ja(c,f),v=TA(null,c,g,s,v,f);var S=BA();return c.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,yr(g)?(S=!0,Sd(c)):S=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,wA(c),v.updater=zd,c.stateNode=v,v._reactInternals=c,LA(c,g,s,f),c=zA(null,c,g,!0,S,f)):(c.tag=0,Gt&&S&&fA(c),tr(null,c,v,f),c=c.child),c;case 16:g=c.elementType;e:{switch(Hd(s,c),s=c.pendingProps,v=g._init,g=v(g._payload),c.type=g,v=c.tag=Y4(g),s=vo(g,s),v){case 0:c=jA(null,c,g,s,f);break e;case 1:c=m1(null,c,g,s,f);break e;case 11:c=f1(null,c,g,s,f);break e;case 14:c=p1(null,c,g,vo(g.type,s),f);break e}throw Error(n(306,g,""))}return c;case 0:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),jA(s,c,g,v,f);case 1:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),m1(s,c,g,v,f);case 3:e:{if(v1(c),s===null)throw Error(n(387));g=c.pendingProps,S=c.memoizedState,v=S.element,Mw(s,c),Md(c,g,null,f);var O=c.memoizedState;if(g=O.element,S.isDehydrated)if(S={element:g,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){v=$a(Error(n(423)),c),c=y1(s,c,g,f,v);break e}else if(g!==v){v=$a(Error(n(424)),c),c=y1(s,c,g,f,v);break e}else for(Fr=$i(c.stateNode.containerInfo.firstChild),Nr=c,Gt=!0,mo=null,f=_w(c,null,g,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Ka(),g===v){c=Ci(s,c,f);break e}tr(s,c,g,f)}c=c.child}return c;case 5:return Lw(c),s===null&&AA(c),g=c.type,v=c.pendingProps,S=s!==null?s.memoizedProps:null,O=v.children,sA(g,v)?O=null:S!==null&&sA(g,S)&&(c.flags|=32),g1(s,c),tr(s,c,O,f),c.child;case 6:return s===null&&AA(c),null;case 13:return b1(s,c,f);case 4:return kA(c,c.stateNode.containerInfo),g=c.pendingProps,s===null?c.child=Ga(c,null,g,f):tr(s,c,g,f),c.child;case 11:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),f1(s,c,g,v,f);case 7:return tr(s,c,c.pendingProps,f),c.child;case 8:return tr(s,c,c.pendingProps.children,f),c.child;case 12:return tr(s,c,c.pendingProps.children,f),c.child;case 10:e:{if(g=c.type._context,v=c.pendingProps,S=c.memoizedProps,O=v.value,Qt(Bd,g._currentValue),g._currentValue=O,S!==null)if(go(S.value,O)){if(S.children===v.children&&!vr.current){c=Ci(s,c,f);break e}}else for(S=c.child,S!==null&&(S.return=c);S!==null;){var U=S.dependencies;if(U!==null){O=S.child;for(var Y=U.firstContext;Y!==null;){if(Y.context===g){if(S.tag===1){Y=Ei(-1,f&-f),Y.tag=2;var ce=S.updateQueue;if(ce!==null){ce=ce.shared;var be=ce.pending;be===null?Y.next=Y:(Y.next=be.next,be.next=Y),ce.pending=Y}}S.lanes|=f,Y=S.alternate,Y!==null&&(Y.lanes|=f),bA(S.return,f,c),U.lanes|=f;break}Y=Y.next}}else if(S.tag===10)O=S.type===c.type?null:S.child;else if(S.tag===18){if(O=S.return,O===null)throw Error(n(341));O.lanes|=f,U=O.alternate,U!==null&&(U.lanes|=f),bA(O,f,c),O=S.sibling}else O=S.child;if(O!==null)O.return=S;else for(O=S;O!==null;){if(O===c){O=null;break}if(S=O.sibling,S!==null){S.return=O.return,O=S;break}O=O.return}S=O}tr(s,c,v.children,f),c=c.child}return c;case 9:return v=c.type,g=c.pendingProps.children,Ja(c,f),v=to(v),g=g(v),c.flags|=1,tr(s,c,g,f),c.child;case 14:return g=c.type,v=vo(g,c.pendingProps),v=vo(g.type,v),p1(s,c,g,v,f);case 15:return h1(s,c,c.type,c.pendingProps,f);case 17:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:vo(g,v),Hd(s,c),c.tag=1,yr(g)?(s=!0,Sd(c)):s=!1,Ja(c,f),i1(c,g,v),LA(c,g,v,f),zA(null,c,g,!0,s,f);case 19:return w1(s,c,f);case 22:return A1(s,c,f)}throw Error(n(156,c.tag))};function Y1(s,c){return pi(s,c)}function W4(s,c,f,g){this.tag=s,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oo(s,c,f,g){return new W4(s,c,f,g)}function sg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Y4(s){if(typeof s=="function")return sg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===te)return 14}return 2}function us(s,c){var f=s.alternate;return f===null?(f=oo(s.tag,c,s.key,s.mode),f.elementType=s.elementType,f.type=s.type,f.stateNode=s.stateNode,f.alternate=s,s.alternate=f):(f.pendingProps=c,f.type=s.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=s.flags&14680064,f.childLanes=s.childLanes,f.lanes=s.lanes,f.child=s.child,f.memoizedProps=s.memoizedProps,f.memoizedState=s.memoizedState,f.updateQueue=s.updateQueue,c=s.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=s.sibling,f.index=s.index,f.ref=s.ref,f}function $d(s,c,f,g,v,S){var O=2;if(g=s,typeof s=="function")sg(s)&&(O=1);else if(typeof s=="string")O=5;else e:switch(s){case z:return ea(f.children,v,S,c);case V:O=8,v|=8;break;case K:return s=oo(12,f,c,v|2),s.elementType=K,s.lanes=S,s;case oe:return s=oo(13,f,c,v),s.elementType=oe,s.lanes=S,s;case ue:return s=oo(19,f,c,v),s.elementType=ue,s.lanes=S,s;case ee:return ef(f,v,S,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case q:O=10;break e;case Z:O=9;break e;case W:O=11;break e;case te:O=14;break e;case pe:O=16,g=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=oo(O,f,c,v),c.elementType=s,c.type=g,c.lanes=S,c}function ea(s,c,f,g){return s=oo(7,s,g,c),s.lanes=f,s}function ef(s,c,f,g){return s=oo(22,s,g,c),s.elementType=ee,s.lanes=f,s.stateNode={isHidden:!1},s}function ag(s,c,f){return s=oo(6,s,null,c),s.lanes=f,s}function lg(s,c,f){return c=oo(4,s.children!==null?s.children:[],s.key,c),c.lanes=f,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function q4(s,c,f,g,v){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ie(0),this.expirationTimes=ie(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ie(0),this.identifierPrefix=g,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function cg(s,c,f,g,v,S,O,U,Y){return s=new q4(s,c,f,U,Y),c===1?(c=1,S===!0&&(c|=8)):c=0,S=oo(3,null,null,c),s.current=S,S.stateNode=s,S.memoizedState={element:g,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},wA(S),s}function K4(s,c,f){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:g==null?null:""+g,children:s,containerInfo:c,implementation:f}}function q1(s){if(!s)return ts;s=s._reactInternals;e:{if(En(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(yr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var f=s.type;if(yr(f))return xw(s,f,c)}return c}function K1(s,c,f,g,v,S,O,U,Y){return s=cg(f,g,!0,s,v,S,O,U,Y),s.context=q1(null),f=s.current,g=nr(),v=ls(f),S=Ei(g,v),S.callback=c??null,os(f,S,v),s.current.lanes=v,$(s,v,g),wr(s,g),s}function tf(s,c,f,g){var v=c.current,S=nr(),O=ls(v);return f=q1(f),c.context===null?c.context=f:c.pendingContext=f,c=Ei(S,O),c.payload={element:s},g=g===void 0?null:g,g!==null&&(c.callback=g),s=os(v,c,O),s!==null&&(xo(s,v,O,S),Id(s,v,O)),O}function nf(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function G1(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var f=s.retryLane;s.retryLane=f!==0&&f<c?f:c}}function ug(s,c){G1(s,c),(s=s.alternate)&&G1(s,c)}function G4(){return null}var X1=typeof reportError=="function"?reportError:function(s){console.error(s)};function dg(s){this._internalRoot=s}rf.prototype.render=dg.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));tf(s,c,null,null)},rf.prototype.unmount=dg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;Js(function(){tf(null,s,null,null)}),c[bi]=null}};function rf(s){this._internalRoot=s}rf.prototype.unstable_scheduleHydration=function(s){if(s){var c=fr();s={blockedOn:null,target:s,priority:c};for(var f=0;f<Ko.length&&c!==0&&c<Ko[f].priority;f++);Ko.splice(f,0,s),f===0&&Jr(s)}};function fg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function of(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function J1(){}function X4(s,c,f,g,v){if(v){if(typeof g=="function"){var S=g;g=function(){var ce=nf(O);S.call(ce)}}var O=K1(c,g,s,0,null,!1,!1,"",J1);return s._reactRootContainer=O,s[bi]=O.current,hc(s.nodeType===8?s.parentNode:s),Js(),O}for(;v=s.lastChild;)s.removeChild(v);if(typeof g=="function"){var U=g;g=function(){var ce=nf(Y);U.call(ce)}}var Y=cg(s,0,!1,null,null,!1,!1,"",J1);return s._reactRootContainer=Y,s[bi]=Y.current,hc(s.nodeType===8?s.parentNode:s),Js(function(){tf(c,Y,f,g)}),Y}function sf(s,c,f,g,v){var S=f._reactRootContainer;if(S){var O=S;if(typeof v=="function"){var U=v;v=function(){var Y=nf(O);U.call(Y)}}tf(c,O,s,v)}else O=X4(f,c,s,v,g);return nf(O)}ut=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var f=Wo(c.pendingLanes);f!==0&&(De(c,f|1),wr(c,Lt()),(St&6)===0&&(nl=Lt()+500,ns()))}break;case 13:Js(function(){var g=Si(s,1);if(g!==null){var v=nr();xo(g,s,1,v)}}),ug(s,1)}},It=function(s){if(s.tag===13){var c=Si(s,134217728);if(c!==null){var f=nr();xo(c,s,134217728,f)}ug(s,134217728)}},dr=function(s){if(s.tag===13){var c=ls(s),f=Si(s,c);if(f!==null){var g=nr();xo(f,s,c,g)}ug(s,c)}},fr=function(){return Ie},Un=function(s,c){var f=Ie;try{return Ie=s,c()}finally{Ie=f}},bt=function(s,c,f){switch(c){case"input":if(lt(s,f),c=f.name,f.type==="radio"&&c!=null){for(f=s;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<f.length;c++){var g=f[c];if(g!==s&&g.form===s.form){var v=wd(g);if(!v)throw Error(n(90));Me(g),lt(g,v)}}}break;case"textarea":fn(s,f);break;case"select":c=f.value,c!=null&&Rt(s,!!f.multiple,c,!1)}},Ut=rg,an=Js;var J4={usingClientEntryPoint:!1,Events:[mc,Ua,wd,Kt,rn,rg]},_c={findFiberByHostInstance:Us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Z4={bundleType:_c.bundleType,version:_c.version,rendererPackageName:_c.rendererPackageName,rendererConfig:_c.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=co(s),s===null?null:s.stateNode},findFiberByHostInstance:_c.findFiberByHostInstance||G4,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 af=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!af.isDisabled&&af.supportsFiber)try{Or=af.inject(Z4),$n=af}catch{}}return rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J4,rr.createPortal=function(s,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fg(c))throw Error(n(200));return K4(s,c,null,f)},rr.createRoot=function(s,c){if(!fg(s))throw Error(n(299));var f=!1,g="",v=X1;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=cg(s,1,!1,null,null,f,!1,g,v),s[bi]=c.current,hc(s.nodeType===8?s.parentNode:s),new dg(c)},rr.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=co(c),s=s===null?null:s.stateNode,s},rr.flushSync=function(s){return Js(s)},rr.hydrate=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!0,f)},rr.hydrateRoot=function(s,c,f){if(!fg(s))throw Error(n(405));var g=f!=null&&f.hydratedSources||null,v=!1,S="",O=X1;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(S=f.identifierPrefix),f.onRecoverableError!==void 0&&(O=f.onRecoverableError)),c=K1(c,null,s,1,f??null,v,!1,S,O),s[bi]=c.current,hc(s),g)for(s=0;s<g.length;s++)f=g[s],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new rf(c)},rr.render=function(s,c,f){if(!of(c))throw Error(n(200));return sf(null,s,c,!1,f)},rr.unmountComponentAtNode=function(s){if(!of(s))throw Error(n(40));return s._reactRootContainer?(Js(function(){sf(null,null,s,!1,function(){s._reactRootContainer=null,s[bi]=null})}),!0):!1},rr.unstable_batchedUpdates=rg,rr.unstable_renderSubtreeIntoContainer=function(s,c,f,g){if(!of(f))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return sf(s,c,f,!1,g)},rr.version="18.3.1-next-f1338f8080-20240426",rr}var bg;function xg(){if(bg)return uf.exports;bg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),uf.exports=rk(),uf.exports}var wg;function ok(){if(wg)return Ic;wg=1;var t=xg();return Ic.createRoot=t.createRoot,Ic.hydrateRoot=t.hydrateRoot,Ic}var ik=ok();const sk="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%231a5b6e'%20className='bi%20bi-house-door-fill'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M6.5%2014.5v-3.505c0-.245.25-.495.5-.495h2c.25%200%20.5.25.5.5v3.5a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5v-7a.5.5%200%200%200-.146-.354L13%205.793V2.5a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v1.293L8.354%201.146a.5.5%200%200%200-.708%200l-6%206A.5.5%200%200%200%201.5%207.5v7a.5.5%200%200%200%20.5.5h4a.5.5%200%200%200%20.5-.5'/%3e%3c/svg%3e";function pf({expandWidth:t=!1,homeTitle:e="ACCESS Home",homeUrl:n="https://access-ci.org/",items:r=[],topBorder:o=!1}){if(!(!r||!r.length))return E.jsxs("ul",{className:`breadcrumbs ${t?"expand":""} ${o?"top-border":""}`,children:[E.jsx("li",{className:"home",children:E.jsx("a",{href:n,title:e,children:E.jsx("img",{src:sk,alt:e,height:"14"})})},"home"),r.map(i=>E.jsx("li",{className:i.classes||"",children:i.href||i.onClick?E.jsx("a",{href:i.href,onClick:i.onClick,children:i.name}):i.name},i.name))]})}const ak=T.createContext(null),hf={didCatch:!1,error:null};class kg extends T.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hf}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){const{error:n}=this.state;n!==null&&(this.props.onReset?.({args:e,reason:"imperative-api"}),this.setState(hf))}componentDidCatch(e,n){this.props.onError?.(e,n)}componentDidUpdate(e,n){const{didCatch:r}=this.state,{resetKeys:o}=this.props;r&&n.error!==null&&lk(e.resetKeys,o)&&(this.props.onReset?.({next:o,prev:e.resetKeys,reason:"keys"}),this.setState(hf))}render(){const{children:e,fallbackRender:n,FallbackComponent:r,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let l=e;if(i){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(r)l=T.createElement(r,u);else if(o!==void 0)l=o;else throw a}return T.createElement(ak.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function lk(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const ck=T.lazy(()=>Promise.resolve().then(()=>SD).then(t=>({default:t.QABot})));let Sg=class extends T.Component{render(){const{welcome:e,isLoggedIn:n,open:r,onOpenChange:o,apiKey:i,embedded:a,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:y}=this.props,w=i||void 0||null;if(!w)return console.error("QA Bot: No valid API key provided"),null;const b=n!==void 0?n:document.cookie.split("; ").includes("SESSaccesscisso=1");return E.jsx(kg,{children:E.jsx(T.Suspense,{fallback:null,children:E.jsx(ck,{welcome:e,isLoggedIn:b,open:r,onOpenChange:o,embedded:a===!0,apiKey:w,loginUrl:l,userEmail:u,userName:d,accessId:p,resourceContext:h,onAnalyticsEvent:A,qaEndpoint:m,ratingEndpoint:y})})})}};const Eg=[{name:"Researchers",href:"https://access-ci.org/get-started/for-researchers/"},{name:"Educators",href:"https://access-ci.org/get-started/for-educators/"},{name:"Graduate Students",href:"https://access-ci.org/get-started/for-graduate-students/"},{name:"Resource Providers",href:"https://access-ci.org/get-started/for-resource-providers/"},{name:"CI Community",href:"https://access-ci.org/get-started/for-programs-organizations/"}],Cg=[{name:"ACCESS Home",href:"https://access-ci.org/",classes:"icon icon-home"},{name:"Allocations",href:"https://allocations.access-ci.org/",classes:"track"},{name:"Resources",href:"https://allocations.access-ci.org/resources",classes:"track"},{name:"Events & Trainings",href:"https://support.access-ci.org/events",classes:"track"},{name:"Support",href:"https://support.access-ci.org/",classes:"track"},{name:"News",href:"https://access-ci.org/news/",classes:"track"},{name:"About",href:"https://access-ci.org/about/",classes:"track grow"},{name:"Find info for you",classes:"highlight",items:Eg},{name:"Search",href:"https://support.access-ci.org/find",classes:"icon icon-search"}],Pg={name:"My ACCESS",items:[{name:"Allocations",href:"https://allocations.access-ci.org/requests"},{name:"Community Persona",href:"https://support.access-ci.org/community-persona"},{name:"Edit Profile",href:"https://allocations.access-ci.org/profile"},{name:"Publications",href:"https://allocations.access-ci.org/publications"},{name:"Share with ORCID",href:"https://allocations.access-ci.org/orcid"},{name:"Log out",href:"https://cilogon.org/logout/?skin=access"}]},Dg={name:"Login",items:[{name:"Login",href:"https://cilogon.org/?skin=access"},{name:"Questions",href:"https://identity.access-ci.org/"},{name:"Register",href:"https://identity.access-ci.org/new-user"},{name:"Reset Password",href:"https://identity.access-ci.org/password-reset"}]},uk=[{className:"bluesky",href:"https://bsky.app/profile/accessforci.bsky.social",name:"Bluesky"},{className:"youtube",href:"https://www.youtube.com/c/ACCESSforCI",name:"YouTube"},{className:"facebook",href:"https://www.facebook.com/ACCESSforCI",name:"Facebook"},{className:"linkedin",href:"https://www.linkedin.com/company/accessforci/",name:"LinkedIn"}],dk=[{href:"https://access-ci.org/acceptable-use/",name:"Acceptable Use"},{href:"https://access-ci.org/about/acknowledging-access/",name:"Acknowledging ACCESS"},{href:"https://access-ci.org/code-of-conduct/",name:"Code of Conduct"},{href:"https://access-ci.org/glossary/",name:"Glossary"},{href:"https://access-ci.org/privacy-policy",name:"Privacy Policy"},{href:"https://operations.access-ci.org/report-security-incident",name:"Report a Security Incident"},{href:"https://access-ci.org/site-map/",name:"Site Map"}],fk="https://www.nsf.gov/awardsearch/show-award/",sl=({number:t})=>E.jsxs("a",{href:`${fk}?AWD_ID=${t}`,children:["#",t]}),Mc=({className:t=null,items:e})=>E.jsx("ul",{className:t,children:e.map(({className:n,name:r,href:o})=>E.jsx("li",{children:E.jsx("a",{className:n,href:o,children:r})},o))}),pk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AABv5klEQVR42u29d5gkVb0+/p5zKnTunp48m3NiWWDJCCJJAREJ14DoNV/1ioqo1wRmr2K46upVMcuiCCIIkgTJYdllE5tnw8xODj3TuS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fmiXDeAf11wdfhzAfADjhysFRNfVvZRpewE0C+4ik3dhO2ILgJHDcb6rPr3P/vwHmz/PhcwDMI5USfxRYFWNNWuzLoDuw+sk6BnG/Fuk5KdyYcCwuATwHA4jI/7NmyYSeJUPiqPjkOPktz4nqBLcTZkPQhBwLm1Gyd5XqyQ5KrH+HxrcNQ3TMpBIW8gVHC6EzBy9K0eB9U+P/qGB3NB44eDAaB4F0zWEkMbRu3IUWP/0GJ807x5JGE/nCg7gLdU5dvSuHB1Hx/8P4/8D9B8zcoSATacAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTY6MTI6MTUtMDQ6MDBuCuvkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDE2OjEyOjE1LTA0OjAwH1dTWAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",hk="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='Layer_1'%20viewBox='0%200%20269.14%2041.37'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20x1='14.99'%20y1='25.59'%20x2='42.38'%20y2='-1.8'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23e47637'%3e%3c/stop%3e%3cstop%20offset='.88'%20stop-color='%23ffcc52'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-2'%20x1='87.72'%20y1='26.66'%20x2='112.87'%20y2='1.51'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-3'%20x1='233.69'%20y1='10.21'%20x2='195.89'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-4'%20x1='45.84'%20y1='29.07'%20x2='82.09'%20y2='29.07'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.18'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='.81'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-5'%20x1='43.22'%20y1='20.68'%20x2='68.03'%20y2='20.68'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.22'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23008597'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-6'%20x1='165.05'%20y1='35.98'%20x2='194.21'%20y2='35.98'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-7'%20x1='123.91'%20y1='11.68'%20x2='160.35'%20y2='11.68'%20xlink:href='%23linear-gradient-2'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-8'%20x1='269.14'%20y1='20.69'%20x2='234.79'%20y2='20.69'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.03'%20stop-color='%23038596'%3e%3c/stop%3e%3cstop%20offset='.82'%20stop-color='%2366d6d6'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-9'%20x1='271.07'%20y1='10.21'%20x2='233.26'%20y2='32.03'%20gradientTransform='matrix(1,%200,%200,%201,%200,%200)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.2'%20stop-color='%23008597'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2348c0b9'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-10'%20y1='20.36'%20x2='191.15'%20y2='20.36'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3clinearGradient%20id='linear-gradient-11'%20y1='5.3'%20y2='5.3'%20xlink:href='%23linear-gradient-6'%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cpolygon%20points='44.62%20.43%202.5%207.94%2030.06%2040.66%2044.62%20.43'%20style='fill:url(%23linear-gradient);'%3e%3c/polygon%3e%3crect%20x='15.25'%20y='17.07'%20width='8.79'%20height='8.79'%20transform='translate(23.41%20-7.39)%20rotate(49.9)'%20style='fill:%23fff;'%3e%3c/rect%3e%3crect%20x='8.52'%20y='22.74'%20width='8.79'%20height='8.79'%20transform='translate(25.35%20-.23)%20rotate(49.9)'%20style='fill:%231a5b6e;'%3e%3c/rect%3e%3crect%20x='1.8'%20y='28.4'%20width='8.79'%20height='8.79'%20transform='translate(27.29%206.93)%20rotate(49.9)'%20style='fill:%23f07537;'%3e%3c/rect%3e%3crect%20x='2.86'%20y='16.01'%20width='8.79'%20height='8.79'%20transform='translate(18.19%201.71)%20rotate(49.9)'%20style='fill:%2348c0b9;'%3e%3c/rect%3e%3crect%20x='14.19'%20y='29.46'%20width='8.79'%20height='8.79'%20transform='translate(32.51%20-2.17)%20rotate(49.9)'%20style='fill:%23008597;'%3e%3c/rect%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25h-14.5l-2.51,7.25h-10.82L57.66,.67h12.6Zm-10.65,24.03h8.37l-4.18-11.93-4.18,11.93Z'%3e%3c/path%3e%3cpath%20d='M103.46,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S92.25,0,103.52,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M84.42,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-2);'%3e%3c/path%3e%3cpath%20d='M143.01,31.89c3.68,0,6.3-2.45,7.02-6.41l10.26,3.4c-2.45,7.53-8.25,12.49-17.23,12.49-11.26,0-19.24-8.64-19.24-20.69S131.8,0,143.07,0c8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21s3.4,11.21,8.25,11.21Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M203.38,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-3);'%3e%3c/path%3e%3cpath%20d='M211.97,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M70.26,.67l14.44,40.03h-11.09l-2.57-7.25L59.62,.67h10.65Zm-2.29,24.03'%20style='fill:%23008597;'%3e%3c/path%3e%3cpath%20d='M194.21,.67V9.92h-18.46v5.97h15.28v9.03h-15.28v6.52h18.46v9.26h-29.16V.67h29.16Z'%20style='fill:%23008597;'%3e%3c/path%3e%3c/g%3e%3cpolygon%20points='82.09%2033.45%2078.93%2024.7%2067.98%2024.7%2059.61%2024.7%2048.99%2024.7%2045.84%2033.45%2082.09%2033.45'%20style='fill:url(%23linear-gradient-4);'%3e%3c/polygon%3e%3cpath%20d='M68.03,.67l-13.99,40.03h-10.82L57.66,.67h10.37Zm-8.42,24.03l4.18-11.93-4.18,11.93Z'%20style='fill:url(%23linear-gradient-5);'%3e%3c/path%3e%3cpolygon%20points='165.05%2031.35%20165.05%2040.61%20175.76%2040.61%20176.66%2040.61%20194.21%2040.61%20194.21%2031.35%20165.05%2031.35'%20style='fill:url(%23linear-gradient-6);'%3e%3c/polygon%3e%3cpolygon%20points='175.75%2015.39%20165.05%2015.39%20165.05%20.74%20175.75%20.67%20175.75%2015.39'%20style='fill:%23008597;'%3e%3c/polygon%3e%3cpath%20d='M124.03,23.37c-1.27-14.31,7.83-23.37,19.09-23.37,8.98,0,14.77,4.96,17.23,12.49l-10.26,3.4c-.72-3.96-3.34-6.41-7.02-6.41-4.85,0-8.25,4.35-8.25,11.21l-10.79,2.68Z'%20style='fill:url(%23linear-gradient-7);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-8);'%3e%3c/path%3e%3cpath%20d='M240.76,26.76c3.4,3.85,7.92,5.63,11.99,5.63,3.35,0,5.58-1.23,5.58-3.51,0-2.57-2.84-2.9-8.98-4.13-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68,6.25,1.28,14.05,3.01,14.05,11.93s-7.58,13.61-16.83,13.61c-6.53,0-14.16-2.57-17.51-6.69l5.97-7.92Z'%20style='fill:url(%23linear-gradient-9);'%3e%3c/path%3e%3cpolygon%20points='165.05%2015.73%20165.05%2024.99%20175.76%2024.99%20176.66%2024.99%20191.15%2024.99%20191.15%2015.73%20165.05%2015.73'%20style='fill:url(%23linear-gradient-10);'%3e%3c/polygon%3e%3cpath%20d='M249.34,24.76c-5.85-1.17-12.26-3.34-12.26-11.49s7.08-13.27,15.95-13.27c7.02,0,12.54,2.73,15.72,6.19l-5.91,7.36c-2.62-2.9-6.13-4.57-10.09-4.57-2.95,0-4.96,1.12-4.96,3.18,0,2.29,2.45,2.67,7.3,3.68l-5.74,8.92Z'%20style='fill:%23008597;'%3e%3c/path%3e%3cpolygon%20points='165.05%20.67%20165.05%209.92%20175.76%209.92%20176.66%209.92%20194.21%209.92%20194.21%20.67%20165.05%20.67'%20style='fill:url(%23linear-gradient-11);'%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e",Tg=({nsfUrl:t="https://www.nsf.gov",placement:e="header",siteName:n="",siteUrl:r="/"})=>E.jsxs("div",{className:`logo logo-${e}`,children:[E.jsx("a",{className:"nsf",href:t,children:E.jsx("img",{className:"nsf-logo",src:pk,alt:"National Science Foundation"})}),E.jsx("div",{className:"divider"}),E.jsxs("a",{className:"access",href:r,children:[E.jsx("img",{className:"access-logo",src:hk,alt:"ACCESS",role:"img"}),n&&e=="header"?E.jsx("span",{className:`name name-${n.toLocaleLowerCase().replace(" ","-")}`,children:n}):null]})]}),Af=(t=900)=>document.body.clientWidth>=t?"desktop":"mobile",Bg=(t=900)=>{const[e,n]=T.useState(Af(t));return T.useEffect(()=>{window.addEventListener("resize",()=>n(Af(t)))},[]),e},_g=()=>window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,Ig={},Oc={},Ak=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,headers:o=void 0,method:i="GET"}={body:null,cache:!0,corsProxy:!1,headers:void 0,method:"GET"})=>{const a=`${t}|${e}`;if(n&&a in Ig)return Ig[a];if(a in Oc)return Oc[a];const l=fetch(r?`https://corsproxy.io/?${encodeURIComponent(t)}`:t,{body:e,headers:o,method:i}).then(u=>{if(delete Oc[t],u.status<200||u.status>299)return{error:{status:u.status}};try{return u.json()}catch(d){return{error:{message:d}}}});return Oc[a]=l,l},Xn=(t,{body:e=null,cache:n=!0,corsProxy:r=!1,defaultValue:o=null,headers:i=void 0,method:a="GET"}={body:null,cache:!0,corsProxy:!1,defaultValue:null,headers:void 0,method:"GET"})=>{const[l,u]=T.useState(o);let d=!1;return Array.isArray(t)||(t=t?[t]:[],d=!0),T.useEffect(()=>{t.length&&(async()=>{const p=await Promise.all(t.map(A=>Ak(A,{body:e,cache:n,corsProxy:r,headers:i,method:a}))),h=d?p[0]:p;u(h)})()},[t.join(" ")]),l},Mg=()=>{const t=Xn("https://operations-api.access-ci.org/wh2/cider/v1/access-active-groups/type/resource-catalog.access-ci.org/");return gf([t],({results:e})=>{const{active_groups:n,feature_categories:r,features:o,organizations:i,resources:a}=e,l=[{tagCategoryId:-1,name:"Resource Provider",tags:[]}],u=[-1];for(let w of r)[100,102,103].includes(w.feature_category_id)&&(l.push({tagCategoryId:w.feature_category_id,name:w.feature_category_name,tags:[]}),u.push(w.feature_category_id));l.sort((w,b)=>w.name.localeCompare(b.name));const d=o.filter(w=>u.includes(w.feature_category_id)).map(w=>({tagId:w.feature_id,name:w.feature_name,tagCategoryId:w.feature_category_id})),p={};for(let w of i)d.push({tagId:w.organization_id*-1,name:w.organization_name,tagCategoryId:-1,iconUri:w.organization_favicon_url||null}),p[w.organization_id]=w;d.sort((w,b)=>w.name.localeCompare(b.name));const h=d.map(w=>w.tagId),A=[{resourceCategoryId:1,name:"Compute & Storage Resources",resourceGroups:[],resourceGroupIds:[]},{resourceCategoryId:2,name:"Program & Other Resources",resourceGroups:[],resourceGroupIds:[]}],m=n.filter(w=>w.rollup_info_resourceids).map(w=>({infoGroupId:w.info_groupid,name:w.group_descriptive_name,description:w.group_description,infoResourceIds:w.rollup_info_resourceids,imageUri:w.group_logo_url?`https://cider.access-ci.org/public/groups/${w.group_logo_url.match(/[0-9]+/)[0]}/logo`:null,tagIds:[...w.rollup_organization_ids.map(b=>b*-1).filter(b=>h.includes(b)),...w.rollup_feature_ids.filter(b=>h.includes(b))],resourceCategoryId:w.rollup_feature_ids.includes(137)?2:1,accessAllocated:w.rollup_feature_ids.includes(139),organizations:w.rollup_organization_ids.map(b=>p[b]).filter(b=>b),resources:a.filter(b=>w.rollup_info_resourceids.includes(b.info_resourceid))})),y=m.find(w=>w.infoGroupId==="cloudbank.access-ci.org");if(y)for(const w of["Amazon Web Services","Google Cloud","IBM Cloud","Microsoft Azure"])m.push({...y,infoGroupId:`${w.toLowerCase().replaceAll(" ","-")}${y.infoGroupId}`,parentInfoGroupId:y.infoGroupId,name:w});return m.sort((w,b)=>w.name.localeCompare(b.name)),mk({resourceCategories:A,resourceGroups:m,tags:d,tagCategories:l})})},al=(t,e=null)=>{const n=Mg();return n&&n.resourceGroups.find(r=>r.infoGroupId==t)||e},gk=(t,e=[])=>{const n=Xn(`https://operations-api.access-ci.org/wh2/cider/v1/access-active/info_groupid/${t}/?format=json`);return n&&!n.error?n.results:e},gf=(t,e,n=null)=>T.useMemo(()=>{if(!t.length)return n;for(let r of t)if(!r||r.error)return n;return e.apply(null,t)},t),mk=({resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r})=>{const o={};for(let l of r)l.tags=[],o[l.tagCategoryId]=l;const i={};for(let l of n)l.tagCategory=o[l.tagCategoryId],l.tagCategory.tags.push(l),l.resources=[],i[l.tagId]=l;const a={};for(let l of t)l.resourceGroups=[],a[l.resourceCategoryId]=l;for(let l of e)l.resourceCategory=a[l.resourceCategoryId],l.resourceCategory.resourceGroups.push(l),l.tags=l.tagIds.map(u=>i[u]);return{resourceCategories:t,resourceGroups:e,tags:n,tagCategories:r}},vk=({resourceGroups:t,tags:e,tagCategories:n},r)=>{const o=new Set,i=new Set,a=new Set,l=new Set(r);for(let p of e)l.has(p.tagId)&&a.add(p.tagCategoryId);const u=n.filter(({tagCategoryId:p})=>a.has(p)),d=new Set(e.filter(p=>!a.has(p.tagCategoryId)).map(p=>p.tagId));for(let p of t){let h=!0;for(let A of u){let m=!1;for(let y of A.tags)if(l.has(y.tagId)&&p.tags.includes(y)){m=!0;break}if(!m){h=!1;break}}if(h){i.add(p.infoGroupId),o.add(p.resourceCategoryId);for(let A of p.tagIds)d.delete(A)}}return{disabledTagIds:d,resourceCategoryIds:o,infoGroupIds:i,tagCategoryIds:a,tagIds:l}},Og=t=>{let e=t.match(/href="([^"]+)"/);return e?e[1]:null},mf=t=>t.replace(/(<[^>]+>)/g,"").replace(/&nbsp;/g," "),vf=t=>{const e=[];for(let n of t.split(/(\<\/p\>)|[\n\r]+/g)){if(!n)continue;const r=Array.from(n.matchAll(/<a([^>]+)>([^<]+)<\/a>/g)),o=n.split(/<a[^<]+<\/a>/g),i=[];for(;o.length>0;){i.push(mf(o.shift()));let a=r.shift();if(a){let l=Og(a[1]);l&&i.push(E.jsx("a",{href:l,children:a[2]}))}}e.push(E.jsx("p",{children:i},n))}return e},yk=({showAfterScroll:t=300})=>{const[e,n]=T.useState(!1);return T.useEffect(()=>{window.addEventListener("scroll",()=>n(_g()>=t))},[]),E.jsx("button",{className:`scroll-to-top ${e?"visible":""}`,title:"Return to Top",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Return to Top"})},bk=(t={})=>E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"container",children:[E.jsxs("div",{className:"upper",children:[E.jsxs("div",{className:"about",children:[E.jsxs("p",{className:"awards",children:["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards"," ",E.jsx(sl,{number:2138259}),", ",E.jsx(sl,{number:2138286}),","," ",E.jsx(sl,{number:2138307}),", ",E.jsx(sl,{number:2137603})," and"," ",E.jsx(sl,{number:2138296}),"."]}),E.jsx("p",{className:"disclaimer",children:"Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of NSF."}),E.jsx("a",{className:"contact",href:"https://access-ci.org/contact/",children:"Contact ACCESS"}),E.jsx(Mc,{className:"social",items:uk})]}),E.jsxs("div",{className:"personas",children:[E.jsx("p",{children:"For:"}),E.jsx(Mc,{items:Eg})]})]}),E.jsxs("div",{className:"lower",children:[E.jsx(Tg,{siteName:"ACCESS",siteUrl:"https://access-ci.org",placement:"footer"}),E.jsx(Mc,{className:"links",items:dk})]})]}),E.jsx(yk,{...t})]}),xk=(t={})=>E.jsx("div",{className:"container",children:E.jsx(Tg,{...t})}),Rg=({autoOpenMode:t,classes:e="",href:n="",html:r="",items:o,mode:i,name:a,onClick:l,open:u,parentId:d="root",setOpen:p})=>{const h=T.useId(),A=u[d]==h,m=A||t==i,y=()=>p({...u,[d]:A?null:h});if(r)return E.jsx("div",{dangerouslySetInnerHTML:{__html:r}});if(n||l)return E.jsx("a",{href:n||"#",onClick:l,className:`item ${e||""}`,children:a});if(o)return E.jsxs(E.Fragment,{children:[a&&E.jsx("button",{"aria-expanded":m,"aria-controls":h,className:`item ${m?"expanded":"collapsed"}`,onClick:y,children:a}),E.jsx("ul",{className:e,id:h,hidden:!m,"aria-hidden":!m,children:o.map(({autoOpenMode:w,classes:b,href:P,html:M,items:D,name:C,onClick:j})=>E.jsx("li",{className:b||"",children:E.jsx(Rg,{autoOpenMode:w,href:P,html:M,items:D,mode:i,name:C,onClick:j,open:u,parentId:h,setOpen:p})},C||M))})]})},Lg=({classes:t,items:e,name:n})=>{const r=T.useRef(null),o=Bg(1280),[i,a]=T.useState({});T.useEffect(()=>{r.current&&(document.body.addEventListener("click",u=>{const d=r.current.getRootNode()?.host;u.target!==d&&Af()=="desktop"&&a({})}),r.current.addEventListener("keydown",({key:u})=>{u=="Escape"&&a({})}))},[]);const l=t?.includes("universal")?"ACCESS universal navigation":t?.includes("site")?`${n}`:n;return E.jsx("nav",{className:`menu ${t||""}`,"aria-label":l,ref:r,children:E.jsx(Rg,{autoOpenMode:"desktop",items:e,mode:o,name:n,open:i,setOpen:a})})},wk=({items:t,siteName:e=""})=>{const n=Bg(768),r=t.map(({name:o,href:i,items:a,onClick:l})=>{if(n=="mobile")for(;!i;)i=a[0].href,a=a[0];return i||l?E.jsx("div",{className:"column",children:E.jsx("h3",{children:E.jsx("a",{href:i,onClick:l,children:o})})},o):E.jsxs("div",{className:"column",children:[E.jsx("h3",{children:o}),E.jsx(Mc,{items:a})]},o)});return E.jsxs("nav",{className:"footer",children:[E.jsxs("h2",{children:["ACCESS ",e]}),E.jsx("div",{className:"columns",children:r})]})},kk=({items:t,isLoggedIn:e,loginUrl:n,logoutUrl:r,siteName:o})=>{if(e===void 0&&(e=document.cookie.split("; ").includes("SESSaccesscisso=1")),t===void 0){const i={...e?Pg:Dg};i.items=i.items.map(l=>({...l,href:l.name=="Login"&&n||l.name=="Log out"&&r||l.href})),t=[...Cg,i];let a=t.find(l=>(l.href||"").replace(/\/$/,"")==document.location.href.replace(/\/$/,""));o&&!a&&(a=t.find(l=>l.name==o)),a&&(a.classes+=" active")}return E.jsx(Lg,{classes:"universal",items:t,name:"ACCESS Menu"})},Sk=({items:t,siteName:e})=>E.jsx(Lg,{classes:"site",items:t,name:`${e} Menu`});var Ng="popstate";function Fg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Ek(t={}){function e(r,o){let i=o.state?.masked,{pathname:a,search:l,hash:u}=i||r.location;return yf("",{pathname:a,search:l,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:ll(o)}return Pk(e,n,null,t)}function Xt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function wo(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ck(){return Math.random().toString(36).substring(2,10)}function jg(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function yf(t,e,n=null,r,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ta(e):e,state:n,key:e&&e.key||r||Ck(),unstable_mask:o}}function ll({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ta(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substring(r),t=t.substring(0,r)),t&&(e.pathname=t)}return e}function Pk(t,e,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l="POP",u=null,d=p();d==null&&(d=0,a.replaceState({...a.state,idx:d},""));function p(){return(a.state||{idx:null}).idx}function h(){l="POP";let b=p(),P=b==null?null:b-d;d=b,u&&u({action:l,location:w.location,delta:P})}function A(b,P){l="PUSH";let M=Fg(b)?b:yf(w.location,b,P);d=p()+1;let D=jg(M,d),C=w.createHref(M.unstable_mask||M);try{a.pushState(D,"",C)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(C)}i&&u&&u({action:l,location:w.location,delta:1})}function m(b,P){l="REPLACE";let M=Fg(b)?b:yf(w.location,b,P);d=p();let D=jg(M,d),C=w.createHref(M.unstable_mask||M);a.replaceState(D,"",C),i&&u&&u({action:l,location:w.location,delta:0})}function y(b){return Dk(b)}let w={get action(){return l},get location(){return t(o,a)},listen(b){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(Ng,h),u=b,()=>{o.removeEventListener(Ng,h),u=null}},createHref(b){return e(o,b)},createURL:y,encodeLocation(b){let P=y(b);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:A,replace:m,go(b){return a.go(b)}};return w}function Dk(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Xt(n,"No window.location.(origin|href) available to create URL");let r=typeof t=="string"?t:ll(t);return r=r.replace(/ $/,"%20"),!e&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function zg(t,e,n="/"){return Tk(t,e,n,!1)}function Tk(t,e,n,r){let o=typeof e=="string"?ta(e):e,i=ni(o.pathname||"/",n);if(i==null)return null;let a=Qg(t);Bk(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let d=Qk(i);l=jk(a[u],d,r)}return l}function Qg(t,e=[],n=[],r="",o=!1){let i=(a,l,u=o,d)=>{let p={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&u)return;Xt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let h=ko([r,p.relativePath]),A=n.concat(p);a.children&&a.children.length>0&&(Xt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Qg(a.children,e,A,h,u)),!(a.path==null&&!a.index)&&e.push({path:h,score:Nk(h,a.index),routesMeta:A})};return t.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))i(a,l);else for(let u of Hg(a.path))i(a,l,!0,u)}),e}function Hg(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Hg(r.join("/")),l=[];return l.push(...a.map(u=>u===""?i:[i,u].join("/"))),o&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function Bk(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Fk(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var _k=/^:[\w-]+$/,Ik=3,Mk=2,Ok=1,Rk=10,Lk=-2,Ug=t=>t==="*";function Nk(t,e){let n=t.split("/"),r=n.length;return n.some(Ug)&&(r+=Lk),e&&(r+=Mk),n.filter(o=>!Ug(o)).reduce((o,i)=>o+(_k.test(i)?Ik:i===""?Ok:Rk),r)}function Fk(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function jk(t,e,n=!1){let{routesMeta:r}=t,o={},i="/",a=[];for(let l=0;l<r.length;++l){let u=r[l],d=l===r.length-1,p=i==="/"?e:e.slice(i.length)||"/",h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},p),A=u.route;if(!h&&d&&n&&!r[r.length-1].route.index&&(h=Rc({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},p)),!h)return null;Object.assign(o,h.params),a.push({params:o,pathname:ko([i,h.pathname]),pathnameBase:Wk(ko([i,h.pathnameBase])),route:A}),h.pathnameBase!=="/"&&(i=ko([i,h.pathnameBase]))}return a}function Rc(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=zk(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((d,{paramName:p,isOptional:h},A)=>{if(p==="*"){let y=l[A]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const m=l[A];return h&&!m?d[p]=void 0:d[p]=(m||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:a,pattern:t}}function zk(t,e=!1,n=!0){wo(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u,d,p)=>{if(r.push({paramName:l,isOptional:u!=null}),u){let h=p.charAt(d+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function Qk(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return wo(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function ni(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}var Hk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Uk(t,e="/"){let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?ta(t):t,i;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?i=Vg(n.substring(1),"/"):i=Vg(n,e)):i=e,{pathname:i,search:Yk(r),hash:qk(o)}}function Vg(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function bf(t,e,n,r){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vk(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Wg(t){let e=Vk(t);return e.map((n,r)=>r===e.length-1?n.pathname:n.pathnameBase)}function xf(t,e,n,r=!1){let o;typeof t=="string"?o=ta(t):(o={...t},Xt(!o.pathname||!o.pathname.includes("?"),bf("?","pathname","search",o)),Xt(!o.pathname||!o.pathname.includes("#"),bf("#","pathname","hash",o)),Xt(!o.search||!o.search.includes("#"),bf("#","search","hash",o)));let i=t===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let h=e.length-1;if(!r&&a.startsWith("..")){let A=a.split("/");for(;A[0]==="..";)A.shift(),h-=1;o.pathname=A.join("/")}l=h>=0?e[h]:"/"}let u=Uk(o,l),d=a&&a!=="/"&&a.endsWith("/"),p=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(d||p)&&(u.pathname+="/"),u}var ko=t=>t.join("/").replace(/\/\/+/g,"/"),Wk=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Yk=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qk=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Kk=class{constructor(t,e,n,r=!1){this.status=t,this.statusText=e||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Gk(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Xk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qg(t,e){let n=t;if(typeof n!="string"||!Hk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(Yg)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),l=ni(a.pathname,e);a.origin===i.origin&&l!=null?n=l+a.search+a.hash:o=!0}catch{wo(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kg=["POST","PUT","PATCH","DELETE"];new Set(Kg);var Jk=["GET",...Kg];new Set(Jk);var na=T.createContext(null);na.displayName="DataRouter";var Lc=T.createContext(null);Lc.displayName="DataRouterState";var Zk=T.createContext(!1),Gg=T.createContext({isTransitioning:!1});Gg.displayName="ViewTransition";var $k=T.createContext(new Map);$k.displayName="Fetchers";var e2=T.createContext(null);e2.displayName="Await";var zr=T.createContext(null);zr.displayName="Navigation";var cl=T.createContext(null);cl.displayName="Location";var So=T.createContext({outlet:null,matches:[],isDataRoute:!1});So.displayName="Route";var wf=T.createContext(null);wf.displayName="RouteError";var Xg="REACT_ROUTER_ERROR",t2="REDIRECT",n2="ROUTE_ERROR_RESPONSE";function r2(t){if(t.startsWith(`${Xg}:${t2}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function o2(t){if(t.startsWith(`${Xg}:${n2}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Kk(e.status,e.statusText,e.data)}catch{}}function i2(t,{relative:e}={}){Xt(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=T.useContext(zr),{hash:o,pathname:i,search:a}=dl(t,{relative:e}),l=i;return n!=="/"&&(l=i==="/"?n:ko([n,i])),r.createHref({pathname:l,search:a,hash:o})}function ul(){return T.useContext(cl)!=null}function Di(){return Xt(ul(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(cl).location}var Jg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zg(t){T.useContext(zr).static||T.useLayoutEffect(t)}function s2(){let{isDataRoute:t}=T.useContext(So);return t?b2():a2()}function a2(){Xt(ul(),"useNavigate() may be used only in the context of a <Router> component.");let t=T.useContext(na),{basename:e,navigator:n}=T.useContext(zr),{matches:r}=T.useContext(So),{pathname:o}=Di(),i=JSON.stringify(Wg(r)),a=T.useRef(!1);return Zg(()=>{a.current=!0}),T.useCallback((u,d={})=>{if(wo(a.current,Jg),!a.current)return;if(typeof u=="number"){n.go(u);return}let p=xf(u,JSON.parse(i),o,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:ko([e,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[e,n,i,o,t])}T.createContext(null);function l2(){let{matches:t}=T.useContext(So),e=t[t.length-1];return e?e.params:{}}function dl(t,{relative:e}={}){let{matches:n}=T.useContext(So),{pathname:r}=Di(),o=JSON.stringify(Wg(n));return T.useMemo(()=>xf(t,JSON.parse(o),r,e==="path"),[t,o,r,e])}function c2(t,e){return $g(t,e)}function $g(t,e,n){Xt(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=T.useContext(zr),{matches:o}=T.useContext(So),i=o[o.length-1],a=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",d=i&&i.route;{let b=d&&d.path||"";nm(l,!d||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${b}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
9
9
 
10
- Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}/*`}">.`)}let p=Di(),h;if(e){let b=typeof e=="string"?ta(e):e;Gt(u==="/"||b.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${b.pathname}" was given in the \`location\` prop.`),h=b}else h=p;let A=h.pathname||"/",m=A;if(u!=="/"){let b=u.replace(/^\//,"").split("/");m="/"+A.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=zg(t,{pathname:m});wo(d||y!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),wo(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=h2(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:ko([u,r.encodeLocation?r.encodeLocation(b.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:ko([u,r.encodeLocation?r.encodeLocation(b.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathnameBase])})),o,n);return e&&w?T.createElement(cl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...h},navigationType:"POP"}},w):w}function u2(){let t=y2(),e=Gk(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:i},"ErrorBoundary")," or"," ",T.createElement("code",{style:i},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:o},n):null,a)}var d2=T.createElement(u2,null),em=class extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const n=o2(t.digest);n&&(t=n)}let e=t!==void 0?T.createElement(So.Provider,{value:this.props.routeContext},T.createElement(wf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?T.createElement(f2,{error:t},e):e}};em.contextType=Zk;var kf=new WeakMap;function f2({children:t,error:e}){let{basename:n}=T.useContext(zr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=r2(e.digest);if(r){let o=kf.get(e);if(o)throw o;let i=qg(r.location,n);if(Yg&&!kf.get(e))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw kf.set(e,a),a}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return t}function p2({routeContext:t,match:e,children:n}){let r=T.useContext(na);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),T.createElement(So.Provider,{value:t},n)}function h2(t,e=[],n){let r=n?.state;if(t==null){if(!r)return null;if(r.errors)t=r.matches;else if(e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,i=r?.errors;if(i!=null){let p=o.findIndex(h=>h.route.id&&i?.[h.route.id]!==void 0);Gt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let a=!1,l=-1;if(n&&r){a=r.renderFallback;for(let p=0;p<o.length;p++){let h=o[p];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(l=p),h.route.id){let{loaderData:A,errors:m}=r,y=h.route.loader&&!A.hasOwnProperty(h.route.id)&&(!m||m[h.route.id]===void 0);if(h.route.lazy||y){n.isStatic&&(a=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let u=n?.onError,d=r&&u?(p,h)=>{u(p,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Xk(r.matches),errorInfo:h})}:void 0;return o.reduceRight((p,h,A)=>{let m,y=!1,w=null,b=null;r&&(m=i&&h.route.id?i[h.route.id]:void 0,w=h.route.errorElement||d2,a&&(l<0&&A===0?(nm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,b=null):l===A&&(y=!0,b=h.route.hydrateFallbackElement||null)));let P=e.concat(o.slice(0,A+1)),M=()=>{let D;return m?D=w:y?D=b:h.route.Component?D=T.createElement(h.route.Component,null):h.route.element?D=h.route.element:D=p,T.createElement(p2,{match:h,routeContext:{outlet:p,matches:P,isDataRoute:r!=null},children:D})};return r&&(h.route.ErrorBoundary||h.route.errorElement||A===0)?T.createElement(em,{location:r.location,revalidation:r.revalidation,component:w,error:m,children:M(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:d}):M()},null)}function Sf(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function A2(t){let e=T.useContext(na);return Gt(e,Sf(t)),e}function g2(t){let e=T.useContext(Lc);return Gt(e,Sf(t)),e}function m2(t){let e=T.useContext(So);return Gt(e,Sf(t)),e}function Ef(t){let e=m2(t),n=e.matches[e.matches.length-1];return Gt(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function v2(){return Ef("useRouteId")}function y2(){let t=T.useContext(wf),e=g2("useRouteError"),n=Ef("useRouteError");return t!==void 0?t:e.errors?.[n]}function b2(){let{router:t}=A2("useNavigate"),e=Ef("useNavigate"),n=T.useRef(!1);return Zg(()=>{n.current=!0}),T.useCallback(async(o,i={})=>{wo(n.current,Jg),n.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:e,...i}))},[t,e])}var tm={};function nm(t,e,n){!e&&!tm[t]&&(tm[t]=!0,wo(!1,n))}T.memo(x2);function x2({routes:t,future:e,state:n,isStatic:r,onError:o}){return $g(t,void 0,{state:n,isStatic:r,onError:o})}function Cf(t){Gt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function w2({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){Gt(!ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=T.useMemo(()=>({basename:l,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[l,o,i,a]);typeof n=="string"&&(n=ta(n));let{pathname:d="/",search:p="",hash:h="",state:A=null,key:m="default",unstable_mask:y}=n,w=T.useMemo(()=>{let b=ni(d,l);return b==null?null:{location:{pathname:b,search:p,hash:h,state:A,key:m,unstable_mask:y},navigationType:r}},[l,d,p,h,A,m,r,y]);return wo(w!=null,`<Router basename="${l}"> is not able to match the URL "${d}${p}${h}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:T.createElement(zr.Provider,{value:u},T.createElement(cl.Provider,{children:e,value:w}))}function k2({children:t,location:e}){return c2(Pf(t),e)}function Pf(t,e=[]){let n=[];return T.Children.forEach(t,(r,o)=>{if(!T.isValidElement(r))return;let i=[...e,o];if(r.type===T.Fragment){n.push.apply(n,Pf(r.props.children,i));return}Gt(r.type===Cf,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Gt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Pf(r.props.children,i)),n.push(a)}),n}var Nc="get",Fc="application/x-www-form-urlencoded";function jc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function S2(t){return jc(t)&&t.tagName.toLowerCase()==="button"}function E2(t){return jc(t)&&t.tagName.toLowerCase()==="form"}function C2(t){return jc(t)&&t.tagName.toLowerCase()==="input"}function P2(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function D2(t,e){return t.button===0&&(!e||e==="_self")&&!P2(t)}var zc=null;function T2(){if(zc===null)try{new FormData(document.createElement("form"),0),zc=!1}catch{zc=!0}return zc}var B2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Df(t){return t!=null&&!B2.has(t)?(wo(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fc}"`),null):t}function _2(t,e){let n,r,o,i,a;if(E2(t)){let l=t.getAttribute("action");r=l?ni(l,e):null,n=t.getAttribute("method")||Nc,o=Df(t.getAttribute("enctype"))||Fc,i=new FormData(t)}else if(S2(t)||C2(t)&&(t.type==="submit"||t.type==="image")){let l=t.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=t.getAttribute("formaction")||l.getAttribute("action");if(r=u?ni(u,e):null,n=t.getAttribute("formmethod")||l.getAttribute("method")||Nc,o=Df(t.getAttribute("formenctype"))||Df(l.getAttribute("enctype"))||Fc,i=new FormData(l,t),!T2()){let{name:d,type:p,value:h}=t;if(p==="image"){let A=d?`${d}.`:"";i.append(`${A}x`,"0"),i.append(`${A}y`,"0")}else d&&i.append(d,h)}}else{if(jc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Nc,r=null,o=Fc,a=t}return i&&o==="text/plain"&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Tf(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function I2(t,e,n,r){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:e&&ni(o.pathname,e)==="/"?o.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function M2(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function O2(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function R2(t,e,n){let r=await Promise.all(t.map(async o=>{let i=e.routes[o.route.id];if(i){let a=await M2(i,n);return a.links?a.links():[]}return[]}));return j2(r.flat(1).filter(O2).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function rm(t,e,n,r,o,i){let a=(u,d)=>n[d]?u.route.id!==n[d].route.id:!0,l=(u,d)=>n[d].pathname!==u.pathname||n[d].route.path?.endsWith("*")&&n[d].params["*"]!==u.params["*"];return i==="assets"?e.filter((u,d)=>a(u,d)||l(u,d)):i==="data"?e.filter((u,d)=>{let p=r.routes[u.route.id];if(!p||!p.hasLoader)return!1;if(a(u,d)||l(u,d))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function L2(t,e,{includeHydrateFallback:n}={}){return N2(t.map(r=>{let o=e.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function N2(t){return[...new Set(t)]}function F2(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function j2(t,e){let n=new Set;return new Set(e),t.reduce((r,o)=>{let i=JSON.stringify(F2(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function om(){let t=T.useContext(na);return Tf(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function z2(){let t=T.useContext(Lc);return Tf(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Bf=T.createContext(void 0);Bf.displayName="FrameworkContext";function im(){let t=T.useContext(Bf);return Tf(t,"You must render this element inside a <HydratedRouter> element"),t}function Q2(t,e){let n=T.useContext(Bf),[r,o]=T.useState(!1),[i,a]=T.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:d,onMouseLeave:p,onTouchStart:h}=e,A=T.useRef(null);T.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let w=P=>{P.forEach(M=>{a(M.isIntersecting)})},b=new IntersectionObserver(w,{threshold:.5});return A.current&&b.observe(A.current),()=>{b.disconnect()}}},[t]),T.useEffect(()=>{if(r){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[r]);let m=()=>{o(!0)},y=()=>{o(!1),a(!1)};return n?t!=="intent"?[i,A,{}]:[i,A,{onFocus:fl(l,m),onBlur:fl(u,y),onMouseEnter:fl(d,m),onMouseLeave:fl(p,y),onTouchStart:fl(h,m)}]:[!1,A,{}]}function fl(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function H2({page:t,...e}){let{router:n}=om(),r=T.useMemo(()=>zg(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?T.createElement(V2,{page:t,matches:r,...e}):null}function U2(t){let{manifest:e,routeModules:n}=im(),[r,o]=T.useState([]);return T.useEffect(()=>{let i=!1;return R2(t,e,n).then(a=>{i||o(a)}),()=>{i=!0}},[t,e,n]),r}function V2({page:t,matches:e,...n}){let r=Di(),{future:o,manifest:i,routeModules:a}=im(),{basename:l}=om(),{loaderData:u,matches:d}=z2(),p=T.useMemo(()=>rm(t,e,d,i,r,"data"),[t,e,d,i,r]),h=T.useMemo(()=>rm(t,e,d,i,r,"assets"),[t,e,d,i,r]),A=T.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let w=new Set,b=!1;if(e.forEach(M=>{let D=i.routes[M.route.id];!D||!D.hasLoader||(!p.some(C=>C.route.id===M.route.id)&&M.route.id in u&&a[M.route.id]?.shouldRevalidate||D.hasClientLoader?b=!0:w.add(M.route.id))}),w.size===0)return[];let P=I2(t,l,o.unstable_trailingSlashAwareDataRequests,"data");return b&&w.size>0&&P.searchParams.set("_routes",e.filter(M=>w.has(M.route.id)).map(M=>M.route.id).join(",")),[P.pathname+P.search]},[l,o.unstable_trailingSlashAwareDataRequests,u,r,i,p,e,t,a]),m=T.useMemo(()=>L2(h,i),[h,i]),y=U2(h);return T.createElement(T.Fragment,null,A.map(w=>T.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),m.map(w=>T.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),y.map(({key:w,link:b})=>T.createElement("link",{key:w,nonce:n.nonce,...b,crossOrigin:b.crossOrigin??n.crossOrigin})))}function W2(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var Y2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Y2&&(window.__reactRouterVersion="7.13.1")}catch{}function q2({basename:t,children:e,unstable_useTransitions:n,window:r}){let o=T.useRef();o.current==null&&(o.current=Ek({window:r,v5Compat:!0}));let i=o.current,[a,l]=T.useState({action:i.action,location:i.location}),u=T.useCallback(d=>{n===!1?l(d):T.startTransition(()=>l(d))},[n]);return T.useLayoutEffect(()=>i.listen(u),[i,u]),T.createElement(w2,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:i,unstable_useTransitions:n})}var sm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,am=T.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,unstable_mask:l,state:u,target:d,to:p,preventScrollReset:h,viewTransition:A,unstable_defaultShouldRevalidate:m,...y},w){let{basename:b,navigator:P,unstable_useTransitions:M}=T.useContext(zr),D=typeof p=="string"&&sm.test(p),C=qg(p,b);p=C.to;let j=i2(p,{relative:o}),R=Di(),z=null;if(l){let te=xf(l,[],R.unstable_mask?R.unstable_mask.pathname:"/",!0);b!=="/"&&(te.pathname=te.pathname==="/"?b:ko([b,te.pathname])),z=P.createHref(te)}let[V,K,q]=Q2(r,y),Z=J2(p,{replace:a,unstable_mask:l,state:u,target:d,preventScrollReset:h,relative:o,viewTransition:A,unstable_defaultShouldRevalidate:m,unstable_useTransitions:M});function W(te){e&&e(te),te.defaultPrevented||Z(te)}let oe=!(C.isExternal||i),ue=T.createElement("a",{...y,...q,href:(oe?z:void 0)||C.absoluteURL||j,onClick:oe?W:e,ref:W2(w,K),target:d,"data-discover":!D&&n==="render"?"true":void 0});return V&&!D?T.createElement(T.Fragment,null,ue,T.createElement(H2,{page:j})):ue});am.displayName="Link";var K2=T.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:l,children:u,...d},p){let h=dl(a,{relative:d.relative}),A=Di(),m=T.useContext(Lc),{navigator:y,basename:w}=T.useContext(zr),b=m!=null&&nS(h)&&l===!0,P=y.encodeLocation?y.encodeLocation(h).pathname:h.pathname,M=A.pathname,D=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(M=M.toLowerCase(),D=D?D.toLowerCase():null,P=P.toLowerCase()),D&&w&&(D=ni(D,w)||D);const C=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let j=M===P||!o&&M.startsWith(P)&&M.charAt(C)==="/",R=D!=null&&(D===P||!o&&D.startsWith(P)&&D.charAt(P.length)==="/"),z={isActive:j,isPending:R,isTransitioning:b},V=j?e:void 0,K;typeof r=="function"?K=r(z):K=[r,j?"active":null,R?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let q=typeof i=="function"?i(z):i;return T.createElement(am,{...d,"aria-current":V,className:K,ref:p,style:q,to:a,viewTransition:l},typeof u=="function"?u(z):u)});K2.displayName="NavLink";var G2=T.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:o,state:i,method:a=Nc,action:l,onSubmit:u,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A,...m},y)=>{let{unstable_useTransitions:w}=T.useContext(zr),b=eS(),P=tS(l,{relative:d}),M=a.toLowerCase()==="get"?"get":"post",D=typeof l=="string"&&sm.test(l),C=j=>{if(u&&u(j),j.defaultPrevented)return;j.preventDefault();let R=j.nativeEvent.submitter,z=R?.getAttribute("formmethod")||a,V=()=>b(R||j.currentTarget,{fetcherKey:e,method:z,navigate:n,replace:o,state:i,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A});w&&n!==!1?T.startTransition(()=>V()):V()};return T.createElement("form",{ref:y,method:M,action:P,onSubmit:r?u:C,...m,"data-discover":!D&&t==="render"?"true":void 0})});G2.displayName="Form";function X2(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lm(t){let e=T.useContext(na);return Gt(e,X2(t)),e}function J2(t,{target:e,replace:n,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let p=s2(),h=Di(),A=dl(t,{relative:a});return T.useCallback(m=>{if(D2(m,e)){m.preventDefault();let y=n!==void 0?n:ll(h)===ll(A),w=()=>p(t,{replace:y,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u});d?T.startTransition(()=>w()):w()}},[h,p,A,n,r,o,e,t,i,a,l,u,d])}var Z2=0,$2=()=>`__${String(++Z2)}__`;function eS(){let{router:t}=lm("useSubmit"),{basename:e}=T.useContext(zr),n=v2(),r=t.fetch,o=t.navigate;return T.useCallback(async(i,a={})=>{let{action:l,method:u,encType:d,formData:p,body:h}=_2(i,e);if(a.navigate===!1){let A=a.fetcherKey||$2();await r(A,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await o(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,e,n])}function tS(t,{relative:e}={}){let{basename:n}=T.useContext(zr),r=T.useContext(So);Gt(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...dl(t||".",{relative:e})},a=Di();if(t==null){i.search=a.search;let l=new URLSearchParams(i.search),u=l.getAll("index");if(u.some(p=>p==="")){l.delete("index"),u.filter(h=>h).forEach(h=>l.append("index",h));let p=l.toString();i.search=p?`?${p}`:""}}return(!t||t===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:ko([n,i.pathname])),ll(i)}function nS(t,{relative:e}={}){let n=T.useContext(Gg);Gt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=lm("useViewTransitionState"),o=dl(t,{relative:e});if(!n.isTransitioning)return!1;let i=ni(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ni(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rc(o.pathname,a)!=null||Rc(o.pathname,i)!=null}const rS=T.lazy(()=>Promise.resolve().then(()=>UM)),oS=T.lazy(()=>Promise.resolve().then(()=>XM));function iS({accessId:t,baseUri:e="/resources",isLoggedIn:n,qaBotApiKey:r,showTitle:o=!0,title:i="Resources"}){const[a,l]=T.useState(!1);return E.jsxs(T.Suspense,{fallback:null,children:[E.jsx(q2,{children:E.jsx(kg,{children:E.jsxs(k2,{children:[E.jsx(Cf,{path:e,element:E.jsx(oS,{baseUri:e,title:i,setBotOpen:l,showTitle:o})}),E.jsx(Cf,{path:`${e}/:infoGroupId`,element:E.jsx(rS,{baseUri:e})})]})})}),E.jsx(Sg,{accessId:t,apiKey:r,embedded:!1,isLoggedIn:n,onOpenChange:l,open:a,welcome:"Welcome to the ACCESS Q&A Bot!"})]})}const sS=({headings:t=[],idPrefix:e="",smoothScroll:n=!0})=>{const[r,o]=T.useState(-1);let i;const a=[];if(t.forEach(l=>{l.tagName=="H1"?i=l:l.tagName=="H2"&&(a.push(l),l.id||(l.id=e+l.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),T.useEffect(()=>{a.length&&window.addEventListener("scroll",function(){const l=_g()+window.innerHeight*.1;let u=-1;a.forEach((d,p)=>{if(d.offsetTop<l)return u=p,!1}),o(u)})},[]),!!a.length)return E.jsxs("div",{className:"toc",children:[i&&E.jsx("h2",{children:i.textContent}),a.length>0&&E.jsx("ul",{children:a.map((l,u)=>E.jsx("li",{children:E.jsx("a",{href:`#${l.id}`,className:u==r?"active":"",onClick:d=>{n&&(d.preventDefault(),window.scrollTo({top:l.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${l.id}`))},children:l.textContent})}))})]})},ri=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media(min-width:600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media(min-width:768px){:host,:root{--width: 712px}}@media(min-width:900px){:host,:root{--width: 840px}}@media(min-width:1024px){:host,:root{--width: 940px}}@media(min-width:1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",aS='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:.875rem;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',lS=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:2.25rem;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:1.375rem;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:1.125rem;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:1rem;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:1.25rem;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:1.5rem}`,cS=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:.9375rem;line-height:21px;margin:0 0 20px}.disclaimer{font-size:.75rem;line-height:18px;margin:0 0 15px}.contact{font-size:1rem;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.bluesky{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-bluesky' viewBox='0 0 16 16'><path d='M3.468 1.948C5.303 3.325 7.276 6.118 8 7.616c.725-1.498 2.698-4.29 4.532-5.668C13.855.955 16 .186 16 2.632c0 .489-.28 4.105-.444 4.692-.572 2.04-2.653 2.561-4.504 2.246 3.236.551 4.06 2.375 2.281 4.2-3.376 3.464-4.852-.87-5.23-1.98-.07-.204-.103-.3-.103-.218 0-.081-.033.014-.102.218-.379 1.11-1.855 5.444-5.231 1.98-1.778-1.825-.955-3.65 2.28-4.2-1.85.315-3.932-.205-4.503-2.246C.28 6.737 0 3.12 0 2.632 0 .186 2.145.955 3.468 1.948'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:.75rem;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:.9375rem;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media(min-width:1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media(min-width:900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:1.125rem;line-height:24px}.personas{font-size:1.125rem;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,uS=".container{box-sizing:content-box;height:84px;padding-top:20px}@media(min-width:900px){.container{height:144px;padding-top:52px}}",cm=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:1.09375rem;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media(min-width:900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:1.875rem}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,_f=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:.875rem;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button.item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button.item{position:relative}.menu>button.item{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button.item:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.item.expanded:after{transform:rotate(180deg)}.menu .highlight button.item:after{background-image:var(--icon-caret-down-dark)}.menu button.item,.menu ul li{background-color:var(--background)}.menu button.item,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button.item{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:.875rem;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:.875rem;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:.875rem;font-weight:600;list-style-type:none;padding:14px 0 0}@media(min-width:768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media(min-width:1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button.item{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:1rem}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button.item{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button.item:after,.menu button.item.expanded:after,.menu .highlight button.item:after,.menu .highlight button.item.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button.item:after{background-image:var(--icon-caret-down-teal)}.universal button.item:after{background-image:var(--icon-caret-down-light)}.menu button.item.expanded:after,.menu button.item.item:active:after,.menu button.item.item:focus:after,.menu button.item.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media(min-width:1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,dS='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:1rem;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:.875rem;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:1rem;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:.875rem;line-height:1.1}.slide-text p{font-size:.875rem;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media(min-width:768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media(min-width:1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media(min-width:1280px){.slide-text h2{font-size:1.125rem}.slide-text a{font-size:1rem}.slide-text p{font-size:1rem;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media(min-width:768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media(min-width:1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50% 100%);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:1rem;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:.75rem;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media(min-width:768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media(min-width:900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:1rem}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media(min-width:768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media(min-width:900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media(min-width:1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media(min-width:1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media(min-width:1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50% 100%);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:1rem;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',fS=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:1rem;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:1rem;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media(min-width:768px){a.active{color:var(--teal-100)}}@media(min-width:900px){.toc{padding:32px}}",pS='.rcb-chat-header-container{padding:12px;color:#fff;border-bottom:1px solid #ccc;display:flex;justify-content:space-between;max-height:55px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;width:30px;height:30px;border-radius:50%;margin-right:12px}.rcb-message-prompt-container.visible{position:sticky;bottom:0;margin:auto;display:flex;align-items:center;justify-content:center;opacity:1;animation:rcb-animation-pop-in .3s ease-in-out;pointer-events:auto}.rcb-message-prompt-container.hidden{opacity:0;height:0px;visibility:hidden;pointer-events:none}.rcb-message-prompt-text{padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border:.5px solid #adadad;cursor:pointer;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:right;margin-right:16px}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-user-avatar{margin-left:-10px;margin-right:6px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:left;margin-left:16px}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-bot-avatar{margin-left:6px;margin-right:-10px}.rcb-typing-indicator{display:flex;align-items:center}.rcb-dot{width:8px;height:8px;border-radius:50%;background-color:#ccc;margin-right:4px;animation:rcb-animation-bot-typing 1s infinite}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{position:relative;height:100%;width:100%;padding-bottom:16px;overflow-x:hidden;overflow-y:scroll;touch-action:pan-y}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;padding-top:12px;margin-left:16px;flex-wrap:wrap;gap:10px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{display:flex;align-items:center;gap:5px;border-width:.5px;border-style:solid;border-radius:10px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out;overflow:hidden}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{display:inline-flex;margin-left:10px;align-items:center;cursor:pointer}.rcb-checkbox-mark{width:20px;height:20px;background-color:#f2f2f2;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;transition:all .3s ease;margin-right:10px;cursor:pointer}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{text-align:center;display:inline-block;align-items:center;border-width:.5px;border-style:solid;border-radius:10px;font-size:24px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{padding-top:12px;margin-left:16px;max-width:70%;display:flex;flex-wrap:wrap;gap:10px}.rcb-options-offset{margin-left:50px!important}.rcb-options{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:20px;font-size:14px;border-width:.5px;border-style:solid;cursor:pointer;transition:background-color .3s ease;animation:rcb-animation-options-entry .5s ease-out;overflow:hidden}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;max-height:45px}.rcb-line-break-text{padding:6px 12px;color:#adadad;font-size:12px}.rcb-spinner-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-spinner{width:22px;height:22px;border-radius:50%;border:4px solid #f3f3f3;animation:rcb-animation-spin 1s linear infinite}.rcb-chat-input{padding:8px 16px;border-top:1px solid #ccc;display:flex;align-items:center;background-color:#fff}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{flex:1;padding:8px;border:none;border-radius:4px;outline:none;font-size:16px;resize:none;height:auto;min-height:38px;overflow-y:scroll;font-family:inherit;background-color:#fff;color:#000;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:transparent}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{padding:12px 16px 8px 10px;border-top:1px solid #ccc;max-height:55px;display:flex;justify-content:space-between;align-items:flex-end;font-size:12px;background-color:#f2f2f2;color:#000}.rcb-chat-footer{display:flex;flex-direction:row}.rcb-toggle-button{display:flex;flex-direction:row;position:fixed;bottom:20px;right:20px;z-index:9999;width:75px;height:75px;border-radius:50%;border:none;cursor:pointer;box-shadow:0 2px 4px #0003}.rcb-toggle-button.rcb-button-hide{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}.rcb-toggle-button.rcb-button-show{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-toggle-icon{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;margin:auto;border-radius:inherit}.rcb-badge{position:absolute;top:-6px;right:-6px;border-radius:50%;background-color:red;color:#fff;height:25px;width:25px;display:flex;justify-content:center;align-items:center}.rcb-chat-tooltip{position:fixed;padding:16px;border-radius:20px;box-shadow:0 2px 6px #0003;white-space:nowrap;cursor:pointer;font-size:20px;transition:transform .3s ease;z-index:9999}.rcb-chat-tooltip-tail{content:"";position:absolute;top:50%;right:-10px;margin-top:-10px;border-width:10px 0 10px 10px;border-style:solid}.rcb-chat-tooltip.rcb-tooltip-hide{opacity:0;visibility:hidden;animation:rcb-animation-tooltip-out .5s ease-in-out}.rcb-chat-tooltip.rcb-tooltip-show{opacity:1;visibility:visible;animation:rcb-animation-tooltip-in .5s ease-in-out}.rcb-toast-prompt{padding:6px 12px;border-radius:5px;color:#7a7a7a;font-size:12px;text-align:center;background-color:#fff;border:.5px solid #7a7a7a;cursor:pointer;transition:color .3s ease,border-color .3s ease;z-index:9999;width:100%;margin-top:6px;animation:rcb-animation-pop-in .3s ease-in-out}.rcb-toast-prompt-container{position:absolute;left:50%;transform:translate(-50%);bottom:0;margin:auto;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;opacity:1;animation:popIn .3s ease-in-out;pointer-events:auto;margin-top:200}.rcb-media-display-image-container,.rcb-media-display-video-container{margin-top:8px;margin-right:16px;border-radius:22px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{width:100%;height:auto;border-radius:22px;object-fit:cover}.rcb-media-display-video{width:100%;height:auto;border-radius:22px;background-color:#000}.rcb-media-display-audio{margin-top:8px;margin-right:16px;width:100%;height:auto;border-radius:22px}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-enabled,.rcb-attach-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center}.rcb-attach-button-enabled input[type=file],.rcb-attach-button-disabled input[type=file]{position:absolute;width:100%;height:100%;display:none}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-attach-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-attach-icon-enabled,.rcb-attach-icon-disabled{display:inline-block;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat;background-size:cover;transition:background-image .3s ease}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-enabled,.rcb-emoji-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center;cursor:pointer}.rcb-emoji-icon-enabled,.rcb-emoji-icon-disabled{position:relative;display:inline-block;background-size:cover;font-size:20px;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-emoji-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-emoji-button-popup{position:absolute;width:158px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:8px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;transform:translateY(calc(-100% - 30px))}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-audio-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-audio-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-close-chat-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;margin-left:5px;cursor:pointer}.rcb-close-chat-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-close-chat-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-notification-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-notification-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-notification-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-voice-button-enabled,.rcb-voice-button-disabled{display:inline-flex;align-items:center;justify-content:center;text-transform:uppercase;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;height:32px;width:32px;margin-left:8px;transition:all .3s ease;background-color:#fff}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid rgb(61,0,0)}.rcb-voice-button-disabled{border:1px;border-style:solid;border-color:#0003}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{width:60%;height:60%;background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{display:inline-flex;justify-content:center;text-transform:uppercase;border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;transition:background-color .3s ease;height:32px;width:51px;margin-left:8px}.rcb-send-icon{width:50%;height:50%;transform:translateY(20%);background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-view-history-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-view-history-button{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border-color:#adadad;border-width:.5px;border-style:solid;max-width:60%;cursor:pointer;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{position:fixed;right:20px;bottom:20px;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#fff;transition:all .3s ease;overflow:hidden;display:flex;flex-direction:column;width:375px;height:550px}.rcb-window-embedded .rcb-chat-window{position:relative;opacity:1;visibility:visible;right:auto;bottom:auto}.rcb-window-open .rcb-chat-window{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-window-close .rcb-chat-window{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}@keyframes rcb-animation-expand{0%{transform:translate(100%,100%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-collapse{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(100%,100%) scale(0);opacity:0}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{transform:translate(-100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-user-message-entry{0%{transform:translate(100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{transform:scale(.8);opacity:0}70%{transform:scale(1.1);opacity:1}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes rcb-animation-options-entry{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}',hS='.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.rcb-chat-window{height:800px!important;max-height:80vh!important;max-width:100%;width:550px!important}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.qa-bot .history-button,.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .history-button,.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.qa-bot.bot-logged-in .history-button:hover{opacity:.8}.qa-bot.bot-logged-in .history-button:focus{outline:2px solid #fff;outline-offset:2px}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-chat-tooltip,.rcb-chat-tooltip>span{background-color:#1a5b6e;color:#fff}.rcb-chat-tooltip-tail{border-color:#0000 #0000 #0000 #1a5b6e}@keyframes phone-ring{0%{transform:translate(0) translateY(0) rotate(0)}2%{transform:translate(0) translateY(-8px) rotate(-2deg)}4%{transform:translate(0) translateY(-6px) rotate(2deg)}6%{transform:translate(0) translateY(-8px) rotate(-1deg)}8%{transform:translate(0) translateY(-6px) rotate(1deg)}10%{transform:translate(0) translateY(-8px) rotate(-2deg)}12%{transform:translate(0) translateY(-6px) rotate(2deg)}20%{transform:translate(0) translateY(0) rotate(0)}30%{transform:translate(0) translateY(0) rotate(0)}40%{transform:translate(0) translateY(0) rotate(0)}49%{transform:translate(0) translateY(0) rotate(0)}50%{transform:translate(0) translateY(-8px) rotate(-2deg)}52%{transform:translate(0) translateY(-6px) rotate(2deg)}54%{transform:translate(0) translateY(-8px) rotate(-1deg)}56%{transform:translate(0) translateY(-6px) rotate(1deg)}58%{transform:translate(0) translateY(-8px) rotate(-2deg)}60%{transform:translate(0) translateY(-6px) rotate(2deg)}70%{transform:translate(0) translateY(0) rotate(0)}to{transform:translate(0) translateY(0) rotate(0)}}@media(max-width:768px){.rcb-chat-window{max-height:calc(100vh - 100px)!important;max-width:calc(100vw - 40px)!important;width:550px!important}.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}.rcb-bot-message,.rcb-user-message{max-width:85%!important}.rcb-chat-input-textarea{font-size:16px!important;min-height:44px!important}.rcb-chat-header{padding:12px 16px!important}.rcb-chat-tooltip,.rcb-chat-tooltip-tail{display:none!important}}@media(max-width:480px){.rcb-chat-window{bottom:10px!important;left:10px!important;max-height:calc(100vh - 80px)!important;max-width:calc(100vw - 20px)!important;right:10px!important;width:calc(100vw - 20px)!important}.embedded-chat-container.open{height:350px}.rcb-bot-message,.rcb-user-message{margin-bottom:8px!important;max-width:90%!important}.rcb-chat-header{font-size:14px!important;padding:8px 12px!important}.rcb-chat-button{bottom:20px!important;height:50px!important;right:20px!important;width:50px!important}.rcb-chat-footer-container{font-size:9px!important;padding:8px 12px!important}}@media(max-width:360px){.rcb-chat-window{left:5px!important;max-width:calc(100vw - 10px)!important;right:5px!important;width:calc(100vw - 10px)!important}.rcb-chat-header{font-size:13px!important;padding:6px 8px!important}}.rcb-checkbox-container{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:16px!important;max-width:100%!important;padding-top:12px!important}.rcb-checkbox-row-container{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--primaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-row-container:hover{background-color:#e8f4f8!important;border-color:var(--primaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-row-container[data-checked=true]{background-color:var(--primaryColor,#107180)!important;border-color:var(--primaryColor,#107180)!important;color:#fff!important}.rcb-checkbox-row{margin-left:0!important}.rcb-checkbox-mark{height:14px!important;margin-right:6px!important;width:14px!important}.rcb-checkbox-label{font-size:13px!important;margin:0!important;white-space:nowrap!important}.rcb-checkbox-next-button{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;justify-content:center!important;line-height:24px!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-next-button:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.sr-only{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.rcb-chat-input-send-button:focus,.rcb-chat-input-textarea:focus{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-bot-message ol,.rcb-bot-message ul{list-style-position:outside!important;margin:.5em 0!important;padding-left:1.5em!important}.rcb-bot-message li{margin-bottom:.25em!important}.rcb-bot-message li>p{display:inline!important;margin:0!important}.rcb-user-message{word-wrap:break-word!important;overflow:hidden!important;word-break:break-word!important}:focus-visible{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-options-container{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin:16px!important;padding:0!important}.rcb-options{background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;outline:none!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-options:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-next-button.keyboard-focused,.rcb-checkbox-next-button:focus,.rcb-checkbox-next-button:focus-visible,.rcb-checkbox-row-container.keyboard-focused,.rcb-checkbox-row-container:focus,.rcb-checkbox-row-container:focus-visible,.rcb-options.keyboard-focused,.rcb-options:focus,.rcb-options:focus-visible{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;outline:none!important}.rcb-options:active{background-color:var(--secondaryColor,#107180)!important;border-color:var(--secondaryColor,#107180)!important;color:#fff!important;transform:translateY(0)!important}.keyboard-nav-hint{color:#666!important;font-size:12px!important;font-style:italic!important;margin-bottom:8px!important}@media(prefers-reduced-motion:reduce){.keyboard-nav-hint{display:none!important}}.rcb-options-container [role=button][tabindex="0"],.rcb-options-container button[tabindex="0"]{position:relative!important}.rcb-options-container [role=button][tabindex="0"]:after,.rcb-options-container button[tabindex="0"]:after{color:var(--secondaryColor,#107180)!important;content:"←"!important;font-size:16px!important;opacity:0!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;transition:opacity .2s ease!important}.rcb-options-container [role=button][tabindex="0"]:focus:after,.rcb-options-container button[tabindex="0"]:focus:after{opacity:1!important}.rcb-chat-input-send-button{cursor:pointer!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.rcb-chat-input-send-button:not([tabindex]){-webkit-user-select:none;-moz-user-select:none;user-select:none}.rcb-chat-input-container [onclick],.rcb-chat-input-container [role=button],.rcb-chat-input-container div[style*=cursor],.rcb-chat-input-container svg:last-child,.rcb-chat-input-container>div:last-child{tabindex:0!important;cursor:pointer!important}.rcb-chat-footer{margin-top:4px!important;padding-top:0!important}.rcb-chat-footer-container{align-items:center!important;display:flex!important;margin-top:4px!important;padding-top:4px!important}.rcb-chat-footer-container button{order:1!important}.rcb-chat-footer-container a[href*=qa-bot-core]{tab-index:0!important;order:2!important}.rcb-chat-footer-container a[href*=feedback]{tab-index:0!important;order:3!important}@media(prefers-contrast:high){.rcb-chat-window a{background-color:#fff!important;border:1px solid #000!important;color:#000!important}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.rcb-chat-input-textarea{-webkit-user-select:text!important;user-select:text!important}.rcb-chat-body-container,.rcb-chat-input-textarea,.rcb-chat-window{touch-action:pan-y!important}.embedded-qa-bot,.rcb-chat-window{-webkit-overflow-scrolling:touch!important}.embedded-qa-bot .rcb-chat-input-textarea{touch-action:pan-y!important;-webkit-user-select:text!important;user-select:text!important}.embedded-qa-bot .rcb-chat-body-container,.embedded-qa-bot .rcb-chat-window{touch-action:pan-y!important}.rcb-chat-header-container{background:var(--primaryColor,#1a5b6e)!important;background:linear-gradient(135deg,var(--primaryColor,#1a5b6e) 0,var(--secondaryColor,#107180) 100%)!important}.rcb-toggle-button{align-items:center!important;background:var(--primaryColor,#1a5b6e)!important;display:flex!important;justify-content:center!important}.rcb-toggle-button svg{stroke:#fff!important;color:#fff!important}.rcb-toggle-button *,.rcb-toggle-button img,.rcb-toggle-button svg,.rcb-toggle-button>*{box-sizing:border-box!important;height:50px!important;left:0!important;margin:0 auto!important;max-height:50px!important;max-width:50px!important;min-height:50px!important;min-width:50px!important;padding:2px!important;position:relative!important;top:0!important;width:50px!important}.rcb-send-button{background-color:var(--primaryColor,#1a5b6e)!important}.rcb-chat-notification-badge,.rcb-notification-badge{display:none!important}.rcb-chat-window .rcb-bot-avatar{background-size:contain;border-radius:0;background-position:center;background-repeat:no-repeat}.rcb-toggle-icon{background-size:62%!important;background-position:calc(50% - 1px) calc(50% + 2px);background-repeat:no-repeat;background-color:transparent!important}.rcb-chat-button-icon{background-size:contain;background-position:center;background-repeat:no-repeat}.rcb-chat-window{width:550px!important;height:800px!important;max-height:80vh!important;max-width:100%}.rcb-chat-window .rcb-chat-header{display:flex;flex-direction:row;align-items:center;font-weight:700}.rcb-chat-footer-container{align-items:center!important;font-size:10px}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}@media(max-width:768px){.rcb-chat-window{width:550px!important;max-width:calc(100vw - 40px)!important;max-height:calc(100vh - 100px)!important}}@media(max-width:480px){.rcb-chat-window{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 80px)!important;left:10px!important;right:10px!important;bottom:10px!important}.rcb-chat-footer-container{font-size:9px!important}}.rcb-options-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:16px;padding:0}.rcb-options{border:1px solid #d0d0d0;background-color:#fff;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s ease;text-align:center;font-size:14px;font-weight:400;color:#107180;width:auto;flex:0 0 auto;box-sizing:border-box}.rcb-options:hover{background-color:#e8f4f8;border-color:#107180;transform:translateY(-1px);box-shadow:0 2px 4px #10718033}.rcb-options:active{background-color:#107180;border-color:#107180;color:#fff;transform:translateY(0)}.rcb-chat-header-container{font-size:14px}.rcb-options{border:1px solid #d0d0d0!important}.rcb-chat-window a:not(.qa-bot-login-button),.rcb-chat-window a:not(.qa-bot-login-button):link,.rcb-chat-window a:not(.qa-bot-login-button):visited{color:#000!important;font-weight:700!important;text-decoration:underline!important}.rcb-chat-window a:not(.qa-bot-login-button):hover{color:#1a5b6e!important;text-decoration:none!important}.rcb-chat-window .rcb-bot-message a,.rcb-chat-window .rcb-bot-message a:link,.rcb-chat-window .rcb-bot-message a:visited{color:#fff!important;text-decoration:underline!important}.rcb-chat-window .rcb-bot-message a:hover{opacity:.85;text-decoration:underline!important;color:#fff!important}',AS=".rcb-chat-header-container span{font-size:1rem!important;font-weight:600!important}";var um=xg();const gS=fs(um),dm=pS+hS+AS,mS=({children:t})=>{const e=T.useRef(null),[n,r]=T.useState(null);return T.useEffect(()=>{if(e.current&&!n&&!e.current.shadowRoot){const o=e.current.attachShadow({mode:"open"}),i=document.createElement("div");o.appendChild(i),r(i)}},[n]),E.jsx("div",{ref:e,children:n?gS.createPortal(t,n):null})},oi=(t,e)=>n=>E.jsxs(mS,{children:[E.jsx(t,{...n}),e.map(r=>E.jsx("style",{children:r},r))]}),vS=oi(pf,[ri,aS]),yS=oi(bk,[ri,cS,cm]),bS=oi(wk,[ri,_f]),xS=oi(xk,[ri,cm,uS]),wS=oi(Sg,[ri,dm]),kS=oi(iS,[ri,lS,dS,dm]),SS=oi(Sk,[ri,_f]),ES=oi(sS,[ri,fS]),CS=oi(kk,[ri,_f]),ii=t=>(e={})=>ik.createRoot(e.target).render(E.jsx(T.StrictMode,{children:E.jsx(t,{...e})})),PS=ii(vS),DS=ii(yS),TS=ii(bS),BS=ii(xS),_S=ii(wS),IS=ii(kS),MS=ii(SS),OS=ii(ES),RS=ii(CS);var Ti={},ps={};var fm;function LS(){if(fm)return ps;fm=1;var t=il();function e(x){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+x,F=1;F<arguments.length;F++)_+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+x+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},i={};function a(x){return n.call(i,x)?!0:n.call(o,x)?!1:r.test(x)?i[x]=!0:(o[x]=!0,!1)}function l(x,_,F,H,ie,$,he){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=H,this.attributeNamespace=ie,this.mustUseProperty=F,this.propertyName=x,this.type=_,this.sanitizeURL=$,this.removeEmptyString=he}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x){u[x]=new l(x,0,!1,x,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x){var _=x[0];u[_]=new l(_,1,!1,x[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(x){u[x]=new l(x,2,!1,x.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x){u[x]=new l(x,2,!1,x,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(x){u[x]=new l(x,3,!1,x.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(x){u[x]=new l(x,3,!0,x,null,!1,!1)}),["capture","download"].forEach(function(x){u[x]=new l(x,4,!1,x,null,!1,!1)}),["cols","rows","size","span"].forEach(function(x){u[x]=new l(x,6,!1,x,null,!1,!1)}),["rowSpan","start"].forEach(function(x){u[x]=new l(x,5,!1,x.toLowerCase(),null,!1,!1)});var d=/[\-:]([a-z])/g;function p(x){return x[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!1,!1)}),u.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!0,!0)});var h={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},A=["Webkit","ms","Moz","O"];Object.keys(h).forEach(function(x){A.forEach(function(_){_=_+x.charAt(0).toUpperCase()+x.substring(1),h[_]=h[x]})});var m=/["'&<>]/;function y(x){if(typeof x=="boolean"||typeof x=="number")return""+x;x=""+x;var _=m.exec(x);if(_){var F="",H,ie=0;for(H=_.index;H<x.length;H++){switch(x.charCodeAt(H)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}ie!==H&&(F+=x.substring(ie,H)),ie=H+1,F+=_}x=ie!==H?F+x.substring(ie,H):F}return x}var w=/([A-Z])/g,b=/^ms-/,P=Array.isArray;function M(x,_){return{insertionMode:x,selectedValue:_}}function D(x,_,F){switch(_){case"select":return M(1,F.value!=null?F.value:F.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=x.insertionMode||x.insertionMode===0?M(1,null):x}var C=new Map;function j(x,_,F){if(typeof F!="object")throw Error(e(62));_=!0;for(var H in F)if(n.call(F,H)){var ie=F[H];if(ie!=null&&typeof ie!="boolean"&&ie!==""){if(H.indexOf("--")===0){var $=y(H);ie=y((""+ie).trim())}else{$=H;var he=C.get($);he!==void 0||(he=y($.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),C.set($,he)),$=he,ie=typeof ie=="number"?ie===0||n.call(h,H)?""+ie:ie+"px":y((""+ie).trim())}_?(_=!1,x.push(' style="',$,":",ie)):x.push(";",$,":",ie)}}_||x.push('"')}function R(x,_,F,H){switch(F){case"style":j(x,_,H);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(_=u.hasOwnProperty(F)?u[F]:null,_!==null){switch(typeof H){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(F=_.attributeName,_.type){case 3:H&&x.push(" ",F,'=""');break;case 4:H===!0?x.push(" ",F,'=""'):H!==!1&&x.push(" ",F,'="',y(H),'"');break;case 5:isNaN(H)||x.push(" ",F,'="',y(H),'"');break;case 6:!isNaN(H)&&1<=H&&x.push(" ",F,'="',y(H),'"');break;default:_.sanitizeURL&&(H=""+H),x.push(" ",F,'="',y(H),'"')}}else if(a(F)){switch(typeof H){case"function":case"symbol":return;case"boolean":if(_=F.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}x.push(" ",F,'="',y(H),'"')}}}function z(x,_,F){if(_!=null){if(F!=null)throw Error(e(60));if(typeof _!="object"||!("__html"in _))throw Error(e(61));_=_.__html,_!=null&&x.push(""+_)}}function V(x){var _="";return t.Children.forEach(x,function(F){F!=null&&(_+=F)}),_}function K(x,_,F,H){x.push(W(F));var ie=F=null,$;for($ in _)if(n.call(_,$)){var he=_[$];if(he!=null)switch($){case"children":F=he;break;case"dangerouslySetInnerHTML":ie=he;break;default:R(x,H,$,he)}}return x.push(">"),z(x,ie,F),typeof F=="string"?(x.push(y(F)),null):F}var q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z=new Map;function W(x){var _=Z.get(x);if(_===void 0){if(!q.test(x))throw Error(e(65,x));_="<"+x,Z.set(x,_)}return _}function oe(x,_,F,H,ie){switch(_){case"select":x.push(W("select"));var $=null,he=null;for(ut in F)if(n.call(F,ut)){var De=F[ut];if(De!=null)switch(ut){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;case"defaultValue":case"value":break;default:R(x,H,ut,De)}}return x.push(">"),z(x,he,$),$;case"option":he=ie.selectedValue,x.push(W("option"));var Ie=De=null,tt=null,ut=null;for($ in F)if(n.call(F,$)){var It=F[$];if(It!=null)switch($){case"children":De=It;break;case"selected":tt=It;break;case"dangerouslySetInnerHTML":ut=It;break;case"value":Ie=It;default:R(x,H,$,It)}}if(he!=null)if(F=Ie!==null?""+Ie:V(De),P(he)){for(H=0;H<he.length;H++)if(""+he[H]===F){x.push(' selected=""');break}}else""+he===F&&x.push(' selected=""');else tt&&x.push(' selected=""');return x.push(">"),z(x,ut,De),De;case"textarea":x.push(W("textarea")),ut=he=$=null;for(De in F)if(n.call(F,De)&&(Ie=F[De],Ie!=null))switch(De){case"children":ut=Ie;break;case"value":$=Ie;break;case"defaultValue":he=Ie;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:R(x,H,De,Ie)}if($===null&&he!==null&&($=he),x.push(">"),ut!=null){if($!=null)throw Error(e(92));if(P(ut)&&1<ut.length)throw Error(e(93));$=""+ut}return typeof $=="string"&&$[0]===`
10
+ Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}/*`}">.`)}let p=Di(),h;if(e){let b=typeof e=="string"?ta(e):e;Xt(u==="/"||b.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${b.pathname}" was given in the \`location\` prop.`),h=b}else h=p;let A=h.pathname||"/",m=A;if(u!=="/"){let b=u.replace(/^\//,"").split("/");m="/"+A.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=zg(t,{pathname:m});wo(d||y!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),wo(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=h2(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:ko([u,r.encodeLocation?r.encodeLocation(b.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:ko([u,r.encodeLocation?r.encodeLocation(b.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:b.pathnameBase])})),o,n);return e&&w?T.createElement(cl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...h},navigationType:"POP"}},w):w}function u2(){let t=y2(),e=Gk(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",t),a=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:i},"ErrorBoundary")," or"," ",T.createElement("code",{style:i},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:o},n):null,a)}var d2=T.createElement(u2,null),em=class extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const n=o2(t.digest);n&&(t=n)}let e=t!==void 0?T.createElement(So.Provider,{value:this.props.routeContext},T.createElement(wf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?T.createElement(f2,{error:t},e):e}};em.contextType=Zk;var kf=new WeakMap;function f2({children:t,error:e}){let{basename:n}=T.useContext(zr);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let r=r2(e.digest);if(r){let o=kf.get(e);if(o)throw o;let i=qg(r.location,n);if(Yg&&!kf.get(e))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw kf.set(e,a),a}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return t}function p2({routeContext:t,match:e,children:n}){let r=T.useContext(na);return r&&r.static&&r.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=e.route.id),T.createElement(So.Provider,{value:t},n)}function h2(t,e=[],n){let r=n?.state;if(t==null){if(!r)return null;if(r.errors)t=r.matches;else if(e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,i=r?.errors;if(i!=null){let p=o.findIndex(h=>h.route.id&&i?.[h.route.id]!==void 0);Xt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let a=!1,l=-1;if(n&&r){a=r.renderFallback;for(let p=0;p<o.length;p++){let h=o[p];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(l=p),h.route.id){let{loaderData:A,errors:m}=r,y=h.route.loader&&!A.hasOwnProperty(h.route.id)&&(!m||m[h.route.id]===void 0);if(h.route.lazy||y){n.isStatic&&(a=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let u=n?.onError,d=r&&u?(p,h)=>{u(p,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Xk(r.matches),errorInfo:h})}:void 0;return o.reduceRight((p,h,A)=>{let m,y=!1,w=null,b=null;r&&(m=i&&h.route.id?i[h.route.id]:void 0,w=h.route.errorElement||d2,a&&(l<0&&A===0?(nm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,b=null):l===A&&(y=!0,b=h.route.hydrateFallbackElement||null)));let P=e.concat(o.slice(0,A+1)),M=()=>{let D;return m?D=w:y?D=b:h.route.Component?D=T.createElement(h.route.Component,null):h.route.element?D=h.route.element:D=p,T.createElement(p2,{match:h,routeContext:{outlet:p,matches:P,isDataRoute:r!=null},children:D})};return r&&(h.route.ErrorBoundary||h.route.errorElement||A===0)?T.createElement(em,{location:r.location,revalidation:r.revalidation,component:w,error:m,children:M(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:d}):M()},null)}function Sf(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function A2(t){let e=T.useContext(na);return Xt(e,Sf(t)),e}function g2(t){let e=T.useContext(Lc);return Xt(e,Sf(t)),e}function m2(t){let e=T.useContext(So);return Xt(e,Sf(t)),e}function Ef(t){let e=m2(t),n=e.matches[e.matches.length-1];return Xt(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function v2(){return Ef("useRouteId")}function y2(){let t=T.useContext(wf),e=g2("useRouteError"),n=Ef("useRouteError");return t!==void 0?t:e.errors?.[n]}function b2(){let{router:t}=A2("useNavigate"),e=Ef("useNavigate"),n=T.useRef(!1);return Zg(()=>{n.current=!0}),T.useCallback(async(o,i={})=>{wo(n.current,Jg),n.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:e,...i}))},[t,e])}var tm={};function nm(t,e,n){!e&&!tm[t]&&(tm[t]=!0,wo(!1,n))}T.memo(x2);function x2({routes:t,future:e,state:n,isStatic:r,onError:o}){return $g(t,void 0,{state:n,isStatic:r,onError:o})}function Cf(t){Xt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function w2({basename:t="/",children:e=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){Xt(!ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=T.useMemo(()=>({basename:l,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[l,o,i,a]);typeof n=="string"&&(n=ta(n));let{pathname:d="/",search:p="",hash:h="",state:A=null,key:m="default",unstable_mask:y}=n,w=T.useMemo(()=>{let b=ni(d,l);return b==null?null:{location:{pathname:b,search:p,hash:h,state:A,key:m,unstable_mask:y},navigationType:r}},[l,d,p,h,A,m,r,y]);return wo(w!=null,`<Router basename="${l}"> is not able to match the URL "${d}${p}${h}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:T.createElement(zr.Provider,{value:u},T.createElement(cl.Provider,{children:e,value:w}))}function k2({children:t,location:e}){return c2(Pf(t),e)}function Pf(t,e=[]){let n=[];return T.Children.forEach(t,(r,o)=>{if(!T.isValidElement(r))return;let i=[...e,o];if(r.type===T.Fragment){n.push.apply(n,Pf(r.props.children,i));return}Xt(r.type===Cf,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Xt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Pf(r.props.children,i)),n.push(a)}),n}var Nc="get",Fc="application/x-www-form-urlencoded";function jc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function S2(t){return jc(t)&&t.tagName.toLowerCase()==="button"}function E2(t){return jc(t)&&t.tagName.toLowerCase()==="form"}function C2(t){return jc(t)&&t.tagName.toLowerCase()==="input"}function P2(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function D2(t,e){return t.button===0&&(!e||e==="_self")&&!P2(t)}var zc=null;function T2(){if(zc===null)try{new FormData(document.createElement("form"),0),zc=!1}catch{zc=!0}return zc}var B2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Df(t){return t!=null&&!B2.has(t)?(wo(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fc}"`),null):t}function _2(t,e){let n,r,o,i,a;if(E2(t)){let l=t.getAttribute("action");r=l?ni(l,e):null,n=t.getAttribute("method")||Nc,o=Df(t.getAttribute("enctype"))||Fc,i=new FormData(t)}else if(S2(t)||C2(t)&&(t.type==="submit"||t.type==="image")){let l=t.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=t.getAttribute("formaction")||l.getAttribute("action");if(r=u?ni(u,e):null,n=t.getAttribute("formmethod")||l.getAttribute("method")||Nc,o=Df(t.getAttribute("formenctype"))||Df(l.getAttribute("enctype"))||Fc,i=new FormData(l,t),!T2()){let{name:d,type:p,value:h}=t;if(p==="image"){let A=d?`${d}.`:"";i.append(`${A}x`,"0"),i.append(`${A}y`,"0")}else d&&i.append(d,h)}}else{if(jc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Nc,r=null,o=Fc,a=t}return i&&o==="text/plain"&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Tf(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function I2(t,e,n,r){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:e&&ni(o.pathname,e)==="/"?o.pathname=`${e.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function M2(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function O2(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function R2(t,e,n){let r=await Promise.all(t.map(async o=>{let i=e.routes[o.route.id];if(i){let a=await M2(i,n);return a.links?a.links():[]}return[]}));return j2(r.flat(1).filter(O2).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function rm(t,e,n,r,o,i){let a=(u,d)=>n[d]?u.route.id!==n[d].route.id:!0,l=(u,d)=>n[d].pathname!==u.pathname||n[d].route.path?.endsWith("*")&&n[d].params["*"]!==u.params["*"];return i==="assets"?e.filter((u,d)=>a(u,d)||l(u,d)):i==="data"?e.filter((u,d)=>{let p=r.routes[u.route.id];if(!p||!p.hasLoader)return!1;if(a(u,d)||l(u,d))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function L2(t,e,{includeHydrateFallback:n}={}){return N2(t.map(r=>{let o=e.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function N2(t){return[...new Set(t)]}function F2(t){let e={},n=Object.keys(t).sort();for(let r of n)e[r]=t[r];return e}function j2(t,e){let n=new Set;return new Set(e),t.reduce((r,o)=>{let i=JSON.stringify(F2(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function om(){let t=T.useContext(na);return Tf(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function z2(){let t=T.useContext(Lc);return Tf(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Bf=T.createContext(void 0);Bf.displayName="FrameworkContext";function im(){let t=T.useContext(Bf);return Tf(t,"You must render this element inside a <HydratedRouter> element"),t}function Q2(t,e){let n=T.useContext(Bf),[r,o]=T.useState(!1),[i,a]=T.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:d,onMouseLeave:p,onTouchStart:h}=e,A=T.useRef(null);T.useEffect(()=>{if(t==="render"&&a(!0),t==="viewport"){let w=P=>{P.forEach(M=>{a(M.isIntersecting)})},b=new IntersectionObserver(w,{threshold:.5});return A.current&&b.observe(A.current),()=>{b.disconnect()}}},[t]),T.useEffect(()=>{if(r){let w=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(w)}}},[r]);let m=()=>{o(!0)},y=()=>{o(!1),a(!1)};return n?t!=="intent"?[i,A,{}]:[i,A,{onFocus:fl(l,m),onBlur:fl(u,y),onMouseEnter:fl(d,m),onMouseLeave:fl(p,y),onTouchStart:fl(h,m)}]:[!1,A,{}]}function fl(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function H2({page:t,...e}){let{router:n}=om(),r=T.useMemo(()=>zg(n.routes,t,n.basename),[n.routes,t,n.basename]);return r?T.createElement(V2,{page:t,matches:r,...e}):null}function U2(t){let{manifest:e,routeModules:n}=im(),[r,o]=T.useState([]);return T.useEffect(()=>{let i=!1;return R2(t,e,n).then(a=>{i||o(a)}),()=>{i=!0}},[t,e,n]),r}function V2({page:t,matches:e,...n}){let r=Di(),{future:o,manifest:i,routeModules:a}=im(),{basename:l}=om(),{loaderData:u,matches:d}=z2(),p=T.useMemo(()=>rm(t,e,d,i,r,"data"),[t,e,d,i,r]),h=T.useMemo(()=>rm(t,e,d,i,r,"assets"),[t,e,d,i,r]),A=T.useMemo(()=>{if(t===r.pathname+r.search+r.hash)return[];let w=new Set,b=!1;if(e.forEach(M=>{let D=i.routes[M.route.id];!D||!D.hasLoader||(!p.some(C=>C.route.id===M.route.id)&&M.route.id in u&&a[M.route.id]?.shouldRevalidate||D.hasClientLoader?b=!0:w.add(M.route.id))}),w.size===0)return[];let P=I2(t,l,o.unstable_trailingSlashAwareDataRequests,"data");return b&&w.size>0&&P.searchParams.set("_routes",e.filter(M=>w.has(M.route.id)).map(M=>M.route.id).join(",")),[P.pathname+P.search]},[l,o.unstable_trailingSlashAwareDataRequests,u,r,i,p,e,t,a]),m=T.useMemo(()=>L2(h,i),[h,i]),y=U2(h);return T.createElement(T.Fragment,null,A.map(w=>T.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),m.map(w=>T.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),y.map(({key:w,link:b})=>T.createElement("link",{key:w,nonce:n.nonce,...b,crossOrigin:b.crossOrigin??n.crossOrigin})))}function W2(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var Y2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Y2&&(window.__reactRouterVersion="7.13.1")}catch{}function q2({basename:t,children:e,unstable_useTransitions:n,window:r}){let o=T.useRef();o.current==null&&(o.current=Ek({window:r,v5Compat:!0}));let i=o.current,[a,l]=T.useState({action:i.action,location:i.location}),u=T.useCallback(d=>{n===!1?l(d):T.startTransition(()=>l(d))},[n]);return T.useLayoutEffect(()=>i.listen(u),[i,u]),T.createElement(w2,{basename:t,children:e,location:a.location,navigationType:a.action,navigator:i,unstable_useTransitions:n})}var sm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,am=T.forwardRef(function({onClick:e,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,unstable_mask:l,state:u,target:d,to:p,preventScrollReset:h,viewTransition:A,unstable_defaultShouldRevalidate:m,...y},w){let{basename:b,navigator:P,unstable_useTransitions:M}=T.useContext(zr),D=typeof p=="string"&&sm.test(p),C=qg(p,b);p=C.to;let j=i2(p,{relative:o}),R=Di(),z=null;if(l){let te=xf(l,[],R.unstable_mask?R.unstable_mask.pathname:"/",!0);b!=="/"&&(te.pathname=te.pathname==="/"?b:ko([b,te.pathname])),z=P.createHref(te)}let[V,K,q]=Q2(r,y),Z=J2(p,{replace:a,unstable_mask:l,state:u,target:d,preventScrollReset:h,relative:o,viewTransition:A,unstable_defaultShouldRevalidate:m,unstable_useTransitions:M});function W(te){e&&e(te),te.defaultPrevented||Z(te)}let oe=!(C.isExternal||i),ue=T.createElement("a",{...y,...q,href:(oe?z:void 0)||C.absoluteURL||j,onClick:oe?W:e,ref:W2(w,K),target:d,"data-discover":!D&&n==="render"?"true":void 0});return V&&!D?T.createElement(T.Fragment,null,ue,T.createElement(H2,{page:j})):ue});am.displayName="Link";var K2=T.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:l,children:u,...d},p){let h=dl(a,{relative:d.relative}),A=Di(),m=T.useContext(Lc),{navigator:y,basename:w}=T.useContext(zr),b=m!=null&&nS(h)&&l===!0,P=y.encodeLocation?y.encodeLocation(h).pathname:h.pathname,M=A.pathname,D=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(M=M.toLowerCase(),D=D?D.toLowerCase():null,P=P.toLowerCase()),D&&w&&(D=ni(D,w)||D);const C=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let j=M===P||!o&&M.startsWith(P)&&M.charAt(C)==="/",R=D!=null&&(D===P||!o&&D.startsWith(P)&&D.charAt(P.length)==="/"),z={isActive:j,isPending:R,isTransitioning:b},V=j?e:void 0,K;typeof r=="function"?K=r(z):K=[r,j?"active":null,R?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let q=typeof i=="function"?i(z):i;return T.createElement(am,{...d,"aria-current":V,className:K,ref:p,style:q,to:a,viewTransition:l},typeof u=="function"?u(z):u)});K2.displayName="NavLink";var G2=T.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:r,replace:o,state:i,method:a=Nc,action:l,onSubmit:u,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A,...m},y)=>{let{unstable_useTransitions:w}=T.useContext(zr),b=eS(),P=tS(l,{relative:d}),M=a.toLowerCase()==="get"?"get":"post",D=typeof l=="string"&&sm.test(l),C=j=>{if(u&&u(j),j.defaultPrevented)return;j.preventDefault();let R=j.nativeEvent.submitter,z=R?.getAttribute("formmethod")||a,V=()=>b(R||j.currentTarget,{fetcherKey:e,method:z,navigate:n,replace:o,state:i,relative:d,preventScrollReset:p,viewTransition:h,unstable_defaultShouldRevalidate:A});w&&n!==!1?T.startTransition(()=>V()):V()};return T.createElement("form",{ref:y,method:M,action:P,onSubmit:r?u:C,...m,"data-discover":!D&&t==="render"?"true":void 0})});G2.displayName="Form";function X2(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lm(t){let e=T.useContext(na);return Xt(e,X2(t)),e}function J2(t,{target:e,replace:n,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:d}={}){let p=s2(),h=Di(),A=dl(t,{relative:a});return T.useCallback(m=>{if(D2(m,e)){m.preventDefault();let y=n!==void 0?n:ll(h)===ll(A),w=()=>p(t,{replace:y,unstable_mask:r,state:o,preventScrollReset:i,relative:a,viewTransition:l,unstable_defaultShouldRevalidate:u});d?T.startTransition(()=>w()):w()}},[h,p,A,n,r,o,e,t,i,a,l,u,d])}var Z2=0,$2=()=>`__${String(++Z2)}__`;function eS(){let{router:t}=lm("useSubmit"),{basename:e}=T.useContext(zr),n=v2(),r=t.fetch,o=t.navigate;return T.useCallback(async(i,a={})=>{let{action:l,method:u,encType:d,formData:p,body:h}=_2(i,e);if(a.navigate===!1){let A=a.fetcherKey||$2();await r(A,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,flushSync:a.flushSync})}else await o(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:p,body:h,formMethod:a.method||u,formEncType:a.encType||d,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,e,n])}function tS(t,{relative:e}={}){let{basename:n}=T.useContext(zr),r=T.useContext(So);Xt(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...dl(t||".",{relative:e})},a=Di();if(t==null){i.search=a.search;let l=new URLSearchParams(i.search),u=l.getAll("index");if(u.some(p=>p==="")){l.delete("index"),u.filter(h=>h).forEach(h=>l.append("index",h));let p=l.toString();i.search=p?`?${p}`:""}}return(!t||t===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:ko([n,i.pathname])),ll(i)}function nS(t,{relative:e}={}){let n=T.useContext(Gg);Xt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=lm("useViewTransitionState"),o=dl(t,{relative:e});if(!n.isTransitioning)return!1;let i=ni(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ni(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rc(o.pathname,a)!=null||Rc(o.pathname,i)!=null}const rS=T.lazy(()=>Promise.resolve().then(()=>UM)),oS=T.lazy(()=>Promise.resolve().then(()=>XM));function iS({accessId:t,baseUri:e="/resources",isLoggedIn:n,qaBotApiKey:r,showTitle:o=!0,title:i="Resources"}){const[a,l]=T.useState(!1);return E.jsxs(T.Suspense,{fallback:null,children:[E.jsx(q2,{children:E.jsx(kg,{children:E.jsxs(k2,{children:[E.jsx(Cf,{path:e,element:E.jsx(oS,{baseUri:e,title:i,setBotOpen:l,showTitle:o})}),E.jsx(Cf,{path:`${e}/:infoGroupId`,element:E.jsx(rS,{baseUri:e})})]})})}),E.jsx(Sg,{accessId:t,apiKey:r,embedded:!1,isLoggedIn:n,onOpenChange:l,open:a,welcome:"Welcome to the ACCESS Q&A Bot!"})]})}const sS=({headings:t=[],idPrefix:e="",smoothScroll:n=!0})=>{const[r,o]=T.useState(-1);let i;const a=[];if(t.forEach(l=>{l.tagName=="H1"?i=l:l.tagName=="H2"&&(a.push(l),l.id||(l.id=e+l.textContent.replace(/[^A-Za-z0-9]+/g,"-").toLowerCase()))}),T.useEffect(()=>{a.length&&window.addEventListener("scroll",function(){const l=_g()+window.innerHeight*.1;let u=-1;a.forEach((d,p)=>{if(d.offsetTop<l)return u=p,!1}),o(u)})},[]),!!a.length)return E.jsxs("div",{className:"toc",children:[i&&E.jsx("h2",{children:i.textContent}),a.length>0&&E.jsx("ul",{children:a.map((l,u)=>E.jsx("li",{children:E.jsx("a",{href:`#${l.id}`,className:u==r?"active":"",onClick:d=>{n&&(d.preventDefault(),window.scrollTo({top:l.offsetTop,behavior:"smooth"}),history.pushState(null,null,`#${l.id}`))},children:l.textContent})}))})]})},ri=":host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--contrast-6: #999999;--contrast-7: #d9d9d9;--contrast-8: #dfdfdf;--contrast-9: #e5e5e5;--green-400: #288654;--red-400: #a70000;--orange-200: #f6d8ca;--orange-400: #f07537;--teal-050: #ecf9f8;--teal-100: #cee8e9;--teal-200: #b0dadb;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-200: #fce5ab;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}.visually-hidden{border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@media(min-width:600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media(min-width:768px){:host,:root{--width: 712px}}@media(min-width:900px){:host,:root{--width: 840px}}@media(min-width:1024px){:host,:root{--width: 940px}}@media(min-width:1280px){:host,:root{--padding: 10px;--offset: 0px;--width: 1180px}}",aS='ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:.875rem;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}',lS=`:root{color:#232323;font-family:Archivo,sans-serif;font-size:16px}h1{font-size:2.25rem;font-stretch:70%;font-weight:500;margin-top:60px}h2{font-size:1.375rem;font-weight:800;margin-top:36px}h3{color:var(--teal-700);font-size:1.125rem;font-weight:800}a{color:var(--contrast);font-weight:800;text-decoration:underline}a:active,a:focus,a:hover{color:var(--teal-600);text-decoration:none}ol,p,ul{font-size:1.125rem;line-height:1.875rem;margin:0 0 1.25rem}li{margin-bottom:.5rem}.btn{background-color:var(--teal-700);border:4px solid var(--teal-700);color:#fff;display:inline-block;font-family:Archivo,sans-serif;font-size:1rem;font-weight:600;line-height:24px;padding:6px 12px;text-decoration:none;text-transform:uppercase}.secondary{background-color:var(--yellow-400);border-color:var(--yellow-400);color:var(--contrast)}.danger{background-color:var(--red-400);border-color:var(--red-400)}.lg{font-size:1.25rem;line-height:30px;padding:8px 16px}.btn.active,.btn:active,.btn:focus,.btn:hover{background-color:#fff;border-color:var(--contrast);color:var(--contrast);cursor:pointer}.btn-clear,.btn-clear.active,.btn-clear:active,.btn-clear:focus,.btn-clear:hover{background-color:transparent;border-color:transparent;color:var(--contrast)}.btn:disabled{background-color:var(--contrast-8);border-color:var(--contrast-8);color:var(--contrast-3)}.btn .bi{vertical-align:middle}.btn+.btn{margin-left:10px}.table{border-top:1px solid var(--contrast);border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid var(--contrast);padding:16px}.table thead th{text-align:left}.table tbody th{text-align:right}input,select{border:1px solid var(--contrast-8);border-radius:0;color:var(--contrast);font-size:1rem;padding:6px 12px}select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding:6px 36px 6px 12px}.intro{font-size:1.5rem}`,cS=`:host{background-color:#fbfbfb}.container{color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:.9375rem;line-height:21px;margin:0 0 20px}.disclaimer{font-size:.75rem;line-height:18px;margin:0 0 15px}.contact{font-size:1rem;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;list-style-type:none;margin:0;padding:20px 0 10px}.social li{margin:0 35px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:25px;text-indent:-999999px;width:25px}.bluesky{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' class='bi bi-bluesky' viewBox='0 0 16 16'><path d='M3.468 1.948C5.303 3.325 7.276 6.118 8 7.616c.725-1.498 2.698-4.29 4.532-5.668C13.855.955 16 .186 16 2.632c0 .489-.28 4.105-.444 4.692-.572 2.04-2.653 2.561-4.504 2.246 3.236.551 4.06 2.375 2.281 4.2-3.376 3.464-4.852-.87-5.23-1.98-.07-.204-.103-.3-.103-.218 0-.081-.033.014-.102.218-.379 1.11-1.855 5.444-5.231 1.98-1.778-1.825-.955-3.65 2.28-4.2-1.85.315-3.932-.205-4.503-2.246C.28 6.737 0 3.12 0 2.632 0 .186 2.145.955 3.468 1.948'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>")}.lower{border-top:1px solid var(--contrast-9);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:.75rem;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px;z-index:100}.scroll-to-top.visible{opacity:1}.personas{box-sizing:border-box;font-size:.9375rem;padding:20px 0}.personas p{margin:0}.personas ul{list-style-type:none;margin:5px 0;padding:0}.personas li{padding:3px 0}@media(min-width:1024px){.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}@media(min-width:900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:40px 0 30px}.awards{font-size:1.125rem;line-height:24px}.personas{font-size:1.125rem;padding:40px calc(((var(--width) - 140px) / 8) + 20px) 30px}}`,uS=".container{box-sizing:content-box;height:84px;padding-top:20px}@media(min-width:900px){.container{height:144px;padding-top:52px}}",cm=`.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:2px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:1.09375rem;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}.logo-footer .nsf-logo{height:40px}.logo-footer .divider{height:34px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:21px;width:auto}@media(min-width:900px){.nsf-logo{height:82px}.divider{height:70px;margin:6px 23px 0 20px}.access-logo{height:auto;margin-top:22px;width:253px}.name{font-size:1.875rem}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}`,_f=`.menu{--icon-caret-down-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23232323' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");--icon-caret-down-teal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23107180' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")}.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:.875rem;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu li:last-child li:last-child>.item{border-bottom:1px solid var(--border)}.menu li.highlight button.item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.expanded{border-bottom-width:2px}.menu button.item{position:relative}.menu>button.item{font-weight:500;padding:13.5px var(--padding) 13.5px;text-transform:uppercase}.menu button.item:after{background-image:var(--icon-caret-down-light);background-repeat:no-repeat;background-size:18px;content:"";display:block;height:18px;right:calc(var(--padding) + var(--offset));position:absolute;top:15px;width:18px}.menu button.item.expanded:after{transform:rotate(180deg)}.menu .highlight button.item:after{background-image:var(--icon-caret-down-dark)}.menu button.item,.menu ul li{background-color:var(--background)}.menu button.item,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/></svg>")}.track .item{text-transform:uppercase;padding-top:4px;padding-bottom:4px}.track:first-child .item{padding-top:17px}.track.grow .item{padding-bottom:21px}.track .item{border-bottom:0 none transparent}.highlight button.item{background-color:var(--yellow-400);color:var(--contrast)}.footer{background-color:var(--teal-700);padding:50px var(--padding) 36px;color:#fff}.footer h2{font-size:.875rem;font-weight:600;margin:0 auto 20px;text-transform:uppercase;width:var(--width)}.columns{margin:0 auto;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h3{font-size:.875rem;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:.875rem;font-weight:600;list-style-type:none;padding:14px 0 0}@media(min-width:768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:10px 0}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media(min-width:1280px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button.item{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item,.track:first-child .item,.track.grow .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:1rem}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.universal>ul>li:first-child{margin-left:-10px}.universal>ul>li:last-child{margin-right:-10px}.universal li button.item{--padding: 20px}.icon>.item{background-position:center center;width:56px}.menu button.item:after,.menu button.item.expanded:after,.menu .highlight button.item:after,.menu .highlight button.item.expanded:after{display:inline-block;margin-left:5px;position:static;vertical-align:middle}.menu button.item:after{background-image:var(--icon-caret-down-teal)}.universal button.item:after{background-image:var(--icon-caret-down-light)}.menu button.item.expanded:after,.menu button.item.item:active:after,.menu button.item.item:focus:after,.menu button.item.item:hover:after{background-image:var(--icon-caret-down-light)}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li.active>.item,.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media(min-width:1280px){.columns{flex-wrap:nowrap;padding:10px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}`,dS='@import"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;margin:0;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{-webkit-user-select:none;user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows,.glide__bullets{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em #0000001a;text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity .15s ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translate(-50%)}.glide__bullet{background-color:#ffffff80;width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em #0000001a;margin:0 .25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid #fff;background-color:#ffffff80}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.accordion{margin:0 0 16px}.accordion-heading{margin:0}.accordion-heading button{background-color:var(--teal-050);border:0 none transparent;color:var(--teal-700);cursor:pointer;display:block;font-size:1rem;font-weight:800;padding:16px 40px 16px 20px;position:relative;text-align:left;width:100%}.accordion-heading button .icon{position:absolute;right:20px;top:16px}.accordion-content{padding:16px 20px 0}.alert{align-items:center;background-color:var(--yellow-200);border-radius:10px;display:flex;flex-direction:row;margin-bottom:20px;padding:20px}.alert i{margin-right:20px}ul.breadcrumbs{--offset: calc((100vw - var(--width)) / 2);border-bottom:1px solid var(--contrast-7);box-sizing:border-box;font-size:.875rem;font-stretch:70%;font-weight:600;line-height:20px;list-style-type:none;margin:0;padding:0 30px;width:100vw}ul.breadcrumbs.top-border{border-top:1px solid var(--contrast-7)}ul.breadcrumbs.expand{margin-left:-30px;margin-right:-30px}ul.breadcrumbs li{display:inline-block;margin:0;padding:11px 0 6px;text-transform:uppercase;vertical-align:middle}ul.breadcrumbs li:not(.home):before{content:"/";margin:0 12px}ul.breadcrumbs li a{color:var(--teal-700);text-decoration:none}ul.breadcrumbs li:not(.home) a:active,ul.breadcrumbs li:not(.home) a:focus,ul.breadcrumbs li:not(.home) a:hover{text-decoration:underline}@media(min-width:600px){ul.breadcrumbs{padding-left:var(--offset);padding-right:var(--offset)}ul.breadcrumbs.expand{margin-left:calc(var(--offset) * -1);margin-right:calc(var(--offset) * -1)}}.carousel{margin-bottom:1rem;width:var(--width)}.slide-inner{background-color:var(--contrast-9);display:flex;flex-direction:column}.slide-image img{display:block;width:100%}.slide-text{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:20px}.slide-text h2{font-size:1rem;line-height:1.1;margin:0 0 .25rem}.slide-text a{font-size:.875rem;line-height:1.1}.slide-text p{font-size:.875rem;line-height:1.2;margin-bottom:.5rem}.glide__arrow{align-items:center;background-color:var(--contrast-3);border:0 none transparent;border-radius:15px;display:flex;justify-content:center;height:30px;padding:8px;width:30px}.glide__arrow:active,.glide__arrow:hover{background-color:var(--teal-700)}.glide__arrow svg{fill:#fff}.glide__arrow--left{margin-left:-66px}.glide__arrow--right{margin-right:-66px}@media(min-width:768px){.slide-inner{flex-direction:row}.slide-image img{width:calc((var(--width) - 20px) / 2)}}@media(min-width:1024px){.slide-image img{width:calc((var(--width) - 40px) / 3)}}@media(min-width:1280px){.slide-text h2{font-size:1.125rem}.slide-text a{font-size:1rem}.slide-text p{font-size:1rem;line-height:1.2;margin-bottom:.5rem}}.highlight{background-color:var(--yellow-200);padding:2px 0}.header-components{margin-bottom:2rem}.button-group .btn{display:block;margin:0 0 10px}.card{border:5px solid var(--contrast);padding:20px}@media(min-width:768px){.flex-header{align-items:center;display:flex;justify-content:space-between}.header-components{margin-bottom:0}.button-group{display:flex}.button-group .btn{display:flex;margin:0 10px 0 0}}@media(min-width:1024px){.cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card{flex:1 0 20%;margin:0}}.donut-chart svg path{cursor:pointer}.donut-chart .center-text{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1.2}.donut-chart .center-text *{cursor:default;display:block;margin-bottom:.25rem;text-align:center}.donut-chart .center-text .percent{color:var(--contrast-2);font-size:.7rem}.donut-chart .top-items{list-style-type:none;margin:0;padding:0}.donut-chart .top-items li{align-items:center;display:flex;flex-direction:row;font-size:1rem;line-height:1.2;margin-bottom:5px}.donut-chart .symbol{border-radius:8px;display:inline-block;height:16px;margin-right:5px;vertical-align:text-top;width:16px}.expand-text{margin-bottom:1rem;position:relative}.expand-text.contracted{max-height:5.3rem;overflow:hidden}.expand-text button{background-color:#fff;border:0 none transparent;color:var(--teal-700);cursor:pointer;font-size:1rem;font-weight:700}.expand-text.contracted button{background:linear-gradient(to right,#fff0,#fff 50% 100%);position:absolute;right:0;text-align:right;bottom:0;width:12rem}.grid{border-top:1px solid var(--contrast);max-width:100%;margin-bottom:1rem;overflow:scroll;position:relative}.grid table{border-collapse:separate;border-spacing:0;border-top:0 none transparent;margin-bottom:0;position:relative}.grid th{position:sticky;top:0;z-index:10}.grid th,.grid td{background-color:#fff}.grid th:last-child,.grid td:last-child{border-right:0 none transparent}.grid th.important,.grid td.important{background-color:#f8f9fa}.grid th.input,.grid td.input{background-color:var(--teal-200)}.grid .edited td,.grid .edited select{background-color:#faf1d7}.grid .edited td.important,.grid .edited select.important{background-color:#fbeeca}.grid .disabled td,.grid .disabled select{background-color:#ddd}.grid .disabled td.important,.grid .disabled select.important{background-color:#ccc}.grid tbody tr:last-child th,.grid tbody tr:last-child td{border-bottom:0 none transparent}.icon{height:1em;margin-right:5px;vertical-align:text-bottom}.info-tip{background-color:transparent;border:0 none transparent}.tippy-box[data-theme~=access]{background-color:var(--teal-700);border-radius:0;color:#fff;font-weight:400;padding:5px}.tippy-box[data-theme~=access][data-placement^=top]>.tippy-arrow:before{border-top-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=left]>.tippy-arrow:before{border-left-color:var(--teal-700)}.tippy-box[data-theme~=access][data-placement^=right]>.tippy-arrow:before{border-right-color:var(--teal-700)}.mini-bar{flex:0 0 auto;position:relative;width:100px}.mini-bar .bar{background-color:#ddd;height:1em}.filters-outer{float:right;position:relative}.filters-inner{background-color:#fff;border:4px solid var(--contrast);padding:20px;position:absolute;right:0;top:41px;width:calc(var(--width) * .4)}.filters-inner h2{font-size:1rem;margin:0 0 1rem}.filters-inner ul.tags{margin-bottom:1rem}.btn-filters{position:relative}.btn-filters .active-tag-count{background-color:var(--orange-400);border-radius:10px;color:#fff;display:block;font-size:.75rem;height:20px;line-height:20px;top:-10px;position:absolute;text-align:center;right:-10px;width:20px}.btn-filters.active{z-index:100}.btn-filters.active:after{background-color:#fff;bottom:-4px;content:"";display:block;height:4px;left:0;position:absolute;width:100%}.event:not(:last-child){margin-bottom:1.5rem}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{align-items:center;background-color:var(--teal-700);color:#fff;display:none;flex:0 0 auto;flex-direction:column;font-weight:800;justify-content:center;height:calc((var(--width) - 140px) / 8);text-decoration:none;width:calc((var(--width) - 140px) / 8)}.event-icon span{display:block}.event-icon span:nth-child(2){font-size:2rem}.event-metadata{margin-bottom:1rem}.event-metadata i:not(:first-child){margin-left:1rem}@media(min-width:768px){.event{display:flex;flex-direction:row}.event-icon,.event-icon:active,.event-icon:focus,.event-icon:hover{display:flex;margin-right:20px}.event h3{margin-top:0}}@media(min-width:900px){.event-icon span:nth-child(2){font-size:3rem}}.carousel-projects .glide__slide{font-size:1rem}.carousel-projects h3{margin:0 0 .25rem}.carousel-projects .project-metadata{margin-bottom:.5rem}.carousel-projects .project-meta{display:inline-block;font-weight:700;line-height:1.1;margin-right:1rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-projects .project-meta .bi{vertical-align:middle}.metrics-overview strong{background-color:var(--yellow-200);font-size:1.2rem;padding:2px;white-space:nowrap}.metrics-overview .bi{vertical-align:middle}.metrics-overview .btn{font-size:1rem}.metrics-disclaimer{font-size:.9rem;line-height:1.2;margin:.5rem 0}.metrics-disclaimer .bi{vertical-align:middle}.resource-group{align-items:flex-start;clear:both;display:flex;flex-direction:column;margin-bottom:20px}.resource-group-image{--image-width: 100%;align-items:center;background-color:var(--contrast-9);border:1px solid var(--contrast);color:var(--contrast-8);display:flex;flex:0 0 auto;flex-direction:column;font-size:5rem;justify-content:center;margin:20px 0;min-height:calc(var(--image-width) / 3 * 2);position:relative;width:var(--image-width)}.resource-group-image:active,.resource-group-image:focus,.resource-group-image:hover{color:var(--contrast-8)}.resource-group-image>img{display:block;width:100%}.image-type-logo{display:flex;flex-direction:column;justify-content:center;min-height:120px}.image-type-logo>*{margin:10px;width:calc(100% - 20px)}.resource-group-text *:first-child{margin-top:0}.resource-group-detail{margin-bottom:70px;width:var(--width)}.resource-group-feature-image{margin-top:60px;width:100%}.resource-group-description:after{clear:both;content:"";display:block}@media(min-width:768px){.resource-group{flex-direction:row;margin-bottom:40px}.resource-group-image{--image-width: calc((var(--width) - 140px) / 4 + 20px);margin:0 20px 0 0}}@media(min-width:900px){.resource-group-feature-image{float:right;margin:0 0 0 20px;width:calc(((var(--width) - 140px) / 8) * 3 + 40px)}}#resource-navigation{display:flex;flex-direction:column;gap:10px}@media(min-width:1024px){#resource-navigation{flex-direction:row;gap:20px}}#resource-news{background-color:var(--teal-100);padding:20px}#resource-news h2{font-size:1.2rem;font-weight:200;margin:0 0 .5rem}#resource-news ul{list-style-type:none;margin:0;padding:0}#resource-news li{font-size:1rem;line-height:1.3;margin:0 0 .5rem;padding:0}@media(min-width:1024px){#resource-news{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}}ul.resource-pathways{display:flex;flex-direction:column;gap:10px;list-style-type:none;margin:0;padding:0;width:100%}ul.resource-pathways li{margin:0;width:100%}ul.resource-pathways li a{align-items:flex-start;border:5px solid transparent;box-sizing:border-box;display:flex;height:100%;flex-direction:row;justify-content:flex-start;line-height:1.3;padding:20px;text-decoration:none}ul.resource-pathways a>.bi{font-size:2rem;margin-bottom:1rem}ul.resource-pathways li a>.detail{display:flex;flex-direction:column;margin-left:20px}ul.resource-pathways .title{font-size:1.2rem}ul.resource-pathways .description{font-size:1rem;font-weight:400}ul.resource-pathways .login{font-size:.9rem;font-style:italic;font-weight:400;margin-top:.25rem}ul.resource-pathways .login .bi{vertical-align:middle}.resource-pathway-0{background-color:var(--yellow-400)}.resource-pathway-1{background-color:var(--teal-600)}.resource-pathway-1 a{color:#fff}.resource-pathway-2{background-color:var(--orange-400)}.resource-pathway-3{background-color:var(--teal-200)}ul.resource-pathways li a:active,ul.resource-pathways li a:focus,ul.resource-pathways li a:hover{background-color:#fff;border:5px solid var(--contrast);color:var(--contrast)}@media(min-width:1024px){ul.resource-pathways{flex-direction:row;gap:20px}ul.resource-pathways li{box-sizing:border-box;width:calc((var(--width) - 60px) / 4)}ul.resource-pathways li a{flex-direction:column}ul.resource-pathways li a>.detail{margin-left:0}}.scroll-text{position:relative}.scroll-text:after{background-color:red;background:linear-gradient(to bottom,#fff0,#fff 50% 100%);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;width:100%;z-index:99999}.scroll-text-inner{padding-bottom:2rem;overflow-y:scroll}.search{position:relative}.search input{padding-right:35px}.search .btn-clear{position:absolute;right:-5px;top:-6px}.section-navigation{border-bottom:1px solid var(--contrast-8);border-top:1px solid var(--contrast-8);display:flex;flex-direction:row;margin:20px 0}.section-navigation h2{flex:0 0 auto;font-size:1rem;font-weight:400;margin:20px 0}.section-navigation ul{display:flex;flex-direction:row;flex-wrap:wrap;margin:0;padding:10px 0}.section-navigation li{line-height:1;list-style-type:none;flex:0 0 auto;font-size:1rem;margin:10px 0 10px 20px;padding:0}ul.tags{margin:0;padding:0}li.tag{display:inline-block;list-style-type:none;margin:0 5px 5px 0;max-width:100%}.tag button{background-color:var(--teal-100);border:1px solid var(--teal-400);border-radius:8px;color:var(--contrast);cursor:pointer;display:inline-block;font-size:1rem;font-weight:500;line-height:18px;max-width:100%;overflow:hidden;padding:3px 7px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-wrap:nowrap}.tag button:hover{background-color:var(--teal-200);color:var(--contrast)}.tag button:disabled{background-color:var(--contrast-9);border-color:var(--contrast-6);color:var(--contrast-3)}.tag.active button{border-color:var(--orange-400);background-color:var(--orange-200)}',fS=".toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:1rem;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:1rem;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media(min-width:768px){a.active{color:var(--teal-100)}}@media(min-width:900px){.toc{padding:32px}}",pS='.rcb-chat-header-container{padding:12px;color:#fff;border-bottom:1px solid #ccc;display:flex;justify-content:space-between;max-height:55px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;width:30px;height:30px;border-radius:50%;margin-right:12px}.rcb-message-prompt-container.visible{position:sticky;bottom:0;margin:auto;display:flex;align-items:center;justify-content:center;opacity:1;animation:rcb-animation-pop-in .3s ease-in-out;pointer-events:auto}.rcb-message-prompt-container.hidden{opacity:0;height:0px;visibility:hidden;pointer-events:none}.rcb-message-prompt-text{padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border:.5px solid #adadad;cursor:pointer;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:right;margin-right:16px}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-user-avatar{margin-left:-10px;margin-right:6px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{margin-top:8px;padding:12px 16px;border-radius:22px;min-height:20px;height:fit-content;width:fit-content;font-size:15px;overflow-wrap:anywhere;overflow:auto;white-space:pre-wrap;text-align:left;margin-left:16px}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;width:40px;height:40px;border-radius:50%;margin-top:9px}.rcb-message-bot-avatar{margin-left:6px;margin-right:-10px}.rcb-typing-indicator{display:flex;align-items:center}.rcb-dot{width:8px;height:8px;border-radius:50%;background-color:#ccc;margin-right:4px;animation:rcb-animation-bot-typing 1s infinite}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{position:relative;height:100%;width:100%;padding-bottom:16px;overflow-x:hidden;overflow-y:scroll;touch-action:pan-y}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;padding-top:12px;margin-left:16px;flex-wrap:wrap;gap:10px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{display:flex;align-items:center;gap:5px;border-width:.5px;border-style:solid;border-radius:10px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out;overflow:hidden}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{display:inline-flex;margin-left:10px;align-items:center;cursor:pointer}.rcb-checkbox-mark{width:20px;height:20px;background-color:#f2f2f2;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;transition:all .3s ease;margin-right:10px;cursor:pointer}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{text-align:center;display:inline-block;align-items:center;border-width:.5px;border-style:solid;border-radius:10px;font-size:24px;min-height:30px;max-height:32px;width:80%;cursor:pointer;background-color:#fff;animation:rcb-animations-checkboxes-entry .5s ease-out}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{padding-top:12px;margin-left:16px;max-width:70%;display:flex;flex-wrap:wrap;gap:10px}.rcb-options-offset{margin-left:50px!important}.rcb-options{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:20px;font-size:14px;border-width:.5px;border-style:solid;cursor:pointer;transition:background-color .3s ease;animation:rcb-animation-options-entry .5s ease-out;overflow:hidden}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;max-height:45px}.rcb-line-break-text{padding:6px 12px;color:#adadad;font-size:12px}.rcb-spinner-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-spinner{width:22px;height:22px;border-radius:50%;border:4px solid #f3f3f3;animation:rcb-animation-spin 1s linear infinite}.rcb-chat-input{padding:8px 16px;border-top:1px solid #ccc;display:flex;align-items:center;background-color:#fff}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{flex:1;padding:8px;border:none;border-radius:4px;outline:none;font-size:16px;resize:none;height:auto;min-height:38px;overflow-y:scroll;font-family:inherit;background-color:#fff;color:#000;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:transparent}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:transparent}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{padding:12px 16px 8px 10px;border-top:1px solid #ccc;max-height:55px;display:flex;justify-content:space-between;align-items:flex-end;font-size:12px;background-color:#f2f2f2;color:#000}.rcb-chat-footer{display:flex;flex-direction:row}.rcb-toggle-button{display:flex;flex-direction:row;position:fixed;bottom:20px;right:20px;z-index:9999;width:75px;height:75px;border-radius:50%;border:none;cursor:pointer;box-shadow:0 2px 4px #0003}.rcb-toggle-button.rcb-button-hide{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}.rcb-toggle-button.rcb-button-show{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-toggle-icon{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;margin:auto;border-radius:inherit}.rcb-badge{position:absolute;top:-6px;right:-6px;border-radius:50%;background-color:red;color:#fff;height:25px;width:25px;display:flex;justify-content:center;align-items:center}.rcb-chat-tooltip{position:fixed;padding:16px;border-radius:20px;box-shadow:0 2px 6px #0003;white-space:nowrap;cursor:pointer;font-size:20px;transition:transform .3s ease;z-index:9999}.rcb-chat-tooltip-tail{content:"";position:absolute;top:50%;right:-10px;margin-top:-10px;border-width:10px 0 10px 10px;border-style:solid}.rcb-chat-tooltip.rcb-tooltip-hide{opacity:0;visibility:hidden;animation:rcb-animation-tooltip-out .5s ease-in-out}.rcb-chat-tooltip.rcb-tooltip-show{opacity:1;visibility:visible;animation:rcb-animation-tooltip-in .5s ease-in-out}.rcb-toast-prompt{padding:6px 12px;border-radius:5px;color:#7a7a7a;font-size:12px;text-align:center;background-color:#fff;border:.5px solid #7a7a7a;cursor:pointer;transition:color .3s ease,border-color .3s ease;z-index:9999;width:100%;margin-top:6px;animation:rcb-animation-pop-in .3s ease-in-out}.rcb-toast-prompt-container{position:absolute;left:50%;transform:translate(-50%);bottom:0;margin:auto;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;opacity:1;animation:popIn .3s ease-in-out;pointer-events:auto;margin-top:200}.rcb-media-display-image-container,.rcb-media-display-video-container{margin-top:8px;margin-right:16px;border-radius:22px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{width:100%;height:auto;border-radius:22px;object-fit:cover}.rcb-media-display-video{width:100%;height:auto;border-radius:22px;background-color:#000}.rcb-media-display-audio{margin-top:8px;margin-right:16px;width:100%;height:auto;border-radius:22px}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-enabled,.rcb-attach-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center}.rcb-attach-button-enabled input[type=file],.rcb-attach-button-disabled input[type=file]{position:absolute;width:100%;height:100%;display:none}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-attach-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-attach-icon-enabled,.rcb-attach-icon-disabled{display:inline-block;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat;background-size:cover;transition:background-image .3s ease}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-enabled,.rcb-emoji-button-disabled{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border-radius:6px;text-align:center;cursor:pointer}.rcb-emoji-icon-enabled,.rcb-emoji-icon-disabled{position:relative;display:inline-block;background-size:cover;font-size:20px;width:24px;height:24px;margin-top:2px;background-repeat:no-repeat}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-emoji-button-enabled:hover:after{width:130%;height:130%;opacity:1}.rcb-emoji-button-popup{position:absolute;width:158px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:8px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;transform:translateY(calc(-100% - 30px))}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-audio-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-audio-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-close-chat-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;margin-left:5px;cursor:pointer}.rcb-close-chat-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-close-chat-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-notification-icon{position:relative;display:inline-block;background-size:cover;width:30px;height:30px;border:none;cursor:pointer;margin-left:5px}.rcb-notification-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;background-color:#0000001a;border-radius:50%;opacity:0;transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out}.rcb-notification-icon:hover:after{width:130%;height:130%;opacity:1}.rcb-voice-button-enabled,.rcb-voice-button-disabled{display:inline-flex;align-items:center;justify-content:center;text-transform:uppercase;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;height:32px;width:32px;margin-left:8px;transition:all .3s ease;background-color:#fff}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid rgb(61,0,0)}.rcb-voice-button-disabled{border:1px;border-style:solid;border-color:#0003}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{width:60%;height:60%;background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{display:inline-flex;justify-content:center;text-transform:uppercase;border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;transition:background-color .3s ease;height:32px;width:51px;margin-left:8px}.rcb-send-icon{width:50%;height:50%;transform:translateY(20%);background-size:cover;object-fit:cover;background-size:contain;background-repeat:no-repeat;background-position:center}.rcb-view-history-container{display:flex;justify-content:center;align-items:center;padding-top:10px;padding-bottom:5px;min-height:35px;max-height:45px}.rcb-view-history-button{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:20px;color:#adadad;font-size:12px;background-color:#fff;border-color:#adadad;border-width:.5px;border-style:solid;max-width:60%;cursor:pointer;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{position:fixed;right:20px;bottom:20px;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#fff;transition:all .3s ease;overflow:hidden;display:flex;flex-direction:column;width:375px;height:550px}.rcb-window-embedded .rcb-chat-window{position:relative;opacity:1;visibility:visible;right:auto;bottom:auto}.rcb-window-open .rcb-chat-window{opacity:1;visibility:visible;animation:rcb-animation-expand .3s ease-in-out forwards}.rcb-window-close .rcb-chat-window{opacity:0;visibility:hidden;animation:rcb-animation-collapse .3s ease-in-out forwards}@keyframes rcb-animation-expand{0%{transform:translate(100%,100%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-collapse{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(100%,100%) scale(0);opacity:0}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{transform:translate(-100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-user-message-entry{0%{transform:translate(100%,50%) scale(0);opacity:0}to{transform:translate(0) scale(1);opacity:1}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{transform:scale(.8);opacity:0}70%{transform:scale(1.1);opacity:1}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes rcb-animation-options-entry{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}',hS='.rcb-chat-header-container{border-bottom:1px solid #ccc;color:#fff;display:flex;justify-content:space-between;max-height:55px;padding:12px}.rcb-chat-header{display:flex;flex-direction:row}.rcb-bot-avatar{background-size:cover;border-radius:50%;height:30px;margin-right:12px;width:30px}.rcb-message-prompt-container.visible{align-items:center;animation:rcb-animation-pop-in .3s ease-in-out;bottom:0;display:flex;justify-content:center;margin:auto;opacity:1;pointer-events:auto;position:sticky}.rcb-message-prompt-container.hidden{height:0;opacity:0;pointer-events:none;visibility:hidden}.rcb-message-prompt-text{background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;font-size:12px;padding:6px 12px;transition:color .3s ease,border-color .3s ease;z-index:9999}.rcb-message-prompt-container.hidden .rcb-message-prompt-text{padding:0}.rcb-user-message-container{display:flex;flex-direction:row;justify-content:right}.rcb-user-message{border-radius:22px;font-size:15px;height:fit-content;margin-right:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:right;white-space:pre-wrap;width:fit-content}.rcb-user-message-offset{margin-right:50px}.rcb-user-message-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-message-user-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:-10px;margin-right:6px;margin-top:9px;width:40px}.rcb-bot-message-container{display:flex;flex-direction:row}.rcb-bot-message{border-radius:22px;font-size:15px;height:fit-content;margin-left:16px;margin-top:8px;min-height:20px;overflow:auto;overflow-wrap:anywhere;padding:12px 16px;text-align:left;white-space:pre-wrap;width:fit-content}.rcb-bot-message-offset{margin-left:50px}.rcb-bot-message-entry{animation:rcb-animation-bot-message-entry .3s ease-in backwards}.rcb-message-bot-avatar{background-size:cover;border-radius:50%;height:40px;margin-left:6px;margin-right:-10px;margin-top:9px;width:40px}.rcb-typing-indicator{align-items:center;display:flex}.rcb-dot{animation:rcb-animation-bot-typing 1s infinite;background-color:#ccc;border-radius:50%;height:8px;margin-right:4px;width:8px}.rcb-dot:nth-child(2){animation-delay:.2s}.rcb-dot:nth-child(3){animation-delay:.4s}.rcb-chat-body-container{height:100%;overflow-x:hidden;overflow-y:scroll;padding-bottom:16px;position:relative;touch-action:pan-y;width:100%}.rcb-chat-body-container::-webkit-scrollbar-track{background-color:#f1f1f1}.rcb-chat-body-container::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:4px}.rcb-chat-body-container::-webkit-scrollbar-thumb:hover{background-color:#cfcfcf}.rcb-chat-body-container::-webkit-scrollbar-corner{background-color:#f1f1f1}.rcb-checkbox-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;padding-top:12px}.rcb-checkbox-offset{margin-left:50px!important}.rcb-checkbox-row-container{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:flex;gap:5px;max-height:32px;min-height:30px;overflow:hidden;width:80%}.rcb-checkbox-row-container:hover{box-shadow:0 0 5px #0003}.rcb-checkbox-row{align-items:center;cursor:pointer;display:inline-flex;margin-left:10px}.rcb-checkbox-mark{align-items:center;background-color:#f2f2f2;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin-right:10px;transition:all .3s ease;width:20px}.rcb-checkbox-mark:hover{background-color:#c2c2c2}.rcb-checkbox-mark:before{content:"✓";transition:all .3s ease}.rcb-checkbox-label{font-size:14px}.rcb-checkbox-next-button{align-items:center;animation:rcb-animations-checkboxes-entry .5s ease-out;background-color:#fff;border-radius:10px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-block;font-size:24px;max-height:32px;min-height:30px;text-align:center;width:80%}.rcb-checkbox-next-button:before{content:"→"}.rcb-checkbox-next-button:hover{box-shadow:0 0 5px #0003}.rcb-options-container{display:flex;flex-wrap:wrap;gap:10px;margin-left:16px;max-width:70%;padding-top:12px}.rcb-options-offset{margin-left:50px!important}.rcb-options{align-items:center;animation:rcb-animation-options-entry .5s ease-out;border-radius:20px;border-style:solid;border-width:.5px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;overflow:hidden;padding:10px 20px;transition:background-color .3s ease}.rcb-options:hover{box-shadow:0 0 5px #0003}.rcb-line-break-container{align-items:center;display:flex;justify-content:center;max-height:45px;padding-bottom:5px;padding-top:10px}.rcb-line-break-text{color:#adadad;font-size:12px;padding:6px 12px}.rcb-spinner-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-spinner{animation:rcb-animation-spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;height:22px;width:22px}.rcb-chat-input{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;padding:8px 16px}.rcb-chat-input::placeholder{color:#999}.rcb-chat-input-textarea{background-color:#fff;border:none;border-radius:4px;color:#000;flex:1;font-family:inherit;font-size:16px;height:auto;min-height:38px;outline:none;overflow-y:scroll;padding:8px;resize:none;touch-action:none}.rcb-chat-input-textarea::-webkit-scrollbar,.rcb-chat-input-textarea::-webkit-scrollbar-thumb{background-color:initial}.rcb-chat-input-textarea::-webkit-scrollbar-thumb:hover{background-color:initial}.rcb-chat-input-char-counter{font-size:14px;margin-left:8px;margin-top:3px}.rcb-chat-footer-container{align-items:flex-end;background-color:#f2f2f2;border-top:1px solid #ccc;color:#000;display:flex;font-size:12px;justify-content:space-between;max-height:55px;padding:12px 16px 8px 10px}.rcb-chat-footer,.rcb-toggle-button{display:flex;flex-direction:row}.rcb-toggle-button{border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 4px #0003;cursor:pointer;height:75px;position:fixed;right:20px;width:75px;z-index:9999}.rcb-toggle-button.rcb-button-hide{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}.rcb-toggle-button.rcb-button-show{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-toggle-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:inherit;height:100%;margin:auto;width:100%}.rcb-badge,.rcb-toggle-icon{align-items:center;display:flex;justify-content:center}.rcb-badge{background-color:red;border-radius:50%;color:#fff;height:25px;position:absolute;right:-6px;top:-6px;width:25px}.rcb-chat-tooltip{border-radius:20px;box-shadow:0 2px 6px #0003;cursor:pointer;font-size:20px;padding:16px;position:fixed;transition:transform .3s ease;white-space:nowrap;z-index:9999}.rcb-chat-tooltip-tail{border-style:solid;border-width:10px 0 10px 10px;content:"";margin-top:-10px;position:absolute;right:-10px;top:50%}.rcb-chat-tooltip.rcb-tooltip-hide{animation:rcb-animation-tooltip-out .5s ease-in-out;opacity:0;visibility:hidden}.rcb-chat-tooltip.rcb-tooltip-show{animation:rcb-animation-tooltip-in .5s ease-in-out;opacity:1;visibility:visible}.rcb-toast-prompt{animation:rcb-animation-pop-in .3s ease-in-out;background-color:#fff;border:.5px solid #7a7a7a;border-radius:5px;color:#7a7a7a;cursor:pointer;font-size:12px;margin-top:6px;padding:6px 12px;text-align:center;transition:color .3s ease,border-color .3s ease;width:100%;z-index:9999}.rcb-toast-prompt-container{align-items:center;animation:popIn .3s ease-in-out;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:50%;margin:200 auto auto;opacity:1;pointer-events:auto;position:absolute;transform:translate(-50%)}.rcb-media-display-image-container,.rcb-media-display-video-container{border-radius:22px;margin-right:16px;margin-top:8px;padding:16px;width:fit-content}.rcb-media-display-offset{margin-right:50px!important}.rcb-media-display-image{border-radius:22px;height:auto;object-fit:cover;width:100%}.rcb-media-display-video{background-color:#000;border-radius:22px;height:auto;width:100%}.rcb-media-display-audio{border-radius:22px;height:auto;margin-right:16px;margin-top:8px;width:100%}.rcb-media-entry{animation:rcb-animation-user-message-entry .3s ease-in backwards}.rcb-attach-button-disabled,.rcb-attach-button-enabled{background-size:cover;border-radius:6px;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-attach-button-disabled input[type=file],.rcb-attach-button-enabled input[type=file]{display:none;height:100%;position:absolute;width:100%}.rcb-attach-button-enabled{cursor:pointer}.rcb-attach-button-disabled{opacity:.5}.rcb-attach-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-attach-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-attach-icon-disabled,.rcb-attach-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;margin-top:2px;transition:background-image .3s ease;width:24px}.rcb-attach-icon-enabled{cursor:pointer}.rcb-emoji-button-disabled,.rcb-emoji-button-enabled{background-size:cover;border-radius:6px;cursor:pointer;display:inline-block;height:30px;position:relative;text-align:center;width:30px}.rcb-emoji-icon-disabled,.rcb-emoji-icon-enabled{background-repeat:no-repeat;background-size:cover;display:inline-block;font-size:20px;height:24px;margin-top:2px;position:relative;width:24px}.rcb-emoji-icon-enabled{cursor:pointer}.rcb-emoji-icon-disabled{opacity:.5}.rcb-emoji-button-enabled:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-emoji-button-enabled:hover:after{height:130%;opacity:1;width:130%}.rcb-emoji-button-popup{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;max-height:200px;overflow-y:auto;padding:8px;position:absolute;transform:translateY(calc(-100% - 30px));width:158px}.rcb-emoji{cursor:pointer;font-size:24px;padding:3px;transition:transform .2s ease-in-out}.rcb-emoji:hover{transform:scale(1.2)}.rcb-audio-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-audio-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-audio-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-close-chat-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-close-chat-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-close-chat-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-notification-icon{background-size:cover;border:none;cursor:pointer;display:inline-block;height:30px;margin-left:5px;position:relative;width:30px}.rcb-notification-icon:after{background-color:#0000001a;border-radius:50%;content:"";height:0;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .2s ease-out,height .2s ease-out,opacity .2s ease-out;width:0}.rcb-notification-icon:hover:after{height:130%;opacity:1;width:130%}.rcb-voice-button-disabled,.rcb-voice-button-enabled{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:all .3s ease;width:32px}.rcb-voice-button-enabled{border:1px solid red;box-shadow:0 0 3px #ff000080}.rcb-voice-button-enabled:hover{border:1px solid #3d0000}.rcb-voice-button-disabled{border:1px;border-color:#0003;border-style:solid}.rcb-voice-button-disabled:hover{box-shadow:0 0 3px #8a0000}.rcb-voice-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:60%;object-fit:cover;width:60%}.rcb-voice-icon.on{animation:rcb-animation-ping 1s infinite}.rcb-send-button{border:none;border-radius:4px;box-shadow:0 0 3px #0000004d;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin-left:8px;text-transform:uppercase;transition:background-color .3s ease;width:51px}.rcb-send-icon{background-position:50%;background-repeat:no-repeat;background-size:cover;background-size:contain;height:50%;object-fit:cover;transform:translateY(20%);width:50%}.rcb-view-history-container{align-items:center;display:flex;justify-content:center;max-height:45px;min-height:35px;padding-bottom:5px;padding-top:10px}.rcb-view-history-button{align-items:center;background-color:#fff;border:.5px solid #adadad;border-radius:20px;color:#adadad;cursor:pointer;display:inline-flex;font-size:12px;justify-content:center;max-width:60%;padding:6px 12px;transition:color .3s ease,border-color .3s ease}.rcb-view-history-button>p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rcb-chatbot-global{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;z-index:9999}.rcb-chat-window{background-color:#fff;border-radius:10px;bottom:20px;box-shadow:0 2px 4px #0003;display:flex;flex-direction:column;height:550px;overflow:hidden;position:fixed;right:20px;transition:all .3s ease;width:375px}.rcb-window-embedded .rcb-chat-window{bottom:auto;opacity:1;position:relative;right:auto;visibility:visible}.rcb-window-open .rcb-chat-window{animation:rcb-animation-expand .3s ease-in-out forwards;opacity:1;visibility:visible}.rcb-window-close .rcb-chat-window{animation:rcb-animation-collapse .3s ease-in-out forwards;opacity:0;visibility:hidden}@keyframes rcb-animation-expand{0%{opacity:0;transform:translate(100%,100%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-collapse{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(0)}}@keyframes rcb-animation-ping{0%{filter:brightness(100%);opacity:1}50%{filter:brightness(50%);opacity:.8}}@keyframes rcb-animation-bot-message-entry{0%{opacity:0;transform:translate(-100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-user-message-entry{0%{opacity:0;transform:translate(100%,50%) scale(0)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes rcb-animation-bot-typing{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes rcb-animation-pop-in{0%{opacity:0;transform:scale(.8)}70%{opacity:1;transform:scale(1.1)}to{transform:scale(1)}}@keyframes rcb-animations-checkboxes-entry{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes rcb-animation-options-entry{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes rcb-animation-tooltip-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes rcb-animation-tooltip-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes rcb-animation-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.rcb-chat-window{height:800px!important;max-height:80vh!important;max-width:100%;width:550px!important}.rcb-chat-window .rcb-chat-header{align-items:center;display:flex;flex-direction:row;font-weight:700}.rcb-chat-window .rcb-chat-input-textarea{overflow-y:auto}.rcb-chat-window .rcb-chat-footer-container{font-size:10px}.qa-bot .history-button,.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .history-button,.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}.qa-bot.bot-logged-in .history-button:hover{opacity:.8}.qa-bot.bot-logged-in .history-button:focus{outline:2px solid #fff;outline-offset:2px}.embedded-qa-bot .rcb-chat-window{max-width:100%;width:100%!important}.qa-bot.hidden{display:none}.embedded-qa-bot .rcb-bot-message,.embedded-qa-bot .rcb-user-message{max-width:90%!important;word-break:break-word}.embedded-qa-bot .rcb-chat-input-textarea{width:100%!important}.qa-bot-container{max-width:100%;width:100%}.rcb-chat-tooltip>span:not(.rcb-chat-tooltip-tail){background-color:#107180;color:#fff}.rcb-chat-tooltip-tail{border-color:#0000 #0000 #0000 #1a5b6e}@keyframes phone-ring{0%{transform:translate(0) translateY(0) rotate(0)}2%{transform:translate(0) translateY(-8px) rotate(-2deg)}4%{transform:translate(0) translateY(-6px) rotate(2deg)}6%{transform:translate(0) translateY(-8px) rotate(-1deg)}8%{transform:translate(0) translateY(-6px) rotate(1deg)}10%{transform:translate(0) translateY(-8px) rotate(-2deg)}12%{transform:translate(0) translateY(-6px) rotate(2deg)}20%{transform:translate(0) translateY(0) rotate(0)}30%{transform:translate(0) translateY(0) rotate(0)}40%{transform:translate(0) translateY(0) rotate(0)}49%{transform:translate(0) translateY(0) rotate(0)}50%{transform:translate(0) translateY(-8px) rotate(-2deg)}52%{transform:translate(0) translateY(-6px) rotate(2deg)}54%{transform:translate(0) translateY(-8px) rotate(-1deg)}56%{transform:translate(0) translateY(-6px) rotate(1deg)}58%{transform:translate(0) translateY(-8px) rotate(-2deg)}60%{transform:translate(0) translateY(-6px) rotate(2deg)}70%{transform:translate(0) translateY(0) rotate(0)}to{transform:translate(0) translateY(0) rotate(0)}}@media(max-width:768px){.rcb-chat-window{max-height:calc(100vh - 100px)!important;max-width:calc(100vw - 40px)!important;width:550px!important}.embedded-chat-container.open{height:400px}.embedded-chat-closed{font-size:14px;height:40px}.embedded-chat-open-btn{font-size:12px;padding:3px 10px}.rcb-bot-message,.rcb-user-message{max-width:85%!important}.rcb-chat-input-textarea{font-size:16px!important;min-height:44px!important}.rcb-chat-header{padding:12px 16px!important}.rcb-chat-tooltip,.rcb-chat-tooltip-tail{display:none!important}}@media(max-width:480px){.rcb-chat-window{bottom:10px!important;left:10px!important;max-height:calc(100vh - 80px)!important;max-width:calc(100vw - 20px)!important;right:10px!important;width:calc(100vw - 20px)!important}.embedded-chat-container.open{height:350px}.rcb-bot-message,.rcb-user-message{margin-bottom:8px!important;max-width:90%!important}.rcb-chat-header{font-size:14px!important;padding:8px 12px!important}.rcb-chat-button{bottom:20px!important;height:50px!important;right:20px!important;width:50px!important}.rcb-chat-footer-container{font-size:9px!important;padding:8px 12px!important}}@media(max-width:360px){.rcb-chat-window{left:5px!important;max-width:calc(100vw - 10px)!important;right:5px!important;width:calc(100vw - 10px)!important}.rcb-chat-header{font-size:13px!important;padding:6px 8px!important}}.rcb-checkbox-container{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-left:16px!important;max-width:100%!important;padding-top:12px!important}.rcb-checkbox-row-container{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--primaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-row-container:hover{background-color:#e8f4f8!important;border-color:var(--primaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-row-container[data-checked=true]{background-color:var(--primaryColor,#107180)!important;border-color:var(--primaryColor,#107180)!important;color:#fff!important}.rcb-checkbox-row{margin-left:0!important}.rcb-checkbox-mark{height:14px!important;margin-right:6px!important;width:14px!important}.rcb-checkbox-label{font-size:13px!important;margin:0!important;white-space:nowrap!important}.rcb-checkbox-next-button{align-items:center!important;background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;display:flex!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;justify-content:center!important;line-height:24px!important;margin:0!important;max-height:auto!important;min-height:auto!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-checkbox-next-button:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.sr-only{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.rcb-chat-input-send-button:focus,.rcb-chat-input-textarea:focus{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-bot-message ol,.rcb-bot-message ul{list-style-position:outside!important;margin:.5em 0!important;padding-left:1.5em!important}.rcb-bot-message li{margin-bottom:.25em!important}.rcb-bot-message li>p{display:inline!important;margin:0!important}.rcb-user-message{word-wrap:break-word!important;overflow:hidden!important;word-break:break-word!important}:focus-visible{outline:2px solid var(--primaryColor,#107180)!important;outline-offset:2px!important}.rcb-options-container{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin:16px!important;padding:0!important}.rcb-options{background-color:#fff!important;border:1px solid #d0d0d0!important;border-radius:6px!important;box-sizing:border-box!important;color:var(--secondaryColor,#107180)!important;cursor:pointer!important;flex:0 0 auto!important;font-size:14px!important;font-weight:400!important;outline:none!important;padding:8px 12px!important;text-align:center!important;transition:all .2s ease!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto!important}.rcb-options:hover{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;box-shadow:0 2px 4px #10718033!important;transform:translateY(-1px)!important}.rcb-checkbox-next-button.keyboard-focused,.rcb-checkbox-next-button:focus,.rcb-checkbox-next-button:focus-visible,.rcb-checkbox-row-container.keyboard-focused,.rcb-checkbox-row-container:focus,.rcb-checkbox-row-container:focus-visible,.rcb-options.keyboard-focused,.rcb-options:focus,.rcb-options:focus-visible{background-color:#e8f4f8!important;border-color:var(--secondaryColor,#107180)!important;outline:none!important}.rcb-options:active{background-color:var(--secondaryColor,#107180)!important;border-color:var(--secondaryColor,#107180)!important;color:#fff!important;transform:translateY(0)!important}.keyboard-nav-hint{color:#666!important;font-size:12px!important;font-style:italic!important;margin-bottom:8px!important}@media(prefers-reduced-motion:reduce){.keyboard-nav-hint{display:none!important}}.rcb-options-container [role=button][tabindex="0"],.rcb-options-container button[tabindex="0"]{position:relative!important}.rcb-options-container [role=button][tabindex="0"]:after,.rcb-options-container button[tabindex="0"]:after{color:var(--secondaryColor,#107180)!important;content:"←"!important;font-size:16px!important;opacity:0!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;transition:opacity .2s ease!important}.rcb-options-container [role=button][tabindex="0"]:focus:after,.rcb-options-container button[tabindex="0"]:focus:after{opacity:1!important}.rcb-chat-input-send-button{cursor:pointer!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}.rcb-chat-input-send-button:not([tabindex]){-webkit-user-select:none;-moz-user-select:none;user-select:none}.rcb-chat-input-container [onclick],.rcb-chat-input-container [role=button],.rcb-chat-input-container div[style*=cursor],.rcb-chat-input-container svg:last-child,.rcb-chat-input-container>div:last-child{tabindex:0!important;cursor:pointer!important}.rcb-chat-footer{margin-top:4px!important;padding-top:0!important}.rcb-chat-footer-container{align-items:center!important;display:flex!important;margin-top:4px!important;padding-top:4px!important}.rcb-chat-footer-container button{order:1!important}.rcb-chat-footer-container a[href*=qa-bot-core]{tab-index:0!important;order:2!important}.rcb-chat-footer-container a[href*=feedback]{tab-index:0!important;order:3!important}@media(prefers-contrast:high){.rcb-chat-window a{background-color:#fff!important;border:1px solid #000!important;color:#000!important}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.rcb-chat-input-textarea{-webkit-user-select:text!important;user-select:text!important}.rcb-chat-body-container,.rcb-chat-input-textarea,.rcb-chat-window{touch-action:pan-y!important}.embedded-qa-bot,.rcb-chat-window{-webkit-overflow-scrolling:touch!important}.embedded-qa-bot .rcb-chat-input-textarea{touch-action:pan-y!important;-webkit-user-select:text!important;user-select:text!important}.embedded-qa-bot .rcb-chat-body-container,.embedded-qa-bot .rcb-chat-window{touch-action:pan-y!important}.rcb-chat-header-container{background:var(--primaryColor,#1a5b6e)!important;background:linear-gradient(135deg,var(--primaryColor,#1a5b6e) 0,var(--secondaryColor,#107180) 100%)!important}.rcb-toggle-button{align-items:center!important;background:var(--primaryColor,#1a5b6e)!important;display:flex!important;justify-content:center!important}.rcb-toggle-button svg{stroke:#fff!important;color:#fff!important}.rcb-toggle-button *,.rcb-toggle-button img,.rcb-toggle-button svg,.rcb-toggle-button>*{box-sizing:border-box!important;height:50px!important;left:0!important;margin:0 auto!important;max-height:50px!important;max-width:50px!important;min-height:50px!important;min-width:50px!important;padding:2px!important;position:relative!important;top:0!important;width:50px!important}.rcb-send-button{background-color:var(--primaryColor,#1a5b6e)!important}.rcb-chat-notification-badge,.rcb-notification-badge{display:none!important}.rcb-chat-window .rcb-bot-avatar{background-size:contain;border-radius:0;background-position:center;background-repeat:no-repeat}.rcb-toggle-icon{background-size:62%!important;background-position:calc(50% - 1px) calc(50% + 2px);background-repeat:no-repeat;background-color:transparent!important}.rcb-chat-button-icon{background-size:contain;background-position:center;background-repeat:no-repeat}.rcb-chat-window{width:550px!important;height:800px!important;max-height:80vh!important;max-width:100%}.rcb-chat-window .rcb-chat-header{display:flex;flex-direction:row;align-items:center;font-weight:700}.rcb-chat-footer-container{align-items:center!important;font-size:10px}.qa-bot .user-login-icon{display:none!important}.qa-bot.bot-logged-in .user-login-icon{display:flex!important;transform:scale(1.3) translateY(-2px)}@media(max-width:768px){.rcb-chat-window{width:550px!important;max-width:calc(100vw - 40px)!important;max-height:calc(100vh - 100px)!important}}@media(max-width:480px){.rcb-chat-window{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 80px)!important;left:10px!important;right:10px!important;bottom:10px!important}.rcb-chat-footer-container{font-size:9px!important}}.rcb-options-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:16px;padding:0}.rcb-options{border:1px solid #d0d0d0;background-color:#fff;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s ease;text-align:center;font-size:14px;font-weight:400;color:#107180;width:auto;flex:0 0 auto;box-sizing:border-box}.rcb-options:hover{background-color:#e8f4f8;border-color:#107180;transform:translateY(-1px);box-shadow:0 2px 4px #10718033}.rcb-options:active{background-color:#107180;border-color:#107180;color:#fff;transform:translateY(0)}.rcb-chat-header-container{font-size:14px}.rcb-options{border:1px solid #d0d0d0!important}.rcb-chat-window a:not(.qa-bot-login-button),.rcb-chat-window a:not(.qa-bot-login-button):link,.rcb-chat-window a:not(.qa-bot-login-button):visited{color:#000!important;font-weight:700!important;text-decoration:underline!important}.rcb-chat-window a:not(.qa-bot-login-button):hover{color:#1a5b6e!important;text-decoration:none!important}.rcb-chat-window .rcb-bot-message a,.rcb-chat-window .rcb-bot-message a:link,.rcb-chat-window .rcb-bot-message a:visited{color:#fff!important;text-decoration:underline!important}.rcb-chat-window .rcb-bot-message a:hover{opacity:.85;text-decoration:underline!important;color:#fff!important}',AS=".rcb-chat-header-container span{font-size:1rem!important;font-weight:600!important}";var um=xg();const gS=fs(um),dm=pS+hS+AS,mS=({children:t})=>{const e=T.useRef(null),[n,r]=T.useState(null);return T.useEffect(()=>{if(e.current&&!n&&!e.current.shadowRoot){const o=e.current.attachShadow({mode:"open"}),i=document.createElement("div");o.appendChild(i),r(i)}},[n]),E.jsx("div",{ref:e,children:n?gS.createPortal(t,n):null})},oi=(t,e)=>n=>E.jsxs(mS,{children:[E.jsx(t,{...n}),e.map(r=>E.jsx("style",{children:r},r))]}),vS=oi(pf,[ri,aS]),yS=oi(bk,[ri,cS,cm]),bS=oi(wk,[ri,_f]),xS=oi(xk,[ri,cm,uS]),wS=oi(Sg,[ri,dm]),kS=oi(iS,[ri,lS,dS,dm]),SS=oi(Sk,[ri,_f]),ES=oi(sS,[ri,fS]),CS=oi(kk,[ri,_f]),ii=t=>(e={})=>ik.createRoot(e.target).render(E.jsx(T.StrictMode,{children:E.jsx(t,{...e})})),PS=ii(vS),DS=ii(yS),TS=ii(bS),BS=ii(xS),_S=ii(wS),IS=ii(kS),MS=ii(SS),OS=ii(ES),RS=ii(CS);var Ti={},ps={};var fm;function LS(){if(fm)return ps;fm=1;var t=il();function e(x){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+x,F=1;F<arguments.length;F++)_+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+x+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},i={};function a(x){return n.call(i,x)?!0:n.call(o,x)?!1:r.test(x)?i[x]=!0:(o[x]=!0,!1)}function l(x,_,F,H,ie,$,he){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=H,this.attributeNamespace=ie,this.mustUseProperty=F,this.propertyName=x,this.type=_,this.sanitizeURL=$,this.removeEmptyString=he}var u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x){u[x]=new l(x,0,!1,x,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x){var _=x[0];u[_]=new l(_,1,!1,x[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(x){u[x]=new l(x,2,!1,x.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x){u[x]=new l(x,2,!1,x,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(x){u[x]=new l(x,3,!1,x.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(x){u[x]=new l(x,3,!0,x,null,!1,!1)}),["capture","download"].forEach(function(x){u[x]=new l(x,4,!1,x,null,!1,!1)}),["cols","rows","size","span"].forEach(function(x){u[x]=new l(x,6,!1,x,null,!1,!1)}),["rowSpan","start"].forEach(function(x){u[x]=new l(x,5,!1,x.toLowerCase(),null,!1,!1)});var d=/[\-:]([a-z])/g;function p(x){return x[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(x){var _=x.replace(d,p);u[_]=new l(_,1,!1,x,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!1,!1)}),u.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(x){u[x]=new l(x,1,!1,x.toLowerCase(),null,!0,!0)});var h={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},A=["Webkit","ms","Moz","O"];Object.keys(h).forEach(function(x){A.forEach(function(_){_=_+x.charAt(0).toUpperCase()+x.substring(1),h[_]=h[x]})});var m=/["'&<>]/;function y(x){if(typeof x=="boolean"||typeof x=="number")return""+x;x=""+x;var _=m.exec(x);if(_){var F="",H,ie=0;for(H=_.index;H<x.length;H++){switch(x.charCodeAt(H)){case 34:_="&quot;";break;case 38:_="&amp;";break;case 39:_="&#x27;";break;case 60:_="&lt;";break;case 62:_="&gt;";break;default:continue}ie!==H&&(F+=x.substring(ie,H)),ie=H+1,F+=_}x=ie!==H?F+x.substring(ie,H):F}return x}var w=/([A-Z])/g,b=/^ms-/,P=Array.isArray;function M(x,_){return{insertionMode:x,selectedValue:_}}function D(x,_,F){switch(_){case"select":return M(1,F.value!=null?F.value:F.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=x.insertionMode||x.insertionMode===0?M(1,null):x}var C=new Map;function j(x,_,F){if(typeof F!="object")throw Error(e(62));_=!0;for(var H in F)if(n.call(F,H)){var ie=F[H];if(ie!=null&&typeof ie!="boolean"&&ie!==""){if(H.indexOf("--")===0){var $=y(H);ie=y((""+ie).trim())}else{$=H;var he=C.get($);he!==void 0||(he=y($.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),C.set($,he)),$=he,ie=typeof ie=="number"?ie===0||n.call(h,H)?""+ie:ie+"px":y((""+ie).trim())}_?(_=!1,x.push(' style="',$,":",ie)):x.push(";",$,":",ie)}}_||x.push('"')}function R(x,_,F,H){switch(F){case"style":j(x,_,H);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(_=u.hasOwnProperty(F)?u[F]:null,_!==null){switch(typeof H){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}switch(F=_.attributeName,_.type){case 3:H&&x.push(" ",F,'=""');break;case 4:H===!0?x.push(" ",F,'=""'):H!==!1&&x.push(" ",F,'="',y(H),'"');break;case 5:isNaN(H)||x.push(" ",F,'="',y(H),'"');break;case 6:!isNaN(H)&&1<=H&&x.push(" ",F,'="',y(H),'"');break;default:_.sanitizeURL&&(H=""+H),x.push(" ",F,'="',y(H),'"')}}else if(a(F)){switch(typeof H){case"function":case"symbol":return;case"boolean":if(_=F.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")return}x.push(" ",F,'="',y(H),'"')}}}function z(x,_,F){if(_!=null){if(F!=null)throw Error(e(60));if(typeof _!="object"||!("__html"in _))throw Error(e(61));_=_.__html,_!=null&&x.push(""+_)}}function V(x){var _="";return t.Children.forEach(x,function(F){F!=null&&(_+=F)}),_}function K(x,_,F,H){x.push(W(F));var ie=F=null,$;for($ in _)if(n.call(_,$)){var he=_[$];if(he!=null)switch($){case"children":F=he;break;case"dangerouslySetInnerHTML":ie=he;break;default:R(x,H,$,he)}}return x.push(">"),z(x,ie,F),typeof F=="string"?(x.push(y(F)),null):F}var q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z=new Map;function W(x){var _=Z.get(x);if(_===void 0){if(!q.test(x))throw Error(e(65,x));_="<"+x,Z.set(x,_)}return _}function oe(x,_,F,H,ie){switch(_){case"select":x.push(W("select"));var $=null,he=null;for(ut in F)if(n.call(F,ut)){var De=F[ut];if(De!=null)switch(ut){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;case"defaultValue":case"value":break;default:R(x,H,ut,De)}}return x.push(">"),z(x,he,$),$;case"option":he=ie.selectedValue,x.push(W("option"));var Ie=De=null,tt=null,ut=null;for($ in F)if(n.call(F,$)){var It=F[$];if(It!=null)switch($){case"children":De=It;break;case"selected":tt=It;break;case"dangerouslySetInnerHTML":ut=It;break;case"value":Ie=It;default:R(x,H,$,It)}}if(he!=null)if(F=Ie!==null?""+Ie:V(De),P(he)){for(H=0;H<he.length;H++)if(""+he[H]===F){x.push(' selected=""');break}}else""+he===F&&x.push(' selected=""');else tt&&x.push(' selected=""');return x.push(">"),z(x,ut,De),De;case"textarea":x.push(W("textarea")),ut=he=$=null;for(De in F)if(n.call(F,De)&&(Ie=F[De],Ie!=null))switch(De){case"children":ut=Ie;break;case"value":$=Ie;break;case"defaultValue":he=Ie;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:R(x,H,De,Ie)}if($===null&&he!==null&&($=he),x.push(">"),ut!=null){if($!=null)throw Error(e(92));if(P(ut)&&1<ut.length)throw Error(e(93));$=""+ut}return typeof $=="string"&&$[0]===`
11
11
  `&&x.push(`
12
12
  `),$!==null&&x.push(y(""+$)),null;case"input":x.push(W("input")),Ie=ut=De=$=null;for(he in F)if(n.call(F,he)&&(tt=F[he],tt!=null))switch(he){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Ie=tt;break;case"defaultValue":De=tt;break;case"checked":ut=tt;break;case"value":$=tt;break;default:R(x,H,he,tt)}return ut!==null?R(x,H,"checked",ut):Ie!==null&&R(x,H,"checked",Ie),$!==null?R(x,H,"value",$):De!==null&&R(x,H,"value",De),x.push("/>"),null;case"menuitem":x.push(W("menuitem"));for(var dr in F)if(n.call(F,dr)&&($=F[dr],$!=null))switch(dr){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:R(x,H,dr,$)}return x.push(">"),null;case"title":x.push(W("title")),$=null;for(It in F)if(n.call(F,It)&&(he=F[It],he!=null))switch(It){case"children":$=he;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:R(x,H,It,he)}return x.push(">"),$;case"listing":case"pre":x.push(W(_)),he=$=null;for(Ie in F)if(n.call(F,Ie)&&(De=F[Ie],De!=null))switch(Ie){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;default:R(x,H,Ie,De)}if(x.push(">"),he!=null){if($!=null)throw Error(e(60));if(typeof he!="object"||!("__html"in he))throw Error(e(61));F=he.__html,F!=null&&(typeof F=="string"&&0<F.length&&F[0]===`
13
13
  `?x.push(`
14
14
  `,F):x.push(""+F))}return typeof $=="string"&&$[0]===`
15
15
  `&&x.push(`
16
- `),$;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":x.push(W(_));for(var fr in F)if(n.call(F,fr)&&($=F[fr],$!=null))switch(fr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,_));default:R(x,H,fr,$)}return x.push("/>"),null;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 K(x,F,_,H);case"html":return ie.insertionMode===0&&x.push("<!DOCTYPE html>"),K(x,F,_,H);default:if(_.indexOf("-")===-1&&typeof F.is!="string")return K(x,F,_,H);x.push(W(_)),he=$=null;for(tt in F)if(n.call(F,tt)&&(De=F[tt],De!=null))switch(tt){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;case"style":j(x,H,De);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(tt)&&typeof De!="function"&&typeof De!="symbol"&&x.push(" ",tt,'="',y(De),'"')}return x.push(">"),z(x,he,$),$}}function ue(x,_,F){if(x.push('<!--$?--><template id="'),F===null)throw Error(e(395));return x.push(F),x.push('"></template>')}function te(x,_,F,H){switch(F.insertionMode){case 0:case 1:return x.push('<div hidden id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 2:return x.push('<svg aria-hidden="true" style="display:none" id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 3:return x.push('<math aria-hidden="true" style="display:none" id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 4:return x.push('<table hidden id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 5:return x.push('<table hidden><tbody id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 6:return x.push('<table hidden><tr id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 7:return x.push('<table hidden><colgroup id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');default:throw Error(e(397))}}function pe(x,_){switch(_.insertionMode){case 0:case 1:return x.push("</div>");case 2:return x.push("</svg>");case 3:return x.push("</math>");case 4:return x.push("</table>");case 5:return x.push("</tbody></table>");case 6:return x.push("</tr></table>");case 7:return x.push("</colgroup></table>");default:throw Error(e(397))}}var ee=/[<\u2028\u2029]/g;function G(x){return JSON.stringify(x).replace(ee,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function N(x,_){return _=_===void 0?"":_,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:_+"P:",segmentPrefix:_+"S:",boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:x}}function de(x,_,F,H){return F.generateStaticMarkup?(x.push(y(_)),!1):(_===""?x=H:(H&&x.push("<!-- -->"),x.push(y(_)),x=!0),x)}var I=Object.assign,J=Symbol.for("react.element"),ve=Symbol.for("react.portal"),me=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Ve=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),wt=Symbol.for("react.suspense_list"),Me=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),Xe=Symbol.for("react.scope"),Ge=Symbol.for("react.debug_trace_mode"),At=Symbol.for("react.legacy_hidden"),lt=Symbol.for("react.default_value"),gt=Symbol.iterator;function yt(x){if(x==null)return null;if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case me:return"Fragment";case ve:return"Portal";case _e:return"Profiler";case we:return"StrictMode";case $e:return"Suspense";case wt:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case Ve:return(x.displayName||"Context")+".Consumer";case Oe:return(x._context.displayName||"Context")+".Provider";case ze:var _=x.render;return x=x.displayName,x||(x=_.displayName||_.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Me:return _=x.displayName||null,_!==null?_:yt(x.type)||"Memo";case Ee:_=x._payload,x=x._init;try{return yt(x(_))}catch{}}return null}var mt={};function Rt(x,_){if(x=x.contextTypes,!x)return mt;var F={},H;for(H in x)F[H]=_[H];return F}var dt=null;function Ke(x,_){if(x!==_){x.context._currentValue2=x.parentValue,x=x.parent;var F=_.parent;if(x===null){if(F!==null)throw Error(e(401))}else{if(F===null)throw Error(e(401));Ke(x,F)}_.context._currentValue2=_.value}}function fn(x){x.context._currentValue2=x.parentValue,x=x.parent,x!==null&&fn(x)}function Yt(x){var _=x.parent;_!==null&&Yt(_),x.context._currentValue2=x.value}function vn(x,_){if(x.context._currentValue2=x.parentValue,x=x.parent,x===null)throw Error(e(402));x.depth===_.depth?Ke(x,_):vn(x,_)}function nn(x,_){var F=_.parent;if(F===null)throw Error(e(402));x.depth===F.depth?Ke(x,F):nn(x,F),_.context._currentValue2=_.value}function _t(x){var _=dt;_!==x&&(_===null?Yt(x):x===null?fn(_):_.depth===x.depth?Ke(_,x):_.depth>x.depth?vn(_,x):nn(_,x),dt=x)}var fe={isMounted:function(){return!1},enqueueSetState:function(x,_){x=x._reactInternals,x.queue!==null&&x.queue.push(_)},enqueueReplaceState:function(x,_){x=x._reactInternals,x.replace=!0,x.queue=[_]},enqueueForceUpdate:function(){}};function Le(x,_,F,H){var ie=x.state!==void 0?x.state:null;x.updater=fe,x.props=F,x.state=ie;var $={queue:[],replace:!1};x._reactInternals=$;var he=_.contextType;if(x.context=typeof he=="object"&&he!==null?he._currentValue2:H,he=_.getDerivedStateFromProps,typeof he=="function"&&(he=he(F,ie),ie=he==null?ie:I({},ie,he),x.state=ie),typeof _.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function"))if(_=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),_!==x.state&&fe.enqueueReplaceState(x,x.state,null),$.queue!==null&&0<$.queue.length)if(_=$.queue,he=$.replace,$.queue=null,$.replace=!1,he&&_.length===1)x.state=_[0];else{for($=he?_[0]:x.state,ie=!0,he=he?1:0;he<_.length;he++){var De=_[he];De=typeof De=="function"?De.call(x,$,F,H):De,De!=null&&(ie?(ie=!1,$=I({},$,De)):I($,De))}x.state=$}else $.queue=null}var Be={id:1,overflow:""};function ct(x,_,F){var H=x.id;x=x.overflow;var ie=32-We(H)-1;H&=~(1<<ie),F+=1;var $=32-We(_)+ie;if(30<$){var he=ie-ie%5;return $=(H&(1<<he)-1).toString(32),H>>=he,ie-=he,{id:1<<32-We(_)+ie|F<<ie|H,overflow:$+x}}return{id:1<<$|F<<ie|H,overflow:x}}var We=Math.clz32?Math.clz32:Te,le=Math.log,Ce=Math.LN2;function Te(x){return x>>>=0,x===0?32:31-(le(x)/Ce|0)|0}function qe(x,_){return x===_&&(x!==0||1/x===1/_)||x!==x&&_!==_}var He=typeof Object.is=="function"?Object.is:qe,Ne=null,bt=null,xt=null,it=null,Zt=!1,qt=!1,rn=0,Ut=null,an=0;function zt(){if(Ne===null)throw Error(e(321));return Ne}function Sn(){if(0<an)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Qn(){return it===null?xt===null?(Zt=!1,xt=it=Sn()):(Zt=!0,it=xt):it.next===null?(Zt=!1,it=it.next=Sn()):(Zt=!0,it=it.next),it}function Ir(){bt=Ne=null,qt=!1,xt=null,an=0,it=Ut=null}function ln(x,_){return typeof _=="function"?_(x):_}function Hn(x,_,F){if(Ne=zt(),it=Qn(),Zt){var H=it.queue;if(_=H.dispatch,Ut!==null&&(F=Ut.get(H),F!==void 0)){Ut.delete(H),H=it.memoizedState;do H=x(H,F.action),F=F.next;while(F!==null);return it.memoizedState=H,[H,_]}return[it.memoizedState,_]}return x=x===ln?typeof _=="function"?_():_:F!==void 0?F(_):_,it.memoizedState=x,x=it.queue={last:null,dispatch:null},x=x.dispatch=Jn.bind(null,Ne,x),[it.memoizedState,x]}function yn(x,_){if(Ne=zt(),it=Qn(),_=_===void 0?null:_,it!==null){var F=it.memoizedState;if(F!==null&&_!==null){var H=F[1];e:if(H===null)H=!1;else{for(var ie=0;ie<H.length&&ie<_.length;ie++)if(!He(_[ie],H[ie])){H=!1;break e}H=!0}if(H)return F[0]}}return x=x(),it.memoizedState=[x,_],x}function Jn(x,_,F){if(25<=an)throw Error(e(301));if(x===Ne)if(qt=!0,x={action:F,next:null},Ut===null&&(Ut=new Map),F=Ut.get(_),F===void 0)Ut.set(_,x);else{for(_=F;_.next!==null;)_=_.next;_.next=x}}function Mn(){throw Error(e(394))}function pn(){}var Mr={readContext:function(x){return x._currentValue2},useContext:function(x){return zt(),x._currentValue2},useMemo:yn,useReducer:Hn,useRef:function(x){Ne=zt(),it=Qn();var _=it.memoizedState;return _===null?(x={current:x},it.memoizedState=x):_},useState:function(x){return Hn(ln,x)},useInsertionEffect:pn,useLayoutEffect:function(){},useCallback:function(x,_){return yn(function(){return x},_)},useImperativeHandle:pn,useEffect:pn,useDebugValue:pn,useDeferredValue:function(x){return zt(),x},useTransition:function(){return zt(),[!1,Mn]},useId:function(){var x=bt.treeContext,_=x.overflow;x=x.id,x=(x&~(1<<32-We(x)-1)).toString(32)+_;var F=Qo;if(F===null)throw Error(e(404));return _=rn++,x=":"+F.idPrefix+"R"+x,0<_&&(x+="H"+_.toString(32)),x+":"},useMutableSource:function(x,_){return zt(),_(x._source)},useSyncExternalStore:function(x,_,F){if(F===void 0)throw Error(e(407));return F()}},Qo=null,ur=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function En(x){return console.error(x),null}function Zn(){}function on(x,_,F,H,ie,$,he,De,Ie){var tt=[],ut=new Set;return _={destination:null,responseState:_,progressiveChunkSize:H===void 0?12800:H,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ut,pingedTasks:tt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ie===void 0?En:ie,onAllReady:Zn,onShellReady:he===void 0?Zn:he,onShellError:Zn,onFatalError:Zn},F=co(_,0,null,F,!1,!1),F.parentFlushed=!0,x=Ho(_,x,null,F,ut,mt,null,Be),tt.push(x),_}function Ho(x,_,F,H,ie,$,he,De){x.allPendingTasks++,F===null?x.pendingRootTasks++:F.pendingTasks++;var Ie={node:_,ping:function(){var tt=x.pingedTasks;tt.push(Ie),tt.length===1&&$n(x)},blockedBoundary:F,blockedSegment:H,abortSet:ie,legacyContext:$,context:he,treeContext:De};return ie.add(Ie),Ie}function co(x,_,F,H,ie,$){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:H,boundary:F,lastPushedText:ie,textEmbedded:$}}function Uo(x,_){if(x=x.onError(_),x!=null&&typeof x!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof x+'" instead');return x}function pi(x,_){var F=x.onShellError;F(_),F=x.onFatalError,F(_),x.destination!==null?(x.status=2,x.destination.destroy(_)):(x.status=1,x.fatalError=_)}function _s(x,_,F,H,ie){for(Ne={},bt=_,rn=0,x=F(H,ie);qt;)qt=!1,rn=0,an+=1,it=null,x=F(H,ie);return Ir(),x}function Pa(x,_,F,H){var ie=F.render(),$=H.childContextTypes;if($!=null){var he=_.legacyContext;if(typeof F.getChildContext!="function")H=he;else{F=F.getChildContext();for(var De in F)if(!(De in $))throw Error(e(108,yt(H)||"Unknown",De));H=I({},he,F)}_.legacyContext=H,On(x,_,ie),_.legacyContext=he}else On(x,_,ie)}function Da(x,_){if(x&&x.defaultProps){_=I({},_),x=x.defaultProps;for(var F in x)_[F]===void 0&&(_[F]=x[F]);return _}return _}function Lt(x,_,F,H,ie){if(typeof F=="function")if(F.prototype&&F.prototype.isReactComponent){ie=Rt(F,_.legacyContext);var $=F.contextType;$=new F(H,typeof $=="object"&&$!==null?$._currentValue2:ie),Le($,F,H,ie),Pa(x,_,$,F)}else{$=Rt(F,_.legacyContext),ie=_s(x,_,F,H,$);var he=rn!==0;if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0)Le(ie,F,H,$),Pa(x,_,ie,F);else if(he){H=_.treeContext,_.treeContext=ct(H,1,0);try{On(x,_,ie)}finally{_.treeContext=H}}else On(x,_,ie)}else if(typeof F=="string"){switch(ie=_.blockedSegment,$=oe(ie.chunks,F,H,x.responseState,ie.formatContext),ie.lastPushedText=!1,he=ie.formatContext,ie.formatContext=D(he,F,H),qi(x,_,$),ie.formatContext=he,F){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ie.chunks.push("</",F,">")}ie.lastPushedText=!1}else{switch(F){case At:case Ge:case we:case _e:case me:On(x,_,H.children);return;case wt:On(x,_,H.children);return;case Xe:throw Error(e(343));case $e:e:{F=_.blockedBoundary,ie=_.blockedSegment,$=H.fallback,H=H.children,he=new Set;var De={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:he,errorDigest:null},Ie=co(x,ie.chunks.length,De,ie.formatContext,!1,!1);ie.children.push(Ie),ie.lastPushedText=!1;var tt=co(x,0,null,ie.formatContext,!1,!1);tt.parentFlushed=!0,_.blockedBoundary=De,_.blockedSegment=tt;try{if(qi(x,_,H),x.responseState.generateStaticMarkup||tt.lastPushedText&&tt.textEmbedded&&tt.chunks.push("<!-- -->"),tt.status=1,uo(De,tt),De.pendingTasks===0)break e}catch(ut){tt.status=4,De.forceClientRender=!0,De.errorDigest=Uo(x,ut)}finally{_.blockedBoundary=F,_.blockedSegment=ie}_=Ho(x,$,F,Ie,he,_.legacyContext,_.context,_.treeContext),x.pingedTasks.push(_)}return}if(typeof F=="object"&&F!==null)switch(F.$$typeof){case ze:if(H=_s(x,_,F.render,H,ie),rn!==0){F=_.treeContext,_.treeContext=ct(F,1,0);try{On(x,_,H)}finally{_.treeContext=F}}else On(x,_,H);return;case Me:F=F.type,H=Da(F,H),Lt(x,_,F,H,ie);return;case Oe:if(ie=H.children,F=F._context,H=H.value,$=F._currentValue2,F._currentValue2=H,he=dt,dt=H={parent:he,depth:he===null?0:he.depth+1,context:F,parentValue:$,value:H},_.context=H,On(x,_,ie),x=dt,x===null)throw Error(e(403));H=x.parentValue,x.context._currentValue2=H===lt?x.context._defaultValue:H,x=dt=x.parent,_.context=x;return;case Ve:H=H.children,H=H(F._currentValue2),On(x,_,H);return;case Ee:ie=F._init,F=ie(F._payload),H=Da(F,H),Lt(x,_,F,H,void 0);return}throw Error(e(130,F==null?F:typeof F,""))}}function On(x,_,F){if(_.node=F,typeof F=="object"&&F!==null){switch(F.$$typeof){case J:Lt(x,_,F.type,F.props,F.ref);return;case ve:throw Error(e(257));case Ee:var H=F._init;F=H(F._payload),On(x,_,F);return}if(P(F)){Yi(x,_,F);return}if(F===null||typeof F!="object"?H=null:(H=gt&&F[gt]||F["@@iterator"],H=typeof H=="function"?H:null),H&&(H=H.call(F))){if(F=H.next(),!F.done){var ie=[];do ie.push(F.value),F=H.next();while(!F.done);Yi(x,_,ie)}return}throw x=Object.prototype.toString.call(F),Error(e(31,x==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":x))}typeof F=="string"?(H=_.blockedSegment,H.lastPushedText=de(_.blockedSegment.chunks,F,x.responseState,H.lastPushedText)):typeof F=="number"&&(H=_.blockedSegment,H.lastPushedText=de(_.blockedSegment.chunks,""+F,x.responseState,H.lastPushedText))}function Yi(x,_,F){for(var H=F.length,ie=0;ie<H;ie++){var $=_.treeContext;_.treeContext=ct($,H,ie);try{qi(x,_,F[ie])}finally{_.treeContext=$}}}function qi(x,_,F){var H=_.blockedSegment.formatContext,ie=_.legacyContext,$=_.context;try{return On(x,_,F)}catch(Ie){if(Ir(),typeof Ie=="object"&&Ie!==null&&typeof Ie.then=="function"){F=Ie;var he=_.blockedSegment,De=co(x,he.chunks.length,null,he.formatContext,he.lastPushedText,!0);he.children.push(De),he.lastPushedText=!1,x=Ho(x,_.node,_.blockedBoundary,De,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,F.then(x,x),_.blockedSegment.formatContext=H,_.legacyContext=ie,_.context=$,_t($)}else throw _.blockedSegment.formatContext=H,_.legacyContext=ie,_.context=$,_t($),Ie}}function Vo(x){var _=x.blockedBoundary;x=x.blockedSegment,x.status=3,Or(this,_,x)}function Ta(x,_,F){var H=x.blockedBoundary;x.blockedSegment.status=3,H===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.push(null))):(H.pendingTasks--,H.forceClientRender||(H.forceClientRender=!0,x=F===void 0?Error(e(432)):F,H.errorDigest=_.onError(x),H.parentFlushed&&_.clientRenderedBoundaries.push(H)),H.fallbackAbortableTasks.forEach(function(ie){return Ta(ie,_,F)}),H.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(H=_.onAllReady,H()))}function uo(x,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var F=_.children[0];F.id=_.id,F.parentFlushed=!0,F.status===1&&uo(x,F)}else x.completedSegments.push(_)}function Or(x,_,F){if(_===null){if(F.parentFlushed){if(x.completedRootSegment!==null)throw Error(e(389));x.completedRootSegment=F}x.pendingRootTasks--,x.pendingRootTasks===0&&(x.onShellError=Zn,_=x.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(F.parentFlushed&&F.status===1&&uo(_,F),_.parentFlushed&&x.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Vo,x),_.fallbackAbortableTasks.clear()):F.parentFlushed&&F.status===1&&(uo(_,F),_.completedSegments.length===1&&_.parentFlushed&&x.partialBoundaries.push(_)));x.allPendingTasks--,x.allPendingTasks===0&&(x=x.onAllReady,x())}function $n(x){if(x.status!==2){var _=dt,F=ur.current;ur.current=Mr;var H=Qo;Qo=x.responseState;try{var ie=x.pingedTasks,$;for($=0;$<ie.length;$++){var he=ie[$],De=x,Ie=he.blockedSegment;if(Ie.status===0){_t(he.context);try{On(De,he,he.node),De.responseState.generateStaticMarkup||Ie.lastPushedText&&Ie.textEmbedded&&Ie.chunks.push("<!-- -->"),he.abortSet.delete(he),Ie.status=1,Or(De,he.blockedBoundary,Ie)}catch(Un){if(Ir(),typeof Un=="object"&&Un!==null&&typeof Un.then=="function"){var tt=he.ping;Un.then(tt,tt)}else{he.abortSet.delete(he),Ie.status=4;var ut=he.blockedBoundary,It=Un,dr=Uo(De,It);if(ut===null?pi(De,It):(ut.pendingTasks--,ut.forceClientRender||(ut.forceClientRender=!0,ut.errorDigest=dr,ut.parentFlushed&&De.clientRenderedBoundaries.push(ut))),De.allPendingTasks--,De.allPendingTasks===0){var fr=De.onAllReady;fr()}}}}}ie.splice(0,$),x.destination!==null&&fo(x,x.destination)}catch(Un){Uo(x,Un),pi(x,Un)}finally{Qo=H,ur.current=F,F===Mr&&_t(_)}}}function hi(x,_,F){switch(F.parentFlushed=!0,F.status){case 0:var H=F.id=x.nextSegmentId++;return F.lastPushedText=!1,F.textEmbedded=!1,x=x.responseState,_.push('<template id="'),_.push(x.placeholderPrefix),x=H.toString(16),_.push(x),_.push('"></template>');case 1:F.status=2;var ie=!0;H=F.chunks;var $=0;F=F.children;for(var he=0;he<F.length;he++){for(ie=F[he];$<ie.index;$++)_.push(H[$]);ie=bn(x,_,ie)}for(;$<H.length-1;$++)_.push(H[$]);return $<H.length&&(ie=_.push(H[$])),ie;default:throw Error(e(390))}}function bn(x,_,F){var H=F.boundary;if(H===null)return hi(x,_,F);if(H.parentFlushed=!0,H.forceClientRender)return x.responseState.generateStaticMarkup||(H=H.errorDigest,_.push("<!--$!-->"),_.push("<template"),H&&(_.push(' data-dgst="'),H=y(H),_.push(H),_.push('"')),_.push("></template>")),hi(x,_,F),x=x.responseState.generateStaticMarkup?!0:_.push("<!--/$-->"),x;if(0<H.pendingTasks){H.rootSegmentID=x.nextSegmentId++,0<H.completedSegments.length&&x.partialBoundaries.push(H);var ie=x.responseState,$=ie.nextSuspenseID++;return ie=ie.boundaryPrefix+$.toString(16),H=H.id=ie,ue(_,x.responseState,H),hi(x,_,F),_.push("<!--/$-->")}if(H.byteSize>x.progressiveChunkSize)return H.rootSegmentID=x.nextSegmentId++,x.completedBoundaries.push(H),ue(_,x.responseState,H.id),hi(x,_,F),_.push("<!--/$-->");if(x.responseState.generateStaticMarkup||_.push("<!--$-->"),F=H.completedSegments,F.length!==1)throw Error(e(391));return bn(x,_,F[0]),x=x.responseState.generateStaticMarkup?!0:_.push("<!--/$-->"),x}function Is(x,_,F){return te(_,x.responseState,F.formatContext,F.id),bn(x,_,F),pe(_,F.formatContext)}function Ms(x,_,F){for(var H=F.completedSegments,ie=0;ie<H.length;ie++)Os(x,_,F,H[ie]);if(H.length=0,x=x.responseState,H=F.id,F=F.rootSegmentID,_.push(x.startInlineScript),x.sentCompleteBoundaryFunction?_.push('$RC("'):(x.sentCompleteBoundaryFunction=!0,_.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),H===null)throw Error(e(395));return F=F.toString(16),_.push(H),_.push('","'),_.push(x.segmentPrefix),_.push(F),_.push('")<\/script>')}function Os(x,_,F,H){if(H.status===2)return!0;var ie=H.id;if(ie===-1){if((H.id=F.rootSegmentID)===-1)throw Error(e(392));return Is(x,_,H)}return Is(x,_,H),x=x.responseState,_.push(x.startInlineScript),x.sentCompleteSegmentFunction?_.push('$RS("'):(x.sentCompleteSegmentFunction=!0,_.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),_.push(x.segmentPrefix),ie=ie.toString(16),_.push(ie),_.push('","'),_.push(x.placeholderPrefix),_.push(ie),_.push('")<\/script>')}function fo(x,_){try{var F=x.completedRootSegment;if(F!==null&&x.pendingRootTasks===0){bn(x,_,F),x.completedRootSegment=null;var H=x.responseState.bootstrapChunks;for(F=0;F<H.length-1;F++)_.push(H[F]);F<H.length&&_.push(H[F])}var ie=x.clientRenderedBoundaries,$;for($=0;$<ie.length;$++){var he=ie[$];H=_;var De=x.responseState,Ie=he.id,tt=he.errorDigest,ut=he.errorMessage,It=he.errorComponentStack;if(H.push(De.startInlineScript),De.sentClientRenderFunction?H.push('$RX("'):(De.sentClientRenderFunction=!0,H.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Ie===null)throw Error(e(395));if(H.push(Ie),H.push('"'),tt||ut||It){H.push(",");var dr=G(tt||"");H.push(dr)}if(ut||It){H.push(",");var fr=G(ut||"");H.push(fr)}if(It){H.push(",");var Un=G(It);H.push(Un)}if(!H.push(")<\/script>")){x.destination=null,$++,ie.splice(0,$);return}}ie.splice(0,$);var po=x.completedBoundaries;for($=0;$<po.length;$++)if(!Ms(x,_,po[$])){x.destination=null,$++,po.splice(0,$);return}po.splice(0,$);var pr=x.partialBoundaries;for($=0;$<pr.length;$++){var hr=pr[$];e:{ie=x,he=_;var Vn=hr.completedSegments;for(De=0;De<Vn.length;De++)if(!Os(ie,he,hr,Vn[De])){De++,Vn.splice(0,De);var Rr=!1;break e}Vn.splice(0,De),Rr=!0}if(!Rr){x.destination=null,$++,pr.splice(0,$);return}}pr.splice(0,$);var Ar=x.completedBoundaries;for($=0;$<Ar.length;$++)if(!Ms(x,_,Ar[$])){x.destination=null,$++,Ar.splice(0,$);return}Ar.splice(0,$)}finally{x.allPendingTasks===0&&x.pingedTasks.length===0&&x.clientRenderedBoundaries.length===0&&x.completedBoundaries.length===0&&_.push(null)}}function Ai(x,_){try{var F=x.abortableTasks;F.forEach(function(H){return Ta(H,x,_)}),F.clear(),x.destination!==null&&fo(x,x.destination)}catch(H){Uo(x,H),pi(x,H)}}function Wo(){}function Yo(x,_,F,H){var ie=!1,$=null,he="",De={push:function(tt){return tt!==null&&(he+=tt),!0},destroy:function(tt){ie=!0,$=tt}},Ie=!1;if(x=on(x,N(F,_?_.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wo,void 0,function(){Ie=!0}),$n(x),Ai(x,H),x.status===1)x.status=2,De.destroy(x.fatalError);else if(x.status!==2&&x.destination===null){x.destination=De;try{fo(x,De)}catch(tt){Uo(x,tt),pi(x,tt)}}if(ie)throw $;if(!Ie)throw Error(e(426));return he}return ps.renderToNodeStream=function(){throw Error(e(207))},ps.renderToStaticMarkup=function(x,_){return Yo(x,_,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ps.renderToStaticNodeStream=function(){throw Error(e(208))},ps.renderToString=function(x,_){return Yo(x,_,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ps.version="18.3.1",ps}var Qc={};var pm;function NS(){if(pm)return Qc;pm=1;var t=il();function e(k){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+k,L=1;L<arguments.length;L++)B+="&args[]="+encodeURIComponent(arguments[L]);return"Minified React error #"+k+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function o(k,B){if(B.length!==0)if(512<B.length)0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),k.enqueue(B);else{var L=n.length-r;L<B.length&&(L===0?k.enqueue(n):(n.set(B.subarray(0,L),r),k.enqueue(n),B=B.subarray(L)),n=new Uint8Array(512),r=0),n.set(B,r),r+=B.length}}function i(k,B){return o(k,B),!0}function a(k){n&&0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var l=new TextEncoder;function u(k){return l.encode(k)}function d(k){return l.encode(k)}function p(k,B){typeof k.error=="function"?k.error(B):k.close()}var h=Object.prototype.hasOwnProperty,A=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},y={};function w(k){return h.call(y,k)?!0:h.call(m,k)?!1:A.test(k)?y[k]=!0:(m[k]=!0,!1)}function b(k,B,L,Q,ae,re,Ae){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=Q,this.attributeNamespace=ae,this.mustUseProperty=L,this.propertyName=k,this.type=B,this.sanitizeURL=re,this.removeEmptyString=Ae}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k){P[k]=new b(k,0,!1,k,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(k){var B=k[0];P[B]=new b(B,1,!1,k[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(k){P[k]=new b(k,2,!1,k.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(k){P[k]=new b(k,2,!1,k,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(k){P[k]=new b(k,3,!1,k.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(k){P[k]=new b(k,3,!0,k,null,!1,!1)}),["capture","download"].forEach(function(k){P[k]=new b(k,4,!1,k,null,!1,!1)}),["cols","rows","size","span"].forEach(function(k){P[k]=new b(k,6,!1,k,null,!1,!1)}),["rowSpan","start"].forEach(function(k){P[k]=new b(k,5,!1,k.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function D(k){return k[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(k){P[k]=new b(k,1,!1,k.toLowerCase(),null,!1,!1)}),P.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(k){P[k]=new b(k,1,!1,k.toLowerCase(),null,!0,!0)});var C={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},j=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(k){j.forEach(function(B){B=B+k.charAt(0).toUpperCase()+k.substring(1),C[B]=C[k]})});var R=/["'&<>]/;function z(k){if(typeof k=="boolean"||typeof k=="number")return""+k;k=""+k;var B=R.exec(k);if(B){var L="",Q,ae=0;for(Q=B.index;Q<k.length;Q++){switch(k.charCodeAt(Q)){case 34:B="&quot;";break;case 38:B="&amp;";break;case 39:B="&#x27;";break;case 60:B="&lt;";break;case 62:B="&gt;";break;default:continue}ae!==Q&&(L+=k.substring(ae,Q)),ae=Q+1,L+=B}k=ae!==Q?L+k.substring(ae,Q):L}return k}var V=/([A-Z])/g,K=/^ms-/,q=Array.isArray,Z=d("<script>"),W=d("<\/script>"),oe=d('<script src="'),ue=d('<script type="module" src="'),te=d('" async=""><\/script>'),pe=/(<\/|<)(s)(cript)/gi;function ee(k,B,L,Q){return""+B+(L==="s"?"\\u0073":"\\u0053")+Q}function G(k,B,L,Q,ae){k=k===void 0?"":k,B=B===void 0?Z:d('<script nonce="'+z(B)+'">');var re=[];if(L!==void 0&&re.push(B,u((""+L).replace(pe,ee)),W),Q!==void 0)for(L=0;L<Q.length;L++)re.push(oe,u(z(Q[L])),te);if(ae!==void 0)for(Q=0;Q<ae.length;Q++)re.push(ue,u(z(ae[Q])),te);return{bootstrapChunks:re,startInlineScript:B,placeholderPrefix:d(k+"P:"),segmentPrefix:d(k+"S:"),boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function N(k,B){return{insertionMode:k,selectedValue:B}}function de(k){return N(k==="http://www.w3.org/2000/svg"?2:k==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function I(k,B,L){switch(B){case"select":return N(1,L.value!=null?L.value:L.defaultValue);case"svg":return N(2,null);case"math":return N(3,null);case"foreignObject":return N(1,null);case"table":return N(4,null);case"thead":case"tbody":case"tfoot":return N(5,null);case"colgroup":return N(7,null);case"tr":return N(6,null)}return 4<=k.insertionMode||k.insertionMode===0?N(1,null):k}var J=d("<!-- -->");function ve(k,B,L,Q){return B===""?Q:(Q&&k.push(J),k.push(u(z(B))),!0)}var me=new Map,we=d(' style="'),_e=d(":"),Oe=d(";");function Ve(k,B,L){if(typeof L!="object")throw Error(e(62));B=!0;for(var Q in L)if(h.call(L,Q)){var ae=L[Q];if(ae!=null&&typeof ae!="boolean"&&ae!==""){if(Q.indexOf("--")===0){var re=u(z(Q));ae=u(z((""+ae).trim()))}else{re=Q;var Ae=me.get(re);Ae!==void 0||(Ae=d(z(re.replace(V,"-$1").toLowerCase().replace(K,"-ms-"))),me.set(re,Ae)),re=Ae,ae=typeof ae=="number"?ae===0||h.call(C,Q)?u(""+ae):u(ae+"px"):u(z((""+ae).trim()))}B?(B=!1,k.push(we,re,_e,ae)):k.push(Oe,re,_e,ae)}}B||k.push(wt)}var ze=d(" "),$e=d('="'),wt=d('"'),Me=d('=""');function Ee(k,B,L,Q){switch(L){case"style":Ve(k,B,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<L.length)||L[0]!=="o"&&L[0]!=="O"||L[1]!=="n"&&L[1]!=="N"){if(B=P.hasOwnProperty(L)?P[L]:null,B!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch(L=u(B.attributeName),B.type){case 3:Q&&k.push(ze,L,Me);break;case 4:Q===!0?k.push(ze,L,Me):Q!==!1&&k.push(ze,L,$e,u(z(Q)),wt);break;case 5:isNaN(Q)||k.push(ze,L,$e,u(z(Q)),wt);break;case 6:!isNaN(Q)&&1<=Q&&k.push(ze,L,$e,u(z(Q)),wt);break;default:B.sanitizeURL&&(Q=""+Q),k.push(ze,L,$e,u(z(Q)),wt)}}else if(w(L)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(B=L.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}k.push(ze,u(L),$e,u(z(Q)),wt)}}}var Xe=d(">"),Ge=d("/>");function At(k,B,L){if(B!=null){if(L!=null)throw Error(e(60));if(typeof B!="object"||!("__html"in B))throw Error(e(61));B=B.__html,B!=null&&k.push(u(""+B))}}function lt(k){var B="";return t.Children.forEach(k,function(L){L!=null&&(B+=L)}),B}var gt=d(' selected=""');function yt(k,B,L,Q){k.push(Ke(L));var ae=L=null,re;for(re in B)if(h.call(B,re)){var Ae=B[re];if(Ae!=null)switch(re){case"children":L=Ae;break;case"dangerouslySetInnerHTML":ae=Ae;break;default:Ee(k,Q,re,Ae)}}return k.push(Xe),At(k,ae,L),typeof L=="string"?(k.push(u(z(L))),null):L}var mt=d(`
16
+ `),$;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":x.push(W(_));for(var fr in F)if(n.call(F,fr)&&($=F[fr],$!=null))switch(fr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,_));default:R(x,H,fr,$)}return x.push("/>"),null;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 K(x,F,_,H);case"html":return ie.insertionMode===0&&x.push("<!DOCTYPE html>"),K(x,F,_,H);default:if(_.indexOf("-")===-1&&typeof F.is!="string")return K(x,F,_,H);x.push(W(_)),he=$=null;for(tt in F)if(n.call(F,tt)&&(De=F[tt],De!=null))switch(tt){case"children":$=De;break;case"dangerouslySetInnerHTML":he=De;break;case"style":j(x,H,De);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(tt)&&typeof De!="function"&&typeof De!="symbol"&&x.push(" ",tt,'="',y(De),'"')}return x.push(">"),z(x,he,$),$}}function ue(x,_,F){if(x.push('<!--$?--><template id="'),F===null)throw Error(e(395));return x.push(F),x.push('"></template>')}function te(x,_,F,H){switch(F.insertionMode){case 0:case 1:return x.push('<div hidden id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 2:return x.push('<svg aria-hidden="true" style="display:none" id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 3:return x.push('<math aria-hidden="true" style="display:none" id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 4:return x.push('<table hidden id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 5:return x.push('<table hidden><tbody id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 6:return x.push('<table hidden><tr id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');case 7:return x.push('<table hidden><colgroup id="'),x.push(_.segmentPrefix),_=H.toString(16),x.push(_),x.push('">');default:throw Error(e(397))}}function pe(x,_){switch(_.insertionMode){case 0:case 1:return x.push("</div>");case 2:return x.push("</svg>");case 3:return x.push("</math>");case 4:return x.push("</table>");case 5:return x.push("</tbody></table>");case 6:return x.push("</tr></table>");case 7:return x.push("</colgroup></table>");default:throw Error(e(397))}}var ee=/[<\u2028\u2029]/g;function G(x){return JSON.stringify(x).replace(ee,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function N(x,_){return _=_===void 0?"":_,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:_+"P:",segmentPrefix:_+"S:",boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:x}}function de(x,_,F,H){return F.generateStaticMarkup?(x.push(y(_)),!1):(_===""?x=H:(H&&x.push("<!-- -->"),x.push(y(_)),x=!0),x)}var I=Object.assign,J=Symbol.for("react.element"),ve=Symbol.for("react.portal"),me=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Ve=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),wt=Symbol.for("react.suspense_list"),Me=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),Xe=Symbol.for("react.scope"),Ge=Symbol.for("react.debug_trace_mode"),At=Symbol.for("react.legacy_hidden"),lt=Symbol.for("react.default_value"),gt=Symbol.iterator;function yt(x){if(x==null)return null;if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case me:return"Fragment";case ve:return"Portal";case _e:return"Profiler";case we:return"StrictMode";case $e:return"Suspense";case wt:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case Ve:return(x.displayName||"Context")+".Consumer";case Oe:return(x._context.displayName||"Context")+".Provider";case ze:var _=x.render;return x=x.displayName,x||(x=_.displayName||_.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Me:return _=x.displayName||null,_!==null?_:yt(x.type)||"Memo";case Ee:_=x._payload,x=x._init;try{return yt(x(_))}catch{}}return null}var mt={};function Rt(x,_){if(x=x.contextTypes,!x)return mt;var F={},H;for(H in x)F[H]=_[H];return F}var dt=null;function Ke(x,_){if(x!==_){x.context._currentValue2=x.parentValue,x=x.parent;var F=_.parent;if(x===null){if(F!==null)throw Error(e(401))}else{if(F===null)throw Error(e(401));Ke(x,F)}_.context._currentValue2=_.value}}function fn(x){x.context._currentValue2=x.parentValue,x=x.parent,x!==null&&fn(x)}function Yt(x){var _=x.parent;_!==null&&Yt(_),x.context._currentValue2=x.value}function vn(x,_){if(x.context._currentValue2=x.parentValue,x=x.parent,x===null)throw Error(e(402));x.depth===_.depth?Ke(x,_):vn(x,_)}function qt(x,_){var F=_.parent;if(F===null)throw Error(e(402));x.depth===F.depth?Ke(x,F):qt(x,F),_.context._currentValue2=_.value}function _t(x){var _=dt;_!==x&&(_===null?Yt(x):x===null?fn(_):_.depth===x.depth?Ke(_,x):_.depth>x.depth?vn(_,x):qt(_,x),dt=x)}var fe={isMounted:function(){return!1},enqueueSetState:function(x,_){x=x._reactInternals,x.queue!==null&&x.queue.push(_)},enqueueReplaceState:function(x,_){x=x._reactInternals,x.replace=!0,x.queue=[_]},enqueueForceUpdate:function(){}};function Le(x,_,F,H){var ie=x.state!==void 0?x.state:null;x.updater=fe,x.props=F,x.state=ie;var $={queue:[],replace:!1};x._reactInternals=$;var he=_.contextType;if(x.context=typeof he=="object"&&he!==null?he._currentValue2:H,he=_.getDerivedStateFromProps,typeof he=="function"&&(he=he(F,ie),ie=he==null?ie:I({},ie,he),x.state=ie),typeof _.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function"))if(_=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),_!==x.state&&fe.enqueueReplaceState(x,x.state,null),$.queue!==null&&0<$.queue.length)if(_=$.queue,he=$.replace,$.queue=null,$.replace=!1,he&&_.length===1)x.state=_[0];else{for($=he?_[0]:x.state,ie=!0,he=he?1:0;he<_.length;he++){var De=_[he];De=typeof De=="function"?De.call(x,$,F,H):De,De!=null&&(ie?(ie=!1,$=I({},$,De)):I($,De))}x.state=$}else $.queue=null}var Be={id:1,overflow:""};function ct(x,_,F){var H=x.id;x=x.overflow;var ie=32-We(H)-1;H&=~(1<<ie),F+=1;var $=32-We(_)+ie;if(30<$){var he=ie-ie%5;return $=(H&(1<<he)-1).toString(32),H>>=he,ie-=he,{id:1<<32-We(_)+ie|F<<ie|H,overflow:$+x}}return{id:1<<$|F<<ie|H,overflow:x}}var We=Math.clz32?Math.clz32:Te,le=Math.log,Ce=Math.LN2;function Te(x){return x>>>=0,x===0?32:31-(le(x)/Ce|0)|0}function qe(x,_){return x===_&&(x!==0||1/x===1/_)||x!==x&&_!==_}var He=typeof Object.is=="function"?Object.is:qe,Ne=null,bt=null,xt=null,it=null,$t=!1,Kt=!1,rn=0,Ut=null,an=0;function zt(){if(Ne===null)throw Error(e(321));return Ne}function Sn(){if(0<an)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Qn(){return it===null?xt===null?($t=!1,xt=it=Sn()):($t=!0,it=xt):it.next===null?($t=!1,it=it.next=Sn()):($t=!0,it=it.next),it}function Ir(){bt=Ne=null,Kt=!1,xt=null,an=0,it=Ut=null}function ln(x,_){return typeof _=="function"?_(x):_}function Hn(x,_,F){if(Ne=zt(),it=Qn(),$t){var H=it.queue;if(_=H.dispatch,Ut!==null&&(F=Ut.get(H),F!==void 0)){Ut.delete(H),H=it.memoizedState;do H=x(H,F.action),F=F.next;while(F!==null);return it.memoizedState=H,[H,_]}return[it.memoizedState,_]}return x=x===ln?typeof _=="function"?_():_:F!==void 0?F(_):_,it.memoizedState=x,x=it.queue={last:null,dispatch:null},x=x.dispatch=Jn.bind(null,Ne,x),[it.memoizedState,x]}function yn(x,_){if(Ne=zt(),it=Qn(),_=_===void 0?null:_,it!==null){var F=it.memoizedState;if(F!==null&&_!==null){var H=F[1];e:if(H===null)H=!1;else{for(var ie=0;ie<H.length&&ie<_.length;ie++)if(!He(_[ie],H[ie])){H=!1;break e}H=!0}if(H)return F[0]}}return x=x(),it.memoizedState=[x,_],x}function Jn(x,_,F){if(25<=an)throw Error(e(301));if(x===Ne)if(Kt=!0,x={action:F,next:null},Ut===null&&(Ut=new Map),F=Ut.get(_),F===void 0)Ut.set(_,x);else{for(_=F;_.next!==null;)_=_.next;_.next=x}}function Mn(){throw Error(e(394))}function pn(){}var Mr={readContext:function(x){return x._currentValue2},useContext:function(x){return zt(),x._currentValue2},useMemo:yn,useReducer:Hn,useRef:function(x){Ne=zt(),it=Qn();var _=it.memoizedState;return _===null?(x={current:x},it.memoizedState=x):_},useState:function(x){return Hn(ln,x)},useInsertionEffect:pn,useLayoutEffect:function(){},useCallback:function(x,_){return yn(function(){return x},_)},useImperativeHandle:pn,useEffect:pn,useDebugValue:pn,useDeferredValue:function(x){return zt(),x},useTransition:function(){return zt(),[!1,Mn]},useId:function(){var x=bt.treeContext,_=x.overflow;x=x.id,x=(x&~(1<<32-We(x)-1)).toString(32)+_;var F=Qo;if(F===null)throw Error(e(404));return _=rn++,x=":"+F.idPrefix+"R"+x,0<_&&(x+="H"+_.toString(32)),x+":"},useMutableSource:function(x,_){return zt(),_(x._source)},useSyncExternalStore:function(x,_,F){if(F===void 0)throw Error(e(407));return F()}},Qo=null,ur=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function En(x){return console.error(x),null}function Zn(){}function on(x,_,F,H,ie,$,he,De,Ie){var tt=[],ut=new Set;return _={destination:null,responseState:_,progressiveChunkSize:H===void 0?12800:H,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ut,pingedTasks:tt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ie===void 0?En:ie,onAllReady:Zn,onShellReady:he===void 0?Zn:he,onShellError:Zn,onFatalError:Zn},F=co(_,0,null,F,!1,!1),F.parentFlushed=!0,x=Ho(_,x,null,F,ut,mt,null,Be),tt.push(x),_}function Ho(x,_,F,H,ie,$,he,De){x.allPendingTasks++,F===null?x.pendingRootTasks++:F.pendingTasks++;var Ie={node:_,ping:function(){var tt=x.pingedTasks;tt.push(Ie),tt.length===1&&$n(x)},blockedBoundary:F,blockedSegment:H,abortSet:ie,legacyContext:$,context:he,treeContext:De};return ie.add(Ie),Ie}function co(x,_,F,H,ie,$){return{status:0,id:-1,index:_,parentFlushed:!1,chunks:[],children:[],formatContext:H,boundary:F,lastPushedText:ie,textEmbedded:$}}function Uo(x,_){if(x=x.onError(_),x!=null&&typeof x!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof x+'" instead');return x}function pi(x,_){var F=x.onShellError;F(_),F=x.onFatalError,F(_),x.destination!==null?(x.status=2,x.destination.destroy(_)):(x.status=1,x.fatalError=_)}function _s(x,_,F,H,ie){for(Ne={},bt=_,rn=0,x=F(H,ie);Kt;)Kt=!1,rn=0,an+=1,it=null,x=F(H,ie);return Ir(),x}function Pa(x,_,F,H){var ie=F.render(),$=H.childContextTypes;if($!=null){var he=_.legacyContext;if(typeof F.getChildContext!="function")H=he;else{F=F.getChildContext();for(var De in F)if(!(De in $))throw Error(e(108,yt(H)||"Unknown",De));H=I({},he,F)}_.legacyContext=H,On(x,_,ie),_.legacyContext=he}else On(x,_,ie)}function Da(x,_){if(x&&x.defaultProps){_=I({},_),x=x.defaultProps;for(var F in x)_[F]===void 0&&(_[F]=x[F]);return _}return _}function Lt(x,_,F,H,ie){if(typeof F=="function")if(F.prototype&&F.prototype.isReactComponent){ie=Rt(F,_.legacyContext);var $=F.contextType;$=new F(H,typeof $=="object"&&$!==null?$._currentValue2:ie),Le($,F,H,ie),Pa(x,_,$,F)}else{$=Rt(F,_.legacyContext),ie=_s(x,_,F,H,$);var he=rn!==0;if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0)Le(ie,F,H,$),Pa(x,_,ie,F);else if(he){H=_.treeContext,_.treeContext=ct(H,1,0);try{On(x,_,ie)}finally{_.treeContext=H}}else On(x,_,ie)}else if(typeof F=="string"){switch(ie=_.blockedSegment,$=oe(ie.chunks,F,H,x.responseState,ie.formatContext),ie.lastPushedText=!1,he=ie.formatContext,ie.formatContext=D(he,F,H),qi(x,_,$),ie.formatContext=he,F){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ie.chunks.push("</",F,">")}ie.lastPushedText=!1}else{switch(F){case At:case Ge:case we:case _e:case me:On(x,_,H.children);return;case wt:On(x,_,H.children);return;case Xe:throw Error(e(343));case $e:e:{F=_.blockedBoundary,ie=_.blockedSegment,$=H.fallback,H=H.children,he=new Set;var De={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:he,errorDigest:null},Ie=co(x,ie.chunks.length,De,ie.formatContext,!1,!1);ie.children.push(Ie),ie.lastPushedText=!1;var tt=co(x,0,null,ie.formatContext,!1,!1);tt.parentFlushed=!0,_.blockedBoundary=De,_.blockedSegment=tt;try{if(qi(x,_,H),x.responseState.generateStaticMarkup||tt.lastPushedText&&tt.textEmbedded&&tt.chunks.push("<!-- -->"),tt.status=1,uo(De,tt),De.pendingTasks===0)break e}catch(ut){tt.status=4,De.forceClientRender=!0,De.errorDigest=Uo(x,ut)}finally{_.blockedBoundary=F,_.blockedSegment=ie}_=Ho(x,$,F,Ie,he,_.legacyContext,_.context,_.treeContext),x.pingedTasks.push(_)}return}if(typeof F=="object"&&F!==null)switch(F.$$typeof){case ze:if(H=_s(x,_,F.render,H,ie),rn!==0){F=_.treeContext,_.treeContext=ct(F,1,0);try{On(x,_,H)}finally{_.treeContext=F}}else On(x,_,H);return;case Me:F=F.type,H=Da(F,H),Lt(x,_,F,H,ie);return;case Oe:if(ie=H.children,F=F._context,H=H.value,$=F._currentValue2,F._currentValue2=H,he=dt,dt=H={parent:he,depth:he===null?0:he.depth+1,context:F,parentValue:$,value:H},_.context=H,On(x,_,ie),x=dt,x===null)throw Error(e(403));H=x.parentValue,x.context._currentValue2=H===lt?x.context._defaultValue:H,x=dt=x.parent,_.context=x;return;case Ve:H=H.children,H=H(F._currentValue2),On(x,_,H);return;case Ee:ie=F._init,F=ie(F._payload),H=Da(F,H),Lt(x,_,F,H,void 0);return}throw Error(e(130,F==null?F:typeof F,""))}}function On(x,_,F){if(_.node=F,typeof F=="object"&&F!==null){switch(F.$$typeof){case J:Lt(x,_,F.type,F.props,F.ref);return;case ve:throw Error(e(257));case Ee:var H=F._init;F=H(F._payload),On(x,_,F);return}if(P(F)){Yi(x,_,F);return}if(F===null||typeof F!="object"?H=null:(H=gt&&F[gt]||F["@@iterator"],H=typeof H=="function"?H:null),H&&(H=H.call(F))){if(F=H.next(),!F.done){var ie=[];do ie.push(F.value),F=H.next();while(!F.done);Yi(x,_,ie)}return}throw x=Object.prototype.toString.call(F),Error(e(31,x==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":x))}typeof F=="string"?(H=_.blockedSegment,H.lastPushedText=de(_.blockedSegment.chunks,F,x.responseState,H.lastPushedText)):typeof F=="number"&&(H=_.blockedSegment,H.lastPushedText=de(_.blockedSegment.chunks,""+F,x.responseState,H.lastPushedText))}function Yi(x,_,F){for(var H=F.length,ie=0;ie<H;ie++){var $=_.treeContext;_.treeContext=ct($,H,ie);try{qi(x,_,F[ie])}finally{_.treeContext=$}}}function qi(x,_,F){var H=_.blockedSegment.formatContext,ie=_.legacyContext,$=_.context;try{return On(x,_,F)}catch(Ie){if(Ir(),typeof Ie=="object"&&Ie!==null&&typeof Ie.then=="function"){F=Ie;var he=_.blockedSegment,De=co(x,he.chunks.length,null,he.formatContext,he.lastPushedText,!0);he.children.push(De),he.lastPushedText=!1,x=Ho(x,_.node,_.blockedBoundary,De,_.abortSet,_.legacyContext,_.context,_.treeContext).ping,F.then(x,x),_.blockedSegment.formatContext=H,_.legacyContext=ie,_.context=$,_t($)}else throw _.blockedSegment.formatContext=H,_.legacyContext=ie,_.context=$,_t($),Ie}}function Vo(x){var _=x.blockedBoundary;x=x.blockedSegment,x.status=3,Or(this,_,x)}function Ta(x,_,F){var H=x.blockedBoundary;x.blockedSegment.status=3,H===null?(_.allPendingTasks--,_.status!==2&&(_.status=2,_.destination!==null&&_.destination.push(null))):(H.pendingTasks--,H.forceClientRender||(H.forceClientRender=!0,x=F===void 0?Error(e(432)):F,H.errorDigest=_.onError(x),H.parentFlushed&&_.clientRenderedBoundaries.push(H)),H.fallbackAbortableTasks.forEach(function(ie){return Ta(ie,_,F)}),H.fallbackAbortableTasks.clear(),_.allPendingTasks--,_.allPendingTasks===0&&(H=_.onAllReady,H()))}function uo(x,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null){var F=_.children[0];F.id=_.id,F.parentFlushed=!0,F.status===1&&uo(x,F)}else x.completedSegments.push(_)}function Or(x,_,F){if(_===null){if(F.parentFlushed){if(x.completedRootSegment!==null)throw Error(e(389));x.completedRootSegment=F}x.pendingRootTasks--,x.pendingRootTasks===0&&(x.onShellError=Zn,_=x.onShellReady,_())}else _.pendingTasks--,_.forceClientRender||(_.pendingTasks===0?(F.parentFlushed&&F.status===1&&uo(_,F),_.parentFlushed&&x.completedBoundaries.push(_),_.fallbackAbortableTasks.forEach(Vo,x),_.fallbackAbortableTasks.clear()):F.parentFlushed&&F.status===1&&(uo(_,F),_.completedSegments.length===1&&_.parentFlushed&&x.partialBoundaries.push(_)));x.allPendingTasks--,x.allPendingTasks===0&&(x=x.onAllReady,x())}function $n(x){if(x.status!==2){var _=dt,F=ur.current;ur.current=Mr;var H=Qo;Qo=x.responseState;try{var ie=x.pingedTasks,$;for($=0;$<ie.length;$++){var he=ie[$],De=x,Ie=he.blockedSegment;if(Ie.status===0){_t(he.context);try{On(De,he,he.node),De.responseState.generateStaticMarkup||Ie.lastPushedText&&Ie.textEmbedded&&Ie.chunks.push("<!-- -->"),he.abortSet.delete(he),Ie.status=1,Or(De,he.blockedBoundary,Ie)}catch(Un){if(Ir(),typeof Un=="object"&&Un!==null&&typeof Un.then=="function"){var tt=he.ping;Un.then(tt,tt)}else{he.abortSet.delete(he),Ie.status=4;var ut=he.blockedBoundary,It=Un,dr=Uo(De,It);if(ut===null?pi(De,It):(ut.pendingTasks--,ut.forceClientRender||(ut.forceClientRender=!0,ut.errorDigest=dr,ut.parentFlushed&&De.clientRenderedBoundaries.push(ut))),De.allPendingTasks--,De.allPendingTasks===0){var fr=De.onAllReady;fr()}}}}}ie.splice(0,$),x.destination!==null&&fo(x,x.destination)}catch(Un){Uo(x,Un),pi(x,Un)}finally{Qo=H,ur.current=F,F===Mr&&_t(_)}}}function hi(x,_,F){switch(F.parentFlushed=!0,F.status){case 0:var H=F.id=x.nextSegmentId++;return F.lastPushedText=!1,F.textEmbedded=!1,x=x.responseState,_.push('<template id="'),_.push(x.placeholderPrefix),x=H.toString(16),_.push(x),_.push('"></template>');case 1:F.status=2;var ie=!0;H=F.chunks;var $=0;F=F.children;for(var he=0;he<F.length;he++){for(ie=F[he];$<ie.index;$++)_.push(H[$]);ie=bn(x,_,ie)}for(;$<H.length-1;$++)_.push(H[$]);return $<H.length&&(ie=_.push(H[$])),ie;default:throw Error(e(390))}}function bn(x,_,F){var H=F.boundary;if(H===null)return hi(x,_,F);if(H.parentFlushed=!0,H.forceClientRender)return x.responseState.generateStaticMarkup||(H=H.errorDigest,_.push("<!--$!-->"),_.push("<template"),H&&(_.push(' data-dgst="'),H=y(H),_.push(H),_.push('"')),_.push("></template>")),hi(x,_,F),x=x.responseState.generateStaticMarkup?!0:_.push("<!--/$-->"),x;if(0<H.pendingTasks){H.rootSegmentID=x.nextSegmentId++,0<H.completedSegments.length&&x.partialBoundaries.push(H);var ie=x.responseState,$=ie.nextSuspenseID++;return ie=ie.boundaryPrefix+$.toString(16),H=H.id=ie,ue(_,x.responseState,H),hi(x,_,F),_.push("<!--/$-->")}if(H.byteSize>x.progressiveChunkSize)return H.rootSegmentID=x.nextSegmentId++,x.completedBoundaries.push(H),ue(_,x.responseState,H.id),hi(x,_,F),_.push("<!--/$-->");if(x.responseState.generateStaticMarkup||_.push("<!--$-->"),F=H.completedSegments,F.length!==1)throw Error(e(391));return bn(x,_,F[0]),x=x.responseState.generateStaticMarkup?!0:_.push("<!--/$-->"),x}function Is(x,_,F){return te(_,x.responseState,F.formatContext,F.id),bn(x,_,F),pe(_,F.formatContext)}function Ms(x,_,F){for(var H=F.completedSegments,ie=0;ie<H.length;ie++)Os(x,_,F,H[ie]);if(H.length=0,x=x.responseState,H=F.id,F=F.rootSegmentID,_.push(x.startInlineScript),x.sentCompleteBoundaryFunction?_.push('$RC("'):(x.sentCompleteBoundaryFunction=!0,_.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),H===null)throw Error(e(395));return F=F.toString(16),_.push(H),_.push('","'),_.push(x.segmentPrefix),_.push(F),_.push('")<\/script>')}function Os(x,_,F,H){if(H.status===2)return!0;var ie=H.id;if(ie===-1){if((H.id=F.rootSegmentID)===-1)throw Error(e(392));return Is(x,_,H)}return Is(x,_,H),x=x.responseState,_.push(x.startInlineScript),x.sentCompleteSegmentFunction?_.push('$RS("'):(x.sentCompleteSegmentFunction=!0,_.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),_.push(x.segmentPrefix),ie=ie.toString(16),_.push(ie),_.push('","'),_.push(x.placeholderPrefix),_.push(ie),_.push('")<\/script>')}function fo(x,_){try{var F=x.completedRootSegment;if(F!==null&&x.pendingRootTasks===0){bn(x,_,F),x.completedRootSegment=null;var H=x.responseState.bootstrapChunks;for(F=0;F<H.length-1;F++)_.push(H[F]);F<H.length&&_.push(H[F])}var ie=x.clientRenderedBoundaries,$;for($=0;$<ie.length;$++){var he=ie[$];H=_;var De=x.responseState,Ie=he.id,tt=he.errorDigest,ut=he.errorMessage,It=he.errorComponentStack;if(H.push(De.startInlineScript),De.sentClientRenderFunction?H.push('$RX("'):(De.sentClientRenderFunction=!0,H.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),Ie===null)throw Error(e(395));if(H.push(Ie),H.push('"'),tt||ut||It){H.push(",");var dr=G(tt||"");H.push(dr)}if(ut||It){H.push(",");var fr=G(ut||"");H.push(fr)}if(It){H.push(",");var Un=G(It);H.push(Un)}if(!H.push(")<\/script>")){x.destination=null,$++,ie.splice(0,$);return}}ie.splice(0,$);var po=x.completedBoundaries;for($=0;$<po.length;$++)if(!Ms(x,_,po[$])){x.destination=null,$++,po.splice(0,$);return}po.splice(0,$);var pr=x.partialBoundaries;for($=0;$<pr.length;$++){var hr=pr[$];e:{ie=x,he=_;var Vn=hr.completedSegments;for(De=0;De<Vn.length;De++)if(!Os(ie,he,hr,Vn[De])){De++,Vn.splice(0,De);var Rr=!1;break e}Vn.splice(0,De),Rr=!0}if(!Rr){x.destination=null,$++,pr.splice(0,$);return}}pr.splice(0,$);var Ar=x.completedBoundaries;for($=0;$<Ar.length;$++)if(!Ms(x,_,Ar[$])){x.destination=null,$++,Ar.splice(0,$);return}Ar.splice(0,$)}finally{x.allPendingTasks===0&&x.pingedTasks.length===0&&x.clientRenderedBoundaries.length===0&&x.completedBoundaries.length===0&&_.push(null)}}function Ai(x,_){try{var F=x.abortableTasks;F.forEach(function(H){return Ta(H,x,_)}),F.clear(),x.destination!==null&&fo(x,x.destination)}catch(H){Uo(x,H),pi(x,H)}}function Wo(){}function Yo(x,_,F,H){var ie=!1,$=null,he="",De={push:function(tt){return tt!==null&&(he+=tt),!0},destroy:function(tt){ie=!0,$=tt}},Ie=!1;if(x=on(x,N(F,_?_.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wo,void 0,function(){Ie=!0}),$n(x),Ai(x,H),x.status===1)x.status=2,De.destroy(x.fatalError);else if(x.status!==2&&x.destination===null){x.destination=De;try{fo(x,De)}catch(tt){Uo(x,tt),pi(x,tt)}}if(ie)throw $;if(!Ie)throw Error(e(426));return he}return ps.renderToNodeStream=function(){throw Error(e(207))},ps.renderToStaticMarkup=function(x,_){return Yo(x,_,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ps.renderToStaticNodeStream=function(){throw Error(e(208))},ps.renderToString=function(x,_){return Yo(x,_,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ps.version="18.3.1",ps}var Qc={};var pm;function NS(){if(pm)return Qc;pm=1;var t=il();function e(k){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+k,L=1;L<arguments.length;L++)B+="&args[]="+encodeURIComponent(arguments[L]);return"Minified React error #"+k+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function o(k,B){if(B.length!==0)if(512<B.length)0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),k.enqueue(B);else{var L=n.length-r;L<B.length&&(L===0?k.enqueue(n):(n.set(B.subarray(0,L),r),k.enqueue(n),B=B.subarray(L)),n=new Uint8Array(512),r=0),n.set(B,r),r+=B.length}}function i(k,B){return o(k,B),!0}function a(k){n&&0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var l=new TextEncoder;function u(k){return l.encode(k)}function d(k){return l.encode(k)}function p(k,B){typeof k.error=="function"?k.error(B):k.close()}var h=Object.prototype.hasOwnProperty,A=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},y={};function w(k){return h.call(y,k)?!0:h.call(m,k)?!1:A.test(k)?y[k]=!0:(m[k]=!0,!1)}function b(k,B,L,Q,ae,re,Ae){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=Q,this.attributeNamespace=ae,this.mustUseProperty=L,this.propertyName=k,this.type=B,this.sanitizeURL=re,this.removeEmptyString=Ae}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k){P[k]=new b(k,0,!1,k,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(k){var B=k[0];P[B]=new b(B,1,!1,k[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(k){P[k]=new b(k,2,!1,k.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(k){P[k]=new b(k,2,!1,k,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(k){P[k]=new b(k,3,!1,k.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(k){P[k]=new b(k,3,!0,k,null,!1,!1)}),["capture","download"].forEach(function(k){P[k]=new b(k,4,!1,k,null,!1,!1)}),["cols","rows","size","span"].forEach(function(k){P[k]=new b(k,6,!1,k,null,!1,!1)}),["rowSpan","start"].forEach(function(k){P[k]=new b(k,5,!1,k.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function D(k){return k[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(k){var B=k.replace(M,D);P[B]=new b(B,1,!1,k,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(k){P[k]=new b(k,1,!1,k.toLowerCase(),null,!1,!1)}),P.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(k){P[k]=new b(k,1,!1,k.toLowerCase(),null,!0,!0)});var C={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},j=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(k){j.forEach(function(B){B=B+k.charAt(0).toUpperCase()+k.substring(1),C[B]=C[k]})});var R=/["'&<>]/;function z(k){if(typeof k=="boolean"||typeof k=="number")return""+k;k=""+k;var B=R.exec(k);if(B){var L="",Q,ae=0;for(Q=B.index;Q<k.length;Q++){switch(k.charCodeAt(Q)){case 34:B="&quot;";break;case 38:B="&amp;";break;case 39:B="&#x27;";break;case 60:B="&lt;";break;case 62:B="&gt;";break;default:continue}ae!==Q&&(L+=k.substring(ae,Q)),ae=Q+1,L+=B}k=ae!==Q?L+k.substring(ae,Q):L}return k}var V=/([A-Z])/g,K=/^ms-/,q=Array.isArray,Z=d("<script>"),W=d("<\/script>"),oe=d('<script src="'),ue=d('<script type="module" src="'),te=d('" async=""><\/script>'),pe=/(<\/|<)(s)(cript)/gi;function ee(k,B,L,Q){return""+B+(L==="s"?"\\u0073":"\\u0053")+Q}function G(k,B,L,Q,ae){k=k===void 0?"":k,B=B===void 0?Z:d('<script nonce="'+z(B)+'">');var re=[];if(L!==void 0&&re.push(B,u((""+L).replace(pe,ee)),W),Q!==void 0)for(L=0;L<Q.length;L++)re.push(oe,u(z(Q[L])),te);if(ae!==void 0)for(Q=0;Q<ae.length;Q++)re.push(ue,u(z(ae[Q])),te);return{bootstrapChunks:re,startInlineScript:B,placeholderPrefix:d(k+"P:"),segmentPrefix:d(k+"S:"),boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function N(k,B){return{insertionMode:k,selectedValue:B}}function de(k){return N(k==="http://www.w3.org/2000/svg"?2:k==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function I(k,B,L){switch(B){case"select":return N(1,L.value!=null?L.value:L.defaultValue);case"svg":return N(2,null);case"math":return N(3,null);case"foreignObject":return N(1,null);case"table":return N(4,null);case"thead":case"tbody":case"tfoot":return N(5,null);case"colgroup":return N(7,null);case"tr":return N(6,null)}return 4<=k.insertionMode||k.insertionMode===0?N(1,null):k}var J=d("<!-- -->");function ve(k,B,L,Q){return B===""?Q:(Q&&k.push(J),k.push(u(z(B))),!0)}var me=new Map,we=d(' style="'),_e=d(":"),Oe=d(";");function Ve(k,B,L){if(typeof L!="object")throw Error(e(62));B=!0;for(var Q in L)if(h.call(L,Q)){var ae=L[Q];if(ae!=null&&typeof ae!="boolean"&&ae!==""){if(Q.indexOf("--")===0){var re=u(z(Q));ae=u(z((""+ae).trim()))}else{re=Q;var Ae=me.get(re);Ae!==void 0||(Ae=d(z(re.replace(V,"-$1").toLowerCase().replace(K,"-ms-"))),me.set(re,Ae)),re=Ae,ae=typeof ae=="number"?ae===0||h.call(C,Q)?u(""+ae):u(ae+"px"):u(z((""+ae).trim()))}B?(B=!1,k.push(we,re,_e,ae)):k.push(Oe,re,_e,ae)}}B||k.push(wt)}var ze=d(" "),$e=d('="'),wt=d('"'),Me=d('=""');function Ee(k,B,L,Q){switch(L){case"style":Ve(k,B,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<L.length)||L[0]!=="o"&&L[0]!=="O"||L[1]!=="n"&&L[1]!=="N"){if(B=P.hasOwnProperty(L)?P[L]:null,B!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch(L=u(B.attributeName),B.type){case 3:Q&&k.push(ze,L,Me);break;case 4:Q===!0?k.push(ze,L,Me):Q!==!1&&k.push(ze,L,$e,u(z(Q)),wt);break;case 5:isNaN(Q)||k.push(ze,L,$e,u(z(Q)),wt);break;case 6:!isNaN(Q)&&1<=Q&&k.push(ze,L,$e,u(z(Q)),wt);break;default:B.sanitizeURL&&(Q=""+Q),k.push(ze,L,$e,u(z(Q)),wt)}}else if(w(L)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(B=L.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}k.push(ze,u(L),$e,u(z(Q)),wt)}}}var Xe=d(">"),Ge=d("/>");function At(k,B,L){if(B!=null){if(L!=null)throw Error(e(60));if(typeof B!="object"||!("__html"in B))throw Error(e(61));B=B.__html,B!=null&&k.push(u(""+B))}}function lt(k){var B="";return t.Children.forEach(k,function(L){L!=null&&(B+=L)}),B}var gt=d(' selected=""');function yt(k,B,L,Q){k.push(Ke(L));var ae=L=null,re;for(re in B)if(h.call(B,re)){var Ae=B[re];if(Ae!=null)switch(re){case"children":L=Ae;break;case"dangerouslySetInnerHTML":ae=Ae;break;default:Ee(k,Q,re,Ae)}}return k.push(Xe),At(k,ae,L),typeof L=="string"?(k.push(u(z(L))),null):L}var mt=d(`
17
17
  `),Rt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dt=new Map;function Ke(k){var B=dt.get(k);if(B===void 0){if(!Rt.test(k))throw Error(e(65,k));B=d("<"+k),dt.set(k,B)}return B}var fn=d("<!DOCTYPE html>");function Yt(k,B,L,Q,ae){switch(B){case"select":k.push(Ke("select"));var re=null,Ae=null;for(st in L)if(h.call(L,st)){var ke=L[st];if(ke!=null)switch(st){case"children":re=ke;break;case"dangerouslySetInnerHTML":Ae=ke;break;case"defaultValue":case"value":break;default:Ee(k,Q,st,ke)}}return k.push(Xe),At(k,Ae,re),re;case"option":Ae=ae.selectedValue,k.push(Ke("option"));var et=ke=null,ft=null,st=null;for(re in L)if(h.call(L,re)){var Nt=L[re];if(Nt!=null)switch(re){case"children":ke=Nt;break;case"selected":ft=Nt;break;case"dangerouslySetInnerHTML":st=Nt;break;case"value":et=Nt;default:Ee(k,Q,re,Nt)}}if(Ae!=null)if(L=et!==null?""+et:lt(ke),q(Ae)){for(Q=0;Q<Ae.length;Q++)if(""+Ae[Q]===L){k.push(gt);break}}else""+Ae===L&&k.push(gt);else ft&&k.push(gt);return k.push(Xe),At(k,st,ke),ke;case"textarea":k.push(Ke("textarea")),st=Ae=re=null;for(ke in L)if(h.call(L,ke)&&(et=L[ke],et!=null))switch(ke){case"children":st=et;break;case"value":re=et;break;case"defaultValue":Ae=et;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Ee(k,Q,ke,et)}if(re===null&&Ae!==null&&(re=Ae),k.push(Xe),st!=null){if(re!=null)throw Error(e(92));if(q(st)&&1<st.length)throw Error(e(93));re=""+st}return typeof re=="string"&&re[0]===`
18
18
  `&&k.push(mt),re!==null&&k.push(u(z(""+re))),null;case"input":k.push(Ke("input")),et=st=ke=re=null;for(Ae in L)if(h.call(L,Ae)&&(ft=L[Ae],ft!=null))switch(Ae){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":et=ft;break;case"defaultValue":ke=ft;break;case"checked":st=ft;break;case"value":re=ft;break;default:Ee(k,Q,Ae,ft)}return st!==null?Ee(k,Q,"checked",st):et!==null&&Ee(k,Q,"checked",et),re!==null?Ee(k,Q,"value",re):ke!==null&&Ee(k,Q,"value",ke),k.push(Ge),null;case"menuitem":k.push(Ke("menuitem"));for(var Wn in L)if(h.call(L,Wn)&&(re=L[Wn],re!=null))switch(Wn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Ee(k,Q,Wn,re)}return k.push(Xe),null;case"title":k.push(Ke("title")),re=null;for(Nt in L)if(h.call(L,Nt)&&(Ae=L[Nt],Ae!=null))switch(Nt){case"children":re=Ae;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Ee(k,Q,Nt,Ae)}return k.push(Xe),re;case"listing":case"pre":k.push(Ke(B)),Ae=re=null;for(et in L)if(h.call(L,et)&&(ke=L[et],ke!=null))switch(et){case"children":re=ke;break;case"dangerouslySetInnerHTML":Ae=ke;break;default:Ee(k,Q,et,ke)}if(k.push(Xe),Ae!=null){if(re!=null)throw Error(e(60));if(typeof Ae!="object"||!("__html"in Ae))throw Error(e(61));L=Ae.__html,L!=null&&(typeof L=="string"&&0<L.length&&L[0]===`
19
19
  `?k.push(mt,u(L)):k.push(u(""+L)))}return typeof re=="string"&&re[0]===`
20
- `&&k.push(mt),re;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(Ke(B));for(var gr in L)if(h.call(L,gr)&&(re=L[gr],re!=null))switch(gr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,B));default:Ee(k,Q,gr,re)}return k.push(Ge),null;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 yt(k,L,B,Q);case"html":return ae.insertionMode===0&&k.push(fn),yt(k,L,B,Q);default:if(B.indexOf("-")===-1&&typeof L.is!="string")return yt(k,L,B,Q);k.push(Ke(B)),Ae=re=null;for(ft in L)if(h.call(L,ft)&&(ke=L[ft],ke!=null))switch(ft){case"children":re=ke;break;case"dangerouslySetInnerHTML":Ae=ke;break;case"style":Ve(k,Q,ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:w(ft)&&typeof ke!="function"&&typeof ke!="symbol"&&k.push(ze,u(ft),$e,u(z(ke)),wt)}return k.push(Xe),At(k,Ae,re),re}}var vn=d("</"),nn=d(">"),_t=d('<template id="'),fe=d('"></template>'),Le=d("<!--$-->"),Be=d('<!--$?--><template id="'),ct=d('"></template>'),We=d("<!--$!-->"),le=d("<!--/$-->"),Ce=d("<template"),Te=d('"'),qe=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var He=d("></template>");function Ne(k,B,L){if(o(k,Be),L===null)throw Error(e(395));return o(k,L),i(k,ct)}var bt=d('<div hidden id="'),xt=d('">'),it=d("</div>"),Zt=d('<svg aria-hidden="true" style="display:none" id="'),qt=d('">'),rn=d("</svg>"),Ut=d('<math aria-hidden="true" style="display:none" id="'),an=d('">'),zt=d("</math>"),Sn=d('<table hidden id="'),Qn=d('">'),Ir=d("</table>"),ln=d('<table hidden><tbody id="'),Hn=d('">'),yn=d("</tbody></table>"),Jn=d('<table hidden><tr id="'),Mn=d('">'),pn=d("</tr></table>"),Mr=d('<table hidden><colgroup id="'),Qo=d('">'),ur=d("</colgroup></table>");function En(k,B,L,Q){switch(L.insertionMode){case 0:case 1:return o(k,bt),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,xt);case 2:return o(k,Zt),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,qt);case 3:return o(k,Ut),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,an);case 4:return o(k,Sn),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Qn);case 5:return o(k,ln),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Hn);case 6:return o(k,Jn),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Mn);case 7:return o(k,Mr),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Qo);default:throw Error(e(397))}}function Zn(k,B){switch(B.insertionMode){case 0:case 1:return i(k,it);case 2:return i(k,rn);case 3:return i(k,zt);case 4:return i(k,Ir);case 5:return i(k,yn);case 6:return i(k,pn);case 7:return i(k,ur);default:throw Error(e(397))}}var on=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ho=d('$RS("'),co=d('","'),Uo=d('")<\/script>'),pi=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),_s=d('$RC("'),Pa=d('","'),Da=d('")<\/script>'),Lt=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),On=d('$RX("'),Yi=d('"'),qi=d(")<\/script>"),Vo=d(","),Ta=/[<\u2028\u2029]/g;function uo(k){return JSON.stringify(k).replace(Ta,function(B){switch(B){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Or=Object.assign,$n=Symbol.for("react.element"),hi=Symbol.for("react.portal"),bn=Symbol.for("react.fragment"),Is=Symbol.for("react.strict_mode"),Ms=Symbol.for("react.profiler"),Os=Symbol.for("react.provider"),fo=Symbol.for("react.context"),Ai=Symbol.for("react.forward_ref"),Wo=Symbol.for("react.suspense"),Yo=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),F=Symbol.for("react.scope"),H=Symbol.for("react.debug_trace_mode"),ie=Symbol.for("react.legacy_hidden"),$=Symbol.for("react.default_value"),he=Symbol.iterator;function De(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case bn:return"Fragment";case hi:return"Portal";case Ms:return"Profiler";case Is:return"StrictMode";case Wo:return"Suspense";case Yo:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case fo:return(k.displayName||"Context")+".Consumer";case Os:return(k._context.displayName||"Context")+".Provider";case Ai:var B=k.render;return k=k.displayName,k||(k=B.displayName||B.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case x:return B=k.displayName||null,B!==null?B:De(k.type)||"Memo";case _:B=k._payload,k=k._init;try{return De(k(B))}catch{}}return null}var Ie={};function tt(k,B){if(k=k.contextTypes,!k)return Ie;var L={},Q;for(Q in k)L[Q]=B[Q];return L}var ut=null;function It(k,B){if(k!==B){k.context._currentValue=k.parentValue,k=k.parent;var L=B.parent;if(k===null){if(L!==null)throw Error(e(401))}else{if(L===null)throw Error(e(401));It(k,L)}B.context._currentValue=B.value}}function dr(k){k.context._currentValue=k.parentValue,k=k.parent,k!==null&&dr(k)}function fr(k){var B=k.parent;B!==null&&fr(B),k.context._currentValue=k.value}function Un(k,B){if(k.context._currentValue=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===B.depth?It(k,B):Un(k,B)}function po(k,B){var L=B.parent;if(L===null)throw Error(e(402));k.depth===L.depth?It(k,L):po(k,L),B.context._currentValue=B.value}function pr(k){var B=ut;B!==k&&(B===null?fr(k):k===null?dr(B):B.depth===k.depth?It(B,k):B.depth>k.depth?Un(B,k):po(B,k),ut=k)}var hr={isMounted:function(){return!1},enqueueSetState:function(k,B){k=k._reactInternals,k.queue!==null&&k.queue.push(B)},enqueueReplaceState:function(k,B){k=k._reactInternals,k.replace=!0,k.queue=[B]},enqueueForceUpdate:function(){}};function Vn(k,B,L,Q){var ae=k.state!==void 0?k.state:null;k.updater=hr,k.props=L,k.state=ae;var re={queue:[],replace:!1};k._reactInternals=re;var Ae=B.contextType;if(k.context=typeof Ae=="object"&&Ae!==null?Ae._currentValue:Q,Ae=B.getDerivedStateFromProps,typeof Ae=="function"&&(Ae=Ae(L,ae),ae=Ae==null?ae:Or({},ae,Ae),k.state=ae),typeof B.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(B=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),B!==k.state&&hr.enqueueReplaceState(k,k.state,null),re.queue!==null&&0<re.queue.length)if(B=re.queue,Ae=re.replace,re.queue=null,re.replace=!1,Ae&&B.length===1)k.state=B[0];else{for(re=Ae?B[0]:k.state,ae=!0,Ae=Ae?1:0;Ae<B.length;Ae++){var ke=B[Ae];ke=typeof ke=="function"?ke.call(k,re,L,Q):ke,ke!=null&&(ae?(ae=!1,re=Or({},re,ke)):Or(re,ke))}k.state=re}else re.queue=null}var Rr={id:1,overflow:""};function Ar(k,B,L){var Q=k.id;k=k.overflow;var ae=32-qo(Q)-1;Q&=~(1<<ae),L+=1;var re=32-qo(B)+ae;if(30<re){var Ae=ae-ae%5;return re=(Q&(1<<Ae)-1).toString(32),Q>>=Ae,ae-=Ae,{id:1<<32-qo(B)+ae|L<<ae|Q,overflow:re+k}}return{id:1<<re|L<<ae|Q,overflow:k}}var qo=Math.clz32?Math.clz32:ad,Ko=Math.log,Wh=Math.LN2;function ad(k){return k>>>=0,k===0?32:31-(Ko(k)/Wh|0)|0}function Rs(k,B){return k===B&&(k!==0||1/k===1/B)||k!==k&&B!==B}var Yh=typeof Object.is=="function"?Object.is:Rs,Jr=null,Ki=null,Ls=null,Mt=null,ho=!1,Go=!1,Zr=0,Lr=null,Ba=0;function gi(){if(Jr===null)throw Error(e(321));return Jr}function _a(){if(0<Ba)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Gi(){return Mt===null?Ls===null?(ho=!1,Ls=Mt=_a()):(ho=!0,Mt=Ls):Mt.next===null?(ho=!1,Mt=Mt.next=_a()):(ho=!0,Mt=Mt.next),Mt}function Ns(){Ki=Jr=null,Go=!1,Ls=null,Ba=0,Mt=Lr=null}function tc(k,B){return typeof B=="function"?B(k):B}function Ao(k,B,L){if(Jr=gi(),Mt=Gi(),ho){var Q=Mt.queue;if(B=Q.dispatch,Lr!==null&&(L=Lr.get(Q),L!==void 0)){Lr.delete(Q),Q=Mt.memoizedState;do Q=k(Q,L.action),L=L.next;while(L!==null);return Mt.memoizedState=Q,[Q,B]}return[Mt.memoizedState,B]}return k=k===tc?typeof B=="function"?B():B:L!==void 0?L(B):B,Mt.memoizedState=k,k=Mt.queue={last:null,dispatch:null},k=k.dispatch=Ma.bind(null,Jr,k),[Mt.memoizedState,k]}function Ia(k,B){if(Jr=gi(),Mt=Gi(),B=B===void 0?null:B,Mt!==null){var L=Mt.memoizedState;if(L!==null&&B!==null){var Q=L[1];e:if(Q===null)Q=!1;else{for(var ae=0;ae<Q.length&&ae<B.length;ae++)if(!Yh(B[ae],Q[ae])){Q=!1;break e}Q=!0}if(Q)return L[0]}}return k=k(),Mt.memoizedState=[k,B],k}function Ma(k,B,L){if(25<=Ba)throw Error(e(301));if(k===Jr)if(Go=!0,k={action:L,next:null},Lr===null&&(Lr=new Map),L=Lr.get(B),L===void 0)Lr.set(B,k);else{for(B=L;B.next!==null;)B=B.next;B.next=k}}function ld(){throw Error(e(394))}function mi(){}var Fs={readContext:function(k){return k._currentValue},useContext:function(k){return gi(),k._currentValue},useMemo:Ia,useReducer:Ao,useRef:function(k){Jr=gi(),Mt=Gi();var B=Mt.memoizedState;return B===null?(k={current:k},Mt.memoizedState=k):B},useState:function(k){return Ao(tc,k)},useInsertionEffect:mi,useLayoutEffect:function(){},useCallback:function(k,B){return Ia(function(){return k},B)},useImperativeHandle:mi,useEffect:mi,useDebugValue:mi,useDeferredValue:function(k){return gi(),k},useTransition:function(){return gi(),[!1,ld]},useId:function(){var k=Ki.treeContext,B=k.overflow;k=k.id,k=(k&~(1<<32-qo(k)-1)).toString(32)+B;var L=js;if(L===null)throw Error(e(404));return B=Zr++,k=":"+L.idPrefix+"R"+k,0<B&&(k+="H"+B.toString(32)),k+":"},useMutableSource:function(k,B){return gi(),B(k._source)},useSyncExternalStore:function(k,B,L){if(L===void 0)throw Error(e(407));return L()}},js=null,Rn=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Xi(k){return console.error(k),null}function vi(){}function zs(k,B,L,Q,ae,re,Ae,ke,et){var ft=[],st=new Set;return B={destination:null,responseState:B,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:st,pingedTasks:ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ae===void 0?Xi:ae,onAllReady:re===void 0?vi:re,onShellReady:Ae===void 0?vi:Ae,onShellError:ke===void 0?vi:ke,onFatalError:et===void 0?vi:et},L=Ji(B,0,null,L,!1,!1),L.parentFlushed=!0,k=nc(B,k,null,L,st,Ie,null,Rr),ft.push(k),B}function nc(k,B,L,Q,ae,re,Ae,ke){k.allPendingTasks++,L===null?k.pendingRootTasks++:L.pendingTasks++;var et={node:B,ping:function(){var ft=k.pingedTasks;ft.push(et),ft.length===1&&sc(k)},blockedBoundary:L,blockedSegment:Q,abortSet:ae,legacyContext:re,context:Ae,treeContext:ke};return ae.add(et),et}function Ji(k,B,L,Q,ae,re){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:L,lastPushedText:ae,textEmbedded:re}}function yi(k,B){if(k=k.onError(B),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function Xo(k,B){var L=k.onShellError;L(B),L=k.onFatalError,L(B),k.destination!==null?(k.status=2,p(k.destination,B)):(k.status=1,k.fatalError=B)}function Qs(k,B,L,Q,ae){for(Jr={},Ki=B,Zr=0,k=L(Q,ae);Go;)Go=!1,Zr=0,Ba+=1,Mt=null,k=L(Q,ae);return Ns(),k}function rc(k,B,L,Q){var ae=L.render(),re=Q.childContextTypes;if(re!=null){var Ae=B.legacyContext;if(typeof L.getChildContext!="function")Q=Ae;else{L=L.getChildContext();for(var ke in L)if(!(ke in re))throw Error(e(108,De(Q)||"Unknown",ke));Q=Or({},Ae,L)}B.legacyContext=Q,er(k,B,ae),B.legacyContext=Ae}else er(k,B,ae)}function cd(k,B){if(k&&k.defaultProps){B=Or({},B),k=k.defaultProps;for(var L in k)B[L]===void 0&&(B[L]=k[L]);return B}return B}function oc(k,B,L,Q,ae){if(typeof L=="function")if(L.prototype&&L.prototype.isReactComponent){ae=tt(L,B.legacyContext);var re=L.contextType;re=new L(Q,typeof re=="object"&&re!==null?re._currentValue:ae),Vn(re,L,Q,ae),rc(k,B,re,L)}else{re=tt(L,B.legacyContext),ae=Qs(k,B,L,Q,re);var Ae=Zr!==0;if(typeof ae=="object"&&ae!==null&&typeof ae.render=="function"&&ae.$$typeof===void 0)Vn(ae,L,Q,re),rc(k,B,ae,L);else if(Ae){Q=B.treeContext,B.treeContext=Ar(Q,1,0);try{er(k,B,ae)}finally{B.treeContext=Q}}else er(k,B,ae)}else if(typeof L=="string"){switch(ae=B.blockedSegment,re=Yt(ae.chunks,L,Q,k.responseState,ae.formatContext),ae.lastPushedText=!1,Ae=ae.formatContext,ae.formatContext=I(Ae,L,Q),ic(k,B,re),ae.formatContext=Ae,L){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ae.chunks.push(vn,u(L),nn)}ae.lastPushedText=!1}else{switch(L){case ie:case H:case Is:case Ms:case bn:er(k,B,Q.children);return;case Yo:er(k,B,Q.children);return;case F:throw Error(e(343));case Wo:e:{L=B.blockedBoundary,ae=B.blockedSegment,re=Q.fallback,Q=Q.children,Ae=new Set;var ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ae,errorDigest:null},et=Ji(k,ae.chunks.length,ke,ae.formatContext,!1,!1);ae.children.push(et),ae.lastPushedText=!1;var ft=Ji(k,0,null,ae.formatContext,!1,!1);ft.parentFlushed=!0,B.blockedBoundary=ke,B.blockedSegment=ft;try{if(ic(k,B,Q),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(J),ft.status=1,Ra(ke,ft),ke.pendingTasks===0)break e}catch(st){ft.status=4,ke.forceClientRender=!0,ke.errorDigest=yi(k,st)}finally{B.blockedBoundary=L,B.blockedSegment=ae}B=nc(k,re,L,et,Ae,B.legacyContext,B.context,B.treeContext),k.pingedTasks.push(B)}return}if(typeof L=="object"&&L!==null)switch(L.$$typeof){case Ai:if(Q=Qs(k,B,L.render,Q,ae),Zr!==0){L=B.treeContext,B.treeContext=Ar(L,1,0);try{er(k,B,Q)}finally{B.treeContext=L}}else er(k,B,Q);return;case x:L=L.type,Q=cd(L,Q),oc(k,B,L,Q,ae);return;case Os:if(ae=Q.children,L=L._context,Q=Q.value,re=L._currentValue,L._currentValue=Q,Ae=ut,ut=Q={parent:Ae,depth:Ae===null?0:Ae.depth+1,context:L,parentValue:re,value:Q},B.context=Q,er(k,B,ae),k=ut,k===null)throw Error(e(403));Q=k.parentValue,k.context._currentValue=Q===$?k.context._defaultValue:Q,k=ut=k.parent,B.context=k;return;case fo:Q=Q.children,Q=Q(L._currentValue),er(k,B,Q);return;case _:ae=L._init,L=ae(L._payload),Q=cd(L,Q),oc(k,B,L,Q,void 0);return}throw Error(e(130,L==null?L:typeof L,""))}}function er(k,B,L){if(B.node=L,typeof L=="object"&&L!==null){switch(L.$$typeof){case $n:oc(k,B,L.type,L.props,L.ref);return;case hi:throw Error(e(257));case _:var Q=L._init;L=Q(L._payload),er(k,B,L);return}if(q(L)){Oa(k,B,L);return}if(L===null||typeof L!="object"?Q=null:(Q=he&&L[he]||L["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(L))){if(L=Q.next(),!L.done){var ae=[];do ae.push(L.value),L=Q.next();while(!L.done);Oa(k,B,ae)}return}throw k=Object.prototype.toString.call(L),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":k))}typeof L=="string"?(Q=B.blockedSegment,Q.lastPushedText=ve(B.blockedSegment.chunks,L,k.responseState,Q.lastPushedText)):typeof L=="number"&&(Q=B.blockedSegment,Q.lastPushedText=ve(B.blockedSegment.chunks,""+L,k.responseState,Q.lastPushedText))}function Oa(k,B,L){for(var Q=L.length,ae=0;ae<Q;ae++){var re=B.treeContext;B.treeContext=Ar(re,Q,ae);try{ic(k,B,L[ae])}finally{B.treeContext=re}}}function ic(k,B,L){var Q=B.blockedSegment.formatContext,ae=B.legacyContext,re=B.context;try{return er(k,B,L)}catch(et){if(Ns(),typeof et=="object"&&et!==null&&typeof et.then=="function"){L=et;var Ae=B.blockedSegment,ke=Ji(k,Ae.chunks.length,null,Ae.formatContext,Ae.lastPushedText,!0);Ae.children.push(ke),Ae.lastPushedText=!1,k=nc(k,B.node,B.blockedBoundary,ke,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,L.then(k,k),B.blockedSegment.formatContext=Q,B.legacyContext=ae,B.context=re,pr(re)}else throw B.blockedSegment.formatContext=Q,B.legacyContext=ae,B.context=re,pr(re),et}}function qh(k){var B=k.blockedBoundary;k=k.blockedSegment,k.status=3,dd(this,B,k)}function ud(k,B,L){var Q=k.blockedBoundary;k.blockedSegment.status=3,Q===null?(B.allPendingTasks--,B.status!==2&&(B.status=2,B.destination!==null&&B.destination.close())):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,k=L===void 0?Error(e(432)):L,Q.errorDigest=B.onError(k),Q.parentFlushed&&B.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(ae){return ud(ae,B,L)}),Q.fallbackAbortableTasks.clear(),B.allPendingTasks--,B.allPendingTasks===0&&(Q=B.onAllReady,Q()))}function Ra(k,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var L=B.children[0];L.id=B.id,L.parentFlushed=!0,L.status===1&&Ra(k,L)}else k.completedSegments.push(B)}function dd(k,B,L){if(B===null){if(L.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=L}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=vi,B=k.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?(L.parentFlushed&&L.status===1&&Ra(B,L),B.parentFlushed&&k.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(qh,k),B.fallbackAbortableTasks.clear()):L.parentFlushed&&L.status===1&&(Ra(B,L),B.completedSegments.length===1&&B.parentFlushed&&k.partialBoundaries.push(B)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function sc(k){if(k.status!==2){var B=ut,L=Rn.current;Rn.current=Fs;var Q=js;js=k.responseState;try{var ae=k.pingedTasks,re;for(re=0;re<ae.length;re++){var Ae=ae[re],ke=k,et=Ae.blockedSegment;if(et.status===0){pr(Ae.context);try{er(ke,Ae,Ae.node),et.lastPushedText&&et.textEmbedded&&et.chunks.push(J),Ae.abortSet.delete(Ae),et.status=1,dd(ke,Ae.blockedBoundary,et)}catch(mr){if(Ns(),typeof mr=="object"&&mr!==null&&typeof mr.then=="function"){var ft=Ae.ping;mr.then(ft,ft)}else{Ae.abortSet.delete(Ae),et.status=4;var st=Ae.blockedBoundary,Nt=mr,Wn=yi(ke,Nt);if(st===null?Xo(ke,Nt):(st.pendingTasks--,st.forceClientRender||(st.forceClientRender=!0,st.errorDigest=Wn,st.parentFlushed&&ke.clientRenderedBoundaries.push(st))),ke.allPendingTasks--,ke.allPendingTasks===0){var gr=ke.onAllReady;gr()}}}}}ae.splice(0,re),k.destination!==null&&ac(k,k.destination)}catch(mr){yi(k,mr),Xo(k,mr)}finally{js=Q,Rn.current=L,L===Fs&&pr(B)}}}function La(k,B,L){switch(L.parentFlushed=!0,L.status){case 0:var Q=L.id=k.nextSegmentId++;return L.lastPushedText=!1,L.textEmbedded=!1,k=k.responseState,o(B,_t),o(B,k.placeholderPrefix),k=u(Q.toString(16)),o(B,k),i(B,fe);case 1:L.status=2;var ae=!0;Q=L.chunks;var re=0;L=L.children;for(var Ae=0;Ae<L.length;Ae++){for(ae=L[Ae];re<ae.index;re++)o(B,Q[re]);ae=Na(k,B,ae)}for(;re<Q.length-1;re++)o(B,Q[re]);return re<Q.length&&(ae=i(B,Q[re])),ae;default:throw Error(e(390))}}function Na(k,B,L){var Q=L.boundary;if(Q===null)return La(k,B,L);if(Q.parentFlushed=!0,Q.forceClientRender)Q=Q.errorDigest,i(B,We),o(B,Ce),Q&&(o(B,qe),o(B,u(z(Q))),o(B,Te)),i(B,He),La(k,B,L);else if(0<Q.pendingTasks){Q.rootSegmentID=k.nextSegmentId++,0<Q.completedSegments.length&&k.partialBoundaries.push(Q);var ae=k.responseState,re=ae.nextSuspenseID++;ae=d(ae.boundaryPrefix+re.toString(16)),Q=Q.id=ae,Ne(B,k.responseState,Q),La(k,B,L)}else if(Q.byteSize>k.progressiveChunkSize)Q.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(Q),Ne(B,k.responseState,Q.id),La(k,B,L);else{if(i(B,Le),L=Q.completedSegments,L.length!==1)throw Error(e(391));Na(k,B,L[0])}return i(B,le)}function fd(k,B,L){return En(B,k.responseState,L.formatContext,L.id),Na(k,B,L),Zn(B,L.formatContext)}function pd(k,B,L){for(var Q=L.completedSegments,ae=0;ae<Q.length;ae++)Fa(k,B,L,Q[ae]);if(Q.length=0,k=k.responseState,Q=L.id,L=L.rootSegmentID,o(B,k.startInlineScript),k.sentCompleteBoundaryFunction?o(B,_s):(k.sentCompleteBoundaryFunction=!0,o(B,pi)),Q===null)throw Error(e(395));return L=u(L.toString(16)),o(B,Q),o(B,Pa),o(B,k.segmentPrefix),o(B,L),i(B,Da)}function Fa(k,B,L,Q){if(Q.status===2)return!0;var ae=Q.id;if(ae===-1){if((Q.id=L.rootSegmentID)===-1)throw Error(e(392));return fd(k,B,Q)}return fd(k,B,Q),k=k.responseState,o(B,k.startInlineScript),k.sentCompleteSegmentFunction?o(B,Ho):(k.sentCompleteSegmentFunction=!0,o(B,on)),o(B,k.segmentPrefix),ae=u(ae.toString(16)),o(B,ae),o(B,co),o(B,k.placeholderPrefix),o(B,ae),i(B,Uo)}function ac(k,B){n=new Uint8Array(512),r=0;try{var L=k.completedRootSegment;if(L!==null&&k.pendingRootTasks===0){Na(k,B,L),k.completedRootSegment=null;var Q=k.responseState.bootstrapChunks;for(L=0;L<Q.length-1;L++)o(B,Q[L]);L<Q.length&&i(B,Q[L])}var ae=k.clientRenderedBoundaries,re;for(re=0;re<ae.length;re++){var Ae=ae[re];Q=B;var ke=k.responseState,et=Ae.id,ft=Ae.errorDigest,st=Ae.errorMessage,Nt=Ae.errorComponentStack;if(o(Q,ke.startInlineScript),ke.sentClientRenderFunction?o(Q,On):(ke.sentClientRenderFunction=!0,o(Q,Lt)),et===null)throw Error(e(395));o(Q,et),o(Q,Yi),(ft||st||Nt)&&(o(Q,Vo),o(Q,u(uo(ft||"")))),(st||Nt)&&(o(Q,Vo),o(Q,u(uo(st||"")))),Nt&&(o(Q,Vo),o(Q,u(uo(Nt)))),i(Q,qi)}ae.splice(0,re);var Wn=k.completedBoundaries;for(re=0;re<Wn.length;re++)pd(k,B,Wn[re]);Wn.splice(0,re),a(B),n=new Uint8Array(512),r=0;var gr=k.partialBoundaries;for(re=0;re<gr.length;re++){var mr=gr[re];e:{ae=k,Ae=B;var Hs=mr.completedSegments;for(ke=0;ke<Hs.length;ke++)if(!Fa(ae,Ae,mr,Hs[ke])){ke++,Hs.splice(0,ke);var lc=!1;break e}Hs.splice(0,ke),lc=!0}if(!lc){k.destination=null,re++,gr.splice(0,re);return}}gr.splice(0,re);var Jo=k.completedBoundaries;for(re=0;re<Jo.length;re++)pd(k,B,Jo[re]);Jo.splice(0,re)}finally{a(B),k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&B.close()}}function hd(k,B){try{var L=k.abortableTasks;L.forEach(function(Q){return ud(Q,k,B)}),L.clear(),k.destination!==null&&ac(k,k.destination)}catch(Q){yi(k,Q),Xo(k,Q)}}return Qc.renderToReadableStream=function(k,B){return new Promise(function(L,Q){var ae,re,Ae=new Promise(function(st,Nt){re=st,ae=Nt}),ke=zs(k,G(B?B.identifierPrefix:void 0,B?B.nonce:void 0,B?B.bootstrapScriptContent:void 0,B?B.bootstrapScripts:void 0,B?B.bootstrapModules:void 0),de(B?B.namespaceURI:void 0),B?B.progressiveChunkSize:void 0,B?B.onError:void 0,re,function(){var st=new ReadableStream({type:"bytes",pull:function(Nt){if(ke.status===1)ke.status=2,p(Nt,ke.fatalError);else if(ke.status!==2&&ke.destination===null){ke.destination=Nt;try{ac(ke,Nt)}catch(Wn){yi(ke,Wn),Xo(ke,Wn)}}},cancel:function(){hd(ke)}},{highWaterMark:0});st.allReady=Ae,L(st)},function(st){Ae.catch(function(){}),Q(st)},ae);if(B&&B.signal){var et=B.signal,ft=function(){hd(ke,et.reason),et.removeEventListener("abort",ft)};et.addEventListener("abort",ft)}sc(ke)})},Qc.version="18.3.1",Qc}var hm;function FS(){if(hm)return Ti;hm=1;var t,e;return t=LS(),e=NS(),Ti.version=t.version,Ti.renderToString=t.renderToString,Ti.renderToStaticMarkup=t.renderToStaticMarkup,Ti.renderToNodeStream=t.renderToNodeStream,Ti.renderToStaticNodeStream=t.renderToStaticNodeStream,Ti.renderToReadableStream=e.renderToReadableStream,Ti}var jS=FS();const zS=fs(jS),QS={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_ALLOW_ANON_ACCESS:"true",VITE_API_KEY:"4nn5l4T4TnkMdzsK0AwAtnGRcheBDnjawuAT42LaOLc",VITE_TURNSTILE_SITE_KEY:"0x4AAAAAACyJamk8FS7-RSMr"};function Hc(){return Hc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Hc.apply(null,arguments)}function Am(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}const Xt={AUDIO_BUTTON:"audio-button",NOTIFICATION_BUTTON:"notification-button",CLOSE_CHAT_BUTTON:"close-chat-button",SEND_MESSAGE_BUTTON:"send-button",VOICE_MESSAGE_BUTTON:"voice-button",FILE_ATTACHMENT_BUTTON:"file-attachment-button",EMOJI_PICKER_BUTTON:"emoji-button"},gm="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20viewBox='0%200%201000%201000'%3e%3crect%20width='100%25'%20height='100%25'%20fill='%23fff'/%3e%3cg%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-99%20362)%20scale(3.4003)'/%3e%3cpath%20d='M0%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(180%20106%20386)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-46%20282)%20scale(3.4003)'/%3e%3cpath%20d='M19%2065h4l5%204v1H14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-3%20240)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(236%20175)%20scale(3.4003)'/%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20139%20600)%20scale(3.4003)'/%3e%3cpath%20d='M184%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20219%20548)%20scale(3.4003)'/%3e%3cpath%20d='M175%2065h4l5%204v1h-14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20262%20505)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(767%20175)%20scale(3.4003)'/%3e%3crect%20width='116.7'%20height='70'%20x='-58.4'%20y='-35'%20rx='31.5'%20ry='31.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20877)%20scale(3.4003)'/%3e%3crect%20width='60'%20height='20'%20x='-30'%20y='-10'%20rx='3'%20ry='3'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='translate(502%20728)%20scale(3.4003)'/%3e%3ccircle%20r='75'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20473)%20scale(3.4003)'/%3e%3crect%20width='129.4'%20height='82.3'%20x='-64.7'%20y='-41.1'%20rx='37'%20ry='37'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23fff;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3crect%20width='108'%20height='68.6'%20x='-54'%20y='-34.3'%20rx='30.9'%20ry='30.9'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(415%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(591%20464)%20scale(3.4003)'/%3e%3crect%20width='96'%20height='53.2'%20x='-48'%20y='-26.6'%20rx='23.9'%20ry='23.9'%20style='stroke:%23162334;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(503%20875)%20scale(3.4003)'/%3e%3cpath%20stroke-linecap='round'%20d='m68%20215%207-15M81%20222l-7-22M81%20222l7-14M101%20208H87M114%20219l-7-24M113%20219l13-22M131%20214l-5-17M148%20214h-18M69%20214H51M100%20209l7-15'%20style='stroke:%23a478fc;stroke-width:3;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:10;is-custom-font:none;font-file-url:none;fill:none;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3c/g%3e%3c/svg%3e",mm=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 0 637 637",ref:e,...t},T.createElement("path",{d:"m478 113-13 2-4 1h4l14-2c10-2 35-2 42-1l6 3 3 1c3 0-4-3-8-5-7-1-34-1-44 1m56 6 8 6c7 5 20 17 20 19s7 12 8 12l-3-6-4-6c0-3-15-17-25-24-5-3-8-4-4-1m-198 16-9 1a512 512 0 0 1 9-1m-180 30a412 412 0 0 0-23 4 167 167 0 0 0-32 8 439 439 0 0 1 46-9 304 304 0 0 1 11-2l6-1h-8m369 8 4 3-7-6c-1 0 0 2 3 3m-439 9c-7 3-18 13-18 15l6-5c5-5 9-8 14-10l6-4-8 4m442 12-10 11-7 6 7-6c7-5 14-14 13-16l-3 5M65 205l-1 11c0 9 0 10 4 17 5 10 7 12 22 11 10 0 15 0 38-5l5-1-6 1-16 2-21 2c-13 1-16-1-21-10-3-5-4-6-4-15l1-12c1-4 1-5-1-1m335 1c3 0 3 1 3 3l-2 6c-2 5-35 39-76 80-53 51-120 117-138 137-21 24-22 25-22 27 0 3 6 9 9 9 4 0 14-8 38-27a5073 5073 0 0 1 15-16 1421 1421 0 0 0-17 15l-31 25-6 2-4-3c-3-3-3-4-2-6 3-8 79-85 160-163 57-57 79-80 79-86 0-2-3-4-7-4-2 0-2 0 1 1m165 18c-9 17-25 32-57 53l-10 8 16-11 12-8c15-10 27-22 39-39 5-7 6-8 4-8l-4 5m-221 2a199 199 0 0 0-19 10 183 183 0 0 1 27-12c0-1-1-1-8 2m-34 16c-3 3-2 3 2 0l1-2-3 2m151 3-1 2 2-2c3-3 2-3-1 0m-16 12-11 10a281 281 0 0 0 11-10m-24 18-7 5-7 5-42 31c-10 7-24 19-22 19l7-6 16-12a343 343 0 0 0 35-25 573 573 0 0 0 20-17m-187 0-2 2 4-2 3-2-5 2m-14 6-3 2 4-1 4-3-5 2m-7 3-8 4-18 8 18-7 7-3 3-1c1-2 0-2-2-1m254 24a2672 2672 0 0 1-71 54 601 601 0 0 0 39-29 1352 1352 0 0 1 32-25m-291-8-2 2 4-2 3-2-5 2m-13 5-2 2h3c5-3 4-4-1-2m-19 9-7 3-13 6c-10 5-13 7-14 10-3 4-2 5 1 0 2-3 5-5 14-9l13-6 12-6-6 2m178 36c-17 12-21 16-21 17a390 390 0 0 1 20-17m-206 34 1 4 1 3 1 5 2 8 1 5v-6l-1-8-2-5-1-4-1-2c-1-2-1-2-1 0m222 23-9 7a683 683 0 0 0-56 44 261 261 0 0 0-26 20 1345 1345 0 0 0-46 34c-6 3-7 3-19 3-11 0-12 0-18-3-8-4-10-8-17-20l-5-10 4 10c5 10 12 18 19 22 4 2 6 2 17 2 13 0 14 0 21-3l26-19 42-33a2183 2183 0 0 0 43-34 643 643 0 0 1 24-20",fill:"#fff",fillRule:"evenodd"}),T.createElement("path",{d:"M478 114a620 620 0 0 1-39 6l-21 3a5481 5481 0 0 0-19 3 870 870 0 0 1-54 8l-1 1-6 1-12 2-13 2a992 992 0 0 0-76 12 400 400 0 0 1-45 8l-6 1-5 1h-3l-3 1-2 1-26 4-13 2-17 3c-23 5-33 9-43 19-7 8-9 13-9 27 0 8 1 9 4 14 5 9 8 11 21 10l21-2a1133 1133 0 0 1 23-4 659 659 0 0 0 74-14l3-1h3l3-1h3l2-1 2-1h3l2-1h2l24-5 38-7a2100 2100 0 0 1 93-18l3-1 10-1a2082 2082 0 0 1 120-17l2 1c2 0 8 5 8 7l1 2 1 6c0 4 0 6-3 10-2 4-16 16-18 16l-7 5-10 8a1070 1070 0 0 0-11 7 113 113 0 0 1-20 14l-2 2-3 2-2 2h-1a154 154 0 0 1-28 21l-5 4-5 4a573 573 0 0 1-50 37 175 175 0 0 0-24 18l-1 2-2 1-2 1-2 1-1 1-12 10a396 396 0 0 0-32 25l-8 6-6 5-9 7a326 326 0 0 1-25 20l-13 12a5073 5073 0 0 0-17 15c-24 20-34 27-39 27-2 0-8-6-8-9 0-2 1-3 22-27 18-20 85-86 138-137 41-41 74-75 76-80l2-6c0-2 0-3-2-3l-7 1a233 233 0 0 1-26 9l-1 1-1 1h-1l-1 1h-2l-3 2-1 1h-2l-3 2h-1l-5 2-22 10-9 4-4 2-5 2-10 4-2 1-2 1-2 1-13 6a334 334 0 0 1-38 17 75 75 0 0 0-14 6l-5 2-4 1-2 1-3 2-7 3-16 6a247 247 0 0 0-32 14l-1 1h-2l-1 1h-2l-1 1-12 6a103 103 0 0 0-27 15l-2 5-1 1v11l1 5 1 5 1 4c0 3 0 4 2 4v3l1 3 1 2 2 10 1 4 1 5 2 10 2 8 1 4 1 4c3 3 9 25 11 38l1 7v2l1 4v1l1 1v2l1 2 1 3v1l5 10c7 13 9 16 17 20 6 3 7 3 18 3 12 0 13 0 19-3 8-4 11-6 26-18a1345 1345 0 0 1 85-67 683 683 0 0 1 50-39l12-9a513 513 0 0 1 44-33 201 201 0 0 0 22-17 2270 2270 0 0 0 73-54 158 158 0 0 0 58-59c2 0 3-9 4-27l-1-19-1-4-1-6-1-3-4-6-4-6c0-2-6-8-13-14a77 77 0 0 0-28-18c-6-1-34-1-43 1"}))),vm=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M765-321q0 117-84 196-83 80-200 80-118 0-200-80t-83-196v-392q0-85 61-144 61-58 146-58 86 0 147 58 61 59 61 144v374q0 54-39 92-39 37-93 37-55 0-93-37-38-38-38-92v-372h110v372q0 9 6 14t15 5q8 0 15-5t7-14v-374q0-39-29-66t-68-27q-40 0-69 27t-29 66v392q0 71 51 119t122 48q71 0 122-48t51-119v-426h111v426Z"}))),HS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M125-165v-113h77v-273q0-93 55-167 56-75 146-100v-19q0-32 22-55 23-23 55-23t55 23q22 23 22 55v19q90 25 146 99 56 73 56 168v273h77v113H125ZM480-32q-38 0-66-27-27-27-27-66h186q0 39-27 66t-66 27Z"}))),US=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M137-190v-113h78v-253q0-41 11-79 11-39 35-71l-9 150h10L17-802l74-74L873-92l-74 74-175-172H137Zm609-149L319-769q20-15 41-25t44-16v-28q0-32 22-54t54-22q32 0 55 22t22 54v28q85 23 137 94t52 160v217ZM481-47q-38 0-65-27t-27-65h184q0 38-27 65t-65 27Z"}))),VS=T.forwardRef((t,e)=>T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:e,...t},T.createElement("g",{strokeLinecap:"round",strokeWidth:10},T.createElement("path",{d:"m19 19 61 61M80 19 19 80"})))),WS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),YS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M480-372q-61 0-105-43-43-43-43-105v-240q0-61 43-105 43-43 105-43 61 0 105 43 43 44 43 105v240q0 62-43 105t-105 43ZM425-76v-122q-121-16-197-108t-76-214h109q0 91 64 154t155 63q91 0 155-63t64-154h109q0 122-77 214T534-198v122H425Z"}))),qS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"m763-343-80-79q8-20 13-44 5-23 5-54h109q0 49-11 95t-36 82ZM625-482 336-770v-2q3-56 45-96t101-40q62 0 105 43t43 105v249l-1 17q-1 7-4 12ZM427-76v-122q-120-16-196-108-77-92-77-214h109q0 91 64 154t155 63q43 0 80-14 37-15 67-41l78 79q-35 32-78 53t-93 28v122H427Zm362 27L41-796l75-75 748 748-75 74Z"}))),ym=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M625-511q29 0 50-21t20-50q0-29-20-50-21-20-50-20t-50 20-20 50q0 29 20 50 21 21 50 21Zm-290 0q29 0 50-21t20-49q0-30-20-50t-50-21q-29 0-50 20-20 21-20 50 0 30 20 50 21 21 50 21Zm145 268q75 0 137-43t85-115H258q24 72 85 115 62 43 137 43Zm0 198q-90 0-170-34-79-34-138-93T79-310q-34-80-34-170t34-170q34-79 93-138t138-93q80-34 170-34t170 34q79 34 138 93t93 138q34 80 34 170t-34 170q-34 79-93 138T650-79q-80 34-170 34Zm0-435Zm0 322q134 0 228-94t94-228q0-134-94-228t-228-94q-134 0-228 94t-94 228q0 134 94 228t228 94Z"}))),KS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M553-64v-108q107-27 173-113 67-87 67-197 0-109-67-195T553-789v-108q152 26 249 144 97 117 97 271 0 155-97 273T553-64ZM61-335v-290h176l236-237v764L237-335H61Zm492 28v-346q51 23 82 70t31 103-31 103q-31 47-82 70Z"}))),GS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M807-15 700-123q-33 21-71 37-38 15-80 22v-108q20-4 38-12l35-17-153-154v257L234-335H57v-290h144L10-818l74-75L882-90l-75 75Zm37-264-80-79q13-30 19-60 7-31 7-64 0-109-68-195-67-86-173-112v-108q152 26 249 144 98 117 98 271 0 55-14 107-13 51-38 96ZM661-462 549-575v-78q51 23 83 70 31 47 31 103l-1 9-1 9ZM469-655 366-759l103-103v207Z"}))),bm={general:{primaryColor:"#42b0c5",secondaryColor:"#491d8d",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",showHeader:!0,showFooter:!0,showInputRow:!0,actionDisabledIcon:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2042%2042'%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:4'%20d='M17%209a8%208%200%200%201-8%208%208%208%200%200%201-8-8%208%208%200%200%201%208-8%208%208%200%200%201%208%208Zm0%200'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:10'%20d='M14.66%2014.66%203.34%203.34'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3c/svg%3e",embedded:!1,flowStartTrigger:"ON_LOAD"},tooltip:{mode:"CLOSE",text:"Talk to me! 😊"},chatButton:{icon:mm},header:{title:E.jsx("div",{style:{cursor:"pointer",margin:0,fontSize:20,fontWeight:"bold"},onClick:()=>window.open("https://github.com/tjtanjin/","_blank","noopener,noreferrer"),children:"Tan Jin"}),showAvatar:!0,avatar:gm,buttons:[Xt.NOTIFICATION_BUTTON,Xt.AUDIO_BUTTON,Xt.CLOSE_CHAT_BUTTON],closeChatIcon:VS},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:HS,iconDisabled:US,sound:"data:audio/wav;base64,UklGRmaIAABXQVZFZm10IBAAAAABAAIAQB8AAAB9AAAEABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNjAuMTYuMTAwAGRhdGEgiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAA//////7/////////AAABAAAAAgABAAEAAQAAAAIAAQABAP//AAD+////AAD+//7////+////AAD//wAA/v8AAAAA/v8AAP//AAAAAAAAAgD////////+////AAABAAEAAgD/////AQABAAAA//8CAP//AAAAAAAA/v8AAAAA//8AAAEA//8EAAAAAAAAAAAA//8BAP//AQABAAEA/////wEA/v///wAAAAACAAAAAAABAAAA//8AAP//AAACAP//////////AAAAAAEAAAAAAAEA//8AAAEAAQADAAIAAgAAAAAA/v///wEAAAAAAAEAAAAAAAEA//8AAAEAAQD//wAA//8AAAEAAAABAAEAAAABAP//AAD//wAAAgAAAP//AQD/////AAAAAP7/AgAAAAIAAAAAAAAAAAABAAAAAQABAP//AAABAP///v8AAP////8AAP//AAD//wAA//8BAP//AAD///7///8BAP7///8AAAIAAgABAAEA/v8AAP//AQADAAEAAAACAAEA/////////v///wEA/v////7/AAD+////AAAAAAAAAgAAAAAAAAD//wEAAAAAAAAAAQABAAIA/v8AAAAA//8AAAEAAAAAAP//AgD//wEA/////wAAAQACAAAAAAAAAP//AQD/////AQAAAAEA/v8AAAEAAQABAAEA///+////AQD//wEAAgD+//7/AAAAAAAAAQAAAAAAAQAAAAAAAAAAAP//AAD//wEAAQD//wAAAQABAP7///8AAP7/AAABAP7/AQABAAEAAAABAAEAAAD+/wIAAAABAAAAAQD/////AQACAP////8AAP//AQD//wEA/v8CAAEAAAAAAAAAAQAAAAIAAQAAAAEAAgD//wEAAAAAAP7///8BAP//AgAAAP///v8CAAAAAgD///////////7/AAACAAEAAgD//wAAAAABAP//AwAAAAMA//8AAAAAAQD+/wAAAAD//wAAAQD//wEA//8BAP7/AAABAAAA//8BAAAA//8AAP//AQADAP3////+////AgD+/////v8BAAEAAQACAAAAAAAAAAAA//8AAP//AAD+/wEA/v8AAP7/AAD//wAAAQACAAAAAQAAAP//AQAAAAAAAAABAAAAAAD+//////8AAAAAAAD//wAAAAABAAEA//8AAAEA//8AAP//AgD+/wAA///+/wAA/v///wAAAQABAAAAAQD//wAA//8AAAEA//8BAAAAAgABAP//AAACAAIAAQABAP//AAAAAAAA//8BAAIAAAABAAAA//8CAAEA/v//////AAAAAAEA////////AQAAAP//AAD//wAAAAAAAP3/AAAAAAEAAAACAAAAAAAAAP//AAD//wAAAAAAAAAAAAAAAP///v///wAAAAABAAAAAAD//wEAAAABAAEAAQD//wAAAAACAAAAAQD+/wAA//8BAAEAAAD+/wAA/////wAAAAABAAAAAAD//////v8AAAAA//8AAAAAAAAAAAIAAAABAAEAAAABAP7/AAD9//////////7///8BAP//AAD///3/AQABAP//AAD//wAAAAABAAAA//8AAP//AAD/////AQABAAEA//8AAAAA//8BAAMA//8AAAAA//8AAP7/AAD//wAAAAAAAP7/AQAAAAAA/v8CAP//AAABAAIAAQABAAAA//8BAAEAAQD///7/AQD//wAAAQABAP//AAD//wEAAAAAAAAAAQAAAAIA//8AAP////8AAP//AQD//////v///wEA/v8AAAIAAgACAAEAAAAAAAEAAAAAAAAAAAAAAAAAAQD//wAA/////wAAAQACAP////8AAAAAAAD//wAAAQD+/wEA//8AAAEAAwD//wEAAQAAAAAAAAABAP////8AAAAAAQAAAAAAAAAAAAEAAQAAAP////////7/AQABAAEAAQD///////8BAAAA//8AAAAAAgABAAEA/v8BAP7///8BAP3/AQABAAIAAAD//wEAAAAAAP//AAABAAIA//8CAAAAAQAAAAEA//8BAAAA/////wAAAAD//wEAAQD//wAAAAAAAP//AAAAAAAAAQABAAAAAQAAAP//AQD//////v8AAAEAAAAAAAAA//8AAAAAAAACAAEAAQAAAP//AAABAAEA/////wAAAgABAAAAAAAAAAEAAAABAP//AQABAP7////+/wEAAAAAAP//AAABAAAAAAABAAEAAAAAAAAA//8BAP///f/+/wEAAQD///7///8AAAAAAQAAAP////8AAAAAAAABAAAAAQD/////AAD//wEA//8AAAIA//8CAAAA//8AAAAAAAD+/wEAAAD+/wAA/////wAA////////AAAAAAAA//8BAAAAAAD//wAAAAD//wEA//8AAP//AQD+/wAAAAAAAP7/AAD+/wEAAQABAP//AAABAAEAAQD//wAA/////wEA//8AAAAAAgAAAAAA//8BAAAAAgAAAAAAAAAAAP7/AQD//wAAAAD+/wAAAAADAAIA/////wAAAQD//wIA//8BAAEA/v8AAAIAAAAAAP3///8AAAAAAAAAAAAAAAABAP///////wAA//8AAAEAAQABAAEAAQABAAAAAQAAAAAAAQABAP7/AQD//wAAAQABAAEA//8BAAAAAgAAAAEAAAABAP//AAD/////AAD//wIA/////wIAAAD///7/AAAAAAAAAAACAP//AAABAP////8AAAAAAAABAAAAAgAAAAAAAQD+/wEA/////wAA/////wAAAAAAAAAA/v//////AAAAAP//AAABAAAAAQAAAAIAAAACAAAA//8AAAAA//8AAP7/AAAAAP//AAACAP//AQABAP//AQABAAAA/////////v8AAP//AQAAAAAA///+/wAAAQD+/wEAAQAAAAEA/////wAAAQD//wAA//8AAAAA/v8BAAEA//8AAP7//v8BAAAAAAAAAAEA//8AAAEA/////wAAAAD//////////wEAAAABAAEA//8CAAEA/f8AAAAA//8BAAAABAABAAEAAQAAAAAAAAAAAP7///8AAAAA/v8BAAAA//8AAAIA//8AAP////8BAP//AAAAAAAAAAD/////AQD///7/////////AQD8////AgABAAIA////////AAD//wAAAAABAAAAAAAAAAEAAgAAAP//AQD//wAAAAAAAP/////+/wAAAAABAAAAAwABAP///////wEAAAADAP//AQACAAAA//8CAAEAAAAAAP///////wIAAAAAAAAAAQAAAAAAAgD//wEAAAABAAAA/v8AAAAAAAAAAAAAAAAAAAEA/v8AAP//AQD//wAA//////7///8AAAAAAAAAAP7/AQD//wAA//8AAAEAAAABAAEAAQD/////AAD//wEAAAD/////AQAAAAEAAAD//wEAAAD/////AgD//wAAAQD//////////wAAAAD//wAAAAABAAAAAAD//wAAAQD///7/AQD//wEAAAD/////AAD//wEA//8AAAEA//8CAAAAAQD//wEAAgAAAAEAAwAAAAAA/v8BAAEAAgD//wEAAAAAAAAAAAD//wEA//8AAAAAAQACAP///////wAAAQABAAEAAAAAAAEAAQD+/wEA/f////////8AAAAA//8AAAEA//8BAAAA/v///wEAAAAAAAEA/////wAAAAAAAP//AAAAAAIAAAABAAAA/////wAAAAD//wAA/v8AAAMAAQD+/wEAAAABAAEA//8BAP//AgAAAAAAAAD//wAA/////wEA/v8CAP3/AAACAP3/AQABAAAAAQACAAEA/v8AAAAA//8BAAAAAgAAAAAAAgACAAEA/v/9/wAAAQABAP7///8AAP//AgD+/////v8CAP////8BAP//AQACAAEAAQABAP//AAD///7/AAABAAEAAgD//wEA//8CAAEAAQABAAEAAAABAAAA/v8AAAEA/v8AAP//AAABAP//AQAAAAEAAgAAAAAA/v///wEAAQAAAAIAAAD/////AgAAAAEA/v8AAP7/AQAAAAAAAQAAAAEAAAACAAEA//8BAP////8AAAIAAAAAAP//AAAAAAIAAAAAAAAAAwABAP///v8BAAAAAAAAAP3/AAABAAEA/v////////////3//v8AAAAAAQABAAIAAAD+/////v8AAAAAAQABAAEAAQAAAP//AAAAAP//AQAAAP//AAABAAAAAAAAAAAA////////AAAAAP//AQD/////AAABAAEA//8CAP7///8AAP7//v8BAAEAAAD+/////////wEAAAAAAAAAAgD//wAAAQAAAP7/AQABAP//AQAAAAAAAAD/////AAACAP////8BAAAAAAD//wAA//8AAAEAAQABAAAAAAABAAAAAQD+/wEA/v8AAAEAAQD/////AAD//wAAAQABAP7//v//////AAACAAAAAAAAAAAAAAACAAAAAQAAAAAA//8BAP//AQD//wAA///+/wIAAQD//wAAAAD//wAA/v8AAP3///8AAAAAAAAAAAAA/f8AAAAA//8CAP7/AAD///7/AAAAAAAAAAD//wEAAAAAAAEAAAAAAAAA//8BAP////8BAP7///8CAAEA//8BAP3///////////8BAAAAAAAAAAEAAgD+//////8BAAMAAQADAAEAAAACAAAAAQD/////AAABAAMAAQAAAP//AQD//wAA//8AAAAA//8CAP7//////wAAAAAAAAIA/v8AAP//AAACAP//AwD//wAA//8AAP//AwD//wEAAQABAAEAAQACAAEAAAD//wAA//8AAAIAAAAAAP///////wAAAQD//wIA//8BAP7/AAD///////8AAAAAAAAAAAEAAAD//wAAAQD//wEA//8BAAAAAAD/////AgABAAIAAAABAAAAAAAAAP//AAAAAAAA//8AAAAAAAD/////AQAAAAAAAQD//wAA///+////AAAAAAEAAgABAAEAAAAAAP//AQAAAAAAAQD+/wAAAAABAAEAAAD/////AQABAP7///8AAAIAAAACAAAA//8AAP//AgACAAAA///+/wAAAAABAAAAAQAAAAEA/v8BAAEA//8CAP//AQD+/////v8AAAAAAAACAP//AAD+/wIA/v8BAAAAAAD/////AAAAAP7///8AAP7//////wEAAAABAAAAAAD//wAAAAAAAAAAAgACAAAAAAABAAAA/f8AAP7/AgAAAAEA//8BAAAAAAD///7/AQD//wAAAAAAAAEAAAAAAAEAAAAAAAAAAQAAAAAA//8AAAAAAAABAP///////wAAAgABAAEA//8AAP//AAACAP//AQABAAEA//8BAAAAAAABAAAA//8AAAEAAAAAAAIA/v8BAP//AQD//wEAAAABAAEAAQACAAEAAAAAAAEAAAABAAAAAAD/////AAABAAEA//8AAAAAAQABAP//AAAAAP//AAD/////AQD//wAAAAABAAEA//8BAAAA//8AAP///f/+/wAA/////wAAAQAAAAIAAAAAAAAAAAD+/wEA/f8CAAAA//8AAAEAAgAAAAMAAAABAAAAAAAAAP//AQAAAAAAAQABAAAAAQAAAP//AAAAAAAA//8AAAAAAAABAAAAAQAAAAAAAAABAAIAAAAAAP7/AQD//wAAAAD+////AAAAAAAAAAABAAAA/////wAA//8AAAAAAAD/////AgD//wAA//8CAP//AQACAAEA/f////////8BAAIAAQABAP//AAD//wAA///+////AAD+/wAAAQD/////AAAAAAAA/////wAAAAABAAAAAQAAAAAA//8AAAIAAAABAP//AQABAAEA//8AAAAAAAADAAEAAAABAP//AgD//wMA//8AAAAAAAD//wAAAAD9/wEA///+/wAA//8BAAEA//8BAAAA//8AAP///v8BAP///////////v8BAAAAAQABAAAAAAAAAAAA//8AAP7/AQAAAAAAAAAAAP7/AQAAAAAAAgABAAEAAAABAAEAAAAAAAAAAAD+/wAAAAD//wEAAAAAAAAAAAAAAP//AgABAAAAAAABAAEAAAD/////AAAAAP//AAABAP////8BAAAAAQABAP7//v/+////AQAAAAAAAQAAAAEAAgAAAAAAAQAAAAEAAAD+/////v8BAP//AAABAP//AQABAAAAAAD//wAA//8CAP//AAAAAAEAAAABAAAAAAAAAP//AAD+////AwAAAAAAAQD//wEAAAACAAEAAAADAAAAAAD/////AAAAAAEAAAABAAAA//8AAAEA//8BAP///v8AAP//AAD//wAAAQABAP//AQAAAAAA/////wEAAQAAAP////8AAAEA//8BAAAAAQAAAP////8AAAAAAQAAAAIAAQAAAAEAAAAAAAEAAAD//wEAAAAAAP////8AAAAA//8BAAEAAAAAAAIA///+/wIA/v8BAAAAAQACAAAAAQAAAP7///8AAP//AAAAAAEAAAAAAP7/AAD+////AAAAAAAAAAD//wAA/v8BAAMAAAABAAIAAgD//wAA//8BAAEA//8BAP7/AAAAAP7///8BAAAAAQAAAP7/AQD/////AAAAAAEAAAABAP//AQABAAAAAgABAAAAAAAAAP///////wEA//8AAAEA//8AAAAAAQAAAAIAAAABAP7//////wAAAQABAAAAAAABAAEA///+/wAA//8BAP///v8AAP///v8BAAAA//8CAAAAAQAAAAEAAQABAAAAAAD+/wAAAAD+/wAAAAAAAAAA/f////////8AAAAAAQABAP///////wEA//8BAAEAAAAAAAAA/////wEA/v//////AAAAAP//AAABAAAAAAD+/wAAAAD9////AQAAAAEAAwD//wEAAQAAAP//AgAAAAAAAAD+/wIAAAAAAAAAAAAAAAIA//8AAAEAAQACAAAAAQD//wAAAAD//wIAAQABAAAAAAD//wEA//8BAAEAAQAAAAAAAQABAP7/AAD//wEAAAACAP7/AQAAAAAAAAD//wIAAQACAAIAAQAAAAAAAAAAAP3///8BAAAAAQACAP//AgD9/wAAAAD//wEA/v////////8AAAAAAAD//wEAAQD//wMAAQAAAAEA//8AAAEA//8AAAAAAAACAAAAAAD//wAAAQD///////8AAAAA//8BAAIA/v8BAAEA/f8AAAAAAAAAAAAAAgD/////AAD+/wAAAAD//wAAAAAAAP//////////AgABAP///v8AAAIAAQAAAP//AAABAAAA/////wAAAAAAAAEAAAABAP///v///wIA//8BAAEAAQAAAAAA///+/wEAAAAAAAAA/////////v8BAP3/AAAAAAAAAAAAAAAA//8AAP//AAAAAP//AAABAAIAAAACAP////8DAAAAAAABAAAAAwABAP//AAABAP//AAAAAP////8BAAAAAgD//wAA///+/wAAAQD//wAA//8AAP7///8AAAAA/v8AAAAAAQD//wEA/v////////8AAAAAAQAAAP//AQACAAAAAAAAAP//AAD//wAAAAD//wAAAAD+/wAAAAAAAP//AQD//wAAAgAAAAAAAQABAAAAAwD+/wAAAAD///7/AQD//wIAAQAAAP//AAD//wAA//8CAAEAAAAAAAAA/////wAAAAD//wEAAQD///////8BAAAA//8BAAEAAAAAAAAA/v///wEAAAAAAAAAAAADAAAAAAAAAAAAAQABAAEAAAD+//7//v8AAP//AQAAAAAAAAABAAEAAgAAAAAAAQD//wAA/f8AAAAAAAABAAAAAQAAAAAAAAAAAAIA//8BAP///////wIA/////wAAAAABAAEA//8BAAAAAAD//wAAAQD//wEAAAAAAAIA/v8BAP//AAAAAAEAAAABAP//AAAAAAAAAQABAP7/AAABAAAAAQD//wIAAAAAAAEA///+/wAA//8AAP//AAAAAAAAAAABAP///////wIAAQAAAAEAAQAAAP7/AQAAAAAAAQAAAAAAAQD/////AQAAAAAA///+//7/AAD+/wEA//8AAAAA///+/wEAAAABAAIAAQABAAAA//8AAP//AAD//wAAAAD//wAAAAAAAP//AQAAAAAA////////AQAAAAAAAQD+////AQABAP7/AAD///7/AgD//wAAAAAAAP//AAAAAAEA//8BAAEAAgAAAAIAAAD//wEA/////wAAAQD///7/AQD//wEAAQD/////AAAAAAEAAgAAAAAAAQD//wEA//8AAP7//////wAA//8BAAEA//8BAAAAAQD/////AAABAP//AAACAP//AQAAAP//AAABAP////8AAAAAAAABAAEAAwABAAAAAgD//wAAAAD//wEAAAABAAAAAAABAAEA/////wAA//8AAAIAAAAAAAEAAQABAAEAAQABAP//AgAAAAAA//8BAP3//v///wAA//8AAAAAAQAAAP//AQD//wEAAAACAAIAAAABAAAA//8BAAEA//8BAP//AAAAAP//AQAAAAIAAAD//wAAAAAAAAEA////////AQAAAP//AQD//wAAAQD+/wEAAAABAP///v///wAAAAAAAP//AAAAAAIAAQD//wAAAgD+/wAAAAD//wAAAAABAP///P//////AAACAP////8AAAIAAAABAAAAAAAAAAAA//8AAAAAAQADAP//AQAAAAAAAAABAAEAAQAAAAAA/v8AAAAAAAD//wAAAQD//wAAAAD//wAA/v////////8CAAEA/v8BAP7/AAAAAAAA//8AAAEAAAD//wIAAQAAAAIAAQAAAAAAAAD///7/AQABAP//AAAAAP//AAACAAEA//8BAAAAAwAAAAAAAAD//wEAAAD//wAA///////////+/wAAAQABAAIAAAABAAEAAAD//wEAAAD/////AAD+/wIAAwABAAEA/v8BAAEAAAD//wAA//8AAP//AAAAAAEAAAAAAP//AAAAAAEAAQABAAEA/v///wAAAAD//wEAAAACAAAA/f/+/wAA/v///wAA//8AAAEAAQD///7/AAAAAAAAAAABAAAAAAACAAAAAAABAAAAAAABAP//AQD//wAA//8BAP7/AgABAAEAAQAAAAAAAQD//wEA/v8AAP////8AAP///////wIAAQD//wAAAAD//wAA/v///wAAAQD//wIA/////wEAAAAAAAIAAAABAAAAAAD//wEA//8AAAAA/////wAAAQAAAAAAAAD//wEAAQAAAAAAAAACAP///////wAAAgD//wAA/v8AAAIAAAAAAAEAAAABAP//AQABAAEAAQAAAP///v8BAAEAAAAAAP////8AAAAAAQD//wIAAQAAAAEAAAAAAAAA//8BAP//AAAAAP7//v///wEAAAAAAAIAAAAAAP//AAD//wEA//8BAAAAAAABAAEAAAABAP7///8AAAIAAAABAP//AAD//wEAAAAAAP//AAAAAAEAAAAAAAAAAAAAAP7/AQD//wAAAQD+/wEA/v8BAP7/AAABAAEAAAACAAIAAAADAAAA//8AAAEAAAABAP//AQD//wIA/////wEA//8AAAEA//8AAAEAAAAAAAAAAQABAAAAAAAAAAAAAAD//////////wAA//8AAP7/AAD+/wAAAQAAAAAA/////wAABAAAAAAA//8AAAEAAAAAAAAA/v8AAP//AAAAAAAAAAD//wAAAAD///////8BAAEAAAD/////AgABAAEA/v/+/wAAAQACAAEAAAD//wAAAwABAP//AgD+/wAA/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////w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/KgD3//H/+P/F//z/rv/i/7r/6v/Z/wYABwAoADAAKQBOABkATAD0/zQA1P8PANv/0//v/6//FwCi/ywAxP8oAPn//v82APT/WwD4/00A+/8yAPv//f/8/83/+v+w/+T/sf/j/9b/AQACACoAIgAtAEIAHwBPAAEAQADe/xcA0v/k/+X/t/8IAKv/IgC//yEA6/8EACMA9/9PAPf/VAD+/zcA+/8JAPn/1P8AALf/6f+w/+P/zf////j/HAAdAC0APgAfAEsABwBCAOP/IADV/+//2v/B//3/rP8PALv/GADd/xEAFgABAEMABABaAP//QgACABcA+//n/wAAwP/w/67/4v+///3/6f8WABcAKQA0ACIARgAQAEcA8f8pANn/9f/U/87/7f+v/wgAtP8RANP/FgANAAIAOQACAFQA/f9HAAAAIAABAO3//P/E/wEAs//q/7n/9P/i/wYAEQAZADEAJABBABMASAAAADEA3/8CANL/1v/g/7H/AACy/w8Axf8ZAPv/CQAzAAIAVQD//1AAAAAsAAIA9v/7/8r/AwC2//P/tf/m/+H/AwADABEAKQApADoAHgBHAAgAPADr/wkA1//f/93/vP/6/7L/CgDA/x4A7/8hACkAAgBPAPz/UgD1/zIABAAEAPz/0v/5/7f/AACy//H/2f/+/wEAAAAkABUAMwAdADoAEQA9APD/EADU//L/1P/H/+z/tf8LALv/HADk/ygAGgADAEMA//9TAPn/QAAAABAAAQDc//z/wf8DALD/7P/Q//z/9/8HABoAFgA3ACMAMAAOADwA+P8ZANv/+P/Y/9H/5v+8/wUAu/8WANf/HgAMAAoAPQABAFMA/f9HAP7/HwAEAN//+v/H/wMAs//2/8r/8//y/wMADgAQAC4AIwAyABMAJwD8/xcA3v8LANP/5v/f/8j/AgC4/w4A1P8eAAQACgAxAAEAUgD+/0gA/v8nAAIA8f/5/8r/BAC6/+3/wP/l/+b/AQAIABkAIwArAC4AIAAoAAkAGADj/w0A0f/r/9//0P8DAL3/CgDN/xkA//8IACUAAgBJAAAATwD+/ysAAQD7//3/z/8DAMT/+f/K/+L/5P/1////EgAcACYALgApAC4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AoAAQApAAQALQADACAAAgAPAP//9P///9r//f/T/wAA3f/9//D/AQAQAP//HAAHAC8ACQAfAPv/GAD+//f/+P/j/wEA0v/+/9n/AADq/wIABgD//x0AAQAuAAEAIwAAABQAAwD8/wEA3/8AAM//AADe////7f8BAAwA//8ZAAMALwAAACEA//8dAP3//v/9/+n////U//z/1v8BAOT/AAD+/wAAGwD+/ywA/v8kAAIAGAD///3////q/wEA0P///97/AADk/wAABAAAABUAAQAqAAEAKQAAABwAAAAFAP//6f8AANr////X/wAA4/8AAPj/AgAUAAAAKgD//ywAAAAcAP7/AQAAAOv/AADU/wAA2v8CAOP/AAABAAAAFgABABsAAAAqAAEAHwAAABQAAgDv/wEA3v///9H////f////7/8BAAoAAQApAAAALgD//yEAAQAIAAAA8P8BANr//v/V////4f8AAPf//v8UAAAAFAAAACYAAQAhAP7/GwD+//T/AADo/wIA1v8CANr/AgDp/wEABgAAAB8AAQAsAAEAJAAAAAwA///z/wEA3/8AANT/AADh/wEA9P///xQAAgASAAAAJQAAACEAAAAaAP//+v8BAOj////W////2P8BAOf///8DAAAAHwAAAC4AAAAlAAAAEgAAAPL/AQDm////0f8CAN3/AADr//7/EQD//xAAAQAhAAIAJQAAAB8AAAABAP//6v8CAN//AQDX/wAA4/8AAPr/AAAXAAAAKgABACgAAAAbAP///f8AAOj/AADU/wAA2v///+f/AQANAAMAEQD+/xwA/v8kAP7/IQABAAgA/v/p////5/8AANf/AQDd/wEA8v8BABMAAQAjAAAALgAAACAAAQADAAEA7f8BANn/AgDY//7/4P/+/wEAAAAXAAIAFAAFACUA/P8jAP//EgAAAO//AQDo////1/8AAN3/AADx//7/DgAAAB0AAQAoAAAAIwAAAAoAAQDv/wMA4f8AANn/AQDi/wEA+v///xgAAAAQAP3/IwD//yUA/v8XAAAA7/8AAOv/AADc/wAA3P/+/+v/AQALAAEAGgACACkAAAAkAP7/EAABAO/////q//7/1/8AANz/AgDw/wEAEgD//w8AAAAcAAIAJQAAAB0AAAD2////7P8AAOP/AgDa/wAA5P8BAAQAAQAWAAAAIgAAACMAAAAaAP//+P///+v/AQDZ/wAA2////+7/AAARAAAADgAAABYAAAAhAAAAIAABAPz/AQDt/wAA5P8AANr/AQDg/wEA/P8BABcAAAAhAP//KQD//xwAAAD8/wEA7v8AAN3////Z/wAA6f8BAA0AAAARAAEAEQAAACMAAAAgAAEA/f8CAO3/AADv/wAA3v8BANv////1////EgAAABkA//8nAAAAIgAAAAMAAADu/wAA6P8CANn/AQDg////BQD//xMAAQAOAP//IAABACYAAAAGAAAA6f////H/AADg/wEA2f8AAO3///8PAAAAFQACACQAAAAkAAEADQABAO//AADp/wAA2////9z/AQD7/wEAFgAAAAwAAQAXAP7/JQD9/xMAAADx/wAA8f8AAOr/AADc/wEA4/8BAAkAAAAVAAAAIQD//yYA//8UAAEA9P8BAOz/AADf/wAA3P8AAPP/AAAQAAAADQABAA0AAAAlAAEAGAD///H//v/0/wEA7v8CAN//AADg//3/BAACABUAAQAfAAAAJwABABgAAQD0//7/7f///+L/AADa/wIA8P///w4A//8SAAMACQAAACAAAQAgAP//+v////P////y/wEA4/8BANr/AQD9/wAAEwD//xkAAQAjAAAAIgABAPz////s/wAA6v8BANX/AQDr//7/BwABABMAAAAHAP//FwAAACYAAAD//wEA9P8BAPb/AQDu////2v8BAPn/AAATAP//FwD//yEAAAAjAAAAAgAAAOn/AQDr//7/2P8CAOT/AAABAP//FgABAAUAAQATAP//IwAAAAEAAgDy/wEA9/8AAPb/AADb/wAA6/8BABAAAAATAP7/IQAAACYA//8UAP//7/8AAPD/AADd/wEA3P/+//7///8OAAAACgAAAAgAAAAhAP//CQACAPT/AQD2/wAA9v///97////m/wIADgABABMAAQAfAP//JwAAABMAAADw/wAA8P///+r/AQDb/wAA9f8AAA8AAAARAAIABAD//wYA/v8HAAAAAQD//wMAAgAGAAAA7f8AAOz/AAALAP//DwACABQA//8bAAAAHgD///f/AADq/wEA6/8BANj//v/t/wAACAD+/xAAAgAEAAAABAABAAcAAQADAAAA//8AAAUA///1/wAA5f///wIAAAAOAAAAEAAAABsAAAAhAAAA/v8BAOj////y////3f8AAOf/AQAGAAEADAAAAAcA//8BAP//CQABAAMA//8BAP//BQAAAAAAAADo/wAA+/8AAAoAAAALAAAAFAAAACAAAQAGAAIA7f8BAPH/AADm/wMA3P8CAP7/AgASAP//CgD//wAAAAAIAP//BQD//wEAAAACAP7/BAAAAPz/AwD8////BAAAAAEA//8HAAAAHQAAAAgA/v/x//7/8f///+f/AQDg/////P///woAAAAMAP//AAABAAYA//8EAAAAAgAAAAUAAAACAAAAAwAAAAIAAAABAAAAAQABAAAAAgAcAP//DgD///T/AQDx/wAA9P8CAOH/AAD3/wAACQAAAAoAAQABAP//AwAAAAcAAAD+/wAAAgACAAEAAAD+////AwD+/wAAAAABAP//+v8BABEAAQATAAAA9f/+//L//f/z/wIA6f8AAPb/AQAFAP//DAAAAAAAAAAFAP//BQD//wEA//8DAAEAAQAAAP7///8AAAAA//8BAAIAAAD+/wAAEAABABYAAgD6/wEA8v8BAPX/AwDp/wAA8////wMA//8JAAEABAABAAEA//8FAAEA//8AAAMAAQACAP//AQAAAAEAAgAFAP//AQABAAAAAQAAAP//EQABAAAAAAD5/wEA+P8AAPr////6/wAA+/8BAAIA//8BAAAA//8CAAUA//8BAP7/AAABAAEAAgAAAAAAAwAAAAEA/v8DAAIAAAACAAQA//8TAAAA/P8BAPr////3//////8AAPz/AQD7/wEAAgD/////AAABAAEABAAAAP//////////AAAAAAAAAAADAAAAAwAAAAAA//8EAP///v/+/xAA//8HAAAA+/////j/AQD8////AAD///n///8AAAAA//8AAP////8DAP//AgAAAAAAAAACAAIAAAD+/wAAAQD//wAA/////wIAAgD9////CQACAAYA///9////+f8BAPr/AQAAAAIA/v///wAA//8AAAAAAAAAAAEAAAABAAAAAgAAAAEAAAAAAAEAAQABAAAAAgABAP//AAD//wEAAAD///////8BAAIAAQAAAAAA/v/+//////8BAAAAAQABAP//AAD///////8BAAAAAQABAP////8CAAEAAQD//wEA/v//////AQAAAAAAAAAAAAAAAAD9/wMA/////wAAAQD+/wEA/v/+//7/AQD//wMAAAAAAAAAAAABAAEA//////7/AAACAP3/AAD//wAAAQAAAP//AQD//wAAAAAAAAEA//8CAP//AAAAAAAA/v8AAAAA//8BAP//AAABAP//AAAAAP//AQD//wAAAQABAAAAAAABAAEA/v///wAAAAD//////////wAAAAAAAP//AAD////////8/wIAAAADAAEA/////wEA/v8BAP7/AgAAAAEAAgAAAP//AgD/////AQD//wEA//////7/AQD//wMAAAAAAAAA//8CAP//AQAAAP//AAACAAAAAAABAP//AQD+/wAA/////wAA/f///wAAAAAAAP7/AAAAAAAAAgD//wEAAQACAP//AAAAAAEAAQD//wAAAAAAAAAA//8BAAMA/v8AAP7/AQAAAAAAAQAAAAAA///+//7/AAAAAAAA//8BAP7/AQAAAP//AQABAAAAAQAAAP//AAD//wIA/v///wAAAQABAP//AAD//wEA//8BAP//AgAAAP///////wAAAQABAP//AwABAAAAAAAAAAAA/////wIAAwACAAAA/v8BAAAAAAAAAAAA//8AAP////8AAAAA/////wAA/////wEA/v8CAAEAAQD//wAAAAABAAAAAAD//wEAAQABAAAA//8CAAAAAAAAAP7/AAABAAAAAQABAAAAAgABAAAAAQD//wEAAwD+/wAA/v8AAAEAAAAAAAAAAAAAAAEAAAD//wMA/v///wAAAAACAAEAAAAAAP7///8DAAEAAQD//wEA/f8BAAEAAQD//wEAAQABAAMAAgAAAAEA//8AAP//BAAAAAIA/v//////AQABAAAAAAD//wEAAAACAAIAAQAAAAAAAgAAAAAAAAABAAIAAAABAAIAAQAAAP////8AAAAAAAD//wAAAQACAP//AAAAAAAAAQAAAAEA//8AAAAAAAD/////AQD//wAAAQD9////AQAAAAAA//8BAAAA///+/////v8BAAAAAQAAAAAAAAAAAAIA//8BAAAAAAACAP//AQD//wAAAAD/////AAD9/wAAAAACAAAAAgAAAAEAAQABAAEAAAAAAAEA//8AAAEAAQACAAAAAQAAAAEA//8BAAIAAAACAP//AAABAAAAAAAAAAAAAAD//wAAAQD/////AAAAAP////8AAAEAAAAAAP7///8BAAIAAQD//wEAAQAAAP//AgAAAAAAAAD//wAA//8CAP7/AQAAAP7/AAD+////AAAAAAAAAQABAAAA//8AAAEAAAABAP7/AAAAAP7/AAD+/wAAAQABAAEA/////////v8BAP///v///wIAAAAAAAAAAQAAAAIAAQAAAAAAAAABAAEAAAAAAAAAAAD//wEAAQD//wAAAQABAAAA/v/+/////////wAAAAD//wAAAAD/////AAAAAP7/AAD//wIA//8CAP//AQAAAP////8AAAAAAQABAP////8AAP//AQACAAAAAQAAAAAAAAAAAAAA//8BAAAAAAD+/wAA/v///wEAAAD+//7///8CAP7/AAABAP3/AwAAAAAAAAABAAIAAAABAAAAAQABAAIAAAAAAP//AAAAAAEAAAACAAEAAAACAAAAAAABAAAAAwAAAAAAAAD+/wAAAQD9//////8BAAAA/v8AAAAAAAAAAAAAAAD//wMA/v8BAAEAAQACAAAA/v8BAP//AwABAAIAAQABAP//AQAAAAEAAAAAAAEA//8AAAAAAAD/////AAABAAEAAAAAAP////8AAAAAAAAAAAAA/v8AAP//AQAAAP//AAABAAIAAQAAAAAAAgABAAAA/////wAAAQABAP//AQABAAEA/////wAAAAAAAAAAAAABAAEAAQAAAAAAAAAAAAAA//8AAP7/AQD9/wAAAgD//wEAAQABAAEA/v8AAAEA/////wAAAAAAAP//AAABAAAAAAAAAAAA//8CAP//AAABAAEAAQABAAAA//8BAAIAAgD//wAA/v8AAAEAAAD///7/AAAAAAEAAAABAAAAAQABAAAAAQACAAAA///+/wAAAQABAP7////+/wAA//8AAAAAAgAAAP//AQD9/wAAAAD//wAA//8AAAAAAQAAAAAAAQD//wAAAAAAAP//AQABAAAA/v8CAP//AAD///////8AAAAAAAACAAEA//8BAP7/AAAAAAEA//8BAAAAAQD//wAAAQD+/wAA/////wAAAAD//wAAAQABAAAA//8AAAEA/////wAA//8AAAAA/v/+/wEAAgABAP//AgD//wIA/////wAA//8AAAEAAQAAAAAAAQAAAAMAAAACAP//",showCount:!0},audio:{disabled:!0,defaultToggledOn:!1,language:"en-US",voiceNames:["Microsoft David - English (United States)","Alex (English - United States)"],rate:1,volume:1,icon:KS,iconDisabled:GS},chatHistory:{disabled:!1,maxEntries:30,storageKey:"rcb-history",storageType:"LOCAL_STORAGE",viewChatHistoryButtonText:"Load Chat History ⟳",chatHistoryLineBreakText:"----- Previous Chat History -----",autoLoad:!1},chatInput:{disabled:!1,allowNewline:!1,enabledPlaceholderText:"Type your message...",disabledPlaceholderText:"",showCharacterCount:!1,characterLimit:-1,botDelay:1e3,sendButtonIcon:WS,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[Xt.VOICE_MESSAGE_BUTTON,Xt.SEND_MESSAGE_BUTTON]},chatWindow:{showScrollbar:!1,showTypingIndicator:!0,autoJumpToBottom:!1,showMessagePrompt:!0,messagePromptText:"New Messages ↓",messagePromptOffset:30,defaultOpen:!1},sensitiveInput:{maskInTextArea:!0,maskInUserBubble:!0,asterisksCount:10,hideInUserBubble:!1},userBubble:{animate:!0,showAvatar:!1,avatar:"data:image/svg+xml,%3csvg%20width='140'%20height='140'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cy='60.044'%20cx='70'%20fill='%235c5c5c'%20r='29'/%3e%3cpath%20d='m16.36%20156.186-.01-30.5c-.005-16.844%2024.168-30.507%2053.991-30.516%2029.823-.009%2054.004%2013.64%2054.01%2030.484l.008%2030.5-108%20.032z'%20fill='%235c5c5c'/%3e%3c/svg%3e",simulateStream:!1,streamSpeed:30},botBubble:{animate:!0,showAvatar:!1,avatar:gm,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:YS,iconDisabled:qS},footer:{text:E.jsxs("div",{style:{cursor:"pointer",display:"flex",flexDirection:"row",alignItems:"center",columnGap:3},onClick:()=>window.open("https://react-chatbotify.com","_blank","noopener,noreferrer"),children:[E.jsx("span",{children:"Powered By "},0),E.jsx("div",{style:{borderRadius:"50%",width:14,height:14,display:"flex",justifyContent:"center",alignItems:"center",background:"linear-gradient(to right, #42b0c5, #491d8d)"},children:E.jsx(mm,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),E.jsx("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[Xt.FILE_ATTACHMENT_BUTTON,Xt.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:vm,iconDisabled:vm,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:ym,iconDisabled:ym,list:["😀","😃","😄","😅","😊","😌","😇","🙃","🤣","😍","🥰","🥳","🎉","🎈","🚀","⭐️"]},toast:{maxCount:3,forbidOnMax:!1,dismissOnClick:!0},event:{rcbPreInjectMessage:!1,rcbPostInjectMessage:!1,rcbStartSimulateStreamMessage:!1,rcbStopSimulateStreamMessage:!1,rcbStartStreamMessage:!1,rcbChunkStreamMessage:!1,rcbStopStreamMessage:!1,rcbRemoveMessage:!1,rcbSaveChatHistory:!1,rcbLoadChatHistory:!1,rcbToggleChatWindow:!1,rcbStartSpeakAudio:!1,rcbToggleAudio:!1,rcbToggleNotifications:!1,rcbToggleVoice:!1,rcbChangePath:!1,rcbShowToast:!1,rcbDismissToast:!1,rcbUserSubmitText:!1,rcbUserUploadFile:!1,rcbTextAreaChangeValue:!1,rcbPreLoadChatBot:!1,rcbPostLoadChatBot:!1,rcbPreProcessBlock:!1,rcbPostProcessBlock:!1},ariaLabel:{chatButton:"open chat",audioButton:"toggle audio",closeChatButton:"close chat",emojiButton:"emoji picker",fileAttachmentButton:"upload file",notificationButton:"toggle notifications",sendButton:"send message",voiceButton:"toggle voice",inputTextArea:"input text area"},device:{desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!0}},xm=T.createContext({settings:{},setSyncedSettings:()=>null,syncedSettingsRef:{current:{}}}),ht=()=>T.useContext(xm),XS=({children:t,settings:e=bm,setSyncedSettings:n,syncedSettingsRef:r})=>E.jsx(xm.Provider,{value:{settings:e,setSyncedSettings:n,syncedSettingsRef:r},children:t}),wm={tooltipStyle:{},notificationBadgeStyle:{},chatWindowStyle:{},headerStyle:{},bodyStyle:{},chatInputContainerStyle:{},chatInputAreaStyle:{},chatInputAreaFocusedStyle:{},chatInputAreaDisabledStyle:{},userBubbleStyle:{},botBubbleStyle:{},botOptionStyle:{},botOptionHoveredStyle:{},botCheckboxRowStyle:{},botCheckboxNextStyle:{},botCheckMarkStyle:{},botCheckMarkSelectedStyle:{},characterLimitStyle:{},characterLimitReachedStyle:{},chatHistoryLineBreakStyle:{},chatMessagePromptStyle:{},chatMessagePromptHoveredStyle:{},footerStyle:{},loadingSpinnerStyle:{},mediaDisplayContainerStyle:{},chatButtonStyle:{},chatButtonHoveredStyle:{},chatHistoryButtonStyle:{},chatHistoryButtonHoveredStyle:{},sendButtonStyle:{},sendButtonHoveredStyle:{},sendButtonDisabledStyle:{},audioButtonStyle:{},audioButtonDisabledStyle:{},closeChatButtonStyle:{},emojiButtonStyle:{},emojiButtonDisabledStyle:{},fileAttachmentButtonStyle:{},fileAttachmentButtonDisabledStyle:{},notificationButtonStyle:{},notificationButtonDisabledStyle:{},voiceButtonStyle:{},voiceButtonDisabledStyle:{},chatIconStyle:{},audioIconStyle:{},audioIconDisabledStyle:{},closeChatIconStyle:{},emojiIconStyle:{},emojiIconDisabledStyle:{},fileAttachmentIconStyle:{},fileAttachmentIconDisabledStyle:{},notificationIconStyle:{},notificationIconDisabledStyle:{},voiceIconStyle:{},voiceIconDisabledStyle:{},sendIconStyle:{},sendIconDisabledStyle:{},sendIconHoveredStyle:{},rcbTypingIndicatorContainerStyle:{},rcbTypingIndicatorDotStyle:{},toastPromptContainerStyle:{},toastPromptStyle:{},toastPromptHoveredStyle:{}},km=T.createContext({styles:{},setSyncedStyles:()=>null,syncedStylesRef:{current:{}}}),Bt=()=>T.useContext(km),JS=({children:t,styles:e=wm,setSyncedStyles:n,syncedStylesRef:r})=>E.jsx(km.Provider,{value:{styles:e,setSyncedStyles:n,syncedStylesRef:r},children:t}),ZS=({buttons:t})=>{var e,n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),p={backgroundImage:`linear-gradient(to right, ${(e=u.general)==null?void 0:e.secondaryColor},
20
+ `&&k.push(mt),re;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(Ke(B));for(var gr in L)if(h.call(L,gr)&&(re=L[gr],re!=null))switch(gr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,B));default:Ee(k,Q,gr,re)}return k.push(Ge),null;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 yt(k,L,B,Q);case"html":return ae.insertionMode===0&&k.push(fn),yt(k,L,B,Q);default:if(B.indexOf("-")===-1&&typeof L.is!="string")return yt(k,L,B,Q);k.push(Ke(B)),Ae=re=null;for(ft in L)if(h.call(L,ft)&&(ke=L[ft],ke!=null))switch(ft){case"children":re=ke;break;case"dangerouslySetInnerHTML":Ae=ke;break;case"style":Ve(k,Q,ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:w(ft)&&typeof ke!="function"&&typeof ke!="symbol"&&k.push(ze,u(ft),$e,u(z(ke)),wt)}return k.push(Xe),At(k,Ae,re),re}}var vn=d("</"),qt=d(">"),_t=d('<template id="'),fe=d('"></template>'),Le=d("<!--$-->"),Be=d('<!--$?--><template id="'),ct=d('"></template>'),We=d("<!--$!-->"),le=d("<!--/$-->"),Ce=d("<template"),Te=d('"'),qe=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var He=d("></template>");function Ne(k,B,L){if(o(k,Be),L===null)throw Error(e(395));return o(k,L),i(k,ct)}var bt=d('<div hidden id="'),xt=d('">'),it=d("</div>"),$t=d('<svg aria-hidden="true" style="display:none" id="'),Kt=d('">'),rn=d("</svg>"),Ut=d('<math aria-hidden="true" style="display:none" id="'),an=d('">'),zt=d("</math>"),Sn=d('<table hidden id="'),Qn=d('">'),Ir=d("</table>"),ln=d('<table hidden><tbody id="'),Hn=d('">'),yn=d("</tbody></table>"),Jn=d('<table hidden><tr id="'),Mn=d('">'),pn=d("</tr></table>"),Mr=d('<table hidden><colgroup id="'),Qo=d('">'),ur=d("</colgroup></table>");function En(k,B,L,Q){switch(L.insertionMode){case 0:case 1:return o(k,bt),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,xt);case 2:return o(k,$t),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Kt);case 3:return o(k,Ut),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,an);case 4:return o(k,Sn),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Qn);case 5:return o(k,ln),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Hn);case 6:return o(k,Jn),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Mn);case 7:return o(k,Mr),o(k,B.segmentPrefix),o(k,u(Q.toString(16))),i(k,Qo);default:throw Error(e(397))}}function Zn(k,B){switch(B.insertionMode){case 0:case 1:return i(k,it);case 2:return i(k,rn);case 3:return i(k,zt);case 4:return i(k,Ir);case 5:return i(k,yn);case 6:return i(k,pn);case 7:return i(k,ur);default:throw Error(e(397))}}var on=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ho=d('$RS("'),co=d('","'),Uo=d('")<\/script>'),pi=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),_s=d('$RC("'),Pa=d('","'),Da=d('")<\/script>'),Lt=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),On=d('$RX("'),Yi=d('"'),qi=d(")<\/script>"),Vo=d(","),Ta=/[<\u2028\u2029]/g;function uo(k){return JSON.stringify(k).replace(Ta,function(B){switch(B){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Or=Object.assign,$n=Symbol.for("react.element"),hi=Symbol.for("react.portal"),bn=Symbol.for("react.fragment"),Is=Symbol.for("react.strict_mode"),Ms=Symbol.for("react.profiler"),Os=Symbol.for("react.provider"),fo=Symbol.for("react.context"),Ai=Symbol.for("react.forward_ref"),Wo=Symbol.for("react.suspense"),Yo=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),F=Symbol.for("react.scope"),H=Symbol.for("react.debug_trace_mode"),ie=Symbol.for("react.legacy_hidden"),$=Symbol.for("react.default_value"),he=Symbol.iterator;function De(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case bn:return"Fragment";case hi:return"Portal";case Ms:return"Profiler";case Is:return"StrictMode";case Wo:return"Suspense";case Yo:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case fo:return(k.displayName||"Context")+".Consumer";case Os:return(k._context.displayName||"Context")+".Provider";case Ai:var B=k.render;return k=k.displayName,k||(k=B.displayName||B.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case x:return B=k.displayName||null,B!==null?B:De(k.type)||"Memo";case _:B=k._payload,k=k._init;try{return De(k(B))}catch{}}return null}var Ie={};function tt(k,B){if(k=k.contextTypes,!k)return Ie;var L={},Q;for(Q in k)L[Q]=B[Q];return L}var ut=null;function It(k,B){if(k!==B){k.context._currentValue=k.parentValue,k=k.parent;var L=B.parent;if(k===null){if(L!==null)throw Error(e(401))}else{if(L===null)throw Error(e(401));It(k,L)}B.context._currentValue=B.value}}function dr(k){k.context._currentValue=k.parentValue,k=k.parent,k!==null&&dr(k)}function fr(k){var B=k.parent;B!==null&&fr(B),k.context._currentValue=k.value}function Un(k,B){if(k.context._currentValue=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===B.depth?It(k,B):Un(k,B)}function po(k,B){var L=B.parent;if(L===null)throw Error(e(402));k.depth===L.depth?It(k,L):po(k,L),B.context._currentValue=B.value}function pr(k){var B=ut;B!==k&&(B===null?fr(k):k===null?dr(B):B.depth===k.depth?It(B,k):B.depth>k.depth?Un(B,k):po(B,k),ut=k)}var hr={isMounted:function(){return!1},enqueueSetState:function(k,B){k=k._reactInternals,k.queue!==null&&k.queue.push(B)},enqueueReplaceState:function(k,B){k=k._reactInternals,k.replace=!0,k.queue=[B]},enqueueForceUpdate:function(){}};function Vn(k,B,L,Q){var ae=k.state!==void 0?k.state:null;k.updater=hr,k.props=L,k.state=ae;var re={queue:[],replace:!1};k._reactInternals=re;var Ae=B.contextType;if(k.context=typeof Ae=="object"&&Ae!==null?Ae._currentValue:Q,Ae=B.getDerivedStateFromProps,typeof Ae=="function"&&(Ae=Ae(L,ae),ae=Ae==null?ae:Or({},ae,Ae),k.state=ae),typeof B.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(B=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),B!==k.state&&hr.enqueueReplaceState(k,k.state,null),re.queue!==null&&0<re.queue.length)if(B=re.queue,Ae=re.replace,re.queue=null,re.replace=!1,Ae&&B.length===1)k.state=B[0];else{for(re=Ae?B[0]:k.state,ae=!0,Ae=Ae?1:0;Ae<B.length;Ae++){var ke=B[Ae];ke=typeof ke=="function"?ke.call(k,re,L,Q):ke,ke!=null&&(ae?(ae=!1,re=Or({},re,ke)):Or(re,ke))}k.state=re}else re.queue=null}var Rr={id:1,overflow:""};function Ar(k,B,L){var Q=k.id;k=k.overflow;var ae=32-qo(Q)-1;Q&=~(1<<ae),L+=1;var re=32-qo(B)+ae;if(30<re){var Ae=ae-ae%5;return re=(Q&(1<<Ae)-1).toString(32),Q>>=Ae,ae-=Ae,{id:1<<32-qo(B)+ae|L<<ae|Q,overflow:re+k}}return{id:1<<re|L<<ae|Q,overflow:k}}var qo=Math.clz32?Math.clz32:ad,Ko=Math.log,Wh=Math.LN2;function ad(k){return k>>>=0,k===0?32:31-(Ko(k)/Wh|0)|0}function Rs(k,B){return k===B&&(k!==0||1/k===1/B)||k!==k&&B!==B}var Yh=typeof Object.is=="function"?Object.is:Rs,Jr=null,Ki=null,Ls=null,Mt=null,ho=!1,Go=!1,Zr=0,Lr=null,Ba=0;function gi(){if(Jr===null)throw Error(e(321));return Jr}function _a(){if(0<Ba)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Gi(){return Mt===null?Ls===null?(ho=!1,Ls=Mt=_a()):(ho=!0,Mt=Ls):Mt.next===null?(ho=!1,Mt=Mt.next=_a()):(ho=!0,Mt=Mt.next),Mt}function Ns(){Ki=Jr=null,Go=!1,Ls=null,Ba=0,Mt=Lr=null}function tc(k,B){return typeof B=="function"?B(k):B}function Ao(k,B,L){if(Jr=gi(),Mt=Gi(),ho){var Q=Mt.queue;if(B=Q.dispatch,Lr!==null&&(L=Lr.get(Q),L!==void 0)){Lr.delete(Q),Q=Mt.memoizedState;do Q=k(Q,L.action),L=L.next;while(L!==null);return Mt.memoizedState=Q,[Q,B]}return[Mt.memoizedState,B]}return k=k===tc?typeof B=="function"?B():B:L!==void 0?L(B):B,Mt.memoizedState=k,k=Mt.queue={last:null,dispatch:null},k=k.dispatch=Ma.bind(null,Jr,k),[Mt.memoizedState,k]}function Ia(k,B){if(Jr=gi(),Mt=Gi(),B=B===void 0?null:B,Mt!==null){var L=Mt.memoizedState;if(L!==null&&B!==null){var Q=L[1];e:if(Q===null)Q=!1;else{for(var ae=0;ae<Q.length&&ae<B.length;ae++)if(!Yh(B[ae],Q[ae])){Q=!1;break e}Q=!0}if(Q)return L[0]}}return k=k(),Mt.memoizedState=[k,B],k}function Ma(k,B,L){if(25<=Ba)throw Error(e(301));if(k===Jr)if(Go=!0,k={action:L,next:null},Lr===null&&(Lr=new Map),L=Lr.get(B),L===void 0)Lr.set(B,k);else{for(B=L;B.next!==null;)B=B.next;B.next=k}}function ld(){throw Error(e(394))}function mi(){}var Fs={readContext:function(k){return k._currentValue},useContext:function(k){return gi(),k._currentValue},useMemo:Ia,useReducer:Ao,useRef:function(k){Jr=gi(),Mt=Gi();var B=Mt.memoizedState;return B===null?(k={current:k},Mt.memoizedState=k):B},useState:function(k){return Ao(tc,k)},useInsertionEffect:mi,useLayoutEffect:function(){},useCallback:function(k,B){return Ia(function(){return k},B)},useImperativeHandle:mi,useEffect:mi,useDebugValue:mi,useDeferredValue:function(k){return gi(),k},useTransition:function(){return gi(),[!1,ld]},useId:function(){var k=Ki.treeContext,B=k.overflow;k=k.id,k=(k&~(1<<32-qo(k)-1)).toString(32)+B;var L=js;if(L===null)throw Error(e(404));return B=Zr++,k=":"+L.idPrefix+"R"+k,0<B&&(k+="H"+B.toString(32)),k+":"},useMutableSource:function(k,B){return gi(),B(k._source)},useSyncExternalStore:function(k,B,L){if(L===void 0)throw Error(e(407));return L()}},js=null,Rn=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Xi(k){return console.error(k),null}function vi(){}function zs(k,B,L,Q,ae,re,Ae,ke,et){var ft=[],st=new Set;return B={destination:null,responseState:B,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:st,pingedTasks:ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ae===void 0?Xi:ae,onAllReady:re===void 0?vi:re,onShellReady:Ae===void 0?vi:Ae,onShellError:ke===void 0?vi:ke,onFatalError:et===void 0?vi:et},L=Ji(B,0,null,L,!1,!1),L.parentFlushed=!0,k=nc(B,k,null,L,st,Ie,null,Rr),ft.push(k),B}function nc(k,B,L,Q,ae,re,Ae,ke){k.allPendingTasks++,L===null?k.pendingRootTasks++:L.pendingTasks++;var et={node:B,ping:function(){var ft=k.pingedTasks;ft.push(et),ft.length===1&&sc(k)},blockedBoundary:L,blockedSegment:Q,abortSet:ae,legacyContext:re,context:Ae,treeContext:ke};return ae.add(et),et}function Ji(k,B,L,Q,ae,re){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:L,lastPushedText:ae,textEmbedded:re}}function yi(k,B){if(k=k.onError(B),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function Xo(k,B){var L=k.onShellError;L(B),L=k.onFatalError,L(B),k.destination!==null?(k.status=2,p(k.destination,B)):(k.status=1,k.fatalError=B)}function Qs(k,B,L,Q,ae){for(Jr={},Ki=B,Zr=0,k=L(Q,ae);Go;)Go=!1,Zr=0,Ba+=1,Mt=null,k=L(Q,ae);return Ns(),k}function rc(k,B,L,Q){var ae=L.render(),re=Q.childContextTypes;if(re!=null){var Ae=B.legacyContext;if(typeof L.getChildContext!="function")Q=Ae;else{L=L.getChildContext();for(var ke in L)if(!(ke in re))throw Error(e(108,De(Q)||"Unknown",ke));Q=Or({},Ae,L)}B.legacyContext=Q,er(k,B,ae),B.legacyContext=Ae}else er(k,B,ae)}function cd(k,B){if(k&&k.defaultProps){B=Or({},B),k=k.defaultProps;for(var L in k)B[L]===void 0&&(B[L]=k[L]);return B}return B}function oc(k,B,L,Q,ae){if(typeof L=="function")if(L.prototype&&L.prototype.isReactComponent){ae=tt(L,B.legacyContext);var re=L.contextType;re=new L(Q,typeof re=="object"&&re!==null?re._currentValue:ae),Vn(re,L,Q,ae),rc(k,B,re,L)}else{re=tt(L,B.legacyContext),ae=Qs(k,B,L,Q,re);var Ae=Zr!==0;if(typeof ae=="object"&&ae!==null&&typeof ae.render=="function"&&ae.$$typeof===void 0)Vn(ae,L,Q,re),rc(k,B,ae,L);else if(Ae){Q=B.treeContext,B.treeContext=Ar(Q,1,0);try{er(k,B,ae)}finally{B.treeContext=Q}}else er(k,B,ae)}else if(typeof L=="string"){switch(ae=B.blockedSegment,re=Yt(ae.chunks,L,Q,k.responseState,ae.formatContext),ae.lastPushedText=!1,Ae=ae.formatContext,ae.formatContext=I(Ae,L,Q),ic(k,B,re),ae.formatContext=Ae,L){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ae.chunks.push(vn,u(L),qt)}ae.lastPushedText=!1}else{switch(L){case ie:case H:case Is:case Ms:case bn:er(k,B,Q.children);return;case Yo:er(k,B,Q.children);return;case F:throw Error(e(343));case Wo:e:{L=B.blockedBoundary,ae=B.blockedSegment,re=Q.fallback,Q=Q.children,Ae=new Set;var ke={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ae,errorDigest:null},et=Ji(k,ae.chunks.length,ke,ae.formatContext,!1,!1);ae.children.push(et),ae.lastPushedText=!1;var ft=Ji(k,0,null,ae.formatContext,!1,!1);ft.parentFlushed=!0,B.blockedBoundary=ke,B.blockedSegment=ft;try{if(ic(k,B,Q),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(J),ft.status=1,Ra(ke,ft),ke.pendingTasks===0)break e}catch(st){ft.status=4,ke.forceClientRender=!0,ke.errorDigest=yi(k,st)}finally{B.blockedBoundary=L,B.blockedSegment=ae}B=nc(k,re,L,et,Ae,B.legacyContext,B.context,B.treeContext),k.pingedTasks.push(B)}return}if(typeof L=="object"&&L!==null)switch(L.$$typeof){case Ai:if(Q=Qs(k,B,L.render,Q,ae),Zr!==0){L=B.treeContext,B.treeContext=Ar(L,1,0);try{er(k,B,Q)}finally{B.treeContext=L}}else er(k,B,Q);return;case x:L=L.type,Q=cd(L,Q),oc(k,B,L,Q,ae);return;case Os:if(ae=Q.children,L=L._context,Q=Q.value,re=L._currentValue,L._currentValue=Q,Ae=ut,ut=Q={parent:Ae,depth:Ae===null?0:Ae.depth+1,context:L,parentValue:re,value:Q},B.context=Q,er(k,B,ae),k=ut,k===null)throw Error(e(403));Q=k.parentValue,k.context._currentValue=Q===$?k.context._defaultValue:Q,k=ut=k.parent,B.context=k;return;case fo:Q=Q.children,Q=Q(L._currentValue),er(k,B,Q);return;case _:ae=L._init,L=ae(L._payload),Q=cd(L,Q),oc(k,B,L,Q,void 0);return}throw Error(e(130,L==null?L:typeof L,""))}}function er(k,B,L){if(B.node=L,typeof L=="object"&&L!==null){switch(L.$$typeof){case $n:oc(k,B,L.type,L.props,L.ref);return;case hi:throw Error(e(257));case _:var Q=L._init;L=Q(L._payload),er(k,B,L);return}if(q(L)){Oa(k,B,L);return}if(L===null||typeof L!="object"?Q=null:(Q=he&&L[he]||L["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(L))){if(L=Q.next(),!L.done){var ae=[];do ae.push(L.value),L=Q.next();while(!L.done);Oa(k,B,ae)}return}throw k=Object.prototype.toString.call(L),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":k))}typeof L=="string"?(Q=B.blockedSegment,Q.lastPushedText=ve(B.blockedSegment.chunks,L,k.responseState,Q.lastPushedText)):typeof L=="number"&&(Q=B.blockedSegment,Q.lastPushedText=ve(B.blockedSegment.chunks,""+L,k.responseState,Q.lastPushedText))}function Oa(k,B,L){for(var Q=L.length,ae=0;ae<Q;ae++){var re=B.treeContext;B.treeContext=Ar(re,Q,ae);try{ic(k,B,L[ae])}finally{B.treeContext=re}}}function ic(k,B,L){var Q=B.blockedSegment.formatContext,ae=B.legacyContext,re=B.context;try{return er(k,B,L)}catch(et){if(Ns(),typeof et=="object"&&et!==null&&typeof et.then=="function"){L=et;var Ae=B.blockedSegment,ke=Ji(k,Ae.chunks.length,null,Ae.formatContext,Ae.lastPushedText,!0);Ae.children.push(ke),Ae.lastPushedText=!1,k=nc(k,B.node,B.blockedBoundary,ke,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,L.then(k,k),B.blockedSegment.formatContext=Q,B.legacyContext=ae,B.context=re,pr(re)}else throw B.blockedSegment.formatContext=Q,B.legacyContext=ae,B.context=re,pr(re),et}}function qh(k){var B=k.blockedBoundary;k=k.blockedSegment,k.status=3,dd(this,B,k)}function ud(k,B,L){var Q=k.blockedBoundary;k.blockedSegment.status=3,Q===null?(B.allPendingTasks--,B.status!==2&&(B.status=2,B.destination!==null&&B.destination.close())):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,k=L===void 0?Error(e(432)):L,Q.errorDigest=B.onError(k),Q.parentFlushed&&B.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(ae){return ud(ae,B,L)}),Q.fallbackAbortableTasks.clear(),B.allPendingTasks--,B.allPendingTasks===0&&(Q=B.onAllReady,Q()))}function Ra(k,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var L=B.children[0];L.id=B.id,L.parentFlushed=!0,L.status===1&&Ra(k,L)}else k.completedSegments.push(B)}function dd(k,B,L){if(B===null){if(L.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=L}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=vi,B=k.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?(L.parentFlushed&&L.status===1&&Ra(B,L),B.parentFlushed&&k.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(qh,k),B.fallbackAbortableTasks.clear()):L.parentFlushed&&L.status===1&&(Ra(B,L),B.completedSegments.length===1&&B.parentFlushed&&k.partialBoundaries.push(B)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function sc(k){if(k.status!==2){var B=ut,L=Rn.current;Rn.current=Fs;var Q=js;js=k.responseState;try{var ae=k.pingedTasks,re;for(re=0;re<ae.length;re++){var Ae=ae[re],ke=k,et=Ae.blockedSegment;if(et.status===0){pr(Ae.context);try{er(ke,Ae,Ae.node),et.lastPushedText&&et.textEmbedded&&et.chunks.push(J),Ae.abortSet.delete(Ae),et.status=1,dd(ke,Ae.blockedBoundary,et)}catch(mr){if(Ns(),typeof mr=="object"&&mr!==null&&typeof mr.then=="function"){var ft=Ae.ping;mr.then(ft,ft)}else{Ae.abortSet.delete(Ae),et.status=4;var st=Ae.blockedBoundary,Nt=mr,Wn=yi(ke,Nt);if(st===null?Xo(ke,Nt):(st.pendingTasks--,st.forceClientRender||(st.forceClientRender=!0,st.errorDigest=Wn,st.parentFlushed&&ke.clientRenderedBoundaries.push(st))),ke.allPendingTasks--,ke.allPendingTasks===0){var gr=ke.onAllReady;gr()}}}}}ae.splice(0,re),k.destination!==null&&ac(k,k.destination)}catch(mr){yi(k,mr),Xo(k,mr)}finally{js=Q,Rn.current=L,L===Fs&&pr(B)}}}function La(k,B,L){switch(L.parentFlushed=!0,L.status){case 0:var Q=L.id=k.nextSegmentId++;return L.lastPushedText=!1,L.textEmbedded=!1,k=k.responseState,o(B,_t),o(B,k.placeholderPrefix),k=u(Q.toString(16)),o(B,k),i(B,fe);case 1:L.status=2;var ae=!0;Q=L.chunks;var re=0;L=L.children;for(var Ae=0;Ae<L.length;Ae++){for(ae=L[Ae];re<ae.index;re++)o(B,Q[re]);ae=Na(k,B,ae)}for(;re<Q.length-1;re++)o(B,Q[re]);return re<Q.length&&(ae=i(B,Q[re])),ae;default:throw Error(e(390))}}function Na(k,B,L){var Q=L.boundary;if(Q===null)return La(k,B,L);if(Q.parentFlushed=!0,Q.forceClientRender)Q=Q.errorDigest,i(B,We),o(B,Ce),Q&&(o(B,qe),o(B,u(z(Q))),o(B,Te)),i(B,He),La(k,B,L);else if(0<Q.pendingTasks){Q.rootSegmentID=k.nextSegmentId++,0<Q.completedSegments.length&&k.partialBoundaries.push(Q);var ae=k.responseState,re=ae.nextSuspenseID++;ae=d(ae.boundaryPrefix+re.toString(16)),Q=Q.id=ae,Ne(B,k.responseState,Q),La(k,B,L)}else if(Q.byteSize>k.progressiveChunkSize)Q.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(Q),Ne(B,k.responseState,Q.id),La(k,B,L);else{if(i(B,Le),L=Q.completedSegments,L.length!==1)throw Error(e(391));Na(k,B,L[0])}return i(B,le)}function fd(k,B,L){return En(B,k.responseState,L.formatContext,L.id),Na(k,B,L),Zn(B,L.formatContext)}function pd(k,B,L){for(var Q=L.completedSegments,ae=0;ae<Q.length;ae++)Fa(k,B,L,Q[ae]);if(Q.length=0,k=k.responseState,Q=L.id,L=L.rootSegmentID,o(B,k.startInlineScript),k.sentCompleteBoundaryFunction?o(B,_s):(k.sentCompleteBoundaryFunction=!0,o(B,pi)),Q===null)throw Error(e(395));return L=u(L.toString(16)),o(B,Q),o(B,Pa),o(B,k.segmentPrefix),o(B,L),i(B,Da)}function Fa(k,B,L,Q){if(Q.status===2)return!0;var ae=Q.id;if(ae===-1){if((Q.id=L.rootSegmentID)===-1)throw Error(e(392));return fd(k,B,Q)}return fd(k,B,Q),k=k.responseState,o(B,k.startInlineScript),k.sentCompleteSegmentFunction?o(B,Ho):(k.sentCompleteSegmentFunction=!0,o(B,on)),o(B,k.segmentPrefix),ae=u(ae.toString(16)),o(B,ae),o(B,co),o(B,k.placeholderPrefix),o(B,ae),i(B,Uo)}function ac(k,B){n=new Uint8Array(512),r=0;try{var L=k.completedRootSegment;if(L!==null&&k.pendingRootTasks===0){Na(k,B,L),k.completedRootSegment=null;var Q=k.responseState.bootstrapChunks;for(L=0;L<Q.length-1;L++)o(B,Q[L]);L<Q.length&&i(B,Q[L])}var ae=k.clientRenderedBoundaries,re;for(re=0;re<ae.length;re++){var Ae=ae[re];Q=B;var ke=k.responseState,et=Ae.id,ft=Ae.errorDigest,st=Ae.errorMessage,Nt=Ae.errorComponentStack;if(o(Q,ke.startInlineScript),ke.sentClientRenderFunction?o(Q,On):(ke.sentClientRenderFunction=!0,o(Q,Lt)),et===null)throw Error(e(395));o(Q,et),o(Q,Yi),(ft||st||Nt)&&(o(Q,Vo),o(Q,u(uo(ft||"")))),(st||Nt)&&(o(Q,Vo),o(Q,u(uo(st||"")))),Nt&&(o(Q,Vo),o(Q,u(uo(Nt)))),i(Q,qi)}ae.splice(0,re);var Wn=k.completedBoundaries;for(re=0;re<Wn.length;re++)pd(k,B,Wn[re]);Wn.splice(0,re),a(B),n=new Uint8Array(512),r=0;var gr=k.partialBoundaries;for(re=0;re<gr.length;re++){var mr=gr[re];e:{ae=k,Ae=B;var Hs=mr.completedSegments;for(ke=0;ke<Hs.length;ke++)if(!Fa(ae,Ae,mr,Hs[ke])){ke++,Hs.splice(0,ke);var lc=!1;break e}Hs.splice(0,ke),lc=!0}if(!lc){k.destination=null,re++,gr.splice(0,re);return}}gr.splice(0,re);var Jo=k.completedBoundaries;for(re=0;re<Jo.length;re++)pd(k,B,Jo[re]);Jo.splice(0,re)}finally{a(B),k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&B.close()}}function hd(k,B){try{var L=k.abortableTasks;L.forEach(function(Q){return ud(Q,k,B)}),L.clear(),k.destination!==null&&ac(k,k.destination)}catch(Q){yi(k,Q),Xo(k,Q)}}return Qc.renderToReadableStream=function(k,B){return new Promise(function(L,Q){var ae,re,Ae=new Promise(function(st,Nt){re=st,ae=Nt}),ke=zs(k,G(B?B.identifierPrefix:void 0,B?B.nonce:void 0,B?B.bootstrapScriptContent:void 0,B?B.bootstrapScripts:void 0,B?B.bootstrapModules:void 0),de(B?B.namespaceURI:void 0),B?B.progressiveChunkSize:void 0,B?B.onError:void 0,re,function(){var st=new ReadableStream({type:"bytes",pull:function(Nt){if(ke.status===1)ke.status=2,p(Nt,ke.fatalError);else if(ke.status!==2&&ke.destination===null){ke.destination=Nt;try{ac(ke,Nt)}catch(Wn){yi(ke,Wn),Xo(ke,Wn)}}},cancel:function(){hd(ke)}},{highWaterMark:0});st.allReady=Ae,L(st)},function(st){Ae.catch(function(){}),Q(st)},ae);if(B&&B.signal){var et=B.signal,ft=function(){hd(ke,et.reason),et.removeEventListener("abort",ft)};et.addEventListener("abort",ft)}sc(ke)})},Qc.version="18.3.1",Qc}var hm;function FS(){if(hm)return Ti;hm=1;var t,e;return t=LS(),e=NS(),Ti.version=t.version,Ti.renderToString=t.renderToString,Ti.renderToStaticMarkup=t.renderToStaticMarkup,Ti.renderToNodeStream=t.renderToNodeStream,Ti.renderToStaticNodeStream=t.renderToStaticNodeStream,Ti.renderToReadableStream=e.renderToReadableStream,Ti}var jS=FS();const zS=fs(jS),QS={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_ALLOW_ANON_ACCESS:"true",VITE_API_KEY:"4nn5l4T4TnkMdzsK0AwAtnGRcheBDnjawuAT42LaOLc",VITE_TURNSTILE_SITE_KEY:"0x4AAAAAACyJamk8FS7-RSMr"};function Hc(){return Hc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Hc.apply(null,arguments)}function Am(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}const Jt={AUDIO_BUTTON:"audio-button",NOTIFICATION_BUTTON:"notification-button",CLOSE_CHAT_BUTTON:"close-chat-button",SEND_MESSAGE_BUTTON:"send-button",VOICE_MESSAGE_BUTTON:"voice-button",FILE_ATTACHMENT_BUTTON:"file-attachment-button",EMOJI_PICKER_BUTTON:"emoji-button"},gm="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20viewBox='0%200%201000%201000'%3e%3crect%20width='100%25'%20height='100%25'%20fill='%23fff'/%3e%3cg%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-99%20362)%20scale(3.4003)'/%3e%3cpath%20d='M0%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(180%20106%20386)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-46%20282)%20scale(3.4003)'/%3e%3cpath%20d='M19%2065h4l5%204v1H14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20-3%20240)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(236%20175)%20scale(3.4003)'/%3e%3crect%20width='45'%20height='30'%20x='-22.5'%20y='-15'%20rx='1.5'%20ry='1.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20139%20600)%20scale(3.4003)'/%3e%3cpath%20d='M184%2075q14%200%2014%2017%200%2016-14%2016Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='4'%20x='-12.5'%20y='-2'%20rx='.2'%20ry='.2'%20style='stroke:%2346648c;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20219%20548)%20scale(3.4003)'/%3e%3cpath%20d='M175%2065h4l5%204v1h-14v-1Z'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2346648c;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3crect%20width='25'%20height='2'%20x='-12.5'%20y='-1'%20rx='.1'%20ry='.1'%20style='stroke:%2398b0ca;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2398b0ca;fill-rule:nonzero;opacity:1'%20transform='rotate(90%20262%20505)%20scale(3.4003)'/%3e%3ccircle%20r='7.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(767%20175)%20scale(3.4003)'/%3e%3crect%20width='116.7'%20height='70'%20x='-58.4'%20y='-35'%20rx='31.5'%20ry='31.5'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20877)%20scale(3.4003)'/%3e%3crect%20width='60'%20height='20'%20x='-30'%20y='-10'%20rx='3'%20ry='3'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2337547a;fill-rule:nonzero;opacity:1'%20transform='translate(502%20728)%20scale(3.4003)'/%3e%3ccircle%20r='75'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%2371c9fc;fill-rule:nonzero;opacity:1'%20transform='translate(502%20473)%20scale(3.4003)'/%3e%3crect%20width='129.4'%20height='82.3'%20x='-64.7'%20y='-41.1'%20rx='37'%20ry='37'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23fff;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3crect%20width='108'%20height='68.6'%20x='-54'%20y='-34.3'%20rx='30.9'%20ry='30.9'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(502%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(415%20464)%20scale(3.4003)'/%3e%3ccircle%20r='19.4'%20style='stroke:none;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23a478fc;fill-rule:nonzero;opacity:1'%20transform='translate(591%20464)%20scale(3.4003)'/%3e%3crect%20width='96'%20height='53.2'%20x='-48'%20y='-26.6'%20rx='23.9'%20ry='23.9'%20style='stroke:%23162334;stroke-width:1;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:4;is-custom-font:none;font-file-url:none;fill:%23162334;fill-rule:nonzero;opacity:1'%20transform='translate(503%20875)%20scale(3.4003)'/%3e%3cpath%20stroke-linecap='round'%20d='m68%20215%207-15M81%20222l-7-22M81%20222l7-14M101%20208H87M114%20219l-7-24M113%20219l13-22M131%20214l-5-17M148%20214h-18M69%20214H51M100%20209l7-15'%20style='stroke:%23a478fc;stroke-width:3;stroke-dasharray:none;stroke-linecap:butt;stroke-dashoffset:0;stroke-linejoin:miter;stroke-miterlimit:10;is-custom-font:none;font-file-url:none;fill:none;fill-rule:nonzero;opacity:1'%20transform='translate(165%20150)%20scale(3.4003)'/%3e%3c/g%3e%3c/svg%3e",mm=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 0 637 637",ref:e,...t},T.createElement("path",{d:"m478 113-13 2-4 1h4l14-2c10-2 35-2 42-1l6 3 3 1c3 0-4-3-8-5-7-1-34-1-44 1m56 6 8 6c7 5 20 17 20 19s7 12 8 12l-3-6-4-6c0-3-15-17-25-24-5-3-8-4-4-1m-198 16-9 1a512 512 0 0 1 9-1m-180 30a412 412 0 0 0-23 4 167 167 0 0 0-32 8 439 439 0 0 1 46-9 304 304 0 0 1 11-2l6-1h-8m369 8 4 3-7-6c-1 0 0 2 3 3m-439 9c-7 3-18 13-18 15l6-5c5-5 9-8 14-10l6-4-8 4m442 12-10 11-7 6 7-6c7-5 14-14 13-16l-3 5M65 205l-1 11c0 9 0 10 4 17 5 10 7 12 22 11 10 0 15 0 38-5l5-1-6 1-16 2-21 2c-13 1-16-1-21-10-3-5-4-6-4-15l1-12c1-4 1-5-1-1m335 1c3 0 3 1 3 3l-2 6c-2 5-35 39-76 80-53 51-120 117-138 137-21 24-22 25-22 27 0 3 6 9 9 9 4 0 14-8 38-27a5073 5073 0 0 1 15-16 1421 1421 0 0 0-17 15l-31 25-6 2-4-3c-3-3-3-4-2-6 3-8 79-85 160-163 57-57 79-80 79-86 0-2-3-4-7-4-2 0-2 0 1 1m165 18c-9 17-25 32-57 53l-10 8 16-11 12-8c15-10 27-22 39-39 5-7 6-8 4-8l-4 5m-221 2a199 199 0 0 0-19 10 183 183 0 0 1 27-12c0-1-1-1-8 2m-34 16c-3 3-2 3 2 0l1-2-3 2m151 3-1 2 2-2c3-3 2-3-1 0m-16 12-11 10a281 281 0 0 0 11-10m-24 18-7 5-7 5-42 31c-10 7-24 19-22 19l7-6 16-12a343 343 0 0 0 35-25 573 573 0 0 0 20-17m-187 0-2 2 4-2 3-2-5 2m-14 6-3 2 4-1 4-3-5 2m-7 3-8 4-18 8 18-7 7-3 3-1c1-2 0-2-2-1m254 24a2672 2672 0 0 1-71 54 601 601 0 0 0 39-29 1352 1352 0 0 1 32-25m-291-8-2 2 4-2 3-2-5 2m-13 5-2 2h3c5-3 4-4-1-2m-19 9-7 3-13 6c-10 5-13 7-14 10-3 4-2 5 1 0 2-3 5-5 14-9l13-6 12-6-6 2m178 36c-17 12-21 16-21 17a390 390 0 0 1 20-17m-206 34 1 4 1 3 1 5 2 8 1 5v-6l-1-8-2-5-1-4-1-2c-1-2-1-2-1 0m222 23-9 7a683 683 0 0 0-56 44 261 261 0 0 0-26 20 1345 1345 0 0 0-46 34c-6 3-7 3-19 3-11 0-12 0-18-3-8-4-10-8-17-20l-5-10 4 10c5 10 12 18 19 22 4 2 6 2 17 2 13 0 14 0 21-3l26-19 42-33a2183 2183 0 0 0 43-34 643 643 0 0 1 24-20",fill:"#fff",fillRule:"evenodd"}),T.createElement("path",{d:"M478 114a620 620 0 0 1-39 6l-21 3a5481 5481 0 0 0-19 3 870 870 0 0 1-54 8l-1 1-6 1-12 2-13 2a992 992 0 0 0-76 12 400 400 0 0 1-45 8l-6 1-5 1h-3l-3 1-2 1-26 4-13 2-17 3c-23 5-33 9-43 19-7 8-9 13-9 27 0 8 1 9 4 14 5 9 8 11 21 10l21-2a1133 1133 0 0 1 23-4 659 659 0 0 0 74-14l3-1h3l3-1h3l2-1 2-1h3l2-1h2l24-5 38-7a2100 2100 0 0 1 93-18l3-1 10-1a2082 2082 0 0 1 120-17l2 1c2 0 8 5 8 7l1 2 1 6c0 4 0 6-3 10-2 4-16 16-18 16l-7 5-10 8a1070 1070 0 0 0-11 7 113 113 0 0 1-20 14l-2 2-3 2-2 2h-1a154 154 0 0 1-28 21l-5 4-5 4a573 573 0 0 1-50 37 175 175 0 0 0-24 18l-1 2-2 1-2 1-2 1-1 1-12 10a396 396 0 0 0-32 25l-8 6-6 5-9 7a326 326 0 0 1-25 20l-13 12a5073 5073 0 0 0-17 15c-24 20-34 27-39 27-2 0-8-6-8-9 0-2 1-3 22-27 18-20 85-86 138-137 41-41 74-75 76-80l2-6c0-2 0-3-2-3l-7 1a233 233 0 0 1-26 9l-1 1-1 1h-1l-1 1h-2l-3 2-1 1h-2l-3 2h-1l-5 2-22 10-9 4-4 2-5 2-10 4-2 1-2 1-2 1-13 6a334 334 0 0 1-38 17 75 75 0 0 0-14 6l-5 2-4 1-2 1-3 2-7 3-16 6a247 247 0 0 0-32 14l-1 1h-2l-1 1h-2l-1 1-12 6a103 103 0 0 0-27 15l-2 5-1 1v11l1 5 1 5 1 4c0 3 0 4 2 4v3l1 3 1 2 2 10 1 4 1 5 2 10 2 8 1 4 1 4c3 3 9 25 11 38l1 7v2l1 4v1l1 1v2l1 2 1 3v1l5 10c7 13 9 16 17 20 6 3 7 3 18 3 12 0 13 0 19-3 8-4 11-6 26-18a1345 1345 0 0 1 85-67 683 683 0 0 1 50-39l12-9a513 513 0 0 1 44-33 201 201 0 0 0 22-17 2270 2270 0 0 0 73-54 158 158 0 0 0 58-59c2 0 3-9 4-27l-1-19-1-4-1-6-1-3-4-6-4-6c0-2-6-8-13-14a77 77 0 0 0-28-18c-6-1-34-1-43 1"}))),vm=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M765-321q0 117-84 196-83 80-200 80-118 0-200-80t-83-196v-392q0-85 61-144 61-58 146-58 86 0 147 58 61 59 61 144v374q0 54-39 92-39 37-93 37-55 0-93-37-38-38-38-92v-372h110v372q0 9 6 14t15 5q8 0 15-5t7-14v-374q0-39-29-66t-68-27q-40 0-69 27t-29 66v392q0 71 51 119t122 48q71 0 122-48t51-119v-426h111v426Z"}))),HS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M125-165v-113h77v-273q0-93 55-167 56-75 146-100v-19q0-32 22-55 23-23 55-23t55 23q22 23 22 55v19q90 25 146 99 56 73 56 168v273h77v113H125ZM480-32q-38 0-66-27-27-27-27-66h186q0 39-27 66t-66 27Z"}))),US=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M137-190v-113h78v-253q0-41 11-79 11-39 35-71l-9 150h10L17-802l74-74L873-92l-74 74-175-172H137Zm609-149L319-769q20-15 41-25t44-16v-28q0-32 22-54t54-22q32 0 55 22t22 54v28q85 23 137 94t52 160v217ZM481-47q-38 0-65-27t-27-65h184q0 38-27 65t-65 27Z"}))),VS=T.forwardRef((t,e)=>T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",ref:e,...t},T.createElement("g",{strokeLinecap:"round",strokeWidth:10},T.createElement("path",{d:"m19 19 61 61M80 19 19 80"})))),WS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M94-136v-255l351-93-351-92v-253l816 346L94-136Z"}))),YS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M480-372q-61 0-105-43-43-43-43-105v-240q0-61 43-105 43-43 105-43 61 0 105 43 43 44 43 105v240q0 62-43 105t-105 43ZM425-76v-122q-121-16-197-108t-76-214h109q0 91 64 154t155 63q91 0 155-63t64-154h109q0 122-77 214T534-198v122H425Z"}))),qS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"m763-343-80-79q8-20 13-44 5-23 5-54h109q0 49-11 95t-36 82ZM625-482 336-770v-2q3-56 45-96t101-40q62 0 105 43t43 105v249l-1 17q-1 7-4 12ZM427-76v-122q-120-16-196-108-77-92-77-214h109q0 91 64 154t155 63q43 0 80-14 37-15 67-41l78 79q-35 32-78 53t-93 28v122H427Zm362 27L41-796l75-75 748 748-75 74Z"}))),ym=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M625-511q29 0 50-21t20-50q0-29-20-50-21-20-50-20t-50 20-20 50q0 29 20 50 21 21 50 21Zm-290 0q29 0 50-21t20-49q0-30-20-50t-50-21q-29 0-50 20-20 21-20 50 0 30 20 50 21 21 50 21Zm145 268q75 0 137-43t85-115H258q24 72 85 115 62 43 137 43Zm0 198q-90 0-170-34-79-34-138-93T79-310q-34-80-34-170t34-170q34-79 93-138t138-93q80-34 170-34t170 34q79 34 138 93t93 138q34 80 34 170t-34 170q-34 79-93 138T650-79q-80 34-170 34Zm0-435Zm0 322q134 0 228-94t94-228q0-134-94-228t-228-94q-134 0-228 94t-94 228q0 134 94 228t228 94Z"}))),KS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M553-64v-108q107-27 173-113 67-87 67-197 0-109-67-195T553-789v-108q152 26 249 144 97 117 97 271 0 155-97 273T553-64ZM61-335v-290h176l236-237v764L237-335H61Zm492 28v-346q51 23 82 70t31 103-31 103q-31 47-82 70Z"}))),GS=T.forwardRef((t,e)=>T.createElement("svg",{viewBox:"0 -960 960 960",ref:e,...t},T.createElement("path",{d:"M807-15 700-123q-33 21-71 37-38 15-80 22v-108q20-4 38-12l35-17-153-154v257L234-335H57v-290h144L10-818l74-75L882-90l-75 75Zm37-264-80-79q13-30 19-60 7-31 7-64 0-109-68-195-67-86-173-112v-108q152 26 249 144 98 117 98 271 0 55-14 107-13 51-38 96ZM661-462 549-575v-78q51 23 83 70 31 47 31 103l-1 9-1 9ZM469-655 366-759l103-103v207Z"}))),bm={general:{primaryColor:"#42b0c5",secondaryColor:"#491d8d",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",showHeader:!0,showFooter:!0,showInputRow:!0,actionDisabledIcon:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2042%2042'%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:4'%20d='M17%209a8%208%200%200%201-8%208%208%208%200%200%201-8-8%208%208%200%200%201%208-8%208%208%200%200%201%208%208Zm0%200'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3cpath%20style='fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:%23b00000;stroke-opacity:1;stroke-miterlimit:10'%20d='M14.66%2014.66%203.34%203.34'%20transform='rotate(.086)%20scale(1.77778)'/%3e%3c/svg%3e",embedded:!1,flowStartTrigger:"ON_LOAD"},tooltip:{mode:"CLOSE",text:"Talk to me! 😊"},chatButton:{icon:mm},header:{title:E.jsx("div",{style:{cursor:"pointer",margin:0,fontSize:20,fontWeight:"bold"},onClick:()=>window.open("https://github.com/tjtanjin/","_blank","noopener,noreferrer"),children:"Tan Jin"}),showAvatar:!0,avatar:gm,buttons:[Jt.NOTIFICATION_BUTTON,Jt.AUDIO_BUTTON,Jt.CLOSE_CHAT_BUTTON],closeChatIcon:VS},notification:{disabled:!1,defaultToggledOn:!0,volume:.2,icon:HS,iconDisabled:US,sound:"data:audio/wav;base64,UklGRmaIAABXQVZFZm10IBAAAAABAAIAQB8AAAB9AAAEABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNjAuMTYuMTAwAGRhdGEgiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAA//////7/////////AAABAAAAAgABAAEAAQAAAAIAAQABAP//AAD+////AAD+//7////+////AAD//wAA/v8AAAAA/v8AAP//AAAAAAAAAgD////////+////AAABAAEAAgD/////AQABAAAA//8CAP//AAAAAAAA/v8AAAAA//8AAAEA//8EAAAAAAAAAAAA//8BAP//AQABAAEA/////wEA/v///wAAAAACAAAAAAABAAAA//8AAP//AAACAP//////////AAAAAAEAAAAAAAEA//8AAAEAAQADAAIAAgAAAAAA/v///wEAAAAAAAEAAAAAAAEA//8AAAEAAQD//wAA//8AAAEAAAABAAEAAAABAP//AAD//wAAAgAAAP//AQD/////AAAAAP7/AgAAAAIAAAAAAAAAAAABAAAAAQABAP//AAABAP///v8AAP////8AAP//AAD//wAA//8BAP//AAD///7///8BAP7///8AAAIAAgABAAEA/v8AAP//AQADAAEAAAACAAEA/////////v///wEA/v////7/AAD+////AAAAAAAAAgAAAAAAAAD//wEAAAAAAAAAAQABAAIA/v8AAAAA//8AAAEAAAAAAP//AgD//wEA/////wAAAQACAAAAAAAAAP//AQD/////AQAAAAEA/v8AAAEAAQABAAEA///+////AQD//wEAAgD+//7/AAAAAAAAAQAAAAAAAQAAAAAAAAAAAP//AAD//wEAAQD//wAAAQABAP7///8AAP7/AAABAP7/AQABAAEAAAABAAEAAAD+/wIAAAABAAAAAQD/////AQACAP////8AAP//AQD//wEA/v8CAAEAAAAAAAAAAQAAAAIAAQAAAAEAAgD//wEAAAAAAP7///8BAP//AgAAAP///v8CAAAAAgD///////////7/AAACAAEAAgD//wAAAAABAP//AwAAAAMA//8AAAAAAQD+/wAAAAD//wAAAQD//wEA//8BAP7/AAABAAAA//8BAAAA//8AAP//AQADAP3////+////AgD+/////v8BAAEAAQACAAAAAAAAAAAA//8AAP//AAD+/wEA/v8AAP7/AAD//wAAAQACAAAAAQAAAP//AQAAAAAAAAABAAAAAAD+//////8AAAAAAAD//wAAAAABAAEA//8AAAEA//8AAP//AgD+/wAA///+/wAA/v///wAAAQABAAAAAQD//wAA//8AAAEA//8BAAAAAgABAP//AAACAAIAAQABAP//AAAAAAAA//8BAAIAAAABAAAA//8CAAEA/v//////AAAAAAEA////////AQAAAP//AAD//wAAAAAAAP3/AAAAAAEAAAACAAAAAAAAAP//AAD//wAAAAAAAAAAAAAAAP///v///wAAAAABAAAAAAD//wEAAAABAAEAAQD//wAAAAACAAAAAQD+/wAA//8BAAEAAAD+/wAA/////wAAAAABAAAAAAD//////v8AAAAA//8AAAAAAAAAAAIAAAABAAEAAAABAP7/AAD9//////////7///8BAP//AAD///3/AQABAP//AAD//wAAAAABAAAA//8AAP//AAD/////AQABAAEA//8AAAAA//8BAAMA//8AAAAA//8AAP7/AAD//wAAAAAAAP7/AQAAAAAA/v8CAP//AAABAAIAAQABAAAA//8BAAEAAQD///7/AQD//wAAAQABAP//AAD//wEAAAAAAAAAAQAAAAIA//8AAP////8AAP//AQD//////v///wEA/v8AAAIAAgACAAEAAAAAAAEAAAAAAAAAAAAAAAAAAQD//wAA/////wAAAQACAP////8AAAAAAAD//wAAAQD+/wEA//8AAAEAAwD//wEAAQAAAAAAAAABAP////8AAAAAAQAAAAAAAAAAAAEAAQAAAP////////7/AQABAAEAAQD///////8BAAAA//8AAAAAAgABAAEA/v8BAP7///8BAP3/AQABAAIAAAD//wEAAAAAAP//AAABAAIA//8CAAAAAQAAAAEA//8BAAAA/////wAAAAD//wEAAQD//wAAAAAAAP//AAAAAAAAAQABAAAAAQAAAP//AQD//////v8AAAEAAAAAAAAA//8AAAAAAAACAAEAAQAAAP//AAABAAEA/////wAAAgABAAAAAAAAAAEAAAABAP//AQABAP7////+/wEAAAAAAP//AAABAAAAAAABAAEAAAAAAAAA//8BAP///f/+/wEAAQD///7///8AAAAAAQAAAP////8AAAAAAAABAAAAAQD/////AAD//wEA//8AAAIA//8CAAAA//8AAAAAAAD+/wEAAAD+/wAA/////wAA////////AAAAAAAA//8BAAAAAAD//wAAAAD//wEA//8AAP//AQD+/wAAAAAAAP7/AAD+/wEAAQABAP//AAABAAEAAQD//wAA/////wEA//8AAAAAAgAAAAAA//8BAAAAAgAAAAAAAAAAAP7/AQD//wAAAAD+/wAAAAADAAIA/////wAAAQD//wIA//8BAAEA/v8AAAIAAAAAAP3///8AAAAAAAAAAAAAAAABAP///////wAA//8AAAEAAQABAAEAAQABAAAAAQAAAAAAAQABAP7/AQD//wAAAQABAAEA//8BAAAAAgAAAAEAAAABAP//AAD/////AAD//wIA/////wIAAAD///7/AAAAAAAAAAACAP//AAABAP////8AAAAAAAABAAAAAgAAAAAAAQD+/wEA/////wAA/////wAAAAAAAAAA/v//////AAAAAP//AAABAAAAAQAAAAIAAAACAAAA//8AAAAA//8AAP7/AAAAAP//AAACAP//AQABAP//AQABAAAA/////////v8AAP//AQAAAAAA///+/wAAAQD+/wEAAQAAAAEA/////wAAAQD//wAA//8AAAAA/v8BAAEA//8AAP7//v8BAAAAAAAAAAEA//8AAAEA/////wAAAAD//////////wEAAAABAAEA//8CAAEA/f8AAAAA//8BAAAABAABAAEAAQAAAAAAAAAAAP7///8AAAAA/v8BAAAA//8AAAIA//8AAP////8BAP//AAAAAAAAAAD/////AQD///7/////////AQD8////AgABAAIA////////AAD//wAAAAABAAAAAAAAAAEAAgAAAP//AQD//wAAAAAAAP/////+/wAAAAABAAAAAwABAP///////wEAAAADAP//AQACAAAA//8CAAEAAAAAAP///////wIAAAAAAAAAAQAAAAAAAgD//wEAAAABAAAA/v8AAAAAAAAAAAAAAAAAAAEA/v8AAP//AQD//wAA//////7///8AAAAAAAAAAP7/AQD//wAA//8AAAEAAAABAAEAAQD/////AAD//wEAAAD/////AQAAAAEAAAD//wEAAAD/////AgD//wAAAQD//////////wAAAAD//wAAAAABAAAAAAD//wAAAQD///7/AQD//wEAAAD/////AAD//wEA//8AAAEA//8CAAAAAQD//wEAAgAAAAEAAwAAAAAA/v8BAAEAAgD//wEAAAAAAAAAAAD//wEA//8AAAAAAQACAP///////wAAAQABAAEAAAAAAAEAAQD+/wEA/f////////8AAAAA//8AAAEA//8BAAAA/v///wEAAAAAAAEA/////wAAAAAAAP//AAAAAAIAAAABAAAA/////wAAAAD//wAA/v8AAAMAAQD+/wEAAAABAAEA//8BAP//AgAAAAAAAAD//wAA/////wEA/v8CAP3/AAACAP3/AQABAAAAAQACAAEA/v8AAAAA//8BAAAAAgAAAAAAAgACAAEA/v/9/wAAAQABAP7///8AAP//AgD+/////v8CAP////8BAP//AQACAAEAAQABAP//AAD///7/AAABAAEAAgD//wEA//8CAAEAAQABAAEAAAABAAAA/v8AAAEA/v8AAP//AAABAP//AQAAAAEAAgAAAAAA/v///wEAAQAAAAIAAAD/////AgAAAAEA/v8AAP7/AQAAAAAAAQAAAAEAAAACAAEA//8BAP////8AAAIAAAAAAP//AAAAAAIAAAAAAAAAAwABAP///v8BAAAAAAAAAP3/AAABAAEA/v////////////3//v8AAAAAAQABAAIAAAD+/////v8AAAAAAQABAAEAAQAAAP//AAAAAP//AQAAAP//AAABAAAAAAAAAAAA////////AAAAAP//AQD/////AAABAAEA//8CAP7///8AAP7//v8BAAEAAAD+/////////wEAAAAAAAAAAgD//wAAAQAAAP7/AQABAP//AQAAAAAAAAD/////AAACAP////8BAAAAAAD//wAA//8AAAEAAQABAAAAAAABAAAAAQD+/wEA/v8AAAEAAQD/////AAD//wAAAQABAP7//v//////AAACAAAAAAAAAAAAAAACAAAAAQAAAAAA//8BAP//AQD//wAA///+/wIAAQD//wAAAAD//wAA/v8AAP3///8AAAAAAAAAAAAA/f8AAAAA//8CAP7/AAD///7/AAAAAAAAAAD//wEAAAAAAAEAAAAAAAAA//8BAP////8BAP7///8CAAEA//8BAP3///////////8BAAAAAAAAAAEAAgD+//////8BAAMAAQADAAEAAAACAAAAAQD/////AAABAAMAAQAAAP//AQD//wAA//8AAAAA//8CAP7//////wAAAAAAAAIA/v8AAP//AAACAP//AwD//wAA//8AAP//AwD//wEAAQABAAEAAQACAAEAAAD//wAA//8AAAIAAAAAAP///////wAAAQD//wIA//8BAP7/AAD///////8AAAAAAAAAAAEAAAD//wAAAQD//wEA//8BAAAAAAD/////AgABAAIAAAABAAAAAAAAAP//AAAAAAAA//8AAAAAAAD/////AQAAAAAAAQD//wAA///+////AAAAAAEAAgABAAEAAAAAAP//AQAAAAAAAQD+/wAAAAABAAEAAAD/////AQABAP7///8AAAIAAAACAAAA//8AAP//AgACAAAA///+/wAAAAABAAAAAQAAAAEA/v8BAAEA//8CAP//AQD+/////v8AAAAAAAACAP//AAD+/wIA/v8BAAAAAAD/////AAAAAP7///8AAP7//////wEAAAABAAAAAAD//wAAAAAAAAAAAgACAAAAAAABAAAA/f8AAP7/AgAAAAEA//8BAAAAAAD///7/AQD//wAAAAAAAAEAAAAAAAEAAAAAAAAAAQAAAAAA//8AAAAAAAABAP///////wAAAgABAAEA//8AAP//AAACAP//AQABAAEA//8BAAAAAAABAAAA//8AAAEAAAAAAAIA/v8BAP//AQD//wEAAAABAAEAAQACAAEAAAAAAAEAAAABAAAAAAD/////AAABAAEA//8AAAAAAQABAP//AAAAAP//AAD/////AQD//wAAAAABAAEA//8BAAAA//8AAP///f/+/wAA/////wAAAQAAAAIAAAAAAAAAAAD+/wEA/f8CAAAA//8AAAEAAgAAAAMAAAABAAAAAAAAAP//AQAAAAAAAQABAAAAAQAAAP//AAAAAAAA//8AAAAAAAABAAAAAQAAAAAAAAABAAIAAAAAAP7/AQD//wAAAAD+////AAAAAAAAAAABAAAA/////wAA//8AAAAAAAD/////AgD//wAA//8CAP//AQACAAEA/f////////8BAAIAAQABAP//AAD//wAA///+////AAD+/wAAAQD/////AAAAAAAA/////wAAAAABAAAAAQAAAAAA//8AAAIAAAABAP//AQABAAEA//8AAAAAAAADAAEAAAABAP//AgD//wMA//8AAAAAAAD//wAAAAD9/wEA///+/wAA//8BAAEA//8BAAAA//8AAP///v8BAP///////////v8BAAAAAQABAAAAAAAAAAAA//8AAP7/AQAAAAAAAAAAAP7/AQAAAAAAAgABAAEAAAABAAEAAAAAAAAAAAD+/wAAAAD//wEAAAAAAAAAAAAAAP//AgABAAAAAAABAAEAAAD/////AAAAAP//AAABAP////8BAAAAAQABAP7//v/+////AQAAAAAAAQAAAAEAAgAAAAAAAQAAAAEAAAD+/////v8BAP//AAABAP//AQABAAAAAAD//wAA//8CAP//AAAAAAEAAAABAAAAAAAAAP//AAD+////AwAAAAAAAQD//wEAAAACAAEAAAADAAAAAAD/////AAAAAAEAAAABAAAA//8AAAEA//8BAP///v8AAP//AAD//wAAAQABAP//AQAAAAAA/////wEAAQAAAP////8AAAEA//8BAAAAAQAAAP////8AAAAAAQAAAAIAAQAAAAEAAAAAAAEAAAD//wEAAAAAAP////8AAAAA//8BAAEAAAAAAAIA///+/wIA/v8BAAAAAQACAAAAAQAAAP7///8AAP//AAAAAAEAAAAAAP7/AAD+////AAAAAAAAAAD//wAA/v8BAAMAAAABAAIAAgD//wAA//8BAAEA//8BAP7/AAAAAP7///8BAAAAAQAAAP7/AQD/////AAAAAAEAAAABAP//AQABAAAAAgABAAAAAAAAAP///////wEA//8AAAEA//8AAAAAAQAAAAIAAAABAP7//////wAAAQABAAAAAAABAAEA///+/wAA//8BAP///v8AAP///v8BAAAA//8CAAAAAQAAAAEAAQABAAAAAAD+/wAAAAD+/wAAAAAAAAAA/f////////8AAAAAAQABAP///////wEA//8BAAEAAAAAAAAA/////wEA/v//////AAAAAP//AAABAAAAAAD+/wAAAAD9////AQAAAAEAAwD//wEAAQAAAP//AgAAAAAAAAD+/wIAAAAAAAAAAAAAAAIA//8AAAEAAQACAAAAAQD//wAAAAD//wIAAQABAAAAAAD//wEA//8BAAEAAQAAAAAAAQABAP7/AAD//wEAAAACAP7/AQAAAAAAAAD//wIAAQACAAIAAQAAAAAAAAAAAP3///8BAAAAAQACAP//AgD9/wAAAAD//wEA/v////////8AAAAAAAD//wEAAQD//wMAAQAAAAEA//8AAAEA//8AAAAAAAACAAAAAAD//wAAAQD///////8AAAAA//8BAAIA/v8BAAEA/f8AAAAAAAAAAAAAAgD/////AAD+/wAAAAD//wAAAAAAAP//////////AgABAP///v8AAAIAAQAAAP//AAABAAAA/////wAAAAAAAAEAAAABAP///v///wIA//8BAAEAAQAAAAAA///+/wEAAAAAAAAA/////////v8BAP3/AAAAAAAAAAAAAAAA//8AAP//AAAAAP//AAABAAIAAAACAP////8DAAAAAAABAAAAAwABAP//AAABAP//AAAAAP////8BAAAAAgD//wAA///+/wAAAQD//wAA//8AAP7///8AAAAA/v8AAAAAAQD//wEA/v////////8AAAAAAQAAAP//AQACAAAAAAAAAP//AAD//wAAAAD//wAAAAD+/wAAAAAAAP//AQD//wAAAgAAAAAAAQABAAAAAwD+/wAAAAD///7/AQD//wIAAQAAAP//AAD//wAA//8CAAEAAAAAAAAA/////wAAAAD//wEAAQD///////8BAAAA//8BAAEAAAAAAAAA/v///wEAAAAAAAAAAAADAAAAAAAAAAAAAQABAAEAAAD+//7//v8AAP//AQAAAAAAAAABAAEAAgAAAAAAAQD//wAA/f8AAAAAAAABAAAAAQAAAAAAAAAAAAIA//8BAP///////wIA/////wAAAAABAAEA//8BAAAAAAD//wAAAQD//wEAAAAAAAIA/v8BAP//AAAAAAEAAAABAP//AAAAAAAAAQABAP7/AAABAAAAAQD//wIAAAAAAAEA///+/wAA//8AAP//AAAAAAAAAAABAP///////wIAAQAAAAEAAQAAAP7/AQAAAAAAAQAAAAAAAQD/////AQAAAAAA///+//7/AAD+/wEA//8AAAAA///+/wEAAAABAAIAAQABAAAA//8AAP//AAD//wAAAAD//wAAAAAAAP//AQAAAAAA////////AQAAAAAAAQD+////AQABAP7/AAD///7/AgD//wAAAAAAAP//AAAAAAEA//8BAAEAAgAAAAIAAAD//wEA/////wAAAQD///7/AQD//wEAAQD/////AAAAAAEAAgAAAAAAAQD//wEA//8AAP7//////wAA//8BAAEA//8BAAAAAQD/////AAABAP//AAACAP//AQAAAP//AAABAP////8AAAAAAAABAAEAAwABAAAAAgD//wAAAAD//wEAAAABAAAAAAABAAEA/////wAA//8AAAIAAAAAAAEAAQABAAEAAQABAP//AgAAAAAA//8BAP3//v///wAA//8AAAAAAQAAAP//AQD//wEAAAACAAIAAAABAAAA//8BAAEA//8BAP//AAAAAP//AQAAAAIAAAD//wAAAAAAAAEA////////AQAAAP//AQD//wAAAQD+/wEAAAABAP///v///wAAAAAAAP//AAAAAAIAAQD//wAAAgD+/wAAAAD//wAAAAABAP///P//////AAACAP////8AAAIAAAABAAAAAAAAAAAA//8AAAAAAQADAP//AQAAAAAAAAABAAEAAQAAAAAA/v8AAAAAAAD//wAAAQD//wAAAAD//wAA/v////////8CAAEA/v8BAP7/AAAAAAAA//8AAAEAAAD//wIAAQAAAAIAAQAAAAAAAAD///7/AQABAP//AAAAAP//AAACAAEA//8BAAAAAwAAAAAAAAD//wEAAAD//wAA///////////+/wAAAQABAAIAAAABAAEAAAD//wEAAAD/////AAD+/wIAAwABAAEA/v8BAAEAAAD//wAA//8AAP//AAAAAAEAAAAAAP//AAAAAAEAAQABAAEA/v///wAAAAD//wEAAAACAAAA/f/+/wAA/v///wAA//8AAAEAAQD///7/AAAAAAAAAAABAAAAAAACAAAAAAABAAAAAAABAP//AQD//wAA//8BAP7/AgABAAEAAQAAAAAAAQD//wEA/v8AAP////8AAP///////wIAAQD//wAAAAD//wAA/v///wAAAQD//wIA/////wEAAAAAAAIAAAABAAAAAAD//wEA//8AAAAA/////wAAAQAAAAAAAAD//wEAAQAAAAAAAAACAP///////wAAAgD//wAA/v8AAAIAAAAAAAEAAAABAP//AQABAAEAAQAAAP///v8BAAEAAAAAAP////8AAAAAAQD//wIAAQAAAAEAAAAAAAAA//8BAP//AAAAAP7//v///wEAAAAAAAIAAAAAAP//AAD//wEA//8BAAAAAAABAAEAAAABAP7///8AAAIAAAABAP//AAD//wEAAAAAAP//AAAAAAEAAAAAAAAAAAAAAP7/AQD//wAAAQD+/wEA/v8BAP7/AAABAAEAAAACAAIAAAADAAAA//8AAAEAAAABAP//AQD//wIA/////wEA//8AAAEA//8AAAEAAAAAAAAAAQABAAAAAAAAAAAAAAD//////////wAA//8AAP7/AAD+/wAAAQAAAAAA/////wAABAAAAAAA//8AAAEAAAAAAAAA/v8AAP//AAAAAAAAAAD//wAAAAD///////8BAAEAAAD/////AgABAAEA/v/+/wAAAQACAAEAAAD//wAAAwABAP//AgD+/wAA/v8AAAAAAAAAAAEA//8AAAEAAAD+/wEAAAAAAAEAAgAAAAEAAAABAP//AQD+/wIA/////wAAAQD//wAAAQD+/wAAAQABAAAA////////AAACAAAAAQAAAAIA//8BAP///v///wEA//8BAAEAAQD+/wAAAQD9/wAAAQAAAAEAAAABAAAAAgAAAP//AAD+/wAA/f8AAAAA////////AgAAAAcAAQD7/wEA/f8AAAIA//8GAP7//v/+//b/AQD//wQADgD///3/9/8FAPr/6/8EABAACQD9/wIA/P/5/w4A///t/wQA/P8LAB0ACQD5////AQD2/+7/AgD6//r//v/z/xIA9f8oAAMA4f8OANz/EQAdAAAA5P/w/2MAAQDq/w0A1/8bALz/BgDb/+j/lQD9/yMABAACAA0Alf8NAKr/CwCMAPD/QwDq/wkA9v+g/wgAk/8QAD0ABgAWAAQAMwD7/9T/8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D6/wAA1/8CAMr/AADb/+3/5f8BAAIACAAVABcALwAfACgA+/8XAPn/DgDe/+//7v/Q/wMAz/8JAOP/CwDx////EAAHADEAAQArAAIAHQAEAAcAAADr/wEAzv8CANj//f/k/wEA+f/+/xQABwAqAB4ALAD+/x4A8P8SAOb/8//f/9j//f/N/wEA3v8LAO7/AgAMAAQALAAEAC0AAQAdAAQADwABAPP/BADV/wMA0/8AAOH/AQD1/wAAEAADACQAGwAwAAQAHwD0/xUA8f/4/+L/2//7/8z/AwDc/woA6f8AAAQAAwAoAAcANAAAACcAAgAUAAEA+P8CANv/AgDR/wEA4v8BAOz/AgAIAPv/JAAVADMAFAAhAPP/GQDz//7/3P/l/+3/z/8BANf/CgDn/wkA/P///xoABwAwAAIAJwACABcAAwABAAIA4f8BAND/AgDd//3/6P8CAAYA/f8YAAwALwAZACUA9v8bAPj/AwDq/+r/7P/S//7/1/8EAOX/CQD6//7/GQAFAC8AAQApAAEAGQACAAMAAgDm/wEAzv8BANv//v/p/wIA//8BABMABQArACAALAABAB4A8f8NAOv/7v/m/9n/+P/R/wMA4f8OAPT/AQATAAMAKwAHACoAAwAbAAMABQADAO7/AQDU/wEA2f8AAOL////3////EgAAACUAGgAvAAUAHQD2/xIA9f/0//T/3P/4/8///f/h/wIA7f8AAAoAAQApAAQALQADACAAAgAPAP//9P///9r//f/T/wAA3f/9//D/AQAQAP//HAAHAC8ACQAfAPv/GAD+//f/+P/j/wEA0v/+/9n/AADq/wIABgD//x0AAQAuAAEAIwAAABQAAwD8/wEA3/8AAM//AADe////7f8BAAwA//8ZAAMALwAAACEA//8dAP3//v/9/+n////U//z/1v8BAOT/AAD+/wAAGwD+/ywA/v8kAAIAGAD///3////q/wEA0P///97/AADk/wAABAAAABUAAQAqAAEAKQAAABwAAAAFAP//6f8AANr////X/wAA4/8AAPj/AgAUAAAAKgD//ywAAAAcAP7/AQAAAOv/AADU/wAA2v8CAOP/AAABAAAAFgABABsAAAAqAAEAHwAAABQAAgDv/wEA3v///9H////f////7/8BAAoAAQApAAAALgD//yEAAQAIAAAA8P8BANr//v/V////4f8AAPf//v8UAAAAFAAAACYAAQAhAP7/GwD+//T/AADo/wIA1v8CANr/AgDp/wEABgAAAB8AAQAsAAEAJAAAAAwA///z/wEA3/8AANT/AADh/wEA9P///xQAAgASAAAAJQAAACEAAAAaAP//+v8BAOj////W////2P8BAOf///8DAAAAHwAAAC4AAAAlAAAAEgAAAPL/AQDm////0f8CAN3/AADr//7/EQD//xAAAQAhAAIAJQAAAB8AAAABAP//6v8CAN//AQDX/wAA4/8AAPr/AAAXAAAAKgABACgAAAAbAP///f8AAOj/AADU/wAA2v///+f/AQANAAMAEQD+/xwA/v8kAP7/IQABAAgA/v/p////5/8AANf/AQDd/wEA8v8BABMAAQAjAAAALgAAACAAAQADAAEA7f8BANn/AgDY//7/4P/+/wEAAAAXAAIAFAAFACUA/P8jAP//EgAAAO//AQDo////1/8AAN3/AADx//7/DgAAAB0AAQAoAAAAIwAAAAoAAQDv/wMA4f8AANn/AQDi/wEA+v///xgAAAAQAP3/IwD//yUA/v8XAAAA7/8AAOv/AADc/wAA3P/+/+v/AQALAAEAGgACACkAAAAkAP7/EAABAO/////q//7/1/8AANz/AgDw/wEAEgD//w8AAAAcAAIAJQAAAB0AAAD2////7P8AAOP/AgDa/wAA5P8BAAQAAQAWAAAAIgAAACMAAAAaAP//+P///+v/AQDZ/wAA2////+7/AAARAAAADgAAABYAAAAhAAAAIAABAPz/AQDt/wAA5P8AANr/AQDg/wEA/P8BABcAAAAhAP//KQD//xwAAAD8/wEA7v8AAN3////Z/wAA6f8BAA0AAAARAAEAEQAAACMAAAAgAAEA/f8CAO3/AADv/wAA3v8BANv////1////EgAAABkA//8nAAAAIgAAAAMAAADu/wAA6P8CANn/AQDg////BQD//xMAAQAOAP//IAABACYAAAAGAAAA6f////H/AADg/wEA2f8AAO3///8PAAAAFQACACQAAAAkAAEADQABAO//AADp/wAA2////9z/AQD7/wEAFgAAAAwAAQAXAP7/JQD9/xMAAADx/wAA8f8AAOr/AADc/wEA4/8BAAkAAAAVAAAAIQD//yYA//8UAAEA9P8BAOz/AADf/wAA3P8AAPP/AAAQAAAADQABAA0AAAAlAAEAGAD///H//v/0/wEA7v8CAN//AADg//3/BAACABUAAQAfAAAAJwABABgAAQD0//7/7f///+L/AADa/wIA8P///w4A//8SAAMACQAAACAAAQAgAP//+v////P////y/wEA4/8BANr/AQD9/wAAEwD//xkAAQAjAAAAIgABAPz////s/wAA6v8BANX/AQDr//7/BwABABMAAAAHAP//FwAAACYAAAD//wEA9P8BAPb/AQDu////2v8BAPn/AAATAP//FwD//yEAAAAjAAAAAgAAAOn/AQDr//7/2P8CAOT/AAABAP//FgABAAUAAQATAP//IwAAAAEAAgDy/wEA9/8AAPb/AADb/wAA6/8BABAAAAATAP7/IQAAACYA//8UAP//7/8AAPD/AADd/wEA3P/+//7///8OAAAACgAAAAgAAAAhAP//CQACAPT/AQD2/wAA9v///97////m/wIADgABABMAAQAfAP//JwAAABMAAADw/wAA8P///+r/AQDb/wAA9f8AAA8AAAARAAIABAD//wYA/v8HAAAAAQD//wMAAgAGAAAA7f8AAOz/AAALAP//DwACABQA//8bAAAAHgD///f/AADq/wEA6/8BANj//v/t/wAACAD+/xAAAgAEAAAABAABAAcAAQADAAAA//8AAAUA///1/wAA5f///wIAAAAOAAAAEAAAABsAAAAhAAAA/v8BAOj////y////3f8AAOf/AQAGAAEADAAAAAcA//8BAP//CQABAAMA//8BAP//BQAAAAAAAADo/wAA+/8AAAoAAAALAAAAFAAAACAAAQAGAAIA7f8BAPH/AADm/wMA3P8CAP7/AgASAP//CgD//wAAAAAIAP//BQD//wEAAAACAP7/BAAAAPz/AwD8////BAAAAAEA//8HAAAAHQAAAAgA/v/x//7/8f///+f/AQDg/////P///woAAAAMAP//AAABAAYA//8EAAAAAgAAAAUAAAACAAAAAwAAAAIAAAABAAAAAQABAAAAAgAcAP//DgD///T/AQDx/wAA9P8CAOH/AAD3/wAACQAAAAoAAQABAP//AwAAAAcAAAD+/wAAAgACAAEAAAD+////AwD+/wAAAAABAP//+v8BABEAAQATAAAA9f/+//L//f/z/wIA6f8AAPb/AQAFAP//DAAAAAAAAAAFAP//BQD//wEA//8DAAEAAQAAAP7///8AAAAA//8BAAIAAAD+/wAAEAABABYAAgD6/wEA8v8BAPX/AwDp/wAA8////wMA//8JAAEABAABAAEA//8FAAEA//8AAAMAAQACAP//AQAAAAEAAgAFAP//AQABAAAAAQAAAP//EQABAAAAAAD5/wEA+P8AAPr////6/wAA+/8BAAIA//8BAAAA//8CAAUA//8BAP7/AAABAAEAAgAAAAAAAwAAAAEA/v8DAAIAAAACAAQA//8TAAAA/P8BAPr////3//////8AAPz/AQD7/wEAAgD/////AAABAAEABAAAAP//////////AAAAAAAAAAADAAAAAwAAAAAA//8EAP///v/+/xAA//8HAAAA+/////j/AQD8////AAD///n///8AAAAA//8AAP////8DAP//AgAAAAAAAAACAAIAAAD+/wAAAQD//wAA/////wIAAgD9////CQACAAYA///9////+f8BAPr/AQAAAAIA/v///wAA//8AAAAAAAAAAAEAAAABAAAAAgAAAAEAAAAAAAEAAQABAAAAAgABAP//AAD//wEAAAD///////8BAAIAAQAAAAAA/v/+//////8BAAAAAQABAP//AAD///////8BAAAAAQABAP////8CAAEAAQD//wEA/v//////AQAAAAAAAAAAAAAAAAD9/wMA/////wAAAQD+/wEA/v/+//7/AQD//wMAAAAAAAAAAAABAAEA//////7/AAACAP3/AAD//wAAAQAAAP//AQD//wAAAAAAAAEA//8CAP//AAAAAAAA/v8AAAAA//8BAP//AAABAP//AAAAAP//AQD//wAAAQABAAAAAAABAAEA/v///wAAAAD//////////wAAAAAAAP//AAD////////8/wIAAAADAAEA/////wEA/v8BAP7/AgAAAAEAAgAAAP//AgD/////AQD//wEA//////7/AQD//wMAAAAAAAAA//8CAP//AQAAAP//AAACAAAAAAABAP//AQD+/wAA/////wAA/f///wAAAAAAAP7/AAAAAAAAAgD//wEAAQACAP//AAAAAAEAAQD//wAAAAAAAAAA//8BAAMA/v8AAP7/AQAAAAAAAQAAAAAA///+//7/AAAAAAAA//8BAP7/AQAAAP//AQABAAAAAQAAAP//AAD//wIA/v///wAAAQABAP//AAD//wEA//8BAP//AgAAAP///////wAAAQABAP//AwABAAAAAAAAAAAA/////wIAAwACAAAA/v8BAAAAAAAAAAAA//8AAP////8AAAAA/////wAA/////wEA/v8CAAEAAQD//wAAAAABAAAAAAD//wEAAQABAAAA//8CAAAAAAAAAP7/AAABAAAAAQABAAAAAgABAAAAAQD//wEAAwD+/wAA/v8AAAEAAAAAAAAAAAAAAAEAAAD//wMA/v///wAAAAACAAEAAAAAAP7///8DAAEAAQD//wEA/f8BAAEAAQD//wEAAQABAAMAAgAAAAEA//8AAP//BAAAAAIA/v//////AQABAAAAAAD//wEAAAACAAIAAQAAAAAAAgAAAAAAAAABAAIAAAABAAIAAQAAAP////8AAAAAAAD//wAAAQACAP//AAAAAAAAAQAAAAEA//8AAAAAAAD/////AQD//wAAAQD9////AQAAAAAA//8BAAAA///+/////v8BAAAAAQAAAAAAAAAAAAIA//8BAAAAAAACAP//AQD//wAAAAD/////AAD9/wAAAAACAAAAAgAAAAEAAQABAAEAAAAAAAEA//8AAAEAAQACAAAAAQAAAAEA//8BAAIAAAACAP//AAABAAAAAAAAAAAAAAD//wAAAQD/////AAAAAP////8AAAEAAAAAAP7///8BAAIAAQD//wEAAQAAAP//AgAAAAAAAAD//wAA//8CAP7/AQAAAP7/AAD+////AAAAAAAAAQABAAAA//8AAAEAAAABAP7/AAAAAP7/AAD+/wAAAQABAAEA/////////v8BAP///v///wIAAAAAAAAAAQAAAAIAAQAAAAAAAAABAAEAAAAAAAAAAAD//wEAAQD//wAAAQABAAAA/v/+/////////wAAAAD//wAAAAD/////AAAAAP7/AAD//wIA//8CAP//AQAAAP////8AAAAAAQABAP////8AAP//AQACAAAAAQAAAAAAAAAAAAAA//8BAAAAAAD+/wAA/v///wEAAAD+//7///8CAP7/AAABAP3/AwAAAAAAAAABAAIAAAABAAAAAQABAAIAAAAAAP//AAAAAAEAAAACAAEAAAACAAAAAAABAAAAAwAAAAAAAAD+/wAAAQD9//////8BAAAA/v8AAAAAAAAAAAAAAAD//wMA/v8BAAEAAQACAAAA/v8BAP//AwABAAIAAQABAP//AQAAAAEAAAAAAAEA//8AAAAAAAD/////AAABAAEAAAAAAP////8AAAAAAAAAAAAA/v8AAP//AQAAAP//AAABAAIAAQAAAAAAAgABAAAA/////wAAAQABAP//AQABAAEA/////wAAAAAAAAAAAAABAAEAAQAAAAAAAAAAAAAA//8AAP7/AQD9/wAAAgD//wEAAQABAAEA/v8AAAEA/////wAAAAAAAP//AAABAAAAAAAAAAAA//8CAP//AAABAAEAAQABAAAA//8BAAIAAgD//wAA/v8AAAEAAAD///7/AAAAAAEAAAABAAAAAQABAAAAAQACAAAA///+/wAAAQABAP7////+/wAA//8AAAAAAgAAAP//AQD9/wAAAAD//wAA//8AAAAAAQAAAAAAAQD//wAAAAAAAP//AQABAAAA/v8CAP//AAD///////8AAAAAAAACAAEA//8BAP7/AAAAAAEA//8BAAAAAQD//wAAAQD+/wAA/////wAAAAD//wAAAQABAAAA//8AAAEA/////wAA//8AAAAA/v/+/wEAAgABAP//AgD//wIA/////wAA//8AAAEAAQAAAAAAAQAAAAMAAAACAP//",showCount:!0},audio:{disabled:!0,defaultToggledOn:!1,language:"en-US",voiceNames:["Microsoft David - English (United States)","Alex (English - United States)"],rate:1,volume:1,icon:KS,iconDisabled:GS},chatHistory:{disabled:!1,maxEntries:30,storageKey:"rcb-history",storageType:"LOCAL_STORAGE",viewChatHistoryButtonText:"Load Chat History ⟳",chatHistoryLineBreakText:"----- Previous Chat History -----",autoLoad:!1},chatInput:{disabled:!1,allowNewline:!1,enabledPlaceholderText:"Type your message...",disabledPlaceholderText:"",showCharacterCount:!1,characterLimit:-1,botDelay:1e3,sendButtonIcon:WS,blockSpam:!0,sendOptionOutput:!0,sendCheckboxOutput:!0,buttons:[Jt.VOICE_MESSAGE_BUTTON,Jt.SEND_MESSAGE_BUTTON]},chatWindow:{showScrollbar:!1,showTypingIndicator:!0,autoJumpToBottom:!1,showMessagePrompt:!0,messagePromptText:"New Messages ↓",messagePromptOffset:30,defaultOpen:!1},sensitiveInput:{maskInTextArea:!0,maskInUserBubble:!0,asterisksCount:10,hideInUserBubble:!1},userBubble:{animate:!0,showAvatar:!1,avatar:"data:image/svg+xml,%3csvg%20width='140'%20height='140'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cy='60.044'%20cx='70'%20fill='%235c5c5c'%20r='29'/%3e%3cpath%20d='m16.36%20156.186-.01-30.5c-.005-16.844%2024.168-30.507%2053.991-30.516%2029.823-.009%2054.004%2013.64%2054.01%2030.484l.008%2030.5-108%20.032z'%20fill='%235c5c5c'/%3e%3c/svg%3e",simulateStream:!1,streamSpeed:30},botBubble:{animate:!0,showAvatar:!1,avatar:gm,simulateStream:!1,streamSpeed:30},voice:{disabled:!0,defaultToggledOn:!1,language:"en-US",timeoutPeriod:1e4,autoSendDisabled:!1,autoSendPeriod:1e3,sendAsAudio:!1,icon:YS,iconDisabled:qS},footer:{text:E.jsxs("div",{style:{cursor:"pointer",display:"flex",flexDirection:"row",alignItems:"center",columnGap:3},onClick:()=>window.open("https://react-chatbotify.com","_blank","noopener,noreferrer"),children:[E.jsx("span",{children:"Powered By "},0),E.jsx("div",{style:{borderRadius:"50%",width:14,height:14,display:"flex",justifyContent:"center",alignItems:"center",background:"linear-gradient(to right, #42b0c5, #491d8d)"},children:E.jsx(mm,{style:{width:"80%",height:"80%",fill:"#fff"}})},1),E.jsx("span",{style:{fontWeight:"bold"},children:" React ChatBotify"},2)]}),buttons:[Jt.FILE_ATTACHMENT_BUTTON,Jt.EMOJI_PICKER_BUTTON]},fileAttachment:{disabled:!1,multiple:!0,accept:".png",icon:vm,iconDisabled:vm,sendFileName:!0,showMediaDisplay:!1},emoji:{disabled:!1,icon:ym,iconDisabled:ym,list:["😀","😃","😄","😅","😊","😌","😇","🙃","🤣","😍","🥰","🥳","🎉","🎈","🚀","⭐️"]},toast:{maxCount:3,forbidOnMax:!1,dismissOnClick:!0},event:{rcbPreInjectMessage:!1,rcbPostInjectMessage:!1,rcbStartSimulateStreamMessage:!1,rcbStopSimulateStreamMessage:!1,rcbStartStreamMessage:!1,rcbChunkStreamMessage:!1,rcbStopStreamMessage:!1,rcbRemoveMessage:!1,rcbSaveChatHistory:!1,rcbLoadChatHistory:!1,rcbToggleChatWindow:!1,rcbStartSpeakAudio:!1,rcbToggleAudio:!1,rcbToggleNotifications:!1,rcbToggleVoice:!1,rcbChangePath:!1,rcbShowToast:!1,rcbDismissToast:!1,rcbUserSubmitText:!1,rcbUserUploadFile:!1,rcbTextAreaChangeValue:!1,rcbPreLoadChatBot:!1,rcbPostLoadChatBot:!1,rcbPreProcessBlock:!1,rcbPostProcessBlock:!1},ariaLabel:{chatButton:"open chat",audioButton:"toggle audio",closeChatButton:"close chat",emojiButton:"emoji picker",fileAttachmentButton:"upload file",notificationButton:"toggle notifications",sendButton:"send message",voiceButton:"toggle voice",inputTextArea:"input text area"},device:{desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!0}},xm=T.createContext({settings:{},setSyncedSettings:()=>null,syncedSettingsRef:{current:{}}}),ht=()=>T.useContext(xm),XS=({children:t,settings:e=bm,setSyncedSettings:n,syncedSettingsRef:r})=>E.jsx(xm.Provider,{value:{settings:e,setSyncedSettings:n,syncedSettingsRef:r},children:t}),wm={tooltipStyle:{},notificationBadgeStyle:{},chatWindowStyle:{},headerStyle:{},bodyStyle:{},chatInputContainerStyle:{},chatInputAreaStyle:{},chatInputAreaFocusedStyle:{},chatInputAreaDisabledStyle:{},userBubbleStyle:{},botBubbleStyle:{},botOptionStyle:{},botOptionHoveredStyle:{},botCheckboxRowStyle:{},botCheckboxNextStyle:{},botCheckMarkStyle:{},botCheckMarkSelectedStyle:{},characterLimitStyle:{},characterLimitReachedStyle:{},chatHistoryLineBreakStyle:{},chatMessagePromptStyle:{},chatMessagePromptHoveredStyle:{},footerStyle:{},loadingSpinnerStyle:{},mediaDisplayContainerStyle:{},chatButtonStyle:{},chatButtonHoveredStyle:{},chatHistoryButtonStyle:{},chatHistoryButtonHoveredStyle:{},sendButtonStyle:{},sendButtonHoveredStyle:{},sendButtonDisabledStyle:{},audioButtonStyle:{},audioButtonDisabledStyle:{},closeChatButtonStyle:{},emojiButtonStyle:{},emojiButtonDisabledStyle:{},fileAttachmentButtonStyle:{},fileAttachmentButtonDisabledStyle:{},notificationButtonStyle:{},notificationButtonDisabledStyle:{},voiceButtonStyle:{},voiceButtonDisabledStyle:{},chatIconStyle:{},audioIconStyle:{},audioIconDisabledStyle:{},closeChatIconStyle:{},emojiIconStyle:{},emojiIconDisabledStyle:{},fileAttachmentIconStyle:{},fileAttachmentIconDisabledStyle:{},notificationIconStyle:{},notificationIconDisabledStyle:{},voiceIconStyle:{},voiceIconDisabledStyle:{},sendIconStyle:{},sendIconDisabledStyle:{},sendIconHoveredStyle:{},rcbTypingIndicatorContainerStyle:{},rcbTypingIndicatorDotStyle:{},toastPromptContainerStyle:{},toastPromptStyle:{},toastPromptHoveredStyle:{}},km=T.createContext({styles:{},setSyncedStyles:()=>null,syncedStylesRef:{current:{}}}),Bt=()=>T.useContext(km),JS=({children:t,styles:e=wm,setSyncedStyles:n,syncedStylesRef:r})=>E.jsx(km.Provider,{value:{styles:e,setSyncedStyles:n,syncedStylesRef:r},children:t}),ZS=({buttons:t})=>{var e,n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),p={backgroundImage:`linear-gradient(to right, ${(e=u.general)==null?void 0:e.secondaryColor},
21
21
  ${(n=u.general)==null?void 0:n.primaryColor})`,...d.headerStyle};return E.jsxs("div",{style:p,className:"rcb-chat-header-container",children:[E.jsxs("div",{className:"rcb-chat-header",children:[((r=u.header)==null?void 0:r.showAvatar)&&E.jsx("div",{style:{backgroundImage:`url("${(o=u.header)==null?void 0:o.avatar}")`},className:"rcb-bot-avatar"}),T.isValidElement((i=u.header)==null?void 0:i.title)?(a=u.header)==null?void 0:a.title:E.jsx("div",{style:{margin:0,fontSize:20,fontWeight:"bold"},children:(l=u.header)==null?void 0:l.title})]}),E.jsx("div",{className:"rcb-chat-header",children:t?.map((h,A)=>E.jsx(T.Fragment,{children:h},A))})]})},Sm=T.createContext({}),un=()=>T.useContext(Sm),$S=({children:t,botIdRef:e,flowRef:n})=>{const r=T.useRef(null),o=T.useRef(""),i=T.useRef(null),a=T.useRef(new Map),l=T.useRef(null),u=T.useRef(""),d=T.useRef(!1),p=T.useRef(null),h=T.useRef(null),A=T.useRef(null);return E.jsx(Sm.Provider,{value:{botIdRef:e,flowRef:n,inputRef:r,timeoutIdRef:i,streamMessageMap:a,chatBodyRef:l,paramsInputRef:u,keepVoiceOnRef:d,audioContextRef:p,audioBufferRef:h,gainNodeRef:A,prevInputRef:o},children:t})},kr=t=>{const[e,n]=T.useState(t),r=T.useRef(t);return[e,o=>{const i=typeof o=="function"?o(r.current):o;r.current=i,n(i)},r]},Em=T.createContext({}),An=()=>T.useContext(Em),eE=({children:t,settings:e})=>{var n,r,o,i,a,l;const[u,d,p]=kr(!1),[h,A,m]=kr(((n=e?.chatWindow)==null?void 0:n.defaultOpen)??!1),[y,w,b]=kr(((r=e?.audio)==null?void 0:r.defaultToggledOn)??!1),[P,M,D]=kr(((o=e?.voice)==null?void 0:o.defaultToggledOn)??!1),[C,j,R]=kr(((i=e?.notification)==null?void 0:i.defaultToggledOn)??!0),[z,V]=T.useState(!1),[K,q]=T.useState(!1),[Z,W,oe]=kr(!1),[ue,te,pe]=kr(!0),[ee,G,N]=kr(!1),[de,I]=T.useState(!1),[J,ve]=T.useState(!1),[me,we]=T.useState(0),[_e,Oe]=T.useState(0),[Ve,ze]=T.useState(!1),[$e,wt]=T.useState(((a=window.visualViewport)==null?void 0:a.height)??window.innerHeight),[Me,Ee]=T.useState(((l=window.visualViewport)==null?void 0:l.width)??window.innerWidth);return E.jsx(Em.Provider,{value:{isBotTyping:u,setSyncedIsBotTyping:d,syncedIsBotTypingRef:p,isChatWindowOpen:h,setSyncedIsChatWindowOpen:A,syncedIsChatWindowOpenRef:m,audioToggledOn:y,setSyncedAudioToggledOn:w,syncedAudioToggledOnRef:b,voiceToggledOn:P,setSyncedVoiceToggledOn:M,syncedVoiceToggledOnRef:D,notificationsToggledOn:C,setSyncedNotificationsToggledOn:j,syncedNotificationsToggledOnRef:R,isLoadingChatHistory:z,setIsLoadingChatHistory:V,hasChatHistoryLoaded:K,setHasChatHistoryLoaded:q,isScrolling:Z,setSyncedIsScrolling:W,syncedIsScrollingRef:oe,textAreaDisabled:ue,setSyncedTextAreaDisabled:te,syncedTextAreaDisabledRef:pe,textAreaSensitiveMode:ee,setSyncedTextAreaSensitiveMode:G,syncedTextAreaSensitiveModeRef:N,hasInteractedPage:de,setHasInteractedPage:I,hasFlowStarted:J,setHasFlowStarted:ve,unreadCount:me,setUnreadCount:we,inputLength:_e,setInputLength:Oe,blockAllowsAttachment:Ve,setBlockAllowsAttachment:ze,viewportHeight:$e,setViewportHeight:wt,viewportWidth:Me,setViewportWidth:Ee},children:t})};var je=(t=>(t.START_SPEAK_AUDIO="rcb-start-speak-audio",t.TOGGLE_AUDIO="rcb-toggle-audio",t.TOGGLE_NOTIFICATIONS="rcb-toggle-notifications",t.TOGGLE_VOICE="rcb-toggle-voice",t.TOGGLE_CHAT_WINDOW="rcb-toggle-chat-window",t.PRE_INJECT_MESSAGE="rcb-pre-inject-message",t.POST_INJECT_MESSAGE="rcb-post-inject-message",t.START_SIMULATE_STREAM_MESSAGE="rcb-start-simulate-stream-message",t.STOP_SIMULATE_STREAM_MESSAGE="rcb-stop-simulate-stream-message",t.START_STREAM_MESSAGE="rcb-start-stream-message",t.CHUNK_STREAM_MESSAGE="rcb-chunk-stream-message",t.STOP_STREAM_MESSAGE="rcb-stop-stream-message",t.REMOVE_MESSAGE="rcb-remove-message",t.SAVE_CHAT_HISTORY="rcb-save-chat-history",t.LOAD_CHAT_HISTORY="rcb-load-chat-history",t.CHANGE_PATH="rcb-change-path",t.SHOW_TOAST="rcb-show-toast",t.DISMISS_TOAST="rcb-dismiss-toast",t.USER_SUBMIT_TEXT="rcb-user-submit-text",t.USER_UPLOAD_FILE="rcb-user-upload-file",t.TEXT_AREA_CHANGE_VALUE="rcb-text-area-change-value",t.PRE_LOAD_CHATBOT="rcb-pre-load-chatbot",t.POST_LOAD_CHATBOT="rcb-post-load-chatbot",t.PRE_PROCESS_BLOCK="rcb-pre-process-block",t.POST_PROCESS_BLOCK="rcb-post-process-block",t))(je||{});const tE={[je.START_SPEAK_AUDIO]:!0,[je.TOGGLE_AUDIO]:!0,[je.TOGGLE_VOICE]:!0,[je.TOGGLE_NOTIFICATIONS]:!0,[je.TOGGLE_CHAT_WINDOW]:!0,[je.PRE_INJECT_MESSAGE]:!0,[je.POST_INJECT_MESSAGE]:!1,[je.PRE_LOAD_CHATBOT]:!0,[je.POST_LOAD_CHATBOT]:!1,[je.START_SIMULATE_STREAM_MESSAGE]:!0,[je.STOP_SIMULATE_STREAM_MESSAGE]:!1,[je.START_STREAM_MESSAGE]:!0,[je.CHUNK_STREAM_MESSAGE]:!0,[je.STOP_STREAM_MESSAGE]:!0,[je.REMOVE_MESSAGE]:!0,[je.SAVE_CHAT_HISTORY]:!0,[je.LOAD_CHAT_HISTORY]:!0,[je.CHANGE_PATH]:!0,[je.SHOW_TOAST]:!0,[je.DISMISS_TOAST]:!0,[je.USER_SUBMIT_TEXT]:!0,[je.USER_UPLOAD_FILE]:!0,[je.TEXT_AREA_CHANGE_VALUE]:!0,[je.PRE_PROCESS_BLOCK]:!0,[je.POST_PROCESS_BLOCK]:!0},If=async(t,e,n)=>{const r=new CustomEvent(t,{detail:e,cancelable:tE[t]});return r.data=n,r.promises=[],window.dispatchEvent(r),await Promise.all(r.promises),r},Cm=T.createContext({paths:[],setSyncedPaths:()=>{},syncedPathsRef:{current:[]}}),pl=()=>T.useContext(Cm),nE=({children:t})=>{const[e,n,r]=kr([]);return E.jsx(Cm.Provider,{value:{paths:e,setSyncedPaths:n,syncedPathsRef:r},children:t})},io=()=>{const{botIdRef:t}=un(),{syncedPathsRef:e}=pl(),n=T.useCallback(()=>e.current.length>0?e.current.at(-1)??null:null,[]),r=T.useCallback(()=>e.current.length>1?e.current.at(-2)??null:null,[]);return{dispatchRcbEvent:T.useCallback(async(o,i)=>{const a={botId:t.current,currPath:n(),prevPath:r()};return await If(o,a,i)},[t])}},Sr=()=>{const{settings:t}=ht(),{isChatWindowOpen:e,setSyncedIsChatWindowOpen:n,viewportHeight:r,setViewportHeight:o,viewportWidth:i,setViewportWidth:a,setUnreadCount:l,setSyncedIsBotTyping:u,setSyncedIsScrolling:d,syncedIsBotTypingRef:p,syncedIsChatWindowOpenRef:h}=An(),{chatBodyRef:A}=un(),{dispatchRcbEvent:m}=io(),y=T.useCallback(()=>{if(!A.current)return!1;const D=A.current.getBoundingClientRect(),C=window.innerHeight??document.documentElement.clientHeight,j=window.innerWidth??document.documentElement.clientWidth;return D.top>=0&&D.left>=0&&D.bottom<=C&&D.right<=j},[A]),w=T.useCallback(async D=>{var C;D!==h.current&&((C=t.event)!=null&&C.rcbToggleChatWindow&&(await m(je.TOGGLE_CHAT_WINDOW,{currState:h.current,newState:!h.current})).defaultPrevented||n(j=>(j||l(0),!j)))},[h]),b=T.useCallback(async D=>{D!==p.current&&u(C=>!C)},[p]),P=T.useCallback((D,C,j,R)=>(D/=R/2)<1?j/2*D*D+C:-j/2*(--D*(D-2)-1)+C,[]),M=T.useCallback((D=0)=>{if(!A.current)return;const C=A.current.scrollHeight-A.current.clientHeight;if(D<=0)return A.current.scrollTop=C,void d(!1);const j=A.current.scrollTop,R=C-j;let z=0;const V=()=>{if(!A.current)return;z+=20;const K=P(z,j,R,D);A.current.scrollTop=K,z<D?requestAnimationFrame(V):d(!1)};V()},[A]);return{isChatWindowOpen:e,setSyncedIsChatWindowOpen:n,toggleChatWindow:w,viewportHeight:r,setViewportHeight:o,viewportWidth:i,setViewportWidth:a,toggleIsBotTyping:b,scrollToBottom:M,getIsChatBotVisible:y}},rE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{unreadCount:i,isScrolling:a}=An(),{chatBodyRef:l}=un(),{scrollToBottom:u}=Sr(),[d,p]=T.useState(!1),h={color:(t=r.general)==null?void 0:t.primaryColor,borderColor:(e=r.general)==null?void 0:e.primaryColor,...o.chatMessagePromptHoveredStyle};return E.jsx("div",{className:"rcb-message-prompt-container "+(l.current&&(A=r.chatWindow)!=null&&A.showMessagePrompt&&a&&i>0?"visible":"hidden"),children:E.jsx("div",{onMouseEnter:()=>{p(!0)},onMouseLeave:()=>{p(!1)},style:d?h:{...o.chatMessagePromptStyle},onMouseDown:m=>{m.preventDefault(),u(600)},className:"rcb-message-prompt-text",children:(n=r.chatWindow)==null?void 0:n.messagePromptText})});var A},Pm=T.createContext({messages:[],setSyncedMessages:()=>{},syncedMessagesRef:{current:[]}}),Mf=()=>T.useContext(Pm),oE=({children:t})=>{const[e,n,r]=kr([]);return E.jsx(Pm.Provider,{value:{messages:e,setSyncedMessages:n,syncedMessagesRef:r},children:t})},iE=({message:t,isNewSender:e})=>{var n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),p=typeof t.content=="string",h=t.content,A=t.contentWrapper?E.jsx(t.contentWrapper,{children:h}):h,m={backgroundColor:(n=u.general)==null?void 0:n.primaryColor,color:"#fff",maxWidth:(r=u.userBubble)!=null&&r.showAvatar?"65%":"70%",...d.userBubbleStyle},y=(o=u.userBubble)!=null&&o.animate?"rcb-user-message-entry":"",w=((i=u.userBubble)==null?void 0:i.showAvatar)&&e,b="rcb-user-message"+(!e&&(a=u.userBubble)!=null&&a.showAvatar?" rcb-user-message-offset":"");return E.jsxs("div",{className:"rcb-user-message-container",children:[p?E.jsx("div",{style:m,className:`${b} ${y}`,children:A}):E.jsx(E.Fragment,{children:A}),w&&E.jsx("div",{style:{backgroundImage:`url("${(l=u.userBubble)==null?void 0:l.avatar}")`},className:"rcb-message-user-avatar"})]})},sE=({message:t,isNewSender:e})=>{var n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),p=typeof t.content=="string",h=t.content,A=t.contentWrapper?E.jsx(t.contentWrapper,{children:h}):h,m={backgroundColor:(n=u.general)==null?void 0:n.secondaryColor,color:"#fff",maxWidth:(r=u.botBubble)!=null&&r.showAvatar?"65%":"70%",...d.botBubbleStyle},y=(o=u.botBubble)!=null&&o.animate?"rcb-bot-message-entry":"",w=((i=u.botBubble)==null?void 0:i.showAvatar)&&e,b="rcb-bot-message"+(!e&&(a=u.botBubble)!=null&&a.showAvatar?" rcb-bot-message-offset":"");return E.jsxs("div",{className:"rcb-bot-message-container",children:[w&&E.jsx("div",{style:{backgroundImage:`url("${(l=u.botBubble)==null?void 0:l.avatar}")`},className:"rcb-message-bot-avatar"}),p?E.jsx("div",{style:m,className:`${b} ${y}`,children:A}):E.jsx(E.Fragment,{children:A})]})},aE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),i=(t=r.botBubble)!=null&&t.animate?"rcb-bot-message-entry":"";return E.jsxs("div",{className:"rcb-bot-message-container",children:[((e=r.botBubble)==null?void 0:e.showAvatar)&&E.jsx("div",{style:{backgroundImage:`url("${(n=r.botBubble)==null?void 0:n.avatar}")`},className:"rcb-message-bot-avatar"}),E.jsx("div",{onMouseDown:a=>{a.preventDefault()},className:`rcb-bot-message ${i}`,children:E.jsxs("div",{className:"rcb-typing-indicator",style:{...o?.rcbTypingIndicatorContainerStyle},children:[E.jsx("span",{className:"rcb-dot",style:{...o?.rcbTypingIndicatorDotStyle}}),E.jsx("span",{className:"rcb-dot",style:{...o?.rcbTypingIndicatorDotStyle}}),E.jsx("span",{className:"rcb-dot",style:{...o?.rcbTypingIndicatorDotStyle}})]})})]})},lE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{messages:i}=Mf(),{scrollToBottom:a}=Sr(),{isBotTyping:l,syncedIsScrollingRef:u}=An(),{chatBodyRef:d}=un(),p={...o?.bodyStyle,scrollbarWidth:(t=r.chatWindow)!=null&&t.showScrollbar?"auto":"none"};return T.useEffect(()=>{u.current||a()},[(e=d.current)==null?void 0:e.scrollHeight]),E.jsxs("div",{style:p,className:"rcb-chat-body-container",ref:d,children:[i.map((h,A)=>{const m=(y=>y===0||i[y].sender!==i[y-1].sender)(A);return h.sender.toUpperCase()==="USER"?E.jsx(iE,{message:h,isNewSender:m},A):h.sender.toUpperCase()==="BOT"?E.jsx(sE,{message:h,isNewSender:m},A):E.jsx("div",{children:h.content},A)}),l&&((n=r.chatWindow)==null?void 0:n.showTypingIndicator)&&E.jsx(aE,{}),E.jsx(rE,{})]})},cE=({checkboxes:t,checkedItems:e,path:n})=>{var r,o,i,a,l,u,d,p,h,A,m;const{settings:y}=ht(),{styles:w}=Bt(),{paths:b}=pl(),{handleSubmitText:P}=oa(),[M,D]=T.useState(new Set),[C,j]=T.useState(!1),R={cursor:C?`url("${(r=y.general)==null?void 0:r.actionDisabledIcon}"), auto`:"pointer",color:(o=y.general)==null?void 0:o.primaryColor,borderColor:(i=y.general)==null?void 0:i.primaryColor,...w.botCheckboxRowStyle},z={cursor:C||M.size<t.min?`url("${(a=y.general)==null?void 0:a.actionDisabledIcon}"), auto`:"pointer",color:(l=y.general)==null?void 0:l.primaryColor,borderColor:(u=y.general)==null?void 0:u.primaryColor,...w.botCheckboxNextStyle},V={cursor:C?`url("${(d=y.general)==null?void 0:d.actionDisabledIcon}"), auto`:"pointer",color:"transparent",...w.botCheckMarkStyle},K={cursor:C?`url("${(p=y.general)==null?void 0:p.actionDisabledIcon}"), auto`:"pointer",color:"#fff",borderColor:(h=y.general)==null?void 0:h.primaryColor,backgroundColor:(A=y.general)==null?void 0:A.primaryColor,...w.botCheckMarkSelectedStyle};return T.useEffect(()=>{b.length>0&&b[b.length-1]!==n&&j(!t.reusable)},[b]),E.jsxs("div",{className:"rcb-checkbox-container "+((m=y.botBubble)!=null&&m.showAvatar?"rcb-checkbox-offset":""),children:[t.items.map(q=>E.jsx("div",{onMouseDown:Z=>{Z.preventDefault(),(W=>{C||D(oe=>{const ue=new Set(oe);if(ue.has(W))e.delete(W),ue.delete(W);else{if(M.size==t.max)return oe;e.add(W),ue.add(W)}return ue})})(q)},style:R,className:"rcb-checkbox-row-container",children:E.jsxs("div",{className:"rcb-checkbox-row",children:[E.jsx("div",{style:M.has(q)?K:V,className:"rcb-checkbox-mark"}),E.jsx("div",{className:"rcb-checkbox-label",children:q})]})},q)),E.jsx("div",{style:z,className:"rcb-checkbox-next-button",onMouseDown:q=>{var Z;if(q.preventDefault(),C||M.size<t.min)return;const W=Array.from(e).join(", ");let oe;j(!t.reusable),oe=t.sendOutput!=null?t.sendOutput:((Z=y.chatInput)==null?void 0:Z.sendCheckboxOutput)??!0,P(W,oe)}})]})},uE=async(t,e)=>{const n=t.checkboxes;if(!n)return;let r;if(typeof n=="function"?(r=n(e),r instanceof Promise&&(r=await r)):r=n,Array.isArray(r)&&(r={items:r}),!("items"in r)||r.items.length==0)return;r.min==null&&(r.min=1),r.max==null&&(r.max=r.items.length),r.min>r.max&&(r.min=r.max),r.reusable==null&&(r.reusable=!1);const o=new Set,i=e.currPath,a=E.jsx(cE,{checkboxes:r,checkedItems:o,path:i});await e.injectMessage(a)},dE=async(t,e)=>{const n=t.function;if(!n)return;const r=n(e);return r instanceof Promise?await r:r},fE=async(t,e,n)=>{const r=t.message;if(!r)return;if(typeof r=="string")return void(r.trim()!==""&&(n?await e.simulateStreamMessage(r):await e.injectMessage(r)));let o=r(e);o instanceof Promise&&(o=await o),typeof o=="string"&&o.trim()!==""&&(n?await e.simulateStreamMessage(o):await e.injectMessage(o))},pE=({options:t,path:e})=>{var n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),{paths:p}=pl(),{handleSubmitText:h}=oa(),[A,m]=T.useState([]),[y,w]=T.useState(!1),b={cursor:y?`url("${(n=u.general)==null?void 0:n.actionDisabledIcon}"), auto`:"pointer",color:(r=u.general)==null?void 0:r.primaryColor,borderColor:(o=u.general)==null?void 0:o.primaryColor,backgroundColor:"#fff",...d.botOptionStyle},P={color:"#fff",borderColor:(i=u.general)==null?void 0:i.primaryColor,backgroundColor:(a=u.general)==null?void 0:a.primaryColor,...d.botOptionHoveredStyle};return T.useEffect(()=>{p.length>0&&p[p.length-1]!==e&&w(!t.reusable)},[p]),E.jsx("div",{className:"rcb-options-container "+((l=u.botBubble)!=null&&l.showAvatar?"rcb-options-offset":""),children:t.items.map((M,D)=>{const C=A[D]&&!y;return E.jsx("div",{className:"rcb-options",style:C?P:b,onMouseEnter:()=>(j=>{m(R=>{const z=[...R];return z[j]=!0,z})})(D),onMouseLeave:()=>(j=>{m(R=>{const z=[...R];return z[j]=!1,z})})(D),onMouseDown:j=>{var R;if(j.preventDefault(),y)return;let z;w(!t.reusable),z=t.sendOutput!=null?t.sendOutput:((R=u.chatInput)==null?void 0:R.sendOptionOutput)??!0,h(M,z)},children:M},M)})})},hE=async(t,e)=>{const n=t.options;if(!n)return;let r;if(typeof n=="function"?(r=n(e),r instanceof Promise&&(r=await r)):r=n,Array.isArray(r)&&(r={items:r}),!("items"in r)||r.items.length==0)return;r.reusable==null&&(r.reusable=!1);const o=e.currPath,i=E.jsx(pE,{options:r,path:o});await e.injectMessage(i)},AE=async(t,e)=>{const n=t.component;if(n){if(typeof n=="function"){let r=n(e);return r instanceof Promise&&(r=await r),r?void await e.injectMessage(r):void 0}await e.injectMessage(n)}},gE=async(t,e,n,r)=>{const o=t.transition;let i;if(typeof o=="function"?(i=o(e),i instanceof Promise&&(i=await i)):i=o,typeof i=="number"&&(i={duration:i}),!i||i instanceof Promise||i.duration==null||typeof i.duration!="number")return;i.interruptable==null&&(i.interruptable=!1);const a=setTimeout(async()=>{const l=await r(t);l&&await Tm(l,e)},i.duration);i.interruptable&&(n.current=a)},mE=async(t,e,n)=>{const r=t.chatDisabled;if(r==null)return;let o;typeof r=="function"?(o=r(e),o instanceof Promise&&(o=await o)):o=r,n(o)},Dm=async(t,e,n)=>{const r=t.isSensitive;if(!r)return void n(!1);let o;typeof r=="function"?(o=r(e),o instanceof Promise&&(o=await o)):o=r,n(o)},Tm=async(t,e)=>{if(!t)throw new Error("Block is not valid.");const n=Object.keys(t);for(const r of n)r==="function"&&await dE(t,e);n.includes("path")&&await(async(r,o)=>{const i=r.path;if(!i)return!1;if(typeof i=="string")return await o.goToPath(i),!0;let a=i(o);if(a instanceof Promise&&(a=await a),!a)return!1;const l=a;return await o.goToPath(l),!0})(t,e)},vE=()=>{var t;const{settings:e}=ht(),{styles:n}=Bt();return E.jsx("div",{className:"rcb-line-break-container",children:E.jsx("div",{style:{...n.chatHistoryLineBreakStyle},className:"rcb-line-break-text","data-testid":"chat-history-line-break-text",children:(t=e.chatHistory)==null?void 0:t.chatHistoryLineBreakText})})},yE=()=>{var t;const{settings:e}=ht(),{styles:n}=Bt(),r={borderTop:`4px solid ${(t=e.general)==null?void 0:t.primaryColor}`,...n.loadingSpinnerStyle};return E.jsx("div",{className:"rcb-spinner-container",children:E.jsx("div",{style:r,className:"rcb-spinner"})})},Uc=()=>{try{if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();throw new Error("crypto.randomUUID not available")}catch(t){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function")return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const n=crypto.getRandomValues(new Uint8Array(1))[0]%16;return(e==="x"?n:3&n|8).toString(16)});throw console.error(t),new Error("crypto.getRandomValues is also not available")}},Bi=(t,e)=>({id:Uc(),content:t,sender:e,type:typeof t=="string"?"string":"object",timestamp:new Date().toUTCString(),tags:[]});let _i,Bm=!1,Vc="rcb-history",Wc=30,_m=!1,Yc=[];const hl=()=>Yc,Of=t=>{Im(t),Yc=t},Im=t=>{_i&&_i.setItem(Vc,JSON.stringify(t))},Rf=t=>{var e,n,r,o,i;_i=((n=(e=t.chatHistory)==null?void 0:e.storageType)==null?void 0:n.toUpperCase())==="SESSION_STORAGE"?sessionStorage:localStorage,Vc=(r=t.chatHistory)==null?void 0:r.storageKey,Wc=(o=t.chatHistory)==null?void 0:o.maxEntries,_m=(i=t.chatHistory)==null?void 0:i.disabled,Yc=(a=>{if(a!=null)try{return JSON.parse(a)}catch{return[]}return[]})(_i.getItem(Vc))},bE=t=>T.isValidElement(t.content)?structuredClone({id:t.id,content:zS.renderToString(t.content),type:t.type,sender:t.sender.toUpperCase(),timestamp:t.timestamp,tags:t.tags}):t,Mm=(t,e,n)=>{const r=new DOMParser().parseFromString(t,"text/html");return Array.from(r.body.childNodes).map((o,i)=>{var a;if(o.nodeType===Node.TEXT_NODE)return o.textContent;{const l=o.tagName.toLowerCase();let u=Array.from(o.attributes).reduce((d,p)=>{const h=p.name.toLowerCase();if(h==="style"){const A=p.value.split(";").filter(y=>y.trim()!==""),m={};A.forEach(y=>{const[w,b]=y.split(":").map(M=>M.trim()),P=w.replace(/-([a-z])/g,(M,D)=>D.toUpperCase());m[P]=b}),d[h]=m}else l!=="audio"&&l!=="video"||h!=="controls"||p.value!==""?d[h]=p.value:d[h]="true";return d},{});if(Object.prototype.hasOwnProperty.call(u,"class")){const d=o.classList;u.className=d.toString(),delete u.class,(a=e.botBubble)!=null&&a.showAvatar&&(u=xE(d,u)),u=wE(d,u,e,n),u=kE(d,u,e,n),u=SE(d,u,e,n),u=EE(d,u,e,n)}if(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"].includes(l))return T.createElement(l,{key:i,...u});{const d=Mm(o.innerHTML,e,n);return T.createElement(l,{key:i,...u},...d)}}})},xE=(t,e)=>((t.contains("rcb-options-container")||t.contains("rcb-checkbox-container"))&&(e.className=`${t.toString()} rcb-options-offset`),e),wE=(t,e,n,r)=>{var o,i,a,l,u;return t.contains("rcb-options")&&(e.style={...e.style,color:((o=r.botOptionStyle)==null?void 0:o.color)??((i=n.general)==null?void 0:i.primaryColor),borderColor:((a=r.botOptionStyle)==null?void 0:a.color)??((l=n.general)==null?void 0:l.primaryColor),cursor:`url("${(u=n.general)==null?void 0:u.actionDisabledIcon}"), auto`,...r.botOptionStyle}),e},kE=(t,e,n,r)=>{var o,i,a,l,u;return t.contains("rcb-checkbox-row-container")&&(e.style={...e.style,color:((o=r.botCheckboxRowStyle)==null?void 0:o.color)??((i=n.general)==null?void 0:i.primaryColor),borderColor:((a=r.botCheckboxRowStyle)==null?void 0:a.color)??((l=n.general)==null?void 0:l.primaryColor),cursor:`url("${(u=n.general)==null?void 0:u.actionDisabledIcon}"), auto`,...r.botCheckboxRowStyle}),e},SE=(t,e,n,r)=>{var o,i,a,l,u;return t.contains("rcb-checkbox-next-button")&&(e.style={...e.style,color:((o=r.botCheckboxNextStyle)==null?void 0:o.color)??((i=n.general)==null?void 0:i.primaryColor),borderColor:((a=r.botCheckboxNextStyle)==null?void 0:a.color)??((l=n.general)==null?void 0:l.primaryColor),cursor:`url("${(u=n.general)==null?void 0:u.actionDisabledIcon}"), auto`,...r.botCheckboxNextStyle}),e},EE=(t,e,n,r)=>{var o,i;return(t.contains("rcb-media-display-image-container")||t.contains("rcb-media-display-video-container"))&&(e.style={...e.style,backgroundColor:(o=n.general)==null?void 0:o.primaryColor,maxWidth:(i=n.userBubble)!=null&&i.showAvatar?"65%":"70%",...r.mediaDisplayContainerStyle}),e},Lf=()=>{const{settings:t}=ht(),{notificationsToggledOn:e,setSyncedNotificationsToggledOn:n,hasInteractedPage:r,unreadCount:o,setUnreadCount:i,syncedNotificationsToggledOnRef:a}=An(),{audioBufferRef:l,audioContextRef:u,gainNodeRef:d}=un(),{dispatchRcbEvent:p}=io(),h=T.useCallback(async()=>{var m,y;const w=(m=t.notification)==null?void 0:m.sound;u.current=new AudioContext;const b=u.current.createGain();let P;if(b.gain.value=((y=t.notification)==null?void 0:y.volume)??.2,d.current=b,w!=null&&w.startsWith("data:audio")){const M=atob(w.split(",")[1]),D=new ArrayBuffer(M.length),C=new Uint8Array(D);for(let j=0;j<M.length;j++)C[j]=M.charCodeAt(j);P=D}else P=await(await fetch(w)).arrayBuffer();l.current=await u.current.decodeAudioData(P)},[t.notification]),A=T.useCallback(()=>{var m;if((m=t.notification)!=null&&m.disabled||!a.current||!r||!u.current||!l.current)return;const y=u.current.createBufferSource();y.buffer=l.current,y.connect(d.current).connect(u.current.destination),y.start()},[t.notification,a,r,u,l,d]);return{unreadCount:o,setUnreadCount:i,notificationsToggledOn:e,toggleNotifications:T.useCallback(async m=>{var y;m!==a.current&&((y=t.event)!=null&&y.rcbToggleNotifications&&(await p(je.TOGGLE_NOTIFICATIONS,{currState:a.current,newState:!a.current})).defaultPrevented||n(w=>!w))},[a]),playNotificationSound:A,setUpNotifications:h}},CE=(t,e)=>{var n,r,o,i;((a,l,u,d,p)=>{if(!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const h=new window.SpeechSynthesisUtterance;h.text=a,h.lang=l,h.rate=d,h.volume=p;let A=!1;for(const m of u){const y=window.speechSynthesis.getVoices().find(w=>w.name===m);if(y){h.voice=y,window.speechSynthesis.speak(h),A=!0;break}}A||window.speechSynthesis.speak(h)})(e,(n=t.audio)==null?void 0:n.language,(r=t.audio)==null?void 0:r.voiceNames,(o=t.audio)==null?void 0:o.rate,(i=t.audio)==null?void 0:i.volume)},Om=()=>{const{settings:t}=ht(),{audioToggledOn:e,setSyncedAudioToggledOn:n,syncedAudioToggledOnRef:r}=An(),{dispatchRcbEvent:o}=io(),i=T.useCallback(async l=>{var u;l!==r.current&&((u=t.event)!=null&&u.rcbToggleAudio&&(await o(je.TOGGLE_AUDIO,{currState:r.current,newState:!r.current})).defaultPrevented||n(d=>!d))},[r]),a=T.useCallback(async l=>{var u,d;if((u=t.audio)!=null&&u.disabled||!r.current)return;let p=l;if((d=t.event)!=null&&d.rcbStartSpeakAudio){const h=await o(je.START_SPEAK_AUDIO,{textToRead:p});if(h.defaultPrevented)return;p=h.data.textToRead}CE(t,p)},[t,r]);return{audioToggledOn:e,speakAudio:a,toggleAudio:i}},hs=()=>{var t,e,n;const{settings:r}=ht(),{messages:o,setSyncedMessages:i,syncedMessagesRef:a}=Mf(),{setSyncedIsBotTyping:l,setUnreadCount:u,syncedIsScrollingRef:d,syncedIsChatWindowOpenRef:p}=An(),{streamMessageMap:h,chatBodyRef:A,paramsInputRef:m}=un(),{scrollToBottom:y,getIsChatBotVisible:w}=Sr(),{dispatchRcbEvent:b}=io(),{speakAudio:P}=Om(),{playNotificationSound:M}=Lf(),D=T.useCallback(async W=>{var oe,ue;if((oe=r.event)!=null&&oe.rcbSaveChatHistory){const te=await b(je.SAVE_CHAT_HISTORY,{messages:W});if(te.defaultPrevented)return;W=((ue=te.data)==null?void 0:ue.messages)??W}await(async te=>{if(_m||!_i)return;const pe=[];for(let G=te.length-1;G>=0;G--){const N=te[G];if(N.sender.toUpperCase()!=="SYSTEM"&&(N.content!==""&&pe.unshift(N),pe.length===Wc))break}let ee=pe.map(bE);if(!Bm&&ee.length<Wc){const G=Wc-ee.length;ee=[...Yc.slice(-G),...ee]}Im(ee)})(W)},[b,(t=r.event)==null?void 0:t.rcbSaveChatHistory]),C=T.useCallback((W,oe=!1)=>{var ue,te;D(W);let pe=!0;const ee=W[W.length-1];if(!ee)return;const G=ee.sender.toUpperCase();G==="USER"&&(pe=!1),(ue=r.general)!=null&&ue.embedded&&w()&&(pe=!1),(p.current&&!d.current||oe)&&(pe=!1),pe&&M(),!oe&&(G!=="USER"&&(te=r.chatWindow)!=null&&te.autoJumpToBottom||G==="USER"||!d.current)&&setTimeout(()=>y(),1)},[r,A,p,d,M,y,w]),j=T.useCallback(async(W,oe="BOT",ue=null)=>{var te,pe,ee,G,N;if(typeof W!="string")throw new Error("Content must be of type string to simulate stream.");oe=oe.toUpperCase();let de=Bi(W,oe);if((te=r.event)!=null&&te.rcbStartSimulateStreamMessage){const Oe=await b(je.START_SIMULATE_STREAM_MESSAGE,{message:de});if(Oe.defaultPrevented)return null;ue=Oe.data.simulateStreamChunker||ue,de=Oe.data.message}l(!1);let I=30;I=oe==="BOT"?(pe=r.botBubble)==null?void 0:pe.streamSpeed:(ee=r.userBubble)==null?void 0:ee.streamSpeed;const J={...de,content:""};i(Oe=>[...Oe,J]),C(a.current);let ve=de.content;ue&&(ve=ue(ve));let me=0;const we=ve.length;de.sender.toUpperCase()==="BOT"&&(p.current||(G=r.general)!=null&&G.embedded)&&typeof de.content=="string"&&de.content.trim()!==""&&P(de.content);const _e=new Promise(Oe=>{const Ve=setInterval(()=>{if(me>=we)return clearInterval(Ve),void Oe();i(ze=>{const $e=[...ze];for(let wt=$e.length-1;wt>=0;wt--)if($e[wt].id===J.id){const Me=ve[me];Me&&(J.content+=Me,$e[wt]=J),me++;break}return $e})},I)});return(d.current||!p.current)&&u(Oe=>Oe+1),await _e,D(a.current),(N=r.event)!=null&&N.rcbStopSimulateStreamMessage&&await b(je.STOP_SIMULATE_STREAM_MESSAGE,{message:de}),oe==="USER"&&(m.current=W),de},[r,b,C,a,m,l,u,p,P]),R=T.useCallback(async(W,oe="BOT")=>{var ue,te,pe;oe=oe.toUpperCase();let ee=Bi(W,oe);if((ue=r.event)!=null&&ue.rcbPreInjectMessage){const G=await b(je.PRE_INJECT_MESSAGE,{message:ee});if(G.defaultPrevented)return null;ee=G.data.message}return ee.sender.toUpperCase()==="BOT"&&(p.current||(te=r.general)!=null&&te.embedded)&&typeof ee.content=="string"&&ee.content.trim()!==""&&P(ee.content),(d.current||!p.current)&&u(G=>G+1),(pe=r.event)!=null&&pe.rcbPostInjectMessage&&await b(je.POST_INJECT_MESSAGE,{message:ee}),i(G=>[...G,ee]),C(a.current),oe==="USER"&&typeof W=="string"&&(m.current=W),ee},[r,b,C,m,a,p,P,u]),z=T.useCallback(async W=>{var oe;let ue=a.current.find(ee=>ee.id===W),te=null,pe=!1;return ue||(te=hl(),ue=te.find(ee=>ee.id===W),ue&&(pe=!0)),!ue||(oe=r.event)!=null&&oe.rcbRemoveMessage&&(await b(je.REMOVE_MESSAGE,{message:ue})).defaultPrevented?null:pe?(te&&Of(te.filter(ee=>ee.id!==W)),ue):(i(ee=>ee.filter(G=>G.id!==W)),C(a.current),u(ee=>Math.max(ee-1,0)),ue)},[b,(e=r.event)==null?void 0:e.rcbRemoveMessage,C,a,u,hl,Of]),V=T.useCallback(async(W,oe="BOT")=>{var ue,te;if(oe=oe.toUpperCase(),!h.current.has(oe)){const ee=Bi(W,oe);return(ue=r.event)!=null&&ue.rcbStartStreamMessage&&(await b(je.START_STREAM_MESSAGE,{message:ee})).defaultPrevented?null:(l(!1),i(G=>[...G,ee]),C(a.current),h.current.set(oe,ee.id),(d.current||!p.current)&&u(G=>G+1),ee)}const pe={...Bi(W,oe),id:h.current.get(oe)};return(te=r.event)!=null&&te.rcbChunkStreamMessage&&(await b(je.CHUNK_STREAM_MESSAGE,{message:pe})).defaultPrevented?null:(i(ee=>ee.map(G=>G.id===pe.id?pe:G)),C(a.current,!0),pe)},[b,r.event,C,a,l,u,h]),K=T.useCallback(async(W="BOT")=>{var oe;if(W=W.toUpperCase(),!h.current.has(W))return!0;const ue=h.current.get(W);let te;for(let pe=0;pe<3;pe++){const ee=a.current.find(G=>G.id===ue);ee&&(te=ee),await new Promise(G=>setTimeout(G,20))}return((oe=r.event)==null||!oe.rcbStopStreamMessage||!(await b(je.STOP_STREAM_MESSAGE,{message:te})).defaultPrevented)&&(h.current.delete(W),D(a.current),W==="USER"&&typeof te?.content=="string"&&(m.current=te.content),!0)},[b,(n=r.event)==null?void 0:n.rcbStopStreamMessage,h,m]),q=T.useCallback(W=>{const oe=typeof W=="function"?W(a.current):W;i(oe),C(oe)},[C,a]),Z=T.useCallback((W,oe,ue=0)=>{var te;const pe=a.current,ee=W?W.toUpperCase():null,G=[];let N=ue;for(let de=pe.length-1;de>=0;de--){const I=pe[de];if(!ee||((te=I?.sender)==null?void 0:te.toUpperCase())===ee){if(N>0){N--;continue}if(G.push(I),oe!==void 0&&G.length===oe)break}}return G.length>0?G:null},[a]);return{simulateStreamMessage:j,injectMessage:R,removeMessage:z,streamMessage:V,endStreamMessage:K,replaceMessages:q,getMessages:Z,messages:o}};let Nf,Eo,qc,Ii=!1,Co=null;const Ff=()=>{if(!Nf){const t=window.SpeechRecognition||window.webkitSpeechRecognition;Nf=t!=null?new t:null}return Nf},PE=(t,e,n,r,o,i)=>{var a,l,u;const d=Ff();if(!d)return;if(!Ii)try{Ii=!0,d.lang=(a=t.voice)==null?void 0:a.language,d.start()}catch{}const p=(l=t.voice)==null?void 0:l.timeoutPeriod,h=(u=t.voice)==null?void 0:u.autoSendPeriod;d.onresult=A=>{var m,y;clearTimeout(Eo),Eo=null,clearTimeout(qc);const w=A.results[A.results.length-1][0].transcript;if(i.current){const b=(m=t.chatInput)==null?void 0:m.characterLimit,P=i.current.value+w;b!=null&&b>=0&&P.length>b?r(P.slice(0,b)):r(P),o(i.current.value.length)}p&&(Eo=setTimeout(async()=>await zf(e,i),p)),(y=t.voice)!=null&&y.autoSendDisabled||(qc=setTimeout(n,h))},d.onend=()=>{Ii?(d.start(),!Eo&&p&&(Eo=setTimeout(async()=>await zf(e,i),p))):(clearTimeout(Eo),Eo=null,clearTimeout(qc))},p&&(Eo=setTimeout(async()=>await zf(e,i),p))},DE=(t,e)=>{navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{if(Co=new MediaRecorder(n),!Ii)try{Ii=!0,Co.start()}catch{}Co.ondataavailable=r=>{e.current&&e.current.push(r.data)},Co.onstop=()=>{t(),n.getTracks().forEach(r=>r.stop())}}).catch(n=>{console.error("Unable to use microphone:",n)})},jf=()=>{const t=Ff();t&&(Ii=!1,t&&t.stop(),Co&&Co.state!=="inactive"&&(Co.stop(),Co=null),clearTimeout(Eo),Eo=null,clearTimeout(qc))},zf=async(t,e)=>{var n;(n=e.current)!=null&&n.disabled||await t(),jf()},Qf=()=>{const{settings:t}=ht(),{voiceToggledOn:e,setSyncedVoiceToggledOn:n,syncedVoiceToggledOnRef:r}=An(),{dispatchRcbEvent:o}=io(),i=T.useCallback(async l=>{var u;l!==r.current&&((u=t.event)!=null&&u.rcbToggleVoice&&(await o(je.TOGGLE_VOICE,{currState:r.current,newState:!r.current})).defaultPrevented||n(d=>!d))},[r]),a=T.useCallback(l=>{((u,d)=>{var p,h,A;const m=Ff();(p=d.voice)!=null&&p.disabled||(h=d.chatInput)==null||!h.blockSpam||!m||(u&&!Ii?(Ii=!0,(A=d.voice)!=null&&A.sendAsAudio?Co?.start():m.start()):u||jf())})(l,t)},[t]);return{voiceToggledOn:e,toggleVoice:i,syncVoice:a}},As=()=>{var t;const{settings:e}=ht(),{inputLength:n,setInputLength:r,textAreaDisabled:o,setSyncedTextAreaDisabled:i,textAreaSensitiveMode:a,setSyncedTextAreaSensitiveMode:l,syncedTextAreaDisabledRef:u,syncedTextAreaSensitiveModeRef:d}=An(),{inputRef:p,chatBodyRef:h,prevInputRef:A}=un(),{dispatchRcbEvent:m}=io(),{getIsChatBotVisible:y}=Sr(),w=T.useCallback(async R=>{var z,V,K;if(u.current&&p.current)p.current.value="";else if(p.current&&A.current!==null){const q=(z=e.chatInput)==null?void 0:z.characterLimit,Z=(V=e.chatInput)!=null&&V.allowNewline?R:R.replace(/\n/g," ");if(q!=null&&q>=0&&Z.length>q?p.current.value=Z.slice(0,q):p.current.value=Z,(K=e.event)!=null&&K.rcbTextAreaChangeValue&&(await m(je.TEXT_AREA_CHANGE_VALUE,{currValue:p.current.value,prevValue:A.current})).defaultPrevented)return void(p.current.value=A.current);A.current=p.current.value}},[u,p,A,e,m]),b=T.useCallback(R=>{var z;(z=p.current)!=null&&z.disabled||setTimeout(()=>{var V,K,q;(V=e.general)!=null&&V.embedded?y()&&((K=p.current)==null||K.focus()):R!=="start"&&((q=p.current)==null||q.focus())},100)},[p,(t=e.general)==null?void 0:t.embedded,h,y]),P=T.useCallback(()=>{p.current&&p.current.focus()},[]),M=T.useCallback(()=>{p.current&&p.current.blur()},[]),D=T.useCallback(()=>p&&p.current?p.current.value:"",[]),C=T.useCallback(R=>{R!==u.current&&i(z=>!z)},[u]),j=T.useCallback(R=>{R!==d.current&&l(z=>!z)},[d]);return{textAreaDisabled:o,setSyncedTextAreaDisabled:i,textAreaSensitiveMode:a,setSyncedTextAreaSensitiveMode:l,inputLength:n,setInputLength:r,getTextAreaValue:D,setTextAreaValue:w,updateTextAreaFocus:b,focusTextArea:P,blurTextArea:M,toggleTextAreaDisabled:C,toggleTextAreaSensitiveMode:j}},Rm=T.createContext({toasts:[],setSyncedToasts:()=>{},syncedToastsRef:{current:[]}}),Lm=()=>T.useContext(Rm),TE=({children:t})=>{const[e,n,r]=kr([]);return E.jsx(Rm.Provider,{value:{toasts:e,setSyncedToasts:n,syncedToastsRef:r},children:t})},ra=()=>{const{settings:t}=ht(),{toasts:e,setSyncedToasts:n,syncedToastsRef:r}=Lm(),{dispatchRcbEvent:o}=io(),i=T.useCallback(async(u,d)=>{var p,h,A,m;let y=null;if(r.current.length>=(((p=t.toast)==null?void 0:p.maxCount)??3)){if((h=t.toast)!=null&&h.forbidOnMax)return null;y=Uc();let b={id:y,content:u,timeout:d};if((A=t.event)!=null&&A.rcbShowToast){const P=await o(je.SHOW_TOAST,{toast:b});if(P.defaultPrevented)return null;b=P.data.toast}return n(P=>[...P.slice(1),b]),y}y=Uc();let w={id:y,content:u,timeout:d};if((m=t.event)!=null&&m.rcbShowToast){const b=await o(je.SHOW_TOAST,{toast:w});if(b.defaultPrevented)return null;w=b.data.toast}return n(b=>[...b,w]),y},[t,o]),a=T.useCallback(async u=>{var d;const p=r.current.find(h=>h.id===u);return!p||(d=t.event)!=null&&d.rcbDismissToast&&(await o(je.DISMISS_TOAST,{toast:p})).defaultPrevented?null:(n(h=>h.filter(A=>A.id!==u)),u)},[o]),l=T.useCallback(u=>{const d=typeof u=="function"?u(r.current):u;n(d)},[r]);return{showToast:i,dismissToast:a,toasts:e,replaceToasts:l}},Kc=()=>{var t,e,n,r,o;const{settings:i}=ht(),{paths:a,setSyncedPaths:l,syncedPathsRef:u}=pl(),{flowRef:d,streamMessageMap:p,paramsInputRef:h,keepVoiceOnRef:A,timeoutIdRef:m}=un(),{setSyncedIsBotTyping:y,setSyncedTextAreaDisabled:w,setSyncedTextAreaSensitiveMode:b,blockAllowsAttachment:P,setBlockAllowsAttachment:M}=An(),{dispatchRcbEvent:D}=io(),{endStreamMessage:C,injectMessage:j,removeMessage:R,simulateStreamMessage:z,streamMessage:V}=hs(),{showToast:K,dismissToast:q}=ra(),{toggleChatWindow:Z}=Sr(),{updateTextAreaFocus:W,setTextAreaValue:oe}=As(),{syncVoice:ue}=Qf(),te=T.useCallback(async I=>{var J;if((J=i.event)!=null&&J.rcbPostProcessBlock){const ve=await D(je.POST_PROCESS_BLOCK,{block:I});if(ve.defaultPrevented)return null;I=ve.data.block}return I},[(t=i.event)==null?void 0:t.rcbPostProcessBlock,D]),pe=T.useCallback(async(I,J)=>{var ve,me,we,_e;if(!I)return;let Oe=d.current[I];if(!Oe)return void y(!1);if((ve=i.event)!=null&&ve.rcbPreProcessBlock){const ze=await D(je.PRE_PROCESS_BLOCK,{block:Oe});if(ze.defaultPrevented)return;Oe=ze.data.block}y(!0),(me=i.chatInput)!=null&&me.blockSpam&&w(!0),b(!1);const Ve={prevPath:J,currPath:I,goToPath:N,setTextAreaValue:oe,userInput:h.current,endStreamMessage:C,injectMessage:j,removeMessage:R,simulateStreamMessage:z,streamMessage:V,toggleChatWindow:Z,showToast:K,dismissToast:q};await(async(ze,$e,wt,Me,Ee,Xe,Ge)=>{if(!ze)throw new Error("Block is not valid.");for(const At of Object.keys(ze))switch(At){case"message":await fE(ze,$e,wt);break;case"options":await hE(ze,$e);break;case"checkboxes":await uE(ze,$e);break;case"component":await AE(ze,$e);break;case"chatDisabled":await mE(ze,$e,Ee);break;case"isSensitive":await Dm(ze,$e,Xe);break;case"transition":await gE(ze,$e,Me,Ge)}})(Oe,Ve,((we=i.botBubble)==null?void 0:we.simulateStream)??!1,m,w,b,te),y(!1),"chatDisabled"in Oe||w((_e=i.chatInput)==null?void 0:_e.disabled),"isSensitive"in Oe||b(!1),M(typeof Oe.file=="function"),W(I),ue(A.current&&!Oe.chatDisabled),I!==J&&p.current.clear()},[d,W,ue,(e=i.botBubble)==null?void 0:e.simulateStream,(n=i.chatInput)==null?void 0:n.disabled,h,C,j,R,z,V,Z,K,q,A,p]),ee=T.useCallback(()=>u.current.length>0?u.current.at(-1)??null:null,[]),G=T.useCallback(()=>u.current.length>1?u.current.at(-2)??null:null,[]),N=T.useCallback(async I=>{var J;const ve=ee(),me=G();return((J=i.event)==null||!J.rcbChangePath||!(await D(je.CHANGE_PATH,{currPath:ve,prevPath:me,nextPath:I})).defaultPrevented)&&(l(we=>[...we,I]),await pe(I,ve),!0)},[(r=i.chatInput)==null?void 0:r.blockSpam,(o=i.event)==null?void 0:o.rcbChangePath,pe,D]),de=T.useCallback(I=>{const J=typeof I=="function"?I(u.current):I;l(J)},[u]);return{getCurrPath:ee,getPrevPath:G,goToPath:N,blockAllowsAttachment:P,setBlockAllowsAttachment:M,paths:a,replacePaths:de,firePostProcessBlockEvent:te}},oa=()=>{var t,e,n,r;const{settings:o}=ht(),{endStreamMessage:i,injectMessage:a,removeMessage:l,simulateStreamMessage:u,streamMessage:d}=hs(),{syncedPathsRef:p}=pl(),{getCurrPath:h,getPrevPath:A,goToPath:m,firePostProcessBlockEvent:y}=Kc(),{setSyncedTextAreaSensitiveMode:w,setSyncedTextAreaDisabled:b,setSyncedIsBotTyping:P,setBlockAllowsAttachment:M,setInputLength:D,syncedVoiceToggledOnRef:C,syncedTextAreaSensitiveModeRef:j}=An(),{flowRef:R,inputRef:z,keepVoiceOnRef:V,paramsInputRef:K,timeoutIdRef:q}=un(),{showToast:Z,dismissToast:W}=ra(),{dispatchRcbEvent:oe}=io(),{syncVoice:ue}=Qf(),{setTextAreaValue:te}=As(),{toggleChatWindow:pe}=Sr(),ee=T.useCallback(async N=>{var de,I,J,ve,me,we;const _e=h();if(_e&&R.current[_e]){if(j.current){if((de=o?.sensitiveInput)!=null&&de.hideInUserBubble)return;if((I=o?.sensitiveInput)!=null&&I.maskInUserBubble)return void((J=o.userBubble)!=null&&J.simulateStream?await u("*".repeat(((ve=o.sensitiveInput)==null?void 0:ve.asterisksCount)??10),"USER"):await a("*".repeat(((me=o.sensitiveInput)==null?void 0:me.asterisksCount)??10),"USER"))}(we=o.userBubble)!=null&&we.simulateStream?await u(N,"USER"):await a(N,"USER")}},[R,h,o,a,u,j]),G=T.useCallback(async(N,de=!0)=>{var I,J;if((N=N.trim())==="")return;de&&await ee(N),q.current&&clearTimeout(q.current),z.current&&(te(""),D(0));const ve=h();if(!ve)return;let me=R.current[ve];const we=await y(me);we&&((I=o.chatInput)!=null&&I.blockSpam&&b(!0),V.current=C.current,ue(!1),setTimeout(()=>{P(!0)},400),w(!1),setTimeout(async()=>{var _e;const Oe={prevPath:A(),currPath:h(),goToPath:m,setTextAreaValue:te,userInput:K.current,injectMessage:a,simulateStreamMessage:u,streamMessage:d,removeMessage:l,endStreamMessage:i,toggleChatWindow:pe,showToast:Z,dismissToast:W},Ve=p.current.length;await Tm(we,Oe),p.current.length===Ve&&(b("chatDisabled"in me?!!me.chatDisabled:!((_e=o.chatInput)==null||!_e.disabled)),Dm(me,Oe,w),M(typeof me.file=="function"),ue(V.current),P(!1))},(J=o.chatInput)==null?void 0:J.botDelay))},[q,(t=o.chatInput)==null?void 0:t.blockSpam,(e=o.chatInput)==null?void 0:e.botDelay,(n=o.chatInput)==null?void 0:n.disabled,V,C,ue,ee,A,h,m,a,u,d,l,i,pe,Z,W,R]);return{handleSubmitText:T.useCallback(async(N,de=!0)=>{var I,J;N=N??((I=z.current)==null?void 0:I.value),!((J=o.event)!=null&&J.rcbUserSubmitText&&(await oe(je.USER_SUBMIT_TEXT,{inputText:N,sendInChat:de})).defaultPrevented||!h())&&G(N,de)},[oe,h,G,z,(r=o.event)==null?void 0:r.rcbUserSubmitText])}},Gc=()=>{var t;const{settings:e}=ht();return T.useMemo(()=>{var n;if(typeof window>"u"||!window.navigator)return!1;if((n=e.device)==null||!n.applyMobileOptimizations)return!0;const r=navigator.userAgent,o=!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(r),i=window.innerWidth>=768;return o&&i},[(t=e.device)==null?void 0:t.applyMobileOptimizations])},BE=({buttons:t})=>{var e,n,r,o,i,a,l,u,d,p,h;const A=Gc(),{settings:m}=ht(),{styles:y}=Bt(),{textAreaDisabled:w,textAreaSensitiveMode:b,inputLength:P,hasFlowStarted:M,setHasFlowStarted:D,setInputLength:C}=An(),{inputRef:j}=un(),[R,z]=T.useState(!1),[V,K]=T.useState(!1),{handleSubmitText:q}=oa(),{setTextAreaValue:Z}=As(),W={boxSizing:A?"content-box":"border-box",...y.chatInputAreaStyle},oe={outline:w?"":"none",boxShadow:w?"":`0 0 5px ${(e=m.general)==null?void 0:e.primaryColor}`,boxSizing:A?"content-box":"border-box",...y.chatInputAreaStyle,...y.chatInputAreaFocusedStyle},ue={cursor:`url("${(n=m.general)==null?void 0:n.actionDisabledIcon}"), auto`,caretColor:"transparent",boxSizing:A?"content-box":"border-box",...y.chatInputAreaStyle,...y.chatInputAreaDisabledStyle},te={color:"#989898",...y.characterLimitStyle},pe={color:"#ff0000",...y.characterLimitReachedStyle},ee=w?(r=m.chatInput)==null?void 0:r.disabledPlaceholderText:(o=m.chatInput)==null?void 0:o.enabledPlaceholderText,G=()=>{w||z(!0)},N=()=>{z(!1)},de=()=>{K(!0)},I=()=>{K(!1)},J=async me=>{var we;if(!V&&me.key==="Enter"){if(me.shiftKey)return void((we=m.chatInput)!=null&&we.allowNewline||me.preventDefault());me.preventDefault(),await q()}},ve=me=>{j.current&&(Z(me.target.value),C(j.current.value.length))};return E.jsxs("div",{"aria-label":((i=m.ariaLabel)==null?void 0:i.inputTextArea)??"input text area",role:"textbox",onMouseDown:me=>{var we;me.stopPropagation(),!M&&((we=m.general)==null?void 0:we.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&D(!0)},style:{...y.chatInputContainerStyle},className:"rcb-chat-input",children:[b&&(a=m.sensitiveInput)!=null&&a.maskInTextArea?E.jsx("input",{ref:j,type:"password",className:"rcb-chat-input-textarea",style:w?ue:R?oe:W,placeholder:ee,onChange:ve,onKeyDown:J,onFocus:G,onBlur:N,onCompositionStart:de,onCompositionEnd:I}):E.jsx("textarea",{ref:j,style:w?ue:R?oe:W,rows:1,className:"rcb-chat-input-textarea",placeholder:ee,onChange:ve,onKeyDown:J,onFocus:G,onBlur:N,onCompositionStart:de,onCompositionEnd:I}),E.jsxs(E.Fragment,{children:[t?.map((me,we)=>E.jsx(T.Fragment,{children:me},we)),((l=m.chatInput)==null?void 0:l.showCharacterCount)&&((u=m.chatInput)==null?void 0:u.characterLimit)!=null&&((d=m.chatInput)==null?void 0:d.characterLimit)>0&&E.jsxs("div",{className:"rcb-chat-input-char-counter",style:P>=((p=m.chatInput)==null?void 0:p.characterLimit)?pe:te,children:[P,"/",(h=m.chatInput)==null?void 0:h.characterLimit]})]})]})},_E=({buttons:t})=>{var e;const{settings:n}=ht(),{styles:r}=Bt();return E.jsxs("div",{"data-testid":"chatbot-footer-container",style:{...r.footerStyle},className:"rcb-chat-footer-container",children:[E.jsx("div",{className:"rcb-chat-footer",children:t?.map((o,i)=>E.jsx(T.Fragment,{children:o},i))}),E.jsx("span",{children:(e=n.footer)==null?void 0:e.text})]})},IE=()=>{var t,e,n,r,o,i,a;const{settings:l}=ht(),{styles:u}=Bt(),{unreadCount:d}=An(),{isChatWindowOpen:p,toggleChatWindow:h}=Sr(),[A,m]=T.useState(!1),y={backgroundImage:`linear-gradient(to right, ${(t=l.general)==null?void 0:t.secondaryColor},
22
- ${(e=l.general)==null?void 0:e.primaryColor})`,...u.chatButtonStyle},w={transform:"scale(1.05)",...y,...u.chatButtonHoveredStyle},b={backgroundImage:`url(${(n=l.chatButton)==null?void 0:n.icon})`,fill:"#fff",width:75,height:75,...u.chatIconStyle};return E.jsx(E.Fragment,{children:!((r=l.general)!=null&&r.embedded)&&E.jsxs("div",{"aria-label":((o=l.ariaLabel)==null?void 0:o.chatButton)??"open chat",role:"button",style:A?w:y,className:"rcb-toggle-button "+(p?"rcb-button-hide":"rcb-button-show"),onMouseEnter:()=>{m(!0)},onMouseLeave:()=>{m(!1)},onClick:()=>h(!0),children:[(()=>{var P;const M=(P=l.chatButton)==null?void 0:P.icon;return M&&typeof M!="string"?M&&E.jsx("span",{className:"rcb-toggle-icon",children:E.jsx(M,{style:b})}):E.jsx("span",{className:"rcb-toggle-icon",style:b})})(),!((i=l.notification)!=null&&i.disabled)&&((a=l.notification)==null?void 0:a.showCount)&&E.jsx("span",{style:{...u.notificationBadgeStyle},className:"rcb-badge",children:d})]})})},ME=()=>{var t,e,n,r,o,i;const a=Gc(),{settings:l}=ht(),{styles:u}=Bt(),{chatBodyRef:d}=un(),{isChatWindowOpen:p,toggleChatWindow:h}=Sr(),[A,m]=T.useState(!1),[y,w]=T.useState(!1),[b,P]=T.useState(0);T.useEffect(()=>{var C,j,R;const z=(C=l.tooltip)==null?void 0:C.mode;if(z==="ALWAYS")if(a){let V;V=p?(((j=d.current)==null?void 0:j.offsetWidth)??375)-(typeof((R=u.chatButtonStyle)==null?void 0:R.width)=="number"?u.chatButtonStyle.width:75):0,P(V),m(!0)}else m(!p);else z==="NEVER"?m(!1):z==="START"?y?m(!1):(w(!0),m(!0)):z==="CLOSE"&&m(!p)},[p,a,y,(t=u.chatButtonStyle)==null?void 0:t.width,(e=l.tooltip)==null?void 0:e.mode]);const M={transform:`translateX(-${b}px)`,right:(((n=u.chatButtonStyle)==null?void 0:n.width)??75)+40,bottom:30,backgroundColor:(r=l.general)==null?void 0:r.secondaryColor,color:"#fff",...u.tooltipStyle},D={borderColor:`transparent transparent transparent ${M.backgroundColor}`};return E.jsx(E.Fragment,{children:!((o=l.general)!=null&&o.embedded)&&E.jsxs("div",{"data-testid":"chat-tooltip",style:M,className:"rcb-chat-tooltip "+(A?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>h(!0),children:[E.jsx("span",{children:(i=l.tooltip)==null?void 0:i.text}),E.jsx("span",{className:"rcb-chat-tooltip-tail",style:D})]})})},OE=({id:t,content:e,timeout:n})=>{var r,o;const{settings:i}=ht(),{styles:a}=Bt(),[l]=T.useState({toastPromptStyle:{...a.toastPromptStyle},toastPromptHoveredStyle:{...a.toastPromptHoveredStyle}}),{dismissToast:u}=ra(),[d,p]=T.useState(!1),h={color:(r=i.general)==null?void 0:r.primaryColor,borderColor:(o=i.general)==null?void 0:o.primaryColor,...l.toastPromptHoveredStyle};return T.useEffect(()=>{if(n){const A=setTimeout(()=>{u(t)},n);return()=>clearTimeout(A)}},[t,u,n]),typeof e=="string"?E.jsx("div",{onMouseEnter:()=>{p(!0)},onMouseLeave:()=>{p(!1)},style:d?h:l.toastPromptStyle,onMouseDown:async A=>{var m;(m=i.toast)!=null&&m.dismissOnClick&&(A.preventDefault(),await u(t))},className:"rcb-toast-prompt",children:e}):E.jsx(E.Fragment,{children:e})},RE=()=>{var t,e,n,r,o,i,a,l,u,d,p,h;const{styles:A}=Bt(),{toasts:m}=Lm(),y={bottom:`calc(${typeof((t=A.footerStyle)==null?void 0:t.height)=="number"?`${(e=A.footerStyle)==null?void 0:e.height}px`:((n=A.footerStyle)==null?void 0:n.height)??"50px"} + ${typeof((r=A.chatInputContainerStyle)==null?void 0:r.height)=="number"?`${(o=A.chatInputContainerStyle)==null?void 0:o.height}px`:((i=A.chatInputContainerStyle)==null?void 0:i.height)??"70px"} + 20px)`,width:300,minWidth:`calc(${typeof((a=A.chatWindowStyle)==null?void 0:a.width)=="number"?`${(l=A.chatWindowStyle)==null?void 0:l.width}px`:((u=A.chatWindowStyle)==null?void 0:u.width)??"375px"} / 2)`,maxWidth:`calc(${typeof((d=A.chatWindowStyle)==null?void 0:d.width)=="number"?`${(p=A.chatWindowStyle)==null?void 0:p.width}px`:((h=A.chatWindowStyle)==null?void 0:h.width)??"375px"} - 50px)`,...A.toastPromptContainerStyle};return E.jsx("div",{className:"rcb-toast-prompt-container",style:y,children:m.map(w=>E.jsx(OE,{id:w.id,content:w.content,timeout:w.timeout},w.id))})},Nm=({file:t,fileType:e,fileUrl:n})=>{var r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),u={backgroundColor:(r=a.general)==null?void 0:r.primaryColor,maxWidth:(o=a.userBubble)!=null&&o.showAvatar?"65%":"70%",...l.mediaDisplayContainerStyle};return E.jsx(E.Fragment,{children:n?E.jsxs(E.Fragment,{children:[e==="image"&&n&&E.jsx("div",{style:u,className:"rcb-media-display-image-container rcb-media-entry","data-testid":"media-display-image-container",children:E.jsx("img",{src:n,alt:"Image Display",className:"rcb-media-display-image"})}),e==="video"&&n&&E.jsx("div",{style:u,className:"rcb-media-display-video-container rcb-media-entry","data-testid":"media-display-video-container",children:E.jsxs("video",{controls:!0,className:"rcb-media-display-video",children:[E.jsx("source",{src:n,type:t.type}),"Your browser does not support the video tag."]})}),e==="audio"&&n&&E.jsxs("audio",{"data-testid":"media-display-audio-container",style:{maxWidth:(i=a.userBubble)!=null&&i.showAvatar?"65%":"70%"},controls:!0,className:"rcb-media-display-audio rcb-media-entry",children:[E.jsx("source",{src:n,type:t.type}),"Your browser does not support the audio tag."]})]}):E.jsx(E.Fragment,{})})},Fm=async t=>{if(!t)return{fileType:null,fileUrl:null};const e=t.type.split("/")[0];if(!["image","video","audio"].includes(e))return{fileType:null,fileUrl:null};try{return{fileType:e,fileUrl:await new Promise((n,r)=>{const o=new FileReader;o.onload=()=>n(o.result),o.onerror=()=>r(new Error("File reading failed")),o.readAsDataURL(t)})}}catch(n){return console.error(n),{fileType:null,fileUrl:null}}},LE=()=>{var t,e,n,r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),{injectMessage:u,simulateStreamMessage:d,streamMessage:p,removeMessage:h,endStreamMessage:A}=hs(),{getCurrPath:m,getPrevPath:y,goToPath:w,blockAllowsAttachment:b}=Kc(),{flowRef:P,inputRef:M}=un(),D=P.current,{showToast:C,dismissToast:j}=ra(),{dispatchRcbEvent:R}=io(),{toggleChatWindow:z}=Sr(),{setTextAreaValue:V}=As(),{handleSubmitText:K}=oa(),q={cursor:`url("${(t=a.general)==null?void 0:t.actionDisabledIcon}"), auto`,...l.fileAttachmentButtonStyle,...l.fileAttachmentButtonDisabledStyle},Z={backgroundImage:`url(${(e=a.fileAttachment)==null?void 0:e.icon})`,fill:"#a6a6a6",...l.fileAttachmentIconStyle},W={backgroundImage:`url(${(n=a.fileAttachment)==null?void 0:n.icon})`,fill:"#a6a6a6",...l.fileAttachmentIconStyle,...l.fileAttachmentIconDisabledStyle};return E.jsxs("label",{"aria-label":((r=a.ariaLabel)==null?void 0:r.fileAttachmentButton)??"upload file",role:"button",className:b?"rcb-attach-button-enabled":"rcb-attach-button-disabled",style:b?{...l.fileAttachmentButtonStyle}:q,children:[E.jsx("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async oe=>{var ue,te,pe,ee;const G=oe.target.files;if(!G)return;const N=Array.from(G);if(oe.target.value="",(ue=a.event)!=null&&ue.rcbUserUploadFile&&(await R(je.USER_UPLOAD_FILE,{files:N})).defaultPrevented)return;const de=m();if(!de)return;const I=D[de];if(!I)return;const J=I.file;if(J!=null){const ve=[];for(let me=0;me<N.length;me++){if(ve.push(N[me].name),(te=a.fileAttachment)==null||!te.showMediaDisplay)continue;const we=await Fm(N[me]);!we.fileType||!we.fileUrl||await u(E.jsx(Nm,{file:N[me],fileType:we.fileType,fileUrl:we.fileUrl}),"USER")}await K("📄 "+ve.join(", "),(pe=a.fileAttachment)==null?void 0:pe.sendFileName),await J({userInput:(ee=M.current)==null?void 0:ee.value,prevPath:y(),currPath:m(),goToPath:w,setTextAreaValue:V,injectMessage:u,simulateStreamMessage:d,streamMessage:p,removeMessage:h,endStreamMessage:A,toggleChatWindow:z,showToast:C,dismissToast:j,files:N})}},multiple:(o=a.fileAttachment)==null?void 0:o.multiple,accept:(i=a.fileAttachment)==null?void 0:i.accept,disabled:!b}),(()=>{var oe,ue;const te=b?(oe=a.fileAttachment)==null?void 0:oe.icon:(ue=a.fileAttachment)==null?void 0:ue.iconDisabled;return te&&typeof te!="string"?te&&E.jsx("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:E.jsx(te,{style:b?Z:W})}):E.jsx("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:b?Z:W})})()]})},NE=()=>{var t,e,n,r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),{syncedTextAreaDisabledRef:u}=An(),{inputRef:d}=un(),{textAreaDisabled:p,setTextAreaValue:h}=As(),A=T.useRef(null),m=T.useRef(null),[y,w]=T.useState(!1),b={cursor:`url("${(t=a.general)==null?void 0:t.actionDisabledIcon}"), auto`,...l.emojiButtonStyle,...l.emojiButtonDisabledStyle},P={backgroundImage:`url(${(e=a.emoji)==null?void 0:e.icon})`,fill:"#a6a6a6",...l.emojiIconStyle},M={backgroundImage:`url(${(n=a.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...l.emojiIconStyle,...l.emojiIconDisabledStyle};return T.useEffect(()=>{const D=j=>{const R=j.composedPath();A.current&&!R.includes(A.current)&&m.current&&!R.includes(m.current)&&w(!1)},C=()=>{(()=>{if(A.current&&m.current){const j=m.current.getBoundingClientRect(),R=A.current.offsetHeight,z=j.top-R-8;A.current.style.left=`${j.left}px`,A.current.style.top=`${z}px`}})()};return document.addEventListener("mousedown",D),window.addEventListener("resize",C),()=>{document.removeEventListener("mousedown",D),window.removeEventListener("resize",C)}},[]),E.jsxs(E.Fragment,{children:[E.jsx("div",{"aria-label":((r=a.ariaLabel)==null?void 0:r.emojiButton)??"emoji picker",role:"button",ref:m,className:p?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:p?b:{...l.emojiButtonStyle},onMouseDown:D=>{D.preventDefault(),u.current?w(!1):w(C=>!C)},children:(()=>{var D,C;const j=p?(D=a.emoji)==null?void 0:D.iconDisabled:(C=a.emoji)==null?void 0:C.icon;return j&&typeof j!="string"?j&&E.jsx("span",{className:p?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:E.jsx(j,{style:p?M:P})}):E.jsx("span",{className:p?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:p?M:P})})()}),y&&E.jsx("div",{className:"rcb-emoji-button-popup",ref:A,children:(i=(o=a.emoji)==null?void 0:o.list)==null?void 0:i.map((D,C)=>E.jsx("span",{className:"rcb-emoji",onMouseDown:j=>((R,z)=>{R.preventDefault(),d.current&&(h(d.current.value+z),setTimeout(()=>{const V=d.current;if(V){V.focus();const K=V.value.length;V.setSelectionRange(K,K)}},50)),w(!1)})(j,D),children:D},C))})]})},FE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{audioToggledOn:i,toggleAudio:a}=Om(),l={backgroundImage:`url(${(t=r.audio)==null?void 0:t.icon})`,fill:"#fcec3d",...o.audioIconStyle},u={backgroundImage:`url(${(e=r.audio)==null?void 0:e.iconDisabled})`,fill:"#e8eaed",...o.audioIconStyle,...o.audioIconDisabledStyle};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.audioButton)??"toggle audio",role:"button",onMouseDown:async d=>{d.preventDefault(),await a()},style:i?{...o.audioButtonStyle}:{...o.audioButtonStyle,...o.audioButtonDisabledStyle},children:(()=>{var d,p;const h=i?(d=r.audio)==null?void 0:d.icon:(p=r.audio)==null?void 0:p.iconDisabled;return h&&typeof h!="string"?h&&E.jsx("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",children:E.jsx(h,{style:i?l:u,"data-testid":"rcb-audio-icon-svg"})}):E.jsx("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",style:i?l:u})})()})},jE=()=>{var t,e;const{settings:n}=ht(),{styles:r}=Bt(),{toggleChatWindow:o}=Sr(),i={backgroundImage:`url(${(t=n.header)==null?void 0:t.closeChatIcon})`,fill:"#e8eaed",stroke:"#e8eaed",...r.closeChatIconStyle};return E.jsx("div",{"aria-label":((e=n.ariaLabel)==null?void 0:e.closeChatButton)??"close chat",role:"button",onMouseDown:a=>{a.stopPropagation(),o(!1)},style:{...r.closeChatButtonStyle},children:(()=>{var a;const l=(a=n.header)==null?void 0:a.closeChatIcon;return l&&typeof l!="string"?l&&E.jsx("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",children:E.jsx(l,{style:i})}):E.jsx("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",style:i})})()})},zE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{notificationsToggledOn:i,toggleNotifications:a}=(()=>{const{notificationsToggledOn:d,toggleNotifications:p,playNotificationSound:h}=Lf();return{notificationsToggledOn:d,toggleNotifications:p,playNotificationSound:h}})(),l={backgroundImage:`url(${(t=r.notification)==null?void 0:t.icon})`,fill:"#fcec3d",...o.notificationIconStyle},u={backgroundImage:`url(${(e=r.notification)==null?void 0:e.iconDisabled})`,fill:"#e8eaed",...o.notificationIconStyle,...o.notificationIconDisabledStyle};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.notificationButton)??"toggle notifications",role:"button",onMouseDown:async d=>{d.preventDefault(),await a()},style:i?{...o.notificationButtonStyle}:{...o.notificationButtonStyle,...o.notificationButtonDisabledStyle},children:(()=>{var d,p;const h=i?(d=r.notification)==null?void 0:d.icon:(p=r.notification)==null?void 0:p.iconDisabled;return h&&typeof h!="string"?h&&E.jsx("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",children:E.jsx(h,{style:i?l:u,"data-testid":"rcb-notification-icon-svg"})}):E.jsx("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",style:i?l:u})})()})},QE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{injectMessage:i}=hs(),{inputRef:a}=un(),{voiceToggledOn:l,toggleVoice:u}=Qf(),{setInputLength:d,setTextAreaValue:p,textAreaDisabled:h}=As(),{handleSubmitText:A}=oa(),m=T.useRef([]),[y,w]=T.useState(!1);T.useEffect(()=>{var C;(C=r.voice)!=null&&C.sendAsAudio?(D(),m.current=[]):A()},[y]),T.useEffect(()=>{l?((C,j,R,z,V,K,q)=>{var Z;(Z=C.voice)!=null&&Z.sendAsAudio?DE(R,K):PE(C,j,R,z,V,q)})(r,u,M,p,d,m,a):jf()},[l]);const b={backgroundImage:`url(${(t=r.voice)==null?void 0:t.icon})`,fill:"#9aa0a6",...o.voiceIconStyle},P={backgroundImage:`url(${(e=r.voice)==null?void 0:e.iconDisabled})`,fill:"#9aa0a6",...o.voiceIconStyle,...o.voiceIconDisabledStyle},M=()=>{w(C=>!C)},D=async()=>{const C=new Blob(m.current,{type:"audio/wav"}),j=new File([C],"voice-input.wav",{type:"audio/wav"}),R=await Fm(j);!R.fileType||!R.fileUrl||await i(E.jsx(Nm,{file:j,fileType:R.fileType,fileUrl:R.fileUrl}),"USER")};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.voiceButton)??"toggle voice",role:"button",onMouseDown:async C=>{C.preventDefault(),!h&&await u()},style:l&&!h?{...o.voiceButtonStyle}:{...o.voiceButtonStyle,...o.voiceButtonDisabledStyle},className:l&&!h?"rcb-voice-button-enabled":"rcb-voice-button-disabled",children:(()=>{var C,j;const R=l?(C=r.voice)==null?void 0:C.icon:(j=r.voice)==null?void 0:j.iconDisabled;return R&&typeof R!="string"?R&&E.jsx("span",{className:"rcb-voice-icon "+(l&&!h?"on":""),children:E.jsx(R,{style:l&&!h?b:P})}):E.jsx("span",{className:"rcb-voice-icon"+(l&&!h?"-on":""),"data-testid":"rcb-voice-icon",style:l&&!h?b:P})})()})},HE=()=>{var t,e,n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),{textAreaDisabled:p}=An(),[h,A]=T.useState(!1),{handleSubmitText:m}=oa(),y={backgroundColor:(t=u.general)==null?void 0:t.primaryColor,...d.sendButtonStyle},w={cursor:`url("${(e=u.general)==null?void 0:e.actionDisabledIcon}"), auto`,backgroundColor:(n=u.general)==null?void 0:n.primaryColor,...d.sendButtonStyle,...d.sendButtonDisabledStyle},b={backgroundColor:(r=u.general)==null?void 0:r.secondaryColor,...d.sendButtonStyle,...d.sendButtonHoveredStyle},P={backgroundImage:`url(${(o=u.chatInput)==null?void 0:o.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle},M={backgroundImage:`url(${(i=u.chatInput)==null?void 0:i.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle,...d.sendIconDisabledStyle},D={backgroundImage:`url(${(a=u.chatInput)==null?void 0:a.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle,...d.sendIconHoveredStyle};return E.jsx("div",{"aria-label":((l=u.ariaLabel)==null?void 0:l.sendButton)??"send message",role:"button",onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},onMouseDown:async C=>{C?.preventDefault(),!p&&await m()},style:p?w:h?b:y,className:"rcb-send-button",children:(()=>{var C;const j=(C=u.chatInput)==null?void 0:C.sendButtonIcon;return j&&typeof j!="string"?j&&E.jsx("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:E.jsx(j,{style:p?M:h?D:P})}):E.jsx("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:p?M:h?D:P})})()})},UE=(t,e)=>{var n,r,o,i,a,l,u,d,p;const h={[Xt.AUDIO_BUTTON]:(n=t.audio)==null?void 0:n.disabled,[Xt.CLOSE_CHAT_BUTTON]:(r=t.general)==null?void 0:r.embedded,[Xt.EMOJI_PICKER_BUTTON]:(o=t.emoji)==null?void 0:o.disabled,[Xt.FILE_ATTACHMENT_BUTTON]:(i=t.fileAttachment)==null?void 0:i.disabled,[Xt.NOTIFICATION_BUTTON]:(a=t.notification)==null?void 0:a.disabled,[Xt.SEND_MESSAGE_BUTTON]:!1,[Xt.VOICE_MESSAGE_BUTTON]:(l=t.voice)==null?void 0:l.disabled},A={},m=y=>y?y.map(w=>{if(typeof w=="string"){if((b=>Object.values(Xt).includes(b))(w)&&!h[w]){if(A[w])return A[w];const b=e[w];if(typeof b=="function"){const P=b();return A[w]=P,P}return null}return null}return w}).filter(w=>w!==null):[];return{header:m((u=t.header)==null?void 0:u.buttons),chatInput:m((d=t.chatInput)==null?void 0:d.buttons),footer:m((p=t.footer)==null?void 0:p.buttons)}},VE=()=>{const{settings:t}=ht(),e=T.useMemo(()=>({[Xt.CLOSE_CHAT_BUTTON]:()=>E.jsx(jE,{}),[Xt.AUDIO_BUTTON]:()=>E.jsx(FE,{}),[Xt.NOTIFICATION_BUTTON]:()=>E.jsx(zE,{}),[Xt.EMOJI_PICKER_BUTTON]:()=>E.jsx(NE,{}),[Xt.FILE_ATTACHMENT_BUTTON]:()=>E.jsx(LE,{}),[Xt.SEND_MESSAGE_BUTTON]:()=>E.jsx(HE,{}),[Xt.VOICE_MESSAGE_BUTTON]:()=>E.jsx(QE,{})}),[]),{header:n,chatInput:r,footer:o}=T.useMemo(()=>UE(t,e),[t,e]);return{headerButtons:T.useMemo(()=>n,[n]),chatInputButtons:T.useMemo(()=>r,[r]),footerButtons:T.useMemo(()=>o,[o])}},Hf=()=>{const{settings:t}=ht(),{styles:e}=Bt(),{setSyncedMessages:n,syncedMessagesRef:r}=Mf(),{isLoadingChatHistory:o,setIsLoadingChatHistory:i,hasChatHistoryLoaded:a,setHasChatHistoryLoaded:l}=An(),{chatBodyRef:u}=un(),{dispatchRcbEvent:d}=io(),p=T.useCallback(async()=>{var h,A;const m=hl();if(!m||(h=t.event)!=null&&h.rcbLoadChatHistory&&(await d(je.LOAD_CHAT_HISTORY,{})).defaultPrevented)return;i(!0);const y=((A=u.current)==null?void 0:A.scrollHeight)??0;((w,b,P,M,D,C,j,R,z)=>{var V;if(Bm=!0,P!=null)try{const K=Bi(E.jsx(yE,{}),"SYSTEM"),q=D.current.slice(1);M([K,...q]);const Z=P.map(W=>{if(W.type==="object"){const oe=Mm(W.content,w,b);return{...W,content:oe}}return W});setTimeout(()=>{var W;const oe=D.current.slice(1);let ue=(W=w.chatHistory)!=null&&W.autoLoad?Bi(E.jsx(E.Fragment,{}),"SYSTEM"):Bi(E.jsx(vE,{}),"SYSTEM");M([...Z,ue,...oe]),z(!0)},500),setTimeout(()=>{if(!C.current)return;const{scrollHeight:W}=C.current,oe=W-j;C.current.scrollTop+=oe,R(!1)},510)}catch{_i.removeItem((V=w.chatHistory)==null?void 0:V.storageKey)}})(t,e,m,n,r,u,y,i,l)},[t,e,d,r,u,i,l]);return{isLoadingChatHistory:o,setIsLoadingChatHistory:i,hasChatHistoryLoaded:a,showChatHistory:p}},WE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{showChatHistory:i}=Hf(),[a,l]=T.useState(!1),u={color:(t=r.general)==null?void 0:t.primaryColor,borderColor:(e=r.general)==null?void 0:e.primaryColor,...o.chatHistoryButtonStyle,...o.chatHistoryButtonHoveredStyle};return E.jsx("div",{className:"rcb-view-history-container",children:E.jsx("div",{onMouseEnter:()=>{l(!0)},onMouseLeave:()=>{l(!1)},style:a?u:{...o.chatHistoryButtonStyle},onMouseDown:d=>{d.preventDefault(),i()},className:"rcb-view-history-button",role:"button",tabIndex:0,children:E.jsx("p",{children:(n=r.chatHistory)==null?void 0:n.viewChatHistoryButtonText})})})},YE=()=>{var t,e,n,r;const o=Gc(),{settings:i}=ht(),{replaceMessages:a}=hs(),{isBotTyping:l,isChatWindowOpen:u,setUnreadCount:d,setSyncedIsChatWindowOpen:p,setSyncedTextAreaDisabled:h,setSyncedAudioToggledOn:A,setSyncedVoiceToggledOn:m,setSyncedIsScrolling:y,syncedIsScrollingRef:w,syncedIsChatWindowOpenRef:b}=An(),{chatBodyRef:P}=un(),{viewportHeight:M,setViewportHeight:D,setViewportWidth:C,scrollToBottom:j}=Sr(),{setUpNotifications:R}=Lf(),{handleFirstInteraction:z}=(()=>{var Z;const{settings:W}=ht(),{hasInteractedPage:oe,setHasInteractedPage:ue,hasFlowStarted:te,setHasFlowStarted:pe}=An(),ee=T.useCallback(()=>{var G;if(ue(!0),!te&&((G=W.general)==null?void 0:G.flowStartTrigger)==="ON_PAGE_INTERACT"&&pe(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const N=new window.SpeechSynthesisUtterance;N.text="",N.onend=()=>{window.removeEventListener("click",ee),window.removeEventListener("keydown",ee),window.removeEventListener("touchstart",ee)},window.speechSynthesis.speak(N)},[te,(Z=W.general)==null?void 0:Z.flowStartTrigger]);return{hasInteractedPage:oe,handleFirstInteraction:ee}})(),{showChatHistory:V}=Hf(),K=T.useRef(0),q=T.useRef(!1);T.useEffect(()=>(window.addEventListener("click",z),window.addEventListener("keydown",z),window.addEventListener("touchstart",z),()=>{window.removeEventListener("click",z),window.removeEventListener("keydown",z),window.removeEventListener("touchstart",z)}),[]),T.useEffect(()=>{const Z=P.current;if(!Z)return;const W=()=>{q.current||(q.current=!0,requestAnimationFrame(()=>{var oe,ue;if(!Z)return;const{scrollTop:te,clientHeight:pe,scrollHeight:ee}=Z,G=te+pe<ee-(((oe=i.chatWindow)==null?void 0:oe.messagePromptOffset)??30);y(G),w.current=G,G||(te+pe>=ee-1&&(Z.scrollTop=ee-pe-1),(b.current||(ue=i.general)!=null&&ue.embedded)&&d(0)),q.current=!1}))};return Z.addEventListener("wheel",W,{passive:!0}),Z.addEventListener("touchmove",W,{passive:!0}),()=>{Z.removeEventListener("wheel",W),Z.removeEventListener("touchmove",W)}},[]),T.useEffect(()=>{var Z,W,oe;h((Z=i.chatInput)==null?void 0:Z.disabled),p((W=i.chatWindow)==null?void 0:W.defaultOpen),A((oe=i.audio)==null?void 0:oe.defaultToggledOn),setTimeout(()=>{var ue;m((ue=i.voice)==null?void 0:ue.defaultToggledOn)},1)},[]),T.useEffect(()=>{var Z;(Z=i.notification)!=null&&Z.disabled||R()},[(t=i.notification)==null?void 0:t.disabled]),T.useEffect(()=>{!w.current&&P!=null&&P.current&&j()},[l]),T.useEffect(()=>{var Z,W;if((Z=i.chatHistory)!=null&&Z.disabled)_i&&_i.removeItem(Vc);else if(Rf(i),hl().length>0){const oe=Bi(E.jsx(WE,{}),"SYSTEM");a([oe]),(W=i.chatHistory)!=null&&W.autoLoad&&V()}},[(e=i.chatHistory)==null?void 0:e.storageKey,(n=i.chatHistory)==null?void 0:n.maxEntries,(r=i.chatHistory)==null?void 0:r.disabled]),T.useEffect(()=>{var Z;o||(Z=i.general)!=null&&Z.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",W=>{if(!W.target)return;const{x:oe,y:ue,width:te,height:pe}=W.target.boundingRect;oe==0&&ue==0&&te==0&&pe==0?(setTimeout(()=>{var ee;D((ee=window.visualViewport)==null?void 0:ee.height)},101),setTimeout(()=>{var ee,G;M!=((ee=window.visualViewport)==null?void 0:ee.height)&&D((G=window.visualViewport)==null?void 0:G.height)},1001)):setTimeout(()=>{var ee;D(((ee=window.visualViewport)==null?void 0:ee.height)-pe)},101)}))},[o]),T.useEffect(()=>{var Z,W,oe,ue;if(o)return;u&&(D((Z=window.visualViewport)==null?void 0:Z.height),C((W=window.visualViewport)==null?void 0:W.width));const te=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),pe=()=>K.current=window.scrollY,ee=()=>{var N,de;D((N=window.visualViewport)==null?void 0:N.height),C((de=window.visualViewport)==null?void 0:de.width)},G=()=>{var N;window.removeEventListener("scroll",te),window.removeEventListener("scroll",pe),(N=window.visualViewport)==null||N.removeEventListener("resize",ee)};return u?(G(),document.body.style.position="fixed",window.addEventListener("scroll",te),(oe=window.visualViewport)==null||oe.addEventListener("resize",ee)):(document.body.style.position="static",G(),window.scrollTo({top:K.current,left:0,behavior:"auto"}),window.addEventListener("scroll",pe),(ue=window.visualViewport)==null||ue.removeEventListener("resize",ee)),G},[u,o])},qE="https://cdn.jsdelivr.net/gh/react-chatbotify/community-themes/themes",KE="2592000",jm="RCB_THEME_CACHE_DATA",zm=async(t,e)=>{const{id:n,version:r,baseUrl:o=qE,cacheDuration:i=KE}=e,a=r||await(async(P,M)=>{const D=`${M}/${P}/meta.json`;try{const C=await fetch(D);return C.ok?(await C.json()).version:(console.error(`Failed to fetch meta.json from ${D}`),null)}catch(C){return console.error(`Failed to fetch meta.json from ${D}`,C),null}})(n,o);if(!a)return console.error(`Unable to find version for theme: ${n}`),{settings:{},inlineStyles:{},cssStylesText:""};const l=((P,M,D)=>{const C=localStorage.getItem(`${jm}_${P}_${M}`);if(!C)return null;try{const j=JSON.parse(C),R=new Date().getTime(),z=Math.floor(R/1e3);return j.cacheDate+D>=z?j:null}catch(j){return console.error(`Unable to fetch cache for ${P}`,j),null}})(n,a,i);if(l){const P=Qm(t,l.cssStylesText);return{settings:l.settings,inlineStyles:l.inlineStyles,cssStylesText:P}}const u=`${o}/${n}/${a}/styles.css`,d=`${o}/${n}/${a}/settings.json`,p=`${o}/${n}/${a}/styles.json`;let h="";const A=await fetch(u);A.ok?h=await A.text():console.info(`Could not fetch styles.css from ${u}`);const m=await fetch(d);let y={};m.ok?y=await m.json():console.info(`Could not fetch settings.json from ${d}`);const w=await fetch(p);let b={};return w.ok?b=await w.json():console.info(`Could not fetch styles.json from ${p}`),((P,M,D,C,j)=>{const R=new Date().getTime(),z={settings:D,inlineStyles:C,cssStylesText:j,cacheDate:Math.floor(R/1e3)};localStorage.setItem(`${jm}_${P}_${M}`,JSON.stringify(z))})(n,a,y,b,h),{settings:y,inlineStyles:b,cssStylesText:Qm(t,h)}},Qm=(t,e)=>e.split(new RegExp("(?<=})")).map(n=>{const r=n.trim();return r.startsWith("@import")||r.startsWith("@keyframes")||r.startsWith("@media")?r:r?`#${t} ${r}`:""}).join(`
22
+ ${(e=l.general)==null?void 0:e.primaryColor})`,...u.chatButtonStyle},w={transform:"scale(1.05)",...y,...u.chatButtonHoveredStyle},b={backgroundImage:`url(${(n=l.chatButton)==null?void 0:n.icon})`,fill:"#fff",width:75,height:75,...u.chatIconStyle};return E.jsx(E.Fragment,{children:!((r=l.general)!=null&&r.embedded)&&E.jsxs("div",{"aria-label":((o=l.ariaLabel)==null?void 0:o.chatButton)??"open chat",role:"button",style:A?w:y,className:"rcb-toggle-button "+(p?"rcb-button-hide":"rcb-button-show"),onMouseEnter:()=>{m(!0)},onMouseLeave:()=>{m(!1)},onClick:()=>h(!0),children:[(()=>{var P;const M=(P=l.chatButton)==null?void 0:P.icon;return M&&typeof M!="string"?M&&E.jsx("span",{className:"rcb-toggle-icon",children:E.jsx(M,{style:b})}):E.jsx("span",{className:"rcb-toggle-icon",style:b})})(),!((i=l.notification)!=null&&i.disabled)&&((a=l.notification)==null?void 0:a.showCount)&&E.jsx("span",{style:{...u.notificationBadgeStyle},className:"rcb-badge",children:d})]})})},ME=()=>{var t,e,n,r,o,i;const a=Gc(),{settings:l}=ht(),{styles:u}=Bt(),{chatBodyRef:d}=un(),{isChatWindowOpen:p,toggleChatWindow:h}=Sr(),[A,m]=T.useState(!1),[y,w]=T.useState(!1),[b,P]=T.useState(0);T.useEffect(()=>{var C,j,R;const z=(C=l.tooltip)==null?void 0:C.mode;if(z==="ALWAYS")if(a){let V;V=p?(((j=d.current)==null?void 0:j.offsetWidth)??375)-(typeof((R=u.chatButtonStyle)==null?void 0:R.width)=="number"?u.chatButtonStyle.width:75):0,P(V),m(!0)}else m(!p);else z==="NEVER"?m(!1):z==="START"?y?m(!1):(w(!0),m(!0)):z==="CLOSE"&&m(!p)},[p,a,y,(t=u.chatButtonStyle)==null?void 0:t.width,(e=l.tooltip)==null?void 0:e.mode]);const M={transform:`translateX(-${b}px)`,right:(((n=u.chatButtonStyle)==null?void 0:n.width)??75)+40,bottom:30,backgroundColor:(r=l.general)==null?void 0:r.secondaryColor,color:"#fff",...u.tooltipStyle},D={borderColor:`transparent transparent transparent ${M.backgroundColor}`};return E.jsx(E.Fragment,{children:!((o=l.general)!=null&&o.embedded)&&E.jsxs("div",{"data-testid":"chat-tooltip",style:M,className:"rcb-chat-tooltip "+(A?"rcb-tooltip-show":"rcb-tooltip-hide"),onClick:()=>h(!0),children:[E.jsx("span",{children:(i=l.tooltip)==null?void 0:i.text}),E.jsx("span",{className:"rcb-chat-tooltip-tail",style:D})]})})},OE=({id:t,content:e,timeout:n})=>{var r,o;const{settings:i}=ht(),{styles:a}=Bt(),[l]=T.useState({toastPromptStyle:{...a.toastPromptStyle},toastPromptHoveredStyle:{...a.toastPromptHoveredStyle}}),{dismissToast:u}=ra(),[d,p]=T.useState(!1),h={color:(r=i.general)==null?void 0:r.primaryColor,borderColor:(o=i.general)==null?void 0:o.primaryColor,...l.toastPromptHoveredStyle};return T.useEffect(()=>{if(n){const A=setTimeout(()=>{u(t)},n);return()=>clearTimeout(A)}},[t,u,n]),typeof e=="string"?E.jsx("div",{onMouseEnter:()=>{p(!0)},onMouseLeave:()=>{p(!1)},style:d?h:l.toastPromptStyle,onMouseDown:async A=>{var m;(m=i.toast)!=null&&m.dismissOnClick&&(A.preventDefault(),await u(t))},className:"rcb-toast-prompt",children:e}):E.jsx(E.Fragment,{children:e})},RE=()=>{var t,e,n,r,o,i,a,l,u,d,p,h;const{styles:A}=Bt(),{toasts:m}=Lm(),y={bottom:`calc(${typeof((t=A.footerStyle)==null?void 0:t.height)=="number"?`${(e=A.footerStyle)==null?void 0:e.height}px`:((n=A.footerStyle)==null?void 0:n.height)??"50px"} + ${typeof((r=A.chatInputContainerStyle)==null?void 0:r.height)=="number"?`${(o=A.chatInputContainerStyle)==null?void 0:o.height}px`:((i=A.chatInputContainerStyle)==null?void 0:i.height)??"70px"} + 20px)`,width:300,minWidth:`calc(${typeof((a=A.chatWindowStyle)==null?void 0:a.width)=="number"?`${(l=A.chatWindowStyle)==null?void 0:l.width}px`:((u=A.chatWindowStyle)==null?void 0:u.width)??"375px"} / 2)`,maxWidth:`calc(${typeof((d=A.chatWindowStyle)==null?void 0:d.width)=="number"?`${(p=A.chatWindowStyle)==null?void 0:p.width}px`:((h=A.chatWindowStyle)==null?void 0:h.width)??"375px"} - 50px)`,...A.toastPromptContainerStyle};return E.jsx("div",{className:"rcb-toast-prompt-container",style:y,children:m.map(w=>E.jsx(OE,{id:w.id,content:w.content,timeout:w.timeout},w.id))})},Nm=({file:t,fileType:e,fileUrl:n})=>{var r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),u={backgroundColor:(r=a.general)==null?void 0:r.primaryColor,maxWidth:(o=a.userBubble)!=null&&o.showAvatar?"65%":"70%",...l.mediaDisplayContainerStyle};return E.jsx(E.Fragment,{children:n?E.jsxs(E.Fragment,{children:[e==="image"&&n&&E.jsx("div",{style:u,className:"rcb-media-display-image-container rcb-media-entry","data-testid":"media-display-image-container",children:E.jsx("img",{src:n,alt:"Image Display",className:"rcb-media-display-image"})}),e==="video"&&n&&E.jsx("div",{style:u,className:"rcb-media-display-video-container rcb-media-entry","data-testid":"media-display-video-container",children:E.jsxs("video",{controls:!0,className:"rcb-media-display-video",children:[E.jsx("source",{src:n,type:t.type}),"Your browser does not support the video tag."]})}),e==="audio"&&n&&E.jsxs("audio",{"data-testid":"media-display-audio-container",style:{maxWidth:(i=a.userBubble)!=null&&i.showAvatar?"65%":"70%"},controls:!0,className:"rcb-media-display-audio rcb-media-entry",children:[E.jsx("source",{src:n,type:t.type}),"Your browser does not support the audio tag."]})]}):E.jsx(E.Fragment,{})})},Fm=async t=>{if(!t)return{fileType:null,fileUrl:null};const e=t.type.split("/")[0];if(!["image","video","audio"].includes(e))return{fileType:null,fileUrl:null};try{return{fileType:e,fileUrl:await new Promise((n,r)=>{const o=new FileReader;o.onload=()=>n(o.result),o.onerror=()=>r(new Error("File reading failed")),o.readAsDataURL(t)})}}catch(n){return console.error(n),{fileType:null,fileUrl:null}}},LE=()=>{var t,e,n,r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),{injectMessage:u,simulateStreamMessage:d,streamMessage:p,removeMessage:h,endStreamMessage:A}=hs(),{getCurrPath:m,getPrevPath:y,goToPath:w,blockAllowsAttachment:b}=Kc(),{flowRef:P,inputRef:M}=un(),D=P.current,{showToast:C,dismissToast:j}=ra(),{dispatchRcbEvent:R}=io(),{toggleChatWindow:z}=Sr(),{setTextAreaValue:V}=As(),{handleSubmitText:K}=oa(),q={cursor:`url("${(t=a.general)==null?void 0:t.actionDisabledIcon}"), auto`,...l.fileAttachmentButtonStyle,...l.fileAttachmentButtonDisabledStyle},Z={backgroundImage:`url(${(e=a.fileAttachment)==null?void 0:e.icon})`,fill:"#a6a6a6",...l.fileAttachmentIconStyle},W={backgroundImage:`url(${(n=a.fileAttachment)==null?void 0:n.icon})`,fill:"#a6a6a6",...l.fileAttachmentIconStyle,...l.fileAttachmentIconDisabledStyle};return E.jsxs("label",{"aria-label":((r=a.ariaLabel)==null?void 0:r.fileAttachmentButton)??"upload file",role:"button",className:b?"rcb-attach-button-enabled":"rcb-attach-button-disabled",style:b?{...l.fileAttachmentButtonStyle}:q,children:[E.jsx("input",{className:"rcb-attach-input",role:"file",type:"file",onChange:async oe=>{var ue,te,pe,ee;const G=oe.target.files;if(!G)return;const N=Array.from(G);if(oe.target.value="",(ue=a.event)!=null&&ue.rcbUserUploadFile&&(await R(je.USER_UPLOAD_FILE,{files:N})).defaultPrevented)return;const de=m();if(!de)return;const I=D[de];if(!I)return;const J=I.file;if(J!=null){const ve=[];for(let me=0;me<N.length;me++){if(ve.push(N[me].name),(te=a.fileAttachment)==null||!te.showMediaDisplay)continue;const we=await Fm(N[me]);!we.fileType||!we.fileUrl||await u(E.jsx(Nm,{file:N[me],fileType:we.fileType,fileUrl:we.fileUrl}),"USER")}await K("📄 "+ve.join(", "),(pe=a.fileAttachment)==null?void 0:pe.sendFileName),await J({userInput:(ee=M.current)==null?void 0:ee.value,prevPath:y(),currPath:m(),goToPath:w,setTextAreaValue:V,injectMessage:u,simulateStreamMessage:d,streamMessage:p,removeMessage:h,endStreamMessage:A,toggleChatWindow:z,showToast:C,dismissToast:j,files:N})}},multiple:(o=a.fileAttachment)==null?void 0:o.multiple,accept:(i=a.fileAttachment)==null?void 0:i.accept,disabled:!b}),(()=>{var oe,ue;const te=b?(oe=a.fileAttachment)==null?void 0:oe.icon:(ue=a.fileAttachment)==null?void 0:ue.iconDisabled;return te&&typeof te!="string"?te&&E.jsx("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",children:E.jsx(te,{style:b?Z:W})}):E.jsx("span",{className:b?"rcb-attach-icon-enabled":"rcb-attach-icon-disabled",style:b?Z:W})})()]})},NE=()=>{var t,e,n,r,o,i;const{settings:a}=ht(),{styles:l}=Bt(),{syncedTextAreaDisabledRef:u}=An(),{inputRef:d}=un(),{textAreaDisabled:p,setTextAreaValue:h}=As(),A=T.useRef(null),m=T.useRef(null),[y,w]=T.useState(!1),b={cursor:`url("${(t=a.general)==null?void 0:t.actionDisabledIcon}"), auto`,...l.emojiButtonStyle,...l.emojiButtonDisabledStyle},P={backgroundImage:`url(${(e=a.emoji)==null?void 0:e.icon})`,fill:"#a6a6a6",...l.emojiIconStyle},M={backgroundImage:`url(${(n=a.emoji)==null?void 0:n.icon})`,fill:"#a6a6a6",...l.emojiIconStyle,...l.emojiIconDisabledStyle};return T.useEffect(()=>{const D=j=>{const R=j.composedPath();A.current&&!R.includes(A.current)&&m.current&&!R.includes(m.current)&&w(!1)},C=()=>{(()=>{if(A.current&&m.current){const j=m.current.getBoundingClientRect(),R=A.current.offsetHeight,z=j.top-R-8;A.current.style.left=`${j.left}px`,A.current.style.top=`${z}px`}})()};return document.addEventListener("mousedown",D),window.addEventListener("resize",C),()=>{document.removeEventListener("mousedown",D),window.removeEventListener("resize",C)}},[]),E.jsxs(E.Fragment,{children:[E.jsx("div",{"aria-label":((r=a.ariaLabel)==null?void 0:r.emojiButton)??"emoji picker",role:"button",ref:m,className:p?"rcb-emoji-button-disabled":"rcb-emoji-button-enabled",style:p?b:{...l.emojiButtonStyle},onMouseDown:D=>{D.preventDefault(),u.current?w(!1):w(C=>!C)},children:(()=>{var D,C;const j=p?(D=a.emoji)==null?void 0:D.iconDisabled:(C=a.emoji)==null?void 0:C.icon;return j&&typeof j!="string"?j&&E.jsx("span",{className:p?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",children:E.jsx(j,{style:p?M:P})}):E.jsx("span",{className:p?"rcb-emoji-icon-disabled":"rcb-emoji-icon-enabled",style:p?M:P})})()}),y&&E.jsx("div",{className:"rcb-emoji-button-popup",ref:A,children:(i=(o=a.emoji)==null?void 0:o.list)==null?void 0:i.map((D,C)=>E.jsx("span",{className:"rcb-emoji",onMouseDown:j=>((R,z)=>{R.preventDefault(),d.current&&(h(d.current.value+z),setTimeout(()=>{const V=d.current;if(V){V.focus();const K=V.value.length;V.setSelectionRange(K,K)}},50)),w(!1)})(j,D),children:D},C))})]})},FE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{audioToggledOn:i,toggleAudio:a}=Om(),l={backgroundImage:`url(${(t=r.audio)==null?void 0:t.icon})`,fill:"#fcec3d",...o.audioIconStyle},u={backgroundImage:`url(${(e=r.audio)==null?void 0:e.iconDisabled})`,fill:"#e8eaed",...o.audioIconStyle,...o.audioIconDisabledStyle};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.audioButton)??"toggle audio",role:"button",onMouseDown:async d=>{d.preventDefault(),await a()},style:i?{...o.audioButtonStyle}:{...o.audioButtonStyle,...o.audioButtonDisabledStyle},children:(()=>{var d,p;const h=i?(d=r.audio)==null?void 0:d.icon:(p=r.audio)==null?void 0:p.iconDisabled;return h&&typeof h!="string"?h&&E.jsx("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",children:E.jsx(h,{style:i?l:u,"data-testid":"rcb-audio-icon-svg"})}):E.jsx("span",{className:"rcb-audio-icon","data-testid":"rcb-audio-icon",style:i?l:u})})()})},jE=()=>{var t,e;const{settings:n}=ht(),{styles:r}=Bt(),{toggleChatWindow:o}=Sr(),i={backgroundImage:`url(${(t=n.header)==null?void 0:t.closeChatIcon})`,fill:"#e8eaed",stroke:"#e8eaed",...r.closeChatIconStyle};return E.jsx("div",{"aria-label":((e=n.ariaLabel)==null?void 0:e.closeChatButton)??"close chat",role:"button",onMouseDown:a=>{a.stopPropagation(),o(!1)},style:{...r.closeChatButtonStyle},children:(()=>{var a;const l=(a=n.header)==null?void 0:a.closeChatIcon;return l&&typeof l!="string"?l&&E.jsx("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",children:E.jsx(l,{style:i})}):E.jsx("span",{className:"rcb-close-chat-icon","data-testid":"rcb-close-chat-icon",style:i})})()})},zE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{notificationsToggledOn:i,toggleNotifications:a}=(()=>{const{notificationsToggledOn:d,toggleNotifications:p,playNotificationSound:h}=Lf();return{notificationsToggledOn:d,toggleNotifications:p,playNotificationSound:h}})(),l={backgroundImage:`url(${(t=r.notification)==null?void 0:t.icon})`,fill:"#fcec3d",...o.notificationIconStyle},u={backgroundImage:`url(${(e=r.notification)==null?void 0:e.iconDisabled})`,fill:"#e8eaed",...o.notificationIconStyle,...o.notificationIconDisabledStyle};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.notificationButton)??"toggle notifications",role:"button",onMouseDown:async d=>{d.preventDefault(),await a()},style:i?{...o.notificationButtonStyle}:{...o.notificationButtonStyle,...o.notificationButtonDisabledStyle},children:(()=>{var d,p;const h=i?(d=r.notification)==null?void 0:d.icon:(p=r.notification)==null?void 0:p.iconDisabled;return h&&typeof h!="string"?h&&E.jsx("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",children:E.jsx(h,{style:i?l:u,"data-testid":"rcb-notification-icon-svg"})}):E.jsx("span",{className:"rcb-notification-icon","data-testid":"rcb-notification-icon",style:i?l:u})})()})},QE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{injectMessage:i}=hs(),{inputRef:a}=un(),{voiceToggledOn:l,toggleVoice:u}=Qf(),{setInputLength:d,setTextAreaValue:p,textAreaDisabled:h}=As(),{handleSubmitText:A}=oa(),m=T.useRef([]),[y,w]=T.useState(!1);T.useEffect(()=>{var C;(C=r.voice)!=null&&C.sendAsAudio?(D(),m.current=[]):A()},[y]),T.useEffect(()=>{l?((C,j,R,z,V,K,q)=>{var Z;(Z=C.voice)!=null&&Z.sendAsAudio?DE(R,K):PE(C,j,R,z,V,q)})(r,u,M,p,d,m,a):jf()},[l]);const b={backgroundImage:`url(${(t=r.voice)==null?void 0:t.icon})`,fill:"#9aa0a6",...o.voiceIconStyle},P={backgroundImage:`url(${(e=r.voice)==null?void 0:e.iconDisabled})`,fill:"#9aa0a6",...o.voiceIconStyle,...o.voiceIconDisabledStyle},M=()=>{w(C=>!C)},D=async()=>{const C=new Blob(m.current,{type:"audio/wav"}),j=new File([C],"voice-input.wav",{type:"audio/wav"}),R=await Fm(j);!R.fileType||!R.fileUrl||await i(E.jsx(Nm,{file:j,fileType:R.fileType,fileUrl:R.fileUrl}),"USER")};return E.jsx("div",{"aria-label":((n=r.ariaLabel)==null?void 0:n.voiceButton)??"toggle voice",role:"button",onMouseDown:async C=>{C.preventDefault(),!h&&await u()},style:l&&!h?{...o.voiceButtonStyle}:{...o.voiceButtonStyle,...o.voiceButtonDisabledStyle},className:l&&!h?"rcb-voice-button-enabled":"rcb-voice-button-disabled",children:(()=>{var C,j;const R=l?(C=r.voice)==null?void 0:C.icon:(j=r.voice)==null?void 0:j.iconDisabled;return R&&typeof R!="string"?R&&E.jsx("span",{className:"rcb-voice-icon "+(l&&!h?"on":""),children:E.jsx(R,{style:l&&!h?b:P})}):E.jsx("span",{className:"rcb-voice-icon"+(l&&!h?"-on":""),"data-testid":"rcb-voice-icon",style:l&&!h?b:P})})()})},HE=()=>{var t,e,n,r,o,i,a,l;const{settings:u}=ht(),{styles:d}=Bt(),{textAreaDisabled:p}=An(),[h,A]=T.useState(!1),{handleSubmitText:m}=oa(),y={backgroundColor:(t=u.general)==null?void 0:t.primaryColor,...d.sendButtonStyle},w={cursor:`url("${(e=u.general)==null?void 0:e.actionDisabledIcon}"), auto`,backgroundColor:(n=u.general)==null?void 0:n.primaryColor,...d.sendButtonStyle,...d.sendButtonDisabledStyle},b={backgroundColor:(r=u.general)==null?void 0:r.secondaryColor,...d.sendButtonStyle,...d.sendButtonHoveredStyle},P={backgroundImage:`url(${(o=u.chatInput)==null?void 0:o.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle},M={backgroundImage:`url(${(i=u.chatInput)==null?void 0:i.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle,...d.sendIconDisabledStyle},D={backgroundImage:`url(${(a=u.chatInput)==null?void 0:a.sendButtonIcon})`,fill:"#fff",...d.sendIconStyle,...d.sendIconHoveredStyle};return E.jsx("div",{"aria-label":((l=u.ariaLabel)==null?void 0:l.sendButton)??"send message",role:"button",onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},onMouseDown:async C=>{C?.preventDefault(),!p&&await m()},style:p?w:h?b:y,className:"rcb-send-button",children:(()=>{var C;const j=(C=u.chatInput)==null?void 0:C.sendButtonIcon;return j&&typeof j!="string"?j&&E.jsx("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",children:E.jsx(j,{style:p?M:h?D:P})}):E.jsx("span",{className:"rcb-send-icon","data-testid":"rcb-send-icon",style:p?M:h?D:P})})()})},UE=(t,e)=>{var n,r,o,i,a,l,u,d,p;const h={[Jt.AUDIO_BUTTON]:(n=t.audio)==null?void 0:n.disabled,[Jt.CLOSE_CHAT_BUTTON]:(r=t.general)==null?void 0:r.embedded,[Jt.EMOJI_PICKER_BUTTON]:(o=t.emoji)==null?void 0:o.disabled,[Jt.FILE_ATTACHMENT_BUTTON]:(i=t.fileAttachment)==null?void 0:i.disabled,[Jt.NOTIFICATION_BUTTON]:(a=t.notification)==null?void 0:a.disabled,[Jt.SEND_MESSAGE_BUTTON]:!1,[Jt.VOICE_MESSAGE_BUTTON]:(l=t.voice)==null?void 0:l.disabled},A={},m=y=>y?y.map(w=>{if(typeof w=="string"){if((b=>Object.values(Jt).includes(b))(w)&&!h[w]){if(A[w])return A[w];const b=e[w];if(typeof b=="function"){const P=b();return A[w]=P,P}return null}return null}return w}).filter(w=>w!==null):[];return{header:m((u=t.header)==null?void 0:u.buttons),chatInput:m((d=t.chatInput)==null?void 0:d.buttons),footer:m((p=t.footer)==null?void 0:p.buttons)}},VE=()=>{const{settings:t}=ht(),e=T.useMemo(()=>({[Jt.CLOSE_CHAT_BUTTON]:()=>E.jsx(jE,{}),[Jt.AUDIO_BUTTON]:()=>E.jsx(FE,{}),[Jt.NOTIFICATION_BUTTON]:()=>E.jsx(zE,{}),[Jt.EMOJI_PICKER_BUTTON]:()=>E.jsx(NE,{}),[Jt.FILE_ATTACHMENT_BUTTON]:()=>E.jsx(LE,{}),[Jt.SEND_MESSAGE_BUTTON]:()=>E.jsx(HE,{}),[Jt.VOICE_MESSAGE_BUTTON]:()=>E.jsx(QE,{})}),[]),{header:n,chatInput:r,footer:o}=T.useMemo(()=>UE(t,e),[t,e]);return{headerButtons:T.useMemo(()=>n,[n]),chatInputButtons:T.useMemo(()=>r,[r]),footerButtons:T.useMemo(()=>o,[o])}},Hf=()=>{const{settings:t}=ht(),{styles:e}=Bt(),{setSyncedMessages:n,syncedMessagesRef:r}=Mf(),{isLoadingChatHistory:o,setIsLoadingChatHistory:i,hasChatHistoryLoaded:a,setHasChatHistoryLoaded:l}=An(),{chatBodyRef:u}=un(),{dispatchRcbEvent:d}=io(),p=T.useCallback(async()=>{var h,A;const m=hl();if(!m||(h=t.event)!=null&&h.rcbLoadChatHistory&&(await d(je.LOAD_CHAT_HISTORY,{})).defaultPrevented)return;i(!0);const y=((A=u.current)==null?void 0:A.scrollHeight)??0;((w,b,P,M,D,C,j,R,z)=>{var V;if(Bm=!0,P!=null)try{const K=Bi(E.jsx(yE,{}),"SYSTEM"),q=D.current.slice(1);M([K,...q]);const Z=P.map(W=>{if(W.type==="object"){const oe=Mm(W.content,w,b);return{...W,content:oe}}return W});setTimeout(()=>{var W;const oe=D.current.slice(1);let ue=(W=w.chatHistory)!=null&&W.autoLoad?Bi(E.jsx(E.Fragment,{}),"SYSTEM"):Bi(E.jsx(vE,{}),"SYSTEM");M([...Z,ue,...oe]),z(!0)},500),setTimeout(()=>{if(!C.current)return;const{scrollHeight:W}=C.current,oe=W-j;C.current.scrollTop+=oe,R(!1)},510)}catch{_i.removeItem((V=w.chatHistory)==null?void 0:V.storageKey)}})(t,e,m,n,r,u,y,i,l)},[t,e,d,r,u,i,l]);return{isLoadingChatHistory:o,setIsLoadingChatHistory:i,hasChatHistoryLoaded:a,showChatHistory:p}},WE=()=>{var t,e,n;const{settings:r}=ht(),{styles:o}=Bt(),{showChatHistory:i}=Hf(),[a,l]=T.useState(!1),u={color:(t=r.general)==null?void 0:t.primaryColor,borderColor:(e=r.general)==null?void 0:e.primaryColor,...o.chatHistoryButtonStyle,...o.chatHistoryButtonHoveredStyle};return E.jsx("div",{className:"rcb-view-history-container",children:E.jsx("div",{onMouseEnter:()=>{l(!0)},onMouseLeave:()=>{l(!1)},style:a?u:{...o.chatHistoryButtonStyle},onMouseDown:d=>{d.preventDefault(),i()},className:"rcb-view-history-button",role:"button",tabIndex:0,children:E.jsx("p",{children:(n=r.chatHistory)==null?void 0:n.viewChatHistoryButtonText})})})},YE=()=>{var t,e,n,r;const o=Gc(),{settings:i}=ht(),{replaceMessages:a}=hs(),{isBotTyping:l,isChatWindowOpen:u,setUnreadCount:d,setSyncedIsChatWindowOpen:p,setSyncedTextAreaDisabled:h,setSyncedAudioToggledOn:A,setSyncedVoiceToggledOn:m,setSyncedIsScrolling:y,syncedIsScrollingRef:w,syncedIsChatWindowOpenRef:b}=An(),{chatBodyRef:P}=un(),{viewportHeight:M,setViewportHeight:D,setViewportWidth:C,scrollToBottom:j}=Sr(),{setUpNotifications:R}=Lf(),{handleFirstInteraction:z}=(()=>{var Z;const{settings:W}=ht(),{hasInteractedPage:oe,setHasInteractedPage:ue,hasFlowStarted:te,setHasFlowStarted:pe}=An(),ee=T.useCallback(()=>{var G;if(ue(!0),!te&&((G=W.general)==null?void 0:G.flowStartTrigger)==="ON_PAGE_INTERACT"&&pe(!0),!window.SpeechSynthesisUtterance)return void console.info("Speech Synthesis API is not supported in this environment.");const N=new window.SpeechSynthesisUtterance;N.text="",N.onend=()=>{window.removeEventListener("click",ee),window.removeEventListener("keydown",ee),window.removeEventListener("touchstart",ee)},window.speechSynthesis.speak(N)},[te,(Z=W.general)==null?void 0:Z.flowStartTrigger]);return{hasInteractedPage:oe,handleFirstInteraction:ee}})(),{showChatHistory:V}=Hf(),K=T.useRef(0),q=T.useRef(!1);T.useEffect(()=>(window.addEventListener("click",z),window.addEventListener("keydown",z),window.addEventListener("touchstart",z),()=>{window.removeEventListener("click",z),window.removeEventListener("keydown",z),window.removeEventListener("touchstart",z)}),[]),T.useEffect(()=>{const Z=P.current;if(!Z)return;const W=()=>{q.current||(q.current=!0,requestAnimationFrame(()=>{var oe,ue;if(!Z)return;const{scrollTop:te,clientHeight:pe,scrollHeight:ee}=Z,G=te+pe<ee-(((oe=i.chatWindow)==null?void 0:oe.messagePromptOffset)??30);y(G),w.current=G,G||(te+pe>=ee-1&&(Z.scrollTop=ee-pe-1),(b.current||(ue=i.general)!=null&&ue.embedded)&&d(0)),q.current=!1}))};return Z.addEventListener("wheel",W,{passive:!0}),Z.addEventListener("touchmove",W,{passive:!0}),()=>{Z.removeEventListener("wheel",W),Z.removeEventListener("touchmove",W)}},[]),T.useEffect(()=>{var Z,W,oe;h((Z=i.chatInput)==null?void 0:Z.disabled),p((W=i.chatWindow)==null?void 0:W.defaultOpen),A((oe=i.audio)==null?void 0:oe.defaultToggledOn),setTimeout(()=>{var ue;m((ue=i.voice)==null?void 0:ue.defaultToggledOn)},1)},[]),T.useEffect(()=>{var Z;(Z=i.notification)!=null&&Z.disabled||R()},[(t=i.notification)==null?void 0:t.disabled]),T.useEffect(()=>{!w.current&&P!=null&&P.current&&j()},[l]),T.useEffect(()=>{var Z,W;if((Z=i.chatHistory)!=null&&Z.disabled)_i&&_i.removeItem(Vc);else if(Rf(i),hl().length>0){const oe=Bi(E.jsx(WE,{}),"SYSTEM");a([oe]),(W=i.chatHistory)!=null&&W.autoLoad&&V()}},[(e=i.chatHistory)==null?void 0:e.storageKey,(n=i.chatHistory)==null?void 0:n.maxEntries,(r=i.chatHistory)==null?void 0:r.disabled]),T.useEffect(()=>{var Z;o||(Z=i.general)!=null&&Z.embedded||!navigator.virtualKeyboard||(navigator.virtualKeyboard.overlaysContent=!0,navigator.virtualKeyboard.addEventListener("geometrychange",W=>{if(!W.target)return;const{x:oe,y:ue,width:te,height:pe}=W.target.boundingRect;oe==0&&ue==0&&te==0&&pe==0?(setTimeout(()=>{var ee;D((ee=window.visualViewport)==null?void 0:ee.height)},101),setTimeout(()=>{var ee,G;M!=((ee=window.visualViewport)==null?void 0:ee.height)&&D((G=window.visualViewport)==null?void 0:G.height)},1001)):setTimeout(()=>{var ee;D(((ee=window.visualViewport)==null?void 0:ee.height)-pe)},101)}))},[o]),T.useEffect(()=>{var Z,W,oe,ue;if(o)return;u&&(D((Z=window.visualViewport)==null?void 0:Z.height),C((W=window.visualViewport)==null?void 0:W.width));const te=()=>window.scrollTo({top:0,left:0,behavior:"auto"}),pe=()=>K.current=window.scrollY,ee=()=>{var N,de;D((N=window.visualViewport)==null?void 0:N.height),C((de=window.visualViewport)==null?void 0:de.width)},G=()=>{var N;window.removeEventListener("scroll",te),window.removeEventListener("scroll",pe),(N=window.visualViewport)==null||N.removeEventListener("resize",ee)};return u?(G(),document.body.style.position="fixed",window.addEventListener("scroll",te),(oe=window.visualViewport)==null||oe.addEventListener("resize",ee)):(document.body.style.position="static",G(),window.scrollTo({top:K.current,left:0,behavior:"auto"}),window.addEventListener("scroll",pe),(ue=window.visualViewport)==null||ue.removeEventListener("resize",ee)),G},[u,o])},qE="https://cdn.jsdelivr.net/gh/react-chatbotify/community-themes/themes",KE="2592000",jm="RCB_THEME_CACHE_DATA",zm=async(t,e)=>{const{id:n,version:r,baseUrl:o=qE,cacheDuration:i=KE}=e,a=r||await(async(P,M)=>{const D=`${M}/${P}/meta.json`;try{const C=await fetch(D);return C.ok?(await C.json()).version:(console.error(`Failed to fetch meta.json from ${D}`),null)}catch(C){return console.error(`Failed to fetch meta.json from ${D}`,C),null}})(n,o);if(!a)return console.error(`Unable to find version for theme: ${n}`),{settings:{},inlineStyles:{},cssStylesText:""};const l=((P,M,D)=>{const C=localStorage.getItem(`${jm}_${P}_${M}`);if(!C)return null;try{const j=JSON.parse(C),R=new Date().getTime(),z=Math.floor(R/1e3);return j.cacheDate+D>=z?j:null}catch(j){return console.error(`Unable to fetch cache for ${P}`,j),null}})(n,a,i);if(l){const P=Qm(t,l.cssStylesText);return{settings:l.settings,inlineStyles:l.inlineStyles,cssStylesText:P}}const u=`${o}/${n}/${a}/styles.css`,d=`${o}/${n}/${a}/settings.json`,p=`${o}/${n}/${a}/styles.json`;let h="";const A=await fetch(u);A.ok?h=await A.text():console.info(`Could not fetch styles.css from ${u}`);const m=await fetch(d);let y={};m.ok?y=await m.json():console.info(`Could not fetch settings.json from ${d}`);const w=await fetch(p);let b={};return w.ok?b=await w.json():console.info(`Could not fetch styles.json from ${p}`),((P,M,D,C,j)=>{const R=new Date().getTime(),z={settings:D,inlineStyles:C,cssStylesText:j,cacheDate:Math.floor(R/1e3)};localStorage.setItem(`${jm}_${P}_${M}`,JSON.stringify(z))})(n,a,y,b,h),{settings:y,inlineStyles:b,cssStylesText:Qm(t,h)}},Qm=(t,e)=>e.split(new RegExp("(?<=})")).map(n=>{const r=n.trim();return r.startsWith("@import")||r.startsWith("@keyframes")||r.startsWith("@media")?r:r?`#${t} ${r}`:""}).join(`
23
23
  `),GE=async(t,e,n,r)=>{var o,i;let a=Xc(bm),l=Xc(wm),u="";if(r!=null)if(Array.isArray(r))for(const d of r){const p=await zm(t,d);a=Po(p.settings,a),l=Po(p.inlineStyles,l),u+=p.cssStylesText}else{const d=await zm(t,r);a=Po(d.settings,a),l=Po(d.inlineStyles,l),u+=d.cssStylesText}return e!=null&&(a=Po(e,a)),n!=null&&(l=Po(n,l)),((o=a.chatInput)==null?void 0:o.botDelay)!=null&&((i=a.chatInput)==null?void 0:i.botDelay)<500&&(a.chatInput.botDelay=500),{settings:a,inlineStyles:l,cssStylesText:u}},Po=(t,e)=>{const n=[{source:t,target:e}];for(;n.length;){const r=n.pop();if(r==null)continue;const{source:o,target:i}=r;for(const a of Object.keys(o)){const l=a;if(T.isValidElement(o[l]))i[l]=o[l];else if(typeof o[l]!="object"||o[l]===null||Array.isArray(o[l]))try{i[l]=o[l]}catch{}else(typeof i[l]!="object"||i[l]===null)&&(i[l]={}),n.push({source:o[l],target:i[l]})}}return e},Xc=t=>{if(t===null||typeof t!="object")return t;const e=Array.isArray(t)?[]:{},n=[{source:t,target:e}],r=new WeakMap;for(r.set(t,e);n.length;){const o=n.pop();if(o==null)continue;const{source:i,target:a}=o;for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const u=i[l];if(u&&typeof u=="object")if(r.has(u))a[l]=r.get(u);else{const d=Array.isArray(u)?[]:{};r.set(u,d),a[l]=d,n.push({source:u,target:d})}else a[l]=u}}return e},Hm=()=>{const{settings:t,setSyncedSettings:e,syncedSettingsRef:n}=ht(),r=T.useCallback(i=>{!i||Object.keys(i).length===0||e(Xc(Po(i,t)))},[t]),o=T.useCallback(i=>{const a=typeof i=="function"?i(n.current):i;e(a)},[n]);return{settings:t,replaceSettings:o,updateSettings:r}},Um=()=>{const{styles:t,setSyncedStyles:e,syncedStylesRef:n}=Bt(),r=T.useCallback(i=>{!i||Object.keys(i).length===0||e(Xc(Po(i,t)))},[t]),o=T.useCallback(i=>{const a=typeof i=="function"?i(n.current):i;e(a)},[n]);return{styles:t,replaceStyles:o,updateStyles:r}},XE=({plugins:t,slots:e})=>{var n,r;const o=Gc(),{settings:i}=ht(),{styles:a}=Bt(),{hasFlowStarted:l,setHasFlowStarted:u}=An(),{inputRef:d}=un(),{viewportHeight:p,viewportWidth:h,isChatWindowOpen:A}=Sr(),{goToPath:m}=Kc(),{headerButtons:y,chatInputButtons:w,footerButtons:b}=VE();YE(),(M=>{const{updateSettings:D}=Hm(),{updateStyles:C}=Um(),j=M?.map(R=>R());T.useEffect(()=>{let R={},z={};j?.forEach(V=>{V!=null&&V.settings&&Object.keys(V?.settings).length!==0&&(R=Po(V.settings,R)),V!=null&&V.styles&&Object.keys(V?.styles).length!==0&&(z=Po(V.styles,z))}),D(R),C(z)},[])})(t),T.useEffect(()=>{var M;(l||((M=i.general)==null?void 0:M.flowStartTrigger)==="ON_LOAD")&&m("start")},[l,(n=i.general)==null?void 0:n.flowStartTrigger]);const P=T.useMemo(()=>{var M;const D="rcb-chatbot-global ";return(M=i.general)!=null&&M.embedded?D+"rcb-window-embedded":A?D+"rcb-window-open":D+"rcb-window-close"},[i,A]);return E.jsx(E.Fragment,{children:(()=>{var M,D;return o&&((M=i.device)==null?void 0:M.desktopEnabled)||!o&&((D=i.device)==null?void 0:D.mobileEnabled)})()&&E.jsxs("div",{onMouseDown:M=>{var D,C;!l&&((D=i.general)==null?void 0:D.flowStartTrigger)==="ON_CHATBOT_INTERACT"&&u(!0),o?(C=d.current)==null||C.blur():M?.preventDefault()},className:P,children:[E.jsx(ME,{}),E.jsx(IE,{}),A&&!o&&!((r=i.general)!=null&&r.embedded)&&E.jsxs(E.Fragment,{children:[E.jsx("style",{children:`
24
24
  html {
25
25
  overflow: hidden !important;
@@ -33,7 +33,7 @@ Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}
33
33
  `),r=r.replace(/\n/g,"<br/>"),r}createContainer(t){var e;const n=(typeof global<"u"&&global.INTERWEAVE_SSR_POLYFILL||fC)();if(!n)return;const r=(e=this.props.containerTagName)!==null&&e!==void 0?e:"body",o=r==="body"||r==="fragment"?n.body:n.createElement(r);return t.match(cC)||(o.innerHTML=this.convertLineBreaks(this.props.escapeHtml?sC(t):t)),o}extractAttributes(t){const{allowAttributes:e}=this.props,n={};let r=0;return t.nodeType===1&&t.attributes&&([...t.attributes].forEach(o=>{const{name:i,value:a}=o,l=i.toLowerCase(),u=Xm[l]||Xm[i];if(!this.isSafe(t)||!l.match(uC)&&(!e&&(!u||u===2)||l.startsWith("on")||a.replace(/(\s|\0|&#x0([9AD]);)/,"").match(/(javascript|vbscript|livescript|xss):/i)))return;let d=l==="style"?this.extractStyleAttribute(t):a;u===4?d=!0:u===3?d=Number.parseFloat(String(d)):u!==5&&(d=String(d)),n[rC[l]||l]=this.applyAttributeFilters(l,d),r+=1}),r!==0)?n:null}extractStyleAttribute(t){const e={};return Array.from(t.style).forEach(n=>{const r=t.style[n];(typeof r=="string"||typeof r=="number")&&(e[n.replace(/-([a-z])/g,(o,i)=>String(i).toUpperCase())]=r)}),e}getTagConfig(t){const e={children:[],content:0,invalid:[],parent:[],self:!0,tagName:"",type:0,void:!1};return Wf[t]?{...e,...Wf[t],tagName:t}:e}isSafe(t){if(typeof HTMLAnchorElement<"u"&&t instanceof HTMLAnchorElement){const e=t.getAttribute("href");if(e!=null&&e.startsWith("#"))return!0;const n=t.protocol.toLowerCase();return n===":"||n==="http:"||n==="https:"||n==="mailto:"||n==="tel:"}return!0}isTagAllowed(t){return!this.banned.has(t)&&!this.blocked.has(t)&&(this.props.allowElements||this.allowed.has(t))}parse(){return this.container?this.parseNode(this.container,this.getTagConfig(this.container.nodeName.toLowerCase())):[]}parseNode(t,e){const{noHtml:n,noHtmlExceptMatchers:r,allowElements:o,transform:i,transformOnlyAllowList:a}=this.props;let l=[],u="";return[...t.childNodes].forEach(d=>{if(d.nodeType===1){const h=d.nodeName.toLowerCase(),A=this.getTagConfig(h);u&&(l.push(u),u="");const m=this.applyNodeFilters(h,d);if(!m)return;let y;if(i&&(!a||this.isTagAllowed(h))){this.keyIndex+=1;const w=this.keyIndex;y=this.parseNode(m,A);const b=i(m,y,A);if(b===null)return;if(typeof b<"u")return void l.push(ge.cloneElement(b,{key:w}));this.keyIndex=w-1}if(this.banned.has(h))return;if(n||r&&h!=="br"||!this.isTagAllowed(h)||!o&&!this.canRenderChild(e,A))l=[...l,...this.parseNode(m,A.tagName?A:e)];else{var p;this.keyIndex+=1;const w=this.extractAttributes(m),b={tagName:h};w&&(b.attributes=w),A.void&&(b.selfClose=A.void),l.push(ge.createElement(Jm,{...b,key:this.keyIndex},(p=y)!==null&&p!==void 0?p:this.parseNode(m,A)))}}else if(d.nodeType===3){const h=n&&!r?d.textContent:this.applyMatchers(d.textContent||"",e);Array.isArray(h)?l=[...l,...h]:u+=h}}),u&&l.push(u),l}replaceTokens(t,e){if(!t.includes("{{{"))return t;const n=[];let r=t,o=null;for(;o=r.match(dC);){const[i,a]=o,l=o.index,u=i.includes("/");l>0&&(n.push(r.slice(0,l)),r=r.slice(l));const{children:d,matcher:p,props:h}=e[a];let A;if(u)A=i.length,n.push(p.createElement(d,h));else{const m=r.match(new RegExp(`{{{/${a}}}}`));A=m.index+m[0].length,n.push(p.createElement(this.replaceTokens(r.slice(i.length,m.index),e),h))}r=r.slice(A)}return r.length>0&&n.push(r),n.length===0?"":n.length===1&&typeof n[0]=="string"?n[0]:n}};function pC(t){var e;const{attributes:n,className:r,containerTagName:o,content:i,emptyContent:a,parsedContent:l,tagName:u,noWrap:d}=t,p=(e=o??u)!==null&&e!==void 0?e:"span",h=p==="fragment"||d;let A;if(l)A=l;else{const m=new e0(i??"",t).parse();m.length>0&&(A=m)}return A||(A=a),h?ge.createElement(ge.Fragment,null,A):ge.createElement(Jm,{attributes:n,className:r,tagName:p},A)}function hC(t){const{attributes:e,className:n,content:r="",disableFilters:o=!1,disableMatchers:i=!1,emptyContent:a=null,filters:l=[],matchers:u=[],onAfterParse:d=null,onBeforeParse:p=null,tagName:h="span",noWrap:A=!1,...m}=t,y=i?[]:u,w=o?[]:l,b=p?[p]:[],P=d?[d]:[];y.forEach(j=>{j.onBeforeParse&&b.push(j.onBeforeParse.bind(j)),j.onAfterParse&&P.push(j.onAfterParse.bind(j))});const M=b.reduce((j,R)=>R(j,t),r??""),D=new e0(M,m,y,w),C=P.reduce((j,R)=>R(j,t),D.parse());return ge.createElement(pC,{attributes:e,className:n,containerTagName:t.containerTagName,emptyContent:a,noWrap:A,parsedContent:C.length===0?void 0:C,tagName:h})}const AC=({children:t})=>E.jsx("div",{style:{whiteSpace:"normal"},children:E.jsx(hC,{content:typeof t=="string"?t:""})}),gC={autoConfig:!0},t0=(t,e,n)=>{var r;if(!t.detail.currPath)return!1;const o=e[t.detail.currPath];return!!o&&(((r=o.renderHtml)==null?void 0:r.map(i=>i.toUpperCase()).includes(n))??!1)},mC=t=>{const e=[];let n="",r=!1;for(let o=0;o<t.length;o++){const i=t[o];i==="<"?r?(e.push(n),n=i):(r=!0,n=i):i===">"?(n+=i,e.push(n),n="",r=!1):r?n+=i:e.push(i)}return n!==""&&e.push(n),e},vC=t=>{const{getFlow:e}=Jc(),{messages:n,replaceMessages:r}=Al(),{settings:o}=qm(),{hasChatHistoryLoaded:i}=Gm(),a={...t,...gC},l=a.htmlComponent?a.htmlComponent:AC;T.useEffect(()=>{var p,h;if(i){const A=[...n];for(let m=0;m<A.length&&m<(((p=o.chatHistory)==null?void 0:p.maxEntries)??30);m++){const y=A[m];(h=y.tags)!=null&&h.includes("rcb-html-renderer-plugin:parsed")&&(y.contentWrapper=l)}r(A)}},[i]);const u=async p=>{var h;const A=(h=p.data.message)==null?void 0:h.sender.toUpperCase();typeof p.data.message.content=="string"&&t0(p,e(),A)&&(p.type==="rcb-start-simulate-stream-message"&&(p.data.simulateStreamChunker=mC),p.data.message.contentWrapper=l,p.data.message.tags||(p.data.message.tags=[]),p.data.message.tags.push("rcb-html-renderer-plugin:parsed"))};Qr(je.PRE_INJECT_MESSAGE,u),Qr(je.CHUNK_STREAM_MESSAGE,u),Qr(je.START_STREAM_MESSAGE,u),Qr(je.START_SIMULATE_STREAM_MESSAGE,u),Qr(je.START_SPEAK_AUDIO,async p=>{t0(p,e(),"BOT")&&(p.data.textToRead=(h=>typeof window.DOMParser<"u"?new DOMParser().parseFromString(h,"text/html").body.textContent||"":h.replace(/<\/?[^>]+(>|$)/g,""))(p.data.textToRead))});const d={name:"@rcb-plugins/html-renderer"};return a!=null&&a.autoConfig&&(d.settings={event:{rcbPreInjectMessage:!0,rcbChunkStreamMessage:!0,rcbStartSimulateStreamMessage:!0,rcbStartStreamMessage:!0,rcbStartSpeakAudio:!0}}),d},yC=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bC=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xC={};function n0(t,e){return(xC.jsx?bC:yC).test(t)}const wC=/[ \t\n\f\r]/g;function r0(t){return t.replace(wC,"")===""}class gl{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}function o0(t,e){const n={},r={};let o=-1;for(;++o<t.length;)Object.assign(n,t[o].property),Object.assign(r,t[o].normal);return new gl(n,r,e)}function Yf(t){return t.toLowerCase()}gl.prototype.property={},gl.prototype.normal={},gl.prototype.space=null;class Hr{constructor(e,n){this.property=e,this.attribute=n}}Hr.prototype.space=null,Hr.prototype.boolean=!1,Hr.prototype.booleanish=!1,Hr.prototype.overloadedBoolean=!1,Hr.prototype.number=!1,Hr.prototype.commaSeparated=!1,Hr.prototype.spaceSeparated=!1,Hr.prototype.commaOrSpaceSeparated=!1,Hr.prototype.mustUseProperty=!1,Hr.prototype.defined=!1;let kC=0;const pt=ms(),dn=ms(),i0=ms(),Se=ms(),Ft=ms(),ia=ms(),Er=ms();function ms(){return 2**++kC}const qf=Object.freeze(Object.defineProperty({__proto__:null,boolean:pt,booleanish:dn,commaOrSpaceSeparated:Er,commaSeparated:ia,number:Se,overloadedBoolean:i0,spaceSeparated:Ft},Symbol.toStringTag,{value:"Module"})),Kf=Object.keys(qf);class Gf extends Hr{constructor(e,n,r,o){let i=-1;if(super(e,n),s0(this,"space",o),typeof r=="number")for(;++i<Kf.length;){const a=Kf[i];s0(this,Kf[i],(r&qf[a])===qf[a])}}}function s0(t,e,n){n&&(t[e]=n)}Gf.prototype.defined=!0;const SC={}.hasOwnProperty;function sa(t){const e={},n={};let r;for(r in t.properties)if(SC.call(t.properties,r)){const o=t.properties[r],i=new Gf(r,t.transform(t.attributes||{},r),o,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),e[r]=i,n[Yf(r)]=r,n[Yf(i.attribute)]=r}return new gl(e,n,t.space)}const a0=sa({space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),l0=sa({space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function c0(t,e){return e in t?t[e]:e}function u0(t,e){return c0(t,e.toLowerCase())}const d0=sa({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:u0,properties:{xmlns:null,xmlnsXLink:null}}),f0=sa({transform:(t,e)=>e==="role"?e:"aria-"+e.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:dn,ariaAutoComplete:null,ariaBusy:dn,ariaChecked:dn,ariaColCount:Se,ariaColIndex:Se,ariaColSpan:Se,ariaControls:Ft,ariaCurrent:null,ariaDescribedBy:Ft,ariaDetails:null,ariaDisabled:dn,ariaDropEffect:Ft,ariaErrorMessage:null,ariaExpanded:dn,ariaFlowTo:Ft,ariaGrabbed:dn,ariaHasPopup:null,ariaHidden:dn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ft,ariaLevel:Se,ariaLive:null,ariaModal:dn,ariaMultiLine:dn,ariaMultiSelectable:dn,ariaOrientation:null,ariaOwns:Ft,ariaPlaceholder:null,ariaPosInSet:Se,ariaPressed:dn,ariaReadOnly:dn,ariaRelevant:null,ariaRequired:dn,ariaRoleDescription:Ft,ariaRowCount:Se,ariaRowIndex:Se,ariaRowSpan:Se,ariaSelected:dn,ariaSetSize:Se,ariaSort:null,ariaValueMax:Se,ariaValueMin:Se,ariaValueNow:Se,ariaValueText:null,role:null}}),EC=sa({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:u0,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ia,acceptCharset:Ft,accessKey:Ft,action:null,allow:null,allowFullScreen:pt,allowPaymentRequest:pt,allowUserMedia:pt,alt:null,as:null,async:pt,autoCapitalize:null,autoComplete:Ft,autoFocus:pt,autoPlay:pt,blocking:Ft,capture:null,charSet:null,checked:pt,cite:null,className:Ft,cols:Se,colSpan:null,content:null,contentEditable:dn,controls:pt,controlsList:Ft,coords:Se|ia,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pt,defer:pt,dir:null,dirName:null,disabled:pt,download:i0,draggable:dn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pt,formTarget:null,headers:Ft,height:Se,hidden:pt,high:Se,href:null,hrefLang:null,htmlFor:Ft,httpEquiv:Ft,id:null,imageSizes:null,imageSrcSet:null,inert:pt,inputMode:null,integrity:null,is:null,isMap:pt,itemId:null,itemProp:Ft,itemRef:Ft,itemScope:pt,itemType:Ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pt,low:Se,manifest:null,max:null,maxLength:Se,media:null,method:null,min:null,minLength:Se,multiple:pt,muted:pt,name:null,nonce:null,noModule:pt,noValidate:pt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pt,optimum:Se,pattern:null,ping:Ft,placeholder:null,playsInline:pt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:pt,referrerPolicy:null,rel:Ft,required:pt,reversed:pt,rows:Se,rowSpan:Se,sandbox:Ft,scope:null,scoped:pt,seamless:pt,selected:pt,shadowRootClonable:pt,shadowRootDelegatesFocus:pt,shadowRootMode:null,shape:null,size:Se,sizes:null,slot:null,span:Se,spellCheck:dn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Se,step:null,style:null,tabIndex:Se,target:null,title:null,translate:null,type:null,typeMustMatch:pt,useMap:null,value:dn,width:Se,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ft,axis:null,background:null,bgColor:null,border:Se,borderColor:null,bottomMargin:Se,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pt,declare:pt,event:null,face:null,frame:null,frameBorder:null,hSpace:Se,leftMargin:Se,link:null,longDesc:null,lowSrc:null,marginHeight:Se,marginWidth:Se,noResize:pt,noHref:pt,noShade:pt,noWrap:pt,object:null,profile:null,prompt:null,rev:null,rightMargin:Se,rules:null,scheme:null,scrolling:dn,standby:null,summary:null,text:null,topMargin:Se,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Se,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pt,disableRemotePlayback:pt,prefix:null,property:null,results:Se,security:null,unselectable:null}}),CC=sa({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:c0,properties:{about:Er,accentHeight:Se,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Se,amplitude:Se,arabicForm:null,ascent:Se,attributeName:null,attributeType:null,azimuth:Se,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Se,by:null,calcMode:null,capHeight:Se,className:Ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Se,diffuseConstant:Se,direction:null,display:null,dur:null,divisor:Se,dominantBaseline:null,download:pt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Se,enableBackground:null,end:null,event:null,exponent:Se,externalResourcesRequired:null,fill:null,fillOpacity:Se,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ia,g2:ia,glyphName:ia,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Se,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Se,horizOriginX:Se,horizOriginY:Se,id:null,ideographic:Se,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Se,k:Se,k1:Se,k2:Se,k3:Se,k4:Se,kernelMatrix:Er,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Se,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Se,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Se,overlineThickness:Se,paintOrder:null,panose1:null,path:null,pathLength:Se,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Se,pointsAtY:Se,pointsAtZ:Se,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Er,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Er,rev:Er,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Er,requiredFeatures:Er,requiredFonts:Er,requiredFormats:Er,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Se,specularExponent:Se,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Se,strikethroughThickness:Se,string:null,stroke:null,strokeDashArray:Er,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Se,strokeOpacity:Se,strokeWidth:null,style:null,surfaceScale:Se,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Er,tabIndex:Se,tableValues:null,target:null,targetX:Se,targetY:Se,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Er,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Se,underlineThickness:Se,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Se,values:null,vAlphabetic:Se,vMathematical:Se,vectorEffect:null,vHanging:Se,vIdeographic:Se,version:null,vertAdvY:Se,vertOriginX:Se,vertOriginY:Se,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Se,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),PC=/^data[-\w.:]+$/i,p0=/-[a-z]/g,DC=/[A-Z]/g;function TC(t){return"-"+t.toLowerCase()}function BC(t){return t.charAt(1).toUpperCase()}const _C={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},IC=o0([l0,a0,d0,f0,EC],"html"),Xf=o0([l0,a0,d0,f0,CC],"svg");function h0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jf,A0,g0,aa={},MC=(function(){if(g0)return aa;g0=1;var t=aa&&aa.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(aa,"__esModule",{value:!0}),aa.default=function(n,r){var o=null;if(!n||typeof n!="string")return o;var i=(0,e.default)(n),a=typeof r=="function";return i.forEach(function(l){if(l.type==="declaration"){var u=l.property,d=l.value;a?r(u,d,l):d&&((o=o||{})[u]=d)}}),o};var e=t((function(){if(A0)return Jf;A0=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,d=/^\s+|\s+$/g,p="";function h(A){return A?A.replace(d,p):p}return Jf=function(A,m){if(typeof A!="string")throw new TypeError("First argument must be a string");if(!A)return[];m=m||{};var y=1,w=1;function b(K){var q=K.match(r);q&&(y+=q.length);var Z=K.lastIndexOf(`
34
34
  `);w=~Z?K.length-Z:w+K.length}function P(){var K={line:y,column:w};return function(q){return q.position=new M(K),j(),q}}function M(K){this.start=K,this.end={line:y,column:w},this.source=m.source}function D(K){var q=new Error(m.source+":"+y+":"+w+": "+K);if(q.reason=K,q.filename=m.source,q.line=y,q.column=w,q.source=A,!m.silent)throw q}function C(K){var q=K.exec(A);if(q){var Z=q[0];return b(Z),A=A.slice(Z.length),q}}function j(){C(o)}function R(K){var q;for(K=K||[];q=z();)q!==!1&&K.push(q);return K}function z(){var K=P();if(A.charAt(0)=="/"&&A.charAt(1)=="*"){for(var q=2;p!=A.charAt(q)&&(A.charAt(q)!="*"||A.charAt(q+1)!="/");)++q;if(q+=2,p===A.charAt(q-1))return D("End of comment missing");var Z=A.slice(2,q-2);return w+=2,b(Z),A=A.slice(q),w+=2,K({type:"comment",comment:Z})}}function V(){var K=P(),q=C(i);if(q){if(z(),!C(a))return D("property missing ':'");var Z=C(l),W=K({type:"declaration",property:h(q[0].replace(n,p)),value:Z?h(Z[0].replace(n,p)):p});return C(u),W}}return M.prototype.content=A,j(),(function(){var K,q=[];for(R(q);K=V();)K!==!1&&(q.push(K),R(q));return q})()},Jf})());return aa})();const m0=h0(MC),OC=m0.default||m0,v0=y0("end"),Zf=y0("start");function y0(t){return function(e){const n=e&&e.position&&e.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function ml(t){return t&&typeof t=="object"?"position"in t||"type"in t?b0(t.position):"start"in t||"end"in t?b0(t):"line"in t||"column"in t?$f(t):"":""}function $f(t){return x0(t&&t.line)+":"+x0(t&&t.column)}function b0(t){return $f(t&&t.start)+"-"+$f(t&&t.end)}function x0(t){return t&&typeof t=="number"?t:1}class Fn extends Error{constructor(e,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",i={},a=!1;if(n&&(i="line"in n&&"column"in n||"start"in n&&"end"in n?{place:n}:"type"in n?{ancestors:[n],place:n.position}:{...n}),typeof e=="string"?o=e:!i.cause&&e&&(a=!0,o=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?i.ruleId=r:(i.source=r.slice(0,u),i.ruleId=r.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=l?l.line:void 0,this.name=ml(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}Fn.prototype.file="",Fn.prototype.name="",Fn.prototype.reason="",Fn.prototype.message="",Fn.prototype.stack="",Fn.prototype.column=void 0,Fn.prototype.line=void 0,Fn.prototype.ancestors=void 0,Fn.prototype.cause=void 0,Fn.prototype.fatal=void 0,Fn.prototype.place=void 0,Fn.prototype.ruleId=void 0,Fn.prototype.source=void 0;const ep={}.hasOwnProperty,RC=new Map,LC=/[A-Z]/g,NC=/-([a-z])/g,FC=new Set(["table","tbody","thead","tfoot","tr"]),jC=new Set(["td","th"]),w0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function zC(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=(function(a,l){return u;function u(d,p,h,A){const m=Array.isArray(h.children),y=Zf(d);return l(p,h,A,m,{columnNumber:y?y.column-1:void 0,fileName:a,lineNumber:y?y.line:void 0},void 0)}})(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=(function(a,l,u){return d;function d(p,h,A,m){const y=Array.isArray(A.children)?u:l;return m?y(h,A,m):y(h,A)}})(0,e.jsx,e.jsxs)}const o={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?Xf:IC,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},i=k0(o,t,void 0);return i&&typeof i!="string"?i:o.create(t,o.Fragment,{children:i||void 0},void 0)}function k0(t,e,n){return e.type==="element"?(function(r,o,i){const a=r.schema;let l=a;o.tagName.toLowerCase()==="svg"&&a.space==="html"&&(l=Xf,r.schema=l),r.ancestors.push(o);const u=E0(r,o.tagName,!1),d=(function(h,A){const m={};let y,w;for(w in A.properties)if(w!=="children"&&ep.call(A.properties,w)){const b=QC(h,w,A.properties[w]);if(b){const[P,M]=b;h.tableCellAlignToStyle&&P==="align"&&typeof M=="string"&&jC.has(A.tagName)?y=M:m[P]=M}}return y&&((m.style||(m.style={}))[h.stylePropertyNameCase==="css"?"text-align":"textAlign"]=y),m})(r,o);let p=np(r,o);return FC.has(o.tagName)&&(p=p.filter(function(h){return typeof h!="string"||!(function(A){return typeof A=="object"?A.type==="text"&&r0(A.value):r0(A)})(h)})),S0(r,d,u,o),tp(d,p),r.ancestors.pop(),r.schema=a,r.create(o,u,d,i)})(t,e,n):e.type==="mdxFlowExpression"||e.type==="mdxTextExpression"?(function(r,o){if(o.data&&o.data.estree&&r.evaluater){const i=o.data.estree.body[0];return i.type,r.evaluater.evaluateExpression(i.expression)}vl(r,o.position)})(t,e):e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement"?(function(r,o,i){const a=r.schema;let l=a;o.name==="svg"&&a.space==="html"&&(l=Xf,r.schema=l),r.ancestors.push(o);const u=o.name===null?r.Fragment:E0(r,o.name,!0),d=(function(h,A){const m={};for(const y of A.attributes)if(y.type==="mdxJsxExpressionAttribute")if(y.data&&y.data.estree&&h.evaluater){const w=y.data.estree.body[0];w.type;const b=w.expression;b.type;const P=b.properties[0];P.type,Object.assign(m,h.evaluater.evaluateExpression(P.argument))}else vl(h,A.position);else{const w=y.name;let b;if(y.value&&typeof y.value=="object")if(y.value.data&&y.value.data.estree&&h.evaluater){const P=y.value.data.estree.body[0];P.type,b=h.evaluater.evaluateExpression(P.expression)}else vl(h,A.position);else b=y.value===null||y.value;m[w]=b}return m})(r,o),p=np(r,o);return S0(r,d,u,o),tp(d,p),r.ancestors.pop(),r.schema=a,r.create(o,u,d,i)})(t,e,n):e.type==="mdxjsEsm"?(function(r,o){if(o.data&&o.data.estree&&r.evaluater)return r.evaluater.evaluateProgram(o.data.estree);vl(r,o.position)})(t,e):e.type==="root"?(function(r,o,i){const a={};return tp(a,np(r,o)),r.create(o,r.Fragment,a,i)})(t,e,n):e.type==="text"?(function(r,o){return o.value})(0,e):void 0}function S0(t,e,n,r){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=r)}function tp(t,e){if(e.length>0){const n=e.length>1?e:e[0];n&&(t.children=n)}}function np(t,e){const n=[];let r=-1;const o=t.passKeys?new Map:RC;for(;++r<e.children.length;){const i=e.children[r];let a;if(t.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const d=o.get(u)||0;a=u+"-"+d,o.set(u,d+1)}}const l=k0(t,i,a);l!==void 0&&n.push(l)}return n}function QC(t,e,n){const r=(function(o,i){const a=Yf(i);let l=i,u=Hr;if(a in o.normal)return o.property[o.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&PC.test(i)){if(i.charAt(4)==="-"){const d=i.slice(5).replace(p0,BC);l="data"+d.charAt(0).toUpperCase()+d.slice(1)}else{const d=i.slice(4);if(!p0.test(d)){let p=d.replace(DC,TC);p.charAt(0)!=="-"&&(p="-"+p),i="data"+p}}u=Gf}return new u(l,i)})(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(function(o){const i={};return(o[o.length-1]===""?[...o,""]:o).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()})(n):(function(o){return o.join(" ").trim()})(n)),r.property==="style"){let o=typeof n=="object"?n:(function(i,a){const l={};try{OC(a,u)}catch(d){if(!i.ignoreInvalidStyle){const p=d,h=new Fn("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:p,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw h.file=i.filePath||void 0,h.url=w0+"#cannot-parse-style-attribute",h}}return l;function u(d,p){let h=d;h.slice(0,2)!=="--"&&(h.slice(0,4)==="-ms-"&&(h="ms-"+h.slice(4)),h=h.replace(NC,UC)),l[h]=p}})(t,String(n));return t.stylePropertyNameCase==="css"&&(o=(function(i){const a={};let l;for(l in i)ep.call(i,l)&&(a[HC(l)]=i[l]);return a})(o)),["style",o]}return[t.elementAttributeNameCase==="react"&&r.space?_C[r.property]||r.property:r.attribute,n]}}function E0(t,e,n){let r;if(n)if(e.includes(".")){const o=e.split(".");let i,a=-1;for(;++a<o.length;){const l=n0(o[a])?{type:"Identifier",name:o[a]}:{type:"Literal",value:o[a]};i=i?{type:"MemberExpression",object:i,property:l,computed:!(!a||l.type!=="Literal"),optional:!1}:l}r=i}else r=n0(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};else r={type:"Literal",value:e};if(r.type==="Literal"){const o=r.value;return ep.call(t.components,o)?t.components[o]:o}if(t.evaluater)return t.evaluater.evaluateExpression(r);vl(t)}function vl(t,e){const n=new Fn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=w0+"#cannot-handle-mdx-estrees-without-createevaluater",n}function HC(t){let e=t.replace(LC,VC);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function UC(t,e){return e.toUpperCase()}function VC(t){return"-"+t.toLowerCase()}const rp={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},$c={};function C0(t,e,n){if((function(r){return!(!r||typeof r!="object")})(t)){if("value"in t)return t.type!=="html"||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return P0(t.children,e,n)}return Array.isArray(t)?P0(t,e,n):""}function P0(t,e,n){const r=[];let o=-1;for(;++o<t.length;)r[o]=C0(t[o],e,n);return r.join("")}const D0=document.createElement("i");function op(t){const e="&"+t+";";D0.innerHTML=e;const n=D0.textContent;return(n.charCodeAt(n.length-1)!==59||t==="semi")&&n!==e&&n}function Do(t,e,n,r){const o=t.length;let i,a=0;if(e=e<0?-e>o?0:o+e:e>o?o:e,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(e,n),t.splice(...i);else for(n&&t.splice(e,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(e,0),t.splice(...i),a+=1e4,e+=1e4}function Ur(t,e){return t.length>0?(Do(t,t.length,0,e),t):e}const T0={}.hasOwnProperty;function WC(t){const e={};let n=-1;for(;++n<t.length;)YC(e,t[n]);return e}function YC(t,e){let n;for(n in e){const r=(T0.call(t,n)?t[n]:void 0)||(t[n]={}),o=e[n];let i;if(o)for(i in o){T0.call(r,i)||(r[i]=[]);const a=o[i];qC(r[i],Array.isArray(a)?a:a?[a]:[])}}}function qC(t,e){let n=-1;const r=[];for(;++n<e.length;)(e[n].add==="after"?t:r).push(e[n]);Do(t,0,0,r)}function B0(t,e){const n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}function la(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const To=Mi(/[A-Za-z]/),Cr=Mi(/[\dA-Za-z]/),KC=Mi(/[#-'*+\--9=?A-Z^-~]/);function ip(t){return t!==null&&(t<32||t===127)}const sp=Mi(/\d/),GC=Mi(/[\dA-Fa-f]/),XC=Mi(/[!-/:-@[-`{-~]/);function ot(t){return t!==null&&t<-2}function or(t){return t!==null&&(t<0||t===32)}function Dt(t){return t===-2||t===-1||t===32}const JC=Mi(new RegExp("\\p{P}|\\p{S}","u")),ZC=Mi(/\s/);function Mi(t){return function(e){return e!==null&&e>-1&&t.test(String.fromCharCode(e))}}function ca(t){const e=[];let n=-1,r=0,o=0;for(;++n<t.length;){const i=t.charCodeAt(n);let a="";if(i===37&&Cr(t.charCodeAt(n+1))&&Cr(t.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const l=t.charCodeAt(n+1);i<56320&&l>56319&&l<57344?(a=String.fromCharCode(i,l),o=1):a="�"}else a=String.fromCharCode(i);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return e.join("")+t.slice(r)}function jt(t,e,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(l){return Dt(l)?(t.enter(n),a(l)):e(l)};function a(l){return Dt(l)&&i++<o?(t.consume(l),a):(t.exit(n),e(l))}}const $C={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,function(i){return i===null?void t.consume(i):(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),jt(t,e,"linePrefix"))},function(i){return t.enter("paragraph"),r(i)});let n;return e;function r(i){const a=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,o(i)}function o(i){return i===null?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(i)):ot(i)?(t.consume(i),t.exit("chunkText"),r):(t.consume(i),o)}}},eP={tokenize:function(t){const e=this,n=[];let r,o,i,a=0;return l;function l(D){if(a<n.length){const C=n[a];return e.containerState=C[1],t.attempt(C[0].continuation,u,d)(D)}return d(D)}function u(D){if(a++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&M();const C=e.events.length;let j,R=C;for(;R--;)if(e.events[R][0]==="exit"&&e.events[R][1].type==="chunkFlow"){j=e.events[R][1].end;break}P(a);let z=C;for(;z<e.events.length;)e.events[z][1].end={...j},z++;return Do(e.events,R+1,0,e.events.slice(C)),e.events.length=z,d(D)}return l(D)}function d(D){if(a===n.length){if(!r)return A(D);if(r.currentConstruct&&r.currentConstruct.concrete)return y(D);e.interrupt=!(!r.currentConstruct||r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(_0,p,h)(D)}function p(D){return r&&M(),P(a),A(D)}function h(D){return e.parser.lazy[e.now().line]=a!==n.length,i=e.now().offset,y(D)}function A(D){return e.containerState={},t.attempt(_0,m,y)(D)}function m(D){return a++,n.push([e.currentConstruct,e.containerState]),A(D)}function y(D){return D===null?(r&&M(),P(0),void t.consume(D)):(r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),w(D))}function w(D){return D===null?(b(t.exit("chunkFlow"),!0),P(0),void t.consume(D)):ot(D)?(t.consume(D),b(t.exit("chunkFlow")),a=0,e.interrupt=void 0,l):(t.consume(D),w)}function b(D,C){const j=e.sliceStream(D);if(C&&j.push(null),D.previous=o,o&&(o.next=D),o=D,r.defineSkip(D.start),r.write(j),e.parser.lazy[D.start.line]){let R=r.events.length;for(;R--;)if(r.events[R][1].start.offset<i&&(!r.events[R][1].end||r.events[R][1].end.offset>i))return;const z=e.events.length;let V,K,q=z;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(V){K=e.events[q][1].end;break}V=!0}for(P(a),R=z;R<e.events.length;)e.events[R][1].end={...K},R++;Do(e.events,q+1,0,e.events.slice(z)),e.events.length=R}}function P(D){let C=n.length;for(;C-- >D;){const j=n[C];e.containerState=j[1],j[0].exit.call(e,t)}n.length=D}function M(){r.write([null]),o=void 0,r=void 0,e.containerState._closeFlow=void 0}}},_0={tokenize:function(t,e,n){return jt(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function I0(t){return t===null||or(t)||ZC(t)?1:JC(t)?2:void 0}function ap(t,e,n){const r=[];let o=-1;for(;++o<t.length;){const i=t[o].resolveAll;i&&!r.includes(i)&&(e=i(e,n),r.push(i))}return e}const lp={name:"attention",resolveAll:function(t,e){let n,r,o,i,a,l,u,d,p=-1;for(;++p<t.length;)if(t[p][0]==="enter"&&t[p][1].type==="attentionSequence"&&t[p][1]._close){for(n=p;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[p][1]).charCodeAt(0)){if((t[n][1]._close||t[p][1]._open)&&(t[p][1].end.offset-t[p][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[p][1].end.offset-t[p][1].start.offset)%3))continue;l=t[n][1].end.offset-t[n][1].start.offset>1&&t[p][1].end.offset-t[p][1].start.offset>1?2:1;const h={...t[n][1].end},A={...t[p][1].start};M0(h,-l),M0(A,l),i={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...t[n][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...t[p][1].start},end:A},o={type:l>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[p][1].start}},r={type:l>1?"strong":"emphasis",start:{...i.start},end:{...a.end}},t[n][1].end={...i.start},t[p][1].start={...a.end},u=[],t[n][1].end.offset-t[n][1].start.offset&&(u=Ur(u,[["enter",t[n][1],e],["exit",t[n][1],e]])),u=Ur(u,[["enter",r,e],["enter",i,e],["exit",i,e],["enter",o,e]]),u=Ur(u,ap(e.parser.constructs.insideSpan.null,t.slice(n+1,p),e)),u=Ur(u,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[p][1].end.offset-t[p][1].start.offset?(d=2,u=Ur(u,[["enter",t[p][1],e],["exit",t[p][1],e]])):d=0,Do(t,n-1,p-n+3,u),p=n+u.length-d-2;break}}for(p=-1;++p<t.length;)t[p][1].type==="attentionSequence"&&(t[p][1].type="data");return t},tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=I0(r);let i;return function(l){return i=l,t.enter("attentionSequence"),a(l)};function a(l){if(l===i)return t.consume(l),a;const u=t.exit("attentionSequence"),d=I0(l),p=!d||d===2&&o||n.includes(l),h=!o||o===2&&d||n.includes(r);return u._open=!!(i===42?p:p&&(o||!h)),u._close=!!(i===42?h:h&&(d||!p)),e(l)}}};function M0(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const tP={name:"autolink",tokenize:function(t,e,n){let r=0;return function(A){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(A),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o};function o(A){return To(A)?(t.consume(A),i):A===64?n(A):u(A)}function i(A){return A===43||A===45||A===46||Cr(A)?(r=1,a(A)):u(A)}function a(A){return A===58?(t.consume(A),r=0,l):(A===43||A===45||A===46||Cr(A))&&r++<32?(t.consume(A),a):(r=0,u(A))}function l(A){return A===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(A),t.exit("autolinkMarker"),t.exit("autolink"),e):A===null||A===32||A===60||ip(A)?n(A):(t.consume(A),l)}function u(A){return A===64?(t.consume(A),d):KC(A)?(t.consume(A),u):n(A)}function d(A){return Cr(A)?p(A):n(A)}function p(A){return A===46?(t.consume(A),r=0,d):A===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(A),t.exit("autolinkMarker"),t.exit("autolink"),e):h(A)}function h(A){if((A===45||Cr(A))&&r++<63){const m=A===45?h:p;return t.consume(A),m}return n(A)}}},eu={partial:!0,tokenize:function(t,e,n){return function(o){return Dt(o)?jt(t,r,"linePrefix")(o):r(o)};function r(o){return o===null||ot(o)?e(o):n(o)}}},O0={continuation:{tokenize:function(t,e,n){const r=this;return function(i){return Dt(i)?jt(t,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):o(i)};function o(i){return t.attempt(O0,e,n)(i)}}},exit:function(t){t.exit("blockQuote")},name:"blockQuote",tokenize:function(t,e,n){const r=this;return function(i){if(i===62){const a=r.containerState;return a.open||(t.enter("blockQuote",{_container:!0}),a.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(i),t.exit("blockQuoteMarker"),o}return n(i)};function o(i){return Dt(i)?(t.enter("blockQuotePrefixWhitespace"),t.consume(i),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(i))}}},R0={name:"characterEscape",tokenize:function(t,e,n){return function(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),r};function r(o){return XC(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(o)}}},L0={name:"characterReference",tokenize:function(t,e,n){const r=this;let o,i,a=0;return function(p){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(p),t.exit("characterReferenceMarker"),l};function l(p){return p===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(p),t.exit("characterReferenceMarkerNumeric"),u):(t.enter("characterReferenceValue"),o=31,i=Cr,d(p))}function u(p){return p===88||p===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(p),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,i=GC,d):(t.enter("characterReferenceValue"),o=7,i=sp,d(p))}function d(p){if(p===59&&a){const h=t.exit("characterReferenceValue");return i!==Cr||op(r.sliceSerialize(h))?(t.enter("characterReferenceMarker"),t.consume(p),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(p)}return i(p)&&a++<o?(t.consume(p),d):n(p)}}},N0={partial:!0,tokenize:function(t,e,n){const r=this;return function(i){return i===null?n(i):(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),o)};function o(i){return r.parser.lazy[r.now().line]?n(i):e(i)}}},F0={concrete:!0,name:"codeFenced",tokenize:function(t,e,n){const r=this,o={partial:!0,tokenize:function(D,C,j){let R=0;return z;function z(W){return D.enter("lineEnding"),D.consume(W),D.exit("lineEnding"),V}function V(W){return D.enter("codeFencedFence"),Dt(W)?jt(D,K,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):K(W)}function K(W){return W===i?(D.enter("codeFencedFenceSequence"),q(W)):j(W)}function q(W){return W===i?(R++,D.consume(W),q):R>=l?(D.exit("codeFencedFenceSequence"),Dt(W)?jt(D,Z,"whitespace")(W):Z(W)):j(W)}function Z(W){return W===null||ot(W)?(D.exit("codeFencedFence"),C(W)):j(W)}}};let i,a=0,l=0;return function(D){return(function(C){const j=r.events[r.events.length-1];return a=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,i=C,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(C)})(D)};function u(D){return D===i?(l++,t.consume(D),u):l<3?n(D):(t.exit("codeFencedFenceSequence"),Dt(D)?jt(t,d,"whitespace")(D):d(D))}function d(D){return D===null||ot(D)?(t.exit("codeFencedFence"),r.interrupt?e(D):t.check(N0,m,M)(D)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===null||ot(D)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),d(D)):Dt(D)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),jt(t,h,"whitespace")(D)):D===96&&D===i?n(D):(t.consume(D),p)}function h(D){return D===null||ot(D)?d(D):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),A(D))}function A(D){return D===null||ot(D)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),d(D)):D===96&&D===i?n(D):(t.consume(D),A)}function m(D){return t.attempt(o,M,y)(D)}function y(D){return t.enter("lineEnding"),t.consume(D),t.exit("lineEnding"),w}function w(D){return a>0&&Dt(D)?jt(t,b,"linePrefix",a+1)(D):b(D)}function b(D){return D===null||ot(D)?t.check(N0,m,M)(D):(t.enter("codeFlowValue"),P(D))}function P(D){return D===null||ot(D)?(t.exit("codeFlowValue"),b(D)):(t.consume(D),P)}function M(D){return t.exit("codeFenced"),e(D)}}},cp={name:"codeIndented",tokenize:function(t,e,n){const r=this;return function(u){return t.enter("codeIndented"),jt(t,o,"linePrefix",5)(u)};function o(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(u):n(u)}function i(u){return u===null?l(u):ot(u)?t.attempt(nP,i,l)(u):(t.enter("codeFlowValue"),a(u))}function a(u){return u===null||ot(u)?(t.exit("codeFlowValue"),i(u)):(t.consume(u),a)}function l(u){return t.exit("codeIndented"),e(u)}}},nP={partial:!0,tokenize:function(t,e,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):ot(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):jt(t,i,"linePrefix",5)(a)}function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?e(a):ot(a)?o(a):n(a)}}},rP={name:"codeText",previous:function(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"},resolve:function(t){let e,n,r=t.length-4,o=3;if(!(t[o][1].type!=="lineEnding"&&t[o][1].type!=="space"||t[r][1].type!=="lineEnding"&&t[r][1].type!=="space")){for(e=o;++e<r;)if(t[e][1].type==="codeTextData"){t[o][1].type="codeTextPadding",t[r][1].type="codeTextPadding",o+=2,r-=2;break}}for(e=o-1,r++;++e<=r;)n===void 0?e!==r&&t[e][1].type!=="lineEnding"&&(n=e):(e===r||t[e][1].type==="lineEnding")&&(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},tokenize:function(t,e,n){let r,o,i=0;return function(p){return t.enter("codeText"),t.enter("codeTextSequence"),a(p)};function a(p){return p===96?(t.consume(p),i++,a):(t.exit("codeTextSequence"),l(p))}function l(p){return p===null?n(p):p===32?(t.enter("space"),t.consume(p),t.exit("space"),l):p===96?(o=t.enter("codeTextSequence"),r=0,d(p)):ot(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),l):(t.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||ot(p)?(t.exit("codeTextData"),l(p)):(t.consume(p),u)}function d(p){return p===96?(t.consume(p),r++,d):r===i?(t.exit("codeTextSequence"),t.exit("codeText"),e(p)):(o.type="codeTextData",u(p))}}};class oP{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,n,r){const o=n||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&yl(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),yl(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),yl(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);yl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);yl(this.left,n.reverse())}}}function yl(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function j0(t){const e={};let n,r,o,i,a,l,u,d=-1;const p=new oP(t);for(;++d<p.length;){for(;d in e;)d=e[d];if(n=p.get(d),d&&n[1].type==="chunkFlow"&&p.get(d-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,iP(p,d)),d=e[d],u=!0);else if(n[1]._container){for(o=d,r=void 0;o--;)if(i=p.get(o),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank")i[0]==="enter"&&(r&&(p.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if(i[1].type!=="linePrefix")break;r&&(n[1].end={...p.get(r)[1].start},a=p.slice(r,d),a.unshift(n),p.splice(r,d-r+1,a))}}return Do(t,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function iP(t,e){const n=t.get(e)[1],r=t.get(e)[2];let o=e-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),l=a.events,u=[],d={};let p,h,A=-1,m=n,y=0,w=0;const b=[w];for(;m;){for(;t.get(++o)[1]!==m;);i.push(o),m._tokenizer||(p=r.sliceStream(m),m.next||p.push(null),h&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(p),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=m,m=m.next}for(m=n;++A<l.length;)l[A][0]==="exit"&&l[A-1][0]==="enter"&&l[A][1].type===l[A-1][1].type&&l[A][1].start.line!==l[A][1].end.line&&(w=A+1,b.push(w),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):b.pop(),A=b.length;A--;){const P=l.slice(b[A],b[A+1]),M=i.pop();u.push([M,M+P.length-1]),t.splice(M,2,P)}for(u.reverse(),A=-1;++A<u.length;)d[y+u[A][0]]=y+u[A][1],y+=u[A][1]-u[A][0]-1;return d}const sP={resolve:function(t){return j0(t),t},tokenize:function(t,e){let n;return function(a){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(a)};function r(a){return a===null?o(a):ot(a)?t.check(aP,i,o)(a):(t.consume(a),r)}function o(a){return t.exit("chunkContent"),t.exit("content"),e(a)}function i(a){return t.consume(a),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},aP={partial:!0,tokenize:function(t,e,n){const r=this;return function(i){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),jt(t,o,"linePrefix")};function o(i){if(i===null||ot(i))return n(i);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}}};function z0(t,e,n,r,o,i,a,l,u){const d=u||Number.POSITIVE_INFINITY;let p=0;return function(b){return b===60?(t.enter(r),t.enter(o),t.enter(i),t.consume(b),t.exit(i),h):b===null||b===32||b===41||ip(b)?n(b):(t.enter(r),t.enter(a),t.enter(l),t.enter("chunkString",{contentType:"string"}),y(b))};function h(b){return b===62?(t.enter(i),t.consume(b),t.exit(i),t.exit(o),t.exit(r),e):(t.enter(l),t.enter("chunkString",{contentType:"string"}),A(b))}function A(b){return b===62?(t.exit("chunkString"),t.exit(l),h(b)):b===null||b===60||ot(b)?n(b):(t.consume(b),b===92?m:A)}function m(b){return b===60||b===62||b===92?(t.consume(b),A):A(b)}function y(b){return p||b!==null&&b!==41&&!or(b)?p<d&&b===40?(t.consume(b),p++,y):b===41?(t.consume(b),p--,y):b===null||b===32||b===40||ip(b)?n(b):(t.consume(b),b===92?w:y):(t.exit("chunkString"),t.exit(l),t.exit(a),t.exit(r),e(b))}function w(b){return b===40||b===41||b===92?(t.consume(b),y):y(b)}}function Q0(t,e,n,r,o,i){const a=this;let l,u=0;return function(A){return t.enter(r),t.enter(o),t.consume(A),t.exit(o),t.enter(i),d};function d(A){return u>999||A===null||A===91||A===93&&!l||A===94&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(A):A===93?(t.exit(i),t.enter(o),t.consume(A),t.exit(o),t.exit(r),e):ot(A)?(t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===null||A===91||A===93||ot(A)||u++>999?(t.exit("chunkString"),d(A)):(t.consume(A),l||(l=!Dt(A)),A===92?h:p)}function h(A){return A===91||A===92||A===93?(t.consume(A),u++,p):p(A)}}function H0(t,e,n,r,o,i){let a;return function(h){return h===34||h===39||h===40?(t.enter(r),t.enter(o),t.consume(h),t.exit(o),a=h===40?41:h,l):n(h)};function l(h){return h===a?(t.enter(o),t.consume(h),t.exit(o),t.exit(r),e):(t.enter(i),u(h))}function u(h){return h===a?(t.exit(i),l(a)):h===null?n(h):ot(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),jt(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===a||h===null||ot(h)?(t.exit("chunkString"),u(h)):(t.consume(h),h===92?p:d)}function p(h){return h===a||h===92?(t.consume(h),d):d(h)}}function bl(t,e){let n;return function r(o){return ot(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),n=!0,r):Dt(o)?jt(t,r,n?"linePrefix":"lineSuffix")(o):e(o)}}const lP={name:"definition",tokenize:function(t,e,n){const r=this;let o;return function(h){return t.enter("definition"),(function(A){return Q0.call(r,t,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(A)})(h)};function i(h){return o=la(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),a):n(h)}function a(h){return or(h)?bl(t,l)(h):l(h)}function l(h){return z0(t,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return t.attempt(cP,d,d)(h)}function d(h){return Dt(h)?jt(t,p,"whitespace")(h):p(h)}function p(h){return h===null||ot(h)?(t.exit("definition"),r.parser.defined.push(o),e(h)):n(h)}}},cP={partial:!0,tokenize:function(t,e,n){return function(a){return or(a)?bl(t,r)(a):n(a)};function r(a){return H0(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return Dt(a)?jt(t,i,"whitespace")(a):i(a)}function i(a){return a===null||ot(a)?e(a):n(a)}}},uP={name:"hardBreakEscape",tokenize:function(t,e,n){return function(o){return t.enter("hardBreakEscape"),t.consume(o),r};function r(o){return ot(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}},dP={name:"headingAtx",resolve:function(t,e){let n,r,o=t.length-2,i=3;return t[i][1].type==="whitespace"&&(i+=2),o-2>i&&t[o][1].type==="whitespace"&&(o-=2),t[o][1].type==="atxHeadingSequence"&&(i===o-1||o-4>i&&t[o-2][1].type==="whitespace")&&(o-=i+1===o?2:4),o>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[o][1].end},r={type:"chunkText",start:t[i][1].start,end:t[o][1].end,contentType:"text"},Do(t,i,o-i+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]])),t},tokenize:function(t,e,n){let r=0;return function(u){return t.enter("atxHeading"),(function(d){return t.enter("atxHeadingSequence"),o(d)})(u)};function o(u){return u===35&&r++<6?(t.consume(u),o):u===null||or(u)?(t.exit("atxHeadingSequence"),i(u)):n(u)}function i(u){return u===35?(t.enter("atxHeadingSequence"),a(u)):u===null||ot(u)?(t.exit("atxHeading"),e(u)):Dt(u)?jt(t,i,"whitespace")(u):(t.enter("atxHeadingText"),l(u))}function a(u){return u===35?(t.consume(u),a):(t.exit("atxHeadingSequence"),i(u))}function l(u){return u===null||u===35||or(u)?(t.exit("atxHeadingText"),i(u)):(t.consume(u),l)}}},fP=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],U0=["pre","script","style","textarea"],pP={concrete:!0,name:"htmlFlow",resolveTo:function(t){let e=t.length;for(;e--&&(t[e][0]!=="enter"||t[e][1].type!=="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t},tokenize:function(t,e,n){const r=this;let o,i,a,l,u;return function(I){return(function(J){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(J),d})(I)};function d(I){return I===33?(t.consume(I),p):I===47?(t.consume(I),i=!0,m):I===63?(t.consume(I),o=3,r.interrupt?e:G):To(I)?(t.consume(I),a=String.fromCharCode(I),y):n(I)}function p(I){return I===45?(t.consume(I),o=2,h):I===91?(t.consume(I),o=5,l=0,A):To(I)?(t.consume(I),o=4,r.interrupt?e:G):n(I)}function h(I){return I===45?(t.consume(I),r.interrupt?e:G):n(I)}function A(I){return I==="CDATA[".charCodeAt(l++)?(t.consume(I),l===6?r.interrupt?e:q:A):n(I)}function m(I){return To(I)?(t.consume(I),a=String.fromCharCode(I),y):n(I)}function y(I){if(I===null||I===47||I===62||or(I)){const J=I===47,ve=a.toLowerCase();return J||i||!U0.includes(ve)?fP.includes(a.toLowerCase())?(o=6,J?(t.consume(I),w):r.interrupt?e(I):q(I)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(I):i?b(I):P(I)):(o=1,r.interrupt?e(I):q(I))}return I===45||Cr(I)?(t.consume(I),a+=String.fromCharCode(I),y):n(I)}function w(I){return I===62?(t.consume(I),r.interrupt?e:q):n(I)}function b(I){return Dt(I)?(t.consume(I),b):V(I)}function P(I){return I===47?(t.consume(I),V):I===58||I===95||To(I)?(t.consume(I),M):Dt(I)?(t.consume(I),P):V(I)}function M(I){return I===45||I===46||I===58||I===95||Cr(I)?(t.consume(I),M):D(I)}function D(I){return I===61?(t.consume(I),C):Dt(I)?(t.consume(I),D):P(I)}function C(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(t.consume(I),u=I,j):Dt(I)?(t.consume(I),C):R(I)}function j(I){return I===u?(t.consume(I),u=null,z):I===null||ot(I)?n(I):(t.consume(I),j)}function R(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||or(I)?D(I):(t.consume(I),R)}function z(I){return I===47||I===62||Dt(I)?P(I):n(I)}function V(I){return I===62?(t.consume(I),K):n(I)}function K(I){return I===null||ot(I)?q(I):Dt(I)?(t.consume(I),K):n(I)}function q(I){return I===45&&o===2?(t.consume(I),ue):I===60&&o===1?(t.consume(I),te):I===62&&o===4?(t.consume(I),N):I===63&&o===3?(t.consume(I),G):I===93&&o===5?(t.consume(I),ee):!ot(I)||o!==6&&o!==7?I===null||ot(I)?(t.exit("htmlFlowData"),Z(I)):(t.consume(I),q):(t.exit("htmlFlowData"),t.check(hP,de,Z)(I))}function Z(I){return t.check(AP,W,de)(I)}function W(I){return t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),oe}function oe(I){return I===null||ot(I)?Z(I):(t.enter("htmlFlowData"),q(I))}function ue(I){return I===45?(t.consume(I),G):q(I)}function te(I){return I===47?(t.consume(I),a="",pe):q(I)}function pe(I){if(I===62){const J=a.toLowerCase();return U0.includes(J)?(t.consume(I),N):q(I)}return To(I)&&a.length<8?(t.consume(I),a+=String.fromCharCode(I),pe):q(I)}function ee(I){return I===93?(t.consume(I),G):q(I)}function G(I){return I===62?(t.consume(I),N):I===45&&o===2?(t.consume(I),G):q(I)}function N(I){return I===null||ot(I)?(t.exit("htmlFlowData"),de(I)):(t.consume(I),N)}function de(I){return t.exit("htmlFlow"),e(I)}}},hP={partial:!0,tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(eu,e,n)}}},AP={partial:!0,tokenize:function(t,e,n){const r=this;return function(i){return ot(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),o):n(i)};function o(i){return r.parser.lazy[r.now().line]?n(i):e(i)}}},gP={name:"htmlText",tokenize:function(t,e,n){const r=this;let o,i,a;return function(N){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(N),l};function l(N){return N===33?(t.consume(N),u):N===47?(t.consume(N),C):N===63?(t.consume(N),M):To(N)?(t.consume(N),z):n(N)}function u(N){return N===45?(t.consume(N),d):N===91?(t.consume(N),i=0,m):To(N)?(t.consume(N),P):n(N)}function d(N){return N===45?(t.consume(N),A):n(N)}function p(N){return N===null?n(N):N===45?(t.consume(N),h):ot(N)?(a=p,pe(N)):(t.consume(N),p)}function h(N){return N===45?(t.consume(N),A):p(N)}function A(N){return N===62?te(N):N===45?h(N):p(N)}function m(N){return N==="CDATA[".charCodeAt(i++)?(t.consume(N),i===6?y:m):n(N)}function y(N){return N===null?n(N):N===93?(t.consume(N),w):ot(N)?(a=y,pe(N)):(t.consume(N),y)}function w(N){return N===93?(t.consume(N),b):y(N)}function b(N){return N===62?te(N):N===93?(t.consume(N),b):y(N)}function P(N){return N===null||N===62?te(N):ot(N)?(a=P,pe(N)):(t.consume(N),P)}function M(N){return N===null?n(N):N===63?(t.consume(N),D):ot(N)?(a=M,pe(N)):(t.consume(N),M)}function D(N){return N===62?te(N):M(N)}function C(N){return To(N)?(t.consume(N),j):n(N)}function j(N){return N===45||Cr(N)?(t.consume(N),j):R(N)}function R(N){return ot(N)?(a=R,pe(N)):Dt(N)?(t.consume(N),R):te(N)}function z(N){return N===45||Cr(N)?(t.consume(N),z):N===47||N===62||or(N)?V(N):n(N)}function V(N){return N===47?(t.consume(N),te):N===58||N===95||To(N)?(t.consume(N),K):ot(N)?(a=V,pe(N)):Dt(N)?(t.consume(N),V):te(N)}function K(N){return N===45||N===46||N===58||N===95||Cr(N)?(t.consume(N),K):q(N)}function q(N){return N===61?(t.consume(N),Z):ot(N)?(a=q,pe(N)):Dt(N)?(t.consume(N),q):V(N)}function Z(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(t.consume(N),o=N,W):ot(N)?(a=Z,pe(N)):Dt(N)?(t.consume(N),Z):(t.consume(N),oe)}function W(N){return N===o?(t.consume(N),o=void 0,ue):N===null?n(N):ot(N)?(a=W,pe(N)):(t.consume(N),W)}function oe(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===47||N===62||or(N)?V(N):(t.consume(N),oe)}function ue(N){return N===47||N===62||or(N)?V(N):n(N)}function te(N){return N===62?(t.consume(N),t.exit("htmlTextData"),t.exit("htmlText"),e):n(N)}function pe(N){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),ee}function ee(N){return Dt(N)?jt(t,G,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):G(N)}function G(N){return t.enter("htmlTextData"),a(N)}}},up={name:"labelEnd",resolveAll:function(t){let e=-1;const n=[];for(;++e<t.length;){const r=t[e][1];if(n.push(t[e]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",e+=o}}return t.length!==n.length&&Do(t,0,t.length,n),t},resolveTo:function(t,e){let n,r,o,i,a=t.length,l=0;for(;a--;)if(n=t[a][1],r){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;t[a][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(o){if(t[a][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(r=a,n.type!=="labelLink")){l=2;break}}else n.type==="labelEnd"&&(o=a);const u={type:t[r][1].type==="labelLink"?"link":"image",start:{...t[r][1].start},end:{...t[t.length-1][1].end}},d={type:"label",start:{...t[r][1].start},end:{...t[o][1].end}},p={type:"labelText",start:{...t[r+l+2][1].end},end:{...t[o-2][1].start}};return i=[["enter",u,e],["enter",d,e]],i=Ur(i,t.slice(r+1,r+l+3)),i=Ur(i,[["enter",p,e]]),i=Ur(i,ap(e.parser.constructs.insideSpan.null,t.slice(r+l+4,o-3),e)),i=Ur(i,[["exit",p,e],t[o-2],t[o-1],["exit",d,e]]),i=Ur(i,t.slice(o+1)),i=Ur(i,[["exit",u,e]]),Do(t,r,t.length,i),t},tokenize:function(t,e,n){const r=this;let o,i,a=r.events.length;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(h){return o?o._inactive?p(h):(i=r.parser.defined.includes(la(r.sliceSerialize({start:o.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelEnd"),l):n(h)};function l(h){return h===40?t.attempt(mP,d,i?d:p)(h):h===91?t.attempt(vP,d,i?u:p)(h):i?d(h):p(h)}function u(h){return t.attempt(yP,d,p)(h)}function d(h){return e(h)}function p(h){return o._balanced=!0,n(h)}}},mP={tokenize:function(t,e,n){return function(p){return t.enter("resource"),t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),r};function r(p){return or(p)?bl(t,o)(p):o(p)}function o(p){return p===41?d(p):z0(t,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function i(p){return or(p)?bl(t,l)(p):d(p)}function a(p){return n(p)}function l(p){return p===34||p===39||p===40?H0(t,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):d(p)}function u(p){return or(p)?bl(t,d)(p):d(p)}function d(p){return p===41?(t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),t.exit("resource"),e):n(p)}}},vP={tokenize:function(t,e,n){const r=this;return function(a){return Q0.call(r,t,o,i,"reference","referenceMarker","referenceString")(a)};function o(a){return r.parser.defined.includes(la(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):n(a)}function i(a){return n(a)}}},yP={tokenize:function(t,e,n){return function(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),r};function r(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),e):n(o)}}},bP={name:"labelStartImage",resolveAll:up.resolveAll,tokenize:function(t,e,n){const r=this;return function(a){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(a),t.exit("labelImageMarker"),o};function o(a){return a===91?(t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelImage"),i):n(a)}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):e(a)}}},xP={name:"labelStartLink",resolveAll:up.resolveAll,tokenize:function(t,e,n){const r=this;return function(i){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(i),t.exit("labelMarker"),t.exit("labelLink"),o};function o(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):e(i)}}},dp={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),jt(t,e,"linePrefix")}}},tu={name:"thematicBreak",tokenize:function(t,e,n){let r,o=0;return function(l){return t.enter("thematicBreak"),(function(u){return r=u,i(u)})(l)};function i(l){return l===r?(t.enter("thematicBreakSequence"),a(l)):o>=3&&(l===null||ot(l))?(t.exit("thematicBreak"),e(l)):n(l)}function a(l){return l===r?(t.consume(l),o++,a):(t.exit("thematicBreakSequence"),Dt(l)?jt(t,i,"whitespace")(l):i(l))}}},ir={continuation:{tokenize:function(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(eu,function(i){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,jt(t,e,"listItemIndent",r.containerState.size+1)(i)},function(i){return r.containerState.furtherBlankLines||!Dt(i)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(i)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(kP,e,o)(i))});function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,jt(t,t.attempt(ir,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)},name:"list",tokenize:function(t,e,n){const r=this,o=r.events[r.events.length-1];let i=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(A){const m=r.containerState.type||(A===42||A===43||A===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||A===r.containerState.marker:sp(A)){if(r.containerState.type||(r.containerState.type=m,t.enter(m,{_container:!0})),m==="listUnordered")return t.enter("listItemPrefix"),A===42||A===45?t.check(tu,n,u)(A):u(A);if(!r.interrupt||A===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(A)}return n(A)};function l(A){return sp(A)&&++a<10?(t.consume(A),l):(!r.interrupt||a<2)&&(r.containerState.marker?A===r.containerState.marker:A===41||A===46)?(t.exit("listItemValue"),u(A)):n(A)}function u(A){return t.enter("listItemMarker"),t.consume(A),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||A,t.check(eu,r.interrupt?n:d,t.attempt(wP,h,p))}function d(A){return r.containerState.initialBlankLine=!0,i++,h(A)}function p(A){return Dt(A)?(t.enter("listItemPrefixWhitespace"),t.consume(A),t.exit("listItemPrefixWhitespace"),h):n(A)}function h(A){return r.containerState.size=i+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(A)}}},wP={partial:!0,tokenize:function(t,e,n){const r=this;return jt(t,function(o){const i=r.events[r.events.length-1];return!Dt(o)&&i&&i[1].type==="listItemPrefixWhitespace"?e(o):n(o)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},kP={partial:!0,tokenize:function(t,e,n){const r=this;return jt(t,function(o){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(o):n(o)},"listItemIndent",r.containerState.size+1)}},V0={name:"setextUnderline",resolveTo:function(t,e){let n,r,o,i=t.length;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){n=i;break}t[i][1].type==="paragraph"&&(r=i)}else t[i][1].type==="content"&&t.splice(i,1),!o&&t[i][1].type==="definition"&&(o=i);const a={type:"setextHeading",start:{...t[r][1].start},end:{...t[t.length-1][1].end}};return t[r][1].type="setextHeadingText",o?(t.splice(r,0,["enter",a,e]),t.splice(o+1,0,["exit",t[n][1],e]),t[n][1].end={...t[o][1].end}):t[n][1]=a,t.push(["exit",a,e]),t},tokenize:function(t,e,n){const r=this;let o;return function(l){let u,d=r.events.length;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){u=r.events[d][1].type==="paragraph";break}return r.parser.lazy[r.now().line]||!r.interrupt&&!u?n(l):(t.enter("setextHeadingLine"),o=l,(function(p){return t.enter("setextHeadingLineSequence"),i(p)})(l))};function i(l){return l===o?(t.consume(l),i):(t.exit("setextHeadingLineSequence"),Dt(l)?jt(t,a,"lineSuffix")(l):a(l))}function a(l){return l===null||ot(l)?(t.exit("setextHeadingLine"),e(l)):n(l)}}},SP={tokenize:function(t){const e=this,n=t.attempt(eu,function(o){return o===null?void t.consume(o):(t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n)},t.attempt(this.parser.constructs.flowInitial,r,jt(t,t.attempt(this.parser.constructs.flow,r,t.attempt(sP,r)),"linePrefix")));return n;function r(o){if(o!==null)return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(o)}}},EP={resolveAll:Y0()},CP=W0("string"),PP=W0("text");function W0(t){return{resolveAll:Y0(t==="text"?DP:void 0),tokenize:function(e){const n=this,r=this.parser.constructs[t],o=e.attempt(r,i,a);return i;function i(d){return u(d)?o(d):a(d)}function a(d){if(d!==null)return e.enter("data"),e.consume(d),l;e.consume(d)}function l(d){return u(d)?(e.exit("data"),o(d)):(e.consume(d),l)}function u(d){if(d===null)return!0;const p=r[d];let h=-1;if(p)for(;++h<p.length;){const A=p[h];if(!A.previous||A.previous.call(n,n.previous))return!0}return!1}}}}function Y0(t){return function(e,n){let r,o=-1;for(;++o<=e.length;)r===void 0?e[o]&&e[o][1].type==="data"&&(r=o,o++):(!e[o]||e[o][1].type!=="data")&&(o!==r+2&&(e[r][1].end=e[o-1][1].end,e.splice(r+2,o-r-2),o=r+2),r=void 0);return t?t(e,n):e}}function DP(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){const r=t[n-1][1],o=e.sliceStream(r);let i,a=o.length,l=-1,u=0;for(;a--;){const d=o[a];if(typeof d=="string"){for(l=d.length;d.charCodeAt(l-1)===32;)u++,l--;if(l)break;l=-1}else if(d===-2)i=!0,u++;else if(d!==-1){a++;break}}if(u){const d={type:n===t.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:r.start._bufferIndex+l,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...d.start},r.start.offset===r.end.offset?Object.assign(r,d):(t.splice(n,0,["enter",d,e],["exit",d,e]),n+=2)}n++}return t}const TP={42:ir,43:ir,45:ir,48:ir,49:ir,50:ir,51:ir,52:ir,53:ir,54:ir,55:ir,56:ir,57:ir,62:O0},BP={91:lP},_P={[-2]:cp,[-1]:cp,32:cp},IP={35:dP,42:tu,45:[V0,tu],60:pP,61:V0,95:tu,96:F0,126:F0},MP={38:L0,92:R0},OP={[-5]:dp,[-4]:dp,[-3]:dp,33:bP,38:L0,42:lp,60:[tP,gP],91:xP,92:[uP,R0],93:up,95:lp,96:rP},RP={null:[lp,EP]},LP=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:BP,disable:{null:[]},document:TP,flow:IP,flowInitial:_P,insideSpan:RP,string:MP,text:OP},Symbol.toStringTag,{value:"Module"}));function NP(t,e,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let a=[],l=[];const u={attempt:w(function(M,D){b(M,D.from)}),check:w(y),consume:function(M){ot(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,P()):M!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),d.previous=M},enter:function(M,D){const C=D||{};return C.type=M,C.start=A(),d.events.push(["enter",C,d]),l.push(C),C},exit:function(M){const D=l.pop();return D.end=A(),d.events.push(["exit",D,d]),D},interrupt:w(y,{interrupt:!0})},d={code:null,containerState:{},defineSkip:function(M){o[M.line]=M.column,P()},events:[],now:A,parser:t,previous:null,sliceSerialize:function(M,D){return(function(C,j){let R=-1;const z=[];let V;for(;++R<C.length;){const K=C[R];let q;if(typeof K=="string")q=K;else switch(K){case-5:q="\r";break;case-4:q=`
35
35
  `;break;case-3:q=`\r
36
- `;break;case-2:q=j?" ":" ";break;case-1:if(!j&&V)continue;q=" ";break;default:q=String.fromCharCode(K)}V=K===-2,z.push(q)}return z.join("")})(h(M),D)},sliceStream:h,write:function(M){return a=Ur(a,M),(function(){let D;for(;r._index<a.length;){const C=a[r._index];if(typeof C=="string")for(D=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===D&&r._bufferIndex<C.length;)m(C.charCodeAt(r._bufferIndex));else m(C)}})(),a[a.length-1]!==null?[]:(b(e,0),d.events=ap(i,d.events,d),d.events)}};let p=e.tokenize.call(d,u);return e.resolveAll&&i.push(e),d;function h(M){return(function(D,C){const j=C.start._index,R=C.start._bufferIndex,z=C.end._index,V=C.end._bufferIndex;let K;if(j===z)K=[D[j].slice(R,V)];else{if(K=D.slice(j,z),R>-1){const q=K[0];typeof q=="string"?K[0]=q.slice(R):K.shift()}V>0&&K.push(D[z].slice(0,V))}return K})(a,M)}function A(){const{_bufferIndex:M,_index:D,line:C,column:j,offset:R}=r;return{_bufferIndex:M,_index:D,line:C,column:j,offset:R}}function m(M){p=p(M)}function y(M,D){D.restore()}function w(M,D){return function(C,j,R){let z,V,K,q;return Array.isArray(C)?Z(C):"tokenize"in C?Z([C]):(function(te){return pe;function pe(ee){const G=ee!==null&&te[ee],N=ee!==null&&te.null;return Z([...Array.isArray(G)?G:G?[G]:[],...Array.isArray(N)?N:N?[N]:[]])(ee)}})(C);function Z(te){return z=te,V=0,te.length===0?R:W(te[V])}function W(te){return function(pe){return q=(function(){const ee=A(),G=d.previous,N=d.currentConstruct,de=d.events.length,I=Array.from(l);return{from:de,restore:J};function J(){r=ee,d.previous=G,d.currentConstruct=N,d.events.length=de,l=I,P()}})(),K=te,te.partial||(d.currentConstruct=te),te.name&&d.parser.constructs.disable.null.includes(te.name)?ue():te.tokenize.call(D?Object.assign(Object.create(d),D):d,u,oe,ue)(pe)}}function oe(te){return M(K,q),j}function ue(te){return q.restore(),++V<z.length?W(z[V]):R}}}function b(M,D){M.resolveAll&&!i.includes(M)&&i.push(M),M.resolve&&Do(d.events,D,d.events.length-D,M.resolve(d.events.slice(D),d)),M.resolveTo&&(d.events=M.resolveTo(d.events,d))}function P(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const q0=/[\0\t\n\r]/g,FP=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function jP(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),o=r===120||r===88;return B0(n.slice(o?2:1),o?16:10)}return op(n)||t}const K0={}.hasOwnProperty;function zP(t,e,n){return typeof e!="string"&&(n=e,e=void 0),(function(r){const o={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(dt),autolinkProtocol:W,autolinkEmail:W,atxHeading:u(gt),blockQuote:u(Ee),characterEscape:W,characterReference:W,codeFenced:u(Xe),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:u(Xe,d),codeText:u(Ge,d),codeTextData:W,data:W,codeFlowValue:W,definition:u(At),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:u(lt),hardBreakEscape:u(yt),hardBreakTrailing:u(yt),htmlFlow:u(mt,d),htmlFlowData:W,htmlText:u(mt,d),htmlTextData:W,image:u(Rt),label:d,link:u(dt),listItem:u(fn),listItemValue:w,listOrdered:u(Ke,y),listUnordered:u(Ke),paragraph:u(Yt),reference:_e,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:u(gt),strong:u(vn),thematicBreak:u(_t)},exit:{atxHeading:h(),atxHeadingSequence:V,autolink:h(),autolinkEmail:Me,autolinkProtocol:wt,blockQuote:h(),characterEscapeValue:oe,characterReferenceMarkerHexadecimal:Ve,characterReferenceMarkerNumeric:Ve,characterReferenceValue:ze,characterReference:$e,codeFenced:h(D),codeFencedFence:M,codeFencedFenceInfo:b,codeFencedFenceMeta:P,codeFlowValue:oe,codeIndented:h(C),codeText:h(G),codeTextData:oe,data:oe,definition:h(),definitionDestinationString:z,definitionLabelString:j,definitionTitleString:R,emphasis:h(),hardBreakEscape:h(te),hardBreakTrailing:h(te),htmlFlow:h(pe),htmlFlowData:oe,htmlText:h(ee),htmlTextData:oe,image:h(de),label:J,labelText:I,lineEnding:ue,link:h(N),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:Oe,resourceDestinationString:ve,resourceTitleString:me,resource:we,setextHeading:h(Z),setextHeadingLineSequence:q,setextHeadingText:K,strong:h(),thematicBreak:h()}};G0(o,(r||{}).mdastExtensions||[]);const i={};return a;function a(fe){let Le={type:"root",children:[]};const Be={stack:[Le],tokenStack:[],config:o,enter:p,exit:A,buffer:d,resume:m,data:i},ct=[];let We=-1;for(;++We<fe.length;)(fe[We][1].type==="listOrdered"||fe[We][1].type==="listUnordered")&&(fe[We][0]==="enter"?ct.push(We):We=l(fe,ct.pop(),We));for(We=-1;++We<fe.length;){const le=o[fe[We][0]];K0.call(le,fe[We][1].type)&&le[fe[We][1].type].call(Object.assign({sliceSerialize:fe[We][2].sliceSerialize},Be),fe[We][1])}if(Be.tokenStack.length>0){const le=Be.tokenStack[Be.tokenStack.length-1];(le[1]||X0).call(Be,void 0,le[0])}for(Le.position={start:Oi(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:Oi(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<o.transforms.length;)Le=o.transforms[We](Le)||Le;return Le}function l(fe,Le,Be){let ct,We,le,Ce,Te=Le-1,qe=-1,He=!1;for(;++Te<=Be;){const Ne=fe[Te];switch(Ne[1].type){case"listUnordered":case"listOrdered":case"blockQuote":Ne[0]==="enter"?qe++:qe--,Ce=void 0;break;case"lineEndingBlank":Ne[0]==="enter"&&(ct&&!Ce&&!qe&&!le&&(le=Te),Ce=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ce=void 0}if(!qe&&Ne[0]==="enter"&&Ne[1].type==="listItemPrefix"||qe===-1&&Ne[0]==="exit"&&(Ne[1].type==="listUnordered"||Ne[1].type==="listOrdered")){if(ct){let bt=Te;for(We=void 0;bt--;){const xt=fe[bt];if(xt[1].type==="lineEnding"||xt[1].type==="lineEndingBlank"){if(xt[0]==="exit")continue;We&&(fe[We][1].type="lineEndingBlank",He=!0),xt[1].type="lineEnding",We=bt}else if(xt[1].type!=="linePrefix"&&xt[1].type!=="blockQuotePrefix"&&xt[1].type!=="blockQuotePrefixWhitespace"&&xt[1].type!=="blockQuoteMarker"&&xt[1].type!=="listItemIndent")break}le&&(!We||le<We)&&(ct._spread=!0),ct.end=Object.assign({},We?fe[We][1].start:Ne[1].end),fe.splice(We||Te,0,["exit",ct,Ne[2]]),Te++,Be++}if(Ne[1].type==="listItemPrefix"){const bt={type:"listItem",_spread:!1,start:Object.assign({},Ne[1].start),end:void 0};ct=bt,fe.splice(Te,0,["enter",bt,Ne[2]]),Te++,Be++,le=void 0,Ce=!0}}}return fe[Le][1]._spread=He,Be}function u(fe,Le){return Be;function Be(ct){p.call(this,fe(ct),ct),Le&&Le.call(this,ct)}}function d(){this.stack.push({type:"fragment",children:[]})}function p(fe,Le,Be){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([Le,Be||void 0]),fe.position={start:Oi(Le.start),end:void 0}}function h(fe){return Le;function Le(Be){fe&&fe.call(this,Be),A.call(this,Be)}}function A(fe,Le){const Be=this.stack.pop(),ct=this.tokenStack.pop();if(!ct)throw new Error("Cannot close `"+fe.type+"` ("+ml({start:fe.start,end:fe.end})+"): it’s not open");ct[0].type!==fe.type&&(Le?Le.call(this,fe,ct[0]):(ct[1]||X0).call(this,fe,ct[0])),Be.position.end=Oi(fe.end)}function m(){return(function(fe){return C0(fe,typeof $c.includeImageAlt!="boolean"||$c.includeImageAlt,typeof $c.includeHtml!="boolean"||$c.includeHtml)})(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function w(fe){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0)}function b(){const fe=this.resume();this.stack[this.stack.length-1].lang=fe}function P(){const fe=this.resume();this.stack[this.stack.length-1].meta=fe}function M(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const fe=this.resume();this.stack[this.stack.length-1].value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const fe=this.resume();this.stack[this.stack.length-1].value=fe.replace(/(\r?\n|\r)$/g,"")}function j(fe){const Le=this.resume(),Be=this.stack[this.stack.length-1];Be.label=Le,Be.identifier=la(this.sliceSerialize(fe)).toLowerCase()}function R(){const fe=this.resume();this.stack[this.stack.length-1].title=fe}function z(){const fe=this.resume();this.stack[this.stack.length-1].url=fe}function V(fe){const Le=this.stack[this.stack.length-1];if(!Le.depth){const Be=this.sliceSerialize(fe).length;Le.depth=Be}}function K(){this.data.setextHeadingSlurpLineEnding=!0}function q(fe){this.stack[this.stack.length-1].depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function Z(){this.data.setextHeadingSlurpLineEnding=void 0}function W(fe){const Le=this.stack[this.stack.length-1].children;let Be=Le[Le.length-1];(!Be||Be.type!=="text")&&(Be=nn(),Be.position={start:Oi(fe.start),end:void 0},Le.push(Be)),this.stack.push(Be)}function oe(fe){const Le=this.stack.pop();Le.value+=this.sliceSerialize(fe),Le.position.end=Oi(fe.end)}function ue(fe){const Le=this.stack[this.stack.length-1];if(this.data.atHardBreak)return Le.children[Le.children.length-1].position.end=Oi(fe.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&o.canContainEols.includes(Le.type)&&(W.call(this,fe),oe.call(this,fe))}function te(){this.data.atHardBreak=!0}function pe(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function ee(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function G(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function N(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Le,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function de(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Le,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function I(fe){const Le=this.sliceSerialize(fe),Be=this.stack[this.stack.length-2];Be.label=(function(ct){return ct.replace(FP,jP)})(Le),Be.identifier=la(Le).toLowerCase()}function J(){const fe=this.stack[this.stack.length-1],Le=this.resume(),Be=this.stack[this.stack.length-1];if(this.data.inReference=!0,Be.type==="link"){const ct=fe.children;Be.children=ct}else Be.alt=Le}function ve(){const fe=this.resume();this.stack[this.stack.length-1].url=fe}function me(){const fe=this.resume();this.stack[this.stack.length-1].title=fe}function we(){this.data.inReference=void 0}function _e(){this.data.referenceType="collapsed"}function Oe(fe){const Le=this.resume(),Be=this.stack[this.stack.length-1];Be.label=Le,Be.identifier=la(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function Ve(fe){this.data.characterReferenceType=fe.type}function ze(fe){const Le=this.sliceSerialize(fe),Be=this.data.characterReferenceType;let ct;Be?(ct=B0(Le,Be==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ct=op(Le),this.stack[this.stack.length-1].value+=ct}function $e(fe){this.stack.pop().position.end=Oi(fe.end)}function wt(fe){oe.call(this,fe),this.stack[this.stack.length-1].url=this.sliceSerialize(fe)}function Me(fe){oe.call(this,fe),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(fe)}function Ee(){return{type:"blockquote",children:[]}}function Xe(){return{type:"code",lang:null,meta:null,value:""}}function Ge(){return{type:"inlineCode",value:""}}function At(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function lt(){return{type:"emphasis",children:[]}}function gt(){return{type:"heading",depth:0,children:[]}}function yt(){return{type:"break"}}function mt(){return{type:"html",value:""}}function Rt(){return{type:"image",title:null,url:"",alt:null}}function dt(){return{type:"link",title:null,url:"",children:[]}}function Ke(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function fn(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function Yt(){return{type:"paragraph",children:[]}}function vn(){return{type:"strong",children:[]}}function nn(){return{type:"text",value:""}}function _t(){return{type:"thematicBreak"}}})(n)((function(r){for(;!j0(r););return r})((function(r){const o={constructs:WC([LP,...(r||{}).extensions||[]]),content:i($C),defined:[],document:i(eP),flow:i(SP),lazy:{},string:i(CP),text:i(PP)};return o;function i(a){return function(l){return NP(o,a,l)}}})(n).document().write((function(){let r,o=1,i="",a=!0;return function(l,u,d){const p=[];let h,A,m,y,w;for(l=i+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),m=0,i="",a&&(l.charCodeAt(0)===65279&&m++,a=void 0);m<l.length;){if(q0.lastIndex=m,h=q0.exec(l),y=h&&h.index!==void 0?h.index:l.length,w=l.charCodeAt(y),!h){i=l.slice(m);break}if(w===10&&m===y&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),m<y&&(p.push(l.slice(m,y)),o+=y-m),w){case 0:p.push(65533),o++;break;case 9:for(A=4*Math.ceil(o/4),p.push(-2);o++<A;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:r=!0,o=1}m=y+1}return d&&(r&&p.push(-5),i&&p.push(i),p.push(null)),p}})()(t,e,!0))))}function Oi(t){return{line:t.line,column:t.column,offset:t.offset}}function G0(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?G0(t,r):QP(t,r)}}function QP(t,e){let n;for(n in e)if(K0.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function X0(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+ml({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+ml({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+ml({start:e.start,end:e.end})+") is still open")}function HP(t){const e=this;e.parser=function(n){return zP(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function J0(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const o=t.all(e),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function Z0(t){return t.spread??t.children.length>1}function UP(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),o=0;const i=[];for(;r;)i.push($0(e.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(e);return i.push($0(e.slice(o),o>0,!1)),i.join("")}function $0(t,e,n){let r=0,o=t.length;if(e){let i=t.codePointAt(r);for(;i===9||i===32;)r++,i=t.codePointAt(r)}if(n){let i=t.codePointAt(o-1);for(;i===9||i===32;)o--,i=t.codePointAt(o-1)}return o>r?t.slice(r,o):""}const VP={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
36
+ `;break;case-2:q=j?" ":" ";break;case-1:if(!j&&V)continue;q=" ";break;default:q=String.fromCharCode(K)}V=K===-2,z.push(q)}return z.join("")})(h(M),D)},sliceStream:h,write:function(M){return a=Ur(a,M),(function(){let D;for(;r._index<a.length;){const C=a[r._index];if(typeof C=="string")for(D=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===D&&r._bufferIndex<C.length;)m(C.charCodeAt(r._bufferIndex));else m(C)}})(),a[a.length-1]!==null?[]:(b(e,0),d.events=ap(i,d.events,d),d.events)}};let p=e.tokenize.call(d,u);return e.resolveAll&&i.push(e),d;function h(M){return(function(D,C){const j=C.start._index,R=C.start._bufferIndex,z=C.end._index,V=C.end._bufferIndex;let K;if(j===z)K=[D[j].slice(R,V)];else{if(K=D.slice(j,z),R>-1){const q=K[0];typeof q=="string"?K[0]=q.slice(R):K.shift()}V>0&&K.push(D[z].slice(0,V))}return K})(a,M)}function A(){const{_bufferIndex:M,_index:D,line:C,column:j,offset:R}=r;return{_bufferIndex:M,_index:D,line:C,column:j,offset:R}}function m(M){p=p(M)}function y(M,D){D.restore()}function w(M,D){return function(C,j,R){let z,V,K,q;return Array.isArray(C)?Z(C):"tokenize"in C?Z([C]):(function(te){return pe;function pe(ee){const G=ee!==null&&te[ee],N=ee!==null&&te.null;return Z([...Array.isArray(G)?G:G?[G]:[],...Array.isArray(N)?N:N?[N]:[]])(ee)}})(C);function Z(te){return z=te,V=0,te.length===0?R:W(te[V])}function W(te){return function(pe){return q=(function(){const ee=A(),G=d.previous,N=d.currentConstruct,de=d.events.length,I=Array.from(l);return{from:de,restore:J};function J(){r=ee,d.previous=G,d.currentConstruct=N,d.events.length=de,l=I,P()}})(),K=te,te.partial||(d.currentConstruct=te),te.name&&d.parser.constructs.disable.null.includes(te.name)?ue():te.tokenize.call(D?Object.assign(Object.create(d),D):d,u,oe,ue)(pe)}}function oe(te){return M(K,q),j}function ue(te){return q.restore(),++V<z.length?W(z[V]):R}}}function b(M,D){M.resolveAll&&!i.includes(M)&&i.push(M),M.resolve&&Do(d.events,D,d.events.length-D,M.resolve(d.events.slice(D),d)),M.resolveTo&&(d.events=M.resolveTo(d.events,d))}function P(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const q0=/[\0\t\n\r]/g,FP=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function jP(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),o=r===120||r===88;return B0(n.slice(o?2:1),o?16:10)}return op(n)||t}const K0={}.hasOwnProperty;function zP(t,e,n){return typeof e!="string"&&(n=e,e=void 0),(function(r){const o={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(dt),autolinkProtocol:W,autolinkEmail:W,atxHeading:u(gt),blockQuote:u(Ee),characterEscape:W,characterReference:W,codeFenced:u(Xe),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:u(Xe,d),codeText:u(Ge,d),codeTextData:W,data:W,codeFlowValue:W,definition:u(At),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:u(lt),hardBreakEscape:u(yt),hardBreakTrailing:u(yt),htmlFlow:u(mt,d),htmlFlowData:W,htmlText:u(mt,d),htmlTextData:W,image:u(Rt),label:d,link:u(dt),listItem:u(fn),listItemValue:w,listOrdered:u(Ke,y),listUnordered:u(Ke),paragraph:u(Yt),reference:_e,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:u(gt),strong:u(vn),thematicBreak:u(_t)},exit:{atxHeading:h(),atxHeadingSequence:V,autolink:h(),autolinkEmail:Me,autolinkProtocol:wt,blockQuote:h(),characterEscapeValue:oe,characterReferenceMarkerHexadecimal:Ve,characterReferenceMarkerNumeric:Ve,characterReferenceValue:ze,characterReference:$e,codeFenced:h(D),codeFencedFence:M,codeFencedFenceInfo:b,codeFencedFenceMeta:P,codeFlowValue:oe,codeIndented:h(C),codeText:h(G),codeTextData:oe,data:oe,definition:h(),definitionDestinationString:z,definitionLabelString:j,definitionTitleString:R,emphasis:h(),hardBreakEscape:h(te),hardBreakTrailing:h(te),htmlFlow:h(pe),htmlFlowData:oe,htmlText:h(ee),htmlTextData:oe,image:h(de),label:J,labelText:I,lineEnding:ue,link:h(N),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:Oe,resourceDestinationString:ve,resourceTitleString:me,resource:we,setextHeading:h(Z),setextHeadingLineSequence:q,setextHeadingText:K,strong:h(),thematicBreak:h()}};G0(o,(r||{}).mdastExtensions||[]);const i={};return a;function a(fe){let Le={type:"root",children:[]};const Be={stack:[Le],tokenStack:[],config:o,enter:p,exit:A,buffer:d,resume:m,data:i},ct=[];let We=-1;for(;++We<fe.length;)(fe[We][1].type==="listOrdered"||fe[We][1].type==="listUnordered")&&(fe[We][0]==="enter"?ct.push(We):We=l(fe,ct.pop(),We));for(We=-1;++We<fe.length;){const le=o[fe[We][0]];K0.call(le,fe[We][1].type)&&le[fe[We][1].type].call(Object.assign({sliceSerialize:fe[We][2].sliceSerialize},Be),fe[We][1])}if(Be.tokenStack.length>0){const le=Be.tokenStack[Be.tokenStack.length-1];(le[1]||X0).call(Be,void 0,le[0])}for(Le.position={start:Oi(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:Oi(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<o.transforms.length;)Le=o.transforms[We](Le)||Le;return Le}function l(fe,Le,Be){let ct,We,le,Ce,Te=Le-1,qe=-1,He=!1;for(;++Te<=Be;){const Ne=fe[Te];switch(Ne[1].type){case"listUnordered":case"listOrdered":case"blockQuote":Ne[0]==="enter"?qe++:qe--,Ce=void 0;break;case"lineEndingBlank":Ne[0]==="enter"&&(ct&&!Ce&&!qe&&!le&&(le=Te),Ce=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ce=void 0}if(!qe&&Ne[0]==="enter"&&Ne[1].type==="listItemPrefix"||qe===-1&&Ne[0]==="exit"&&(Ne[1].type==="listUnordered"||Ne[1].type==="listOrdered")){if(ct){let bt=Te;for(We=void 0;bt--;){const xt=fe[bt];if(xt[1].type==="lineEnding"||xt[1].type==="lineEndingBlank"){if(xt[0]==="exit")continue;We&&(fe[We][1].type="lineEndingBlank",He=!0),xt[1].type="lineEnding",We=bt}else if(xt[1].type!=="linePrefix"&&xt[1].type!=="blockQuotePrefix"&&xt[1].type!=="blockQuotePrefixWhitespace"&&xt[1].type!=="blockQuoteMarker"&&xt[1].type!=="listItemIndent")break}le&&(!We||le<We)&&(ct._spread=!0),ct.end=Object.assign({},We?fe[We][1].start:Ne[1].end),fe.splice(We||Te,0,["exit",ct,Ne[2]]),Te++,Be++}if(Ne[1].type==="listItemPrefix"){const bt={type:"listItem",_spread:!1,start:Object.assign({},Ne[1].start),end:void 0};ct=bt,fe.splice(Te,0,["enter",bt,Ne[2]]),Te++,Be++,le=void 0,Ce=!0}}}return fe[Le][1]._spread=He,Be}function u(fe,Le){return Be;function Be(ct){p.call(this,fe(ct),ct),Le&&Le.call(this,ct)}}function d(){this.stack.push({type:"fragment",children:[]})}function p(fe,Le,Be){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([Le,Be||void 0]),fe.position={start:Oi(Le.start),end:void 0}}function h(fe){return Le;function Le(Be){fe&&fe.call(this,Be),A.call(this,Be)}}function A(fe,Le){const Be=this.stack.pop(),ct=this.tokenStack.pop();if(!ct)throw new Error("Cannot close `"+fe.type+"` ("+ml({start:fe.start,end:fe.end})+"): it’s not open");ct[0].type!==fe.type&&(Le?Le.call(this,fe,ct[0]):(ct[1]||X0).call(this,fe,ct[0])),Be.position.end=Oi(fe.end)}function m(){return(function(fe){return C0(fe,typeof $c.includeImageAlt!="boolean"||$c.includeImageAlt,typeof $c.includeHtml!="boolean"||$c.includeHtml)})(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function w(fe){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0)}function b(){const fe=this.resume();this.stack[this.stack.length-1].lang=fe}function P(){const fe=this.resume();this.stack[this.stack.length-1].meta=fe}function M(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const fe=this.resume();this.stack[this.stack.length-1].value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const fe=this.resume();this.stack[this.stack.length-1].value=fe.replace(/(\r?\n|\r)$/g,"")}function j(fe){const Le=this.resume(),Be=this.stack[this.stack.length-1];Be.label=Le,Be.identifier=la(this.sliceSerialize(fe)).toLowerCase()}function R(){const fe=this.resume();this.stack[this.stack.length-1].title=fe}function z(){const fe=this.resume();this.stack[this.stack.length-1].url=fe}function V(fe){const Le=this.stack[this.stack.length-1];if(!Le.depth){const Be=this.sliceSerialize(fe).length;Le.depth=Be}}function K(){this.data.setextHeadingSlurpLineEnding=!0}function q(fe){this.stack[this.stack.length-1].depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function Z(){this.data.setextHeadingSlurpLineEnding=void 0}function W(fe){const Le=this.stack[this.stack.length-1].children;let Be=Le[Le.length-1];(!Be||Be.type!=="text")&&(Be=qt(),Be.position={start:Oi(fe.start),end:void 0},Le.push(Be)),this.stack.push(Be)}function oe(fe){const Le=this.stack.pop();Le.value+=this.sliceSerialize(fe),Le.position.end=Oi(fe.end)}function ue(fe){const Le=this.stack[this.stack.length-1];if(this.data.atHardBreak)return Le.children[Le.children.length-1].position.end=Oi(fe.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&o.canContainEols.includes(Le.type)&&(W.call(this,fe),oe.call(this,fe))}function te(){this.data.atHardBreak=!0}function pe(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function ee(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function G(){const fe=this.resume();this.stack[this.stack.length-1].value=fe}function N(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Le,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function de(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Le,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function I(fe){const Le=this.sliceSerialize(fe),Be=this.stack[this.stack.length-2];Be.label=(function(ct){return ct.replace(FP,jP)})(Le),Be.identifier=la(Le).toLowerCase()}function J(){const fe=this.stack[this.stack.length-1],Le=this.resume(),Be=this.stack[this.stack.length-1];if(this.data.inReference=!0,Be.type==="link"){const ct=fe.children;Be.children=ct}else Be.alt=Le}function ve(){const fe=this.resume();this.stack[this.stack.length-1].url=fe}function me(){const fe=this.resume();this.stack[this.stack.length-1].title=fe}function we(){this.data.inReference=void 0}function _e(){this.data.referenceType="collapsed"}function Oe(fe){const Le=this.resume(),Be=this.stack[this.stack.length-1];Be.label=Le,Be.identifier=la(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function Ve(fe){this.data.characterReferenceType=fe.type}function ze(fe){const Le=this.sliceSerialize(fe),Be=this.data.characterReferenceType;let ct;Be?(ct=B0(Le,Be==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ct=op(Le),this.stack[this.stack.length-1].value+=ct}function $e(fe){this.stack.pop().position.end=Oi(fe.end)}function wt(fe){oe.call(this,fe),this.stack[this.stack.length-1].url=this.sliceSerialize(fe)}function Me(fe){oe.call(this,fe),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(fe)}function Ee(){return{type:"blockquote",children:[]}}function Xe(){return{type:"code",lang:null,meta:null,value:""}}function Ge(){return{type:"inlineCode",value:""}}function At(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function lt(){return{type:"emphasis",children:[]}}function gt(){return{type:"heading",depth:0,children:[]}}function yt(){return{type:"break"}}function mt(){return{type:"html",value:""}}function Rt(){return{type:"image",title:null,url:"",alt:null}}function dt(){return{type:"link",title:null,url:"",children:[]}}function Ke(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function fn(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function Yt(){return{type:"paragraph",children:[]}}function vn(){return{type:"strong",children:[]}}function qt(){return{type:"text",value:""}}function _t(){return{type:"thematicBreak"}}})(n)((function(r){for(;!j0(r););return r})((function(r){const o={constructs:WC([LP,...(r||{}).extensions||[]]),content:i($C),defined:[],document:i(eP),flow:i(SP),lazy:{},string:i(CP),text:i(PP)};return o;function i(a){return function(l){return NP(o,a,l)}}})(n).document().write((function(){let r,o=1,i="",a=!0;return function(l,u,d){const p=[];let h,A,m,y,w;for(l=i+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),m=0,i="",a&&(l.charCodeAt(0)===65279&&m++,a=void 0);m<l.length;){if(q0.lastIndex=m,h=q0.exec(l),y=h&&h.index!==void 0?h.index:l.length,w=l.charCodeAt(y),!h){i=l.slice(m);break}if(w===10&&m===y&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),m<y&&(p.push(l.slice(m,y)),o+=y-m),w){case 0:p.push(65533),o++;break;case 9:for(A=4*Math.ceil(o/4),p.push(-2);o++<A;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:r=!0,o=1}m=y+1}return d&&(r&&p.push(-5),i&&p.push(i),p.push(null)),p}})()(t,e,!0))))}function Oi(t){return{line:t.line,column:t.column,offset:t.offset}}function G0(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?G0(t,r):QP(t,r)}}function QP(t,e){let n;for(n in e)if(K0.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function X0(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+ml({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+ml({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+ml({start:e.start,end:e.end})+") is still open")}function HP(t){const e=this;e.parser=function(n){return zP(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function J0(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const o=t.all(e),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function Z0(t){return t.spread??t.children.length>1}function UP(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),o=0;const i=[];for(;r;)i.push($0(e.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(e);return i.push($0(e.slice(o),o>0,!1)),i.join("")}function $0(t,e,n){let r=0,o=t.length;if(e){let i=t.codePointAt(r);for(;i===9||i===32;)r++,i=t.codePointAt(r)}if(n){let i=t.codePointAt(o-1);for(;i===9||i===32;)o--,i=t.codePointAt(o-1)}return o>r?t.slice(r,o):""}const VP={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
37
37
  `}]},code:function(t,e){const n=e.value?e.value+`
38
38
  `:"",r={};e.lang&&(r.className=["language-"+e.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(o.data={meta:e.meta}),t.patch(e,o),o=t.applyData(e,o),o={type:"element",tagName:"pre",properties:{},children:[o]},t.patch(e,o),o},delete:function(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),o=ca(r.toLowerCase()),i=t.footnoteOrder.indexOf(r);let a,l=t.footnoteCounts.get(r);l===void 0?(l=0,t.footnoteOrder.push(r),a=t.footnoteOrder.length):a=i+1,l+=1,t.footnoteCounts.set(r,l);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,u);const d={type:"element",tagName:"sup",properties:{},children:[u]};return t.patch(e,d),t.applyData(e,d)},heading:function(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return J0(t,e);const o={src:ca(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return t.patch(e,i),t.applyData(e,i)},image:function(t,e){const n={src:ca(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return J0(t,e);const o={href:ca(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)},link:function(t,e){const n={href:ca(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)},listItem:function(t,e,n){const r=t.all(e),o=n?(function(p){let h=!1;if(p.type==="list"){h=p.spread||!1;const A=p.children;let m=-1;for(;!h&&++m<A.length;)h=Z0(A[m])}return h})(n):Z0(e),i={},a=[];if(typeof e.checked=="boolean"){const p=r[0];let h;p&&p.type==="element"&&p.tagName==="p"?h=p:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const p=r[l];(o||l!==0||p.type!=="element"||p.tagName!=="p")&&a.push({type:"text",value:`
39
39
  `}),p.type!=="element"||p.tagName!=="p"||o?a.push(p):a.push(...p.children)}const u=r[r.length-1];u&&(o||u.type!=="element"||u.tagName!=="p")&&a.push({type:"text",value:`
@@ -50,7 +50,7 @@ Please change the parent <Route path="${b}"> to <Route path="${b==="/"?"*":`${b}
50
50
  }
51
51
  `),ge.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:`qa-bot-login-button ${o?"qa-bot-header-login-button":""} ${n}`,style:Object.assign(Object.assign({},a),r),onClick:()=>{i({type:"chatbot_login_clicked",loginUrl:e})}},"Log In"))},x3=()=>ge.createElement("div",{className:"user-login-icon",style:{alignItems:"center",justifyContent:"center",width:"30px",height:"30px",borderRadius:"50%",backgroundColor:"var(--primaryColor, #1a5b6e)",marginRight:"5px",display:"flex"},role:"img","aria-label":"User logged in",title:"User logged in"},ge.createElement("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},ge.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),ge.createElement("circle",{cx:"12",cy:"7",r:"4"}))),Bn=[];for(let t=0;t<256;++t)Bn.push((t+256).toString(16).slice(1));let Sp;const w3=new Uint8Array(16);var wv={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function kv(t,e,n){var r;if(wv.randomUUID&&!t)return wv.randomUUID();const o=(t=t||{}).random??((r=t.rng)==null?void 0:r.call(t))??(function(){if(!Sp){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Sp=crypto.getRandomValues.bind(crypto)}return Sp(w3)})();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,(function(i,a=0){return(Bn[i[a+0]]+Bn[i[a+1]]+Bn[i[a+2]]+Bn[i[a+3]]+"-"+Bn[i[a+4]]+Bn[i[a+5]]+"-"+Bn[i[a+6]]+Bn[i[a+7]]+"-"+Bn[i[a+8]]+Bn[i[a+9]]+"-"+Bn[i[a+10]]+Bn[i[a+11]]+Bn[i[a+12]]+Bn[i[a+13]]+Bn[i[a+14]]+Bn[i[a+15]]).toLowerCase()})(o)}function vs(){return typeof localStorage<"u"&&localStorage.getItem("QA_BOT_DEBUG")==="true"}const k3="background: #1a5b6e; color: white; padding: 2px 6px; border-radius: 3px;",S3="background: #7c3aed; color: white; padding: 2px 6px; border-radius: 3px;",E3="background: #059669; color: white; padding: 2px 6px; border-radius: 3px;",C3="background: #f97316; color: white; padding: 2px 6px; border-radius: 3px;",P3="background: #f59e0b; color: #000; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;",D3="background: #fbbf24; color: #000; padding: 2px 6px; border-radius: 0 3px 3px 0;",T3=()=>{vs()&&console.log("%c QA Bot Core %c v0.2.35 ",P3,D3)},lu=function(t){if(vs()){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];console.log(`%c[Session]%c ${t}`,k3,"",...n)}},_o=function(t){if(vs()){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];console.log(`%c[History]%c ${t}`,S3,"",...n)}},B3=(t,e)=>{vs()&&console.log(`%c[Message]%c ${t}`,E3,"",e)},kl=function(t){if(vs()){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];console.log(`%c[Turnstile]%c ${t}`,C3,"",...n)}},Sv=function(){console.warn(...arguments)},kn=function(){console.error(...arguments)},Ev="qa_bot_session_messages",Cv=()=>`qa_bot_session_${kv()}`,Sl=()=>{try{const t=localStorage.getItem(Ev);return t?JSON.parse(t):{}}catch{return{}}},_3=(t,e,n,r,o)=>{const i=Sl();if(!i[t]&&(i[t]={messages:[],startedAt:new Date().toISOString(),preview:""},_o("NEW session created",{sessionId:t.slice(-12)})),i[t].messages.some(d=>d.id===e))return void _o("DUPLICATE message skipped",{sessionId:t.slice(-12),messageId:e.slice(-8),sender:r});const a={id:e,content:n,sender:r,type:o,timestamp:Date.now()};i[t].messages.push(a),_o("MESSAGE added",{sessionId:t.slice(-12),messageId:e.slice(-8),sender:r,totalInSession:i[t].messages.length});const l=i[t].messages,u=l.find(d=>{var p;return d.sender.toLowerCase()==="bot"&&((p=d.content)===null||p===void 0?void 0:p.trim())&&d.content.length>=100});if(u){const d=u.content;i[t].preview=d.slice(0,50)+(d.length>50?"...":"")}else{const d=l.find(p=>{var h;return p.sender.toLowerCase()==="user"&&((h=p.content)===null||h===void 0?void 0:h.trim())});if(d&&!i[t].preview){const p=d.content;i[t].preview=p.slice(0,50)+(p.length>50?"...":"")}}(d=>{var p;const h=()=>Object.values(d).reduce((A,m)=>A+m.messages.length,0);for(;h()>100&&Object.keys(d).length>1;){const A=(p=Object.entries(d).sort((m,y)=>{let[,w]=m,[,b]=y;return new Date(w.startedAt).getTime()-new Date(b.startedAt).getTime()})[0])===null||p===void 0?void 0:p[0];if(!A)break;delete d[A]}localStorage.setItem(Ev,JSON.stringify(d))})(i),_o("STORAGE state",{ourSessions:Object.keys(i).length,ourTotalMessages:Object.values(i).reduce((d,p)=>d+p.messages.length,0)})},Pv=t=>{var e,n;return(n=(e=Sl()[t])===null||e===void 0?void 0:e.messages.length)!==null&&n!==void 0?n:0},I3=t=>{const e=Sl()[t];return e!=null&&e.startedAt?Date.now()-new Date(e.startedAt).getTime():0},Dv=T.createContext(void 0),M3=t=>{let{children:e,getSessionId:n,setSessionId:r,resetSession:o,clearResettingFlag:i}=t;return ge.createElement(Dv.Provider,{value:{getSessionId:n,setSessionId:r,resetSession:o,clearResettingFlag:i}},e)},Ep=()=>{const t=T.useContext(Dv);if(!t)throw new Error("useSession must be used within a SessionProvider");return t},O3=()=>{const[t,e]=T.useState(!1),[n,r]=T.useState([]),[o,i]=T.useState(null),[a,l]=T.useState(0),u=T.useRef(null),d=T.useRef(null),{replaceMessages:p}=Al(),{toggleTextAreaDisabled:h}=Km(),{setSessionId:A,getSessionId:m}=Ep();T.useEffect(()=>{var w,b;const P=D=>{u.current&&!u.current.contains(D.target)&&d.current&&!d.current.contains(D.target)&&e(!1)},M=(b=(w=u.current)===null||w===void 0?void 0:w.getRootNode())!==null&&b!==void 0?b:document;return t&&M.addEventListener("mousedown",P),()=>{M.removeEventListener("mousedown",P)}},[t]);const y=w=>{var b;const P=m();if(_o("RESTORE requested",{targetSession:w.slice(-12),currentSession:P?.slice(-12)}),w===P)return _o("RESTORE skipped - already on this session"),void e(!1);const M=(j=>{var R;return((R=Sl()[j])===null||R===void 0?void 0:R.messages)||[]})(w).filter(j=>{var R;return(R=j.content)===null||R===void 0?void 0:R.trim()});_o("Stored messages from our localStorage",{count:M.length,ids:M.map(j=>j.id.slice(-8))});const D=M.map(j=>({id:j.id,content:j.content,sender:j.sender.toUpperCase(),type:j.type||"string",timestamp:new Date(j.timestamp).toISOString()}));var C;A(w),_o("Session ID updated",{newSession:w.slice(-12)}),p(D),_o("replaceMessages called",{count:D.length}),C=(b=d.current)===null||b===void 0?void 0:b.getRootNode(),setTimeout(()=>{const j=(C||document).querySelector(".rcb-chat-body-container");j&&j.querySelectorAll(".rcb-bot-message").forEach(R=>{var z;let V=R.innerHTML,K=!1;V.includes("](")&&(V=V.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>'),K=!0),V.includes("&lt;a href=")&&(V=V.replace(/&lt;a\s+href=["']([^"']+)["'][^&]*&gt;([^&]+)&lt;\/a&gt;/gi,'<a href="$1" target="_blank" rel="noopener noreferrer">$2</a>'),K=!0),(V.includes("&lt;a ")||!((z=R.textContent)===null||z===void 0)&&z.includes("<a href="))&&(R.textContent||"").includes("<a href=")&&(V=V.replace(/&lt;a\s+href="([^"]+)"[^&]*&gt;([^&]+)&lt;\/a&gt;/gi,'<a href="$1" target="_blank" rel="noopener noreferrer">$2</a>'),K=!0),K&&(R.innerHTML=V)})},50),h(!1),_o("Chat input enabled after restore"),e(!1)};return ge.createElement("div",{style:{position:"relative"}},ge.createElement("button",{ref:d,className:"history-button",onClick:()=>{if(!t&&(r((()=>{const w=Sl();return Object.entries(w).map(b=>{let[P,M]=b;return Object.assign({sessionId:P},M)}).sort((b,P)=>new Date(P.startedAt).getTime()-new Date(b.startedAt).getTime())})()),d.current)){const w=d.current.closest(".rcb-chat-window");if(w){const b=w.getBoundingClientRect(),P=d.current.getBoundingClientRect();i(b.width+3),l(b.right-P.right-18+4)}}e(!t)},style:{alignItems:"center",justifyContent:"center",width:"30px",height:"30px",borderRadius:"50%",backgroundColor:"var(--primaryColor, #1a5b6e)",marginRight:"18px",display:"flex",border:"none",cursor:"pointer",padding:0},"aria-label":"View chat history",title:"View chat history","aria-expanded":t,"aria-haspopup":"menu"},ge.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},ge.createElement("circle",{cx:"12",cy:"12",r:"10"}),ge.createElement("polyline",{points:"12 6 12 12 16 14"}))),t&&ge.createElement("div",{ref:u,role:"menu",style:{position:"absolute",right:a?`-${a}px`:"-18px",top:"100%",marginTop:"8px",width:o?`${o}px`:"550px",backgroundColor:"white",borderRadius:0,borderBottom:"3px solid var(--primaryColor, #1a5b6e)",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)",maxHeight:"250px",overflowY:"auto",zIndex:1e3}},n.length===0?ge.createElement("div",{style:{padding:"12px 16px",color:"#666",fontSize:"14px",textAlign:"center"}},"No chat history"):n.map(w=>ge.createElement("button",{key:w.sessionId,role:"menuitem",onClick:()=>y(w.sessionId),style:{width:"100%",padding:"10px 14px",border:"none",backgroundColor:"transparent",cursor:"pointer",textAlign:"left",display:"flex",flexDirection:"column",gap:"2px",borderBottom:"1px solid #eee"},onMouseEnter:b=>{b.currentTarget.style.backgroundColor="#f5f5f5"},onMouseLeave:b=>{b.currentTarget.style.backgroundColor="transparent"}},ge.createElement("span",{style:{fontSize:"14px",color:"#333",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},w.preview||"New conversation"),ge.createElement("span",{style:{fontSize:"12px",color:"#888"}},(b=>{const P=new Date(b),M=new Date().getTime()-P.getTime(),D=Math.floor(M/864e5);return D===0?P.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):D===1?"Yesterday":D<7?P.toLocaleDateString([],{weekday:"short"}):P.toLocaleDateString([],{month:"short",day:"numeric"})})(w.startedAt))))))},Tv=t=>{var{width:e=24,height:n=24,color:r="currentColor",children:o}=t,i=Am(t,["width","height","color","children"]);return ge.createElement("svg",Hc({xmlns:"http://www.w3.org/2000/svg",width:e,height:n,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},i),o)},R3=t=>ge.createElement(Tv,t,ge.createElement("path",{d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})),L3=()=>{const{restartFlow:t}=Jc(),{setTextAreaValue:e}=Km(),{messages:n}=Al(),{getSessionId:r,resetSession:o,clearResettingFlag:i}=Ep(),{trackEvent:a}=bv();return ge.createElement("button",{onClick:async()=>{const l=r(),u=l?Pv(l):0;a({type:"chatbot_new_chat",previousMessageCount:u}),o(),await e(""),await t(),setTimeout(()=>{i()},100)},tabIndex:0,"aria-label":"New chat conversation",style:{backgroundColor:"var(--primaryColor, #107180)",border:"none",color:"#ffffff",fontSize:"14px",cursor:"pointer",padding:"8px 12px",borderRadius:"4px",transition:"all 0.2s ease",display:"flex",alignItems:"center",gap:"6px",fontWeight:"500"},onMouseEnter:l=>{l.target.style.backgroundColor="var(--secondaryColor, #0d5f6b)"},onMouseLeave:l=>{l.target.style.backgroundColor="var(--primaryColor, #107180)"}},ge.createElement(R3,{width:16,height:16}),"New Chat")};function Cp(t){if(typeof t=="string")return t;if(typeof t=="number")return String(t);if(!t)return"";if(Array.isArray(t))return t.map(Cp).join("");if(typeof t=="object"&&t!==null&&"props"in t){const e=t.props;if(e&&"children"in e)return Cp(e.children)}return""}const N3=()=>{const{getSessionId:t}=Ep(),e=T.useCallback(n=>{var r;const o=(r=n.data)===null||r===void 0?void 0:r.message;if(!(o!=null&&o.id))return;const i=o.sender,a=o.type||"string";let l;if(l=typeof o.content=="string"?o.content:Cp(o.content),B3("TRACKED",{id:o.id,sender:i,content:l.substring(0,50)+(l.length>50?"...":"")}),l.includes("rcb-options-container")||!l.trim())return;const u=t();_3(u,o.id,l,i,a)},[t]);return T.useEffect(()=>(window.addEventListener("rcb-pre-inject-message",e),()=>{window.removeEventListener("rcb-pre-inject-message",e)}),[e]),null},F3=()=>(T.useEffect(()=>{const t=i=>{if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Enter"," ","Home","End"].includes(i.key))return;const a=document.activeElement;if(a&&(a.tagName==="INPUT"||a.tagName==="TEXTAREA"||a.contentEditable==="true"||a.classList.contains("rcb-chat-input-textarea")))return;const l=document.querySelector(".rcb-chat-window");if(!l)return;const u=Array.from(l.querySelectorAll(".rcb-message-container, .rcb-bot-message-container, .rcb-user-message-container")).filter(h=>h.offsetParent!==null);if(u.length>0){const h=u[u.length-1].querySelector(".rcb-checkbox-container");if(h&&h.offsetParent!==null){const A=Array.from(h.querySelectorAll(".rcb-checkbox-row-container")),m=h.querySelector(".rcb-checkbox-next-button");if(A.length>0){const y=[...A];return m&&y.push(m),void((w,b)=>{w.preventDefault();let P=-1;for(let D=0;D<b.length;D++)if(b[D]===document.activeElement||b[D].contains(document.activeElement)){P=D;break}P===-1&&(P=0);let M=P;switch(w.key){case"ArrowDown":case"ArrowRight":M=P<b.length-1?P+1:0;break;case"ArrowUp":case"ArrowLeft":M=P>0?P-1:b.length-1;break;case"Home":M=0;break;case"End":M=b.length-1;break;case"Enter":case" ":{const D=b[P],C=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});return void D.dispatchEvent(C)}default:return}b[M].focus(),b[M].setAttribute("tabindex","0"),b[M].classList.add("keyboard-focused"),b.forEach((D,C)=>{C!==M&&(D.setAttribute("tabindex","-1"),D.classList.remove("keyboard-focused"))})})(i,y)}}}let d=[];if(u.length>0){const h=u[u.length-1],A=Array.from(h.querySelectorAll(".rcb-options-container")).filter(m=>m.offsetParent!==null);if(A.length>0){const m=A[A.length-1];d=Array.from(m.querySelectorAll(".rcb-options"))}}if(d.length===0)return;const p=d.findIndex(h=>h===document.activeElement);switch(i.key){case"ArrowDown":case"ArrowRight":{let h;i.preventDefault(),h=p<d.length-1?p+1:0,d[h].setAttribute("tabindex","0"),d.forEach((A,m)=>{m!==h&&(A.setAttribute("tabindex","-1"),A.classList.remove("keyboard-focused"))}),d[h].classList.add("keyboard-focused"),d[h].focus();break}case"ArrowUp":case"ArrowLeft":{let h;i.preventDefault(),h=p>0?p-1:d.length-1,d[h].setAttribute("tabindex","0"),d.forEach((A,m)=>{m!==h&&(A.setAttribute("tabindex","-1"),A.classList.remove("keyboard-focused"))}),d[h].classList.add("keyboard-focused"),d[h].focus();break}case"Enter":case" ":if(i.preventDefault(),document.activeElement&&d.includes(document.activeElement)){const h=document.activeElement;if(h.classList.contains("rcb-checkbox-row-container")||h.closest(".rcb-checkbox-row-container")){const A=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});h.dispatchEvent(A);const m=h.querySelector(".rcb-checkbox-label"),y=m?m.textContent:h.textContent||"checkbox",w=h.querySelector(".rcb-checkbox-mark"),b=w&&w.style.backgroundColor?"checked":"unchecked";e(`${y} ${b}`)}else{const A=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});h.dispatchEvent(A);const m=h.textContent||h.innerText;e(`Selected: ${m}`)}}break;case"Home":i.preventDefault(),d.length>0&&(d[0].setAttribute("tabindex","0"),d.forEach((h,A)=>{A!==0&&(h.setAttribute("tabindex","-1"),h.classList.remove("keyboard-focused"))}),d[0].classList.add("keyboard-focused"),d[0].focus());break;case"End":if(i.preventDefault(),d.length>0){const h=d.length-1;d[h].setAttribute("tabindex","0"),d.forEach((A,m)=>{m!==h&&(A.setAttribute("tabindex","-1"),A.classList.remove("keyboard-focused"))}),d[h].classList.add("keyboard-focused"),d[h].focus()}}},e=i=>{const a=document.createElement("div");a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true"),a.className="sr-only",a.textContent=i,document.body.appendChild(a),setTimeout(()=>{document.body.contains(a)&&document.body.removeChild(a)},1e3)},n=(i=null)=>{let a=i;if(a||(a=document.querySelector(".rcb-chat-window"),a||(a=document.querySelector('[class*="rcb-chat"]')),a||(a=document.querySelector(".qa-bot"))),!a)return;const l=a.closest(".embedded-qa-bot")!==null,u=Array.from(a.querySelectorAll(".rcb-message-container, .rcb-bot-message-container, .rcb-user-message-container")).filter(A=>A.offsetParent!==null);if(u.length===0)return;const d=u[u.length-1],p=Array.from(d.querySelectorAll(".rcb-options-container")).filter(A=>A.offsetParent!==null);let h=[];if(p.length>0){const A=p[p.length-1];h=Array.from(A.querySelectorAll(".rcb-options"))}if(h.length===0){let A=d.querySelector(".rcb-checkbox-container");if(!A&&a&&(A=a.querySelector(".rcb-checkbox-container")),A&&A.offsetParent!==null){const m=Array.from(A.querySelectorAll(".rcb-checkbox-row-container")).filter(y=>y.offsetParent!==null&&y.style.display!=="none");if(m.length>0){const y=A.querySelector(".rcb-checkbox-next-button"),w=[...m];if(y&&y.offsetParent!==null&&w.push(y),w.forEach((b,P)=>{b.setAttribute("tabindex",P===0?"0":"-1"),P===0?b.classList.add("keyboard-focused"):b.classList.remove("keyboard-focused")}),m.length>1){A.querySelectorAll(".keyboard-nav-hint").forEach(P=>P.remove());const b=document.createElement("div");b.className="keyboard-nav-hint",b.textContent="Use arrow keys ↕ to navigate, Enter to select/deselect, or click any option",b.style.cssText="font-size: 12px !important; color: #666 !important; margin-bottom: 8px !important; font-style: italic !important; display: block !important;",A.insertBefore(b,A.firstChild)}return void setTimeout(()=>{w[0]&&w[0].offsetParent!==null&&!l&&w[0].focus()},150)}}}if(h.length>0){if(h.forEach((A,m)=>{const y=m===0?"0":"-1";A.setAttribute("tabindex",y),A.setAttribute("role","option"),A.setAttribute("aria-posinset",m+1),A.setAttribute("aria-setsize",h.length),m===0?A.classList.add("keyboard-focused"):A.classList.remove("keyboard-focused")}),h.length>1){const A=p.length>0?p[p.length-1]:null;if(A){A.querySelectorAll(".keyboard-nav-hint").forEach(y=>y.remove());const m=document.createElement("div");m.className="keyboard-nav-hint",m.textContent="Use arrow keys ↕ to navigate, Enter to select, or click any option",m.style.cssText="font-size: 12px !important; color: #666 !important; margin-bottom: 8px !important; font-style: italic !important; display: block !important;",A.insertBefore(m,A.firstChild)}}else{const A=p.length>0?p[p.length-1]:null;A&&A.querySelectorAll(".keyboard-nav-hint").forEach(m=>m.remove())}setTimeout(()=>{h[0]&&h[0].offsetParent!==null&&!l&&(h[0].focus(),h.length>1&&e(`${h.length} options available. Use arrow keys to navigate.`))},200)}},r=new MutationObserver(i=>{i.forEach(a=>{var l,u;if(a.type==="childList"){const d=Array.from(a.addedNodes),p=d.some(A=>{var m,y,w,b;return A.nodeType===Node.ELEMENT_NODE&&(((m=A.classList)==null?void 0:m.contains("rcb-options-container"))||((y=A.classList)==null?void 0:y.contains("rcb-options"))||((w=A.querySelector)==null?void 0:w.call(A,".rcb-options-container"))||((b=A.querySelector)==null?void 0:b.call(A,".rcb-options")))}),h=d.some(A=>{var m,y;return A.nodeType===Node.ELEMENT_NODE&&(((m=A.classList)==null?void 0:m.contains("rcb-checkbox-container"))||((y=A.querySelector)==null?void 0:y.call(A,".rcb-checkbox-container")))});if(p||h){let A=a.target;for(;A&&!((l=A.classList)!=null&&l.contains("qa-bot"))&&!((u=A.classList)!=null&&u.contains("rcb-chat-window"));)A=A.parentElement;(A||document).querySelectorAll(".rcb-options[tabindex], .rcb-checkbox-row-container[tabindex], .rcb-checkbox-next-button[tabindex]").forEach(m=>{m.setAttribute("tabindex","-1"),m.classList.remove("keyboard-focused")}),setTimeout(()=>n(A),100)}}})});r.observe(document.body,{childList:!0,subtree:!0}),document.addEventListener("keydown",t),n();const o=setInterval(()=>{document.querySelectorAll(".qa-bot").forEach(i=>{const a=i.querySelectorAll(".rcb-options-container .rcb-options").length>0,l=i.querySelectorAll(".rcb-checkbox-row-container").length>0;if(a){const u=i.querySelectorAll(".rcb-options[tabindex]").length;i.querySelectorAll(".rcb-options").length>u&&n(i)}if(l){const u=i.querySelectorAll(".rcb-checkbox-row-container[tabindex]").length;i.querySelectorAll(".rcb-checkbox-row-container").length>u&&n(i)}})},1e3);return()=>{document.removeEventListener("keydown",t),r.disconnect(),clearInterval(o)}},[]),null);let Bv=!1,cu=null;function _v(){return Bv?Promise.resolve():cu||(cu=new Promise((t,e)=>{const n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",n.async=!0,n.onload=()=>{Bv=!0,kl("Script loaded"),t()},n.onerror=()=>{cu=null,e(new Error("Failed to load Turnstile script"))},document.head.appendChild(n)}),cu)}const El=t=>{if(!t||typeof t!="string")return t;let e=t.replace(/\[(https?:\/\/[^\s]+?)\]/gi,"[$1]($1)");return e=e.replace(new RegExp(`(?<!\\]\\(|href=["']|\\[)https?:\\/\\/[^\\s[\\]()]+`,"gi"),n=>{let r=n,o="";const i=r.match(/([.,;:!?]+)$/);return i&&(o=i[1],r=r.slice(0,-o.length)),`[${r}](${r})${o}`}),e},j3=t=>{let{siteKey:e,onVerify:n,onError:r,loginUrl:o}=t;const i=T.useRef(null),a=T.useRef(null),l=T.useRef(!1),u=T.useRef(null),d=T.useRef(null),[p,h]=T.useState(!1),[A,m]=T.useState(0),y=T.useRef("widget_error"),w=T.useRef(null),b=o&&o!=="/login",P=T.useCallback(()=>{const C=window.turnstile;if(u.current&&C!=null&&C.remove){try{C.remove(u.current)}catch{}u.current=null}},[]),M=T.useCallback(()=>{var C;P(),p?r?.(y.current,(C=w.current)!==null&&C!==void 0?C:void 0):r?.("user_cancelled")},[r,P,p]);T.useEffect(()=>()=>{P()},[P]),T.useEffect(()=>{var C;return d.current=document.activeElement,(C=a.current)===null||C===void 0||C.focus(),()=>{d.current&&typeof d.current.focus=="function"&&d.current.focus()}},[]),T.useEffect(()=>{const C=j=>{if(j.key==="Escape")return j.preventDefault(),void M();if(j.key==="Tab"&&a.current){const R=a.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(R.length===0)return;const z=R[0],V=R[R.length-1];j.shiftKey&&document.activeElement===z?(j.preventDefault(),V.focus()):j.shiftKey||document.activeElement!==V||(j.preventDefault(),z.focus())}};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[M]),T.useEffect(()=>{l.current||!i.current||p||(l.current=!0,_v().then(()=>{const C=window.turnstile;if(!C||!i.current)return kn("Turnstile API not available after script load"),y.current="api_unavailable",void h(!0);u.current=C.render(i.current,{sitekey:e,callback:j=>{kl("Visible challenge completed"),n(j)},"error-callback":j=>(kn("Turnstile challenge failed:",j),w.current=j,y.current="widget_error",P(),h(!0),!0),"expired-callback":()=>{kn("Turnstile token expired"),y.current="token_expired",P(),h(!0)}})}).catch(C=>{kn("Failed to load Turnstile script:",C),y.current="script_load_failed",h(!0)}))},[e,n,p]);const D=ge.createElement(ge.Fragment,null,ge.createElement("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,background:"rgba(0, 0, 0, 0.5)",zIndex:999998}}),ge.createElement("div",{ref:a,role:"dialog","aria-modal":"true","aria-labelledby":"qa-bot-turnstile-label",tabIndex:-1,style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:999999,background:"white",padding:"24px",borderRadius:"8px",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.3)",maxWidth:"90vw",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'}},ge.createElement("span",{id:"qa-bot-turnstile-label",className:"sr-only",style:{position:"absolute",width:"1px",height:"1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap"}},"Verification challenge"),p?ge.createElement("div",{style:{fontSize:"14px",lineHeight:"1.5",color:"#333"}},A===0?ge.createElement("p",{style:{margin:"0 0 16px 0"}},"Verification failed. You can try again",b&&ge.createElement(ge.Fragment,null,", or"," ",ge.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--primaryColor, #107180)",fontWeight:"bold"}},"log in")," ","to skip verification"),"."):ge.createElement(ge.Fragment,null,ge.createElement("p",{style:{margin:"0 0 8px 0"}},"Verification is still not working. This can be caused by browser extensions (ad blockers, privacy tools) or VPN connections."),ge.createElement("p",{style:{margin:"0 0 16px 0"}},"Try disabling extensions, using a private/incognito window,",b&&ge.createElement(ge.Fragment,null," ",ge.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--primaryColor, #107180)",fontWeight:"bold"}},"logging in"),",")," ","or using a different browser.")),ge.createElement("div",{style:{display:"flex",gap:"8px"}},ge.createElement("button",{type:"button",onClick:()=>{P(),l.current=!1,m(C=>C+1),h(!1)},style:{padding:"8px 16px",background:"var(--primaryColor, #107180)",color:"white",border:"none",borderRadius:"4px",cursor:"pointer",fontSize:"14px"}},"Try again"),ge.createElement("button",{type:"button",onClick:M,style:{padding:"8px 16px",background:"#f0f0f0",color:"#333",border:"1px solid #ccc",borderRadius:"4px",cursor:"pointer",fontSize:"14px"}},"Close"))):ge.createElement(ge.Fragment,null,ge.createElement("div",{ref:i,style:{borderRadius:"8px",overflow:"hidden"}}),ge.createElement("button",{type:"button",onClick:M,style:{marginTop:"16px",padding:"8px 16px",background:"#f0f0f0",color:"#333",border:"1px solid #ccc",borderRadius:"4px",cursor:"pointer",fontSize:"14px"}},"Cancel"))));return um.createPortal(D,document.body)};function Iv(t){const{confidence:e,tools_used:n,metadata:r}=t;if(!(e||n&&n.length!==0))return"";const o=[];return e&&o.push(`• Confidence: ${e}`),n&&n.length>0&&o.push(`• Tools used: ${n.join(", ")}`),r!=null&&r.agent&&o.push(`• Agent: ${r.agent}`),`---
52
52
  ${o.join(`
53
- `)}`}function z3(t){let{getState:e,onResubmit:n,trackEvent:r,loginUrl:o}=t;var i,a;const[l,u]=ge.useState(null),[d,p]=ge.useState(0),h=e(),A=(i=QS)!==null&&i!==void 0?i:{},m=A.VITE_FORCE_TURNSTILE_WIDGET==="true",y=(a=h.siteKey)!==null&&a!==void 0?a:m?A.VITE_TURNSTILE_SITE_KEY:null;return y&&(m||l!==y)?ge.createElement(j3,{key:d,siteKey:y,loginUrl:o,onVerify:async w=>{const b=y;h.token=w,r?.({type:"chatbot_turnstile_completed"}),await n(w)==="needs_another_challenge"?p(P=>P+1):u(b)},onError:(w,b)=>{var P;const M=(P=h.pendingQuery)===null||P===void 0?void 0:P.queryId,D=y;h.token=null,h.pendingQuery=null,h.needsChallenge=!1,h.siteKey=null,u(D),r?.({type:"chatbot_turnstile_error",queryId:M,failureReason:w,cloudflareErrorCode:b})}}):null}const Q3="#1a5b6e",H3="#107180",U3="Arial, sans-serif",Mv="Q&A Bot",V3="/chat-icon.svg",W3="Type your question here...",Y3="Select an option to continue",q3=!1,K3="Ask me a question!",Ov="/login",G3={general:{showHeader:!0,showFooter:!0},tooltip:{mode:"CLOSE"},chatInput:{disabled:!1,characterLimit:5e3,showCharacterCount:!1,allowNewline:!0,blockSpam:!1},chatWindow:{defaultOpen:!1,showScrollbar:!1},botBubble:{simulateStream:!0,streamSpeed:10,showAvatar:!1},userBubble:{showAvatar:!1},notification:{disabled:!0,showCount:!1},audio:{disabled:!0},emoji:{disabled:!0},fileAttachment:{disabled:!0}},Pp=T.forwardRef((t,e)=>{var n,r,o;const{apiKey:i,qaEndpoint:a,ratingEndpoint:l,capabilitiesEndpoint:u,agentRatingEndpoint:d,welcomeMessage:p,open:h,onOpenChange:A,isLoggedIn:m,allowAnonAccess:y=!1,actingUser:w,primaryColor:b,secondaryColor:P,botName:M,logo:D,placeholder:C,errorMessage:j,embedded:R,footerText:z,footerLink:V,tooltipText:K,loginUrl:q,turnstileSiteKey:Z,backendId:W,resourceContext:oe,customFlow:ue,onAnalyticsEvent:te}=t,pe=T.useRef(`bot_${Math.random().toString(36).substr(2,9)}`);T.useEffect(()=>{T3()},[]);const ee=T.useRef(null);ee.current===null&&(ee.current=Cv(),lu("CREATED",ee.current));const G=T.useRef(!1),N=T.useRef({getSessionId:()=>ee.current,isResetting:()=>G.current}),de=T.useRef(null),I=(function(Me,Ee){const[Xe,Ge]=T.useState(null),[At,lt]=T.useState("idle"),gt=T.useRef(null),yt=T.useRef(null),mt=T.useRef(!0),Rt=T.useCallback(()=>{const dt=window.turnstile;if(yt.current&&dt!=null&&dt.remove){try{dt.remove(yt.current)}catch{}yt.current=null}gt.current&&(gt.current.remove(),gt.current=null)},[]);return T.useEffect(()=>{if(mt.current=!0,!Me)return lt("idle"),void Ge(null);lt("loading");const dt=document.createElement("div");return dt.style.position="fixed",dt.style.left="-9999px",dt.style.top="-9999px",dt.style.width="0",dt.style.height="0",dt.style.overflow="hidden",dt.setAttribute("aria-hidden","true"),document.body.appendChild(dt),gt.current=dt,_v().then(()=>{if(!mt.current)return;const Ke=window.turnstile;if(!Ke||!gt.current)return kn("Turnstile API not available for silent verification"),lt("failed"),void(Ee==null||Ee({type:"chatbot_turnstile_silent_failed",failureReason:"api_unavailable"}));const fn=Ke.render(gt.current,{sitekey:Me,execution:"render","refresh-expired":"auto",callback:Yt=>{mt.current&&(kl("Silent verification succeeded"),Ge(Yt),lt("verified"))},"error-callback":Yt=>!mt.current||(kn("Turnstile silent verification failed:",Yt),Ge(null),lt("failed"),Ee?.({type:"chatbot_turnstile_silent_failed",failureReason:"widget_error",cloudflareErrorCode:Yt}),!0),"expired-callback":()=>{mt.current&&(kl("Token expired, awaiting refresh"),Ge(null),lt("loading"))}});yt.current=fn}).catch(Ke=>{mt.current&&(kn("Failed to load Turnstile script for silent verification:",Ke),lt("failed"),Ee?.({type:"chatbot_turnstile_silent_failed",failureReason:"script_load_failed"}))}),()=>{mt.current=!1,Rt()}},[Me,Rt]),{token:Xe,status:At,reset:T.useCallback(()=>{const dt=window.turnstile;yt.current&&dt!=null&&dt.reset&&(Ge(null),lt("loading"),dt.reset(yt.current),kl("Token consumed, resetting widget for fresh token"))},[])}})(Z,Me=>{var Ee;(Ee=de.current)===null||Ee===void 0||Ee.call(de,Me)}),J=T.useRef(null);J.current=I.token;const[ve,me]=T.useState(m);T.useEffect(()=>{me(m)},[m]);const we=R!==void 0?R:q3,_e=T.useCallback(Me=>{var Ee;te&&te(Object.assign(Object.assign({},Me),{timestamp:Date.now(),sessionId:(Ee=ee.current)!==null&&Ee!==void 0?Ee:void 0,pageUrl:typeof window<"u"?window.location.href:void 0,isEmbedded:we}))},[te,we]);T.useEffect(()=>{de.current=Me=>_e(Me)},[_e]);const Oe=T.useMemo(()=>{const Me=Object.assign({},G3);Me.general=Object.assign(Object.assign({},Me.general),{primaryColor:b||Q3,secondaryColor:P||H3,fontFamily:U3,embedded:we});const Ee=ve===!1?[ge.createElement(xv,{key:"login-button",loginUrl:q||Ov,isHeaderButton:!0})]:[ge.createElement(O3,{key:"history-button"}),ge.createElement(x3,{key:"user-icon"})];Me.header={title:ge.createElement("span",{style:{fontSize:14,fontWeight:500}},M||Mv),showAvatar:!0,avatar:D||V3,buttons:[...Ee,Xt.CLOSE_CHAT_BUTTON]},Me.chatInput=Object.assign(Object.assign({},Me.chatInput),{disabled:!1,enabledPlaceholderText:C||W3,disabledPlaceholderText:j||Y3}),Me.tooltip=Object.assign(Object.assign({},Me.tooltip),{text:K||K3});const Xe=z?V?ge.createElement("a",{href:V,target:"_blank",rel:"noopener noreferrer",key:"footer-link"},z):ge.createElement("span",{key:"footer-text"},z):null;return Me.footer={text:Xe??void 0,buttons:[ge.createElement(L3,{key:"new-chat-button"})]},Me.chatWindow=Object.assign(Object.assign({},Me.chatWindow),{defaultOpen:!!we}),Me.event={rcbPreInjectMessage:!0,rcbPostInjectMessage:!0,rcbUserSubmitText:!0,rcbChangePath:!0,rcbToggleChatWindow:!0},Me},[b,P,M,D,C,j,we,K,ve,q,z,V]),Ve=T.useRef(null),ze=(function(Me){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return T.useMemo(()=>{const Xe=(Ge,At)=>{if(Me.current){const lt=getComputedStyle(Me.current).getPropertyValue(Ge);if(lt&&lt.trim()!=="")return lt.trim();if(Me.current.parentElement){const gt=getComputedStyle(Me.current.parentElement).getPropertyValue(Ge);if(gt&&gt.trim()!=="")return gt.trim()}}return At};return{primaryColor:Xe("--primaryColor",Ee.primaryColor),secondaryColor:Xe("--secondaryColor",Ee.secondaryColor),fontFamily:Xe("--fontFamily",Ee.fontFamily)}},[Me,Ee])})(Ve,Oe.general);((Me,Ee)=>{T.useEffect(()=>{Ee.current&&(Me?Ee.current.classList.add("bot-logged-in"):Ee.current.classList.remove("bot-logged-in"))},[Me,Ee])})(ve!==!1,Ve),(Me=>{let{settings:Ee,themeColors:Xe}=Me;T.useEffect(()=>{Xe&&(Object.entries(Xe).forEach(Ge=>{let[At,lt]=Ge;lt&&document.documentElement.style.setProperty(`--${At}`,lt)}),Xe.primaryColor&&document.documentElement.style.setProperty("--rcb-header-background",Xe.primaryColor),Xe.secondaryColor&&document.documentElement.style.setProperty("--rcb-header-background-hover",Xe.secondaryColor))},[Xe]),T.useEffect(()=>{var Ge,At;!((Ge=Ee.header)===null||Ge===void 0)&&Ge.title&&typeof Ee.header.title=="string"&&(Ee.header.title=ge.createElement("div",{key:"header-title"},ge.createElement("h1",{className:"sr-only"},Ee.header.title),ge.createElement("span",{"aria-hidden":"true"},Ee.header.title))),Ee.device={desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!1},Ee.chatHistory={disabled:!0},Ee.chatButton=Object.assign(Object.assign({},Ee.chatButton),{icon:(At=Ee.header)===null||At===void 0?void 0:At.avatar}),Ee.event=Object.assign(Object.assign({},Ee.event),{rcbToggleChatWindow:!0})},[Ee])})({settings:Oe,themeColors:ze});const $e=T.useMemo(()=>{const Me=(Ee=>{let{endpoint:Xe,ratingEndpoint:Ge,agentRatingEndpoint:At,apiKey:lt,sessionId:gt,isResetting:yt=()=>!1,isLoggedIn:mt,allowAnonAccess:Rt=!1,loginUrl:dt="/login",trackEvent:Ke,getTurnstileToken:fn,resetTurnstileToken:Yt,backendId:vn,resourceContext:nn}=Ee;if(mt===!1&&!Rt)return Ke?.({type:"chatbot_login_prompt_shown"}),{qa_loop:{message:"To ask questions, please log in first.",component:ge.createElement(xv,{loginUrl:dt}),chatDisabled:!0,path:"qa_loop"}};let _t=null,fe=null,Le=!1;const Be={siteKey:null,token:null,pendingQuery:null,needsChallenge:!1};let ct=null;if(!Xe)throw new Error("Q&A endpoint is required");return{qa_loop:{message:async We=>{var le;ct=We.injectMessage.bind(We);const{userInput:Ce}=We;if((!yt||!yt())&&Ce&&Ce.trim()!==""){if(Ce==="👍 Helpful"||Ce==="👎 Not helpful"){if(_t){const Te=Ce==="👍 Helpful",qe=fe==="agent"?At:Ge;if(qe)try{const He={"Content-Type":"application/json"};lt&&(He["X-API-KEY"]=lt);const Ne=gt();Ne&&(He["X-Session-ID"]=Ne,He["X-Query-ID"]=_t),await fetch(qe,{method:"POST",headers:He,credentials:"include",body:JSON.stringify(fe==="agent"?{query_id:_t,rating:Te?"helpful":"not_helpful",session_id:Ne}:{sessionId:Ne,queryId:_t,rating:Te?1:0})}),Ke?.({type:"chatbot_rating_sent",queryId:_t,rating:Te?"helpful":"not_helpful"})}catch(He){kn("Error sending feedback:",He)}}return"Thanks for the feedback!"}try{const Te=kv();_t=Te,Ke?.({type:"chatbot_question_sent",queryId:Te,questionLength:Ce.length});const qe={"Content-Type":"application/json"};lt&&(qe["X-API-KEY"]=lt);const He=gt();He&&(qe["X-Session-ID"]=He,qe["X-Query-ID"]=Te),qe["X-Origin"]=nn||"access";const Ne={query:Ce,question_id:Te};He&&(Ne.session_id=He),vn&&(Ne._backend=vn),nn&&(Ne.rp_name=nn);const bt=fn?.();bt&&(Ne.turnstile_token=bt),lu("SENT to API",{session_id:He,question_id:Te});const xt=Date.now(),it=await fetch(Xe,{method:"POST",headers:qe,credentials:"include",body:JSON.stringify(Ne)});if(!it.ok)throw new Error(`API returned ${it.status}`);if((it.headers.get("content-type")||"").includes("text/event-stream")){Yt?.();const Qn=(le=it.body)===null||le===void 0?void 0:le.getReader();if(!Qn)throw new Error("Response body is not readable");const Ir=new TextDecoder;let ln="",Hn="",yn=!1;try{for(;;){const{done:Mn,value:pn}=await Qn.read();if(Mn)break;ln+=Ir.decode(pn,{stream:!0});let Mr=ln.indexOf(`
53
+ `)}`}function z3(t){let{getState:e,onResubmit:n,trackEvent:r,loginUrl:o}=t;var i,a;const[l,u]=ge.useState(null),[d,p]=ge.useState(0),h=e(),A=(i=QS)!==null&&i!==void 0?i:{},m=A.VITE_FORCE_TURNSTILE_WIDGET==="true",y=(a=h.siteKey)!==null&&a!==void 0?a:m?A.VITE_TURNSTILE_SITE_KEY:null;return y&&(m||l!==y)?ge.createElement(j3,{key:d,siteKey:y,loginUrl:o,onVerify:async w=>{const b=y;h.token=w,r?.({type:"chatbot_turnstile_completed"}),await n(w)==="needs_another_challenge"?p(P=>P+1):u(b)},onError:(w,b)=>{var P;const M=(P=h.pendingQuery)===null||P===void 0?void 0:P.queryId,D=y;h.token=null,h.pendingQuery=null,h.needsChallenge=!1,h.siteKey=null,u(D),r?.({type:"chatbot_turnstile_error",queryId:M,failureReason:w,cloudflareErrorCode:b})}}):null}const Q3="#1a5b6e",H3="#107180",U3="Arial, sans-serif",Mv="Q&A Bot",V3="/chat-icon.svg",W3="Type your question here...",Y3="Select an option to continue",q3=!1,K3="Ask me a question!",Ov="/login",G3={general:{showHeader:!0,showFooter:!0},tooltip:{mode:"CLOSE"},chatInput:{disabled:!1,characterLimit:5e3,showCharacterCount:!1,allowNewline:!0,blockSpam:!1},chatWindow:{defaultOpen:!1,showScrollbar:!1},botBubble:{simulateStream:!0,streamSpeed:10,showAvatar:!1},userBubble:{showAvatar:!1},notification:{disabled:!0,showCount:!1},audio:{disabled:!0},emoji:{disabled:!0},fileAttachment:{disabled:!0}},Pp=T.forwardRef((t,e)=>{var n,r,o;const{apiKey:i,qaEndpoint:a,ratingEndpoint:l,capabilitiesEndpoint:u,agentRatingEndpoint:d,welcomeMessage:p,open:h,onOpenChange:A,isLoggedIn:m,allowAnonAccess:y=!1,actingUser:w,primaryColor:b,secondaryColor:P,botName:M,logo:D,placeholder:C,errorMessage:j,embedded:R,footerText:z,footerLink:V,tooltipText:K,loginUrl:q,turnstileSiteKey:Z,backendId:W,resourceContext:oe,customFlow:ue,onAnalyticsEvent:te}=t,pe=T.useRef(`bot_${Math.random().toString(36).substr(2,9)}`);T.useEffect(()=>{T3()},[]);const ee=T.useRef(null);ee.current===null&&(ee.current=Cv(),lu("CREATED",ee.current));const G=T.useRef(!1),N=T.useRef({getSessionId:()=>ee.current,isResetting:()=>G.current}),de=T.useRef(null),I=(function(Me,Ee){const[Xe,Ge]=T.useState(null),[At,lt]=T.useState("idle"),gt=T.useRef(null),yt=T.useRef(null),mt=T.useRef(!0),Rt=T.useCallback(()=>{const dt=window.turnstile;if(yt.current&&dt!=null&&dt.remove){try{dt.remove(yt.current)}catch{}yt.current=null}gt.current&&(gt.current.remove(),gt.current=null)},[]);return T.useEffect(()=>{if(mt.current=!0,!Me)return lt("idle"),void Ge(null);lt("loading");const dt=document.createElement("div");return dt.style.position="fixed",dt.style.left="-9999px",dt.style.top="-9999px",dt.style.width="0",dt.style.height="0",dt.style.overflow="hidden",dt.setAttribute("aria-hidden","true"),document.body.appendChild(dt),gt.current=dt,_v().then(()=>{if(!mt.current)return;const Ke=window.turnstile;if(!Ke||!gt.current)return kn("Turnstile API not available for silent verification"),lt("failed"),void(Ee==null||Ee({type:"chatbot_turnstile_silent_failed",failureReason:"api_unavailable"}));const fn=Ke.render(gt.current,{sitekey:Me,execution:"render","refresh-expired":"auto",callback:Yt=>{mt.current&&(kl("Silent verification succeeded"),Ge(Yt),lt("verified"))},"error-callback":Yt=>!mt.current||(kn("Turnstile silent verification failed:",Yt),Ge(null),lt("failed"),Ee?.({type:"chatbot_turnstile_silent_failed",failureReason:"widget_error",cloudflareErrorCode:Yt}),!0),"expired-callback":()=>{mt.current&&(kl("Token expired, awaiting refresh"),Ge(null),lt("loading"))}});yt.current=fn}).catch(Ke=>{mt.current&&(kn("Failed to load Turnstile script for silent verification:",Ke),lt("failed"),Ee?.({type:"chatbot_turnstile_silent_failed",failureReason:"script_load_failed"}))}),()=>{mt.current=!1,Rt()}},[Me,Rt]),{token:Xe,status:At,reset:T.useCallback(()=>{const dt=window.turnstile;yt.current&&dt!=null&&dt.reset&&(Ge(null),lt("loading"),dt.reset(yt.current),kl("Token consumed, resetting widget for fresh token"))},[])}})(Z,Me=>{var Ee;(Ee=de.current)===null||Ee===void 0||Ee.call(de,Me)}),J=T.useRef(null);J.current=I.token;const[ve,me]=T.useState(m);T.useEffect(()=>{me(m)},[m]);const we=R!==void 0?R:q3,_e=T.useCallback(Me=>{var Ee;te&&te(Object.assign(Object.assign({},Me),{timestamp:Date.now(),sessionId:(Ee=ee.current)!==null&&Ee!==void 0?Ee:void 0,pageUrl:typeof window<"u"?window.location.href:void 0,isEmbedded:we}))},[te,we]);T.useEffect(()=>{de.current=Me=>_e(Me)},[_e]);const Oe=T.useMemo(()=>{const Me=Object.assign({},G3);Me.general=Object.assign(Object.assign({},Me.general),{primaryColor:b||Q3,secondaryColor:P||H3,fontFamily:U3,embedded:we});const Ee=ve===!1?[ge.createElement(xv,{key:"login-button",loginUrl:q||Ov,isHeaderButton:!0})]:[ge.createElement(O3,{key:"history-button"}),ge.createElement(x3,{key:"user-icon"})];Me.header={title:ge.createElement("span",{style:{fontSize:14,fontWeight:500}},M||Mv),showAvatar:!0,avatar:D||V3,buttons:[...Ee,Jt.CLOSE_CHAT_BUTTON]},Me.chatInput=Object.assign(Object.assign({},Me.chatInput),{disabled:!1,enabledPlaceholderText:C||W3,disabledPlaceholderText:j||Y3}),Me.tooltip=Object.assign(Object.assign({},Me.tooltip),{text:K||K3});const Xe=z?V?ge.createElement("a",{href:V,target:"_blank",rel:"noopener noreferrer",key:"footer-link"},z):ge.createElement("span",{key:"footer-text"},z):null;return Me.footer={text:Xe??void 0,buttons:[ge.createElement(L3,{key:"new-chat-button"})]},Me.chatWindow=Object.assign(Object.assign({},Me.chatWindow),{defaultOpen:!!we}),Me.event={rcbPreInjectMessage:!0,rcbPostInjectMessage:!0,rcbUserSubmitText:!0,rcbChangePath:!0,rcbToggleChatWindow:!0},Me},[b,P,M,D,C,j,we,K,ve,q,z,V]),Ve=T.useRef(null),ze=(function(Me){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return T.useMemo(()=>{const Xe=(Ge,At)=>{if(Me.current){const lt=getComputedStyle(Me.current).getPropertyValue(Ge);if(lt&&lt.trim()!=="")return lt.trim();if(Me.current.parentElement){const gt=getComputedStyle(Me.current.parentElement).getPropertyValue(Ge);if(gt&&gt.trim()!=="")return gt.trim()}}return At};return{primaryColor:Xe("--primaryColor",Ee.primaryColor),secondaryColor:Xe("--secondaryColor",Ee.secondaryColor),fontFamily:Xe("--fontFamily",Ee.fontFamily)}},[Me,Ee])})(Ve,Oe.general);((Me,Ee)=>{T.useEffect(()=>{Ee.current&&(Me?Ee.current.classList.add("bot-logged-in"):Ee.current.classList.remove("bot-logged-in"))},[Me,Ee])})(ve!==!1,Ve),(Me=>{let{settings:Ee,themeColors:Xe}=Me;T.useEffect(()=>{Xe&&(Object.entries(Xe).forEach(Ge=>{let[At,lt]=Ge;lt&&document.documentElement.style.setProperty(`--${At}`,lt)}),Xe.primaryColor&&document.documentElement.style.setProperty("--rcb-header-background",Xe.primaryColor),Xe.secondaryColor&&document.documentElement.style.setProperty("--rcb-header-background-hover",Xe.secondaryColor))},[Xe]),T.useEffect(()=>{var Ge,At;!((Ge=Ee.header)===null||Ge===void 0)&&Ge.title&&typeof Ee.header.title=="string"&&(Ee.header.title=ge.createElement("div",{key:"header-title"},ge.createElement("h1",{className:"sr-only"},Ee.header.title),ge.createElement("span",{"aria-hidden":"true"},Ee.header.title))),Ee.device={desktopEnabled:!0,mobileEnabled:!0,applyMobileOptimizations:!1},Ee.chatHistory={disabled:!0},Ee.chatButton=Object.assign(Object.assign({},Ee.chatButton),{icon:(At=Ee.header)===null||At===void 0?void 0:At.avatar}),Ee.event=Object.assign(Object.assign({},Ee.event),{rcbToggleChatWindow:!0})},[Ee])})({settings:Oe,themeColors:ze});const $e=T.useMemo(()=>{const Me=(Ee=>{let{endpoint:Xe,ratingEndpoint:Ge,agentRatingEndpoint:At,apiKey:lt,sessionId:gt,isResetting:yt=()=>!1,isLoggedIn:mt,allowAnonAccess:Rt=!1,loginUrl:dt="/login",trackEvent:Ke,getTurnstileToken:fn,resetTurnstileToken:Yt,backendId:vn,resourceContext:qt}=Ee;if(mt===!1&&!Rt)return Ke?.({type:"chatbot_login_prompt_shown"}),{qa_loop:{message:"To ask questions, please log in first.",component:ge.createElement(xv,{loginUrl:dt}),chatDisabled:!0,path:"qa_loop"}};let _t=null,fe=null,Le=!1;const Be={siteKey:null,token:null,pendingQuery:null,needsChallenge:!1};let ct=null;if(!Xe)throw new Error("Q&A endpoint is required");return{qa_loop:{message:async We=>{var le;ct=We.injectMessage.bind(We);const{userInput:Ce}=We;if((!yt||!yt())&&Ce&&Ce.trim()!==""){if(Ce==="👍 Helpful"||Ce==="👎 Not helpful"){if(_t){const Te=Ce==="👍 Helpful",qe=fe==="agent"?At:Ge;if(qe)try{const He={"Content-Type":"application/json"};lt&&(He["X-API-KEY"]=lt);const Ne=gt();Ne&&(He["X-Session-ID"]=Ne,He["X-Query-ID"]=_t),await fetch(qe,{method:"POST",headers:He,credentials:"include",body:JSON.stringify(fe==="agent"?{query_id:_t,rating:Te?"helpful":"not_helpful",session_id:Ne}:{sessionId:Ne,queryId:_t,rating:Te?1:0})}),Ke?.({type:"chatbot_rating_sent",queryId:_t,rating:Te?"helpful":"not_helpful"})}catch(He){kn("Error sending feedback:",He)}}return"Thanks for the feedback!"}try{const Te=kv();_t=Te,Ke?.({type:"chatbot_question_sent",queryId:Te,questionLength:Ce.length});const qe={"Content-Type":"application/json"};lt&&(qe["X-API-KEY"]=lt);const He=gt();He&&(qe["X-Session-ID"]=He,qe["X-Query-ID"]=Te),qe["X-Origin"]=qt||"access";const Ne={query:Ce,question_id:Te};He&&(Ne.session_id=He),vn&&(Ne._backend=vn),qt&&(Ne.rp_name=qt,Ne.resource_context=qt);const bt=fn?.();bt&&(Ne.turnstile_token=bt),lu("SENT to API",{session_id:He,question_id:Te});const xt=Date.now(),it=await fetch(Xe,{method:"POST",headers:qe,credentials:"include",body:JSON.stringify(Ne)});if(!it.ok)throw new Error(`API returned ${it.status}`);if((it.headers.get("content-type")||"").includes("text/event-stream")){Yt?.();const Qn=(le=it.body)===null||le===void 0?void 0:le.getReader();if(!Qn)throw new Error("Response body is not readable");const Ir=new TextDecoder;let ln="",Hn="",yn=!1;try{for(;;){const{done:Mn,value:pn}=await Qn.read();if(Mn)break;ln+=Ir.decode(pn,{stream:!0});let Mr=ln.indexOf(`
54
54
 
55
55
  `);for(;Mr!==-1;){const Qo=ln.slice(0,Mr);ln=ln.slice(Mr+2);let ur,En="",Zn="";for(const on of Qo.split(`
56
56
  `))on.startsWith("event: ")?En=on.slice(7):on.startsWith("data: ")&&(Zn=on.slice(6));if(En&&Zn){try{ur=JSON.parse(Zn)}catch{Sv("Failed to parse SSE data:",Zn),Mr=ln.indexOf(`
@@ -59,16 +59,16 @@ ${o.join(`
59
59
 
60
60
  `)}else Mr=ln.indexOf(`
61
61
 
62
- `)}}yn&&await We.endStreamMessage("BOT")}catch(Mn){if(kn("Error reading SSE stream:",Mn),!yn)throw Mn;await We.streamMessage("I had trouble completing the response. Please try again.","BOT"),await We.endStreamMessage("BOT")}const Jn=Date.now()-xt;return void(Ke==null||Ke({type:"chatbot_answer_received",queryId:Te,responseTimeMs:Jn,success:!0,responseLength:Hn.length}))}const Zt=Date.now()-xt,qt=await it.json();if(qt.requires_turnstile)return Ke?.({type:"chatbot_turnstile_shown",queryId:Te}),Be.siteKey=qt.site_key,Be.pendingQuery={query:Ce,sessionId:He,queryId:Te},Be.needsChallenge=!0,"One moment — verifying your session…";Yt?.();const rn=qt.response||qt.answer||qt.text||qt.message;if(!rn)throw new Error("Invalid response format from API");const Ut=qt.metadata||{};fe=Ut.rating_target||null,Le=Ut.is_final_response===!0;const an=El(rn),zt=vs()?Iv(qt):"",Sn=zt?`${an}
62
+ `)}}yn&&await We.endStreamMessage("BOT")}catch(Mn){if(kn("Error reading SSE stream:",Mn),!yn)throw Mn;await We.streamMessage("I had trouble completing the response. Please try again.","BOT"),await We.endStreamMessage("BOT")}const Jn=Date.now()-xt;return void(Ke==null||Ke({type:"chatbot_answer_received",queryId:Te,responseTimeMs:Jn,success:!0,responseLength:Hn.length}))}const $t=Date.now()-xt,Kt=await it.json();if(Kt.requires_turnstile)return Ke?.({type:"chatbot_turnstile_shown",queryId:Te}),Be.siteKey=Kt.site_key,Be.pendingQuery={query:Ce,sessionId:He,queryId:Te},Be.needsChallenge=!0,"One moment — verifying your session…";Yt?.();const rn=Kt.response||Kt.answer||Kt.text||Kt.message;if(!rn)throw new Error("Invalid response format from API");const Ut=Kt.metadata||{};fe=Ut.rating_target||null,Le=Ut.is_final_response===!0;const an=El(rn),zt=vs()?Iv(Kt):"",Sn=zt?`${an}
63
63
 
64
- ${zt}`:an;return await We.injectMessage(Sn),void(Ke==null||Ke({type:"chatbot_answer_received",queryId:Te,responseTimeMs:Zt,success:!0,responseLength:rn.length,hasMetadata:!!zt}))}catch(Te){return kn("Error in Q&A flow:",Te),Ke?.({type:"chatbot_answer_error",queryId:_t??void 0,errorType:Te instanceof Error?Te.message:"unknown"}),"I apologize, but I'm having trouble processing your question. Please try again later."}}},options:We=>yt&&yt()||We.userInput==="👍 Helpful"||We.userInput==="👎 Not helpful"||Be.needsChallenge?[]:Le&&fe&&(fe==="agent"?At:Ge)?["👍 Helpful","👎 Not helpful"]:[],renderMarkdown:["BOT"],chatDisabled:!1,component:ge.createElement(z3,{getState:()=>Be,onResubmit:async We=>{var le;if(!Be.pendingQuery||!ct)return kn("Turnstile resubmit called without pending query or injectMessage"),"error";try{const Ce={"Content-Type":"application/json"};lt&&(Ce["X-API-KEY"]=lt),Be.pendingQuery.sessionId&&(Ce["X-Session-ID"]=Be.pendingQuery.sessionId,Ce["X-Query-ID"]=Be.pendingQuery.queryId),Ce["X-Origin"]=nn||"access";const Te={query:Be.pendingQuery.query,question_id:Be.pendingQuery.queryId,turnstile_token:We};Be.pendingQuery.sessionId&&(Te.session_id=Be.pendingQuery.sessionId),vn&&(Te._backend=vn),nn&&(Te.rp_name=nn);const qe=await fetch(Xe,{method:"POST",headers:Ce,credentials:"include",body:JSON.stringify(Te)}),He=Be.pendingQuery.queryId;if(!qe.ok)throw new Error(`API returned ${qe.status} after Turnstile`);if((qe.headers.get("content-type")||"").includes("text/event-stream")){const rn=(le=qe.body)===null||le===void 0?void 0:le.getReader();if(!rn)throw new Error("Response body is not readable");const Ut=new TextDecoder;let an="",zt="",Sn={};for(;;){const{done:Ir,value:ln}=await rn.read();if(Ir)break;an+=Ut.decode(ln,{stream:!0});let Hn=an.indexOf(`
64
+ ${zt}`:an;return await We.injectMessage(Sn),void(Ke==null||Ke({type:"chatbot_answer_received",queryId:Te,responseTimeMs:$t,success:!0,responseLength:rn.length,hasMetadata:!!zt}))}catch(Te){return kn("Error in Q&A flow:",Te),Ke?.({type:"chatbot_answer_error",queryId:_t??void 0,errorType:Te instanceof Error?Te.message:"unknown"}),"I apologize, but I'm having trouble processing your question. Please try again later."}}},options:We=>yt&&yt()||We.userInput==="👍 Helpful"||We.userInput==="👎 Not helpful"||Be.needsChallenge?[]:Le&&fe&&(fe==="agent"?At:Ge)?["👍 Helpful","👎 Not helpful"]:[],renderMarkdown:["BOT"],chatDisabled:!1,component:ge.createElement(z3,{getState:()=>Be,onResubmit:async We=>{var le;if(!Be.pendingQuery||!ct)return kn("Turnstile resubmit called without pending query or injectMessage"),"error";try{const Ce={"Content-Type":"application/json"};lt&&(Ce["X-API-KEY"]=lt),Be.pendingQuery.sessionId&&(Ce["X-Session-ID"]=Be.pendingQuery.sessionId,Ce["X-Query-ID"]=Be.pendingQuery.queryId),Ce["X-Origin"]=qt||"access";const Te={query:Be.pendingQuery.query,question_id:Be.pendingQuery.queryId,turnstile_token:We};Be.pendingQuery.sessionId&&(Te.session_id=Be.pendingQuery.sessionId),vn&&(Te._backend=vn),qt&&(Te.rp_name=qt,Te.resource_context=qt);const qe=await fetch(Xe,{method:"POST",headers:Ce,credentials:"include",body:JSON.stringify(Te)}),He=Be.pendingQuery.queryId;if(!qe.ok)throw new Error(`API returned ${qe.status} after Turnstile`);if((qe.headers.get("content-type")||"").includes("text/event-stream")){const rn=(le=qe.body)===null||le===void 0?void 0:le.getReader();if(!rn)throw new Error("Response body is not readable");const Ut=new TextDecoder;let an="",zt="",Sn={};for(;;){const{done:Ir,value:ln}=await rn.read();if(Ir)break;an+=Ut.decode(ln,{stream:!0});let Hn=an.indexOf(`
65
65
 
66
66
  `);for(;Hn!==-1;){const yn=an.slice(0,Hn);an=an.slice(Hn+2);let Jn="",Mn="";for(const pn of yn.split(`
67
67
  `))pn.startsWith("event: ")?Jn=pn.slice(7):pn.startsWith("data: ")&&(Mn=pn.slice(6));if(Jn&&Mn)try{const pn=JSON.parse(Mn);Jn==="token"?zt+=pn.content||"":Jn==="done"&&(Sn=pn.metadata||{})}catch{}Hn=an.indexOf(`
68
68
 
69
- `)}}if(Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null,!zt)throw new Error("No content received from stream");fe=Sn.rating_target||null,Le=Sn.is_final_response===!0,_t=He;const Qn=El(zt);return await ct(Qn),Ke?.({type:"chatbot_answer_received",queryId:He,success:!0,responseLength:zt.length}),"success"}const Ne=await qe.json();if(Ne.requires_turnstile)return Be.siteKey=Ne.site_key,Be.token=null,await ct("Still verifying — please complete the challenge again."),"needs_another_challenge";Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null;const bt=Ne.response||Ne.answer||Ne.text||Ne.message;if(!bt)throw new Error("Invalid response format from API");const xt=Ne.metadata||{};fe=xt.rating_target||null,Le=xt.is_final_response===!0,_t=He;const it=El(bt),Zt=vs()?Iv(Ne):"",qt=Zt?`${it}
69
+ `)}}if(Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null,!zt)throw new Error("No content received from stream");fe=Sn.rating_target||null,Le=Sn.is_final_response===!0,_t=He;const Qn=El(zt);return await ct(Qn),Ke?.({type:"chatbot_answer_received",queryId:He,success:!0,responseLength:zt.length}),"success"}const Ne=await qe.json();if(Ne.requires_turnstile)return Be.siteKey=Ne.site_key,Be.token=null,await ct("Still verifying — please complete the challenge again."),"needs_another_challenge";Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null;const bt=Ne.response||Ne.answer||Ne.text||Ne.message;if(!bt)throw new Error("Invalid response format from API");const xt=Ne.metadata||{};fe=xt.rating_target||null,Le=xt.is_final_response===!0,_t=He;const it=El(bt),$t=vs()?Iv(Ne):"",Kt=$t?`${it}
70
70
 
71
- ${Zt}`:it;return await ct(qt),Ke?.({type:"chatbot_answer_received",queryId:He,success:!0,responseLength:bt.length}),"success"}catch(Ce){return kn("Error resubmitting after Turnstile:",Ce),Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null,await ct?.("I had trouble processing your question after verification. Please try again."),"error"}},trackEvent:Ke,loginUrl:dt}),path:"qa_loop"}}})({endpoint:a,ratingEndpoint:l,agentRatingEndpoint:d,apiKey:i,sessionId:N.current.getSessionId,isResetting:N.current.isResetting,isLoggedIn:ve,allowAnonAccess:y,loginUrl:q||Ov,trackEvent:_e,getTurnstileToken:()=>J.current,resetTurnstileToken:()=>I.reset(),backendId:W,resourceContext:oe});return Object.assign(Object.assign({start:{message:p,renderMarkdown:["BOT"],transition:{duration:0},path:"qa_loop"}},Me),ue||{})},[i,a,l,d,p,ve,y,q,ue,w,_e,oe,W]),wt=T.useMemo(()=>{return[()=>vC(Ee),v3(),()=>y3(Me)];var Me,Ee},[]);return T.useEffect(()=>{const Me=()=>{const Xe=document.querySelector(".rcb-chat-window");if(!Xe)return;const Ge=Xe.querySelector(".rcb-send-button");Ge&&(Ge.hasAttribute("tabindex")||Ge.setAttribute("tabindex","0"),Ge.hasAttribute("data-keyboard-enabled")||(Ge.setAttribute("data-keyboard-enabled","true"),Ge.addEventListener("keydown",At=>{if(At.key==="Enter"||At.key===" "){At.preventDefault();const lt=Ge&&Object.keys(Ge).find(yt=>yt.startsWith("__reactProps"));if(lt){const yt=Ge[lt],mt=yt?.onMouseDown;if(mt&&typeof mt=="function")return void mt(At)}const gt=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});Ge.dispatchEvent(gt)}})))},Ee=setInterval(Me,1e3);return Me(),()=>clearInterval(Ee)},[]),F3(),T.useEffect(()=>{const Me=Ve.current;if(!Me)return;const Ee=Xe=>{var Ge,At,lt;const gt=(At=(Ge=Xe.target).closest)===null||At===void 0?void 0:At.call(Ge,"a");gt&&gt.closest(".rcb-chat-body-container")&&(gt.classList.contains("qa-bot-login-button")||gt.closest(".rcb-options-container")||_e({type:"chatbot_link_clicked",linkUrl:gt.href,linkText:((lt=gt.textContent)===null||lt===void 0?void 0:lt.trim())||""}))};return Me.addEventListener("click",Ee),()=>Me.removeEventListener("click",Ee)},[_e]),T.useEffect(()=>{if(!we){const Me=Ee=>{const Xe=Ee.data.newState;A?.(Xe);const Ge=ee.current;_e(Xe?{type:"chatbot_open"}:{type:"chatbot_close",messageCount:Ge?Pv(Ge):0,durationMs:Ge?I3(Ge):0})};return window.addEventListener("rcb-toggle-chat-window",Me),()=>{window.removeEventListener("rcb-toggle-chat-window",Me)}}},[we,A,_e]),ge.createElement("div",{className:"qa-bot "+(!((n=Oe.general)===null||n===void 0)&&n.embedded?"embedded-qa-bot":""),ref:Ve,role:"region","aria-label":`${M||Mv}${!((r=Oe.general)===null||r===void 0)&&r.embedded?" - Embedded":""}`},ge.createElement(M3,{getSessionId:()=>ee.current,setSessionId:Me=>{const Ee=ee.current;ee.current=Me,lu("RESTORED",`${Ee?.slice(-12)} -> ${Me.slice(-12)}`)},resetSession:()=>{const Me=ee.current;G.current=!0,ee.current=Cv(),lu("RESET",`${Me?.slice(-12)} -> ${ee.current.slice(-12)}`)},clearResettingFlag:()=>{G.current=!1}},ge.createElement(b3,{trackEvent:_e},ge.createElement(Ym,null,ge.createElement("div",null,ge.createElement(N3,null),ge.createElement(vv,{ref:e,embedded:((o=Oe.general)===null||o===void 0?void 0:o.embedded)||!1,currentOpen:h||!1,enabled:ve!==!1,onSetEnabled:Me=>me(!!Me&&void 0)}),ge.createElement($E,{key:`chatbot-${pe.current}-${ve}`,settings:Oe,flow:$e,plugins:wt}),ge.createElement("div",{role:"status","aria-live":"polite","aria-label":"Bot response updates",className:"sr-only",id:"bot-live-region",style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0}}),ge.createElement("div",{id:"chat-input-help",className:"sr-only",style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0}},"Type your message and press Enter to send. Use arrow keys to navigate through response options."))))))});Pp.displayName="QABot";const X3=()=>{const[t,e]=T.useState(!1),n=()=>typeof navigator<"u"&&navigator.mediaDevices!==void 0&&typeof navigator.mediaDevices.getDisplayMedia=="function";return{captureScreenshot:async()=>{if(!n())throw new Error("Screen capture is not available in this environment");try{e(!0);const r=await navigator.mediaDevices.getDisplayMedia({video:{displaySurface:"browser",cursor:"always",width:{ideal:1920},height:{ideal:1080}},audio:!1}),o=document.createElement("video");o.srcObject=r,await new Promise(p=>{o.onloadedmetadata=()=>{o.play(),p()}});const i=document.createElement("canvas");i.width=o.videoWidth,i.height=o.videoHeight;const a=i.getContext("2d");if(!a)throw new Error("Could not get canvas context");a.drawImage(o,0,0,i.width,i.height);const l=await new Promise(p=>i.toBlob(p,"image/png"));if(!l)throw new Error("Could not create image blob");const u=new Date().toISOString().replace(/[:.]/g,"-"),d=new File([l],`screenshot-${u}.png`,{type:"image/png"});return r.getTracks().forEach(p=>p.stop()),e(!1),d}catch(r){throw kn("Error capturing screenshot:",r),e(!1),r}},isCapturing:t,isScreenCaptureAvailable:n()}},J3=t=>ge.createElement(Tv,t,ge.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),ge.createElement("polyline",{points:"17 8 12 3 7 8"}),ge.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"15"})),Z3=t=>new Promise((e,n)=>{const r=new FileReader;r.onload=()=>{if(typeof r.result!="string")return void n(new Error(`Failed to read file ${t.name}`));const o=r.result.split(",")[1];e({fileName:t.name,contentType:t.type,size:t.size,fileData:o})},r.onerror=()=>n(new Error(`Failed to read file ${t.name}`)),r.readAsDataURL(t)}),$3=t=>Promise.all(t.map(Z3)),eD=t=>t<1024?`${t} B`:t<1048576?`${(t/1024).toFixed(1)} KB`:`${(t/1048576).toFixed(1)} MB`,uu=t=>{let{onFileUpload:e,maxSizeMB:n=10,acceptedTypes:r="image/*,application/pdf,text/*,.doc,.docx",enableScreenshot:o=!1,className:i}=t;const[a,l]=T.useState(!1),[u,d]=T.useState([]),[p,h]=T.useState(null),A=T.useRef(null),{captureScreenshot:m,isCapturing:y,isScreenCaptureAvailable:w}=X3(),b=R=>{const z=document.createElement("div");z.setAttribute("aria-live","assertive"),z.setAttribute("aria-atomic","true"),z.className="sr-only",z.textContent=R,document.body.appendChild(z),setTimeout(()=>document.body.removeChild(z),1e3)},P=R=>{if(!R||R.length===0)return void Sv("FileUploadComponent: No valid files provided to handleFiles");let z;try{z=Array.from(R)}catch(Z){return kn("FileUploadComponent: Error converting files to array:",Z),void b("Error processing selected files. Please try again.")}const V=[...u,...z];d(V);const K=z.length,q=z.map(Z=>Z.name).join(", ");b(`${K} file${K>1?"s":""} selected: ${q}`),setTimeout(()=>{const Z=document.querySelector(".rcb-chat-content");Z&&(Z.scrollTop=Z.scrollHeight)},100),e&&e(V)},M=R=>{R.preventDefault(),R.stopPropagation(),R.type==="dragenter"||R.type==="dragover"?l(!0):R.type==="dragleave"&&l(!1)},D=()=>{try{A.current&&A.current.click()}catch(R){kn("FileUploadComponent: Error in handleButtonClick:",R),b("Error opening file selection dialog. Please try again.")}},C=()=>{h(null)},j=o&&w;return ge.createElement("div",{className:`file-upload-container ${i||""}`,style:{padding:"16px",margin:"8px 0"}},j&&ge.createElement("div",{style:{display:"flex",justifyContent:"center",marginBottom:"10px"}},ge.createElement("button",{onClick:R=>{R.preventDefault(),(async()=>{try{const z=await m();P([z]),b("Screenshot captured successfully")}catch{b("Error capturing screenshot. Please try again.")}})()},disabled:y,"aria-describedby":"screenshot-help","aria-label":y?"Taking screenshot, please wait":"Take a screenshot to attach",style:{display:"flex",alignItems:"center",gap:"8px",backgroundColor:"#107180",color:"white",border:"none",borderRadius:"5px",padding:"8px 12px",cursor:y?"not-allowed":"pointer",fontSize:"14px",fontWeight:"500",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"}},ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},ge.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),ge.createElement("circle",{cx:"12",cy:"13",r:"4"})),y?"Taking screenshot...":"Take screenshot..."),ge.createElement("span",{id:"screenshot-help",className:"sr-only"},"Captures the current screen and adds it as an attachment")),ge.createElement("div",{className:"file-upload-dropzone "+(a?"active":""),onDragEnter:M,onDragLeave:M,onDragOver:M,onDrop:R=>{var z;R.preventDefault(),R.stopPropagation(),l(!1);try{!((z=R.dataTransfer)===null||z===void 0)&&z.files&&R.dataTransfer.files.length>0&&P(R.dataTransfer.files)}catch(V){kn("FileUploadComponent: Error in handleDrop:",V),b("Error processing dropped files. Please try again.")}},role:"button",tabIndex:0,"aria-label":"File upload area. Click to select files or drag and drop files here.","aria-describedby":"upload-instructions",onKeyDown:R=>{R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),D())},style:{padding:"20px",border:"2px dashed #ccc",borderRadius:"8px",backgroundColor:a?"#f0f8ff":"#fafafa",transition:"all 0.3s ease"}},ge.createElement("input",{ref:A,type:"file",className:"file-input",onChange:R=>{var z;try{!((z=R.target)===null||z===void 0)&&z.files&&R.target.files.length>0&&P(R.target.files)}catch(V){kn("FileUploadComponent: Error in handleFileSelect:",V),b("Error processing selected files. Please try again.")}},multiple:!0,style:{display:"none"},"aria-label":"Select files to upload",accept:r}),ge.createElement("div",{className:"upload-content",onClick:D,style:{cursor:"pointer",flexDirection:"column",alignItems:"center",display:"flex",textAlign:"center",padding:"12px"}},ge.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"8px"}},ge.createElement("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"10px"}},ge.createElement(J3,null),ge.createElement("p",{style:{margin:0,fontWeight:"bold"}},"Upload Files")),ge.createElement("p",{id:"upload-instructions",style:{margin:0,fontSize:"14px",color:"#666"}},"Drag and drop files here or click to select. (Max ",n,"MB each)")),u.length>0&&ge.createElement("div",{className:"selected-files",style:{display:"flex",flexWrap:"wrap",gap:"8px",marginTop:"12px",alignItems:"center"}},ge.createElement("span",{style:{fontWeight:400,color:"#888",fontSize:"13px",marginRight:"8px",alignSelf:"center"}},"Selected files:"),u.map((R,z)=>ge.createElement("span",{key:z,style:{background:"#fff",color:"#107180",borderRadius:"5px",padding:"4px 12px",fontSize:"14px",marginRight:"4px",marginBottom:"4px",border:"1px solid #ccc",display:"flex",alignItems:"center",gap:"6px",cursor:"pointer"},onClick:V=>{V.stopPropagation(),(K=>{h(K)})(R)}},ge.createElement("span",{onClick:V=>{V.stopPropagation(),(K=>{const q=u.filter((Z,W)=>W!==K);d(q),e&&e(q)})(z)},style:{cursor:"pointer",color:"#888",fontWeight:"bold",fontSize:"15px",marginRight:"4px",userSelect:"none",lineHeight:1},title:"Remove file","aria-label":`Remove ${R.name}`},"×"),R.name," (",eD(R.size),")"))))),(()=>{if(!p)return null;const R=p.type.startsWith("image/"),z=p.type.startsWith("text/"),V=p.type==="application/pdf";return ge.createElement("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.7)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e3},onClick:C},ge.createElement("div",{style:{backgroundColor:"white",padding:"20px",borderRadius:"8px",maxWidth:"90%",maxHeight:"90%",overflow:"auto",position:"relative"},onClick:K=>K.stopPropagation()},ge.createElement("button",{onClick:C,style:{position:"absolute",top:"10px",right:"10px",background:"none",border:"none",fontSize:"24px",cursor:"pointer",color:"#666"}},"×"),ge.createElement("h3",{style:{marginTop:0,marginBottom:"16px"}},p.name),R&&ge.createElement("img",{src:URL.createObjectURL(p),alt:p.name,style:{maxWidth:"100%",maxHeight:"70vh"}}),z&&ge.createElement("pre",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word",maxHeight:"70vh",overflow:"auto",padding:"16px",backgroundColor:"#f5f5f5",borderRadius:"4px"}},URL.createObjectURL(p)),V&&ge.createElement("iframe",{src:URL.createObjectURL(p),style:{width:"100%",height:"70vh",border:"none"},title:p.name}),!R&&!z&&!V&&ge.createElement("div",{style:{padding:"20px",textAlign:"center"}},"Preview not available for this file type")))})())};function tD(t,e){if(!e||Object.keys(e).length===0)return t;const n={};for(const[r,o]of Object.entries(t)){let i=Object.assign({},o);if(i.chatDisabled===void 0){const a=!(!i.options&&!i.checkboxes);i.chatDisabled=a}n[r]=i}return n}function du(t){return async e=>{const n=await t(e);await e.injectMessage(n)}}const nD=ge.forwardRef((t,e)=>{var{defaultOpen:n}=t,r=Am(t,["defaultOpen"]);const[o,i]=ge.useState(n||!1),a=ge.useRef(null);return ge.useImperativeHandle(e,()=>({addMessage:l=>{var u;(u=a.current)===null||u===void 0||u.addMessage(l)},setBotEnabled:l=>{var u;(u=a.current)===null||u===void 0||u.setBotEnabled(l)},openChat:()=>{var l;i(!0),(l=a.current)===null||l===void 0||l.openChat()},closeChat:()=>{var l;i(!1),(l=a.current)===null||l===void 0||l.closeChat()},toggleChat:()=>{var l;i(u=>!u),(l=a.current)===null||l===void 0||l.toggleChat()}}),[]),ge.createElement(Pp,Hc({ref:a},r,{open:o,onOpenChange:i}))});nD.displayName="ProgrammaticQABot";const Pr={QA_ENDPOINT:"https://qa-bot-proxy.netlify.app/api/chat",RATING_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/chat/rating/",BACKEND_ID:"access",AGENT_ENABLED:!1,AGENT_ENDPOINT:"http://localhost:8000/api/v1",get CAPABILITIES_ENDPOINT(){return`${this.AGENT_ENDPOINT}/capabilities`},get AGENT_RATING_ENDPOINT(){return`${this.AGENT_ENDPOINT}/rating`},METRICS_API_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/api/",METRICS_RATING_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/rating/",METRICS_QUESTIONS_URL:"https://metrics.access-ci.org/qa_bot_faq",NETLIFY_BASE_URL:"https://access-jsm-api.netlify.app",DEFAULT_API_KEY:"4nn5l4T4TnkMdzsK0AwAtnGRcheBDnjawuAT42LaOLc",TURNSTILE_SITE_KEY:"0x4AAAAAACyJamk8FS7-RSMr",ALLOW_ANON_ACCESS:!0},Ri={BOT_NAME:"ACCESS Q&A",LOGO:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg",WELCOME_MESSAGE:`Hello! I can answer questions about ACCESS resources, allocations, and more. Choose an option below or just type your question.
71
+ ${$t}`:it;return await ct(Kt),Ke?.({type:"chatbot_answer_received",queryId:He,success:!0,responseLength:bt.length}),"success"}catch(Ce){return kn("Error resubmitting after Turnstile:",Ce),Be.token=null,Be.pendingQuery=null,Be.needsChallenge=!1,Be.siteKey=null,await ct?.("I had trouble processing your question after verification. Please try again."),"error"}},trackEvent:Ke,loginUrl:dt}),path:"qa_loop"}}})({endpoint:a,ratingEndpoint:l,agentRatingEndpoint:d,apiKey:i,sessionId:N.current.getSessionId,isResetting:N.current.isResetting,isLoggedIn:ve,allowAnonAccess:y,loginUrl:q||Ov,trackEvent:_e,getTurnstileToken:()=>J.current,resetTurnstileToken:()=>I.reset(),backendId:W,resourceContext:oe});return Object.assign(Object.assign({start:{message:p,renderMarkdown:["BOT"],transition:{duration:0},path:"qa_loop"}},Me),ue||{})},[i,a,l,d,p,ve,y,q,ue,w,_e,oe,W]),wt=T.useMemo(()=>{return[()=>vC(Ee),v3(),()=>y3(Me)];var Me,Ee},[]);return T.useEffect(()=>{const Me=()=>{const Xe=document.querySelector(".rcb-chat-window");if(!Xe)return;const Ge=Xe.querySelector(".rcb-send-button");Ge&&(Ge.hasAttribute("tabindex")||Ge.setAttribute("tabindex","0"),Ge.hasAttribute("data-keyboard-enabled")||(Ge.setAttribute("data-keyboard-enabled","true"),Ge.addEventListener("keydown",At=>{if(At.key==="Enter"||At.key===" "){At.preventDefault();const lt=Ge&&Object.keys(Ge).find(yt=>yt.startsWith("__reactProps"));if(lt){const yt=Ge[lt],mt=yt?.onMouseDown;if(mt&&typeof mt=="function")return void mt(At)}const gt=new MouseEvent("mousedown",{bubbles:!0,cancelable:!0,view:window});Ge.dispatchEvent(gt)}})))},Ee=setInterval(Me,1e3);return Me(),()=>clearInterval(Ee)},[]),F3(),T.useEffect(()=>{const Me=Ve.current;if(!Me)return;const Ee=Xe=>{var Ge,At,lt;const gt=(At=(Ge=Xe.target).closest)===null||At===void 0?void 0:At.call(Ge,"a");gt&&gt.closest(".rcb-chat-body-container")&&(gt.classList.contains("qa-bot-login-button")||gt.closest(".rcb-options-container")||_e({type:"chatbot_link_clicked",linkUrl:gt.href,linkText:((lt=gt.textContent)===null||lt===void 0?void 0:lt.trim())||""}))};return Me.addEventListener("click",Ee),()=>Me.removeEventListener("click",Ee)},[_e]),T.useEffect(()=>{if(!we){const Me=Ee=>{const Xe=Ee.data.newState;A?.(Xe);const Ge=ee.current;_e(Xe?{type:"chatbot_open"}:{type:"chatbot_close",messageCount:Ge?Pv(Ge):0,durationMs:Ge?I3(Ge):0})};return window.addEventListener("rcb-toggle-chat-window",Me),()=>{window.removeEventListener("rcb-toggle-chat-window",Me)}}},[we,A,_e]),ge.createElement("div",{className:"qa-bot "+(!((n=Oe.general)===null||n===void 0)&&n.embedded?"embedded-qa-bot":""),ref:Ve,role:"region","aria-label":`${M||Mv}${!((r=Oe.general)===null||r===void 0)&&r.embedded?" - Embedded":""}`},ge.createElement(M3,{getSessionId:()=>ee.current,setSessionId:Me=>{const Ee=ee.current;ee.current=Me,lu("RESTORED",`${Ee?.slice(-12)} -> ${Me.slice(-12)}`)},resetSession:()=>{const Me=ee.current;G.current=!0,ee.current=Cv(),lu("RESET",`${Me?.slice(-12)} -> ${ee.current.slice(-12)}`)},clearResettingFlag:()=>{G.current=!1}},ge.createElement(b3,{trackEvent:_e},ge.createElement(Ym,null,ge.createElement("div",null,ge.createElement(N3,null),ge.createElement(vv,{ref:e,embedded:((o=Oe.general)===null||o===void 0?void 0:o.embedded)||!1,currentOpen:h||!1,enabled:ve!==!1,onSetEnabled:Me=>me(!!Me&&void 0)}),ge.createElement($E,{key:`chatbot-${pe.current}-${ve}`,settings:Oe,flow:$e,plugins:wt}),ge.createElement("div",{role:"status","aria-live":"polite","aria-label":"Bot response updates",className:"sr-only",id:"bot-live-region",style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0}}),ge.createElement("div",{id:"chat-input-help",className:"sr-only",style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0}},"Type your message and press Enter to send. Use arrow keys to navigate through response options."))))))});Pp.displayName="QABot";const X3=()=>{const[t,e]=T.useState(!1),n=()=>typeof navigator<"u"&&navigator.mediaDevices!==void 0&&typeof navigator.mediaDevices.getDisplayMedia=="function";return{captureScreenshot:async()=>{if(!n())throw new Error("Screen capture is not available in this environment");try{e(!0);const r=await navigator.mediaDevices.getDisplayMedia({video:{displaySurface:"browser",cursor:"always",width:{ideal:1920},height:{ideal:1080}},audio:!1}),o=document.createElement("video");o.srcObject=r,await new Promise(p=>{o.onloadedmetadata=()=>{o.play(),p()}});const i=document.createElement("canvas");i.width=o.videoWidth,i.height=o.videoHeight;const a=i.getContext("2d");if(!a)throw new Error("Could not get canvas context");a.drawImage(o,0,0,i.width,i.height);const l=await new Promise(p=>i.toBlob(p,"image/png"));if(!l)throw new Error("Could not create image blob");const u=new Date().toISOString().replace(/[:.]/g,"-"),d=new File([l],`screenshot-${u}.png`,{type:"image/png"});return r.getTracks().forEach(p=>p.stop()),e(!1),d}catch(r){throw kn("Error capturing screenshot:",r),e(!1),r}},isCapturing:t,isScreenCaptureAvailable:n()}},J3=t=>ge.createElement(Tv,t,ge.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),ge.createElement("polyline",{points:"17 8 12 3 7 8"}),ge.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"15"})),Z3=t=>new Promise((e,n)=>{const r=new FileReader;r.onload=()=>{if(typeof r.result!="string")return void n(new Error(`Failed to read file ${t.name}`));const o=r.result.split(",")[1];e({fileName:t.name,contentType:t.type,size:t.size,fileData:o})},r.onerror=()=>n(new Error(`Failed to read file ${t.name}`)),r.readAsDataURL(t)}),$3=t=>Promise.all(t.map(Z3)),eD=t=>t<1024?`${t} B`:t<1048576?`${(t/1024).toFixed(1)} KB`:`${(t/1048576).toFixed(1)} MB`,uu=t=>{let{onFileUpload:e,maxSizeMB:n=10,acceptedTypes:r="image/*,application/pdf,text/*,.doc,.docx",enableScreenshot:o=!1,className:i}=t;const[a,l]=T.useState(!1),[u,d]=T.useState([]),[p,h]=T.useState(null),A=T.useRef(null),{captureScreenshot:m,isCapturing:y,isScreenCaptureAvailable:w}=X3(),b=R=>{const z=document.createElement("div");z.setAttribute("aria-live","assertive"),z.setAttribute("aria-atomic","true"),z.className="sr-only",z.textContent=R,document.body.appendChild(z),setTimeout(()=>document.body.removeChild(z),1e3)},P=R=>{if(!R||R.length===0)return void Sv("FileUploadComponent: No valid files provided to handleFiles");let z;try{z=Array.from(R)}catch(Z){return kn("FileUploadComponent: Error converting files to array:",Z),void b("Error processing selected files. Please try again.")}const V=[...u,...z];d(V);const K=z.length,q=z.map(Z=>Z.name).join(", ");b(`${K} file${K>1?"s":""} selected: ${q}`),setTimeout(()=>{const Z=document.querySelector(".rcb-chat-content");Z&&(Z.scrollTop=Z.scrollHeight)},100),e&&e(V)},M=R=>{R.preventDefault(),R.stopPropagation(),R.type==="dragenter"||R.type==="dragover"?l(!0):R.type==="dragleave"&&l(!1)},D=()=>{try{A.current&&A.current.click()}catch(R){kn("FileUploadComponent: Error in handleButtonClick:",R),b("Error opening file selection dialog. Please try again.")}},C=()=>{h(null)},j=o&&w;return ge.createElement("div",{className:`file-upload-container ${i||""}`,style:{padding:"16px",margin:"8px 0"}},j&&ge.createElement("div",{style:{display:"flex",justifyContent:"center",marginBottom:"10px"}},ge.createElement("button",{onClick:R=>{R.preventDefault(),(async()=>{try{const z=await m();P([z]),b("Screenshot captured successfully")}catch{b("Error capturing screenshot. Please try again.")}})()},disabled:y,"aria-describedby":"screenshot-help","aria-label":y?"Taking screenshot, please wait":"Take a screenshot to attach",style:{display:"flex",alignItems:"center",gap:"8px",backgroundColor:"#107180",color:"white",border:"none",borderRadius:"5px",padding:"8px 12px",cursor:y?"not-allowed":"pointer",fontSize:"14px",fontWeight:"500",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"}},ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},ge.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),ge.createElement("circle",{cx:"12",cy:"13",r:"4"})),y?"Taking screenshot...":"Take screenshot..."),ge.createElement("span",{id:"screenshot-help",className:"sr-only"},"Captures the current screen and adds it as an attachment")),ge.createElement("div",{className:"file-upload-dropzone "+(a?"active":""),onDragEnter:M,onDragLeave:M,onDragOver:M,onDrop:R=>{var z;R.preventDefault(),R.stopPropagation(),l(!1);try{!((z=R.dataTransfer)===null||z===void 0)&&z.files&&R.dataTransfer.files.length>0&&P(R.dataTransfer.files)}catch(V){kn("FileUploadComponent: Error in handleDrop:",V),b("Error processing dropped files. Please try again.")}},role:"button",tabIndex:0,"aria-label":"File upload area. Click to select files or drag and drop files here.","aria-describedby":"upload-instructions",onKeyDown:R=>{R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),D())},style:{padding:"20px",border:"2px dashed #ccc",borderRadius:"8px",backgroundColor:a?"#f0f8ff":"#fafafa",transition:"all 0.3s ease"}},ge.createElement("input",{ref:A,type:"file",className:"file-input",onChange:R=>{var z;try{!((z=R.target)===null||z===void 0)&&z.files&&R.target.files.length>0&&P(R.target.files)}catch(V){kn("FileUploadComponent: Error in handleFileSelect:",V),b("Error processing selected files. Please try again.")}},multiple:!0,style:{display:"none"},"aria-label":"Select files to upload",accept:r}),ge.createElement("div",{className:"upload-content",onClick:D,style:{cursor:"pointer",flexDirection:"column",alignItems:"center",display:"flex",textAlign:"center",padding:"12px"}},ge.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"8px"}},ge.createElement("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"10px"}},ge.createElement(J3,null),ge.createElement("p",{style:{margin:0,fontWeight:"bold"}},"Upload Files")),ge.createElement("p",{id:"upload-instructions",style:{margin:0,fontSize:"14px",color:"#666"}},"Drag and drop files here or click to select. (Max ",n,"MB each)")),u.length>0&&ge.createElement("div",{className:"selected-files",style:{display:"flex",flexWrap:"wrap",gap:"8px",marginTop:"12px",alignItems:"center"}},ge.createElement("span",{style:{fontWeight:400,color:"#888",fontSize:"13px",marginRight:"8px",alignSelf:"center"}},"Selected files:"),u.map((R,z)=>ge.createElement("span",{key:z,style:{background:"#fff",color:"#107180",borderRadius:"5px",padding:"4px 12px",fontSize:"14px",marginRight:"4px",marginBottom:"4px",border:"1px solid #ccc",display:"flex",alignItems:"center",gap:"6px",cursor:"pointer"},onClick:V=>{V.stopPropagation(),(K=>{h(K)})(R)}},ge.createElement("span",{onClick:V=>{V.stopPropagation(),(K=>{const q=u.filter((Z,W)=>W!==K);d(q),e&&e(q)})(z)},style:{cursor:"pointer",color:"#888",fontWeight:"bold",fontSize:"15px",marginRight:"4px",userSelect:"none",lineHeight:1},title:"Remove file","aria-label":`Remove ${R.name}`},"×"),R.name," (",eD(R.size),")"))))),(()=>{if(!p)return null;const R=p.type.startsWith("image/"),z=p.type.startsWith("text/"),V=p.type==="application/pdf";return ge.createElement("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.7)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e3},onClick:C},ge.createElement("div",{style:{backgroundColor:"white",padding:"20px",borderRadius:"8px",maxWidth:"90%",maxHeight:"90%",overflow:"auto",position:"relative"},onClick:K=>K.stopPropagation()},ge.createElement("button",{onClick:C,style:{position:"absolute",top:"10px",right:"10px",background:"none",border:"none",fontSize:"24px",cursor:"pointer",color:"#666"}},"×"),ge.createElement("h3",{style:{marginTop:0,marginBottom:"16px"}},p.name),R&&ge.createElement("img",{src:URL.createObjectURL(p),alt:p.name,style:{maxWidth:"100%",maxHeight:"70vh"}}),z&&ge.createElement("pre",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word",maxHeight:"70vh",overflow:"auto",padding:"16px",backgroundColor:"#f5f5f5",borderRadius:"4px"}},URL.createObjectURL(p)),V&&ge.createElement("iframe",{src:URL.createObjectURL(p),style:{width:"100%",height:"70vh",border:"none"},title:p.name}),!R&&!z&&!V&&ge.createElement("div",{style:{padding:"20px",textAlign:"center"}},"Preview not available for this file type")))})())};function tD(t,e){if(!e||Object.keys(e).length===0)return t;const n={};for(const[r,o]of Object.entries(t)){let i=Object.assign({},o);if(i.chatDisabled===void 0){const a=!(!i.options&&!i.checkboxes);i.chatDisabled=a}n[r]=i}return n}function du(t){return async e=>{const n=await t(e);await e.injectMessage(n)}}const nD=ge.forwardRef((t,e)=>{var{defaultOpen:n}=t,r=Am(t,["defaultOpen"]);const[o,i]=ge.useState(n||!1),a=ge.useRef(null);return ge.useImperativeHandle(e,()=>({addMessage:l=>{var u;(u=a.current)===null||u===void 0||u.addMessage(l)},setBotEnabled:l=>{var u;(u=a.current)===null||u===void 0||u.setBotEnabled(l)},openChat:()=>{var l;i(!0),(l=a.current)===null||l===void 0||l.openChat()},closeChat:()=>{var l;i(!1),(l=a.current)===null||l===void 0||l.closeChat()},toggleChat:()=>{var l;i(u=>!u),(l=a.current)===null||l===void 0||l.toggleChat()}}),[]),ge.createElement(Pp,Hc({ref:a},r,{open:o,onOpenChange:i}))});nD.displayName="ProgrammaticQABot";const Pr={QA_ENDPOINT:"https://qa-bot-proxy.netlify.app/api/chat",RATING_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/chat/rating/",BACKEND_ID:"access",AGENT_ENABLED:!1,AGENT_ENDPOINT:"http://localhost:8000/api/v1",get CAPABILITIES_ENDPOINT(){return`${this.AGENT_ENDPOINT}/capabilities`},get AGENT_RATING_ENDPOINT(){return`${this.AGENT_ENDPOINT}/rating`},METRICS_API_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/api/",METRICS_RATING_ENDPOINT:"https://access-ai-grace1-external.ccs.uky.edu/access/xdmod/chat/rating/",METRICS_QUESTIONS_URL:"https://metrics.access-ci.org/qa_bot_faq",NETLIFY_BASE_URL:"https://access-jsm-api.netlify.app",DEFAULT_API_KEY:"4nn5l4T4TnkMdzsK0AwAtnGRcheBDnjawuAT42LaOLc",TURNSTILE_SITE_KEY:"0x4AAAAAACyJamk8FS7-RSMr",ALLOW_ANON_ACCESS:!0},Ri={BOT_NAME:"ACCESS Q&A",LOGO:"https://support.access-ci.org/themes/contrib/asp-theme/images/icons/ACCESS-arrrow.svg",WELCOME_MESSAGE:`Hello! I can answer questions about ACCESS resources, allocations, and more. Choose an option below or just type your question.
72
72
 
73
73
  <em>This assistant is powered by AI. Responses may not always be accurate. Do not share passwords or secrets.</em> <a href="https://support.access-ci.org/tools/access-qa-tool/privacy">Privacy Notice</a>`,LOGIN_URL:"/login",PRIMARY_COLOR:"#1a5b6e",SECONDARY_COLOR:"#107180",TOOLTIP:"Ask me about ACCESS! 😊"},Rv={SESSION_ID:"access-qa-bot-session-id"};function rD({welcome:t,setTicketForm:e,trackEvent:n}){return{start:{message:t,renderHtml:["BOT"],options:["Ask a question","Open a help ticket","Report a security issue","Ask about metrics"],chatDisabled:!1,path:r=>{const o=r.userInput;switch(n({type:"chatbot_menu_selected",selection:o}),o){case"Ask a question":return"qa_prompt";case"Open a help ticket":return e({}),"help_ticket";case"Report a security issue":return e({}),n({type:"chatbot_security_started"}),"security_incident";case"Ask about metrics":return"metrics_intro";default:return"qa_loop"}}},qa_prompt:{message:"What would you like to ask?",chatDisabled:!1,path:"qa_loop"}}}let Dp=null;function oD(t){Dp=t}function nt(){return Dp?Dp.ticketForm||{}:(console.warn("Form context not available, returning empty form"),{})}function _n(t={}){const e=nt();return{...e,email:t.email||e.email,name:t.name||e.name,accessId:t.accessId||e.accessId}}function Tp(t){return t&&t.length>0?`
74
74
  Attachments: ${t.length} file(s) attached`:""}const da={SUPPORT:17,LOGIN_ACCESS:30,LOGIN_PROVIDER:31,SECURITY:26};async function iD(t,e="support",n=[]){const r={support:da.SUPPORT,general_help:da.SUPPORT,loginAccess:da.LOGIN_ACCESS,loginProvider:da.LOGIN_PROVIDER,security:da.SECURITY}[e]||da.SUPPORT,o={serviceDeskId:e==="security"?3:2,requestTypeId:r,requestFieldValues:{...t}};return n.length>0&&(o.attachments=await $3(n)),o}async function sD(t,e){var n,r;const o=`${Pr.NETLIFY_BASE_URL}/api/v1/${e}`;try{const i=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!i.ok){let l="";try{const u=await i.text();try{const d=JSON.parse(u);l=d.message||d.error||u}catch{l=u}}catch{l=`HTTP ${i.status} ${i.statusText}`}return i.status===403?l="The ticket service is temporarily unavailable. Please try again later or contact support directly.":i.status===404?l="Ticket service not found. Please try again later.":i.status===500?l="Server error. Please try again later.":i.status===401&&(l="Authentication error with the ticket service. Please contact support."),{success:!1,status:i.status,error:l}}const a=await i.json();return{success:!0,ticketKey:(n=a.data)==null?void 0:n.ticketKey,ticketUrl:(r=a.data)==null?void 0:r.ticketUrl}}catch(i){return{success:!1,error:i instanceof Error?i.message:"Unknown error"}}}async function fu(t,e,n=[]){try{const r=await iD(t,e,n);return await sD(r,e==="security"?"security-incidents":"tickets")}catch(r){return{success:!1,error:r instanceof Error?r.message:"Unknown error"}}}function Bp(t,e="ticket"){return t?t.success?t.ticketUrl&&t.ticketKey?`Your ${e} has been submitted successfully.
@@ -305,6 +305,6 @@ Would you like to submit this security incident report?`},options:["Submit Secur
305
305
  display: inline !important;
306
306
  margin: 0 !important;
307
307
  }
308
- `;function kD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Nv))return;const n=document.createElement("style");n.id=Nv,n.textContent=wD,e.appendChild(n)}const Mp=T.forwardRef((t,e)=>{const{apiKey:n=Pr.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:o=Ri.LOGIN_URL,userEmail:i,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:p,onClose:h,open:A,onOpenChange:m,embedded:y=!1,welcome:w,qaEndpoint:b,ratingEndpoint:P,agentEndpoint:M,backendId:D,resourceContext:C,onAnalyticsEvent:j}=t,R=Pr.AGENT_ENABLED,z=D||Pr.BACKEND_ID,V=T.useRef(null),K=T.useRef(null),[q,Z]=T.useState({}),[W,oe]=T.useState(()=>({categories:[],is_authenticated:!1})),ue=T.useMemo(()=>({email:i,name:a,accessId:l}),[i,a,l]);T.useEffect(()=>{kD(K.current)},[]),T.useEffect(()=>{oD({ticketForm:q,setTicketForm:Z})},[q]);const te=M||Pr.AGENT_ENDPOINT,pe=C?`${te}/capabilities?resource_context=${encodeURIComponent(C)}`:`${te}/capabilities`;T.useEffect(()=>{},[te,R]),T.useEffect(()=>{},[R,pe,r]),T.useEffect(()=>{},[R,te,r]),T.useImperativeHandle(e,()=>({addMessage:J=>{var ve,me;(me=(ve=V.current)==null?void 0:ve.addMessage)==null||me.call(ve,J)}}));const ee=w||W?.welcome_message||Ri.WELCOME_MESSAGE,G=T.useMemo(()=>xD(),[]),N=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:J.timestamp??Date.now(),sessionId:J.sessionId??G})},[j,G]),de=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:typeof J.timestamp=="number"?J.timestamp:Date.now(),sessionId:typeof J.sessionId=="string"?J.sessionId:G})},[j,G]),I=T.useMemo(()=>{const J=rD({welcome:ee,setTicketForm:Z,trackEvent:N}),ve=pD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),me=AD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),we=bD({sessionId:G,apiKey:n,trackEvent:N}),_e={...J,...ve,...me,...we};return tD(_e,{disableOnOptions:!0})},[ee,ue,G,n,r,N,W]);return W?E.jsx("div",{ref:K,children:E.jsx(Pp,{ref:V,isLoggedIn:r,allowAnonAccess:Pr.ALLOW_ANON_ACCESS,actingUser:u,onAnalyticsEvent:de,apiKey:n,qaEndpoint:b||Pr.QA_ENDPOINT,ratingEndpoint:P||Pr.RATING_ENDPOINT,backendId:z,botName:Ri.BOT_NAME,logo:Ri.LOGO,primaryColor:Ri.PRIMARY_COLOR,secondaryColor:Ri.SECONDARY_COLOR,welcomeMessage:ee,tooltipText:Ri.TOOLTIP,turnstileSiteKey:Pr.TURNSTILE_SITE_KEY,loginUrl:o,open:A,onOpenChange:m,embedded:y,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",resourceContext:C,customFlow:I})}):E.jsx("div",{ref:K})});Mp.displayName="AccessQABot";const SD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Pr,AccessQABot:Mp,BOT_CONFIG:Ri,QABot:Mp},Symbol.toStringTag,{value:"Module"}));function Et({alt:t=null,name:e=null,src:n=null}){return e?E.jsx("i",{className:`icon bi bi-${e}`}):E.jsx("img",{className:"icon",alt:t,src:n})}const Fv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function Io({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:o}){const i=r||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return T.useLayoutEffect(()=>(Fv(),Fv),[]),E.jsxs("section",{id:i,"data-section-title":o,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(Et,{name:n}):null,o]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function ED({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=mf(e[0].slack_link);return E.jsxs(Io,{title:"User Community",icon:"people-fill",children:[E.jsx("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),E.jsxs("div",{className:"button-group",children:[E.jsxs("a",{href:e[0].url,className:"btn secondary",children:[E.jsx(Et,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(Et,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(Et,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function CD({infoGroupId:t}){const e=al(t),n=Xn(e&&e.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${e.infoResourceIds[0]}/?format=json`:null);if(!e)return;const{accessAllocated:r,name:o,description:i,imageUri:a,organizations:l}=e,u=r?"https://allocations.access-ci.org/get-your-first-project":null,d=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return E.jsxs("div",{className:"resource-group-description",children:[a?E.jsx("img",{className:"resource-group-feature-image",src:a}):null,E.jsx("h1",{children:e.name}),l.map(p=>E.jsx("p",{children:E.jsxs("a",{href:p.organization_url||"#",children:[p.organization_favicon_url?E.jsx(Et,{alt:p.organization_name,src:p.organization_favicon_url}):null,p.organization_name]})},p.organization_name)),i?E.jsx("p",{children:i}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(Et,{name:"check2-circle"})," Get Started with ",o]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(Et,{name:"book"})," User Guide"]}):null]})]})}function PD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],o=["cell"];return t.class&&o.push(t.class),t.rowClass&&o.push(t.rowClass(e)),E.jsx("td",{className:o.join(" "),style:n,children:r})}const DD={text:PD};function hu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:o=400,minWidth:i,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=T.useRef();T.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let y=0;y<r;y++)d[y+1]=d[y]+(t[y].width||100);const p=(y,w)=>y<r?{position:"sticky",left:`${d[y]}px`,minWidth:`${t[y].width||100}px`,width:`${t[y].width||100}px`,zIndex:w||1}:{},h=t.map((y,w)=>E.jsx("th",{className:y.headerClass||y.class||"",style:p(w,100),children:y.formatHeader?y.formatHeader(y.name,y):y.name},y.key)),A=e.map((y,w)=>{const b=t.map((P,M)=>{const D=DD[P.type||"text"];return E.jsx(D,{column:P,row:y,style:p(M)},P.key)});return E.jsx("tr",{className:a[w]||"",children:b},w)}),m={};return i&&(m.minWidth=i),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:h})}),E.jsx("tbody",{children:A})]})})}function TD({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`),n=e&&!e.error&&e.length?e[0].field_ask_ci_locale:null,r=n?`${n}.json`:null,o=Xn(r);if(!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length)return;const i=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(Et,{name:"pin-fill"}):null,E.jsx("a",{href:`https://ask.cyberinfrastructure.org/t/${u.slug}/${u.id}`,children:l})]})},{key:"posts_count",name:"Posts",format:l=>l.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:l=>new Date(l).toLocaleString("en-US",{dateStyle:"medium"})}],a=[E.jsx("a",{href:n,className:"btn secondary",children:"Ask a Question"},"ask"),E.jsx("a",{href:n,className:"btn",children:"View All Topics"},"all")];return E.jsx(Io,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(hu,{columns:i,rows:o.topic_list.topics.slice(0,5)})})}var sr="top",Vr="bottom",Wr="right",ar="left",Op="auto",Dl=[sr,Vr,Wr,ar],fa="start",Tl="end",BD="clippingParents",jv="viewport",Bl="popper",_D="reference",zv=Dl.reduce(function(t,e){return t.concat([e+"-"+fa,e+"-"+Tl])},[]),Qv=[].concat(Dl,[Op]).reduce(function(t,e){return t.concat([e,e+"-"+fa,e+"-"+Tl])},[]),ID="beforeRead",MD="read",OD="afterRead",RD="beforeMain",LD="main",ND="afterMain",FD="beforeWrite",jD="write",zD="afterWrite",QD=[ID,MD,OD,RD,LD,ND,FD,jD,zD];function Mo(t){return t?(t.nodeName||"").toLowerCase():null}function Dr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function bs(t){var e=Dr(t).Element;return t instanceof e||t instanceof Element}function Yr(t){var e=Dr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Rp(t){if(typeof ShadowRoot>"u")return!1;var e=Dr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function HD(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!Yr(i)||!Mo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var l=o[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function UD(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),l=a.reduce(function(u,d){return u[d]="",u},{});!Yr(o)||!Mo(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}const Hv={name:"applyStyles",enabled:!0,phase:"write",fn:HD,effect:UD,requires:["computeStyles"]};function Oo(t){return t.split("-")[0]}var xs=Math.max,Au=Math.min,pa=Math.round;function Lp(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Uv(){return!/^((?!chrome|android).)*safari/i.test(Lp())}function ha(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&Yr(t)&&(o=t.offsetWidth>0&&pa(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&pa(r.height)/t.offsetHeight||1);var a=bs(t)?Dr(t):window,l=a.visualViewport,u=!Uv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/o,p=(r.top+(u&&l?l.offsetTop:0))/i,h=r.width/o,A=r.height/i;return{width:h,height:A,top:p,right:d+h,bottom:p+A,left:d,x:d,y:p}}function Np(t){var e=ha(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Vv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Rp(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ai(t){return Dr(t).getComputedStyle(t)}function VD(t){return["table","td","th"].indexOf(Mo(t))>=0}function Li(t){return((bs(t)?t.ownerDocument:t.document)||window.document).documentElement}function gu(t){return Mo(t)==="html"?t:t.assignedSlot||t.parentNode||(Rp(t)?t.host:null)||Li(t)}function Wv(t){return!Yr(t)||ai(t).position==="fixed"?null:t.offsetParent}function WD(t){var e=/firefox/i.test(Lp()),n=/Trident/i.test(Lp());if(n&&Yr(t)){var r=ai(t);if(r.position==="fixed")return null}var o=gu(t);for(Rp(o)&&(o=o.host);Yr(o)&&["html","body"].indexOf(Mo(o))<0;){var i=ai(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function _l(t){for(var e=Dr(t),n=Wv(t);n&&VD(n)&&ai(n).position==="static";)n=Wv(n);return n&&(Mo(n)==="html"||Mo(n)==="body"&&ai(n).position==="static")?e:n||WD(t)||e}function Fp(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Il(t,e,n){return xs(t,Au(e,n))}function YD(t,e,n){var r=Il(t,e,n);return r>n?n:r}function Yv(){return{top:0,right:0,bottom:0,left:0}}function qv(t){return Object.assign({},Yv(),t)}function Kv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var qD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qv(typeof e!="number"?e:Kv(e,Dl))};function KD(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Oo(n.placement),u=Fp(l),d=[ar,Wr].indexOf(l)>=0,p=d?"height":"width";if(!(!i||!a)){var h=qD(o.padding,n),A=Np(i),m=u==="y"?sr:ar,y=u==="y"?Vr:Wr,w=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],b=a[u]-n.rects.reference[u],P=_l(i),M=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-b/2,C=h[m],j=M-A[p]-h[y],R=M/2-A[p]/2+D,z=Il(C,R,j),V=u;n.modifiersData[r]=(e={},e[V]=z,e.centerOffset=z-R,e)}}function GD(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Vv(e.elements.popper,o)&&(e.elements.arrow=o))}const XD={name:"arrow",enabled:!0,phase:"main",fn:KD,effect:GD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Aa(t){return t.split("-")[1]}var JD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZD(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:pa(n*o)/o||0,y:pa(r*o)/o||0}}function Gv(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,h=t.isFixed,A=a.x,m=A===void 0?0:A,y=a.y,w=y===void 0?0:y,b=typeof p=="function"?p({x:m,y:w}):{x:m,y:w};m=b.x,w=b.y;var P=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),D=ar,C=sr,j=window;if(d){var R=_l(n),z="clientHeight",V="clientWidth";if(R===Dr(n)&&(R=Li(n),ai(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",V="scrollWidth")),R=R,o===sr||(o===ar||o===Wr)&&i===Tl){C=Vr;var K=h&&R===j&&j.visualViewport?j.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(o===ar||(o===sr||o===Vr)&&i===Tl){D=Wr;var q=h&&R===j&&j.visualViewport?j.visualViewport.width:R[V];m-=q-r.width,m*=u?1:-1}}var Z=Object.assign({position:l},d&&JD),W=p===!0?ZD({x:m,y:w},Dr(n)):{x:m,y:w};if(m=W.x,w=W.y,u){var oe;return Object.assign({},Z,(oe={},oe[C]=M?"0":"",oe[D]=P?"0":"",oe.transform=(j.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",oe))}return Object.assign({},Z,(e={},e[C]=M?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function $D(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:Oo(e.placement),variation:Aa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Gv(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Gv(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const eT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$D,data:{}};var mu={passive:!0};function tT(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,u=Dr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(p){p.addEventListener("scroll",n.update,mu)}),l&&u.addEventListener("resize",n.update,mu),function(){i&&d.forEach(function(p){p.removeEventListener("scroll",n.update,mu)}),l&&u.removeEventListener("resize",n.update,mu)}}const nT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tT,data:{}};var rT={left:"right",right:"left",bottom:"top",top:"bottom"};function vu(t){return t.replace(/left|right|bottom|top/g,function(e){return rT[e]})}var oT={start:"end",end:"start"};function Xv(t){return t.replace(/start|end/g,function(e){return oT[e]})}function jp(t){var e=Dr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function zp(t){return ha(Li(t)).left+jp(t).scrollLeft}function iT(t,e){var n=Dr(t),r=Li(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var d=Uv();(d||!d&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+zp(t),y:u}}function sT(t){var e,n=Li(t),r=jp(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=xs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=xs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+zp(t),u=-r.scrollTop;return ai(o||n).direction==="rtl"&&(l+=xs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}function Qp(t){var e=ai(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jv(t){return["html","body","#document"].indexOf(Mo(t))>=0?t.ownerDocument.body:Yr(t)&&Qp(t)?t:Jv(gu(t))}function Ml(t,e){var n;e===void 0&&(e=[]);var r=Jv(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Dr(r),a=o?[i].concat(i.visualViewport||[],Qp(r)?r:[]):r,l=e.concat(a);return o?l:l.concat(Ml(gu(a)))}function Hp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function aT(t,e){var n=ha(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Zv(t,e,n){return e===jv?Hp(iT(t,n)):bs(e)?aT(e,n):Hp(sT(Li(t)))}function lT(t){var e=Ml(gu(t)),n=["absolute","fixed"].indexOf(ai(t).position)>=0,r=n&&Yr(t)?_l(t):t;return bs(r)?e.filter(function(o){return bs(o)&&Vv(o,r)&&Mo(o)!=="body"}):[]}function cT(t,e,n,r){var o=e==="clippingParents"?lT(t):[].concat(e),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(u,d){var p=Zv(t,d,r);return u.top=xs(p.top,u.top),u.right=Au(p.right,u.right),u.bottom=Au(p.bottom,u.bottom),u.left=xs(p.left,u.left),u},Zv(t,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function $v(t){var e=t.reference,n=t.element,r=t.placement,o=r?Oo(r):null,i=r?Aa(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(o){case sr:u={x:a,y:e.y-n.height};break;case Vr:u={x:a,y:e.y+e.height};break;case Wr:u={x:e.x+e.width,y:l};break;case ar:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=o?Fp(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(i){case fa:u[d]=u[d]-(e[p]/2-n[p]/2);break;case Tl:u[d]=u[d]+(e[p]/2-n[p]/2);break}}return u}function Ol(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,l=n.boundary,u=l===void 0?BD:l,d=n.rootBoundary,p=d===void 0?jv:d,h=n.elementContext,A=h===void 0?Bl:h,m=n.altBoundary,y=m===void 0?!1:m,w=n.padding,b=w===void 0?0:w,P=qv(typeof b!="number"?b:Kv(b,Dl)),M=A===Bl?_D:Bl,D=t.rects.popper,C=t.elements[y?M:A],j=cT(bs(C)?C:C.contextElement||Li(t.elements.popper),u,p,a),R=ha(t.elements.reference),z=$v({reference:R,element:D,placement:o}),V=Hp(Object.assign({},D,z)),K=A===Bl?V:R,q={top:j.top-K.top+P.top,bottom:K.bottom-j.bottom+P.bottom,left:j.left-K.left+P.left,right:K.right-j.right+P.right},Z=t.modifiersData.offset;if(A===Bl&&Z){var W=Z[o];Object.keys(q).forEach(function(oe){var ue=[Wr,Vr].indexOf(oe)>=0?1:-1,te=[sr,Vr].indexOf(oe)>=0?"y":"x";q[oe]+=W[te]*ue})}return q}function uT(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Qv:u,p=Aa(r),h=p?l?zv:zv.filter(function(y){return Aa(y)===p}):Dl,A=h.filter(function(y){return d.indexOf(y)>=0});A.length===0&&(A=h);var m=A.reduce(function(y,w){return y[w]=Ol(t,{placement:w,boundary:o,rootBoundary:i,padding:a})[Oo(w)],y},{});return Object.keys(m).sort(function(y,w){return m[y]-m[w]})}function dT(t){if(Oo(t)===Op)return[];var e=vu(t);return[Xv(t),e,Xv(e)]}function fT(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,p=n.boundary,h=n.rootBoundary,A=n.altBoundary,m=n.flipVariations,y=m===void 0?!0:m,w=n.allowedAutoPlacements,b=e.options.placement,P=Oo(b),M=P===b,D=u||(M||!y?[vu(b)]:dT(b)),C=[b].concat(D).reduce(function(me,we){return me.concat(Oo(we)===Op?uT(e,{placement:we,boundary:p,rootBoundary:h,padding:d,flipVariations:y,allowedAutoPlacements:w}):we)},[]),j=e.rects.reference,R=e.rects.popper,z=new Map,V=!0,K=C[0],q=0;q<C.length;q++){var Z=C[q],W=Oo(Z),oe=Aa(Z)===fa,ue=[sr,Vr].indexOf(W)>=0,te=ue?"width":"height",pe=Ol(e,{placement:Z,boundary:p,rootBoundary:h,altBoundary:A,padding:d}),ee=ue?oe?Wr:ar:oe?Vr:sr;j[te]>R[te]&&(ee=vu(ee));var G=vu(ee),N=[];if(i&&N.push(pe[W]<=0),l&&N.push(pe[ee]<=0,pe[G]<=0),N.every(function(me){return me})){K=Z,V=!1;break}z.set(Z,N)}if(V)for(var de=y?3:1,I=function(we){var _e=C.find(function(Oe){var Ve=z.get(Oe);if(Ve)return Ve.slice(0,we).every(function(ze){return ze})});if(_e)return K=_e,"break"},J=de;J>0;J--){var ve=I(J);if(ve==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const pT={name:"flip",enabled:!0,phase:"main",fn:fT,requiresIfExists:["offset"],data:{_skip:!1}};function ey(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ty(t){return[sr,Wr,Vr,ar].some(function(e){return t[e]>=0})}function hT(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Ol(e,{elementContext:"reference"}),l=Ol(e,{altBoundary:!0}),u=ey(a,r),d=ey(l,o,i),p=ty(u),h=ty(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const AT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hT};function gT(t,e,n){var r=Oo(t),o=[ar,sr].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[ar,Wr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function mT(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Qv.reduce(function(p,h){return p[h]=gT(h,e.rects,i),p},{}),l=a[e.placement],u=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}const vT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mT};function yT(t){var e=t.state,n=t.name;e.modifiersData[n]=$v({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const bT={name:"popperOffsets",enabled:!0,phase:"read",fn:yT,data:{}};function xT(t){return t==="x"?"y":"x"}function wT(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,A=n.tether,m=A===void 0?!0:A,y=n.tetherOffset,w=y===void 0?0:y,b=Ol(e,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),P=Oo(e.placement),M=Aa(e.placement),D=!M,C=Fp(P),j=xT(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,V=e.rects.popper,K=typeof w=="function"?w(Object.assign({},e.rects,{placement:e.placement})):w,q=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,W={x:0,y:0};if(R){if(i){var oe,ue=C==="y"?sr:ar,te=C==="y"?Vr:Wr,pe=C==="y"?"height":"width",ee=R[C],G=ee+b[ue],N=ee-b[te],de=m?-V[pe]/2:0,I=M===fa?z[pe]:V[pe],J=M===fa?-V[pe]:-z[pe],ve=e.elements.arrow,me=m&&ve?Np(ve):{width:0,height:0},we=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Yv(),_e=we[ue],Oe=we[te],Ve=Il(0,z[pe],me[pe]),ze=D?z[pe]/2-de-Ve-_e-q.mainAxis:I-Ve-_e-q.mainAxis,$e=D?-z[pe]/2+de+Ve+Oe+q.mainAxis:J+Ve+Oe+q.mainAxis,wt=e.elements.arrow&&_l(e.elements.arrow),Me=wt?C==="y"?wt.clientTop||0:wt.clientLeft||0:0,Ee=(oe=Z?.[C])!=null?oe:0,Xe=ee+ze-Ee-Me,Ge=ee+$e-Ee,At=Il(m?Au(G,Xe):G,ee,m?xs(N,Ge):N);R[C]=At,W[C]=At-ee}if(l){var lt,gt=C==="x"?sr:ar,yt=C==="x"?Vr:Wr,mt=R[j],Rt=j==="y"?"height":"width",dt=mt+b[gt],Ke=mt-b[yt],fn=[sr,ar].indexOf(P)!==-1,Yt=(lt=Z?.[j])!=null?lt:0,vn=fn?dt:mt-z[Rt]-V[Rt]-Yt+q.altAxis,nn=fn?mt+z[Rt]+V[Rt]-Yt-q.altAxis:Ke,_t=m&&fn?YD(vn,mt,nn):Il(m?vn:dt,mt,m?nn:Ke);R[j]=_t,W[j]=_t-mt}e.modifiersData[r]=W}}const kT={name:"preventOverflow",enabled:!0,phase:"main",fn:wT,requiresIfExists:["offset"]};function ST(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ET(t){return t===Dr(t)||!Yr(t)?jp(t):ST(t)}function CT(t){var e=t.getBoundingClientRect(),n=pa(e.width)/t.offsetWidth||1,r=pa(e.height)/t.offsetHeight||1;return n!==1||r!==1}function PT(t,e,n){n===void 0&&(n=!1);var r=Yr(e),o=Yr(e)&&CT(e),i=Li(e),a=ha(t,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Mo(e)!=="body"||Qp(i))&&(l=ET(e)),Yr(e)?(u=ha(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=zp(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function DT(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&o(u)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function TT(t){var e=DT(t);return QD.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function BT(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _T(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var ny={placement:"bottom",modifiers:[],strategy:"absolute"};function ry(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function IT(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?ny:o;return function(l,u,d){d===void 0&&(d=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ny,i),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},h=[],A=!1,m={state:p,setOptions:function(P){var M=typeof P=="function"?P(p.options):P;w(),p.options=Object.assign({},i,p.options,M),p.scrollParents={reference:bs(l)?Ml(l):l.contextElement?Ml(l.contextElement):[],popper:Ml(u)};var D=TT(_T([].concat(r,p.options.modifiers)));return p.orderedModifiers=D.filter(function(C){return C.enabled}),y(),m.update()},forceUpdate:function(){if(!A){var P=p.elements,M=P.reference,D=P.popper;if(ry(M,D)){p.rects={reference:PT(M,_l(D),p.options.strategy==="fixed"),popper:Np(D)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(q){return p.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<p.orderedModifiers.length;C++){if(p.reset===!0){p.reset=!1,C=-1;continue}var j=p.orderedModifiers[C],R=j.fn,z=j.options,V=z===void 0?{}:z,K=j.name;typeof R=="function"&&(p=R({state:p,options:V,name:K,instance:m})||p)}}}},update:BT(function(){return new Promise(function(b){m.forceUpdate(),b(p)})}),destroy:function(){w(),A=!0}};if(!ry(l,u))return m;m.setOptions(d).then(function(b){!A&&d.onFirstUpdate&&d.onFirstUpdate(b)});function y(){p.orderedModifiers.forEach(function(b){var P=b.name,M=b.options,D=M===void 0?{}:M,C=b.effect;if(typeof C=="function"){var j=C({state:p,name:P,instance:m,options:D}),R=function(){};h.push(j||R)}})}function w(){h.forEach(function(b){return b()}),h=[]}return m}}var MT=[nT,bT,eT,Hv,vT,pT,kT,XD,AT],OT=IT({defaultModifiers:MT}),RT="tippy-box",oy="tippy-content",LT="tippy-backdrop",iy="tippy-arrow",sy="tippy-svg-arrow",ws={passive:!0,capture:!0},ay=function(){return document.body};function Up(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Vp(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ly(t,e){return typeof t=="function"?t.apply(void 0,e):t}function cy(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function NT(t){return t.split(/\s+/).filter(Boolean)}function ga(t){return[].concat(t)}function uy(t,e){t.indexOf(e)===-1&&t.push(e)}function FT(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function jT(t){return t.split("-")[0]}function yu(t){return[].slice.call(t)}function dy(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Rl(){return document.createElement("div")}function bu(t){return["Element","Fragment"].some(function(e){return Vp(t,e)})}function zT(t){return Vp(t,"NodeList")}function QT(t){return Vp(t,"MouseEvent")}function HT(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function UT(t){return bu(t)?[t]:zT(t)?yu(t):Array.isArray(t)?t:yu(document.querySelectorAll(t))}function Wp(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function fy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function VT(t){var e,n=ga(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function WT(t,e){var n=e.clientX,r=e.clientY;return t.every(function(o){var i=o.popperRect,a=o.popperState,l=o.props,u=l.interactiveBorder,d=jT(a.placement),p=a.modifiersData.offset;if(!p)return!0;var h=d==="bottom"?p.top.y:0,A=d==="top"?p.bottom.y:0,m=d==="right"?p.left.x:0,y=d==="left"?p.right.x:0,w=i.top-r+h>u,b=r-i.bottom-A>u,P=i.left-n+m>u,M=n-i.right-y>u;return w||b||P||M})}function Yp(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){t[r](o,n)})}function py(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Ro={isTouch:!1},hy=0;function YT(){Ro.isTouch||(Ro.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ay))}function Ay(){var t=performance.now();t-hy<20&&(Ro.isTouch=!1,document.removeEventListener("mousemove",Ay)),hy=t}function qT(){var t=document.activeElement;if(HT(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function KT(){document.addEventListener("touchstart",YT,ws),window.addEventListener("blur",qT)}var GT=typeof window<"u"&&typeof document<"u",XT=GT?!!window.msCrypto:!1,JT={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ZT={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},so=Object.assign({appendTo:ay,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},JT,ZT),$T=Object.keys(so),eB=function(e){var n=Object.keys(e);n.forEach(function(r){so[r]=e[r]})};function gy(t){var e=t.plugins||[],n=e.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var l;r[i]=t[i]!==void 0?t[i]:(l=so[i])!=null?l:a}return r},{});return Object.assign({},t,n)}function tB(t,e){var n=e?Object.keys(gy(Object.assign({},so,{plugins:e}))):$T,r=n.reduce(function(o,i){var a=(t.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function my(t,e){var n=Object.assign({},e,{content:ly(e.content,[t])},e.ignoreAttributes?{}:tB(t,e.plugins));return n.aria=Object.assign({},so.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var nB=function(){return"innerHTML"};function qp(t,e){t[nB()]=e}function vy(t){var e=Rl();return t===!0?e.className=iy:(e.className=sy,bu(t)?e.appendChild(t):qp(e,t)),e}function yy(t,e){bu(e.content)?(qp(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?qp(t,e.content):t.textContent=e.content)}function Kp(t){var e=t.firstElementChild,n=yu(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(oy)}),arrow:n.find(function(r){return r.classList.contains(iy)||r.classList.contains(sy)}),backdrop:n.find(function(r){return r.classList.contains(LT)})}}function by(t){var e=Rl(),n=Rl();n.className=RT,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rl();r.className=oy,r.setAttribute("data-state","hidden"),yy(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props);function o(i,a){var l=Kp(e),u=l.box,d=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&yy(d,t.props),a.arrow?p?i.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(vy(a.arrow))):u.appendChild(vy(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:o}}by.$$tippy=!0;var rB=1,xu=[],Gp=[];function oB(t,e){var n=my(t,Object.assign({},so,gy(dy(e)))),r,o,i,a=!1,l=!1,u=!1,d=!1,p,h,A,m=[],y=cy(Xe,n.interactiveDebounce),w,b=rB++,P=null,M=FT(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:b,reference:t,popper:Rl(),popperInstance:P,props:n,state:D,plugins:M,clearDelayTimeouts:vn,setProps:nn,setContent:_t,show:fe,hide:Le,hideWithInteractivity:Be,enable:fn,disable:Yt,unmount:ct,destroy:We};if(!n.render)return C;var j=n.render(C),R=j.popper,z=j.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var V=M.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return wt(),de(),ee(),G("onCreate",[C]),n.showOnCreate&&dt(),R.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),R.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&ue().addEventListener("mousemove",y)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function Z(){return q()[0]==="hold"}function W(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function oe(){return w||t}function ue(){var le=oe().parentNode;return le?VT(le):document}function te(){return Kp(R)}function pe(le){return C.state.isMounted&&!C.state.isVisible||Ro.isTouch||p&&p.type==="focus"?0:Up(C.props.delay,le?0:1,so.delay)}function ee(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ce,Te){if(Te===void 0&&(Te=!0),V.forEach(function(He){He[le]&&He[le].apply(He,Ce)}),Te){var qe;(qe=C.props)[le].apply(qe,Ce)}}function N(){var le=C.props.aria;if(le.content){var Ce="aria-"+le.content,Te=R.id,qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){var Ne=He.getAttribute(Ce);if(C.state.isVisible)He.setAttribute(Ce,Ne?Ne+" "+Te:Te);else{var bt=Ne&&Ne.replace(Te,"").trim();bt?He.setAttribute(Ce,bt):He.removeAttribute(Ce)}})}}function de(){if(!(K||!C.props.aria.expanded)){var le=ga(C.props.triggerTarget||t);le.forEach(function(Ce){C.props.interactive?Ce.setAttribute("aria-expanded",C.state.isVisible&&Ce===oe()?"true":"false"):Ce.removeAttribute("aria-expanded")})}}function I(){ue().removeEventListener("mousemove",y),xu=xu.filter(function(le){return le!==y})}function J(le){if(!(Ro.isTouch&&(u||le.type==="mousedown"))){var Ce=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&py(R,Ce))){if(ga(C.props.triggerTarget||t).some(function(Te){return py(Te,Ce)})){if(Ro.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else G("onClickOutside",[C,le]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||_e())}}}function ve(){u=!0}function me(){u=!1}function we(){var le=ue();le.addEventListener("mousedown",J,!0),le.addEventListener("touchend",J,ws),le.addEventListener("touchstart",me,ws),le.addEventListener("touchmove",ve,ws)}function _e(){var le=ue();le.removeEventListener("mousedown",J,!0),le.removeEventListener("touchend",J,ws),le.removeEventListener("touchstart",me,ws),le.removeEventListener("touchmove",ve,ws)}function Oe(le,Ce){ze(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ce()})}function Ve(le,Ce){ze(le,Ce)}function ze(le,Ce){var Te=te().box;function qe(He){He.target===Te&&(Yp(Te,"remove",qe),Ce())}if(le===0)return Ce();Yp(Te,"remove",h),Yp(Te,"add",qe),h=qe}function $e(le,Ce,Te){Te===void 0&&(Te=!1);var qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){He.addEventListener(le,Ce,Te),m.push({node:He,eventType:le,handler:Ce,options:Te})})}function wt(){Z()&&($e("touchstart",Ee,{passive:!0}),$e("touchend",Ge,{passive:!0})),NT(C.props.trigger).forEach(function(le){if(le!=="manual")switch($e(le,Ee),le){case"mouseenter":$e("mouseleave",Ge);break;case"focus":$e(XT?"focusout":"blur",At);break;case"focusin":$e("focusout",At);break}})}function Me(){m.forEach(function(le){var Ce=le.node,Te=le.eventType,qe=le.handler,He=le.options;Ce.removeEventListener(Te,qe,He)}),m=[]}function Ee(le){var Ce,Te=!1;if(!(!C.state.isEnabled||lt(le)||l)){var qe=((Ce=p)==null?void 0:Ce.type)==="focus";p=le,w=le.currentTarget,de(),!C.state.isVisible&&QT(le)&&xu.forEach(function(He){return He(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Te=!0:dt(le),le.type==="click"&&(a=!Te),Te&&!qe&&Ke(le)}}function Xe(le){var Ce=le.target,Te=oe().contains(Ce)||R.contains(Ce);if(!(le.type==="mousemove"&&Te)){var qe=Rt().concat(R).map(function(He){var Ne,bt=He._tippy,xt=(Ne=bt.popperInstance)==null?void 0:Ne.state;return xt?{popperRect:He.getBoundingClientRect(),popperState:xt,props:n}:null}).filter(Boolean);WT(qe,le)&&(I(),Ke(le))}}function Ge(le){var Ce=lt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ce){if(C.props.interactive){C.hideWithInteractivity(le);return}Ke(le)}}function At(le){C.props.trigger.indexOf("focusin")<0&&le.target!==oe()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||Ke(le)}function lt(le){return Ro.isTouch?Z()!==le.type.indexOf("touch")>=0:!1}function gt(){yt();var le=C.props,Ce=le.popperOptions,Te=le.placement,qe=le.offset,He=le.getReferenceClientRect,Ne=le.moveTransition,bt=W()?Kp(R).arrow:null,xt=He?{getBoundingClientRect:He,contextElement:He.contextElement||oe()}:t,it={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(rn){var Ut=rn.state;if(W()){var an=te(),zt=an.box;["placement","reference-hidden","escaped"].forEach(function(Sn){Sn==="placement"?zt.setAttribute("data-placement",Ut.placement):Ut.attributes.popper["data-popper-"+Sn]?zt.setAttribute("data-"+Sn,""):zt.removeAttribute("data-"+Sn)}),Ut.attributes.popper={}}}},Zt=[{name:"offset",options:{offset:qe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ne}},it];W()&&bt&&Zt.push({name:"arrow",options:{element:bt,padding:3}}),Zt.push.apply(Zt,Ce?.modifiers||[]),C.popperInstance=OT(xt,R,Object.assign({},Ce,{placement:Te,onFirstUpdate:A,modifiers:Zt}))}function yt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function mt(){var le=C.props.appendTo,Ce,Te=oe();C.props.interactive&&le===ay||le==="parent"?Ce=Te.parentNode:Ce=ly(le,[Te]),Ce.contains(R)||Ce.appendChild(R),C.state.isMounted=!0,gt()}function Rt(){return yu(R.querySelectorAll("[data-tippy-root]"))}function dt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),we();var Ce=pe(!0),Te=q(),qe=Te[0],He=Te[1];Ro.isTouch&&qe==="hold"&&He&&(Ce=He),Ce?r=setTimeout(function(){C.show()},Ce):C.show()}function Ke(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){_e();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ce=pe(!1);Ce?o=setTimeout(function(){C.state.isVisible&&C.hide()},Ce):i=requestAnimationFrame(function(){C.hide()})}}function fn(){C.state.isEnabled=!0}function Yt(){C.hide(),C.state.isEnabled=!1}function vn(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function nn(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Me();var Ce=C.props,Te=my(t,Object.assign({},Ce,dy(le),{ignoreAttributes:!0}));C.props=Te,wt(),Ce.interactiveDebounce!==Te.interactiveDebounce&&(I(),y=cy(Xe,Te.interactiveDebounce)),Ce.triggerTarget&&!Te.triggerTarget?ga(Ce.triggerTarget).forEach(function(qe){qe.removeAttribute("aria-expanded")}):Te.triggerTarget&&t.removeAttribute("aria-expanded"),de(),ee(),z&&z(Ce,Te),C.popperInstance&&(gt(),Rt().forEach(function(qe){requestAnimationFrame(qe._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function _t(le){C.setProps({content:le})}function fe(){var le=C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Ro.isTouch&&!C.props.touch,He=Up(C.props.duration,0,so.duration);if(!(le||Ce||Te||qe)&&!oe().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,W()&&(R.style.visibility="visible"),ee(),we(),C.state.isMounted||(R.style.transition="none"),W()){var Ne=te(),bt=Ne.box,xt=Ne.content;Wp([bt,xt],0)}A=function(){var Zt;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,W()&&C.props.animation){var qt=te(),rn=qt.box,Ut=qt.content;Wp([rn,Ut],He),fy([rn,Ut],"visible")}N(),de(),uy(Gp,C),(Zt=C.popperInstance)==null||Zt.forceUpdate(),G("onMount",[C]),C.props.animation&&W()&&Ve(He,function(){C.state.isShown=!0,G("onShown",[C])})}},mt()}}function Le(){var le=!C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Up(C.props.duration,1,so.duration);if(!(le||Ce||Te)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,W()&&(R.style.visibility="hidden"),I(),_e(),ee(!0),W()){var He=te(),Ne=He.box,bt=He.content;C.props.animation&&(Wp([Ne,bt],qe),fy([Ne,bt],"hidden"))}N(),de(),C.props.animation?W()&&Oe(qe,C.unmount):C.unmount()}}function Be(le){ue().addEventListener("mousemove",y),uy(xu,y),y(le)}function ct(){C.state.isVisible&&C.hide(),C.state.isMounted&&(yt(),Rt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Gp=Gp.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function We(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Me(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ll(t,e){e===void 0&&(e={});var n=so.plugins.concat(e.plugins||[]);KT();var r=Object.assign({},e,{plugins:n}),o=UT(t),i=o.reduce(function(a,l){var u=l&&oB(l,r);return u&&a.push(u),a},[]);return bu(t)?i[0]:i}Ll.defaultProps=so,Ll.setDefaultProps=eB,Ll.currentInput=Ro,Object.assign({},Hv,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Ll.setDefaultProps({render:by});function iB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=T.useRef(null);return T.useLayoutEffect(()=>{r.current&&Ll(r.current,{content:n,theme:"access",appendTo:r.current.parentElement})},[r.current]),E.jsx("button",{className:"info-tip",style:{color:t},ref:r,children:E.jsx(Et,{name:e})})}function sB({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(Io,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:o})=>E.jsxs("li",{children:[E.jsx("a",{href:Og(o),children:n}),r?E.jsx(iB,{tooltip:mf(r)}):null]},n))})})}function aB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(Et,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function lB({children:t}){const[e,n]=T.useState(!1);return E.jsxs("div",{className:`expand-text ${e?"expanded":"contracted"}`,children:[t,E.jsxs("button",{className:"expand-button",onClick:()=>n(!e),children:[E.jsx(Et,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function cB({date__end:t,date__start:e,description:n,location:r,registration:o,speaker:i,title:a}){const l=o,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let p=null;const h=e,A=t;if(h){const m=new Date(h),y=new Date(A||h),[w,b]=[m,y].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,M]=[m,y].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(M!=P||b!=w)&&(C.push("-"),b!=w&&C.push(`${b},`),C.push(M)),C.push(`(${D})`),d.push(E.jsx(Et,{name:"calendar"}),C.join(" ")),i&&d.push(E.jsx(Et,{name:"people-fill"}),i),r&&d.push(E.jsx(Et,{name:"geo-alt-fill"}),r);const j=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));p=l?E.jsx("a",{href:l,className:"event-icon",children:j}):E.jsx("div",{className:"event-icon",children:j})}return E.jsxs("div",{className:"event",children:[p,E.jsxs("div",{className:"event-details",children:[E.jsx("h3",{children:u}),d.length?E.jsx("div",{className:"event-metadata",children:d}):null,n?E.jsx(lB,{children:E.jsx("div",{children:vf(n)})}):null]})]})}function uB({infoGroupId:t}){const e=al(t),n=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=Xn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),i=gf([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(p=>p.AffectedResources.some(h=>l.infoResourceIds.includes(h.ResourceID))),[]),a=gf([o],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!i.length&&!a.length))return E.jsxs(Io,{title:"Announcements and Events",icon:"calendar3",children:[i.map(({Subject:l,Content:u})=>E.jsxs(aB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx(cB,{...l},l.title))]})}function dB({children:t,headingLevel:e=2,title:n}){const[r,o]=T.useState(!1),i=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(i,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>o(!r),children:[n,E.jsx(Et,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function fB({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const o=(n||r||{}).recommended_use;return E.jsxs(dB,{title:t,children:[e?vf(e):null,o?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),vf(o)]}):null]})}function pB({infoGroupId:t}){const e=al(t),n=Xn(e?e.infoResourceIds.map(u=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${u}/?format=json`):null,{defaultValue:[]}),r=n.filter(u=>u.results&&u.results.cider_type=="Compute").map(u=>({...u.results.compute,key:u.results.info_resourceid,name:u.results.resource_descriptive_name,format:(d,p)=>{const h=u.results.compute[p.attr];return p.format&&h?p.format(h,p):h||E.jsx(E.Fragment,{children:"—"})}})),o=n.length?[{name:"Nodes",attr:"node_count",format:u=>u.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:u=>`${u} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(u=>r.some(d=>d[u.attr])):[],i={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&o.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(fB,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(Io,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(hu,{columns:[i,...r],rows:o,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(Io,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(Io,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function xy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wy(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xy(Object(n),!0).forEach(function(r){AB(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wu=function(e){return typeof e}:wu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wu(t)}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Su(t,e,n){return e&&hB(t.prototype,e),t}function AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xp(t,e)}function mB(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vB(t)}function bB(t){var e=mB();return function(){var r=ma(t),o;if(e){var i=ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yB(this,o)}}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ma(t),t!==null););return t}function Eu(){return typeof Reflect<"u"&&Reflect.get?Eu=Reflect.get:Eu=function(e,n,r){var o=xB(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Eu.apply(this,arguments)}var wB={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function Ni(t){console.error("[Glide warn]: ".concat(t))}function ao(t){return parseInt(t)}function Jp(t){return typeof t=="string"}function Nl(t){var e=wu(t);return e==="function"||e==="object"&&!!t}function Cu(t){return typeof t=="function"}function kB(t){return typeof t>"u"}function Zp(t){return t.constructor===Array}function SB(t,e,n){var r={};for(var o in e)Cu(e[o])?r[o]=e[o](t,r,n):Ni("Extension must be a function");for(var i in r)Cu(r[i].mount)&&r[i].mount();return r}function tn(t,e,n){Object.defineProperty(t,e,n)}function ky(t,e){var n=Object.assign({},t,e);if(e.hasOwnProperty("classes")){n.classes=Object.assign({},t.classes,e.classes);var r=["direction","type","slide","arrow","nav"];r.forEach(function(o){e.classes.hasOwnProperty(o)&&(n.classes[o]=wy(wy({},t.classes[o]),e.classes[o]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var EB=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.events=e,this.hop=e.hasOwnProperty}return Su(t,[{key:"on",value:function(n,r){if(Zp(n)){for(var o=0;o<n.length;o++)this.on(n[o],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var i=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][i]}}}},{key:"emit",value:function(n,r){if(Zp(n)){for(var o=0;o<n.length;o++)this.emit(n[o],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(i){i(r||{})})}}]),t})(),CB=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ku(this,t),this._c={},this._t=[],this._e=new EB,this.disabled=!1,this.selector=e,this.settings=ky(wB,n),this.index=this.settings.startAt}return Su(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Nl(n)?this._c=SB(this,n,this._e):Ni("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Zp(n)?this._t=n:Ni("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=ky(this.settings,n),n.hasOwnProperty("startAt")&&(this.index=n.startAt),this._e.emit("update"),this}},{key:"go",value:function(n){return this._c.Run.make(n),this}},{key:"move",value:function(n){return this._c.Transition.disable(),this._c.Move.make(n),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n&&(this.settings.autoplay=n),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(n,r){return this._e.on(n,r),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){Nl(n)?this._o=n:Ni("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=ao(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function PB(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var p=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=d,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after(function(){p.isStart()&&n.emit("run.start",p.move),p.isEnd()&&n.emit("run.end",p.move),p.isOffset()&&(p._o=!1,n.emit("run.offset",p.move)),n.emit("run.after",p.move),t.enable()}))},calculate:function(){var d=this.move,p=this.length,h=d.steps,A=d.direction,m=1;if(A==="="){if(t.settings.bound&&ao(h)>p){t.index=p;return}t.index=h;return}if(A===">"&&h===">"){t.index=p;return}if(A==="<"&&h==="<"){t.index=0;return}if(A==="|"&&(m=t.settings.perView||1),A===">"||A==="|"&&h===">"){var y=o(m);y>p&&(this._o=!0),t.index=i(y,m);return}if(A==="<"||A==="|"&&h==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}Ni("Invalid direction pattern [".concat(A).concat(h,"] has been used"))},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d?this._o?d==="|>"?this.move.direction==="|"&&this.move.steps===">":d==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===d:!1:this._o},isBound:function(){return t.isType("slider")&&t.settings.focusAt!=="center"&&t.settings.bound}};function o(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function i(u,d){var p=r.length;return u<=p?u:t.isType("carousel")?u-(p+1):t.settings.rewind?r.isBound()&&!r.isEnd()?p:0:r.isBound()?p:Math.floor(p/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var p=Math.ceil(d/u);return(p-1)*u}function l(u,d){var p=r.length;return u>=0?u:t.isType("carousel")?u+(p+1):t.settings.rewind?r.isBound()&&r.isStart()?p:Math.floor(p/d)*d:0}return tn(r,"move",{get:function(){return this._m},set:function(d){var p=d.substr(1);this._m={direction:d.substr(0,1),steps:p?ao(p)?ao(p):p:0}}}),tn(r,"length",{get:function(){var d=t.settings,p=e.Html.slides.length;return this.isBound()?p-1-(ao(d.perView)-1)+ao(d.focusAt):p-1}}),tn(r,"offset",{get:function(){return this._o}}),r}function Sy(){return new Date().getTime()}function Ey(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,a,l=0,u=function(){l=n.leading===!1?0:Sy(),r=null,a=t.apply(o,i),r||(o=i=null)},d=function(){var h=Sy();!l&&n.leading===!1&&(l=h);var A=e-(h-l);return o=this,i=arguments,A<=0||A>e?(r&&(clearTimeout(r),r=null),l=h,a=t.apply(o,i),r||(o=i=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,A)),a};return d.cancel=function(){clearTimeout(r),l=0,r=o=i=null},d}var Pu={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function DB(t,e,n){var r={apply:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style,d=e.Direction.value;a!==0?u[Pu[d][0]]="".concat(this.value/2,"px"):u[Pu[d][0]]="",a!==i.length-1?u[Pu[d][1]]="".concat(this.value/2,"px"):u[Pu[d][1]]=""}},remove:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style;u.marginLeft="",u.marginRight=""}}};return tn(r,"value",{get:function(){return ao(t.settings.gap)}}),tn(r,"grow",{get:function(){return r.value*e.Sizes.length}}),tn(r,"reductor",{get:function(){var i=t.settings.perView;return r.value*(i-1)/i}}),n.on(["build.after","update"],Ey(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function Cy(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}return[]}function $p(t){return Array.prototype.slice.call(t)}var TB='[data-glide-el="track"]';function BB(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(TB),this.collectSlides()},collectSlides:function(){this.slides=$p(this.wrapper.children).filter(function(i){return!i.classList.contains(t.settings.classes.slide.clone)})}};return tn(r,"root",{get:function(){return r._r},set:function(i){Jp(i)&&(i=document.querySelector(i)),i!==null?r._r=i:Ni("Root element must be a existing Html node")}}),tn(r,"track",{get:function(){return r._t},set:function(i){r._t=i}}),tn(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function _B(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return tn(r,"value",{get:function(){return r._v},set:function(i){Nl(i)?(i.before=ao(i.before),i.after=ao(i.after)):i=ao(i),r._v=i}}),tn(r,"reductor",{get:function(){var i=r.value,a=t.settings.perView;return Nl(i)?i.before/a+i.after/a:i*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function IB(t,e,n){var r={mount:function(){this._o=0},make:function(){var i=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=a,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:i.value})})}};return tn(r,"offset",{get:function(){return r._o},set:function(i){r._o=kB(i)?0:ao(i)}}),tn(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),tn(r,"value",{get:function(){var i=this.offset,a=this.translate;return e.Direction.is("rtl")?a+i:a-i}}),n.on(["build.before","run"],function(){r.make()}),r}function MB(t,e,n){var r={setupSlides:function(){for(var i="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=i},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var i=e.Html.slides,a=0;a<i.length;a++)i[a].style.width="";e.Html.wrapper.style.width=""}};return tn(r,"length",{get:function(){return e.Html.slides.length}}),tn(r,"width",{get:function(){return e.Html.track.offsetWidth}}),tn(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),tn(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function OB(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var i=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(i.slide.active),Cy(a).forEach(function(l){l.classList.remove(i.slide.active)}))},removeClasses:function(){var i=t.settings.classes,a=i.type,l=i.slide;e.Html.root.classList.remove(a[t.settings.type]),e.Html.slides.forEach(function(u){u.classList.remove(l.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function RB(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,p=l.cloningRatio;if(a.length>0)for(var h=+!!t.settings.peek,A=u+h+Math.round(u/2),m=a.slice(0,A).reverse(),y=a.slice(A*-1),w=0;w<Math.max(p,Math.floor(u/a.length));w++){for(var b=0;b<m.length;b++){var P=m[b].cloneNode(!0);P.classList.add(d.slide.clone),i.push(P)}for(var M=0;M<y.length;M++){var D=y[M].cloneNode(!0);D.classList.add(d.slide.clone),i.unshift(D)}}return i},append:function(){for(var i=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(i.length/2),p=i.slice(0,d).reverse(),h=i.slice(d*-1).reverse(),A="".concat(e.Sizes.slideWidth,"px"),m=0;m<h.length;m++)l.appendChild(h[m]);for(var y=0;y<p.length;y++)l.insertBefore(p[y],u[0]);for(var w=0;w<i.length;w++)i[w].style.width=A},remove:function(){for(var i=this.items,a=0;a<i.length;a++)e.Html.wrapper.removeChild(i[a])}};return tn(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var Py=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.listeners=e}return Su(t,[{key:"on",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Jp(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=o,r.addEventListener(n[a],this.listeners[n[a]],i)}},{key:"off",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jp(n)&&(n=[n]);for(var i=0;i<n.length;i++)r.removeEventListener(n[i],this.listeners[n[i]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function LB(t,e,n){var r=new Py,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,Ey(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o}var NB=["ltr","rtl"],FB={">":"<","<":">","=":"="};function jB(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(i){var a=i.slice(0,1);return this.is("rtl")?i.split(a).join(FB[a]):i},is:function(i){return this.value===i},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return tn(r,"value",{get:function(){return r._v},set:function(i){NB.indexOf(i)>-1?r._v=i:Ni("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r}function zB(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function QB(t,e){return{modify:function(r){var o=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*o}}}function HB(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function UB(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var o=e.Peek.value;return Nl(o)?r-o.before:r-o}return r}}}function VB(t,e){return{modify:function(r){var o=e.Gaps.value,i=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(i/2-l/2):r-l*a-o*a}}}function WB(t,e,n){var r=[QB,HB,UB,VB].concat(t._t,[zB]);return{mutate:function(i){for(var a=0;a<r.length;a++){var l=r[a];Cu(l)&&Cu(l().modify)?i=l(t,e,n).modify(i):Ni("Transformer should be a function that returns an object with `modify()` method")}return i}}}function YB(t,e,n){var r={set:function(i){var a=WB(t,e).mutate(i),l="translate3d(".concat(-1*a,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=l,e.Html.wrapper.style.webkitTransform=l,e.Html.wrapper.style.transform=l},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var i=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i+(a-l):(a+l)%i},getTravelDistance:function(){var i=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i*-1:i}};return n.on("move",function(o){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(o.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var i=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(i-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function qB(t,e,n){var r=!1,o={compose:function(a){var l=t.settings;return r?"".concat(a," 0ms ").concat(l.animationTimingFunc):"".concat(a," ").concat(this.duration,"ms ").concat(l.animationTimingFunc)},set:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(a)},remove:function(){e.Html.wrapper.style.transition=""},after:function(a){setTimeout(function(){a()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return tn(o,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var Dy=!1;try{var Ty=Object.defineProperty({},"passive",{get:function(){Dy=!0}});window.addEventListener("testPassive",null,Ty),window.removeEventListener("testPassive",null,Ty)}catch{}var By=Dy,KB='[data-glide-el="controls[nav]"]',eh='[data-glide-el^="controls"]',GB="".concat(eh,' [data-glide-dir*="<"]'),XB="".concat(eh,' [data-glide-dir*=">"]');function JB(t,e,n){var r=new Py,o=By?{passive:!0}:!1,i={mount:function(){this._n=e.Html.root.querySelectorAll(KB),this._c=e.Html.root.querySelectorAll(eh),this._arrowControls={previous:e.Html.root.querySelectorAll(GB),next:e.Html.root.querySelectorAll(XB)},this.addBindings()},setActive:function(){for(var l=0;l<this._n.length;l++)this.addClass(this._n[l].children)},removeActive:function(){for(var l=0;l<this._n.length;l++)this.removeClass(this._n[l].children)},addClass:function(l){var u=t.settings,d=l[t.index];d&&(d.classList.add(u.classes.nav.active),Cy(d).forEach(function(p){p.classList.remove(u.classes.nav.active)}))},removeClass:function(l){var u=l[t.index];u?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var l=i._arrowControls.next,u=i._arrowControls.previous;this.resetArrowState(l,u),t.index===0&&this.disableArrow(u),t.index===e.Run.length&&this.disableArrow(l)}},resetArrowState:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.add(l.classes.arrow.disabled)})})},addBindings:function(){for(var l=0;l<this._c.length;l++)this.bind(this._c[l].children)},removeBindings:function(){for(var l=0;l<this._c.length;l++)this.unbind(this._c[l].children)},bind:function(l){for(var u=0;u<l.length;u++)r.on("click",l[u],this.click),r.on("touchstart",l[u],this.click,o)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!By&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return tn(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],function(){i.setActive()}),n.on(["mount.after","run"],function(){i.setArrowState()}),n.on("destroy",function(){i.removeBindings(),i.removeActive(),r.destroy()}),i}var ZB={Html:BB,Translate:YB,Transition:qB,Direction:jB,Peek:_B,Sizes:MB,Gaps:DB,Move:IB,Clones:RB,Resize:LB,Build:OB,Run:PB},$B=(function(t){gB(n,t);var e=bB(n);function n(){return ku(this,n),e.apply(this,arguments)}return Su(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Eu(ma(n.prototype),"mount",this).call(this,Object.assign({},ZB,o))}}]),n})(CB);function Du({children:t,cssClass:e=""}){const n=T.useRef(null);return T.useEffect(()=>{n.current&&new $B(n.current).mount({Controls:JB})},[]),E.jsx("section",{className:`carousel ${e}`,children:E.jsxs("div",{className:"glide",ref:n,children:[E.jsx("div",{className:"glide__track","data-glide-el":"track",children:E.jsx("ul",{className:"glide__slides",children:t})}),E.jsxs("div",{className:"glide__arrows","data-glide-el":"controls",children:[E.jsx("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),E.jsx("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function _y({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function e8({title:t,description:e,linkText:n,linkURI:r,imageURI:o,imageAltText:i}){return E.jsx(_y,{children:E.jsxs("span",{className:"slide-inner",children:[o&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:o,alt:i})}),E.jsxs("span",{className:"slide-text",children:[t&&E.jsx("h2",{children:t}),e&&E.jsx("p",{children:e}),n&&E.jsx("a",{href:r,children:n})]})]})})}Du.Slide=_y,Du.ImageSlide=e8;function t8({children:t,maxHeight:e="400px"}){return E.jsx("div",{className:"scroll-text",children:E.jsx("div",{className:"scroll-text-inner",style:{maxHeight:e},children:t})})}const n8="https://allocations.access-ci.org/current-projects.json";function Tu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(Et,{name:t}),e]})}function r8({infoGroupId:t}){const e=al(t),n=Xn(e?`${n8}?${e.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,i)=>i.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${i.units||""}`}];return E.jsx(Io,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Du,{cssclassName:"carousel-projects",children:n.projects.map(o=>E.jsxs(Du.Slide,{children:[E.jsx("h3",{children:o.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Tu,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),E.jsx(Tu,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),E.jsx(Tu,{icon:"folder",text:o.fos,title:"Field of Science"}),E.jsx(Tu,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(i=>new Date(i).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(t8,{children:[E.jsx("p",{children:o.abstract}),E.jsx(hu,{columns:r,rows:o.resources,maxHeight:null})]})]},o.requestTitle))})})}function Fl(t){return t+.5|0}const Fi=(t,e,n)=>Math.max(Math.min(t,n),e);function jl(t){return Fi(Fl(t*2.55),0,255)}function ji(t){return Fi(Fl(t*255),0,255)}function li(t){return Fi(Fl(t/2.55)/100,0,1)}function Iy(t){return Fi(Fl(t*100),0,100)}const qr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},th=[..."0123456789ABCDEF"],o8=t=>th[t&15],i8=t=>th[(t&240)>>4]+th[t&15],Bu=t=>(t&240)>>4===(t&15),s8=t=>Bu(t.r)&&Bu(t.g)&&Bu(t.b)&&Bu(t.a);function a8(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&qr[t[1]]*17,g:255&qr[t[2]]*17,b:255&qr[t[3]]*17,a:e===5?qr[t[4]]*17:255}:(e===7||e===9)&&(n={r:qr[t[1]]<<4|qr[t[2]],g:qr[t[3]]<<4|qr[t[4]],b:qr[t[5]]<<4|qr[t[6]],a:e===9?qr[t[7]]<<4|qr[t[8]]:255})),n}const l8=(t,e)=>t<255?e(t):"";function c8(t){var e=s8(t)?o8:i8;return t?"#"+e(t.r)+e(t.g)+e(t.b)+l8(t.a,e):void 0}const u8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function My(t,e,n){const r=e*Math.min(n,1-n),o=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function d8(t,e,n){const r=(o,i=(o+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function f8(t,e,n){const r=My(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function p8(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}function nh(t){const n=t.r/255,r=t.g/255,o=t.b/255,i=Math.max(n,r,o),a=Math.min(n,r,o),l=(i+a)/2;let u,d,p;return i!==a&&(p=i-a,d=l>.5?p/(2-i-a):p/(i+a),u=p8(n,r,o,p,i),u=u*60+.5),[u|0,d||0,l]}function rh(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(ji)}function oh(t,e,n){return rh(My,t,e,n)}function h8(t,e,n){return rh(f8,t,e,n)}function A8(t,e,n){return rh(d8,t,e,n)}function Oy(t){return(t%360+360)%360}function g8(t){const e=u8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?jl(+e[5]):ji(+e[5]));const o=Oy(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=h8(o,i,a):e[1]==="hsv"?r=A8(o,i,a):r=oh(o,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function m8(t,e){var n=nh(t);n[0]=Oy(n[0]+e),n=oh(n),t.r=n[0],t.g=n[1],t.b=n[2]}function v8(t){if(!t)return;const e=nh(t),n=e[0],r=Iy(e[1]),o=Iy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${li(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}const Ry={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ly={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function y8(){const t={},e=Object.keys(Ly),n=Object.keys(Ry);let r,o,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],o=0;o<n.length;o++)i=n[o],l=l.replace(i,Ry[i]);i=parseInt(Ly[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let _u;function b8(t){_u||(_u=y8(),_u.transparent=[0,0,0,0]);const e=_u[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const x8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function w8(t){const e=x8.exec(t);let n=255,r,o,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?jl(a):Fi(a*255,0,255)}return r=+e[1],o=+e[3],i=+e[5],r=255&(e[2]?jl(r):Fi(r,0,255)),o=255&(e[4]?jl(o):Fi(o,0,255)),i=255&(e[6]?jl(i):Fi(i,0,255)),{r,g:o,b:i,a:n}}}function k8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${li(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ih=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,va=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function S8(t,e,n){const r=va(li(t.r)),o=va(li(t.g)),i=va(li(t.b));return{r:ji(ih(r+n*(va(li(e.r))-r))),g:ji(ih(o+n*(va(li(e.g))-o))),b:ji(ih(i+n*(va(li(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Iu(t,e,n){if(t){let r=nh(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=oh(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ny(t,e){return t&&Object.assign(e||{},t)}function Fy(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=ji(t[3]))):(e=Ny(t,{r:0,g:0,b:0,a:1}),e.a=ji(e.a)),e}function E8(t){return t.charAt(0)==="r"?w8(t):g8(t)}class zl{constructor(e){if(e instanceof zl)return e;const n=typeof e;let r;n==="object"?r=Fy(e):n==="string"&&(r=a8(e)||b8(e)||E8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Ny(this._rgb);return e&&(e.a=li(e.a)),e}set rgb(e){this._rgb=Fy(e)}rgbString(){return this._valid?k8(this._rgb):void 0}hexString(){return this._valid?c8(this._rgb):void 0}hslString(){return this._valid?v8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,o=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,u=r.a-o.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;i=1-d,r.r=255&d*r.r+i*o.r+.5,r.g=255&d*r.g+i*o.g+.5,r.b=255&d*r.b+i*o.b+.5,r.a=a*r.a+(1-a)*o.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=S8(this._rgb,e._rgb,n)),this}clone(){return new zl(this.rgb)}alpha(e){return this._rgb.a=ji(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Fl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Iu(this._rgb,2,e),this}darken(e){return Iu(this._rgb,2,-e),this}saturate(e){return Iu(this._rgb,1,e),this}desaturate(e){return Iu(this._rgb,1,-e),this}rotate(e){return m8(this._rgb,e),this}}function ci(){}const C8=(()=>{let t=0;return()=>t++})();function Ot(t){return t==null}function gn(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function kt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Kr(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Lo(t,e){return Kr(t)?t:e}function Ct(t,e){return typeof t>"u"?e:t}const P8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,jy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Ht(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Tt(t,e,n,r){let o,i,a;if(gn(t))for(i=t.length,o=0;o<i;o++)e.call(n,t[o],o);else if(kt(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function Mu(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function Ou(t){if(gn(t))return t.map(Ou);if(kt(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=Ou(t[n[o]]);return e}return t}function zy(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function D8(t,e,n,r){if(!zy(t))return;const o=e[t],i=n[t];kt(o)&&kt(i)?Ql(o,i,r):e[t]=Ou(i)}function Ql(t,e,n){const r=gn(e)?e:[e],o=r.length;if(!kt(t))return t;n=n||{};const i=n.merger||D8;let a;for(let l=0;l<o;++l){if(a=r[l],!kt(a))continue;const u=Object.keys(a);for(let d=0,p=u.length;d<p;++d)i(u[d],t,a,n)}return t}function Hl(t,e){return Ql(t,e,{merger:T8})}function T8(t,e,n){if(!zy(t))return;const r=e[t],o=n[t];kt(r)&&kt(o)?Hl(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ou(o))}const Qy={"":t=>t,x:t=>t.x,y:t=>t.y};function B8(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function _8(t){const e=B8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function zi(t,e){return(Qy[e]||(Qy[e]=_8(e)))(t)}function sh(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ul=t=>typeof t<"u",Qi=t=>typeof t=="function",Hy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function I8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const mn=Math.PI,Tr=2*mn,Ru=Number.POSITIVE_INFINITY,M8=mn/180,Br=mn/2,ks=mn/4,Uy=mn*2/3,Vy=Math.log10,Hi=Math.sign;function Lu(t,e,n){return Math.abs(t-e)<n}function Wy(t){const e=Math.round(t);t=Lu(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Vy(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function O8(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((o,i)=>o-i).pop(),e}function R8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Nu(t){return!R8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function L8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function N8(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function No(t){return t*(mn/180)}function F8(t){return t*(180/mn)}function Yy(t){if(!Kr(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function j8(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*mn&&(i+=Tr),{angle:i,distance:o}}function z8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ss(t){return(t%Tr+Tr)%Tr}function ah(t,e,n,r){const o=Ss(t),i=Ss(e),a=Ss(n),l=Ss(i-o),u=Ss(a-o),d=Ss(o-i),p=Ss(o-a);return o===i||o===a||r&&i===a||l>u&&d<p}function lo(t,e,n){return Math.max(e,Math.min(n,t))}function Q8(t){return lo(t,-32768,32767)}function ya(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lh(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,o=0,i;for(;r-o>1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const ch=(t,e,n,r)=>lh(t,n,r?o=>{const i=t[o][e];return i<n||i===n&&t[o+1][e]===n}:o=>t[o][e]<n),H8=(t,e,n)=>lh(t,n,r=>t[r][e]>=n);function U8(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}const qy=["push","pop","shift","splice","unshift"];function V8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),qy.forEach(n=>{const r="_onData"+sh(n),o=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=o.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function Ky(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);o!==-1&&r.splice(o,1),!(r.length>0)&&(qy.forEach(i=>{delete t[i]}),delete t._chartjs)}function Gy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Xy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Jy(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,Xy.call(window,()=>{r=!1,t.apply(e,n)}))}}function W8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const uh=t=>t==="start"?"left":t==="end"?"right":"center",jn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,Y8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Fu=t=>t===0||t===1,Zy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Tr/n)),$y=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*Tr/n)+1,Vl={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Br)+1,easeOutSine:t=>Math.sin(t*Br),easeInOutSine:t=>-.5*(Math.cos(mn*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Fu(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Fu(t)?t:Zy(t,.075,.3),easeOutElastic:t=>Fu(t)?t:$y(t,.075,.3),easeInOutElastic(t){return Fu(t)?t:t<.5?.5*Zy(t*2,.1125,.45):.5+.5*$y(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Vl.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Vl.easeInBounce(t*2)*.5:Vl.easeOutBounce(t*2-1)*.5+.5};function eb(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function tb(t){return eb(t)?t:new zl(t)}function dh(t){return eb(t)?t:new zl(t).saturate(.5).darken(.1).hexString()}const q8=["x","y","borderWidth","radius","tension"],K8=["color","borderColor","backgroundColor"];function G8(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:K8},numbers:{type:"number",properties:q8}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function X8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const nb=new Map;function J8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=nb.get(n);return r||(r=new Intl.NumberFormat(t,e),nb.set(n,r)),r}function ju(t,e,n){return J8(e,n).format(t)}const Z8={values(t){return gn(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let o,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),i=$8(t,n)}const a=Vy(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),ju(t,r,u)}};function $8(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var rb={formatters:Z8};function e_(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:rb.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),fh=Object.create(null);function Wl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function ph(t,e,n){return typeof e=="string"?Ql(Wl(t,e),n):Ql(Wl(t,""),e)}class t_{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,o)=>dh(o.backgroundColor),this.hoverBorderColor=(r,o)=>dh(o.borderColor),this.hoverColor=(r,o)=>dh(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return ph(this,e,n)}get(e){return Wl(this,e)}describe(e,n){return ph(fh,e,n)}override(e,n){return ph(Es,e,n)}route(e,n,r,o){const i=Wl(this,e),a=Wl(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[o];return kt(u)?Object.assign({},d,u):Ct(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Jt=new t_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[G8,X8,e_]);function n_(t){return!t||Ot(t.size)||Ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ob(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function Cs(t,e,n){const r=t.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function ib(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function sb(t,e,n,r){ab(t,e,n,r,null)}function ab(t,e,n,r,o){let i,a,l,u,d,p,h,A;const m=e.pointStyle,y=e.rotation,w=e.radius;let b=(y||0)*M8;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(b),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(w)||w<=0)){switch(t.beginPath(),m){default:o?t.ellipse(n,r,o/2,w,0,0,Tr):t.arc(n,r,w,0,Tr),t.closePath();break;case"triangle":p=o?o/2:w,t.moveTo(n+Math.sin(b)*p,r-Math.cos(b)*w),b+=Uy,t.lineTo(n+Math.sin(b)*p,r-Math.cos(b)*w),b+=Uy,t.lineTo(n+Math.sin(b)*p,r-Math.cos(b)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(b+ks)*u,h=Math.cos(b+ks)*(o?o/2-d:u),l=Math.sin(b+ks)*u,A=Math.sin(b+ks)*(o?o/2-d:u),t.arc(n-h,r-l,d,b-mn,b-Br),t.arc(n+A,r-a,d,b-Br,b),t.arc(n+h,r+l,d,b,b+Br),t.arc(n-A,r+a,d,b+Br,b+mn),t.closePath();break;case"rect":if(!y){u=Math.SQRT1_2*w,p=o?o/2:u,t.rect(n-p,r-u,2*p,2*u);break}b+=ks;case"rectRot":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+A,r-a),t.lineTo(n+h,r+l),t.lineTo(n-A,r+a),t.closePath();break;case"crossRot":b+=ks;case"cross":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"star":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a),b+=ks,h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"line":a=o?o/2:Math.cos(b)*w,l=Math.sin(b)*w,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(o?o/2:w),r+Math.sin(b)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function lb(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function hh(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Ah(t){t.restore()}function r_(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ot(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function o_(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,u=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,p=o.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,p),t.lineTo(l,p),t.stroke()}}function i_(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Yl(t,e,n,r,o,i={}){const a=gn(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let u,d;for(t.save(),t.font=o.string,r_(t,i),u=0;u<a.length;++u)d=a[u],i.backdrop&&i_(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ot(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),o_(t,n,r,d,i),r+=Number(o.lineHeight);t.restore()}function zu(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*mn,mn,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,mn,Br,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,Br,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-Br,!0),t.lineTo(n+a.topLeft,r)}const s_=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,a_=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function l_(t,e){const n=(""+t).match(s_);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const c_=t=>+t||0;function cb(t,e){const n={},r=kt(e),o=r?Object.keys(e):e,i=kt(t)?r?a=>Ct(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of o)n[a]=c_(i(a));return n}function ub(t){return cb(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ba(t){return cb(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Gr(t){const e=ub(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function zn(t,e){t=t||{},e=e||Jt.font;let n=Ct(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ct(t.style,e.style);r&&!(""+r).match(a_)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:Ct(t.family,e.family),lineHeight:l_(Ct(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ct(t.weight,e.weight),string:""};return o.string=n_(o),o}function Qu(t,e,n,r){let o,i,a;for(o=0,i=t.length;o<i;++o)if(a=t[o],a!==void 0&&a!==void 0)return a}function u_(t,e,n){const{min:r,max:o}=t,i=jy(e,(o-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function xa(t,e){return Object.assign(Object.create(t),e)}function gh(t,e=[""],n,r,o=()=>t[0]){const i=n||t;typeof r>"u"&&(r=Ab("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:l=>gh([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return fb(l,u,()=>v_(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return gb(l).includes(u)},ownKeys(l){return gb(l)},set(l,u,d){const p=l._storage||(l._storage=o());return l[u]=p[u]=d,delete l._keys,!0}})}function wa(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:db(t,r),setContext:i=>wa(t,i,n,r),override:i=>wa(t.override(i),e,n,r)};return new Proxy(o,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return fb(i,a,()=>f_(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function db(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:Qi(n)?n:()=>n,isIndexable:Qi(r)?r:()=>r}}const d_=(t,e)=>t?t+sh(e):e,mh=(t,e)=>kt(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fb(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function f_(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let l=r[e];return Qi(l)&&a.isScriptable(e)&&(l=p_(e,l,t,n)),gn(l)&&l.length&&(l=h_(e,l,t,a.isIndexable)),mh(e,l)&&(l=wa(l,o,i&&i[e],a)),l}function p_(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let u=e(i,a||r);return l.delete(t),mh(t,u)&&(u=vh(o._scopes,o,t,u)),u}function h_(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(kt(e[0])){const u=e,d=o._scopes.filter(p=>p!==u);e=[];for(const p of u){const h=vh(d,o,t,p);e.push(wa(h,i,a&&a[t],l))}}return e}function pb(t,e,n){return Qi(t)?t(e,n):t}const A_=(t,e)=>t===!0?e:typeof t=="string"?zi(e,t):void 0;function g_(t,e,n,r,o){for(const i of e){const a=A_(n,i);if(a){t.add(a);const l=pb(a._fallback,n,o);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function vh(t,e,n,r){const o=e._rootScopes,i=pb(e._fallback,n,r),a=[...t,...o],l=new Set;l.add(r);let u=hb(l,a,n,i||n,r);return u===null||typeof i<"u"&&i!==n&&(u=hb(l,a,i,u,r),u===null)?!1:gh(Array.from(l),[""],o,i,()=>m_(e,n,r))}function hb(t,e,n,r,o){for(;n;)n=g_(t,e,n,r,o);return n}function m_(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];return gn(o)&&kt(n)?n:o||{}}function v_(t,e,n,r){let o;for(const i of e)if(o=Ab(d_(i,t),n),typeof o<"u")return mh(t,o)?vh(n,r,t,o):o}function Ab(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function gb(t){let e=t._keys;return e||(e=t._keys=y_(t._scopes)),e}function y_(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(o=>!o.startsWith("_")))e.add(r);return Array.from(e)}function b_(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let l,u,d,p;for(l=0,u=r;l<u;++l)d=l+n,p=e[d],a[l]={r:o.parse(zi(p,i),d)};return a}function yh(){return typeof window<"u"&&typeof document<"u"}function bh(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Hu(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Uu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function x_(t,e){return Uu(t).getPropertyValue(e)}const w_=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=w_[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const k_=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function S_(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a=!1,l,u;if(k_(o,i,t.target))l=o,u=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,u=r.clientY-d.top,a=!0}return{x:l,y:u,box:a}}function Ds(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=Uu(n),i=o.boxSizing==="border-box",a=Ps(o,"padding"),l=Ps(o,"border","width"),{x:u,y:d,box:p}=S_(t,n),h=a.left+(p&&l.left),A=a.top+(p&&l.top);let{width:m,height:y}=e;return i&&(m-=a.width+l.width,y-=a.height+l.height),{x:Math.round((u-h)/m*n.width/r),y:Math.round((d-A)/y*n.height/r)}}function E_(t,e,n){let r,o;if(e===void 0||n===void 0){const i=t&&bh(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Uu(i),u=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=Hu(l.maxWidth,i,"clientWidth"),o=Hu(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ru,maxHeight:o||Ru}}const Ui=t=>Math.round(t*10)/10;function C_(t,e,n,r){const o=Uu(t),i=Ps(o,"margin"),a=Hu(o.maxWidth,t,"clientWidth")||Ru,l=Hu(o.maxHeight,t,"clientHeight")||Ru,u=E_(t,e,n);let{width:d,height:p}=u;if(o.boxSizing==="content-box"){const A=Ps(o,"border","width"),m=Ps(o,"padding");d-=m.width+A.width,p-=m.height+A.height}return d=Math.max(0,d-i.width),p=Math.max(0,r?d/r:p-i.height),d=Ui(Math.min(d,a,u.maxWidth)),p=Ui(Math.min(p,l,u.maxHeight)),d&&!p&&(p=Ui(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&p>u.height&&(p=u.height,d=Ui(Math.floor(p*r))),{width:d,height:p}}function mb(t,e,n){const r=e||1,o=Ui(t.height*r),i=Ui(t.width*r);t.height=Ui(t.height),t.width=Ui(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i?(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const P_=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};yh()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function vb(t,e){const n=x_(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const D_=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},T_=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ka(t,e,n){return t?D_(e,n):T_()}function yb(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bb(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Vu(t,e,n){return t.options.clip?t[n]:e[n]}function B_(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Vu(n,e,"left"),right:Vu(n,e,"right"),top:Vu(r,e,"top"),bottom:Vu(r,e,"bottom")}:e}function __(t,e){const n=e._clip;if(n.disabled)return!1;const r=B_(e,t.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:r.bottom+(n.bottom===!0?0:n.bottom)}}class I_{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,o){const i=n.listeners[o],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Xy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,u;for(;a>=0;--a)u=i[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(o.draw(),this._notify(o,r,e,"progress")),i.length||(r.running=!1,this._notify(o,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,o)=>Math.max(r,o._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let o=r.length-1;for(;o>=0;--o)r[o].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ui=new I_;const xb="transparent",M_={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=tb(t||xb),o=r.valid&&tb(e||xb);return o&&o.valid?o.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class O_{constructor(e,n,r,o){const i=n[r];o=Qu([e.to,o,i,e.from]);const a=Qu([e.from,i,o]);this._active=!0,this._fn=e.fn||M_[e.type||typeof a],this._easing=Vl[e.easing]||Vl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const o=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Qu([e.to,n,o,e.from]),this._from=Qu([e.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,o=this._prop,i=this._from,a=this._loop,l=this._to;let u;if(this._active=i!==l&&(a||n<r),!this._active){this._target[o]=l,this._notify(!0);return}if(n<0){this._target[o]=i;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[o]=this._fn(i,l,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let o=0;o<r.length;o++)r[o][n]()}}class wb{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!kt(e))return;const n=Object.keys(Jt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const i=e[o];if(!kt(i))return;const a={};for(const l of n)a[l]=i[l];(gn(i.properties)&&i.properties||[o]).forEach(l=>{(l===o||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,o=L_(e,r);if(!o)return[];const i=this._createAnimations(o,r);return r.$shared&&R_(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,o=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let u;for(u=a.length-1;u>=0;--u){const d=a[u];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(e,n));continue}const p=n[d];let h=i[d];const A=r.get(d);if(h)if(A&&h.active()){h.update(A,p,l);continue}else h.cancel();if(!A||!A.duration){e[d]=p;continue}i[d]=h=new O_(A,e,d,p),o.push(h)}return o}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return ui.add(this._chart,r),!0}}function R_(t,e){const n=[],r=Object.keys(e);for(let o=0;o<r.length;o++){const i=t[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function L_(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function kb(t,e){const n=t&&t.options||{},r=n.reverse,o=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:o,end:r?o:i}}function N_(t,e,n){if(n===!1)return!1;const r=kb(t,n),o=kb(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function F_(t){let e,n,r,o;return kt(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:t===!1}}function Sb(t,e){const n=[],r=t._getSortedDatasetMetas(e);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function Eb(t,e,n,r={}){const o=t.keys,i=r.mode==="single";let a,l,u,d;if(e===null)return;let p=!1;for(a=0,l=o.length;a<l;++a){if(u=+o[a],u===n){if(p=!0,r.all)continue;break}d=t.values[u],Kr(d)&&(i||e===0||Hi(e)===Hi(d))&&(e+=d)}return!p&&!r.all?0:e}function j_(t,e){const{iScale:n,vScale:r}=e,o=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,p;for(u=0,d=a.length;u<d;++u)p=a[u],l[u]={[o]:p,[i]:t[p]};return l}function xh(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function z_(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Q_(t){const{min:e,max:n,minDefined:r,maxDefined:o}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function H_(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Cb(t,e,n,r){for(const o of e.getMatchingVisibleMetas(r).reverse()){const i=t[o.index];if(n&&i>0||!n&&i<0)return o.index}return null}function Pb(t,e){const{chart:n,_cachedMeta:r}=t,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,u=i.axis,d=a.axis,p=z_(i,a,r),h=e.length;let A;for(let m=0;m<h;++m){const y=e[m],{[u]:w,[d]:b}=y,P=y._stacks||(y._stacks={});A=P[d]=H_(o,p,w),A[l]=b,A._top=Cb(A,a,!0,r.type),A._bottom=Cb(A,a,!1,r.type);const M=A._visualValues||(A._visualValues={});M[l]=b}}function wh(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function U_(t,e){return xa(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function V_(t,e,n){return xa(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function ql(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const o of e){const i=o._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const kh=t=>t==="reset"||t==="none",Db=(t,e)=>e?t:Object.assign({},t),W_=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Sb(n,!0),values:null};class Wu{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=xh(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&ql(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),o=(h,A,m,y)=>h==="x"?A:h==="r"?y:m,i=n.xAxisID=Ct(r.xAxisID,wh(e,"x")),a=n.yAxisID=Ct(r.yAxisID,wh(e,"y")),l=n.rAxisID=Ct(r.rAxisID,wh(e,"r")),u=n.indexAxis,d=n.iAxisID=o(u,i,a,l),p=n.vAxisID=o(u,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(p)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Ky(this._data,this),e._stacked&&ql(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(kt(n)){const o=this._cachedMeta;this._data=j_(n,o)}else if(r!==n){if(r){Ky(r,this);const o=this._cachedMeta;ql(o),o._parsed=[]}n&&Object.isExtensible(n)&&V8(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const i=n._stacked;n._stacked=xh(n.vScale,n),n.stack!==r.stack&&(o=!0,ql(n),n.stack=r.stack),this._resyncElements(e),(o||i!==n._stacked)&&(Pb(this,n._parsed),n._stacked=xh(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:o}=this,{iScale:i,_stacked:a}=r,l=i.axis;let u=e===0&&n===o.length?!0:r._sorted,d=e>0&&r._parsed[e-1],p,h,A;if(this._parsing===!1)r._parsed=o,r._sorted=!0,A=o;else{gn(o[e])?A=this.parseArrayData(r,o,e,n):kt(o[e])?A=this.parseObjectData(r,o,e,n):A=this.parsePrimitiveData(r,o,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(p=0;p<n;++p)r._parsed[p+e]=h=A[p],u&&(m()&&(u=!1),d=h);r._sorted=u}a&&Pb(this,A)}parsePrimitiveData(e,n,r,o){const{iScale:i,vScale:a}=e,l=i.axis,u=a.axis,d=i.getLabels(),p=i===a,h=new Array(o);let A,m,y;for(A=0,m=o;A<m;++A)y=A+r,h[A]={[l]:p||i.parse(d[y],y),[u]:a.parse(n[y],y)};return h}parseArrayData(e,n,r,o){const{xScale:i,yScale:a}=e,l=new Array(o);let u,d,p,h;for(u=0,d=o;u<d;++u)p=u+r,h=n[p],l[u]={x:i.parse(h[0],p),y:a.parse(h[1],p)};return l}parseObjectData(e,n,r,o){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(o);let p,h,A,m;for(p=0,h=o;p<h;++p)A=p+r,m=n[A],d[p]={x:i.parse(zi(m,l),A),y:a.parse(zi(m,u),A)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const o=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:Sb(o,!0),values:n._stacks[e.axis]._visualValues};return Eb(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,o){const i=r[n.axis];let a=i===null?NaN:i;const l=o&&r._stacks[n.axis];o&&l&&(o.values=l,a=Eb(o,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,o=r._parsed,i=r._sorted&&e===r.iScale,a=o.length,l=this._getOtherScale(e),u=W_(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:p,max:h}=Q_(l);let A,m;function y(){m=o[A];const w=m[l.axis];return!Kr(m[e.axis])||p>w||h<w}for(A=0;A<a&&!(!y()&&(this.updateRangeFromParsed(d,e,m,u),i));++A);if(i){for(A=a-1;A>=0;--A)if(!y()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let o,i,a;for(o=0,i=n.length;o<i;++o)a=n[o][e.axis],Kr(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,o=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:o?""+o.getLabelForValue(i[o.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=F_(Ct(this.options.clip,N_(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,o=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let p;for(r.dataset&&r.dataset.draw(e,i,l,u),p=l;p<l+u;++p){const h=o[p];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(p=0;p<a.length;++p)a[p].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const o=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=V_(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=o.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=U_(this.chart.getContext(),this.index)),i.dataset=o,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const o=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],u=this.enableOptionSharing&&Ul(r);if(l)return Db(l,u);const d=this.chart.config,p=d.datasetElementScopeKeys(this._type,e),h=o?[`${e}Hover`,"hover",e,""]:[e,""],A=d.getOptionScopes(this.getDataset(),p),m=Object.keys(Jt.elements[e]),y=()=>this.getContext(r,o,n),w=d.resolveNamedOptions(A,m,y,h);return w.$shared&&(w.$shared=u,i[a]=Object.freeze(Db(w,u))),w}_resolveAnimations(e,n,r){const o=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let u;if(o.options.animation!==!1){const p=this.chart.config,h=p.datasetAnimationScopeKeys(this._type,n),A=p.getOptionScopes(this.getDataset(),h);u=p.createResolver(A,this.getContext(e,r,n))}const d=new wb(o,u&&u.animations);return u&&u._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||kh(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),o=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==o;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,o){kh(o)?Object.assign(e,r):this._resolveAnimations(n,o).update(e,r)}updateSharedOptions(e,n,r){e&&!kh(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,o){e.active=o;const i=this.getStyle(n,o);this._resolveAnimations(n,r,o).update(e,{options:!o&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,u,d]of this._syncList)this[l](u,d);this._syncList=[];const o=r.length,i=n.length,a=Math.min(i,o);a&&this.parse(0,a),i>o?this._insertElements(o,i-o,e):i<o&&this._removeElements(i,o-i)}_insertElements(e,n,r=!0){const o=this._cachedMeta,i=o.data,a=e+n;let l;const u=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(u(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&u(o._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,o){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,n);r._stacked&&ql(r,o)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,o]=e;this[n](r,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Y_(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let o=0,i=n.length;o<i;o++)r=r.concat(n[o].controller.getAllParsedValues(t));t._cache.$bar=Gy(r.sort((o,i)=>o-i))}return t._cache.$bar}function q_(t){const e=t.iScale,n=Y_(e,t.type);let r=e._length,o,i,a,l;const u=()=>{a===32767||a===-32768||(Ul(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(o=0,i=n.length;o<i;++o)a=e.getPixelForValue(n[o]),u();for(l=void 0,o=0,i=e.ticks.length;o<i;++o)a=e.getPixelForTick(o),u();return r}function K_(t,e,n,r){const o=n.barThickness;let i,a;return Ot(o)?(i=e.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:e.pixels[t]-i/2}}function G_(t,e,n,r){const o=e.pixels,i=o[t];let a=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null;const u=n.categoryPercentage;a===null&&(a=i-(l===null?e.end-e.start:l-i)),l===null&&(l=i+i-a);const d=i-(i-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function X_(t,e,n,r){const o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),l=Math.max(o,i);let u=a,d=l;Math.abs(a)>Math.abs(l)&&(u=l,d=a),e[n.axis]=d,e._custom={barStart:u,barEnd:d,start:o,end:i,min:a,max:l}}function Tb(t,e,n,r){return gn(t)?X_(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Bb(t,e,n,r){const o=t.iScale,i=t.vScale,a=o.getLabels(),l=o===i,u=[];let d,p,h,A;for(d=n,p=n+r;d<p;++d)A=e[d],h={},h[o.axis]=l||o.parse(a[d],d),u.push(Tb(A,h,i,d));return u}function Sh(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function J_(t,e,n){return t!==0?Hi(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function Z_(t){let e,n,r,o,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:e,top:o,bottom:i}}function $_(t,e,n,r){let o=e.borderSkipped;const i={};if(!o){t.borderSkipped=i;return}if(o===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:p}=Z_(t);o==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?o=d:(n._bottom||0)===r?o=p:(i[_b(p,a,l,u)]=!0,o=d)),i[_b(o,a,l,u)]=!0,t.borderSkipped=i}function _b(t,e,n,r){return r?(t=eI(t,e,n),t=Ib(t,n,e)):t=Ib(t,e,n),t}function eI(t,e,n){return t===e?n:t===n?e:t}function Ib(t,e,n){return t==="start"?e:t==="end"?n:t}function tI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class nI extends Wu{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,n,r,o){return Bb(e,n,r,o)}parseArrayData(e,n,r,o){return Bb(e,n,r,o)}parseObjectData(e,n,r,o){const{iScale:i,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=i.axis==="x"?l:u,p=a.axis==="x"?l:u,h=[];let A,m,y,w;for(A=r,m=r+o;A<m;++A)w=n[A],y={},y[i.axis]=i.parse(zi(w,d),A),h.push(Tb(zi(w,p),y,a,A));return h}updateRangeFromParsed(e,n,r,o){super.updateRangeFromParsed(e,n,r,o);const i=r._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:o}=n,i=this.getParsed(e),a=i._custom,l=Sh(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(i[o.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,r,o){const i=o==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),p=this._getRuler(),{sharedOptions:h,includeOptions:A}=this._getSharedOptions(n,o);for(let m=n;m<n+r;m++){const y=this.getParsed(m),w=i||Ot(y[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),b=this._calculateBarIndexPixels(m,p),P=(y._stacks||{})[l.axis],M={horizontal:d,base:w.base,enableBorderRadius:!P||Sh(y._custom)||a===P._top||a===P._bottom,x:d?w.head:b.center,y:d?b.center:w.head,height:d?b.size:Math.abs(w.size),width:d?Math.abs(w.size):b.size};A&&(M.options=h||this.resolveDataElementOptions(m,e[m].active?"active":o));const D=M.options||e[m].options;$_(M,D,P,a),tI(M,D,p.ratio),this.updateElement(e[m],m,M,o)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(p=>p.controller.options.grouped),i=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=p=>{const h=p._parsed.find(m=>m[r.axis]===u),A=h&&h[p.vScale.axis];if(Ot(A)||isNaN(A))return!0};for(const p of o)if(!(n!==void 0&&d(p))&&((i===!1||a.indexOf(p.stack)===-1||i===void 0&&p.stack===void 0)&&a.push(p.stack),p.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(r=>e[r].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)e[Ct(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const o=this._getStacks(e,r),i=n!==void 0?o.indexOf(n):-1;return i===-1?o.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,o=[];let i,a;for(i=0,a=n.data.length;i<a;++i)o.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const l=e.barThickness;return{min:l||q_(n),pixels:o,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:r,index:o},options:{base:i,minBarLength:a}}=this,l=i||0,u=this.getParsed(e),d=u._custom,p=Sh(d);let h=u[n.axis],A=0,m=r?this.applyStack(n,u,r):h,y,w;m!==h&&(A=m-h,m=h),p&&(h=d.barStart,m=d.barEnd-d.barStart,h!==0&&Hi(h)!==Hi(d.barEnd)&&(A=0),A+=h);const b=!Ot(i)&&!p?i:A;let P=n.getPixelForValue(b);if(this.chart.getDataVisibility(e)?y=n.getPixelForValue(A+m):y=P,w=y-P,Math.abs(w)<a){w=J_(w,n,l)*a,h===l&&(P-=w/2);const M=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(M,D),j=Math.max(M,D);P=Math.max(Math.min(P,j),C),y=P+w,r&&!p&&(u._stacks[n.axis]._visualValues[o]=n.getValueForPixel(y)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const M=Hi(w)*n.getLineWidthForValue(l)/2;P+=M,w-=M}return{size:w,base:P,head:y,center:y+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,o=this.options,i=o.skipNull,a=Ct(o.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const p=i?this._getStackCount(e):n.stackCount,h=o.barThickness==="flex"?G_(e,n,o,p*d):K_(e,n,o,p*d),A=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(Ct(A,this.getFirstScaleIdForIndexAxis())),y=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+m;l=h.start+h.chunk*y+h.chunk/2,u=Math.min(a,h.chunk*h.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),u=Math.min(a,n.min*n.ratio);return{base:l-u/2,head:l+u/2,center:l,size:u}}draw(){const e=this._cachedMeta,n=e.vScale,r=e.data,o=r.length;let i=0;for(;i<o;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}function rI(t,e,n){let r=1,o=1,i=0,a=0;if(e<Tr){const l=t,u=l+e,d=Math.cos(l),p=Math.sin(l),h=Math.cos(u),A=Math.sin(u),m=(D,C,j)=>ah(D,l,u,!0)?1:Math.max(C,C*n,j,j*n),y=(D,C,j)=>ah(D,l,u,!0)?-1:Math.min(C,C*n,j,j*n),w=m(0,d,h),b=m(Br,p,A),P=y(mn,d,h),M=y(mn+Br,p,A);r=(w-P)/2,o=(b-M)/2,i=-(w+P)/2,a=-(b+M)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}class oI extends Wu{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:h.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:o,pointStyle:r,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const r=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let i=u=>+r[u];if(kt(r[e])){const{key:u="value"}=this._parsing;i=d=>+zi(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)o._parsed[a]=i(a)}}_getRotation(){return No(this.options.rotation-90)}_getCircumference(){return No(this.options.circumference)}_getRotationExtents(){let e=Tr,n=-Tr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,i=o._getRotation(),a=o._getCircumference();e=Math.min(e,i),n=Math.max(n,i+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,o=this._cachedMeta,i=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(P8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:p,rotation:h}=this._getRotationExtents(),{ratioX:A,ratioY:m,offsetX:y,offsetY:w}=rI(h,p,u),b=(r.width-a)/A,P=(r.height-a)/m,M=Math.max(Math.min(b,P)/2,0),D=jy(this.options.radius,M),C=Math.max(D*u,0),j=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=y*D,this.offsetY=w*D,o.total=this.calculateTotal(),this.outerRadius=D-j*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-j*d,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const r=this.options,o=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*i/Tr)}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,p=(l.left+l.right)/2,h=(l.top+l.bottom)/2,A=i&&d.animateScale,m=A?0:this.innerRadius,y=A?0:this.outerRadius,{sharedOptions:w,includeOptions:b}=this._getSharedOptions(n,o);let P=this._getRotation(),M;for(M=0;M<n;++M)P+=this._circumference(M,i);for(M=n;M<n+r;++M){const D=this._circumference(M,i),C=e[M],j={x:p+this.offsetX,y:h+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:y,innerRadius:m};b&&(j.options=w||this.resolveDataElementOptions(M,C.active?"active":o)),P+=D,this.updateElement(C,M,j,o)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,o;for(o=0;o<n.length;o++){const i=e._parsed[o];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?Tr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=ju(n._parsed[e],r.options.locale);return{label:o[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const r=this.chart;let o,i,a,l,u;if(!e){for(o=0,i=r.data.datasets.length;o<i;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,i=e.length;o<i;++o)u=l.resolveDataElementOptions(o),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,o=e.length;r<o;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(e){return Math.max(Ct(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class iI extends Wu{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:o}}=e.legend.options;return n.labels.map((i,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:i,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:o,lineWidth:u.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=ju(n._parsed[e].r,r.options.locale);return{label:o[e]||"",value:i}}parseObjectData(e,n,r,o){return b_.bind(this)(e,n,r,o)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,o)=>{const i=this.getParsed(o).r;!isNaN(i)&&this.chart.getDataVisibility(o)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,o=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(o/2,0),a=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),l=(i-a)/e.getVisibleDatasetCount();this.outerRadius=i-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,p=d.xCenter,h=d.yCenter,A=d.getIndexAngle(0)-.5*mn;let m=A,y;const w=360/this.countVisibleElements();for(y=0;y<n;++y)m+=this._computeAngle(y,o,w);for(y=n;y<n+r;y++){const b=e[y];let P=m,M=m+this._computeAngle(y,o,w),D=a.getDataVisibility(y)?d.getDistanceFromCenterForValue(this.getParsed(y).r):0;m=M,i&&(u.animateScale&&(D=0),u.animateRotate&&(P=M=A));const C={x:p,y:h,innerRadius:0,outerRadius:D,startAngle:P,endAngle:M,options:this.resolveDataElementOptions(y,b.active?"active":o)};this.updateElement(b,y,C,o)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?No(this.resolveDataElementOptions(e,n).angle||r):0}}function Ts(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Eh{static override(e){Object.assign(Eh.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Ts()}parse(){return Ts()}format(){return Ts()}add(){return Ts()}diff(){return Ts()}startOf(){return Ts()}endOf(){return Ts()}}var sI={_date:Eh};function aI(t,e,n,r){const{controller:o,data:i,_sorted:a}=t,l=o._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const d=l._reversePixels?H8:ch;if(r){if(o._sharedOptions){const p=i[0],h=typeof p.getRange=="function"&&p.getRange(e);if(h){const A=d(i,e,n-h),m=d(i,e,n+h);return{lo:A.lo,hi:m.hi}}}}else{const p=d(i,e,n);if(u){const{vScale:h}=o._cachedMeta,{_parsed:A}=t,m=A.slice(0,p.lo+1).reverse().findIndex(w=>!Ot(w[h.axis]));p.lo-=Math.max(0,m);const y=A.slice(p.hi).findIndex(w=>!Ot(w[h.axis]));p.hi+=Math.max(0,y)}return p}}return{lo:0,hi:i.length-1}}function Yu(t,e,n,r,o){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=i.length;l<u;++l){const{index:d,data:p}=i[l],{lo:h,hi:A}=aI(i[l],e,a,o);for(let m=h;m<=A;++m){const y=p[m];y.skip||r(y,d,m)}}}function lI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,o){const i=e?Math.abs(r.x-o.x):0,a=n?Math.abs(r.y-o.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function Ch(t,e,n,r,o){const i=[];return!o&&!t.isPointInArea(e)||Yu(t,n,e,function(l,u,d){!o&&!lb(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:u,index:d})},!0),i}function cI(t,e,n,r){let o=[];function i(a,l,u){const{startAngle:d,endAngle:p}=a.getProps(["startAngle","endAngle"],r),{angle:h}=j8(a,{x:e.x,y:e.y});ah(h,d,p)&&o.push({element:a,datasetIndex:l,index:u})}return Yu(t,n,e,i),o}function uI(t,e,n,r,o,i){let a=[];const l=lI(n);let u=Number.POSITIVE_INFINITY;function d(p,h,A){const m=p.inRange(e.x,e.y,o);if(r&&!m)return;const y=p.getCenterPoint(o);if(!(!!i||t.isPointInArea(y))&&!m)return;const b=l(e,y);b<u?(a=[{element:p,datasetIndex:h,index:A}],u=b):b===u&&a.push({element:p,datasetIndex:h,index:A})}return Yu(t,n,e,d),a}function Ph(t,e,n,r,o,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?cI(t,e,n,o):uI(t,e,n,r,o,i)}function Mb(t,e,n,r,o){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Yu(t,n,e,(u,d,p)=>{u[a]&&u[a](e[n],o)&&(i.push({element:u,datasetIndex:d,index:p}),l=l||u.inRange(e.x,e.y,o))}),r&&!l?[]:i}var dI={modes:{index(t,e,n,r){const o=Ds(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Ch(t,o,i,r,a):Ph(t,o,i,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const p=l[0].index,h=d.data[p];h&&!h.skip&&u.push({element:h,datasetIndex:d.index,index:p})}),u):[]},dataset(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Ch(t,o,i,r,a):Ph(t,o,i,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let p=0;p<d.length;++p)l.push({element:d[p],datasetIndex:u,index:p})}return l},point(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ch(t,o,i,r,a)},nearest(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ph(t,o,i,n.intersect,r,a)},x(t,e,n,r){const o=Ds(e,t);return Mb(t,o,"x",n.intersect,r)},y(t,e,n,r){const o=Ds(e,t);return Mb(t,o,"y",n.intersect,r)}}};const Ob=["left","top","right","bottom"];function Kl(t,e){return t.filter(n=>n.pos===e)}function Rb(t,e){return t.filter(n=>Ob.indexOf(n.pos)===-1&&n.box.axis===e)}function Gl(t,e){return t.sort((n,r)=>{const o=e?r:n,i=e?n:r;return o.weight===i.weight?o.index-i.index:o.weight-i.weight})}function fI(t){const e=[];let n,r,o,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)o=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=o,e.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:l});return e}function pI(t){const e={};for(const n of t){const{stack:r,pos:o,stackWeight:i}=n;if(!r||!Ob.includes(o))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function hI(t,e){const n=pI(t),{vBoxMaxWidth:r,hBoxMaxHeight:o}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:u}=l.box,d=n[l.stack],p=d&&l.stackWeight/d.weight;l.horizontal?(l.width=p?p*r:u&&e.availableWidth,l.height=o):(l.width=r,l.height=p?p*o:u&&e.availableHeight)}return n}function AI(t){const e=fI(t),n=Gl(e.filter(d=>d.box.fullSize),!0),r=Gl(Kl(e,"left"),!0),o=Gl(Kl(e,"right")),i=Gl(Kl(e,"top"),!0),a=Gl(Kl(e,"bottom")),l=Rb(e,"x"),u=Rb(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(u).concat(a).concat(l),chartArea:Kl(e,"chartArea"),vertical:r.concat(o).concat(u),horizontal:i.concat(a).concat(l)}}function Lb(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Nb(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gI(t,e,n,r){const{pos:o,box:i}=n,a=t.maxPadding;if(!kt(o)){n.size&&(t[o]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[o]+=n.size}i.getPadding&&Nb(a,i.getPadding());const l=Math.max(0,e.outerWidth-Lb(a,t,"left","right")),u=Math.max(0,e.outerHeight-Lb(a,t,"top","bottom")),d=l!==t.w,p=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:p}:{same:p,other:d}}function mI(t){const e=t.maxPadding;function n(r){const o=Math.max(e[r]-t[r],0);return t[r]+=o,o}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function vI(t,e){const n=e.maxPadding;function r(o){const i={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Xl(t,e,n,r){const o=[];let i,a,l,u,d,p;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],u=l.box,u.update(l.width||e.w,l.height||e.h,vI(l.horizontal,e));const{same:h,other:A}=gI(e,n,l,r);d|=h&&o.length,p=p||A,u.fullSize||o.push(l)}return d&&Xl(o,e,n,r)||p}function qu(t,e,n,r,o){t.top=n,t.left=e,t.right=e+r,t.bottom=n+o,t.width=r,t.height=o}function Fb(t,e,n,r){const o=n.padding;let{x:i,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},p=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*p,A=d.size||u.height;Ul(d.start)&&(a=d.start),u.fullSize?qu(u,o.left,a,n.outerWidth-o.right-o.left,A):qu(u,e.left+d.placed,a,h,A),d.start=a,d.placed+=h,a=u.bottom}else{const h=e.h*p,A=d.size||u.width;Ul(d.start)&&(i=d.start),u.fullSize?qu(u,i,o.top,A,n.outerHeight-o.bottom-o.top):qu(u,i,e.top+d.placed,A,h),d.start=i,d.placed+=h,i=u.right}}e.x=i,e.y=a}var Xr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const o=Gr(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),l=AI(t.boxes),u=l.vertical,d=l.horizontal;Tt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const p=u.reduce((w,b)=>b.box.options&&b.box.options.display===!1?w:w+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/p,hBoxMaxHeight:a/2}),A=Object.assign({},o);Nb(A,Gr(r));const m=Object.assign({maxPadding:A,w:i,h:a,x:o.left,y:o.top},o),y=hI(u.concat(d),h);Xl(l.fullSize,m,h,y),Xl(u,m,h,y),Xl(d,m,h,y)&&Xl(u,m,h,y),mI(m),Fb(l.leftAndTop,m,h,y),m.x+=m.w,m.y+=m.h,Fb(l.rightAndBottom,m,h,y),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Tt(l.chartArea,w=>{const b=w.box;Object.assign(b,t.chartArea),b.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class jb{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,o){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,o?Math.floor(n/o):r)}}isAttached(e){return!0}updateConfig(e){}}class yI extends jb{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ku="$chartjs",bI={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zb=t=>t===null||t==="";function xI(t,e){const n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t[Ku]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zb(o)){const i=vb(t,"width");i!==void 0&&(t.width=i)}if(zb(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=vb(t,"height");i!==void 0&&(t.height=i)}return t}const Qb=P_?{passive:!0}:!1;function wI(t,e,n){t&&t.addEventListener(e,n,Qb)}function kI(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Qb)}function SI(t,e){const n=bI[t.type]||t.type,{x:r,y:o}=Ds(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:o!==void 0?o:null}}function Gu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function EI(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Gu(l.addedNodes,r),a=a&&!Gu(l.removedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function CI(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Gu(l.removedNodes,r),a=a&&!Gu(l.addedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Jl=new Map;let Hb=0;function Ub(){const t=window.devicePixelRatio;t!==Hb&&(Hb=t,Jl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function PI(t,e){Jl.size||window.addEventListener("resize",Ub),Jl.set(t,e)}function DI(t){Jl.delete(t),Jl.size||window.removeEventListener("resize",Ub)}function TI(t,e,n){const r=t.canvas,o=r&&bh(r);if(!o)return;const i=Jy((l,u)=>{const d=o.clientWidth;n(l,u),d<o.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,p=u.contentRect.height;d===0&&p===0||i(d,p)});return a.observe(o),PI(t,i),a}function Dh(t,e,n){n&&n.disconnect(),e==="resize"&&DI(t)}function BI(t,e,n){const r=t.canvas,o=Jy(i=>{t.ctx!==null&&n(SI(i,t))},t);return wI(r,e,o),o}class _I extends jb{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(xI(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Ku])return!1;const r=n[Ku].initial;["height","width"].forEach(i=>{const a=r[i];Ot(a)?n.removeAttribute(i):n.setAttribute(i,a)});const o=r.style||{};return Object.keys(o).forEach(i=>{n.style[i]=o[i]}),n.width=n.width,delete n[Ku],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const o=e.$proxies||(e.$proxies={}),a={attach:EI,detach:CI,resize:TI}[n]||BI;o[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),o=r[n];if(!o)return;({attach:Dh,detach:Dh,resize:Dh}[n]||kI)(e,n,o),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,o){return C_(e,n,r,o)}isAttached(e){const n=e&&bh(e);return!!(n&&n.isConnected)}}function II(t){return!yh()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?yI:_I}let Sa=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Nu(this.x)&&Nu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const o={};return e.forEach(i=>{o[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),o}};function MI(t,e){const n=t.options.ticks,r=OI(t),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?LI(e):[],a=i.length,l=i[0],u=i[a-1],d=[];if(a>o)return NI(e,d,i,a/o),d;const p=RI(i,e,o);if(a>0){let h,A;const m=a>1?Math.round((u-l)/(a-1)):null;for(Xu(e,d,p,Ot(m)?0:l-m,l),h=0,A=a-1;h<A;h++)Xu(e,d,p,i[h],i[h+1]);return Xu(e,d,p,u,Ot(m)?e.length:u+m),d}return Xu(e,d,p),d}function OI(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}function RI(t,e,n){const r=FI(t),o=e.length/n;if(!r)return Math.max(o,1);const i=O8(r);for(let a=0,l=i.length-1;a<l;a++){const u=i[a];if(u>o)return u}return Math.max(o,1)}function LI(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function NI(t,e,n,r){let o=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),o++,i=n[o*r])}function Xu(t,e,n,r,o){const i=Ct(r,0),a=Math.min(Ct(o,t.length),t.length);let l=0,u,d,p;for(n=Math.ceil(n),o&&(u=o-r,n=u/Math.floor(u/n)),p=i;p<0;)l++,p=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===p&&(e.push(t[d]),l++,p=Math.round(i+l*n))}function FI(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const jI=t=>t==="left"?"right":t==="right"?"left":t,Vb=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Wb=(t,e)=>Math.min(e||t,t);function Yb(t,e){const n=[],r=t.length/e,o=t.length;let i=0;for(;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function zI(t,e,n){const r=t.ticks.length,o=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(o),d;if(!(n&&(r===1?d=Math.max(u-i,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(o-1))/2,u+=o<e?d:-d,u<i-l||u>a+l)))return u}function QI(t,e){Tt(t,n=>{const r=n.gc,o=r.length/2;let i;if(o>e){for(i=0;i<o;++i)delete n.data[r[i]];r.splice(0,o)}})}function Zl(t){return t.drawTicks?t.tickLength:0}function qb(t,e){if(!t.display)return 0;const n=zn(t.font,e),r=Gr(t.padding);return(gn(t.text)?t.text.length:1)*n.lineHeight+r.height}function HI(t,e){return xa(t,{scale:e,type:"scale"})}function UI(t,e,n){return xa(t,{tick:n,index:e,type:"tick"})}function VI(t,e,n){let r=uh(t);return(n&&e!=="right"||!n&&e==="right")&&(r=jI(r)),r}function WI(t,e,n,r){const{top:o,left:i,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:p}=u;let h=0,A,m,y;const w=a-o,b=l-i;if(t.isHorizontal()){if(m=jn(r,i,l),kt(n)){const P=Object.keys(n)[0],M=n[P];y=p[P].getPixelForValue(M)+w-e}else n==="center"?y=(d.bottom+d.top)/2+w-e:y=Vb(t,n,e);A=l-i}else{if(kt(n)){const P=Object.keys(n)[0],M=n[P];m=p[P].getPixelForValue(M)-b+e}else n==="center"?m=(d.left+d.right)/2-b+e:m=Vb(t,n,e);y=jn(r,a,o),h=n==="left"?-Br:Br}return{titleX:m,titleY:y,maxWidth:A,rotation:h}}class Ea extends Sa{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:o}=this;return e=Lo(e,Number.POSITIVE_INFINITY),n=Lo(n,Number.NEGATIVE_INFINITY),r=Lo(r,Number.POSITIVE_INFINITY),o=Lo(o,Number.NEGATIVE_INFINITY),{min:Lo(e,r),max:Lo(n,o),minDefined:Kr(e),maxDefined:Kr(n)}}getMinMax(e){let{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds(),a;if(o&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let u=0,d=l.length;u<d;++u)a=l[u].controller.getMinMax(this,e),o||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:Lo(n,Lo(r,n)),max:Lo(r,Lo(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ht(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:o,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=u_(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?Yb(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=MI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ht(this.options.afterUpdate,[this])}beforeSetDimensions(){Ht(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ht(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Ht(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ht(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r],i.label=Ht(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){Ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Wb(this.ticks.length,e.ticks.maxTicksLimit),o=n.minRotation||0,i=n.maxRotation;let a=o,l,u,d;if(!this._isVisible()||!n.display||o>=i||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const p=this._getLabelSizes(),h=p.widest.width,A=p.highest.height,m=lo(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Zl(e.grid)-n.padding-qb(e.title,this.chart.options.font),d=Math.sqrt(h*h+A*A),a=F8(Math.min(Math.asin(lo((p.highest.height+6)/l,-1,1)),Math.asin(lo(u/d,-1,1))-Math.asin(lo(A/d,-1,1)))),a=Math.max(o,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ht(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:o,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=qb(o,n.options.font);if(l?(e.width=this.maxWidth,e.height=Zl(i)+u):(e.height=this.maxHeight,e.width=Zl(i)+u),r.display&&this.ticks.length){const{first:d,last:p,widest:h,highest:A}=this._getLabelSizes(),m=r.padding*2,y=No(this.labelRotation),w=Math.cos(y),b=Math.sin(y);if(l){const P=r.mirror?0:b*h.width+w*A.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*h.width+b*A.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,p,b,w)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,o){const{ticks:{align:i,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let A=0,m=0;u?d?(A=o*e.width,m=r*n.height):(A=r*e.height,m=o*n.width):i==="start"?m=n.width:i==="end"?A=e.width:i!=="inner"&&(A=e.width/2,m=n.width/2),this.paddingLeft=Math.max((A-p+a)*this.width/(this.width-p),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let p=n.height/2,h=e.height/2;i==="start"?(p=0,h=e.height):i==="end"&&(p=n.height,h=0),this.paddingTop=p+a,this.paddingBottom=h+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ht(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ot(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Yb(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:o,_longestTextCache:i}=this,a=[],l=[],u=Math.floor(n/Wb(n,r));let d=0,p=0,h,A,m,y,w,b,P,M,D,C,j;for(h=0;h<n;h+=u){if(y=e[h].label,w=this._resolveTickFontOptions(h),o.font=b=w.string,P=i[b]=i[b]||{data:{},gc:[]},M=w.lineHeight,D=C=0,!Ot(y)&&!gn(y))D=ob(o,P.data,P.gc,D,y),C=M;else if(gn(y))for(A=0,m=y.length;A<m;++A)j=y[A],!Ot(j)&&!gn(j)&&(D=ob(o,P.data,P.gc,D,j),C+=M);a.push(D),l.push(C),d=Math.max(D,d),p=Math.max(C,p)}QI(i,n);const R=a.indexOf(d),z=l.indexOf(p),V=K=>({width:a[K]||0,height:l[K]||0});return{first:V(0),last:V(n-1),widest:V(R),highest:V(z),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Q8(this._alignToPixels?Cs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=UI(this.getContext(),e,r))}return this.$context||(this.$context=HI(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=No(this.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,u=i?i.highest.height+a:0;return this.isHorizontal()?u*r>l*o?l/r:u/o:u*o<l*r?u/r:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,o=this.options,{grid:i,position:a,border:l}=o,u=i.offset,d=this.isHorizontal(),h=this.ticks.length+(u?1:0),A=Zl(i),m=[],y=l.setContext(this.getContext()),w=y.display?y.width:0,b=w/2,P=function(pe){return Cs(r,pe,w)};let M,D,C,j,R,z,V,K,q,Z,W,oe;if(a==="top")M=P(this.bottom),z=this.bottom-A,K=M-b,Z=P(e.top)+b,oe=e.bottom;else if(a==="bottom")M=P(this.top),Z=e.top,oe=P(e.bottom)-b,z=M+b,K=this.top+A;else if(a==="left")M=P(this.right),R=this.right-A,V=M-b,q=P(e.left)+b,W=e.right;else if(a==="right")M=P(this.left),q=e.left,W=P(e.right)-b,R=M+b,V=this.left+A;else if(n==="x"){if(a==="center")M=P((e.top+e.bottom)/2+.5);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}Z=e.top,oe=e.bottom,z=M+b,K=z+A}else if(n==="y"){if(a==="center")M=P((e.left+e.right)/2);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}R=M-b,V=R-A,q=e.left,W=e.right}const ue=Ct(o.ticks.maxTicksLimit,h),te=Math.max(1,Math.ceil(h/ue));for(D=0;D<h;D+=te){const pe=this.getContext(D),ee=i.setContext(pe),G=l.setContext(pe),N=ee.lineWidth,de=ee.color,I=G.dash||[],J=G.dashOffset,ve=ee.tickWidth,me=ee.tickColor,we=ee.tickBorderDash||[],_e=ee.tickBorderDashOffset;C=zI(this,D,u),C!==void 0&&(j=Cs(r,C,N),d?R=V=q=W=j:z=K=Z=oe=j,m.push({tx1:R,ty1:z,tx2:V,ty2:K,x1:q,y1:Z,x2:W,y2:oe,width:N,color:de,borderDash:I,borderDashOffset:J,tickWidth:ve,tickColor:me,tickBorderDash:we,tickBorderDashOffset:_e}))}return this._ticksLength=h,this._borderValue=M,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:o,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:p,mirror:h}=i,A=Zl(r.grid),m=A+p,y=h?-p:m,w=-No(this.labelRotation),b=[];let P,M,D,C,j,R,z,V,K,q,Z,W,oe="middle";if(o==="top")R=this.bottom-y,z=this._getXAxisLabelAlignment();else if(o==="bottom")R=this.top+y,z=this._getXAxisLabelAlignment();else if(o==="left"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(o==="right"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(n==="x"){if(o==="center")R=(e.top+e.bottom)/2+m;else if(kt(o)){const te=Object.keys(o)[0],pe=o[te];R=this.chart.scales[te].getPixelForValue(pe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")j=(e.left+e.right)/2-m;else if(kt(o)){const te=Object.keys(o)[0],pe=o[te];j=this.chart.scales[te].getPixelForValue(pe)}z=this._getYAxisLabelAlignment(A).textAlign}n==="y"&&(u==="start"?oe="top":u==="end"&&(oe="bottom"));const ue=this._getLabelSizes();for(P=0,M=l.length;P<M;++P){D=l[P],C=D.label;const te=i.setContext(this.getContext(P));V=this.getPixelForTick(P)+i.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,Z=gn(C)?C.length:1;const pe=Z/2,ee=te.color,G=te.textStrokeColor,N=te.textStrokeWidth;let de=z;a?(j=V,z==="inner"&&(P===M-1?de=this.options.reverse?"left":"right":P===0?de=this.options.reverse?"right":"left":de="center"),o==="top"?d==="near"||w!==0?W=-Z*q+q/2:d==="center"?W=-ue.highest.height/2-pe*q+q:W=-ue.highest.height+q/2:d==="near"||w!==0?W=q/2:d==="center"?W=ue.highest.height/2-pe*q:W=ue.highest.height-Z*q,h&&(W*=-1),w!==0&&!te.showLabelBackdrop&&(j+=q/2*Math.sin(w))):(R=V,W=(1-Z)*q/2);let I;if(te.showLabelBackdrop){const J=Gr(te.backdropPadding),ve=ue.heights[P],me=ue.widths[P];let we=W-J.top,_e=0-J.left;switch(oe){case"middle":we-=ve/2;break;case"bottom":we-=ve;break}switch(z){case"center":_e-=me/2;break;case"right":_e-=me;break;case"inner":P===M-1?_e-=me:P>0&&(_e-=me/2);break}I={left:_e,top:we,width:me+J.width,height:ve+J.height,color:te.backdropColor}}b.push({label:C,font:K,textOffset:W,options:{rotation:w,color:ee,strokeColor:G,strokeWidth:N,textAlign:de,textBaseline:oe,translation:[j,R],backdrop:I}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-No(this.labelRotation))return e==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:o,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,u=a.widest.width;let d,p;return n==="left"?o?(p=this.right+i,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p+=u)):(p=this.right-l,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p=this.left)):n==="right"?o?(p=this.left+i,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p-=u)):(p=this.left+l,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p=this.right)):d="right",{textAlign:d,x:p}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:o,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,o,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(i=>i.value===e);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(u,d,p)=>{!p.width||!p.color||(r.save(),r.lineWidth=p.width,r.strokeStyle=p.color,r.setLineDash(p.borderDash||[]),r.lineDashOffset=p.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=o.length;i<a;++i){const u=o[i];n.drawOnChartArea&&l({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),n.drawTicks&&l({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:o}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,p,h,A;this.isHorizontal()?(d=Cs(e,this.left,a)-a/2,p=Cs(e,this.right,l)+l/2,h=A=u):(h=Cs(e,this.top,a)-a/2,A=Cs(e,this.bottom,l)+l/2,d=p=u),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(p,A),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,o=this._computeLabelArea();o&&hh(r,o);const i=this.getLabelItems(e);for(const a of i){const l=a.options,u=a.font,d=a.label,p=a.textOffset;Yl(r,d,0,p,u,l)}o&&Ah(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:o}}=this;if(!r.display)return;const i=zn(r.font),a=Gr(r.padding),l=r.align;let u=i.lineHeight/2;n==="bottom"||n==="center"||kt(n)?(u+=a.bottom,gn(r.text)&&(u+=i.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:p,maxWidth:h,rotation:A}=WI(this,u,n,l);Yl(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:A,textAlign:VI(l,n,o),textBaseline:"middle",translation:[d,p]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Ct(e.grid&&e.grid.z,-1),o=Ct(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Ea.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return zn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ju{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;KI(n)&&(r=this.register(n));const o=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in o||(o[i]=e,YI(e,a,r),this.override&&Jt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,o=this.scope;r in n&&delete n[r],o&&r in Jt[o]&&(delete Jt[o][r],this.override&&delete Es[r])}}function YI(t,e,n){const r=Ql(Object.create(null),[n?Jt.get(n):{},Jt.get(e),t.defaults]);Jt.set(e,r),t.defaultRoutes&&qI(e,t.defaultRoutes),t.descriptors&&Jt.describe(e,t.descriptors)}function qI(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Jt.route(i,o,u,l)})}function KI(t){return"id"in t&&"defaults"in t}class GI{constructor(){this.controllers=new Ju(Wu,"datasets",!0),this.elements=new Ju(Sa,"elements"),this.plugins=new Ju(Object,"plugins"),this.scales=new Ju(Ea,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(o=>{const i=r||this._getRegistryForType(o);r||i.isForType(o)||i===this.plugins&&o.id?this._exec(e,i,o):Tt(o,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const o=sh(e);Ht(r["before"+o],[],r),n[e](r),Ht(r["after"+o],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const o=n.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return o}}var Fo=new GI;class XI{constructor(){this._init=void 0}notify(e,n,r,o){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,o){o=o||{};for(const i of e){const a=i.plugin,l=a[r],u=[n,o,i.options];if(Ht(l,u,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Ot(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,o=Ct(r.options&&r.options.plugins,{}),i=JI(r);return o===!1&&!n?[]:$I(e,i,o,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,o=(i,a)=>i.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(o(n,r),e,"stop"),this._notify(o(r,n),e,"start")}}function JI(t){const e={},n=[],r=Object.keys(Fo.plugins.items);for(let i=0;i<r.length;i++)n.push(Fo.getPlugin(r[i]));const o=t.plugins||[];for(let i=0;i<o.length;i++){const a=o[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function ZI(t,e){return!e&&t===!1?null:t===!0?{}:t}function $I(t,{plugins:e,localIds:n},r,o){const i=[],a=t.getContext();for(const l of e){const u=l.id,d=ZI(r[u],o);d!==null&&i.push({plugin:l,options:e5(t.config,{plugin:l,local:n[u]},d,a)})}return i}function e5(t,{plugin:e,local:n},r,o){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Th(t,e){const n=Jt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function t5(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function n5(t,e){return t===e?"_index_":"_value_"}function Kb(t){if(t==="x"||t==="y"||t==="r")return t}function r5(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Bh(t,...e){if(Kb(t))return t;for(const n of e){const r=n.axis||r5(n.position)||t.length>1&&Kb(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gb(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function o5(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Gb(t,"x",n[0])||Gb(t,"y",n[0])}return{}}function i5(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},o=Th(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!kt(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const u=Bh(a,l,o5(a,t),Jt.scales[l.type]),d=n5(u,o),p=n.scales||{};i[a]=Hl(Object.create(null),[{axis:u},l,p[u],p[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Th(l,e),p=(Es[l]||{}).scales||{};Object.keys(p).forEach(h=>{const A=t5(h,u),m=a[A+"AxisID"]||A;i[m]=i[m]||Object.create(null),Hl(i[m],[{axis:A},r[m],p[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];Hl(l,[Jt.scales[l.type],Jt.scale])}),i}function Xb(t){const e=t.options||(t.options={});e.plugins=Ct(e.plugins,{}),e.scales=i5(t,e)}function Jb(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function s5(t){return t=t||{},t.data=Jb(t.data),Xb(t),t}const Zb=new Map,$b=new Set;function Zu(t,e){let n=Zb.get(t);return n||(n=e(),Zb.set(t,n),$b.add(n)),n}const $l=(t,e,n)=>{const r=zi(e,n);r!==void 0&&t.add(r)};let a5=class{constructor(e){this._config=s5(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Jb(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Xb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Zu(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Zu(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Zu(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Zu(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let o=r.get(e);return(!o||n)&&(o=new Map,r.set(e,o)),o}getOptionScopes(e,n,r){const{options:o,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(p=>{e&&(u.add(e),p.forEach(h=>$l(u,e,h))),p.forEach(h=>$l(u,o,h)),p.forEach(h=>$l(u,Es[i]||{},h)),p.forEach(h=>$l(u,Jt,h)),p.forEach(h=>$l(u,fh,h))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),$b.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},Jt.datasets[n]||{},{type:n},Jt,fh]}resolveNamedOptions(e,n,r,o=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=ex(this._resolverCache,e,o);let u=a;if(c5(a,n)){i.$shared=!1,r=Qi(r)?r():r;const d=this.createResolver(e,r,l);u=wa(a,r,d)}for(const d of n)i[d]=u[d];return i}createResolver(e,n,r=[""],o){const{resolver:i}=ex(this._resolverCache,e,r);return kt(n)?wa(i,n,void 0,o):i}};function ex(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const o=n.join();let i=r.get(o);return i||(i={resolver:gh(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(o,i)),i}const l5=t=>kt(t)&&Object.getOwnPropertyNames(t).some(e=>Qi(t[e]));function c5(t,e){const{isScriptable:n,isIndexable:r}=db(t);for(const o of e){const i=n(o),a=r(o),l=(a||i)&&t[o];if(i&&(Qi(l)||l5(l))||a&&gn(l))return!0}return!1}var u5="4.5.1";const d5=["top","bottom","left","right","chartArea"];function tx(t,e){return t==="top"||t==="bottom"||d5.indexOf(t)===-1&&e==="x"}function nx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function rx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Ht(n&&n.onComplete,[t],e)}function f5(t){const e=t.chart,n=e.options.animation;Ht(n&&n.onProgress,[t],e)}function ox(t){return yh()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const $u={},ix=t=>{const e=ox(t);return Object.values($u).filter(n=>n.canvas===e).pop()};function p5(t,e,n){const r=Object.keys(t);for(const o of r){const i=+o;if(i>=e){const a=t[o];delete t[o],(n>0||i>e)&&(t[i+n]=a)}}}function h5(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let _h=class{static defaults=Jt;static instances=$u;static overrides=Es;static registry=Fo;static version=u5;static getChart=ix;static register(...e){Fo.add(...e),sx()}static unregister(...e){Fo.remove(...e),sx()}constructor(e,n){const r=this.config=new a5(n),o=ox(e),i=ix(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||II(o)),this.platform.updateConfig(r);const l=this.platform.acquireContext(o,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,p=u&&u.width;if(this.id=C8(),this.ctx=l,this.canvas=u,this.width=p,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new XI,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=W8(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],$u[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}ui.listen(this,"complete",rx),ui.listen(this,"progress",f5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:o,_aspectRatio:i}=this;return Ot(e)?n&&i?i:o?r/o:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Fo}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():mb(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ib(this.canvas,this.ctx),this}stop(){return ui.stop(this),this}resize(e,n){ui.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,o=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,mb(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Ht(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Tt(n,(r,o)=>{r.id=o})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,o=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],u=Bh(a,l),d=u==="r",p=u==="x";return{options:l,dposition:d?"chartArea":p?"bottom":"left",dtype:d?"radialLinear":p?"category":"linear"}}))),Tt(i,a=>{const l=a.options,u=l.id,d=Bh(u,l),p=Ct(l.type,a.dtype);(l.position===void 0||tx(l.position,d)!==tx(a.dposition))&&(l.position=a.dposition),o[u]=!0;let h=null;if(u in r&&r[u].type===p)h=r[u];else{const A=Fo.getScale(p);h=new A({id:u,type:p,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Tt(o,(a,l)=>{a||delete r[l]}),Tt(r,a=>{Xr.configure(this,a,a.options),Xr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((o,i)=>o.index-i.index),r>n){for(let o=n;o<r;++o)this._destroyDatasetMeta(o);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(nx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,o)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=n.length;r<o;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Th(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=Fo.getController(l),{datasetElementType:d,dataElementType:p}=Jt.datasets[l];Object.assign(u,{dataElementType:Fo.getElement(p),datasetElementType:d&&Fo.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Tt(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,p=this.data.datasets.length;d<p;d++){const{controller:h}=this.getDatasetMeta(d),A=!o&&i.indexOf(h)===-1;h.buildOrUpdateElements(A),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||Tt(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(nx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Tt(this.scales,e=>{Xr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Hy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:i}of n){const a=r==="_removeElements"?-i:i;p5(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),o=r(0);for(let i=1;i<n;i++)if(!Hy(o,r(i)))return;return Array.from(o).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Xr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Tt(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,i)=>{o._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Qi(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(r.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ui.has(this)?this.attached&&!ui.running(this)&&ui.start(this):(this.draw(),rx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let o,i;for(o=0,i=n.length;o<i;++o){const a=n[o];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r={meta:e,index:e.index,cancelable:!0},o=__(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(o&&hh(n,o),e.controller.draw(),o&&Ah(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return lb(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,o){const i=dI.modes[n];return typeof i=="function"?i(this,e,r,o):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let o=r.filter(i=>i&&i._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=xa(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const o=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,o);Ul(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?o:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),ui.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ib(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete $u[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},o=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Tt(this.options.events,i=>r(i,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},o=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},i=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,o("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Tt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Tt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const o=r?"set":"remove";let i,a,l,u;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+o+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Mu(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const o=this.options.hover,i=(u,d)=>u.filter(p=>!d.some(h=>p.datasetIndex===h.datasetIndex&&p.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:o=[],options:i}=this,a=n,l=this._getActiveElements(e,o,r,a),u=I8(e),d=h5(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Ht(i.onHover,[e,l,this],this),u&&Ht(i.onClick,[e,l,this],this));const p=!Mu(l,o);return(p||n)&&(this._active=l,this._updateHoverStyles(l,o,n)),this._lastEvent=d,p}_getActiveElements(e,n,r,o){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,o)}};function sx(){return Tt(_h.instances,t=>t._plugins.invalidate())}function ax(t,e){const{x:n,y:r,base:o,width:i,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,p,h;return t.horizontal?(h=a/2,l=Math.min(n,o),u=Math.max(n,o),d=r-h,p=r+h):(h=i/2,l=n-h,u=n+h,d=Math.min(r,o),p=Math.max(r,o)),{left:l,top:d,right:u,bottom:p}}function Vi(t,e,n,r){return t?0:lo(e,n,r)}function A5(t,e,n){const r=t.options.borderWidth,o=t.borderSkipped,i=ub(r);return{t:Vi(o.top,i.top,0,n),r:Vi(o.right,i.right,0,e),b:Vi(o.bottom,i.bottom,0,n),l:Vi(o.left,i.left,0,e)}}function g5(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,i=ba(o),a=Math.min(e,n),l=t.borderSkipped,u=r||kt(o);return{topLeft:Vi(!u||l.top||l.left,i.topLeft,0,a),topRight:Vi(!u||l.top||l.right,i.topRight,0,a),bottomLeft:Vi(!u||l.bottom||l.left,i.bottomLeft,0,a),bottomRight:Vi(!u||l.bottom||l.right,i.bottomRight,0,a)}}function m5(t){const e=ax(t),n=e.right-e.left,r=e.bottom-e.top,o=A5(t,n/2,r/2),i=g5(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function Ih(t,e,n,r){const o=e===null,i=n===null,l=t&&!(o&&i)&&ax(t,r);return l&&(o||ya(e,l.left,l.right))&&(i||ya(n,l.top,l.bottom))}function v5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function y5(t,e){t.rect(e.x,e.y,e.w,e.h)}function Mh(t,e,n={}){const r=t.x!==n.x?-e:0,o=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-o;return{x:t.x+r,y:t.y+o,w:t.w+i,h:t.h+a,radius:t.radius}}class b5 extends Sa{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:r,backgroundColor:o}}=this,{inner:i,outer:a}=m5(this),l=v5(a.radius)?zu:y5;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),l(e,Mh(a,n,i)),e.clip(),l(e,Mh(i,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Mh(i,n)),e.fillStyle=o,e.fill(),e.restore()}inRange(e,n,r){return Ih(this,e,n,r)}inXRange(e,n){return Ih(this,e,null,n)}inYRange(e,n){return Ih(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:o,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Oh=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],lx=Oh.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function cx(t){return Oh[t%Oh.length]}function ux(t){return lx[t%lx.length]}function x5(t,e){return t.borderColor=cx(e),t.backgroundColor=ux(e),++e}function w5(t,e){return t.backgroundColor=t.data.map(()=>cx(e++)),e}function k5(t,e){return t.backgroundColor=t.data.map(()=>ux(e++)),e}function S5(t){let e=0;return(n,r)=>{const o=t.getDatasetMeta(r).controller;o instanceof oI?e=w5(n,e):o instanceof iI?e=k5(n,e):o&&(e=x5(n,e))}}function dx(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function E5(t){return t&&(t.borderColor||t.backgroundColor)}function C5(){return Jt.borderColor!=="rgba(0,0,0,0.1)"||Jt.backgroundColor!=="rgba(0,0,0,0.1)"}var P5={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:o}=t.config,{elements:i}=o,a=dx(r)||E5(o)||i&&dx(i)||C5();if(!n.forceOverride&&a)return;const l=S5(t);r.forEach(l)}};const fx=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},D5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class px extends Sa{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,r){this.maxWidth=e,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Ht(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,o)=>e.sort(r,o,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const r=e.labels,o=zn(r.font),i=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=fx(r,i);let d,p;n.font=o.string,this.isHorizontal()?(d=this.maxWidth,p=this._fitRows(a,i,l,u)+10):(p=this.maxHeight,d=this._fitCols(a,o,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(p,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,o){const{ctx:i,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],p=o+l;let h=e;i.textAlign="left",i.textBaseline="middle";let A=-1,m=-p;return this.legendItems.forEach((y,w)=>{const b=r+n/2+i.measureText(y.text).width;(w===0||d[d.length-1]+b+2*l>a)&&(h+=p,d[d.length-(w>0?0:1)]=0,m+=p,A++),u[w]={left:0,top:m,row:A,width:b,height:o},d[d.length-1]+=b+l}),h}_fitCols(e,n,r,o){const{ctx:i,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],p=a-e;let h=l,A=0,m=0,y=0,w=0;return this.legendItems.forEach((b,P)=>{const{itemWidth:M,itemHeight:D}=T5(r,n,i,b,o);P>0&&m+D+2*l>p&&(h+=A+l,d.push({width:A,height:m}),y+=A+l,w++,A=m=0),u[P]={left:y,top:m,col:w,width:M,height:D},A=Math.max(A,M),m+=D+l}),h+=A,d.push({width:A,height:m}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:o},rtl:i}}=this,a=ka(i,this.left,this.width);if(this.isHorizontal()){let l=0,u=jn(r,this.left+o,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=jn(r,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+o}else{let l=0,u=jn(r,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=jn(r,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;hh(e,this),this._draw(),Ah(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:o}=this,{align:i,labels:a}=e,l=Jt.color,u=ka(e.rtl,this.left,this.width),d=zn(a.font),{padding:p}=a,h=d.size,A=h/2;let m;this.drawTitle(),o.textAlign=u.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:y,boxHeight:w,itemHeight:b}=fx(a,h),P=function(R,z,V){if(isNaN(y)||y<=0||isNaN(w)||w<0)return;o.save();const K=Ct(V.lineWidth,1);if(o.fillStyle=Ct(V.fillStyle,l),o.lineCap=Ct(V.lineCap,"butt"),o.lineDashOffset=Ct(V.lineDashOffset,0),o.lineJoin=Ct(V.lineJoin,"miter"),o.lineWidth=K,o.strokeStyle=Ct(V.strokeStyle,l),o.setLineDash(Ct(V.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:V.pointStyle,rotation:V.rotation,borderWidth:K},Z=u.xPlus(R,y/2),W=z+A;ab(o,q,Z,W,a.pointStyleWidth&&y)}else{const q=z+Math.max((h-w)/2,0),Z=u.leftForLtr(R,y),W=ba(V.borderRadius);o.beginPath(),Object.values(W).some(oe=>oe!==0)?zu(o,{x:Z,y:q,w:y,h:w,radius:W}):o.rect(Z,q,y,w),o.fill(),K!==0&&o.stroke()}o.restore()},M=function(R,z,V){Yl(o,V.text,R,z+b/2,d,{strikethrough:V.hidden,textAlign:u.textAlign(V.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:jn(i,this.left+p,this.right-r[0]),y:this.top+p+C,line:0}:m={x:this.left+p,y:jn(i,this.top+C+p,this.bottom-n[0].height),line:0},yb(this.ctx,e.textDirection);const j=b+p;this.legendItems.forEach((R,z)=>{o.strokeStyle=R.fontColor,o.fillStyle=R.fontColor;const V=o.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=y+A+V;let Z=m.x,W=m.y;u.setWidth(this.width),D?z>0&&Z+q+p>this.right&&(W=m.y+=j,m.line++,Z=m.x=jn(i,this.left+p,this.right-r[m.line])):z>0&&W+j>this.bottom&&(Z=m.x=Z+n[m.line].width+p,m.line++,W=m.y=jn(i,this.top+C+p,this.bottom-n[m.line].height));const oe=u.x(Z);if(P(oe,W,R),Z=Y8(K,Z+y+A,D?Z+q:this.right,e.rtl),M(u.x(Z),W,R),D)m.x+=q+p;else if(typeof R.text!="string"){const ue=d.lineHeight;m.y+=hx(R,ue)+p}else m.y+=j}),bb(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=zn(n.font),o=Gr(n.padding);if(!n.display)return;const i=ka(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=o.top+u;let p,h=this.left,A=this.width;if(this.isHorizontal())A=Math.max(...this.lineWidths),p=this.top+d,h=jn(e.align,h,this.right-A);else{const y=this.columnSizes.reduce((w,b)=>Math.max(w,b.height),0);p=d+jn(e.align,this.top,this.bottom-y-e.labels.padding-this._computeTitleHeight())}const m=jn(l,h,h+A);a.textAlign=i.textAlign(uh(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Yl(a,n.text,m,p,r)}_computeTitleHeight(){const e=this.options.title,n=zn(e.font),r=Gr(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,o,i;if(ya(e,this.left,this.right)&&ya(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(o=i[r],ya(e,o.left,o.left+o.width)&&ya(n,o.top,o.top+o.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!I5(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,i=D5(o,r);o&&!i&&Ht(n.onLeave,[e,o,this],this),this._hoveredItem=r,r&&!i&&Ht(n.onHover,[e,r,this],this)}else r&&Ht(n.onClick,[e,r,this],this)}}function T5(t,e,n,r,o){const i=B5(r,t,e,n),a=_5(o,r,e.lineHeight);return{itemWidth:i,itemHeight:a}}function B5(t,e,n,r){let o=t.text;return o&&typeof o!="string"&&(o=o.reduce((i,a)=>i.length>a.length?i:a)),e+n.size/2+r.measureText(o).width}function _5(t,e,n){let r=t;return typeof e.text!="string"&&(r=hx(e,n)),r}function hx(t,e){const n=t.text?t.text.length:0;return e*n}function I5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var M5={id:"legend",_element:px,start(t,e,n){const r=t.legend=new px({ctx:t.ctx,options:n,chart:t});Xr.configure(t,r,n),Xr.addBox(t,r)},stop(t){Xr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Xr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),p=Gr(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:i,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(p.width+p.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:o||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ax extends Sa{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const o=gn(r.text)?r.text.length:1;this._padding=Gr(r.padding);const i=o*zn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:o,right:i,options:a}=this,l=a.align;let u=0,d,p,h;return this.isHorizontal()?(p=jn(l,r,i),h=n+e,d=i-r):(a.position==="left"?(p=r+e,h=jn(l,o,n),u=mn*-.5):(p=i-e,h=jn(l,n,o),u=mn*.5),d=o-n),{titleX:p,titleY:h,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=zn(n.font),i=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(i);Yl(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:uh(n.align),textBaseline:"middle",translation:[a,l]})}}function O5(t,e){const n=new Ax({ctx:t.ctx,options:e,chart:t});Xr.configure(t,n,e),Xr.addBox(t,n),t.titleBlock=n}var R5={id:"title",_element:Ax,start(t,e,n){O5(t,n)},stop(t){const e=t.titleBlock;Xr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Xr.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ec={average(t){if(!t.length)return!1;let e,n,r=new Set,o=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const u=l.tooltipPosition();r.add(u.x),o+=u.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:o/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,o=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const u=t[i].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),p=z8(e,d);p<o&&(o=p,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function jo(t,e){return e&&(gn(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function di(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
308
+ `;function kD(t){if(!t)return;const e=t.getRootNode();if(!(e instanceof ShadowRoot)||e.getElementById(Nv))return;const n=document.createElement("style");n.id=Nv,n.textContent=wD,e.appendChild(n)}const Mp=T.forwardRef((t,e)=>{const{apiKey:n=Pr.DEFAULT_API_KEY,isLoggedIn:r=!1,loginUrl:o=Ri.LOGIN_URL,userEmail:i,userName:a,accessId:l,actingUser:u,ringEffect:d,defaultOpen:p,onClose:h,open:A,onOpenChange:m,embedded:y=!1,welcome:w,qaEndpoint:b,ratingEndpoint:P,agentEndpoint:M,backendId:D,resourceContext:C,onAnalyticsEvent:j}=t,R=Pr.AGENT_ENABLED,z=D||Pr.BACKEND_ID,V=T.useRef(null),K=T.useRef(null),[q,Z]=T.useState({}),[W,oe]=T.useState(()=>({categories:[],is_authenticated:!1})),ue=T.useMemo(()=>({email:i,name:a,accessId:l}),[i,a,l]);T.useEffect(()=>{kD(K.current)},[]),T.useEffect(()=>{oD({ticketForm:q,setTicketForm:Z})},[q]);const te=M||Pr.AGENT_ENDPOINT,pe=C?`${te}/capabilities?resource_context=${encodeURIComponent(C)}`:`${te}/capabilities`;T.useEffect(()=>{},[te,R]),T.useEffect(()=>{},[R,pe,r]),T.useEffect(()=>{},[R,te,r]),T.useImperativeHandle(e,()=>({addMessage:J=>{var ve,me;(me=(ve=V.current)==null?void 0:ve.addMessage)==null||me.call(ve,J)}}));const ee=w||W?.welcome_message||Ri.WELCOME_MESSAGE,G=T.useMemo(()=>xD(),[]),N=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:J.timestamp??Date.now(),sessionId:J.sessionId??G})},[j,G]),de=T.useCallback(J=>{j&&j({...J,type:J.type,timestamp:typeof J.timestamp=="number"?J.timestamp:Date.now(),sessionId:typeof J.sessionId=="string"?J.sessionId:G})},[j,G]),I=T.useMemo(()=>{const J=rD({welcome:ee,setTicketForm:Z,trackEvent:N}),ve=pD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),me=AD({ticketForm:{},setTicketForm:Z,userInfo:ue,trackEvent:N}),we=bD({sessionId:G,apiKey:n,trackEvent:N}),_e={...J,...ve,...me,...we};return tD(_e,{disableOnOptions:!0})},[ee,ue,G,n,r,N,W]);return W?E.jsx("div",{ref:K,children:E.jsx(Pp,{ref:V,isLoggedIn:r,allowAnonAccess:Pr.ALLOW_ANON_ACCESS,actingUser:u,onAnalyticsEvent:de,apiKey:n,qaEndpoint:b||Pr.QA_ENDPOINT,ratingEndpoint:P||Pr.RATING_ENDPOINT,backendId:z,botName:Ri.BOT_NAME,logo:Ri.LOGO,primaryColor:Ri.PRIMARY_COLOR,secondaryColor:Ri.SECONDARY_COLOR,welcomeMessage:ee,tooltipText:Ri.TOOLTIP,turnstileSiteKey:Pr.TURNSTILE_SITE_KEY,loginUrl:o,open:A,onOpenChange:m,embedded:y,footerText:"AI-powered · Privacy Notice",footerLink:"https://support.access-ci.org/tools/access-qa-tool/privacy",resourceContext:C,customFlow:I})}):E.jsx("div",{ref:K})});Mp.displayName="AccessQABot";const SD=Object.freeze(Object.defineProperty({__proto__:null,API_CONFIG:Pr,AccessQABot:Mp,BOT_CONFIG:Ri,QABot:Mp},Symbol.toStringTag,{value:"Module"}));function Et({alt:t=null,name:e=null,src:n=null}){return e?E.jsx("i",{className:`icon bi bi-${e}`}):E.jsx("img",{className:"icon",alt:t,src:n})}const Fv=()=>{const t=new Event("accessci-update-sections");document.dispatchEvent(t)};function Io({children:t,headerComponents:e=null,icon:n=null,sectionId:r=null,title:o}){const i=r||o.toLowerCase().replace(/[^0-9a-z]+/g,"-");return T.useLayoutEffect(()=>(Fv(),Fv),[]),E.jsxs("section",{id:i,"data-section-title":o,"data-section-icon":n,children:[E.jsxs("div",{className:"flex-header",children:[E.jsxs("h2",{children:[n?E.jsx(Et,{name:n}):null,o]}),e?E.jsx("div",{className:"header-components",children:e}):null]}),t]})}function ED({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`);if(!e||e.error||!e.length)return;const n=mf(e[0].slack_link);return E.jsxs(Io,{title:"User Community",icon:"people-fill",children:[E.jsx("p",{children:"Join the community by participating in an affinity group! Members get update about announcements, events, and outages."}),E.jsxs("div",{className:"button-group",children:[E.jsxs("a",{href:e[0].url,className:"btn secondary",children:[E.jsx(Et,{name:"person-plus-fill"})," Join Affinity Group"]}),n?E.jsxs("a",{href:n,className:"btn",children:[E.jsx(Et,{name:"slack"})," Connect on Slack"]}):null,E.jsxs("a",{href:"#questions-and-answers",className:"btn",children:[E.jsx(Et,{name:"chat-fill"})," Ask and Answer Questions"]})]})]})}function CD({infoGroupId:t}){const e=al(t),n=Xn(e&&e.infoResourceIds.length?`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${e.infoResourceIds[0]}/?format=json`:null);if(!e)return;const{accessAllocated:r,name:o,description:i,imageUri:a,organizations:l}=e,u=r?"https://allocations.access-ci.org/get-your-first-project":null,d=n&&n.results?(n.results.compute||n.results.storage||{}).user_guide_url:null;return E.jsxs("div",{className:"resource-group-description",children:[a?E.jsx("img",{className:"resource-group-feature-image",src:a}):null,E.jsx("h1",{children:e.name}),l.map(p=>E.jsx("p",{children:E.jsxs("a",{href:p.organization_url||"#",children:[p.organization_favicon_url?E.jsx(Et,{alt:p.organization_name,src:p.organization_favicon_url}):null,p.organization_name]})},p.organization_name)),i?E.jsx("p",{children:i}):null,E.jsxs("div",{style:{marginTop:"1rem"},children:[u?E.jsxs("a",{href:u,className:"btn secondary lg",children:[E.jsx(Et,{name:"check2-circle"})," Get Started with ",o]}):null,d?E.jsxs("a",{href:d,className:"btn lg",children:[E.jsx(Et,{name:"book"})," User Guide"]}):null]})]})}function PD({column:t,row:e,style:n={}}){const r=t.format?t.format(e[t.key],e):e[t.key],o=["cell"];return t.class&&o.push(t.class),t.rowClass&&o.push(t.rowClass(e)),E.jsx("td",{className:o.join(" "),style:n,children:r})}const DD={text:PD};function hu({columns:t,rows:e,classes:n,frozenColumns:r=0,maxHeight:o=400,minWidth:i,rowClasses:a=[],scrollResetOnUpdate:l=!1}){const u=T.useRef();T.useLayoutEffect(()=>{u.current&&l&&(u.current.scrollTop=0)},[e]);const d=[0];for(let y=0;y<r;y++)d[y+1]=d[y]+(t[y].width||100);const p=(y,w)=>y<r?{position:"sticky",left:`${d[y]}px`,minWidth:`${t[y].width||100}px`,width:`${t[y].width||100}px`,zIndex:w||1}:{},h=t.map((y,w)=>E.jsx("th",{className:y.headerClass||y.class||"",style:p(w,100),children:y.formatHeader?y.formatHeader(y.name,y):y.name},y.key)),A=e.map((y,w)=>{const b=t.map((P,M)=>{const D=DD[P.type||"text"];return E.jsx(D,{column:P,row:y,style:p(M)},P.key)});return E.jsx("tr",{className:a[w]||"",children:b},w)}),m={};return i&&(m.minWidth=i),E.jsx("div",{className:`grid ${n||""}`,style:{maxHeight:Number.isInteger(o)?`${o}px`:o||null},ref:u,children:E.jsxs("table",{className:"table",style:m,children:[E.jsx("thead",{children:E.jsx("tr",{children:h})}),E.jsx("tbody",{children:A})]})})}function TD({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/affinity_groups/${t}`),n=e&&!e.error&&e.length?e[0].field_ask_ci_locale:null,r=n?`${n}.json`:null,o=Xn(r);if(!o||o.error||!o.topic_list||!o.topic_list.topics||!o.topic_list.topics.length)return;const i=[{key:"title",name:"Topic",format:(l,u)=>E.jsxs(E.Fragment,{children:[u.pinned?E.jsx(Et,{name:"pin-fill"}):null,E.jsx("a",{href:`https://ask.cyberinfrastructure.org/t/${u.slug}/${u.id}`,children:l})]})},{key:"posts_count",name:"Posts",format:l=>l.toLocaleString("en-us")},{key:"bumped_at",name:"Last Update",format:l=>new Date(l).toLocaleString("en-US",{dateStyle:"medium"})}],a=[E.jsx("a",{href:n,className:"btn secondary",children:"Ask a Question"},"ask"),E.jsx("a",{href:n,className:"btn",children:"View All Topics"},"all")];return E.jsx(Io,{title:"Questions and Answers",icon:"chat-fill",headerComponents:a,children:E.jsx(hu,{columns:i,rows:o.topic_list.topics.slice(0,5)})})}var sr="top",Vr="bottom",Wr="right",ar="left",Op="auto",Dl=[sr,Vr,Wr,ar],fa="start",Tl="end",BD="clippingParents",jv="viewport",Bl="popper",_D="reference",zv=Dl.reduce(function(t,e){return t.concat([e+"-"+fa,e+"-"+Tl])},[]),Qv=[].concat(Dl,[Op]).reduce(function(t,e){return t.concat([e,e+"-"+fa,e+"-"+Tl])},[]),ID="beforeRead",MD="read",OD="afterRead",RD="beforeMain",LD="main",ND="afterMain",FD="beforeWrite",jD="write",zD="afterWrite",QD=[ID,MD,OD,RD,LD,ND,FD,jD,zD];function Mo(t){return t?(t.nodeName||"").toLowerCase():null}function Dr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function bs(t){var e=Dr(t).Element;return t instanceof e||t instanceof Element}function Yr(t){var e=Dr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Rp(t){if(typeof ShadowRoot>"u")return!1;var e=Dr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function HD(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!Yr(i)||!Mo(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var l=o[a];l===!1?i.removeAttribute(a):i.setAttribute(a,l===!0?"":l)}))})}function UD(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),l=a.reduce(function(u,d){return u[d]="",u},{});!Yr(o)||!Mo(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}const Hv={name:"applyStyles",enabled:!0,phase:"write",fn:HD,effect:UD,requires:["computeStyles"]};function Oo(t){return t.split("-")[0]}var xs=Math.max,Au=Math.min,pa=Math.round;function Lp(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Uv(){return!/^((?!chrome|android).)*safari/i.test(Lp())}function ha(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&Yr(t)&&(o=t.offsetWidth>0&&pa(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&pa(r.height)/t.offsetHeight||1);var a=bs(t)?Dr(t):window,l=a.visualViewport,u=!Uv()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/o,p=(r.top+(u&&l?l.offsetTop:0))/i,h=r.width/o,A=r.height/i;return{width:h,height:A,top:p,right:d+h,bottom:p+A,left:d,x:d,y:p}}function Np(t){var e=ha(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Vv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Rp(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ai(t){return Dr(t).getComputedStyle(t)}function VD(t){return["table","td","th"].indexOf(Mo(t))>=0}function Li(t){return((bs(t)?t.ownerDocument:t.document)||window.document).documentElement}function gu(t){return Mo(t)==="html"?t:t.assignedSlot||t.parentNode||(Rp(t)?t.host:null)||Li(t)}function Wv(t){return!Yr(t)||ai(t).position==="fixed"?null:t.offsetParent}function WD(t){var e=/firefox/i.test(Lp()),n=/Trident/i.test(Lp());if(n&&Yr(t)){var r=ai(t);if(r.position==="fixed")return null}var o=gu(t);for(Rp(o)&&(o=o.host);Yr(o)&&["html","body"].indexOf(Mo(o))<0;){var i=ai(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function _l(t){for(var e=Dr(t),n=Wv(t);n&&VD(n)&&ai(n).position==="static";)n=Wv(n);return n&&(Mo(n)==="html"||Mo(n)==="body"&&ai(n).position==="static")?e:n||WD(t)||e}function Fp(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Il(t,e,n){return xs(t,Au(e,n))}function YD(t,e,n){var r=Il(t,e,n);return r>n?n:r}function Yv(){return{top:0,right:0,bottom:0,left:0}}function qv(t){return Object.assign({},Yv(),t)}function Kv(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var qD=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,qv(typeof e!="number"?e:Kv(e,Dl))};function KD(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Oo(n.placement),u=Fp(l),d=[ar,Wr].indexOf(l)>=0,p=d?"height":"width";if(!(!i||!a)){var h=qD(o.padding,n),A=Np(i),m=u==="y"?sr:ar,y=u==="y"?Vr:Wr,w=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],b=a[u]-n.rects.reference[u],P=_l(i),M=P?u==="y"?P.clientHeight||0:P.clientWidth||0:0,D=w/2-b/2,C=h[m],j=M-A[p]-h[y],R=M/2-A[p]/2+D,z=Il(C,R,j),V=u;n.modifiersData[r]=(e={},e[V]=z,e.centerOffset=z-R,e)}}function GD(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Vv(e.elements.popper,o)&&(e.elements.arrow=o))}const XD={name:"arrow",enabled:!0,phase:"main",fn:KD,effect:GD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Aa(t){return t.split("-")[1]}var JD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZD(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:pa(n*o)/o||0,y:pa(r*o)/o||0}}function Gv(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,h=t.isFixed,A=a.x,m=A===void 0?0:A,y=a.y,w=y===void 0?0:y,b=typeof p=="function"?p({x:m,y:w}):{x:m,y:w};m=b.x,w=b.y;var P=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),D=ar,C=sr,j=window;if(d){var R=_l(n),z="clientHeight",V="clientWidth";if(R===Dr(n)&&(R=Li(n),ai(R).position!=="static"&&l==="absolute"&&(z="scrollHeight",V="scrollWidth")),R=R,o===sr||(o===ar||o===Wr)&&i===Tl){C=Vr;var K=h&&R===j&&j.visualViewport?j.visualViewport.height:R[z];w-=K-r.height,w*=u?1:-1}if(o===ar||(o===sr||o===Vr)&&i===Tl){D=Wr;var q=h&&R===j&&j.visualViewport?j.visualViewport.width:R[V];m-=q-r.width,m*=u?1:-1}}var Z=Object.assign({position:l},d&&JD),W=p===!0?ZD({x:m,y:w},Dr(n)):{x:m,y:w};if(m=W.x,w=W.y,u){var oe;return Object.assign({},Z,(oe={},oe[C]=M?"0":"",oe[D]=P?"0":"",oe.transform=(j.devicePixelRatio||1)<=1?"translate("+m+"px, "+w+"px)":"translate3d("+m+"px, "+w+"px, 0)",oe))}return Object.assign({},Z,(e={},e[C]=M?w+"px":"",e[D]=P?m+"px":"",e.transform="",e))}function $D(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,d={placement:Oo(e.placement),variation:Aa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Gv(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Gv(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const eT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$D,data:{}};var mu={passive:!0};function tT(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,u=Dr(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(p){p.addEventListener("scroll",n.update,mu)}),l&&u.addEventListener("resize",n.update,mu),function(){i&&d.forEach(function(p){p.removeEventListener("scroll",n.update,mu)}),l&&u.removeEventListener("resize",n.update,mu)}}const nT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tT,data:{}};var rT={left:"right",right:"left",bottom:"top",top:"bottom"};function vu(t){return t.replace(/left|right|bottom|top/g,function(e){return rT[e]})}var oT={start:"end",end:"start"};function Xv(t){return t.replace(/start|end/g,function(e){return oT[e]})}function jp(t){var e=Dr(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function zp(t){return ha(Li(t)).left+jp(t).scrollLeft}function iT(t,e){var n=Dr(t),r=Li(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var d=Uv();(d||!d&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+zp(t),y:u}}function sT(t){var e,n=Li(t),r=jp(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=xs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=xs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+zp(t),u=-r.scrollTop;return ai(o||n).direction==="rtl"&&(l+=xs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}function Qp(t){var e=ai(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jv(t){return["html","body","#document"].indexOf(Mo(t))>=0?t.ownerDocument.body:Yr(t)&&Qp(t)?t:Jv(gu(t))}function Ml(t,e){var n;e===void 0&&(e=[]);var r=Jv(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Dr(r),a=o?[i].concat(i.visualViewport||[],Qp(r)?r:[]):r,l=e.concat(a);return o?l:l.concat(Ml(gu(a)))}function Hp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function aT(t,e){var n=ha(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Zv(t,e,n){return e===jv?Hp(iT(t,n)):bs(e)?aT(e,n):Hp(sT(Li(t)))}function lT(t){var e=Ml(gu(t)),n=["absolute","fixed"].indexOf(ai(t).position)>=0,r=n&&Yr(t)?_l(t):t;return bs(r)?e.filter(function(o){return bs(o)&&Vv(o,r)&&Mo(o)!=="body"}):[]}function cT(t,e,n,r){var o=e==="clippingParents"?lT(t):[].concat(e),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(u,d){var p=Zv(t,d,r);return u.top=xs(p.top,u.top),u.right=Au(p.right,u.right),u.bottom=Au(p.bottom,u.bottom),u.left=xs(p.left,u.left),u},Zv(t,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function $v(t){var e=t.reference,n=t.element,r=t.placement,o=r?Oo(r):null,i=r?Aa(r):null,a=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2,u;switch(o){case sr:u={x:a,y:e.y-n.height};break;case Vr:u={x:a,y:e.y+e.height};break;case Wr:u={x:e.x+e.width,y:l};break;case ar:u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}var d=o?Fp(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(i){case fa:u[d]=u[d]-(e[p]/2-n[p]/2);break;case Tl:u[d]=u[d]+(e[p]/2-n[p]/2);break}}return u}function Ol(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,l=n.boundary,u=l===void 0?BD:l,d=n.rootBoundary,p=d===void 0?jv:d,h=n.elementContext,A=h===void 0?Bl:h,m=n.altBoundary,y=m===void 0?!1:m,w=n.padding,b=w===void 0?0:w,P=qv(typeof b!="number"?b:Kv(b,Dl)),M=A===Bl?_D:Bl,D=t.rects.popper,C=t.elements[y?M:A],j=cT(bs(C)?C:C.contextElement||Li(t.elements.popper),u,p,a),R=ha(t.elements.reference),z=$v({reference:R,element:D,placement:o}),V=Hp(Object.assign({},D,z)),K=A===Bl?V:R,q={top:j.top-K.top+P.top,bottom:K.bottom-j.bottom+P.bottom,left:j.left-K.left+P.left,right:K.right-j.right+P.right},Z=t.modifiersData.offset;if(A===Bl&&Z){var W=Z[o];Object.keys(q).forEach(function(oe){var ue=[Wr,Vr].indexOf(oe)>=0?1:-1,te=[sr,Vr].indexOf(oe)>=0?"y":"x";q[oe]+=W[te]*ue})}return q}function uT(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Qv:u,p=Aa(r),h=p?l?zv:zv.filter(function(y){return Aa(y)===p}):Dl,A=h.filter(function(y){return d.indexOf(y)>=0});A.length===0&&(A=h);var m=A.reduce(function(y,w){return y[w]=Ol(t,{placement:w,boundary:o,rootBoundary:i,padding:a})[Oo(w)],y},{});return Object.keys(m).sort(function(y,w){return m[y]-m[w]})}function dT(t){if(Oo(t)===Op)return[];var e=vu(t);return[Xv(t),e,Xv(e)]}function fT(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,p=n.boundary,h=n.rootBoundary,A=n.altBoundary,m=n.flipVariations,y=m===void 0?!0:m,w=n.allowedAutoPlacements,b=e.options.placement,P=Oo(b),M=P===b,D=u||(M||!y?[vu(b)]:dT(b)),C=[b].concat(D).reduce(function(me,we){return me.concat(Oo(we)===Op?uT(e,{placement:we,boundary:p,rootBoundary:h,padding:d,flipVariations:y,allowedAutoPlacements:w}):we)},[]),j=e.rects.reference,R=e.rects.popper,z=new Map,V=!0,K=C[0],q=0;q<C.length;q++){var Z=C[q],W=Oo(Z),oe=Aa(Z)===fa,ue=[sr,Vr].indexOf(W)>=0,te=ue?"width":"height",pe=Ol(e,{placement:Z,boundary:p,rootBoundary:h,altBoundary:A,padding:d}),ee=ue?oe?Wr:ar:oe?Vr:sr;j[te]>R[te]&&(ee=vu(ee));var G=vu(ee),N=[];if(i&&N.push(pe[W]<=0),l&&N.push(pe[ee]<=0,pe[G]<=0),N.every(function(me){return me})){K=Z,V=!1;break}z.set(Z,N)}if(V)for(var de=y?3:1,I=function(we){var _e=C.find(function(Oe){var Ve=z.get(Oe);if(Ve)return Ve.slice(0,we).every(function(ze){return ze})});if(_e)return K=_e,"break"},J=de;J>0;J--){var ve=I(J);if(ve==="break")break}e.placement!==K&&(e.modifiersData[r]._skip=!0,e.placement=K,e.reset=!0)}}const pT={name:"flip",enabled:!0,phase:"main",fn:fT,requiresIfExists:["offset"],data:{_skip:!1}};function ey(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ty(t){return[sr,Wr,Vr,ar].some(function(e){return t[e]>=0})}function hT(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Ol(e,{elementContext:"reference"}),l=Ol(e,{altBoundary:!0}),u=ey(a,r),d=ey(l,o,i),p=ty(u),h=ty(d);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const AT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hT};function gT(t,e,n){var r=Oo(t),o=[ar,sr].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[ar,Wr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function mT(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Qv.reduce(function(p,h){return p[h]=gT(h,e.rects,i),p},{}),l=a[e.placement],u=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}const vT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mT};function yT(t){var e=t.state,n=t.name;e.modifiersData[n]=$v({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const bT={name:"popperOffsets",enabled:!0,phase:"read",fn:yT,data:{}};function xT(t){return t==="x"?"y":"x"}function wT(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,A=n.tether,m=A===void 0?!0:A,y=n.tetherOffset,w=y===void 0?0:y,b=Ol(e,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),P=Oo(e.placement),M=Aa(e.placement),D=!M,C=Fp(P),j=xT(C),R=e.modifiersData.popperOffsets,z=e.rects.reference,V=e.rects.popper,K=typeof w=="function"?w(Object.assign({},e.rects,{placement:e.placement})):w,q=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,W={x:0,y:0};if(R){if(i){var oe,ue=C==="y"?sr:ar,te=C==="y"?Vr:Wr,pe=C==="y"?"height":"width",ee=R[C],G=ee+b[ue],N=ee-b[te],de=m?-V[pe]/2:0,I=M===fa?z[pe]:V[pe],J=M===fa?-V[pe]:-z[pe],ve=e.elements.arrow,me=m&&ve?Np(ve):{width:0,height:0},we=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Yv(),_e=we[ue],Oe=we[te],Ve=Il(0,z[pe],me[pe]),ze=D?z[pe]/2-de-Ve-_e-q.mainAxis:I-Ve-_e-q.mainAxis,$e=D?-z[pe]/2+de+Ve+Oe+q.mainAxis:J+Ve+Oe+q.mainAxis,wt=e.elements.arrow&&_l(e.elements.arrow),Me=wt?C==="y"?wt.clientTop||0:wt.clientLeft||0:0,Ee=(oe=Z?.[C])!=null?oe:0,Xe=ee+ze-Ee-Me,Ge=ee+$e-Ee,At=Il(m?Au(G,Xe):G,ee,m?xs(N,Ge):N);R[C]=At,W[C]=At-ee}if(l){var lt,gt=C==="x"?sr:ar,yt=C==="x"?Vr:Wr,mt=R[j],Rt=j==="y"?"height":"width",dt=mt+b[gt],Ke=mt-b[yt],fn=[sr,ar].indexOf(P)!==-1,Yt=(lt=Z?.[j])!=null?lt:0,vn=fn?dt:mt-z[Rt]-V[Rt]-Yt+q.altAxis,qt=fn?mt+z[Rt]+V[Rt]-Yt-q.altAxis:Ke,_t=m&&fn?YD(vn,mt,qt):Il(m?vn:dt,mt,m?qt:Ke);R[j]=_t,W[j]=_t-mt}e.modifiersData[r]=W}}const kT={name:"preventOverflow",enabled:!0,phase:"main",fn:wT,requiresIfExists:["offset"]};function ST(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ET(t){return t===Dr(t)||!Yr(t)?jp(t):ST(t)}function CT(t){var e=t.getBoundingClientRect(),n=pa(e.width)/t.offsetWidth||1,r=pa(e.height)/t.offsetHeight||1;return n!==1||r!==1}function PT(t,e,n){n===void 0&&(n=!1);var r=Yr(e),o=Yr(e)&&CT(e),i=Li(e),a=ha(t,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Mo(e)!=="body"||Qp(i))&&(l=ET(e)),Yr(e)?(u=ha(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=zp(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function DT(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var u=e.get(l);u&&o(u)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function TT(t){var e=DT(t);return QD.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function BT(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _T(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var ny={placement:"bottom",modifiers:[],strategy:"absolute"};function ry(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function IT(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?ny:o;return function(l,u,d){d===void 0&&(d=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ny,i),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},h=[],A=!1,m={state:p,setOptions:function(P){var M=typeof P=="function"?P(p.options):P;w(),p.options=Object.assign({},i,p.options,M),p.scrollParents={reference:bs(l)?Ml(l):l.contextElement?Ml(l.contextElement):[],popper:Ml(u)};var D=TT(_T([].concat(r,p.options.modifiers)));return p.orderedModifiers=D.filter(function(C){return C.enabled}),y(),m.update()},forceUpdate:function(){if(!A){var P=p.elements,M=P.reference,D=P.popper;if(ry(M,D)){p.rects={reference:PT(M,_l(D),p.options.strategy==="fixed"),popper:Np(D)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(q){return p.modifiersData[q.name]=Object.assign({},q.data)});for(var C=0;C<p.orderedModifiers.length;C++){if(p.reset===!0){p.reset=!1,C=-1;continue}var j=p.orderedModifiers[C],R=j.fn,z=j.options,V=z===void 0?{}:z,K=j.name;typeof R=="function"&&(p=R({state:p,options:V,name:K,instance:m})||p)}}}},update:BT(function(){return new Promise(function(b){m.forceUpdate(),b(p)})}),destroy:function(){w(),A=!0}};if(!ry(l,u))return m;m.setOptions(d).then(function(b){!A&&d.onFirstUpdate&&d.onFirstUpdate(b)});function y(){p.orderedModifiers.forEach(function(b){var P=b.name,M=b.options,D=M===void 0?{}:M,C=b.effect;if(typeof C=="function"){var j=C({state:p,name:P,instance:m,options:D}),R=function(){};h.push(j||R)}})}function w(){h.forEach(function(b){return b()}),h=[]}return m}}var MT=[nT,bT,eT,Hv,vT,pT,kT,XD,AT],OT=IT({defaultModifiers:MT}),RT="tippy-box",oy="tippy-content",LT="tippy-backdrop",iy="tippy-arrow",sy="tippy-svg-arrow",ws={passive:!0,capture:!0},ay=function(){return document.body};function Up(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function Vp(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ly(t,e){return typeof t=="function"?t.apply(void 0,e):t}function cy(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function NT(t){return t.split(/\s+/).filter(Boolean)}function ga(t){return[].concat(t)}function uy(t,e){t.indexOf(e)===-1&&t.push(e)}function FT(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function jT(t){return t.split("-")[0]}function yu(t){return[].slice.call(t)}function dy(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function Rl(){return document.createElement("div")}function bu(t){return["Element","Fragment"].some(function(e){return Vp(t,e)})}function zT(t){return Vp(t,"NodeList")}function QT(t){return Vp(t,"MouseEvent")}function HT(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function UT(t){return bu(t)?[t]:zT(t)?yu(t):Array.isArray(t)?t:yu(document.querySelectorAll(t))}function Wp(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function fy(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function VT(t){var e,n=ga(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function WT(t,e){var n=e.clientX,r=e.clientY;return t.every(function(o){var i=o.popperRect,a=o.popperState,l=o.props,u=l.interactiveBorder,d=jT(a.placement),p=a.modifiersData.offset;if(!p)return!0;var h=d==="bottom"?p.top.y:0,A=d==="top"?p.bottom.y:0,m=d==="right"?p.left.x:0,y=d==="left"?p.right.x:0,w=i.top-r+h>u,b=r-i.bottom-A>u,P=i.left-n+m>u,M=n-i.right-y>u;return w||b||P||M})}function Yp(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){t[r](o,n)})}function py(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Ro={isTouch:!1},hy=0;function YT(){Ro.isTouch||(Ro.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ay))}function Ay(){var t=performance.now();t-hy<20&&(Ro.isTouch=!1,document.removeEventListener("mousemove",Ay)),hy=t}function qT(){var t=document.activeElement;if(HT(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function KT(){document.addEventListener("touchstart",YT,ws),window.addEventListener("blur",qT)}var GT=typeof window<"u"&&typeof document<"u",XT=GT?!!window.msCrypto:!1,JT={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ZT={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},so=Object.assign({appendTo:ay,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},JT,ZT),$T=Object.keys(so),eB=function(e){var n=Object.keys(e);n.forEach(function(r){so[r]=e[r]})};function gy(t){var e=t.plugins||[],n=e.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var l;r[i]=t[i]!==void 0?t[i]:(l=so[i])!=null?l:a}return r},{});return Object.assign({},t,n)}function tB(t,e){var n=e?Object.keys(gy(Object.assign({},so,{plugins:e}))):$T,r=n.reduce(function(o,i){var a=(t.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function my(t,e){var n=Object.assign({},e,{content:ly(e.content,[t])},e.ignoreAttributes?{}:tB(t,e.plugins));return n.aria=Object.assign({},so.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var nB=function(){return"innerHTML"};function qp(t,e){t[nB()]=e}function vy(t){var e=Rl();return t===!0?e.className=iy:(e.className=sy,bu(t)?e.appendChild(t):qp(e,t)),e}function yy(t,e){bu(e.content)?(qp(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?qp(t,e.content):t.textContent=e.content)}function Kp(t){var e=t.firstElementChild,n=yu(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(oy)}),arrow:n.find(function(r){return r.classList.contains(iy)||r.classList.contains(sy)}),backdrop:n.find(function(r){return r.classList.contains(LT)})}}function by(t){var e=Rl(),n=Rl();n.className=RT,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rl();r.className=oy,r.setAttribute("data-state","hidden"),yy(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props);function o(i,a){var l=Kp(e),u=l.box,d=l.content,p=l.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&yy(d,t.props),a.arrow?p?i.arrow!==a.arrow&&(u.removeChild(p),u.appendChild(vy(a.arrow))):u.appendChild(vy(a.arrow)):p&&u.removeChild(p)}return{popper:e,onUpdate:o}}by.$$tippy=!0;var rB=1,xu=[],Gp=[];function oB(t,e){var n=my(t,Object.assign({},so,gy(dy(e)))),r,o,i,a=!1,l=!1,u=!1,d=!1,p,h,A,m=[],y=cy(Xe,n.interactiveDebounce),w,b=rB++,P=null,M=FT(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:b,reference:t,popper:Rl(),popperInstance:P,props:n,state:D,plugins:M,clearDelayTimeouts:vn,setProps:qt,setContent:_t,show:fe,hide:Le,hideWithInteractivity:Be,enable:fn,disable:Yt,unmount:ct,destroy:We};if(!n.render)return C;var j=n.render(C),R=j.popper,z=j.onUpdate;R.setAttribute("data-tippy-root",""),R.id="tippy-"+C.id,C.popper=R,t._tippy=C,R._tippy=C;var V=M.map(function(le){return le.fn(C)}),K=t.hasAttribute("aria-expanded");return wt(),de(),ee(),G("onCreate",[C]),n.showOnCreate&&dt(),R.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),R.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&ue().addEventListener("mousemove",y)}),C;function q(){var le=C.props.touch;return Array.isArray(le)?le:[le,0]}function Z(){return q()[0]==="hold"}function W(){var le;return!!((le=C.props.render)!=null&&le.$$tippy)}function oe(){return w||t}function ue(){var le=oe().parentNode;return le?VT(le):document}function te(){return Kp(R)}function pe(le){return C.state.isMounted&&!C.state.isVisible||Ro.isTouch||p&&p.type==="focus"?0:Up(C.props.delay,le?0:1,so.delay)}function ee(le){le===void 0&&(le=!1),R.style.pointerEvents=C.props.interactive&&!le?"":"none",R.style.zIndex=""+C.props.zIndex}function G(le,Ce,Te){if(Te===void 0&&(Te=!0),V.forEach(function(He){He[le]&&He[le].apply(He,Ce)}),Te){var qe;(qe=C.props)[le].apply(qe,Ce)}}function N(){var le=C.props.aria;if(le.content){var Ce="aria-"+le.content,Te=R.id,qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){var Ne=He.getAttribute(Ce);if(C.state.isVisible)He.setAttribute(Ce,Ne?Ne+" "+Te:Te);else{var bt=Ne&&Ne.replace(Te,"").trim();bt?He.setAttribute(Ce,bt):He.removeAttribute(Ce)}})}}function de(){if(!(K||!C.props.aria.expanded)){var le=ga(C.props.triggerTarget||t);le.forEach(function(Ce){C.props.interactive?Ce.setAttribute("aria-expanded",C.state.isVisible&&Ce===oe()?"true":"false"):Ce.removeAttribute("aria-expanded")})}}function I(){ue().removeEventListener("mousemove",y),xu=xu.filter(function(le){return le!==y})}function J(le){if(!(Ro.isTouch&&(u||le.type==="mousedown"))){var Ce=le.composedPath&&le.composedPath()[0]||le.target;if(!(C.props.interactive&&py(R,Ce))){if(ga(C.props.triggerTarget||t).some(function(Te){return py(Te,Ce)})){if(Ro.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else G("onClickOutside",[C,le]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||_e())}}}function ve(){u=!0}function me(){u=!1}function we(){var le=ue();le.addEventListener("mousedown",J,!0),le.addEventListener("touchend",J,ws),le.addEventListener("touchstart",me,ws),le.addEventListener("touchmove",ve,ws)}function _e(){var le=ue();le.removeEventListener("mousedown",J,!0),le.removeEventListener("touchend",J,ws),le.removeEventListener("touchstart",me,ws),le.removeEventListener("touchmove",ve,ws)}function Oe(le,Ce){ze(le,function(){!C.state.isVisible&&R.parentNode&&R.parentNode.contains(R)&&Ce()})}function Ve(le,Ce){ze(le,Ce)}function ze(le,Ce){var Te=te().box;function qe(He){He.target===Te&&(Yp(Te,"remove",qe),Ce())}if(le===0)return Ce();Yp(Te,"remove",h),Yp(Te,"add",qe),h=qe}function $e(le,Ce,Te){Te===void 0&&(Te=!1);var qe=ga(C.props.triggerTarget||t);qe.forEach(function(He){He.addEventListener(le,Ce,Te),m.push({node:He,eventType:le,handler:Ce,options:Te})})}function wt(){Z()&&($e("touchstart",Ee,{passive:!0}),$e("touchend",Ge,{passive:!0})),NT(C.props.trigger).forEach(function(le){if(le!=="manual")switch($e(le,Ee),le){case"mouseenter":$e("mouseleave",Ge);break;case"focus":$e(XT?"focusout":"blur",At);break;case"focusin":$e("focusout",At);break}})}function Me(){m.forEach(function(le){var Ce=le.node,Te=le.eventType,qe=le.handler,He=le.options;Ce.removeEventListener(Te,qe,He)}),m=[]}function Ee(le){var Ce,Te=!1;if(!(!C.state.isEnabled||lt(le)||l)){var qe=((Ce=p)==null?void 0:Ce.type)==="focus";p=le,w=le.currentTarget,de(),!C.state.isVisible&&QT(le)&&xu.forEach(function(He){return He(le)}),le.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?Te=!0:dt(le),le.type==="click"&&(a=!Te),Te&&!qe&&Ke(le)}}function Xe(le){var Ce=le.target,Te=oe().contains(Ce)||R.contains(Ce);if(!(le.type==="mousemove"&&Te)){var qe=Rt().concat(R).map(function(He){var Ne,bt=He._tippy,xt=(Ne=bt.popperInstance)==null?void 0:Ne.state;return xt?{popperRect:He.getBoundingClientRect(),popperState:xt,props:n}:null}).filter(Boolean);WT(qe,le)&&(I(),Ke(le))}}function Ge(le){var Ce=lt(le)||C.props.trigger.indexOf("click")>=0&&a;if(!Ce){if(C.props.interactive){C.hideWithInteractivity(le);return}Ke(le)}}function At(le){C.props.trigger.indexOf("focusin")<0&&le.target!==oe()||C.props.interactive&&le.relatedTarget&&R.contains(le.relatedTarget)||Ke(le)}function lt(le){return Ro.isTouch?Z()!==le.type.indexOf("touch")>=0:!1}function gt(){yt();var le=C.props,Ce=le.popperOptions,Te=le.placement,qe=le.offset,He=le.getReferenceClientRect,Ne=le.moveTransition,bt=W()?Kp(R).arrow:null,xt=He?{getBoundingClientRect:He,contextElement:He.contextElement||oe()}:t,it={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(rn){var Ut=rn.state;if(W()){var an=te(),zt=an.box;["placement","reference-hidden","escaped"].forEach(function(Sn){Sn==="placement"?zt.setAttribute("data-placement",Ut.placement):Ut.attributes.popper["data-popper-"+Sn]?zt.setAttribute("data-"+Sn,""):zt.removeAttribute("data-"+Sn)}),Ut.attributes.popper={}}}},$t=[{name:"offset",options:{offset:qe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ne}},it];W()&&bt&&$t.push({name:"arrow",options:{element:bt,padding:3}}),$t.push.apply($t,Ce?.modifiers||[]),C.popperInstance=OT(xt,R,Object.assign({},Ce,{placement:Te,onFirstUpdate:A,modifiers:$t}))}function yt(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function mt(){var le=C.props.appendTo,Ce,Te=oe();C.props.interactive&&le===ay||le==="parent"?Ce=Te.parentNode:Ce=ly(le,[Te]),Ce.contains(R)||Ce.appendChild(R),C.state.isMounted=!0,gt()}function Rt(){return yu(R.querySelectorAll("[data-tippy-root]"))}function dt(le){C.clearDelayTimeouts(),le&&G("onTrigger",[C,le]),we();var Ce=pe(!0),Te=q(),qe=Te[0],He=Te[1];Ro.isTouch&&qe==="hold"&&He&&(Ce=He),Ce?r=setTimeout(function(){C.show()},Ce):C.show()}function Ke(le){if(C.clearDelayTimeouts(),G("onUntrigger",[C,le]),!C.state.isVisible){_e();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(le.type)>=0&&a)){var Ce=pe(!1);Ce?o=setTimeout(function(){C.state.isVisible&&C.hide()},Ce):i=requestAnimationFrame(function(){C.hide()})}}function fn(){C.state.isEnabled=!0}function Yt(){C.hide(),C.state.isEnabled=!1}function vn(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function qt(le){if(!C.state.isDestroyed){G("onBeforeUpdate",[C,le]),Me();var Ce=C.props,Te=my(t,Object.assign({},Ce,dy(le),{ignoreAttributes:!0}));C.props=Te,wt(),Ce.interactiveDebounce!==Te.interactiveDebounce&&(I(),y=cy(Xe,Te.interactiveDebounce)),Ce.triggerTarget&&!Te.triggerTarget?ga(Ce.triggerTarget).forEach(function(qe){qe.removeAttribute("aria-expanded")}):Te.triggerTarget&&t.removeAttribute("aria-expanded"),de(),ee(),z&&z(Ce,Te),C.popperInstance&&(gt(),Rt().forEach(function(qe){requestAnimationFrame(qe._tippy.popperInstance.forceUpdate)})),G("onAfterUpdate",[C,le])}}function _t(le){C.setProps({content:le})}function fe(){var le=C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Ro.isTouch&&!C.props.touch,He=Up(C.props.duration,0,so.duration);if(!(le||Ce||Te||qe)&&!oe().hasAttribute("disabled")&&(G("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,W()&&(R.style.visibility="visible"),ee(),we(),C.state.isMounted||(R.style.transition="none"),W()){var Ne=te(),bt=Ne.box,xt=Ne.content;Wp([bt,xt],0)}A=function(){var $t;if(!(!C.state.isVisible||d)){if(d=!0,R.offsetHeight,R.style.transition=C.props.moveTransition,W()&&C.props.animation){var Kt=te(),rn=Kt.box,Ut=Kt.content;Wp([rn,Ut],He),fy([rn,Ut],"visible")}N(),de(),uy(Gp,C),($t=C.popperInstance)==null||$t.forceUpdate(),G("onMount",[C]),C.props.animation&&W()&&Ve(He,function(){C.state.isShown=!0,G("onShown",[C])})}},mt()}}function Le(){var le=!C.state.isVisible,Ce=C.state.isDestroyed,Te=!C.state.isEnabled,qe=Up(C.props.duration,1,so.duration);if(!(le||Ce||Te)&&(G("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,d=!1,a=!1,W()&&(R.style.visibility="hidden"),I(),_e(),ee(!0),W()){var He=te(),Ne=He.box,bt=He.content;C.props.animation&&(Wp([Ne,bt],qe),fy([Ne,bt],"hidden"))}N(),de(),C.props.animation?W()&&Oe(qe,C.unmount):C.unmount()}}function Be(le){ue().addEventListener("mousemove",y),uy(xu,y),y(le)}function ct(){C.state.isVisible&&C.hide(),C.state.isMounted&&(yt(),Rt().forEach(function(le){le._tippy.unmount()}),R.parentNode&&R.parentNode.removeChild(R),Gp=Gp.filter(function(le){return le!==C}),C.state.isMounted=!1,G("onHidden",[C]))}function We(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),Me(),delete t._tippy,C.state.isDestroyed=!0,G("onDestroy",[C]))}}function Ll(t,e){e===void 0&&(e={});var n=so.plugins.concat(e.plugins||[]);KT();var r=Object.assign({},e,{plugins:n}),o=UT(t),i=o.reduce(function(a,l){var u=l&&oB(l,r);return u&&a.push(u),a},[]);return bu(t)?i[0]:i}Ll.defaultProps=so,Ll.setDefaultProps=eB,Ll.currentInput=Ro,Object.assign({},Hv,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Ll.setDefaultProps({render:by});function iB({color:t="var(--contrast-6)",icon:e="info-circle-fill",tooltip:n}){const r=T.useRef(null);return T.useLayoutEffect(()=>{r.current&&Ll(r.current,{content:n,theme:"access",appendTo:r.current.parentElement})},[r.current]),E.jsx("button",{className:"info-tip",style:{color:t},ref:r,children:E.jsx(Et,{name:e})})}function sB({infoGroupId:t}){const e=Xn(`https://support.access-ci.org/api/1.0/kb/${t}`);if(!(!e||e.error||!e.length))return E.jsx(Io,{title:"Documentation",icon:"book",children:E.jsx("ul",{children:e.map(({title:n,description:r,link:o})=>E.jsxs("li",{children:[E.jsx("a",{href:Og(o),children:n}),r?E.jsx(iB,{tooltip:mf(r)}):null]},n))})})}function aB({children:t,icon:e="megaphone-fill"}){return E.jsxs("div",{className:"alert",children:[e?E.jsx(Et,{name:e}):null,E.jsx("div",{className:"alert-body",children:t})]})}function lB({children:t}){const[e,n]=T.useState(!1);return E.jsxs("div",{className:`expand-text ${e?"expanded":"contracted"}`,children:[t,E.jsxs("button",{className:"expand-button",onClick:()=>n(!e),children:[E.jsx(Et,{name:`caret-${e?"up":"left"}-fill`}),e?"Less":"More"]})]})}function cB({date__end:t,date__start:e,description:n,location:r,registration:o,speaker:i,title:a}){const l=o,u=l?E.jsx("a",{href:l,children:a}):a,d=[];let p=null;const h=e,A=t;if(h){const m=new Date(h),y=new Date(A||h),[w,b]=[m,y].map(R=>R.toLocaleString("en-US",{dateStyle:"long"})),[P,M]=[m,y].map(R=>R.toLocaleString("en-US",{timeStyle:"short"})),D=m.toLocaleTimeString("en-US",{timeZoneName:"short"}).split(" ")[2],C=[`${w},`,P];(M!=P||b!=w)&&(C.push("-"),b!=w&&C.push(`${b},`),C.push(M)),C.push(`(${D})`),d.push(E.jsx(Et,{name:"calendar"}),C.join(" ")),i&&d.push(E.jsx(Et,{name:"people-fill"}),i),r&&d.push(E.jsx(Et,{name:"geo-alt-fill"}),r);const j=m.toLocaleString("en-US",{dateStyle:"medium"}).split(",")[0].split(" ").map(R=>E.jsx("span",{children:R},R));p=l?E.jsx("a",{href:l,className:"event-icon",children:j}):E.jsx("div",{className:"event-icon",children:j})}return E.jsxs("div",{className:"event",children:[p,E.jsxs("div",{className:"event-details",children:[E.jsx("h3",{children:u}),d.length?E.jsx("div",{className:"event-metadata",children:d}):null,n?E.jsx(lB,{children:E.jsx("div",{children:vf(n)})}):null]})]})}function uB({infoGroupId:t}){const e=al(t),n=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"),r=Xn("https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"),o=Xn(`https://support.access-ci.org/api/1.1/events/ag/${t}`),i=gf([e,n,r],(l,u,d)=>[...u.results,...d.results].filter(p=>p.AffectedResources.some(h=>l.infoResourceIds.includes(h.ResourceID))),[]),a=gf([o],l=>l.filter(u=>new Date(u.date__start)>=new Date),[]);if(!(!i.length&&!a.length))return E.jsxs(Io,{title:"Announcements and Events",icon:"calendar3",children:[i.map(({Subject:l,Content:u})=>E.jsxs(aB,{children:[l," ",E.jsx("a",{href:"https://operations.access-ci.org/infrastructure_news_view",children:"Learn more."})]},l)),a.map(l=>E.jsx(cB,{...l},l.title))]})}function dB({children:t,headingLevel:e=2,title:n}){const[r,o]=T.useState(!1),i=`h${e}`;return E.jsxs("div",{className:"accordion",children:[E.jsx(i,{className:"accordion-heading",children:E.jsxs("button",{"aria-expanded":r,onClick:()=>o(!r),children:[n,E.jsx(Et,{name:r?"caret-up-fill":"caret-down-fill"})]})}),E.jsx("div",{className:"accordion-content",style:{display:r?"block":"none"},children:t})]})}function fB({resource_descriptive_name:t,resource_description:e,compute:n,storage:r}){const o=(n||r||{}).recommended_use;return E.jsxs(dB,{title:t,children:[e?vf(e):null,o?E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Recommended Use"}),vf(o)]}):null]})}function pB({infoGroupId:t}){const e=al(t),n=Xn(e?e.infoResourceIds.map(u=>`https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${u}/?format=json`):null,{defaultValue:[]}),r=n.filter(u=>u.results&&u.results.cider_type=="Compute").map(u=>({...u.results.compute,key:u.results.info_resourceid,name:u.results.resource_descriptive_name,format:(d,p)=>{const h=u.results.compute[p.attr];return p.format&&h?p.format(h,p):h||E.jsx(E.Fragment,{children:"—"})}})),o=n.length?[{name:"Nodes",attr:"node_count",format:u=>u.toLocaleString("en-us")},{name:"CPU Type",attr:"cpu_type"},{name:"CPU Speed",attr:"cpu_speed_ghz",format:u=>`${u} Ghz`},{name:"CPU Cores per Node",attr:"cpu_count_per_node"},{name:"RAM per CPU Core",attr:"memory_per_cpu_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"GPU",attr:"gpu_description"},{name:"Local Storage per Node",attr:"local_storage_per_node_gb",format:u=>`${u.toLocaleString("en-us")} GB`},{name:"Network Interconnect",attr:"interconnect"},{name:"Operating System",attr:"operating_system"},{name:"Batch System",attr:"batch_system"}].filter(u=>r.some(d=>d[u.attr])):[],i={key:"name",name:"Attribute",format:u=>E.jsx("strong",{children:u})},a=r.length>0&&o.length>0,l={compute:[],storage:[],other:[]};for(let{results:u}of n)(l[u.cider_type.toLowerCase()]||l.other).push(E.jsx(fB,{...u},u.resource_descriptive_name));return E.jsxs(E.Fragment,{children:[a||l.compute.length>0?E.jsxs(Io,{title:"Compute Resources",icon:"cpu-fill",children:[l.compute,a&&E.jsxs(E.Fragment,{children:[E.jsx("h3",{children:"Specifications"}),E.jsx(hu,{columns:[i,...r],rows:o,maxHeight:null})]})]}):null,l.storage.length>0?E.jsx(Io,{title:"Storage Resources",icon:"hdd-fill",children:l.storage}):null,l.other.length>0?E.jsx(Io,{title:"Other Resources",icon:"stars",children:l.other}):null]})}function xy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wy(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xy(Object(n),!0).forEach(function(r){AB(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wu(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wu=function(e){return typeof e}:wu=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wu(t)}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Su(t,e,n){return e&&hB(t.prototype,e),t}function AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xp(t,e)}function mB(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vB(t)}function bB(t){var e=mB();return function(){var r=ma(t),o;if(e){var i=ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yB(this,o)}}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ma(t),t!==null););return t}function Eu(){return typeof Reflect<"u"&&Reflect.get?Eu=Reflect.get:Eu=function(e,n,r){var o=xB(e,n);if(o){var i=Object.getOwnPropertyDescriptor(o,n);return i.get?i.get.call(arguments.length<3?e:r):i.value}},Eu.apply(this,arguments)}var wB={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function Ni(t){console.error("[Glide warn]: ".concat(t))}function ao(t){return parseInt(t)}function Jp(t){return typeof t=="string"}function Nl(t){var e=wu(t);return e==="function"||e==="object"&&!!t}function Cu(t){return typeof t=="function"}function kB(t){return typeof t>"u"}function Zp(t){return t.constructor===Array}function SB(t,e,n){var r={};for(var o in e)Cu(e[o])?r[o]=e[o](t,r,n):Ni("Extension must be a function");for(var i in r)Cu(r[i].mount)&&r[i].mount();return r}function nn(t,e,n){Object.defineProperty(t,e,n)}function ky(t,e){var n=Object.assign({},t,e);if(e.hasOwnProperty("classes")){n.classes=Object.assign({},t.classes,e.classes);var r=["direction","type","slide","arrow","nav"];r.forEach(function(o){e.classes.hasOwnProperty(o)&&(n.classes[o]=wy(wy({},t.classes[o]),e.classes[o]))})}return e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var EB=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.events=e,this.hop=e.hasOwnProperty}return Su(t,[{key:"on",value:function(n,r){if(Zp(n)){for(var o=0;o<n.length;o++)this.on(n[o],r);return}this.hop.call(this.events,n)||(this.events[n]=[]);var i=this.events[n].push(r)-1;return{remove:function(){delete this.events[n][i]}}}},{key:"emit",value:function(n,r){if(Zp(n)){for(var o=0;o<n.length;o++)this.emit(n[o],r);return}this.hop.call(this.events,n)&&this.events[n].forEach(function(i){i(r||{})})}}]),t})(),CB=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ku(this,t),this._c={},this._t=[],this._e=new EB,this.disabled=!1,this.selector=e,this.settings=ky(wB,n),this.index=this.settings.startAt}return Su(t,[{key:"mount",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._e.emit("mount.before"),Nl(n)?this._c=SB(this,n,this._e):Ni("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Zp(n)?this._t=n:Ni("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.settings=ky(this.settings,n),n.hasOwnProperty("startAt")&&(this.index=n.startAt),this._e.emit("update"),this}},{key:"go",value:function(n){return this._c.Run.make(n),this}},{key:"move",value:function(n){return this._c.Transition.disable(),this._c.Move.make(n),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n&&(this.settings.autoplay=n),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(n,r){return this._e.on(n,r),this}},{key:"isType",value:function(n){return this.settings.type===n}},{key:"settings",get:function(){return this._o},set:function(n){Nl(n)?this._o=n:Ni("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(n){this._i=ao(n)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(n){this._d=!!n}}]),t})();function PB(t,e,n){var r={mount:function(){this._o=!1},make:function(d){var p=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=d,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after(function(){p.isStart()&&n.emit("run.start",p.move),p.isEnd()&&n.emit("run.end",p.move),p.isOffset()&&(p._o=!1,n.emit("run.offset",p.move)),n.emit("run.after",p.move),t.enable()}))},calculate:function(){var d=this.move,p=this.length,h=d.steps,A=d.direction,m=1;if(A==="="){if(t.settings.bound&&ao(h)>p){t.index=p;return}t.index=h;return}if(A===">"&&h===">"){t.index=p;return}if(A==="<"&&h==="<"){t.index=0;return}if(A==="|"&&(m=t.settings.perView||1),A===">"||A==="|"&&h===">"){var y=o(m);y>p&&(this._o=!0),t.index=i(y,m);return}if(A==="<"||A==="|"&&h==="<"){var w=a(m);w<0&&(this._o=!0),t.index=l(w,m);return}Ni("Invalid direction pattern [".concat(A).concat(h,"] has been used"))},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d?this._o?d==="|>"?this.move.direction==="|"&&this.move.steps===">":d==="|<"?this.move.direction==="|"&&this.move.steps==="<":this.move.direction===d:!1:this._o},isBound:function(){return t.isType("slider")&&t.settings.focusAt!=="center"&&t.settings.bound}};function o(u){var d=t.index;return t.isType("carousel")?d+u:d+(u-d%u)}function i(u,d){var p=r.length;return u<=p?u:t.isType("carousel")?u-(p+1):t.settings.rewind?r.isBound()&&!r.isEnd()?p:0:r.isBound()?p:Math.floor(p/d)*d}function a(u){var d=t.index;if(t.isType("carousel"))return d-u;var p=Math.ceil(d/u);return(p-1)*u}function l(u,d){var p=r.length;return u>=0?u:t.isType("carousel")?u+(p+1):t.settings.rewind?r.isBound()&&r.isStart()?p:Math.floor(p/d)*d:0}return nn(r,"move",{get:function(){return this._m},set:function(d){var p=d.substr(1);this._m={direction:d.substr(0,1),steps:p?ao(p)?ao(p):p:0}}}),nn(r,"length",{get:function(){var d=t.settings,p=e.Html.slides.length;return this.isBound()?p-1-(ao(d.perView)-1)+ao(d.focusAt):p-1}}),nn(r,"offset",{get:function(){return this._o}}),r}function Sy(){return new Date().getTime()}function Ey(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,a,l=0,u=function(){l=n.leading===!1?0:Sy(),r=null,a=t.apply(o,i),r||(o=i=null)},d=function(){var h=Sy();!l&&n.leading===!1&&(l=h);var A=e-(h-l);return o=this,i=arguments,A<=0||A>e?(r&&(clearTimeout(r),r=null),l=h,a=t.apply(o,i),r||(o=i=null)):!r&&n.trailing!==!1&&(r=setTimeout(u,A)),a};return d.cancel=function(){clearTimeout(r),l=0,r=o=i=null},d}var Pu={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function DB(t,e,n){var r={apply:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style,d=e.Direction.value;a!==0?u[Pu[d][0]]="".concat(this.value/2,"px"):u[Pu[d][0]]="",a!==i.length-1?u[Pu[d][1]]="".concat(this.value/2,"px"):u[Pu[d][1]]=""}},remove:function(i){for(var a=0,l=i.length;a<l;a++){var u=i[a].style;u.marginLeft="",u.marginRight=""}}};return nn(r,"value",{get:function(){return ao(t.settings.gap)}}),nn(r,"grow",{get:function(){return r.value*e.Sizes.length}}),nn(r,"reductor",{get:function(){var i=t.settings.perView;return r.value*(i-1)/i}}),n.on(["build.after","update"],Ey(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r}function Cy(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}return[]}function $p(t){return Array.prototype.slice.call(t)}var TB='[data-glide-el="track"]';function BB(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector(TB),this.collectSlides()},collectSlides:function(){this.slides=$p(this.wrapper.children).filter(function(i){return!i.classList.contains(t.settings.classes.slide.clone)})}};return nn(r,"root",{get:function(){return r._r},set:function(i){Jp(i)&&(i=document.querySelector(i)),i!==null?r._r=i:Ni("Root element must be a existing Html node")}}),nn(r,"track",{get:function(){return r._t},set:function(i){r._t=i}}),nn(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r}function _B(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return nn(r,"value",{get:function(){return r._v},set:function(i){Nl(i)?(i.before=ao(i.before),i.after=ao(i.after)):i=ao(i),r._v=i}}),nn(r,"reductor",{get:function(){var i=r.value,a=t.settings.perView;return Nl(i)?i.before/a+i.after/a:i*2/a}}),n.on(["resize","update"],function(){r.mount()}),r}function IB(t,e,n){var r={mount:function(){this._o=0},make:function(){var i=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.offset=a,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:i.value})})}};return nn(r,"offset",{get:function(){return r._o},set:function(i){r._o=kB(i)?0:ao(i)}}),nn(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),nn(r,"value",{get:function(){var i=this.offset,a=this.translate;return e.Direction.is("rtl")?a+i:a-i}}),n.on(["build.before","run"],function(){r.make()}),r}function MB(t,e,n){var r={setupSlides:function(){for(var i="".concat(this.slideWidth,"px"),a=e.Html.slides,l=0;l<a.length;l++)a[l].style.width=i},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var i=e.Html.slides,a=0;a<i.length;a++)i[a].style.width="";e.Html.wrapper.style.width=""}};return nn(r,"length",{get:function(){return e.Html.slides.length}}),nn(r,"width",{get:function(){return e.Html.track.offsetWidth}}),nn(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),nn(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r}function OB(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var i=t.settings.classes,a=e.Html.slides[t.index];a&&(a.classList.add(i.slide.active),Cy(a).forEach(function(l){l.classList.remove(i.slide.active)}))},removeClasses:function(){var i=t.settings.classes,a=i.type,l=i.slide;e.Html.root.classList.remove(a[t.settings.type]),e.Html.slides.forEach(function(u){u.classList.remove(l.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r}function RB(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=e.Html.slides,l=t.settings,u=l.perView,d=l.classes,p=l.cloningRatio;if(a.length>0)for(var h=+!!t.settings.peek,A=u+h+Math.round(u/2),m=a.slice(0,A).reverse(),y=a.slice(A*-1),w=0;w<Math.max(p,Math.floor(u/a.length));w++){for(var b=0;b<m.length;b++){var P=m[b].cloneNode(!0);P.classList.add(d.slide.clone),i.push(P)}for(var M=0;M<y.length;M++){var D=y[M].cloneNode(!0);D.classList.add(d.slide.clone),i.unshift(D)}}return i},append:function(){for(var i=this.items,a=e.Html,l=a.wrapper,u=a.slides,d=Math.floor(i.length/2),p=i.slice(0,d).reverse(),h=i.slice(d*-1).reverse(),A="".concat(e.Sizes.slideWidth,"px"),m=0;m<h.length;m++)l.appendChild(h[m]);for(var y=0;y<p.length;y++)l.insertBefore(p[y],u[0]);for(var w=0;w<i.length;w++)i[w].style.width=A},remove:function(){for(var i=this.items,a=0;a<i.length;a++)e.Html.wrapper.removeChild(i[a])}};return nn(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r}var Py=(function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ku(this,t),this.listeners=e}return Su(t,[{key:"on",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Jp(n)&&(n=[n]);for(var a=0;a<n.length;a++)this.listeners[n[a]]=o,r.addEventListener(n[a],this.listeners[n[a]],i)}},{key:"off",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jp(n)&&(n=[n]);for(var i=0;i<n.length;i++)r.removeEventListener(n[i],this.listeners[n[i]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),t})();function LB(t,e,n){var r=new Py,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,Ey(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o}var NB=["ltr","rtl"],FB={">":"<","<":">","=":"="};function jB(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(i){var a=i.slice(0,1);return this.is("rtl")?i.split(a).join(FB[a]):i},is:function(i){return this.value===i},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return nn(r,"value",{get:function(){return r._v},set:function(i){NB.indexOf(i)>-1?r._v=i:Ni("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r}function zB(t,e){return{modify:function(r){return e.Direction.is("rtl")?-r:r}}}function QB(t,e){return{modify:function(r){var o=Math.floor(r/e.Sizes.slideWidth);return r+e.Gaps.value*o}}}function HB(t,e){return{modify:function(r){return r+e.Clones.grow/2}}}function UB(t,e){return{modify:function(r){if(t.settings.focusAt>=0){var o=e.Peek.value;return Nl(o)?r-o.before:r-o}return r}}}function VB(t,e){return{modify:function(r){var o=e.Gaps.value,i=e.Sizes.width,a=t.settings.focusAt,l=e.Sizes.slideWidth;return a==="center"?r-(i/2-l/2):r-l*a-o*a}}}function WB(t,e,n){var r=[QB,HB,UB,VB].concat(t._t,[zB]);return{mutate:function(i){for(var a=0;a<r.length;a++){var l=r[a];Cu(l)&&Cu(l().modify)?i=l(t,e,n).modify(i):Ni("Transformer should be a function that returns an object with `modify()` method")}return i}}}function YB(t,e,n){var r={set:function(i){var a=WB(t,e).mutate(i),l="translate3d(".concat(-1*a,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=l,e.Html.wrapper.style.webkitTransform=l,e.Html.wrapper.style.transform=l},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var i=e.Sizes.length,a=t.index,l=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i+(a-l):(a+l)%i},getTravelDistance:function(){var i=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i*-1:i}};return n.on("move",function(o){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(o.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var i=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(i-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r}function qB(t,e,n){var r=!1,o={compose:function(a){var l=t.settings;return r?"".concat(a," 0ms ").concat(l.animationTimingFunc):"".concat(a," ").concat(this.duration,"ms ").concat(l.animationTimingFunc)},set:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(a)},remove:function(){e.Html.wrapper.style.transition=""},after:function(a){setTimeout(function(){a()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return nn(o,"duration",{get:function(){var a=t.settings;return t.isType("slider")&&e.Run.offset?a.rewindDuration:a.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o}var Dy=!1;try{var Ty=Object.defineProperty({},"passive",{get:function(){Dy=!0}});window.addEventListener("testPassive",null,Ty),window.removeEventListener("testPassive",null,Ty)}catch{}var By=Dy,KB='[data-glide-el="controls[nav]"]',eh='[data-glide-el^="controls"]',GB="".concat(eh,' [data-glide-dir*="<"]'),XB="".concat(eh,' [data-glide-dir*=">"]');function JB(t,e,n){var r=new Py,o=By?{passive:!0}:!1,i={mount:function(){this._n=e.Html.root.querySelectorAll(KB),this._c=e.Html.root.querySelectorAll(eh),this._arrowControls={previous:e.Html.root.querySelectorAll(GB),next:e.Html.root.querySelectorAll(XB)},this.addBindings()},setActive:function(){for(var l=0;l<this._n.length;l++)this.addClass(this._n[l].children)},removeActive:function(){for(var l=0;l<this._n.length;l++)this.removeClass(this._n[l].children)},addClass:function(l){var u=t.settings,d=l[t.index];d&&(d.classList.add(u.classes.nav.active),Cy(d).forEach(function(p){p.classList.remove(u.classes.nav.active)}))},removeClass:function(l){var u=l[t.index];u?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var l=i._arrowControls.next,u=i._arrowControls.previous;this.resetArrowState(l,u),t.index===0&&this.disableArrow(u),t.index===e.Run.length&&this.disableArrow(l)}},resetArrowState:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.remove(l.classes.arrow.disabled)})})},disableArrow:function(){for(var l=t.settings,u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];d.forEach(function(h){$p(h).forEach(function(A){A.classList.add(l.classes.arrow.disabled)})})},addBindings:function(){for(var l=0;l<this._c.length;l++)this.bind(this._c[l].children)},removeBindings:function(){for(var l=0;l<this._c.length;l++)this.unbind(this._c[l].children)},bind:function(l){for(var u=0;u<l.length;u++)r.on("click",l[u],this.click),r.on("touchstart",l[u],this.click,o)},unbind:function(l){for(var u=0;u<l.length;u++)r.off(["click","touchstart"],l[u])},click:function(l){!By&&l.type==="touchstart"&&l.preventDefault();var u=l.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(u))}};return nn(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],function(){i.setActive()}),n.on(["mount.after","run"],function(){i.setArrowState()}),n.on("destroy",function(){i.removeBindings(),i.removeActive(),r.destroy()}),i}var ZB={Html:BB,Translate:YB,Transition:qB,Direction:jB,Peek:_B,Sizes:MB,Gaps:DB,Move:IB,Clones:RB,Resize:LB,Build:OB,Run:PB},$B=(function(t){gB(n,t);var e=bB(n);function n(){return ku(this,n),e.apply(this,arguments)}return Su(n,[{key:"mount",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Eu(ma(n.prototype),"mount",this).call(this,Object.assign({},ZB,o))}}]),n})(CB);function Du({children:t,cssClass:e=""}){const n=T.useRef(null);return T.useEffect(()=>{n.current&&new $B(n.current).mount({Controls:JB})},[]),E.jsx("section",{className:`carousel ${e}`,children:E.jsxs("div",{className:"glide",ref:n,children:[E.jsx("div",{className:"glide__track","data-glide-el":"track",children:E.jsx("ul",{className:"glide__slides",children:t})}),E.jsxs("div",{className:"glide__arrows","data-glide-el":"controls",children:[E.jsx("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M0 12l10.975 11 2.848-2.828-6.176-6.176H24v-3.992H7.646l6.176-6.176L10.975 1 0 12z"})})}),E.jsx("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">",children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:E.jsx("path",{d:"M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"})})})]})]})})}function _y({children:t}){return E.jsx("li",{className:"glide__slide",children:t})}function e8({title:t,description:e,linkText:n,linkURI:r,imageURI:o,imageAltText:i}){return E.jsx(_y,{children:E.jsxs("span",{className:"slide-inner",children:[o&&E.jsx("a",{href:r,className:"slide-image",children:E.jsx("img",{src:o,alt:i})}),E.jsxs("span",{className:"slide-text",children:[t&&E.jsx("h2",{children:t}),e&&E.jsx("p",{children:e}),n&&E.jsx("a",{href:r,children:n})]})]})})}Du.Slide=_y,Du.ImageSlide=e8;function t8({children:t,maxHeight:e="400px"}){return E.jsx("div",{className:"scroll-text",children:E.jsx("div",{className:"scroll-text-inner",style:{maxHeight:e},children:t})})}const n8="https://allocations.access-ci.org/current-projects.json";function Tu({icon:t,text:e,title:n}){if(e)return E.jsxs("abbr",{className:"project-meta",title:n,children:[E.jsx(Et,{name:t}),e]})}function r8({infoGroupId:t}){const e=al(t),n=Xn(e?`${n8}?${e.infoResourceIds.map(o=>`info_resourceids[]=${o}`).join("&")}`:null);if(!n||!n.projects||!n.projects.length)return null;const r=[{key:"resourceName",name:"Resource"},{key:"allocation",name:"Current Allocation",format:(o,i)=>i.units=="[Yes = 1, No = 0]"?o==1?"Yes":"No":`${o.toLocaleString("en-us")} ${i.units||""}`}];return E.jsx(Io,{title:"Recent Projects",icon:"pc-display",children:E.jsx(Du,{cssclassName:"carousel-projects",children:n.projects.map(o=>E.jsxs(Du.Slide,{children:[E.jsx("h3",{children:o.requestTitle}),E.jsxs("div",{className:"project-metadata",children:[E.jsx(Tu,{icon:"cash-coin",text:o.allocationType,title:"Allocation Type"}),E.jsx(Tu,{icon:"person-fill",text:`${o.pi} (${o.piInstitution})`,title:"Primary Investigator"}),E.jsx(Tu,{icon:"folder",text:o.fos,title:"Field of Science"}),E.jsx(Tu,{icon:"calendar-range",text:[o.beginDate,o.endDate].map(i=>new Date(i).toLocaleString("en-US",{dateStyle:"medium"})).join(" to "),title:"Project Dates"})]}),E.jsxs(t8,{children:[E.jsx("p",{children:o.abstract}),E.jsx(hu,{columns:r,rows:o.resources,maxHeight:null})]})]},o.requestTitle))})})}function Fl(t){return t+.5|0}const Fi=(t,e,n)=>Math.max(Math.min(t,n),e);function jl(t){return Fi(Fl(t*2.55),0,255)}function ji(t){return Fi(Fl(t*255),0,255)}function li(t){return Fi(Fl(t/2.55)/100,0,1)}function Iy(t){return Fi(Fl(t*100),0,100)}const qr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},th=[..."0123456789ABCDEF"],o8=t=>th[t&15],i8=t=>th[(t&240)>>4]+th[t&15],Bu=t=>(t&240)>>4===(t&15),s8=t=>Bu(t.r)&&Bu(t.g)&&Bu(t.b)&&Bu(t.a);function a8(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&qr[t[1]]*17,g:255&qr[t[2]]*17,b:255&qr[t[3]]*17,a:e===5?qr[t[4]]*17:255}:(e===7||e===9)&&(n={r:qr[t[1]]<<4|qr[t[2]],g:qr[t[3]]<<4|qr[t[4]],b:qr[t[5]]<<4|qr[t[6]],a:e===9?qr[t[7]]<<4|qr[t[8]]:255})),n}const l8=(t,e)=>t<255?e(t):"";function c8(t){var e=s8(t)?o8:i8;return t?"#"+e(t.r)+e(t.g)+e(t.b)+l8(t.a,e):void 0}const u8=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function My(t,e,n){const r=e*Math.min(n,1-n),o=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[o(0),o(8),o(4)]}function d8(t,e,n){const r=(o,i=(o+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function f8(t,e,n){const r=My(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function p8(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}function nh(t){const n=t.r/255,r=t.g/255,o=t.b/255,i=Math.max(n,r,o),a=Math.min(n,r,o),l=(i+a)/2;let u,d,p;return i!==a&&(p=i-a,d=l>.5?p/(2-i-a):p/(i+a),u=p8(n,r,o,p,i),u=u*60+.5),[u|0,d||0,l]}function rh(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(ji)}function oh(t,e,n){return rh(My,t,e,n)}function h8(t,e,n){return rh(f8,t,e,n)}function A8(t,e,n){return rh(d8,t,e,n)}function Oy(t){return(t%360+360)%360}function g8(t){const e=u8.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?jl(+e[5]):ji(+e[5]));const o=Oy(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=h8(o,i,a):e[1]==="hsv"?r=A8(o,i,a):r=oh(o,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function m8(t,e){var n=nh(t);n[0]=Oy(n[0]+e),n=oh(n),t.r=n[0],t.g=n[1],t.b=n[2]}function v8(t){if(!t)return;const e=nh(t),n=e[0],r=Iy(e[1]),o=Iy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${li(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}const Ry={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ly={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function y8(){const t={},e=Object.keys(Ly),n=Object.keys(Ry);let r,o,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],o=0;o<n.length;o++)i=n[o],l=l.replace(i,Ry[i]);i=parseInt(Ly[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let _u;function b8(t){_u||(_u=y8(),_u.transparent=[0,0,0,0]);const e=_u[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const x8=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function w8(t){const e=x8.exec(t);let n=255,r,o,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?jl(a):Fi(a*255,0,255)}return r=+e[1],o=+e[3],i=+e[5],r=255&(e[2]?jl(r):Fi(r,0,255)),o=255&(e[4]?jl(o):Fi(o,0,255)),i=255&(e[6]?jl(i):Fi(i,0,255)),{r,g:o,b:i,a:n}}}function k8(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${li(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ih=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,va=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function S8(t,e,n){const r=va(li(t.r)),o=va(li(t.g)),i=va(li(t.b));return{r:ji(ih(r+n*(va(li(e.r))-r))),g:ji(ih(o+n*(va(li(e.g))-o))),b:ji(ih(i+n*(va(li(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Iu(t,e,n){if(t){let r=nh(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=oh(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ny(t,e){return t&&Object.assign(e||{},t)}function Fy(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=ji(t[3]))):(e=Ny(t,{r:0,g:0,b:0,a:1}),e.a=ji(e.a)),e}function E8(t){return t.charAt(0)==="r"?w8(t):g8(t)}class zl{constructor(e){if(e instanceof zl)return e;const n=typeof e;let r;n==="object"?r=Fy(e):n==="string"&&(r=a8(e)||b8(e)||E8(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Ny(this._rgb);return e&&(e.a=li(e.a)),e}set rgb(e){this._rgb=Fy(e)}rgbString(){return this._valid?k8(this._rgb):void 0}hexString(){return this._valid?c8(this._rgb):void 0}hslString(){return this._valid?v8(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,o=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,u=r.a-o.a,d=((l*u===-1?l:(l+u)/(1+l*u))+1)/2;i=1-d,r.r=255&d*r.r+i*o.r+.5,r.g=255&d*r.g+i*o.g+.5,r.b=255&d*r.b+i*o.b+.5,r.a=a*r.a+(1-a)*o.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=S8(this._rgb,e._rgb,n)),this}clone(){return new zl(this.rgb)}alpha(e){return this._rgb.a=ji(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Fl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Iu(this._rgb,2,e),this}darken(e){return Iu(this._rgb,2,-e),this}saturate(e){return Iu(this._rgb,1,e),this}desaturate(e){return Iu(this._rgb,1,-e),this}rotate(e){return m8(this._rgb,e),this}}function ci(){}const C8=(()=>{let t=0;return()=>t++})();function Ot(t){return t==null}function gn(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function kt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Kr(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Lo(t,e){return Kr(t)?t:e}function Ct(t,e){return typeof t>"u"?e:t}const P8=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,jy=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Ht(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Tt(t,e,n,r){let o,i,a;if(gn(t))for(i=t.length,o=0;o<i;o++)e.call(n,t[o],o);else if(kt(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function Mu(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function Ou(t){if(gn(t))return t.map(Ou);if(kt(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=Ou(t[n[o]]);return e}return t}function zy(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function D8(t,e,n,r){if(!zy(t))return;const o=e[t],i=n[t];kt(o)&&kt(i)?Ql(o,i,r):e[t]=Ou(i)}function Ql(t,e,n){const r=gn(e)?e:[e],o=r.length;if(!kt(t))return t;n=n||{};const i=n.merger||D8;let a;for(let l=0;l<o;++l){if(a=r[l],!kt(a))continue;const u=Object.keys(a);for(let d=0,p=u.length;d<p;++d)i(u[d],t,a,n)}return t}function Hl(t,e){return Ql(t,e,{merger:T8})}function T8(t,e,n){if(!zy(t))return;const r=e[t],o=n[t];kt(r)&&kt(o)?Hl(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ou(o))}const Qy={"":t=>t,x:t=>t.x,y:t=>t.y};function B8(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function _8(t){const e=B8(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function zi(t,e){return(Qy[e]||(Qy[e]=_8(e)))(t)}function sh(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ul=t=>typeof t<"u",Qi=t=>typeof t=="function",Hy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function I8(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const mn=Math.PI,Tr=2*mn,Ru=Number.POSITIVE_INFINITY,M8=mn/180,Br=mn/2,ks=mn/4,Uy=mn*2/3,Vy=Math.log10,Hi=Math.sign;function Lu(t,e,n){return Math.abs(t-e)<n}function Wy(t){const e=Math.round(t);t=Lu(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Vy(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function O8(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((o,i)=>o-i).pop(),e}function R8(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Nu(t){return!R8(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function L8(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function N8(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function No(t){return t*(mn/180)}function F8(t){return t*(180/mn)}function Yy(t){if(!Kr(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function j8(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*mn&&(i+=Tr),{angle:i,distance:o}}function z8(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ss(t){return(t%Tr+Tr)%Tr}function ah(t,e,n,r){const o=Ss(t),i=Ss(e),a=Ss(n),l=Ss(i-o),u=Ss(a-o),d=Ss(o-i),p=Ss(o-a);return o===i||o===a||r&&i===a||l>u&&d<p}function lo(t,e,n){return Math.max(e,Math.min(n,t))}function Q8(t){return lo(t,-32768,32767)}function ya(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lh(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,o=0,i;for(;r-o>1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const ch=(t,e,n,r)=>lh(t,n,r?o=>{const i=t[o][e];return i<n||i===n&&t[o+1][e]===n}:o=>t[o][e]<n),H8=(t,e,n)=>lh(t,n,r=>t[r][e]>=n);function U8(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}const qy=["push","pop","shift","splice","unshift"];function V8(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),qy.forEach(n=>{const r="_onData"+sh(n),o=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=o.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function Ky(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);o!==-1&&r.splice(o,1),!(r.length>0)&&(qy.forEach(i=>{delete t[i]}),delete t._chartjs)}function Gy(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Xy=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function Jy(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,Xy.call(window,()=>{r=!1,t.apply(e,n)}))}}function W8(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const uh=t=>t==="start"?"left":t==="end"?"right":"center",jn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,Y8=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e,Fu=t=>t===0||t===1,Zy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Tr/n)),$y=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*Tr/n)+1,Vl={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Br)+1,easeOutSine:t=>Math.sin(t*Br),easeInOutSine:t=>-.5*(Math.cos(mn*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Fu(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Fu(t)?t:Zy(t,.075,.3),easeOutElastic:t=>Fu(t)?t:$y(t,.075,.3),easeInOutElastic(t){return Fu(t)?t:t<.5?.5*Zy(t*2,.1125,.45):.5+.5*$y(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Vl.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Vl.easeInBounce(t*2)*.5:Vl.easeOutBounce(t*2-1)*.5+.5};function eb(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function tb(t){return eb(t)?t:new zl(t)}function dh(t){return eb(t)?t:new zl(t).saturate(.5).darken(.1).hexString()}const q8=["x","y","borderWidth","radius","tension"],K8=["color","borderColor","backgroundColor"];function G8(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:K8},numbers:{type:"number",properties:q8}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function X8(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const nb=new Map;function J8(t,e){e=e||{};const n=t+JSON.stringify(e);let r=nb.get(n);return r||(r=new Intl.NumberFormat(t,e),nb.set(n,r)),r}function ju(t,e,n){return J8(e,n).format(t)}const Z8={values(t){return gn(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let o,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),i=$8(t,n)}const a=Vy(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:o,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),ju(t,r,u)}};function $8(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var rb={formatters:Z8};function e_(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:rb.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),fh=Object.create(null);function Wl(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function ph(t,e,n){return typeof e=="string"?Ql(Wl(t,e),n):Ql(Wl(t,""),e)}class t_{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,o)=>dh(o.backgroundColor),this.hoverBorderColor=(r,o)=>dh(o.borderColor),this.hoverColor=(r,o)=>dh(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return ph(this,e,n)}get(e){return Wl(this,e)}describe(e,n){return ph(fh,e,n)}override(e,n){return ph(Es,e,n)}route(e,n,r,o){const i=Wl(this,e),a=Wl(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const u=this[l],d=a[o];return kt(u)?Object.assign({},d,u):Ct(u,d)},set(u){this[l]=u}}})}apply(e){e.forEach(n=>n(this))}}var Zt=new t_({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[G8,X8,e_]);function n_(t){return!t||Ot(t.size)||Ot(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function ob(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function Cs(t,e,n){const r=t.currentDevicePixelRatio,o=n!==0?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function ib(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function sb(t,e,n,r){ab(t,e,n,r,null)}function ab(t,e,n,r,o){let i,a,l,u,d,p,h,A;const m=e.pointStyle,y=e.rotation,w=e.radius;let b=(y||0)*M8;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(b),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(w)||w<=0)){switch(t.beginPath(),m){default:o?t.ellipse(n,r,o/2,w,0,0,Tr):t.arc(n,r,w,0,Tr),t.closePath();break;case"triangle":p=o?o/2:w,t.moveTo(n+Math.sin(b)*p,r-Math.cos(b)*w),b+=Uy,t.lineTo(n+Math.sin(b)*p,r-Math.cos(b)*w),b+=Uy,t.lineTo(n+Math.sin(b)*p,r-Math.cos(b)*w),t.closePath();break;case"rectRounded":d=w*.516,u=w-d,a=Math.cos(b+ks)*u,h=Math.cos(b+ks)*(o?o/2-d:u),l=Math.sin(b+ks)*u,A=Math.sin(b+ks)*(o?o/2-d:u),t.arc(n-h,r-l,d,b-mn,b-Br),t.arc(n+A,r-a,d,b-Br,b),t.arc(n+h,r+l,d,b,b+Br),t.arc(n-A,r+a,d,b+Br,b+mn),t.closePath();break;case"rect":if(!y){u=Math.SQRT1_2*w,p=o?o/2:u,t.rect(n-p,r-u,2*p,2*u);break}b+=ks;case"rectRot":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+A,r-a),t.lineTo(n+h,r+l),t.lineTo(n-A,r+a),t.closePath();break;case"crossRot":b+=ks;case"cross":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"star":h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a),b+=ks,h=Math.cos(b)*(o?o/2:w),a=Math.cos(b)*w,l=Math.sin(b)*w,A=Math.sin(b)*(o?o/2:w),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+A,r-a),t.lineTo(n-A,r+a);break;case"line":a=o?o/2:Math.cos(b)*w,l=Math.sin(b)*w,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(o?o/2:w),r+Math.sin(b)*w);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function lb(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function hh(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Ah(t){t.restore()}function r_(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ot(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function o_(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,u=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,p=o.strikethrough?(u+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,p),t.lineTo(l,p),t.stroke()}}function i_(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Yl(t,e,n,r,o,i={}){const a=gn(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let u,d;for(t.save(),t.font=o.string,r_(t,i),u=0;u<a.length;++u)d=a[u],i.backdrop&&i_(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ot(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),o_(t,n,r,d,i),r+=Number(o.lineHeight);t.restore()}function zu(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*mn,mn,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,mn,Br,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,Br,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-Br,!0),t.lineTo(n+a.topLeft,r)}const s_=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,a_=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function l_(t,e){const n=(""+t).match(s_);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const c_=t=>+t||0;function cb(t,e){const n={},r=kt(e),o=r?Object.keys(e):e,i=kt(t)?r?a=>Ct(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of o)n[a]=c_(i(a));return n}function ub(t){return cb(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ba(t){return cb(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Gr(t){const e=ub(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function zn(t,e){t=t||{},e=e||Zt.font;let n=Ct(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ct(t.style,e.style);r&&!(""+r).match(a_)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:Ct(t.family,e.family),lineHeight:l_(Ct(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ct(t.weight,e.weight),string:""};return o.string=n_(o),o}function Qu(t,e,n,r){let o,i,a;for(o=0,i=t.length;o<i;++o)if(a=t[o],a!==void 0&&a!==void 0)return a}function u_(t,e,n){const{min:r,max:o}=t,i=jy(e,(o-r)/2),a=(l,u)=>n&&l===0?0:l+u;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function xa(t,e){return Object.assign(Object.create(t),e)}function gh(t,e=[""],n,r,o=()=>t[0]){const i=n||t;typeof r>"u"&&(r=Ab("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:l=>gh([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,u){return delete l[u],delete l._keys,delete t[0][u],!0},get(l,u){return fb(l,u,()=>v_(u,e,t,l))},getOwnPropertyDescriptor(l,u){return Reflect.getOwnPropertyDescriptor(l._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,u){return gb(l).includes(u)},ownKeys(l){return gb(l)},set(l,u,d){const p=l._storage||(l._storage=o());return l[u]=p[u]=d,delete l._keys,!0}})}function wa(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:db(t,r),setContext:i=>wa(t,i,n,r),override:i=>wa(t.override(i),e,n,r)};return new Proxy(o,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return fb(i,a,()=>f_(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function db(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:Qi(n)?n:()=>n,isIndexable:Qi(r)?r:()=>r}}const d_=(t,e)=>t?t+sh(e):e,mh=(t,e)=>kt(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fb(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function f_(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let l=r[e];return Qi(l)&&a.isScriptable(e)&&(l=p_(e,l,t,n)),gn(l)&&l.length&&(l=h_(e,l,t,a.isIndexable)),mh(e,l)&&(l=wa(l,o,i&&i[e],a)),l}function p_(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let u=e(i,a||r);return l.delete(t),mh(t,u)&&(u=vh(o._scopes,o,t,u)),u}function h_(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(kt(e[0])){const u=e,d=o._scopes.filter(p=>p!==u);e=[];for(const p of u){const h=vh(d,o,t,p);e.push(wa(h,i,a&&a[t],l))}}return e}function pb(t,e,n){return Qi(t)?t(e,n):t}const A_=(t,e)=>t===!0?e:typeof t=="string"?zi(e,t):void 0;function g_(t,e,n,r,o){for(const i of e){const a=A_(n,i);if(a){t.add(a);const l=pb(a._fallback,n,o);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function vh(t,e,n,r){const o=e._rootScopes,i=pb(e._fallback,n,r),a=[...t,...o],l=new Set;l.add(r);let u=hb(l,a,n,i||n,r);return u===null||typeof i<"u"&&i!==n&&(u=hb(l,a,i,u,r),u===null)?!1:gh(Array.from(l),[""],o,i,()=>m_(e,n,r))}function hb(t,e,n,r,o){for(;n;)n=g_(t,e,n,r,o);return n}function m_(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];return gn(o)&&kt(n)?n:o||{}}function v_(t,e,n,r){let o;for(const i of e)if(o=Ab(d_(i,t),n),typeof o<"u")return mh(t,o)?vh(n,r,t,o):o}function Ab(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function gb(t){let e=t._keys;return e||(e=t._keys=y_(t._scopes)),e}function y_(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(o=>!o.startsWith("_")))e.add(r);return Array.from(e)}function b_(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let l,u,d,p;for(l=0,u=r;l<u;++l)d=l+n,p=e[d],a[l]={r:o.parse(zi(p,i),d)};return a}function yh(){return typeof window<"u"&&typeof document<"u"}function bh(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Hu(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const Uu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function x_(t,e){return Uu(t).getPropertyValue(e)}const w_=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=w_[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const k_=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function S_(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a=!1,l,u;if(k_(o,i,t.target))l=o,u=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,u=r.clientY-d.top,a=!0}return{x:l,y:u,box:a}}function Ds(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=Uu(n),i=o.boxSizing==="border-box",a=Ps(o,"padding"),l=Ps(o,"border","width"),{x:u,y:d,box:p}=S_(t,n),h=a.left+(p&&l.left),A=a.top+(p&&l.top);let{width:m,height:y}=e;return i&&(m-=a.width+l.width,y-=a.height+l.height),{x:Math.round((u-h)/m*n.width/r),y:Math.round((d-A)/y*n.height/r)}}function E_(t,e,n){let r,o;if(e===void 0||n===void 0){const i=t&&bh(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Uu(i),u=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-u.width,n=a.height-d.height-u.height,r=Hu(l.maxWidth,i,"clientWidth"),o=Hu(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ru,maxHeight:o||Ru}}const Ui=t=>Math.round(t*10)/10;function C_(t,e,n,r){const o=Uu(t),i=Ps(o,"margin"),a=Hu(o.maxWidth,t,"clientWidth")||Ru,l=Hu(o.maxHeight,t,"clientHeight")||Ru,u=E_(t,e,n);let{width:d,height:p}=u;if(o.boxSizing==="content-box"){const A=Ps(o,"border","width"),m=Ps(o,"padding");d-=m.width+A.width,p-=m.height+A.height}return d=Math.max(0,d-i.width),p=Math.max(0,r?d/r:p-i.height),d=Ui(Math.min(d,a,u.maxWidth)),p=Ui(Math.min(p,l,u.maxHeight)),d&&!p&&(p=Ui(d/2)),(e!==void 0||n!==void 0)&&r&&u.height&&p>u.height&&(p=u.height,d=Ui(Math.floor(p*r))),{width:d,height:p}}function mb(t,e,n){const r=e||1,o=Ui(t.height*r),i=Ui(t.width*r);t.height=Ui(t.height),t.width=Ui(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i?(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const P_=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};yh()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function vb(t,e){const n=x_(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}const D_=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},T_=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ka(t,e,n){return t?D_(e,n):T_()}function yb(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bb(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Vu(t,e,n){return t.options.clip?t[n]:e[n]}function B_(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Vu(n,e,"left"),right:Vu(n,e,"right"),top:Vu(r,e,"top"),bottom:Vu(r,e,"bottom")}:e}function __(t,e){const n=e._clip;if(n.disabled)return!1;const r=B_(e,t.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:r.bottom+(n.bottom===!0?0:n.bottom)}}class I_{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,o){const i=n.listeners[o],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Xy.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,u;for(;a>=0;--a)u=i[a],u._active?(u._total>r.duration&&(r.duration=u._total),u.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(o.draw(),this._notify(o,r,e,"progress")),i.length||(r.running=!1,this._notify(o,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,o)=>Math.max(r,o._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let o=r.length-1;for(;o>=0;--o)r[o].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ui=new I_;const xb="transparent",M_={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=tb(t||xb),o=r.valid&&tb(e||xb);return o&&o.valid?o.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class O_{constructor(e,n,r,o){const i=n[r];o=Qu([e.to,o,i,e.from]);const a=Qu([e.from,i,o]);this._active=!0,this._fn=e.fn||M_[e.type||typeof a],this._easing=Vl[e.easing]||Vl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=o,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const o=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Qu([e.to,n,o,e.from]),this._from=Qu([e.from,o,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,o=this._prop,i=this._from,a=this._loop,l=this._to;let u;if(this._active=i!==l&&(a||n<r),!this._active){this._target[o]=l,this._notify(!0);return}if(n<0){this._target[o]=i;return}u=n/r%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[o]=this._fn(i,l,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let o=0;o<r.length;o++)r[o][n]()}}class wb{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!kt(e))return;const n=Object.keys(Zt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(o=>{const i=e[o];if(!kt(i))return;const a={};for(const l of n)a[l]=i[l];(gn(i.properties)&&i.properties||[o]).forEach(l=>{(l===o||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,o=L_(e,r);if(!o)return[];const i=this._createAnimations(o,r);return r.$shared&&R_(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,o=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let u;for(u=a.length-1;u>=0;--u){const d=a[u];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(e,n));continue}const p=n[d];let h=i[d];const A=r.get(d);if(h)if(A&&h.active()){h.update(A,p,l);continue}else h.cancel();if(!A||!A.duration){e[d]=p;continue}i[d]=h=new O_(A,e,d,p),o.push(h)}return o}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return ui.add(this._chart,r),!0}}function R_(t,e){const n=[],r=Object.keys(e);for(let o=0;o<r.length;o++){const i=t[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function L_(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function kb(t,e){const n=t&&t.options||{},r=n.reverse,o=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:o,end:r?o:i}}function N_(t,e,n){if(n===!1)return!1;const r=kb(t,n),o=kb(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function F_(t){let e,n,r,o;return kt(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:t===!1}}function Sb(t,e){const n=[],r=t._getSortedDatasetMetas(e);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function Eb(t,e,n,r={}){const o=t.keys,i=r.mode==="single";let a,l,u,d;if(e===null)return;let p=!1;for(a=0,l=o.length;a<l;++a){if(u=+o[a],u===n){if(p=!0,r.all)continue;break}d=t.values[u],Kr(d)&&(i||e===0||Hi(e)===Hi(d))&&(e+=d)}return!p&&!r.all?0:e}function j_(t,e){const{iScale:n,vScale:r}=e,o=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",a=Object.keys(t),l=new Array(a.length);let u,d,p;for(u=0,d=a.length;u<d;++u)p=a[u],l[u]={[o]:p,[i]:t[p]};return l}function xh(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function z_(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Q_(t){const{min:e,max:n,minDefined:r,maxDefined:o}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}function H_(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Cb(t,e,n,r){for(const o of e.getMatchingVisibleMetas(r).reverse()){const i=t[o.index];if(n&&i>0||!n&&i<0)return o.index}return null}function Pb(t,e){const{chart:n,_cachedMeta:r}=t,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,u=i.axis,d=a.axis,p=z_(i,a,r),h=e.length;let A;for(let m=0;m<h;++m){const y=e[m],{[u]:w,[d]:b}=y,P=y._stacks||(y._stacks={});A=P[d]=H_(o,p,w),A[l]=b,A._top=Cb(A,a,!0,r.type),A._bottom=Cb(A,a,!1,r.type);const M=A._visualValues||(A._visualValues={});M[l]=b}}function wh(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function U_(t,e){return xa(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function V_(t,e,n){return xa(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function ql(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const o of e){const i=o._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const kh=t=>t==="reset"||t==="none",Db=(t,e)=>e?t:Object.assign({},t),W_=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Sb(n,!0),values:null};class Wu{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=xh(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&ql(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),o=(h,A,m,y)=>h==="x"?A:h==="r"?y:m,i=n.xAxisID=Ct(r.xAxisID,wh(e,"x")),a=n.yAxisID=Ct(r.yAxisID,wh(e,"y")),l=n.rAxisID=Ct(r.rAxisID,wh(e,"r")),u=n.indexAxis,d=n.iAxisID=o(u,i,a,l),p=n.vAxisID=o(u,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(p)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Ky(this._data,this),e._stacked&&ql(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(kt(n)){const o=this._cachedMeta;this._data=j_(n,o)}else if(r!==n){if(r){Ky(r,this);const o=this._cachedMeta;ql(o),o._parsed=[]}n&&Object.isExtensible(n)&&V8(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const i=n._stacked;n._stacked=xh(n.vScale,n),n.stack!==r.stack&&(o=!0,ql(n),n.stack=r.stack),this._resyncElements(e),(o||i!==n._stacked)&&(Pb(this,n._parsed),n._stacked=xh(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:o}=this,{iScale:i,_stacked:a}=r,l=i.axis;let u=e===0&&n===o.length?!0:r._sorted,d=e>0&&r._parsed[e-1],p,h,A;if(this._parsing===!1)r._parsed=o,r._sorted=!0,A=o;else{gn(o[e])?A=this.parseArrayData(r,o,e,n):kt(o[e])?A=this.parseObjectData(r,o,e,n):A=this.parsePrimitiveData(r,o,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(p=0;p<n;++p)r._parsed[p+e]=h=A[p],u&&(m()&&(u=!1),d=h);r._sorted=u}a&&Pb(this,A)}parsePrimitiveData(e,n,r,o){const{iScale:i,vScale:a}=e,l=i.axis,u=a.axis,d=i.getLabels(),p=i===a,h=new Array(o);let A,m,y;for(A=0,m=o;A<m;++A)y=A+r,h[A]={[l]:p||i.parse(d[y],y),[u]:a.parse(n[y],y)};return h}parseArrayData(e,n,r,o){const{xScale:i,yScale:a}=e,l=new Array(o);let u,d,p,h;for(u=0,d=o;u<d;++u)p=u+r,h=n[p],l[u]={x:i.parse(h[0],p),y:a.parse(h[1],p)};return l}parseObjectData(e,n,r,o){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=new Array(o);let p,h,A,m;for(p=0,h=o;p<h;++p)A=p+r,m=n[A],d[p]={x:i.parse(zi(m,l),A),y:a.parse(zi(m,u),A)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const o=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:Sb(o,!0),values:n._stacks[e.axis]._visualValues};return Eb(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,o){const i=r[n.axis];let a=i===null?NaN:i;const l=o&&r._stacks[n.axis];o&&l&&(o.values=l,a=Eb(o,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,o=r._parsed,i=r._sorted&&e===r.iScale,a=o.length,l=this._getOtherScale(e),u=W_(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:p,max:h}=Q_(l);let A,m;function y(){m=o[A];const w=m[l.axis];return!Kr(m[e.axis])||p>w||h<w}for(A=0;A<a&&!(!y()&&(this.updateRangeFromParsed(d,e,m,u),i));++A);if(i){for(A=a-1;A>=0;--A)if(!y()){this.updateRangeFromParsed(d,e,m,u);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let o,i,a;for(o=0,i=n.length;o<i;++o)a=n[o][e.axis],Kr(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,o=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:o?""+o.getLabelForValue(i[o.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=F_(Ct(this.options.clip,N_(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,o=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||o.length-l,d=this.options.drawActiveElementsOnTop;let p;for(r.dataset&&r.dataset.draw(e,i,l,u),p=l;p<l+u;++p){const h=o[p];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(p=0;p<a.length;++p)a[p].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const o=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=V_(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=o.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=U_(this.chart.getContext(),this.index)),i.dataset=o,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const o=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],u=this.enableOptionSharing&&Ul(r);if(l)return Db(l,u);const d=this.chart.config,p=d.datasetElementScopeKeys(this._type,e),h=o?[`${e}Hover`,"hover",e,""]:[e,""],A=d.getOptionScopes(this.getDataset(),p),m=Object.keys(Zt.elements[e]),y=()=>this.getContext(r,o,n),w=d.resolveNamedOptions(A,m,y,h);return w.$shared&&(w.$shared=u,i[a]=Object.freeze(Db(w,u))),w}_resolveAnimations(e,n,r){const o=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let u;if(o.options.animation!==!1){const p=this.chart.config,h=p.datasetAnimationScopeKeys(this._type,n),A=p.getOptionScopes(this.getDataset(),h);u=p.createResolver(A,this.getContext(e,r,n))}const d=new wb(o,u&&u.animations);return u&&u._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||kh(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),o=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==o;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,o){kh(o)?Object.assign(e,r):this._resolveAnimations(n,o).update(e,r)}updateSharedOptions(e,n,r){e&&!kh(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,o){e.active=o;const i=this.getStyle(n,o);this._resolveAnimations(n,r,o).update(e,{options:!o&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,u,d]of this._syncList)this[l](u,d);this._syncList=[];const o=r.length,i=n.length,a=Math.min(i,o);a&&this.parse(0,a),i>o?this._insertElements(o,i-o,e):i<o&&this._removeElements(i,o-i)}_insertElements(e,n,r=!0){const o=this._cachedMeta,i=o.data,a=e+n;let l;const u=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(u(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&u(o._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,o){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,n);r._stacked&&ql(r,o)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,o]=e;this[n](r,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Y_(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let o=0,i=n.length;o<i;o++)r=r.concat(n[o].controller.getAllParsedValues(t));t._cache.$bar=Gy(r.sort((o,i)=>o-i))}return t._cache.$bar}function q_(t){const e=t.iScale,n=Y_(e,t.type);let r=e._length,o,i,a,l;const u=()=>{a===32767||a===-32768||(Ul(l)&&(r=Math.min(r,Math.abs(a-l)||r)),l=a)};for(o=0,i=n.length;o<i;++o)a=e.getPixelForValue(n[o]),u();for(l=void 0,o=0,i=e.ticks.length;o<i;++o)a=e.getPixelForTick(o),u();return r}function K_(t,e,n,r){const o=n.barThickness;let i,a;return Ot(o)?(i=e.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:e.pixels[t]-i/2}}function G_(t,e,n,r){const o=e.pixels,i=o[t];let a=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null;const u=n.categoryPercentage;a===null&&(a=i-(l===null?e.end-e.start:l-i)),l===null&&(l=i+i-a);const d=i-(i-Math.min(a,l))/2*u;return{chunk:Math.abs(l-a)/2*u/r,ratio:n.barPercentage,start:d}}function X_(t,e,n,r){const o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),l=Math.max(o,i);let u=a,d=l;Math.abs(a)>Math.abs(l)&&(u=l,d=a),e[n.axis]=d,e._custom={barStart:u,barEnd:d,start:o,end:i,min:a,max:l}}function Tb(t,e,n,r){return gn(t)?X_(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Bb(t,e,n,r){const o=t.iScale,i=t.vScale,a=o.getLabels(),l=o===i,u=[];let d,p,h,A;for(d=n,p=n+r;d<p;++d)A=e[d],h={},h[o.axis]=l||o.parse(a[d],d),u.push(Tb(A,h,i,d));return u}function Sh(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function J_(t,e,n){return t!==0?Hi(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function Z_(t){let e,n,r,o,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:e,top:o,bottom:i}}function $_(t,e,n,r){let o=e.borderSkipped;const i={};if(!o){t.borderSkipped=i;return}if(o===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:l,reverse:u,top:d,bottom:p}=Z_(t);o==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?o=d:(n._bottom||0)===r?o=p:(i[_b(p,a,l,u)]=!0,o=d)),i[_b(o,a,l,u)]=!0,t.borderSkipped=i}function _b(t,e,n,r){return r?(t=eI(t,e,n),t=Ib(t,n,e)):t=Ib(t,e,n),t}function eI(t,e,n){return t===e?n:t===n?e:t}function Ib(t,e,n){return t==="start"?e:t==="end"?n:t}function tI(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class nI extends Wu{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,n,r,o){return Bb(e,n,r,o)}parseArrayData(e,n,r,o){return Bb(e,n,r,o)}parseObjectData(e,n,r,o){const{iScale:i,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,d=i.axis==="x"?l:u,p=a.axis==="x"?l:u,h=[];let A,m,y,w;for(A=r,m=r+o;A<m;++A)w=n[A],y={},y[i.axis]=i.parse(zi(w,d),A),h.push(Tb(zi(w,p),y,a,A));return h}updateRangeFromParsed(e,n,r,o){super.updateRangeFromParsed(e,n,r,o);const i=r._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:r,vScale:o}=n,i=this.getParsed(e),a=i._custom,l=Sh(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(i[o.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,r,o){const i=o==="reset",{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),d=l.isHorizontal(),p=this._getRuler(),{sharedOptions:h,includeOptions:A}=this._getSharedOptions(n,o);for(let m=n;m<n+r;m++){const y=this.getParsed(m),w=i||Ot(y[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(m),b=this._calculateBarIndexPixels(m,p),P=(y._stacks||{})[l.axis],M={horizontal:d,base:w.base,enableBorderRadius:!P||Sh(y._custom)||a===P._top||a===P._bottom,x:d?w.head:b.center,y:d?b.center:w.head,height:d?b.size:Math.abs(w.size),width:d?Math.abs(w.size):b.size};A&&(M.options=h||this.resolveDataElementOptions(m,e[m].active?"active":o));const D=M.options||e[m].options;$_(M,D,P,a),tI(M,D,p.ratio),this.updateElement(e[m],m,M,o)}}_getStacks(e,n){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(p=>p.controller.options.grouped),i=r.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(n),u=l&&l[r.axis],d=p=>{const h=p._parsed.find(m=>m[r.axis]===u),A=h&&h[p.vScale.axis];if(Ot(A)||isNaN(A))return!0};for(const p of o)if(!(n!==void 0&&d(p))&&((i===!1||a.indexOf(p.stack)===-1||i===void 0&&p.stack===void 0)&&a.push(p.stack),p.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(r=>e[r].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)e[Ct(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,r){const o=this._getStacks(e,r),i=n!==void 0?o.indexOf(n):-1;return i===-1?o.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,r=n.iScale,o=[];let i,a;for(i=0,a=n.data.length;i<a;++i)o.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const l=e.barThickness;return{min:l||q_(n),pixels:o,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:r,index:o},options:{base:i,minBarLength:a}}=this,l=i||0,u=this.getParsed(e),d=u._custom,p=Sh(d);let h=u[n.axis],A=0,m=r?this.applyStack(n,u,r):h,y,w;m!==h&&(A=m-h,m=h),p&&(h=d.barStart,m=d.barEnd-d.barStart,h!==0&&Hi(h)!==Hi(d.barEnd)&&(A=0),A+=h);const b=!Ot(i)&&!p?i:A;let P=n.getPixelForValue(b);if(this.chart.getDataVisibility(e)?y=n.getPixelForValue(A+m):y=P,w=y-P,Math.abs(w)<a){w=J_(w,n,l)*a,h===l&&(P-=w/2);const M=n.getPixelForDecimal(0),D=n.getPixelForDecimal(1),C=Math.min(M,D),j=Math.max(M,D);P=Math.max(Math.min(P,j),C),y=P+w,r&&!p&&(u._stacks[n.axis]._visualValues[o]=n.getValueForPixel(y)-n.getValueForPixel(P))}if(P===n.getPixelForValue(l)){const M=Hi(w)*n.getLineWidthForValue(l)/2;P+=M,w-=M}return{size:w,base:P,head:y,center:y+w/2}}_calculateBarIndexPixels(e,n){const r=n.scale,o=this.options,i=o.skipNull,a=Ct(o.maxBarThickness,1/0);let l,u;const d=this._getAxisCount();if(n.grouped){const p=i?this._getStackCount(e):n.stackCount,h=o.barThickness==="flex"?G_(e,n,o,p*d):K_(e,n,o,p*d),A=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,m=this._getAxis().indexOf(Ct(A,this.getFirstScaleIdForIndexAxis())),y=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+m;l=h.start+h.chunk*y+h.chunk/2,u=Math.min(a,h.chunk*h.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),u=Math.min(a,n.min*n.ratio);return{base:l-u/2,head:l+u/2,center:l,size:u}}draw(){const e=this._cachedMeta,n=e.vScale,r=e.data,o=r.length;let i=0;for(;i<o;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}function rI(t,e,n){let r=1,o=1,i=0,a=0;if(e<Tr){const l=t,u=l+e,d=Math.cos(l),p=Math.sin(l),h=Math.cos(u),A=Math.sin(u),m=(D,C,j)=>ah(D,l,u,!0)?1:Math.max(C,C*n,j,j*n),y=(D,C,j)=>ah(D,l,u,!0)?-1:Math.min(C,C*n,j,j*n),w=m(0,d,h),b=m(Br,p,A),P=y(mn,d,h),M=y(mn+Br,p,A);r=(w-P)/2,o=(b-M)/2,i=-(w+P)/2,a=-(b+M)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}class oI extends Wu{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:l}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((u,d)=>{const h=e.getDatasetMeta(0).controller.getStyle(d);return{text:u,fillStyle:h.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(d),lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:h.borderWidth,strokeStyle:h.borderColor,textAlign:o,pointStyle:r,borderRadius:a&&(l||h.borderRadius),index:d}}):[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const r=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let i=u=>+r[u];if(kt(r[e])){const{key:u="value"}=this._parsing;i=d=>+zi(r[d],u)}let a,l;for(a=e,l=e+n;a<l;++a)o._parsed[a]=i(a)}}_getRotation(){return No(this.options.rotation-90)}_getCircumference(){return No(this.options.circumference)}_getRotationExtents(){let e=Tr,n=-Tr;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,i=o._getRotation(),a=o._getCircumference();e=Math.min(e,i),n=Math.max(n,i+a)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:r}=n,o=this._cachedMeta,i=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),u=Math.min(P8(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:p,rotation:h}=this._getRotationExtents(),{ratioX:A,ratioY:m,offsetX:y,offsetY:w}=rI(h,p,u),b=(r.width-a)/A,P=(r.height-a)/m,M=Math.max(Math.min(b,P)/2,0),D=jy(this.options.radius,M),C=Math.max(D*u,0),j=(D-C)/this._getVisibleDatasetWeightTotal();this.offsetX=y*D,this.offsetY=w*D,o.total=this.calculateTotal(),this.outerRadius=D-j*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-j*d,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const r=this.options,o=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||o._parsed[e]===null||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*i/Tr)}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,l=a.chartArea,d=a.options.animation,p=(l.left+l.right)/2,h=(l.top+l.bottom)/2,A=i&&d.animateScale,m=A?0:this.innerRadius,y=A?0:this.outerRadius,{sharedOptions:w,includeOptions:b}=this._getSharedOptions(n,o);let P=this._getRotation(),M;for(M=0;M<n;++M)P+=this._circumference(M,i);for(M=n;M<n+r;++M){const D=this._circumference(M,i),C=e[M],j={x:p+this.offsetX,y:h+this.offsetY,startAngle:P,endAngle:P+D,circumference:D,outerRadius:y,innerRadius:m};b&&(j.options=w||this.resolveDataElementOptions(M,C.active?"active":o)),P+=D,this.updateElement(C,M,j,o)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let r=0,o;for(o=0;o<n.length;o++){const i=e._parsed[o];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(o)&&!n[o].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?Tr*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=ju(n._parsed[e],r.options.locale);return{label:o[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const r=this.chart;let o,i,a,l,u;if(!e){for(o=0,i=r.data.datasets.length;o<i;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,l=a.controller;break}}if(!e)return 0;for(o=0,i=e.length;o<i;++o)u=l.resolveDataElementOptions(o),u.borderAlign!=="inner"&&(n=Math.max(n,u.borderWidth||0,u.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let r=0,o=e.length;r<o;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(e){return Math.max(Ct(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class iI extends Wu{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:o}}=e.legend.options;return n.labels.map((i,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:i,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:o,lineWidth:u.borderWidth,pointStyle:r,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,r=this.chart,o=r.data.labels||[],i=ju(n._parsed[e].r,r.options.locale);return{label:o[e]||"",value:i}}parseObjectData(e,n,r,o){return b_.bind(this)(e,n,r,o)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((r,o)=>{const i=this.getParsed(o).r;!isNaN(i)&&this.chart.getDataVisibility(o)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,r=e.options,o=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(o/2,0),a=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),l=(i-a)/e.getVisibleDatasetCount();this.outerRadius=i-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,n,r,o){const i=o==="reset",a=this.chart,u=a.options.animation,d=this._cachedMeta.rScale,p=d.xCenter,h=d.yCenter,A=d.getIndexAngle(0)-.5*mn;let m=A,y;const w=360/this.countVisibleElements();for(y=0;y<n;++y)m+=this._computeAngle(y,o,w);for(y=n;y<n+r;y++){const b=e[y];let P=m,M=m+this._computeAngle(y,o,w),D=a.getDataVisibility(y)?d.getDistanceFromCenterForValue(this.getParsed(y).r):0;m=M,i&&(u.animateScale&&(D=0),u.animateRotate&&(P=M=A));const C={x:p,y:h,innerRadius:0,outerRadius:D,startAngle:P,endAngle:M,options:this.resolveDataElementOptions(y,b.active?"active":o)};this.updateElement(b,y,C,o)}}countVisibleElements(){const e=this._cachedMeta;let n=0;return e.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&n++}),n}_computeAngle(e,n,r){return this.chart.getDataVisibility(e)?No(this.resolveDataElementOptions(e,n).angle||r):0}}function Ts(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Eh{static override(e){Object.assign(Eh.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Ts()}parse(){return Ts()}format(){return Ts()}add(){return Ts()}diff(){return Ts()}startOf(){return Ts()}endOf(){return Ts()}}var sI={_date:Eh};function aI(t,e,n,r){const{controller:o,data:i,_sorted:a}=t,l=o._cachedMeta.iScale,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const d=l._reversePixels?H8:ch;if(r){if(o._sharedOptions){const p=i[0],h=typeof p.getRange=="function"&&p.getRange(e);if(h){const A=d(i,e,n-h),m=d(i,e,n+h);return{lo:A.lo,hi:m.hi}}}}else{const p=d(i,e,n);if(u){const{vScale:h}=o._cachedMeta,{_parsed:A}=t,m=A.slice(0,p.lo+1).reverse().findIndex(w=>!Ot(w[h.axis]));p.lo-=Math.max(0,m);const y=A.slice(p.hi).findIndex(w=>!Ot(w[h.axis]));p.hi+=Math.max(0,y)}return p}}return{lo:0,hi:i.length-1}}function Yu(t,e,n,r,o){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,u=i.length;l<u;++l){const{index:d,data:p}=i[l],{lo:h,hi:A}=aI(i[l],e,a,o);for(let m=h;m<=A;++m){const y=p[m];y.skip||r(y,d,m)}}}function lI(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,o){const i=e?Math.abs(r.x-o.x):0,a=n?Math.abs(r.y-o.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function Ch(t,e,n,r,o){const i=[];return!o&&!t.isPointInArea(e)||Yu(t,n,e,function(l,u,d){!o&&!lb(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:u,index:d})},!0),i}function cI(t,e,n,r){let o=[];function i(a,l,u){const{startAngle:d,endAngle:p}=a.getProps(["startAngle","endAngle"],r),{angle:h}=j8(a,{x:e.x,y:e.y});ah(h,d,p)&&o.push({element:a,datasetIndex:l,index:u})}return Yu(t,n,e,i),o}function uI(t,e,n,r,o,i){let a=[];const l=lI(n);let u=Number.POSITIVE_INFINITY;function d(p,h,A){const m=p.inRange(e.x,e.y,o);if(r&&!m)return;const y=p.getCenterPoint(o);if(!(!!i||t.isPointInArea(y))&&!m)return;const b=l(e,y);b<u?(a=[{element:p,datasetIndex:h,index:A}],u=b):b===u&&a.push({element:p,datasetIndex:h,index:A})}return Yu(t,n,e,d),a}function Ph(t,e,n,r,o,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?cI(t,e,n,o):uI(t,e,n,r,o,i)}function Mb(t,e,n,r,o){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Yu(t,n,e,(u,d,p)=>{u[a]&&u[a](e[n],o)&&(i.push({element:u,datasetIndex:d,index:p}),l=l||u.inRange(e.x,e.y,o))}),r&&!l?[]:i}var dI={modes:{index(t,e,n,r){const o=Ds(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Ch(t,o,i,r,a):Ph(t,o,i,!1,r,a),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const p=l[0].index,h=d.data[p];h&&!h.skip&&u.push({element:h,datasetIndex:d.index,index:p})}),u):[]},dataset(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Ch(t,o,i,r,a):Ph(t,o,i,!1,r,a);if(l.length>0){const u=l[0].datasetIndex,d=t.getDatasetMeta(u).data;l=[];for(let p=0;p<d.length;++p)l.push({element:d[p],datasetIndex:u,index:p})}return l},point(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ch(t,o,i,r,a)},nearest(t,e,n,r){const o=Ds(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ph(t,o,i,n.intersect,r,a)},x(t,e,n,r){const o=Ds(e,t);return Mb(t,o,"x",n.intersect,r)},y(t,e,n,r){const o=Ds(e,t);return Mb(t,o,"y",n.intersect,r)}}};const Ob=["left","top","right","bottom"];function Kl(t,e){return t.filter(n=>n.pos===e)}function Rb(t,e){return t.filter(n=>Ob.indexOf(n.pos)===-1&&n.box.axis===e)}function Gl(t,e){return t.sort((n,r)=>{const o=e?r:n,i=e?n:r;return o.weight===i.weight?o.index-i.index:o.weight-i.weight})}function fI(t){const e=[];let n,r,o,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)o=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=o,e.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:l});return e}function pI(t){const e={};for(const n of t){const{stack:r,pos:o,stackWeight:i}=n;if(!r||!Ob.includes(o))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function hI(t,e){const n=pI(t),{vBoxMaxWidth:r,hBoxMaxHeight:o}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:u}=l.box,d=n[l.stack],p=d&&l.stackWeight/d.weight;l.horizontal?(l.width=p?p*r:u&&e.availableWidth,l.height=o):(l.width=r,l.height=p?p*o:u&&e.availableHeight)}return n}function AI(t){const e=fI(t),n=Gl(e.filter(d=>d.box.fullSize),!0),r=Gl(Kl(e,"left"),!0),o=Gl(Kl(e,"right")),i=Gl(Kl(e,"top"),!0),a=Gl(Kl(e,"bottom")),l=Rb(e,"x"),u=Rb(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(u).concat(a).concat(l),chartArea:Kl(e,"chartArea"),vertical:r.concat(o).concat(u),horizontal:i.concat(a).concat(l)}}function Lb(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Nb(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gI(t,e,n,r){const{pos:o,box:i}=n,a=t.maxPadding;if(!kt(o)){n.size&&(t[o]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[o]+=n.size}i.getPadding&&Nb(a,i.getPadding());const l=Math.max(0,e.outerWidth-Lb(a,t,"left","right")),u=Math.max(0,e.outerHeight-Lb(a,t,"top","bottom")),d=l!==t.w,p=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:d,other:p}:{same:p,other:d}}function mI(t){const e=t.maxPadding;function n(r){const o=Math.max(e[r]-t[r],0);return t[r]+=o,o}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function vI(t,e){const n=e.maxPadding;function r(o){const i={left:0,top:0,right:0,bottom:0};return o.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Xl(t,e,n,r){const o=[];let i,a,l,u,d,p;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],u=l.box,u.update(l.width||e.w,l.height||e.h,vI(l.horizontal,e));const{same:h,other:A}=gI(e,n,l,r);d|=h&&o.length,p=p||A,u.fullSize||o.push(l)}return d&&Xl(o,e,n,r)||p}function qu(t,e,n,r,o){t.top=n,t.left=e,t.right=e+r,t.bottom=n+o,t.width=r,t.height=o}function Fb(t,e,n,r){const o=n.padding;let{x:i,y:a}=e;for(const l of t){const u=l.box,d=r[l.stack]||{placed:0,weight:1},p=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*p,A=d.size||u.height;Ul(d.start)&&(a=d.start),u.fullSize?qu(u,o.left,a,n.outerWidth-o.right-o.left,A):qu(u,e.left+d.placed,a,h,A),d.start=a,d.placed+=h,a=u.bottom}else{const h=e.h*p,A=d.size||u.width;Ul(d.start)&&(i=d.start),u.fullSize?qu(u,i,o.top,A,n.outerHeight-o.bottom-o.top):qu(u,i,e.top+d.placed,A,h),d.start=i,d.placed+=h,i=u.right}}e.x=i,e.y=a}var Xr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const o=Gr(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),l=AI(t.boxes),u=l.vertical,d=l.horizontal;Tt(t.boxes,w=>{typeof w.beforeLayout=="function"&&w.beforeLayout()});const p=u.reduce((w,b)=>b.box.options&&b.box.options.display===!1?w:w+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/p,hBoxMaxHeight:a/2}),A=Object.assign({},o);Nb(A,Gr(r));const m=Object.assign({maxPadding:A,w:i,h:a,x:o.left,y:o.top},o),y=hI(u.concat(d),h);Xl(l.fullSize,m,h,y),Xl(u,m,h,y),Xl(d,m,h,y)&&Xl(u,m,h,y),mI(m),Fb(l.leftAndTop,m,h,y),m.x+=m.w,m.y+=m.h,Fb(l.rightAndBottom,m,h,y),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Tt(l.chartArea,w=>{const b=w.box;Object.assign(b,t.chartArea),b.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class jb{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,o){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,o?Math.floor(n/o):r)}}isAttached(e){return!0}updateConfig(e){}}class yI extends jb{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ku="$chartjs",bI={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zb=t=>t===null||t==="";function xI(t,e){const n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t[Ku]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zb(o)){const i=vb(t,"width");i!==void 0&&(t.width=i)}if(zb(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=vb(t,"height");i!==void 0&&(t.height=i)}return t}const Qb=P_?{passive:!0}:!1;function wI(t,e,n){t&&t.addEventListener(e,n,Qb)}function kI(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Qb)}function SI(t,e){const n=bI[t.type]||t.type,{x:r,y:o}=Ds(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:o!==void 0?o:null}}function Gu(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function EI(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Gu(l.addedNodes,r),a=a&&!Gu(l.removedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function CI(t,e,n){const r=t.canvas,o=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||Gu(l.removedNodes,r),a=a&&!Gu(l.addedNodes,r);a&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Jl=new Map;let Hb=0;function Ub(){const t=window.devicePixelRatio;t!==Hb&&(Hb=t,Jl.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function PI(t,e){Jl.size||window.addEventListener("resize",Ub),Jl.set(t,e)}function DI(t){Jl.delete(t),Jl.size||window.removeEventListener("resize",Ub)}function TI(t,e,n){const r=t.canvas,o=r&&bh(r);if(!o)return;const i=Jy((l,u)=>{const d=o.clientWidth;n(l,u),d<o.clientWidth&&n()},window),a=new ResizeObserver(l=>{const u=l[0],d=u.contentRect.width,p=u.contentRect.height;d===0&&p===0||i(d,p)});return a.observe(o),PI(t,i),a}function Dh(t,e,n){n&&n.disconnect(),e==="resize"&&DI(t)}function BI(t,e,n){const r=t.canvas,o=Jy(i=>{t.ctx!==null&&n(SI(i,t))},t);return wI(r,e,o),o}class _I extends jb{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(xI(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Ku])return!1;const r=n[Ku].initial;["height","width"].forEach(i=>{const a=r[i];Ot(a)?n.removeAttribute(i):n.setAttribute(i,a)});const o=r.style||{};return Object.keys(o).forEach(i=>{n.style[i]=o[i]}),n.width=n.width,delete n[Ku],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const o=e.$proxies||(e.$proxies={}),a={attach:EI,detach:CI,resize:TI}[n]||BI;o[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),o=r[n];if(!o)return;({attach:Dh,detach:Dh,resize:Dh}[n]||kI)(e,n,o),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,o){return C_(e,n,r,o)}isAttached(e){const n=e&&bh(e);return!!(n&&n.isConnected)}}function II(t){return!yh()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?yI:_I}let Sa=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Nu(this.x)&&Nu(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const o={};return e.forEach(i=>{o[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),o}};function MI(t,e){const n=t.options.ticks,r=OI(t),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?LI(e):[],a=i.length,l=i[0],u=i[a-1],d=[];if(a>o)return NI(e,d,i,a/o),d;const p=RI(i,e,o);if(a>0){let h,A;const m=a>1?Math.round((u-l)/(a-1)):null;for(Xu(e,d,p,Ot(m)?0:l-m,l),h=0,A=a-1;h<A;h++)Xu(e,d,p,i[h],i[h+1]);return Xu(e,d,p,u,Ot(m)?e.length:u+m),d}return Xu(e,d,p),d}function OI(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}function RI(t,e,n){const r=FI(t),o=e.length/n;if(!r)return Math.max(o,1);const i=O8(r);for(let a=0,l=i.length-1;a<l;a++){const u=i[a];if(u>o)return u}return Math.max(o,1)}function LI(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function NI(t,e,n,r){let o=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),o++,i=n[o*r])}function Xu(t,e,n,r,o){const i=Ct(r,0),a=Math.min(Ct(o,t.length),t.length);let l=0,u,d,p;for(n=Math.ceil(n),o&&(u=o-r,n=u/Math.floor(u/n)),p=i;p<0;)l++,p=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===p&&(e.push(t[d]),l++,p=Math.round(i+l*n))}function FI(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const jI=t=>t==="left"?"right":t==="right"?"left":t,Vb=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Wb=(t,e)=>Math.min(e||t,t);function Yb(t,e){const n=[],r=t.length/e,o=t.length;let i=0;for(;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function zI(t,e,n){const r=t.ticks.length,o=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let u=t.getPixelForTick(o),d;if(!(n&&(r===1?d=Math.max(u-i,a-u):e===0?d=(t.getPixelForTick(1)-u)/2:d=(u-t.getPixelForTick(o-1))/2,u+=o<e?d:-d,u<i-l||u>a+l)))return u}function QI(t,e){Tt(t,n=>{const r=n.gc,o=r.length/2;let i;if(o>e){for(i=0;i<o;++i)delete n.data[r[i]];r.splice(0,o)}})}function Zl(t){return t.drawTicks?t.tickLength:0}function qb(t,e){if(!t.display)return 0;const n=zn(t.font,e),r=Gr(t.padding);return(gn(t.text)?t.text.length:1)*n.lineHeight+r.height}function HI(t,e){return xa(t,{scale:e,type:"scale"})}function UI(t,e,n){return xa(t,{tick:n,index:e,type:"tick"})}function VI(t,e,n){let r=uh(t);return(n&&e!=="right"||!n&&e==="right")&&(r=jI(r)),r}function WI(t,e,n,r){const{top:o,left:i,bottom:a,right:l,chart:u}=t,{chartArea:d,scales:p}=u;let h=0,A,m,y;const w=a-o,b=l-i;if(t.isHorizontal()){if(m=jn(r,i,l),kt(n)){const P=Object.keys(n)[0],M=n[P];y=p[P].getPixelForValue(M)+w-e}else n==="center"?y=(d.bottom+d.top)/2+w-e:y=Vb(t,n,e);A=l-i}else{if(kt(n)){const P=Object.keys(n)[0],M=n[P];m=p[P].getPixelForValue(M)-b+e}else n==="center"?m=(d.left+d.right)/2-b+e:m=Vb(t,n,e);y=jn(r,a,o),h=n==="left"?-Br:Br}return{titleX:m,titleY:y,maxWidth:A,rotation:h}}class Ea extends Sa{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:o}=this;return e=Lo(e,Number.POSITIVE_INFINITY),n=Lo(n,Number.NEGATIVE_INFINITY),r=Lo(r,Number.POSITIVE_INFINITY),o=Lo(o,Number.NEGATIVE_INFINITY),{min:Lo(e,r),max:Lo(n,o),minDefined:Kr(e),maxDefined:Kr(n)}}getMinMax(e){let{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds(),a;if(o&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let u=0,d=l.length;u<d;++u)a=l[u].controller.getMinMax(this,e),o||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:Lo(n,Lo(r,n)),max:Lo(r,Lo(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ht(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:o,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=u_(this,i,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=l<this.ticks.length;this._convertTicksToLabels(u?Yb(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=MI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ht(this.options.afterUpdate,[this])}beforeSetDimensions(){Ht(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ht(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Ht(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ht(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r],i.label=Ht(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){Ht(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ht(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Wb(this.ticks.length,e.ticks.maxTicksLimit),o=n.minRotation||0,i=n.maxRotation;let a=o,l,u,d;if(!this._isVisible()||!n.display||o>=i||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const p=this._getLabelSizes(),h=p.widest.width,A=p.highest.height,m=lo(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),u=this.maxHeight-Zl(e.grid)-n.padding-qb(e.title,this.chart.options.font),d=Math.sqrt(h*h+A*A),a=F8(Math.min(Math.asin(lo((p.highest.height+6)/l,-1,1)),Math.asin(lo(u/d,-1,1))-Math.asin(lo(A/d,-1,1)))),a=Math.max(o,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){Ht(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ht(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:o,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const u=qb(o,n.options.font);if(l?(e.width=this.maxWidth,e.height=Zl(i)+u):(e.height=this.maxHeight,e.width=Zl(i)+u),r.display&&this.ticks.length){const{first:d,last:p,widest:h,highest:A}=this._getLabelSizes(),m=r.padding*2,y=No(this.labelRotation),w=Math.cos(y),b=Math.sin(y);if(l){const P=r.mirror?0:b*h.width+w*A.height;e.height=Math.min(this.maxHeight,e.height+P+m)}else{const P=r.mirror?0:w*h.width+b*A.height;e.width=Math.min(this.maxWidth,e.width+P+m)}this._calculatePadding(d,p,b,w)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,o){const{ticks:{align:i,padding:a},position:l}=this.options,u=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let A=0,m=0;u?d?(A=o*e.width,m=r*n.height):(A=r*e.height,m=o*n.width):i==="start"?m=n.width:i==="end"?A=e.width:i!=="inner"&&(A=e.width/2,m=n.width/2),this.paddingLeft=Math.max((A-p+a)*this.width/(this.width-p),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let p=n.height/2,h=e.height/2;i==="start"?(p=0,h=e.height):i==="end"&&(p=n.height,h=0),this.paddingTop=p+a,this.paddingBottom=h+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ht(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ot(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Yb(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:o,_longestTextCache:i}=this,a=[],l=[],u=Math.floor(n/Wb(n,r));let d=0,p=0,h,A,m,y,w,b,P,M,D,C,j;for(h=0;h<n;h+=u){if(y=e[h].label,w=this._resolveTickFontOptions(h),o.font=b=w.string,P=i[b]=i[b]||{data:{},gc:[]},M=w.lineHeight,D=C=0,!Ot(y)&&!gn(y))D=ob(o,P.data,P.gc,D,y),C=M;else if(gn(y))for(A=0,m=y.length;A<m;++A)j=y[A],!Ot(j)&&!gn(j)&&(D=ob(o,P.data,P.gc,D,j),C+=M);a.push(D),l.push(C),d=Math.max(D,d),p=Math.max(C,p)}QI(i,n);const R=a.indexOf(d),z=l.indexOf(p),V=K=>({width:a[K]||0,height:l[K]||0});return{first:V(0),last:V(n-1),widest:V(R),highest:V(z),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Q8(this._alignToPixels?Cs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=UI(this.getContext(),e,r))}return this.$context||(this.$context=HI(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=No(this.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,u=i?i.highest.height+a:0;return this.isHorizontal()?u*r>l*o?l/r:u/o:u*o<l*r?u/r:l/o}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,o=this.options,{grid:i,position:a,border:l}=o,u=i.offset,d=this.isHorizontal(),h=this.ticks.length+(u?1:0),A=Zl(i),m=[],y=l.setContext(this.getContext()),w=y.display?y.width:0,b=w/2,P=function(pe){return Cs(r,pe,w)};let M,D,C,j,R,z,V,K,q,Z,W,oe;if(a==="top")M=P(this.bottom),z=this.bottom-A,K=M-b,Z=P(e.top)+b,oe=e.bottom;else if(a==="bottom")M=P(this.top),Z=e.top,oe=P(e.bottom)-b,z=M+b,K=this.top+A;else if(a==="left")M=P(this.right),R=this.right-A,V=M-b,q=P(e.left)+b,W=e.right;else if(a==="right")M=P(this.left),q=e.left,W=P(e.right)-b,R=M+b,V=this.left+A;else if(n==="x"){if(a==="center")M=P((e.top+e.bottom)/2+.5);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}Z=e.top,oe=e.bottom,z=M+b,K=z+A}else if(n==="y"){if(a==="center")M=P((e.left+e.right)/2);else if(kt(a)){const pe=Object.keys(a)[0],ee=a[pe];M=P(this.chart.scales[pe].getPixelForValue(ee))}R=M-b,V=R-A,q=e.left,W=e.right}const ue=Ct(o.ticks.maxTicksLimit,h),te=Math.max(1,Math.ceil(h/ue));for(D=0;D<h;D+=te){const pe=this.getContext(D),ee=i.setContext(pe),G=l.setContext(pe),N=ee.lineWidth,de=ee.color,I=G.dash||[],J=G.dashOffset,ve=ee.tickWidth,me=ee.tickColor,we=ee.tickBorderDash||[],_e=ee.tickBorderDashOffset;C=zI(this,D,u),C!==void 0&&(j=Cs(r,C,N),d?R=V=q=W=j:z=K=Z=oe=j,m.push({tx1:R,ty1:z,tx2:V,ty2:K,x1:q,y1:Z,x2:W,y2:oe,width:N,color:de,borderDash:I,borderDashOffset:J,tickWidth:ve,tickColor:me,tickBorderDash:we,tickBorderDashOffset:_e}))}return this._ticksLength=h,this._borderValue=M,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:o,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:d,padding:p,mirror:h}=i,A=Zl(r.grid),m=A+p,y=h?-p:m,w=-No(this.labelRotation),b=[];let P,M,D,C,j,R,z,V,K,q,Z,W,oe="middle";if(o==="top")R=this.bottom-y,z=this._getXAxisLabelAlignment();else if(o==="bottom")R=this.top+y,z=this._getXAxisLabelAlignment();else if(o==="left"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(o==="right"){const te=this._getYAxisLabelAlignment(A);z=te.textAlign,j=te.x}else if(n==="x"){if(o==="center")R=(e.top+e.bottom)/2+m;else if(kt(o)){const te=Object.keys(o)[0],pe=o[te];R=this.chart.scales[te].getPixelForValue(pe)+m}z=this._getXAxisLabelAlignment()}else if(n==="y"){if(o==="center")j=(e.left+e.right)/2-m;else if(kt(o)){const te=Object.keys(o)[0],pe=o[te];j=this.chart.scales[te].getPixelForValue(pe)}z=this._getYAxisLabelAlignment(A).textAlign}n==="y"&&(u==="start"?oe="top":u==="end"&&(oe="bottom"));const ue=this._getLabelSizes();for(P=0,M=l.length;P<M;++P){D=l[P],C=D.label;const te=i.setContext(this.getContext(P));V=this.getPixelForTick(P)+i.labelOffset,K=this._resolveTickFontOptions(P),q=K.lineHeight,Z=gn(C)?C.length:1;const pe=Z/2,ee=te.color,G=te.textStrokeColor,N=te.textStrokeWidth;let de=z;a?(j=V,z==="inner"&&(P===M-1?de=this.options.reverse?"left":"right":P===0?de=this.options.reverse?"right":"left":de="center"),o==="top"?d==="near"||w!==0?W=-Z*q+q/2:d==="center"?W=-ue.highest.height/2-pe*q+q:W=-ue.highest.height+q/2:d==="near"||w!==0?W=q/2:d==="center"?W=ue.highest.height/2-pe*q:W=ue.highest.height-Z*q,h&&(W*=-1),w!==0&&!te.showLabelBackdrop&&(j+=q/2*Math.sin(w))):(R=V,W=(1-Z)*q/2);let I;if(te.showLabelBackdrop){const J=Gr(te.backdropPadding),ve=ue.heights[P],me=ue.widths[P];let we=W-J.top,_e=0-J.left;switch(oe){case"middle":we-=ve/2;break;case"bottom":we-=ve;break}switch(z){case"center":_e-=me/2;break;case"right":_e-=me;break;case"inner":P===M-1?_e-=me:P>0&&(_e-=me/2);break}I={left:_e,top:we,width:me+J.width,height:ve+J.height,color:te.backdropColor}}b.push({label:C,font:K,textOffset:W,options:{rotation:w,color:ee,strokeColor:G,strokeWidth:N,textAlign:de,textBaseline:oe,translation:[j,R],backdrop:I}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-No(this.labelRotation))return e==="top"?"left":"right";let o="center";return n.align==="start"?o="left":n.align==="end"?o="right":n.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:o,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,u=a.widest.width;let d,p;return n==="left"?o?(p=this.right+i,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p+=u)):(p=this.right-l,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p=this.left)):n==="right"?o?(p=this.left+i,r==="near"?d="right":r==="center"?(d="center",p-=u/2):(d="left",p-=u)):(p=this.left+l,r==="near"?d="left":r==="center"?(d="center",p+=u/2):(d="right",p=this.right)):d="right",{textAlign:d,x:p}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:o,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,o,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const o=this.ticks.findIndex(i=>i.value===e);return o>=0?n.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(u,d,p)=>{!p.width||!p.color||(r.save(),r.lineWidth=p.width,r.strokeStyle=p.color,r.setLineDash(p.borderDash||[]),r.lineDashOffset=p.borderDashOffset,r.beginPath(),r.moveTo(u.x,u.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=o.length;i<a;++i){const u=o[i];n.drawOnChartArea&&l({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),n.drawTicks&&l({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:o}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=o.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let d,p,h,A;this.isHorizontal()?(d=Cs(e,this.left,a)-a/2,p=Cs(e,this.right,l)+l/2,h=A=u):(h=Cs(e,this.top,a)-a/2,A=Cs(e,this.bottom,l)+l/2,d=p=u),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(p,A),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,o=this._computeLabelArea();o&&hh(r,o);const i=this.getLabelItems(e);for(const a of i){const l=a.options,u=a.font,d=a.label,p=a.textOffset;Yl(r,d,0,p,u,l)}o&&Ah(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:o}}=this;if(!r.display)return;const i=zn(r.font),a=Gr(r.padding),l=r.align;let u=i.lineHeight/2;n==="bottom"||n==="center"||kt(n)?(u+=a.bottom,gn(r.text)&&(u+=i.lineHeight*(r.text.length-1))):u+=a.top;const{titleX:d,titleY:p,maxWidth:h,rotation:A}=WI(this,u,n,l);Yl(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:A,textAlign:VI(l,n,o),textBaseline:"middle",translation:[d,p]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Ct(e.grid&&e.grid.z,-1),o=Ct(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Ea.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&o.push(l)}return o}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return zn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ju{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;KI(n)&&(r=this.register(n));const o=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in o||(o[i]=e,YI(e,a,r),this.override&&Zt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,o=this.scope;r in n&&delete n[r],o&&r in Zt[o]&&(delete Zt[o][r],this.override&&delete Es[r])}}function YI(t,e,n){const r=Ql(Object.create(null),[n?Zt.get(n):{},Zt.get(e),t.defaults]);Zt.set(e,r),t.defaultRoutes&&qI(e,t.defaultRoutes),t.descriptors&&Zt.describe(e,t.descriptors)}function qI(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),u=a.join(".");Zt.route(i,o,u,l)})}function KI(t){return"id"in t&&"defaults"in t}class GI{constructor(){this.controllers=new Ju(Wu,"datasets",!0),this.elements=new Ju(Sa,"elements"),this.plugins=new Ju(Object,"plugins"),this.scales=new Ju(Ea,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(o=>{const i=r||this._getRegistryForType(o);r||i.isForType(o)||i===this.plugins&&o.id?this._exec(e,i,o):Tt(o,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const o=sh(e);Ht(r["before"+o],[],r),n[e](r),Ht(r["after"+o],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const o=n.get(e);if(o===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return o}}var Fo=new GI;class XI{constructor(){this._init=void 0}notify(e,n,r,o){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=o?this._descriptors(e).filter(o):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,n,r,o){o=o||{};for(const i of e){const a=i.plugin,l=a[r],u=[n,o,i.options];if(Ht(l,u,a)===!1&&o.cancelable)return!1}return!0}invalidate(){Ot(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,o=Ct(r.options&&r.options.plugins,{}),i=JI(r);return o===!1&&!n?[]:$I(e,i,o,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,o=(i,a)=>i.filter(l=>!a.some(u=>l.plugin.id===u.plugin.id));this._notify(o(n,r),e,"stop"),this._notify(o(r,n),e,"start")}}function JI(t){const e={},n=[],r=Object.keys(Fo.plugins.items);for(let i=0;i<r.length;i++)n.push(Fo.getPlugin(r[i]));const o=t.plugins||[];for(let i=0;i<o.length;i++){const a=o[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function ZI(t,e){return!e&&t===!1?null:t===!0?{}:t}function $I(t,{plugins:e,localIds:n},r,o){const i=[],a=t.getContext();for(const l of e){const u=l.id,d=ZI(r[u],o);d!==null&&i.push({plugin:l,options:e5(t.config,{plugin:l,local:n[u]},d,a)})}return i}function e5(t,{plugin:e,local:n},r,o){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Th(t,e){const n=Zt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function t5(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function n5(t,e){return t===e?"_index_":"_value_"}function Kb(t){if(t==="x"||t==="y"||t==="r")return t}function r5(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Bh(t,...e){if(Kb(t))return t;for(const n of e){const r=n.axis||r5(n.position)||t.length>1&&Kb(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gb(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function o5(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Gb(t,"x",n[0])||Gb(t,"y",n[0])}return{}}function i5(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},o=Th(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!kt(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const u=Bh(a,l,o5(a,t),Zt.scales[l.type]),d=n5(u,o),p=n.scales||{};i[a]=Hl(Object.create(null),[{axis:u},l,p[u],p[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,u=a.indexAxis||Th(l,e),p=(Es[l]||{}).scales||{};Object.keys(p).forEach(h=>{const A=t5(h,u),m=a[A+"AxisID"]||A;i[m]=i[m]||Object.create(null),Hl(i[m],[{axis:A},r[m],p[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];Hl(l,[Zt.scales[l.type],Zt.scale])}),i}function Xb(t){const e=t.options||(t.options={});e.plugins=Ct(e.plugins,{}),e.scales=i5(t,e)}function Jb(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function s5(t){return t=t||{},t.data=Jb(t.data),Xb(t),t}const Zb=new Map,$b=new Set;function Zu(t,e){let n=Zb.get(t);return n||(n=e(),Zb.set(t,n),$b.add(n)),n}const $l=(t,e,n)=>{const r=zi(e,n);r!==void 0&&t.add(r)};let a5=class{constructor(e){this._config=s5(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Jb(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Xb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Zu(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Zu(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Zu(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Zu(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let o=r.get(e);return(!o||n)&&(o=new Map,r.set(e,o)),o}getOptionScopes(e,n,r){const{options:o,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const u=new Set;n.forEach(p=>{e&&(u.add(e),p.forEach(h=>$l(u,e,h))),p.forEach(h=>$l(u,o,h)),p.forEach(h=>$l(u,Es[i]||{},h)),p.forEach(h=>$l(u,Zt,h)),p.forEach(h=>$l(u,fh,h))});const d=Array.from(u);return d.length===0&&d.push(Object.create(null)),$b.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},Zt.datasets[n]||{},{type:n},Zt,fh]}resolveNamedOptions(e,n,r,o=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=ex(this._resolverCache,e,o);let u=a;if(c5(a,n)){i.$shared=!1,r=Qi(r)?r():r;const d=this.createResolver(e,r,l);u=wa(a,r,d)}for(const d of n)i[d]=u[d];return i}createResolver(e,n,r=[""],o){const{resolver:i}=ex(this._resolverCache,e,r);return kt(n)?wa(i,n,void 0,o):i}};function ex(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const o=n.join();let i=r.get(o);return i||(i={resolver:gh(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(o,i)),i}const l5=t=>kt(t)&&Object.getOwnPropertyNames(t).some(e=>Qi(t[e]));function c5(t,e){const{isScriptable:n,isIndexable:r}=db(t);for(const o of e){const i=n(o),a=r(o),l=(a||i)&&t[o];if(i&&(Qi(l)||l5(l))||a&&gn(l))return!0}return!1}var u5="4.5.1";const d5=["top","bottom","left","right","chartArea"];function tx(t,e){return t==="top"||t==="bottom"||d5.indexOf(t)===-1&&e==="x"}function nx(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function rx(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Ht(n&&n.onComplete,[t],e)}function f5(t){const e=t.chart,n=e.options.animation;Ht(n&&n.onProgress,[t],e)}function ox(t){return yh()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const $u={},ix=t=>{const e=ox(t);return Object.values($u).filter(n=>n.canvas===e).pop()};function p5(t,e,n){const r=Object.keys(t);for(const o of r){const i=+o;if(i>=e){const a=t[o];delete t[o],(n>0||i>e)&&(t[i+n]=a)}}}function h5(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}let _h=class{static defaults=Zt;static instances=$u;static overrides=Es;static registry=Fo;static version=u5;static getChart=ix;static register(...e){Fo.add(...e),sx()}static unregister(...e){Fo.remove(...e),sx()}constructor(e,n){const r=this.config=new a5(n),o=ox(e),i=ix(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||II(o)),this.platform.updateConfig(r);const l=this.platform.acquireContext(o,a.aspectRatio),u=l&&l.canvas,d=u&&u.height,p=u&&u.width;if(this.id=C8(),this.ctx=l,this.canvas=u,this.width=p,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new XI,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=W8(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],$u[this.id]=this,!l||!u){console.error("Failed to create chart: can't acquire context from the given item");return}ui.listen(this,"complete",rx),ui.listen(this,"progress",f5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:o,_aspectRatio:i}=this;return Ot(e)?n&&i?i:o?r/o:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Fo}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():mb(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ib(this.canvas,this.ctx),this}stop(){return ui.stop(this),this}resize(e,n){ui.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,o=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,mb(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Ht(r.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Tt(n,(r,o)=>{r.id=o})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,o=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],u=Bh(a,l),d=u==="r",p=u==="x";return{options:l,dposition:d?"chartArea":p?"bottom":"left",dtype:d?"radialLinear":p?"category":"linear"}}))),Tt(i,a=>{const l=a.options,u=l.id,d=Bh(u,l),p=Ct(l.type,a.dtype);(l.position===void 0||tx(l.position,d)!==tx(a.dposition))&&(l.position=a.dposition),o[u]=!0;let h=null;if(u in r&&r[u].type===p)h=r[u];else{const A=Fo.getScale(p);h=new A({id:u,type:p,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Tt(o,(a,l)=>{a||delete r[l]}),Tt(r,a=>{Xr.configure(this,a,a.options),Xr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((o,i)=>o.index-i.index),r>n){for(let o=n;o<r;++o)this._destroyDatasetMeta(o);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(nx("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,o)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=n.length;r<o;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Th(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const u=Fo.getController(l),{datasetElementType:d,dataElementType:p}=Zt.datasets[l];Object.assign(u,{dataElementType:Fo.getElement(p),datasetElementType:d&&Fo.getElement(d)}),a.controller=new u(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Tt(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,p=this.data.datasets.length;d<p;d++){const{controller:h}=this.getDatasetMeta(d),A=!o&&i.indexOf(h)===-1;h.buildOrUpdateElements(A),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||Tt(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(nx("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Tt(this.scales,e=>{Xr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Hy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:i}of n){const a=r==="_removeElements"?-i:i;p5(e,o,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),o=r(0);for(let i=1;i<n;i++)if(!Hy(o,r(i)))return;return Array.from(o).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Xr.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Tt(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,i)=>{o._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Qi(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(r.controller._update(n),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ui.has(this)?this.attached&&!ui.running(this)&&ui.start(this):(this.draw(),rx({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let o,i;for(o=0,i=n.length;o<i;++o){const a=n[o];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r={meta:e,index:e.index,cancelable:!0},o=__(this,e);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(o&&hh(n,o),e.controller.draw(),o&&Ah(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return lb(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,o){const i=dI.modes[n];return typeof i=="function"?i(this,e,r,o):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let o=r.filter(i=>i&&i._dataset===n).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=xa(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const o=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,o);Ul(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?o:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),ui.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ib(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete $u[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},o=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Tt(this.options.events,i=>r(i,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(u,d)=>{n.addEventListener(this,u,d),e[u]=d},o=(u,d)=>{e[u]&&(n.removeEventListener(this,u,d),delete e[u])},i=(u,d)=>{this.canvas&&this.resize(u,d)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,o("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Tt(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Tt(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const o=r?"set":"remove";let i,a,l,u;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+o+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!Mu(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const o=this.options.hover,i=(u,d)=>u.filter(p=>!d.some(h=>p.datasetIndex===h.datasetIndex&&p.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:o=[],options:i}=this,a=n,l=this._getActiveElements(e,o,r,a),u=I8(e),d=h5(e,this._lastEvent,r,u);r&&(this._lastEvent=null,Ht(i.onHover,[e,l,this],this),u&&Ht(i.onClick,[e,l,this],this));const p=!Mu(l,o);return(p||n)&&(this._active=l,this._updateHoverStyles(l,o,n)),this._lastEvent=d,p}_getActiveElements(e,n,r,o){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,o)}};function sx(){return Tt(_h.instances,t=>t._plugins.invalidate())}function ax(t,e){const{x:n,y:r,base:o,width:i,height:a}=t.getProps(["x","y","base","width","height"],e);let l,u,d,p,h;return t.horizontal?(h=a/2,l=Math.min(n,o),u=Math.max(n,o),d=r-h,p=r+h):(h=i/2,l=n-h,u=n+h,d=Math.min(r,o),p=Math.max(r,o)),{left:l,top:d,right:u,bottom:p}}function Vi(t,e,n,r){return t?0:lo(e,n,r)}function A5(t,e,n){const r=t.options.borderWidth,o=t.borderSkipped,i=ub(r);return{t:Vi(o.top,i.top,0,n),r:Vi(o.right,i.right,0,e),b:Vi(o.bottom,i.bottom,0,n),l:Vi(o.left,i.left,0,e)}}function g5(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,i=ba(o),a=Math.min(e,n),l=t.borderSkipped,u=r||kt(o);return{topLeft:Vi(!u||l.top||l.left,i.topLeft,0,a),topRight:Vi(!u||l.top||l.right,i.topRight,0,a),bottomLeft:Vi(!u||l.bottom||l.left,i.bottomLeft,0,a),bottomRight:Vi(!u||l.bottom||l.right,i.bottomRight,0,a)}}function m5(t){const e=ax(t),n=e.right-e.left,r=e.bottom-e.top,o=A5(t,n/2,r/2),i=g5(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function Ih(t,e,n,r){const o=e===null,i=n===null,l=t&&!(o&&i)&&ax(t,r);return l&&(o||ya(e,l.left,l.right))&&(i||ya(n,l.top,l.bottom))}function v5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function y5(t,e){t.rect(e.x,e.y,e.w,e.h)}function Mh(t,e,n={}){const r=t.x!==n.x?-e:0,o=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-o;return{x:t.x+r,y:t.y+o,w:t.w+i,h:t.h+a,radius:t.radius}}class b5 extends Sa{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:r,backgroundColor:o}}=this,{inner:i,outer:a}=m5(this),l=v5(a.radius)?zu:y5;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),l(e,Mh(a,n,i)),e.clip(),l(e,Mh(i,-n,a)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),l(e,Mh(i,n)),e.fillStyle=o,e.fill(),e.restore()}inRange(e,n,r){return Ih(this,e,n,r)}inXRange(e,n){return Ih(this,e,null,n)}inYRange(e,n){return Ih(this,null,e,n)}getCenterPoint(e){const{x:n,y:r,base:o,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}const Oh=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],lx=Oh.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function cx(t){return Oh[t%Oh.length]}function ux(t){return lx[t%lx.length]}function x5(t,e){return t.borderColor=cx(e),t.backgroundColor=ux(e),++e}function w5(t,e){return t.backgroundColor=t.data.map(()=>cx(e++)),e}function k5(t,e){return t.backgroundColor=t.data.map(()=>ux(e++)),e}function S5(t){let e=0;return(n,r)=>{const o=t.getDatasetMeta(r).controller;o instanceof oI?e=w5(n,e):o instanceof iI?e=k5(n,e):o&&(e=x5(n,e))}}function dx(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function E5(t){return t&&(t.borderColor||t.backgroundColor)}function C5(){return Zt.borderColor!=="rgba(0,0,0,0.1)"||Zt.backgroundColor!=="rgba(0,0,0,0.1)"}var P5={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,n){if(!n.enabled)return;const{data:{datasets:r},options:o}=t.config,{elements:i}=o,a=dx(r)||E5(o)||i&&dx(i)||C5();if(!n.forceOverride&&a)return;const l=S5(t);r.forEach(l)}};const fx=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},D5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class px extends Sa{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,r){this.maxWidth=e,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Ht(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,o)=>e.sort(r,o,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const r=e.labels,o=zn(r.font),i=o.size,a=this._computeTitleHeight(),{boxWidth:l,itemHeight:u}=fx(r,i);let d,p;n.font=o.string,this.isHorizontal()?(d=this.maxWidth,p=this._fitRows(a,i,l,u)+10):(p=this.maxHeight,d=this._fitCols(a,o,l,u)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(p,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,o){const{ctx:i,maxWidth:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.lineWidths=[0],p=o+l;let h=e;i.textAlign="left",i.textBaseline="middle";let A=-1,m=-p;return this.legendItems.forEach((y,w)=>{const b=r+n/2+i.measureText(y.text).width;(w===0||d[d.length-1]+b+2*l>a)&&(h+=p,d[d.length-(w>0?0:1)]=0,m+=p,A++),u[w]={left:0,top:m,row:A,width:b,height:o},d[d.length-1]+=b+l}),h}_fitCols(e,n,r,o){const{ctx:i,maxHeight:a,options:{labels:{padding:l}}}=this,u=this.legendHitBoxes=[],d=this.columnSizes=[],p=a-e;let h=l,A=0,m=0,y=0,w=0;return this.legendItems.forEach((b,P)=>{const{itemWidth:M,itemHeight:D}=T5(r,n,i,b,o);P>0&&m+D+2*l>p&&(h+=A+l,d.push({width:A,height:m}),y+=A+l,w++,A=m=0),u[P]={left:y,top:m,col:w,width:M,height:D},A=Math.max(A,M),m+=D+l}),h+=A,d.push({width:A,height:m}),h}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:o},rtl:i}}=this,a=ka(i,this.left,this.width);if(this.isHorizontal()){let l=0,u=jn(r,this.left+o,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,u=jn(r,this.left+o,this.right-this.lineWidths[l])),d.top+=this.top+e+o,d.left=a.leftForLtr(a.x(u),d.width),u+=d.width+o}else{let l=0,u=jn(r,this.top+e+o,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,u=jn(r,this.top+e+o,this.bottom-this.columnSizes[l].height)),d.top=u,d.left+=this.left+o,d.left=a.leftForLtr(a.x(d.left),d.width),u+=d.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;hh(e,this),this._draw(),Ah(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:o}=this,{align:i,labels:a}=e,l=Zt.color,u=ka(e.rtl,this.left,this.width),d=zn(a.font),{padding:p}=a,h=d.size,A=h/2;let m;this.drawTitle(),o.textAlign=u.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=d.string;const{boxWidth:y,boxHeight:w,itemHeight:b}=fx(a,h),P=function(R,z,V){if(isNaN(y)||y<=0||isNaN(w)||w<0)return;o.save();const K=Ct(V.lineWidth,1);if(o.fillStyle=Ct(V.fillStyle,l),o.lineCap=Ct(V.lineCap,"butt"),o.lineDashOffset=Ct(V.lineDashOffset,0),o.lineJoin=Ct(V.lineJoin,"miter"),o.lineWidth=K,o.strokeStyle=Ct(V.strokeStyle,l),o.setLineDash(Ct(V.lineDash,[])),a.usePointStyle){const q={radius:w*Math.SQRT2/2,pointStyle:V.pointStyle,rotation:V.rotation,borderWidth:K},Z=u.xPlus(R,y/2),W=z+A;ab(o,q,Z,W,a.pointStyleWidth&&y)}else{const q=z+Math.max((h-w)/2,0),Z=u.leftForLtr(R,y),W=ba(V.borderRadius);o.beginPath(),Object.values(W).some(oe=>oe!==0)?zu(o,{x:Z,y:q,w:y,h:w,radius:W}):o.rect(Z,q,y,w),o.fill(),K!==0&&o.stroke()}o.restore()},M=function(R,z,V){Yl(o,V.text,R,z+b/2,d,{strikethrough:V.hidden,textAlign:u.textAlign(V.textAlign)})},D=this.isHorizontal(),C=this._computeTitleHeight();D?m={x:jn(i,this.left+p,this.right-r[0]),y:this.top+p+C,line:0}:m={x:this.left+p,y:jn(i,this.top+C+p,this.bottom-n[0].height),line:0},yb(this.ctx,e.textDirection);const j=b+p;this.legendItems.forEach((R,z)=>{o.strokeStyle=R.fontColor,o.fillStyle=R.fontColor;const V=o.measureText(R.text).width,K=u.textAlign(R.textAlign||(R.textAlign=a.textAlign)),q=y+A+V;let Z=m.x,W=m.y;u.setWidth(this.width),D?z>0&&Z+q+p>this.right&&(W=m.y+=j,m.line++,Z=m.x=jn(i,this.left+p,this.right-r[m.line])):z>0&&W+j>this.bottom&&(Z=m.x=Z+n[m.line].width+p,m.line++,W=m.y=jn(i,this.top+C+p,this.bottom-n[m.line].height));const oe=u.x(Z);if(P(oe,W,R),Z=Y8(K,Z+y+A,D?Z+q:this.right,e.rtl),M(u.x(Z),W,R),D)m.x+=q+p;else if(typeof R.text!="string"){const ue=d.lineHeight;m.y+=hx(R,ue)+p}else m.y+=j}),bb(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=zn(n.font),o=Gr(n.padding);if(!n.display)return;const i=ka(e.rtl,this.left,this.width),a=this.ctx,l=n.position,u=r.size/2,d=o.top+u;let p,h=this.left,A=this.width;if(this.isHorizontal())A=Math.max(...this.lineWidths),p=this.top+d,h=jn(e.align,h,this.right-A);else{const y=this.columnSizes.reduce((w,b)=>Math.max(w,b.height),0);p=d+jn(e.align,this.top,this.bottom-y-e.labels.padding-this._computeTitleHeight())}const m=jn(l,h,h+A);a.textAlign=i.textAlign(uh(l)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,Yl(a,n.text,m,p,r)}_computeTitleHeight(){const e=this.options.title,n=zn(e.font),r=Gr(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,o,i;if(ya(e,this.left,this.right)&&ya(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(o=i[r],ya(e,o.left,o.left+o.width)&&ya(n,o.top,o.top+o.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!I5(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const o=this._hoveredItem,i=D5(o,r);o&&!i&&Ht(n.onLeave,[e,o,this],this),this._hoveredItem=r,r&&!i&&Ht(n.onHover,[e,r,this],this)}else r&&Ht(n.onClick,[e,r,this],this)}}function T5(t,e,n,r,o){const i=B5(r,t,e,n),a=_5(o,r,e.lineHeight);return{itemWidth:i,itemHeight:a}}function B5(t,e,n,r){let o=t.text;return o&&typeof o!="string"&&(o=o.reduce((i,a)=>i.length>a.length?i:a)),e+n.size/2+r.measureText(o).width}function _5(t,e,n){let r=t;return typeof e.text!="string"&&(r=hx(e,n)),r}function hx(t,e){const n=t.text?t.text.length:0;return e*n}function I5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var M5={id:"legend",_element:px,start(t,e,n){const r=t.legend=new px({ctx:t.ctx,options:n,chart:t});Xr.configure(t,r,n),Xr.addBox(t,r)},stop(t){Xr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Xr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const d=u.controller.getStyle(n?0:void 0),p=Gr(d.borderWidth);return{text:e[u.index].label,fillStyle:d.backgroundColor,fontColor:i,hidden:!u.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(p.width+p.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:o||d.textAlign,borderRadius:a&&(l||d.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ax extends Sa{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const o=gn(r.text)?r.text.length:1;this._padding=Gr(r.padding);const i=o*zn(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:o,right:i,options:a}=this,l=a.align;let u=0,d,p,h;return this.isHorizontal()?(p=jn(l,r,i),h=n+e,d=i-r):(a.position==="left"?(p=r+e,h=jn(l,o,n),u=mn*-.5):(p=i-e,h=jn(l,n,o),u=mn*.5),d=o-n),{titleX:p,titleY:h,maxWidth:d,rotation:u}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=zn(n.font),i=r.lineHeight/2+this._padding.top,{titleX:a,titleY:l,maxWidth:u,rotation:d}=this._drawArgs(i);Yl(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:uh(n.align),textBaseline:"middle",translation:[a,l]})}}function O5(t,e){const n=new Ax({ctx:t.ctx,options:e,chart:t});Xr.configure(t,n,e),Xr.addBox(t,n),t.titleBlock=n}var R5={id:"title",_element:Ax,start(t,e,n){O5(t,n)},stop(t){const e=t.titleBlock;Xr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Xr.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ec={average(t){if(!t.length)return!1;let e,n,r=new Set,o=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const u=l.tooltipPosition();r.add(u.x),o+=u.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((l,u)=>l+u)/r.size,y:o/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,o=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const u=t[i].element;if(u&&u.hasValue()){const d=u.getCenterPoint(),p=z8(e,d);p<o&&(o=p,l=u)}}if(l){const u=l.tooltipPosition();n=u.x,r=u.y}return{x:n,y:r}}};function jo(t,e){return e&&(gn(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function di(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
309
309
  `)>-1?t.split(`
310
310
  `):t}function L5(t,e){const{element:n,datasetIndex:r,index:o}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(o);return{chart:t,label:a,parsed:i.getParsed(o),raw:t.data.datasets[r].data[o],formattedValue:l,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function gx(t,e){const n=t.chart.ctx,{body:r,footer:o,title:i}=t,{boxWidth:a,boxHeight:l}=e,u=zn(e.bodyFont),d=zn(e.titleFont),p=zn(e.footerFont),h=i.length,A=o.length,m=r.length,y=Gr(e.padding);let w=y.height,b=0,P=r.reduce((C,j)=>C+j.before.length+j.lines.length+j.after.length,0);if(P+=t.beforeBody.length+t.afterBody.length,h&&(w+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),P){const C=e.displayColors?Math.max(l,u.lineHeight):u.lineHeight;w+=m*C+(P-m)*u.lineHeight+(P-1)*e.bodySpacing}A&&(w+=e.footerMarginTop+A*p.lineHeight+(A-1)*e.footerSpacing);let M=0;const D=function(C){b=Math.max(b,n.measureText(C).width+M)};return n.save(),n.font=d.string,Tt(t.title,D),n.font=u.string,Tt(t.beforeBody.concat(t.afterBody),D),M=e.displayColors?a+2+e.boxPadding:0,Tt(r,C=>{Tt(C.before,D),Tt(C.lines,D),Tt(C.after,D)}),M=0,n.font=p.string,Tt(t.footer,D),n.restore(),b+=y.width,{width:b,height:w}}function N5(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function F5(t,e,n,r){const{x:o,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&o+i+a>e.width||t==="right"&&o-i-a<0)return!0}function j5(t,e,n,r){const{x:o,width:i}=n,{width:a,chartArea:{left:l,right:u}}=t;let d="center";return r==="center"?d=o<=(l+u)/2?"left":"right":o<=i/2?d="left":o>=a-i/2&&(d="right"),F5(d,t,e,n)&&(d="center"),d}function mx(t,e,n){const r=n.yAlign||e.yAlign||N5(t,n);return{xAlign:n.xAlign||e.xAlign||j5(t,e,n,r),yAlign:r}}function z5(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function Q5(t,e,n){let{y:r,height:o}=t;return e==="top"?r+=n:e==="bottom"?r-=o+n:r-=o/2,r}function vx(t,e,n,r){const{caretSize:o,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:u}=n,d=o+i,{topLeft:p,topRight:h,bottomLeft:A,bottomRight:m}=ba(a);let y=z5(e,l);const w=Q5(e,u,d);return u==="center"?l==="left"?y+=d:l==="right"&&(y-=d):l==="left"?y-=Math.max(p,A)+o:l==="right"&&(y+=Math.max(h,m)+o),{x:lo(y,0,r.width-e.width),y:lo(w,0,r.height-e.height)}}function ed(t,e,n){const r=Gr(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function yx(t){return jo([],di(t))}function H5(t,e,n){return xa(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function bx(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const xx={beforeTitle:ci,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:ci,beforeBody:ci,beforeLabel:ci,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ot(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:ci,afterBody:ci,beforeFooter:ci,footer:ci,afterFooter:ci};function lr(t,e,n,r){const o=t[e].call(n,r);return typeof o>"u"?xx[e].call(n,r):o}class wx extends Sa{static positioners=ec;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&n.options.animation&&r.animations,i=new wb(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=H5(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,o=lr(r,"beforeTitle",this,e),i=lr(r,"title",this,e),a=lr(r,"afterTitle",this,e);let l=[];return l=jo(l,di(o)),l=jo(l,di(i)),l=jo(l,di(a)),l}getBeforeBody(e,n){return yx(lr(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,o=[];return Tt(e,i=>{const a={before:[],lines:[],after:[]},l=bx(r,i);jo(a.before,di(lr(l,"beforeLabel",this,i))),jo(a.lines,lr(l,"label",this,i)),jo(a.after,di(lr(l,"afterLabel",this,i))),o.push(a)}),o}getAfterBody(e,n){return yx(lr(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,o=lr(r,"beforeFooter",this,e),i=lr(r,"footer",this,e),a=lr(r,"afterFooter",this,e);let l=[];return l=jo(l,di(o)),l=jo(l,di(i)),l=jo(l,di(a)),l}_createItems(e){const n=this._active,r=this.chart.data,o=[],i=[],a=[];let l=[],u,d;for(u=0,d=n.length;u<d;++u)l.push(L5(this.chart,n[u]));return e.filter&&(l=l.filter((p,h,A)=>e.filter(p,h,A,r))),e.itemSort&&(l=l.sort((p,h)=>e.itemSort(p,h,r))),Tt(l,p=>{const h=bx(e.callbacks,p);o.push(lr(h,"labelColor",this,p)),i.push(lr(h,"labelPointStyle",this,p)),a.push(lr(h,"labelTextColor",this,p))}),this.labelColors=o,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),o=this._active;let i,a=[];if(!o.length)this.opacity!==0&&(i={opacity:0});else{const l=ec[r.position].call(this,o,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const u=this._size=gx(this,r),d=Object.assign({},l,u),p=mx(this.chart,r,d),h=vx(r,d,p,this.chart);this.xAlign=p.xAlign,this.yAlign=p.yAlign,i={opacity:1,x:h.x,y:h.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,o){const i=this.getCaretPosition(e,r,o);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:o,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:u,topRight:d,bottomLeft:p,bottomRight:h}=ba(l),{x:A,y:m}=e,{width:y,height:w}=n;let b,P,M,D,C,j;return i==="center"?(C=m+w/2,o==="left"?(b=A,P=b-a,D=C+a,j=C-a):(b=A+y,P=b+a,D=C-a,j=C+a),M=b):(o==="left"?P=A+Math.max(u,p)+a:o==="right"?P=A+y-Math.max(d,h)-a:P=this.caretX,i==="top"?(D=m,C=D-a,b=P-a,M=P+a):(D=m+w,C=D+a,b=P+a,M=P-a),j=D),{x1:b,x2:P,x3:M,y1:D,y2:C,y3:j}}drawTitle(e,n,r){const o=this.title,i=o.length;let a,l,u;if(i){const d=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=zn(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,u=0;u<i;++u)n.fillText(o[u],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,o,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:u,boxWidth:d}=i,p=zn(i.bodyFont),h=ed(this,"left",i),A=o.x(h),m=u<p.lineHeight?(p.lineHeight-u)/2:0,y=n.y+m;if(i.usePointStyle){const w={radius:Math.min(d,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},b=o.leftForLtr(A,d)+d/2,P=y+u/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,sb(e,w,b,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,sb(e,w,b,P)}else{e.lineWidth=kt(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const w=o.leftForLtr(A,d),b=o.leftForLtr(o.xPlus(A,1),d-2),P=ba(a.borderRadius);Object.values(P).some(M=>M!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,zu(e,{x:w,y,w:d,h:u,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),zu(e,{x:b,y:y+1,w:d-2,h:u-2,radius:P}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(w,y,d,u),e.strokeRect(w,y,d,u),e.fillStyle=a.backgroundColor,e.fillRect(b,y+1,d-2,u-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:o}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:d,boxPadding:p}=r,h=zn(r.bodyFont);let A=h.lineHeight,m=0;const y=ka(r.rtl,this.x,this.width),w=function(V){n.fillText(V,y.x(e.x+m),e.y+A/2),e.y+=A+i},b=y.textAlign(a);let P,M,D,C,j,R,z;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=ed(this,b,r),n.fillStyle=r.bodyColor,Tt(this.beforeBody,w),m=l&&b!=="right"?a==="center"?d/2+p:d+2+p:0,C=0,R=o.length;C<R;++C){for(P=o[C],M=this.labelTextColors[C],n.fillStyle=M,Tt(P.before,w),D=P.lines,l&&D.length&&(this._drawColorBox(n,e,C,y,r),A=Math.max(h.lineHeight,u)),j=0,z=D.length;j<z;++j)w(D[j]),A=h.lineHeight;Tt(P.after,w)}m=0,A=h.lineHeight,Tt(this.afterBody,w),e.y-=i}drawFooter(e,n,r){const o=this.footer,i=o.length;let a,l;if(i){const u=ka(r.rtl,this.x,this.width);for(e.x=ed(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=u.textAlign(r.footerAlign),n.textBaseline="middle",a=zn(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(o[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,o){const{xAlign:i,yAlign:a}=this,{x:l,y:u}=e,{width:d,height:p}=r,{topLeft:h,topRight:A,bottomLeft:m,bottomRight:y}=ba(o.cornerRadius);n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,n.lineWidth=o.borderWidth,n.beginPath(),n.moveTo(l+h,u),a==="top"&&this.drawCaret(e,n,r,o),n.lineTo(l+d-A,u),n.quadraticCurveTo(l+d,u,l+d,u+A),a==="center"&&i==="right"&&this.drawCaret(e,n,r,o),n.lineTo(l+d,u+p-y),n.quadraticCurveTo(l+d,u+p,l+d-y,u+p),a==="bottom"&&this.drawCaret(e,n,r,o),n.lineTo(l+m,u+p),n.quadraticCurveTo(l,u+p,l,u+p-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,o),n.lineTo(l,u+h),n.quadraticCurveTo(l,u,l+h,u),n.closePath(),n.fill(),o.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,o=r&&r.x,i=r&&r.y;if(o||i){const a=ec[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=gx(this,e),u=Object.assign({},a,this._size),d=mx(n,e,u),p=vx(e,u,d,n);(o._to!==p.x||i._to!==p.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,p))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const o={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Gr(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,o,n),yb(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),bb(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,o=e.map(({datasetIndex:l,index:u})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[u],index:u}}),i=!Mu(r,o),a=this._positionChanged(o,n);(i||a)&&(this._active=o,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),u=n||!Mu(a,i)||l;return u&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),u}_getActiveElements(e,n,r,o){const i=this.options;if(e.type==="mouseout")return[];if(!o)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:o,options:i}=this,a=ec[i.position].call(this,e,n);return a!==!1&&(r!==a.x||o!==a.y)}}var U5={id:"tooltip",_element:wx,positioners:ec,afterInit(t,e,n){n&&(t.tooltip=new wx({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:xx},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const V5=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function W5(t,e,n,r){const o=t.indexOf(e);if(o===-1)return V5(t,e,n,r);const i=t.lastIndexOf(e);return o!==i?n:o}const Y5=(t,e)=>t===null?null:lo(Math.round(t),0,e);function kx(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class q5 extends Ea{static id="category";static defaults={ticks:{callback:kx}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:o,label:i}of n)r[o]===i&&r.splice(o,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ot(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:W5(r,e,Ct(n,e),this._addedLabels),Y5(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,o=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)o.push({value:a});return o}getLabelForValue(e){return kx.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function K5(t,e){const n=[],{bounds:o,step:i,min:a,max:l,precision:u,count:d,maxTicks:p,maxDigits:h,includeBounds:A}=t,m=i||1,y=p-1,{min:w,max:b}=e,P=!Ot(a),M=!Ot(l),D=!Ot(d),C=(b-w)/(h+1);let j=Wy((b-w)/y/m)*m,R,z,V,K;if(j<1e-14&&!P&&!M)return[{value:w},{value:b}];K=Math.ceil(b/j)-Math.floor(w/j),K>y&&(j=Wy(K*j/y/m)*m),Ot(u)||(R=Math.pow(10,u),j=Math.ceil(j*R)/R),o==="ticks"?(z=Math.floor(w/j)*j,V=Math.ceil(b/j)*j):(z=w,V=b),P&&M&&i&&L8((l-a)/i,j/1e3)?(K=Math.round(Math.min((l-a)/j,p)),j=(l-a)/K,z=a,V=l):D?(z=P?a:z,V=M?l:V,K=d-1,j=(V-z)/K):(K=(V-z)/j,Lu(K,Math.round(K),j/1e3)?K=Math.round(K):K=Math.ceil(K));const q=Math.max(Yy(j),Yy(z));R=Math.pow(10,Ot(u)?q:u),z=Math.round(z*R)/R,V=Math.round(V*R)/R;let Z=0;for(P&&(A&&z!==a?(n.push({value:a}),z<a&&Z++,Lu(Math.round((z+Z*j)*R)/R,a,Sx(a,C,t))&&Z++):z<a&&Z++);Z<K;++Z){const W=Math.round((z+Z*j)*R)/R;if(M&&W>l)break;n.push({value:W})}return M&&A&&V!==l?n.length&&Lu(n[n.length-1].value,l,Sx(l,C,t))?n[n.length-1].value=l:n.push({value:l}):(!M||V===l)&&n.push({value:V}),n}function Sx(t,e,{horizontal:n,minRotation:r}){const o=No(r),i=(n?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class G5 extends Ea{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ot(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:o,max:i}=this;const a=u=>o=n?o:u,l=u=>i=r?i:u;if(e){const u=Hi(o),d=Hi(i);u<0&&d<0?l(0):u>0&&d>0&&a(0)}if(o===i){let u=i===0?1:Math.abs(i*.05);l(i+u),e||a(o-u)}this.min=o,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,o;return r?(o=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),n=n||11),n&&(o=Math.min(n,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,a=K5(o,i);return e.bounds==="ticks"&&N8(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const o=(r-n)/Math.max(e.length-1,1)/2;n-=o,r+=o}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ju(e,this.chart.options.locale,this.options.ticks.format)}}class X5 extends G5{static id="linear";static defaults={ticks:{callback:rb.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Kr(e)?e:0,this.max=Kr(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=No(this.options.ticks.minRotation),o=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/o))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const td={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},cr=Object.keys(td);function Ex(t,e){return t-e}function Cx(t,e){if(Ot(e))return null;const n=t._adapter,{parser:r,round:o,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Kr(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(o&&(a=o==="week"&&(Nu(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,o)),+a)}function Px(t,e,n,r){const o=cr.length;for(let i=cr.indexOf(t);i<o-1;++i){const a=td[cr[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return cr[i]}return cr[o-1]}function J5(t,e,n,r,o){for(let i=cr.length-1;i>=cr.indexOf(n);i--){const a=cr[i];if(td[a].common&&t._adapter.diff(o,r,a)>=e-1)return a}return cr[n?cr.indexOf(n):0]}function Z5(t){for(let e=cr.indexOf(t)+1,n=cr.length;e<n;++e)if(td[cr[e]].common)return cr[e]}function Dx(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:o}=lh(n,e),i=n[r]>=e?n[r]:n[o];t[i]=!0}}function $5(t,e,n,r){const o=t._adapter,i=+o.startOf(e[0].value,r),a=e[e.length-1].value;let l,u;for(l=i;l<=a;l=+o.add(l,1,r))u=n[l],u>=0&&(e[u].major=!0);return e}function Tx(t,e,n){const r=[],o={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],o[l]=a,r.push({value:l,major:!1});return i===0||!n?r:$5(t,r,o,n)}class Bx extends Ea{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const r=e.time||(e.time={}),o=this._adapter=new sI._date(e.adapters.date);o.init(n),Hl(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Cx(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:o,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function u(d){!a&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),o=Kr(o)&&!isNaN(o)?o:+n.startOf(Date.now(),r),i=Kr(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(o,i-1),this.max=Math.max(o+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,o=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const i=this.min,a=this.max,l=U8(o,i,a);return this._unit=n.unit||(r.autoSkip?Px(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):J5(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:Z5(this._unit),this.initOffsets(o),e.reverse&&l.reverse(),Tx(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,o,i;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),e.length===1?n=1-o:n=(this.getDecimalForValue(e[1])-o)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=lo(n,0,a),r=lo(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,o=this.options,i=o.time,a=i.unit||Px(i.minUnit,n,r,this._getLabelCapacity(n)),l=Ct(o.ticks.stepSize,1),u=a==="week"?i.isoWeekday:!1,d=Nu(u)||u===!0,p={};let h=n,A,m;if(d&&(h=+e.startOf(h,"isoWeek",u)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const y=o.ticks.source==="data"&&this.getDataTimestamps();for(A=h,m=0;A<r;A=+e.add(A,l,a),m++)Dx(p,A,y);return(A===r||o.bounds==="ticks"||m===1)&&Dx(p,A,y),Object.keys(p).sort(Ex).map(w=>+w)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const o=this.options.time.displayFormats,i=this._unit,a=n||o[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,o){const i=this.options,a=i.ticks.callback;if(a)return Ht(a,[e,n,r],this);const l=i.time.displayFormats,u=this._unit,d=this._majorUnit,p=u&&l[u],h=d&&l[d],A=r[n],m=d&&h&&A&&A.major;return this._adapter.format(e,o||(m?h:p))}generateTickLabels(e){let n,r,o;for(n=0,r=e.length;n<r;++n)o=e[n],o.label=this._tickFormatFunction(o.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,o=No(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,Tx(this,[e],this._majorUnit),o),a=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(n=0,r=o.length;n<r;++n)e=e.concat(o[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const o=this.getLabels();for(n=0,r=o.length;n<r;++n)e.push(Cx(this,o[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Gy(e.sort(Ex))}}function nd(t,e,n){let r=0,o=t.length-1,i,a,l,u;n?(e>=t[r].pos&&e<=t[o].pos&&({lo:r,hi:o}=ch(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:u}=t[o]):(e>=t[r].time&&e<=t[o].time&&({lo:r,hi:o}=ch(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:u}=t[o]);const d=a-i;return d?l+(u-l)*(e-i)/d:l}class eO extends Bx{static id="timeseries";static defaults=Bx.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=nd(n,this.min),this._tableRange=nd(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,o=[],i=[];let a,l,u,d,p;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&o.push(d);if(o.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=o.length;a<l;++a)p=o[a+1],u=o[a-1],d=o[a],Math.round((p+u)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((o,i)=>o-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(nd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return nd(this._table,r*this._tableRange+this._minPos,!0)}}_h.register(P5,nI,b5,q5,X5,M5,R5,U5);function eM({type:t="bar",data:e,options:n}){const r=T.useRef(null),o=T.useRef(null);return T.useLayoutEffect(()=>{o.current&&(r.current?(r.current.options=n,r.current.data=e,r.current.update()):r.current=new _h(o.current,{type:t,data:e,options:n}))},[t,e,n]),E.jsx("div",{className:"chart",children:E.jsx("canvas",{ref:o})})}const _x=["--teal-700","--yellow-400","--teal-400","--orange-400","--green-400","--red-400"],Rh=["0 - 1s","1 - 30s","30s - 30min","30 - 60min","1 - 5hr","5 - 10hr","10 - 18hr","18+hr"],Lh=(t,e,n=0)=>`${t.toFixed(n)} ${e}${t==1?"":"s"}`,Ix=t=>{const e=t/3600;if(e>=1)return Lh(e,"hour",1);const n=t/60;return n>=1?Lh(n,"minute",0):Lh(t,"second",0)},rd=t=>t.replace(/ \([^)]+\)/,"");function tM({infoGroupId:t}){const[e,n]=T.useState("overview"),r=gk(t).filter(d=>d.cider_type=="Compute"),o=Xn(r.length?r.map(d=>`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${d.info_resourceid}/`):null,{defaultValue:[]}),i=Xn(e!=="overview"?`https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${e}/queue/job_walltime`:null);if(!o.length||!r.length)return;const a=o.map((d,p)=>d.error?d:{...d.data[0],...r[p]}).filter(d=>!d.error);if(!a.length)return;const l=[E.jsxs("select",{value:e,onChange:d=>n(d.target.value),children:[E.jsx("option",{value:"overview",children:"Overview"},"overview"),a.map(d=>E.jsx("option",{value:d.info_resourceid,children:rd(d.resource_descriptive_name)},d.info_resourceid))]},"select")];let u=null;if(e==="overview")u=E.jsx("div",{className:"cards",children:a.map(({info_resourceid:d,job_count:p,median_expansion_factor:h,median_wait_time:A,median_wall_time:m,resource_descriptive_name:y})=>E.jsxs("p",{className:"card metrics-overview",children:[E.jsxs("b",{children:[rd(y),":"]})," Users ran"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"file-earmark-code"}),parseInt(p).toLocaleString("en-us")," jobs"]})," ","during the last 30 days. Waiting in the queue caused an average"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"calculator"}),((h-1)*100).toLocaleString("en-us",{maximumFractionDigits:0}),"% increase"]})," ","in the total completion time. The average job waited for"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"hourglass-split"})," ",Ix(A)]})," ","and ran for"," ",E.jsxs("strong",{children:[E.jsx(Et,{name:"stopwatch"}),Ix(m)]}),"."," ",E.jsx("a",{title:`Wait time chart for ${rd(y)}`,href:"#",onClick:w=>{w.preventDefault(),n(d)},children:"View chart »"})]},d))});else if(i&&i.info_resource_id===e){const d={},p=Rh;for(let y of i.data)d[y.queue]=d[y.queue]||{label:y.queue,data:Array(Rh.length).fill(null)},d[y.queue].data[Rh.indexOf(y.job_walltime)]=y.median_wait_time/60;const h=Object.values(d);h.forEach((y,w)=>{let b=_x[w%(_x.length-1)];y.backgroundColor=getComputedStyle(document.body).getPropertyValue(b)});const A=a.find(y=>y.info_resourceid==i.info_resource_id),m={interaction:{intersect:!1,mode:"index"},plugins:{title:{display:!0,text:`Median Wait Time by Queue on ${rd(A.resource_descriptive_name)}: Last 30 Days`}},scales:{x:{title:{display:!0,text:"Job Wall Time (Run Time)"}},y:{title:{display:!0,text:"Median Wait Time (Minutes)"}}}};u=E.jsxs(E.Fragment,{children:[E.jsx(eM,{type:"bar",data:{labels:p,datasets:h},options:m}),E.jsx("p",{children:E.jsx("a",{href:"#",onClick:y=>{y.preventDefault(),n("overview")},children:"« Back to overview"})})]})}return E.jsxs(Io,{title:"Wait Time",icon:"hourglass-split",headerComponents:l,children:[u,E.jsxs("p",{className:"metrics-disclaimer",children:[E.jsx(Et,{name:"info-circle"}),"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."]})]})}function fi(t){return Array.isArray?Array.isArray(t):Rx(t)==="[object Array]"}function nM(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function rM(t){return t==null?"":nM(t)}function zo(t){return typeof t=="string"}function Mx(t){return typeof t=="number"}function oM(t){return t===!0||t===!1||iM(t)&&Rx(t)=="[object Boolean]"}function Ox(t){return typeof t=="object"}function iM(t){return Ox(t)&&t!==null}function _r(t){return t!=null}function Nh(t){return!t.trim().length}function Rx(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const sM="Incorrect 'index' type",aM=t=>`Invalid value for key ${t}`,lM=t=>`Pattern length exceeds max of ${t}.`,cM=t=>`Missing ${t} property in key`,uM=t=>`Property 'weight' in key '${t}' must be a positive integer`,Lx=Object.prototype.hasOwnProperty;class dM{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let o=Nx(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Nx(t){let e=null,n=null,r=null,o=1,i=null;if(zo(t)||fi(t))r=t,e=Fx(t),n=Fh(t);else{if(!Lx.call(t,"name"))throw new Error(cM("name"));const a=t.name;if(r=a,Lx.call(t,"weight")&&(o=t.weight,o<=0))throw new Error(uM(a));e=Fx(a),n=Fh(a),i=t.getFn}return{path:e,id:n,weight:o,src:r,getFn:i}}function Fx(t){return fi(t)?t:t.split(".")}function Fh(t){return fi(t)?t.join("."):t}function fM(t,e){let n=[],r=!1;const o=(i,a,l)=>{if(_r(i))if(!a[l])n.push(i);else{let u=a[l];const d=i[u];if(!_r(d))return;if(l===a.length-1&&(zo(d)||Mx(d)||oM(d)))n.push(rM(d));else if(fi(d)){r=!0;for(let p=0,h=d.length;p<h;p+=1)o(d[p],a,l+1)}else a.length&&o(d,a,l+1)}};return o(t,zo(e)?e.split("."):e,0),r?n:n[0]}var rt={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:fM,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const pM=/[^ ]+/g;function hM(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(o){const i=o.match(pM).length;if(n.has(i))return n.get(i);const a=1/Math.pow(i,.5*t),l=parseFloat(Math.round(a*r)/r);return n.set(i,l),l},clear(){n.clear()}}}class jh{constructor({getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){this.norm=hM(n,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,zo(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();zo(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(e,n){return e[this._keysMap[n]]}size(){return this.records.length}_addString(e,n){if(!_r(e)||Nh(e))return;let r={v:e,i:n,n:this.norm.get(e)};this.records.push(r)}_addObject(e,n){let r={i:n,$:{}};this.keys.forEach((o,i)=>{let a=o.getFn?o.getFn(e):this.getFn(e,o.path);if(_r(a)){if(fi(a)){let l=[];const u=[{nestedArrIndex:-1,value:a}];for(;u.length;){const{nestedArrIndex:d,value:p}=u.pop();if(_r(p))if(zo(p)&&!Nh(p)){let h={v:p,i:d,n:this.norm.get(p)};l.push(h)}else fi(p)&&p.forEach((h,A)=>{u.push({nestedArrIndex:A,value:h})})}r.$[i]=l}else if(zo(a)&&!Nh(a)){let l={v:a,n:this.norm.get(a)};r.$[i]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function jx(t,e,{getFn:n=rt.getFn,fieldNormWeight:r=rt.fieldNormWeight}={}){const o=new jh({getFn:n,fieldNormWeight:r});return o.setKeys(t.map(Nx)),o.setSources(e),o.create(),o}function AM(t,{getFn:e=rt.getFn,fieldNormWeight:n=rt.fieldNormWeight}={}){const{keys:r,records:o}=t,i=new jh({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(o),i}function od(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:o=rt.distance,ignoreLocation:i=rt.ignoreLocation}={}){const a=e/t.length;if(i)return a;const l=Math.abs(r-n);return o?a+l/o:l?1:a}function gM(t=[],e=rt.minMatchCharLength){let n=[],r=-1,o=-1,i=0;for(let a=t.length;i<a;i+=1){let l=t[i];l&&r===-1?r=i:!l&&r!==-1&&(o=i-1,o-r+1>=e&&n.push([r,o]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}const Bs=32;function mM(t,e,n,{location:r=rt.location,distance:o=rt.distance,threshold:i=rt.threshold,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,includeMatches:u=rt.includeMatches,ignoreLocation:d=rt.ignoreLocation}={}){if(e.length>Bs)throw new Error(lM(Bs));const p=e.length,h=t.length,A=Math.max(0,Math.min(r,h));let m=i,y=A;const w=l>1||u,b=w?Array(h):[];let P;for(;(P=t.indexOf(e,y))>-1;){let z=od(e,{currentLocation:P,expectedLocation:A,distance:o,ignoreLocation:d});if(m=Math.min(z,m),y=P+p,w){let V=0;for(;V<p;)b[P+V]=1,V+=1}}y=-1;let M=[],D=1,C=p+h;const j=1<<p-1;for(let z=0;z<p;z+=1){let V=0,K=C;for(;V<K;)od(e,{errors:z,currentLocation:A+K,expectedLocation:A,distance:o,ignoreLocation:d})<=m?V=K:C=K,K=Math.floor((C-V)/2+V);C=K;let q=Math.max(1,A-K+1),Z=a?h:Math.min(A+K,h)+p,W=Array(Z+2);W[Z+1]=(1<<z)-1;for(let ue=Z;ue>=q;ue-=1){let te=ue-1,pe=n[t.charAt(te)];if(w&&(b[te]=+!!pe),W[ue]=(W[ue+1]<<1|1)&pe,z&&(W[ue]|=(M[ue+1]|M[ue])<<1|1|M[ue+1]),W[ue]&j&&(D=od(e,{errors:z,currentLocation:te,expectedLocation:A,distance:o,ignoreLocation:d}),D<=m)){if(m=D,y=te,y<=A)break;q=Math.max(1,2*A-y)}}if(od(e,{errors:z+1,currentLocation:A,expectedLocation:A,distance:o,ignoreLocation:d})>m)break;M=W}const R={isMatch:y>=0,score:Math.max(.001,D)};if(w){const z=gM(b,l);z.length?u&&(R.indices=z):R.isMatch=!1}return R}function vM(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const o=t.charAt(n);e[o]=(e[o]||0)|1<<r-n-1}return e}const id=String.prototype.normalize?(t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(t=>t);class zx{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:o=rt.distance,includeMatches:i=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p},e=u?e:e.toLowerCase(),e=d?id(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,y)=>{this.chunks.push({pattern:m,alphabet:vM(m),startIndex:y})},A=this.pattern.length;if(A>Bs){let m=0;const y=A%Bs,w=A-y;for(;m<w;)h(this.pattern.substr(m,Bs),m),m+=Bs;if(y){const b=A-Bs;h(this.pattern.substr(b),b)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o}=this.options;if(e=n?e:e.toLowerCase(),e=r?id(e):e,this.pattern===e){let w={isMatch:!0,score:0};return o&&(w.indices=[[0,e.length-1]]),w}const{location:i,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,ignoreLocation:p}=this.options;let h=[],A=0,m=!1;this.chunks.forEach(({pattern:w,alphabet:b,startIndex:P})=>{const{isMatch:M,score:D,indices:C}=mM(e,w,b,{location:i+P,distance:a,threshold:l,findAllMatches:u,minMatchCharLength:d,includeMatches:o,ignoreLocation:p});M&&(m=!0),A+=D,M&&C&&(h=[...h,...C])});let y={isMatch:m,score:m?A/this.chunks.length:1};return m&&o&&(y.indices=h),y}}class Wi{constructor(e){this.pattern=e}static isMultiMatch(e){return Qx(e,this.multiRegex)}static isSingleMatch(e){return Qx(e,this.singleRegex)}search(){}}function Qx(t,e){const n=t.match(e);return n?n[1]:null}class yM extends Wi{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class bM extends Wi{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class xM extends Wi{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class wM extends Wi{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class kM extends Wi{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class SM extends Wi{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Hx extends Wi{constructor(e,{location:n=rt.location,threshold:r=rt.threshold,distance:o=rt.distance,includeMatches:i=rt.includeMatches,findAllMatches:a=rt.findAllMatches,minMatchCharLength:l=rt.minMatchCharLength,isCaseSensitive:u=rt.isCaseSensitive,ignoreDiacritics:d=rt.ignoreDiacritics,ignoreLocation:p=rt.ignoreLocation}={}){super(e),this._bitapSearch=new zx(e,{location:n,threshold:r,distance:o,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:u,ignoreDiacritics:d,ignoreLocation:p})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ux extends Wi{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const o=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+i,o.push([r,n-1]);const a=!!o.length;return{isMatch:a,score:a?0:1,indices:o}}}const zh=[yM,Ux,xM,wM,SM,kM,bM,Hx],Vx=zh.length,EM=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,CM="|";function PM(t,e={}){return t.split(CM).map(n=>{let r=n.trim().split(EM).filter(i=>i&&!!i.trim()),o=[];for(let i=0,a=r.length;i<a;i+=1){const l=r[i];let u=!1,d=-1;for(;!u&&++d<Vx;){const p=zh[d];let h=p.isMultiMatch(l);h&&(o.push(new p(h,e)),u=!0)}if(!u)for(d=-1;++d<Vx;){const p=zh[d];let h=p.isSingleMatch(l);if(h){o.push(new p(h,e));break}}}return o})}const DM=new Set([Hx.type,Ux.type]);class TM{constructor(e,{isCaseSensitive:n=rt.isCaseSensitive,ignoreDiacritics:r=rt.ignoreDiacritics,includeMatches:o=rt.includeMatches,minMatchCharLength:i=rt.minMatchCharLength,ignoreLocation:a=rt.ignoreLocation,findAllMatches:l=rt.findAllMatches,location:u=rt.location,threshold:d=rt.threshold,distance:p=rt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:o,minMatchCharLength:i,findAllMatches:l,ignoreLocation:a,location:u,threshold:d,distance:p},e=n?e:e.toLowerCase(),e=r?id(e):e,this.pattern=e,this.query=PM(this.pattern,this.options)}static condition(e,n){return n.useExtendedSearch}searchIn(e){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o,ignoreDiacritics:i}=this.options;e=o?e:e.toLowerCase(),e=i?id(e):e;let a=0,l=[],u=0;for(let d=0,p=n.length;d<p;d+=1){const h=n[d];l.length=0,a=0;for(let A=0,m=h.length;A<m;A+=1){const y=h[A],{isMatch:w,indices:b,score:P}=y.search(e);if(w){if(a+=1,u+=P,r){const M=y.constructor.type;DM.has(M)?l=[...l,...b]:l.push(b)}}else{u=0,a=0,l.length=0;break}}if(a){let A={isMatch:!0,score:u/a};return r&&(A.indices=l),A}}return{isMatch:!1,score:1}}}const Qh=[];function BM(...t){Qh.push(...t)}function Hh(t,e){for(let n=0,r=Qh.length;n<r;n+=1){let o=Qh[n];if(o.condition(t,e))return new o(t,e)}return new zx(t,e)}const sd={AND:"$and",OR:"$or"},Uh={PATH:"$path",PATTERN:"$val"},Vh=t=>!!(t[sd.AND]||t[sd.OR]),_M=t=>!!t[Uh.PATH],IM=t=>!fi(t)&&Ox(t)&&!Vh(t),Wx=t=>({[sd.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Yx(t,e,{auto:n=!0}={}){const r=o=>{let i=Object.keys(o);const a=_M(o);if(!a&&i.length>1&&!Vh(o))return r(Wx(o));if(IM(o)){const u=a?o[Uh.PATH]:i[0],d=a?o[Uh.PATTERN]:o[u];if(!zo(d))throw new Error(aM(u));const p={keyId:Fh(u),pattern:d};return n&&(p.searcher=Hh(d,e)),p}let l={children:[],operator:i[0]};return i.forEach(u=>{const d=o[u];fi(d)&&d.forEach(p=>{l.children.push(r(p))})}),l};return Vh(t)||(t=Wx(t)),r(t)}function MM(t,{ignoreFieldNorm:e=rt.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:i,score:a})=>{const l=o?o.weight:null;r*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:i))}),n.score=r})}function OM(t,e){const n=t.matches;e.matches=[],_r(n)&&n.forEach(r=>{if(!_r(r.indices)||!r.indices.length)return;const{indices:o,value:i}=r;let a={indices:o,value:i};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),e.matches.push(a)})}function RM(t,e){e.score=t.score}function LM(t,e,{includeMatches:n=rt.includeMatches,includeScore:r=rt.includeScore}={}){const o=[];return n&&o.push(OM),r&&o.push(RM),t.map(i=>{const{idx:a}=i,l={item:e[a],refIndex:a};return o.length&&o.forEach(u=>{u(i,l)}),l})}class Ca{constructor(e,n={},r){this.options={...rt,...n},this.options.useExtendedSearch,this._keyStore=new dM(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof jh))throw new Error(sM);this._myIndex=n||jx(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){_r(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const i=this._docs[r];e(i,r)&&(this.removeAt(r),r-=1,o-=1,n.push(i))}return n}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:i,sortFn:a,ignoreFieldNorm:l}=this.options;let u=zo(e)?zo(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return MM(u,{ignoreFieldNorm:l}),i&&u.sort(a),Mx(n)&&n>-1&&(u=u.slice(0,n)),LM(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(e){const n=Hh(e,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:i,i:a,n:l})=>{if(!_r(i))return;const{isMatch:u,score:d,indices:p}=n.searchIn(i);u&&o.push({item:i,idx:a,matches:[{score:d,value:i,norm:l,indices:p}]})}),o}_searchLogical(e){const n=Yx(e,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:h,searcher:A}=l,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(u,h),searcher:A});return m&&m.length?[{idx:d,item:u,matches:m}]:[]}const p=[];for(let h=0,A=l.children.length;h<A;h+=1){const m=l.children[h],y=r(m,u,d);if(y.length)p.push(...y);else if(l.operator===sd.AND)return[]}return p},o=this._myIndex.records,i={},a=[];return o.forEach(({$:l,i:u})=>{if(_r(l)){let d=r(n,l,u);d.length&&(i[u]||(i[u]={idx:u,item:l,matches:[]},a.push(i[u])),d.forEach(({matches:p})=>{i[u].matches.push(...p)}))}}),a}_searchObjectList(e){const n=Hh(e,this.options),{keys:r,records:o}=this._myIndex,i=[];return o.forEach(({$:a,i:l})=>{if(!_r(a))return;let u=[];r.forEach((d,p)=>{u.push(...this._findMatches({key:d,value:a[p],searcher:n}))}),u.length&&i.push({idx:l,item:a,matches:u})}),i}_findMatches({key:e,value:n,searcher:r}){if(!_r(n))return[];let o=[];if(fi(n))n.forEach(({v:i,i:a,n:l})=>{if(!_r(i))return;const{isMatch:u,score:d,indices:p}=r.searchIn(i);u&&o.push({score:d,key:e,value:i,idx:a,norm:l,indices:p})});else{const{v:i,n:a}=n,{isMatch:l,score:u,indices:d}=r.searchIn(i);l&&o.push({score:u,key:e,value:i,norm:a,indices:d})}return o}}Ca.version="7.1.0",Ca.createIndex=jx,Ca.parseIndex=AM,Ca.config=rt,Ca.parseQuery=Yx,BM(TM);function NM({highlight:t,text:e}){if(!t||!t.length)return e;const n=new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"gi"),r=[...e.matchAll(n)];if(!r.length)return e;const o=[];let i=0;for(let a of r)a.index>i&&o.push(e.substr(i,a.index)),o.push(E.jsx("span",{className:"highlight",children:a[0]})),i=a.index+a[0].length;return o.push(e.substr(i)),o}function FM({delay:t=300,placeholder:e,setSearchText:n,width:r="calc(var(--width) / 4)"}){const o=T.useRef(null),i=T.useRef(null),[a,l]=T.useState(""),u=()=>{l(""),n(""),o.current.value="",o.current.focus()};return T.useLayoutEffect(()=>{o.current&&o.current.addEventListener("keyup",()=>{i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{i.current=null,n(o.current.value),l(o.current.value)},t)})},[o.current]),E.jsx(E.Fragment,{children:E.jsxs("div",{className:"search",children:[E.jsx("input",{placeholder:e,style:{width:r},ref:o}),a.length?E.jsx("button",{className:"btn btn-clear",title:"Clear search",onClick:u,children:E.jsx(Et,{name:"x-lg"})}):null]})})}const jM=["software_name","software_description","software_web_page","software_documentation","software_use_link","software_versions"];function zM({infoGroupId:t}){const e=Xn("https://sds-ara-api.access-ci.org/api/v1",{body:JSON.stringify({rps:[t],columns:jM}),headers:{"Content-Type":"application/json","X-API-Key":"asSuQQ0IfIEUrSRTl44aqn2ZpMPpJ_G02BgemAY4WN0"},method:"POST"}),[n,r]=T.useState(""),o=T.useMemo(()=>e?.data&&e.data.length?new Ca(e.data,{keys:[{name:"software_name",weight:.6},{name:"software_description",weight:.4}]}):null,[e?.data]);if(!e?.data||!e.data.length)return;const i=A=>E.jsx(NM,{text:A,highlight:n}),d=[{key:"software_name",name:"Package",format:(A,m)=>{const y=i(A),w=m.software_web_page||m.software_documentation,b=m.software_use_link&&m.software_use_link.length?m.software_use_link[0]:"";return E.jsxs("span",{style:{lineHeight:1.3},children:[w?E.jsx("a",{href:w,children:y},"name"):y," ",m.software_documentation&&E.jsx("a",{href:m.software_documentation,title:`Documentation for ${A}`,children:E.jsx(Et,{name:"book"})},"documentation")," ",b&&b!=m.software_documentation&&E.jsx("a",{href:b,title:`Usage example for ${A}`,children:E.jsx(Et,{name:"terminal"})},"use")]})}},{key:"software_versions",name:"Versions",format:(A,m)=>m.rps[t].software_versions.join(", ")},{key:"software_description",name:"Description",format:(A,m)=>{const y=/Description Source:[ ]+(http[^ ]+)/,w=A.match(y);return E.jsxs(E.Fragment,{children:[i(A.replace(y,""))," ",w?E.jsx("a",{href:w[1],title:`Description source for ${m.software_name}`,children:E.jsx(Et,{name:"info-circle"})}):null]})}}],p=n.length?o.search(n).map(A=>A.item):e.data,h=[E.jsx(FM,{placeholder:"Search software packages...",setSearchText:r},"search")];return E.jsx(Io,{title:"Software",icon:"terminal",headerComponents:h,children:E.jsx(hu,{columns:d,rows:p,scrollResetOnUpdate:!0})})}function QM({prompt:t="Jump To:"}){const[e,n]=T.useState([]),r=T.useRef(null),o=()=>{const a=[];for(let l of r.current.querySelectorAll("[data-section-title]"))a.push({icon:l.dataset.sectionIcon,id:l.id,title:l.dataset.sectionTitle});n(a)},i=a=>{const l=r.current.querySelector(`#${a}`);l&&l.scrollIntoView()};return T.useEffect(()=>{r.current&&(o(),document.addEventListener("accessci-update-sections",o))},[r.current]),E.jsx("div",{ref:a=>r.current=a?.parentElement,children:e.length>=2?E.jsxs("nav",{className:"section-navigation",children:[t?E.jsx("h2",{children:t}):null,E.jsx("ul",{children:e.map(({icon:a,id:l,title:u})=>E.jsx("li",{children:E.jsxs("a",{href:`#${l}`,onClick:d=>{d.preventDefault(),i(l)},children:[a?E.jsxs(E.Fragment,{children:[E.jsx(Et,{name:a})," "]}):null,u]})},l))})]}):null})}function HM({baseUri:t,showBreadcrumbs:e=!0}){const{infoGroupId:n}=l2(),r=al(n),o=[{name:"Resources",href:t}];return r&&o.push({name:r.name}),E.jsxs(E.Fragment,{children:[e&&E.jsx(pf,{expandWidth:!0,items:o,topBorder:!0}),E.jsxs("div",{className:"resource-group-detail",children:[E.jsx(CD,{infoGroupId:n}),E.jsx(QM,{}),E.jsx(pB,{infoGroupId:n}),E.jsx(sB,{infoGroupId:n}),E.jsx(uB,{infoGroupId:n}),E.jsx(ED,{infoGroupId:n}),E.jsx(zM,{infoGroupId:n}),E.jsx(r8,{infoGroupId:n}),E.jsx(tM,{infoGroupId:n}),E.jsx(TD,{infoGroupId:n})]})]})}const UM=Object.freeze(Object.defineProperty({__proto__:null,default:HM},Symbol.toStringTag,{value:"Module"})),VM={"ACCESS Pegasus":"https://pegasus.isi.edu/wordpress/wp-content/uploads/2016/01/favicon.ico","ACCESS OnDemand":"https://openondemand.org/themes/fire/theme/assets/media/favicons/favicon.ico","Advance reservations":"calendar-check","Composable hardware fabric":"boxes","Compute Resources":"cpu-fill","CPU Compute":"cpu-fill","GPU Compute":"cpu","Innovative / Novel Compute":"lightbulb","Large Memory Nodes":"arrows-fullscreen",Preemption:"clock-history","Science Gateway support":"globe","Service / Other":"stars","Storage Resources":"hdd-fill","Virtual Machines":"pc-display-horizontal",Cloud:"cloud",Storage:"hdd-fill"};function qx({active:t,tagCategory:e,tagId:n,iconUri:r,name:o,toggleTag:i}){const a=r||VM[o]||"tag";return E.jsx("li",{className:`tag tag-category-${e.name.toLowerCase().replace(/[^a-z]+/g,"-")}${t.tagIds.has(n)?" active":""}`,children:E.jsxs("button",{href:"#",disabled:t.disabledTagIds.has(n),onClick:l=>{l.preventDefault(),i(n)},children:[a.startsWith("http")?E.jsx(Et,{alt:o,src:a}):E.jsx(Et,{name:a}),o]})})}function Kx({children:t}){return E.jsx("ul",{className:"tags",children:t})}function WM({active:t,baseUri:e,description:n,imageType:r,imageUri:o,name:i,infoGroupId:a,parentInfoGroupId:l,tags:u,toggleTag:d}){const p=`${e}/${l||a}`;return E.jsxs("div",{className:"resource-group",children:[E.jsx("a",{className:`resource-group-image image-type-${r}`,href:p,children:o?E.jsx("img",{src:o}):E.jsx(Et,{name:"motherboard"})}),E.jsxs("div",{className:"resource-group-text",children:[E.jsx("h3",{children:E.jsx("a",{href:p,children:i})}),E.jsx(Kx,{children:u.map(h=>E.jsx(qx,{...h,active:t,toggleTag:d},h.tagId))}),E.jsxs("p",{children:[n&&n,E.jsx("br",{}),E.jsxs("a",{href:p,children:["Learn more about ",i," »"]})]})]})]})}function YM({active:t,baseUri:e,name:n,resourceGroups:r,toggleTag:o}){return E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:n}),r.filter(({infoGroupId:i})=>t.infoGroupIds.has(i)).map(i=>E.jsx(WM,{...i,baseUri:e,active:t,toggleTag:o},i.infoGroupId))]})}function qM({active:t,clearTags:e,tagCategories:n,toggleTag:r}){const[o,i]=T.useState(!1),a=T.useRef(null);return T.useEffect(()=>{const l=()=>i(!1);return document.body.addEventListener("click",l),()=>document.body.removeEventListener("click",l)},[]),E.jsxs("section",{className:"filters-outer",onClick:l=>{l.stopPropagation()},children:[E.jsxs("button",{ref:a,onClick:()=>i(!o),className:`btn-filters btn ${o?"active":""}`,children:[E.jsx(Et,{name:"filter"})," Filters",t.tagIds.size>0?E.jsx("span",{className:"active-tag-count",children:t.tagIds.size}):null]}),o?E.jsxs("div",{className:"filters-inner",children:[n.map(l=>E.jsxs(E.Fragment,{children:[E.jsx("h2",{children:l.name}),E.jsx(Kx,{children:l.tags.map(u=>E.jsx(qx,{...u,active:t,toggleTag:r}))})]})),E.jsxs("button",{onClick:e,disabled:t.tagIds.size==0,className:"btn danger",children:[E.jsx(Et,{name:"trash"})," Clear Filters"]})]}):null]})}function KM({setBotOpen:t}){const e=T.useRef(null),n=[{title:"Browse resources",icon:"filter-square",description:"Filter resources to find the best match for your research.",onClick:r=>{r.preventDefault(),e.current&&e.current.nextSibling.scrollIntoView({bahavior:"smooth"})}},{title:"Ask a question",icon:"question-circle",onClick:r=>{r.preventDefault(),t(!0)},description:"You have resource questions. Our Q&A bot has answers!"},{title:"Get suggestions",icon:"card-checklist",href:"https://ara.access-ci.org/",description:"Fill out a form to get resource recommendations."},{title:"Read news",icon:"newspaper",href:"https://access-ci.org/tag/resource-providers/",description:"See the latest news from resource providers."}];return E.jsxs("section",{id:"resource-pathways",ref:e,children:[E.jsxs("p",{className:"intro",children:["ACCESS provides advanced computing resources ",E.jsx("strong",{children:"at no cost"})," ","to researchers and educators."]}),E.jsx("ul",{className:"resource-pathways",children:n.map(({title:r,icon:o,href:i,description:a,onClick:l},u)=>E.jsx("li",{className:`resource-pathway-${u}`,children:E.jsxs("a",{href:i||"#",onClick:l,children:[o?E.jsx(Et,{name:o}):null," ",E.jsxs("span",{className:"detail",children:[E.jsx("span",{className:"title",children:r}),E.jsx("span",{className:"description",children:a})]})]})},r))})]})}function GM({baseUri:t,title:e,setBotOpen:n,showBreadcrumbs:r=!0,showTitle:o=!0}){const[i,a]=T.useState([]),l=Mg(),u=T.useMemo(()=>l?vk(l,i):null,[l,i]),d=h=>a(i.includes(h)?i.filter(A=>A!=h):[...i,h]),p=()=>a([]);return E.jsxs(E.Fragment,{children:[r&&E.jsx(pf,{expandWidth:!0,items:[{name:"Resources"}],topBorder:!0}),e&&E.jsx("h1",{className:o?"":"visually-hidden",children:e}),E.jsx(KM,{setBotOpen:n}),E.jsxs("div",{id:"browse-resources",children:[u?E.jsx(qM,{tagCategories:l.tagCategories,active:u,clearTags:p,toggleTag:d}):null,l?l.resourceCategories.filter(({resourceCategoryId:h})=>u.resourceCategoryIds.has(h)).map(h=>E.jsx(YM,{...h,active:u,baseUri:t,clearTags:p,toggleTag:d},h.name)):null]})]})}const XM=Object.freeze(Object.defineProperty({__proto__:null,default:GM},Symbol.toStringTag,{value:"Module"}));Tn.breadcrumbs=PS,Tn.footer=DS,Tn.footerMenus=TS,Tn.header=BS,Tn.loginMenuItem=Dg,Tn.myAccessMenuItem=Pg,Tn.qaBot=_S,Tn.resourceCatalog=IS,Tn.siteMenus=MS,Tn.tableOfContents=OS,Tn.universalMenuItems=Cg,Tn.universalMenus=RS,Object.defineProperty(Tn,Symbol.toStringTag,{value:"Module"})}));