@helloimjolopez-pathway/pathway-components 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- var dg=Object.create;var cm=Object.defineProperty;var ug=Object.getOwnPropertyDescriptor;var fg=Object.getOwnPropertyNames;var pg=Object.getPrototypeOf,mg=Object.prototype.hasOwnProperty;var bn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var hg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of fg(t))!mg.call(e,o)&&o!==r&&cm(e,o,{get:()=>t[o],enumerable:!(n=ug(t,o))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?dg(pg(e)):{},hg(t||!e||!e.__esModule?cm(r,"default",{value:e,enumerable:!0}):r,e));var xm=bn(ke=>{"use strict";var Ps=Symbol.for("react.element"),gg=Symbol.for("react.portal"),bg=Symbol.for("react.fragment"),$g=Symbol.for("react.strict_mode"),vg=Symbol.for("react.profiler"),yg=Symbol.for("react.provider"),xg=Symbol.for("react.context"),Cg=Symbol.for("react.forward_ref"),wg=Symbol.for("react.suspense"),Sg=Symbol.for("react.memo"),Eg=Symbol.for("react.lazy"),dm=Symbol.iterator;function kg(e){return e===null||typeof e!="object"?null:(e=dm&&e[dm]||e["@@iterator"],typeof e=="function"?e:null)}var pm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mm=Object.assign,hm={};function li(e,t,r){this.props=e,this.context=t,this.refs=hm,this.updater=r||pm}li.prototype.isReactComponent={};li.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};li.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gm(){}gm.prototype=li.prototype;function Xf(e,t,r){this.props=e,this.context=t,this.refs=hm,this.updater=r||pm}var qf=Xf.prototype=new gm;qf.constructor=Xf;mm(qf,li.prototype);qf.isPureReactComponent=!0;var um=Array.isArray,bm=Object.prototype.hasOwnProperty,Qf={current:null},$m={key:!0,ref:!0,__self:!0,__source:!0};function vm(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)bm.call(t,n)&&!$m.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:Ps,type:e,key:a,ref:i,props:o,_owner:Qf.current}}function Pg(e,t){return{$$typeof:Ps,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Jf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ps}function Tg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var fm=/\/+/g;function Yf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Tg(""+e.key):t.toString(36)}function Kc(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ps:case gg:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+Yf(i,0):n,um(o)?(r="",e!=null&&(r=e.replace(fm,"$&/")+"/"),Kc(o,t,r,"",function(c){return c})):o!=null&&(Jf(o)&&(o=Pg(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(fm,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",um(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+Yf(a,s);i+=Kc(a,t,r,l,o)}else if(l=kg(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+Yf(a,s++),i+=Kc(a,t,r,l,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Oc(e,t,r){if(e==null)return e;var n=[],o=0;return Kc(e,n,"","",function(a){return t.call(r,a,o++)}),n}function Lg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nr={current:null},zc={transition:null},Rg={ReactCurrentDispatcher:nr,ReactCurrentBatchConfig:zc,ReactCurrentOwner:Qf};function ym(){throw Error("act(...) is not supported in production builds of React.")}ke.Children={map:Oc,forEach:function(e,t,r){Oc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Oc(e,function(){t++}),t},toArray:function(e){return Oc(e,function(t){return t})||[]},only:function(e){if(!Jf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ke.Component=li;ke.Fragment=bg;ke.Profiler=vg;ke.PureComponent=Xf;ke.StrictMode=$g;ke.Suspense=wg;ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rg;ke.act=ym;ke.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=mm({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Qf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)bm.call(t,l)&&!$m.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:Ps,type:e.type,key:o,ref:a,props:n,_owner:i}};ke.createContext=function(e){return e={$$typeof:xg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:yg,_context:e},e.Consumer=e};ke.createElement=vm;ke.createFactory=function(e){var t=vm.bind(null,e);return t.type=e,t};ke.createRef=function(){return{current:null}};ke.forwardRef=function(e){return{$$typeof:Cg,render:e}};ke.isValidElement=Jf;ke.lazy=function(e){return{$$typeof:Eg,_payload:{_status:-1,_result:e},_init:Lg}};ke.memo=function(e,t){return{$$typeof:Sg,type:e,compare:t===void 0?null:t}};ke.startTransition=function(e){var t=zc.transition;zc.transition={};try{e()}finally{zc.transition=t}};ke.unstable_act=ym;ke.useCallback=function(e,t){return nr.current.useCallback(e,t)};ke.useContext=function(e){return nr.current.useContext(e)};ke.useDebugValue=function(){};ke.useDeferredValue=function(e){return nr.current.useDeferredValue(e)};ke.useEffect=function(e,t){return nr.current.useEffect(e,t)};ke.useId=function(){return nr.current.useId()};ke.useImperativeHandle=function(e,t,r){return nr.current.useImperativeHandle(e,t,r)};ke.useInsertionEffect=function(e,t){return nr.current.useInsertionEffect(e,t)};ke.useLayoutEffect=function(e,t){return nr.current.useLayoutEffect(e,t)};ke.useMemo=function(e,t){return nr.current.useMemo(e,t)};ke.useReducer=function(e,t,r){return nr.current.useReducer(e,t,r)};ke.useRef=function(e){return nr.current.useRef(e)};ke.useState=function(e){return nr.current.useState(e)};ke.useSyncExternalStore=function(e,t,r){return nr.current.useSyncExternalStore(e,t,r)};ke.useTransition=function(){return nr.current.useTransition()};ke.version="18.3.1"});var D=bn((Hw,Cm)=>{"use strict";Cm.exports=xm()});var Mm=bn(We=>{"use strict";function n1(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<Bc(o,t))e[n]=t,e[r]=o,r=n;else break e}}function $n(e){return e.length===0?null:e[0]}function Wc(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,a=o>>>1;n<a;){var i=2*(n+1)-1,s=e[i],l=i+1,c=e[l];if(0>Bc(s,r))l<o&&0>Bc(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[i]=r,n=i);else if(l<o&&0>Bc(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function Bc(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(wm=performance,We.unstable_now=function(){return wm.now()}):(e1=Date,Sm=e1.now(),We.unstable_now=function(){return e1.now()-Sm});var wm,e1,Sm,Fn=[],Lo=[],_g=1,Xr=null,Gt=3,Uc=!1,va=!1,Ls=!1,Pm=typeof setTimeout=="function"?setTimeout:null,Tm=typeof clearTimeout=="function"?clearTimeout:null,Em=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function o1(e){for(var t=$n(Lo);t!==null;){if(t.callback===null)Wc(Lo);else if(t.startTime<=e)Wc(Lo),t.sortIndex=t.expirationTime,n1(Fn,t);else break;t=$n(Lo)}}function a1(e){if(Ls=!1,o1(e),!va)if($n(Fn)!==null)va=!0,s1(i1);else{var t=$n(Lo);t!==null&&l1(a1,t.startTime-e)}}function i1(e,t){va=!1,Ls&&(Ls=!1,Tm(Rs),Rs=-1),Uc=!0;var r=Gt;try{for(o1(t),Xr=$n(Fn);Xr!==null&&(!(Xr.expirationTime>t)||e&&!_m());){var n=Xr.callback;if(typeof n=="function"){Xr.callback=null,Gt=Xr.priorityLevel;var o=n(Xr.expirationTime<=t);t=We.unstable_now(),typeof o=="function"?Xr.callback=o:Xr===$n(Fn)&&Wc(Fn),o1(t)}else Wc(Fn);Xr=$n(Fn)}if(Xr!==null)var a=!0;else{var i=$n(Lo);i!==null&&l1(a1,i.startTime-t),a=!1}return a}finally{Xr=null,Gt=r,Uc=!1}}var jc=!1,Vc=null,Rs=-1,Lm=5,Rm=-1;function _m(){return!(We.unstable_now()-Rm<Lm)}function t1(){if(Vc!==null){var e=We.unstable_now();Rm=e;var t=!0;try{t=Vc(!0,e)}finally{t?Ts():(jc=!1,Vc=null)}}else jc=!1}var Ts;typeof Em=="function"?Ts=function(){Em(t1)}:typeof MessageChannel<"u"?(r1=new MessageChannel,km=r1.port2,r1.port1.onmessage=t1,Ts=function(){km.postMessage(null)}):Ts=function(){Pm(t1,0)};var r1,km;function s1(e){Vc=e,jc||(jc=!0,Ts())}function l1(e,t){Rs=Pm(function(){e(We.unstable_now())},t)}We.unstable_IdlePriority=5;We.unstable_ImmediatePriority=1;We.unstable_LowPriority=4;We.unstable_NormalPriority=3;We.unstable_Profiling=null;We.unstable_UserBlockingPriority=2;We.unstable_cancelCallback=function(e){e.callback=null};We.unstable_continueExecution=function(){va||Uc||(va=!0,s1(i1))};We.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Lm=0<e?Math.floor(1e3/e):5};We.unstable_getCurrentPriorityLevel=function(){return Gt};We.unstable_getFirstCallbackNode=function(){return $n(Fn)};We.unstable_next=function(e){switch(Gt){case 1:case 2:case 3:var t=3;break;default:t=Gt}var r=Gt;Gt=t;try{return e()}finally{Gt=r}};We.unstable_pauseExecution=function(){};We.unstable_requestPaint=function(){};We.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Gt;Gt=e;try{return t()}finally{Gt=r}};We.unstable_scheduleCallback=function(e,t,r){var n=We.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:_g++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,n1(Lo,e),$n(Fn)===null&&e===$n(Lo)&&(Ls?(Tm(Rs),Rs=-1):Ls=!0,l1(a1,r-n))):(e.sortIndex=o,n1(Fn,e),va||Uc||(va=!0,s1(i1))),e};We.unstable_shouldYield=_m;We.unstable_wrapCallback=function(e){var t=Gt;return function(){var r=Gt;Gt=t;try{return e.apply(this,arguments)}finally{Gt=r}}}});var Nm=bn((Ow,Im)=>{"use strict";Im.exports=Mm()});var A6=bn(Hr=>{"use strict";var Mg=D(),Dr=Nm();function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var z4=new Set,Qs={};function Ma(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(Qs[e]=t,e=0;e<t.length;e++)z4.add(t[e])}var so=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_1=Object.prototype.hasOwnProperty,Ig=/^[: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]*$/,Dm={},Fm={};function Ng(e){return _1.call(Fm,e)?!0:_1.call(Dm,e)?!1:Ig.test(e)?Fm[e]=!0:(Dm[e]=!0,!1)}function Dg(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Fg(e,t,r,n){if(t===null||typeof t>"u"||Dg(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ir(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Bt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Bt[e]=new ir(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Bt[t]=new ir(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Bt[e]=new ir(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Bt[e]=new ir(e,2,!1,e,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(e){Bt[e]=new ir(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Bt[e]=new ir(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Bt[e]=new ir(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Bt[e]=new ir(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Bt[e]=new ir(e,5,!1,e.toLowerCase(),null,!1,!1)});var w0=/[\-:]([a-z])/g;function S0(e){return e[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(e){var t=e.replace(w0,S0);Bt[t]=new ir(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(w0,S0);Bt[t]=new ir(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(w0,S0);Bt[t]=new ir(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Bt[e]=new ir(e,1,!1,e.toLowerCase(),null,!1,!1)});Bt.xlinkHref=new ir("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Bt[e]=new ir(e,1,!1,e.toLowerCase(),null,!0,!0)});function E0(e,t,r,n){var o=Bt.hasOwnProperty(t)?Bt[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Fg(t,r,o,n)&&(r=null),n||o===null?Ng(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var fo=Mg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gc=Symbol.for("react.element"),ui=Symbol.for("react.portal"),fi=Symbol.for("react.fragment"),k0=Symbol.for("react.strict_mode"),M1=Symbol.for("react.profiler"),B4=Symbol.for("react.provider"),V4=Symbol.for("react.context"),P0=Symbol.for("react.forward_ref"),I1=Symbol.for("react.suspense"),N1=Symbol.for("react.suspense_list"),T0=Symbol.for("react.memo"),_o=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var W4=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Hm=Symbol.iterator;function _s(e){return e===null||typeof e!="object"?null:(e=Hm&&e[Hm]||e["@@iterator"],typeof e=="function"?e:null)}var it=Object.assign,c1;function Os(e){if(c1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);c1=t&&t[1]||""}return`
2
- `+c1+e}var d1=!1;function u1(e,t){if(!e||d1)return"";d1=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
3
- `),a=n.stack.split(`
4
- `),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(i!==1||s!==1)do if(i--,s--,0>s||o[i]!==a[s]){var l=`
5
- `+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{d1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Os(e):""}function Hg(e){switch(e.tag){case 5:return Os(e.type);case 16:return Os("Lazy");case 13:return Os("Suspense");case 19:return Os("SuspenseList");case 0:case 2:case 15:return e=u1(e.type,!1),e;case 11:return e=u1(e.type.render,!1),e;case 1:return e=u1(e.type,!0),e;default:return""}}function D1(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fi:return"Fragment";case ui:return"Portal";case M1:return"Profiler";case k0:return"StrictMode";case I1:return"Suspense";case N1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case V4:return(e.displayName||"Context")+".Consumer";case B4:return(e._context.displayName||"Context")+".Provider";case P0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case T0:return t=e.displayName||null,t!==null?t:D1(e.type)||"Memo";case _o:t=e._payload,e=e._init;try{return D1(e(t))}catch{}}return null}function Ag(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return D1(t);case 8:return t===k0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Uo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function U4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Og(e){var t=U4(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zc(e){e._valueTracker||(e._valueTracker=Og(e))}function j4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=U4(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Cd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function F1(e,t){var r=t.checked;return it({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Am(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Uo(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function G4(e,t){t=t.checked,t!=null&&E0(e,"checked",t,!1)}function H1(e,t){G4(e,t);var r=Uo(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?A1(e,t.type,r):t.hasOwnProperty("defaultValue")&&A1(e,t.type,Uo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Om(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function A1(e,t,r){(t!=="number"||Cd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Ks=Array.isArray;function wi(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Uo(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function O1(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Km(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(U(92));if(Ks(r)){if(1<r.length)throw Error(U(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Uo(r)}}function Z4(e,t){var r=Uo(t.value),n=Uo(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function zm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Y4(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function K1(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Y4(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yc,X4=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yc=Yc||document.createElement("div"),Yc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Js(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Vs={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},Kg=["Webkit","ms","Moz","O"];Object.keys(Vs).forEach(function(e){Kg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vs[t]=Vs[e]})});function q4(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Vs.hasOwnProperty(e)&&Vs[e]?(""+t).trim():t+"px"}function Q4(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=q4(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var zg=it({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 z1(e,t){if(t){if(zg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function B1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var V1=null;function L0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var W1=null,Si=null,Ei=null;function Bm(e){if(e=bl(e)){if(typeof W1!="function")throw Error(U(280));var t=e.stateNode;t&&(t=Xd(t),W1(e.stateNode,e.type,t))}}function J4(e){Si?Ei?Ei.push(e):Ei=[e]:Si=e}function e5(){if(Si){var e=Si,t=Ei;if(Ei=Si=null,Bm(e),t)for(e=0;e<t.length;e++)Bm(t[e])}}function t5(e,t){return e(t)}function r5(){}var f1=!1;function n5(e,t,r){if(f1)return e(t,r);f1=!0;try{return t5(e,t,r)}finally{f1=!1,(Si!==null||Ei!==null)&&(r5(),e5())}}function el(e,t){var r=e.stateNode;if(r===null)return null;var n=Xd(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(U(231,t,typeof r));return r}var U1=!1;if(so)try{ci={},Object.defineProperty(ci,"passive",{get:function(){U1=!0}}),window.addEventListener("test",ci,ci),window.removeEventListener("test",ci,ci)}catch{U1=!1}var ci;function Bg(e,t,r,n,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var Ws=!1,wd=null,Sd=!1,j1=null,Vg={onError:function(e){Ws=!0,wd=e}};function Wg(e,t,r,n,o,a,i,s,l){Ws=!1,wd=null,Bg.apply(Vg,arguments)}function Ug(e,t,r,n,o,a,i,s,l){if(Wg.apply(this,arguments),Ws){if(Ws){var c=wd;Ws=!1,wd=null}else throw Error(U(198));Sd||(Sd=!0,j1=c)}}function Ia(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function o5(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Vm(e){if(Ia(e)!==e)throw Error(U(188))}function jg(e){var t=e.alternate;if(!t){if(t=Ia(e),t===null)throw Error(U(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var a=o.alternate;if(a===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Vm(o),e;if(a===n)return Vm(o),t;a=a.sibling}throw Error(U(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,n=a;break}if(s===n){i=!0,n=o,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,n=o;break}if(s===n){i=!0,n=a,r=o;break}s=s.sibling}if(!i)throw Error(U(189))}}if(r.alternate!==n)throw Error(U(190))}if(r.tag!==3)throw Error(U(188));return r.stateNode.current===r?e:t}function a5(e){return e=jg(e),e!==null?i5(e):null}function i5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=i5(e);if(t!==null)return t;e=e.sibling}return null}var s5=Dr.unstable_scheduleCallback,Wm=Dr.unstable_cancelCallback,Gg=Dr.unstable_shouldYield,Zg=Dr.unstable_requestPaint,ut=Dr.unstable_now,Yg=Dr.unstable_getCurrentPriorityLevel,R0=Dr.unstable_ImmediatePriority,l5=Dr.unstable_UserBlockingPriority,Ed=Dr.unstable_NormalPriority,Xg=Dr.unstable_LowPriority,c5=Dr.unstable_IdlePriority,jd=null,Kn=null;function qg(e){if(Kn&&typeof Kn.onCommitFiberRoot=="function")try{Kn.onCommitFiberRoot(jd,e,void 0,(e.current.flags&128)===128)}catch{}}var wn=Math.clz32?Math.clz32:eb,Qg=Math.log,Jg=Math.LN2;function eb(e){return e>>>=0,e===0?32:31-(Qg(e)/Jg|0)|0}var Xc=64,qc=4194304;function zs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function kd(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~o;s!==0?n=zs(s):(a&=i,a!==0&&(n=zs(a)))}else i=r&~o,i!==0?n=zs(i):a!==0&&(n=zs(a));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-wn(t),o=1<<r,n|=e[r],t&=~o;return n}function tb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function rb(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-wn(a),s=1<<i,l=o[i];l===-1?((s&r)===0||(s&n)!==0)&&(o[i]=tb(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function G1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function d5(){var e=Xc;return Xc<<=1,(Xc&4194240)===0&&(Xc=64),e}function p1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hl(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wn(t),e[t]=r}function nb(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-wn(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}function _0(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-wn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var Ae=0;function u5(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var f5,M0,p5,m5,h5,Z1=!1,Qc=[],Ho=null,Ao=null,Oo=null,tl=new Map,rl=new Map,Io=[],ob="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 Um(e,t){switch(e){case"focusin":case"focusout":Ho=null;break;case"dragenter":case"dragleave":Ao=null;break;case"mouseover":case"mouseout":Oo=null;break;case"pointerover":case"pointerout":tl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":rl.delete(t.pointerId)}}function Ms(e,t,r,n,o,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},t!==null&&(t=bl(t),t!==null&&M0(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ab(e,t,r,n,o){switch(t){case"focusin":return Ho=Ms(Ho,e,t,r,n,o),!0;case"dragenter":return Ao=Ms(Ao,e,t,r,n,o),!0;case"mouseover":return Oo=Ms(Oo,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return tl.set(a,Ms(tl.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,rl.set(a,Ms(rl.get(a)||null,e,t,r,n,o)),!0}return!1}function g5(e){var t=Ca(e.target);if(t!==null){var r=Ia(t);if(r!==null){if(t=r.tag,t===13){if(t=o5(r),t!==null){e.blockedOn=t,h5(e.priority,function(){p5(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Y1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);V1=n,r.target.dispatchEvent(n),V1=null}else return t=bl(r),t!==null&&M0(t),e.blockedOn=r,!1;t.shift()}return!0}function jm(e,t,r){fd(e)&&r.delete(t)}function ib(){Z1=!1,Ho!==null&&fd(Ho)&&(Ho=null),Ao!==null&&fd(Ao)&&(Ao=null),Oo!==null&&fd(Oo)&&(Oo=null),tl.forEach(jm),rl.forEach(jm)}function Is(e,t){e.blockedOn===t&&(e.blockedOn=null,Z1||(Z1=!0,Dr.unstable_scheduleCallback(Dr.unstable_NormalPriority,ib)))}function nl(e){function t(o){return Is(o,e)}if(0<Qc.length){Is(Qc[0],e);for(var r=1;r<Qc.length;r++){var n=Qc[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Ho!==null&&Is(Ho,e),Ao!==null&&Is(Ao,e),Oo!==null&&Is(Oo,e),tl.forEach(t),rl.forEach(t),r=0;r<Io.length;r++)n=Io[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Io.length&&(r=Io[0],r.blockedOn===null);)g5(r),r.blockedOn===null&&Io.shift()}var ki=fo.ReactCurrentBatchConfig,Pd=!0;function sb(e,t,r,n){var o=Ae,a=ki.transition;ki.transition=null;try{Ae=1,I0(e,t,r,n)}finally{Ae=o,ki.transition=a}}function lb(e,t,r,n){var o=Ae,a=ki.transition;ki.transition=null;try{Ae=4,I0(e,t,r,n)}finally{Ae=o,ki.transition=a}}function I0(e,t,r,n){if(Pd){var o=Y1(e,t,r,n);if(o===null)y1(e,t,n,Td,r),Um(e,n);else if(ab(o,e,t,r,n))n.stopPropagation();else if(Um(e,n),t&4&&-1<ob.indexOf(e)){for(;o!==null;){var a=bl(o);if(a!==null&&f5(a),a=Y1(e,t,r,n),a===null&&y1(e,t,n,Td,r),a===o)break;o=a}o!==null&&n.stopPropagation()}else y1(e,t,n,null,r)}}var Td=null;function Y1(e,t,r,n){if(Td=null,e=L0(n),e=Ca(e),e!==null)if(t=Ia(e),t===null)e=null;else if(r=t.tag,r===13){if(e=o5(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Td=e,null}function b5(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Yg()){case R0:return 1;case l5:return 4;case Ed:case Xg:return 16;case c5:return 536870912;default:return 16}default:return 16}}var Do=null,N0=null,pd=null;function $5(){if(pd)return pd;var e,t=N0,r=t.length,n,o="value"in Do?Do.value:Do.textContent,a=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[a-n];n++);return pd=o.slice(e,1<n?1-n:void 0)}function md(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Jc(){return!0}function Gm(){return!1}function Fr(e){function t(r,n,o,a,i){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Jc:Gm,this.isPropagationStopped=Gm,this}return it(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Jc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Jc)},persist:function(){},isPersistent:Jc}),t}var Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},D0=Fr(Fi),gl=it({},Fi,{view:0,detail:0}),cb=Fr(gl),m1,h1,Ns,Gd=it({},gl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:F0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ns&&(Ns&&e.type==="mousemove"?(m1=e.screenX-Ns.screenX,h1=e.screenY-Ns.screenY):h1=m1=0,Ns=e),m1)},movementY:function(e){return"movementY"in e?e.movementY:h1}}),Zm=Fr(Gd),db=it({},Gd,{dataTransfer:0}),ub=Fr(db),fb=it({},gl,{relatedTarget:0}),g1=Fr(fb),pb=it({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),mb=Fr(pb),hb=it({},Fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gb=Fr(hb),bb=it({},Fi,{data:0}),Ym=Fr(bb),$b={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vb={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"},yb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yb[e])?!!t[e]:!1}function F0(){return xb}var Cb=it({},gl,{key:function(e){if(e.key){var t=$b[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=md(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:F0,charCode:function(e){return e.type==="keypress"?md(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?md(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wb=Fr(Cb),Sb=it({},Gd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xm=Fr(Sb),Eb=it({},gl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:F0}),kb=Fr(Eb),Pb=it({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tb=Fr(Pb),Lb=it({},Gd,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rb=Fr(Lb),_b=[9,13,27,32],H0=so&&"CompositionEvent"in window,Us=null;so&&"documentMode"in document&&(Us=document.documentMode);var Mb=so&&"TextEvent"in window&&!Us,v5=so&&(!H0||Us&&8<Us&&11>=Us),qm=" ",Qm=!1;function y5(e,t){switch(e){case"keyup":return _b.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function x5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pi=!1;function Ib(e,t){switch(e){case"compositionend":return x5(t);case"keypress":return t.which!==32?null:(Qm=!0,qm);case"textInput":return e=t.data,e===qm&&Qm?null:e;default:return null}}function Nb(e,t){if(pi)return e==="compositionend"||!H0&&y5(e,t)?(e=$5(),pd=N0=Do=null,pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return v5&&t.locale!=="ko"?null:t.data;default:return null}}var Db={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 Jm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Db[e.type]:t==="textarea"}function C5(e,t,r,n){J4(n),t=Ld(t,"onChange"),0<t.length&&(r=new D0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var js=null,ol=null;function Fb(e){I5(e,0)}function Zd(e){var t=gi(e);if(j4(t))return e}function Hb(e,t){if(e==="change")return t}var w5=!1;so&&(so?(td="oninput"in document,td||(b1=document.createElement("div"),b1.setAttribute("oninput","return;"),td=typeof b1.oninput=="function"),ed=td):ed=!1,w5=ed&&(!document.documentMode||9<document.documentMode));var ed,td,b1;function e4(){js&&(js.detachEvent("onpropertychange",S5),ol=js=null)}function S5(e){if(e.propertyName==="value"&&Zd(ol)){var t=[];C5(t,ol,e,L0(e)),n5(Fb,t)}}function Ab(e,t,r){e==="focusin"?(e4(),js=t,ol=r,js.attachEvent("onpropertychange",S5)):e==="focusout"&&e4()}function Ob(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zd(ol)}function Kb(e,t){if(e==="click")return Zd(t)}function zb(e,t){if(e==="input"||e==="change")return Zd(t)}function Bb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var En=typeof Object.is=="function"?Object.is:Bb;function al(e,t){if(En(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!_1.call(t,o)||!En(e[o],t[o]))return!1}return!0}function t4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r4(e,t){var r=t4(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=t4(r)}}function E5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?E5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function k5(){for(var e=window,t=Cd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Cd(e.document)}return t}function A0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vb(e){var t=k5(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&E5(r.ownerDocument.documentElement,r)){if(n!==null&&A0(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=r4(r,a);var i=r4(r,n);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Wb=so&&"documentMode"in document&&11>=document.documentMode,mi=null,X1=null,Gs=null,q1=!1;function n4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;q1||mi==null||mi!==Cd(n)||(n=mi,"selectionStart"in n&&A0(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Gs&&al(Gs,n)||(Gs=n,n=Ld(X1,"onSelect"),0<n.length&&(t=new D0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mi)))}function rd(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var hi={animationend:rd("Animation","AnimationEnd"),animationiteration:rd("Animation","AnimationIteration"),animationstart:rd("Animation","AnimationStart"),transitionend:rd("Transition","TransitionEnd")},$1={},P5={};so&&(P5=document.createElement("div").style,"AnimationEvent"in window||(delete hi.animationend.animation,delete hi.animationiteration.animation,delete hi.animationstart.animation),"TransitionEvent"in window||delete hi.transitionend.transition);function Yd(e){if($1[e])return $1[e];if(!hi[e])return e;var t=hi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in P5)return $1[e]=t[r];return e}var T5=Yd("animationend"),L5=Yd("animationiteration"),R5=Yd("animationstart"),_5=Yd("transitionend"),M5=new Map,o4="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 Go(e,t){M5.set(e,t),Ma(t,[e])}for(nd=0;nd<o4.length;nd++)od=o4[nd],a4=od.toLowerCase(),i4=od[0].toUpperCase()+od.slice(1),Go(a4,"on"+i4);var od,a4,i4,nd;Go(T5,"onAnimationEnd");Go(L5,"onAnimationIteration");Go(R5,"onAnimationStart");Go("dblclick","onDoubleClick");Go("focusin","onFocus");Go("focusout","onBlur");Go(_5,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("onPointerLeave",["pointerout","pointerover"]);Ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ma("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bs="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(" "),Ub=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bs));function s4(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Ug(n,t,void 0,e),e.currentTarget=null}function I5(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;s4(o,s,c),a=l}else for(i=0;i<n.length;i++){if(s=n[i],l=s.instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;s4(o,s,c),a=l}}}if(Sd)throw e=j1,Sd=!1,j1=null,e}function Ye(e,t){var r=t[r0];r===void 0&&(r=t[r0]=new Set);var n=e+"__bubble";r.has(n)||(N5(t,e,2,!1),r.add(n))}function v1(e,t,r){var n=0;t&&(n|=4),N5(r,e,n,t)}var ad="_reactListening"+Math.random().toString(36).slice(2);function il(e){if(!e[ad]){e[ad]=!0,z4.forEach(function(r){r!=="selectionchange"&&(Ub.has(r)||v1(r,!1,e),v1(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ad]||(t[ad]=!0,v1("selectionchange",!1,t))}}function N5(e,t,r,n){switch(b5(t)){case 1:var o=sb;break;case 4:o=lb;break;default:o=I0}r=o.bind(null,t,r,e),o=void 0,!U1||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function y1(e,t,r,n,o){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var s=n.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(i===4)for(i=n.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;s!==null;){if(i=Ca(s),i===null)return;if(l=i.tag,l===5||l===6){n=a=i;continue e}s=s.parentNode}}n=n.return}n5(function(){var c=a,d=L0(r),u=[];e:{var p=M5.get(e);if(p!==void 0){var b=D0,g=e;switch(e){case"keypress":if(md(r)===0)break e;case"keydown":case"keyup":b=wb;break;case"focusin":g="focus",b=g1;break;case"focusout":g="blur",b=g1;break;case"beforeblur":case"afterblur":b=g1;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=Zm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=ub;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=kb;break;case T5:case L5:case R5:b=mb;break;case _5:b=Tb;break;case"scroll":b=cb;break;case"wheel":b=Rb;break;case"copy":case"cut":case"paste":b=gb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=Xm}var y=(t&4)!==0,$=!y&&e==="scroll",m=y?p!==null?p+"Capture":null:p;y=[];for(var f=c,h;f!==null;){h=f;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,m!==null&&(v=el(f,m),v!=null&&y.push(sl(f,v,h)))),$)break;f=f.return}0<y.length&&(p=new b(p,g,null,r,d),u.push({event:p,listeners:y}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",p&&r!==V1&&(g=r.relatedTarget||r.fromElement)&&(Ca(g)||g[lo]))break e;if((b||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,b?(g=r.relatedTarget||r.toElement,b=c,g=g?Ca(g):null,g!==null&&($=Ia(g),g!==$||g.tag!==5&&g.tag!==6)&&(g=null)):(b=null,g=c),b!==g)){if(y=Zm,v="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(y=Xm,v="onPointerLeave",m="onPointerEnter",f="pointer"),$=b==null?p:gi(b),h=g==null?p:gi(g),p=new y(v,f+"leave",b,r,d),p.target=$,p.relatedTarget=h,v=null,Ca(d)===c&&(y=new y(m,f+"enter",g,r,d),y.target=h,y.relatedTarget=$,v=y),$=v,b&&g)t:{for(y=b,m=g,f=0,h=y;h;h=di(h))f++;for(h=0,v=m;v;v=di(v))h++;for(;0<f-h;)y=di(y),f--;for(;0<h-f;)m=di(m),h--;for(;f--;){if(y===m||m!==null&&y===m.alternate)break t;y=di(y),m=di(m)}y=null}else y=null;b!==null&&l4(u,p,b,y,!1),g!==null&&$!==null&&l4(u,$,g,y,!0)}}e:{if(p=c?gi(c):window,b=p.nodeName&&p.nodeName.toLowerCase(),b==="select"||b==="input"&&p.type==="file")var x=Hb;else if(Jm(p))if(w5)x=zb;else{x=Ob;var w=Ab}else(b=p.nodeName)&&b.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=Kb);if(x&&(x=x(e,c))){C5(u,x,r,d);break e}w&&w(e,p,c),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&A1(p,"number",p.value)}switch(w=c?gi(c):window,e){case"focusin":(Jm(w)||w.contentEditable==="true")&&(mi=w,X1=c,Gs=null);break;case"focusout":Gs=X1=mi=null;break;case"mousedown":q1=!0;break;case"contextmenu":case"mouseup":case"dragend":q1=!1,n4(u,r,d);break;case"selectionchange":if(Wb)break;case"keydown":case"keyup":n4(u,r,d)}var k;if(H0)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else pi?y5(e,r)&&(E="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&(v5&&r.locale!=="ko"&&(pi||E!=="onCompositionStart"?E==="onCompositionEnd"&&pi&&(k=$5()):(Do=d,N0="value"in Do?Do.value:Do.textContent,pi=!0)),w=Ld(c,E),0<w.length&&(E=new Ym(E,e,null,r,d),u.push({event:E,listeners:w}),k?E.data=k:(k=x5(r),k!==null&&(E.data=k)))),(k=Mb?Ib(e,r):Nb(e,r))&&(c=Ld(c,"onBeforeInput"),0<c.length&&(d=new Ym("onBeforeInput","beforeinput",null,r,d),u.push({event:d,listeners:c}),d.data=k))}I5(u,t)})}function sl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ld(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=el(e,r),a!=null&&n.unshift(sl(e,a,o)),a=el(e,t),a!=null&&n.push(sl(e,a,o))),e=e.return}return n}function di(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function l4(e,t,r,n,o){for(var a=t._reactName,i=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,o?(l=el(r,a),l!=null&&i.unshift(sl(r,l,s))):o||(l=el(r,a),l!=null&&i.push(sl(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var jb=/\r\n?/g,Gb=/\u0000|\uFFFD/g;function c4(e){return(typeof e=="string"?e:""+e).replace(jb,`
6
- `).replace(Gb,"")}function id(e,t,r){if(t=c4(t),c4(e)!==t&&r)throw Error(U(425))}function Rd(){}var Q1=null,J1=null;function e0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var t0=typeof setTimeout=="function"?setTimeout:void 0,Zb=typeof clearTimeout=="function"?clearTimeout:void 0,d4=typeof Promise=="function"?Promise:void 0,Yb=typeof queueMicrotask=="function"?queueMicrotask:typeof d4<"u"?function(e){return d4.resolve(null).then(e).catch(Xb)}:t0;function Xb(e){setTimeout(function(){throw e})}function x1(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),nl(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);nl(t)}function Ko(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function u4(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Hi=Math.random().toString(36).slice(2),On="__reactFiber$"+Hi,ll="__reactProps$"+Hi,lo="__reactContainer$"+Hi,r0="__reactEvents$"+Hi,qb="__reactListeners$"+Hi,Qb="__reactHandles$"+Hi;function Ca(e){var t=e[On];if(t)return t;for(var r=e.parentNode;r;){if(t=r[lo]||r[On]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=u4(e);e!==null;){if(r=e[On])return r;e=u4(e)}return t}e=r,r=e.parentNode}return null}function bl(e){return e=e[On]||e[lo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function gi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function Xd(e){return e[ll]||null}var n0=[],bi=-1;function Zo(e){return{current:e}}function Xe(e){0>bi||(e.current=n0[bi],n0[bi]=null,bi--)}function Ue(e,t){bi++,n0[bi]=e.current,e.current=t}var jo={},qt=Zo(jo),xr=Zo(!1),Pa=jo;function Ri(e,t){var r=e.type.contextTypes;if(!r)return jo;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Cr(e){return e=e.childContextTypes,e!=null}function _d(){Xe(xr),Xe(qt)}function f4(e,t,r){if(qt.current!==jo)throw Error(U(168));Ue(qt,t),Ue(xr,r)}function D5(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(U(108,Ag(e)||"Unknown",o));return it({},r,n)}function Md(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Pa=qt.current,Ue(qt,e),Ue(xr,xr.current),!0}function p4(e,t,r){var n=e.stateNode;if(!n)throw Error(U(169));r?(e=D5(e,t,Pa),n.__reactInternalMemoizedMergedChildContext=e,Xe(xr),Xe(qt),Ue(qt,e)):Xe(xr),Ue(xr,r)}var no=null,qd=!1,C1=!1;function F5(e){no===null?no=[e]:no.push(e)}function Jb(e){qd=!0,F5(e)}function Yo(){if(!C1&&no!==null){C1=!0;var e=0,t=Ae;try{var r=no;for(Ae=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}no=null,qd=!1}catch(o){throw no!==null&&(no=no.slice(e+1)),s5(R0,Yo),o}finally{Ae=t,C1=!1}}return null}var $i=[],vi=0,Id=null,Nd=0,qr=[],Qr=0,Ta=null,oo=1,ao="";function ya(e,t){$i[vi++]=Nd,$i[vi++]=Id,Id=e,Nd=t}function H5(e,t,r){qr[Qr++]=oo,qr[Qr++]=ao,qr[Qr++]=Ta,Ta=e;var n=oo;e=ao;var o=32-wn(n)-1;n&=~(1<<o),r+=1;var a=32-wn(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,oo=1<<32-wn(t)+o|r<<o|n,ao=a+e}else oo=1<<a|r<<o|n,ao=e}function O0(e){e.return!==null&&(ya(e,1),H5(e,1,0))}function K0(e){for(;e===Id;)Id=$i[--vi],$i[vi]=null,Nd=$i[--vi],$i[vi]=null;for(;e===Ta;)Ta=qr[--Qr],qr[Qr]=null,ao=qr[--Qr],qr[Qr]=null,oo=qr[--Qr],qr[Qr]=null}var Nr=null,Ir=null,Qe=!1,Cn=null;function A5(e,t){var r=Jr(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function m4(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Nr=e,Ir=Ko(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Nr=e,Ir=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Ta!==null?{id:oo,overflow:ao}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Jr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Nr=e,Ir=null,!0):!1;default:return!1}}function o0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function a0(e){if(Qe){var t=Ir;if(t){var r=t;if(!m4(e,t)){if(o0(e))throw Error(U(418));t=Ko(r.nextSibling);var n=Nr;t&&m4(e,t)?A5(n,r):(e.flags=e.flags&-4097|2,Qe=!1,Nr=e)}}else{if(o0(e))throw Error(U(418));e.flags=e.flags&-4097|2,Qe=!1,Nr=e}}}function h4(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Nr=e}function sd(e){if(e!==Nr)return!1;if(!Qe)return h4(e),Qe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!e0(e.type,e.memoizedProps)),t&&(t=Ir)){if(o0(e))throw O5(),Error(U(418));for(;t;)A5(e,t),t=Ko(t.nextSibling)}if(h4(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ir=Ko(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ir=null}}else Ir=Nr?Ko(e.stateNode.nextSibling):null;return!0}function O5(){for(var e=Ir;e;)e=Ko(e.nextSibling)}function _i(){Ir=Nr=null,Qe=!1}function z0(e){Cn===null?Cn=[e]:Cn.push(e)}var e$=fo.ReactCurrentBatchConfig;function Ds(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(U(309));var n=r.stateNode}if(!n)throw Error(U(147,e));var o=n,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var s=o.refs;i===null?delete s[a]:s[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(U(284));if(!r._owner)throw Error(U(290,e))}return e}function ld(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function g4(e){var t=e._init;return t(e._payload)}function K5(e){function t(m,f){if(e){var h=m.deletions;h===null?(m.deletions=[f],m.flags|=16):h.push(f)}}function r(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function n(m,f){for(m=new Map;f!==null;)f.key!==null?m.set(f.key,f):m.set(f.index,f),f=f.sibling;return m}function o(m,f){return m=Wo(m,f),m.index=0,m.sibling=null,m}function a(m,f,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<f?(m.flags|=2,f):h):(m.flags|=2,f)):(m.flags|=1048576,f)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,f,h,v){return f===null||f.tag!==6?(f=L1(h,m.mode,v),f.return=m,f):(f=o(f,h),f.return=m,f)}function l(m,f,h,v){var x=h.type;return x===fi?d(m,f,h.props.children,v,h.key):f!==null&&(f.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===_o&&g4(x)===f.type)?(v=o(f,h.props),v.ref=Ds(m,f,h),v.return=m,v):(v=xd(h.type,h.key,h.props,null,m.mode,v),v.ref=Ds(m,f,h),v.return=m,v)}function c(m,f,h,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=R1(h,m.mode,v),f.return=m,f):(f=o(f,h.children||[]),f.return=m,f)}function d(m,f,h,v,x){return f===null||f.tag!==7?(f=ka(h,m.mode,v,x),f.return=m,f):(f=o(f,h),f.return=m,f)}function u(m,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=L1(""+f,m.mode,h),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Gc:return h=xd(f.type,f.key,f.props,null,m.mode,h),h.ref=Ds(m,null,f),h.return=m,h;case ui:return f=R1(f,m.mode,h),f.return=m,f;case _o:var v=f._init;return u(m,v(f._payload),h)}if(Ks(f)||_s(f))return f=ka(f,m.mode,h,null),f.return=m,f;ld(m,f)}return null}function p(m,f,h,v){var x=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return x!==null?null:s(m,f,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Gc:return h.key===x?l(m,f,h,v):null;case ui:return h.key===x?c(m,f,h,v):null;case _o:return x=h._init,p(m,f,x(h._payload),v)}if(Ks(h)||_s(h))return x!==null?null:d(m,f,h,v,null);ld(m,h)}return null}function b(m,f,h,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(h)||null,s(f,m,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Gc:return m=m.get(v.key===null?h:v.key)||null,l(f,m,v,x);case ui:return m=m.get(v.key===null?h:v.key)||null,c(f,m,v,x);case _o:var w=v._init;return b(m,f,h,w(v._payload),x)}if(Ks(v)||_s(v))return m=m.get(h)||null,d(f,m,v,x,null);ld(f,v)}return null}function g(m,f,h,v){for(var x=null,w=null,k=f,E=f=0,T=null;k!==null&&E<h.length;E++){k.index>E?(T=k,k=null):T=k.sibling;var P=p(m,k,h[E],v);if(P===null){k===null&&(k=T);break}e&&k&&P.alternate===null&&t(m,k),f=a(P,f,E),w===null?x=P:w.sibling=P,w=P,k=T}if(E===h.length)return r(m,k),Qe&&ya(m,E),x;if(k===null){for(;E<h.length;E++)k=u(m,h[E],v),k!==null&&(f=a(k,f,E),w===null?x=k:w.sibling=k,w=k);return Qe&&ya(m,E),x}for(k=n(m,k);E<h.length;E++)T=b(k,m,E,h[E],v),T!==null&&(e&&T.alternate!==null&&k.delete(T.key===null?E:T.key),f=a(T,f,E),w===null?x=T:w.sibling=T,w=T);return e&&k.forEach(function(F){return t(m,F)}),Qe&&ya(m,E),x}function y(m,f,h,v){var x=_s(h);if(typeof x!="function")throw Error(U(150));if(h=x.call(h),h==null)throw Error(U(151));for(var w=x=null,k=f,E=f=0,T=null,P=h.next();k!==null&&!P.done;E++,P=h.next()){k.index>E?(T=k,k=null):T=k.sibling;var F=p(m,k,P.value,v);if(F===null){k===null&&(k=T);break}e&&k&&F.alternate===null&&t(m,k),f=a(F,f,E),w===null?x=F:w.sibling=F,w=F,k=T}if(P.done)return r(m,k),Qe&&ya(m,E),x;if(k===null){for(;!P.done;E++,P=h.next())P=u(m,P.value,v),P!==null&&(f=a(P,f,E),w===null?x=P:w.sibling=P,w=P);return Qe&&ya(m,E),x}for(k=n(m,k);!P.done;E++,P=h.next())P=b(k,m,E,P.value,v),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?E:P.key),f=a(P,f,E),w===null?x=P:w.sibling=P,w=P);return e&&k.forEach(function(R){return t(m,R)}),Qe&&ya(m,E),x}function $(m,f,h,v){if(typeof h=="object"&&h!==null&&h.type===fi&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Gc:e:{for(var x=h.key,w=f;w!==null;){if(w.key===x){if(x=h.type,x===fi){if(w.tag===7){r(m,w.sibling),f=o(w,h.props.children),f.return=m,m=f;break e}}else if(w.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===_o&&g4(x)===w.type){r(m,w.sibling),f=o(w,h.props),f.ref=Ds(m,w,h),f.return=m,m=f;break e}r(m,w);break}else t(m,w);w=w.sibling}h.type===fi?(f=ka(h.props.children,m.mode,v,h.key),f.return=m,m=f):(v=xd(h.type,h.key,h.props,null,m.mode,v),v.ref=Ds(m,f,h),v.return=m,m=v)}return i(m);case ui:e:{for(w=h.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){r(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{r(m,f);break}else t(m,f);f=f.sibling}f=R1(h,m.mode,v),f.return=m,m=f}return i(m);case _o:return w=h._init,$(m,f,w(h._payload),v)}if(Ks(h))return g(m,f,h,v);if(_s(h))return y(m,f,h,v);ld(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(r(m,f.sibling),f=o(f,h),f.return=m,m=f):(r(m,f),f=L1(h,m.mode,v),f.return=m,m=f),i(m)):r(m,f)}return $}var Mi=K5(!0),z5=K5(!1),Dd=Zo(null),Fd=null,yi=null,B0=null;function V0(){B0=yi=Fd=null}function W0(e){var t=Dd.current;Xe(Dd),e._currentValue=t}function i0(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Pi(e,t){Fd=e,B0=yi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(yr=!0),e.firstContext=null)}function tn(e){var t=e._currentValue;if(B0!==e)if(e={context:e,memoizedValue:t,next:null},yi===null){if(Fd===null)throw Error(U(308));yi=e,Fd.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var wa=null;function U0(e){wa===null?wa=[e]:wa.push(e)}function B5(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,U0(t)):(r.next=o.next,o.next=r),t.interleaved=r,co(e,n)}function co(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Mo=!1;function j0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function V5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Me&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,co(e,r)}return o=n.interleaved,o===null?(t.next=t,U0(n)):(t.next=o.next,o.next=t),n.interleaved=t,co(e,r)}function hd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,_0(e,r)}}function b4(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=i:a=a.next=i,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Hd(e,t,r,n){var o=e.updateQueue;Mo=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,i===null?a=c:i.next=c,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(a!==null){var u=o.baseState;i=0,d=c=l=null,s=a;do{var p=s.lane,b=s.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:b,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,y=s;switch(p=t,b=r,y.tag){case 1:if(g=y.payload,typeof g=="function"){u=g.call(b,u,p);break e}u=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(b,u,p):g,p==null)break e;u=it({},u,p);break e;case 2:Mo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else b={eventTime:b,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=b,l=u):d=d.next=b,i|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(d===null&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);Ra|=i,e.lanes=i,e.memoizedState=u}}function $4(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(U(191,o));o.call(n)}}}var $l={},zn=Zo($l),cl=Zo($l),dl=Zo($l);function Sa(e){if(e===$l)throw Error(U(174));return e}function G0(e,t){switch(Ue(dl,t),Ue(cl,e),Ue(zn,$l),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:K1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=K1(t,e)}Xe(zn),Ue(zn,t)}function Ii(){Xe(zn),Xe(cl),Xe(dl)}function W5(e){Sa(dl.current);var t=Sa(zn.current),r=K1(t,e.type);t!==r&&(Ue(cl,e),Ue(zn,r))}function Z0(e){cl.current===e&&(Xe(zn),Xe(cl))}var ot=Zo(0);function Ad(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var w1=[];function Y0(){for(var e=0;e<w1.length;e++)w1[e]._workInProgressVersionPrimary=null;w1.length=0}var gd=fo.ReactCurrentDispatcher,S1=fo.ReactCurrentBatchConfig,La=0,at=null,Et=null,Mt=null,Od=!1,Zs=!1,ul=0,t$=0;function Zt(){throw Error(U(321))}function X0(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!En(e[r],t[r]))return!1;return!0}function q0(e,t,r,n,o,a){if(La=a,at=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,gd.current=e===null||e.memoizedState===null?a$:i$,e=r(n,o),Zs){a=0;do{if(Zs=!1,ul=0,25<=a)throw Error(U(301));a+=1,Mt=Et=null,t.updateQueue=null,gd.current=s$,e=r(n,o)}while(Zs)}if(gd.current=Kd,t=Et!==null&&Et.next!==null,La=0,Mt=Et=at=null,Od=!1,t)throw Error(U(300));return e}function Q0(){var e=ul!==0;return ul=0,e}function An(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mt===null?at.memoizedState=Mt=e:Mt=Mt.next=e,Mt}function rn(){if(Et===null){var e=at.alternate;e=e!==null?e.memoizedState:null}else e=Et.next;var t=Mt===null?at.memoizedState:Mt.next;if(t!==null)Mt=t,Et=e;else{if(e===null)throw Error(U(310));Et=e,e={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},Mt===null?at.memoizedState=Mt=e:Mt=Mt.next=e}return Mt}function fl(e,t){return typeof t=="function"?t(e):t}function E1(e){var t=rn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=Et,o=n.baseQueue,a=r.pending;if(a!==null){if(o!==null){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(o!==null){a=o.next,n=n.baseState;var s=i=null,l=null,c=a;do{var d=c.lane;if((La&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var u={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=u,i=n):l=l.next=u,at.lanes|=d,Ra|=d}c=c.next}while(c!==null&&c!==a);l===null?i=n:l.next=s,En(n,t.memoizedState)||(yr=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do a=o.lane,at.lanes|=a,Ra|=a,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function k1(e){var t=rn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(o!==null){r.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o);En(a,t.memoizedState)||(yr=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function U5(){}function j5(e,t){var r=at,n=rn(),o=t(),a=!En(n.memoizedState,o);if(a&&(n.memoizedState=o,yr=!0),n=n.queue,J0(Y5.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||Mt!==null&&Mt.memoizedState.tag&1){if(r.flags|=2048,pl(9,Z5.bind(null,r,n,o,t),void 0,null),It===null)throw Error(U(349));(La&30)!==0||G5(r,t,o)}return o}function G5(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=at.updateQueue,t===null?(t={lastEffect:null,stores:null},at.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Z5(e,t,r,n){t.value=r,t.getSnapshot=n,X5(t)&&q5(e)}function Y5(e,t,r){return r(function(){X5(t)&&q5(e)})}function X5(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!En(e,r)}catch{return!0}}function q5(e){var t=co(e,1);t!==null&&Sn(t,e,1,-1)}function v4(e){var t=An();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:e},t.queue=e,e=e.dispatch=o$.bind(null,at,e),[t.memoizedState,e]}function pl(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=at.updateQueue,t===null?(t={lastEffect:null,stores:null},at.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function Q5(){return rn().memoizedState}function bd(e,t,r,n){var o=An();at.flags|=e,o.memoizedState=pl(1|t,r,void 0,n===void 0?null:n)}function Qd(e,t,r,n){var o=rn();n=n===void 0?null:n;var a=void 0;if(Et!==null){var i=Et.memoizedState;if(a=i.destroy,n!==null&&X0(n,i.deps)){o.memoizedState=pl(t,r,a,n);return}}at.flags|=e,o.memoizedState=pl(1|t,r,a,n)}function y4(e,t){return bd(8390656,8,e,t)}function J0(e,t){return Qd(2048,8,e,t)}function J5(e,t){return Qd(4,2,e,t)}function e6(e,t){return Qd(4,4,e,t)}function t6(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function r6(e,t,r){return r=r!=null?r.concat([e]):null,Qd(4,4,t6.bind(null,t,e),r)}function ep(){}function n6(e,t){var r=rn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&X0(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function o6(e,t){var r=rn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&X0(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function a6(e,t,r){return(La&21)===0?(e.baseState&&(e.baseState=!1,yr=!0),e.memoizedState=r):(En(r,t)||(r=d5(),at.lanes|=r,Ra|=r,e.baseState=!0),t)}function r$(e,t){var r=Ae;Ae=r!==0&&4>r?r:4,e(!0);var n=S1.transition;S1.transition={};try{e(!1),t()}finally{Ae=r,S1.transition=n}}function i6(){return rn().memoizedState}function n$(e,t,r){var n=Vo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},s6(e))l6(t,r);else if(r=B5(e,t,r,n),r!==null){var o=ar();Sn(r,e,n,o),c6(r,t,n)}}function o$(e,t,r){var n=Vo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(s6(e))l6(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,s=a(i,r);if(o.hasEagerState=!0,o.eagerState=s,En(s,i)){var l=t.interleaved;l===null?(o.next=o,U0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=B5(e,t,o,n),r!==null&&(o=ar(),Sn(r,e,n,o),c6(r,t,n))}}function s6(e){var t=e.alternate;return e===at||t!==null&&t===at}function l6(e,t){Zs=Od=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function c6(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,_0(e,r)}}var Kd={readContext:tn,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useInsertionEffect:Zt,useLayoutEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useMutableSource:Zt,useSyncExternalStore:Zt,useId:Zt,unstable_isNewReconciler:!1},a$={readContext:tn,useCallback:function(e,t){return An().memoizedState=[e,t===void 0?null:t],e},useContext:tn,useEffect:y4,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,bd(4194308,4,t6.bind(null,t,e),r)},useLayoutEffect:function(e,t){return bd(4194308,4,e,t)},useInsertionEffect:function(e,t){return bd(4,2,e,t)},useMemo:function(e,t){var r=An();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=An();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=n$.bind(null,at,e),[n.memoizedState,e]},useRef:function(e){var t=An();return e={current:e},t.memoizedState=e},useState:v4,useDebugValue:ep,useDeferredValue:function(e){return An().memoizedState=e},useTransition:function(){var e=v4(!1),t=e[0];return e=r$.bind(null,e[1]),An().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=at,o=An();if(Qe){if(r===void 0)throw Error(U(407));r=r()}else{if(r=t(),It===null)throw Error(U(349));(La&30)!==0||G5(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,y4(Y5.bind(null,n,a,e),[e]),n.flags|=2048,pl(9,Z5.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=An(),t=It.identifierPrefix;if(Qe){var r=ao,n=oo;r=(n&~(1<<32-wn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=ul++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=t$++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},i$={readContext:tn,useCallback:n6,useContext:tn,useEffect:J0,useImperativeHandle:r6,useInsertionEffect:J5,useLayoutEffect:e6,useMemo:o6,useReducer:E1,useRef:Q5,useState:function(){return E1(fl)},useDebugValue:ep,useDeferredValue:function(e){var t=rn();return a6(t,Et.memoizedState,e)},useTransition:function(){var e=E1(fl)[0],t=rn().memoizedState;return[e,t]},useMutableSource:U5,useSyncExternalStore:j5,useId:i6,unstable_isNewReconciler:!1},s$={readContext:tn,useCallback:n6,useContext:tn,useEffect:J0,useImperativeHandle:r6,useInsertionEffect:J5,useLayoutEffect:e6,useMemo:o6,useReducer:k1,useRef:Q5,useState:function(){return k1(fl)},useDebugValue:ep,useDeferredValue:function(e){var t=rn();return Et===null?t.memoizedState=e:a6(t,Et.memoizedState,e)},useTransition:function(){var e=k1(fl)[0],t=rn().memoizedState;return[e,t]},useMutableSource:U5,useSyncExternalStore:j5,useId:i6,unstable_isNewReconciler:!1};function yn(e,t){if(e&&e.defaultProps){t=it({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function s0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:it({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Jd={isMounted:function(e){return(e=e._reactInternals)?Ia(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ar(),o=Vo(e),a=io(n,o);a.payload=t,r!=null&&(a.callback=r),t=zo(e,a,o),t!==null&&(Sn(t,e,o,n),hd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ar(),o=Vo(e),a=io(n,o);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=zo(e,a,o),t!==null&&(Sn(t,e,o,n),hd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ar(),n=Vo(e),o=io(r,n);o.tag=2,t!=null&&(o.callback=t),t=zo(e,o,n),t!==null&&(Sn(t,e,n,r),hd(t,e,n))}};function x4(e,t,r,n,o,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,i):t.prototype&&t.prototype.isPureReactComponent?!al(r,n)||!al(o,a):!0}function d6(e,t,r){var n=!1,o=jo,a=t.contextType;return typeof a=="object"&&a!==null?a=tn(a):(o=Cr(t)?Pa:qt.current,n=t.contextTypes,a=(n=n!=null)?Ri(e,o):jo),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Jd,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function C4(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Jd.enqueueReplaceState(t,t.state,null)}function l0(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},j0(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=tn(a):(a=Cr(t)?Pa:qt.current,o.context=Ri(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(s0(e,t,a,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Jd.enqueueReplaceState(o,o.state,null),Hd(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ni(e,t){try{var r="",n=t;do r+=Hg(n),n=n.return;while(n);var o=r}catch(a){o=`
7
- Error generating stack: `+a.message+`
8
- `+a.stack}return{value:e,source:t,stack:o,digest:null}}function P1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function c0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var l$=typeof WeakMap=="function"?WeakMap:Map;function u6(e,t,r){r=io(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Bd||(Bd=!0,v0=n),c0(e,t)},r}function f6(e,t,r){r=io(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){c0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){c0(e,t),typeof n!="function"&&(Bo===null?Bo=new Set([this]):Bo.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function w4(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new l$;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=C$.bind(null,e,t,r),t.then(e,e))}function S4(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function E4(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=io(-1,1),t.tag=2,zo(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var c$=fo.ReactCurrentOwner,yr=!1;function or(e,t,r,n){t.child=e===null?z5(t,null,r,n):Mi(t,e.child,r,n)}function k4(e,t,r,n,o){r=r.render;var a=t.ref;return Pi(t,o),n=q0(e,t,r,n,a,o),r=Q0(),e!==null&&!yr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,uo(e,t,o)):(Qe&&r&&O0(t),t.flags|=1,or(e,t,n,o),t.child)}function P4(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!lp(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,p6(e,t,a,n,o)):(e=xd(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&o)===0){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:al,r(i,n)&&e.ref===t.ref)return uo(e,t,o)}return t.flags|=1,e=Wo(a,n),e.ref=t.ref,e.return=t,t.child=e}function p6(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(al(a,n)&&e.ref===t.ref)if(yr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(yr=!0);else return t.lanes=e.lanes,uo(e,t,o)}return d0(e,t,r,n,o)}function m6(e,t,r){var n=t.pendingProps,o=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ue(Ci,Mr),Mr|=r;else{if((r&1073741824)===0)return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ue(Ci,Mr),Mr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Ue(Ci,Mr),Mr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Ue(Ci,Mr),Mr|=n;return or(e,t,o,r),t.child}function h6(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function d0(e,t,r,n,o){var a=Cr(r)?Pa:qt.current;return a=Ri(t,a),Pi(t,o),r=q0(e,t,r,n,a,o),n=Q0(),e!==null&&!yr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,uo(e,t,o)):(Qe&&n&&O0(t),t.flags|=1,or(e,t,r,o),t.child)}function T4(e,t,r,n,o){if(Cr(r)){var a=!0;Md(t)}else a=!1;if(Pi(t,o),t.stateNode===null)$d(e,t),d6(t,r,n),l0(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=r.contextType;typeof c=="object"&&c!==null?c=tn(c):(c=Cr(r)?Pa:qt.current,c=Ri(t,c));var d=r.getDerivedStateFromProps,u=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";u||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==n||l!==c)&&C4(t,i,n,c),Mo=!1;var p=t.memoizedState;i.state=p,Hd(t,n,i,o),l=t.memoizedState,s!==n||p!==l||xr.current||Mo?(typeof d=="function"&&(s0(t,r,d,n),l=t.memoizedState),(s=Mo||x4(t,r,s,n,p,l,c))?(u||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,V5(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:yn(t.type,s),i.props=c,u=t.pendingProps,p=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=tn(l):(l=Cr(r)?Pa:qt.current,l=Ri(t,l));var b=r.getDerivedStateFromProps;(d=typeof b=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==u||p!==l)&&C4(t,i,n,l),Mo=!1,p=t.memoizedState,i.state=p,Hd(t,n,i,o);var g=t.memoizedState;s!==u||p!==g||xr.current||Mo?(typeof b=="function"&&(s0(t,r,b,n),g=t.memoizedState),(c=Mo||x4(t,r,c,n,p,g,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,g,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,g,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),i.props=n,i.state=g,i.context=l,n=c):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return u0(e,t,r,n,a,o)}function u0(e,t,r,n,o,a){h6(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&p4(t,r,!1),uo(e,t,a);n=t.stateNode,c$.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Mi(t,e.child,null,a),t.child=Mi(t,null,s,a)):or(e,t,s,a),t.memoizedState=n.state,o&&p4(t,r,!0),t.child}function g6(e){var t=e.stateNode;t.pendingContext?f4(e,t.pendingContext,t.pendingContext!==t.context):t.context&&f4(e,t.context,!1),G0(e,t.containerInfo)}function L4(e,t,r,n,o){return _i(),z0(o),t.flags|=256,or(e,t,r,n),t.child}var f0={dehydrated:null,treeContext:null,retryLane:0};function p0(e){return{baseLanes:e,cachePool:null,transitions:null}}function b6(e,t,r){var n=t.pendingProps,o=ot.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ue(ot,o&1),e===null)return a0(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(i=n.children,e=n.fallback,a?(n=t.mode,a=t.child,i={mode:"hidden",children:i},(n&1)===0&&a!==null?(a.childLanes=0,a.pendingProps=i):a=ru(i,n,0,null),e=ka(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=p0(r),t.memoizedState=f0,e):tp(t,i));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return d$(e,t,i,n,s,o,r);if(a){a=n.fallback,i=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:n.children};return(i&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Wo(o,l),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?a=Wo(s,a):(a=ka(a,i,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,i=e.child.memoizedState,i=i===null?p0(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=f0,n}return a=e.child,e=a.sibling,n=Wo(a,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function tp(e,t){return t=ru({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function cd(e,t,r,n){return n!==null&&z0(n),Mi(t,e.child,null,r),e=tp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function d$(e,t,r,n,o,a,i){if(r)return t.flags&256?(t.flags&=-257,n=P1(Error(U(422))),cd(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=ru({mode:"visible",children:n.children},o,0,null),a=ka(a,o,i,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,(t.mode&1)!==0&&Mi(t,e.child,null,i),t.child.memoizedState=p0(i),t.memoizedState=f0,a);if((t.mode&1)===0)return cd(e,t,i,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error(U(419)),n=P1(a,n,void 0),cd(e,t,i,n)}if(s=(i&e.childLanes)!==0,yr||s){if(n=It,n!==null){switch(i&-i){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|i))!==0?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,co(e,o),Sn(n,e,o,-1))}return sp(),n=P1(Error(U(421))),cd(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=w$.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,Ir=Ko(o.nextSibling),Nr=t,Qe=!0,Cn=null,e!==null&&(qr[Qr++]=oo,qr[Qr++]=ao,qr[Qr++]=Ta,oo=e.id,ao=e.overflow,Ta=t),t=tp(t,n.children),t.flags|=4096,t)}function R4(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),i0(e.return,t,r)}function T1(e,t,r,n,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function $6(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(or(e,t,n.children,r),n=ot.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&R4(e,r,t);else if(e.tag===19)R4(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ue(ot,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Ad(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),T1(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ad(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}T1(t,!0,r,null,a);break;case"together":T1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $d(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function uo(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ra|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,r=Wo(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Wo(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function u$(e,t,r){switch(t.tag){case 3:g6(t),_i();break;case 5:W5(t);break;case 1:Cr(t.type)&&Md(t);break;case 4:G0(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ue(Dd,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ue(ot,ot.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?b6(e,t,r):(Ue(ot,ot.current&1),e=uo(e,t,r),e!==null?e.sibling:null);Ue(ot,ot.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return $6(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ue(ot,ot.current),n)break;return null;case 22:case 23:return t.lanes=0,m6(e,t,r)}return uo(e,t,r)}var v6,m0,y6,x6;v6=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};m0=function(){};y6=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Sa(zn.current);var a=null;switch(r){case"input":o=F1(e,o),n=F1(e,n),a=[];break;case"select":o=it({},o,{value:void 0}),n=it({},n,{value:void 0}),a=[];break;case"textarea":o=O1(e,o),n=O1(e,n),a=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Rd)}z1(r,n);var i;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Qs.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var l=n[c];if(s=o?.[c],n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Qs.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Ye("scroll",e),a||s===l||(a=[])):(a=a||[]).push(c,l))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};x6=function(e,t,r,n){r!==n&&(t.flags|=4)};function Fs(e,t){if(!Qe)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function f$(e,t,r){var n=t.pendingProps;switch(K0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yt(t),null;case 1:return Cr(t.type)&&_d(),Yt(t),null;case 3:return n=t.stateNode,Ii(),Xe(xr),Xe(qt),Y0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(sd(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Cn!==null&&(C0(Cn),Cn=null))),m0(e,t),Yt(t),null;case 5:Z0(t);var o=Sa(dl.current);if(r=t.type,e!==null&&t.stateNode!=null)y6(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(U(166));return Yt(t),null}if(e=Sa(zn.current),sd(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[On]=t,n[ll]=a,e=(t.mode&1)!==0,r){case"dialog":Ye("cancel",n),Ye("close",n);break;case"iframe":case"object":case"embed":Ye("load",n);break;case"video":case"audio":for(o=0;o<Bs.length;o++)Ye(Bs[o],n);break;case"source":Ye("error",n);break;case"img":case"image":case"link":Ye("error",n),Ye("load",n);break;case"details":Ye("toggle",n);break;case"input":Am(n,a),Ye("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Ye("invalid",n);break;case"textarea":Km(n,a),Ye("invalid",n)}z1(r,a),o=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?n.textContent!==s&&(a.suppressHydrationWarning!==!0&&id(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&id(n.textContent,s,e),o=["children",""+s]):Qs.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&Ye("scroll",n)}switch(r){case"input":Zc(n),Om(n,a,!0);break;case"textarea":Zc(n),zm(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Rd)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Y4(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[On]=t,e[ll]=n,v6(e,t,!1,!1),t.stateNode=e;e:{switch(i=B1(r,n),r){case"dialog":Ye("cancel",e),Ye("close",e),o=n;break;case"iframe":case"object":case"embed":Ye("load",e),o=n;break;case"video":case"audio":for(o=0;o<Bs.length;o++)Ye(Bs[o],e);o=n;break;case"source":Ye("error",e),o=n;break;case"img":case"image":case"link":Ye("error",e),Ye("load",e),o=n;break;case"details":Ye("toggle",e),o=n;break;case"input":Am(e,n),o=F1(e,n),Ye("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=it({},n,{value:void 0}),Ye("invalid",e);break;case"textarea":Km(e,n),o=O1(e,n),Ye("invalid",e);break;default:o=n}z1(r,o),s=o;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?Q4(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&X4(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Js(e,l):typeof l=="number"&&Js(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Qs.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Ye("scroll",e):l!=null&&E0(e,a,l,i))}switch(r){case"input":Zc(e),Om(e,n,!1);break;case"textarea":Zc(e),zm(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Uo(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?wi(e,!!n.multiple,a,!1):n.defaultValue!=null&&wi(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Rd)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Yt(t),null;case 6:if(e&&t.stateNode!=null)x6(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(U(166));if(r=Sa(dl.current),Sa(zn.current),sd(t)){if(n=t.stateNode,r=t.memoizedProps,n[On]=t,(a=n.nodeValue!==r)&&(e=Nr,e!==null))switch(e.tag){case 3:id(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&id(n.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[On]=t,t.stateNode=n}return Yt(t),null;case 13:if(Xe(ot),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Qe&&Ir!==null&&(t.mode&1)!==0&&(t.flags&128)===0)O5(),_i(),t.flags|=98560,a=!1;else if(a=sd(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(U(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(U(317));a[On]=t}else _i(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Yt(t),a=!1}else Cn!==null&&(C0(Cn),Cn=null),a=!0;if(!a)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(ot.current&1)!==0?kt===0&&(kt=3):sp())),t.updateQueue!==null&&(t.flags|=4),Yt(t),null);case 4:return Ii(),m0(e,t),e===null&&il(t.stateNode.containerInfo),Yt(t),null;case 10:return W0(t.type._context),Yt(t),null;case 17:return Cr(t.type)&&_d(),Yt(t),null;case 19:if(Xe(ot),a=t.memoizedState,a===null)return Yt(t),null;if(n=(t.flags&128)!==0,i=a.rendering,i===null)if(n)Fs(a,!1);else{if(kt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Ad(e),i!==null){for(t.flags|=128,Fs(a,!1),n=i.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ue(ot,ot.current&1|2),t.child}e=e.sibling}a.tail!==null&&ut()>Di&&(t.flags|=128,n=!0,Fs(a,!1),t.lanes=4194304)}else{if(!n)if(e=Ad(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Fs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Qe)return Yt(t),null}else 2*ut()-a.renderingStartTime>Di&&r!==1073741824&&(t.flags|=128,n=!0,Fs(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ut(),t.sibling=null,r=ot.current,Ue(ot,n?r&1|2:r&1),t):(Yt(t),null);case 22:case 23:return ip(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Mr&1073741824)!==0&&(Yt(t),t.subtreeFlags&6&&(t.flags|=8192)):Yt(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function p$(e,t){switch(K0(t),t.tag){case 1:return Cr(t.type)&&_d(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ii(),Xe(xr),Xe(qt),Y0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Z0(t),null;case 13:if(Xe(ot),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));_i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Xe(ot),null;case 4:return Ii(),null;case 10:return W0(t.type._context),null;case 22:case 23:return ip(),null;case 24:return null;default:return null}}var dd=!1,Xt=!1,m$=typeof WeakSet=="function"?WeakSet:Set,re=null;function xi(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){lt(e,t,n)}else r.current=null}function h0(e,t,r){try{r()}catch(n){lt(e,t,n)}}var _4=!1;function h$(e,t){if(Q1=Pd,e=k5(),A0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,c=0,d=0,u=e,p=null;t:for(;;){for(var b;u!==r||o!==0&&u.nodeType!==3||(s=i+o),u!==a||n!==0&&u.nodeType!==3||(l=i+n),u.nodeType===3&&(i+=u.nodeValue.length),(b=u.firstChild)!==null;)p=u,u=b;for(;;){if(u===e)break t;if(p===r&&++c===o&&(s=i),p===a&&++d===n&&(l=i),(b=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(J1={focusedElem:e,selectionRange:r},Pd=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:yn(t.type,y),$);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(v){lt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return g=_4,_4=!1,g}function Ys(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&h0(t,r,a)}o=o.next}while(o!==n)}}function eu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function g0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function C6(e){var t=e.alternate;t!==null&&(e.alternate=null,C6(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[On],delete t[ll],delete t[r0],delete t[qb],delete t[Qb])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function w6(e){return e.tag===5||e.tag===3||e.tag===4}function M4(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||w6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function b0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Rd));else if(n!==4&&(e=e.child,e!==null))for(b0(e,t,r),e=e.sibling;e!==null;)b0(e,t,r),e=e.sibling}function $0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for($0(e,t,r),e=e.sibling;e!==null;)$0(e,t,r),e=e.sibling}var Kt=null,xn=!1;function Ro(e,t,r){for(r=r.child;r!==null;)S6(e,t,r),r=r.sibling}function S6(e,t,r){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount(jd,r)}catch{}switch(r.tag){case 5:Xt||xi(r,t);case 6:var n=Kt,o=xn;Kt=null,Ro(e,t,r),Kt=n,xn=o,Kt!==null&&(xn?(e=Kt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(xn?(e=Kt,r=r.stateNode,e.nodeType===8?x1(e.parentNode,r):e.nodeType===1&&x1(e,r),nl(e)):x1(Kt,r.stateNode));break;case 4:n=Kt,o=xn,Kt=r.stateNode.containerInfo,xn=!0,Ro(e,t,r),Kt=n,xn=o;break;case 0:case 11:case 14:case 15:if(!Xt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&((a&2)!==0||(a&4)!==0)&&h0(r,t,i),o=o.next}while(o!==n)}Ro(e,t,r);break;case 1:if(!Xt&&(xi(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){lt(r,t,s)}Ro(e,t,r);break;case 21:Ro(e,t,r);break;case 22:r.mode&1?(Xt=(n=Xt)||r.memoizedState!==null,Ro(e,t,r),Xt=n):Ro(e,t,r);break;default:Ro(e,t,r)}}function I4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new m$),t.forEach(function(n){var o=S$.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function vn(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:Kt=s.stateNode,xn=!1;break e;case 3:Kt=s.stateNode.containerInfo,xn=!0;break e;case 4:Kt=s.stateNode.containerInfo,xn=!0;break e}s=s.return}if(Kt===null)throw Error(U(160));S6(a,i,o),Kt=null,xn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){lt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)E6(t,e),t=t.sibling}function E6(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vn(t,e),Hn(e),n&4){try{Ys(3,e,e.return),eu(3,e)}catch(y){lt(e,e.return,y)}try{Ys(5,e,e.return)}catch(y){lt(e,e.return,y)}}break;case 1:vn(t,e),Hn(e),n&512&&r!==null&&xi(r,r.return);break;case 5:if(vn(t,e),Hn(e),n&512&&r!==null&&xi(r,r.return),e.flags&32){var o=e.stateNode;try{Js(o,"")}catch(y){lt(e,e.return,y)}}if(n&4&&(o=e.stateNode,o!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&G4(o,a),B1(s,i);var c=B1(s,a);for(i=0;i<l.length;i+=2){var d=l[i],u=l[i+1];d==="style"?Q4(o,u):d==="dangerouslySetInnerHTML"?X4(o,u):d==="children"?Js(o,u):E0(o,d,u,c)}switch(s){case"input":H1(o,a);break;case"textarea":Z4(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var b=a.value;b!=null?wi(o,!!a.multiple,b,!1):p!==!!a.multiple&&(a.defaultValue!=null?wi(o,!!a.multiple,a.defaultValue,!0):wi(o,!!a.multiple,a.multiple?[]:"",!1))}o[ll]=a}catch(y){lt(e,e.return,y)}}break;case 6:if(vn(t,e),Hn(e),n&4){if(e.stateNode===null)throw Error(U(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(y){lt(e,e.return,y)}}break;case 3:if(vn(t,e),Hn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{nl(t.containerInfo)}catch(y){lt(e,e.return,y)}break;case 4:vn(t,e),Hn(e);break;case 13:vn(t,e),Hn(e),o=e.child,o.flags&8192&&(a=o.memoizedState!==null,o.stateNode.isHidden=a,!a||o.alternate!==null&&o.alternate.memoizedState!==null||(op=ut())),n&4&&I4(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(Xt=(c=Xt)||d,vn(t,e),Xt=c):vn(t,e),Hn(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(re=e,d=e.child;d!==null;){for(u=re=d;re!==null;){switch(p=re,b=p.child,p.tag){case 0:case 11:case 14:case 15:Ys(4,p,p.return);break;case 1:xi(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){lt(n,r,y)}}break;case 5:xi(p,p.return);break;case 22:if(p.memoizedState!==null){D4(u);continue}}b!==null?(b.return=p,re=b):D4(u)}d=d.sibling}e:for(d=null,u=e;;){if(u.tag===5){if(d===null){d=u;try{o=u.stateNode,c?(a=o.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=u.stateNode,l=u.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=q4("display",i))}catch(y){lt(e,e.return,y)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(y){lt(e,e.return,y)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:vn(t,e),Hn(e),n&4&&I4(e);break;case 21:break;default:vn(t,e),Hn(e)}}function Hn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(w6(r)){var n=r;break e}r=r.return}throw Error(U(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Js(o,""),n.flags&=-33);var a=M4(e);$0(e,a,o);break;case 3:case 4:var i=n.stateNode.containerInfo,s=M4(e);b0(e,s,i);break;default:throw Error(U(161))}}catch(l){lt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function g$(e,t,r){re=e,k6(e,t,r)}function k6(e,t,r){for(var n=(e.mode&1)!==0;re!==null;){var o=re,a=o.child;if(o.tag===22&&n){var i=o.memoizedState!==null||dd;if(!i){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Xt;s=dd;var c=Xt;if(dd=i,(Xt=l)&&!c)for(re=o;re!==null;)i=re,l=i.child,i.tag===22&&i.memoizedState!==null?F4(o):l!==null?(l.return=i,re=l):F4(o);for(;a!==null;)re=a,k6(a,t,r),a=a.sibling;re=o,dd=s,Xt=c}N4(e,t,r)}else(o.subtreeFlags&8772)!==0&&a!==null?(a.return=o,re=a):N4(e,t,r)}}function N4(e){for(;re!==null;){var t=re;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Xt||eu(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Xt)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:yn(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&$4(t,a,n);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}$4(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var u=d.dehydrated;u!==null&&nl(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}Xt||t.flags&512&&g0(t)}catch(p){lt(t,t.return,p)}}if(t===e){re=null;break}if(r=t.sibling,r!==null){r.return=t.return,re=r;break}re=t.return}}function D4(e){for(;re!==null;){var t=re;if(t===e){re=null;break}var r=t.sibling;if(r!==null){r.return=t.return,re=r;break}re=t.return}}function F4(e){for(;re!==null;){var t=re;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{eu(4,t)}catch(l){lt(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){lt(t,o,l)}}var a=t.return;try{g0(t)}catch(l){lt(t,a,l)}break;case 5:var i=t.return;try{g0(t)}catch(l){lt(t,i,l)}}}catch(l){lt(t,t.return,l)}if(t===e){re=null;break}var s=t.sibling;if(s!==null){s.return=t.return,re=s;break}re=t.return}}var b$=Math.ceil,zd=fo.ReactCurrentDispatcher,rp=fo.ReactCurrentOwner,en=fo.ReactCurrentBatchConfig,Me=0,It=null,vt=null,zt=0,Mr=0,Ci=Zo(0),kt=0,ml=null,Ra=0,tu=0,np=0,Xs=null,vr=null,op=0,Di=1/0,ro=null,Bd=!1,v0=null,Bo=null,ud=!1,Fo=null,Vd=0,qs=0,y0=null,vd=-1,yd=0;function ar(){return(Me&6)!==0?ut():vd!==-1?vd:vd=ut()}function Vo(e){return(e.mode&1)===0?1:(Me&2)!==0&&zt!==0?zt&-zt:e$.transition!==null?(yd===0&&(yd=d5()),yd):(e=Ae,e!==0||(e=window.event,e=e===void 0?16:b5(e.type)),e)}function Sn(e,t,r,n){if(50<qs)throw qs=0,y0=null,Error(U(185));hl(e,r,n),((Me&2)===0||e!==It)&&(e===It&&((Me&2)===0&&(tu|=r),kt===4&&No(e,zt)),wr(e,n),r===1&&Me===0&&(t.mode&1)===0&&(Di=ut()+500,qd&&Yo()))}function wr(e,t){var r=e.callbackNode;rb(e,t);var n=kd(e,e===It?zt:0);if(n===0)r!==null&&Wm(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&Wm(r),t===1)e.tag===0?Jb(H4.bind(null,e)):F5(H4.bind(null,e)),Yb(function(){(Me&6)===0&&Yo()}),r=null;else{switch(u5(n)){case 1:r=R0;break;case 4:r=l5;break;case 16:r=Ed;break;case 536870912:r=c5;break;default:r=Ed}r=N6(r,P6.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function P6(e,t){if(vd=-1,yd=0,(Me&6)!==0)throw Error(U(327));var r=e.callbackNode;if(Ti()&&e.callbackNode!==r)return null;var n=kd(e,e===It?zt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=Wd(e,n);else{t=n;var o=Me;Me|=2;var a=L6();(It!==e||zt!==t)&&(ro=null,Di=ut()+500,Ea(e,t));do try{y$();break}catch(s){T6(e,s)}while(!0);V0(),zd.current=a,Me=o,vt!==null?t=0:(It=null,zt=0,t=kt)}if(t!==0){if(t===2&&(o=G1(e),o!==0&&(n=o,t=x0(e,o))),t===1)throw r=ml,Ea(e,0),No(e,n),wr(e,ut()),r;if(t===6)No(e,n);else{if(o=e.current.alternate,(n&30)===0&&!$$(o)&&(t=Wd(e,n),t===2&&(a=G1(e),a!==0&&(n=a,t=x0(e,a))),t===1))throw r=ml,Ea(e,0),No(e,n),wr(e,ut()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(U(345));case 2:xa(e,vr,ro);break;case 3:if(No(e,n),(n&130023424)===n&&(t=op+500-ut(),10<t)){if(kd(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){ar(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=t0(xa.bind(null,e,vr,ro),t);break}xa(e,vr,ro);break;case 4:if(No(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var i=31-wn(n);a=1<<i,i=t[i],i>o&&(o=i),n&=~a}if(n=o,n=ut()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*b$(n/1960))-n,10<n){e.timeoutHandle=t0(xa.bind(null,e,vr,ro),n);break}xa(e,vr,ro);break;case 5:xa(e,vr,ro);break;default:throw Error(U(329))}}}return wr(e,ut()),e.callbackNode===r?P6.bind(null,e):null}function x0(e,t){var r=Xs;return e.current.memoizedState.isDehydrated&&(Ea(e,t).flags|=256),e=Wd(e,t),e!==2&&(t=vr,vr=r,t!==null&&C0(t)),e}function C0(e){vr===null?vr=e:vr.push.apply(vr,e)}function $$(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!En(a(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function No(e,t){for(t&=~np,t&=~tu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-wn(t),n=1<<r;e[r]=-1,t&=~n}}function H4(e){if((Me&6)!==0)throw Error(U(327));Ti();var t=kd(e,0);if((t&1)===0)return wr(e,ut()),null;var r=Wd(e,t);if(e.tag!==0&&r===2){var n=G1(e);n!==0&&(t=n,r=x0(e,n))}if(r===1)throw r=ml,Ea(e,0),No(e,t),wr(e,ut()),r;if(r===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xa(e,vr,ro),wr(e,ut()),null}function ap(e,t){var r=Me;Me|=1;try{return e(t)}finally{Me=r,Me===0&&(Di=ut()+500,qd&&Yo())}}function _a(e){Fo!==null&&Fo.tag===0&&(Me&6)===0&&Ti();var t=Me;Me|=1;var r=en.transition,n=Ae;try{if(en.transition=null,Ae=1,e)return e()}finally{Ae=n,en.transition=r,Me=t,(Me&6)===0&&Yo()}}function ip(){Mr=Ci.current,Xe(Ci)}function Ea(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Zb(r)),vt!==null)for(r=vt.return;r!==null;){var n=r;switch(K0(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&_d();break;case 3:Ii(),Xe(xr),Xe(qt),Y0();break;case 5:Z0(n);break;case 4:Ii();break;case 13:Xe(ot);break;case 19:Xe(ot);break;case 10:W0(n.type._context);break;case 22:case 23:ip()}r=r.return}if(It=e,vt=e=Wo(e.current,null),zt=Mr=t,kt=0,ml=null,np=tu=Ra=0,vr=Xs=null,wa!==null){for(t=0;t<wa.length;t++)if(r=wa[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,a=r.pending;if(a!==null){var i=a.next;a.next=o,n.next=i}r.pending=n}wa=null}return e}function T6(e,t){do{var r=vt;try{if(V0(),gd.current=Kd,Od){for(var n=at.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Od=!1}if(La=0,Mt=Et=at=null,Zs=!1,ul=0,rp.current=null,r===null||r.return===null){kt=1,ml=t,vt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=zt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,u=d.tag;if((d.mode&1)===0&&(u===0||u===11||u===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var b=S4(i);if(b!==null){b.flags&=-257,E4(b,i,s,a,t),b.mode&1&&w4(a,c,t),t=b,l=c;var g=t.updateQueue;if(g===null){var y=new Set;y.add(l),t.updateQueue=y}else g.add(l);break e}else{if((t&1)===0){w4(a,c,t),sp();break e}l=Error(U(426))}}else if(Qe&&s.mode&1){var $=S4(i);if($!==null){($.flags&65536)===0&&($.flags|=256),E4($,i,s,a,t),z0(Ni(l,s));break e}}a=l=Ni(l,s),kt!==4&&(kt=2),Xs===null?Xs=[a]:Xs.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=u6(a,l,t);b4(a,m);break e;case 1:s=l;var f=a.type,h=a.stateNode;if((a.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Bo===null||!Bo.has(h)))){a.flags|=65536,t&=-t,a.lanes|=t;var v=f6(a,s,t);b4(a,v);break e}}a=a.return}while(a!==null)}_6(r)}catch(x){t=x,vt===r&&r!==null&&(vt=r=r.return);continue}break}while(!0)}function L6(){var e=zd.current;return zd.current=Kd,e===null?Kd:e}function sp(){(kt===0||kt===3||kt===2)&&(kt=4),It===null||(Ra&268435455)===0&&(tu&268435455)===0||No(It,zt)}function Wd(e,t){var r=Me;Me|=2;var n=L6();(It!==e||zt!==t)&&(ro=null,Ea(e,t));do try{v$();break}catch(o){T6(e,o)}while(!0);if(V0(),Me=r,zd.current=n,vt!==null)throw Error(U(261));return It=null,zt=0,kt}function v$(){for(;vt!==null;)R6(vt)}function y$(){for(;vt!==null&&!Gg();)R6(vt)}function R6(e){var t=I6(e.alternate,e,Mr);e.memoizedProps=e.pendingProps,t===null?_6(e):vt=t,rp.current=null}function _6(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=f$(r,t,Mr),r!==null){vt=r;return}}else{if(r=p$(r,t),r!==null){r.flags&=32767,vt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{kt=6,vt=null;return}}if(t=t.sibling,t!==null){vt=t;return}vt=t=e}while(t!==null);kt===0&&(kt=5)}function xa(e,t,r){var n=Ae,o=en.transition;try{en.transition=null,Ae=1,x$(e,t,r,n)}finally{en.transition=o,Ae=n}return null}function x$(e,t,r,n){do Ti();while(Fo!==null);if((Me&6)!==0)throw Error(U(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(nb(e,a),e===It&&(vt=It=null,zt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||ud||(ud=!0,N6(Ed,function(){return Ti(),null})),a=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||a){a=en.transition,en.transition=null;var i=Ae;Ae=1;var s=Me;Me|=4,rp.current=null,h$(e,r),E6(r,e),Vb(J1),Pd=!!Q1,J1=Q1=null,e.current=r,g$(r,e,o),Zg(),Me=s,Ae=i,en.transition=a}else e.current=r;if(ud&&(ud=!1,Fo=e,Vd=o),a=e.pendingLanes,a===0&&(Bo=null),qg(r.stateNode,n),wr(e,ut()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(Bd)throw Bd=!1,e=v0,v0=null,e;return(Vd&1)!==0&&e.tag!==0&&Ti(),a=e.pendingLanes,(a&1)!==0?e===y0?qs++:(qs=0,y0=e):qs=0,Yo(),null}function Ti(){if(Fo!==null){var e=u5(Vd),t=en.transition,r=Ae;try{if(en.transition=null,Ae=16>e?16:e,Fo===null)var n=!1;else{if(e=Fo,Fo=null,Vd=0,(Me&6)!==0)throw Error(U(331));var o=Me;for(Me|=4,re=e.current;re!==null;){var a=re,i=a.child;if((re.flags&16)!==0){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(re=c;re!==null;){var d=re;switch(d.tag){case 0:case 11:case 15:Ys(8,d,a)}var u=d.child;if(u!==null)u.return=d,re=u;else for(;re!==null;){d=re;var p=d.sibling,b=d.return;if(C6(d),d===c){re=null;break}if(p!==null){p.return=b,re=p;break}re=b}}}var g=a.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var $=y.sibling;y.sibling=null,y=$}while(y!==null)}}re=a}}if((a.subtreeFlags&2064)!==0&&i!==null)i.return=a,re=i;else e:for(;re!==null;){if(a=re,(a.flags&2048)!==0)switch(a.tag){case 0:case 11:case 15:Ys(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,re=m;break e}re=a.return}}var f=e.current;for(re=f;re!==null;){i=re;var h=i.child;if((i.subtreeFlags&2064)!==0&&h!==null)h.return=i,re=h;else e:for(i=f;re!==null;){if(s=re,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:eu(9,s)}}catch(x){lt(s,s.return,x)}if(s===i){re=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,re=v;break e}re=s.return}}if(Me=o,Yo(),Kn&&typeof Kn.onPostCommitFiberRoot=="function")try{Kn.onPostCommitFiberRoot(jd,e)}catch{}n=!0}return n}finally{Ae=r,en.transition=t}}return!1}function A4(e,t,r){t=Ni(r,t),t=u6(e,t,1),e=zo(e,t,1),t=ar(),e!==null&&(hl(e,1,t),wr(e,t))}function lt(e,t,r){if(e.tag===3)A4(e,e,r);else for(;t!==null;){if(t.tag===3){A4(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Bo===null||!Bo.has(n))){e=Ni(r,e),e=f6(t,e,1),t=zo(t,e,1),e=ar(),t!==null&&(hl(t,1,e),wr(t,e));break}}t=t.return}}function C$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=ar(),e.pingedLanes|=e.suspendedLanes&r,It===e&&(zt&r)===r&&(kt===4||kt===3&&(zt&130023424)===zt&&500>ut()-op?Ea(e,0):np|=r),wr(e,t)}function M6(e,t){t===0&&((e.mode&1)===0?t=1:(t=qc,qc<<=1,(qc&130023424)===0&&(qc=4194304)));var r=ar();e=co(e,t),e!==null&&(hl(e,t,r),wr(e,r))}function w$(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),M6(e,r)}function S$(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(U(314))}n!==null&&n.delete(t),M6(e,r)}var I6;I6=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||xr.current)yr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return yr=!1,u$(e,t,r);yr=(e.flags&131072)!==0}else yr=!1,Qe&&(t.flags&1048576)!==0&&H5(t,Nd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;$d(e,t),e=t.pendingProps;var o=Ri(t,qt.current);Pi(t,r),o=q0(null,t,n,e,o,r);var a=Q0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Cr(n)?(a=!0,Md(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,j0(t),o.updater=Jd,t.stateNode=o,o._reactInternals=t,l0(t,n,e,r),t=u0(null,t,n,!0,a,r)):(t.tag=0,Qe&&a&&O0(t),or(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch($d(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=k$(n),e=yn(n,e),o){case 0:t=d0(null,t,n,e,r);break e;case 1:t=T4(null,t,n,e,r);break e;case 11:t=k4(null,t,n,e,r);break e;case 14:t=P4(null,t,n,yn(n.type,e),r);break e}throw Error(U(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),d0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),T4(e,t,n,o,r);case 3:e:{if(g6(t),e===null)throw Error(U(387));n=t.pendingProps,a=t.memoizedState,o=a.element,V5(e,t),Hd(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Ni(Error(U(423)),t),t=L4(e,t,n,r,o);break e}else if(n!==o){o=Ni(Error(U(424)),t),t=L4(e,t,n,r,o);break e}else for(Ir=Ko(t.stateNode.containerInfo.firstChild),Nr=t,Qe=!0,Cn=null,r=z5(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(_i(),n===o){t=uo(e,t,r);break e}or(e,t,n,r)}t=t.child}return t;case 5:return W5(t),e===null&&a0(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,e0(n,o)?i=null:a!==null&&e0(n,a)&&(t.flags|=32),h6(e,t),or(e,t,i,r),t.child;case 6:return e===null&&a0(t),null;case 13:return b6(e,t,r);case 4:return G0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Mi(t,null,n,r):or(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),k4(e,t,n,o,r);case 7:return or(e,t,t.pendingProps,r),t.child;case 8:return or(e,t,t.pendingProps.children,r),t.child;case 12:return or(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,Ue(Dd,n._currentValue),n._currentValue=i,a!==null)if(En(a.value,i)){if(a.children===o.children&&!xr.current){t=uo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=io(-1,r&-r),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),i0(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(U(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),i0(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}or(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Pi(t,r),o=tn(o),n=n(o),t.flags|=1,or(e,t,n,r),t.child;case 14:return n=t.type,o=yn(n,t.pendingProps),o=yn(n.type,o),P4(e,t,n,o,r);case 15:return p6(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),$d(e,t),t.tag=1,Cr(n)?(e=!0,Md(t)):e=!1,Pi(t,r),d6(t,n,o),l0(t,n,o,r),u0(null,t,n,!0,e,r);case 19:return $6(e,t,r);case 22:return m6(e,t,r)}throw Error(U(156,t.tag))};function N6(e,t){return s5(e,t)}function E$(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jr(e,t,r,n){return new E$(e,t,r,n)}function lp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function k$(e){if(typeof e=="function")return lp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===P0)return 11;if(e===T0)return 14}return 2}function Wo(e,t){var r=e.alternate;return r===null?(r=Jr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function xd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")lp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case fi:return ka(r.children,o,a,t);case k0:i=8,o|=8;break;case M1:return e=Jr(12,r,t,o|2),e.elementType=M1,e.lanes=a,e;case I1:return e=Jr(13,r,t,o),e.elementType=I1,e.lanes=a,e;case N1:return e=Jr(19,r,t,o),e.elementType=N1,e.lanes=a,e;case W4:return ru(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B4:i=10;break e;case V4:i=9;break e;case P0:i=11;break e;case T0:i=14;break e;case _o:i=16,n=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=Jr(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function ka(e,t,r,n){return e=Jr(7,e,n,t),e.lanes=r,e}function ru(e,t,r,n){return e=Jr(22,e,n,t),e.elementType=W4,e.lanes=r,e.stateNode={isHidden:!1},e}function L1(e,t,r){return e=Jr(6,e,null,t),e.lanes=r,e}function R1(e,t,r){return t=Jr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function P$(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=p1(0),this.expirationTimes=p1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p1(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cp(e,t,r,n,o,a,i,s,l){return e=new P$(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Jr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},j0(a),e}function T$(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ui,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function D6(e){if(!e)return jo;e=e._reactInternals;e:{if(Ia(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Cr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var r=e.type;if(Cr(r))return D5(e,r,t)}return t}function F6(e,t,r,n,o,a,i,s,l){return e=cp(r,n,!0,e,o,a,i,s,l),e.context=D6(null),r=e.current,n=ar(),o=Vo(r),a=io(n,o),a.callback=t??null,zo(r,a,o),e.current.lanes=o,hl(e,o,n),wr(e,n),e}function nu(e,t,r,n){var o=t.current,a=ar(),i=Vo(o);return r=D6(r),t.context===null?t.context=r:t.pendingContext=r,t=io(a,i),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=zo(o,t,i),e!==null&&(Sn(e,o,i,a),hd(e,o,i)),i}function Ud(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function O4(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function dp(e,t){O4(e,t),(e=e.alternate)&&O4(e,t)}function L$(){return null}var H6=typeof reportError=="function"?reportError:function(e){console.error(e)};function up(e){this._internalRoot=e}ou.prototype.render=up.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));nu(e,t,null,null)};ou.prototype.unmount=up.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_a(function(){nu(null,e,null,null)}),t[lo]=null}};function ou(e){this._internalRoot=e}ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=m5();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Io.length&&t!==0&&t<Io[r].priority;r++);Io.splice(r,0,e),r===0&&g5(e)}};function fp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function K4(){}function R$(e,t,r,n,o){if(o){if(typeof n=="function"){var a=n;n=function(){var c=Ud(i);a.call(c)}}var i=F6(t,n,e,0,null,!1,!1,"",K4);return e._reactRootContainer=i,e[lo]=i.current,il(e.nodeType===8?e.parentNode:e),_a(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var c=Ud(l);s.call(c)}}var l=cp(e,0,!1,null,null,!1,!1,"",K4);return e._reactRootContainer=l,e[lo]=l.current,il(e.nodeType===8?e.parentNode:e),_a(function(){nu(t,l,r,n)}),l}function iu(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a;if(typeof o=="function"){var s=o;o=function(){var l=Ud(i);s.call(l)}}nu(t,i,e,o)}else i=R$(r,t,e,o,n);return Ud(i)}f5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=zs(t.pendingLanes);r!==0&&(_0(t,r|1),wr(t,ut()),(Me&6)===0&&(Di=ut()+500,Yo()))}break;case 13:_a(function(){var n=co(e,1);if(n!==null){var o=ar();Sn(n,e,1,o)}}),dp(e,1)}};M0=function(e){if(e.tag===13){var t=co(e,134217728);if(t!==null){var r=ar();Sn(t,e,134217728,r)}dp(e,134217728)}};p5=function(e){if(e.tag===13){var t=Vo(e),r=co(e,t);if(r!==null){var n=ar();Sn(r,e,t,n)}dp(e,t)}};m5=function(){return Ae};h5=function(e,t){var r=Ae;try{return Ae=e,t()}finally{Ae=r}};W1=function(e,t,r){switch(t){case"input":if(H1(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=Xd(n);if(!o)throw Error(U(90));j4(n),H1(n,o)}}}break;case"textarea":Z4(e,r);break;case"select":t=r.value,t!=null&&wi(e,!!r.multiple,t,!1)}};t5=ap;r5=_a;var _$={usingClientEntryPoint:!1,Events:[bl,gi,Xd,J4,e5,ap]},Hs={findFiberByHostInstance:Ca,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},M$={bundleType:Hs.bundleType,version:Hs.version,rendererPackageName:Hs.rendererPackageName,rendererConfig:Hs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fo.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=a5(e),e===null?null:e.stateNode},findFiberByHostInstance:Hs.findFiberByHostInstance||L$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(As=__REACT_DEVTOOLS_GLOBAL_HOOK__,!As.isDisabled&&As.supportsFiber))try{jd=As.inject(M$),Kn=As}catch{}var As;Hr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_$;Hr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fp(t))throw Error(U(200));return T$(e,t,null,r)};Hr.createRoot=function(e,t){if(!fp(e))throw Error(U(299));var r=!1,n="",o=H6;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=cp(e,1,!1,null,null,r,!1,n,o),e[lo]=t.current,il(e.nodeType===8?e.parentNode:e),new up(t)};Hr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=a5(t),e=e===null?null:e.stateNode,e};Hr.flushSync=function(e){return _a(e)};Hr.hydrate=function(e,t,r){if(!au(t))throw Error(U(200));return iu(null,e,t,!0,r)};Hr.hydrateRoot=function(e,t,r){if(!fp(e))throw Error(U(405));var n=r!=null&&r.hydratedSources||null,o=!1,a="",i=H6;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=F6(t,null,e,1,r??null,o,!1,a,i),e[lo]=t.current,il(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new ou(t)};Hr.render=function(e,t,r){if(!au(t))throw Error(U(200));return iu(null,e,t,!1,r)};Hr.unmountComponentAtNode=function(e){if(!au(e))throw Error(U(40));return e._reactRootContainer?(_a(function(){iu(null,null,e,!1,function(){e._reactRootContainer=null,e[lo]=null})}),!0):!1};Hr.unstable_batchedUpdates=ap;Hr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!au(r))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return iu(e,t,r,!1,n)};Hr.version="18.3.1-next-f1338f8080-20240426"});var kn=bn((zw,K6)=>{"use strict";function O6(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(O6)}catch(e){console.error(e)}}O6(),K6.exports=A6()});var Ar=bn(pp=>{"use strict";var z6=kn();pp.createRoot=z6.createRoot,pp.hydrateRoot=z6.hydrateRoot;var Bw});var V6=bn(su=>{"use strict";var I$=D(),N$=Symbol.for("react.element"),D$=Symbol.for("react.fragment"),F$=Object.prototype.hasOwnProperty,H$=I$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A$={key:!0,ref:!0,__self:!0,__source:!0};function B6(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)F$.call(t,n)&&!A$.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:N$,type:e,key:a,ref:i,props:o,_owner:H$.current}}su.Fragment=D$;su.jsx=B6;su.jsxs=B6});var $e=bn((Uw,W6)=>{"use strict";W6.exports=V6()});var l7=bn(s7=>{"use strict";var rs=D();function Ty(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ly=typeof Object.is=="function"?Object.is:Ty,Ry=rs.useState,_y=rs.useEffect,My=rs.useLayoutEffect,Iy=rs.useDebugValue;function Ny(e,t){var r=t(),n=Ry({inst:{value:r,getSnapshot:t}}),o=n[0].inst,a=n[1];return My(function(){o.value=r,o.getSnapshot=t,Bp(o)&&a({inst:o})},[e,r,t]),_y(function(){return Bp(o)&&a({inst:o}),e(function(){Bp(o)&&a({inst:o})})},[e]),Iy(r),r}function Bp(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Ly(e,r)}catch{return!0}}function Dy(e,t){return t()}var Fy=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Dy:Ny;s7.useSyncExternalStore=rs.useSyncExternalStore!==void 0?rs.useSyncExternalStore:Fy});var d7=bn((oP,c7)=>{"use strict";c7.exports=l7()});var X6=S(D(),1),q6=S(Ar(),1);var Ai=S(D(),1),Kr=S($e(),1),J=e=>`var(--semantic-color-${e})`;var Or=e=>`var(--contextual-layout-units-${e})`,vl=e=>`var(--semantic-type-${e})`,cu={Fill:{Primary:{base:J("fill-action-primary-strong-rest"),hover:J("fill-action-primary-strong-hover"),pressed:J("fill-action-primary-strong-pressed"),disabled:J("fill-action-disabled")},Secondary:{base:J("fill-action-secondary-rest"),hover:J("fill-action-secondary-hover"),pressed:J("fill-action-secondary-pressed"),disabled:J("fill-action-disabled")},Tertiary:{base:J("fill-action-primary-subtle-rest"),hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:J("fill-action-disabled")},Negative:{base:J("fill-action-status-negative-strong-rest"),hover:J("fill-action-status-negative-strong-hover"),pressed:J("fill-action-status-negative-strong-pressed"),disabled:J("fill-action-disabled")}},Outlined:{Primary:{base:"transparent",hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:"transparent"},Secondary:{base:"transparent",hover:J("fill-action-secondary-hover"),pressed:J("fill-action-secondary-pressed"),disabled:"transparent"},Tertiary:{base:"transparent",hover:J("fill-action-primary-subtle-hover"),pressed:J("fill-action-primary-subtle-pressed"),disabled:"transparent"},Negative:{base:"transparent",hover:J("fill-action-status-negative-subtle-hover"),pressed:J("fill-action-status-negative-subtle-pressed"),disabled:"transparent"}}};cu.Naked=cu.Outlined;var du={Fill:{Primary:{base:J("foreground-action-primary-on-strong"),hover:J("foreground-action-primary-on-strong"),pressed:J("foreground-action-primary-on-strong"),disabled:J("foreground-action-disabled")},Secondary:{base:J("foreground-action-secondary-rest"),hover:J("foreground-action-secondary-hover"),pressed:J("foreground-action-secondary-pressed"),disabled:J("foreground-action-disabled")},Tertiary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Negative:{base:J("foreground-action-status-negative-on-strong"),hover:J("foreground-action-status-negative-on-strong"),pressed:J("foreground-action-status-negative-on-strong"),disabled:J("foreground-action-disabled")}},Outlined:{Primary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Secondary:{base:J("foreground-action-secondary-rest"),hover:J("foreground-action-secondary-hover"),pressed:J("foreground-action-secondary-pressed"),disabled:J("foreground-action-disabled")},Tertiary:{base:J("foreground-action-primary-on-subtle-rest"),hover:J("foreground-action-primary-on-subtle-hover"),pressed:J("foreground-action-primary-on-subtle-pressed"),disabled:J("foreground-action-disabled")},Negative:{base:J("foreground-action-status-negative-on-subtle-rest"),hover:J("foreground-action-status-negative-on-subtle-hover"),pressed:J("foreground-action-status-negative-on-subtle-pressed"),disabled:J("foreground-action-disabled")}}};du.Naked=du.Outlined;var U6=du,j6=du,G6={Primary:{base:J("stroke-action-primary-strong-rest"),hover:J("stroke-action-primary-strong-hover"),pressed:J("stroke-action-primary-strong-pressed"),disabled:J("stroke-action-disabled")},Secondary:{base:J("stroke-action-secondary-rest"),hover:J("stroke-action-secondary-hover"),pressed:J("stroke-action-secondary-pressed"),disabled:J("stroke-action-disabled")},Tertiary:{base:J("stroke-action-primary-strong-rest"),hover:J("stroke-action-primary-strong-hover"),pressed:J("stroke-action-primary-strong-pressed"),disabled:J("stroke-action-disabled")},Negative:{base:J("stroke-action-status-negative-rest"),hover:J("stroke-action-status-negative-hover"),pressed:J("stroke-action-status-negative-pressed"),disabled:J("stroke-action-disabled")}},Bn={radius:Or("button-cornerradius"),border:Or("button-borderwidth-rest"),borderEmphasis:Or("button-borderwidth-selected"),gap:Or("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${Or("focusring-width")} solid ${J("stroke-focusring-base")}`,focusOffset:"0"},lu=(e,t,r)=>({fontFamily:vl("family-brand"),fontSize:vl(`font-size-${e}`),fontWeight:vl("weight-medium"),lineHeight:vl(`line-height-${t}`),letterSpacing:vl(`letter-spacing-${r}`)}),Z6={L:{padH:Or("button-padding-large-horizontal"),padV:Or("button-padding-large-vertical"),iconWrap:26,iconInner:18,...lu("m","m-single","wide")},M:{padH:Or("button-padding-medium-horizontal"),padV:Or("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...lu("r","r-single","wide")},S:{padH:Or("button-padding-small-horizontal"),padV:Or("button-padding-small-vertical"),iconWrap:20,iconInner:14,...lu("s","s-single","spacious")},XS:{padH:Or("button-padding-xsmall-horizontal"),padV:Or("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...lu("xs","xs-single","extraspacious")}},O$=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],Y6=!1;function K$(){if(Y6||typeof document>"u")return;let e=document.createElement("style");e.textContent="@keyframes pw-btn-spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }@media (prefers-reduced-motion: reduce) { .pw-btn-spinner { animation: none !important; } }",document.head.appendChild(e),Y6=!0}function z$({size:e=20}){return(0,Kr.jsx)("svg",{className:"pw-btn-spinner",width:e,height:e,viewBox:"0 0 12 12","aria-hidden":"true",style:{animation:"pw-btn-spin var(--motion-duration-loop-fast) var(--motion-easing-linear) infinite",flexShrink:0,display:"block"},children:O$.map((t,r)=>(0,Kr.jsx)("path",{d:t.d,stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",fill:"none",opacity:t.opacity},r))})}function po({buttonStyle:e="Fill",size:t="M",type:r="Primary",text:n="Button",leadingIcon:o=null,trailingIcon:a=null,showLeadingIcon:i=!1,showTrailingIcon:s=!1,showText:l=!0,loading:c=!1,disabled:d=!1,forceState:u=null,onClick:p,ariaLabel:b,className:g="",...y}){let[$,m]=(0,Ai.useState)(!1),[f,h]=(0,Ai.useState)(!1),[v,x]=(0,Ai.useState)(!1);(0,Ai.useEffect)(()=>{K$()},[]);let w=u==="loading",k=u==="disabled",E=d||c||k||w,T=(()=>{if(u&&!d&&!c){if(k||w)return"disabled";if(u==="focused")return"base";if(u==="hover")return"hover";if(u==="pressed")return"pressed"}return E?"disabled":f?"pressed":$?"hover":"base"})(),P=!E&&(u==="focused"||v),F=cu[e]?.[r]||cu.Fill.Primary,R=U6[e]?.[r]||U6.Fill.Primary,_=j6[e]?.[r]||j6.Fill.Primary,C=G6[r]||G6.Primary,L=Z6[t]||Z6.M,K=F[T],I=R[T],Z=_[T],N=C[T],q=e==="Outlined",ee={display:"inline-flex",alignItems:"center",justifyContent:"center",paddingLeft:L.padH,paddingRight:L.padH,paddingTop:L.padV,paddingBottom:L.padV,borderRadius:Bn.radius,backgroundColor:K,border:q?`${!E&&!c&&(T==="hover"||T==="pressed"||P)?Bn.borderEmphasis:Bn.border} solid ${N}`:"none",gap:0,outline:P?Bn.focusOutline:"none",outlineOffset:P?Bn.focusOffset:void 0,transition:"background-color var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard), box-shadow var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",color:Z},z=`calc(${Bn.gap} / 2)`,G={fontFamily:L.fontFamily,fontWeight:L.fontWeight,lineHeight:L.lineHeight,letterSpacing:L.letterSpacing,fontSize:L.fontSize,color:I,whiteSpace:"nowrap",paddingLeft:z,paddingRight:z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",userSelect:"none"},V={display:"inline-flex",alignItems:"center",justifyContent:"center",width:L.iconWrap,height:L.iconWrap,flexShrink:0,fontSize:L.iconInner,color:Z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},M={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:Bn.touch.pad,minHeight:Bn.touch.min,minWidth:Bn.touch.min,background:"transparent",border:"none",borderRadius:Bn.radius,cursor:E?"not-allowed":"pointer",outline:"none",opacity:1,textDecoration:"none"};return(0,Kr.jsx)("button",{type:"button",...y,onClick:E?void 0:p,disabled:E,"aria-label":b||(l&&!(c||w)?void 0:n),"aria-busy":c||w||void 0,"aria-disabled":E||void 0,onMouseEnter:()=>!E&&m(!0),onMouseLeave:()=>{m(!1),h(!1)},onMouseDown:()=>!E&&h(!0),onMouseUp:()=>h(!1),onFocus:ae=>{ae.target.matches?.(":focus-visible")&&x(!0)},onBlur:()=>{x(!1),h(!1)},onKeyDown:ae=>{(ae.key===" "||ae.key==="Enter")&&!E&&h(!0)},onKeyUp:()=>h(!1),className:g,style:M,children:(0,Kr.jsx)("span",{style:ee,className:"pw-button__container",children:c||w?(0,Kr.jsx)(z$,{size:L.iconInner*1.2}):(0,Kr.jsxs)(Kr.Fragment,{children:[i&&(0,Kr.jsx)("span",{style:V,className:"material-symbols-rounded pw-button__icon pw-button__icon--leading","aria-hidden":"true",children:o||"add"}),l&&(0,Kr.jsx)("span",{style:G,className:"pw-button__label",children:n}),s&&(0,Kr.jsx)("span",{style:V,className:"material-symbols-rounded pw-button__icon pw-button__icon--trailing","aria-hidden":"true",children:a||"arrow_forward"})]})})})}var B$=`
1
+ var K9=Object.create;var Mm=Object.defineProperty;var z9=Object.getOwnPropertyDescriptor;var V9=Object.getOwnPropertyNames;var W9=Object.getPrototypeOf,U9=Object.prototype.hasOwnProperty;var Cn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var j9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of V9(t))!U9.call(e,o)&&o!==r&&Mm(e,o,{get:()=>t[o],enumerable:!(n=z9(t,o))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?K9(W9(e)):{},j9(t||!e||!e.__esModule?Mm(r,"default",{value:e,enumerable:!0}):r,e));var Wm=Cn(Te=>{"use strict";var Os=Symbol.for("react.element"),G9=Symbol.for("react.portal"),Z9=Symbol.for("react.fragment"),Y9=Symbol.for("react.strict_mode"),X9=Symbol.for("react.profiler"),q9=Symbol.for("react.provider"),Q9=Symbol.for("react.context"),J9=Symbol.for("react.forward_ref"),eb=Symbol.for("react.suspense"),tb=Symbol.for("react.memo"),rb=Symbol.for("react.lazy"),Im=Symbol.iterator;function nb(e){return e===null||typeof e!="object"?null:(e=Im&&e[Im]||e["@@iterator"],typeof e=="function"?e:null)}var Fm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hm=Object.assign,Am={};function ba(e,t,r){this.props=e,this.context=t,this.refs=Am,this.updater=r||Fm}ba.prototype.isReactComponent={};ba.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ba.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Om(){}Om.prototype=ba.prototype;function p1(e,t,r){this.props=e,this.context=t,this.refs=Am,this.updater=r||Fm}var m1=p1.prototype=new Om;m1.constructor=p1;Hm(m1,ba.prototype);m1.isPureReactComponent=!0;var Nm=Array.isArray,Bm=Object.prototype.hasOwnProperty,h1={current:null},Km={key:!0,ref:!0,__self:!0,__source:!0};function zm(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Bm.call(t,n)&&!Km.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:Os,type:e,key:i,ref:a,props:o,_owner:h1.current}}function ob(e,t){return{$$typeof:Os,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function g1(e){return typeof e=="object"&&e!==null&&e.$$typeof===Os}function ib(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Dm=/\/+/g;function f1(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ib(""+e.key):t.toString(36)}function Qc(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Os:case G9:a=!0}}if(a)return a=e,o=o(a),e=n===""?"."+f1(a,0):n,Nm(o)?(r="",e!=null&&(r=e.replace(Dm,"$&/")+"/"),Qc(o,t,r,"",function(c){return c})):o!=null&&(g1(o)&&(o=ob(o,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Dm,"$&/")+"/")+e)),t.push(o)),1;if(a=0,n=n===""?".":n+":",Nm(e))for(var s=0;s<e.length;s++){i=e[s];var l=n+f1(i,s);a+=Qc(i,t,r,l,o)}else if(l=nb(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=n+f1(i,s++),a+=Qc(i,t,r,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function qc(e,t,r){if(e==null)return e;var n=[],o=0;return Qc(e,n,"","",function(i){return t.call(r,i,o++)}),n}function ab(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var cr={current:null},Jc={transition:null},sb={ReactCurrentDispatcher:cr,ReactCurrentBatchConfig:Jc,ReactCurrentOwner:h1};function Vm(){throw Error("act(...) is not supported in production builds of React.")}Te.Children={map:qc,forEach:function(e,t,r){qc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return qc(e,function(){t++}),t},toArray:function(e){return qc(e,function(t){return t})||[]},only:function(e){if(!g1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Te.Component=ba;Te.Fragment=Z9;Te.Profiler=X9;Te.PureComponent=p1;Te.StrictMode=Y9;Te.Suspense=eb;Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sb;Te.act=Vm;Te.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Hm({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=h1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Bm.call(t,l)&&!Km.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:Os,type:e.type,key:o,ref:i,props:n,_owner:a}};Te.createContext=function(e){return e={$$typeof:Q9,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:q9,_context:e},e.Consumer=e};Te.createElement=zm;Te.createFactory=function(e){var t=zm.bind(null,e);return t.type=e,t};Te.createRef=function(){return{current:null}};Te.forwardRef=function(e){return{$$typeof:J9,render:e}};Te.isValidElement=g1;Te.lazy=function(e){return{$$typeof:rb,_payload:{_status:-1,_result:e},_init:ab}};Te.memo=function(e,t){return{$$typeof:tb,type:e,compare:t===void 0?null:t}};Te.startTransition=function(e){var t=Jc.transition;Jc.transition={};try{e()}finally{Jc.transition=t}};Te.unstable_act=Vm;Te.useCallback=function(e,t){return cr.current.useCallback(e,t)};Te.useContext=function(e){return cr.current.useContext(e)};Te.useDebugValue=function(){};Te.useDeferredValue=function(e){return cr.current.useDeferredValue(e)};Te.useEffect=function(e,t){return cr.current.useEffect(e,t)};Te.useId=function(){return cr.current.useId()};Te.useImperativeHandle=function(e,t,r){return cr.current.useImperativeHandle(e,t,r)};Te.useInsertionEffect=function(e,t){return cr.current.useInsertionEffect(e,t)};Te.useLayoutEffect=function(e,t){return cr.current.useLayoutEffect(e,t)};Te.useMemo=function(e,t){return cr.current.useMemo(e,t)};Te.useReducer=function(e,t,r){return cr.current.useReducer(e,t,r)};Te.useRef=function(e){return cr.current.useRef(e)};Te.useState=function(e){return cr.current.useState(e)};Te.useSyncExternalStore=function(e,t,r){return cr.current.useSyncExternalStore(e,t,r)};Te.useTransition=function(){return cr.current.useTransition()};Te.version="18.3.1"});var D=Cn((wS,Um)=>{"use strict";Um.exports=Wm()});var t4=Cn(Ge=>{"use strict";function y1(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<ed(o,t))e[n]=t,e[r]=o,r=n;else break e}}function wn(e){return e.length===0?null:e[0]}function rd(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var a=2*(n+1)-1,s=e[a],l=a+1,c=e[l];if(0>ed(s,r))l<o&&0>ed(c,s)?(e[n]=c,e[l]=r,n=l):(e[n]=s,e[a]=r,n=a);else if(l<o&&0>ed(c,r))e[n]=c,e[l]=r,n=l;else break e}}return t}function ed(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(jm=performance,Ge.unstable_now=function(){return jm.now()}):(b1=Date,Gm=b1.now(),Ge.unstable_now=function(){return b1.now()-Gm});var jm,b1,Gm,Vn=[],Oo=[],lb=1,en=null,er=3,nd=!1,Li=!1,Ks=!1,Xm=typeof setTimeout=="function"?setTimeout:null,qm=typeof clearTimeout=="function"?clearTimeout:null,Zm=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x1(e){for(var t=wn(Oo);t!==null;){if(t.callback===null)rd(Oo);else if(t.startTime<=e)rd(Oo),t.sortIndex=t.expirationTime,y1(Vn,t);else break;t=wn(Oo)}}function C1(e){if(Ks=!1,x1(e),!Li)if(wn(Vn)!==null)Li=!0,S1(w1);else{var t=wn(Oo);t!==null&&E1(C1,t.startTime-e)}}function w1(e,t){Li=!1,Ks&&(Ks=!1,qm(zs),zs=-1),nd=!0;var r=er;try{for(x1(t),en=wn(Vn);en!==null&&(!(en.expirationTime>t)||e&&!e4());){var n=en.callback;if(typeof n=="function"){en.callback=null,er=en.priorityLevel;var o=n(en.expirationTime<=t);t=Ge.unstable_now(),typeof o=="function"?en.callback=o:en===wn(Vn)&&rd(Vn),x1(t)}else rd(Vn);en=wn(Vn)}if(en!==null)var i=!0;else{var a=wn(Oo);a!==null&&E1(C1,a.startTime-t),i=!1}return i}finally{en=null,er=r,nd=!1}}var od=!1,td=null,zs=-1,Qm=5,Jm=-1;function e4(){return!(Ge.unstable_now()-Jm<Qm)}function $1(){if(td!==null){var e=Ge.unstable_now();Jm=e;var t=!0;try{t=td(!0,e)}finally{t?Bs():(od=!1,td=null)}}else od=!1}var Bs;typeof Zm=="function"?Bs=function(){Zm($1)}:typeof MessageChannel<"u"?(v1=new MessageChannel,Ym=v1.port2,v1.port1.onmessage=$1,Bs=function(){Ym.postMessage(null)}):Bs=function(){Xm($1,0)};var v1,Ym;function S1(e){td=e,od||(od=!0,Bs())}function E1(e,t){zs=Xm(function(){e(Ge.unstable_now())},t)}Ge.unstable_IdlePriority=5;Ge.unstable_ImmediatePriority=1;Ge.unstable_LowPriority=4;Ge.unstable_NormalPriority=3;Ge.unstable_Profiling=null;Ge.unstable_UserBlockingPriority=2;Ge.unstable_cancelCallback=function(e){e.callback=null};Ge.unstable_continueExecution=function(){Li||nd||(Li=!0,S1(w1))};Ge.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qm=0<e?Math.floor(1e3/e):5};Ge.unstable_getCurrentPriorityLevel=function(){return er};Ge.unstable_getFirstCallbackNode=function(){return wn(Vn)};Ge.unstable_next=function(e){switch(er){case 1:case 2:case 3:var t=3;break;default:t=er}var r=er;er=t;try{return e()}finally{er=r}};Ge.unstable_pauseExecution=function(){};Ge.unstable_requestPaint=function(){};Ge.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=er;er=e;try{return t()}finally{er=r}};Ge.unstable_scheduleCallback=function(e,t,r){var n=Ge.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:lb++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,y1(Oo,e),wn(Vn)===null&&e===wn(Oo)&&(Ks?(qm(zs),zs=-1):Ks=!0,E1(C1,r-n))):(e.sortIndex=o,y1(Vn,e),Li||nd||(Li=!0,S1(w1))),e};Ge.unstable_shouldYield=e4;Ge.unstable_wrapCallback=function(e){var t=er;return function(){var r=er;er=t;try{return e.apply(this,arguments)}finally{er=r}}}});var n4=Cn((ES,r4)=>{"use strict";r4.exports=t4()});var s8=Cn(Vr=>{"use strict";var cb=D(),Kr=n4();function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d5=new Set,dl={};function zi(e,t){Aa(e,t),Aa(e+"Capture",t)}function Aa(e,t){for(dl[e]=t,e=0;e<t.length;e++)d5.add(t[e])}var vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Z1=Object.prototype.hasOwnProperty,db=/^[: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]*$/,o4={},i4={};function ub(e){return Z1.call(i4,e)?!0:Z1.call(o4,e)?!1:db.test(e)?i4[e]=!0:(o4[e]=!0,!1)}function fb(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pb(e,t,r,n){if(t===null||typeof t>"u"||fb(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fr(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xt[e]=new fr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xt[t]=new fr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xt[e]=new fr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xt[e]=new fr(e,2,!1,e,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(e){Xt[e]=new fr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Xt[e]=new fr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Xt[e]=new fr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Xt[e]=new fr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Xt[e]=new fr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bp=/[\-:]([a-z])/g;function Kp(e){return e[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(e){var t=e.replace(Bp,Kp);Xt[t]=new fr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Bp,Kp);Xt[t]=new fr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Bp,Kp);Xt[t]=new fr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Xt[e]=new fr(e,1,!1,e.toLowerCase(),null,!1,!1)});Xt.xlinkHref=new fr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Xt[e]=new fr(e,1,!1,e.toLowerCase(),null,!0,!0)});function zp(e,t,r,n){var o=Xt.hasOwnProperty(t)?Xt[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pb(t,r,o,n)&&(r=null),n||o===null?ub(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var wo=cb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,id=Symbol.for("react.element"),ya=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),Vp=Symbol.for("react.strict_mode"),Y1=Symbol.for("react.profiler"),u5=Symbol.for("react.provider"),f5=Symbol.for("react.context"),Wp=Symbol.for("react.forward_ref"),X1=Symbol.for("react.suspense"),q1=Symbol.for("react.suspense_list"),Up=Symbol.for("react.memo"),Ko=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var p5=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var a4=Symbol.iterator;function Vs(e){return e===null||typeof e!="object"?null:(e=a4&&e[a4]||e["@@iterator"],typeof e=="function"?e:null)}var dt=Object.assign,k1;function qs(e){if(k1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);k1=t&&t[1]||""}return`
2
+ `+k1+e}var P1=!1;function T1(e,t){if(!e||P1)return"";P1=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
3
+ `),i=n.stack.split(`
4
+ `),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
5
+ `+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{P1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?qs(e):""}function mb(e){switch(e.tag){case 5:return qs(e.type);case 16:return qs("Lazy");case 13:return qs("Suspense");case 19:return qs("SuspenseList");case 0:case 2:case 15:return e=T1(e.type,!1),e;case 11:return e=T1(e.type.render,!1),e;case 1:return e=T1(e.type,!0),e;default:return""}}function Q1(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xa:return"Fragment";case ya:return"Portal";case Y1:return"Profiler";case Vp:return"StrictMode";case X1:return"Suspense";case q1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case f5:return(e.displayName||"Context")+".Consumer";case u5:return(e._context.displayName||"Context")+".Provider";case Wp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Up:return t=e.displayName||null,t!==null?t:Q1(e.type)||"Memo";case Ko:t=e._payload,e=e._init;try{return Q1(e(t))}catch{}}return null}function hb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q1(t);case 8:return t===Vp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ti(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function m5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gb(e){var t=m5(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ad(e){e._valueTracker||(e._valueTracker=gb(e))}function h5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=m5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Nd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function J1(e,t){var r=t.checked;return dt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function s4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ti(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function g5(e,t){t=t.checked,t!=null&&zp(e,"checked",t,!1)}function ep(e,t){g5(e,t);var r=ti(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tp(e,t.type,r):t.hasOwnProperty("defaultValue")&&tp(e,t.type,ti(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function l4(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function tp(e,t,r){(t!=="number"||Nd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Qs=Array.isArray;function Ma(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ti(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function rp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return dt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function c4(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(U(92));if(Qs(r)){if(1<r.length)throw Error(U(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ti(r)}}function b5(e,t){var r=ti(t.value),n=ti(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function d4(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function $5(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function np(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?$5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sd,v5=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(sd=sd||document.createElement("div"),sd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var tl={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},bb=["Webkit","ms","Moz","O"];Object.keys(tl).forEach(function(e){bb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),tl[t]=tl[e]})});function y5(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||tl.hasOwnProperty(e)&&tl[e]?(""+t).trim():t+"px"}function x5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=y5(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var $b=dt({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 op(e,t){if(t){if($b[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function ip(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ap=null;function jp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sp=null,Ia=null,Na=null;function u4(e){if(e=Ll(e)){if(typeof sp!="function")throw Error(U(280));var t=e.stateNode;t&&(t=lu(t),sp(e.stateNode,e.type,t))}}function C5(e){Ia?Na?Na.push(e):Na=[e]:Ia=e}function w5(){if(Ia){var e=Ia,t=Na;if(Na=Ia=null,u4(e),t)for(e=0;e<t.length;e++)u4(t[e])}}function S5(e,t){return e(t)}function E5(){}var L1=!1;function k5(e,t,r){if(L1)return e(t,r);L1=!0;try{return S5(e,t,r)}finally{L1=!1,(Ia!==null||Na!==null)&&(E5(),w5())}}function fl(e,t){var r=e.stateNode;if(r===null)return null;var n=lu(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(U(231,t,typeof r));return r}var lp=!1;if(vo)try{$a={},Object.defineProperty($a,"passive",{get:function(){lp=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{lp=!1}var $a;function vb(e,t,r,n,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var rl=!1,Dd=null,Fd=!1,cp=null,yb={onError:function(e){rl=!0,Dd=e}};function xb(e,t,r,n,o,i,a,s,l){rl=!1,Dd=null,vb.apply(yb,arguments)}function Cb(e,t,r,n,o,i,a,s,l){if(xb.apply(this,arguments),rl){if(rl){var c=Dd;rl=!1,Dd=null}else throw Error(U(198));Fd||(Fd=!0,cp=c)}}function Vi(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function P5(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function f4(e){if(Vi(e)!==e)throw Error(U(188))}function wb(e){var t=e.alternate;if(!t){if(t=Vi(e),t===null)throw Error(U(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return f4(o),e;if(i===n)return f4(o),t;i=i.sibling}throw Error(U(188))}if(r.return!==n.return)r=o,n=i;else{for(var a=!1,s=o.child;s;){if(s===r){a=!0,r=o,n=i;break}if(s===n){a=!0,n=o,r=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===r){a=!0,r=i,n=o;break}if(s===n){a=!0,n=i,r=o;break}s=s.sibling}if(!a)throw Error(U(189))}}if(r.alternate!==n)throw Error(U(190))}if(r.tag!==3)throw Error(U(188));return r.stateNode.current===r?e:t}function T5(e){return e=wb(e),e!==null?L5(e):null}function L5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=L5(e);if(t!==null)return t;e=e.sibling}return null}var R5=Kr.unstable_scheduleCallback,p4=Kr.unstable_cancelCallback,Sb=Kr.unstable_shouldYield,Eb=Kr.unstable_requestPaint,bt=Kr.unstable_now,kb=Kr.unstable_getCurrentPriorityLevel,Gp=Kr.unstable_ImmediatePriority,_5=Kr.unstable_UserBlockingPriority,Hd=Kr.unstable_NormalPriority,Pb=Kr.unstable_LowPriority,M5=Kr.unstable_IdlePriority,ou=null,Gn=null;function Tb(e){if(Gn&&typeof Gn.onCommitFiberRoot=="function")try{Gn.onCommitFiberRoot(ou,e,void 0,(e.current.flags&128)===128)}catch{}}var Tn=Math.clz32?Math.clz32:_b,Lb=Math.log,Rb=Math.LN2;function _b(e){return e>>>=0,e===0?32:31-(Lb(e)/Rb|0)|0}var ld=64,cd=4194304;function Js(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ad(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=Js(s):(i&=a,i!==0&&(n=Js(i)))}else a=r&~o,a!==0?n=Js(a):i!==0&&(n=Js(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Tn(t),o=1<<r,n|=e[r],t&=~o;return n}function Mb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ib(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Tn(i),s=1<<a,l=o[a];l===-1?((s&r)===0||(s&n)!==0)&&(o[a]=Mb(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function dp(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function I5(){var e=ld;return ld<<=1,(ld&4194240)===0&&(ld=64),e}function R1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Pl(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tn(t),e[t]=r}function Nb(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-Tn(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function Zp(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Tn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var Be=0;function N5(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var D5,Yp,F5,H5,A5,up=!1,dd=[],Go=null,Zo=null,Yo=null,pl=new Map,ml=new Map,Vo=[],Db="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 m4(e,t){switch(e){case"focusin":case"focusout":Go=null;break;case"dragenter":case"dragleave":Zo=null;break;case"mouseover":case"mouseout":Yo=null;break;case"pointerover":case"pointerout":pl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ml.delete(t.pointerId)}}function Ws(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ll(t),t!==null&&Yp(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Fb(e,t,r,n,o){switch(t){case"focusin":return Go=Ws(Go,e,t,r,n,o),!0;case"dragenter":return Zo=Ws(Zo,e,t,r,n,o),!0;case"mouseover":return Yo=Ws(Yo,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return pl.set(i,Ws(pl.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,ml.set(i,Ws(ml.get(i)||null,e,t,r,n,o)),!0}return!1}function O5(e){var t=Mi(e.target);if(t!==null){var r=Vi(t);if(r!==null){if(t=r.tag,t===13){if(t=P5(r),t!==null){e.blockedOn=t,A5(e.priority,function(){F5(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Sd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=fp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);ap=n,r.target.dispatchEvent(n),ap=null}else return t=Ll(r),t!==null&&Yp(t),e.blockedOn=r,!1;t.shift()}return!0}function h4(e,t,r){Sd(e)&&r.delete(t)}function Hb(){up=!1,Go!==null&&Sd(Go)&&(Go=null),Zo!==null&&Sd(Zo)&&(Zo=null),Yo!==null&&Sd(Yo)&&(Yo=null),pl.forEach(h4),ml.forEach(h4)}function Us(e,t){e.blockedOn===t&&(e.blockedOn=null,up||(up=!0,Kr.unstable_scheduleCallback(Kr.unstable_NormalPriority,Hb)))}function hl(e){function t(o){return Us(o,e)}if(0<dd.length){Us(dd[0],e);for(var r=1;r<dd.length;r++){var n=dd[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Go!==null&&Us(Go,e),Zo!==null&&Us(Zo,e),Yo!==null&&Us(Yo,e),pl.forEach(t),ml.forEach(t),r=0;r<Vo.length;r++)n=Vo[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Vo.length&&(r=Vo[0],r.blockedOn===null);)O5(r),r.blockedOn===null&&Vo.shift()}var Da=wo.ReactCurrentBatchConfig,Od=!0;function Ab(e,t,r,n){var o=Be,i=Da.transition;Da.transition=null;try{Be=1,Xp(e,t,r,n)}finally{Be=o,Da.transition=i}}function Ob(e,t,r,n){var o=Be,i=Da.transition;Da.transition=null;try{Be=4,Xp(e,t,r,n)}finally{Be=o,Da.transition=i}}function Xp(e,t,r,n){if(Od){var o=fp(e,t,r,n);if(o===null)H1(e,t,n,Bd,r),m4(e,n);else if(Fb(o,e,t,r,n))n.stopPropagation();else if(m4(e,n),t&4&&-1<Db.indexOf(e)){for(;o!==null;){var i=Ll(o);if(i!==null&&D5(i),i=fp(e,t,r,n),i===null&&H1(e,t,n,Bd,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else H1(e,t,n,null,r)}}var Bd=null;function fp(e,t,r,n){if(Bd=null,e=jp(n),e=Mi(e),e!==null)if(t=Vi(e),t===null)e=null;else if(r=t.tag,r===13){if(e=P5(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Bd=e,null}function B5(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(kb()){case Gp:return 1;case _5:return 4;case Hd:case Pb:return 16;case M5:return 536870912;default:return 16}default:return 16}}var Uo=null,qp=null,Ed=null;function K5(){if(Ed)return Ed;var e,t=qp,r=t.length,n,o="value"in Uo?Uo.value:Uo.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===o[i-n];n++);return Ed=o.slice(e,1<n?1-n:void 0)}function kd(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ud(){return!0}function g4(){return!1}function zr(e){function t(r,n,o,i,a){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ud:g4,this.isPropagationStopped=g4,this}return dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ud)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ud)},persist:function(){},isPersistent:ud}),t}var Ua={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qp=zr(Ua),Tl=dt({},Ua,{view:0,detail:0}),Bb=zr(Tl),_1,M1,js,iu=dt({},Tl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==js&&(js&&e.type==="mousemove"?(_1=e.screenX-js.screenX,M1=e.screenY-js.screenY):M1=_1=0,js=e),_1)},movementY:function(e){return"movementY"in e?e.movementY:M1}}),b4=zr(iu),Kb=dt({},iu,{dataTransfer:0}),zb=zr(Kb),Vb=dt({},Tl,{relatedTarget:0}),I1=zr(Vb),Wb=dt({},Ua,{animationName:0,elapsedTime:0,pseudoElement:0}),Ub=zr(Wb),jb=dt({},Ua,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gb=zr(jb),Zb=dt({},Ua,{data:0}),$4=zr(Zb),Yb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xb={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"},qb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qb[e])?!!t[e]:!1}function Jp(){return Qb}var Jb=dt({},Tl,{key:function(e){if(e.key){var t=Yb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=kd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jp,charCode:function(e){return e.type==="keypress"?kd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e$=zr(Jb),t$=dt({},iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),v4=zr(t$),r$=dt({},Tl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jp}),n$=zr(r$),o$=dt({},Ua,{propertyName:0,elapsedTime:0,pseudoElement:0}),i$=zr(o$),a$=dt({},iu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),s$=zr(a$),l$=[9,13,27,32],e0=vo&&"CompositionEvent"in window,nl=null;vo&&"documentMode"in document&&(nl=document.documentMode);var c$=vo&&"TextEvent"in window&&!nl,z5=vo&&(!e0||nl&&8<nl&&11>=nl),y4=" ",x4=!1;function V5(e,t){switch(e){case"keyup":return l$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function W5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ca=!1;function d$(e,t){switch(e){case"compositionend":return W5(t);case"keypress":return t.which!==32?null:(x4=!0,y4);case"textInput":return e=t.data,e===y4&&x4?null:e;default:return null}}function u$(e,t){if(Ca)return e==="compositionend"||!e0&&V5(e,t)?(e=K5(),Ed=qp=Uo=null,Ca=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return z5&&t.locale!=="ko"?null:t.data;default:return null}}var f$={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 C4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f$[e.type]:t==="textarea"}function U5(e,t,r,n){C5(n),t=Kd(t,"onChange"),0<t.length&&(r=new Qp("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ol=null,gl=null;function p$(e){r6(e,0)}function au(e){var t=Ea(e);if(h5(t))return e}function m$(e,t){if(e==="change")return t}var j5=!1;vo&&(vo?(pd="oninput"in document,pd||(N1=document.createElement("div"),N1.setAttribute("oninput","return;"),pd=typeof N1.oninput=="function"),fd=pd):fd=!1,j5=fd&&(!document.documentMode||9<document.documentMode));var fd,pd,N1;function w4(){ol&&(ol.detachEvent("onpropertychange",G5),gl=ol=null)}function G5(e){if(e.propertyName==="value"&&au(gl)){var t=[];U5(t,gl,e,jp(e)),k5(p$,t)}}function h$(e,t,r){e==="focusin"?(w4(),ol=t,gl=r,ol.attachEvent("onpropertychange",G5)):e==="focusout"&&w4()}function g$(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return au(gl)}function b$(e,t){if(e==="click")return au(t)}function $$(e,t){if(e==="input"||e==="change")return au(t)}function v$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rn=typeof Object.is=="function"?Object.is:v$;function bl(e,t){if(Rn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!Z1.call(t,o)||!Rn(e[o],t[o]))return!1}return!0}function S4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function E4(e,t){var r=S4(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=S4(r)}}function Z5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Z5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Y5(){for(var e=window,t=Nd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Nd(e.document)}return t}function t0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function y$(e){var t=Y5(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Z5(r.ownerDocument.documentElement,r)){if(n!==null&&t0(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=E4(r,i);var a=E4(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var x$=vo&&"documentMode"in document&&11>=document.documentMode,wa=null,pp=null,il=null,mp=!1;function k4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;mp||wa==null||wa!==Nd(n)||(n=wa,"selectionStart"in n&&t0(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),il&&bl(il,n)||(il=n,n=Kd(pp,"onSelect"),0<n.length&&(t=new Qp("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=wa)))}function md(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Sa={animationend:md("Animation","AnimationEnd"),animationiteration:md("Animation","AnimationIteration"),animationstart:md("Animation","AnimationStart"),transitionend:md("Transition","TransitionEnd")},D1={},X5={};vo&&(X5=document.createElement("div").style,"AnimationEvent"in window||(delete Sa.animationend.animation,delete Sa.animationiteration.animation,delete Sa.animationstart.animation),"TransitionEvent"in window||delete Sa.transitionend.transition);function su(e){if(D1[e])return D1[e];if(!Sa[e])return e;var t=Sa[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in X5)return D1[e]=t[r];return e}var q5=su("animationend"),Q5=su("animationiteration"),J5=su("animationstart"),e6=su("transitionend"),t6=new Map,P4="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 ni(e,t){t6.set(e,t),zi(t,[e])}for(hd=0;hd<P4.length;hd++)gd=P4[hd],T4=gd.toLowerCase(),L4=gd[0].toUpperCase()+gd.slice(1),ni(T4,"on"+L4);var gd,T4,L4,hd;ni(q5,"onAnimationEnd");ni(Q5,"onAnimationIteration");ni(J5,"onAnimationStart");ni("dblclick","onDoubleClick");ni("focusin","onFocus");ni("focusout","onBlur");ni(e6,"onTransitionEnd");Aa("onMouseEnter",["mouseout","mouseover"]);Aa("onMouseLeave",["mouseout","mouseover"]);Aa("onPointerEnter",["pointerout","pointerover"]);Aa("onPointerLeave",["pointerout","pointerover"]);zi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zi("onBeforeInput",["compositionend","keypress","textInput","paste"]);zi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var el="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(" "),C$=new Set("cancel close invalid load scroll toggle".split(" ").concat(el));function R4(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Cb(n,t,void 0,e),e.currentTarget=null}function r6(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;R4(o,s,c),i=l}else for(a=0;a<n.length;a++){if(s=n[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;R4(o,s,c),i=l}}}if(Fd)throw e=cp,Fd=!1,cp=null,e}function Qe(e,t){var r=t[vp];r===void 0&&(r=t[vp]=new Set);var n=e+"__bubble";r.has(n)||(n6(t,e,2,!1),r.add(n))}function F1(e,t,r){var n=0;t&&(n|=4),n6(r,e,n,t)}var bd="_reactListening"+Math.random().toString(36).slice(2);function $l(e){if(!e[bd]){e[bd]=!0,d5.forEach(function(r){r!=="selectionchange"&&(C$.has(r)||F1(r,!1,e),F1(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[bd]||(t[bd]=!0,F1("selectionchange",!1,t))}}function n6(e,t,r,n){switch(B5(t)){case 1:var o=Ab;break;case 4:o=Ob;break;default:o=Xp}r=o.bind(null,t,r,e),o=void 0,!lp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function H1(e,t,r,n,o){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var s=n.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=n.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Mi(s),a===null)return;if(l=a.tag,l===5||l===6){n=i=a;continue e}s=s.parentNode}}n=n.return}k5(function(){var c=i,d=jp(r),u=[];e:{var p=t6.get(e);if(p!==void 0){var b=Qp,g=e;switch(e){case"keypress":if(kd(r)===0)break e;case"keydown":case"keyup":b=e$;break;case"focusin":g="focus",b=I1;break;case"focusout":g="blur",b=I1;break;case"beforeblur":case"afterblur":b=I1;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=b4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=zb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=n$;break;case q5:case Q5:case J5:b=Ub;break;case e6:b=i$;break;case"scroll":b=Bb;break;case"wheel":b=s$;break;case"copy":case"cut":case"paste":b=Gb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=v4}var y=(t&4)!==0,$=!y&&e==="scroll",m=y?p!==null?p+"Capture":null:p;y=[];for(var f=c,h;f!==null;){h=f;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,m!==null&&(v=fl(f,m),v!=null&&y.push(vl(f,v,h)))),$)break;f=f.return}0<y.length&&(p=new b(p,g,null,r,d),u.push({event:p,listeners:y}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",p&&r!==ap&&(g=r.relatedTarget||r.fromElement)&&(Mi(g)||g[yo]))break e;if((b||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,b?(g=r.relatedTarget||r.toElement,b=c,g=g?Mi(g):null,g!==null&&($=Vi(g),g!==$||g.tag!==5&&g.tag!==6)&&(g=null)):(b=null,g=c),b!==g)){if(y=b4,v="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(y=v4,v="onPointerLeave",m="onPointerEnter",f="pointer"),$=b==null?p:Ea(b),h=g==null?p:Ea(g),p=new y(v,f+"leave",b,r,d),p.target=$,p.relatedTarget=h,v=null,Mi(d)===c&&(y=new y(m,f+"enter",g,r,d),y.target=h,y.relatedTarget=$,v=y),$=v,b&&g)t:{for(y=b,m=g,f=0,h=y;h;h=va(h))f++;for(h=0,v=m;v;v=va(v))h++;for(;0<f-h;)y=va(y),f--;for(;0<h-f;)m=va(m),h--;for(;f--;){if(y===m||m!==null&&y===m.alternate)break t;y=va(y),m=va(m)}y=null}else y=null;b!==null&&_4(u,p,b,y,!1),g!==null&&$!==null&&_4(u,$,g,y,!0)}}e:{if(p=c?Ea(c):window,b=p.nodeName&&p.nodeName.toLowerCase(),b==="select"||b==="input"&&p.type==="file")var x=m$;else if(C4(p))if(j5)x=$$;else{x=g$;var w=h$}else(b=p.nodeName)&&b.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=b$);if(x&&(x=x(e,c))){U5(u,x,r,d);break e}w&&w(e,p,c),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&tp(p,"number",p.value)}switch(w=c?Ea(c):window,e){case"focusin":(C4(w)||w.contentEditable==="true")&&(wa=w,pp=c,il=null);break;case"focusout":il=pp=wa=null;break;case"mousedown":mp=!0;break;case"contextmenu":case"mouseup":case"dragend":mp=!1,k4(u,r,d);break;case"selectionchange":if(x$)break;case"keydown":case"keyup":k4(u,r,d)}var P;if(e0)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Ca?V5(e,r)&&(k="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(k="onCompositionStart");k&&(z5&&r.locale!=="ko"&&(Ca||k!=="onCompositionStart"?k==="onCompositionEnd"&&Ca&&(P=K5()):(Uo=d,qp="value"in Uo?Uo.value:Uo.textContent,Ca=!0)),w=Kd(c,k),0<w.length&&(k=new $4(k,e,null,r,d),u.push({event:k,listeners:w}),P?k.data=P:(P=W5(r),P!==null&&(k.data=P)))),(P=c$?d$(e,r):u$(e,r))&&(c=Kd(c,"onBeforeInput"),0<c.length&&(d=new $4("onBeforeInput","beforeinput",null,r,d),u.push({event:d,listeners:c}),d.data=P))}r6(u,t)})}function vl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Kd(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=fl(e,r),i!=null&&n.unshift(vl(e,i,o)),i=fl(e,t),i!=null&&n.push(vl(e,i,o))),e=e.return}return n}function va(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _4(e,t,r,n,o){for(var i=t._reactName,a=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,o?(l=fl(r,i),l!=null&&a.unshift(vl(r,l,s))):o||(l=fl(r,i),l!=null&&a.push(vl(r,l,s)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}var w$=/\r\n?/g,S$=/\u0000|\uFFFD/g;function M4(e){return(typeof e=="string"?e:""+e).replace(w$,`
6
+ `).replace(S$,"")}function $d(e,t,r){if(t=M4(t),M4(e)!==t&&r)throw Error(U(425))}function zd(){}var hp=null,gp=null;function bp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $p=typeof setTimeout=="function"?setTimeout:void 0,E$=typeof clearTimeout=="function"?clearTimeout:void 0,I4=typeof Promise=="function"?Promise:void 0,k$=typeof queueMicrotask=="function"?queueMicrotask:typeof I4<"u"?function(e){return I4.resolve(null).then(e).catch(P$)}:$p;function P$(e){setTimeout(function(){throw e})}function A1(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),hl(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);hl(t)}function Xo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function N4(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var ja=Math.random().toString(36).slice(2),jn="__reactFiber$"+ja,yl="__reactProps$"+ja,yo="__reactContainer$"+ja,vp="__reactEvents$"+ja,T$="__reactListeners$"+ja,L$="__reactHandles$"+ja;function Mi(e){var t=e[jn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[yo]||r[jn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=N4(e);e!==null;){if(r=e[jn])return r;e=N4(e)}return t}e=r,r=e.parentNode}return null}function Ll(e){return e=e[jn]||e[yo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ea(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function lu(e){return e[yl]||null}var yp=[],ka=-1;function oi(e){return{current:e}}function Je(e){0>ka||(e.current=yp[ka],yp[ka]=null,ka--)}function Ze(e,t){ka++,yp[ka]=e.current,e.current=t}var ri={},or=oi(ri),Pr=oi(!1),Hi=ri;function Oa(e,t){var r=e.type.contextTypes;if(!r)return ri;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Tr(e){return e=e.childContextTypes,e!=null}function Vd(){Je(Pr),Je(or)}function D4(e,t,r){if(or.current!==ri)throw Error(U(168));Ze(or,t),Ze(Pr,r)}function o6(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(U(108,hb(e)||"Unknown",o));return dt({},r,n)}function Wd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ri,Hi=or.current,Ze(or,e),Ze(Pr,Pr.current),!0}function F4(e,t,r){var n=e.stateNode;if(!n)throw Error(U(169));r?(e=o6(e,t,Hi),n.__reactInternalMemoizedMergedChildContext=e,Je(Pr),Je(or),Ze(or,e)):Je(Pr),Ze(Pr,r)}var ho=null,cu=!1,O1=!1;function i6(e){ho===null?ho=[e]:ho.push(e)}function R$(e){cu=!0,i6(e)}function ii(){if(!O1&&ho!==null){O1=!0;var e=0,t=Be;try{var r=ho;for(Be=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}ho=null,cu=!1}catch(o){throw ho!==null&&(ho=ho.slice(e+1)),R5(Gp,ii),o}finally{Be=t,O1=!1}}return null}var Pa=[],Ta=0,Ud=null,jd=0,tn=[],rn=0,Ai=null,go=1,bo="";function Ri(e,t){Pa[Ta++]=jd,Pa[Ta++]=Ud,Ud=e,jd=t}function a6(e,t,r){tn[rn++]=go,tn[rn++]=bo,tn[rn++]=Ai,Ai=e;var n=go;e=bo;var o=32-Tn(n)-1;n&=~(1<<o),r+=1;var i=32-Tn(t)+o;if(30<i){var a=o-o%5;i=(n&(1<<a)-1).toString(32),n>>=a,o-=a,go=1<<32-Tn(t)+o|r<<o|n,bo=i+e}else go=1<<i|r<<o|n,bo=e}function r0(e){e.return!==null&&(Ri(e,1),a6(e,1,0))}function n0(e){for(;e===Ud;)Ud=Pa[--Ta],Pa[Ta]=null,jd=Pa[--Ta],Pa[Ta]=null;for(;e===Ai;)Ai=tn[--rn],tn[rn]=null,bo=tn[--rn],tn[rn]=null,go=tn[--rn],tn[rn]=null}var Br=null,Or=null,tt=!1,Pn=null;function s6(e,t){var r=nn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function H4(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Br=e,Or=Xo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Br=e,Or=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Ai!==null?{id:go,overflow:bo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=nn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Br=e,Or=null,!0):!1;default:return!1}}function xp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cp(e){if(tt){var t=Or;if(t){var r=t;if(!H4(e,t)){if(xp(e))throw Error(U(418));t=Xo(r.nextSibling);var n=Br;t&&H4(e,t)?s6(n,r):(e.flags=e.flags&-4097|2,tt=!1,Br=e)}}else{if(xp(e))throw Error(U(418));e.flags=e.flags&-4097|2,tt=!1,Br=e}}}function A4(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Br=e}function vd(e){if(e!==Br)return!1;if(!tt)return A4(e),tt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bp(e.type,e.memoizedProps)),t&&(t=Or)){if(xp(e))throw l6(),Error(U(418));for(;t;)s6(e,t),t=Xo(t.nextSibling)}if(A4(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Or=Xo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Or=null}}else Or=Br?Xo(e.stateNode.nextSibling):null;return!0}function l6(){for(var e=Or;e;)e=Xo(e.nextSibling)}function Ba(){Or=Br=null,tt=!1}function o0(e){Pn===null?Pn=[e]:Pn.push(e)}var _$=wo.ReactCurrentBatchConfig;function Gs(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(U(309));var n=r.stateNode}if(!n)throw Error(U(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(U(284));if(!r._owner)throw Error(U(290,e))}return e}function yd(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function O4(e){var t=e._init;return t(e._payload)}function c6(e){function t(m,f){if(e){var h=m.deletions;h===null?(m.deletions=[f],m.flags|=16):h.push(f)}}function r(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function n(m,f){for(m=new Map;f!==null;)f.key!==null?m.set(f.key,f):m.set(f.index,f),f=f.sibling;return m}function o(m,f){return m=ei(m,f),m.index=0,m.sibling=null,m}function i(m,f,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<f?(m.flags|=2,f):h):(m.flags|=2,f)):(m.flags|=1048576,f)}function a(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,f,h,v){return f===null||f.tag!==6?(f=j1(h,m.mode,v),f.return=m,f):(f=o(f,h),f.return=m,f)}function l(m,f,h,v){var x=h.type;return x===xa?d(m,f,h.props.children,v,h.key):f!==null&&(f.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ko&&O4(x)===f.type)?(v=o(f,h.props),v.ref=Gs(m,f,h),v.return=m,v):(v=Id(h.type,h.key,h.props,null,m.mode,v),v.ref=Gs(m,f,h),v.return=m,v)}function c(m,f,h,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=G1(h,m.mode,v),f.return=m,f):(f=o(f,h.children||[]),f.return=m,f)}function d(m,f,h,v,x){return f===null||f.tag!==7?(f=Fi(h,m.mode,v,x),f.return=m,f):(f=o(f,h),f.return=m,f)}function u(m,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=j1(""+f,m.mode,h),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case id:return h=Id(f.type,f.key,f.props,null,m.mode,h),h.ref=Gs(m,null,f),h.return=m,h;case ya:return f=G1(f,m.mode,h),f.return=m,f;case Ko:var v=f._init;return u(m,v(f._payload),h)}if(Qs(f)||Vs(f))return f=Fi(f,m.mode,h,null),f.return=m,f;yd(m,f)}return null}function p(m,f,h,v){var x=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return x!==null?null:s(m,f,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case id:return h.key===x?l(m,f,h,v):null;case ya:return h.key===x?c(m,f,h,v):null;case Ko:return x=h._init,p(m,f,x(h._payload),v)}if(Qs(h)||Vs(h))return x!==null?null:d(m,f,h,v,null);yd(m,h)}return null}function b(m,f,h,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(h)||null,s(f,m,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case id:return m=m.get(v.key===null?h:v.key)||null,l(f,m,v,x);case ya:return m=m.get(v.key===null?h:v.key)||null,c(f,m,v,x);case Ko:var w=v._init;return b(m,f,h,w(v._payload),x)}if(Qs(v)||Vs(v))return m=m.get(h)||null,d(f,m,v,x,null);yd(f,v)}return null}function g(m,f,h,v){for(var x=null,w=null,P=f,k=f=0,T=null;P!==null&&k<h.length;k++){P.index>k?(T=P,P=null):T=P.sibling;var E=p(m,P,h[k],v);if(E===null){P===null&&(P=T);break}e&&P&&E.alternate===null&&t(m,P),f=i(E,f,k),w===null?x=E:w.sibling=E,w=E,P=T}if(k===h.length)return r(m,P),tt&&Ri(m,k),x;if(P===null){for(;k<h.length;k++)P=u(m,h[k],v),P!==null&&(f=i(P,f,k),w===null?x=P:w.sibling=P,w=P);return tt&&Ri(m,k),x}for(P=n(m,P);k<h.length;k++)T=b(P,m,k,h[k],v),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?k:T.key),f=i(T,f,k),w===null?x=T:w.sibling=T,w=T);return e&&P.forEach(function(F){return t(m,F)}),tt&&Ri(m,k),x}function y(m,f,h,v){var x=Vs(h);if(typeof x!="function")throw Error(U(150));if(h=x.call(h),h==null)throw Error(U(151));for(var w=x=null,P=f,k=f=0,T=null,E=h.next();P!==null&&!E.done;k++,E=h.next()){P.index>k?(T=P,P=null):T=P.sibling;var F=p(m,P,E.value,v);if(F===null){P===null&&(P=T);break}e&&P&&F.alternate===null&&t(m,P),f=i(F,f,k),w===null?x=F:w.sibling=F,w=F,P=T}if(E.done)return r(m,P),tt&&Ri(m,k),x;if(P===null){for(;!E.done;k++,E=h.next())E=u(m,E.value,v),E!==null&&(f=i(E,f,k),w===null?x=E:w.sibling=E,w=E);return tt&&Ri(m,k),x}for(P=n(m,P);!E.done;k++,E=h.next())E=b(P,m,k,E.value,v),E!==null&&(e&&E.alternate!==null&&P.delete(E.key===null?k:E.key),f=i(E,f,k),w===null?x=E:w.sibling=E,w=E);return e&&P.forEach(function(_){return t(m,_)}),tt&&Ri(m,k),x}function $(m,f,h,v){if(typeof h=="object"&&h!==null&&h.type===xa&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case id:e:{for(var x=h.key,w=f;w!==null;){if(w.key===x){if(x=h.type,x===xa){if(w.tag===7){r(m,w.sibling),f=o(w,h.props.children),f.return=m,m=f;break e}}else if(w.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ko&&O4(x)===w.type){r(m,w.sibling),f=o(w,h.props),f.ref=Gs(m,w,h),f.return=m,m=f;break e}r(m,w);break}else t(m,w);w=w.sibling}h.type===xa?(f=Fi(h.props.children,m.mode,v,h.key),f.return=m,m=f):(v=Id(h.type,h.key,h.props,null,m.mode,v),v.ref=Gs(m,f,h),v.return=m,m=v)}return a(m);case ya:e:{for(w=h.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){r(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{r(m,f);break}else t(m,f);f=f.sibling}f=G1(h,m.mode,v),f.return=m,m=f}return a(m);case Ko:return w=h._init,$(m,f,w(h._payload),v)}if(Qs(h))return g(m,f,h,v);if(Vs(h))return y(m,f,h,v);yd(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(r(m,f.sibling),f=o(f,h),f.return=m,m=f):(r(m,f),f=j1(h,m.mode,v),f.return=m,m=f),a(m)):r(m,f)}return $}var Ka=c6(!0),d6=c6(!1),Gd=oi(null),Zd=null,La=null,i0=null;function a0(){i0=La=Zd=null}function s0(e){var t=Gd.current;Je(Gd),e._currentValue=t}function wp(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Fa(e,t){Zd=e,i0=La=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(kr=!0),e.firstContext=null)}function an(e){var t=e._currentValue;if(i0!==e)if(e={context:e,memoizedValue:t,next:null},La===null){if(Zd===null)throw Error(U(308));La=e,Zd.dependencies={lanes:0,firstContext:e}}else La=La.next=e;return t}var Ii=null;function l0(e){Ii===null?Ii=[e]:Ii.push(e)}function u6(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,l0(t)):(r.next=o.next,o.next=r),t.interleaved=r,xo(e,n)}function xo(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var zo=!1;function c0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function f6(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $o(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Ne&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,xo(e,r)}return o=n.interleaved,o===null?(t.next=t,l0(n)):(t.next=o.next,o.next=t),n.interleaved=t,xo(e,r)}function Pd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Zp(e,r)}}function B4(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=a:i=i.next=a,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Yd(e,t,r,n){var o=e.updateQueue;zo=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(i!==null){var u=o.baseState;a=0,d=c=l=null,s=i;do{var p=s.lane,b=s.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:b,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,y=s;switch(p=t,b=r,y.tag){case 1:if(g=y.payload,typeof g=="function"){u=g.call(b,u,p);break e}u=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(b,u,p):g,p==null)break e;u=dt({},u,p);break e;case 2:zo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else b={eventTime:b,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=b,l=u):d=d.next=b,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(d===null&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Bi|=a,e.lanes=a,e.memoizedState=u}}function K4(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(U(191,o));o.call(n)}}}var Rl={},Zn=oi(Rl),xl=oi(Rl),Cl=oi(Rl);function Ni(e){if(e===Rl)throw Error(U(174));return e}function d0(e,t){switch(Ze(Cl,t),Ze(xl,e),Ze(Zn,Rl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:np(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=np(t,e)}Je(Zn),Ze(Zn,t)}function za(){Je(Zn),Je(xl),Je(Cl)}function p6(e){Ni(Cl.current);var t=Ni(Zn.current),r=np(t,e.type);t!==r&&(Ze(xl,e),Ze(Zn,r))}function u0(e){xl.current===e&&(Je(Zn),Je(xl))}var lt=oi(0);function Xd(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var B1=[];function f0(){for(var e=0;e<B1.length;e++)B1[e]._workInProgressVersionPrimary=null;B1.length=0}var Td=wo.ReactCurrentDispatcher,K1=wo.ReactCurrentBatchConfig,Oi=0,ct=null,Mt=null,At=null,qd=!1,al=!1,wl=0,M$=0;function tr(){throw Error(U(321))}function p0(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Rn(e[r],t[r]))return!1;return!0}function m0(e,t,r,n,o,i){if(Oi=i,ct=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Td.current=e===null||e.memoizedState===null?F$:H$,e=r(n,o),al){i=0;do{if(al=!1,wl=0,25<=i)throw Error(U(301));i+=1,At=Mt=null,t.updateQueue=null,Td.current=A$,e=r(n,o)}while(al)}if(Td.current=Qd,t=Mt!==null&&Mt.next!==null,Oi=0,At=Mt=ct=null,qd=!1,t)throw Error(U(300));return e}function h0(){var e=wl!==0;return wl=0,e}function Un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?ct.memoizedState=At=e:At=At.next=e,At}function sn(){if(Mt===null){var e=ct.alternate;e=e!==null?e.memoizedState:null}else e=Mt.next;var t=At===null?ct.memoizedState:At.next;if(t!==null)At=t,Mt=e;else{if(e===null)throw Error(U(310));Mt=e,e={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},At===null?ct.memoizedState=At=e:At=At.next=e}return At}function Sl(e,t){return typeof t=="function"?t(e):t}function z1(e){var t=sn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=Mt,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var s=a=null,l=null,c=i;do{var d=c.lane;if((Oi&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var u={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=u,a=n):l=l.next=u,ct.lanes|=d,Bi|=d}c=c.next}while(c!==null&&c!==i);l===null?a=n:l.next=s,Rn(n,t.memoizedState)||(kr=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,ct.lanes|=i,Bi|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function V1(e){var t=sn(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Rn(i,t.memoizedState)||(kr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function m6(){}function h6(e,t){var r=ct,n=sn(),o=t(),i=!Rn(n.memoizedState,o);if(i&&(n.memoizedState=o,kr=!0),n=n.queue,g0($6.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||At!==null&&At.memoizedState.tag&1){if(r.flags|=2048,El(9,b6.bind(null,r,n,o,t),void 0,null),Ot===null)throw Error(U(349));(Oi&30)!==0||g6(r,t,o)}return o}function g6(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ct.updateQueue,t===null?(t={lastEffect:null,stores:null},ct.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function b6(e,t,r,n){t.value=r,t.getSnapshot=n,v6(t)&&y6(e)}function $6(e,t,r){return r(function(){v6(t)&&y6(e)})}function v6(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Rn(e,r)}catch{return!0}}function y6(e){var t=xo(e,1);t!==null&&Ln(t,e,1,-1)}function z4(e){var t=Un();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sl,lastRenderedState:e},t.queue=e,e=e.dispatch=D$.bind(null,ct,e),[t.memoizedState,e]}function El(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=ct.updateQueue,t===null?(t={lastEffect:null,stores:null},ct.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function x6(){return sn().memoizedState}function Ld(e,t,r,n){var o=Un();ct.flags|=e,o.memoizedState=El(1|t,r,void 0,n===void 0?null:n)}function du(e,t,r,n){var o=sn();n=n===void 0?null:n;var i=void 0;if(Mt!==null){var a=Mt.memoizedState;if(i=a.destroy,n!==null&&p0(n,a.deps)){o.memoizedState=El(t,r,i,n);return}}ct.flags|=e,o.memoizedState=El(1|t,r,i,n)}function V4(e,t){return Ld(8390656,8,e,t)}function g0(e,t){return du(2048,8,e,t)}function C6(e,t){return du(4,2,e,t)}function w6(e,t){return du(4,4,e,t)}function S6(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function E6(e,t,r){return r=r!=null?r.concat([e]):null,du(4,4,S6.bind(null,t,e),r)}function b0(){}function k6(e,t){var r=sn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&p0(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function P6(e,t){var r=sn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&p0(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function T6(e,t,r){return(Oi&21)===0?(e.baseState&&(e.baseState=!1,kr=!0),e.memoizedState=r):(Rn(r,t)||(r=I5(),ct.lanes|=r,Bi|=r,e.baseState=!0),t)}function I$(e,t){var r=Be;Be=r!==0&&4>r?r:4,e(!0);var n=K1.transition;K1.transition={};try{e(!1),t()}finally{Be=r,K1.transition=n}}function L6(){return sn().memoizedState}function N$(e,t,r){var n=Jo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},R6(e))_6(t,r);else if(r=u6(e,t,r,n),r!==null){var o=ur();Ln(r,e,n,o),M6(r,t,n)}}function D$(e,t,r){var n=Jo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(R6(e))_6(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,Rn(s,a)){var l=t.interleaved;l===null?(o.next=o,l0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=u6(e,t,o,n),r!==null&&(o=ur(),Ln(r,e,n,o),M6(r,t,n))}}function R6(e){var t=e.alternate;return e===ct||t!==null&&t===ct}function _6(e,t){al=qd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function M6(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Zp(e,r)}}var Qd={readContext:an,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},F$={readContext:an,useCallback:function(e,t){return Un().memoizedState=[e,t===void 0?null:t],e},useContext:an,useEffect:V4,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ld(4194308,4,S6.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ld(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ld(4,2,e,t)},useMemo:function(e,t){var r=Un();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Un();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=N$.bind(null,ct,e),[n.memoizedState,e]},useRef:function(e){var t=Un();return e={current:e},t.memoizedState=e},useState:z4,useDebugValue:b0,useDeferredValue:function(e){return Un().memoizedState=e},useTransition:function(){var e=z4(!1),t=e[0];return e=I$.bind(null,e[1]),Un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ct,o=Un();if(tt){if(r===void 0)throw Error(U(407));r=r()}else{if(r=t(),Ot===null)throw Error(U(349));(Oi&30)!==0||g6(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,V4($6.bind(null,n,i,e),[e]),n.flags|=2048,El(9,b6.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Un(),t=Ot.identifierPrefix;if(tt){var r=bo,n=go;r=(n&~(1<<32-Tn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=wl++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=M$++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},H$={readContext:an,useCallback:k6,useContext:an,useEffect:g0,useImperativeHandle:E6,useInsertionEffect:C6,useLayoutEffect:w6,useMemo:P6,useReducer:z1,useRef:x6,useState:function(){return z1(Sl)},useDebugValue:b0,useDeferredValue:function(e){var t=sn();return T6(t,Mt.memoizedState,e)},useTransition:function(){var e=z1(Sl)[0],t=sn().memoizedState;return[e,t]},useMutableSource:m6,useSyncExternalStore:h6,useId:L6,unstable_isNewReconciler:!1},A$={readContext:an,useCallback:k6,useContext:an,useEffect:g0,useImperativeHandle:E6,useInsertionEffect:C6,useLayoutEffect:w6,useMemo:P6,useReducer:V1,useRef:x6,useState:function(){return V1(Sl)},useDebugValue:b0,useDeferredValue:function(e){var t=sn();return Mt===null?t.memoizedState=e:T6(t,Mt.memoizedState,e)},useTransition:function(){var e=V1(Sl)[0],t=sn().memoizedState;return[e,t]},useMutableSource:m6,useSyncExternalStore:h6,useId:L6,unstable_isNewReconciler:!1};function En(e,t){if(e&&e.defaultProps){t=dt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Sp(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:dt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var uu={isMounted:function(e){return(e=e._reactInternals)?Vi(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ur(),o=Jo(e),i=$o(n,o);i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Ln(t,e,o,n),Pd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ur(),o=Jo(e),i=$o(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Ln(t,e,o,n),Pd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ur(),n=Jo(e),o=$o(r,n);o.tag=2,t!=null&&(o.callback=t),t=qo(e,o,n),t!==null&&(Ln(t,e,n,r),Pd(t,e,n))}};function W4(e,t,r,n,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,a):t.prototype&&t.prototype.isPureReactComponent?!bl(r,n)||!bl(o,i):!0}function I6(e,t,r){var n=!1,o=ri,i=t.contextType;return typeof i=="object"&&i!==null?i=an(i):(o=Tr(t)?Hi:or.current,n=t.contextTypes,i=(n=n!=null)?Oa(e,o):ri),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=uu,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function U4(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&uu.enqueueReplaceState(t,t.state,null)}function Ep(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},c0(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=an(i):(i=Tr(t)?Hi:or.current,o.context=Oa(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Sp(e,t,i,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&uu.enqueueReplaceState(o,o.state,null),Yd(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Va(e,t){try{var r="",n=t;do r+=mb(n),n=n.return;while(n);var o=r}catch(i){o=`
7
+ Error generating stack: `+i.message+`
8
+ `+i.stack}return{value:e,source:t,stack:o,digest:null}}function W1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function kp(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var O$=typeof WeakMap=="function"?WeakMap:Map;function N6(e,t,r){r=$o(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){eu||(eu=!0,Fp=n),kp(e,t)},r}function D6(e,t,r){r=$o(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){kp(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){kp(e,t),typeof n!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}function j4(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new O$;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=J$.bind(null,e,t,r),t.then(e,e))}function G4(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Z4(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=$o(-1,1),t.tag=2,qo(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var B$=wo.ReactCurrentOwner,kr=!1;function dr(e,t,r,n){t.child=e===null?d6(t,null,r,n):Ka(t,e.child,r,n)}function Y4(e,t,r,n,o){r=r.render;var i=t.ref;return Fa(t,o),n=m0(e,t,r,n,i,o),r=h0(),e!==null&&!kr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Co(e,t,o)):(tt&&r&&r0(t),t.flags|=1,dr(e,t,n,o),t.child)}function X4(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!E0(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,F6(e,t,i,n,o)):(e=Id(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(r=r.compare,r=r!==null?r:bl,r(a,n)&&e.ref===t.ref)return Co(e,t,o)}return t.flags|=1,e=ei(i,n),e.ref=t.ref,e.return=t,t.child=e}function F6(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(bl(i,n)&&e.ref===t.ref)if(kr=!1,t.pendingProps=n=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(kr=!0);else return t.lanes=e.lanes,Co(e,t,o)}return Pp(e,t,r,n,o)}function H6(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ze(_a,Ar),Ar|=r;else{if((r&1073741824)===0)return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ze(_a,Ar),Ar|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,Ze(_a,Ar),Ar|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,Ze(_a,Ar),Ar|=n;return dr(e,t,o,r),t.child}function A6(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Pp(e,t,r,n,o){var i=Tr(r)?Hi:or.current;return i=Oa(t,i),Fa(t,o),r=m0(e,t,r,n,i,o),n=h0(),e!==null&&!kr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Co(e,t,o)):(tt&&n&&r0(t),t.flags|=1,dr(e,t,r,o),t.child)}function q4(e,t,r,n,o){if(Tr(r)){var i=!0;Wd(t)}else i=!1;if(Fa(t,o),t.stateNode===null)Rd(e,t),I6(t,r,n),Ep(t,r,n,o),n=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;typeof c=="object"&&c!==null?c=an(c):(c=Tr(r)?Hi:or.current,c=Oa(t,c));var d=r.getDerivedStateFromProps,u=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||l!==c)&&U4(t,a,n,c),zo=!1;var p=t.memoizedState;a.state=p,Yd(t,n,a,o),l=t.memoizedState,s!==n||p!==l||Pr.current||zo?(typeof d=="function"&&(Sp(t,r,d,n),l=t.memoizedState),(s=zo||W4(t,r,s,n,p,l,c))?(u||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,f6(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:En(t.type,s),a.props=c,u=t.pendingProps,p=a.context,l=r.contextType,typeof l=="object"&&l!==null?l=an(l):(l=Tr(r)?Hi:or.current,l=Oa(t,l));var b=r.getDerivedStateFromProps;(d=typeof b=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==u||p!==l)&&U4(t,a,n,l),zo=!1,p=t.memoizedState,a.state=p,Yd(t,n,a,o);var g=t.memoizedState;s!==u||p!==g||Pr.current||zo?(typeof b=="function"&&(Sp(t,r,b,n),g=t.memoizedState),(c=zo||W4(t,r,c,n,p,g,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,g,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,g,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),a.props=n,a.state=g,a.context=l,n=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return Tp(e,t,r,n,i,o)}function Tp(e,t,r,n,o,i){A6(e,t);var a=(t.flags&128)!==0;if(!n&&!a)return o&&F4(t,r,!1),Co(e,t,i);n=t.stateNode,B$.current=t;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=Ka(t,e.child,null,i),t.child=Ka(t,null,s,i)):dr(e,t,s,i),t.memoizedState=n.state,o&&F4(t,r,!0),t.child}function O6(e){var t=e.stateNode;t.pendingContext?D4(e,t.pendingContext,t.pendingContext!==t.context):t.context&&D4(e,t.context,!1),d0(e,t.containerInfo)}function Q4(e,t,r,n,o){return Ba(),o0(o),t.flags|=256,dr(e,t,r,n),t.child}var Lp={dehydrated:null,treeContext:null,retryLane:0};function Rp(e){return{baseLanes:e,cachePool:null,transitions:null}}function B6(e,t,r){var n=t.pendingProps,o=lt.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ze(lt,o&1),e===null)return Cp(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=n.children,e=n.fallback,i?(n=t.mode,i=t.child,a={mode:"hidden",children:a},(n&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=mu(a,n,0,null),e=Fi(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Rp(r),t.memoizedState=Lp,e):$0(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return K$(e,t,a,n,s,o,r);if(i){i=n.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:n.children};return(a&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=ei(o,l),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=ei(s,i):(i=Fi(i,a,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,a=e.child.memoizedState,a=a===null?Rp(r):{baseLanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~r,t.memoizedState=Lp,n}return i=e.child,e=i.sibling,n=ei(i,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function $0(e,t){return t=mu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xd(e,t,r,n){return n!==null&&o0(n),Ka(t,e.child,null,r),e=$0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function K$(e,t,r,n,o,i,a){if(r)return t.flags&256?(t.flags&=-257,n=W1(Error(U(422))),xd(e,t,a,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=mu({mode:"visible",children:n.children},o,0,null),i=Fi(i,o,a,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,(t.mode&1)!==0&&Ka(t,e.child,null,a),t.child.memoizedState=Rp(a),t.memoizedState=Lp,i);if((t.mode&1)===0)return xd(e,t,a,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,i=Error(U(419)),n=W1(i,n,void 0),xd(e,t,a,n)}if(s=(a&e.childLanes)!==0,kr||s){if(n=Ot,n!==null){switch(a&-a){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,xo(e,o),Ln(n,e,o,-1))}return S0(),n=W1(Error(U(421))),xd(e,t,a,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=ev.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Or=Xo(o.nextSibling),Br=t,tt=!0,Pn=null,e!==null&&(tn[rn++]=go,tn[rn++]=bo,tn[rn++]=Ai,go=e.id,bo=e.overflow,Ai=t),t=$0(t,n.children),t.flags|=4096,t)}function J4(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),wp(e.return,t,r)}function U1(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function K6(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(dr(e,t,n.children,r),n=lt.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&J4(e,r,t);else if(e.tag===19)J4(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ze(lt,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Xd(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),U1(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xd(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}U1(t,!0,r,null,i);break;case"together":U1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Rd(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Co(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Bi|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,r=ei(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ei(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function z$(e,t,r){switch(t.tag){case 3:O6(t),Ba();break;case 5:p6(t);break;case 1:Tr(t.type)&&Wd(t);break;case 4:d0(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ze(Gd,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ze(lt,lt.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?B6(e,t,r):(Ze(lt,lt.current&1),e=Co(e,t,r),e!==null?e.sibling:null);Ze(lt,lt.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return K6(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ze(lt,lt.current),n)break;return null;case 22:case 23:return t.lanes=0,H6(e,t,r)}return Co(e,t,r)}var z6,_p,V6,W6;z6=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};_p=function(){};V6=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ni(Zn.current);var i=null;switch(r){case"input":o=J1(e,o),n=J1(e,n),i=[];break;case"select":o=dt({},o,{value:void 0}),n=dt({},n,{value:void 0}),i=[];break;case"textarea":o=rp(e,o),n=rp(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=zd)}op(r,n);var a;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(dl.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var l=n[c];if(s=o?.[c],n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(i||(i=[]),i.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(dl.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Qe("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};W6=function(e,t,r,n){r!==n&&(t.flags|=4)};function Zs(e,t){if(!tt)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function rr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function V$(e,t,r){var n=t.pendingProps;switch(n0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(t),null;case 1:return Tr(t.type)&&Vd(),rr(t),null;case 3:return n=t.stateNode,za(),Je(Pr),Je(or),f0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(vd(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Pn!==null&&(Op(Pn),Pn=null))),_p(e,t),rr(t),null;case 5:u0(t);var o=Ni(Cl.current);if(r=t.type,e!==null&&t.stateNode!=null)V6(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(U(166));return rr(t),null}if(e=Ni(Zn.current),vd(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[jn]=t,n[yl]=i,e=(t.mode&1)!==0,r){case"dialog":Qe("cancel",n),Qe("close",n);break;case"iframe":case"object":case"embed":Qe("load",n);break;case"video":case"audio":for(o=0;o<el.length;o++)Qe(el[o],n);break;case"source":Qe("error",n);break;case"img":case"image":case"link":Qe("error",n),Qe("load",n);break;case"details":Qe("toggle",n);break;case"input":s4(n,i),Qe("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},Qe("invalid",n);break;case"textarea":c4(n,i),Qe("invalid",n)}op(r,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?n.textContent!==s&&(i.suppressHydrationWarning!==!0&&$d(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&$d(n.textContent,s,e),o=["children",""+s]):dl.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Qe("scroll",n)}switch(r){case"input":ad(n),l4(n,i,!0);break;case"textarea":ad(n),d4(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=zd)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$5(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[jn]=t,e[yl]=n,z6(e,t,!1,!1),t.stateNode=e;e:{switch(a=ip(r,n),r){case"dialog":Qe("cancel",e),Qe("close",e),o=n;break;case"iframe":case"object":case"embed":Qe("load",e),o=n;break;case"video":case"audio":for(o=0;o<el.length;o++)Qe(el[o],e);o=n;break;case"source":Qe("error",e),o=n;break;case"img":case"image":case"link":Qe("error",e),Qe("load",e),o=n;break;case"details":Qe("toggle",e),o=n;break;case"input":s4(e,n),o=J1(e,n),Qe("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=dt({},n,{value:void 0}),Qe("invalid",e);break;case"textarea":c4(e,n),o=rp(e,n),Qe("invalid",e);break;default:o=n}op(r,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?x5(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&v5(e,l)):i==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&ul(e,l):typeof l=="number"&&ul(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(dl.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Qe("scroll",e):l!=null&&zp(e,i,l,a))}switch(r){case"input":ad(e),l4(e,n,!1);break;case"textarea":ad(e),d4(e);break;case"option":n.value!=null&&e.setAttribute("value",""+ti(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?Ma(e,!!n.multiple,i,!1):n.defaultValue!=null&&Ma(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=zd)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return rr(t),null;case 6:if(e&&t.stateNode!=null)W6(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(U(166));if(r=Ni(Cl.current),Ni(Zn.current),vd(t)){if(n=t.stateNode,r=t.memoizedProps,n[jn]=t,(i=n.nodeValue!==r)&&(e=Br,e!==null))switch(e.tag){case 3:$d(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&$d(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[jn]=t,t.stateNode=n}return rr(t),null;case 13:if(Je(lt),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(tt&&Or!==null&&(t.mode&1)!==0&&(t.flags&128)===0)l6(),Ba(),t.flags|=98560,i=!1;else if(i=vd(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(U(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(U(317));i[jn]=t}else Ba(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;rr(t),i=!1}else Pn!==null&&(Op(Pn),Pn=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(lt.current&1)!==0?It===0&&(It=3):S0())),t.updateQueue!==null&&(t.flags|=4),rr(t),null);case 4:return za(),_p(e,t),e===null&&$l(t.stateNode.containerInfo),rr(t),null;case 10:return s0(t.type._context),rr(t),null;case 17:return Tr(t.type)&&Vd(),rr(t),null;case 19:if(Je(lt),i=t.memoizedState,i===null)return rr(t),null;if(n=(t.flags&128)!==0,a=i.rendering,a===null)if(n)Zs(i,!1);else{if(It!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Xd(e),a!==null){for(t.flags|=128,Zs(i,!1),n=a.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ze(lt,lt.current&1|2),t.child}e=e.sibling}i.tail!==null&&bt()>Wa&&(t.flags|=128,n=!0,Zs(i,!1),t.lanes=4194304)}else{if(!n)if(e=Xd(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Zs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!tt)return rr(t),null}else 2*bt()-i.renderingStartTime>Wa&&r!==1073741824&&(t.flags|=128,n=!0,Zs(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=bt(),t.sibling=null,r=lt.current,Ze(lt,n?r&1|2:r&1),t):(rr(t),null);case 22:case 23:return w0(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Ar&1073741824)!==0&&(rr(t),t.subtreeFlags&6&&(t.flags|=8192)):rr(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function W$(e,t){switch(n0(t),t.tag){case 1:return Tr(t.type)&&Vd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return za(),Je(Pr),Je(or),f0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return u0(t),null;case 13:if(Je(lt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Je(lt),null;case 4:return za(),null;case 10:return s0(t.type._context),null;case 22:case 23:return w0(),null;case 24:return null;default:return null}}var Cd=!1,nr=!1,U$=typeof WeakSet=="function"?WeakSet:Set,oe=null;function Ra(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){pt(e,t,n)}else r.current=null}function Mp(e,t,r){try{r()}catch(n){pt(e,t,n)}}var e5=!1;function j$(e,t){if(hp=Od,e=Y5(),t0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,d=0,u=e,p=null;t:for(;;){for(var b;u!==r||o!==0&&u.nodeType!==3||(s=a+o),u!==i||n!==0&&u.nodeType!==3||(l=a+n),u.nodeType===3&&(a+=u.nodeValue.length),(b=u.firstChild)!==null;)p=u,u=b;for(;;){if(u===e)break t;if(p===r&&++c===o&&(s=a),p===i&&++d===n&&(l=a),(b=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=b}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(gp={focusedElem:e,selectionRange:r},Od=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var g=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:En(t.type,y),$);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(v){pt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return g=e5,e5=!1,g}function sl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Mp(t,r,i)}o=o.next}while(o!==n)}}function fu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Ip(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function U6(e){var t=e.alternate;t!==null&&(e.alternate=null,U6(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jn],delete t[yl],delete t[vp],delete t[T$],delete t[L$])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function j6(e){return e.tag===5||e.tag===3||e.tag===4}function t5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Np(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=zd));else if(n!==4&&(e=e.child,e!==null))for(Np(e,t,r),e=e.sibling;e!==null;)Np(e,t,r),e=e.sibling}function Dp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Dp(e,t,r),e=e.sibling;e!==null;)Dp(e,t,r),e=e.sibling}var Zt=null,kn=!1;function Bo(e,t,r){for(r=r.child;r!==null;)G6(e,t,r),r=r.sibling}function G6(e,t,r){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(ou,r)}catch{}switch(r.tag){case 5:nr||Ra(r,t);case 6:var n=Zt,o=kn;Zt=null,Bo(e,t,r),Zt=n,kn=o,Zt!==null&&(kn?(e=Zt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Zt.removeChild(r.stateNode));break;case 18:Zt!==null&&(kn?(e=Zt,r=r.stateNode,e.nodeType===8?A1(e.parentNode,r):e.nodeType===1&&A1(e,r),hl(e)):A1(Zt,r.stateNode));break;case 4:n=Zt,o=kn,Zt=r.stateNode.containerInfo,kn=!0,Bo(e,t,r),Zt=n,kn=o;break;case 0:case 11:case 14:case 15:if(!nr&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&Mp(r,t,a),o=o.next}while(o!==n)}Bo(e,t,r);break;case 1:if(!nr&&(Ra(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){pt(r,t,s)}Bo(e,t,r);break;case 21:Bo(e,t,r);break;case 22:r.mode&1?(nr=(n=nr)||r.memoizedState!==null,Bo(e,t,r),nr=n):Bo(e,t,r);break;default:Bo(e,t,r)}}function r5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new U$),t.forEach(function(n){var o=tv.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Sn(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Zt=s.stateNode,kn=!1;break e;case 3:Zt=s.stateNode.containerInfo,kn=!0;break e;case 4:Zt=s.stateNode.containerInfo,kn=!0;break e}s=s.return}if(Zt===null)throw Error(U(160));G6(i,a,o),Zt=null,kn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){pt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Z6(t,e),t=t.sibling}function Z6(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Sn(t,e),Wn(e),n&4){try{sl(3,e,e.return),fu(3,e)}catch(y){pt(e,e.return,y)}try{sl(5,e,e.return)}catch(y){pt(e,e.return,y)}}break;case 1:Sn(t,e),Wn(e),n&512&&r!==null&&Ra(r,r.return);break;case 5:if(Sn(t,e),Wn(e),n&512&&r!==null&&Ra(r,r.return),e.flags&32){var o=e.stateNode;try{ul(o,"")}catch(y){pt(e,e.return,y)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=r!==null?r.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&g5(o,i),ip(s,a);var c=ip(s,i);for(a=0;a<l.length;a+=2){var d=l[a],u=l[a+1];d==="style"?x5(o,u):d==="dangerouslySetInnerHTML"?v5(o,u):d==="children"?ul(o,u):zp(o,d,u,c)}switch(s){case"input":ep(o,i);break;case"textarea":b5(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var b=i.value;b!=null?Ma(o,!!i.multiple,b,!1):p!==!!i.multiple&&(i.defaultValue!=null?Ma(o,!!i.multiple,i.defaultValue,!0):Ma(o,!!i.multiple,i.multiple?[]:"",!1))}o[yl]=i}catch(y){pt(e,e.return,y)}}break;case 6:if(Sn(t,e),Wn(e),n&4){if(e.stateNode===null)throw Error(U(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){pt(e,e.return,y)}}break;case 3:if(Sn(t,e),Wn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{hl(t.containerInfo)}catch(y){pt(e,e.return,y)}break;case 4:Sn(t,e),Wn(e);break;case 13:Sn(t,e),Wn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(x0=bt())),n&4&&r5(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(nr=(c=nr)||d,Sn(t,e),nr=c):Sn(t,e),Wn(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&(e.mode&1)!==0)for(oe=e,d=e.child;d!==null;){for(u=oe=d;oe!==null;){switch(p=oe,b=p.child,p.tag){case 0:case 11:case 14:case 15:sl(4,p,p.return);break;case 1:Ra(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){pt(n,r,y)}}break;case 5:Ra(p,p.return);break;case 22:if(p.memoizedState!==null){o5(u);continue}}b!==null?(b.return=p,oe=b):o5(u)}d=d.sibling}e:for(d=null,u=e;;){if(u.tag===5){if(d===null){d=u;try{o=u.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=u.stateNode,l=u.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=y5("display",a))}catch(y){pt(e,e.return,y)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(y){pt(e,e.return,y)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:Sn(t,e),Wn(e),n&4&&r5(e);break;case 21:break;default:Sn(t,e),Wn(e)}}function Wn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(j6(r)){var n=r;break e}r=r.return}throw Error(U(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(ul(o,""),n.flags&=-33);var i=t5(e);Dp(e,i,o);break;case 3:case 4:var a=n.stateNode.containerInfo,s=t5(e);Np(e,s,a);break;default:throw Error(U(161))}}catch(l){pt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function G$(e,t,r){oe=e,Y6(e,t,r)}function Y6(e,t,r){for(var n=(e.mode&1)!==0;oe!==null;){var o=oe,i=o.child;if(o.tag===22&&n){var a=o.memoizedState!==null||Cd;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||nr;s=Cd;var c=nr;if(Cd=a,(nr=l)&&!c)for(oe=o;oe!==null;)a=oe,l=a.child,a.tag===22&&a.memoizedState!==null?i5(o):l!==null?(l.return=a,oe=l):i5(o);for(;i!==null;)oe=i,Y6(i,t,r),i=i.sibling;oe=o,Cd=s,nr=c}n5(e,t,r)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,oe=i):n5(e,t,r)}}function n5(e){for(;oe!==null;){var t=oe;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:nr||fu(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!nr)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:En(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&K4(t,i,n);break;case 3:var a=t.updateQueue;if(a!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}K4(t,a,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var u=d.dehydrated;u!==null&&hl(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}nr||t.flags&512&&Ip(t)}catch(p){pt(t,t.return,p)}}if(t===e){oe=null;break}if(r=t.sibling,r!==null){r.return=t.return,oe=r;break}oe=t.return}}function o5(e){for(;oe!==null;){var t=oe;if(t===e){oe=null;break}var r=t.sibling;if(r!==null){r.return=t.return,oe=r;break}oe=t.return}}function i5(e){for(;oe!==null;){var t=oe;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{fu(4,t)}catch(l){pt(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){pt(t,o,l)}}var i=t.return;try{Ip(t)}catch(l){pt(t,i,l)}break;case 5:var a=t.return;try{Ip(t)}catch(l){pt(t,a,l)}}}catch(l){pt(t,t.return,l)}if(t===e){oe=null;break}var s=t.sibling;if(s!==null){s.return=t.return,oe=s;break}oe=t.return}}var Z$=Math.ceil,Jd=wo.ReactCurrentDispatcher,v0=wo.ReactCurrentOwner,on=wo.ReactCurrentBatchConfig,Ne=0,Ot=null,St=null,Yt=0,Ar=0,_a=oi(0),It=0,kl=null,Bi=0,pu=0,y0=0,ll=null,Er=null,x0=0,Wa=1/0,mo=null,eu=!1,Fp=null,Qo=null,wd=!1,jo=null,tu=0,cl=0,Hp=null,_d=-1,Md=0;function ur(){return(Ne&6)!==0?bt():_d!==-1?_d:_d=bt()}function Jo(e){return(e.mode&1)===0?1:(Ne&2)!==0&&Yt!==0?Yt&-Yt:_$.transition!==null?(Md===0&&(Md=I5()),Md):(e=Be,e!==0||(e=window.event,e=e===void 0?16:B5(e.type)),e)}function Ln(e,t,r,n){if(50<cl)throw cl=0,Hp=null,Error(U(185));Pl(e,r,n),((Ne&2)===0||e!==Ot)&&(e===Ot&&((Ne&2)===0&&(pu|=r),It===4&&Wo(e,Yt)),Lr(e,n),r===1&&Ne===0&&(t.mode&1)===0&&(Wa=bt()+500,cu&&ii()))}function Lr(e,t){var r=e.callbackNode;Ib(e,t);var n=Ad(e,e===Ot?Yt:0);if(n===0)r!==null&&p4(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&p4(r),t===1)e.tag===0?R$(a5.bind(null,e)):i6(a5.bind(null,e)),k$(function(){(Ne&6)===0&&ii()}),r=null;else{switch(N5(n)){case 1:r=Gp;break;case 4:r=_5;break;case 16:r=Hd;break;case 536870912:r=M5;break;default:r=Hd}r=n8(r,X6.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function X6(e,t){if(_d=-1,Md=0,(Ne&6)!==0)throw Error(U(327));var r=e.callbackNode;if(Ha()&&e.callbackNode!==r)return null;var n=Ad(e,e===Ot?Yt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=ru(e,n);else{t=n;var o=Ne;Ne|=2;var i=Q6();(Ot!==e||Yt!==t)&&(mo=null,Wa=bt()+500,Di(e,t));do try{q$();break}catch(s){q6(e,s)}while(!0);a0(),Jd.current=i,Ne=o,St!==null?t=0:(Ot=null,Yt=0,t=It)}if(t!==0){if(t===2&&(o=dp(e),o!==0&&(n=o,t=Ap(e,o))),t===1)throw r=kl,Di(e,0),Wo(e,n),Lr(e,bt()),r;if(t===6)Wo(e,n);else{if(o=e.current.alternate,(n&30)===0&&!Y$(o)&&(t=ru(e,n),t===2&&(i=dp(e),i!==0&&(n=i,t=Ap(e,i))),t===1))throw r=kl,Di(e,0),Wo(e,n),Lr(e,bt()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(U(345));case 2:_i(e,Er,mo);break;case 3:if(Wo(e,n),(n&130023424)===n&&(t=x0+500-bt(),10<t)){if(Ad(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){ur(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$p(_i.bind(null,e,Er,mo),t);break}_i(e,Er,mo);break;case 4:if(Wo(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var a=31-Tn(n);i=1<<a,a=t[a],a>o&&(o=a),n&=~i}if(n=o,n=bt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Z$(n/1960))-n,10<n){e.timeoutHandle=$p(_i.bind(null,e,Er,mo),n);break}_i(e,Er,mo);break;case 5:_i(e,Er,mo);break;default:throw Error(U(329))}}}return Lr(e,bt()),e.callbackNode===r?X6.bind(null,e):null}function Ap(e,t){var r=ll;return e.current.memoizedState.isDehydrated&&(Di(e,t).flags|=256),e=ru(e,t),e!==2&&(t=Er,Er=r,t!==null&&Op(t)),e}function Op(e){Er===null?Er=e:Er.push.apply(Er,e)}function Y$(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!Rn(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wo(e,t){for(t&=~y0,t&=~pu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Tn(t),n=1<<r;e[r]=-1,t&=~n}}function a5(e){if((Ne&6)!==0)throw Error(U(327));Ha();var t=Ad(e,0);if((t&1)===0)return Lr(e,bt()),null;var r=ru(e,t);if(e.tag!==0&&r===2){var n=dp(e);n!==0&&(t=n,r=Ap(e,n))}if(r===1)throw r=kl,Di(e,0),Wo(e,t),Lr(e,bt()),r;if(r===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_i(e,Er,mo),Lr(e,bt()),null}function C0(e,t){var r=Ne;Ne|=1;try{return e(t)}finally{Ne=r,Ne===0&&(Wa=bt()+500,cu&&ii())}}function Ki(e){jo!==null&&jo.tag===0&&(Ne&6)===0&&Ha();var t=Ne;Ne|=1;var r=on.transition,n=Be;try{if(on.transition=null,Be=1,e)return e()}finally{Be=n,on.transition=r,Ne=t,(Ne&6)===0&&ii()}}function w0(){Ar=_a.current,Je(_a)}function Di(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,E$(r)),St!==null)for(r=St.return;r!==null;){var n=r;switch(n0(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Vd();break;case 3:za(),Je(Pr),Je(or),f0();break;case 5:u0(n);break;case 4:za();break;case 13:Je(lt);break;case 19:Je(lt);break;case 10:s0(n.type._context);break;case 22:case 23:w0()}r=r.return}if(Ot=e,St=e=ei(e.current,null),Yt=Ar=t,It=0,kl=null,y0=pu=Bi=0,Er=ll=null,Ii!==null){for(t=0;t<Ii.length;t++)if(r=Ii[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var a=i.next;i.next=o,n.next=a}r.pending=n}Ii=null}return e}function q6(e,t){do{var r=St;try{if(a0(),Td.current=Qd,qd){for(var n=ct.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}qd=!1}if(Oi=0,At=Mt=ct=null,al=!1,wl=0,v0.current=null,r===null||r.return===null){It=1,kl=t,St=null;break}e:{var i=e,a=r.return,s=r,l=t;if(t=Yt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,u=d.tag;if((d.mode&1)===0&&(u===0||u===11||u===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var b=G4(a);if(b!==null){b.flags&=-257,Z4(b,a,s,i,t),b.mode&1&&j4(i,c,t),t=b,l=c;var g=t.updateQueue;if(g===null){var y=new Set;y.add(l),t.updateQueue=y}else g.add(l);break e}else{if((t&1)===0){j4(i,c,t),S0();break e}l=Error(U(426))}}else if(tt&&s.mode&1){var $=G4(a);if($!==null){($.flags&65536)===0&&($.flags|=256),Z4($,a,s,i,t),o0(Va(l,s));break e}}i=l=Va(l,s),It!==4&&(It=2),ll===null?ll=[i]:ll.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=N6(i,l,t);B4(i,m);break e;case 1:s=l;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Qo===null||!Qo.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=D6(i,s,t);B4(i,v);break e}}i=i.return}while(i!==null)}e8(r)}catch(x){t=x,St===r&&r!==null&&(St=r=r.return);continue}break}while(!0)}function Q6(){var e=Jd.current;return Jd.current=Qd,e===null?Qd:e}function S0(){(It===0||It===3||It===2)&&(It=4),Ot===null||(Bi&268435455)===0&&(pu&268435455)===0||Wo(Ot,Yt)}function ru(e,t){var r=Ne;Ne|=2;var n=Q6();(Ot!==e||Yt!==t)&&(mo=null,Di(e,t));do try{X$();break}catch(o){q6(e,o)}while(!0);if(a0(),Ne=r,Jd.current=n,St!==null)throw Error(U(261));return Ot=null,Yt=0,It}function X$(){for(;St!==null;)J6(St)}function q$(){for(;St!==null&&!Sb();)J6(St)}function J6(e){var t=r8(e.alternate,e,Ar);e.memoizedProps=e.pendingProps,t===null?e8(e):St=t,v0.current=null}function e8(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=V$(r,t,Ar),r!==null){St=r;return}}else{if(r=W$(r,t),r!==null){r.flags&=32767,St=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{It=6,St=null;return}}if(t=t.sibling,t!==null){St=t;return}St=t=e}while(t!==null);It===0&&(It=5)}function _i(e,t,r){var n=Be,o=on.transition;try{on.transition=null,Be=1,Q$(e,t,r,n)}finally{on.transition=o,Be=n}return null}function Q$(e,t,r,n){do Ha();while(jo!==null);if((Ne&6)!==0)throw Error(U(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(Nb(e,i),e===Ot&&(St=Ot=null,Yt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||wd||(wd=!0,n8(Hd,function(){return Ha(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=on.transition,on.transition=null;var a=Be;Be=1;var s=Ne;Ne|=4,v0.current=null,j$(e,r),Z6(r,e),y$(gp),Od=!!hp,gp=hp=null,e.current=r,G$(r,e,o),Eb(),Ne=s,Be=a,on.transition=i}else e.current=r;if(wd&&(wd=!1,jo=e,tu=o),i=e.pendingLanes,i===0&&(Qo=null),Tb(r.stateNode,n),Lr(e,bt()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(eu)throw eu=!1,e=Fp,Fp=null,e;return(tu&1)!==0&&e.tag!==0&&Ha(),i=e.pendingLanes,(i&1)!==0?e===Hp?cl++:(cl=0,Hp=e):cl=0,ii(),null}function Ha(){if(jo!==null){var e=N5(tu),t=on.transition,r=Be;try{if(on.transition=null,Be=16>e?16:e,jo===null)var n=!1;else{if(e=jo,jo=null,tu=0,(Ne&6)!==0)throw Error(U(331));var o=Ne;for(Ne|=4,oe=e.current;oe!==null;){var i=oe,a=i.child;if((oe.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(oe=c;oe!==null;){var d=oe;switch(d.tag){case 0:case 11:case 15:sl(8,d,i)}var u=d.child;if(u!==null)u.return=d,oe=u;else for(;oe!==null;){d=oe;var p=d.sibling,b=d.return;if(U6(d),d===c){oe=null;break}if(p!==null){p.return=b,oe=p;break}oe=b}}}var g=i.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var $=y.sibling;y.sibling=null,y=$}while(y!==null)}}oe=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,oe=a;else e:for(;oe!==null;){if(i=oe,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:sl(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,oe=m;break e}oe=i.return}}var f=e.current;for(oe=f;oe!==null;){a=oe;var h=a.child;if((a.subtreeFlags&2064)!==0&&h!==null)h.return=a,oe=h;else e:for(a=f;oe!==null;){if(s=oe,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:fu(9,s)}}catch(x){pt(s,s.return,x)}if(s===a){oe=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,oe=v;break e}oe=s.return}}if(Ne=o,ii(),Gn&&typeof Gn.onPostCommitFiberRoot=="function")try{Gn.onPostCommitFiberRoot(ou,e)}catch{}n=!0}return n}finally{Be=r,on.transition=t}}return!1}function s5(e,t,r){t=Va(r,t),t=N6(e,t,1),e=qo(e,t,1),t=ur(),e!==null&&(Pl(e,1,t),Lr(e,t))}function pt(e,t,r){if(e.tag===3)s5(e,e,r);else for(;t!==null;){if(t.tag===3){s5(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Qo===null||!Qo.has(n))){e=Va(r,e),e=D6(t,e,1),t=qo(t,e,1),e=ur(),t!==null&&(Pl(t,1,e),Lr(t,e));break}}t=t.return}}function J$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=ur(),e.pingedLanes|=e.suspendedLanes&r,Ot===e&&(Yt&r)===r&&(It===4||It===3&&(Yt&130023424)===Yt&&500>bt()-x0?Di(e,0):y0|=r),Lr(e,t)}function t8(e,t){t===0&&((e.mode&1)===0?t=1:(t=cd,cd<<=1,(cd&130023424)===0&&(cd=4194304)));var r=ur();e=xo(e,t),e!==null&&(Pl(e,t,r),Lr(e,r))}function ev(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),t8(e,r)}function tv(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(U(314))}n!==null&&n.delete(t),t8(e,r)}var r8;r8=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pr.current)kr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return kr=!1,z$(e,t,r);kr=(e.flags&131072)!==0}else kr=!1,tt&&(t.flags&1048576)!==0&&a6(t,jd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Rd(e,t),e=t.pendingProps;var o=Oa(t,or.current);Fa(t,r),o=m0(null,t,n,e,o,r);var i=h0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Tr(n)?(i=!0,Wd(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,c0(t),o.updater=uu,t.stateNode=o,o._reactInternals=t,Ep(t,n,e,r),t=Tp(null,t,n,!0,i,r)):(t.tag=0,tt&&i&&r0(t),dr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Rd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=nv(n),e=En(n,e),o){case 0:t=Pp(null,t,n,e,r);break e;case 1:t=q4(null,t,n,e,r);break e;case 11:t=Y4(null,t,n,e,r);break e;case 14:t=X4(null,t,n,En(n.type,e),r);break e}throw Error(U(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Pp(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),q4(e,t,n,o,r);case 3:e:{if(O6(t),e===null)throw Error(U(387));n=t.pendingProps,i=t.memoizedState,o=i.element,f6(e,t),Yd(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Va(Error(U(423)),t),t=Q4(e,t,n,r,o);break e}else if(n!==o){o=Va(Error(U(424)),t),t=Q4(e,t,n,r,o);break e}else for(Or=Xo(t.stateNode.containerInfo.firstChild),Br=t,tt=!0,Pn=null,r=d6(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ba(),n===o){t=Co(e,t,r);break e}dr(e,t,n,r)}t=t.child}return t;case 5:return p6(t),e===null&&Cp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,bp(n,o)?a=null:i!==null&&bp(n,i)&&(t.flags|=32),A6(e,t),dr(e,t,a,r),t.child;case 6:return e===null&&Cp(t),null;case 13:return B6(e,t,r);case 4:return d0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ka(t,null,n,r):dr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Y4(e,t,n,o,r);case 7:return dr(e,t,t.pendingProps,r),t.child;case 8:return dr(e,t,t.pendingProps.children,r),t.child;case 12:return dr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Ze(Gd,n._currentValue),n._currentValue=a,i!==null)if(Rn(i.value,a)){if(i.children===o.children&&!Pr.current){t=Co(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=$o(-1,r&-r),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),wp(i.return,r,t),s.lanes|=r;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(U(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),wp(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}dr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Fa(t,r),o=an(o),n=n(o),t.flags|=1,dr(e,t,n,r),t.child;case 14:return n=t.type,o=En(n,t.pendingProps),o=En(n.type,o),X4(e,t,n,o,r);case 15:return F6(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:En(n,o),Rd(e,t),t.tag=1,Tr(n)?(e=!0,Wd(t)):e=!1,Fa(t,r),I6(t,n,o),Ep(t,n,o,r),Tp(null,t,n,!0,e,r);case 19:return K6(e,t,r);case 22:return H6(e,t,r)}throw Error(U(156,t.tag))};function n8(e,t){return R5(e,t)}function rv(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,r,n){return new rv(e,t,r,n)}function E0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nv(e){if(typeof e=="function")return E0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wp)return 11;if(e===Up)return 14}return 2}function ei(e,t){var r=e.alternate;return r===null?(r=nn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Id(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")E0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case xa:return Fi(r.children,o,i,t);case Vp:a=8,o|=8;break;case Y1:return e=nn(12,r,t,o|2),e.elementType=Y1,e.lanes=i,e;case X1:return e=nn(13,r,t,o),e.elementType=X1,e.lanes=i,e;case q1:return e=nn(19,r,t,o),e.elementType=q1,e.lanes=i,e;case p5:return mu(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case u5:a=10;break e;case f5:a=9;break e;case Wp:a=11;break e;case Up:a=14;break e;case Ko:a=16,n=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=nn(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Fi(e,t,r,n){return e=nn(7,e,n,t),e.lanes=r,e}function mu(e,t,r,n){return e=nn(22,e,n,t),e.elementType=p5,e.lanes=r,e.stateNode={isHidden:!1},e}function j1(e,t,r){return e=nn(6,e,null,t),e.lanes=r,e}function G1(e,t,r){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ov(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=R1(0),this.expirationTimes=R1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=R1(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function k0(e,t,r,n,o,i,a,s,l){return e=new ov(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=nn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},c0(i),e}function iv(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ya,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function o8(e){if(!e)return ri;e=e._reactInternals;e:{if(Vi(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Tr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var r=e.type;if(Tr(r))return o6(e,r,t)}return t}function i8(e,t,r,n,o,i,a,s,l){return e=k0(r,n,!0,e,o,i,a,s,l),e.context=o8(null),r=e.current,n=ur(),o=Jo(r),i=$o(n,o),i.callback=t??null,qo(r,i,o),e.current.lanes=o,Pl(e,o,n),Lr(e,n),e}function hu(e,t,r,n){var o=t.current,i=ur(),a=Jo(o);return r=o8(r),t.context===null?t.context=r:t.pendingContext=r,t=$o(i,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=qo(o,t,a),e!==null&&(Ln(e,o,a,i),Pd(e,o,a)),a}function nu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function l5(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function P0(e,t){l5(e,t),(e=e.alternate)&&l5(e,t)}function av(){return null}var a8=typeof reportError=="function"?reportError:function(e){console.error(e)};function T0(e){this._internalRoot=e}gu.prototype.render=T0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));hu(e,t,null,null)};gu.prototype.unmount=T0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ki(function(){hu(null,e,null,null)}),t[yo]=null}};function gu(e){this._internalRoot=e}gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=H5();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Vo.length&&t!==0&&t<Vo[r].priority;r++);Vo.splice(r,0,e),r===0&&O5(e)}};function L0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function c5(){}function sv(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var c=nu(a);i.call(c)}}var a=i8(t,n,e,0,null,!1,!1,"",c5);return e._reactRootContainer=a,e[yo]=a.current,$l(e.nodeType===8?e.parentNode:e),Ki(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var c=nu(l);s.call(c)}}var l=k0(e,0,!1,null,null,!1,!1,"",c5);return e._reactRootContainer=l,e[yo]=l.current,$l(e.nodeType===8?e.parentNode:e),Ki(function(){hu(t,l,r,n)}),l}function $u(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=nu(a);s.call(l)}}hu(t,a,e,o)}else a=sv(r,t,e,o,n);return nu(a)}D5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Js(t.pendingLanes);r!==0&&(Zp(t,r|1),Lr(t,bt()),(Ne&6)===0&&(Wa=bt()+500,ii()))}break;case 13:Ki(function(){var n=xo(e,1);if(n!==null){var o=ur();Ln(n,e,1,o)}}),P0(e,1)}};Yp=function(e){if(e.tag===13){var t=xo(e,134217728);if(t!==null){var r=ur();Ln(t,e,134217728,r)}P0(e,134217728)}};F5=function(e){if(e.tag===13){var t=Jo(e),r=xo(e,t);if(r!==null){var n=ur();Ln(r,e,t,n)}P0(e,t)}};H5=function(){return Be};A5=function(e,t){var r=Be;try{return Be=e,t()}finally{Be=r}};sp=function(e,t,r){switch(t){case"input":if(ep(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=lu(n);if(!o)throw Error(U(90));h5(n),ep(n,o)}}}break;case"textarea":b5(e,r);break;case"select":t=r.value,t!=null&&Ma(e,!!r.multiple,t,!1)}};S5=C0;E5=Ki;var lv={usingClientEntryPoint:!1,Events:[Ll,Ea,lu,C5,w5,C0]},Ys={findFiberByHostInstance:Mi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},cv={bundleType:Ys.bundleType,version:Ys.version,rendererPackageName:Ys.rendererPackageName,rendererConfig:Ys.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wo.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=T5(e),e===null?null:e.stateNode},findFiberByHostInstance:Ys.findFiberByHostInstance||av,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Xs=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Xs.isDisabled&&Xs.supportsFiber))try{ou=Xs.inject(cv),Gn=Xs}catch{}var Xs;Vr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lv;Vr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!L0(t))throw Error(U(200));return iv(e,t,null,r)};Vr.createRoot=function(e,t){if(!L0(e))throw Error(U(299));var r=!1,n="",o=a8;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=k0(e,1,!1,null,null,r,!1,n,o),e[yo]=t.current,$l(e.nodeType===8?e.parentNode:e),new T0(t)};Vr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=T5(t),e=e===null?null:e.stateNode,e};Vr.flushSync=function(e){return Ki(e)};Vr.hydrate=function(e,t,r){if(!bu(t))throw Error(U(200));return $u(null,e,t,!0,r)};Vr.hydrateRoot=function(e,t,r){if(!L0(e))throw Error(U(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",a=a8;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),t=i8(t,null,e,1,r??null,o,!1,i,a),e[yo]=t.current,$l(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new gu(t)};Vr.render=function(e,t,r){if(!bu(t))throw Error(U(200));return $u(null,e,t,!1,r)};Vr.unmountComponentAtNode=function(e){if(!bu(e))throw Error(U(40));return e._reactRootContainer?(Ki(function(){$u(null,null,e,!1,function(){e._reactRootContainer=null,e[yo]=null})}),!0):!1};Vr.unstable_batchedUpdates=C0;Vr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!bu(r))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return $u(e,t,r,!1,n)};Vr.version="18.3.1-next-f1338f8080-20240426"});var _n=Cn((PS,c8)=>{"use strict";function l8(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l8)}catch(e){console.error(e)}}l8(),c8.exports=s8()});var Rr=Cn(R0=>{"use strict";var d8=_n();R0.createRoot=d8.createRoot,R0.hydrateRoot=d8.hydrateRoot;var TS});var f8=Cn(vu=>{"use strict";var dv=D(),uv=Symbol.for("react.element"),fv=Symbol.for("react.fragment"),pv=Object.prototype.hasOwnProperty,mv=dv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hv={key:!0,ref:!0,__self:!0,__source:!0};function u8(e,t,r){var n,o={},i=null,a=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)pv.call(t,n)&&!hv.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:uv,type:e,key:i,ref:a,props:o,_owner:mv.current}}vu.Fragment=fv;vu.jsx=u8;vu.jsxs=u8});var he=Cn((_S,p8)=>{"use strict";p8.exports=f8()});var _7=Cn(R7=>{"use strict";var us=D();function ix(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ax=typeof Object.is=="function"?Object.is:ix,sx=us.useState,lx=us.useEffect,cx=us.useLayoutEffect,dx=us.useDebugValue;function ux(e,t){var r=t(),n=sx({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return cx(function(){o.value=r,o.getSnapshot=t,i2(o)&&i({inst:o})},[e,r,t]),lx(function(){return i2(o)&&i({inst:o}),e(function(){i2(o)&&i({inst:o})})},[e]),dx(r),r}function i2(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ax(e,r)}catch{return!0}}function fx(e,t){return t()}var px=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?fx:ux;R7.useSyncExternalStore=us.useSyncExternalStore!==void 0?us.useSyncExternalStore:px});var I7=Cn((WP,M7)=>{"use strict";M7.exports=_7()});var v8=S(D(),1),y8=S(Rr(),1);var Ga=S(D(),1),Ur=S(he(),1),ee=e=>`var(--semantic-color-${e})`;var Wr=e=>`var(--contextual-layout-units-${e})`,_l=e=>`var(--semantic-type-${e})`,xu={Fill:{Primary:{base:ee("fill-action-primary-strong-rest"),hover:ee("fill-action-primary-strong-hover"),pressed:ee("fill-action-primary-strong-pressed"),disabled:ee("fill-action-disabled")},Secondary:{base:ee("fill-action-secondary-rest"),hover:ee("fill-action-secondary-hover"),pressed:ee("fill-action-secondary-pressed"),disabled:ee("fill-action-disabled")},Tertiary:{base:ee("fill-action-primary-subtle-rest"),hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:ee("fill-action-disabled")},Negative:{base:ee("fill-action-status-negative-strong-rest"),hover:ee("fill-action-status-negative-strong-hover"),pressed:ee("fill-action-status-negative-strong-pressed"),disabled:ee("fill-action-disabled")}},Outlined:{Primary:{base:"transparent",hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:"transparent"},Secondary:{base:"transparent",hover:ee("fill-action-secondary-hover"),pressed:ee("fill-action-secondary-pressed"),disabled:"transparent"},Tertiary:{base:"transparent",hover:ee("fill-action-primary-subtle-hover"),pressed:ee("fill-action-primary-subtle-pressed"),disabled:"transparent"},Negative:{base:"transparent",hover:ee("fill-action-status-negative-subtle-hover"),pressed:ee("fill-action-status-negative-subtle-pressed"),disabled:"transparent"}}};xu.Naked=xu.Outlined;var Cu={Fill:{Primary:{base:ee("foreground-action-primary-on-strong"),hover:ee("foreground-action-primary-on-strong"),pressed:ee("foreground-action-primary-on-strong"),disabled:ee("foreground-action-disabled")},Secondary:{base:ee("foreground-action-secondary-rest"),hover:ee("foreground-action-secondary-hover"),pressed:ee("foreground-action-secondary-pressed"),disabled:ee("foreground-action-disabled")},Tertiary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Negative:{base:ee("foreground-action-status-negative-on-strong"),hover:ee("foreground-action-status-negative-on-strong"),pressed:ee("foreground-action-status-negative-on-strong"),disabled:ee("foreground-action-disabled")}},Outlined:{Primary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Secondary:{base:ee("foreground-action-secondary-rest"),hover:ee("foreground-action-secondary-hover"),pressed:ee("foreground-action-secondary-pressed"),disabled:ee("foreground-action-disabled")},Tertiary:{base:ee("foreground-action-primary-on-subtle-rest"),hover:ee("foreground-action-primary-on-subtle-hover"),pressed:ee("foreground-action-primary-on-subtle-pressed"),disabled:ee("foreground-action-disabled")},Negative:{base:ee("foreground-action-status-negative-on-subtle-rest"),hover:ee("foreground-action-status-negative-on-subtle-hover"),pressed:ee("foreground-action-status-negative-on-subtle-pressed"),disabled:ee("foreground-action-disabled")}}};Cu.Naked=Cu.Outlined;var m8=Cu,h8=Cu,g8={Primary:{base:ee("stroke-action-primary-strong-rest"),hover:ee("stroke-action-primary-strong-hover"),pressed:ee("stroke-action-primary-strong-pressed"),disabled:ee("stroke-action-disabled")},Secondary:{base:ee("stroke-action-secondary-rest"),hover:ee("stroke-action-secondary-hover"),pressed:ee("stroke-action-secondary-pressed"),disabled:ee("stroke-action-disabled")},Tertiary:{base:ee("stroke-action-primary-strong-rest"),hover:ee("stroke-action-primary-strong-hover"),pressed:ee("stroke-action-primary-strong-pressed"),disabled:ee("stroke-action-disabled")},Negative:{base:ee("stroke-action-status-negative-rest"),hover:ee("stroke-action-status-negative-hover"),pressed:ee("stroke-action-status-negative-pressed"),disabled:ee("stroke-action-disabled")}},Yn={radius:Wr("button-cornerradius"),border:Wr("button-borderwidth-rest"),borderEmphasis:Wr("button-borderwidth-selected"),gap:Wr("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${Wr("focusring-width")} solid ${ee("stroke-focusring-base")}`,focusOffset:"0"},yu=(e,t,r)=>({fontFamily:_l("family-brand"),fontSize:_l(`font-size-${e}`),fontWeight:_l("weight-medium"),lineHeight:_l(`line-height-${t}`),letterSpacing:_l(`letter-spacing-${r}`)}),b8={L:{padH:Wr("button-padding-large-horizontal"),padV:Wr("button-padding-large-vertical"),iconWrap:26,iconInner:18,...yu("m","m-single","wide")},M:{padH:Wr("button-padding-medium-horizontal"),padV:Wr("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...yu("r","r-single","wide")},S:{padH:Wr("button-padding-small-horizontal"),padV:Wr("button-padding-small-vertical"),iconWrap:20,iconInner:14,...yu("s","s-single","spacious")},XS:{padH:Wr("button-padding-xsmall-horizontal"),padV:Wr("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...yu("xs","xs-single","extraspacious")}},gv=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],$8=!1;function bv(){if($8||typeof document>"u")return;let e=document.createElement("style");e.textContent="@keyframes pw-btn-spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }@media (prefers-reduced-motion: reduce) { .pw-btn-spinner { animation: none !important; } }",document.head.appendChild(e),$8=!0}function $v({size:e=20}){return(0,Ur.jsx)("svg",{className:"pw-btn-spinner",width:e,height:e,viewBox:"0 0 12 12","aria-hidden":"true",style:{animation:"pw-btn-spin var(--motion-duration-loop-fast) var(--motion-easing-linear) infinite",flexShrink:0,display:"block"},children:gv.map((t,r)=>(0,Ur.jsx)("path",{d:t.d,stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",fill:"none",opacity:t.opacity},r))})}function Mn({buttonStyle:e="Fill",size:t="M",type:r="Primary",text:n="Button",leadingIcon:o=null,trailingIcon:i=null,showLeadingIcon:a=!1,showTrailingIcon:s=!1,showText:l=!0,loading:c=!1,disabled:d=!1,forceState:u=null,onClick:p,ariaLabel:b,className:g="",...y}){let[$,m]=(0,Ga.useState)(!1),[f,h]=(0,Ga.useState)(!1),[v,x]=(0,Ga.useState)(!1);(0,Ga.useEffect)(()=>{bv()},[]);let w=u==="loading",P=u==="disabled",k=d||c||P||w,T=(()=>{if(u&&!d&&!c){if(P||w)return"disabled";if(u==="focused")return"base";if(u==="hover")return"hover";if(u==="pressed")return"pressed"}return k?"disabled":f?"pressed":$?"hover":"base"})(),E=!k&&(u==="focused"||v),F=xu[e]?.[r]||xu.Fill.Primary,_=m8[e]?.[r]||m8.Fill.Primary,I=h8[e]?.[r]||h8.Fill.Primary,C=g8[r]||g8.Primary,L=b8[t]||b8.M,O=F[T],M=_[T],Z=I[T],R=C[T],te=e==="Outlined",X={display:"inline-flex",alignItems:"center",justifyContent:"center",paddingLeft:L.padH,paddingRight:L.padH,paddingTop:L.padV,paddingBottom:L.padV,borderRadius:Yn.radius,backgroundColor:O,border:te?`${!k&&!c&&(T==="hover"||T==="pressed"||E)?Yn.borderEmphasis:Yn.border} solid ${R}`:"none",gap:0,outline:E?Yn.focusOutline:"none",outlineOffset:E?Yn.focusOffset:void 0,transition:"background-color var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard), box-shadow var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",color:Z},K=`calc(${Yn.gap} / 2)`,j={fontFamily:L.fontFamily,fontWeight:L.fontWeight,lineHeight:L.lineHeight,letterSpacing:L.letterSpacing,fontSize:L.fontSize,color:M,whiteSpace:"nowrap",paddingLeft:K,paddingRight:K,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",userSelect:"none"},z={display:"inline-flex",alignItems:"center",justifyContent:"center",width:L.iconWrap,height:L.iconWrap,flexShrink:0,fontSize:L.iconInner,color:Z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},N={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:Yn.touch.pad,minHeight:Yn.touch.min,minWidth:Yn.touch.min,background:"transparent",border:"none",borderRadius:Yn.radius,cursor:k?"not-allowed":"pointer",outline:"none",opacity:1,textDecoration:"none"};return(0,Ur.jsx)("button",{type:"button",...y,onClick:k?void 0:p,disabled:k,"aria-label":b||(l&&!(c||w)?void 0:n),"aria-busy":c||w||void 0,"aria-disabled":k||void 0,onMouseEnter:()=>!k&&m(!0),onMouseLeave:()=>{m(!1),h(!1)},onMouseDown:()=>!k&&h(!0),onMouseUp:()=>h(!1),onFocus:ie=>{ie.target.matches?.(":focus-visible")&&x(!0)},onBlur:()=>{x(!1),h(!1)},onKeyDown:ie=>{(ie.key===" "||ie.key==="Enter")&&!k&&h(!0)},onKeyUp:()=>h(!1),className:g,style:N,children:(0,Ur.jsx)("span",{style:X,className:"pw-button__container",children:c||w?(0,Ur.jsx)($v,{size:L.iconInner*1.2}):(0,Ur.jsxs)(Ur.Fragment,{children:[a&&(0,Ur.jsx)("span",{style:z,className:"material-symbols-rounded pw-button__icon pw-button__icon--leading","aria-hidden":"true",children:o||"add"}),l&&(0,Ur.jsx)("span",{style:j,className:"pw-button__label",children:n}),s&&(0,Ur.jsx)("span",{style:z,className:"material-symbols-rounded pw-button__icon pw-button__icon--trailing","aria-hidden":"true",children:i||"arrow_forward"})]})})})}var vv=`
9
9
  :host { display: inline-flex; }
10
10
  :host([hidden]) { display: none; }
11
11
 
@@ -63,14 +63,14 @@ Error generating stack: `+a.message+`
63
63
  }
64
64
  @media (prefers-reduced-motion: reduce) {
65
65
  .pw-btn-spinner { animation: none !important; }
66
- }`,V$={"show-leading-icon":"showLeadingIcon","show-trailing-icon":"showTrailingIcon","show-text":"showText",loading:"loading",disabled:"disabled"},W$=["show-leading-icon","show-trailing-icon","loading","disabled"],mp=class extends HTMLElement{static get observedAttributes(){return["button-style","kind","size","text","leading-icon","trailing-icon","show-leading-icon","show-trailing-icon","show-text","loading","disabled","aria-label"]}constructor(){super(),this._props={},this._reactRoot=null}set buttonStyle(t){this._props.buttonStyle=t,this._render()}get buttonStyle(){return this._props.buttonStyle??this.getAttribute("button-style")??"Fill"}set kind(t){this._props.kind=t,this._render()}get kind(){return this._props.kind??this.getAttribute("kind")??"Primary"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=B$,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-btn-root",t.appendChild(this._mount),this._reactRoot=(0,q6.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={},r=(n,o)=>{this.hasAttribute(n)&&(t[o]=this.getAttribute(n))};r("button-style","buttonStyle"),r("kind","type"),r("size","size"),r("text","text"),r("leading-icon","leadingIcon"),r("trailing-icon","trailingIcon"),r("aria-label","ariaLabel");for(let n of W$)if(this.hasAttribute(n)){let o=this.getAttribute(n);t[V$[n]]=o!=="false"&&o!=="0"}if(this.hasAttribute("show-text")){let n=this.getAttribute("show-text");t.showText=n!=="false"&&n!=="0"}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._readAttributes(),r={...this._props};"kind"in r&&(r.type=r.kind,delete r.kind);let n={...t,...r};this._reactRoot.render(X6.default.createElement(po,{...n,onClick:o=>{this._emit("pathway-click",{originalEvent:o}),typeof this.onclick=="function"&&this.onclick(o)}}))}};customElements.get("pathway-button")||customElements.define("pathway-button",mp);var h8=S(D(),1),g8=S(Ar(),1);var Pt=S(D(),1);var zr="pw-focus-ring",Oi="pw-focus-ring pw-focus-ring--inset",uu="pw-focus-ring pw-focus-ring--replace",yl="pw-focus-ring pw-focus-ring--layer",Na=`
66
+ }`,yv={"show-leading-icon":"showLeadingIcon","show-trailing-icon":"showTrailingIcon","show-text":"showText",loading:"loading",disabled:"disabled"},xv=["show-leading-icon","show-trailing-icon","loading","disabled"],_0=class extends HTMLElement{static get observedAttributes(){return["button-style","kind","size","text","leading-icon","trailing-icon","show-leading-icon","show-trailing-icon","show-text","loading","disabled","aria-label"]}constructor(){super(),this._props={},this._reactRoot=null}set buttonStyle(t){this._props.buttonStyle=t,this._render()}get buttonStyle(){return this._props.buttonStyle??this.getAttribute("button-style")??"Fill"}set kind(t){this._props.kind=t,this._render()}get kind(){return this._props.kind??this.getAttribute("kind")??"Primary"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=vv,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-btn-root",t.appendChild(this._mount),this._reactRoot=(0,y8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={},r=(n,o)=>{this.hasAttribute(n)&&(t[o]=this.getAttribute(n))};r("button-style","buttonStyle"),r("kind","type"),r("size","size"),r("text","text"),r("leading-icon","leadingIcon"),r("trailing-icon","trailingIcon"),r("aria-label","ariaLabel");for(let n of xv)if(this.hasAttribute(n)){let o=this.getAttribute(n);t[yv[n]]=o!=="false"&&o!=="0"}if(this.hasAttribute("show-text")){let n=this.getAttribute("show-text");t.showText=n!=="false"&&n!=="0"}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._readAttributes(),r={...this._props};"kind"in r&&(r.type=r.kind,delete r.kind);let n={...t,...r};this._reactRoot.render(v8.default.createElement(Mn,{...n,onClick:o=>{this._emit("pathway-click",{originalEvent:o}),typeof this.onclick=="function"&&this.onclick(o)}}))}};customElements.get("pathway-button")||customElements.define("pathway-button",_0);var A8=S(D(),1),O8=S(Rr(),1);var Nt=S(D(),1);var jr="pw-focus-ring",Za="pw-focus-ring pw-focus-ring--inset",wu="pw-focus-ring pw-focus-ring--replace",Wi="pw-focus-ring pw-focus-ring--layer",So=`
67
67
  .pw-focus-ring:focus{outline:none}
68
68
  .pw-focus-ring:focus-visible{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
69
69
  .pw-focus-ring--inset:focus-visible{outline-offset:calc(-1 * var(--contextual-layout-units-focusring-width))}
70
70
  .pw-focus-ring--replace:focus-visible{border-color:transparent !important;box-shadow:var(--pw-ring-keep-shadow, none) !important}
71
71
  .pw-focus-ring--layer:focus-visible{outline:none}
72
72
  .pw-focus-ring--layer:focus-visible [data-pw-ring-target]{outline:var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base);outline-offset:0}
73
- `,Q6=!1;function Xo(){if(Q6||typeof document>"u")return;Q6=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=Na,document.head.appendChild(e)}var gp=S(D(),1);var qw=S(D(),1),e8=S($e(),1);var hp={wght:400,GRAD:0,opsz:24},J6={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function Se({name:e,size:t="M",fill:r=0,color:n,label:o,className:a="",style:i,...s}){let l=typeof t=="number"?t:(J6[t]||J6.M).frame;return(0,e8.jsx)("span",{className:`material-symbols-rounded ${a}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:l,lineHeight:1,display:"block",flexShrink:0,color:n,fontVariationSettings:`'FILL' ${r}, 'wght' ${hp.wght}, 'GRAD' ${hp.GRAD}, 'opsz' ${hp.opsz}`,...i},...s,children:e})}var fu=S(D(),1),t8="(prefers-reduced-motion: reduce)",U$=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(t8).matches:!1;function Vt(){let[e,t]=(0,fu.useState)(U$);return(0,fu.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let r=window.matchMedia(t8);t(r.matches);let n=o=>t(o.matches);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},[]),e}var mu=S($e(),1);Xo();var Da=e=>`var(--semantic-color-${e})`,j$=e=>`var(--semantic-layout-units-${e})`,Ki=e=>`var(--motion-${e})`,G$=e=>`var(--contextual-layout-units-${e})`,zi=e=>`var(--semantic-layout-units-accessibility-touch-target-${e})`,r8={Small:{box:36,boxW:zi("desktop-only-width"),boxH:zi("desktop-only-height"),layer:24,glyph:14},Medium:{box:44,boxW:zi("aa-width"),boxH:zi("aa-height"),layer:28,glyph:16},Large:{box:48,boxW:zi("aaa-width"),boxH:zi("aaa-height"),layer:32,glyph:20}},pu={rest:Da("foreground-action-secondary-rest"),hover:Da("foreground-action-secondary-hover"),pressed:Da("foreground-action-secondary-pressed"),layerHover:Da("fill-action-primary-subtle-hover"),layerPress:Da("fill-action-primary-subtle-pressed"),disabled:Da("foreground-action-disabled"),focusOutline:`${G$("focusring-width")} solid ${Da("stroke-focusring-base")}`};function qo({name:e,size:t="Small",label:r,fill:n=0,color:o,states:a,forceState:i,disabled:s=!1,onClick:l,className:c="",style:d,...u}){let p=Vt(),[b,g]=(0,gp.useState)(!1),[y,$]=(0,gp.useState)(!1),m=!s&&(b||i==="hover"),f=!s&&(y||i==="pressed"),h=r8[t]||r8.Small,v={...pu,...a},x=s?pu.disabled:f?v.pressed:m?v.hover:o||pu.rest;return(0,mu.jsx)("button",{type:"button","aria-label":r,title:r,"aria-disabled":s||void 0,onClick:s?void 0:l,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),$(!1)},onMouseDown:()=>$(!0),onMouseUp:()=>$(!1),onBlur:()=>$(!1),className:`pw-action-icon ${yl} ${c}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.boxW,height:h.boxH,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,outline:"none",cursor:s?"not-allowed":"pointer",color:x,...d},...u,children:(0,mu.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.layer,height:h.layer,borderRadius:j$("cornerradius-base"),background:f?v.layerPress:m?v.layerHover:"transparent",outline:!s&&i==="focused"?pu.focusOutline:void 0,outlineOffset:!s&&i==="focused"?0:void 0,transition:p?"none":`background ${Ki("duration-2")} ${Ki("easing-standard")}, outline ${Ki("duration-2")} ${Ki("easing-standard")}`},children:(0,mu.jsx)(Se,{name:e,size:h.glyph,fill:n,style:{transition:p?"none":`color ${Ki("duration-2")} ${Ki("easing-standard")}`}})})})}var Sr=S(D(),1);var je=S($e(),1);Xo();var Ve={barBg:"var(--semantic-color-fill-static-neutral-mono)",filterActiveFill:"var(--semantic-color-fill-action-primary-subtle-rest)",iconPillHover:"var(--semantic-color-fill-action-secondary-hover)",iconPillPressed:"var(--semantic-color-fill-action-secondary-pressed)",badgeFill:"var(--semantic-color-fill-action-primary-strong-rest)",disabledBg:"var(--primitive-color-cool-neutral-10)",borderIdle:"var(--semantic-color-stroke-static-neutral-faint)",borderHover:"var(--semantic-color-stroke-action-primary-strong-hover)",borderActive:"var(--semantic-color-stroke-action-primary-strong-pressed)",borderError:"var(--semantic-color-stroke-action-status-negative-rest)",borderDisabled:"var(--primitive-color-cool-neutral-25)",divider:"var(--semantic-color-stroke-action-secondary-rest)",textPlaceholder:"var(--semantic-color-foreground-static-neutral-base)",textValue:"var(--semantic-color-foreground-static-neutral-bold)",iconIdle:"var(--semantic-color-foreground-action-secondary-rest)",iconHover:"var(--semantic-color-foreground-action-secondary-hover)",iconDisabled:"var(--semantic-color-foreground-action-disabled)",iconError:"var(--semantic-color-foreground-action-status-negative-on-subtle-rest)",navIconFill:"var(--semantic-color-foreground-action-ghost-rest)",navIconHover:"var(--semantic-color-foreground-action-ghost-hover)",collapsedBtnFill:"var(--semantic-color-fill-action-ghost-rest)",collapsedBtnHover:"var(--semantic-color-fill-action-ghost-hover)",collapsedBtnPressed:"var(--semantic-color-fill-action-ghost-pressed)",collapsedBtnBorder:"var(--semantic-color-stroke-action-ghost-rest)",collapsedBtnBorderHov:"var(--semantic-color-stroke-action-ghost-hover)",navFieldFill:"var(--semantic-color-fill-static-neutral-mono)",navFieldBorder:"var(--semantic-color-stroke-static-neutral-faint)",navFieldBorderOpen:"var(--semantic-color-stroke-action-primary-strong-pressed)",navMenuFill:"var(--semantic-color-fill-surface-elevated)",navMenuBorder:"var(--semantic-color-stroke-static-neutral-faint)",badgeBorderColor:"var(--semantic-color-fill-static-neutral-faint)"},Ie={touchTarget:48,exitTarget:"var(--semantic-layout-units-accessibility-touch-target-aa-width)",exitGlyph:20,pillHeight:36,barRadius:64,iconBtnRadius:12,iconBtnSize:24,iconSize:16,iconSizeCollapsed:16,barPadH:8,barGap:8,iconPillPad:4,dividerPad:4,badgeSize:6,expandedWidth:320,containerPad:4},Z$={fontFamily:"'Red Hat Text', sans-serif",fontSize:"var(--semantic-type-font-size-s)",fontWeight:400,lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"};function n8({iconName:e,iconSize:t=Ie.iconSize,iconColor:r,label:n,onClick:o,style:a}){let[i,s]=(0,Sr.useState)(!1),[l,c]=(0,Sr.useState)(!1);return(0,je.jsx)("button",{type:"button","aria-label":n,onClick:o,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.iconBtnSize,height:Ie.iconBtnSize,borderRadius:Ie.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,...a},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:Ie.barRadius,padding:Ie.iconPillPad,background:l?Ve.iconPillPressed:i?Ve.iconPillHover:"transparent",transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)(Se,{name:e,size:t,color:r,fill:1})})})}function bp({value:e="",placeholder:t="Search...",showFilter:r=!1,filterActive:n=!1,filterBadge:o=!1,disabled:a=!1,error:i=!1,onSearch:s,onFilterClick:l,onChange:c,onClear:d,className:u="",id:p,searchIconAriaLabel:b="Search",onSearchIconClick:g,inputRef:y}){let[$,m]=(0,Sr.useState)(!1),[f,h]=(0,Sr.useState)(!1),v=(0,Sr.useRef)(null),x=y||v,w=e.length>0,k=a,E=i&&!a,T=()=>k?{border:`1px solid ${Ve.borderDisabled}`}:E?{border:`1px solid ${Ve.borderError}`}:n||f||w?{border:`1px solid ${Ve.borderActive}`}:$?{border:`1px solid ${Ve.borderHover}`}:{border:`0.75px solid ${Ve.borderIdle}`},P=k?Ve.iconDisabled:E?Ve.iconError:$||f?Ve.iconHover:Ve.iconIdle,F=_=>{_.key==="Enter"&&s?.(e)},R=()=>{d?.(),x.current?.focus()};return(0,je.jsx)("div",{className:u,style:{boxSizing:"border-box",minHeight:Ie.touchTarget,display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",opacity:k?.38:1,pointerEvents:k?"none":"auto"},onMouseEnter:()=>!k&&m(!0),onMouseLeave:()=>m(!1),children:(0,je.jsxs)("div",{role:"search","aria-label":"Search",style:{boxSizing:"border-box",display:"flex",alignItems:"center",gap:Ie.barGap,minHeight:Ie.pillHeight,borderRadius:Ie.barRadius,background:k?Ve.disabledBg:Ve.barBg,overflow:"hidden",paddingLeft:Ie.barPadH,paddingRight:Ie.barPadH,transition:"border-color var(--motion-duration-2) var(--motion-easing-standard), background var(--motion-duration-2) var(--motion-easing-standard)",...T()},children:[(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,je.jsx)(n8,{iconName:"search",iconColor:P,label:b,onClick:g||(()=>s?.(e))})}),(0,je.jsx)("input",{ref:x,id:p,type:"text",role:"searchbox",value:e,placeholder:t,disabled:k,autoComplete:"off","aria-label":"Search",onChange:_=>c?.(_.target.value),onFocus:()=>h(!0),onBlur:()=>h(!1),onKeyDown:F,style:{...Z$,flex:1,minWidth:0,background:"transparent",border:"none",outline:"none",color:w?Ve.textValue:Ve.textPlaceholder}}),w&&(0,je.jsx)(n8,{iconName:"cancel",iconColor:P,label:"Clear search",onClick:R}),r&&(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,borderLeft:`0.75px solid ${Ve.divider}`,paddingLeft:Ie.dividerPad,position:"relative"},children:(0,je.jsxs)("div",{style:{position:"relative"},children:[(0,je.jsx)("button",{type:"button","aria-label":n?"Open filters (filters active)":"Open filters",onClick:l,style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.iconBtnSize,height:Ie.iconBtnSize,borderRadius:Ie.iconBtnRadius,background:n?Ve.filterActiveFill:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:Ie.barRadius,padding:Ie.iconPillPad},children:(0,je.jsx)(Se,{name:"filter_alt",size:Ie.iconSize,color:P,fill:1})})}),o&&(0,je.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:1,right:1,width:Ie.badgeSize,height:Ie.badgeSize,borderRadius:"50%",background:Ve.badgeFill,border:`1.5px solid ${Ve.badgeBorderColor}`,display:"block"}})]})})]})})}if(typeof document<"u"&&!document.getElementById("pds-topnavsearch-anim")){let e=document.createElement("style");e.id="pds-topnavsearch-anim",e.textContent="@keyframes pwSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes pwSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}function $p({expanded:e,onExpandChange:t,searchProps:r={},onSearchOpen:n,breakpoint:o="desktop",className:a=""}){let i=(0,Sr.useRef)(null),s=(0,Sr.useRef)(null),[l,c]=(0,Sr.useState)(!1),d=e!==void 0,[u,p]=(0,Sr.useState)(!1),b=d?e:u,g=r.value!==void 0,[y,$]=(0,Sr.useState)(""),m=g?r.value:y,f=x=>{g||$(x),r.onChange?.(x)},h=()=>{d||p(!0),t?.(!0),n?.(),requestAnimationFrame(()=>s.current?.focus())},v=()=>{d||p(!1),t?.(!1),setTimeout(()=>i.current?.focus(),0)};return(0,Sr.useEffect)(()=>{if(!b)return;let x=w=>{w.key==="Escape"&&v()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[b]),(0,je.jsxs)("div",{className:a,style:{position:b?"static":"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:Ie.touchTarget,height:Ie.touchTarget,minWidth:Ie.touchTarget,flexShrink:0},children:[(0,je.jsx)("button",{ref:i,className:zr,type:"button","aria-label":"Open search","aria-expanded":b,onClick:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.touchTarget,height:Ie.touchTarget,borderRadius:Ie.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0},children:(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,boxSizing:"border-box",borderRadius:"var(--semantic-layout-units-cornerradius-full)",background:l?Ve.collapsedBtnHover:Ve.collapsedBtnFill,border:`var(--contextual-layout-units-button-borderwidth-rest, 0.75px) solid ${l?Ve.collapsedBtnBorderHov:Ve.collapsedBtnBorder}`,transition:"background var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,je.jsx)(Se,{name:"search",size:Ie.iconSizeCollapsed,color:l?Ve.navIconHover:Ve.navIconFill})})}),b&&(0,je.jsxs)("div",{"aria-hidden":!1,style:{position:"absolute",inset:0,display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xtight)",background:"var(--semantic-color-fill-surface-chrome)",padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-base)",boxSizing:"border-box",zIndex:60,animation:"pwSearchExpand var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,je.jsx)("button",{type:"button","aria-label":"Back",onClick:v,style:{display:"flex",alignItems:"center",justifyContent:"center",width:Ie.exitTarget,height:Ie.exitTarget,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:Ie.iconBtnRadius,color:Ve.navIconFill},children:(0,je.jsx)(Se,{name:"arrow_back",size:Ie.exitGlyph,color:Ve.navIconFill,fill:1})}),(0,je.jsx)("div",{style:{flex:1,minWidth:0},children:(0,je.jsx)(bp,{...r,value:m,onChange:f,inputRef:s,onSearch:x=>r.onSearch?.(x)})})]})]})}var vp=S(D(),1);var ft=S($e(),1);var Y$=[{key:"people",color:"#877EC8",icon:"group"},{key:"giving",color:"#4BA8CB",icon:"volunteer_activism"},{key:"mobile-app",color:"#6FCEB7",icon:"smartphone"},{key:"website",color:"#4B6EC3",icon:"language"},{key:"streaming",color:"#FF894A",icon:"live_tv"},{key:"content",color:"#1E99AE",icon:"description"},{key:"communications",color:"#1FA79B",icon:"mail"},{key:"protections",color:"#E97272",icon:"shield"},{key:"events",color:"#7996FC",icon:"event"},{key:"accounting",color:"#F8C84F",icon:"account_balance"}],yp=[{id:"grace",name:"Grace Church",initials:"GC"},{id:"cityhope",name:"City Hope Church",initials:"CH"},{id:"nkbc",name:"Northern Kentucky Baptist Church",initials:"NK"},{id:"crosspoint",name:"Cross Point",initials:"CP"},{id:"cornerstone",name:"Cornerstone",initials:"CO"},{id:"elevate",name:"Elevate Life Church",initials:"EL"},{id:"crossbridge",name:"Crossbridge",initials:"CB"}],mo={bg:"var(--semantic-color-fill-static-neutral-faint)",header:"var(--semantic-color-foreground-static-neutral-base)",border:"var(--semantic-color-stroke-static-neutral-faint)",name:"var(--semantic-color-foreground-static-neutral-bold)",icon:"var(--semantic-color-foreground-static-neutral-base)",logoBg:"var(--semantic-color-fill-surface-chrome)",rowActive:"var(--semantic-color-fill-action-primary-subtle-rest)"};function X$(){return(0,ft.jsx)("div",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:Y$.map(e=>(0,ft.jsx)("span",{style:{width:18,height:18,borderRadius:"50%",background:e.color,marginRight:-4,border:"1.5px solid var(--semantic-color-fill-static-neutral-mono)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,ft.jsx)(Se,{name:e.icon,size:11,style:{color:"var(--semantic-color-foreground-static-neutral-mono)"}})},e.key))})}function q$({org:e,active:t,onSelect:r}){let n=Vt(),[o,a]=(0,vp.useState)(!1);return(0,ft.jsxs)("button",{type:"button",onClick:()=>r&&r(e),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),"aria-current":t?"true":void 0,style:{position:"relative",display:"flex",alignItems:"center",gap:12,width:"100%",textAlign:"left",padding:"8px 8px",border:"none",cursor:"pointer",borderRadius:8,fontFamily:"inherit",background:t||o?mo.rowActive:"transparent",transition:n?"none":"background var(--motion-duration-2) var(--motion-easing-standard)"},children:[t&&(0,ft.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:4,height:44,borderRadius:"0 var(--semantic-layout-units-cornerradius-base) var(--semantic-layout-units-cornerradius-base) 0",background:"var(--semantic-color-fill-action-selection-indicator)"}}),(0,ft.jsx)("div",{style:{width:44,height:44,borderRadius:6,flexShrink:0,background:mo.logoBg,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:e.logoUrl?(0,ft.jsx)("img",{src:e.logoUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}):(0,ft.jsx)("span",{style:{fontSize:13,fontWeight:700,color:"var(--semantic-color-foreground-static-neutral-mono)"},children:e.initials})}),(0,ft.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:6},children:[(0,ft.jsx)("div",{style:{fontSize:14,fontWeight:600,lineHeight:"18px",color:mo.name,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,ft.jsx)(X$,{})]}),(0,ft.jsx)(Se,{name:"chevron_right",size:12,style:{color:mo.icon,flexShrink:0}})]})}function xp({orgs:e=yp,activeOrgId:t,query:r="",onQueryChange:n,onSearch:o,onSelect:a,style:i}){return(0,ft.jsxs)("div",{role:"dialog","aria-label":"Switch organisation",style:{width:360,boxSizing:"border-box",background:mo.bg,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:"var(--elevation-lift)",padding:"18px 18px 24px",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-medium)",fontFamily:"'Red Hat Text', sans-serif",...i},children:[(0,ft.jsx)("div",{style:{padding:"4px 10px",fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,lineHeight:"var(--semantic-type-line-height-s-single)",color:mo.header},children:"My Organizations"}),(0,ft.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"var(--semantic-layout-units-padding-xtight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",border:`1px solid ${mo.border}`},children:[(0,ft.jsx)(Se,{name:"search",size:18,style:{color:mo.icon}}),(0,ft.jsx)("input",{type:"text",value:r,placeholder:"Search","aria-label":"Search organisations",onChange:s=>n&&n(s.target.value),onKeyDown:s=>{s.key==="Enter"&&o&&o(r)},style:{flex:1,minWidth:0,border:"none",outline:"none",background:"transparent",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",color:mo.name}})]}),(0,ft.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",maxHeight:320,overflowY:"auto",overflowX:"hidden"},children:e.map(s=>(0,ft.jsx)(q$,{org:s,active:s.id===t,onSelect:a},s.id))})]})}var i8=S(D(),1),ho=S($e(),1),Q$={"--module-accounting-base":"var(--primitive-color-saffron-200)","--module-accounting-subtle":"var(--primitive-color-saffron-100)","--module-communications-base":"var(--primitive-color-green-300)","--module-communications-subtle":"var(--primitive-color-green-150)","--module-equip-from":"var(--primitive-color-brand-200)","--module-equip-to":"var(--primitive-color-lagoon-150)","--module-giving-base":"var(--primitive-color-seabreeze-350)","--module-giving-subtle":"var(--primitive-color-seabreeze-150)","--module-home-base":"var(--primitive-color-brand-550)","--module-media-base":"var(--primitive-color-jade-300)","--module-media-subtle":"var(--primitive-color-jade-150)","--module-mobile-base":"var(--primitive-color-jade-200)","--module-mobile-subtle":"var(--primitive-color-jade-100)","--module-people-base":"var(--primitive-color-brand-300)","--module-people-subtle":"var(--primitive-color-brand-150)","--module-safety-base":"var(--primitive-color-red-300)","--module-safety-subtle":"var(--primitive-color-red-150)","--module-service-planning-base":"var(--primitive-color-lagoon-400)","--module-service-planning-subtle":"var(--primitive-color-lagoon-200)","--module-streaming-base":"var(--primitive-color-orange-200)","--module-streaming-subtle":"var(--primitive-color-orange-100)","--module-websites-base":"var(--primitive-color-mauve-300)","--module-websites-subtle":"var(--primitive-color-mauve-150)"},s8=["people","giving","service-planning","streaming","safety","mobile","accounting","communications","home","websites","media","equip"],l8={people:"People",giving:"Giving","service-planning":"Service Planning",streaming:"Streaming",safety:"Safety",mobile:"Mobile",accounting:"Accounting",communications:"Communications",home:"Amplify Home",websites:"Websites",media:"Media",equip:"Equip"};var Cp=16,o8={base:{people:[["s","M12.4718 8.81324C11.766 8.68255 11.0733 8.77403 10.4524 9.02889C11.6745 10.1921 12.413 11.7474 12.5306 13.4399L12.6025 14.4789C12.6025 14.5246 12.6025 14.5704 12.6025 14.6227C13.4521 14.1587 14.2298 13.5836 14.9095 12.8975C15.282 12.5185 15.4388 11.9761 15.3081 11.4664C14.9683 10.1463 13.8965 9.08117 12.4718 8.81324Z"],["s","M12.2496 7.63689C13.7266 8.21195 15.2885 7.13371 15.282 5.55229C15.282 4.6701 14.7134 3.84671 13.89 3.52651C12.413 2.95145 10.8511 4.02969 10.8576 5.61111C10.8576 6.4933 11.4262 7.31669 12.2496 7.63689Z"],["b","M11.3216 12.9435C11.2235 12.3815 11.0406 11.8456 10.7922 11.3555C10.6223 11.0288 10.4262 10.7217 10.204 10.4341C9.98183 10.1466 9.72695 9.8852 9.45247 9.64995C8.4591 8.79389 7.17165 8.28418 5.78616 8.28418C5.65546 8.28418 5.51822 8.28418 5.38751 8.29725C3.41385 8.43448 1.75388 9.57806 0.858539 11.1922C0.472956 11.8914 0.623268 12.7866 1.21798 13.316C2.95637 14.8647 5.23066 15.8188 7.74022 15.8384C7.7729 15.8384 7.80557 15.8384 7.83825 15.8384C8.92965 15.8384 9.9753 15.6554 10.9556 15.3352C11.2824 15.2241 11.4915 14.8974 11.4653 14.551L11.3935 13.512C11.3804 13.316 11.3542 13.1265 11.3216 12.9369V12.9435Z"],["b","M7.75986 5.44826C7.84482 5.31757 7.91017 5.18034 7.97553 5.04311C7.99513 4.99736 8.01474 4.95162 8.03434 4.90588C8.08009 4.79479 8.1193 4.68369 8.15198 4.56607C8.16505 4.52033 8.17812 4.48112 8.19119 4.43537C8.22387 4.28507 8.25001 4.13477 8.26961 3.98447C8.27615 3.91912 8.27615 3.85378 8.28268 3.78843C8.28268 3.71655 8.28268 3.63813 8.28268 3.56625C8.28268 3.5009 8.28269 3.43555 8.27615 3.3702C8.27615 3.29832 8.26308 3.2199 8.25654 3.14802C8.25001 3.08267 8.23694 3.02386 8.22387 2.95851C8.2108 2.88663 8.19773 2.82128 8.17812 2.7494C8.15198 2.63831 8.11277 2.52721 8.07355 2.41612C8.05395 2.37038 8.04088 2.32464 8.02781 2.27889C7.96899 2.13513 7.8971 1.9979 7.81868 1.8672C7.79254 1.82799 7.7664 1.78878 7.74025 1.74957C7.6749 1.64502 7.59648 1.54046 7.51805 1.44244C7.49191 1.4163 7.47231 1.38363 7.44616 1.35749C7.2305 1.10917 6.98216 0.893517 6.70114 0.710543C6.66846 0.690939 6.63579 0.671335 6.60311 0.65173C6.49855 0.586382 6.38744 0.527569 6.26981 0.475291C6.22406 0.455687 6.18485 0.436082 6.1391 0.416478C5.99533 0.357665 5.85155 0.305386 5.70124 0.266178C5.65549 0.253108 5.60321 0.246573 5.55746 0.240039C5.44636 0.213899 5.32873 0.194295 5.21763 0.181225C5.12613 0.168156 5.04117 0.161621 4.94968 0.161621C4.92354 0.161621 4.90393 0.161621 4.87779 0.161621C4.79936 0.161621 4.71441 0.161621 4.62945 0.174691C4.57063 0.174691 4.51181 0.174691 4.45299 0.18776C4.36803 0.194295 4.27654 0.213899 4.19158 0.233504C4.13276 0.246573 4.07395 0.253108 4.02166 0.266178C3.87789 0.298852 3.73411 0.344595 3.59687 0.396873C3.53805 0.416478 3.48577 0.442617 3.43349 0.468756C3.32892 0.5145 3.22436 0.566778 3.12633 0.625591C3.08711 0.645195 3.05444 0.6648 3.01523 0.684404C2.87798 0.769356 2.74728 0.860843 2.62311 0.9654C2.6035 0.978469 2.59043 0.998074 2.57082 1.01114C2.45972 1.10917 2.35516 1.21372 2.25713 1.32481C2.23752 1.34442 2.22445 1.36402 2.20485 1.37709C2.09375 1.50779 1.99572 1.63848 1.90422 1.78225C1.81926 1.91294 1.75391 2.05017 1.68856 2.19394C1.66895 2.23968 1.64935 2.28543 1.62974 2.32464C1.58399 2.43573 1.54478 2.54682 1.5121 2.66444C1.49903 2.71019 1.48596 2.7494 1.47289 2.79514C1.43368 2.94544 1.41407 3.09574 1.39447 3.24604C1.38793 3.31139 1.38793 3.3702 1.3814 3.43555C1.3814 3.50743 1.3814 3.58585 1.3814 3.65773C1.3814 3.72308 1.3814 3.78843 1.38793 3.84724C1.38793 3.91912 1.401 3.99754 1.40754 4.06942C1.41407 4.13477 1.42715 4.19359 1.44022 4.25893C1.45329 4.33082 1.46636 4.39616 1.48596 4.46805C1.5121 4.57914 1.55132 4.69023 1.59053 4.80132C1.61013 4.84706 1.61667 4.89281 1.63628 4.93855C1.69509 5.08232 1.76698 5.21955 1.84541 5.35024C1.87155 5.38945 1.89769 5.42866 1.92383 5.46787C1.99572 5.57242 2.06761 5.67698 2.14603 5.775C2.17217 5.80114 2.19178 5.83382 2.21792 5.85996C2.43358 6.10828 2.68193 6.32393 2.96294 6.5069C2.99562 6.5265 3.0283 6.54611 3.05444 6.56571C3.16554 6.63106 3.27664 6.68987 3.38774 6.74215C3.43349 6.76176 3.4727 6.78136 3.51844 6.80097C3.66222 6.85978 3.806 6.91206 3.95631 6.95127C4.00206 6.96434 4.0478 6.97087 4.10009 6.97741C4.21119 7.00354 4.32882 7.02315 4.44646 7.03622C4.53795 7.04929 4.62291 7.05582 4.71441 7.05582C4.74055 7.05582 4.76015 7.05582 4.78629 7.05582C4.86472 7.05582 4.94968 7.05582 5.03464 7.04275C5.09345 7.04275 5.15227 7.04275 5.21109 7.02968C5.29605 7.02315 5.38754 7.00354 5.4725 6.98394C5.53132 6.97087 5.59014 6.96434 5.64242 6.95127C5.7862 6.91859 5.92997 6.87285 6.06721 6.82057C6.1195 6.80097 6.17832 6.77483 6.2306 6.74869C6.33516 6.70294 6.43973 6.65066 6.53776 6.59185C6.57697 6.57225 6.60964 6.55264 6.64886 6.53304C6.7861 6.44809 6.9168 6.3566 7.04098 6.25204C7.06058 6.23897 7.07365 6.21937 7.09326 6.2063C7.20436 6.10828 7.30892 6.00372 7.40695 5.89263C7.42656 5.87303 7.43963 5.85342 7.45924 5.83382C7.57034 5.70312 7.66837 5.57243 7.75986 5.42866V5.44826Z"]],giving:[["s","M4.46107 7.13333C4.9211 7.57333 5.40114 7.99333 5.89451 8.38667C6.1412 8.35333 6.38789 8.33333 6.63457 8.33333H9.1081C9.32812 8.33333 9.54814 8.38 9.75482 8.44C10.2749 8.03333 10.7749 7.6 11.2483 7.14C11.9417 6.44 12.4684 5.6 12.7951 4.66667C13.0818 3.78 13.0484 2.82667 12.7151 1.96C12.375 1.1 11.6683 0.433333 10.7882 0.153333C10.4816 0.0533333 10.1549 0 9.83483 0.00666667H9.81483C9.10811 0.00666667 8.42139 0.24 7.86134 0.673333C7.82134 0.64 7.77466 0.613333 7.72799 0.586667L7.70799 0.573333C7.70799 0.573333 7.66132 0.546667 7.63465 0.52C7.58798 0.486667 7.54131 0.453333 7.48798 0.42L7.29463 0.333333C7.19462 0.28 7.08128 0.233333 6.96793 0.2C6.9546 0.186667 6.94127 0.18 6.92126 0.166667H6.88793C6.58123 0.0666667 6.26788 0.00666667 5.94785 0H5.89451C5.74784 0 5.60782 0.00666667 5.46115 0.0333333H5.40114C5.2478 0.0533333 5.09445 0.0866667 4.9411 0.14C4.05437 0.426667 3.34098 1.09333 2.99428 1.96C2.65426 2.82667 2.62759 3.78667 2.92094 4.67333C3.24764 5.6 3.77435 6.44 4.46773 7.14L4.46107 7.13333Z"],["b","M15.4953 10.5133C15.2886 10.3267 15.0486 10.2533 14.7886 10.2533C14.4686 10.2533 14.1352 10.3667 13.8285 10.5133L11.9684 11.7067C11.355 11.9867 10.8949 12.3267 10.3282 12.3267H8.16805C7.59467 12.36 7.22797 12.5533 6.87461 13.0333C6.80127 13.1267 6.6946 13.18 6.58125 13.18C6.50792 13.18 6.42791 13.1533 6.36124 13.1067C6.23456 13.0133 6.18789 12.8533 6.22789 12.7133C6.24123 12.6733 6.25457 12.6333 6.2879 12.5933C6.36124 12.5 6.43458 12.4133 6.50791 12.3267C6.99462 11.8067 7.56134 11.58 8.3614 11.58H9.04145C9.58816 11.58 10.0615 11.2067 10.1415 10.7133C10.1949 10.4 10.1082 10.1 9.90819 9.86667C9.70817 9.63333 9.42148 9.5 9.11479 9.5H6.64126C5.54784 9.5 4.46775 9.88 3.61435 10.5733L2.74761 11.2733C2.74761 11.2733 2.70094 11.3 2.67427 11.3133C2.51426 11.4133 2.35425 11.4933 2.19424 11.5533C1.68087 11.7467 1.24749 11.7467 1.24749 11.7467H0.714121C0.367426 11.7467 0.0874023 12.0267 0.0874023 12.3733V15.3733C0.0874023 15.72 0.367426 16 0.714121 16H10.7616C11.3283 16 11.8817 15.8067 12.3217 15.4533L15.442 12.42C16.0353 11.9467 16.082 11.04 15.4953 10.5133Z"]],"service-planning":[["b","M7.26882 10.353C7.26882 9.63288 7.76897 8.95945 8.46912 8.73942L12.63 7.51257V3.0386C12.63 1.11166 11.5298 0.00483079 9.60935 0.00483079H4.34154C3.52135 -0.0418426 2.72116 0.251533 2.11435 0.804946C1.5609 1.4117 1.27417 2.21848 1.32084 3.04527V9.53286C1.32084 11.4665 2.42107 12.5733 4.34817 12.5733H7.2755V10.3463L7.26882 10.353ZM5.78184 3.02526H9.58937C9.90944 3.02526 10.1762 3.2853 10.1762 3.61201C10.1762 3.93873 9.91611 4.19877 9.58937 4.19877H5.78184C5.46177 4.19877 5.19504 3.93873 5.19504 3.61201C5.19504 3.2853 5.4551 3.02526 5.78184 3.02526ZM4.56156 6.73246C4.53488 6.80581 4.4882 6.87248 4.43486 6.92582C4.38151 6.97916 4.31485 7.01917 4.24817 7.05251C4.17482 7.07918 4.10145 7.09918 4.02144 7.09918C3.86807 7.09918 3.72137 7.03251 3.60801 6.92582C3.55467 6.87248 3.51466 6.80581 3.48799 6.73246C3.45465 6.66579 3.44131 6.58577 3.44131 6.51243C3.44131 6.43909 3.45465 6.35908 3.48799 6.2924C3.51466 6.21905 3.55467 6.15238 3.60801 6.09904C3.77472 5.93901 4.02812 5.88567 4.24817 5.97235C4.31485 6.00569 4.38151 6.0457 4.43486 6.09904C4.4882 6.15238 4.53488 6.21905 4.56156 6.2924C4.5949 6.35908 4.60824 6.43909 4.60824 6.51243C4.60824 6.58577 4.58823 6.66579 4.56156 6.73246ZM4.43486 4.01874C4.38151 4.07208 4.31485 4.11209 4.24817 4.14542C4.17482 4.1721 4.10145 4.1921 4.02144 4.1921C3.86807 4.1921 3.72137 4.12542 3.60801 4.01874C3.50132 3.91206 3.44131 3.7587 3.44131 3.60535C3.44131 3.532 3.45465 3.45199 3.48799 3.38532C3.51466 3.31197 3.55467 3.2453 3.60801 3.19195C3.77472 3.03193 4.03479 2.97859 4.24817 3.06527C4.31485 3.09861 4.38151 3.13861 4.43486 3.19195C4.4882 3.2453 4.53488 3.31197 4.56156 3.38532C4.5949 3.45199 4.60824 3.532 4.60824 3.60535C4.60824 3.7587 4.54155 3.91206 4.43486 4.01874ZM5.20171 6.51243C5.20171 6.19239 5.46177 5.92568 5.78851 5.92568H7.6956C8.01567 5.92568 8.2824 6.18572 8.2824 6.51243C8.2824 6.83914 8.02233 7.09918 7.6956 7.09918H5.78851C5.46844 7.09918 5.20171 6.83914 5.20171 6.51243Z"],["s","M14.1638 8.2989C14.1171 8.2989 14.0505 8.31223 14.0105 8.32557L8.80264 9.86579C8.6026 9.9258 8.43586 10.1525 8.43586 10.3592V13.9864C8.29583 13.953 8.06246 13.9264 7.91576 13.9197C7.05557 13.9197 6.3554 14.3864 6.3554 14.9599C6.3554 15.5333 7.05557 16 7.91576 16C8.77596 16 9.47609 15.5333 9.47609 14.9599V11.7861L12.3768 10.9393L13.6437 10.5659V12.9396C13.5037 12.9062 13.2703 12.8796 13.1236 12.8729C12.2634 12.8729 11.5632 13.3396 11.5632 13.913C11.5632 14.4865 12.2634 14.9532 13.1236 14.9532C13.9838 14.9532 14.6839 14.4865 14.6839 13.913V8.8123C14.6839 8.5256 14.4506 8.29223 14.1638 8.29223V8.2989Z"]],streaming:[["b","M15.0579 5.89623L13.8961 6.56138C13.6991 6.67272 13.5792 6.88111 13.5792 7.10949V11.3013C13.5792 11.5268 13.6991 11.7352 13.8961 11.8494L15.0579 12.5145C15.4776 12.7543 16 12.4517 16 11.9664V6.44719C16 5.96474 15.4776 5.65929 15.0579 5.89909V5.89623Z"],["b","M9.50832 4.04126C9.45694 4.04126 9.4027 4.04126 9.34846 4.04697L8.15233 5.25451C8.05527 5.36299 7.92966 5.45149 7.79263 5.51144C7.85258 5.68843 7.88398 5.87684 7.88398 6.07096C7.87827 7.01017 7.11035 7.77809 6.16259 7.78094C5.70868 7.78094 5.28333 7.60395 4.96075 7.28137C4.63816 6.95878 4.46688 6.53628 4.46117 6.06811C4.46117 5.87684 4.49543 5.69129 4.55538 5.51715C4.43262 5.46291 4.32129 5.38869 4.22708 5.29733L2.9967 4.04411H2.75975C1.17824 4.10977 -0.0578576 5.46576 0.00209165 7.07297V11.6073C0.0791692 13.1603 1.08118 14.365 2.58276 14.365C3.05355 14.365 3.52477 14.3629 3.99585 14.365H9.61109C11.1983 14.3022 12.4373 12.9434 12.3716 11.339V6.79892C12.2945 5.24595 11.0213 4.04126 9.50261 4.04126H9.50832Z"],["s","M3.35639 3.1994L3.6333 3.47631C3.67897 3.52198 3.74178 3.54482 3.80458 3.54482C3.86168 3.54482 3.91877 3.52484 3.96445 3.48487C4.07578 3.3821 4.21281 3.28789 4.36125 3.19654C4.90365 2.86254 5.63446 2.61989 6.19113 2.61418H6.19399C6.19399 2.61418 6.20255 2.61703 6.20541 2.61703C6.77064 2.61703 7.51001 2.85969 8.04956 3.19654C8.18373 3.27933 8.30648 3.36783 8.40925 3.45918C8.45207 3.49914 8.50631 3.51913 8.56341 3.51913C8.62907 3.51913 8.69473 3.49058 8.7404 3.4392L9.08297 3.09663C9.12008 3.05952 9.15434 2.98244 9.15434 2.92534C9.15434 2.8654 9.12008 2.78832 9.07726 2.7455H9.08011L9.0744 2.73693C8.29221 2.02325 7.29305 1.63501 6.2311 1.63501C6.22253 1.63501 6.21397 1.63501 6.20541 1.63501C5.13203 1.64072 4.12146 2.04038 3.32213 2.76834C3.2736 2.81116 3.23649 2.89394 3.23649 2.95675C3.23364 3.01099 3.26789 3.09092 3.2993 3.13374L3.3621 3.19654L3.35639 3.1994Z"],["s","M6.18261 5.20619C5.70587 5.20619 5.31763 5.59728 5.31477 6.07402C5.31477 6.31096 5.41183 6.52792 5.56599 6.68208C5.72014 6.83623 5.92854 6.93329 6.16833 6.93329C6.16833 6.93329 6.17119 6.93329 6.17404 6.93329C6.65078 6.93329 7.03903 6.5422 7.04188 6.06546C7.04188 5.82852 6.94482 5.61156 6.79067 5.4574C6.63651 5.30325 6.42812 5.20619 6.18832 5.20619C6.18832 5.20619 6.18546 5.20619 6.18261 5.20619Z"],["s","M7.36436 4.75554C7.42146 4.75554 7.49854 4.72414 7.52994 4.67847L7.87821 4.33019C7.92104 4.28737 7.95244 4.21315 7.95244 4.15605C7.95244 4.12179 7.93816 4.08183 7.91818 4.04757C7.90391 4.01902 7.88963 3.99333 7.86965 3.97335H7.87251L7.86394 3.96193C7.7155 3.83632 7.51566 3.71928 7.29585 3.62507C6.93616 3.46521 6.52222 3.36244 6.19964 3.36244C6.19678 3.36244 6.19393 3.36244 6.19107 3.36244C5.87134 3.36244 5.46883 3.46806 5.11199 3.62507C4.88075 3.72499 4.66951 3.84774 4.5125 3.98191C4.49251 3.99619 4.47824 4.02473 4.46111 4.04757C4.43542 4.09039 4.41829 4.13607 4.41829 4.17603C4.41829 4.23313 4.44969 4.31021 4.48395 4.35588L4.83222 4.70416C4.86934 4.74127 4.94641 4.77267 4.99494 4.77267C5.04062 4.77267 5.10628 4.74983 5.14053 4.72129C5.39175 4.5186 5.85707 4.35303 6.17965 4.35017C6.17965 4.35017 6.18251 4.35017 6.18536 4.35017C6.50795 4.35017 6.96756 4.51289 7.21592 4.70987C7.25018 4.73841 7.31583 4.7584 7.36151 4.7584L7.36436 4.75554Z"]],safety:[["b","M6.98424 10.5929C6.98424 7.76506 9.24798 5.46784 12.0346 5.46784C12.4847 5.46784 12.9216 5.53502 13.3386 5.6492L13.3254 3.27139C13.3187 2.65342 12.9216 2.10935 12.3457 1.92127L7.14309 0.147987C6.832 0.0405148 6.49443 0.0405148 6.17671 0.147987L0.993958 1.98173C0.418096 2.18324 0.0341797 2.72731 0.0341797 3.34527L0.0672873 8.61811C0.0805256 10.2302 0.676244 11.7751 1.74192 12.9707C2.29131 13.5685 2.93997 14.0522 3.66146 14.4149L6.48118 15.8993C6.56723 15.9464 6.65991 15.9665 6.75919 15.9665C6.85848 15.9665 6.95116 15.9396 7.03721 15.8926L9.10897 14.7642C7.81824 13.8372 6.97101 12.3125 6.97101 10.5862L6.98424 10.5929Z"],["s","M13.4022 6.83015C12.9892 6.68269 12.5429 6.59555 12.0833 6.59555C9.91842 6.59555 8.16655 8.35839 8.16655 10.5368C8.16655 12.0784 9.05248 13.4123 10.3314 14.0558C10.8576 14.3239 11.4505 14.4781 12.0833 14.4781C14.2481 14.4781 16 12.7152 16 10.5368C16 8.82759 14.9142 7.37978 13.4022 6.83015ZM14.4946 9.82631L12.1366 12.1656C12.0033 12.2996 11.8235 12.3667 11.6436 12.3667C11.4638 12.3667 11.3039 12.3063 11.164 12.179L10.0183 11.0931C9.7852 10.8719 9.77187 10.5033 9.99168 10.262C10.2115 10.0274 10.5779 10.014 10.8177 10.2352L11.637 11.006L13.3622 9.30349L13.6753 8.98846C13.9017 8.76056 14.2748 8.76726 14.5013 8.98846C14.7277 9.21635 14.7211 9.59171 14.5013 9.8196L14.4946 9.82631Z"]],mobile:[["b","M7.58039 10.9467V9.44667C7.58039 9.25333 7.62039 9.06667 7.68039 8.89333H6.42696C5.47355 8.89333 4.70015 8.12 4.70015 7.16667V5.66667C4.70015 4.71333 5.47355 3.94 6.42696 3.94H9.08051C9.28052 3.94 9.47387 3.98 9.65388 4.04667V3.98667C9.65388 3.03333 10.4273 2.26 11.3807 2.26H12.1874C11.9874 0.98 10.8807 0 9.54054 0H4.26679C2.78 0 1.57324 1.20667 1.57324 2.69333V13.3067C1.57324 14.7933 2.78 16 4.26679 16H9.54054C11.0273 16 12.2341 14.7933 12.2341 13.3067V12.6733H9.30053C8.34712 12.6733 7.57372 11.9 7.57372 10.9467H7.58039ZM6.907 15.1667C6.34696 15.1667 5.89359 14.7133 5.89359 14.1533C5.89359 13.5933 6.34696 13.14 6.907 13.14C7.46705 13.14 7.92041 13.5933 7.92041 14.1533C7.92041 14.7133 7.46705 15.1667 6.907 15.1667Z"],["s","M10.8273 3.98676V7.16676C10.8273 7.46676 11.0673 7.70676 11.3607 7.72009H13.1208C13.4142 7.70676 13.6542 7.46676 13.6542 7.16676V3.98676C13.6542 3.68009 13.4008 3.42676 13.0942 3.42676H11.3874C11.0807 3.42676 10.8273 3.68009 10.8273 3.98676Z"],["s","M9.08051 5.10547H6.42697C6.11766 5.10547 5.86691 5.35619 5.86691 5.66547V7.16547C5.86691 7.47475 6.11766 7.72547 6.42697 7.72547H9.08051C9.38981 7.72547 9.64055 7.47475 9.64055 7.16547V5.66547C9.64055 5.35619 9.38981 5.10547 9.08051 5.10547Z"],["s","M13.8675 8.88672H9.30711C9.00042 8.88672 8.74707 9.14005 8.74707 9.44672V10.9467C8.74707 11.2534 9.00042 11.5067 9.30711 11.5067H13.8675C14.1742 11.5067 14.4275 11.2534 14.4275 10.9467V9.44672C14.4275 9.14005 14.1742 8.88672 13.8675 8.88672Z"]],accounting:[["b","M9.55804 6.67528H14.2937C14.874 6.67528 15.3342 6.15506 15.2409 5.58149C14.774 2.74031 12.5395 0.499377 9.69812 0.0391856C9.1245 -0.0541866 8.60423 0.406005 8.60423 0.986246V5.72155C8.60423 6.24844 9.03111 6.67528 9.55804 6.67528Z"],["b","M7.71049 8.7765C7.32364 8.38967 7.1035 7.85612 7.1035 7.30922V2.47388C7.1035 1.89364 6.58991 1.44011 6.0163 1.53349C2.57459 2.09372 0.00667981 5.2617 0.420218 8.9499C0.453568 9.26337 0.520234 9.57016 0.593603 9.87029C1.22725 9.45011 1.98099 9.20334 2.79473 9.20334C4.98915 9.20334 6.77001 10.9841 6.77001 13.1783C6.77001 13.7786 6.62993 14.3522 6.38981 14.8657C6.39648 14.8657 6.40985 14.8657 6.41652 14.8657C8.13737 15.0324 9.73813 14.5589 11.0121 13.6519C11.4923 13.3117 11.5391 12.6114 11.1188 12.1913L7.71049 8.78317V8.7765Z"],["b","M15.0473 8.16878H11.6389C10.7918 8.16878 10.3717 9.1892 10.9653 9.78945L13.3798 12.2038C13.7867 12.6106 14.4737 12.5706 14.8072 12.1037C15.4008 11.2767 15.8143 10.303 15.9878 9.2559C16.0811 8.68233 15.6276 8.16878 15.0473 8.16878Z"],["s","M2.80136 10.3639C2.12102 10.3639 1.50072 10.6174 1.02049 11.0176C0.400177 11.5311 0 12.2981 0 13.1651C0 14.7124 1.25393 15.9729 2.80803 15.9729C3.82854 15.9729 4.70899 15.4261 5.20257 14.6124C5.45603 14.1922 5.61611 13.6987 5.61611 13.1651C5.61611 11.6178 4.36214 10.3573 2.80803 10.3573L2.80136 10.3639Z"]],communications:[["b","M9.00365 3.41285L7.77761 8.05006C7.5977 8.72299 6.9847 9.19604 6.28506 9.19604C6.03186 9.19604 5.77864 9.12941 5.55876 9.01614L4.5193 8.46314V10.7151C4.5193 12.0543 5.6054 13.1337 6.93804 13.1337H9.40343L12.4552 15.3257C12.6484 15.4589 12.9216 15.3257 12.9216 15.0992V13.1337H13.5813C14.9206 13.1337 16 12.0477 16 10.7151V5.83139C16 4.4922 14.9139 3.41285 13.5813 3.41285H9.00365Z"],["s","M6.09859 7.98975C6.15856 8.02306 6.21854 8.03639 6.27851 8.03639C6.44509 8.03639 6.59833 7.92978 6.64498 7.75656L8.40407 1.0939C8.4707 0.840717 8.27081 0.62085 8.0376 0.62085C7.98429 0.62085 7.931 0.634175 7.88436 0.654163L0.228323 4.16538C-0.0715206 4.29864 -0.0715059 4.6984 0.201685 4.84497L1.80087 5.69779L6.19855 2.55968C6.19855 2.55968 6.23854 2.53969 6.25187 2.53969C6.32517 2.53969 6.38512 2.63297 6.31849 2.6996L5.52557 3.51911L2.58712 6.53729L2.46718 7.79653C2.44053 8.04971 2.64043 8.21628 2.84699 8.21628C2.94028 8.21628 3.03354 8.18296 3.11349 8.10301L4.21961 6.98369L6.09196 7.98308L6.09859 7.98975Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M11.7413 12.9347L10.6088 9.50187C10.4584 9.05077 10.5352 8.55168 10.8136 8.16777C11.0919 7.78066 11.543 7.55031 12.0165 7.55031C12.1956 7.55031 12.3716 7.5823 12.5412 7.64629L14.3328 8.32133V5.27242C14.3328 2.90816 12.8099 1.31812 10.5448 1.31812H3.78474C1.52286 1.31812 0 2.90816 0 5.27242V10.7272C0 13.0915 1.52286 14.6815 3.78474 14.6815H10.5416C11.4726 14.6815 12.2724 14.4096 12.8995 13.9329C12.3652 13.8401 11.9141 13.4658 11.7413 12.9347ZM6.77607 4.45981H11.0119C11.3062 4.45981 11.543 4.69655 11.543 4.99089C11.543 5.28522 11.3062 5.52197 11.0119 5.52197H6.77607C6.48174 5.52197 6.24499 5.28522 6.24499 4.99089C6.24499 4.69655 6.48174 4.45981 6.77607 4.45981ZM4.36381 5.52197H3.13209C2.83776 5.52197 2.60101 5.28522 2.60101 4.99089C2.60101 4.69655 2.83776 4.45981 3.13209 4.45981H4.36381C4.65815 4.45981 4.89489 4.69655 4.89489 4.99089C4.89489 5.28522 4.65815 5.52197 4.36381 5.52197ZM7.5055 11.4662C7.10239 11.575 6.68329 11.9941 6.57451 12.3972C6.46574 12.8003 6.28658 12.8003 6.1778 12.3972C6.06903 11.9941 5.64992 11.575 5.24681 11.4662C4.84371 11.3574 4.84371 11.1783 5.24681 11.0695C5.64992 10.9607 6.06903 10.5416 6.1778 10.1385C6.28658 9.73541 6.46574 9.73541 6.57451 10.1385C6.68329 10.5416 7.10239 10.9607 7.5055 11.0695C7.90861 11.1783 7.90861 11.3574 7.5055 11.4662ZM8.75642 7.83824C8.52607 7.89903 8.28613 8.13898 8.22534 8.36932C8.16455 8.59967 8.06218 8.59967 7.99819 8.36932C7.93741 8.13898 7.69746 7.89903 7.46711 7.83824C7.23676 7.77746 7.23676 7.67508 7.46711 7.61109C7.69746 7.54711 7.93741 7.31036 7.99819 7.08001C8.05898 6.84967 8.16136 6.84967 8.22534 7.08001C8.28613 7.31036 8.52607 7.55031 8.75642 7.61109C8.98677 7.67188 8.98677 7.77426 8.75642 7.83824Z"],["s","M15.8139 12.0274L15.0525 11.234L15.6955 10.6165C15.9195 10.4022 15.8427 10.0247 15.5516 9.9159L12.1667 8.64579C12.1155 8.62659 12.0643 8.61699 12.0164 8.61699C11.7444 8.61699 11.5205 8.88893 11.6164 9.17367L12.749 12.6065C12.8098 12.7921 12.9793 12.8976 13.1521 12.8976C13.2545 12.8976 13.36 12.8592 13.4432 12.7793L14.0863 12.1618L14.1087 12.1842L14.8477 12.9552C14.9789 13.0928 15.1548 13.16 15.3308 13.16C15.5068 13.16 15.6635 13.0992 15.7947 12.9744C16.0602 12.7185 16.0698 12.2962 15.8139 12.0306V12.0274Z"]],media:[["s","M13.0054 0.794678H8.4102C7.06965 0.794678 6.06258 1.49491 5.63574 2.62862H8.17679C10.7712 2.62862 12.5786 4.49591 12.5786 7.17014V11.3916H12.9988C14.7928 11.3916 16 10.1311 16 8.25717V3.93573C16 2.06177 14.7928 0.801347 12.9988 0.801347L13.0054 0.794678ZM14.6528 8.95074C14.6528 9.26418 14.3993 9.51759 14.0859 9.51759H13.7924C13.479 9.51759 13.2255 9.26418 13.2255 8.95074V8.65731C13.2255 8.34387 13.479 8.09045 13.7924 8.09045H14.0859C14.3993 8.09045 14.6528 8.34387 14.6528 8.65731V8.95074ZM14.6528 6.24317C14.6528 6.5566 14.3993 6.81002 14.0859 6.81002H13.7924C13.479 6.81002 13.2255 6.5566 13.2255 6.24317V5.94973C13.2255 5.6363 13.479 5.38288 13.7924 5.38288H14.0859C14.3993 5.38288 14.6528 5.6363 14.6528 5.94973V6.24317ZM14.6528 3.53559C14.6528 3.84903 14.3993 4.10245 14.0859 4.10245H13.7924C13.479 4.10245 13.2255 3.84903 13.2255 3.53559V3.24216C13.2255 2.92872 13.479 2.67531 13.7924 2.67531H14.0859C14.3993 2.67531 14.6528 2.92872 14.6528 3.24216V3.53559Z"],["b","M8.18336 3.79468H3.23467C1.30054 3.79468 0 5.14846 0 7.16914V11.8307C0 13.8514 1.30054 15.2052 3.23467 15.2052H8.18336C10.1175 15.2052 11.418 13.8514 11.418 11.8307V7.16914C11.418 5.14846 10.1175 3.79468 8.18336 3.79468ZM4.28175 6.15547C4.75528 6.15547 5.16879 6.40222 5.40888 6.76901C5.54894 6.98241 5.62899 7.23583 5.62899 7.50925C5.62899 7.78268 5.54894 8.0361 5.40888 8.2495C5.16879 8.61629 4.75528 8.86304 4.28175 8.86304C3.53478 8.86304 2.92786 8.25617 2.92786 7.50925C2.92786 6.76234 3.53478 6.15547 4.28175 6.15547ZM10.0575 12.7443C9.82404 13.3112 9.35051 13.7513 8.77027 13.9514C8.51684 14.0314 8.25006 14.0714 7.98329 14.0714C7.98329 14.0714 7.96995 14.0714 7.96328 14.0714H3.15464C3.15464 14.0714 3.12128 14.0714 3.10127 14.0714C2.6811 14.0714 2.26759 13.9581 1.90744 13.7447C1.8074 13.6847 1.74071 13.5779 1.7207 13.4579C1.70069 13.3312 1.73405 13.1978 1.81408 13.0978C2.07419 12.771 2.34095 12.4376 2.59439 12.1108L2.6144 12.0841C3.01456 11.5706 3.31469 11.3572 3.60148 11.3572C3.69485 11.3572 3.78156 11.3772 3.8616 11.4172C4.02833 11.4973 4.18172 11.5906 4.33512 11.6973C4.65525 11.9574 5.04207 12.1108 5.45557 12.1441C5.69567 12.1441 5.93577 12.0774 6.14252 11.9507C6.48933 11.724 6.78946 11.4239 7.02289 11.0838C7.10959 10.9571 7.18962 10.8237 7.26298 10.6836L7.32302 10.5769C7.41639 10.4236 7.50308 10.2768 7.60313 10.1435C7.7832 9.88338 8.06332 9.71666 8.38346 9.68331C8.53685 9.68331 8.69024 9.73 8.81696 9.81669C9.20379 10.0768 9.56394 10.3835 9.88407 10.7303C10.0108 10.857 10.1108 11.0104 10.1775 11.1771C10.1975 11.2505 10.2109 11.3239 10.2242 11.3972C10.3176 11.8507 10.2642 12.3242 10.0641 12.7443H10.0575Z"]],equip:[["g","M15.7065 11.6492C15.9902 11.6492 16 11.9038 16 12.1947C16 13.0223 15.266 14.1883 13.6513 14.1884H2.34868C0.73399 14.1884 0 12.813 0 12.1947C1.26508e-05 11.9038 0.0597413 11.6492 0.343544 11.6492H15.7065Z"],["g","M14.1232 2.10404C14.4185 1.80875 15.0266 1.68506 15.3219 1.98035L15.7827 2.44079C16.0779 2.73608 15.9542 3.34415 15.659 3.63944L12.9364 6.36206C12.4939 6.80454 11.7535 6.93297 11.1568 7.05737C10.8633 7.11849 10.6612 6.91063 10.7167 6.61694C10.812 6.11297 10.9584 5.2689 11.4006 4.82665L14.1232 2.10404Z"],["g","M11.3194 2.33844C11.6177 2.33844 11.901 2.37115 12.1673 2.43353L10.8286 3.80627H5.37475C4.31034 3.80627 3.7381 4.09111 3.43717 4.38004C3.14277 4.66271 2.91596 5.13345 2.91596 5.91222V9.33479H3.09935V10.8023H1.44812V5.91222C1.44812 3.83508 2.65349 2.4286 5.13094 2.34273L5.37475 2.33844H11.3194Z"],["g","M8.05339 10.8023H3.09935V9.33479H8.05339V10.8023Z"],["g","M13.0074 10.8023H8.05339V9.33479H13.0074V10.8023Z"],["g","M14.659 10.8023H13.0074V9.33479H13.1908V7.32608C13.3914 7.21102 13.5903 7.06663 13.7699 6.88244L14.659 5.97085V10.8023Z"],["g","M5.84637 5.78923C5.88566 5.78923 5.92503 5.81591 5.94468 5.85608C5.94468 5.85608 6.05874 6.38796 6.28536 6.61967C6.51043 6.84963 7.02445 6.9662 7.03179 6.96786C7.07109 6.98795 7.09757 7.02813 7.09757 7.06831C7.09753 7.10846 7.07106 7.14859 7.03179 7.16197C7.02353 7.16391 6.50997 7.28539 6.28536 7.51696C6.06163 7.74765 5.94663 8.27125 5.94468 8.28019C5.92503 8.32037 5.88567 8.3474 5.84637 8.3474C5.80708 8.34738 5.76795 8.32036 5.75485 8.28019C5.7532 8.27283 5.6344 7.74689 5.40773 7.51696C5.18155 7.28765 4.66727 7.1702 4.66095 7.16876C4.62168 7.14869 4.60199 7.10846 4.60196 7.06831C4.60196 7.02813 4.62165 6.98795 4.66095 6.96786C4.66429 6.9671 5.18089 6.84964 5.40773 6.61967C5.63606 6.38816 5.75485 5.85608 5.75485 5.85608C5.76798 5.81595 5.80711 5.78924 5.84637 5.78923Z"],["g","M8.51277 4.43973C8.53816 4.43978 8.5637 4.45703 8.5764 4.48299C8.57732 4.48726 8.65089 4.82804 8.79661 4.97703C8.94142 5.12504 9.27127 5.20037 9.27957 5.20225C9.305 5.21525 9.32211 5.24131 9.32211 5.26731C9.3221 5.2933 9.30499 5.31942 9.27957 5.32808C9.27066 5.33018 8.94113 5.40858 8.79661 5.55759C8.65059 5.70815 8.5764 6.05163 8.5764 6.05163C8.5637 6.07759 8.53816 6.09484 8.51277 6.09489C8.48737 6.09489 8.46193 6.07758 8.45342 6.05163C8.45342 6.05163 8.37631 5.70738 8.22857 5.55759C8.08238 5.40947 7.75058 5.33351 7.7456 5.33237C7.72018 5.31938 7.70736 5.2933 7.70735 5.26731C7.70735 5.24131 7.72017 5.21525 7.7456 5.20225C7.74989 5.20127 8.0822 5.12529 8.22857 4.97703C8.37631 4.82724 8.45342 4.48299 8.45342 4.48299C8.46191 4.457 8.48735 4.43973 8.51277 4.43973Z"]]},rippled:{people:[["s","M11.9118 12.5101C12.9312 11.6436 13.6556 10.4438 13.9078 9.07867C13.441 8.38012 12.7032 7.8602 11.8071 7.6949C11.174 7.57759 10.5543 7.65757 10.0016 7.88687C11.0962 8.92403 11.7588 10.3051 11.8635 11.8142L11.9118 12.5074V12.5101Z"],["s","M11.6032 6.65229C12.9286 7.16154 14.3263 6.20703 14.321 4.79393C14.3183 4.01007 13.8085 3.27419 13.0734 2.99157C11.7481 2.47965 10.3504 3.43683 10.3557 4.84993C10.3584 5.63379 10.8681 6.36967 11.6032 6.65229Z"],["s","M15.6543 8.77189C15.6275 8.76656 15.6033 8.76656 15.5765 8.76656C15.3887 8.77456 15.2251 8.9132 15.1956 9.10517C15.1151 9.62242 14.9782 10.1317 14.7878 10.6196C14.718 10.7982 14.7878 10.9982 14.9434 11.0995C14.9648 11.1128 14.989 11.1262 15.0158 11.1368C15.0641 11.1555 15.1124 11.1635 15.1634 11.1635C15.3243 11.1635 15.4773 11.0675 15.539 10.9102C15.7509 10.369 15.9038 9.80105 15.995 9.22782C16.0299 9.00919 15.877 8.80655 15.6597 8.77189H15.6543Z"],["s","M8.04045 15.1974C5.50517 15.1974 3.27305 13.8963 1.97993 11.9313C1.66872 11.4594 1.41385 10.9501 1.22069 10.4116C0.949722 9.65968 0.802167 8.84915 0.802167 8.00396C0.802167 7.77999 0.815581 7.55603 0.837043 7.33474C0.866555 7.02279 0.912163 6.71351 0.981916 6.41222C1.03021 6.19626 0.896066 5.98296 0.678756 5.93497C0.461447 5.88431 0.246821 6.02029 0.19853 6.23625C0.0670708 6.81216 0 7.40939 0 8.00662C0 12.4139 3.60841 16 8.04313 16C8.2658 16 8.44555 15.8213 8.44555 15.6C8.44555 15.5734 8.44287 15.5494 8.43751 15.5227C8.40263 15.3387 8.23898 15.2001 8.04313 15.2001L8.04045 15.1974Z"],["s","M14.2834 12.4006C14.2619 12.382 14.2378 12.3686 14.2136 12.3553C14.0473 12.2727 13.838 12.3127 13.72 12.4646C12.8991 13.4938 11.8152 14.2803 10.5838 14.7416C10.4013 14.8109 10.2967 14.9949 10.3289 15.1788C10.3343 15.2055 10.3396 15.2295 10.3504 15.2562C10.4121 15.4161 10.565 15.5148 10.726 15.5148C10.7743 15.5148 10.8199 15.5068 10.8682 15.4881C12.2364 14.9789 13.441 14.1044 14.3532 12.9605C14.49 12.7872 14.4605 12.5366 14.2888 12.398L14.2834 12.4006Z"],["b","M10.903 12.8137L10.8386 11.8885C10.7769 11.022 10.4979 10.2221 10.0552 9.53957C9.78961 9.12897 9.46767 8.76103 9.10013 8.44642C8.21211 7.68655 7.05849 7.23062 5.81366 7.23062C5.69561 7.23062 5.57488 7.23596 5.45416 7.24395C4.1342 7.33727 2.96986 7.92651 2.13281 8.81703C2.53255 11.7045 5.02759 13.9335 8.04041 13.9335C8.24162 13.9335 8.44015 13.9228 8.636 13.9042C8.69234 13.8988 8.75136 13.8908 8.8077 13.8828C9.50792 13.7922 10.1679 13.5842 10.7715 13.2723C10.8654 13.1416 10.9164 12.9817 10.903 12.8137Z"],["b","M4.96592 6.14297C6.67283 6.14297 8.05655 4.76782 8.05655 3.07149C8.05655 1.37515 6.67283 0 4.96592 0C3.25902 0 1.8753 1.37515 1.8753 3.07149C1.8753 4.76782 3.25902 6.14297 4.96592 6.14297Z"]],giving:[["s","M6.05376 5.71666C6.40376 6.05544 6.77247 6.37288 7.15453 6.67698H10.1576C10.2351 6.67698 10.3099 6.69299 10.3847 6.70099C10.7721 6.39155 11.1488 6.06611 11.5042 5.722C12.0626 5.16182 12.4847 4.48693 12.7465 3.74001C12.9736 3.03045 12.9523 2.26486 12.6824 1.56863C12.4099 0.87774 11.8408 0.346899 11.1328 0.120157C10.8843 0.040131 10.6251 -0.00254965 10.366 0.00011789H10.3473C9.7782 0.00011789 9.22782 0.189514 8.77629 0.536294C8.74156 0.512286 8.70682 0.488278 8.66942 0.466938L8.65339 0.456268C8.63736 0.445598 8.61598 0.43226 8.59461 0.416255C8.5572 0.386912 8.51713 0.360236 8.47705 0.338896L8.31942 0.26954C8.23659 0.224192 8.14842 0.189514 8.06026 0.162838C8.04957 0.152168 8.03621 0.144165 8.02285 0.13883H7.9988C7.75567 0.0561363 7.50186 0.0107881 7.2427 0.00278543H7.19727C7.08239 0.00278543 6.96483 0.0107881 6.84995 0.0267933H6.79918C6.67361 0.0427986 6.55071 0.0721416 6.43315 0.112155C5.71979 0.341564 5.14803 0.875072 4.87017 1.56863C4.59765 2.2622 4.57627 3.03311 4.81139 3.74001C5.07589 4.48159 5.49803 5.15648 6.05376 5.71666Z"],["s","M13.126 13.2818C11.9584 14.3648 10.4809 15.021 8.90992 15.1704C8.68015 15.1917 8.45037 15.2024 8.21793 15.2024C6.09655 15.2024 4.18624 14.2821 2.86372 12.8203C2.2786 12.1721 1.80837 11.4172 1.48776 10.5876C1.17516 9.78196 1.00417 8.90967 1.00417 7.99737C1.00417 7.83998 0.910655 7.70394 0.777066 7.63725C0.723631 7.61058 0.664852 7.59724 0.603401 7.59724C0.381645 7.59724 0.202637 7.77596 0.202637 7.99737C0.202637 12.4095 3.79883 16 8.21793 16C10.2458 16 12.1828 15.2424 13.6683 13.8633C13.8313 13.7139 13.8393 13.4605 13.6897 13.2978C13.5401 13.1351 13.2863 13.1271 13.1233 13.2764L13.126 13.2818Z"],["s","M0.811802 6.1995C0.849207 6.21017 0.889283 6.2155 0.926688 6.2155C1.10035 6.2155 1.25799 6.10347 1.31142 5.93008C1.62669 4.8764 2.19577 3.89207 2.95188 3.08381C3.10417 2.92376 3.09349 2.67034 2.93318 2.51829C2.77288 2.36624 2.51906 2.37691 2.36677 2.53696C1.52516 3.43592 0.894626 4.52962 0.541953 5.70067C0.477831 5.91141 0.598061 6.13548 0.811802 6.1995Z"],["b","M15.4638 8.34956C15.2981 8.20018 15.1031 8.14149 14.8973 8.14149C14.6435 8.14149 14.3737 8.23219 14.1279 8.34956L12.0813 9.3819C11.5897 9.60598 11.221 9.88073 10.7614 9.88073H9.02747C8.56526 9.91008 8.27404 10.0621 7.98816 10.4463C7.92938 10.5236 7.84121 10.5636 7.75304 10.5636C7.69159 10.5636 7.63014 10.545 7.57671 10.5049C7.47518 10.4302 7.44045 10.3022 7.47251 10.1902C7.4832 10.1555 7.49655 10.1235 7.51793 10.0941C7.57671 10.0168 7.63548 9.94742 7.69426 9.8834C8.08434 9.4646 8.54121 9.2832 9.17976 9.2832H10.0935C10.5317 9.2832 10.9137 8.98444 10.9779 8.59231C11.0179 8.34423 10.9538 8.10148 10.7908 7.91209C10.6305 7.72536 10.3981 7.61599 10.1523 7.61599H6.72709C5.84807 7.61599 4.98242 7.92276 4.29578 8.4776L3.60112 9.04046C3.58242 9.05379 3.56372 9.0618 3.54501 9.07513C3.41677 9.15516 3.28585 9.21918 3.16028 9.2672C2.82097 9.39524 2.52707 9.41658 2.43623 9.42192C2.76753 10.809 3.59043 12.0094 4.70723 12.831H11.1061C11.5603 12.831 12.0038 12.6763 12.3592 12.3936L15.421 9.88607C15.8966 9.50728 15.934 8.7817 15.4611 8.3549L15.4638 8.34956Z"]],"service-planning":[["b","M8.9437 11.1697C8.9437 10.5565 9.37022 9.97806 9.97001 9.78879L12.3878 9.07437V4.9158C12.3878 3.26571 11.4468 2.31936 9.80474 2.31936H6.9284C4.49457 3.05778 2.71651 5.32366 2.71651 7.99474C2.71651 9.9674 3.69484 11.8068 5.33161 12.913C5.39559 12.9557 5.44891 13.009 5.49689 13.0677H8.9437V11.167V11.1697ZM6.53387 4.90781H9.78874C10.0633 4.90781 10.2872 5.13173 10.2872 5.4063C10.2872 5.68087 10.0633 5.9048 9.78874 5.9048H6.53387C6.25929 5.9048 6.03537 5.68087 6.03537 5.4063C6.03537 5.13173 6.25929 4.90781 6.53387 4.90781ZM5.38226 8.24266C5.29163 8.33863 5.16634 8.39194 5.03572 8.39194C4.90509 8.39194 4.77447 8.34129 4.68117 8.24266C4.63585 8.19734 4.59587 8.14669 4.57187 8.08271C4.54255 8.0214 4.53189 7.95742 4.53189 7.89345C4.53189 7.76282 4.58254 7.6322 4.68117 7.54157C4.86244 7.3523 5.20099 7.3523 5.38226 7.54157C5.47823 7.6322 5.53154 7.75749 5.53154 7.89345C5.53154 8.0294 5.4809 8.14936 5.38226 8.23999V8.24266ZM5.38226 5.75818C5.29163 5.85415 5.16634 5.90746 5.03572 5.90746C4.90509 5.90746 4.77447 5.85681 4.68117 5.75818C4.63585 5.71286 4.59587 5.65688 4.57187 5.59824C4.54255 5.53692 4.53189 5.47295 4.53189 5.40364C4.53189 5.27301 4.58254 5.14772 4.68117 5.05709C4.86244 4.86782 5.20099 4.86782 5.38226 5.05709C5.47823 5.14772 5.53154 5.27301 5.53154 5.40364C5.53154 5.53426 5.4809 5.66488 5.38226 5.75551V5.75818ZM8.16264 8.38927H6.53653C6.26196 8.38927 6.03804 8.16535 6.03804 7.89078C6.03804 7.61621 6.26196 7.39228 6.53653 7.39228H8.16264C8.43721 7.39228 8.66113 7.61621 8.66113 7.89078C8.66113 8.16535 8.43721 8.38927 8.16264 8.38927Z"],["s","M14.8377 9.41027C14.8004 9.41027 14.7391 9.41827 14.7044 9.4316L10.2526 10.7485C10.0794 10.8018 9.94074 10.9937 9.94074 11.1723V14.2726C9.82078 14.2433 9.62085 14.2193 9.49556 14.2193C8.75715 14.2193 8.16002 14.6191 8.16002 15.1096C8.16002 15.6001 8.75715 16 9.49556 16C10.234 16 10.8311 15.6001 10.8311 15.1096V12.3959L14.3925 11.3509V13.3822C14.2726 13.3529 14.0727 13.3289 13.9474 13.3289C13.209 13.3289 12.6118 13.7288 12.6118 14.2193C12.6118 14.7098 13.209 15.1096 13.9474 15.1096C14.6858 15.1096 15.2829 14.7098 15.2829 14.2193V9.86078C15.2829 9.61553 15.083 9.4156 14.8377 9.4156V9.41027Z"],["s","M1.9941 4.30518C2.01809 4.32118 2.04208 4.32918 2.06874 4.33717C2.11406 4.35317 2.15938 4.36383 2.20736 4.36383C2.34065 4.36383 2.47127 4.29719 2.54591 4.17723C2.70319 3.92398 2.87913 3.68406 3.06573 3.45481C3.27099 3.20423 3.48959 2.96698 3.72417 2.74839C4.27065 2.2339 4.89443 1.80471 5.57953 1.48216C6.54187 1.02898 7.57351 0.799725 8.64514 0.799725C8.86906 0.799725 9.09299 0.810388 9.31424 0.831714C10.983 0.983661 12.5345 1.70874 13.7341 2.90833C13.8913 3.06561 14.1446 3.06561 14.2992 2.90833C14.4538 2.75105 14.4565 2.49781 14.2992 2.34319C12.793 0.831714 10.7831 0 8.64781 0C7.45622 0 6.30995 0.255912 5.24098 0.759738C3.85213 1.41551 2.68453 2.44982 1.86881 3.75337C1.75152 3.93998 1.8075 4.18789 1.9941 4.30518Z"],["s","M1.11707 7.38682C1.11707 7.38682 1.13573 7.38148 1.14373 7.38148C1.33033 7.36816 1.48761 7.22954 1.51161 7.04027C1.56492 6.64307 1.65022 6.24854 1.77018 5.86734C1.82616 5.6834 1.74353 5.48614 1.57825 5.39817C1.55426 5.38484 1.53027 5.37418 1.50627 5.36618C1.29568 5.3022 1.07176 5.41949 1.00511 5.63009C0.874491 6.05394 0.778524 6.49379 0.719878 6.93364C0.690555 7.15223 0.845168 7.35483 1.06376 7.38415C1.08242 7.38415 1.09841 7.38682 1.11707 7.38682Z"],["s","M1.77024 10.13C1.71159 9.94603 1.53298 9.8314 1.34638 9.85006C1.31972 9.85273 1.29573 9.85806 1.26908 9.86605C1.05848 9.9327 0.941188 10.1566 1.00517 10.3672C1.46368 11.8467 2.33804 13.1529 3.53496 14.1499C3.6096 14.2112 3.70024 14.2432 3.79087 14.2432C3.9055 14.2432 4.02013 14.1952 4.09743 14.0993C4.11609 14.0779 4.12942 14.0566 4.14275 14.0326C4.23072 13.8673 4.19607 13.6594 4.04679 13.5368C2.96982 12.6411 2.18343 11.4628 1.77024 10.1326V10.13Z"]],streaming:[["b","M15.1202 4.95989L14.035 5.58013C13.851 5.68395 13.739 5.87828 13.739 6.09124V9.17119C13.739 9.38149 13.851 9.57582 14.035 9.6823L15.1202 10.3025C15.5121 10.5262 16 10.244 16 9.79144V5.47365C16 5.02377 15.5121 4.73894 15.1202 4.96255V4.95989Z"],["b","M4.83654 12.0304H10.0357C11.5181 11.9719 12.6752 10.7047 12.6139 9.20869V5.80398C12.5419 4.35584 11.3528 3.23247 9.93436 3.23247C9.88636 3.23247 9.83571 3.23247 9.78505 3.2378L8.6679 4.36383C8.57725 4.46498 8.45994 4.54751 8.33196 4.60341C8.38795 4.76845 8.41727 4.94415 8.41727 5.12516C8.41194 6.00097 7.69473 6.71705 6.80954 6.71971C6.38561 6.71971 5.98835 6.55466 5.68706 6.25386C5.39111 5.95837 5.22581 5.55907 5.22047 5.1225C5.22047 4.94415 5.25247 4.77112 5.30846 4.60873C5.19381 4.55815 5.08983 4.48894 5.00184 4.4011L3.8527 3.23247H3.63141C3.55942 3.23513 3.48743 3.24312 3.41544 3.25111C2.54092 4.30793 2.061 5.64692 2.061 7.01785C2.061 9.12351 3.16748 10.9736 4.82854 12.0251L4.83654 12.0304Z"],["s","M4.18864 2.44438L4.44726 2.70259C4.48992 2.74519 4.54858 2.76648 4.60724 2.76648C4.66056 2.76648 4.71388 2.74785 4.75654 2.71058C4.86053 2.61475 4.9885 2.5269 5.12714 2.44172C5.63373 2.13026 6.31628 1.90399 6.8362 1.89867H6.83886C6.83886 1.89867 6.84687 1.90133 6.84953 1.90133C7.37744 1.90133 8.06799 2.1276 8.57191 2.44172C8.69722 2.51892 8.81186 2.60144 8.90785 2.68662C8.94784 2.72389 8.9985 2.74252 9.05183 2.74252C9.11315 2.74252 9.17447 2.7159 9.21713 2.66799L9.53708 2.34855C9.57174 2.31394 9.60374 2.24207 9.60374 2.18883C9.60374 2.13292 9.57175 2.06105 9.53175 2.02112H9.53441L9.52908 2.01313C8.79854 1.34763 7.86536 0.985596 6.87353 0.985596C6.86553 0.985596 6.85753 0.985596 6.84953 0.985596C5.84703 0.99092 4.90319 1.3636 4.15664 2.04242C4.11132 2.08235 4.07665 2.15954 4.07665 2.21811C4.07399 2.26869 4.10598 2.34322 4.13531 2.38315L4.19397 2.44172L4.18864 2.44438Z"],["s","M6.8282 4.31838C6.38294 4.31838 6.02033 4.68307 6.01766 5.12763C6.01766 5.34858 6.10831 5.55089 6.25229 5.69464C6.39627 5.83839 6.59091 5.9289 6.81487 5.9289C6.81487 5.9289 6.81753 5.9289 6.8202 5.9289C7.26546 5.9289 7.62807 5.5642 7.63073 5.11964C7.63073 4.8987 7.54008 4.69638 7.3961 4.55263C7.25213 4.40889 7.05749 4.31838 6.83353 4.31838C6.83353 4.31838 6.83086 4.31838 6.8282 4.31838Z"],["s","M7.93467 3.89778C7.988 3.89778 8.05999 3.86849 8.08932 3.8259L8.4146 3.50114C8.45459 3.46121 8.48391 3.39199 8.48391 3.33875C8.48391 3.30681 8.47058 3.26954 8.45192 3.2376C8.43859 3.21098 8.42526 3.18702 8.4066 3.16838H8.40926L8.40126 3.15774C8.26262 3.04061 8.07598 2.93146 7.87069 2.84362C7.53474 2.69455 7.14814 2.59871 6.84686 2.59871C6.84419 2.59871 6.84152 2.59871 6.83886 2.59871C6.54024 2.59871 6.1643 2.69721 5.83103 2.84362C5.61506 2.93679 5.41776 3.05126 5.27112 3.17637C5.25245 3.18968 5.23912 3.2163 5.22313 3.2376C5.19913 3.27753 5.18314 3.32012 5.18314 3.35739C5.18314 3.41063 5.21246 3.4825 5.24445 3.52509L5.56973 3.84986C5.60439 3.88447 5.67638 3.91375 5.72171 3.91375C5.76437 3.91375 5.8257 3.89245 5.85769 3.86583C6.09232 3.67683 6.52691 3.52243 6.82819 3.51977C6.82819 3.51977 6.83085 3.51977 6.83352 3.51977C7.1348 3.51977 7.56407 3.6715 7.79603 3.85518C7.82803 3.8818 7.88935 3.90044 7.93201 3.90044L7.93467 3.89778Z"],["s","M1.08249 5.02384C1.17047 4.71504 1.28245 4.40891 1.4131 4.11343C1.49042 3.93773 1.43176 3.73808 1.28511 3.62894C1.26112 3.61297 1.23712 3.597 1.21046 3.58635C1.00783 3.49584 0.773204 3.58635 0.682553 3.78866C0.538577 4.11609 0.413263 4.45683 0.314613 4.80023C0.213296 5.14895 0.135977 5.50832 0.0826523 5.87036C0.0266616 6.24836 0 6.63702 0 7.02301C0 7.73643 0.0933146 8.44719 0.27995 9.12866C0.327942 9.30702 0.490585 9.42414 0.666556 9.42414C0.701217 9.42414 0.735876 9.41882 0.773203 9.41083C0.799866 9.40285 0.823861 9.39486 0.847857 9.38155C1.01316 9.29903 1.10381 9.10736 1.05315 8.92102C0.885182 8.3061 0.799867 7.66721 0.799867 7.02567C0.799867 6.67961 0.823863 6.33088 0.874521 5.98748C0.922513 5.66272 0.991835 5.34062 1.08249 5.0265V5.02384Z"],["s","M12.8992 12.2912C11.7288 13.3773 10.2463 14.0348 8.67061 14.1812C8.44931 14.2025 8.22534 14.2132 8.00138 14.2132C5.62844 14.2132 3.41015 13.0472 2.0637 11.0906C1.95439 10.9309 1.74909 10.8777 1.57845 10.9495C1.55445 10.9602 1.53046 10.9735 1.50646 10.9895C1.32516 11.1146 1.27716 11.3621 1.40248 11.5458C2.89823 13.718 5.36449 15.0144 7.99872 15.0144C10.0251 15.0144 11.9581 14.2557 13.4405 12.8821C13.6031 12.7331 13.6111 12.4802 13.4618 12.3178C13.3125 12.1554 13.0592 12.1474 12.8966 12.2965L12.8992 12.2912Z"]],safety:[["b","M8.24791 11.3415C8.24791 8.88911 10.2126 6.89418 12.6278 6.89418C13.0197 6.89418 13.3955 6.95102 13.7581 7.04847L13.7447 5.00211C13.7394 4.46886 13.3982 3.99787 12.897 3.83276L8.3972 2.30069C8.12529 2.20866 7.83205 2.20866 7.56281 2.3061L4.20926 3.4944C3.26824 4.29021 2.57248 5.37294 2.25525 6.60996L2.27392 9.63891C2.28458 11.0329 2.80174 12.3755 3.7241 13.4068C4.19861 13.9211 4.75841 14.3461 5.3822 14.6574L7.82406 15.9404C7.89871 15.9783 7.98133 16 8.06397 16H8.06931C8.15462 16 8.23725 15.9783 8.31189 15.9377L10.098 14.9659C8.981 14.1593 8.24791 12.8357 8.24791 11.3415Z"],["s","M13.7661 8.1258C13.4115 7.99587 13.0277 7.92279 12.6305 7.92279C10.7697 7.92279 9.26091 9.45485 9.26091 11.3442C9.26091 12.6841 10.0207 13.8399 11.1243 14.4002C11.5775 14.6303 12.0866 14.7629 12.6305 14.7629C14.4912 14.7629 16 13.2309 16 11.3415C16 9.85817 15.0696 8.59949 13.7687 8.1258H13.7661ZM14.7098 10.7271L12.6811 12.7545C12.5638 12.8736 12.4092 12.9331 12.2572 12.9331C12.1053 12.9331 11.9587 12.8763 11.8414 12.7653L10.8551 11.8287C10.6498 11.6338 10.6418 11.309 10.8311 11.1033C11.023 10.8949 11.3429 10.8841 11.5455 11.0789L12.2466 11.7448L13.7288 10.2642L13.9953 9.99892C14.1953 9.79862 14.5152 9.80132 14.7124 10.0043C14.9097 10.2073 14.907 10.5322 14.7071 10.7325L14.7098 10.7271Z"],["s","M0.831721 8.79986C0.810395 8.57519 0.799733 8.34782 0.799733 8.12044C0.799733 7.26779 0.943684 6.43409 1.22359 5.64099C1.29023 5.45692 1.2156 5.25391 1.05565 5.15647C1.03433 5.14293 1.01033 5.1321 0.983672 5.12128C0.775742 5.04549 0.546489 5.15376 0.471848 5.36489C0.159952 6.24732 0 7.17305 0 8.11774C0 9.12197 0.17861 10.0991 0.527827 11.0276C0.589139 11.19 0.741087 11.2874 0.901034 11.2874C0.949018 11.2874 0.997004 11.2793 1.04499 11.2604C1.25025 11.1792 1.35421 10.9437 1.27424 10.7352C1.03699 10.11 0.890374 9.46033 0.829061 8.79445L0.831721 8.79986Z"],["s","M11.5268 0.830997C10.4232 0.278803 9.23692 0 8 0C6.76308 0 5.66211 0.259856 4.59313 0.771447C3.30556 1.3886 2.20194 2.34411 1.39688 3.54053C1.27159 3.7246 1.31957 3.97904 1.50084 4.10355C1.52483 4.11979 1.54882 4.12792 1.57281 4.13874C1.62346 4.1604 1.67411 4.17393 1.72476 4.17393C1.85272 4.17393 1.97802 4.11167 2.05533 3.99799C2.78042 2.92338 3.77475 2.0599 4.93436 1.505C5.89671 1.04484 6.92836 0.812049 8 0.812049C8.22659 0.812049 8.44786 0.825583 8.67178 0.844531C9.54349 0.925736 10.3859 1.16394 11.1749 1.55913C11.3722 1.65929 11.6121 1.57537 11.7108 1.37507C11.8094 1.17476 11.7268 0.931149 11.5295 0.830997H11.5268Z"]],mobile:[["b","M13.2752 12.068C13.2752 12.052 13.2752 12.036 13.2752 12.02V10.3901H10.8652C10.0878 10.3901 9.45455 9.75791 9.45455 8.98165V7.74657C9.45455 7.58652 9.48661 7.43447 9.53737 7.29042H8.49805C7.72057 7.29042 7.08736 6.65821 7.08736 5.88195V4.64688C7.08736 3.87062 7.72057 3.23841 8.49805 3.23841H10.6836C10.8519 3.23841 11.0095 3.27309 11.1591 3.32644V3.26775C11.1591 2.49149 11.7923 1.85928 12.5698 1.85928H13.2378C13.0668 0.808269 12.1611 0 11.0603 0H6.72667C5.50299 0 4.51444 0.989662 4.51444 2.2114V11.98C5.60452 13.1884 7.18087 13.9486 8.93355 13.9486C10.6862 13.9486 12.1611 13.2604 13.2752 12.0707V12.068ZM8.06522 11.6065C8.06522 11.1477 8.43928 10.7742 8.89882 10.7742C9.35837 10.7742 9.73241 11.1477 9.73241 11.6065C9.73241 12.0653 9.35837 12.4388 8.89882 12.4388C8.43928 12.4388 8.06522 12.0653 8.06522 11.6065Z"],["s","M12.1156 3.2652V5.8794C12.1156 6.13282 12.3214 6.33555 12.5725 6.33555H13.9779C14.2317 6.33555 14.4347 6.13015 14.4347 5.8794V3.2652C14.4347 3.01178 14.229 2.80905 13.9779 2.80905H12.5725C12.3187 2.80905 12.1156 3.01445 12.1156 3.2652Z"],["s","M10.6889 4.1881H8.50073C8.2484 4.1881 8.04385 4.39233 8.04385 4.64425V5.87933C8.04385 6.13126 8.2484 6.33548 8.50073 6.33548H10.6889C10.9412 6.33548 11.1458 6.13126 11.1458 5.87933V4.64425C11.1458 4.39233 10.9412 4.1881 10.6889 4.1881Z"],["s","M15.0786 7.74392C15.0786 7.49051 14.8729 7.28777 14.6218 7.28777H10.8706C10.6168 7.28777 10.4137 7.49317 10.4137 7.74392V8.979C10.4137 9.23242 10.6194 9.43515 10.8706 9.43515H14.6218C14.8756 9.43515 15.0786 9.22975 15.0786 8.979V7.74392Z"],["s","M1.71976 7.9998C1.71976 7.77839 1.73312 7.55698 1.75449 7.33824C1.85067 6.2979 2.16594 5.28956 2.69228 4.38793C2.8045 4.19587 2.7377 3.95312 2.54801 3.84108C2.35831 3.72904 2.11251 3.79573 2.00029 3.98513C1.29494 5.19887 0.920898 6.58599 0.920898 7.9998C0.920898 10.2859 1.90411 12.4706 3.61939 13.9885C3.69687 14.0551 3.79038 14.0898 3.88389 14.0898C3.99344 14.0898 4.10565 14.0445 4.18313 13.9564C4.19916 13.9378 4.21519 13.9164 4.22588 13.8951C4.32206 13.7324 4.29535 13.519 4.1484 13.3909C2.60412 12.0251 1.71976 10.0591 1.71976 7.9998Z"],["s","M11.8511 14.9623C11.7576 14.7943 11.5546 14.7142 11.3675 14.7809C9.79386 15.3438 8.02515 15.3384 6.45415 14.7623C6.26979 14.6956 6.06674 14.7729 5.97056 14.9383C5.95987 14.9597 5.94918 14.9783 5.9385 15.0023C5.86369 15.2104 5.96789 15.4398 6.17628 15.5145C7.05797 15.8373 7.98507 16 8.93355 16C9.88203 16 10.7717 15.8426 11.6374 15.5332C11.8458 15.4585 11.9553 15.2291 11.8805 15.021C11.8725 14.9997 11.8618 14.9783 11.8511 14.9597V14.9623Z"],["s","M14.5042 13.095C14.3492 12.9856 14.1382 12.9936 13.9966 13.1297C13.7374 13.3831 13.4595 13.6178 13.1656 13.8312C13.0053 13.9486 12.9572 14.162 13.0427 14.3327C13.0534 14.3514 13.0641 14.3728 13.0775 14.3914C13.1549 14.4981 13.2779 14.5568 13.4034 14.5568C13.4862 14.5568 13.5664 14.5328 13.6385 14.4795C13.9645 14.2447 14.2744 13.9806 14.5603 13.7005C14.7179 13.5458 14.7206 13.2924 14.5656 13.135C14.5469 13.1163 14.5256 13.1083 14.5069 13.095H14.5042Z"]],accounting:[["b","M11.2553 3.23154C11.3541 3.3062 11.4502 3.38085 11.5437 3.46084C11.4502 3.38085 11.3541 3.30353 11.2553 3.23154Z"],["b","M10.9723 3.03403C11.0203 3.06602 11.0657 3.09535 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403Z"],["b","M10.2806 2.64498C10.2806 2.64498 10.2966 2.65298 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498Z"],["b","M8.80657 2.16751C8.88134 2.18084 8.95345 2.19684 9.02822 2.21284C8.95612 2.19684 8.88134 2.18084 8.80657 2.16751Z"],["b","M11.2553 3.23154C11.2072 3.19688 11.1592 3.16201 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403C10.7586 2.89539 10.537 2.76763 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498C10.1231 2.57033 9.96015 2.50089 9.79458 2.43957C9.77856 2.43424 9.76519 2.42891 9.74917 2.42357C9.66372 2.39425 9.58095 2.36492 9.49282 2.33826C9.46879 2.33026 9.44475 2.32493 9.42072 2.31693C9.29254 2.27693 9.15902 2.24494 9.0255 2.21561C8.9534 2.19961 8.87863 2.18362 8.80385 2.17029C8.7638 2.16229 8.72374 2.15429 8.68368 2.14896C8.19233 2.0823 7.75171 2.47423 7.75171 2.97281V7.08408C7.75171 7.54266 8.12557 7.91593 8.58488 7.91593H12.7026C13.21 7.91593 13.6106 7.46534 13.5278 6.9641C13.3035 5.58834 12.5932 4.37256 11.5837 3.49805C11.5704 3.48738 11.557 3.47405 11.5437 3.46339C11.4502 3.3834 11.3541 3.30875 11.2553 3.2341L11.2553 3.23154Z"],["b","M13.3623 9.21185H10.3955C9.66111 9.21185 9.29259 10.0997 9.81065 10.6196L11.9096 12.7152C12.2647 13.0698 12.8603 13.0352 13.1513 12.6299C13.6694 11.91 14.0299 11.0675 14.1794 10.1557C14.2595 9.65977 13.8643 9.21185 13.3623 9.21185Z"],["b","M6.98267 9.73958C6.64353 9.40097 6.45394 8.94239 6.45394 8.46514V4.26322C6.45394 3.75931 6.0053 3.36471 5.5086 3.4447C2.5124 3.92995 0.282616 6.68412 0.64045 9.88622C0.669825 10.1555 0.725905 10.4195 0.792666 10.6781C1.34277 10.3128 2.00236 10.0968 2.71002 10.0968C4.62203 10.0968 6.17888 11.6512 6.17888 13.5602C6.17888 14.0855 6.05871 14.5814 5.84775 15.0266C5.85309 15.0266 5.85576 15.0266 5.8611 15.0266C7.35653 15.1733 8.75316 14.76 9.85871 13.9708C10.2753 13.6722 10.3153 13.0643 9.95216 12.7017L6.98534 9.73958H6.98267Z"],["s","M2.70734 11.1209C2.11451 11.1209 1.57776 11.3395 1.15584 11.6914C0.616413 12.1394 0.266602 12.8059 0.266602 13.5604C0.266602 14.9069 1.35879 16 2.71002 16C3.59659 16 4.36567 15.5228 4.79293 14.8162C5.01458 14.4483 5.15077 14.0217 5.15077 13.5604C5.15077 12.214 4.05857 11.1209 2.70734 11.1209Z"],["s","M15.6081 6.57749C14.9245 2.76751 11.6078 0 7.72238 0C7.50074 0 7.32182 0.178635 7.32182 0.399929C7.32182 0.455919 7.33517 0.509242 7.35654 0.5599C7.41796 0.701208 7.55949 0.799857 7.72238 0.799857C11.2179 0.799857 14.2035 3.29008 14.8203 6.7188C14.8951 7.13739 14.9325 7.56932 14.9325 7.99857C14.9325 8.16388 15.0313 8.30252 15.1728 8.36384C15.2209 8.38517 15.277 8.3985 15.333 8.3985C15.5547 8.3985 15.7336 8.21987 15.7336 7.99857C15.7336 7.52132 15.6909 7.04408 15.6081 6.57749Z"],["s","M3.07051 2.38615C3.15597 2.38615 3.24142 2.35949 3.31619 2.3035C3.7301 1.98356 4.1814 1.70894 4.65407 1.48498C4.88906 1.373 5.13473 1.27435 5.38308 1.18903C5.59137 1.11705 5.70353 0.890419 5.63143 0.67979C5.55933 0.471827 5.33235 0.359847 5.12139 0.431834C4.84633 0.525151 4.57395 0.637131 4.31225 0.759776C3.78617 1.00773 3.28681 1.31168 2.8275 1.66895C2.65125 1.80492 2.6192 2.05554 2.75539 2.22885C2.8355 2.33016 2.953 2.38349 3.07317 2.38349L3.07051 2.38615Z"]],communications:[["b","M12.3544 3.08246H7.26884L6.10078 7.48639C5.9701 7.97631 5.52475 8.31712 5.01806 8.31712C4.83405 8.31712 4.65271 8.27186 4.4927 8.18399L3.60999 7.71271V8.91354C3.60999 9.98124 4.4767 10.8466 5.54609 10.8466H7.10083L9.53829 12.5959C9.69297 12.7051 9.91165 12.5959 9.91165 12.4149V10.8466H12.5998C13.4345 9.82681 13.9359 8.5248 13.9359 7.10564C13.9359 5.5853 13.3625 4.16081 12.3571 3.0798L12.3544 3.08246Z"],["s","M3.3753 6.66599L3.60731 6.78847L4.87671 7.46477C4.92205 7.48873 4.97004 7.49938 5.01804 7.49938C5.14872 7.49938 5.27407 7.41152 5.3114 7.27573L6.72213 1.95587C6.77547 1.75351 6.61546 1.57512 6.43145 1.57512C6.39144 1.57512 6.34878 1.5831 6.30611 1.60174L0.183123 4.40279C-0.0568892 4.51196 -0.0568801 4.8288 0.159131 4.94596L1.43919 5.63024L4.95671 3.12741C4.97271 3.11676 4.98604 3.11143 5.00204 3.11143C5.06071 3.11143 5.10872 3.18865 5.05538 3.2419L2.07123 6.30388L1.97522 7.31034C1.95656 7.5127 2.1139 7.64849 2.27658 7.64849C2.35125 7.64849 2.42591 7.62186 2.48725 7.55796L3.3753 6.66599Z"],["s","M8.32759 14.2892C7.99691 14.3051 7.66356 14.2945 7.33021 14.2652C7.01286 14.2359 6.6955 14.1853 6.38615 14.1161C6.17014 14.0682 5.9568 14.2013 5.90613 14.417C5.85546 14.6326 5.99147 14.8456 6.20748 14.8962C6.79151 15.0294 7.3942 15.0986 7.99957 15.0986C8.12224 15.0986 8.24226 15.0986 8.36226 15.0906C8.58361 15.0799 8.75428 14.8936 8.74361 14.6726C8.74361 14.6459 8.73827 14.6193 8.73294 14.5954C8.69027 14.4143 8.5276 14.2838 8.32492 14.2918L8.32759 14.2892Z"],["s","M13.1492 0.994679C12.9812 0.853561 12.7278 0.874862 12.5865 1.04261C12.5678 1.06391 12.5545 1.08521 12.5412 1.10917C12.4505 1.27159 12.4852 1.48193 12.6345 1.60707C14.2639 2.97831 15.2 4.98324 15.2 7.10799C15.2 10.1194 13.2985 12.8352 10.4664 13.8657C10.285 13.9322 10.181 14.1159 10.2077 14.2997C10.2104 14.3263 10.2184 14.3502 10.2264 14.3769C10.285 14.5393 10.4397 14.6405 10.6024 14.6405C10.6477 14.6405 10.6931 14.6325 10.7384 14.6165C13.8852 13.4716 16 10.4549 16 7.10799C16 4.74627 14.9599 2.51768 13.1492 0.994679Z"],["s","M4.65802 13.477C4.08199 13.1761 3.54863 12.7953 3.07127 12.3507C2.91126 12.1989 2.65792 12.2069 2.50591 12.3693C2.3539 12.5291 2.3619 12.782 2.52458 12.9338C3.05261 13.429 3.64463 13.8497 4.28466 14.1852C4.34333 14.2172 4.40734 14.2305 4.47134 14.2305C4.61535 14.2305 4.75403 14.1533 4.82603 14.0175C4.92737 13.8231 4.8527 13.5808 4.65802 13.477Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M12.4497 12.1146L11.5056 9.25328C11.3802 8.87728 11.4442 8.46128 11.6763 8.14128C11.9083 7.81861 12.2844 7.62661 12.6791 7.62661C12.8284 7.62661 12.9751 7.65328 13.1165 7.70661L14.61 8.26928V5.72795C14.61 3.75728 13.3405 2.43194 11.4522 2.43194H5.95282C3.68584 3.26661 2.06429 5.44794 2.06429 7.99994C2.06429 10.5519 3.68584 12.7333 5.95282 13.5706H11.4522C12.2284 13.5706 12.8951 13.3439 13.4178 12.9466C12.9725 12.8693 12.5964 12.5573 12.4524 12.1146H12.4497ZM8.31048 5.05061H11.8416C12.087 5.05061 12.2844 5.24794 12.2844 5.49328C12.2844 5.73861 12.087 5.93594 11.8416 5.93594H8.31048C8.06511 5.93594 7.86775 5.73861 7.86775 5.49328C7.86775 5.24794 8.06511 5.05061 8.31048 5.05061ZM6.03283 5.93594H5.00603C4.76066 5.93594 4.5633 5.73861 4.5633 5.49328C4.5633 5.24794 4.76066 5.05061 5.00603 5.05061H6.03283C6.2782 5.05061 6.47556 5.24794 6.47556 5.49328C6.47556 5.73861 6.2782 5.93594 6.03283 5.93594ZM8.91856 10.8906C8.58251 10.9813 8.23313 11.3306 8.14245 11.6666C8.05177 12.0026 7.90242 12.0026 7.81174 11.6666C7.72107 11.3306 7.37168 10.9813 7.03563 10.8906C6.69959 10.7999 6.69959 10.6506 7.03563 10.5599C7.37168 10.4693 7.72107 10.1199 7.81174 9.78394C7.90242 9.44794 8.05177 9.44794 8.14245 9.78394C8.23313 10.1199 8.58251 10.4693 8.91856 10.5599C9.25461 10.6506 9.25461 10.7999 8.91856 10.8906ZM9.96137 7.86661C9.76935 7.91728 9.56932 8.11728 9.51864 8.30928C9.46797 8.50128 9.38263 8.50128 9.32929 8.30928C9.27861 8.11728 9.07859 7.91728 8.88656 7.86661C8.69453 7.81594 8.69453 7.73061 8.88656 7.67728C9.07859 7.62661 9.27861 7.42661 9.32929 7.23461C9.37996 7.04261 9.4653 7.04261 9.51864 7.23461C9.56932 7.42661 9.76935 7.62661 9.96137 7.67728C10.1534 7.72794 10.1534 7.81328 9.96137 7.86661Z"],["s","M15.8449 11.3546L15.2101 10.6933L15.7462 10.1786C15.9329 9.99996 15.8689 9.68529 15.6262 9.59463L12.8044 8.53596C12.7618 8.51996 12.7191 8.51196 12.6791 8.51196C12.4524 8.51196 12.2657 8.73863 12.3457 8.97596L13.2898 11.8373C13.3405 11.992 13.4819 12.08 13.6259 12.08C13.7112 12.08 13.7992 12.048 13.8686 11.9813L14.4047 11.4666L14.4233 11.4853L15.0394 12.128C15.1488 12.2426 15.2955 12.2986 15.4421 12.2986C15.5888 12.2986 15.7195 12.248 15.8289 12.144C16.0502 11.9306 16.0582 11.5786 15.8449 11.3573V11.3546Z"],["s","M5.38741 0.933334C5.45675 1.06133 5.5901 1.144 5.73412 1.144C5.77413 1.144 5.81414 1.13867 5.85414 1.12533C6.54757 0.909333 7.26767 0.8 8.0011 0.8C8.16646 0.8 8.30514 0.701333 8.36648 0.56C8.38782 0.512 8.40116 0.456 8.40116 0.4C8.39849 0.178667 8.2198 0 7.99844 0C7.18499 0 6.38222 0.122667 5.61411 0.362667C5.40341 0.429333 5.28606 0.653333 5.35007 0.864C5.35807 0.890667 5.37407 0.912 5.38474 0.936L5.38741 0.933334Z"],["s","M10.8975 14.5946C10.5321 14.7546 10.1534 14.8853 9.76935 14.9813C9.41196 15.072 9.04392 15.1306 8.6732 15.1653C8.44917 15.1866 8.22513 15.2 8.0011 15.2C4.02989 15.2 0.80011 11.9706 0.80011 7.99995C0.80011 5.57062 2.01361 3.31995 4.04589 1.98395C4.20591 1.87729 4.26726 1.67462 4.19791 1.50129C4.18725 1.47729 4.17657 1.45062 4.16057 1.42929C4.03789 1.24529 3.78986 1.19462 3.60583 1.31462C1.34952 2.80262 0 5.30129 0 7.99995C0 12.4106 3.58982 16 8.0011 16C8.66519 16 9.32662 15.9173 9.96404 15.7573C10.3934 15.648 10.8148 15.504 11.2202 15.3253C11.4229 15.2373 11.5136 15 11.4256 14.7973C11.3376 14.5946 11.1002 14.504 10.8975 14.592V14.5946Z"]],media:[["s","M13.3769 1.69224H9.37286C8.42651 1.69224 7.67209 2.0968 7.22157 2.7755H9.17026C11.3429 2.7755 12.8624 4.34317 12.8624 6.58421V10.6431C12.8624 10.7363 12.857 10.8294 12.8517 10.9199H13.3795C14.947 10.9199 16 9.82334 16 8.18914V4.42035C16 2.78881 14.947 1.68958 13.3822 1.68958L13.3769 1.69224ZM14.8137 8.86518C14.8137 9.0994 14.6245 9.28837 14.3899 9.28837H13.99C13.7554 9.28837 13.5661 9.0994 13.5661 8.86518V8.46594C13.5661 8.23172 13.7554 8.04275 13.99 8.04275H14.3899C14.6245 8.04275 14.8137 8.23172 14.8137 8.46594V8.86518ZM14.8137 6.50703C14.8137 6.74124 14.6245 6.93022 14.3899 6.93022H13.99C13.7554 6.93022 13.5661 6.74124 13.5661 6.50703V6.10779C13.5661 5.87357 13.7554 5.6846 13.99 5.6846H14.3899C14.6245 5.6846 14.8137 5.87357 14.8137 6.10779V6.50703ZM14.8137 4.14887C14.8137 4.38309 14.6245 4.57206 14.3899 4.57206H13.99C13.7554 4.57206 13.5661 4.38309 13.5661 4.14887V3.74964C13.5661 3.51542 13.7554 3.32645 13.99 3.32645H14.3899C14.6245 3.32645 14.8137 3.51542 14.8137 3.74964V4.14887Z"],["s","M13.0277 13.3367C13.0117 13.3154 12.993 13.2968 12.9744 13.2808C12.8331 13.1584 12.6198 13.1504 12.4679 13.2728C11.1856 14.2896 9.63946 14.8272 7.99734 14.8272C7.80274 14.8272 7.64013 14.9656 7.60547 15.1493C7.60014 15.1732 7.59747 15.1998 7.59747 15.2264C7.59747 15.4473 7.77608 15.6257 7.99734 15.6257C9.82074 15.6257 11.5375 15.0295 12.9637 13.8983C13.137 13.7626 13.1663 13.5097 13.0277 13.3367Z"],["s","M0.799735 7.63816C0.799735 9.27768 1.34889 10.832 2.34056 12.0856L2.34082 12.0862C2.68198 12.5172 3.07376 12.9137 3.51616 13.2649C3.52821 13.2729 3.53874 13.284 3.5489 13.2946C3.5521 13.298 3.55526 13.3013 3.55841 13.3044L3.55882 13.3046C3.67345 13.4271 3.70011 13.6054 3.62547 13.7544C3.61214 13.7784 3.5988 13.8024 3.58014 13.8236C3.50284 13.9248 3.38555 13.9754 3.26825 13.9754C3.18295 13.9754 3.09498 13.9461 3.02034 13.8875C1.10097 12.3624 0 10.0841 0 7.63816C0 4.56138 1.80207 1.72415 4.59048 0.411991C4.79041 0.318836 5.03033 0.404007 5.12363 0.603624C5.21694 0.803242 5.13163 1.04278 4.9317 1.13594C4.71843 1.23708 4.51317 1.35153 4.31057 1.4713C2.15929 2.7595 0.799735 5.107 0.799735 7.63816Z"],["s","M5.99268 14.5423C5.57148 14.4199 5.16095 14.2602 4.76908 14.0633C4.59581 13.9781 4.39321 14.026 4.27591 14.1724C4.25992 14.1937 4.24392 14.2176 4.23059 14.2416C4.13196 14.4385 4.21193 14.6781 4.4092 14.7766C4.84372 14.9948 5.30224 15.1731 5.76875 15.3089C5.80607 15.3195 5.84339 15.3248 5.88071 15.3248C6.05399 15.3248 6.21393 15.2104 6.26458 15.0374C6.27258 15.0108 6.27792 14.9842 6.27792 14.9575C6.29391 14.7712 6.17661 14.5956 5.99001 14.5423H5.99268Z"],["b","M3.6654 11.6783C3.87599 11.4148 4.08926 11.146 4.29719 10.8851L4.31585 10.8612C4.66773 10.4167 4.92631 10.2251 5.17423 10.2251C5.2542 10.2251 5.33152 10.241 5.40349 10.2756C5.54745 10.3448 5.68606 10.4274 5.81402 10.5178C6.09126 10.7441 6.43248 10.8798 6.78969 10.9091C7.00029 10.9064 7.20822 10.8479 7.39216 10.7414C7.53345 10.6483 7.65874 10.5391 7.78137 10.4247C8.01862 10.1985 8.22122 9.93497 8.36784 9.63953V9.63421L8.42115 9.54904C8.50113 9.41596 8.57844 9.29086 8.66641 9.17109C8.82102 8.94486 9.07161 8.79848 9.34352 8.77186C9.47681 8.77186 9.61009 8.81444 9.72205 8.88897C10.0606 9.11786 10.3725 9.38402 10.6524 9.68478C10.7644 9.79656 10.8497 9.92698 10.9083 10.0734C10.9936 10.3502 11.007 10.6403 10.9616 10.9224C10.9323 11.0981 10.887 11.2711 10.8097 11.4361C10.6044 11.9311 10.1939 12.3144 9.68474 12.4847C9.46348 12.554 9.23155 12.5912 8.99963 12.5912C8.9943 12.5912 8.98897 12.5912 8.98364 12.5912H4.79036C4.79036 12.5912 4.76637 12.5912 4.75304 12.5912C5.68607 13.2034 6.80303 13.5627 7.99996 13.5627C9.26621 13.5627 10.4658 13.1714 11.4681 12.4475C11.7507 12.0296 11.9267 11.5133 11.9693 10.9251C11.9773 10.8319 11.9933 10.7441 11.9933 10.6483V6.58937C11.9933 4.83007 10.8603 3.64834 9.1729 3.64834H4.85967C4.23854 3.64834 3.69206 3.81069 3.24954 4.1008C2.49512 5.11486 2.0686 6.35515 2.0686 7.64069C2.0686 9.20037 2.6764 10.6217 3.66807 11.681L3.6654 11.6783ZM5.7687 5.70041C6.1819 5.70041 6.54178 5.91333 6.75238 6.23272C6.875 6.41903 6.94697 6.63994 6.94697 6.87682C6.94697 7.1137 6.875 7.33461 6.75238 7.52092C6.54178 7.84031 6.17923 8.05324 5.7687 8.05324C5.11825 8.05324 4.59042 7.52624 4.59042 6.87682C4.59042 6.2274 5.11825 5.70041 5.7687 5.70041Z"]],equip:[["g","M9.06176 15.1446C8.67491 15.2004 8.2831 15.225 7.89527 15.2155C7.53402 15.208 7.17102 15.1674 6.81174 15.1035C6.59453 15.0653 6.37939 15.0195 6.16772 14.9612C2.41567 13.9265 0.204248 10.0384 1.23722 6.29226C1.86921 4.00031 3.60125 2.19306 5.86894 1.46208C6.04788 1.40313 6.15856 1.22791 6.13814 1.04631C6.1343 1.02089 6.13116 0.992951 6.12159 0.968655C6.05354 0.763098 5.83238 0.650678 5.62729 0.715948C3.1084 1.53197 1.18332 3.53776 0.481265 6.08381C-0.666172 10.2451 1.79177 14.5667 5.9596 15.7159C6.58704 15.8889 7.23347 15.9833 7.87734 15.9984C8.31148 16.0071 8.74707 15.981 9.17657 15.9181C9.39097 15.8878 9.53839 15.6876 9.50795 15.4734C9.47752 15.2593 9.27685 15.1119 9.06245 15.1421L9.06176 15.1446Z"],["g","M15.5288 11.3818C15.7924 11.3818 15.8016 11.6183 15.8016 11.8885C15.8015 12.6573 15.1198 13.7406 13.6199 13.7406H6.9387C6.79392 13.7129 6.65811 13.6821 6.52968 13.6467C5.18433 13.2757 4.08499 12.4498 3.35144 11.3818H15.5288Z"],["g","M11.4537 2.73292C11.7309 2.73293 11.9941 2.76302 12.2415 2.82098L10.9979 4.0962H5.93112C4.94246 4.09622 4.41117 4.36103 4.13164 4.6294C3.85819 4.89196 3.64732 5.3289 3.64728 6.05219V9.23181H13.192V7.36594C13.3782 7.25902 13.5631 7.12488 13.73 6.95382L14.5556 6.10723V10.5954H2.89805C2.33302 9.4063 2.17537 8.01827 2.55129 6.65489C3.06099 4.80652 4.45575 3.35038 6.28681 2.76009L6.29129 2.75872L6.29507 2.75734C6.31848 2.74963 6.34166 2.74152 6.36456 2.73292H11.4537Z"],["g","M6.36937 5.93798C6.40588 5.93798 6.44263 5.96327 6.46088 6.00059C6.46322 6.01144 6.5692 6.49675 6.77736 6.70958C6.98689 6.92367 7.46609 7.03187 7.47087 7.03294C7.50731 7.05162 7.53141 7.08923 7.53141 7.12651C7.53135 7.16374 7.50726 7.20108 7.47087 7.21354C7.46725 7.21439 6.98697 7.32714 6.77736 7.5431C6.56774 7.75925 6.46088 8.25243 6.46088 8.25243C6.44262 8.28974 6.40587 8.3147 6.36937 8.3147C6.33295 8.31465 6.2966 8.28965 6.28441 8.25243C6.28441 8.25243 6.17384 7.75814 5.96173 7.5431C5.75127 7.32984 5.27271 7.22076 5.26822 7.21974C5.23178 7.2011 5.21358 7.16378 5.21353 7.12651C5.21353 7.0892 5.23173 7.0516 5.26822 7.03294C5.27323 7.03181 5.7514 6.92274 5.96173 6.70958C6.17181 6.49659 6.28232 6.00987 6.28441 6.00059C6.29656 5.9633 6.3329 5.93803 6.36937 5.93798Z"],["g","M14.0585 2.51482C14.3328 2.2406 14.8974 2.12572 15.1717 2.39992L15.5996 2.82786C15.8739 3.10217 15.759 3.6671 15.4847 3.9414L12.9556 6.4705C12.5446 6.88152 11.857 7.00099 11.3027 7.11654C11.0301 7.17327 10.8421 6.97997 10.8937 6.70717C10.9821 6.23905 11.1184 5.45511 11.5291 5.04427L14.0585 2.51482Z"],["g","M8.84619 4.68444C8.86979 4.68447 8.89356 4.7009 8.90536 4.72503C8.90717 4.73342 8.97565 5.04653 9.11004 5.18393C9.24492 5.32167 9.55227 5.39165 9.55862 5.39309C9.58219 5.40513 9.59811 5.42919 9.59818 5.45329C9.59818 5.47744 9.58224 5.50165 9.55862 5.5097C9.55277 5.51108 9.2449 5.58407 9.11004 5.72298C8.97602 5.86117 8.90699 6.17442 8.90536 6.18188C8.89356 6.20601 8.86979 6.2221 8.84619 6.22213C8.82258 6.22212 8.79902 6.20602 8.79115 6.18188C8.78984 6.17604 8.71831 5.86084 8.58234 5.72298C8.4455 5.58437 8.13342 5.51383 8.13342 5.51383C8.10989 5.50173 8.09833 5.47739 8.09833 5.45329C8.09838 5.42924 8.10995 5.40516 8.13342 5.39309C8.13342 5.39309 8.44549 5.32254 8.58234 5.18393C8.71806 5.04634 8.78958 4.73202 8.79115 4.72503C8.79902 4.70089 8.82258 4.68445 8.84619 4.68444Z"],["g","M8.07451 0.864748C8.39523 0.815523 8.72126 0.791981 9.04918 0.786607C9.36151 0.782861 9.67601 0.799878 9.9846 0.835877C10.2 0.860612 10.3945 0.709129 10.4219 0.493742C10.4493 0.278355 10.2951 0.0845615 10.0794 0.0572311C9.49653 -0.0131055 8.90199 -0.0192525 8.31189 0.0423538C8.19232 0.0548379 8.07533 0.0670516 7.95916 0.0870506C7.74448 0.119958 7.59708 0.319007 7.62997 0.533343C7.63268 0.559298 7.64059 0.584708 7.64823 0.607524C7.70825 0.779672 7.88009 0.890294 8.07684 0.861882L8.07451 0.864748Z"]]}},a8={base:{x1:3.74627,y1:2.1136,x2:14.0711,y2:11.6765},rippled:{x1:3.85239,y1:.390812,x2:16.4219,y2:9.17281}};function J$(e,t,r,n){return r==="mono"?"currentColor":t==="g"?`url(#${n})`:`var(${`--module-${e}-${r==="one-color"?"base":t==="s"?"subtle":"base"}`}, var(--module-${e}-base))`}function xl({module:e,size:t=Cp,color:r="two-color",treatment:n="base",title:o,style:a,...i}){let l=`pw-equip-${(0,i8.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`,d=(o8[n]||o8.base)[e];if(!d)return null;let u=r==="full"?"two-color":r;n==="rippled"&&u==="one-color"&&(u="two-color");let p=u!=="mono"&&d.some(([y])=>y==="g"),b=u==="mono"?{}:Q$,g=a8[n]||a8.base;return(0,ho.jsxs)("svg",{width:t,height:t,viewBox:`0 0 ${Cp} ${Cp}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:o?"img":void 0,"aria-hidden":o?void 0:!0,"aria-label":o,style:{display:"block",flex:"0 0 auto",...b,...a},...i,children:[o&&(0,ho.jsx)("title",{children:o}),p&&(0,ho.jsx)("defs",{children:(0,ho.jsxs)("linearGradient",{id:l,x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,gradientUnits:"userSpaceOnUse",children:[(0,ho.jsx)("stop",{stopColor:"var(--module-equip-from)"}),(0,ho.jsx)("stop",{offset:"1",stopColor:"var(--module-equip-to)"})]})}),d.map(([y,$],m)=>(0,ho.jsx)("path",{d:$,fill:J$(e,y,u,l)},m))]})}var O=S($e(),1);Xo();if(typeof document<"u"&&!document.getElementById("pds-topnav-motion")){let e=document.createElement("style");e.id="pds-topnav-motion",e.textContent="@keyframes tnSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes tnSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}var c8=e=>`var(--semantic-color-${e})`,pt=c8,go=c8,wp=e=>`var(--responsive-layout-${e})`,Ge=e=>`var(--semantic-layout-units-${e})`,ev=e=>`var(--contextual-layout-units-${e})`,X={navBg:go("fill-surface-chrome"),orgStroke:pt("stroke-action-ghost-rest"),orgStrokeHover:pt("stroke-action-ghost-hover"),orgStrokePressed:pt("stroke-action-ghost-pressed"),searchFill:pt("fill-action-ghost-rest"),controlHover:pt("fill-action-ghost-hover"),controlPressed:pt("fill-action-ghost-pressed"),noLogoBg:pt("fill-action-secondary-rest"),monoBase:pt("foreground-action-ghost-rest"),monoHover:pt("foreground-action-ghost-hover"),monoPressed:pt("foreground-action-ghost-pressed"),orgText:pt("foreground-action-ghost-rest"),orgChevron:pt("foreground-action-ghost-rest"),orgSubText:pt("foreground-action-ghost-rest"),avatarBg:pt("fill-action-primary-subtle-rest"),avatarBgHover:pt("fill-action-primary-subtle-hover"),avatarBgPressed:pt("fill-action-primary-subtle-pressed"),avatarText:pt("foreground-action-primary-on-subtle-rest"),avatarTextHover:pt("foreground-action-primary-on-subtle-hover"),avatarTextPressed:pt("foreground-action-primary-on-subtle-pressed"),panelBg:go("fill-static-neutral-faint"),activeItem:go("fill-action-primary-subtle-rest"),itemText:go("foreground-static-neutral-bold"),itemTextBase:go("foreground-static-neutral-base"),itemMeta:go("foreground-static-neutral-base"),signOut:go("foreground-action-status-negative-on-subtle-rest"),panelBorder:go("stroke-static-neutral-base"),panelShadow:"var(--elevation-lift)",panelDivider:go("stroke-static-neutral-faint")},H={navPadH:wp("topnav-padding-horizontal"),navPadV:wp("topnav-padding-vertical"),navH:ev("topnav-height"),navGap:wp("topnav-gap-horizontal"),touchTarget:48,modInnerH:36,orgAvatarNav:16,orgAvatarSm:24,orgAvatarPanel:32,searchPill:32,avatarSize:32,modPadL:Ge("padding-xxtight"),profilePad:Ge("padding-xxxtight"),orgPadV:Ge("padding-xxtight"),orgPadL:Ge("padding-tight"),orgPadMobileR:Ge("padding-xxxtight"),orgPadMobileL:Ge("padding-xtight"),slotPadV:Ge("padding-xxtight"),slotPadNarrow:Ge("padding-xxxtight"),orgMainMax:308,orgMainMaxMobile:102,orgNameMax:200,orgCampusMax:72,orgNameMaxMobile:52,moduleMark:16,moduleMarkBox:20,chevronGlyph:12,modChevronBox:20,orgChevronBox:24,actionIconBox:28,actionIconGlyph:16,actionTarget:Ge("accessibility-touch-target-aa-width"),takeoverExit:Ge("accessibility-touch-target-aa-width"),takeoverExitGlyph:24,radius:Ge("cornerradius-base"),radiusSm:Ge("cornerradius-small")},d8=new Set(["the","a","an","of","in","at","for","and","or","but"]);function tv(e){if(!e)return"???";let t=e.replace(/-/g," ").split(/\s+/).filter(r=>!d8.has(r.toLowerCase()));return t.length>=3?(t[0][0]+t[1][0]+t[2][0]).toUpperCase():t.length===2?(t[0][0]+t[1][0]+t[1][0]).toUpperCase():t[0].slice(0,3).toUpperCase()}var rv=["ville","field","burg","burgh","berg","town","port","ford","wood","land","dale","view","gate","bridge","worth","shire"];function nv(e){if(!e)return"";let t=e.replace(/-/g," ").split(/\s+/).filter(o=>!d8.has(o.toLowerCase()));if(!t.length)return e.slice(0,2).toUpperCase();if(t.length>=2)return(t[0][0]+t[1][0]).toUpperCase();let r=t[0],n=r.toLowerCase();for(let o of rv)if(n.endsWith(o)&&r.length>o.length+1)return(r[0]+o[0]).toUpperCase();return(r[0]+r[r.length-1]).toUpperCase()}function ov(e,t){let r=tv(e);return t?`${r} | ${nv(t)}`:r}var Ep=s8.map(e=>({id:e,label:l8[e]})),av=[{icon:"help",label:"Help"},{icon:"settings",label:"Settings"},{icon:"notifications_unread",label:"Notifications"}],iv=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target));function Sp({icon:e,label:t,onClick:r}){let[n,o]=(0,Pt.useState)(!1),[a,i]=(0,Pt.useState)(!1),s=a?X.controlPressed:n?X.controlHover:"transparent",l=a?X.monoPressed:n?X.monoHover:X.monoBase;return(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.actionTarget,height:H.actionTarget,flexShrink:0},children:(0,O.jsx)("button",{className:yl,type:"button","aria-label":t,onClick:r,onMouseEnter:()=>o(!0),onMouseLeave:()=>{o(!1),i(!1)},onMouseDown:()=>i(!0),onMouseUp:()=>i(!1),onBlur:()=>i(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:0,background:"transparent",border:"none",cursor:"pointer"},children:(0,O.jsx)("span",{"data-pw-ring-target":"",style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.actionIconBox,height:H.actionIconBox,borderRadius:H.radius,background:s,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,O.jsx)(Se,{name:e,size:H.actionIconGlyph,style:{color:l,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"}})})})})}function sv({breakpoint:e="desktop",actions:t,onNotifications:r,onMore:n}){let o=(t||av).map(a=>({...a,onClick:a.onClick||(a.icon==="notifications_unread"?r:void 0)}));return e==="mobile"&&o.length>1?(0,O.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,O.jsx)(Sp,{icon:"more_vert",label:"More actions",onClick:n})}):(0,O.jsx)("div",{style:{display:"flex",alignItems:"center"},children:o.map((a,i)=>(0,O.jsx)(Sp,{...a},`${a.icon}-${i}`))})}var u8={hover:X.monoHover,pressed:X.monoPressed,layerHover:X.controlHover,layerPress:X.controlPressed};function f8({user:e,open:t,onToggle:r,mobile:n=!1}){let[o,a]=(0,Pt.useState)(!1);return(0,O.jsx)("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",minHeight:H.touchTarget,minWidth:H.touchTarget},children:(0,O.jsx)("button",{className:yl,onClick:r,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),"aria-haspopup":"true","aria-expanded":t,"aria-label":`Account: ${e.name}`,style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.touchTarget,height:H.touchTarget,boxSizing:"border-box",background:"transparent",border:"none",borderRadius:"50%",cursor:"pointer",padding:H.profilePad,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,O.jsx)("div",{"data-pw-ring-target":"",style:{width:H.avatarSize,height:H.avatarSize,borderRadius:"50%",background:t?X.avatarBgPressed:o?X.avatarBgHover:X.avatarBg,display:"flex",alignItems:"center",justifyContent:"center",transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",fontFamily:"var(--semantic-type-family-brand)",fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:t?X.avatarTextPressed:o?X.avatarTextHover:X.avatarText,flexShrink:0,overflow:"hidden"},children:e.avatarUrl?(0,O.jsx)("img",{src:e.avatarUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover"}}):e.initials})})})}function lv({org:e,open:t,onToggle:r,mobile:n=!1,showCampus:o=!1}){let[a,i]=(0,Pt.useState)(!1),[s,l]=(0,Pt.useState)(!1),c=e.logoUrl&&!s,d=n?e.shortName||ov(e.name,o?e.campus:null):e.name,u=!n&&o&&e.campus?e.campus:null,p=t?X.monoPressed:a?X.monoHover:X.monoBase,b={fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},g={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0};return(0,O.jsx)("div",{style:{position:"relative",minWidth:0,padding:n?`${H.slotPadV} ${H.slotPadNarrow}`:H.slotPadV},children:(0,O.jsxs)("button",{className:uu,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onClick:r,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",minHeight:H.modInnerH,boxSizing:"border-box",minWidth:0,maxWidth:n?H.orgMainMaxMobile:H.orgMainMax,padding:n?`${H.orgPadV} ${H.orgPadMobileR} ${H.orgPadV} ${H.orgPadMobileL}`:`${H.orgPadV} ${H.orgPadV} ${H.orgPadV} ${H.orgPadL}`,borderRadius:H.radius,background:t?X.controlPressed:a?X.controlHover:"transparent",border:"none",boxShadow:`inset 0 0 0 ${t||a?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${t?X.orgStrokePressed:a?X.orgStrokeHover:X.orgStroke}`,cursor:"pointer",color:p,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",height:n?20:24,minWidth:0},children:[c&&(0,O.jsx)("div",{style:{width:H.orgAvatarSm,height:H.orgAvatarSm,padding:"var(--semantic-layout-units-padding-xxxtight)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,O.jsx)("div",{style:{width:H.orgAvatarNav,height:H.orgAvatarNav,borderRadius:H.radiusSm,border:`1px solid ${pt("stroke-action-primary-strong-rest")}`,boxSizing:"border-box",background:"transparent",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative",flexShrink:0},children:(0,O.jsx)("img",{src:e.logoUrl,alt:"",onError:()=>l(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",minWidth:0},children:[(0,O.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:n?H.orgNameMaxMobile:H.orgNameMax,color:p,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d}),u&&(0,O.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:H.orgCampusMax,flexShrink:0,color:t?X.monoPressed:a?X.monoHover:X.orgSubText,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:`| ${u}`})]})]}),(0,O.jsx)("span",{style:{width:n?H.modChevronBox:H.orgChevronBox,height:n?H.modChevronBox:H.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Se,{name:"expand_more",size:H.chevronGlyph,style:{color:X.orgChevron}})})]})})}function cv({modules:e,activeId:t,open:r,onToggle:n,breakpoint:o="desktop",type:a="interactive"}){let[i,s]=(0,Pt.useState)(!1),[l,c]=(0,Pt.useState)(!1),d=e.find(y=>y.id===t)||e[0],u=o==="desktop",p=a==="static",b=p?X.monoBase:r||l?X.monoPressed:i?X.monoHover:X.monoBase,g=(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[(0,O.jsx)("div",{style:{width:H.moduleMarkBox,height:H.moduleMarkBox,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:X.monoBase},children:(0,O.jsx)(xl,{module:d.id,size:H.moduleMark,color:"mono"})}),u&&(0,O.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:160,color:b,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d.label})]});return p?(0,O.jsx)("div",{style:{position:"relative",padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsx)("div",{"aria-label":`Current module: ${d.label}`,style:{display:"flex",alignItems:"center",maxHeight:H.modInnerH,minHeight:H.modInnerH,padding:`0 0 0 ${H.modPadL}`,borderRadius:H.radius,background:"transparent",border:"none",boxSizing:"border-box",color:X.monoBase,fontFamily:"inherit",cursor:"default"},children:g})}):(0,O.jsx)("div",{style:{position:"relative",padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsxs)("button",{className:zr,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onBlur:()=>c(!1),onClick:n,"aria-haspopup":"listbox","aria-expanded":r,"aria-label":`Switch module: ${d.label}`,style:{display:"flex",alignItems:"center",gap:u?"var(--semantic-layout-units-gap-xxxtight)":0,maxHeight:H.modInnerH,minHeight:H.modInnerH,padding:`0 0 0 ${H.modPadL}`,borderRadius:H.radius,background:r||l?X.controlPressed:i?X.controlHover:"transparent",border:"none",boxSizing:"border-box",cursor:"pointer",color:X.monoBase,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[g,(0,O.jsx)("div",{style:{width:H.modChevronBox,height:H.modChevronBox,display:"flex",alignItems:"center",justifyContent:"center",transform:r?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Se,{name:"expand_more",size:H.chevronGlyph,style:{color:X.monoBase}})})]})})}function p8({user:e}){return(0,O.jsxs)("div",{role:"menu","data-theme":"light",style:{position:"absolute",top:"calc(100% + 4px)",right:H.navPadH,width:200,background:X.panelBg,border:`1px solid ${X.panelBorder}`,borderRadius:H.radius,boxShadow:X.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,O.jsxs)("div",{style:{padding:" ",borderBottom:`1px solid ${X.panelDivider}`,marginBottom:4},children:[(0,O.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,color:X.itemText},children:e.name}),(0,O.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-xxs)",color:X.itemMeta,marginTop:1},children:e.email})]}),["Profile settings","Settings"].map(t=>(0,O.jsx)("button",{className:Oi,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:X.itemTextBase,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:t},t)),(0,O.jsx)("button",{className:Oi,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:X.signOut,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:"Sign out"})]})}var dv={search:["M11 17.5C14.5899 17.5 17.5 14.5899 17.5 11C17.5 7.41015 14.5899 4.5 11 4.5C7.41015 4.5 4.5 7.41015 4.5 11C4.5 14.5899 7.41015 17.5 11 17.5Z","M20 20L15.8 15.8"],help:["M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z","M9.5 9.49999C9.50157 9.04964 9.62476 8.60808 9.85656 8.22196C10.0884 7.83584 10.4202 7.5195 10.8169 7.30638C11.2136 7.09325 11.6606 6.99125 12.1105 7.01116C12.5604 7.03106 12.9966 7.17212 13.3729 7.41945C13.7493 7.66677 14.0519 8.01117 14.2487 8.41625C14.4455 8.82133 14.5292 9.27205 14.491 9.72078C14.4528 10.1695 14.2941 10.5996 14.0316 10.9656C13.7692 11.3316 13.4128 11.6199 13 11.8C12.3 12.1 12 12.7 12 13.5M12 17H12.01"],gear:["M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z","M19.4 15C19.2737 15.2975 19.2349 15.6249 19.288 15.9437C19.3411 16.2625 19.4841 16.5595 19.7 16.8L19.8 16.9C20.0292 17.0719 20.2189 17.2911 20.356 17.5427C20.4932 17.7943 20.5747 18.0724 20.595 18.3582C20.6153 18.644 20.5739 18.9309 20.4737 19.1994C20.3735 19.4678 20.2168 19.7116 20.0142 19.9142C19.8116 20.1168 19.5678 20.2735 19.2994 20.3737C19.0309 20.4739 18.744 20.5153 18.4582 20.495C18.1724 20.4747 17.8943 20.3932 17.6427 20.256C17.3911 20.1189 17.1719 19.9292 17 19.7L16.9 19.6C16.6595 19.3841 16.3625 19.2411 16.0437 19.188C15.7249 19.1349 15.3975 19.1737 15.1 19.3C14.8094 19.4311 14.5616 19.6413 14.3848 19.9065C14.208 20.1718 14.1093 20.4814 14.1 20.8V21C14.1 21.5304 13.8893 22.0391 13.5142 22.4142C13.1391 22.7893 12.6304 23 12.1 23C11.5696 23 11.0609 22.7893 10.6858 22.4142C10.3107 22.0391 10.1 21.5304 10.1 21V20.9C10.0822 20.5701 9.96871 20.2526 9.77335 19.9862C9.578 19.7198 9.30927 19.5161 9 19.4C8.70249 19.2737 8.37514 19.2349 8.05634 19.288C7.73753 19.3411 7.44048 19.4841 7.2 19.7L7.1 19.8C6.92807 20.0292 6.7089 20.2189 6.45731 20.356C6.20572 20.4932 5.9276 20.5747 5.64178 20.595C5.35595 20.6153 5.0691 20.5739 4.80065 20.4737C4.53219 20.3735 4.2884 20.2168 4.08579 20.0142C3.88317 19.8116 3.72646 19.5678 3.62626 19.2994C3.52606 19.0309 3.48472 18.744 3.50503 18.4582C3.52534 18.1724 3.60684 17.8943 3.74399 17.6427C3.88115 17.3911 4.07076 17.1719 4.3 17L4.4 16.9C4.61594 16.6595 4.75885 16.3625 4.81199 16.0437C4.86512 15.7249 4.82627 15.3975 4.7 15.1C4.56888 14.8094 4.3587 14.5616 4.09347 14.3848C3.82824 14.208 3.51863 14.1093 3.2 14.1H3C2.46957 14.1 1.96086 13.8893 1.58579 13.5142C1.21071 13.1391 1 12.6304 1 12.1C1 11.5696 1.21071 11.0609 1.58579 10.6858C1.96086 10.3107 2.46957 10.1 3 10.1H3.1C3.42986 10.0822 3.7474 9.96871 4.01379 9.77335C4.28018 9.578 4.48389 9.30927 4.6 9C4.72627 8.70249 4.76512 8.37514 4.71199 8.05634C4.65885 7.73753 4.51594 7.44048 4.3 7.2L4.2 7.1C3.97076 6.92807 3.78115 6.7089 3.64399 6.45731C3.50684 6.20572 3.42534 5.9276 3.40503 5.64178C3.38472 5.35595 3.42606 5.0691 3.52626 4.80065C3.62646 4.53219 3.78317 4.2884 3.98579 4.08579C4.1884 3.88317 4.43219 3.72646 4.70065 3.62626C4.9691 3.52606 5.25595 3.48472 5.54178 3.50503C5.8276 3.52534 6.10572 3.60684 6.35731 3.74399C6.6089 3.88115 6.82807 4.07076 7 4.3L7.1 4.4C7.34048 4.61594 7.63753 4.75885 7.95634 4.81199C8.27514 4.86512 8.60249 4.82627 8.9 4.7H9C9.29055 4.56888 9.53839 4.3587 9.71521 4.09347C9.89203 3.82824 9.99071 3.51863 10 3.2V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.1C14.0093 3.41863 14.108 3.72824 14.2848 3.99347C14.4616 4.2587 14.7094 4.46888 15 4.6C15.2975 4.72627 15.6249 4.76512 15.9437 4.71199C16.2625 4.65885 16.5595 4.51594 16.8 4.3L16.9 4.2C17.0719 3.97076 17.2911 3.78115 17.5427 3.64399C17.7943 3.50684 18.0724 3.42534 18.3582 3.40503C18.644 3.38472 18.9309 3.42606 19.1994 3.52626C19.4678 3.62646 19.7116 3.78317 19.9142 3.98579C20.1168 4.1884 20.2735 4.43219 20.3737 4.70065C20.4739 4.9691 20.5153 5.25595 20.495 5.54178C20.4747 5.8276 20.3932 6.10572 20.256 6.35731C20.1189 6.6089 19.9292 6.82807 19.7 7L19.6 7.1C19.3841 7.34048 19.2411 7.63753 19.188 7.95634C19.1349 8.27514 19.1737 8.60249 19.3 8.9V9C19.4311 9.29055 19.6413 9.53839 19.9065 9.71521C20.1718 9.89203 20.4814 9.99071 20.8 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.9C20.5814 14.0093 20.2718 14.108 20.0065 14.2848C19.7413 14.4616 19.5311 14.7094 19.4 15Z"],bell:["M10.3 21C10.4577 21.3159 10.7003 21.5816 11.0006 21.7674C11.3008 21.9531 11.6469 22.0515 12 22.0515C12.3531 22.0515 12.6992 21.9531 12.9994 21.7674C13.2997 21.5816 13.5423 21.3159 13.7 21M6 8C6 6.4087 6.63214 4.88258 7.75736 3.75736C8.88258 2.63214 10.4087 2 12 2C13.5913 2 15.1174 2.63214 16.2426 3.75736C17.3679 4.88258 18 6.4087 18 8C18 15 21 17 21 17H3C3 17 6 15 6 8Z"]};function uv({name:e}){return(0,O.jsx)("svg",{width:H.actionIconGlyph,height:H.actionIconGlyph,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",stroke:"currentColor",strokeWidth:"2.16",strokeLinecap:"round",strokeLinejoin:"round",style:{display:"block"},children:dv[e].map((t,r)=>(0,O.jsx)("path",{d:t},r))})}function fv(){return(0,O.jsxs)("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"currentColor","aria-hidden":"true",style:{display:"block"},children:[(0,O.jsx)("path",{d:"M2.29958 25.2142C1.02842 25.2142 0 24.3456 0 23.277C0 22.2765 0.900517 21.4519 2.05683 21.3508L22.8862 19.5081C23.0036 19.4971 23.1237 19.4927 23.2438 19.4927C25.1205 19.4927 26.6422 20.7747 26.6422 22.3556C26.6422 23.9366 25.1205 25.2186 23.2438 25.2186H2.29958V25.2142Z"}),(0,O.jsx)("path",{d:"M22.2387 5.52125C23.6274 4.83081 25.418 5.22221 26.2376 6.392C27.0572 7.56179 26.5925 9.07021 25.2039 9.76065C25.0369 9.84201 24.8672 9.91018 24.6923 9.96295L15.2956 12.7643C14.429 13.0238 13.4398 12.7379 12.9543 12.0453C12.4061 11.2603 12.7168 10.2488 13.6486 9.78484L22.2413 5.52125H22.2387Z"}),(0,O.jsx)("path",{d:"M8.7547 19.5479C7.74194 19.6754 6.74224 19.1631 6.43424 18.3121C6.09491 17.3754 6.71875 16.3837 7.83069 16.0979L22.453 12.3334C24.1653 11.8936 25.9767 12.705 26.4988 14.1453C27.0208 15.5877 26.0577 17.1137 24.348 17.5535C24.1914 17.5931 24.0322 17.6239 23.8755 17.6437L8.7547 19.5457V19.5479Z"})]})}var Bi={menuBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},menuLarge:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},sectionSm:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},localBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"}};function hu(){let[e,t]=(0,Pt.useState)(!1),[r,n]=(0,Pt.useState)(!1);return{hov:e,press:r,handlers:{onMouseEnter:()=>t(!0),onMouseLeave:()=>{t(!1),n(!1)},onMouseDown:()=>n(!0),onMouseUp:()=>n(!1),onBlur:()=>n(!1)}}}function pv({label:e,active:t,brandItem:r,tablet:n,onClick:o}){let{hov:a,press:i,handlers:s}=hu(),l=t?X.controlHover:i?X.controlPressed:a?X.searchFill:"transparent",c=t||i?X.monoPressed:a?X.monoHover:X.monoBase,d=r?t?Bi.sectionSm:Bi.menuLarge:t?Bi.localBase:Bi.menuBase;return(0,O.jsx)("button",{className:zr,type:"button","aria-current":t?"page":void 0,onClick:o,...s,style:{display:"flex",alignItems:"center",minWidth:H.actionTarget,minHeight:H.actionTarget,padding:0,border:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit"},children:(0,O.jsx)("span",{style:{display:"flex",alignItems:"center",height:H.modInnerH,boxSizing:"border-box",padding:`0 ${Ge(n?"padding-tight":"padding-base")}`,borderRadius:Ge("cornerradius-full"),background:l,color:c,whiteSpace:"nowrap",...d,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:e})})}function mv({org:e,open:t,onToggle:r,compact:n}){let{hov:o,press:a,handlers:i}=hu(),s=t||a?X.controlPressed:o?X.controlHover:"transparent";return(0,O.jsx)("div",{style:{position:"relative",padding:H.slotPadV,minWidth:0},children:(0,O.jsxs)("button",{className:zr,type:"button",onClick:r,...i,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",boxSizing:"border-box",minHeight:H.modInnerH,minWidth:0,maxWidth:n?H.orgMainMaxMobile:H.orgMainMax,gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",padding:n?`${Ge("padding-xtight")} ${Ge("padding-xxxtight")} ${Ge("padding-xtight")} ${Ge("padding-xtight")}`:`${H.orgPadV} ${H.orgPadV} ${H.orgPadV} ${H.orgPadL}`,borderRadius:Ge("cornerradius-full"),border:"none",background:s,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${X.orgStroke}`,transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,O.jsx)("span",{"aria-hidden":"true",style:{...Bi.menuBase,color:X.monoBase,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0,maxWidth:n?H.orgNameMaxMobile:H.orgNameMax},children:n&&e.shortName||e.name}),(0,O.jsx)("span",{style:{width:n?H.modChevronBox:H.orgChevronBox,height:n?H.modChevronBox:H.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,O.jsx)(Se,{name:"expand_more",size:H.chevronGlyph,style:{color:X.orgChevron}})})]})})}function hv({label:e,open:t,onToggle:r}){let{hov:n,press:o,handlers:a}=hu(),i=t||o?X.controlPressed:n?X.controlHover:"transparent";return(0,O.jsx)("div",{style:{padding:`${H.slotPadV} ${H.slotPadNarrow}`},children:(0,O.jsxs)("button",{className:zr,type:"button",onClick:r,"aria-haspopup":"true","aria-expanded":t,...a,style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxxtight)",height:H.modInnerH,boxSizing:"border-box",padding:`0 10px 0 ${Ge("padding-medium")}`,borderRadius:Ge("cornerradius-full"),border:"none",background:i,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${X.orgStroke}`,color:X.monoBase},children:[(0,O.jsx)("span",{style:{...Bi.sectionSm,whiteSpace:"nowrap"},children:e}),(0,O.jsx)("span",{style:{width:H.modChevronBox,height:H.modChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,O.jsx)(Se,{name:"expand_more",size:H.chevronGlyph,style:{color:X.monoBase}})})]})})}function gv({icon:e,label:t,badge:r,onClick:n}){let{hov:o,press:a,handlers:i}=hu();return(0,O.jsxs)("button",{className:zr,type:"button","aria-label":t,onClick:n,...i,style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:H.actionTarget,height:H.actionTarget,padding:0,border:"none",cursor:"pointer",borderRadius:H.radius,background:a?X.controlPressed:o?X.controlHover:"transparent",color:a?X.monoPressed:o?X.monoHover:X.monoBase,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:[(0,O.jsx)(uv,{name:e}),r&&(0,O.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:26,top:10,width:8,height:8,boxSizing:"border-box",borderRadius:"50%",background:pt("fill-static-attention-strong"),boxShadow:`inset 0 0 0 var(--semantic-layout-units-borderwidth-medium) ${X.navBg}`}})]})}var bv=[{id:"newco",label:"NewCo",brand:!0},{id:"people",label:"People"},{id:"giving",label:"Giving"},{id:"financials",label:"Financials"},{id:"digital",label:"Digital"}],$v=[{icon:"search",label:"Search"},{icon:"help",label:"Help"},{icon:"gear",label:"Settings"},{icon:"bell",label:"Notifications",badge:!0}];function vv({navRef:e,className:t,breakpoint:r,org:n,user:o,openPanel:a,toggle:i,close:s,orgs:l,onOrgSelect:c,pillars:d,activePillarId:u,onPillarSelect:p,ncActions:b,onSideNavToggle:g,onMore:y}){let $=r==="mobile",m=r==="tablet",f=d.find(x=>x.brand)||d[0],h=m?b.filter(x=>x.icon==="search"||x.icon==="bell"):b,v=(0,O.jsx)(mv,{org:n,open:a==="org",onToggle:()=>{i("org"),c?.()},compact:$||m});return(0,O.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,O.jsxs)("nav",{ref:e,"aria-label":"Global navigation",className:t,style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:H.navH,maxHeight:H.navH,boxSizing:"border-box",padding:`${H.navPadV} ${Ge($?"padding-xtight":"padding-base")}`,gap:H.navGap,position:"relative",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,minWidth:0,gap:$?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:$?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(qo,{name:"menu",size:"Large",label:"Open navigation menu",color:X.monoBase,states:u8,onClick:g}),(0,O.jsx)(hv,{label:f.label,open:a==="pillar",onToggle:()=>i("pillar")}),v]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("a",{href:"#","aria-label":"Home",onClick:x=>x.preventDefault(),style:{display:"flex",alignItems:"center",height:H.touchTarget,padding:`0 ${Ge("padding-xtight")}`,borderRadius:H.radius,color:X.monoBase},children:(0,O.jsx)(fv,{})}),(0,O.jsx)("span",{"aria-hidden":"true",style:{width:1,height:28,borderRadius:1,background:X.controlPressed,flexShrink:0}}),(0,O.jsx)("div",{role:"navigation","aria-label":"Products",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",paddingLeft:Ge("padding-xtight")},children:d.map(x=>(0,O.jsx)(pv,{label:x.label,brandItem:!!x.brand,tablet:m,active:x.brand?u===x.id||!u:u===x.id,onClick:()=>p?.(x.id)},x.id))})]})}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,gap:$||m?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:[!$&&v,$?(0,O.jsx)(Sp,{icon:"more_vert",label:"More actions",onClick:y}):(0,O.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:h.map(x=>(0,O.jsx)(gv,{...x},x.label))}),(0,O.jsx)(f8,{user:o,open:a==="profile",onToggle:()=>i("profile"),mobile:$}),a==="profile"&&(0,O.jsx)(p8,{user:o})]}),a==="org"&&(0,O.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",right:H.navPadH,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,O.jsx)(xp,{orgs:l,activeOrgId:n.id,onSelect:x=>{s(),c?.(x)}})})]})})}function m8({modules:e=Ep,activeModuleId:t="home",org:r={id:"shc",name:"Sacred Heart Church-ITD",campus:"Knoxville",initials:"SH"},orgs:n=yp,user:o={name:"Jo Lopez",initials:"JL",email:"jo@sacredheart.org"},breakpoint:a="desktop",brand:i="amplify",pillars:s=bv,activePillarId:l,onPillarSelect:c,newcoActions:d=$v,showCampus:u=!1,moduleSwitcherType:p="interactive",initialOpenPanel:b=null,onModuleSelect:g,onOrgSelect:y,onSearchOpen:$,onSideNavToggle:m,actions:f,showSearch:h=!0,showActions:v=!0,onNotifications:x,onMore:w,className:k=""}){let[E,T]=(0,Pt.useState)(b),[P,F]=(0,Pt.useState)(t),[R,_]=(0,Pt.useState)(!1),[C,L]=(0,Pt.useState)(""),K=(0,Pt.useRef)(null),I=a==="mobile",Z=a==="tablet",N=G=>T(V=>V===G?null:G),q=()=>T(null);(0,Pt.useEffect)(()=>{let G=V=>{iv(K.current,V)||q()};return document.addEventListener("mousedown",G),()=>document.removeEventListener("mousedown",G)},[]),(0,Pt.useEffect)(()=>{let G=V=>{V.key==="Escape"&&(q(),_(!1))};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[]);let ee=G=>{F(G),q(),g?.(G)},z=R;return i==="newco"?(0,O.jsx)(vv,{navRef:K,className:k,breakpoint:a,org:r,user:o,orgs:n,openPanel:E,toggle:N,close:q,onOrgSelect:y,pillars:s,activePillarId:l,onPillarSelect:c,ncActions:d,onSideNavToggle:m,onMore:w}):(0,O.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,O.jsxs)("nav",{ref:K,"aria-label":"Global navigation",className:k,style:{background:"transparent",display:"flex",alignItems:"center",justifyContent:"space-between",height:H.navH,maxHeight:H.navH,boxSizing:"border-box",padding:`${H.navPadV} ${H.navPadH}`,gap:H.navGap,position:"relative",overflow:"visible",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:I?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[I&&(0,O.jsx)(qo,{name:"menu",size:"Large",label:"Open navigation menu",color:X.monoBase,states:u8,onClick:m}),(0,O.jsx)(cv,{modules:e,activeId:P,open:E==="module",onToggle:()=>N("module"),breakpoint:a,type:p}),E==="module"&&p!=="static"&&(0,O.jsx)("ul",{role:"listbox","data-theme":"light","aria-label":"Switch module",style:{position:"absolute",top:"calc(100% + 4px)",left:H.navPadH,width:243,background:X.panelBg,border:`1px solid ${X.panelBorder}`,borderRadius:H.radius,boxShadow:X.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,margin:0,listStyle:"none",animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:e.map(G=>(0,O.jsx)("li",{role:"option","aria-selected":G.id===P,children:(0,O.jsxs)("button",{className:Oi,onClick:()=>ee(G.id),style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-medium)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",width:"100%",textAlign:"left",color:G.id===P?X.itemText:X.itemTextBase,fontSize:"var(--semantic-type-font-size-s)",fontWeight:G.id===P?500:400,background:G.id===P?X.activeItem:"transparent",border:"none",fontFamily:"inherit",cursor:"pointer"},children:[(0,O.jsx)(xl,{module:G.id,size:18}),G.label]})},G.id))}),(0,O.jsx)(lv,{org:r,open:E==="org",onToggle:()=>{N("org"),y?.()},mobile:I,showCampus:u}),E==="org"&&(0,O.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",left:I?H.navPadH:`calc(${H.navPadH} + 40px)`,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,O.jsx)(xp,{orgs:n,activeOrgId:r.id,onSelect:G=>{q(),y?.(G)}})})]}),(0,O.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:I?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[h&&(0,O.jsx)($p,{expanded:!1,onExpandChange:_,breakpoint:a,onSearchOpen:$,searchProps:{value:C,onChange:L,onClear:()=>L("")}}),v&&(0,O.jsx)(sv,{breakpoint:a,actions:f,onNotifications:x,onMore:w}),(0,O.jsx)(f8,{user:o,open:E==="profile",onToggle:()=>N("profile"),mobile:I}),E==="profile"&&(0,O.jsx)(p8,{user:o})]}),z&&(0,O.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:200,background:"var(--semantic-color-fill-surface-chrome)",animation:"tnSearchExpand var(--motion-duration-4) var(--motion-easing-emphasized) both",display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:`0 ${H.navPadH}`},children:[(0,O.jsx)("button",{className:zr,type:"button","aria-label":"Back",onClick:()=>_(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:H.takeoverExit,height:H.takeoverExit,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:H.radius,color:X.monoBase},children:(0,O.jsx)(Se,{name:"arrow_back",size:H.takeoverExitGlyph,style:{color:X.monoBase}})}),(0,O.jsx)("div",{style:{flex:1,minWidth:0},children:(0,O.jsx)(bp,{value:C,onChange:L,onClear:()=>L(""),inputRef:G=>G&&G.focus(),placeholder:"Search\u2026"})})]})]})})}m8.Search=$p;var gu=m8;var yv=`
73
+ `,x8=!1;function Xn(){if(x8||typeof document>"u")return;x8=!0;let e=document.createElement("style");e.setAttribute("data-pathway","focus-ring"),e.textContent=So,document.head.appendChild(e)}var I0=S(D(),1);var HS=S(D(),1),w8=S(he(),1);var M0={wght:400,GRAD:0,opsz:24},C8={L:{frame:18,wrapper:26},M:{frame:16,wrapper:24},S:{frame:14,wrapper:20}};function ye({name:e,size:t="M",fill:r=0,color:n,label:o,className:i="",style:a,...s}){let l=typeof t=="number"?t:(C8[t]||C8.M).frame;return(0,w8.jsx)("span",{className:`material-symbols-rounded ${i}`,role:o?"img":void 0,"aria-label":o||void 0,"aria-hidden":o?void 0:!0,style:{fontSize:l,lineHeight:1,display:"block",flexShrink:0,color:n,fontVariationSettings:`'FILL' ${r}, 'wght' ${M0.wght}, 'GRAD' ${M0.GRAD}, 'opsz' ${M0.opsz}`,...a},...s,children:e})}var Su=S(D(),1),S8="(prefers-reduced-motion: reduce)",Cv=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(S8).matches:!1;function Et(){let[e,t]=(0,Su.useState)(Cv);return(0,Su.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let r=window.matchMedia(S8);t(r.matches);let n=o=>t(o.matches);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},[]),e}var ku=S(he(),1);Xn();var Ui=e=>`var(--semantic-color-${e})`,wv=e=>`var(--semantic-layout-units-${e})`,Ya=e=>`var(--motion-${e})`,Sv=e=>`var(--contextual-layout-units-${e})`,Xa=e=>`var(--semantic-layout-units-accessibility-touch-target-${e})`,E8={Small:{box:36,boxW:Xa("desktop-only-width"),boxH:Xa("desktop-only-height"),layer:24,glyph:14},Medium:{box:44,boxW:Xa("aa-width"),boxH:Xa("aa-height"),layer:28,glyph:16},Large:{box:48,boxW:Xa("aaa-width"),boxH:Xa("aaa-height"),layer:32,glyph:20}},Eu={rest:Ui("foreground-action-secondary-rest"),hover:Ui("foreground-action-secondary-hover"),pressed:Ui("foreground-action-secondary-pressed"),layerHover:Ui("fill-action-primary-subtle-hover"),layerPress:Ui("fill-action-primary-subtle-pressed"),disabled:Ui("foreground-action-disabled"),focusOutline:`${Sv("focusring-width")} solid ${Ui("stroke-focusring-base")}`};function ai({name:e,size:t="Small",label:r,fill:n=0,color:o,states:i,forceState:a,disabled:s=!1,onClick:l,className:c="",style:d,...u}){let p=Et(),[b,g]=(0,I0.useState)(!1),[y,$]=(0,I0.useState)(!1),m=!s&&(b||a==="hover"),f=!s&&(y||a==="pressed"),h=E8[t]||E8.Small,v={...Eu,...i},x=s?Eu.disabled:f?v.pressed:m?v.hover:o||Eu.rest;return(0,ku.jsx)("button",{type:"button","aria-label":r,title:r,"aria-disabled":s||void 0,onClick:s?void 0:l,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),$(!1)},onMouseDown:()=>$(!0),onMouseUp:()=>$(!1),onBlur:()=>$(!1),className:`pw-action-icon ${Wi} ${c}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.boxW,height:h.boxH,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,outline:"none",cursor:s?"not-allowed":"pointer",color:x,...d},...u,children:(0,ku.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:h.layer,height:h.layer,borderRadius:wv("cornerradius-base"),background:f?v.layerPress:m?v.layerHover:"transparent",outline:!s&&a==="focused"?Eu.focusOutline:void 0,outlineOffset:!s&&a==="focused"?0:void 0,transition:p?"none":`background ${Ya("duration-2")} ${Ya("easing-standard")}, outline ${Ya("duration-2")} ${Ya("easing-standard")}`},children:(0,ku.jsx)(ye,{name:e,size:h.glyph,fill:n,style:{transition:p?"none":`color ${Ya("duration-2")} ${Ya("easing-standard")}`}})})})}var _r=S(D(),1);var Ye=S(he(),1);Xn();var Ue={barBg:"var(--semantic-color-fill-static-neutral-mono)",filterActiveFill:"var(--semantic-color-fill-action-primary-subtle-rest)",iconPillHover:"var(--semantic-color-fill-action-secondary-hover)",iconPillPressed:"var(--semantic-color-fill-action-secondary-pressed)",badgeFill:"var(--semantic-color-fill-action-primary-strong-rest)",disabledBg:"var(--primitive-color-cool-neutral-10)",borderIdle:"var(--semantic-color-stroke-static-neutral-faint)",borderHover:"var(--semantic-color-stroke-action-primary-strong-hover)",borderActive:"var(--semantic-color-stroke-action-primary-strong-pressed)",borderError:"var(--semantic-color-stroke-action-status-negative-rest)",borderDisabled:"var(--primitive-color-cool-neutral-25)",divider:"var(--semantic-color-stroke-action-secondary-rest)",textPlaceholder:"var(--semantic-color-foreground-static-neutral-base)",textValue:"var(--semantic-color-foreground-static-neutral-bold)",iconIdle:"var(--semantic-color-foreground-action-secondary-rest)",iconHover:"var(--semantic-color-foreground-action-secondary-hover)",iconDisabled:"var(--semantic-color-foreground-action-disabled)",iconError:"var(--semantic-color-foreground-action-status-negative-on-subtle-rest)",navIconFill:"var(--semantic-color-foreground-action-ghost-rest)",navIconHover:"var(--semantic-color-foreground-action-ghost-hover)",collapsedBtnFill:"var(--semantic-color-fill-action-ghost-rest)",collapsedBtnHover:"var(--semantic-color-fill-action-ghost-hover)",collapsedBtnPressed:"var(--semantic-color-fill-action-ghost-pressed)",collapsedBtnBorder:"var(--semantic-color-stroke-action-ghost-rest)",collapsedBtnBorderHov:"var(--semantic-color-stroke-action-ghost-hover)",navFieldFill:"var(--semantic-color-fill-static-neutral-mono)",navFieldBorder:"var(--semantic-color-stroke-static-neutral-faint)",navFieldBorderOpen:"var(--semantic-color-stroke-action-primary-strong-pressed)",navMenuFill:"var(--semantic-color-fill-surface-elevated)",navMenuBorder:"var(--semantic-color-stroke-static-neutral-faint)",badgeBorderColor:"var(--semantic-color-fill-static-neutral-faint)"},De={touchTarget:48,exitTarget:"var(--semantic-layout-units-accessibility-touch-target-aa-width)",exitGlyph:20,pillHeight:36,barRadius:64,iconBtnRadius:12,iconBtnSize:24,iconSize:16,iconSizeCollapsed:16,barPadH:8,barGap:8,iconPillPad:4,dividerPad:4,badgeSize:6,expandedWidth:320,containerPad:4},Ev={fontFamily:"'Red Hat Text', sans-serif",fontSize:"var(--semantic-type-font-size-s)",fontWeight:400,lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"};function k8({iconName:e,iconSize:t=De.iconSize,iconColor:r,label:n,onClick:o,style:i}){let[a,s]=(0,_r.useState)(!1),[l,c]=(0,_r.useState)(!1);return(0,Ye.jsx)("button",{type:"button","aria-label":n,onClick:o,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.iconBtnSize,height:De.iconBtnSize,borderRadius:De.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,...i},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:De.barRadius,padding:De.iconPillPad,background:l?Ue.iconPillPressed:a?Ue.iconPillHover:"transparent",transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)(ye,{name:e,size:t,color:r,fill:1})})})}function N0({value:e="",placeholder:t="Search...",showFilter:r=!1,filterActive:n=!1,filterBadge:o=!1,disabled:i=!1,error:a=!1,onSearch:s,onFilterClick:l,onChange:c,onClear:d,className:u="",id:p,searchIconAriaLabel:b="Search",onSearchIconClick:g,inputRef:y}){let[$,m]=(0,_r.useState)(!1),[f,h]=(0,_r.useState)(!1),v=(0,_r.useRef)(null),x=y||v,w=e.length>0,P=i,k=a&&!i,T=()=>P?{border:`1px solid ${Ue.borderDisabled}`}:k?{border:`1px solid ${Ue.borderError}`}:n||f||w?{border:`1px solid ${Ue.borderActive}`}:$?{border:`1px solid ${Ue.borderHover}`}:{border:`0.75px solid ${Ue.borderIdle}`},E=P?Ue.iconDisabled:k?Ue.iconError:$||f?Ue.iconHover:Ue.iconIdle,F=I=>{I.key==="Enter"&&s?.(e)},_=()=>{d?.(),x.current?.focus()};return(0,Ye.jsx)("div",{className:u,style:{boxSizing:"border-box",minHeight:De.touchTarget,display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",opacity:P?.38:1,pointerEvents:P?"none":"auto"},onMouseEnter:()=>!P&&m(!0),onMouseLeave:()=>m(!1),children:(0,Ye.jsxs)("div",{role:"search","aria-label":"Search",style:{boxSizing:"border-box",display:"flex",alignItems:"center",gap:De.barGap,minHeight:De.pillHeight,borderRadius:De.barRadius,background:P?Ue.disabledBg:Ue.barBg,overflow:"hidden",paddingLeft:De.barPadH,paddingRight:De.barPadH,transition:"border-color var(--motion-duration-2) var(--motion-easing-standard), background var(--motion-duration-2) var(--motion-easing-standard)",...T()},children:[(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,Ye.jsx)(k8,{iconName:"search",iconColor:E,label:b,onClick:g||(()=>s?.(e))})}),(0,Ye.jsx)("input",{ref:x,id:p,type:"text",role:"searchbox",value:e,placeholder:t,disabled:P,autoComplete:"off","aria-label":"Search",onChange:I=>c?.(I.target.value),onFocus:()=>h(!0),onBlur:()=>h(!1),onKeyDown:F,style:{...Ev,flex:1,minWidth:0,background:"transparent",border:"none",outline:"none",color:w?Ue.textValue:Ue.textPlaceholder}}),w&&(0,Ye.jsx)(k8,{iconName:"cancel",iconColor:E,label:"Clear search",onClick:_}),r&&(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,borderLeft:`0.75px solid ${Ue.divider}`,paddingLeft:De.dividerPad,position:"relative"},children:(0,Ye.jsxs)("div",{style:{position:"relative"},children:[(0,Ye.jsx)("button",{type:"button","aria-label":n?"Open filters (filters active)":"Open filters",onClick:l,style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.iconBtnSize,height:De.iconBtnSize,borderRadius:De.iconBtnRadius,background:n?Ue.filterActiveFill:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",borderRadius:De.barRadius,padding:De.iconPillPad},children:(0,Ye.jsx)(ye,{name:"filter_alt",size:De.iconSize,color:E,fill:1})})}),o&&(0,Ye.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:1,right:1,width:De.badgeSize,height:De.badgeSize,borderRadius:"50%",background:Ue.badgeFill,border:`1.5px solid ${Ue.badgeBorderColor}`,display:"block"}})]})})]})})}if(typeof document<"u"&&!document.getElementById("pds-topnavsearch-anim")){let e=document.createElement("style");e.id="pds-topnavsearch-anim",e.textContent="@keyframes pwSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes pwSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}function D0({expanded:e,onExpandChange:t,searchProps:r={},onSearchOpen:n,breakpoint:o="desktop",className:i=""}){let a=(0,_r.useRef)(null),s=(0,_r.useRef)(null),[l,c]=(0,_r.useState)(!1),d=e!==void 0,[u,p]=(0,_r.useState)(!1),b=d?e:u,g=r.value!==void 0,[y,$]=(0,_r.useState)(""),m=g?r.value:y,f=x=>{g||$(x),r.onChange?.(x)},h=()=>{d||p(!0),t?.(!0),n?.(),requestAnimationFrame(()=>s.current?.focus())},v=()=>{d||p(!1),t?.(!1),setTimeout(()=>a.current?.focus(),0)};return(0,_r.useEffect)(()=>{if(!b)return;let x=w=>{w.key==="Escape"&&v()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[b]),(0,Ye.jsxs)("div",{className:i,style:{position:b?"static":"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:De.touchTarget,height:De.touchTarget,minWidth:De.touchTarget,flexShrink:0},children:[(0,Ye.jsx)("button",{ref:a,className:jr,type:"button","aria-label":"Open search","aria-expanded":b,onClick:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.touchTarget,height:De.touchTarget,borderRadius:De.iconBtnRadius,background:"transparent",border:"none",cursor:"pointer",padding:0,flexShrink:0},children:(0,Ye.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,boxSizing:"border-box",borderRadius:"var(--semantic-layout-units-cornerradius-full)",background:l?Ue.collapsedBtnHover:Ue.collapsedBtnFill,border:`var(--contextual-layout-units-button-borderwidth-rest, 0.75px) solid ${l?Ue.collapsedBtnBorderHov:Ue.collapsedBtnBorder}`,transition:"background var(--motion-duration-2) var(--motion-easing-standard), border-color var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,Ye.jsx)(ye,{name:"search",size:De.iconSizeCollapsed,color:l?Ue.navIconHover:Ue.navIconFill})})}),b&&(0,Ye.jsxs)("div",{"aria-hidden":!1,style:{position:"absolute",inset:0,display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xtight)",background:"var(--semantic-color-fill-surface-chrome)",padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-base)",boxSizing:"border-box",zIndex:60,animation:"pwSearchExpand var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,Ye.jsx)("button",{type:"button","aria-label":"Back",onClick:v,style:{display:"flex",alignItems:"center",justifyContent:"center",width:De.exitTarget,height:De.exitTarget,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:De.iconBtnRadius,color:Ue.navIconFill},children:(0,Ye.jsx)(ye,{name:"arrow_back",size:De.exitGlyph,color:Ue.navIconFill,fill:1})}),(0,Ye.jsx)("div",{style:{flex:1,minWidth:0},children:(0,Ye.jsx)(N0,{...r,value:m,onChange:f,inputRef:s,onSearch:x=>r.onSearch?.(x)})})]})]})}var F0=S(D(),1);var $t=S(he(),1);var kv=[{key:"people",color:"#877EC8",icon:"group"},{key:"giving",color:"#4BA8CB",icon:"volunteer_activism"},{key:"mobile-app",color:"#6FCEB7",icon:"smartphone"},{key:"website",color:"#4B6EC3",icon:"language"},{key:"streaming",color:"#FF894A",icon:"live_tv"},{key:"content",color:"#1E99AE",icon:"description"},{key:"communications",color:"#1FA79B",icon:"mail"},{key:"protections",color:"#E97272",icon:"shield"},{key:"events",color:"#7996FC",icon:"event"},{key:"accounting",color:"#F8C84F",icon:"account_balance"}],H0=[{id:"grace",name:"Grace Church",initials:"GC"},{id:"cityhope",name:"City Hope Church",initials:"CH"},{id:"nkbc",name:"Northern Kentucky Baptist Church",initials:"NK"},{id:"crosspoint",name:"Cross Point",initials:"CP"},{id:"cornerstone",name:"Cornerstone",initials:"CO"},{id:"elevate",name:"Elevate Life Church",initials:"EL"},{id:"crossbridge",name:"Crossbridge",initials:"CB"}],Eo={bg:"var(--semantic-color-fill-static-neutral-faint)",header:"var(--semantic-color-foreground-static-neutral-base)",border:"var(--semantic-color-stroke-static-neutral-faint)",name:"var(--semantic-color-foreground-static-neutral-bold)",icon:"var(--semantic-color-foreground-static-neutral-base)",logoBg:"var(--semantic-color-fill-surface-chrome)",rowActive:"var(--semantic-color-fill-action-primary-subtle-rest)"};function Pv(){return(0,$t.jsx)("div",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:kv.map(e=>(0,$t.jsx)("span",{style:{width:18,height:18,borderRadius:"50%",background:e.color,marginRight:-4,border:"1.5px solid var(--semantic-color-fill-static-neutral-mono)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,$t.jsx)(ye,{name:e.icon,size:11,style:{color:"var(--semantic-color-foreground-static-neutral-mono)"}})},e.key))})}function Tv({org:e,active:t,onSelect:r}){let n=Et(),[o,i]=(0,F0.useState)(!1);return(0,$t.jsxs)("button",{type:"button",onClick:()=>r&&r(e),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),"aria-current":t?"true":void 0,style:{position:"relative",display:"flex",alignItems:"center",gap:12,width:"100%",textAlign:"left",padding:"8px 8px",border:"none",cursor:"pointer",borderRadius:8,fontFamily:"inherit",background:t||o?Eo.rowActive:"transparent",transition:n?"none":"background var(--motion-duration-2) var(--motion-easing-standard)"},children:[t&&(0,$t.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:4,height:44,borderRadius:"0 var(--semantic-layout-units-cornerradius-base) var(--semantic-layout-units-cornerradius-base) 0",background:"var(--semantic-color-fill-action-selection-indicator)"}}),(0,$t.jsx)("div",{style:{width:44,height:44,borderRadius:6,flexShrink:0,background:Eo.logoBg,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:e.logoUrl?(0,$t.jsx)("img",{src:e.logoUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}):(0,$t.jsx)("span",{style:{fontSize:13,fontWeight:700,color:"var(--semantic-color-foreground-static-neutral-mono)"},children:e.initials})}),(0,$t.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:6},children:[(0,$t.jsx)("div",{style:{fontSize:14,fontWeight:600,lineHeight:"18px",color:Eo.name,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,$t.jsx)(Pv,{})]}),(0,$t.jsx)(ye,{name:"chevron_right",size:12,style:{color:Eo.icon,flexShrink:0}})]})}function A0({orgs:e=H0,activeOrgId:t,query:r="",onQueryChange:n,onSearch:o,onSelect:i,style:a}){return(0,$t.jsxs)("div",{role:"dialog","aria-label":"Switch organisation",style:{width:360,boxSizing:"border-box",background:Eo.bg,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:"var(--elevation-lift)",padding:"18px 18px 24px",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-medium)",fontFamily:"'Red Hat Text', sans-serif",...a},children:[(0,$t.jsx)("div",{style:{padding:"4px 10px",fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,lineHeight:"var(--semantic-type-line-height-s-single)",color:Eo.header},children:"My Organizations"}),(0,$t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"var(--semantic-layout-units-padding-xtight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",border:`1px solid ${Eo.border}`},children:[(0,$t.jsx)(ye,{name:"search",size:18,style:{color:Eo.icon}}),(0,$t.jsx)("input",{type:"text",value:r,placeholder:"Search","aria-label":"Search organisations",onChange:s=>n&&n(s.target.value),onKeyDown:s=>{s.key==="Enter"&&o&&o(r)},style:{flex:1,minWidth:0,border:"none",outline:"none",background:"transparent",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",color:Eo.name}})]}),(0,$t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",maxHeight:320,overflowY:"auto",overflowX:"hidden"},children:e.map(s=>(0,$t.jsx)(Tv,{org:s,active:s.id===t,onSelect:i},s.id))})]})}var L8=S(D(),1),ko=S(he(),1),Lv={"--module-accounting-base":"var(--primitive-color-saffron-200)","--module-accounting-subtle":"var(--primitive-color-saffron-100)","--module-communications-base":"var(--primitive-color-green-300)","--module-communications-subtle":"var(--primitive-color-green-150)","--module-equip-from":"var(--primitive-color-brand-200)","--module-equip-to":"var(--primitive-color-lagoon-150)","--module-giving-base":"var(--primitive-color-seabreeze-350)","--module-giving-subtle":"var(--primitive-color-seabreeze-150)","--module-home-base":"var(--primitive-color-brand-550)","--module-media-base":"var(--primitive-color-jade-300)","--module-media-subtle":"var(--primitive-color-jade-150)","--module-mobile-base":"var(--primitive-color-jade-200)","--module-mobile-subtle":"var(--primitive-color-jade-100)","--module-people-base":"var(--primitive-color-brand-300)","--module-people-subtle":"var(--primitive-color-brand-150)","--module-safety-base":"var(--primitive-color-red-300)","--module-safety-subtle":"var(--primitive-color-red-150)","--module-service-planning-base":"var(--primitive-color-lagoon-400)","--module-service-planning-subtle":"var(--primitive-color-lagoon-200)","--module-streaming-base":"var(--primitive-color-orange-200)","--module-streaming-subtle":"var(--primitive-color-orange-100)","--module-websites-base":"var(--primitive-color-mauve-300)","--module-websites-subtle":"var(--primitive-color-mauve-150)"},R8=["people","giving","service-planning","streaming","safety","mobile","accounting","communications","home","websites","media","equip"],_8={people:"People",giving:"Giving","service-planning":"Service Planning",streaming:"Streaming",safety:"Safety",mobile:"Mobile",accounting:"Accounting",communications:"Communications",home:"Amplify Home",websites:"Websites",media:"Media",equip:"Equip"};var O0=16,P8={base:{people:[["s","M12.4718 8.81324C11.766 8.68255 11.0733 8.77403 10.4524 9.02889C11.6745 10.1921 12.413 11.7474 12.5306 13.4399L12.6025 14.4789C12.6025 14.5246 12.6025 14.5704 12.6025 14.6227C13.4521 14.1587 14.2298 13.5836 14.9095 12.8975C15.282 12.5185 15.4388 11.9761 15.3081 11.4664C14.9683 10.1463 13.8965 9.08117 12.4718 8.81324Z"],["s","M12.2496 7.63689C13.7266 8.21195 15.2885 7.13371 15.282 5.55229C15.282 4.6701 14.7134 3.84671 13.89 3.52651C12.413 2.95145 10.8511 4.02969 10.8576 5.61111C10.8576 6.4933 11.4262 7.31669 12.2496 7.63689Z"],["b","M11.3216 12.9435C11.2235 12.3815 11.0406 11.8456 10.7922 11.3555C10.6223 11.0288 10.4262 10.7217 10.204 10.4341C9.98183 10.1466 9.72695 9.8852 9.45247 9.64995C8.4591 8.79389 7.17165 8.28418 5.78616 8.28418C5.65546 8.28418 5.51822 8.28418 5.38751 8.29725C3.41385 8.43448 1.75388 9.57806 0.858539 11.1922C0.472956 11.8914 0.623268 12.7866 1.21798 13.316C2.95637 14.8647 5.23066 15.8188 7.74022 15.8384C7.7729 15.8384 7.80557 15.8384 7.83825 15.8384C8.92965 15.8384 9.9753 15.6554 10.9556 15.3352C11.2824 15.2241 11.4915 14.8974 11.4653 14.551L11.3935 13.512C11.3804 13.316 11.3542 13.1265 11.3216 12.9369V12.9435Z"],["b","M7.75986 5.44826C7.84482 5.31757 7.91017 5.18034 7.97553 5.04311C7.99513 4.99736 8.01474 4.95162 8.03434 4.90588C8.08009 4.79479 8.1193 4.68369 8.15198 4.56607C8.16505 4.52033 8.17812 4.48112 8.19119 4.43537C8.22387 4.28507 8.25001 4.13477 8.26961 3.98447C8.27615 3.91912 8.27615 3.85378 8.28268 3.78843C8.28268 3.71655 8.28268 3.63813 8.28268 3.56625C8.28268 3.5009 8.28269 3.43555 8.27615 3.3702C8.27615 3.29832 8.26308 3.2199 8.25654 3.14802C8.25001 3.08267 8.23694 3.02386 8.22387 2.95851C8.2108 2.88663 8.19773 2.82128 8.17812 2.7494C8.15198 2.63831 8.11277 2.52721 8.07355 2.41612C8.05395 2.37038 8.04088 2.32464 8.02781 2.27889C7.96899 2.13513 7.8971 1.9979 7.81868 1.8672C7.79254 1.82799 7.7664 1.78878 7.74025 1.74957C7.6749 1.64502 7.59648 1.54046 7.51805 1.44244C7.49191 1.4163 7.47231 1.38363 7.44616 1.35749C7.2305 1.10917 6.98216 0.893517 6.70114 0.710543C6.66846 0.690939 6.63579 0.671335 6.60311 0.65173C6.49855 0.586382 6.38744 0.527569 6.26981 0.475291C6.22406 0.455687 6.18485 0.436082 6.1391 0.416478C5.99533 0.357665 5.85155 0.305386 5.70124 0.266178C5.65549 0.253108 5.60321 0.246573 5.55746 0.240039C5.44636 0.213899 5.32873 0.194295 5.21763 0.181225C5.12613 0.168156 5.04117 0.161621 4.94968 0.161621C4.92354 0.161621 4.90393 0.161621 4.87779 0.161621C4.79936 0.161621 4.71441 0.161621 4.62945 0.174691C4.57063 0.174691 4.51181 0.174691 4.45299 0.18776C4.36803 0.194295 4.27654 0.213899 4.19158 0.233504C4.13276 0.246573 4.07395 0.253108 4.02166 0.266178C3.87789 0.298852 3.73411 0.344595 3.59687 0.396873C3.53805 0.416478 3.48577 0.442617 3.43349 0.468756C3.32892 0.5145 3.22436 0.566778 3.12633 0.625591C3.08711 0.645195 3.05444 0.6648 3.01523 0.684404C2.87798 0.769356 2.74728 0.860843 2.62311 0.9654C2.6035 0.978469 2.59043 0.998074 2.57082 1.01114C2.45972 1.10917 2.35516 1.21372 2.25713 1.32481C2.23752 1.34442 2.22445 1.36402 2.20485 1.37709C2.09375 1.50779 1.99572 1.63848 1.90422 1.78225C1.81926 1.91294 1.75391 2.05017 1.68856 2.19394C1.66895 2.23968 1.64935 2.28543 1.62974 2.32464C1.58399 2.43573 1.54478 2.54682 1.5121 2.66444C1.49903 2.71019 1.48596 2.7494 1.47289 2.79514C1.43368 2.94544 1.41407 3.09574 1.39447 3.24604C1.38793 3.31139 1.38793 3.3702 1.3814 3.43555C1.3814 3.50743 1.3814 3.58585 1.3814 3.65773C1.3814 3.72308 1.3814 3.78843 1.38793 3.84724C1.38793 3.91912 1.401 3.99754 1.40754 4.06942C1.41407 4.13477 1.42715 4.19359 1.44022 4.25893C1.45329 4.33082 1.46636 4.39616 1.48596 4.46805C1.5121 4.57914 1.55132 4.69023 1.59053 4.80132C1.61013 4.84706 1.61667 4.89281 1.63628 4.93855C1.69509 5.08232 1.76698 5.21955 1.84541 5.35024C1.87155 5.38945 1.89769 5.42866 1.92383 5.46787C1.99572 5.57242 2.06761 5.67698 2.14603 5.775C2.17217 5.80114 2.19178 5.83382 2.21792 5.85996C2.43358 6.10828 2.68193 6.32393 2.96294 6.5069C2.99562 6.5265 3.0283 6.54611 3.05444 6.56571C3.16554 6.63106 3.27664 6.68987 3.38774 6.74215C3.43349 6.76176 3.4727 6.78136 3.51844 6.80097C3.66222 6.85978 3.806 6.91206 3.95631 6.95127C4.00206 6.96434 4.0478 6.97087 4.10009 6.97741C4.21119 7.00354 4.32882 7.02315 4.44646 7.03622C4.53795 7.04929 4.62291 7.05582 4.71441 7.05582C4.74055 7.05582 4.76015 7.05582 4.78629 7.05582C4.86472 7.05582 4.94968 7.05582 5.03464 7.04275C5.09345 7.04275 5.15227 7.04275 5.21109 7.02968C5.29605 7.02315 5.38754 7.00354 5.4725 6.98394C5.53132 6.97087 5.59014 6.96434 5.64242 6.95127C5.7862 6.91859 5.92997 6.87285 6.06721 6.82057C6.1195 6.80097 6.17832 6.77483 6.2306 6.74869C6.33516 6.70294 6.43973 6.65066 6.53776 6.59185C6.57697 6.57225 6.60964 6.55264 6.64886 6.53304C6.7861 6.44809 6.9168 6.3566 7.04098 6.25204C7.06058 6.23897 7.07365 6.21937 7.09326 6.2063C7.20436 6.10828 7.30892 6.00372 7.40695 5.89263C7.42656 5.87303 7.43963 5.85342 7.45924 5.83382C7.57034 5.70312 7.66837 5.57243 7.75986 5.42866V5.44826Z"]],giving:[["s","M4.46107 7.13333C4.9211 7.57333 5.40114 7.99333 5.89451 8.38667C6.1412 8.35333 6.38789 8.33333 6.63457 8.33333H9.1081C9.32812 8.33333 9.54814 8.38 9.75482 8.44C10.2749 8.03333 10.7749 7.6 11.2483 7.14C11.9417 6.44 12.4684 5.6 12.7951 4.66667C13.0818 3.78 13.0484 2.82667 12.7151 1.96C12.375 1.1 11.6683 0.433333 10.7882 0.153333C10.4816 0.0533333 10.1549 0 9.83483 0.00666667H9.81483C9.10811 0.00666667 8.42139 0.24 7.86134 0.673333C7.82134 0.64 7.77466 0.613333 7.72799 0.586667L7.70799 0.573333C7.70799 0.573333 7.66132 0.546667 7.63465 0.52C7.58798 0.486667 7.54131 0.453333 7.48798 0.42L7.29463 0.333333C7.19462 0.28 7.08128 0.233333 6.96793 0.2C6.9546 0.186667 6.94127 0.18 6.92126 0.166667H6.88793C6.58123 0.0666667 6.26788 0.00666667 5.94785 0H5.89451C5.74784 0 5.60782 0.00666667 5.46115 0.0333333H5.40114C5.2478 0.0533333 5.09445 0.0866667 4.9411 0.14C4.05437 0.426667 3.34098 1.09333 2.99428 1.96C2.65426 2.82667 2.62759 3.78667 2.92094 4.67333C3.24764 5.6 3.77435 6.44 4.46773 7.14L4.46107 7.13333Z"],["b","M15.4953 10.5133C15.2886 10.3267 15.0486 10.2533 14.7886 10.2533C14.4686 10.2533 14.1352 10.3667 13.8285 10.5133L11.9684 11.7067C11.355 11.9867 10.8949 12.3267 10.3282 12.3267H8.16805C7.59467 12.36 7.22797 12.5533 6.87461 13.0333C6.80127 13.1267 6.6946 13.18 6.58125 13.18C6.50792 13.18 6.42791 13.1533 6.36124 13.1067C6.23456 13.0133 6.18789 12.8533 6.22789 12.7133C6.24123 12.6733 6.25457 12.6333 6.2879 12.5933C6.36124 12.5 6.43458 12.4133 6.50791 12.3267C6.99462 11.8067 7.56134 11.58 8.3614 11.58H9.04145C9.58816 11.58 10.0615 11.2067 10.1415 10.7133C10.1949 10.4 10.1082 10.1 9.90819 9.86667C9.70817 9.63333 9.42148 9.5 9.11479 9.5H6.64126C5.54784 9.5 4.46775 9.88 3.61435 10.5733L2.74761 11.2733C2.74761 11.2733 2.70094 11.3 2.67427 11.3133C2.51426 11.4133 2.35425 11.4933 2.19424 11.5533C1.68087 11.7467 1.24749 11.7467 1.24749 11.7467H0.714121C0.367426 11.7467 0.0874023 12.0267 0.0874023 12.3733V15.3733C0.0874023 15.72 0.367426 16 0.714121 16H10.7616C11.3283 16 11.8817 15.8067 12.3217 15.4533L15.442 12.42C16.0353 11.9467 16.082 11.04 15.4953 10.5133Z"]],"service-planning":[["b","M7.26882 10.353C7.26882 9.63288 7.76897 8.95945 8.46912 8.73942L12.63 7.51257V3.0386C12.63 1.11166 11.5298 0.00483079 9.60935 0.00483079H4.34154C3.52135 -0.0418426 2.72116 0.251533 2.11435 0.804946C1.5609 1.4117 1.27417 2.21848 1.32084 3.04527V9.53286C1.32084 11.4665 2.42107 12.5733 4.34817 12.5733H7.2755V10.3463L7.26882 10.353ZM5.78184 3.02526H9.58937C9.90944 3.02526 10.1762 3.2853 10.1762 3.61201C10.1762 3.93873 9.91611 4.19877 9.58937 4.19877H5.78184C5.46177 4.19877 5.19504 3.93873 5.19504 3.61201C5.19504 3.2853 5.4551 3.02526 5.78184 3.02526ZM4.56156 6.73246C4.53488 6.80581 4.4882 6.87248 4.43486 6.92582C4.38151 6.97916 4.31485 7.01917 4.24817 7.05251C4.17482 7.07918 4.10145 7.09918 4.02144 7.09918C3.86807 7.09918 3.72137 7.03251 3.60801 6.92582C3.55467 6.87248 3.51466 6.80581 3.48799 6.73246C3.45465 6.66579 3.44131 6.58577 3.44131 6.51243C3.44131 6.43909 3.45465 6.35908 3.48799 6.2924C3.51466 6.21905 3.55467 6.15238 3.60801 6.09904C3.77472 5.93901 4.02812 5.88567 4.24817 5.97235C4.31485 6.00569 4.38151 6.0457 4.43486 6.09904C4.4882 6.15238 4.53488 6.21905 4.56156 6.2924C4.5949 6.35908 4.60824 6.43909 4.60824 6.51243C4.60824 6.58577 4.58823 6.66579 4.56156 6.73246ZM4.43486 4.01874C4.38151 4.07208 4.31485 4.11209 4.24817 4.14542C4.17482 4.1721 4.10145 4.1921 4.02144 4.1921C3.86807 4.1921 3.72137 4.12542 3.60801 4.01874C3.50132 3.91206 3.44131 3.7587 3.44131 3.60535C3.44131 3.532 3.45465 3.45199 3.48799 3.38532C3.51466 3.31197 3.55467 3.2453 3.60801 3.19195C3.77472 3.03193 4.03479 2.97859 4.24817 3.06527C4.31485 3.09861 4.38151 3.13861 4.43486 3.19195C4.4882 3.2453 4.53488 3.31197 4.56156 3.38532C4.5949 3.45199 4.60824 3.532 4.60824 3.60535C4.60824 3.7587 4.54155 3.91206 4.43486 4.01874ZM5.20171 6.51243C5.20171 6.19239 5.46177 5.92568 5.78851 5.92568H7.6956C8.01567 5.92568 8.2824 6.18572 8.2824 6.51243C8.2824 6.83914 8.02233 7.09918 7.6956 7.09918H5.78851C5.46844 7.09918 5.20171 6.83914 5.20171 6.51243Z"],["s","M14.1638 8.2989C14.1171 8.2989 14.0505 8.31223 14.0105 8.32557L8.80264 9.86579C8.6026 9.9258 8.43586 10.1525 8.43586 10.3592V13.9864C8.29583 13.953 8.06246 13.9264 7.91576 13.9197C7.05557 13.9197 6.3554 14.3864 6.3554 14.9599C6.3554 15.5333 7.05557 16 7.91576 16C8.77596 16 9.47609 15.5333 9.47609 14.9599V11.7861L12.3768 10.9393L13.6437 10.5659V12.9396C13.5037 12.9062 13.2703 12.8796 13.1236 12.8729C12.2634 12.8729 11.5632 13.3396 11.5632 13.913C11.5632 14.4865 12.2634 14.9532 13.1236 14.9532C13.9838 14.9532 14.6839 14.4865 14.6839 13.913V8.8123C14.6839 8.5256 14.4506 8.29223 14.1638 8.29223V8.2989Z"]],streaming:[["b","M15.0579 5.89623L13.8961 6.56138C13.6991 6.67272 13.5792 6.88111 13.5792 7.10949V11.3013C13.5792 11.5268 13.6991 11.7352 13.8961 11.8494L15.0579 12.5145C15.4776 12.7543 16 12.4517 16 11.9664V6.44719C16 5.96474 15.4776 5.65929 15.0579 5.89909V5.89623Z"],["b","M9.50832 4.04126C9.45694 4.04126 9.4027 4.04126 9.34846 4.04697L8.15233 5.25451C8.05527 5.36299 7.92966 5.45149 7.79263 5.51144C7.85258 5.68843 7.88398 5.87684 7.88398 6.07096C7.87827 7.01017 7.11035 7.77809 6.16259 7.78094C5.70868 7.78094 5.28333 7.60395 4.96075 7.28137C4.63816 6.95878 4.46688 6.53628 4.46117 6.06811C4.46117 5.87684 4.49543 5.69129 4.55538 5.51715C4.43262 5.46291 4.32129 5.38869 4.22708 5.29733L2.9967 4.04411H2.75975C1.17824 4.10977 -0.0578576 5.46576 0.00209165 7.07297V11.6073C0.0791692 13.1603 1.08118 14.365 2.58276 14.365C3.05355 14.365 3.52477 14.3629 3.99585 14.365H9.61109C11.1983 14.3022 12.4373 12.9434 12.3716 11.339V6.79892C12.2945 5.24595 11.0213 4.04126 9.50261 4.04126H9.50832Z"],["s","M3.35639 3.1994L3.6333 3.47631C3.67897 3.52198 3.74178 3.54482 3.80458 3.54482C3.86168 3.54482 3.91877 3.52484 3.96445 3.48487C4.07578 3.3821 4.21281 3.28789 4.36125 3.19654C4.90365 2.86254 5.63446 2.61989 6.19113 2.61418H6.19399C6.19399 2.61418 6.20255 2.61703 6.20541 2.61703C6.77064 2.61703 7.51001 2.85969 8.04956 3.19654C8.18373 3.27933 8.30648 3.36783 8.40925 3.45918C8.45207 3.49914 8.50631 3.51913 8.56341 3.51913C8.62907 3.51913 8.69473 3.49058 8.7404 3.4392L9.08297 3.09663C9.12008 3.05952 9.15434 2.98244 9.15434 2.92534C9.15434 2.8654 9.12008 2.78832 9.07726 2.7455H9.08011L9.0744 2.73693C8.29221 2.02325 7.29305 1.63501 6.2311 1.63501C6.22253 1.63501 6.21397 1.63501 6.20541 1.63501C5.13203 1.64072 4.12146 2.04038 3.32213 2.76834C3.2736 2.81116 3.23649 2.89394 3.23649 2.95675C3.23364 3.01099 3.26789 3.09092 3.2993 3.13374L3.3621 3.19654L3.35639 3.1994Z"],["s","M6.18261 5.20619C5.70587 5.20619 5.31763 5.59728 5.31477 6.07402C5.31477 6.31096 5.41183 6.52792 5.56599 6.68208C5.72014 6.83623 5.92854 6.93329 6.16833 6.93329C6.16833 6.93329 6.17119 6.93329 6.17404 6.93329C6.65078 6.93329 7.03903 6.5422 7.04188 6.06546C7.04188 5.82852 6.94482 5.61156 6.79067 5.4574C6.63651 5.30325 6.42812 5.20619 6.18832 5.20619C6.18832 5.20619 6.18546 5.20619 6.18261 5.20619Z"],["s","M7.36436 4.75554C7.42146 4.75554 7.49854 4.72414 7.52994 4.67847L7.87821 4.33019C7.92104 4.28737 7.95244 4.21315 7.95244 4.15605C7.95244 4.12179 7.93816 4.08183 7.91818 4.04757C7.90391 4.01902 7.88963 3.99333 7.86965 3.97335H7.87251L7.86394 3.96193C7.7155 3.83632 7.51566 3.71928 7.29585 3.62507C6.93616 3.46521 6.52222 3.36244 6.19964 3.36244C6.19678 3.36244 6.19393 3.36244 6.19107 3.36244C5.87134 3.36244 5.46883 3.46806 5.11199 3.62507C4.88075 3.72499 4.66951 3.84774 4.5125 3.98191C4.49251 3.99619 4.47824 4.02473 4.46111 4.04757C4.43542 4.09039 4.41829 4.13607 4.41829 4.17603C4.41829 4.23313 4.44969 4.31021 4.48395 4.35588L4.83222 4.70416C4.86934 4.74127 4.94641 4.77267 4.99494 4.77267C5.04062 4.77267 5.10628 4.74983 5.14053 4.72129C5.39175 4.5186 5.85707 4.35303 6.17965 4.35017C6.17965 4.35017 6.18251 4.35017 6.18536 4.35017C6.50795 4.35017 6.96756 4.51289 7.21592 4.70987C7.25018 4.73841 7.31583 4.7584 7.36151 4.7584L7.36436 4.75554Z"]],safety:[["b","M6.98424 10.5929C6.98424 7.76506 9.24798 5.46784 12.0346 5.46784C12.4847 5.46784 12.9216 5.53502 13.3386 5.6492L13.3254 3.27139C13.3187 2.65342 12.9216 2.10935 12.3457 1.92127L7.14309 0.147987C6.832 0.0405148 6.49443 0.0405148 6.17671 0.147987L0.993958 1.98173C0.418096 2.18324 0.0341797 2.72731 0.0341797 3.34527L0.0672873 8.61811C0.0805256 10.2302 0.676244 11.7751 1.74192 12.9707C2.29131 13.5685 2.93997 14.0522 3.66146 14.4149L6.48118 15.8993C6.56723 15.9464 6.65991 15.9665 6.75919 15.9665C6.85848 15.9665 6.95116 15.9396 7.03721 15.8926L9.10897 14.7642C7.81824 13.8372 6.97101 12.3125 6.97101 10.5862L6.98424 10.5929Z"],["s","M13.4022 6.83015C12.9892 6.68269 12.5429 6.59555 12.0833 6.59555C9.91842 6.59555 8.16655 8.35839 8.16655 10.5368C8.16655 12.0784 9.05248 13.4123 10.3314 14.0558C10.8576 14.3239 11.4505 14.4781 12.0833 14.4781C14.2481 14.4781 16 12.7152 16 10.5368C16 8.82759 14.9142 7.37978 13.4022 6.83015ZM14.4946 9.82631L12.1366 12.1656C12.0033 12.2996 11.8235 12.3667 11.6436 12.3667C11.4638 12.3667 11.3039 12.3063 11.164 12.179L10.0183 11.0931C9.7852 10.8719 9.77187 10.5033 9.99168 10.262C10.2115 10.0274 10.5779 10.014 10.8177 10.2352L11.637 11.006L13.3622 9.30349L13.6753 8.98846C13.9017 8.76056 14.2748 8.76726 14.5013 8.98846C14.7277 9.21635 14.7211 9.59171 14.5013 9.8196L14.4946 9.82631Z"]],mobile:[["b","M7.58039 10.9467V9.44667C7.58039 9.25333 7.62039 9.06667 7.68039 8.89333H6.42696C5.47355 8.89333 4.70015 8.12 4.70015 7.16667V5.66667C4.70015 4.71333 5.47355 3.94 6.42696 3.94H9.08051C9.28052 3.94 9.47387 3.98 9.65388 4.04667V3.98667C9.65388 3.03333 10.4273 2.26 11.3807 2.26H12.1874C11.9874 0.98 10.8807 0 9.54054 0H4.26679C2.78 0 1.57324 1.20667 1.57324 2.69333V13.3067C1.57324 14.7933 2.78 16 4.26679 16H9.54054C11.0273 16 12.2341 14.7933 12.2341 13.3067V12.6733H9.30053C8.34712 12.6733 7.57372 11.9 7.57372 10.9467H7.58039ZM6.907 15.1667C6.34696 15.1667 5.89359 14.7133 5.89359 14.1533C5.89359 13.5933 6.34696 13.14 6.907 13.14C7.46705 13.14 7.92041 13.5933 7.92041 14.1533C7.92041 14.7133 7.46705 15.1667 6.907 15.1667Z"],["s","M10.8273 3.98676V7.16676C10.8273 7.46676 11.0673 7.70676 11.3607 7.72009H13.1208C13.4142 7.70676 13.6542 7.46676 13.6542 7.16676V3.98676C13.6542 3.68009 13.4008 3.42676 13.0942 3.42676H11.3874C11.0807 3.42676 10.8273 3.68009 10.8273 3.98676Z"],["s","M9.08051 5.10547H6.42697C6.11766 5.10547 5.86691 5.35619 5.86691 5.66547V7.16547C5.86691 7.47475 6.11766 7.72547 6.42697 7.72547H9.08051C9.38981 7.72547 9.64055 7.47475 9.64055 7.16547V5.66547C9.64055 5.35619 9.38981 5.10547 9.08051 5.10547Z"],["s","M13.8675 8.88672H9.30711C9.00042 8.88672 8.74707 9.14005 8.74707 9.44672V10.9467C8.74707 11.2534 9.00042 11.5067 9.30711 11.5067H13.8675C14.1742 11.5067 14.4275 11.2534 14.4275 10.9467V9.44672C14.4275 9.14005 14.1742 8.88672 13.8675 8.88672Z"]],accounting:[["b","M9.55804 6.67528H14.2937C14.874 6.67528 15.3342 6.15506 15.2409 5.58149C14.774 2.74031 12.5395 0.499377 9.69812 0.0391856C9.1245 -0.0541866 8.60423 0.406005 8.60423 0.986246V5.72155C8.60423 6.24844 9.03111 6.67528 9.55804 6.67528Z"],["b","M7.71049 8.7765C7.32364 8.38967 7.1035 7.85612 7.1035 7.30922V2.47388C7.1035 1.89364 6.58991 1.44011 6.0163 1.53349C2.57459 2.09372 0.00667981 5.2617 0.420218 8.9499C0.453568 9.26337 0.520234 9.57016 0.593603 9.87029C1.22725 9.45011 1.98099 9.20334 2.79473 9.20334C4.98915 9.20334 6.77001 10.9841 6.77001 13.1783C6.77001 13.7786 6.62993 14.3522 6.38981 14.8657C6.39648 14.8657 6.40985 14.8657 6.41652 14.8657C8.13737 15.0324 9.73813 14.5589 11.0121 13.6519C11.4923 13.3117 11.5391 12.6114 11.1188 12.1913L7.71049 8.78317V8.7765Z"],["b","M15.0473 8.16878H11.6389C10.7918 8.16878 10.3717 9.1892 10.9653 9.78945L13.3798 12.2038C13.7867 12.6106 14.4737 12.5706 14.8072 12.1037C15.4008 11.2767 15.8143 10.303 15.9878 9.2559C16.0811 8.68233 15.6276 8.16878 15.0473 8.16878Z"],["s","M2.80136 10.3639C2.12102 10.3639 1.50072 10.6174 1.02049 11.0176C0.400177 11.5311 0 12.2981 0 13.1651C0 14.7124 1.25393 15.9729 2.80803 15.9729C3.82854 15.9729 4.70899 15.4261 5.20257 14.6124C5.45603 14.1922 5.61611 13.6987 5.61611 13.1651C5.61611 11.6178 4.36214 10.3573 2.80803 10.3573L2.80136 10.3639Z"]],communications:[["b","M9.00365 3.41285L7.77761 8.05006C7.5977 8.72299 6.9847 9.19604 6.28506 9.19604C6.03186 9.19604 5.77864 9.12941 5.55876 9.01614L4.5193 8.46314V10.7151C4.5193 12.0543 5.6054 13.1337 6.93804 13.1337H9.40343L12.4552 15.3257C12.6484 15.4589 12.9216 15.3257 12.9216 15.0992V13.1337H13.5813C14.9206 13.1337 16 12.0477 16 10.7151V5.83139C16 4.4922 14.9139 3.41285 13.5813 3.41285H9.00365Z"],["s","M6.09859 7.98975C6.15856 8.02306 6.21854 8.03639 6.27851 8.03639C6.44509 8.03639 6.59833 7.92978 6.64498 7.75656L8.40407 1.0939C8.4707 0.840717 8.27081 0.62085 8.0376 0.62085C7.98429 0.62085 7.931 0.634175 7.88436 0.654163L0.228323 4.16538C-0.0715206 4.29864 -0.0715059 4.6984 0.201685 4.84497L1.80087 5.69779L6.19855 2.55968C6.19855 2.55968 6.23854 2.53969 6.25187 2.53969C6.32517 2.53969 6.38512 2.63297 6.31849 2.6996L5.52557 3.51911L2.58712 6.53729L2.46718 7.79653C2.44053 8.04971 2.64043 8.21628 2.84699 8.21628C2.94028 8.21628 3.03354 8.18296 3.11349 8.10301L4.21961 6.98369L6.09196 7.98308L6.09859 7.98975Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M11.7413 12.9347L10.6088 9.50187C10.4584 9.05077 10.5352 8.55168 10.8136 8.16777C11.0919 7.78066 11.543 7.55031 12.0165 7.55031C12.1956 7.55031 12.3716 7.5823 12.5412 7.64629L14.3328 8.32133V5.27242C14.3328 2.90816 12.8099 1.31812 10.5448 1.31812H3.78474C1.52286 1.31812 0 2.90816 0 5.27242V10.7272C0 13.0915 1.52286 14.6815 3.78474 14.6815H10.5416C11.4726 14.6815 12.2724 14.4096 12.8995 13.9329C12.3652 13.8401 11.9141 13.4658 11.7413 12.9347ZM6.77607 4.45981H11.0119C11.3062 4.45981 11.543 4.69655 11.543 4.99089C11.543 5.28522 11.3062 5.52197 11.0119 5.52197H6.77607C6.48174 5.52197 6.24499 5.28522 6.24499 4.99089C6.24499 4.69655 6.48174 4.45981 6.77607 4.45981ZM4.36381 5.52197H3.13209C2.83776 5.52197 2.60101 5.28522 2.60101 4.99089C2.60101 4.69655 2.83776 4.45981 3.13209 4.45981H4.36381C4.65815 4.45981 4.89489 4.69655 4.89489 4.99089C4.89489 5.28522 4.65815 5.52197 4.36381 5.52197ZM7.5055 11.4662C7.10239 11.575 6.68329 11.9941 6.57451 12.3972C6.46574 12.8003 6.28658 12.8003 6.1778 12.3972C6.06903 11.9941 5.64992 11.575 5.24681 11.4662C4.84371 11.3574 4.84371 11.1783 5.24681 11.0695C5.64992 10.9607 6.06903 10.5416 6.1778 10.1385C6.28658 9.73541 6.46574 9.73541 6.57451 10.1385C6.68329 10.5416 7.10239 10.9607 7.5055 11.0695C7.90861 11.1783 7.90861 11.3574 7.5055 11.4662ZM8.75642 7.83824C8.52607 7.89903 8.28613 8.13898 8.22534 8.36932C8.16455 8.59967 8.06218 8.59967 7.99819 8.36932C7.93741 8.13898 7.69746 7.89903 7.46711 7.83824C7.23676 7.77746 7.23676 7.67508 7.46711 7.61109C7.69746 7.54711 7.93741 7.31036 7.99819 7.08001C8.05898 6.84967 8.16136 6.84967 8.22534 7.08001C8.28613 7.31036 8.52607 7.55031 8.75642 7.61109C8.98677 7.67188 8.98677 7.77426 8.75642 7.83824Z"],["s","M15.8139 12.0274L15.0525 11.234L15.6955 10.6165C15.9195 10.4022 15.8427 10.0247 15.5516 9.9159L12.1667 8.64579C12.1155 8.62659 12.0643 8.61699 12.0164 8.61699C11.7444 8.61699 11.5205 8.88893 11.6164 9.17367L12.749 12.6065C12.8098 12.7921 12.9793 12.8976 13.1521 12.8976C13.2545 12.8976 13.36 12.8592 13.4432 12.7793L14.0863 12.1618L14.1087 12.1842L14.8477 12.9552C14.9789 13.0928 15.1548 13.16 15.3308 13.16C15.5068 13.16 15.6635 13.0992 15.7947 12.9744C16.0602 12.7185 16.0698 12.2962 15.8139 12.0306V12.0274Z"]],media:[["s","M13.0054 0.794678H8.4102C7.06965 0.794678 6.06258 1.49491 5.63574 2.62862H8.17679C10.7712 2.62862 12.5786 4.49591 12.5786 7.17014V11.3916H12.9988C14.7928 11.3916 16 10.1311 16 8.25717V3.93573C16 2.06177 14.7928 0.801347 12.9988 0.801347L13.0054 0.794678ZM14.6528 8.95074C14.6528 9.26418 14.3993 9.51759 14.0859 9.51759H13.7924C13.479 9.51759 13.2255 9.26418 13.2255 8.95074V8.65731C13.2255 8.34387 13.479 8.09045 13.7924 8.09045H14.0859C14.3993 8.09045 14.6528 8.34387 14.6528 8.65731V8.95074ZM14.6528 6.24317C14.6528 6.5566 14.3993 6.81002 14.0859 6.81002H13.7924C13.479 6.81002 13.2255 6.5566 13.2255 6.24317V5.94973C13.2255 5.6363 13.479 5.38288 13.7924 5.38288H14.0859C14.3993 5.38288 14.6528 5.6363 14.6528 5.94973V6.24317ZM14.6528 3.53559C14.6528 3.84903 14.3993 4.10245 14.0859 4.10245H13.7924C13.479 4.10245 13.2255 3.84903 13.2255 3.53559V3.24216C13.2255 2.92872 13.479 2.67531 13.7924 2.67531H14.0859C14.3993 2.67531 14.6528 2.92872 14.6528 3.24216V3.53559Z"],["b","M8.18336 3.79468H3.23467C1.30054 3.79468 0 5.14846 0 7.16914V11.8307C0 13.8514 1.30054 15.2052 3.23467 15.2052H8.18336C10.1175 15.2052 11.418 13.8514 11.418 11.8307V7.16914C11.418 5.14846 10.1175 3.79468 8.18336 3.79468ZM4.28175 6.15547C4.75528 6.15547 5.16879 6.40222 5.40888 6.76901C5.54894 6.98241 5.62899 7.23583 5.62899 7.50925C5.62899 7.78268 5.54894 8.0361 5.40888 8.2495C5.16879 8.61629 4.75528 8.86304 4.28175 8.86304C3.53478 8.86304 2.92786 8.25617 2.92786 7.50925C2.92786 6.76234 3.53478 6.15547 4.28175 6.15547ZM10.0575 12.7443C9.82404 13.3112 9.35051 13.7513 8.77027 13.9514C8.51684 14.0314 8.25006 14.0714 7.98329 14.0714C7.98329 14.0714 7.96995 14.0714 7.96328 14.0714H3.15464C3.15464 14.0714 3.12128 14.0714 3.10127 14.0714C2.6811 14.0714 2.26759 13.9581 1.90744 13.7447C1.8074 13.6847 1.74071 13.5779 1.7207 13.4579C1.70069 13.3312 1.73405 13.1978 1.81408 13.0978C2.07419 12.771 2.34095 12.4376 2.59439 12.1108L2.6144 12.0841C3.01456 11.5706 3.31469 11.3572 3.60148 11.3572C3.69485 11.3572 3.78156 11.3772 3.8616 11.4172C4.02833 11.4973 4.18172 11.5906 4.33512 11.6973C4.65525 11.9574 5.04207 12.1108 5.45557 12.1441C5.69567 12.1441 5.93577 12.0774 6.14252 11.9507C6.48933 11.724 6.78946 11.4239 7.02289 11.0838C7.10959 10.9571 7.18962 10.8237 7.26298 10.6836L7.32302 10.5769C7.41639 10.4236 7.50308 10.2768 7.60313 10.1435C7.7832 9.88338 8.06332 9.71666 8.38346 9.68331C8.53685 9.68331 8.69024 9.73 8.81696 9.81669C9.20379 10.0768 9.56394 10.3835 9.88407 10.7303C10.0108 10.857 10.1108 11.0104 10.1775 11.1771C10.1975 11.2505 10.2109 11.3239 10.2242 11.3972C10.3176 11.8507 10.2642 12.3242 10.0641 12.7443H10.0575Z"]],equip:[["g","M15.7065 11.6492C15.9902 11.6492 16 11.9038 16 12.1947C16 13.0223 15.266 14.1883 13.6513 14.1884H2.34868C0.73399 14.1884 0 12.813 0 12.1947C1.26508e-05 11.9038 0.0597413 11.6492 0.343544 11.6492H15.7065Z"],["g","M14.1232 2.10404C14.4185 1.80875 15.0266 1.68506 15.3219 1.98035L15.7827 2.44079C16.0779 2.73608 15.9542 3.34415 15.659 3.63944L12.9364 6.36206C12.4939 6.80454 11.7535 6.93297 11.1568 7.05737C10.8633 7.11849 10.6612 6.91063 10.7167 6.61694C10.812 6.11297 10.9584 5.2689 11.4006 4.82665L14.1232 2.10404Z"],["g","M11.3194 2.33844C11.6177 2.33844 11.901 2.37115 12.1673 2.43353L10.8286 3.80627H5.37475C4.31034 3.80627 3.7381 4.09111 3.43717 4.38004C3.14277 4.66271 2.91596 5.13345 2.91596 5.91222V9.33479H3.09935V10.8023H1.44812V5.91222C1.44812 3.83508 2.65349 2.4286 5.13094 2.34273L5.37475 2.33844H11.3194Z"],["g","M8.05339 10.8023H3.09935V9.33479H8.05339V10.8023Z"],["g","M13.0074 10.8023H8.05339V9.33479H13.0074V10.8023Z"],["g","M14.659 10.8023H13.0074V9.33479H13.1908V7.32608C13.3914 7.21102 13.5903 7.06663 13.7699 6.88244L14.659 5.97085V10.8023Z"],["g","M5.84637 5.78923C5.88566 5.78923 5.92503 5.81591 5.94468 5.85608C5.94468 5.85608 6.05874 6.38796 6.28536 6.61967C6.51043 6.84963 7.02445 6.9662 7.03179 6.96786C7.07109 6.98795 7.09757 7.02813 7.09757 7.06831C7.09753 7.10846 7.07106 7.14859 7.03179 7.16197C7.02353 7.16391 6.50997 7.28539 6.28536 7.51696C6.06163 7.74765 5.94663 8.27125 5.94468 8.28019C5.92503 8.32037 5.88567 8.3474 5.84637 8.3474C5.80708 8.34738 5.76795 8.32036 5.75485 8.28019C5.7532 8.27283 5.6344 7.74689 5.40773 7.51696C5.18155 7.28765 4.66727 7.1702 4.66095 7.16876C4.62168 7.14869 4.60199 7.10846 4.60196 7.06831C4.60196 7.02813 4.62165 6.98795 4.66095 6.96786C4.66429 6.9671 5.18089 6.84964 5.40773 6.61967C5.63606 6.38816 5.75485 5.85608 5.75485 5.85608C5.76798 5.81595 5.80711 5.78924 5.84637 5.78923Z"],["g","M8.51277 4.43973C8.53816 4.43978 8.5637 4.45703 8.5764 4.48299C8.57732 4.48726 8.65089 4.82804 8.79661 4.97703C8.94142 5.12504 9.27127 5.20037 9.27957 5.20225C9.305 5.21525 9.32211 5.24131 9.32211 5.26731C9.3221 5.2933 9.30499 5.31942 9.27957 5.32808C9.27066 5.33018 8.94113 5.40858 8.79661 5.55759C8.65059 5.70815 8.5764 6.05163 8.5764 6.05163C8.5637 6.07759 8.53816 6.09484 8.51277 6.09489C8.48737 6.09489 8.46193 6.07758 8.45342 6.05163C8.45342 6.05163 8.37631 5.70738 8.22857 5.55759C8.08238 5.40947 7.75058 5.33351 7.7456 5.33237C7.72018 5.31938 7.70736 5.2933 7.70735 5.26731C7.70735 5.24131 7.72017 5.21525 7.7456 5.20225C7.74989 5.20127 8.0822 5.12529 8.22857 4.97703C8.37631 4.82724 8.45342 4.48299 8.45342 4.48299C8.46191 4.457 8.48735 4.43973 8.51277 4.43973Z"]]},rippled:{people:[["s","M11.9118 12.5101C12.9312 11.6436 13.6556 10.4438 13.9078 9.07867C13.441 8.38012 12.7032 7.8602 11.8071 7.6949C11.174 7.57759 10.5543 7.65757 10.0016 7.88687C11.0962 8.92403 11.7588 10.3051 11.8635 11.8142L11.9118 12.5074V12.5101Z"],["s","M11.6032 6.65229C12.9286 7.16154 14.3263 6.20703 14.321 4.79393C14.3183 4.01007 13.8085 3.27419 13.0734 2.99157C11.7481 2.47965 10.3504 3.43683 10.3557 4.84993C10.3584 5.63379 10.8681 6.36967 11.6032 6.65229Z"],["s","M15.6543 8.77189C15.6275 8.76656 15.6033 8.76656 15.5765 8.76656C15.3887 8.77456 15.2251 8.9132 15.1956 9.10517C15.1151 9.62242 14.9782 10.1317 14.7878 10.6196C14.718 10.7982 14.7878 10.9982 14.9434 11.0995C14.9648 11.1128 14.989 11.1262 15.0158 11.1368C15.0641 11.1555 15.1124 11.1635 15.1634 11.1635C15.3243 11.1635 15.4773 11.0675 15.539 10.9102C15.7509 10.369 15.9038 9.80105 15.995 9.22782C16.0299 9.00919 15.877 8.80655 15.6597 8.77189H15.6543Z"],["s","M8.04045 15.1974C5.50517 15.1974 3.27305 13.8963 1.97993 11.9313C1.66872 11.4594 1.41385 10.9501 1.22069 10.4116C0.949722 9.65968 0.802167 8.84915 0.802167 8.00396C0.802167 7.77999 0.815581 7.55603 0.837043 7.33474C0.866555 7.02279 0.912163 6.71351 0.981916 6.41222C1.03021 6.19626 0.896066 5.98296 0.678756 5.93497C0.461447 5.88431 0.246821 6.02029 0.19853 6.23625C0.0670708 6.81216 0 7.40939 0 8.00662C0 12.4139 3.60841 16 8.04313 16C8.2658 16 8.44555 15.8213 8.44555 15.6C8.44555 15.5734 8.44287 15.5494 8.43751 15.5227C8.40263 15.3387 8.23898 15.2001 8.04313 15.2001L8.04045 15.1974Z"],["s","M14.2834 12.4006C14.2619 12.382 14.2378 12.3686 14.2136 12.3553C14.0473 12.2727 13.838 12.3127 13.72 12.4646C12.8991 13.4938 11.8152 14.2803 10.5838 14.7416C10.4013 14.8109 10.2967 14.9949 10.3289 15.1788C10.3343 15.2055 10.3396 15.2295 10.3504 15.2562C10.4121 15.4161 10.565 15.5148 10.726 15.5148C10.7743 15.5148 10.8199 15.5068 10.8682 15.4881C12.2364 14.9789 13.441 14.1044 14.3532 12.9605C14.49 12.7872 14.4605 12.5366 14.2888 12.398L14.2834 12.4006Z"],["b","M10.903 12.8137L10.8386 11.8885C10.7769 11.022 10.4979 10.2221 10.0552 9.53957C9.78961 9.12897 9.46767 8.76103 9.10013 8.44642C8.21211 7.68655 7.05849 7.23062 5.81366 7.23062C5.69561 7.23062 5.57488 7.23596 5.45416 7.24395C4.1342 7.33727 2.96986 7.92651 2.13281 8.81703C2.53255 11.7045 5.02759 13.9335 8.04041 13.9335C8.24162 13.9335 8.44015 13.9228 8.636 13.9042C8.69234 13.8988 8.75136 13.8908 8.8077 13.8828C9.50792 13.7922 10.1679 13.5842 10.7715 13.2723C10.8654 13.1416 10.9164 12.9817 10.903 12.8137Z"],["b","M4.96592 6.14297C6.67283 6.14297 8.05655 4.76782 8.05655 3.07149C8.05655 1.37515 6.67283 0 4.96592 0C3.25902 0 1.8753 1.37515 1.8753 3.07149C1.8753 4.76782 3.25902 6.14297 4.96592 6.14297Z"]],giving:[["s","M6.05376 5.71666C6.40376 6.05544 6.77247 6.37288 7.15453 6.67698H10.1576C10.2351 6.67698 10.3099 6.69299 10.3847 6.70099C10.7721 6.39155 11.1488 6.06611 11.5042 5.722C12.0626 5.16182 12.4847 4.48693 12.7465 3.74001C12.9736 3.03045 12.9523 2.26486 12.6824 1.56863C12.4099 0.87774 11.8408 0.346899 11.1328 0.120157C10.8843 0.040131 10.6251 -0.00254965 10.366 0.00011789H10.3473C9.7782 0.00011789 9.22782 0.189514 8.77629 0.536294C8.74156 0.512286 8.70682 0.488278 8.66942 0.466938L8.65339 0.456268C8.63736 0.445598 8.61598 0.43226 8.59461 0.416255C8.5572 0.386912 8.51713 0.360236 8.47705 0.338896L8.31942 0.26954C8.23659 0.224192 8.14842 0.189514 8.06026 0.162838C8.04957 0.152168 8.03621 0.144165 8.02285 0.13883H7.9988C7.75567 0.0561363 7.50186 0.0107881 7.2427 0.00278543H7.19727C7.08239 0.00278543 6.96483 0.0107881 6.84995 0.0267933H6.79918C6.67361 0.0427986 6.55071 0.0721416 6.43315 0.112155C5.71979 0.341564 5.14803 0.875072 4.87017 1.56863C4.59765 2.2622 4.57627 3.03311 4.81139 3.74001C5.07589 4.48159 5.49803 5.15648 6.05376 5.71666Z"],["s","M13.126 13.2818C11.9584 14.3648 10.4809 15.021 8.90992 15.1704C8.68015 15.1917 8.45037 15.2024 8.21793 15.2024C6.09655 15.2024 4.18624 14.2821 2.86372 12.8203C2.2786 12.1721 1.80837 11.4172 1.48776 10.5876C1.17516 9.78196 1.00417 8.90967 1.00417 7.99737C1.00417 7.83998 0.910655 7.70394 0.777066 7.63725C0.723631 7.61058 0.664852 7.59724 0.603401 7.59724C0.381645 7.59724 0.202637 7.77596 0.202637 7.99737C0.202637 12.4095 3.79883 16 8.21793 16C10.2458 16 12.1828 15.2424 13.6683 13.8633C13.8313 13.7139 13.8393 13.4605 13.6897 13.2978C13.5401 13.1351 13.2863 13.1271 13.1233 13.2764L13.126 13.2818Z"],["s","M0.811802 6.1995C0.849207 6.21017 0.889283 6.2155 0.926688 6.2155C1.10035 6.2155 1.25799 6.10347 1.31142 5.93008C1.62669 4.8764 2.19577 3.89207 2.95188 3.08381C3.10417 2.92376 3.09349 2.67034 2.93318 2.51829C2.77288 2.36624 2.51906 2.37691 2.36677 2.53696C1.52516 3.43592 0.894626 4.52962 0.541953 5.70067C0.477831 5.91141 0.598061 6.13548 0.811802 6.1995Z"],["b","M15.4638 8.34956C15.2981 8.20018 15.1031 8.14149 14.8973 8.14149C14.6435 8.14149 14.3737 8.23219 14.1279 8.34956L12.0813 9.3819C11.5897 9.60598 11.221 9.88073 10.7614 9.88073H9.02747C8.56526 9.91008 8.27404 10.0621 7.98816 10.4463C7.92938 10.5236 7.84121 10.5636 7.75304 10.5636C7.69159 10.5636 7.63014 10.545 7.57671 10.5049C7.47518 10.4302 7.44045 10.3022 7.47251 10.1902C7.4832 10.1555 7.49655 10.1235 7.51793 10.0941C7.57671 10.0168 7.63548 9.94742 7.69426 9.8834C8.08434 9.4646 8.54121 9.2832 9.17976 9.2832H10.0935C10.5317 9.2832 10.9137 8.98444 10.9779 8.59231C11.0179 8.34423 10.9538 8.10148 10.7908 7.91209C10.6305 7.72536 10.3981 7.61599 10.1523 7.61599H6.72709C5.84807 7.61599 4.98242 7.92276 4.29578 8.4776L3.60112 9.04046C3.58242 9.05379 3.56372 9.0618 3.54501 9.07513C3.41677 9.15516 3.28585 9.21918 3.16028 9.2672C2.82097 9.39524 2.52707 9.41658 2.43623 9.42192C2.76753 10.809 3.59043 12.0094 4.70723 12.831H11.1061C11.5603 12.831 12.0038 12.6763 12.3592 12.3936L15.421 9.88607C15.8966 9.50728 15.934 8.7817 15.4611 8.3549L15.4638 8.34956Z"]],"service-planning":[["b","M8.9437 11.1697C8.9437 10.5565 9.37022 9.97806 9.97001 9.78879L12.3878 9.07437V4.9158C12.3878 3.26571 11.4468 2.31936 9.80474 2.31936H6.9284C4.49457 3.05778 2.71651 5.32366 2.71651 7.99474C2.71651 9.9674 3.69484 11.8068 5.33161 12.913C5.39559 12.9557 5.44891 13.009 5.49689 13.0677H8.9437V11.167V11.1697ZM6.53387 4.90781H9.78874C10.0633 4.90781 10.2872 5.13173 10.2872 5.4063C10.2872 5.68087 10.0633 5.9048 9.78874 5.9048H6.53387C6.25929 5.9048 6.03537 5.68087 6.03537 5.4063C6.03537 5.13173 6.25929 4.90781 6.53387 4.90781ZM5.38226 8.24266C5.29163 8.33863 5.16634 8.39194 5.03572 8.39194C4.90509 8.39194 4.77447 8.34129 4.68117 8.24266C4.63585 8.19734 4.59587 8.14669 4.57187 8.08271C4.54255 8.0214 4.53189 7.95742 4.53189 7.89345C4.53189 7.76282 4.58254 7.6322 4.68117 7.54157C4.86244 7.3523 5.20099 7.3523 5.38226 7.54157C5.47823 7.6322 5.53154 7.75749 5.53154 7.89345C5.53154 8.0294 5.4809 8.14936 5.38226 8.23999V8.24266ZM5.38226 5.75818C5.29163 5.85415 5.16634 5.90746 5.03572 5.90746C4.90509 5.90746 4.77447 5.85681 4.68117 5.75818C4.63585 5.71286 4.59587 5.65688 4.57187 5.59824C4.54255 5.53692 4.53189 5.47295 4.53189 5.40364C4.53189 5.27301 4.58254 5.14772 4.68117 5.05709C4.86244 4.86782 5.20099 4.86782 5.38226 5.05709C5.47823 5.14772 5.53154 5.27301 5.53154 5.40364C5.53154 5.53426 5.4809 5.66488 5.38226 5.75551V5.75818ZM8.16264 8.38927H6.53653C6.26196 8.38927 6.03804 8.16535 6.03804 7.89078C6.03804 7.61621 6.26196 7.39228 6.53653 7.39228H8.16264C8.43721 7.39228 8.66113 7.61621 8.66113 7.89078C8.66113 8.16535 8.43721 8.38927 8.16264 8.38927Z"],["s","M14.8377 9.41027C14.8004 9.41027 14.7391 9.41827 14.7044 9.4316L10.2526 10.7485C10.0794 10.8018 9.94074 10.9937 9.94074 11.1723V14.2726C9.82078 14.2433 9.62085 14.2193 9.49556 14.2193C8.75715 14.2193 8.16002 14.6191 8.16002 15.1096C8.16002 15.6001 8.75715 16 9.49556 16C10.234 16 10.8311 15.6001 10.8311 15.1096V12.3959L14.3925 11.3509V13.3822C14.2726 13.3529 14.0727 13.3289 13.9474 13.3289C13.209 13.3289 12.6118 13.7288 12.6118 14.2193C12.6118 14.7098 13.209 15.1096 13.9474 15.1096C14.6858 15.1096 15.2829 14.7098 15.2829 14.2193V9.86078C15.2829 9.61553 15.083 9.4156 14.8377 9.4156V9.41027Z"],["s","M1.9941 4.30518C2.01809 4.32118 2.04208 4.32918 2.06874 4.33717C2.11406 4.35317 2.15938 4.36383 2.20736 4.36383C2.34065 4.36383 2.47127 4.29719 2.54591 4.17723C2.70319 3.92398 2.87913 3.68406 3.06573 3.45481C3.27099 3.20423 3.48959 2.96698 3.72417 2.74839C4.27065 2.2339 4.89443 1.80471 5.57953 1.48216C6.54187 1.02898 7.57351 0.799725 8.64514 0.799725C8.86906 0.799725 9.09299 0.810388 9.31424 0.831714C10.983 0.983661 12.5345 1.70874 13.7341 2.90833C13.8913 3.06561 14.1446 3.06561 14.2992 2.90833C14.4538 2.75105 14.4565 2.49781 14.2992 2.34319C12.793 0.831714 10.7831 0 8.64781 0C7.45622 0 6.30995 0.255912 5.24098 0.759738C3.85213 1.41551 2.68453 2.44982 1.86881 3.75337C1.75152 3.93998 1.8075 4.18789 1.9941 4.30518Z"],["s","M1.11707 7.38682C1.11707 7.38682 1.13573 7.38148 1.14373 7.38148C1.33033 7.36816 1.48761 7.22954 1.51161 7.04027C1.56492 6.64307 1.65022 6.24854 1.77018 5.86734C1.82616 5.6834 1.74353 5.48614 1.57825 5.39817C1.55426 5.38484 1.53027 5.37418 1.50627 5.36618C1.29568 5.3022 1.07176 5.41949 1.00511 5.63009C0.874491 6.05394 0.778524 6.49379 0.719878 6.93364C0.690555 7.15223 0.845168 7.35483 1.06376 7.38415C1.08242 7.38415 1.09841 7.38682 1.11707 7.38682Z"],["s","M1.77024 10.13C1.71159 9.94603 1.53298 9.8314 1.34638 9.85006C1.31972 9.85273 1.29573 9.85806 1.26908 9.86605C1.05848 9.9327 0.941188 10.1566 1.00517 10.3672C1.46368 11.8467 2.33804 13.1529 3.53496 14.1499C3.6096 14.2112 3.70024 14.2432 3.79087 14.2432C3.9055 14.2432 4.02013 14.1952 4.09743 14.0993C4.11609 14.0779 4.12942 14.0566 4.14275 14.0326C4.23072 13.8673 4.19607 13.6594 4.04679 13.5368C2.96982 12.6411 2.18343 11.4628 1.77024 10.1326V10.13Z"]],streaming:[["b","M15.1202 4.95989L14.035 5.58013C13.851 5.68395 13.739 5.87828 13.739 6.09124V9.17119C13.739 9.38149 13.851 9.57582 14.035 9.6823L15.1202 10.3025C15.5121 10.5262 16 10.244 16 9.79144V5.47365C16 5.02377 15.5121 4.73894 15.1202 4.96255V4.95989Z"],["b","M4.83654 12.0304H10.0357C11.5181 11.9719 12.6752 10.7047 12.6139 9.20869V5.80398C12.5419 4.35584 11.3528 3.23247 9.93436 3.23247C9.88636 3.23247 9.83571 3.23247 9.78505 3.2378L8.6679 4.36383C8.57725 4.46498 8.45994 4.54751 8.33196 4.60341C8.38795 4.76845 8.41727 4.94415 8.41727 5.12516C8.41194 6.00097 7.69473 6.71705 6.80954 6.71971C6.38561 6.71971 5.98835 6.55466 5.68706 6.25386C5.39111 5.95837 5.22581 5.55907 5.22047 5.1225C5.22047 4.94415 5.25247 4.77112 5.30846 4.60873C5.19381 4.55815 5.08983 4.48894 5.00184 4.4011L3.8527 3.23247H3.63141C3.55942 3.23513 3.48743 3.24312 3.41544 3.25111C2.54092 4.30793 2.061 5.64692 2.061 7.01785C2.061 9.12351 3.16748 10.9736 4.82854 12.0251L4.83654 12.0304Z"],["s","M4.18864 2.44438L4.44726 2.70259C4.48992 2.74519 4.54858 2.76648 4.60724 2.76648C4.66056 2.76648 4.71388 2.74785 4.75654 2.71058C4.86053 2.61475 4.9885 2.5269 5.12714 2.44172C5.63373 2.13026 6.31628 1.90399 6.8362 1.89867H6.83886C6.83886 1.89867 6.84687 1.90133 6.84953 1.90133C7.37744 1.90133 8.06799 2.1276 8.57191 2.44172C8.69722 2.51892 8.81186 2.60144 8.90785 2.68662C8.94784 2.72389 8.9985 2.74252 9.05183 2.74252C9.11315 2.74252 9.17447 2.7159 9.21713 2.66799L9.53708 2.34855C9.57174 2.31394 9.60374 2.24207 9.60374 2.18883C9.60374 2.13292 9.57175 2.06105 9.53175 2.02112H9.53441L9.52908 2.01313C8.79854 1.34763 7.86536 0.985596 6.87353 0.985596C6.86553 0.985596 6.85753 0.985596 6.84953 0.985596C5.84703 0.99092 4.90319 1.3636 4.15664 2.04242C4.11132 2.08235 4.07665 2.15954 4.07665 2.21811C4.07399 2.26869 4.10598 2.34322 4.13531 2.38315L4.19397 2.44172L4.18864 2.44438Z"],["s","M6.8282 4.31838C6.38294 4.31838 6.02033 4.68307 6.01766 5.12763C6.01766 5.34858 6.10831 5.55089 6.25229 5.69464C6.39627 5.83839 6.59091 5.9289 6.81487 5.9289C6.81487 5.9289 6.81753 5.9289 6.8202 5.9289C7.26546 5.9289 7.62807 5.5642 7.63073 5.11964C7.63073 4.8987 7.54008 4.69638 7.3961 4.55263C7.25213 4.40889 7.05749 4.31838 6.83353 4.31838C6.83353 4.31838 6.83086 4.31838 6.8282 4.31838Z"],["s","M7.93467 3.89778C7.988 3.89778 8.05999 3.86849 8.08932 3.8259L8.4146 3.50114C8.45459 3.46121 8.48391 3.39199 8.48391 3.33875C8.48391 3.30681 8.47058 3.26954 8.45192 3.2376C8.43859 3.21098 8.42526 3.18702 8.4066 3.16838H8.40926L8.40126 3.15774C8.26262 3.04061 8.07598 2.93146 7.87069 2.84362C7.53474 2.69455 7.14814 2.59871 6.84686 2.59871C6.84419 2.59871 6.84152 2.59871 6.83886 2.59871C6.54024 2.59871 6.1643 2.69721 5.83103 2.84362C5.61506 2.93679 5.41776 3.05126 5.27112 3.17637C5.25245 3.18968 5.23912 3.2163 5.22313 3.2376C5.19913 3.27753 5.18314 3.32012 5.18314 3.35739C5.18314 3.41063 5.21246 3.4825 5.24445 3.52509L5.56973 3.84986C5.60439 3.88447 5.67638 3.91375 5.72171 3.91375C5.76437 3.91375 5.8257 3.89245 5.85769 3.86583C6.09232 3.67683 6.52691 3.52243 6.82819 3.51977C6.82819 3.51977 6.83085 3.51977 6.83352 3.51977C7.1348 3.51977 7.56407 3.6715 7.79603 3.85518C7.82803 3.8818 7.88935 3.90044 7.93201 3.90044L7.93467 3.89778Z"],["s","M1.08249 5.02384C1.17047 4.71504 1.28245 4.40891 1.4131 4.11343C1.49042 3.93773 1.43176 3.73808 1.28511 3.62894C1.26112 3.61297 1.23712 3.597 1.21046 3.58635C1.00783 3.49584 0.773204 3.58635 0.682553 3.78866C0.538577 4.11609 0.413263 4.45683 0.314613 4.80023C0.213296 5.14895 0.135977 5.50832 0.0826523 5.87036C0.0266616 6.24836 0 6.63702 0 7.02301C0 7.73643 0.0933146 8.44719 0.27995 9.12866C0.327942 9.30702 0.490585 9.42414 0.666556 9.42414C0.701217 9.42414 0.735876 9.41882 0.773203 9.41083C0.799866 9.40285 0.823861 9.39486 0.847857 9.38155C1.01316 9.29903 1.10381 9.10736 1.05315 8.92102C0.885182 8.3061 0.799867 7.66721 0.799867 7.02567C0.799867 6.67961 0.823863 6.33088 0.874521 5.98748C0.922513 5.66272 0.991835 5.34062 1.08249 5.0265V5.02384Z"],["s","M12.8992 12.2912C11.7288 13.3773 10.2463 14.0348 8.67061 14.1812C8.44931 14.2025 8.22534 14.2132 8.00138 14.2132C5.62844 14.2132 3.41015 13.0472 2.0637 11.0906C1.95439 10.9309 1.74909 10.8777 1.57845 10.9495C1.55445 10.9602 1.53046 10.9735 1.50646 10.9895C1.32516 11.1146 1.27716 11.3621 1.40248 11.5458C2.89823 13.718 5.36449 15.0144 7.99872 15.0144C10.0251 15.0144 11.9581 14.2557 13.4405 12.8821C13.6031 12.7331 13.6111 12.4802 13.4618 12.3178C13.3125 12.1554 13.0592 12.1474 12.8966 12.2965L12.8992 12.2912Z"]],safety:[["b","M8.24791 11.3415C8.24791 8.88911 10.2126 6.89418 12.6278 6.89418C13.0197 6.89418 13.3955 6.95102 13.7581 7.04847L13.7447 5.00211C13.7394 4.46886 13.3982 3.99787 12.897 3.83276L8.3972 2.30069C8.12529 2.20866 7.83205 2.20866 7.56281 2.3061L4.20926 3.4944C3.26824 4.29021 2.57248 5.37294 2.25525 6.60996L2.27392 9.63891C2.28458 11.0329 2.80174 12.3755 3.7241 13.4068C4.19861 13.9211 4.75841 14.3461 5.3822 14.6574L7.82406 15.9404C7.89871 15.9783 7.98133 16 8.06397 16H8.06931C8.15462 16 8.23725 15.9783 8.31189 15.9377L10.098 14.9659C8.981 14.1593 8.24791 12.8357 8.24791 11.3415Z"],["s","M13.7661 8.1258C13.4115 7.99587 13.0277 7.92279 12.6305 7.92279C10.7697 7.92279 9.26091 9.45485 9.26091 11.3442C9.26091 12.6841 10.0207 13.8399 11.1243 14.4002C11.5775 14.6303 12.0866 14.7629 12.6305 14.7629C14.4912 14.7629 16 13.2309 16 11.3415C16 9.85817 15.0696 8.59949 13.7687 8.1258H13.7661ZM14.7098 10.7271L12.6811 12.7545C12.5638 12.8736 12.4092 12.9331 12.2572 12.9331C12.1053 12.9331 11.9587 12.8763 11.8414 12.7653L10.8551 11.8287C10.6498 11.6338 10.6418 11.309 10.8311 11.1033C11.023 10.8949 11.3429 10.8841 11.5455 11.0789L12.2466 11.7448L13.7288 10.2642L13.9953 9.99892C14.1953 9.79862 14.5152 9.80132 14.7124 10.0043C14.9097 10.2073 14.907 10.5322 14.7071 10.7325L14.7098 10.7271Z"],["s","M0.831721 8.79986C0.810395 8.57519 0.799733 8.34782 0.799733 8.12044C0.799733 7.26779 0.943684 6.43409 1.22359 5.64099C1.29023 5.45692 1.2156 5.25391 1.05565 5.15647C1.03433 5.14293 1.01033 5.1321 0.983672 5.12128C0.775742 5.04549 0.546489 5.15376 0.471848 5.36489C0.159952 6.24732 0 7.17305 0 8.11774C0 9.12197 0.17861 10.0991 0.527827 11.0276C0.589139 11.19 0.741087 11.2874 0.901034 11.2874C0.949018 11.2874 0.997004 11.2793 1.04499 11.2604C1.25025 11.1792 1.35421 10.9437 1.27424 10.7352C1.03699 10.11 0.890374 9.46033 0.829061 8.79445L0.831721 8.79986Z"],["s","M11.5268 0.830997C10.4232 0.278803 9.23692 0 8 0C6.76308 0 5.66211 0.259856 4.59313 0.771447C3.30556 1.3886 2.20194 2.34411 1.39688 3.54053C1.27159 3.7246 1.31957 3.97904 1.50084 4.10355C1.52483 4.11979 1.54882 4.12792 1.57281 4.13874C1.62346 4.1604 1.67411 4.17393 1.72476 4.17393C1.85272 4.17393 1.97802 4.11167 2.05533 3.99799C2.78042 2.92338 3.77475 2.0599 4.93436 1.505C5.89671 1.04484 6.92836 0.812049 8 0.812049C8.22659 0.812049 8.44786 0.825583 8.67178 0.844531C9.54349 0.925736 10.3859 1.16394 11.1749 1.55913C11.3722 1.65929 11.6121 1.57537 11.7108 1.37507C11.8094 1.17476 11.7268 0.931149 11.5295 0.830997H11.5268Z"]],mobile:[["b","M13.2752 12.068C13.2752 12.052 13.2752 12.036 13.2752 12.02V10.3901H10.8652C10.0878 10.3901 9.45455 9.75791 9.45455 8.98165V7.74657C9.45455 7.58652 9.48661 7.43447 9.53737 7.29042H8.49805C7.72057 7.29042 7.08736 6.65821 7.08736 5.88195V4.64688C7.08736 3.87062 7.72057 3.23841 8.49805 3.23841H10.6836C10.8519 3.23841 11.0095 3.27309 11.1591 3.32644V3.26775C11.1591 2.49149 11.7923 1.85928 12.5698 1.85928H13.2378C13.0668 0.808269 12.1611 0 11.0603 0H6.72667C5.50299 0 4.51444 0.989662 4.51444 2.2114V11.98C5.60452 13.1884 7.18087 13.9486 8.93355 13.9486C10.6862 13.9486 12.1611 13.2604 13.2752 12.0707V12.068ZM8.06522 11.6065C8.06522 11.1477 8.43928 10.7742 8.89882 10.7742C9.35837 10.7742 9.73241 11.1477 9.73241 11.6065C9.73241 12.0653 9.35837 12.4388 8.89882 12.4388C8.43928 12.4388 8.06522 12.0653 8.06522 11.6065Z"],["s","M12.1156 3.2652V5.8794C12.1156 6.13282 12.3214 6.33555 12.5725 6.33555H13.9779C14.2317 6.33555 14.4347 6.13015 14.4347 5.8794V3.2652C14.4347 3.01178 14.229 2.80905 13.9779 2.80905H12.5725C12.3187 2.80905 12.1156 3.01445 12.1156 3.2652Z"],["s","M10.6889 4.1881H8.50073C8.2484 4.1881 8.04385 4.39233 8.04385 4.64425V5.87933C8.04385 6.13126 8.2484 6.33548 8.50073 6.33548H10.6889C10.9412 6.33548 11.1458 6.13126 11.1458 5.87933V4.64425C11.1458 4.39233 10.9412 4.1881 10.6889 4.1881Z"],["s","M15.0786 7.74392C15.0786 7.49051 14.8729 7.28777 14.6218 7.28777H10.8706C10.6168 7.28777 10.4137 7.49317 10.4137 7.74392V8.979C10.4137 9.23242 10.6194 9.43515 10.8706 9.43515H14.6218C14.8756 9.43515 15.0786 9.22975 15.0786 8.979V7.74392Z"],["s","M1.71976 7.9998C1.71976 7.77839 1.73312 7.55698 1.75449 7.33824C1.85067 6.2979 2.16594 5.28956 2.69228 4.38793C2.8045 4.19587 2.7377 3.95312 2.54801 3.84108C2.35831 3.72904 2.11251 3.79573 2.00029 3.98513C1.29494 5.19887 0.920898 6.58599 0.920898 7.9998C0.920898 10.2859 1.90411 12.4706 3.61939 13.9885C3.69687 14.0551 3.79038 14.0898 3.88389 14.0898C3.99344 14.0898 4.10565 14.0445 4.18313 13.9564C4.19916 13.9378 4.21519 13.9164 4.22588 13.8951C4.32206 13.7324 4.29535 13.519 4.1484 13.3909C2.60412 12.0251 1.71976 10.0591 1.71976 7.9998Z"],["s","M11.8511 14.9623C11.7576 14.7943 11.5546 14.7142 11.3675 14.7809C9.79386 15.3438 8.02515 15.3384 6.45415 14.7623C6.26979 14.6956 6.06674 14.7729 5.97056 14.9383C5.95987 14.9597 5.94918 14.9783 5.9385 15.0023C5.86369 15.2104 5.96789 15.4398 6.17628 15.5145C7.05797 15.8373 7.98507 16 8.93355 16C9.88203 16 10.7717 15.8426 11.6374 15.5332C11.8458 15.4585 11.9553 15.2291 11.8805 15.021C11.8725 14.9997 11.8618 14.9783 11.8511 14.9597V14.9623Z"],["s","M14.5042 13.095C14.3492 12.9856 14.1382 12.9936 13.9966 13.1297C13.7374 13.3831 13.4595 13.6178 13.1656 13.8312C13.0053 13.9486 12.9572 14.162 13.0427 14.3327C13.0534 14.3514 13.0641 14.3728 13.0775 14.3914C13.1549 14.4981 13.2779 14.5568 13.4034 14.5568C13.4862 14.5568 13.5664 14.5328 13.6385 14.4795C13.9645 14.2447 14.2744 13.9806 14.5603 13.7005C14.7179 13.5458 14.7206 13.2924 14.5656 13.135C14.5469 13.1163 14.5256 13.1083 14.5069 13.095H14.5042Z"]],accounting:[["b","M11.2553 3.23154C11.3541 3.3062 11.4502 3.38085 11.5437 3.46084C11.4502 3.38085 11.3541 3.30353 11.2553 3.23154Z"],["b","M10.9723 3.03403C11.0203 3.06602 11.0657 3.09535 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403Z"],["b","M10.2806 2.64498C10.2806 2.64498 10.2966 2.65298 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498Z"],["b","M8.80657 2.16751C8.88134 2.18084 8.95345 2.19684 9.02822 2.21284C8.95612 2.19684 8.88134 2.18084 8.80657 2.16751Z"],["b","M11.2553 3.23154C11.2072 3.19688 11.1592 3.16201 11.1111 3.12735C11.0657 3.09535 11.0177 3.06336 10.9723 3.03403C10.7586 2.89539 10.537 2.76763 10.3047 2.65565C10.2966 2.65298 10.2886 2.64765 10.2806 2.64498C10.1231 2.57033 9.96015 2.50089 9.79458 2.43957C9.77856 2.43424 9.76519 2.42891 9.74917 2.42357C9.66372 2.39425 9.58095 2.36492 9.49282 2.33826C9.46879 2.33026 9.44475 2.32493 9.42072 2.31693C9.29254 2.27693 9.15902 2.24494 9.0255 2.21561C8.9534 2.19961 8.87863 2.18362 8.80385 2.17029C8.7638 2.16229 8.72374 2.15429 8.68368 2.14896C8.19233 2.0823 7.75171 2.47423 7.75171 2.97281V7.08408C7.75171 7.54266 8.12557 7.91593 8.58488 7.91593H12.7026C13.21 7.91593 13.6106 7.46534 13.5278 6.9641C13.3035 5.58834 12.5932 4.37256 11.5837 3.49805C11.5704 3.48738 11.557 3.47405 11.5437 3.46339C11.4502 3.3834 11.3541 3.30875 11.2553 3.2341L11.2553 3.23154Z"],["b","M13.3623 9.21185H10.3955C9.66111 9.21185 9.29259 10.0997 9.81065 10.6196L11.9096 12.7152C12.2647 13.0698 12.8603 13.0352 13.1513 12.6299C13.6694 11.91 14.0299 11.0675 14.1794 10.1557C14.2595 9.65977 13.8643 9.21185 13.3623 9.21185Z"],["b","M6.98267 9.73958C6.64353 9.40097 6.45394 8.94239 6.45394 8.46514V4.26322C6.45394 3.75931 6.0053 3.36471 5.5086 3.4447C2.5124 3.92995 0.282616 6.68412 0.64045 9.88622C0.669825 10.1555 0.725905 10.4195 0.792666 10.6781C1.34277 10.3128 2.00236 10.0968 2.71002 10.0968C4.62203 10.0968 6.17888 11.6512 6.17888 13.5602C6.17888 14.0855 6.05871 14.5814 5.84775 15.0266C5.85309 15.0266 5.85576 15.0266 5.8611 15.0266C7.35653 15.1733 8.75316 14.76 9.85871 13.9708C10.2753 13.6722 10.3153 13.0643 9.95216 12.7017L6.98534 9.73958H6.98267Z"],["s","M2.70734 11.1209C2.11451 11.1209 1.57776 11.3395 1.15584 11.6914C0.616413 12.1394 0.266602 12.8059 0.266602 13.5604C0.266602 14.9069 1.35879 16 2.71002 16C3.59659 16 4.36567 15.5228 4.79293 14.8162C5.01458 14.4483 5.15077 14.0217 5.15077 13.5604C5.15077 12.214 4.05857 11.1209 2.70734 11.1209Z"],["s","M15.6081 6.57749C14.9245 2.76751 11.6078 0 7.72238 0C7.50074 0 7.32182 0.178635 7.32182 0.399929C7.32182 0.455919 7.33517 0.509242 7.35654 0.5599C7.41796 0.701208 7.55949 0.799857 7.72238 0.799857C11.2179 0.799857 14.2035 3.29008 14.8203 6.7188C14.8951 7.13739 14.9325 7.56932 14.9325 7.99857C14.9325 8.16388 15.0313 8.30252 15.1728 8.36384C15.2209 8.38517 15.277 8.3985 15.333 8.3985C15.5547 8.3985 15.7336 8.21987 15.7336 7.99857C15.7336 7.52132 15.6909 7.04408 15.6081 6.57749Z"],["s","M3.07051 2.38615C3.15597 2.38615 3.24142 2.35949 3.31619 2.3035C3.7301 1.98356 4.1814 1.70894 4.65407 1.48498C4.88906 1.373 5.13473 1.27435 5.38308 1.18903C5.59137 1.11705 5.70353 0.890419 5.63143 0.67979C5.55933 0.471827 5.33235 0.359847 5.12139 0.431834C4.84633 0.525151 4.57395 0.637131 4.31225 0.759776C3.78617 1.00773 3.28681 1.31168 2.8275 1.66895C2.65125 1.80492 2.6192 2.05554 2.75539 2.22885C2.8355 2.33016 2.953 2.38349 3.07317 2.38349L3.07051 2.38615Z"]],communications:[["b","M12.3544 3.08246H7.26884L6.10078 7.48639C5.9701 7.97631 5.52475 8.31712 5.01806 8.31712C4.83405 8.31712 4.65271 8.27186 4.4927 8.18399L3.60999 7.71271V8.91354C3.60999 9.98124 4.4767 10.8466 5.54609 10.8466H7.10083L9.53829 12.5959C9.69297 12.7051 9.91165 12.5959 9.91165 12.4149V10.8466H12.5998C13.4345 9.82681 13.9359 8.5248 13.9359 7.10564C13.9359 5.5853 13.3625 4.16081 12.3571 3.0798L12.3544 3.08246Z"],["s","M3.3753 6.66599L3.60731 6.78847L4.87671 7.46477C4.92205 7.48873 4.97004 7.49938 5.01804 7.49938C5.14872 7.49938 5.27407 7.41152 5.3114 7.27573L6.72213 1.95587C6.77547 1.75351 6.61546 1.57512 6.43145 1.57512C6.39144 1.57512 6.34878 1.5831 6.30611 1.60174L0.183123 4.40279C-0.0568892 4.51196 -0.0568801 4.8288 0.159131 4.94596L1.43919 5.63024L4.95671 3.12741C4.97271 3.11676 4.98604 3.11143 5.00204 3.11143C5.06071 3.11143 5.10872 3.18865 5.05538 3.2419L2.07123 6.30388L1.97522 7.31034C1.95656 7.5127 2.1139 7.64849 2.27658 7.64849C2.35125 7.64849 2.42591 7.62186 2.48725 7.55796L3.3753 6.66599Z"],["s","M8.32759 14.2892C7.99691 14.3051 7.66356 14.2945 7.33021 14.2652C7.01286 14.2359 6.6955 14.1853 6.38615 14.1161C6.17014 14.0682 5.9568 14.2013 5.90613 14.417C5.85546 14.6326 5.99147 14.8456 6.20748 14.8962C6.79151 15.0294 7.3942 15.0986 7.99957 15.0986C8.12224 15.0986 8.24226 15.0986 8.36226 15.0906C8.58361 15.0799 8.75428 14.8936 8.74361 14.6726C8.74361 14.6459 8.73827 14.6193 8.73294 14.5954C8.69027 14.4143 8.5276 14.2838 8.32492 14.2918L8.32759 14.2892Z"],["s","M13.1492 0.994679C12.9812 0.853561 12.7278 0.874862 12.5865 1.04261C12.5678 1.06391 12.5545 1.08521 12.5412 1.10917C12.4505 1.27159 12.4852 1.48193 12.6345 1.60707C14.2639 2.97831 15.2 4.98324 15.2 7.10799C15.2 10.1194 13.2985 12.8352 10.4664 13.8657C10.285 13.9322 10.181 14.1159 10.2077 14.2997C10.2104 14.3263 10.2184 14.3502 10.2264 14.3769C10.285 14.5393 10.4397 14.6405 10.6024 14.6405C10.6477 14.6405 10.6931 14.6325 10.7384 14.6165C13.8852 13.4716 16 10.4549 16 7.10799C16 4.74627 14.9599 2.51768 13.1492 0.994679Z"],["s","M4.65802 13.477C4.08199 13.1761 3.54863 12.7953 3.07127 12.3507C2.91126 12.1989 2.65792 12.2069 2.50591 12.3693C2.3539 12.5291 2.3619 12.782 2.52458 12.9338C3.05261 13.429 3.64463 13.8497 4.28466 14.1852C4.34333 14.2172 4.40734 14.2305 4.47134 14.2305C4.61535 14.2305 4.75403 14.1533 4.82603 14.0175C4.92737 13.8231 4.8527 13.5808 4.65802 13.477Z"]],home:[["b","M5.68656 15.0234V12.5739C5.68656 11.9495 6.20426 11.4372 6.8352 11.4372H9.15676C9.46414 11.4372 9.75535 11.5573 9.97375 11.7654C10.1922 11.9736 10.3135 12.2617 10.3135 12.5659V15.0154C10.3135 15.2795 10.4186 15.5277 10.6047 15.7118C10.7907 15.8959 11.0415 16 11.3084 16H12.8939C13.63 16 14.3418 15.7118 14.8676 15.1995C15.3934 14.6872 15.6846 13.9908 15.6846 13.2623V6.29816C15.6846 5.70581 15.4177 5.15348 14.9566 4.77725L9.56121 0.542719C8.62288 -0.201726 7.2801 -0.177712 6.36604 0.598753L1.10007 4.76925C0.622814 5.13747 0.331608 5.6898 0.31543 6.29016V13.2543C0.31543 14.7752 1.56923 16.008 3.10615 16H4.65925C5.2093 16 5.6542 15.5677 5.66229 15.0234H5.68656Z"]],websites:[["b","M12.4497 12.1146L11.5056 9.25328C11.3802 8.87728 11.4442 8.46128 11.6763 8.14128C11.9083 7.81861 12.2844 7.62661 12.6791 7.62661C12.8284 7.62661 12.9751 7.65328 13.1165 7.70661L14.61 8.26928V5.72795C14.61 3.75728 13.3405 2.43194 11.4522 2.43194H5.95282C3.68584 3.26661 2.06429 5.44794 2.06429 7.99994C2.06429 10.5519 3.68584 12.7333 5.95282 13.5706H11.4522C12.2284 13.5706 12.8951 13.3439 13.4178 12.9466C12.9725 12.8693 12.5964 12.5573 12.4524 12.1146H12.4497ZM8.31048 5.05061H11.8416C12.087 5.05061 12.2844 5.24794 12.2844 5.49328C12.2844 5.73861 12.087 5.93594 11.8416 5.93594H8.31048C8.06511 5.93594 7.86775 5.73861 7.86775 5.49328C7.86775 5.24794 8.06511 5.05061 8.31048 5.05061ZM6.03283 5.93594H5.00603C4.76066 5.93594 4.5633 5.73861 4.5633 5.49328C4.5633 5.24794 4.76066 5.05061 5.00603 5.05061H6.03283C6.2782 5.05061 6.47556 5.24794 6.47556 5.49328C6.47556 5.73861 6.2782 5.93594 6.03283 5.93594ZM8.91856 10.8906C8.58251 10.9813 8.23313 11.3306 8.14245 11.6666C8.05177 12.0026 7.90242 12.0026 7.81174 11.6666C7.72107 11.3306 7.37168 10.9813 7.03563 10.8906C6.69959 10.7999 6.69959 10.6506 7.03563 10.5599C7.37168 10.4693 7.72107 10.1199 7.81174 9.78394C7.90242 9.44794 8.05177 9.44794 8.14245 9.78394C8.23313 10.1199 8.58251 10.4693 8.91856 10.5599C9.25461 10.6506 9.25461 10.7999 8.91856 10.8906ZM9.96137 7.86661C9.76935 7.91728 9.56932 8.11728 9.51864 8.30928C9.46797 8.50128 9.38263 8.50128 9.32929 8.30928C9.27861 8.11728 9.07859 7.91728 8.88656 7.86661C8.69453 7.81594 8.69453 7.73061 8.88656 7.67728C9.07859 7.62661 9.27861 7.42661 9.32929 7.23461C9.37996 7.04261 9.4653 7.04261 9.51864 7.23461C9.56932 7.42661 9.76935 7.62661 9.96137 7.67728C10.1534 7.72794 10.1534 7.81328 9.96137 7.86661Z"],["s","M15.8449 11.3546L15.2101 10.6933L15.7462 10.1786C15.9329 9.99996 15.8689 9.68529 15.6262 9.59463L12.8044 8.53596C12.7618 8.51996 12.7191 8.51196 12.6791 8.51196C12.4524 8.51196 12.2657 8.73863 12.3457 8.97596L13.2898 11.8373C13.3405 11.992 13.4819 12.08 13.6259 12.08C13.7112 12.08 13.7992 12.048 13.8686 11.9813L14.4047 11.4666L14.4233 11.4853L15.0394 12.128C15.1488 12.2426 15.2955 12.2986 15.4421 12.2986C15.5888 12.2986 15.7195 12.248 15.8289 12.144C16.0502 11.9306 16.0582 11.5786 15.8449 11.3573V11.3546Z"],["s","M5.38741 0.933334C5.45675 1.06133 5.5901 1.144 5.73412 1.144C5.77413 1.144 5.81414 1.13867 5.85414 1.12533C6.54757 0.909333 7.26767 0.8 8.0011 0.8C8.16646 0.8 8.30514 0.701333 8.36648 0.56C8.38782 0.512 8.40116 0.456 8.40116 0.4C8.39849 0.178667 8.2198 0 7.99844 0C7.18499 0 6.38222 0.122667 5.61411 0.362667C5.40341 0.429333 5.28606 0.653333 5.35007 0.864C5.35807 0.890667 5.37407 0.912 5.38474 0.936L5.38741 0.933334Z"],["s","M10.8975 14.5946C10.5321 14.7546 10.1534 14.8853 9.76935 14.9813C9.41196 15.072 9.04392 15.1306 8.6732 15.1653C8.44917 15.1866 8.22513 15.2 8.0011 15.2C4.02989 15.2 0.80011 11.9706 0.80011 7.99995C0.80011 5.57062 2.01361 3.31995 4.04589 1.98395C4.20591 1.87729 4.26726 1.67462 4.19791 1.50129C4.18725 1.47729 4.17657 1.45062 4.16057 1.42929C4.03789 1.24529 3.78986 1.19462 3.60583 1.31462C1.34952 2.80262 0 5.30129 0 7.99995C0 12.4106 3.58982 16 8.0011 16C8.66519 16 9.32662 15.9173 9.96404 15.7573C10.3934 15.648 10.8148 15.504 11.2202 15.3253C11.4229 15.2373 11.5136 15 11.4256 14.7973C11.3376 14.5946 11.1002 14.504 10.8975 14.592V14.5946Z"]],media:[["s","M13.3769 1.69224H9.37286C8.42651 1.69224 7.67209 2.0968 7.22157 2.7755H9.17026C11.3429 2.7755 12.8624 4.34317 12.8624 6.58421V10.6431C12.8624 10.7363 12.857 10.8294 12.8517 10.9199H13.3795C14.947 10.9199 16 9.82334 16 8.18914V4.42035C16 2.78881 14.947 1.68958 13.3822 1.68958L13.3769 1.69224ZM14.8137 8.86518C14.8137 9.0994 14.6245 9.28837 14.3899 9.28837H13.99C13.7554 9.28837 13.5661 9.0994 13.5661 8.86518V8.46594C13.5661 8.23172 13.7554 8.04275 13.99 8.04275H14.3899C14.6245 8.04275 14.8137 8.23172 14.8137 8.46594V8.86518ZM14.8137 6.50703C14.8137 6.74124 14.6245 6.93022 14.3899 6.93022H13.99C13.7554 6.93022 13.5661 6.74124 13.5661 6.50703V6.10779C13.5661 5.87357 13.7554 5.6846 13.99 5.6846H14.3899C14.6245 5.6846 14.8137 5.87357 14.8137 6.10779V6.50703ZM14.8137 4.14887C14.8137 4.38309 14.6245 4.57206 14.3899 4.57206H13.99C13.7554 4.57206 13.5661 4.38309 13.5661 4.14887V3.74964C13.5661 3.51542 13.7554 3.32645 13.99 3.32645H14.3899C14.6245 3.32645 14.8137 3.51542 14.8137 3.74964V4.14887Z"],["s","M13.0277 13.3367C13.0117 13.3154 12.993 13.2968 12.9744 13.2808C12.8331 13.1584 12.6198 13.1504 12.4679 13.2728C11.1856 14.2896 9.63946 14.8272 7.99734 14.8272C7.80274 14.8272 7.64013 14.9656 7.60547 15.1493C7.60014 15.1732 7.59747 15.1998 7.59747 15.2264C7.59747 15.4473 7.77608 15.6257 7.99734 15.6257C9.82074 15.6257 11.5375 15.0295 12.9637 13.8983C13.137 13.7626 13.1663 13.5097 13.0277 13.3367Z"],["s","M0.799735 7.63816C0.799735 9.27768 1.34889 10.832 2.34056 12.0856L2.34082 12.0862C2.68198 12.5172 3.07376 12.9137 3.51616 13.2649C3.52821 13.2729 3.53874 13.284 3.5489 13.2946C3.5521 13.298 3.55526 13.3013 3.55841 13.3044L3.55882 13.3046C3.67345 13.4271 3.70011 13.6054 3.62547 13.7544C3.61214 13.7784 3.5988 13.8024 3.58014 13.8236C3.50284 13.9248 3.38555 13.9754 3.26825 13.9754C3.18295 13.9754 3.09498 13.9461 3.02034 13.8875C1.10097 12.3624 0 10.0841 0 7.63816C0 4.56138 1.80207 1.72415 4.59048 0.411991C4.79041 0.318836 5.03033 0.404007 5.12363 0.603624C5.21694 0.803242 5.13163 1.04278 4.9317 1.13594C4.71843 1.23708 4.51317 1.35153 4.31057 1.4713C2.15929 2.7595 0.799735 5.107 0.799735 7.63816Z"],["s","M5.99268 14.5423C5.57148 14.4199 5.16095 14.2602 4.76908 14.0633C4.59581 13.9781 4.39321 14.026 4.27591 14.1724C4.25992 14.1937 4.24392 14.2176 4.23059 14.2416C4.13196 14.4385 4.21193 14.6781 4.4092 14.7766C4.84372 14.9948 5.30224 15.1731 5.76875 15.3089C5.80607 15.3195 5.84339 15.3248 5.88071 15.3248C6.05399 15.3248 6.21393 15.2104 6.26458 15.0374C6.27258 15.0108 6.27792 14.9842 6.27792 14.9575C6.29391 14.7712 6.17661 14.5956 5.99001 14.5423H5.99268Z"],["b","M3.6654 11.6783C3.87599 11.4148 4.08926 11.146 4.29719 10.8851L4.31585 10.8612C4.66773 10.4167 4.92631 10.2251 5.17423 10.2251C5.2542 10.2251 5.33152 10.241 5.40349 10.2756C5.54745 10.3448 5.68606 10.4274 5.81402 10.5178C6.09126 10.7441 6.43248 10.8798 6.78969 10.9091C7.00029 10.9064 7.20822 10.8479 7.39216 10.7414C7.53345 10.6483 7.65874 10.5391 7.78137 10.4247C8.01862 10.1985 8.22122 9.93497 8.36784 9.63953V9.63421L8.42115 9.54904C8.50113 9.41596 8.57844 9.29086 8.66641 9.17109C8.82102 8.94486 9.07161 8.79848 9.34352 8.77186C9.47681 8.77186 9.61009 8.81444 9.72205 8.88897C10.0606 9.11786 10.3725 9.38402 10.6524 9.68478C10.7644 9.79656 10.8497 9.92698 10.9083 10.0734C10.9936 10.3502 11.007 10.6403 10.9616 10.9224C10.9323 11.0981 10.887 11.2711 10.8097 11.4361C10.6044 11.9311 10.1939 12.3144 9.68474 12.4847C9.46348 12.554 9.23155 12.5912 8.99963 12.5912C8.9943 12.5912 8.98897 12.5912 8.98364 12.5912H4.79036C4.79036 12.5912 4.76637 12.5912 4.75304 12.5912C5.68607 13.2034 6.80303 13.5627 7.99996 13.5627C9.26621 13.5627 10.4658 13.1714 11.4681 12.4475C11.7507 12.0296 11.9267 11.5133 11.9693 10.9251C11.9773 10.8319 11.9933 10.7441 11.9933 10.6483V6.58937C11.9933 4.83007 10.8603 3.64834 9.1729 3.64834H4.85967C4.23854 3.64834 3.69206 3.81069 3.24954 4.1008C2.49512 5.11486 2.0686 6.35515 2.0686 7.64069C2.0686 9.20037 2.6764 10.6217 3.66807 11.681L3.6654 11.6783ZM5.7687 5.70041C6.1819 5.70041 6.54178 5.91333 6.75238 6.23272C6.875 6.41903 6.94697 6.63994 6.94697 6.87682C6.94697 7.1137 6.875 7.33461 6.75238 7.52092C6.54178 7.84031 6.17923 8.05324 5.7687 8.05324C5.11825 8.05324 4.59042 7.52624 4.59042 6.87682C4.59042 6.2274 5.11825 5.70041 5.7687 5.70041Z"]],equip:[["g","M9.06176 15.1446C8.67491 15.2004 8.2831 15.225 7.89527 15.2155C7.53402 15.208 7.17102 15.1674 6.81174 15.1035C6.59453 15.0653 6.37939 15.0195 6.16772 14.9612C2.41567 13.9265 0.204248 10.0384 1.23722 6.29226C1.86921 4.00031 3.60125 2.19306 5.86894 1.46208C6.04788 1.40313 6.15856 1.22791 6.13814 1.04631C6.1343 1.02089 6.13116 0.992951 6.12159 0.968655C6.05354 0.763098 5.83238 0.650678 5.62729 0.715948C3.1084 1.53197 1.18332 3.53776 0.481265 6.08381C-0.666172 10.2451 1.79177 14.5667 5.9596 15.7159C6.58704 15.8889 7.23347 15.9833 7.87734 15.9984C8.31148 16.0071 8.74707 15.981 9.17657 15.9181C9.39097 15.8878 9.53839 15.6876 9.50795 15.4734C9.47752 15.2593 9.27685 15.1119 9.06245 15.1421L9.06176 15.1446Z"],["g","M15.5288 11.3818C15.7924 11.3818 15.8016 11.6183 15.8016 11.8885C15.8015 12.6573 15.1198 13.7406 13.6199 13.7406H6.9387C6.79392 13.7129 6.65811 13.6821 6.52968 13.6467C5.18433 13.2757 4.08499 12.4498 3.35144 11.3818H15.5288Z"],["g","M11.4537 2.73292C11.7309 2.73293 11.9941 2.76302 12.2415 2.82098L10.9979 4.0962H5.93112C4.94246 4.09622 4.41117 4.36103 4.13164 4.6294C3.85819 4.89196 3.64732 5.3289 3.64728 6.05219V9.23181H13.192V7.36594C13.3782 7.25902 13.5631 7.12488 13.73 6.95382L14.5556 6.10723V10.5954H2.89805C2.33302 9.4063 2.17537 8.01827 2.55129 6.65489C3.06099 4.80652 4.45575 3.35038 6.28681 2.76009L6.29129 2.75872L6.29507 2.75734C6.31848 2.74963 6.34166 2.74152 6.36456 2.73292H11.4537Z"],["g","M6.36937 5.93798C6.40588 5.93798 6.44263 5.96327 6.46088 6.00059C6.46322 6.01144 6.5692 6.49675 6.77736 6.70958C6.98689 6.92367 7.46609 7.03187 7.47087 7.03294C7.50731 7.05162 7.53141 7.08923 7.53141 7.12651C7.53135 7.16374 7.50726 7.20108 7.47087 7.21354C7.46725 7.21439 6.98697 7.32714 6.77736 7.5431C6.56774 7.75925 6.46088 8.25243 6.46088 8.25243C6.44262 8.28974 6.40587 8.3147 6.36937 8.3147C6.33295 8.31465 6.2966 8.28965 6.28441 8.25243C6.28441 8.25243 6.17384 7.75814 5.96173 7.5431C5.75127 7.32984 5.27271 7.22076 5.26822 7.21974C5.23178 7.2011 5.21358 7.16378 5.21353 7.12651C5.21353 7.0892 5.23173 7.0516 5.26822 7.03294C5.27323 7.03181 5.7514 6.92274 5.96173 6.70958C6.17181 6.49659 6.28232 6.00987 6.28441 6.00059C6.29656 5.9633 6.3329 5.93803 6.36937 5.93798Z"],["g","M14.0585 2.51482C14.3328 2.2406 14.8974 2.12572 15.1717 2.39992L15.5996 2.82786C15.8739 3.10217 15.759 3.6671 15.4847 3.9414L12.9556 6.4705C12.5446 6.88152 11.857 7.00099 11.3027 7.11654C11.0301 7.17327 10.8421 6.97997 10.8937 6.70717C10.9821 6.23905 11.1184 5.45511 11.5291 5.04427L14.0585 2.51482Z"],["g","M8.84619 4.68444C8.86979 4.68447 8.89356 4.7009 8.90536 4.72503C8.90717 4.73342 8.97565 5.04653 9.11004 5.18393C9.24492 5.32167 9.55227 5.39165 9.55862 5.39309C9.58219 5.40513 9.59811 5.42919 9.59818 5.45329C9.59818 5.47744 9.58224 5.50165 9.55862 5.5097C9.55277 5.51108 9.2449 5.58407 9.11004 5.72298C8.97602 5.86117 8.90699 6.17442 8.90536 6.18188C8.89356 6.20601 8.86979 6.2221 8.84619 6.22213C8.82258 6.22212 8.79902 6.20602 8.79115 6.18188C8.78984 6.17604 8.71831 5.86084 8.58234 5.72298C8.4455 5.58437 8.13342 5.51383 8.13342 5.51383C8.10989 5.50173 8.09833 5.47739 8.09833 5.45329C8.09838 5.42924 8.10995 5.40516 8.13342 5.39309C8.13342 5.39309 8.44549 5.32254 8.58234 5.18393C8.71806 5.04634 8.78958 4.73202 8.79115 4.72503C8.79902 4.70089 8.82258 4.68445 8.84619 4.68444Z"],["g","M8.07451 0.864748C8.39523 0.815523 8.72126 0.791981 9.04918 0.786607C9.36151 0.782861 9.67601 0.799878 9.9846 0.835877C10.2 0.860612 10.3945 0.709129 10.4219 0.493742C10.4493 0.278355 10.2951 0.0845615 10.0794 0.0572311C9.49653 -0.0131055 8.90199 -0.0192525 8.31189 0.0423538C8.19232 0.0548379 8.07533 0.0670516 7.95916 0.0870506C7.74448 0.119958 7.59708 0.319007 7.62997 0.533343C7.63268 0.559298 7.64059 0.584708 7.64823 0.607524C7.70825 0.779672 7.88009 0.890294 8.07684 0.861882L8.07451 0.864748Z"]]}},T8={base:{x1:3.74627,y1:2.1136,x2:14.0711,y2:11.6765},rippled:{x1:3.85239,y1:.390812,x2:16.4219,y2:9.17281}};function Rv(e,t,r,n){return r==="mono"?"currentColor":t==="g"?`url(#${n})`:`var(${`--module-${e}-${r==="one-color"?"base":t==="s"?"subtle":"base"}`}, var(--module-${e}-base))`}function Ml({module:e,size:t=O0,color:r="two-color",treatment:n="base",title:o,style:i,...a}){let l=`pw-equip-${(0,L8.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`,d=(P8[n]||P8.base)[e];if(!d)return null;let u=r==="full"?"two-color":r;n==="rippled"&&u==="one-color"&&(u="two-color");let p=u!=="mono"&&d.some(([y])=>y==="g"),b=u==="mono"?{}:Lv,g=T8[n]||T8.base;return(0,ko.jsxs)("svg",{width:t,height:t,viewBox:`0 0 ${O0} ${O0}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:o?"img":void 0,"aria-hidden":o?void 0:!0,"aria-label":o,style:{display:"block",flex:"0 0 auto",...b,...i},...a,children:[o&&(0,ko.jsx)("title",{children:o}),p&&(0,ko.jsx)("defs",{children:(0,ko.jsxs)("linearGradient",{id:l,x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,gradientUnits:"userSpaceOnUse",children:[(0,ko.jsx)("stop",{stopColor:"var(--module-equip-from)"}),(0,ko.jsx)("stop",{offset:"1",stopColor:"var(--module-equip-to)"})]})}),d.map(([y,$],m)=>(0,ko.jsx)("path",{d:$,fill:Rv(e,y,u,l)},m))]})}var B=S(he(),1);Xn();if(typeof document<"u"&&!document.getElementById("pds-topnav-motion")){let e=document.createElement("style");e.id="pds-topnav-motion",e.textContent="@keyframes tnSearchExpand{from{clip-path:inset(0 0 0 calc(100% - 48px));opacity:.6}to{clip-path:inset(0 0 0 0);opacity:1}}@media (prefers-reduced-motion: reduce){@keyframes tnSearchExpand{from{clip-path:inset(0);opacity:1}to{clip-path:inset(0);opacity:1}}}",document.head.appendChild(e)}var M8=e=>`var(--semantic-color-${e})`,vt=M8,Po=M8,B0=e=>`var(--responsive-layout-${e})`,Xe=e=>`var(--semantic-layout-units-${e})`,_v=e=>`var(--contextual-layout-units-${e})`,Q={navBg:Po("fill-surface-chrome"),orgStroke:vt("stroke-action-ghost-rest"),orgStrokeHover:vt("stroke-action-ghost-hover"),orgStrokePressed:vt("stroke-action-ghost-pressed"),searchFill:vt("fill-action-ghost-rest"),controlHover:vt("fill-action-ghost-hover"),controlPressed:vt("fill-action-ghost-pressed"),noLogoBg:vt("fill-action-secondary-rest"),monoBase:vt("foreground-action-ghost-rest"),monoHover:vt("foreground-action-ghost-hover"),monoPressed:vt("foreground-action-ghost-pressed"),orgText:vt("foreground-action-ghost-rest"),orgChevron:vt("foreground-action-ghost-rest"),orgSubText:vt("foreground-action-ghost-rest"),avatarBg:vt("fill-action-primary-subtle-rest"),avatarBgHover:vt("fill-action-primary-subtle-hover"),avatarBgPressed:vt("fill-action-primary-subtle-pressed"),avatarText:vt("foreground-action-primary-on-subtle-rest"),avatarTextHover:vt("foreground-action-primary-on-subtle-hover"),avatarTextPressed:vt("foreground-action-primary-on-subtle-pressed"),panelBg:Po("fill-static-neutral-faint"),activeItem:Po("fill-action-primary-subtle-rest"),itemText:Po("foreground-static-neutral-bold"),itemTextBase:Po("foreground-static-neutral-base"),itemMeta:Po("foreground-static-neutral-base"),signOut:Po("foreground-action-status-negative-on-subtle-rest"),panelBorder:Po("stroke-static-neutral-base"),panelShadow:"var(--elevation-lift)",panelDivider:Po("stroke-static-neutral-faint")},A={navPadH:B0("topnav-padding-horizontal"),navPadV:B0("topnav-padding-vertical"),navH:_v("topnav-height"),navGap:B0("topnav-gap-horizontal"),touchTarget:48,modInnerH:36,orgAvatarNav:16,orgAvatarSm:24,orgAvatarPanel:32,searchPill:32,avatarSize:32,modPadL:Xe("padding-xxtight"),profilePad:Xe("padding-xxxtight"),orgPadV:Xe("padding-xxtight"),orgPadL:Xe("padding-tight"),orgPadMobileR:Xe("padding-xxxtight"),orgPadMobileL:Xe("padding-xtight"),slotPadV:Xe("padding-xxtight"),slotPadNarrow:Xe("padding-xxxtight"),orgMainMax:308,orgMainMaxMobile:102,orgNameMax:200,orgCampusMax:72,orgNameMaxMobile:52,moduleMark:16,moduleMarkBox:20,chevronGlyph:12,modChevronBox:20,orgChevronBox:24,actionIconBox:28,actionIconGlyph:16,actionTarget:Xe("accessibility-touch-target-aa-width"),takeoverExit:Xe("accessibility-touch-target-aa-width"),takeoverExitGlyph:24,radius:Xe("cornerradius-base"),radiusSm:Xe("cornerradius-small")},I8=new Set(["the","a","an","of","in","at","for","and","or","but"]);function Mv(e){if(!e)return"???";let t=e.replace(/-/g," ").split(/\s+/).filter(r=>!I8.has(r.toLowerCase()));return t.length>=3?(t[0][0]+t[1][0]+t[2][0]).toUpperCase():t.length===2?(t[0][0]+t[1][0]+t[1][0]).toUpperCase():t[0].slice(0,3).toUpperCase()}var Iv=["ville","field","burg","burgh","berg","town","port","ford","wood","land","dale","view","gate","bridge","worth","shire"];function Nv(e){if(!e)return"";let t=e.replace(/-/g," ").split(/\s+/).filter(o=>!I8.has(o.toLowerCase()));if(!t.length)return e.slice(0,2).toUpperCase();if(t.length>=2)return(t[0][0]+t[1][0]).toUpperCase();let r=t[0],n=r.toLowerCase();for(let o of Iv)if(n.endsWith(o)&&r.length>o.length+1)return(r[0]+o[0]).toUpperCase();return(r[0]+r[r.length-1]).toUpperCase()}function Dv(e,t){let r=Mv(e);return t?`${r} | ${Nv(t)}`:r}var z0=R8.map(e=>({id:e,label:_8[e]})),Fv=[{icon:"help",label:"Help"},{icon:"settings",label:"Settings"},{icon:"notifications_unread",label:"Notifications"}],Hv=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target));function K0({icon:e,label:t,onClick:r}){let[n,o]=(0,Nt.useState)(!1),[i,a]=(0,Nt.useState)(!1),s=i?Q.controlPressed:n?Q.controlHover:"transparent",l=i?Q.monoPressed:n?Q.monoHover:Q.monoBase;return(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.actionTarget,height:A.actionTarget,flexShrink:0},children:(0,B.jsx)("button",{className:Wi,type:"button","aria-label":t,onClick:r,onMouseEnter:()=>o(!0),onMouseLeave:()=>{o(!1),a(!1)},onMouseDown:()=>a(!0),onMouseUp:()=>a(!1),onBlur:()=>a(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:0,background:"transparent",border:"none",cursor:"pointer"},children:(0,B.jsx)("span",{"data-pw-ring-target":"",style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.actionIconBox,height:A.actionIconBox,borderRadius:A.radius,background:s,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:e,size:A.actionIconGlyph,style:{color:l,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"}})})})})}function Av({breakpoint:e="desktop",actions:t,onNotifications:r,onMore:n}){let o=(t||Fv).map(i=>({...i,onClick:i.onClick||(i.icon==="notifications_unread"?r:void 0)}));return e==="mobile"&&o.length>1?(0,B.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,B.jsx)(K0,{icon:"more_vert",label:"More actions",onClick:n})}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center"},children:o.map((i,a)=>(0,B.jsx)(K0,{...i},`${i.icon}-${a}`))})}var N8={hover:Q.monoHover,pressed:Q.monoPressed,layerHover:Q.controlHover,layerPress:Q.controlPressed};function D8({user:e,open:t,onToggle:r,mobile:n=!1}){let[o,i]=(0,Nt.useState)(!1);return(0,B.jsx)("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",minHeight:A.touchTarget,minWidth:A.touchTarget},children:(0,B.jsx)("button",{className:Wi,onClick:r,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),"aria-haspopup":"true","aria-expanded":t,"aria-label":`Account: ${e.name}`,style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.touchTarget,height:A.touchTarget,boxSizing:"border-box",background:"transparent",border:"none",borderRadius:"50%",cursor:"pointer",padding:A.profilePad,transition:"background var(--motion-duration-2) var(--motion-easing-standard)"},children:(0,B.jsx)("div",{"data-pw-ring-target":"",style:{width:A.avatarSize,height:A.avatarSize,borderRadius:"50%",background:t?Q.avatarBgPressed:o?Q.avatarBgHover:Q.avatarBg,display:"flex",alignItems:"center",justifyContent:"center",transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)",fontFamily:"var(--semantic-type-family-brand)",fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:t?Q.avatarTextPressed:o?Q.avatarTextHover:Q.avatarText,flexShrink:0,overflow:"hidden"},children:e.avatarUrl?(0,B.jsx)("img",{src:e.avatarUrl,alt:"",style:{width:"100%",height:"100%",objectFit:"cover"}}):e.initials})})})}function Ov({org:e,open:t,onToggle:r,mobile:n=!1,showCampus:o=!1}){let[i,a]=(0,Nt.useState)(!1),[s,l]=(0,Nt.useState)(!1),c=e.logoUrl&&!s,d=n?e.shortName||Dv(e.name,o?e.campus:null):e.name,u=!n&&o&&e.campus?e.campus:null,p=t?Q.monoPressed:i?Q.monoHover:Q.monoBase,b={fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},g={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0};return(0,B.jsx)("div",{style:{position:"relative",minWidth:0,padding:n?`${A.slotPadV} ${A.slotPadNarrow}`:A.slotPadV},children:(0,B.jsxs)("button",{className:wu,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),onClick:r,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",minHeight:A.modInnerH,boxSizing:"border-box",minWidth:0,maxWidth:n?A.orgMainMaxMobile:A.orgMainMax,padding:n?`${A.orgPadV} ${A.orgPadMobileR} ${A.orgPadV} ${A.orgPadMobileL}`:`${A.orgPadV} ${A.orgPadV} ${A.orgPadV} ${A.orgPadL}`,borderRadius:A.radius,background:t?Q.controlPressed:i?Q.controlHover:"transparent",border:"none",boxShadow:`inset 0 0 0 ${t||i?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${t?Q.orgStrokePressed:i?Q.orgStrokeHover:Q.orgStroke}`,cursor:"pointer",color:p,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",height:n?20:24,minWidth:0},children:[c&&(0,B.jsx)("div",{style:{width:A.orgAvatarSm,height:A.orgAvatarSm,padding:"var(--semantic-layout-units-padding-xxxtight)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,B.jsx)("div",{style:{width:A.orgAvatarNav,height:A.orgAvatarNav,borderRadius:A.radiusSm,border:`1px solid ${vt("stroke-action-primary-strong-rest")}`,boxSizing:"border-box",background:"transparent",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative",flexShrink:0},children:(0,B.jsx)("img",{src:e.logoUrl,alt:"",onError:()=>l(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",minWidth:0},children:[(0,B.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:n?A.orgNameMaxMobile:A.orgNameMax,color:p,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d}),u&&(0,B.jsx)("span",{"aria-hidden":"true",style:{...b,...g,maxWidth:A.orgCampusMax,flexShrink:0,color:t?Q.monoPressed:i?Q.monoHover:Q.orgSubText,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:`| ${u}`})]})]}),(0,B.jsx)("span",{style:{width:n?A.modChevronBox:A.orgChevronBox,height:n?A.modChevronBox:A.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.orgChevron}})})]})})}function Bv({modules:e,activeId:t,open:r,onToggle:n,breakpoint:o="desktop",type:i="interactive"}){let[a,s]=(0,Nt.useState)(!1),[l,c]=(0,Nt.useState)(!1),d=e.find(y=>y.id===t)||e[0],u=o==="desktop",p=i==="static",b=p?Q.monoBase:r||l?Q.monoPressed:a?Q.monoHover:Q.monoBase,g=(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[(0,B.jsx)("div",{style:{width:A.moduleMarkBox,height:A.moduleMarkBox,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:Q.monoBase},children:(0,B.jsx)(Ml,{module:d.id,size:A.moduleMark,color:"mono"})}),u&&(0,B.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:160,color:b,transition:"color var(--motion-duration-2) var(--motion-easing-standard)"},children:d.label})]});return p?(0,B.jsx)("div",{style:{position:"relative",padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsx)("div",{"aria-label":`Current module: ${d.label}`,style:{display:"flex",alignItems:"center",maxHeight:A.modInnerH,minHeight:A.modInnerH,padding:`0 0 0 ${A.modPadL}`,borderRadius:A.radius,background:"transparent",border:"none",boxSizing:"border-box",color:Q.monoBase,fontFamily:"inherit",cursor:"default"},children:g})}):(0,B.jsx)("div",{style:{position:"relative",padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:jr,onMouseEnter:()=>s(!0),onMouseLeave:()=>{s(!1),c(!1)},onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onBlur:()=>c(!1),onClick:n,"aria-haspopup":"listbox","aria-expanded":r,"aria-label":`Switch module: ${d.label}`,style:{display:"flex",alignItems:"center",gap:u?"var(--semantic-layout-units-gap-xxxtight)":0,maxHeight:A.modInnerH,minHeight:A.modInnerH,padding:`0 0 0 ${A.modPadL}`,borderRadius:A.radius,background:r||l?Q.controlPressed:a?Q.controlHover:"transparent",border:"none",boxSizing:"border-box",cursor:"pointer",color:Q.monoBase,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[g,(0,B.jsx)("div",{style:{width:A.modChevronBox,height:A.modChevronBox,display:"flex",alignItems:"center",justifyContent:"center",transform:r?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.monoBase}})})]})})}function F8({user:e}){return(0,B.jsxs)("div",{role:"menu","data-theme":"light",style:{position:"absolute",top:"calc(100% + 4px)",right:A.navPadH,width:200,background:Q.panelBg,border:`1px solid ${Q.panelBorder}`,borderRadius:A.radius,boxShadow:Q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:[(0,B.jsxs)("div",{style:{padding:" ",borderBottom:`1px solid ${Q.panelDivider}`,marginBottom:4},children:[(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,color:Q.itemText},children:e.name}),(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-xxs)",color:Q.itemMeta,marginTop:1},children:e.email})]}),["Profile settings","Settings"].map(t=>(0,B.jsx)("button",{className:Za,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:Q.itemTextBase,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:t},t)),(0,B.jsx)("button",{className:Za,role:"menuitem",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",fontFamily:"inherit",fontSize:"var(--semantic-type-font-size-s)",color:Q.signOut,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:"Sign out"})]})}var Kv={search:["M11 17.5C14.5899 17.5 17.5 14.5899 17.5 11C17.5 7.41015 14.5899 4.5 11 4.5C7.41015 4.5 4.5 7.41015 4.5 11C4.5 14.5899 7.41015 17.5 11 17.5Z","M20 20L15.8 15.8"],help:["M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z","M9.5 9.49999C9.50157 9.04964 9.62476 8.60808 9.85656 8.22196C10.0884 7.83584 10.4202 7.5195 10.8169 7.30638C11.2136 7.09325 11.6606 6.99125 12.1105 7.01116C12.5604 7.03106 12.9966 7.17212 13.3729 7.41945C13.7493 7.66677 14.0519 8.01117 14.2487 8.41625C14.4455 8.82133 14.5292 9.27205 14.491 9.72078C14.4528 10.1695 14.2941 10.5996 14.0316 10.9656C13.7692 11.3316 13.4128 11.6199 13 11.8C12.3 12.1 12 12.7 12 13.5M12 17H12.01"],gear:["M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z","M19.4 15C19.2737 15.2975 19.2349 15.6249 19.288 15.9437C19.3411 16.2625 19.4841 16.5595 19.7 16.8L19.8 16.9C20.0292 17.0719 20.2189 17.2911 20.356 17.5427C20.4932 17.7943 20.5747 18.0724 20.595 18.3582C20.6153 18.644 20.5739 18.9309 20.4737 19.1994C20.3735 19.4678 20.2168 19.7116 20.0142 19.9142C19.8116 20.1168 19.5678 20.2735 19.2994 20.3737C19.0309 20.4739 18.744 20.5153 18.4582 20.495C18.1724 20.4747 17.8943 20.3932 17.6427 20.256C17.3911 20.1189 17.1719 19.9292 17 19.7L16.9 19.6C16.6595 19.3841 16.3625 19.2411 16.0437 19.188C15.7249 19.1349 15.3975 19.1737 15.1 19.3C14.8094 19.4311 14.5616 19.6413 14.3848 19.9065C14.208 20.1718 14.1093 20.4814 14.1 20.8V21C14.1 21.5304 13.8893 22.0391 13.5142 22.4142C13.1391 22.7893 12.6304 23 12.1 23C11.5696 23 11.0609 22.7893 10.6858 22.4142C10.3107 22.0391 10.1 21.5304 10.1 21V20.9C10.0822 20.5701 9.96871 20.2526 9.77335 19.9862C9.578 19.7198 9.30927 19.5161 9 19.4C8.70249 19.2737 8.37514 19.2349 8.05634 19.288C7.73753 19.3411 7.44048 19.4841 7.2 19.7L7.1 19.8C6.92807 20.0292 6.7089 20.2189 6.45731 20.356C6.20572 20.4932 5.9276 20.5747 5.64178 20.595C5.35595 20.6153 5.0691 20.5739 4.80065 20.4737C4.53219 20.3735 4.2884 20.2168 4.08579 20.0142C3.88317 19.8116 3.72646 19.5678 3.62626 19.2994C3.52606 19.0309 3.48472 18.744 3.50503 18.4582C3.52534 18.1724 3.60684 17.8943 3.74399 17.6427C3.88115 17.3911 4.07076 17.1719 4.3 17L4.4 16.9C4.61594 16.6595 4.75885 16.3625 4.81199 16.0437C4.86512 15.7249 4.82627 15.3975 4.7 15.1C4.56888 14.8094 4.3587 14.5616 4.09347 14.3848C3.82824 14.208 3.51863 14.1093 3.2 14.1H3C2.46957 14.1 1.96086 13.8893 1.58579 13.5142C1.21071 13.1391 1 12.6304 1 12.1C1 11.5696 1.21071 11.0609 1.58579 10.6858C1.96086 10.3107 2.46957 10.1 3 10.1H3.1C3.42986 10.0822 3.7474 9.96871 4.01379 9.77335C4.28018 9.578 4.48389 9.30927 4.6 9C4.72627 8.70249 4.76512 8.37514 4.71199 8.05634C4.65885 7.73753 4.51594 7.44048 4.3 7.2L4.2 7.1C3.97076 6.92807 3.78115 6.7089 3.64399 6.45731C3.50684 6.20572 3.42534 5.9276 3.40503 5.64178C3.38472 5.35595 3.42606 5.0691 3.52626 4.80065C3.62646 4.53219 3.78317 4.2884 3.98579 4.08579C4.1884 3.88317 4.43219 3.72646 4.70065 3.62626C4.9691 3.52606 5.25595 3.48472 5.54178 3.50503C5.8276 3.52534 6.10572 3.60684 6.35731 3.74399C6.6089 3.88115 6.82807 4.07076 7 4.3L7.1 4.4C7.34048 4.61594 7.63753 4.75885 7.95634 4.81199C8.27514 4.86512 8.60249 4.82627 8.9 4.7H9C9.29055 4.56888 9.53839 4.3587 9.71521 4.09347C9.89203 3.82824 9.99071 3.51863 10 3.2V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.1C14.0093 3.41863 14.108 3.72824 14.2848 3.99347C14.4616 4.2587 14.7094 4.46888 15 4.6C15.2975 4.72627 15.6249 4.76512 15.9437 4.71199C16.2625 4.65885 16.5595 4.51594 16.8 4.3L16.9 4.2C17.0719 3.97076 17.2911 3.78115 17.5427 3.64399C17.7943 3.50684 18.0724 3.42534 18.3582 3.40503C18.644 3.38472 18.9309 3.42606 19.1994 3.52626C19.4678 3.62646 19.7116 3.78317 19.9142 3.98579C20.1168 4.1884 20.2735 4.43219 20.3737 4.70065C20.4739 4.9691 20.5153 5.25595 20.495 5.54178C20.4747 5.8276 20.3932 6.10572 20.256 6.35731C20.1189 6.6089 19.9292 6.82807 19.7 7L19.6 7.1C19.3841 7.34048 19.2411 7.63753 19.188 7.95634C19.1349 8.27514 19.1737 8.60249 19.3 8.9V9C19.4311 9.29055 19.6413 9.53839 19.9065 9.71521C20.1718 9.89203 20.4814 9.99071 20.8 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.9C20.5814 14.0093 20.2718 14.108 20.0065 14.2848C19.7413 14.4616 19.5311 14.7094 19.4 15Z"],bell:["M10.3 21C10.4577 21.3159 10.7003 21.5816 11.0006 21.7674C11.3008 21.9531 11.6469 22.0515 12 22.0515C12.3531 22.0515 12.6992 21.9531 12.9994 21.7674C13.2997 21.5816 13.5423 21.3159 13.7 21M6 8C6 6.4087 6.63214 4.88258 7.75736 3.75736C8.88258 2.63214 10.4087 2 12 2C13.5913 2 15.1174 2.63214 16.2426 3.75736C17.3679 4.88258 18 6.4087 18 8C18 15 21 17 21 17H3C3 17 6 15 6 8Z"]};function zv({name:e}){return(0,B.jsx)("svg",{width:A.actionIconGlyph,height:A.actionIconGlyph,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",stroke:"currentColor",strokeWidth:"2.16",strokeLinecap:"round",strokeLinejoin:"round",style:{display:"block"},children:Kv[e].map((t,r)=>(0,B.jsx)("path",{d:t},r))})}function Vv(){return(0,B.jsxs)("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"currentColor","aria-hidden":"true",style:{display:"block"},children:[(0,B.jsx)("path",{d:"M2.29958 25.2142C1.02842 25.2142 0 24.3456 0 23.277C0 22.2765 0.900517 21.4519 2.05683 21.3508L22.8862 19.5081C23.0036 19.4971 23.1237 19.4927 23.2438 19.4927C25.1205 19.4927 26.6422 20.7747 26.6422 22.3556C26.6422 23.9366 25.1205 25.2186 23.2438 25.2186H2.29958V25.2142Z"}),(0,B.jsx)("path",{d:"M22.2387 5.52125C23.6274 4.83081 25.418 5.22221 26.2376 6.392C27.0572 7.56179 26.5925 9.07021 25.2039 9.76065C25.0369 9.84201 24.8672 9.91018 24.6923 9.96295L15.2956 12.7643C14.429 13.0238 13.4398 12.7379 12.9543 12.0453C12.4061 11.2603 12.7168 10.2488 13.6486 9.78484L22.2413 5.52125H22.2387Z"}),(0,B.jsx)("path",{d:"M8.7547 19.5479C7.74194 19.6754 6.74224 19.1631 6.43424 18.3121C6.09491 17.3754 6.71875 16.3837 7.83069 16.0979L22.453 12.3334C24.1653 11.8936 25.9767 12.705 26.4988 14.1453C27.0208 15.5877 26.0577 17.1137 24.348 17.5535C24.1914 17.5931 24.0322 17.6239 23.8755 17.6437L8.7547 19.5457V19.5479Z"})]})}var qa={menuBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"},menuLarge:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-medium)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},sectionSm:{fontSize:"var(--semantic-type-font-size-r)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-r-single)",letterSpacing:"var(--semantic-type-letter-spacing-wide)"},localBase:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:"var(--semantic-type-weight-semibold)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)"}};function Pu(){let[e,t]=(0,Nt.useState)(!1),[r,n]=(0,Nt.useState)(!1);return{hov:e,press:r,handlers:{onMouseEnter:()=>t(!0),onMouseLeave:()=>{t(!1),n(!1)},onMouseDown:()=>n(!0),onMouseUp:()=>n(!1),onBlur:()=>n(!1)}}}function Wv({label:e,active:t,brandItem:r,tablet:n,onClick:o}){let{hov:i,press:a,handlers:s}=Pu(),l=t?Q.controlHover:a?Q.controlPressed:i?Q.searchFill:"transparent",c=t||a?Q.monoPressed:i?Q.monoHover:Q.monoBase,d=r?t?qa.sectionSm:qa.menuLarge:t?qa.localBase:qa.menuBase;return(0,B.jsx)("button",{className:jr,type:"button","aria-current":t?"page":void 0,onClick:o,...s,style:{display:"flex",alignItems:"center",minWidth:A.actionTarget,minHeight:A.actionTarget,padding:0,border:"none",background:"transparent",cursor:"pointer",fontFamily:"inherit"},children:(0,B.jsx)("span",{style:{display:"flex",alignItems:"center",height:A.modInnerH,boxSizing:"border-box",padding:`0 ${Xe(n?"padding-tight":"padding-base")}`,borderRadius:Xe("cornerradius-full"),background:l,color:c,whiteSpace:"nowrap",...d,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:e})})}function Uv({org:e,open:t,onToggle:r,compact:n}){let{hov:o,press:i,handlers:a}=Pu(),s=t||i?Q.controlPressed:o?Q.controlHover:"transparent";return(0,B.jsx)("div",{style:{position:"relative",padding:A.slotPadV,minWidth:0},children:(0,B.jsxs)("button",{className:jr,type:"button",onClick:r,...a,"aria-haspopup":"true","aria-expanded":t,"aria-label":`Switch organisation: ${e.name}${e.campus?", "+e.campus:""}`,style:{display:"flex",alignItems:"center",boxSizing:"border-box",minHeight:A.modInnerH,minWidth:0,maxWidth:n?A.orgMainMaxMobile:A.orgMainMax,gap:n?"var(--semantic-layout-units-gap-xxxtight)":"var(--semantic-layout-units-gap-xxtight)",padding:n?`${Xe("padding-xtight")} ${Xe("padding-xxxtight")} ${Xe("padding-xtight")} ${Xe("padding-xtight")}`:`${A.orgPadV} ${A.orgPadV} ${A.orgPadV} ${A.orgPadL}`,borderRadius:Xe("cornerradius-full"),border:"none",background:s,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${Q.orgStroke}`,transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsx)("span",{"aria-hidden":"true",style:{...qa.menuBase,color:Q.monoBase,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",minWidth:0,maxWidth:n?A.orgNameMaxMobile:A.orgNameMax},children:n&&e.shortName||e.name}),(0,B.jsx)("span",{style:{width:n?A.modChevronBox:A.orgChevronBox,height:n?A.modChevronBox:A.orgChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,transform:t?"rotate(180deg)":"none",transition:"transform var(--motion-duration-4) var(--motion-easing-standard)"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.orgChevron}})})]})})}function jv({label:e,open:t,onToggle:r}){let{hov:n,press:o,handlers:i}=Pu(),a=t||o?Q.controlPressed:n?Q.controlHover:"transparent";return(0,B.jsx)("div",{style:{padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:jr,type:"button",onClick:r,"aria-haspopup":"true","aria-expanded":t,...i,style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxxtight)",height:A.modInnerH,boxSizing:"border-box",padding:`0 10px 0 ${Xe("padding-medium")}`,borderRadius:Xe("cornerradius-full"),border:"none",background:a,cursor:"pointer",fontFamily:"inherit",boxShadow:`inset 0 0 0 var(--contextual-layout-units-button-borderwidth-rest, 0.75px) ${Q.orgStroke}`,color:Q.monoBase},children:[(0,B.jsx)("span",{style:{...qa.sectionSm,whiteSpace:"nowrap"},children:e}),(0,B.jsx)("span",{style:{width:A.modChevronBox,height:A.modChevronBox,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,B.jsx)(ye,{name:"expand_more",size:A.chevronGlyph,style:{color:Q.monoBase}})})]})})}function Gv({icon:e,label:t,badge:r,onClick:n}){let{hov:o,press:i,handlers:a}=Pu();return(0,B.jsxs)("button",{className:jr,type:"button","aria-label":t,onClick:n,...a,style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:A.actionTarget,height:A.actionTarget,padding:0,border:"none",cursor:"pointer",borderRadius:A.radius,background:i?Q.controlPressed:o?Q.controlHover:"transparent",color:i?Q.monoPressed:o?Q.monoHover:Q.monoBase,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:[(0,B.jsx)(zv,{name:e}),r&&(0,B.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:26,top:10,width:8,height:8,boxSizing:"border-box",borderRadius:"50%",background:vt("fill-static-attention-strong"),boxShadow:`inset 0 0 0 var(--semantic-layout-units-borderwidth-medium) ${Q.navBg}`}})]})}var Zv=[{id:"newco",label:"NewCo",brand:!0},{id:"people",label:"People"},{id:"giving",label:"Giving"},{id:"financials",label:"Financials"},{id:"digital",label:"Digital"}],Yv=[{icon:"search",label:"Search"},{icon:"help",label:"Help"},{icon:"gear",label:"Settings"},{icon:"bell",label:"Notifications",badge:!0}];function Xv({navRef:e,className:t,breakpoint:r,org:n,user:o,openPanel:i,toggle:a,close:s,orgs:l,onOrgSelect:c,pillars:d,activePillarId:u,onPillarSelect:p,ncActions:b,onSideNavToggle:g,onMore:y}){let $=r==="mobile",m=r==="tablet",f=d.find(x=>x.brand)||d[0],h=m?b.filter(x=>x.icon==="search"||x.icon==="bell"):b,v=(0,B.jsx)(Uv,{org:n,open:i==="org",onToggle:()=>{a("org"),c?.()},compact:$||m});return(0,B.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,B.jsxs)("nav",{ref:e,"aria-label":"Global navigation",className:t,style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:A.navH,maxHeight:A.navH,boxSizing:"border-box",padding:`${A.navPadV} ${Xe($?"padding-xtight":"padding-base")}`,gap:A.navGap,position:"relative",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,minWidth:0,gap:$?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:$?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(ai,{name:"menu",size:"Large",label:"Open navigation menu",color:Q.monoBase,states:N8,onClick:g}),(0,B.jsx)(jv,{label:f.label,open:i==="pillar",onToggle:()=>a("pillar")}),v]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("a",{href:"#","aria-label":"Home",onClick:x=>x.preventDefault(),style:{display:"flex",alignItems:"center",height:A.touchTarget,padding:`0 ${Xe("padding-xtight")}`,borderRadius:A.radius,color:Q.monoBase},children:(0,B.jsx)(Vv,{})}),(0,B.jsx)("span",{"aria-hidden":"true",style:{width:1,height:28,borderRadius:1,background:Q.controlPressed,flexShrink:0}}),(0,B.jsx)("div",{role:"navigation","aria-label":"Products",style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)",paddingLeft:Xe("padding-xtight")},children:d.map(x=>(0,B.jsx)(Wv,{label:x.label,brandItem:!!x.brand,tablet:m,active:x.brand?u===x.id||!u:u===x.id,onClick:()=>p?.(x.id)},x.id))})]})}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",flexShrink:0,gap:$||m?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:[!$&&v,$?(0,B.jsx)(K0,{icon:"more_vert",label:"More actions",onClick:y}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:h.map(x=>(0,B.jsx)(Gv,{...x},x.label))}),(0,B.jsx)(D8,{user:o,open:i==="profile",onToggle:()=>a("profile"),mobile:$}),i==="profile"&&(0,B.jsx)(F8,{user:o})]}),i==="org"&&(0,B.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",right:A.navPadH,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,B.jsx)(A0,{orgs:l,activeOrgId:n.id,onSelect:x=>{s(),c?.(x)}})})]})})}function H8({modules:e=z0,activeModuleId:t="home",org:r={id:"shc",name:"Sacred Heart Church-ITD",campus:"Knoxville",initials:"SH"},orgs:n=H0,user:o={name:"Jo Lopez",initials:"JL",email:"jo@sacredheart.org"},breakpoint:i="desktop",brand:a="amplify",pillars:s=Zv,activePillarId:l,onPillarSelect:c,newcoActions:d=Yv,showCampus:u=!1,moduleSwitcherType:p="interactive",initialOpenPanel:b=null,onModuleSelect:g,onOrgSelect:y,onSearchOpen:$,onSideNavToggle:m,actions:f,showSearch:h=!0,showActions:v=!0,onNotifications:x,onMore:w,className:P=""}){let[k,T]=(0,Nt.useState)(b),[E,F]=(0,Nt.useState)(t),[_,I]=(0,Nt.useState)(!1),[C,L]=(0,Nt.useState)(""),O=(0,Nt.useRef)(null),M=i==="mobile",Z=i==="tablet",R=j=>T(z=>z===j?null:j),te=()=>T(null);(0,Nt.useEffect)(()=>{let j=z=>{Hv(O.current,z)||te()};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),(0,Nt.useEffect)(()=>{let j=z=>{z.key==="Escape"&&(te(),I(!1))};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[]);let X=j=>{F(j),te(),g?.(j)},K=_;return a==="newco"?(0,B.jsx)(Xv,{navRef:O,className:P,breakpoint:i,org:r,user:o,orgs:n,openPanel:k,toggle:R,close:te,onOrgSelect:y,pillars:s,activePillarId:l,onPillarSelect:c,ncActions:d,onSideNavToggle:m,onMore:w}):(0,B.jsx)("div",{style:{background:"var(--semantic-color-fill-surface-chrome)",position:"relative",zIndex:100},children:(0,B.jsxs)("nav",{ref:O,"aria-label":"Global navigation",className:P,style:{background:"transparent",display:"flex",alignItems:"center",justifyContent:"space-between",height:A.navH,maxHeight:A.navH,boxSizing:"border-box",padding:`${A.navPadV} ${A.navPadH}`,gap:A.navGap,position:"relative",overflow:"visible",fontFamily:"'Red Hat Text', sans-serif",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},children:[(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:M?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[M&&(0,B.jsx)(ai,{name:"menu",size:"Large",label:"Open navigation menu",color:Q.monoBase,states:N8,onClick:m}),(0,B.jsx)(Bv,{modules:e,activeId:E,open:k==="module",onToggle:()=>R("module"),breakpoint:i,type:p}),k==="module"&&p!=="static"&&(0,B.jsx)("ul",{role:"listbox","data-theme":"light","aria-label":"Switch module",style:{position:"absolute",top:"calc(100% + 4px)",left:A.navPadH,width:243,background:Q.panelBg,border:`1px solid ${Q.panelBorder}`,borderRadius:A.radius,boxShadow:Q.panelShadow,padding:"var(--semantic-layout-units-padding-xxxtight)",zIndex:300,margin:0,listStyle:"none",animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:e.map(j=>(0,B.jsx)("li",{role:"option","aria-selected":j.id===E,children:(0,B.jsxs)("button",{className:Za,onClick:()=>X(j.id),style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-medium)",padding:"",borderRadius:"var(--semantic-layout-units-cornerradius-base)",width:"100%",textAlign:"left",color:j.id===E?Q.itemText:Q.itemTextBase,fontSize:"var(--semantic-type-font-size-s)",fontWeight:j.id===E?500:400,background:j.id===E?Q.activeItem:"transparent",border:"none",fontFamily:"inherit",cursor:"pointer"},children:[(0,B.jsx)(Ml,{module:j.id,size:18}),j.label]})},j.id))}),(0,B.jsx)(Ov,{org:r,open:k==="org",onToggle:()=>{R("org"),y?.()},mobile:M,showCampus:u}),k==="org"&&(0,B.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",left:M?A.navPadH:`calc(${A.navPadH} + 40px)`,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,B.jsx)(A0,{orgs:n,activeOrgId:r.id,onSelect:j=>{te(),y?.(j)}})})]}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:M?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[h&&(0,B.jsx)(D0,{expanded:!1,onExpandChange:I,breakpoint:i,onSearchOpen:$,searchProps:{value:C,onChange:L,onClear:()=>L("")}}),v&&(0,B.jsx)(Av,{breakpoint:i,actions:f,onNotifications:x,onMore:w}),(0,B.jsx)(D8,{user:o,open:k==="profile",onToggle:()=>R("profile"),mobile:M}),k==="profile"&&(0,B.jsx)(F8,{user:o})]}),K&&(0,B.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:200,background:"var(--semantic-color-fill-surface-chrome)",animation:"tnSearchExpand var(--motion-duration-4) var(--motion-easing-emphasized) both",display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-tight)",padding:`0 ${A.navPadH}`},children:[(0,B.jsx)("button",{className:jr,type:"button","aria-label":"Back",onClick:()=>I(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",width:A.takeoverExit,height:A.takeoverExit,flexShrink:0,background:"transparent",border:"none",cursor:"pointer",borderRadius:A.radius,color:Q.monoBase},children:(0,B.jsx)(ye,{name:"arrow_back",size:A.takeoverExitGlyph,style:{color:Q.monoBase}})}),(0,B.jsx)("div",{style:{flex:1,minWidth:0},children:(0,B.jsx)(N0,{value:C,onChange:L,onClear:()=>L(""),inputRef:j=>j&&j.focus(),placeholder:"Search\u2026"})})]})]})})}H8.Search=D0;var Tu=H8;var qv=`
74
74
  :host { display: block; }
75
75
  :host([hidden]) { display: none; }
76
76
 
@@ -125,194 +125,238 @@ Error generating stack: `+a.message+`
125
125
  from { clip-path: inset(0); opacity: 1 }
126
126
  to { clip-path: inset(0); opacity: 1 }
127
127
  }
128
- }`,xv=["active-module-id","breakpoint","module-switcher-type","hide-search","hide-actions"],kp=class extends HTMLElement{static get observedAttributes(){return xv}constructor(){super(),this._props={},this._reactRoot=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=yv+Na,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-topnav-root",t.appendChild(this._mount),this._reactRoot=(0,g8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("breakpoint")&&(t.breakpoint=this.getAttribute("breakpoint")),this.hasAttribute("module-switcher-type")&&(t.moduleSwitcherType=this.getAttribute("module-switcher-type"));let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props};this._reactRoot.render(h8.default.createElement(gu,{...t,onModuleSelect:r=>this._emit("pathway-module-select",{id:r}),onOrgSelect:r=>this._emit("pathway-org-select",{id:r}),onSearchOpen:()=>this._emit("pathway-search-open",{}),onSideNavToggle:()=>this._emit("pathway-sidenav-toggle",{}),onNotifications:()=>this._emit("pathway-notifications",{}),onMore:()=>this._emit("pathway-more",{})}))}};customElements.get("pathway-top-nav")||customElements.define("pathway-top-nav",kp);var _c=S(D(),1),D9=S(Ar(),1);var rt=S(D(),1);var Br=S(D(),1);var bo=S($e(),1),sr={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function bu({children:e,className:t="",style:r={},viewClassName:n="",viewStyle:o={}}){let a=Vt(),i=(0,Br.useRef)(null),s=(0,Br.useRef)(null),l=(0,Br.useRef)(null),c=(0,Br.useRef)(!1),[d,u]=(0,Br.useState)({h:0,top:0,show:!1}),[p,b]=(0,Br.useState)(!1),[g,y]=(0,Br.useState)(!1),$=(0,Br.useCallback)(()=>{let T=i.current;if(!T)return;let{scrollHeight:P,clientHeight:F,scrollTop:R}=T;if(P<=F+1){u(L=>L.show?{...L,show:!1}:L);return}let _=Math.max(sr.thumbMin,F/P*F),C=R/(P-F)*(F-_);u({h:_,top:C,show:!0})},[]);(0,Br.useEffect)(()=>{$();let T=i.current;if(!T||typeof ResizeObserver>"u")return;let P=new ResizeObserver($);return P.observe(T),Array.from(T.children).forEach(F=>P.observe(F)),()=>P.disconnect()},[e,$]);let m=()=>{clearTimeout(l.current),l.current=setTimeout(()=>{!s.current&&!c.current&&b(!1)},sr.idleHideMs)},f=()=>{b(!0),m()},h=()=>{$(),f()},v=T=>{T.currentTarget.getBoundingClientRect().right-T.clientX<=sr.grabZone?(c.current=!0,b(!0),clearTimeout(l.current)):c.current&&(c.current=!1,m())},x=()=>{c.current=!1,s.current||m()},w=T=>{T.preventDefault();let P=i.current;if(!P)return;s.current={startY:T.clientY,startTop:P.scrollTop},y(!0),b(!0),clearTimeout(l.current);let F=_=>{let{scrollHeight:C,clientHeight:L}=P,K=Math.max(sr.thumbMin,L/C*L),I=(C-L)/(L-K);P.scrollTop=s.current.startTop+(_.clientY-s.current.startY)*I},R=()=>{s.current=null,y(!1),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",R),f()};document.addEventListener("mousemove",F),document.addEventListener("mouseup",R)},k=d.top,E=d.h;return(0,bo.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...r},onMouseMove:v,onMouseLeave:x,children:[(0,bo.jsx)("div",{ref:i,className:`pds-scrollable__view ${n}`,onScroll:h,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),d.show&&(0,bo.jsxs)(bo.Fragment,{children:[(0,bo.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:k,right:sr.gutter,width:sr.thumbWidth,height:E,borderRadius:sr.thumbRadius,background:g?sr.thumbHover:sr.thumbRest,backdropFilter:sr.thumbBlur,WebkitBackdropFilter:sr.thumbBlur,boxShadow:sr.thumbEdge,opacity:p?1:0,transition:a?"none":p?sr.fadeIn:sr.fadeOut,pointerEvents:"none",zIndex:5}}),(0,bo.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:w,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:k,right:0,width:sr.grabZone,height:E,pointerEvents:p?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var Hf=S(kn(),1);var tt=S(D(),1),T9=S(kn(),1);var Rr=S(D(),1);function Qt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}var b8=S(D(),1),de=typeof document<"u"?b8.default.useLayoutEffect:()=>{};var Nt=S(D(),1),$u={prefix:String(Math.round(Math.random()*1e10)),current:0},$8=Nt.default.createContext($u),Cv=Nt.default.createContext(!1);var wv=!!(typeof window<"u"&&window.document&&window.document.createElement),Pp=new WeakMap;function Sv(e=!1){let t=(0,Nt.useContext)($8),r=(0,Nt.useRef)(null);if(r.current===null&&!e){let n=Nt.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(n){let o=Pp.get(n);o==null?Pp.set(n,{id:t.current,state:n.memoizedState}):n.memoizedState!==o.state&&(t.current=o.id,Pp.delete(n))}r.current=++t.current}return r.current}function Ev(e){let t=(0,Nt.useContext)($8),r=Sv(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function kv(e){let t=Nt.default.useId(),[r]=(0,Nt.useState)(Qo()),n=r?"react-aria":`react-aria${$u.prefix}`;return e||`${n}-${t}`}var v8=typeof Nt.default.useId=="function"?kv:Ev;function Pv(){return!1}function Tv(){return!0}function Lv(e){return()=>{}}function Qo(){return typeof Nt.default.useSyncExternalStore=="function"?Nt.default.useSyncExternalStore(Lv,Pv,Tv):(0,Nt.useContext)(Cv)}var Jo=S(D(),1);function y8(e){let[t,r]=(0,Jo.useState)(e),n=(0,Jo.useRef)(t),o=(0,Jo.useRef)(null),a=(0,Jo.useRef)(()=>{if(!o.current)return;let s=o.current.next();if(s.done){o.current=null;return}n.current===s.value?a.current():r(s.value)});de(()=>{n.current=t,o.current&&a.current()});let i=(0,Jo.useCallback)(s=>{o.current=s(n.current),a.current()},[a]);return[t,i]}var $o=S(D(),1),Rv=!!(typeof window<"u"&&window.document&&window.document.createElement),Wi=new Map,Vi;typeof FinalizationRegistry<"u"&&(Vi=new FinalizationRegistry(e=>{Wi.delete(e)}));var Tp=new WeakMap;function yt(e){let[t,r]=(0,$o.useState)(e),n=(0,$o.useRef)(null),o=v8(t),a=(0,$o.useRef)(null),i=Tp.get(a);if(Vi&&i!==o&&(i!=null&&Vi.unregister(a),Vi.register(a,o,a),Tp.set(a,o)),Rv){let s=Wi.get(o);s&&!s.includes(n)?s.push(n):Wi.set(o,[n])}return de(()=>{let s=o;return()=>{Vi&&(Vi.unregister(a),Tp.delete(a)),Wi.delete(s)}},[o]),(0,$o.useEffect)(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),o}function x8(e,t){if(e===t)return e;let r=Wi.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=Wi.get(t);return n?(n.forEach(o=>o.current=e),e):t}function Vn(e=[]){let t=yt(),[r,n]=y8(t),o=(0,$o.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return de(o,[t,o,...e]),r}function ea(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1,n=e.map(o=>{let a=C8(o,t);return r||=typeof a=="function",a});if(r)return()=>{n.forEach((o,a)=>{typeof o=="function"?o():C8(e[a],null)})}}}function C8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function w8(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=w8(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _v(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=w8(e))&&(n&&(n+=" "),n+=t);return n}var S8=_v;function se(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let a=t[o],i=n[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Qt(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=S8(a,i):o==="id"&&a&&i?t.id=x8(a,i):o==="ref"&&a&&i?t.ref=ea(a,i):t[o]=i!==void 0?i:a}}return t}var Dt=S(D(),1);var Fa=S(D(),1);function Wn(e){let t=(0,Fa.useRef)(null),r=(0,Fa.useRef)(void 0),n=(0,Fa.useCallback)(o=>{if(typeof e=="function"){let a=e,i=a(o);return()=>{typeof i=="function"?i():a(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,Fa.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))}}),[n])}var Ui=Symbol("default");function nn({values:e,children:t}){for(let[r,n]of e)t=Dt.default.createElement(r.Provider,{value:n},t);return t}function Wt(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:a,defaultStyle:i,values:s,render:l}=e;return(0,Dt.useMemo)(()=>{let c,d,u;return typeof t=="function"?c=t({...s,defaultClassName:o}):c=t,typeof r=="function"?d=r({...s,defaultStyle:i||{}}):d=r,typeof n=="function"?u=n({...s,defaultChildren:a}):n==null?u=a:u=n,{className:c??o,style:d||i?{...i,...d}:void 0,children:u??a,"data-rac":"",render:l?p=>l(p,s):void 0}},[t,r,n,o,a,i,s,l])}function Ha(e,t){let r=(0,Dt.useContext)(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||Ui;if(!r.slots[n]){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(i=>`"${i}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${o}.`)}return r.slots[n]}return r}function Tt(e,t,r){let n=Ha(r,e.slot)||{},{ref:o,...a}=n,i=Wn((0,Dt.useMemo)(()=>ea(t,o),[t,o])),s=se(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=l=>{let c=typeof a.style=="function"?a.style(l):a.style,d={...l.defaultStyle,...c},u=typeof e.style=="function"?e.style({...l,defaultStyle:d}):e.style;return{...d,...u}}:s.style={...a.style,...e.style}),[s,i]}function ji(e=!0){let[t,r]=(0,Dt.useState)(e),n=(0,Dt.useRef)(!1),o=(0,Dt.useCallback)(a=>{n.current=!0,r(!!a)},[]);return de(()=>{n.current||r(!1)},[]),[o,t]}function k8(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function Mv(e,t,r){let{render:n,...o}=t,a=(0,Dt.useRef)(null),i=(0,Dt.useMemo)(()=>ea(r,a),[r,a]);de(()=>{},[e,n]);let s={...o,ref:i};return n?n(s,void 0):Dt.default.createElement(e,s)}var E8={},Je=new Proxy({},{get(e,t){if(typeof t!="string")return;let r=E8[t];return r||(r=(0,Dt.forwardRef)(Mv.bind(null,t)),E8[t]=r),r}});var P8="react-aria-clear-focus",T8="react-aria-focus";var ue=e=>Iv(e)?e.document:Nv(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),Fe=e=>ue(e)?.defaultView??(typeof window<"u"?window:void 0);function Cl(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Iv(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Nv(e){return Cl(e)&&e.nodeType===9}function Aa(e){return Cl(e)&&e.nodeType===11&&"host"in e}function Lt(e,t,r,n){if(r==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let a of o)a.addEventListener(t,r,n);return()=>{for(let a of o)a.removeEventListener(t,r,n)}}function Un(e,t,r,n){if(e==null)return()=>{};let o=new Array,a=Array.isArray(e)?e:[e];for(let i of a){let s=i.style.getPropertyValue(t),l=i.style.getPropertyPriority(t);i.style.setProperty(t,r,n),o.unshift(()=>{s?i.style.setProperty(t,s,l):i.style.removeProperty(t)})}return()=>{for(let i of o)i()}}var Dv=!1;function Er(){return Dv}function pe(e,t){if(!Er())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!=null;){if(r===e)return!0;typeof r.assignedElements!="function"&&r.assignedSlot?.parentNode?r=r.assignedSlot.parentNode:Aa(r)?r=r.host:r=r.parentNode}return!1}var ye=(e=document)=>{if(!Er())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Y(e){if(Er()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function wl(e,t){if(t===null)return[];t=t??Fe(e);let r=[t];if(!Er()||!e||e===t)return r;let n="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;Aa(o)&&o!==n;)r.push(o),o=o.host.getRootNode();return r}function ta(e){if(!e)return!1;let t=e.getRootNode(),r=Fe(e);if(!(t instanceof r.Document||t instanceof r.ShadowRoot))return!1;let n=t.activeElement;return n!=null&&e.contains(n)}function vu(e){let t=Hv(ue(e));t!==e&&(t&&Fv(t,e),e&&Lp(e,t))}function Fv(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Lp(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Hv(e){let t=ye(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}function lr(e){e.focus({preventScroll:!0})}var Av=typeof Element<"u"&&"checkVisibility"in Element.prototype;function Ov(e){let t=Fe(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){let{getComputedStyle:a}=Fe(e),{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function Kv(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function yu(e,t){return Av?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&Ov(e)&&Kv(e,t)&&(!e.parentElement||yu(e.parentElement,e))}var Rp=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],zv=Rp.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Rp.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var Bv=Rp.join(':not([hidden]):not([tabindex="-1"]),');function Gi(e,t){return e.matches(zv)&&!L8(e)&&(t?.skipVisibilityCheck||yu(e))}function Zi(e){return e.matches(Bv)&&yu(e)&&!L8(e)}function L8(e){let t=e;for(;t!=null;){if(t instanceof Fe(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var xu=S(D(),1);function El(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Cu(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function wu(e){let t=(0,xu.useRef)({isFocused:!1,observer:null});return de(()=>{let r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),(0,xu.useCallback)(r=>{let n=Y(r);if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n,a=i=>{if(t.current.isFocused=!1,o.disabled){let s=El(i);e?.(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let i=o===ye()?null:ye();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var Sl=!1;function R8(e){for(;e&&!Gi(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=Fe(e),r=ye(t.document);if(!r||r===e)return;let n=e?.getRootNode(),o=n!=null&&Aa(n)?n:Fe(e),a=g=>g===e||Cl(g)&&pe(e,g),i=g=>g===r||r!=null&&Cl(g)&&pe(r,g);Sl=!0;let s=!1,l=g=>{(i(Y(g))||s)&&g.stopImmediatePropagation()},c=g=>{(i(Y(g))||s)&&(g.stopImmediatePropagation(),!e&&!s&&(s=!0,lr(r),p()))},d=g=>{(a(Y(g))||s)&&g.stopImmediatePropagation()},u=g=>{(a(Y(g))||s)&&(g.stopImmediatePropagation(),s||(s=!0,lr(r),p()))};o.addEventListener("blur",l,!0),o.addEventListener("focusout",c,!0),o.addEventListener("focusin",u,!0),o.addEventListener("focus",d,!0);let p=()=>{cancelAnimationFrame(b),o.removeEventListener("blur",l,!0),o.removeEventListener("focusout",c,!0),o.removeEventListener("focusin",u,!0),o.removeEventListener("focus",d,!0),Sl=!1,s=!1},b=requestAnimationFrame(p);return p}function Su(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function _p(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function jn(e){let t=null;return()=>(t==null&&(t=e()),t)}var Jt=jn(function(){return _p(/^Mac/i)}),Vv=jn(function(){return _p(/^iPhone/i)}),Mp=jn(function(){return _p(/^iPad/i)||Jt()&&navigator.maxTouchPoints>1}),vo=jn(function(){return Vv()||Mp()}),_8=jn(function(){return Jt()||vo()}),er=jn(function(){return Su(/AppleWebKit/i)&&(vo()||!Eu())}),IE=jn(function(){return er()&&!Eu()&&!Wv()}),Eu=jn(function(){return Su(/Chrome|CriOS|CrMo/i)}),yo=jn(function(){return Su(/Android/i)}),Wv=jn(function(){return Su(/(Firefox|FxiOS)/i)});function ku(e){return e.pointerType===""&&e.isTrusted?!0:yo()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function M8(e){return!yo()&&e.width===0&&e.height===0||yo()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}var Yi=S(D(),1),Uv=(0,Yi.createContext)({isNative:!0,open:Zv,useHref:e=>e});function Oa(){return(0,Yi.useContext)(Uv)}function jv(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function on(e,t,r=!0){let{metaKey:n,ctrlKey:o,altKey:a,shiftKey:i}=t,s=er()&&Jt()&&!Mp()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:n,ctrlKey:o,altKey:a,shiftKey:i}):new MouseEvent("click",{metaKey:n,ctrlKey:o,altKey:a,shiftKey:i,detail:1,bubbles:!0,cancelable:!0});on.isOpening=r,lr(e),e.dispatchEvent(s),on.isOpening=!1}on.isOpening=!1;function Gv(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Zv(e,t){Gv(e,r=>on(r,t))}function Pu(e){let r=Oa().useHref(e?.href??""),n={};if(e)for(let o of["href","target","rel","download","ping","referrerPolicy"])o in e&&e[o]!==void 0&&(n[o]=o==="href"?r:e[o]);return n}function I8(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&jv(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}var Dp=S(D(),1),za=null,Pl="keyboard",Ip=new Set,kl=new Map,Ka=!1,Tu=!1,Yv={Tab:!0,Escape:!0};function Ru(e,t){for(let r of Ip)r(e,t)}function Xv(e){return!(e.metaKey||!Jt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Lu(e){Ka=!0,!on.isOpening&&Xv(e)&&(za="keyboard",Pl="keyboard",Ru("keyboard",e))}function Xi(e){za="pointer",Pl="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Ka=!0,Ru("pointer",e))}function N8(e){!on.isOpening&&ku(e)&&(Ka=!0,za="virtual",Pl="virtual")}function D8(e){if(Sl)return;let t=Y(e),r=Fe(t),n=ue(t);if(t===r){Tu=!0;return}t===n||!e.isTrusted||(!Ka&&!Tu&&(za="virtual",Pl="virtual",Ru("virtual",e)),Ka=!1,Tu=!1)}function F8(){Sl||(Ka=!1,Tu=!0)}function H8(e){let t=ye(ue(Y(e)));queueMicrotask(()=>{ye(ue(Y(e)))!==t&&ra("keyboard")})}function Np(e){if(typeof window>"u"||typeof document>"u")return;let t=Fe(e),r=ue(e);if(kl.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Ka=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",Lu,!0),r.addEventListener("keyup",Lu,!0),r.addEventListener("click",N8,!0),r.addEventListener("invalid",H8,!0),t.addEventListener("focus",D8,!0),t.addEventListener("blur",F8,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",Xi,!0),r.addEventListener("pointermove",Xi,!0),r.addEventListener("pointerup",Xi,!0)),t.addEventListener("beforeunload",()=>{A8(e)},{once:!0}),kl.set(t,{focus:n})}var A8=(e,t)=>{let r=Fe(e),n=ue(e);t&&n.removeEventListener("DOMContentLoaded",t),kl.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:kl.get(r).focus}),n.removeEventListener("keydown",Lu,!0),n.removeEventListener("keyup",Lu,!0),n.removeEventListener("click",N8,!0),n.removeEventListener("invalid",H8,!0),r.removeEventListener("focus",D8,!0),r.removeEventListener("blur",F8,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",Xi,!0),n.removeEventListener("pointermove",Xi,!0),n.removeEventListener("pointerup",Xi,!0)),kl.delete(r))};function O8(e){let t=ue(e),r;return t.readyState!=="loading"?Np(e):(r=()=>{Np(e)},t.addEventListener("DOMContentLoaded",r)),()=>A8(e,r)}typeof document<"u"&&O8();function Pn(){return za!=="pointer"}function Gn(){return za}function ra(e){za=e,Pl=e==="pointer"?"mouse":e,Ru(e,null)}var qv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Qv(e,t,r){let n=r?Y(r):void 0,o=ue(n),a=Fe(n),i=typeof a<"u"?a.HTMLInputElement:HTMLInputElement,s=typeof a<"u"?a.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof a<"u"?a.HTMLElement:HTMLElement,c=typeof a<"u"?a.KeyboardEvent:KeyboardEvent,d=ye(o);return e=e||d instanceof i&&!qv.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&r instanceof c&&!Yv[r.key])}function Fp(e,t,r){Np(),(0,Dp.useEffect)(()=>{if(r?.enabled===!1)return;let n=(o,a)=>{Qv(!!r?.isTextInput,o,a)&&e(Pn())};return Ip.add(n),()=>{Ip.delete(n)}},t)}function Tl(e,t){let r=Fe(t),n=ue(t);if(n==null||r==null)return;let o,a=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,i=n.querySelector(a);return i&&i instanceof r.HTMLMetaElement&&(e==="csp-nonce"&&i.nonce&&(o??=i.nonce||void 0),i.content&&(o??=i.content||void 0)),e==="csp-nonce"&&(o??=r.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var Ll=100,_u=600,he={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},Jv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Rl(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),r=Number(window.visualViewport?.scale??1);return{width:e*r,height:t*r,angle:window.screen.orientation?.angle??0}}function ey(e){he.resizeTimeStamp<=e.timeStamp+50&&(he.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(he.resizeTimeout),he.resizeTimeout=window.setTimeout(z8,150))}function z8(){let e=Tl("viewport");if(yo()&&e?.includes("overlays-content"))return;let t=performance.now(),r=Rl(),n=t-he.startTimeStamp,o=he.screenHeight-r.height,a=he.screenAngle-r.angle;Math.abs(a)%180&&he.screenWidth-r.height<Ll&&(he.screenWidth=r.width,he.screenHeight=r.height,he.screenAngle=r.angle,o=0),n>_u&&(window.clearTimeout(he.screenTimeout),he.screenTimeout=window.setTimeout(()=>{let i=document.hasFocus()?ye():null,s=Ba(i),l=Rl();Math.abs(he.screenAngle-l.angle)%180||he.isOpen&&s||(he.screenWidth=l.width,he.screenHeight=l.height,he.screenAngle=l.angle,he.isOpen=!1)},_u)),n<=_u&&o>=Ll&&(he.endTimeStamp=t),he.isOpen=o>=Ll}function ty(){let e=Rl(),t=he.screenAngle-e.angle;if(Math.abs(t)%180&&!he.isOpen){let r=he.screenWidth,n=he.screenHeight;he.screenWidth=n,he.screenHeight=r}he.isOpen||(he.screenAngle=e.angle)}function ry(e){let t=Y(e),r=Ba(t),n=performance.now(),o=Rl(),a=he.screenHeight-o.height;a<Ll&&r&&(he.screenWidth=o.width,he.screenHeight=o.height,he.screenAngle=o.angle,he.startTimeStamp=n),r&&window.clearTimeout(he.screenTimeout),a>=Ll&&r&&(he.endTimeStamp=n)}function K8(){let e=Rl();Lt(window.visualViewport,"resize",er()?z8:ey),Lt(window.screen.orientation,"change",ty),Lt(window,"focus",ry,{capture:!0,passive:!0}),he.screenWidth=e.width,he.screenHeight=e.height,he.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?K8():Lt(document,"DOMContentLoaded",K8));function _l(){let e=Tl("viewport");return yo()&&e?.includes("overlays-content")?!1:he.isOpen?!0:he.startTimeStamp?he.endTimeStamp>=he.startTimeStamp?!0:performance.now()-he.startTimeStamp<=_u?he.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Ba(e){if(!(e instanceof Element)||!Gi(e))return!1;let t=e instanceof HTMLTextAreaElement,r=e instanceof HTMLElement&&e.isContentEditable,n=e instanceof HTMLInputElement&&!Jv.has(e.type);return t||r||n}function Va(e){return Jt()?e.metaKey:e.ctrlKey}function qi(){return he.isOpen}var Qi=S(D(),1),ny=Qi.default.useInsertionEffect??de;function mt(e){let t=(0,Qi.useRef)(null);return ny(()=>{t.current=e},[e]),(0,Qi.useCallback)((...r)=>{let n=t.current;return n?.(...r)},[])}var B8=S(D(),1);function Ml(e,t,r,n){let o=mt(r),a=r==null;(0,B8.useEffect)(()=>{if(!(a||e.current==null))return Lt(e.current,t,o,n)},[e,t,n,a])}function Mu(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=yt(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}var oy=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),ay=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function V8(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return oy.has(r.script)}let t=e.split("-")[0];return ay.has(t)}var Iu=S(D(),1),U8=Symbol.for("react-aria.i18n.locale");function j8(){let e=typeof window<"u"&&window[U8]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:V8(e)?"rtl":"ltr"}}var Hp=j8(),Il=new Set;function W8(){Hp=j8();for(let e of Il)e(Hp)}function G8(){let e=Qo(),[t,r]=(0,Iu.useState)(Hp);return(0,Iu.useEffect)(()=>(Il.size===0&&window.addEventListener("languagechange",W8),Il.add(r),()=>{Il.delete(r),Il.size===0&&window.removeEventListener("languagechange",W8)}),[]),e?{locale:typeof window<"u"&&window[U8]||"en-US",direction:"ltr"}:t}var Nu=S(D(),1),iy=Nu.default.createContext(null);function cr(){let e=G8();return(0,Nu.useContext)(iy)||e}var sy=Symbol.for("react-aria.i18n.locale"),ly=Symbol.for("react-aria.i18n.strings"),Du,Ji=class e{constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=cy(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[sy];if(Du===void 0){let o=window[ly];if(!o)return null;Du={};for(let a in o)Du[a]=new e({[r]:o[a]},r)}let n=Du?.[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}};function cy(e,t,r="en-US"){if(t[e])return t[e];let n=dy(e),o=uy(e);if(o&&t[`${n}-${o}`])return t[`${n}-${o}`];if(t[n])return t[n];for(let a in t)if(a.startsWith(n+"-"))return t[a];return t[r]}function dy(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function uy(e){if(Intl.Locale)return new Intl.Locale(e).script}var Z8=new Map,Y8=new Map,Nl=class{constructor(t,r){this.locale=t,this.strings=r}format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let a=this.locale+":"+n,i=Z8.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),Z8.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Y8.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Y8.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}};var q8=S(D(),1),X8=new WeakMap;function fy(e){let t=X8.get(e);return t||(t=new Ji(e),X8.set(e,t)),t}function py(e,t){return t&&Ji.getGlobalDictionaryForPackage(t)||fy(e)}function Q8(e,t){let{locale:r}=cr(),n=py(e,t);return(0,q8.useMemo)(()=>new Nl(r,n),[r,n])}var dr=S(D(),1),my=typeof document<"u"||parseInt(dr.default.version,10)>=19?dr.default.useInsertionEffect??dr.default.useLayoutEffect:()=>{};function na(e,t,r){let[n,o]=(0,dr.useState)(e||t),a=(0,dr.useRef)(n),i=(0,dr.useRef)(e!==void 0),s=e!==void 0;(0,dr.useEffect)(()=>{let u=i.current;i.current=s},[s]);let l=s?e:n;my(()=>{a.current=l});let[,c]=(0,dr.useReducer)(()=>({}),{}),d=(0,dr.useCallback)((u,...p)=>{let b=typeof u=="function"?u(a.current):u;Object.is(a.current,b)||(a.current=b,o(b),c(),r?.(b,...p))},[r]);return[l,d]}var Dl=S(D(),1);var Fl=(0,Dl.createContext)(null),J8=(0,Dl.createContext)(null);var an=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,n){let o=this.clone();return r.addDescendants(o,t),o}},Hl=class extends an{filter(t,r,n){let[o,a]=e7(t,r,this.firstChildKey,n),i=this.clone();return i.firstChildKey=o,i.lastChildKey=a,i}},Ap=class extends an{static{this.type="header"}},Wa=class extends an{static{this.type="loader"}},Ua=class extends Hl{static{this.type="item"}filter(t,r,n){if(n(this.textValue,this)){let o=this.clone();return r.addDescendants(o,t),o}return null}},Al=class extends Hl{static{this.type="section"}filter(t,r,n){let o=super.filter(t,r,n);if(o&&o.lastChildKey!==null){let a=t.getItem(o.lastChildKey);if(a&&a.type!=="header")return o}return null}},Ol=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),o=n?.firstChildKey!=null?r.get(n.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?r.get(o.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,r){this.addNode(t);let n=r.getChildren(t.key);for(let o of n)this.addDescendants(o,r)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}filter(t){let r=new this.constructor,[n,o]=e7(this,r,this.firstKey,t);return r?.commit(n,o),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function e7(e,t,r,n){if(r==null)return[null,null];let o=null,a=null,i=e.getItem(r);for(;i!=null;){let s=i.filter(e,t,n);s!=null&&(s.nextKey=null,a&&(s.prevKey=a.key,a.nextKey=s.key),o==null&&(o=s),t.addNode(s),a=s),i=i.nextKey!=null?e.getItem(i.nextKey):null}if(a&&a.type==="separator"){let s=a.prevKey;t.removeNode(a.key),s!=null?(a=t.getItem(s),a.nextKey=null):a=null}return[o?.key??null,a?.key??null]}var Fu=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},Kl=class e extends Fu{constructor(t,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let n=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&n!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=n}}}setProps(t,r,n,o,a){let i,{value:s,textValue:l,id:c,...d}=t;if(this.node==null?(i=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=i):i=this.getMutableNode(),d.ref=r,i.props=d,i.rendered=o,i.render=a,i.value=s,t["aria-label"]&&(i["aria-label"]=t["aria-label"]),i.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",c!=null&&c!==i.key)throw new Error("Cannot change the id of an item");d.colSpan!=null&&(i.colSpan=d.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(r){let n=r==="none";if(t.isHidden!==n){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,a=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),a&&t.ownerDocument.markDirty(a),t.isHidden=n,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Hu=class extends Fu{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new Kl(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let n of t)this.addNode(n);r.addNode(t.node)}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof Kl&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof Kl?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var es=S(D(),1);function zl(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:a=[]}=e,i=(0,es.useMemo)(()=>{},[t]),s=(0,es.useMemo)(()=>new WeakMap,[...a,i]);return(0,es.useMemo)(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let d=hy(c)?c:null,u=d?s.get(d):null;if(!u){u=t(c);let p=u.props.id??c?.key??c?.id;n!=null&&u.props.id==null&&p!=null&&(p=n+":"+p);let b=p??l.length;u=(0,es.cloneElement)(u,o?{key:b,id:p,value:c}:{key:b}),d&&s.set(d,u)}l.push(u)}return l}else if(typeof t!="function")return t},[t,r,s,n,o])}function hy(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var oa=new Map,Au=new Set;function r7(e){return"propertyName"in e}function gy(e){let t=Y(e);if(!r7(e)||!t)return;let r=oa.get(t);r||(r=new Set,oa.set(t,r),t.addEventListener("transitioncancel",Op,{once:!0})),r.add(e.propertyName)}function Op(e){let t=Y(e);if(!r7(e)||!t)return;let r=oa.get(t);if(r&&(r.delete(e.propertyName),r.size===0&&(t.removeEventListener("transitioncancel",Op),oa.delete(t)),oa.size===0))for(let n of Au)n(!0),Au.delete(n)}function t7(){Lt(document,"transitionrun",gy),Lt(document,"transitionend",Op)}function by(){for(let[e]of oa)"isConnected"in e&&!e.isConnected&&oa.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?t7():Lt(document,"DOMContentLoaded",t7));function Ou(e){let t=window.requestAnimationFrame(()=>{if(by(),oa.size===0)return e(!1);Au.add(e)});return()=>{window.cancelAnimationFrame(t),Au.delete(e)}}function sn(e){if(!e.isConnected)return;let t=ue(e);if(Gn()==="virtual"){let r=ye(t);Ou(()=>{let n=ye(t);(n===r||n===t.body)&&e.isConnected&&lr(e)})}else lr(e)}var Kp=S(D(),1);function ja(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,a=(0,Kp.useCallback)(l=>{if(Y(l)===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),i=wu(a),s=(0,Kp.useCallback)(l=>{let c=Y(l),d=ue(c),u=d?ye(d):ye();c===l.currentTarget&&c===u&&(r&&r(l),o&&o(!0),i(l))},[o,r,i]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?a:void 0}}}function Bl(e){if(e)return t=>{let r=!0,n={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){r=!0},continuePropagation(){r=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return r}};e(n),r&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var $y=new Set(["shift","alt","control","meta","mod"]),vy=["Alt","Control","Meta","Shift"];function yy(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(Jt()?"Meta":"Control"),t}function xy(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function n7(e){return vy.filter(t=>e.has(t))}function Cy(e){let t=e.split("+").reduce((r,n)=>{let o=n.toLowerCase();return $y.has(o)?o==="shift"?r.shift=!0:o==="alt"?r.alt=!0:o==="control"?r.ctrl=!0:o==="meta"?r.meta=!0:o==="mod"&&(r.mod=!0):r.key=n,r},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function o7(e){return e.toLowerCase()}var wy={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Sy(e){let t=o7(e),r=wy[t];return r??t}function Ey(e){let t=n7(yy(e)),r=Sy(e.key);return t.length>0?`${t.join("+")}+${r}`:r}function ky(e){let t=n7(xy(e)),r=o7(e.key);return(t.length>0?`${t.join("+")}+`:"")+r}function a7(e){let t=new Map;for(let[r,n]of Object.entries(e)){let o=Cy(r);t.set(Ey(o),n)}return r=>{let n=ky(r),o=t.get(n),a=o?.(r);a===void 0&&o!==void 0?a={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof a=="boolean"&&(a={shouldContinuePropagation:!a,shouldPreventDefault:a}),a?.shouldPreventDefault&&r.preventDefault(),(!o||a?.shouldContinuePropagation)&&r.continuePropagation()}}function kr(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:n=!1}=e,o,a;if(t){let i=a7(t),s=Bl(c=>{if(!pe(c.currentTarget,Y(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}i(c)}),l=Bl(c=>{if(!pe(c.currentTarget,Y(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}c.continuePropagation()});o=e.onKeyDown?Qt(e.onKeyDown,s):s,a=e.onKeyUp?Qt(e.onKeyUp,l):l}else o=Bl(e.onKeyDown),a=Bl(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:a}}}function Ku(e,t){de(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var xo=S(D(),1),ts=xo.default.createContext(null);function Py(e){let t=(0,xo.useContext)(ts)||{};Ku(t,e);let{ref:r,...n}=t;return n}function zu(e,t){let{focusProps:r}=ja(e),{keyboardProps:n}=kr(e),o=se(r,n),a=Py(t),i=e.isDisabled?{}:a,s=(0,xo.useRef)(e.autoFocus);(0,xo.useEffect)(()=>{s.current&&t.current&&sn(t.current),s.current=!1},[t]);let l=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(l=void 0),{focusableProps:se({...o,tabIndex:l},i)}}var Vr=S(D(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var Bu=(0,Vr.createContext)(!1);function i7(e){if((0,Vr.useContext)(Bu))return Vr.default.createElement(Vr.default.Fragment,null,e.children);let r=Vr.default.createElement(Bu.Provider,{value:!0},e.children);return Vr.default.createElement("template",null,r)}function Vl(e){let t=(r,n)=>(0,Vr.useContext)(Bu)?null:e(r,n);return t.displayName=e.displayName||e.name,(0,Vr.forwardRef)(t)}function zp(){return(0,Vr.useContext)(Bu)}var f7=S(kn(),1),ve=S(D(),1),p7=S(d7(),1),m7=(0,ve.createContext)(!1),Wl=(0,ve.createContext)(null);function Ul(e){if((0,ve.useContext)(Wl))return e.content;let{collection:r,document:n}=Ky(e.createCollection);return ve.default.createElement(ve.default.Fragment,null,ve.default.createElement(i7,null,ve.default.createElement(Wl.Provider,{value:n},e.content)),ve.default.createElement(Hy,{render:e.children,collection:r}))}function Hy({collection:e,render:t}){return t(e)}function Ay(e,t,r){let n=Qo(),o=(0,ve.useRef)(n);o.current=n;let a=(0,ve.useCallback)(()=>o.current?r():t(),[t,r]);return(0,p7.useSyncExternalStore)(e,a)}var Oy=typeof ve.default.useSyncExternalStore=="function"?ve.default.useSyncExternalStore:Ay;function Ky(e){let[t]=(0,ve.useState)(()=>new Hu(e?.()||new Ol)),r=(0,ve.useCallback)(i=>t.subscribe(i),[t]),n=(0,ve.useCallback)(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),o=(0,ve.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Oy(r,n,o),document:t}}var Vp=(0,ve.createContext)(null);function zy(e){return class extends an{static{this.type=e}}}function By(e,t,r,n,o,a){typeof e=="string"&&(e=zy(e));let i=(0,ve.useCallback)(l=>{l?.setProps(t,r,e,n,a)},[t,r,n,a,e]),s=(0,ve.useContext)(Vp);if(s){let l=s.ownerDocument.nodesByProps.get(t);return l||(l=s.ownerDocument.createElement(e.type),l.setProps(t,r,e,n,a),s.appendChild(l),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,l)),o?ve.default.createElement(Vp.Provider,{value:l},o):null}return ve.default.createElement(e.type,{ref:i},o)}function Ga(e,t){let r=({node:o})=>t(o.props,o.props.ref,o),n=(0,ve.forwardRef)((o,a)=>{let i=(0,ve.useContext)(ts);if(!(0,ve.useContext)(m7)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,a)}return By(e,o,a,"children"in o?o.children:null,null,l=>ve.default.createElement(ts.Provider,{value:i},ve.default.createElement(r,{node:l})))});return n.displayName=t.name,n}function Vy(e){return zl({...e,addIdAndValue:!0})}var u7=(0,ve.createContext)(null);function jl(e){let t=(0,ve.useContext)(u7),r=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,o=Vy({...e,idScope:n,dependencies:r});return(0,ve.useContext)(Wl)&&(o=ve.default.createElement(Wy,null,o)),t=(0,ve.useMemo)(()=>({dependencies:r,idScope:n}),[n,...r]),ve.default.createElement(u7.Provider,{value:t},o)}function Wy({children:e}){let t=(0,ve.useContext)(Wl),r=(0,ve.useMemo)(()=>ve.default.createElement(Wl.Provider,{value:null},ve.default.createElement(m7.Provider,{value:!0},e)),[e]);return Qo()?ve.default.createElement(Vp.Provider,{value:t},r):(0,f7.createPortal)(r,t)}var ur=S(D(),1);var Vu=(0,ur.createContext)(null);var Uy={CollectionRoot({collection:e,renderDropIndicator:t}){return g7(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return g7(e,t,r)}};function g7(e,t,r){return zl({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){if(n.type==="content")return ur.default.createElement(ur.default.Fragment,null);let o=n.render(n);return!r||n.type!=="item"?o:ur.default.createElement(ur.default.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),o,jy(e,n,r))}})}function jy(e,t,r){let n=t.key,o=e.getKeyAfter(n),a=o!=null?e.getItem(o):null;for(;a!=null&&a.type!=="item";)o=e.getKeyAfter(a.key),a=o!=null?e.getItem(o):null;let i=t.nextKey!=null?e.getItem(t.nextKey):null;for(;i!=null&&i.type!=="item";)i=i.nextKey!=null?e.getItem(i.nextKey):null;let s=[];if(i==null){let l=t;for(;l?.type==="item"&&(!a||l.parentKey!==a.parentKey&&a.level<l.level);){let c=r({type:"item",key:l.key,dropPosition:"after"});(0,ur.isValidElement)(c)&&s.push((0,ur.cloneElement)(c,{key:`${l.key}-after`})),l=l.parentKey!=null?e.getItem(l.parentKey):null}}return s}var aa=(0,ur.createContext)(Uy);function b7(e){return(0,ur.useMemo)(()=>e!=null?new Set([e]):null,[e])}var Gy=new Set(["id"]),Zy=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Yy=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Xy=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),$7=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),qy=/^(data-.*)$/;function Ke(e,t={}){let{labelable:r,isLink:n,global:o,events:a=o,propNames:i}=t,s={};for(let l in e)Object.prototype.hasOwnProperty.call(e,l)&&(Gy.has(l)||r&&Zy.has(l)||n&&Yy.has(l)||o&&Xy.has(l)||a&&($7.has(l)||l.endsWith("Capture")&&$7.has(l.slice(0,-7)))||i?.has(l)||qy.test(l))&&(s[l]=e[l]);return s}var ns="default",Wp="",Wu=new WeakMap;function v7(e){if(vo()&&er()){if(ns==="default"){let t=ue(e);Wp=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ns="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Wu.set(e,e.style[t]),e.style[t]="none"}}function Up(e){if(vo()&&er()){if(ns!=="disabled")return;ns="restoring",setTimeout(()=>{Ou(()=>{if(ns==="restoring"){let t=ue(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Wp||""),Wp="",ns="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Wu.has(e)){let t=Wu.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Wu.delete(e)}}var y7=new WeakMap;function Uu(e){let t=ue(e),r=y7.get(t);return r??=Tl("csp-nonce",t),r!==void 0&&y7.set(t,r),r}var x7=S(D(),1),Gl=x7.default.createContext({register:()=>{}});Gl.displayName="PressResponderContext";var ia=S(D(),1);function sa(){let e=(0,ia.useRef)(new Map),t=(0,ia.useCallback)((o,a,i,s)=>{let l=s?.once?(...c)=>{e.current.delete(i),i(...c)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,l,s)},[]),r=(0,ia.useCallback)((o,a,i,s)=>{let l=e.current.get(i)?.fn||i;o.removeEventListener(a,l,s),e.current.delete(i)},[]),n=(0,ia.useCallback)(()=>{e.current.forEach((o,a)=>{r(o.eventTarget,o.type,a,o.options)})},[r]);return(0,ia.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var WP=S(kn(),1),xt=S(D(),1);function Qy(e){let t=(0,xt.useContext)(Gl);if(t){let{register:r,ref:n,...o}=t;e=se(o,e),r()}return Ku(t,e.ref),e}var os=class{#e;constructor(t,r,n,o){this.#e=!0;let i=(o?.target??n.currentTarget)?.getBoundingClientRect(),s,l=0,c,d=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,d=n.clientY),i&&(c!=null&&d!=null?(s=c-i.left,l=d-i.top):(s=i.width/2,l=i.height/2)),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},C7=Symbol("linkClicked"),w7="react-aria-pressable-style",S7="data-react-aria-pressable";function Co(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,onClick:i,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...b}=Qy(e),[g,y]=(0,xt.useState)(!1),$=(0,xt.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:f}=sa(),h=(0,xt.useCallback)((C,L)=>{let K=$.current;if(s||K.didFirePressStart)return!1;let I=!0;if(K.isTriggeringEvent=!0,n){let Z=new os("pressstart",L,C);n(Z),I=Z.shouldStopPropagation}return r&&r(!0),K.isTriggeringEvent=!1,K.didFirePressStart=!0,y(!0),I},[s,n,r]),v=(0,xt.useCallback)((C,L,K=!0)=>{let I=$.current;if(!I.didFirePressStart)return!1;I.didFirePressStart=!1,I.isTriggeringEvent=!0;let Z=!0;if(o){let N=new os("pressend",L,C);o(N),Z=N.shouldStopPropagation}if(r&&r(!1),y(!1),t&&K&&!s){let N=new os("press",L,C);t(N),Z&&=N.shouldStopPropagation}return I.isTriggeringEvent=!1,Z},[s,o,r,t]),x=mt(v),w=(0,xt.useCallback)((C,L)=>{let K=$.current;if(s)return!1;if(a){K.isTriggeringEvent=!0;let I=new os("pressup",L,C);return a(I),K.isTriggeringEvent=!1,I.shouldStopPropagation}return!0},[s,a]),k=mt(w),E=(0,xt.useCallback)(C=>{let L=$.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&v(Za(L.target,C),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,f(),u||Up(L.target);for(let K of L.disposables)K();L.disposables=[]}},[u,f,v]),T=mt(E);(0,xt.useEffect)(()=>{s&&$.current.isPressed&&T({currentTarget:$.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let P=(0,xt.useCallback)(C=>{d&&E(C)},[d,E]),F=(0,xt.useCallback)(C=>{s||i?.(C)},[s,i]),R=(0,xt.useCallback)((C,L)=>{if(!s&&i){let K=new MouseEvent("click",C);Cu(K,L),i(El(K))}},[s,i]),_=(0,xt.useMemo)(()=>{let C=$.current,L={onKeyDown(I){if(jp(I.nativeEvent,I.currentTarget)&&pe(I.currentTarget,Y(I))){E7(Y(I),I.key)&&I.preventDefault();let Z=!0;!C.isPressed&&!I.repeat&&(C.target=I.currentTarget,C.isPressed=!0,C.pointerType="keyboard",Z=h(I,"keyboard"));let N=I.currentTarget,q=ee=>{jp(ee,N)&&!ee.repeat&&pe(N,Y(ee))&&C.target&&k(Za(C.target,ee),"keyboard")};m(ue(I.currentTarget),"keyup",Qt(q,K),!0),Z&&I.stopPropagation(),I.metaKey&&Jt()&&C.metaKeyEvents?.set(I.key,I.nativeEvent)}else I.key==="Meta"&&(C.metaKeyEvents=new Map)},onClick(I){if(!(I&&!pe(I.currentTarget,Y(I)))&&I&&I.button===0&&!C.isTriggeringEvent&&!on.isOpening){let Z=!0;if(s&&I.preventDefault(),!C.ignoreEmulatedMouseEvents&&!C.isPressed&&(C.pointerType==="virtual"||ku(I.nativeEvent))){let N=h(I,"virtual"),q=k(I,"virtual"),ee=x(I,"virtual");F(I),Z=N&&q&&ee}else if(C.isPressed&&C.pointerType!=="keyboard"){let N=C.pointerType||I.nativeEvent.pointerType||"virtual",q=k(Za(I.currentTarget,I),N),ee=x(Za(I.currentTarget,I),N,!0);Z=q&&ee,C.isOverTarget=!1,F(I),T(I)}C.ignoreEmulatedMouseEvents=!1,Z&&I.stopPropagation()}}},K=I=>{if(C.isPressed&&C.target&&jp(I,C.target)){E7(Y(I),I.key)&&I.preventDefault();let Z=Y(I),N=pe(C.target,Z);x(Za(C.target,I),"keyboard",N),N&&R(I,C.target),f(),I.key!=="Enter"&&Gp(C.target)&&pe(C.target,Z)&&!I[C7]&&(I[C7]=!0,on(C.target,I,!1)),C.isPressed=!1,C.metaKeyEvents?.delete(I.key)}else if(I.key==="Meta"&&C.metaKeyEvents?.size){let Z=C.metaKeyEvents;C.metaKeyEvents=void 0;for(let N of Z.values())C.target?.dispatchEvent(new KeyboardEvent("keyup",N))}};if(typeof PointerEvent<"u"){L.onPointerDown=N=>{if(N.button!==0||!pe(N.currentTarget,Y(N)))return;if(M8(N.nativeEvent)){C.pointerType="virtual";return}C.pointerType=N.pointerType;let q=!0;if(!C.isPressed){C.isPressed=!0,C.isOverTarget=!0,C.activePointerId=N.pointerId,C.target=N.currentTarget,u||v7(C.target),q=h(N,C.pointerType);let ee=Y(N);"releasePointerCapture"in ee&&("hasPointerCapture"in ee?ee.hasPointerCapture(N.pointerId)&&ee.releasePointerCapture(N.pointerId):ee.releasePointerCapture(N.pointerId)),m(ue(N.currentTarget),"pointerup",I,!1),m(ue(N.currentTarget),"pointercancel",Z,!1)}q&&N.stopPropagation()},L.onMouseDown=N=>{if(pe(N.currentTarget,Y(N))&&N.button===0){if(c){let q=R8(N.target);q&&C.disposables.push(q)}N.stopPropagation()}},L.onPointerUp=N=>{!pe(N.currentTarget,Y(N))||C.pointerType==="virtual"||N.button===0&&!C.isPressed&&k(N,C.pointerType||N.pointerType)},L.onPointerEnter=N=>{N.pointerId===C.activePointerId&&C.target&&!C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!0,h(Za(C.target,N),C.pointerType))},L.onPointerLeave=N=>{N.pointerId===C.activePointerId&&C.target&&C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!1,x(Za(C.target,N),C.pointerType,!1),P(N))};let I=N=>{if(N.pointerId===C.activePointerId&&C.isPressed&&N.button===0&&C.target){if(pe(C.target,Y(N))&&C.pointerType!=null){let q=!1,ee=setTimeout(()=>{C.isPressed&&C.target instanceof HTMLElement&&(q?T(N):(lr(C.target),C.target.click()))},80);m(N.currentTarget,"click",()=>q=!0,!0),C.disposables.push(()=>clearTimeout(ee))}else T(N);C.isOverTarget=!1}},Z=N=>{T(N)};L.onDragStart=N=>{pe(N.currentTarget,Y(N))&&T(N)}}return L},[m,s,c,f,u,P,h,F,R]);return(0,xt.useEffect)(()=>{if(!p)return;let C=ue(p.current);if(!C||!C.head||C.getElementById(w7))return;let L=C.createElement("style");L.id=w7;let K=Uu(C);K&&(L.nonce=K),L.textContent=`
128
+ }`,Qv=["active-module-id","breakpoint","module-switcher-type","hide-search","hide-actions"],V0=class extends HTMLElement{static get observedAttributes(){return Qv}constructor(){super(),this._props={},this._reactRoot=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=qv+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-topnav-root",t.appendChild(this._mount),this._reactRoot=(0,O8.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("breakpoint")&&(t.breakpoint=this.getAttribute("breakpoint")),this.hasAttribute("module-switcher-type")&&(t.moduleSwitcherType=this.getAttribute("module-switcher-type"));let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props};this._reactRoot.render(A8.default.createElement(Tu,{...t,onModuleSelect:r=>this._emit("pathway-module-select",{id:r}),onOrgSelect:r=>this._emit("pathway-org-select",{id:r}),onSearchOpen:()=>this._emit("pathway-search-open",{}),onSideNavToggle:()=>this._emit("pathway-sidenav-toggle",{}),onNotifications:()=>this._emit("pathway-notifications",{}),onMore:()=>this._emit("pathway-more",{})}))}};customElements.get("pathway-top-nav")||customElements.define("pathway-top-nav",V0);var Uc=S(D(),1),c9=S(Rr(),1);var at=S(D(),1);var Gr=S(D(),1);var To=S(he(),1),pr={thumbWidth:"var(--semantic-layout-units-padding-xtight)",thumbRadius:"var(--semantic-layout-units-cornerradius-full)",thumbMin:28,gutter:"var(--semantic-layout-units-padding-xxxtight)",grabZone:16,thumbRest:"var(--pw-scrollbar-thumb-rest)",thumbHover:"var(--pw-scrollbar-thumb-hover)",thumbBlur:"blur(8px) saturate(180%)",thumbEdge:"inset 0 0 0 0.5px color-mix(in srgb, var(--semantic-color-fill-static-neutral-faint) 35%, transparent)",fadeIn:"opacity var(--motion-duration-3) var(--motion-easing-decelerate), background var(--motion-duration-3) var(--motion-easing-standard)",fadeOut:"opacity var(--motion-duration-5) var(--motion-easing-standard), background var(--motion-duration-3) var(--motion-easing-standard)",idleHideMs:500};if(typeof document<"u"&&!document.getElementById("pds-scrollable-base")){let e=document.createElement("style");e.id="pds-scrollable-base",e.textContent=':root,[data-theme="light"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-500-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-500-24)}[data-theme="midnight"],[data-theme="dark"]{--pw-scrollbar-thumb-rest:var(--primitive-color-warm-neutral-100-16);--pw-scrollbar-thumb-hover:var(--primitive-color-warm-neutral-100-24)}.pds-scrollable__view{scrollbar-width:none;-ms-overflow-style:none}.pds-scrollable__view:-webkit-scrollbar{width:0;height:0;display:none}@media (hover: none){.pds-scrollable__grab{pointer-events:none!important}}',document.head.appendChild(e)}function Lu({children:e,className:t="",style:r={},viewClassName:n="",viewStyle:o={}}){let i=Et(),a=(0,Gr.useRef)(null),s=(0,Gr.useRef)(null),l=(0,Gr.useRef)(null),c=(0,Gr.useRef)(!1),[d,u]=(0,Gr.useState)({h:0,top:0,show:!1}),[p,b]=(0,Gr.useState)(!1),[g,y]=(0,Gr.useState)(!1),$=(0,Gr.useCallback)(()=>{let T=a.current;if(!T)return;let{scrollHeight:E,clientHeight:F,scrollTop:_}=T;if(E<=F+1){u(L=>L.show?{...L,show:!1}:L);return}let I=Math.max(pr.thumbMin,F/E*F),C=_/(E-F)*(F-I);u({h:I,top:C,show:!0})},[]);(0,Gr.useEffect)(()=>{$();let T=a.current;if(!T||typeof ResizeObserver>"u")return;let E=new ResizeObserver($);return E.observe(T),Array.from(T.children).forEach(F=>E.observe(F)),()=>E.disconnect()},[e,$]);let m=()=>{clearTimeout(l.current),l.current=setTimeout(()=>{!s.current&&!c.current&&b(!1)},pr.idleHideMs)},f=()=>{b(!0),m()},h=()=>{$(),f()},v=T=>{T.currentTarget.getBoundingClientRect().right-T.clientX<=pr.grabZone?(c.current=!0,b(!0),clearTimeout(l.current)):c.current&&(c.current=!1,m())},x=()=>{c.current=!1,s.current||m()},w=T=>{T.preventDefault();let E=a.current;if(!E)return;s.current={startY:T.clientY,startTop:E.scrollTop},y(!0),b(!0),clearTimeout(l.current);let F=I=>{let{scrollHeight:C,clientHeight:L}=E,O=Math.max(pr.thumbMin,L/C*L),M=(C-L)/(L-O);E.scrollTop=s.current.startTop+(I.clientY-s.current.startY)*M},_=()=>{s.current=null,y(!1),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",_),f()};document.addEventListener("mousemove",F),document.addEventListener("mouseup",_)},P=d.top,k=d.h;return(0,To.jsxs)("div",{className:`pds-scrollable ${t}`,style:{position:"relative",minHeight:0,...r},onMouseMove:v,onMouseLeave:x,children:[(0,To.jsx)("div",{ref:a,className:`pds-scrollable__view ${n}`,onScroll:h,style:{height:"100%",overflowY:"auto",overflowX:"hidden",...o},children:e}),d.show&&(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",top:P,right:pr.gutter,width:pr.thumbWidth,height:k,borderRadius:pr.thumbRadius,background:g?pr.thumbHover:pr.thumbRest,backdropFilter:pr.thumbBlur,WebkitBackdropFilter:pr.thumbBlur,boxShadow:pr.thumbEdge,opacity:p?1:0,transition:i?"none":p?pr.fadeIn:pr.fadeOut,pointerEvents:"none",zIndex:5}}),(0,To.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:w,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{position:"absolute",top:P,right:0,width:pr.grabZone,height:k,pointerEvents:p?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var Jf=S(_n(),1);var it=S(D(),1),r9=S(_n(),1);var Rt=S(D(),1);function ir(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}var B8=S(D(),1),ue=typeof document<"u"?B8.default.useLayoutEffect:()=>{};var Bt=S(D(),1),Ru={prefix:String(Math.round(Math.random()*1e10)),current:0},K8=Bt.default.createContext(Ru),Jv=Bt.default.createContext(!1);var ey=!!(typeof window<"u"&&window.document&&window.document.createElement),W0=new WeakMap;function ty(e=!1){let t=(0,Bt.useContext)(K8),r=(0,Bt.useRef)(null);if(r.current===null&&!e){let n=Bt.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(n){let o=W0.get(n);o==null?W0.set(n,{id:t.current,state:n.memoizedState}):n.memoizedState!==o.state&&(t.current=o.id,W0.delete(n))}r.current=++t.current}return r.current}function ry(e){let t=(0,Bt.useContext)(K8),r=ty(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function ny(e){let t=Bt.default.useId(),[r]=(0,Bt.useState)(si()),n=r?"react-aria":`react-aria${Ru.prefix}`;return e||`${n}-${t}`}var z8=typeof Bt.default.useId=="function"?ny:ry;function oy(){return!1}function iy(){return!0}function ay(e){return()=>{}}function si(){return typeof Bt.default.useSyncExternalStore=="function"?Bt.default.useSyncExternalStore(ay,oy,iy):(0,Bt.useContext)(Jv)}var li=S(D(),1);function V8(e){let[t,r]=(0,li.useState)(e),n=(0,li.useRef)(t),o=(0,li.useRef)(null),i=(0,li.useRef)(()=>{if(!o.current)return;let s=o.current.next();if(s.done){o.current=null;return}n.current===s.value?i.current():r(s.value)});ue(()=>{n.current=t,o.current&&i.current()});let a=(0,li.useCallback)(s=>{o.current=s(n.current),i.current()},[i]);return[t,a]}var Lo=S(D(),1),sy=!!(typeof window<"u"&&window.document&&window.document.createElement),Ja=new Map,Qa;typeof FinalizationRegistry<"u"&&(Qa=new FinalizationRegistry(e=>{Ja.delete(e)}));var U0=new WeakMap;function kt(e){let[t,r]=(0,Lo.useState)(e),n=(0,Lo.useRef)(null),o=z8(t),i=(0,Lo.useRef)(null),a=U0.get(i);if(Qa&&a!==o&&(a!=null&&Qa.unregister(i),Qa.register(i,o,i),U0.set(i,o)),sy){let s=Ja.get(o);s&&!s.includes(n)?s.push(n):Ja.set(o,[n])}return ue(()=>{let s=o;return()=>{Qa&&(Qa.unregister(i),U0.delete(i)),Ja.delete(s)}},[o]),(0,Lo.useEffect)(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),o}function W8(e,t){if(e===t)return e;let r=Ja.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=Ja.get(t);return n?(n.forEach(o=>o.current=e),e):t}function qn(e=[]){let t=kt(),[r,n]=V8(t),o=(0,Lo.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ue(o,[t,o,...e]),r}function ci(...e){return e.length===1&&e[0]?e[0]:t=>{let r=!1,n=e.map(o=>{let i=U8(o,t);return r||=typeof i=="function",i});if(r)return()=>{n.forEach((o,i)=>{typeof o=="function"?o():U8(e[i],null)})}}}function U8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function j8(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=j8(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ly(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=j8(e))&&(n&&(n+=" "),n+=t);return n}var G8=ly;function le(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let o in n){let i=t[o],a=n[o];typeof i=="function"&&typeof a=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=ir(i,a):(o==="className"||o==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[o]=G8(i,a):o==="id"&&i&&a?t.id=W8(i,a):o==="ref"&&i&&a?t.ref=ci(i,a):t[o]=a!==void 0?a:i}}return t}var Kt=S(D(),1);var ji=S(D(),1);function Qn(e){let t=(0,ji.useRef)(null),r=(0,ji.useRef)(void 0),n=(0,ji.useCallback)(o=>{if(typeof e=="function"){let i=e,a=i(o);return()=>{typeof a=="function"?a():i(null)}}else if(e)return e.current=o,()=>{e.current=null}},[e]);return(0,ji.useMemo)(()=>({get current(){return t.current},set current(o){t.current=o,r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))}}),[n])}var es=Symbol("default");function ln({values:e,children:t}){for(let[r,n]of e)t=Kt.default.createElement(r.Provider,{value:n},t);return t}function qt(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:i,defaultStyle:a,values:s,render:l}=e;return(0,Kt.useMemo)(()=>{let c,d,u;return typeof t=="function"?c=t({...s,defaultClassName:o}):c=t,typeof r=="function"?d=r({...s,defaultStyle:a||{}}):d=r,typeof n=="function"?u=n({...s,defaultChildren:i}):n==null?u=i:u=n,{className:c??o,style:d||a?{...a,...d}:void 0,children:u??i,"data-rac":"",render:l?p=>l(p,s):void 0}},[t,r,n,o,i,a,s,l])}function Gi(e,t){let r=(0,Kt.useContext)(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||es;if(!r.slots[n]){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`)),i=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${i} Valid slot names are ${o}.`)}return r.slots[n]}return r}function Dt(e,t,r){let n=Gi(r,e.slot)||{},{ref:o,...i}=n,a=Qn((0,Kt.useMemo)(()=>ci(t,o),[t,o])),s=le(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?s.style=l=>{let c=typeof i.style=="function"?i.style(l):i.style,d={...l.defaultStyle,...c},u=typeof e.style=="function"?e.style({...l,defaultStyle:d}):e.style;return{...d,...u}}:s.style={...i.style,...e.style}),[s,a]}function ts(e=!0){let[t,r]=(0,Kt.useState)(e),n=(0,Kt.useRef)(!1),o=(0,Kt.useCallback)(i=>{n.current=!0,r(!!i)},[]);return ue(()=>{n.current||r(!1)},[]),[o,t]}function Y8(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function cy(e,t,r){let{render:n,...o}=t,i=(0,Kt.useRef)(null),a=(0,Kt.useMemo)(()=>ci(r,i),[r,i]);ue(()=>{},[e,n]);let s={...o,ref:a};return n?n(s,void 0):Kt.default.createElement(e,s)}var Z8={},rt=new Proxy({},{get(e,t){if(typeof t!="string")return;let r=Z8[t];return r||(r=(0,Kt.forwardRef)(cy.bind(null,t)),Z8[t]=r),r}});var X8="react-aria-clear-focus",q8="react-aria-focus";var fe=e=>dy(e)?e.document:uy(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),He=e=>fe(e)?.defaultView??(typeof window<"u"?window:void 0);function Il(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function dy(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function uy(e){return Il(e)&&e.nodeType===9}function Zi(e){return Il(e)&&e.nodeType===11&&"host"in e}function Ft(e,t,r,n){if(r==null||e==null)return()=>{};let o=Array.isArray(e)?e:[e];for(let i of o)i.addEventListener(t,r,n);return()=>{for(let i of o)i.removeEventListener(t,r,n)}}function Jn(e,t,r,n){if(e==null)return()=>{};let o=new Array,i=Array.isArray(e)?e:[e];for(let a of i){let s=a.style.getPropertyValue(t),l=a.style.getPropertyPriority(t);a.style.setProperty(t,r,n),o.unshift(()=>{s?a.style.setProperty(t,s,l):a.style.removeProperty(t)})}return()=>{for(let a of o)a()}}var fy=!1;function Mr(){return fy}function me(e,t){if(!Mr())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!=null;){if(r===e)return!0;typeof r.assignedElements!="function"&&r.assignedSlot?.parentNode?r=r.assignedSlot.parentNode:Zi(r)?r=r.host:r=r.parentNode}return!1}var xe=(e=document)=>{if(!Mr())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function q(e){if(Mr()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function Nl(e,t){if(t===null)return[];t=t??He(e);let r=[t];if(!Mr()||!e||e===t)return r;let n="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;Zi(o)&&o!==n;)r.push(o),o=o.host.getRootNode();return r}function di(e){if(!e)return!1;let t=e.getRootNode(),r=He(e);if(!(t instanceof r.Document||t instanceof r.ShadowRoot))return!1;let n=t.activeElement;return n!=null&&e.contains(n)}function _u(e){let t=my(fe(e));t!==e&&(t&&py(t,e),e&&j0(e,t))}function py(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function j0(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function my(e){let t=xe(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}function mr(e){e.focus({preventScroll:!0})}var hy=typeof Element<"u"&&"checkVisibility"in Element.prototype;function gy(e){let t=He(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}=e.style,o=r!=="none"&&n!=="hidden"&&n!=="collapse";if(o){let{getComputedStyle:i}=He(e),{display:a,visibility:s}=i(e);o=a!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function by(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Mu(e,t){return hy?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&gy(e)&&by(e,t)&&(!e.parentElement||Mu(e.parentElement,e))}var G0=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],$y=G0.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";G0.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var vy=G0.join(':not([hidden]):not([tabindex="-1"]),');function rs(e,t){return e.matches($y)&&!Q8(e)&&(t?.skipVisibilityCheck||Mu(e))}function ns(e){return e.matches(vy)&&Mu(e)&&!Q8(e)}function Q8(e){let t=e;for(;t!=null;){if(t instanceof He(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var Iu=S(D(),1);function Fl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Nu(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Du(e){let t=(0,Iu.useRef)({isFocused:!1,observer:null});return ue(()=>{let r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),(0,Iu.useCallback)(r=>{let n=q(r);if(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n,i=a=>{if(t.current.isFocused=!1,o.disabled){let s=Fl(a);e?.(s)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer?.disconnect();let a=o===xe()?null:xe();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}var Dl=!1;function J8(e){for(;e&&!rs(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=He(e),r=xe(t.document);if(!r||r===e)return;let n=e?.getRootNode(),o=n!=null&&Zi(n)?n:He(e),i=g=>g===e||Il(g)&&me(e,g),a=g=>g===r||r!=null&&Il(g)&&me(r,g);Dl=!0;let s=!1,l=g=>{(a(q(g))||s)&&g.stopImmediatePropagation()},c=g=>{(a(q(g))||s)&&(g.stopImmediatePropagation(),!e&&!s&&(s=!0,mr(r),p()))},d=g=>{(i(q(g))||s)&&g.stopImmediatePropagation()},u=g=>{(i(q(g))||s)&&(g.stopImmediatePropagation(),s||(s=!0,mr(r),p()))};o.addEventListener("blur",l,!0),o.addEventListener("focusout",c,!0),o.addEventListener("focusin",u,!0),o.addEventListener("focus",d,!0);let p=()=>{cancelAnimationFrame(b),o.removeEventListener("blur",l,!0),o.removeEventListener("focusout",c,!0),o.removeEventListener("focusin",u,!0),o.removeEventListener("focus",d,!0),Dl=!1,s=!1},b=requestAnimationFrame(p);return p}function Fu(e){if(typeof window>"u"||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Z0(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function eo(e){let t=null;return()=>(t==null&&(t=e()),t)}var ar=eo(function(){return Z0(/^Mac/i)}),yy=eo(function(){return Z0(/^iPhone/i)}),Y0=eo(function(){return Z0(/^iPad/i)||ar()&&navigator.maxTouchPoints>1}),Ro=eo(function(){return yy()||Y0()}),e7=eo(function(){return ar()||Ro()}),sr=eo(function(){return Fu(/AppleWebKit/i)&&(Ro()||!Hu())}),vk=eo(function(){return sr()&&!Hu()&&!xy()}),Hu=eo(function(){return Fu(/Chrome|CriOS|CrMo/i)}),_o=eo(function(){return Fu(/Android/i)}),xy=eo(function(){return Fu(/(Firefox|FxiOS)/i)});function Au(e){return e.pointerType===""&&e.isTrusted?!0:_o()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function t7(e){return!_o()&&e.width===0&&e.height===0||_o()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}var os=S(D(),1),Cy=(0,os.createContext)({isNative:!0,open:Ey,useHref:e=>e});function Yi(){return(0,os.useContext)(Cy)}function wy(e,t){let r=e.getAttribute("target");return(!r||r==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function cn(e,t,r=!0){let{metaKey:n,ctrlKey:o,altKey:i,shiftKey:a}=t,s=sr()&&ar()&&!Y0()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:n,ctrlKey:o,altKey:i,shiftKey:a}):new MouseEvent("click",{metaKey:n,ctrlKey:o,altKey:i,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});cn.isOpening=r,mr(e),e.dispatchEvent(s),cn.isOpening=!1}cn.isOpening=!1;function Sy(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}function Ey(e,t){Sy(e,r=>cn(r,t))}function Ou(e){let r=Yi().useHref(e?.href??""),n={};if(e)for(let o of["href","target","rel","download","ping","referrerPolicy"])o in e&&e[o]!==void 0&&(n[o]=o==="href"?r:e[o]);return n}function r7(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&wy(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}var Q0=S(D(),1),qi=null,Al="keyboard",X0=new Set,Hl=new Map,Xi=!1,Bu=!1,ky={Tab:!0,Escape:!0};function zu(e,t){for(let r of X0)r(e,t)}function Py(e){return!(e.metaKey||!ar()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ku(e){Xi=!0,!cn.isOpening&&Py(e)&&(qi="keyboard",Al="keyboard",zu("keyboard",e))}function is(e){qi="pointer",Al="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Xi=!0,zu("pointer",e))}function n7(e){!cn.isOpening&&Au(e)&&(Xi=!0,qi="virtual",Al="virtual")}function o7(e){if(Dl)return;let t=q(e),r=He(t),n=fe(t);if(t===r){Bu=!0;return}t===n||!e.isTrusted||(!Xi&&!Bu&&(qi="virtual",Al="virtual",zu("virtual",e)),Xi=!1,Bu=!1)}function i7(){Dl||(Xi=!1,Bu=!0)}function a7(e){let t=xe(fe(q(e)));queueMicrotask(()=>{xe(fe(q(e)))!==t&&ui("keyboard")})}function q0(e){if(typeof window>"u"||typeof document>"u")return;let t=He(e),r=fe(e);if(Hl.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Xi=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",Ku,!0),r.addEventListener("keyup",Ku,!0),r.addEventListener("click",n7,!0),r.addEventListener("invalid",a7,!0),t.addEventListener("focus",o7,!0),t.addEventListener("blur",i7,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",is,!0),r.addEventListener("pointermove",is,!0),r.addEventListener("pointerup",is,!0)),t.addEventListener("beforeunload",()=>{s7(e)},{once:!0}),Hl.set(t,{focus:n})}var s7=(e,t)=>{let r=He(e),n=fe(e);t&&n.removeEventListener("DOMContentLoaded",t),Hl.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Hl.get(r).focus}),n.removeEventListener("keydown",Ku,!0),n.removeEventListener("keyup",Ku,!0),n.removeEventListener("click",n7,!0),n.removeEventListener("invalid",a7,!0),r.removeEventListener("focus",o7,!0),r.removeEventListener("blur",i7,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",is,!0),n.removeEventListener("pointermove",is,!0),n.removeEventListener("pointerup",is,!0)),Hl.delete(r))};function l7(e){let t=fe(e),r;return t.readyState!=="loading"?q0(e):(r=()=>{q0(e)},t.addEventListener("DOMContentLoaded",r)),()=>s7(e,r)}typeof document<"u"&&l7();function In(){return qi!=="pointer"}function to(){return qi}function ui(e){qi=e,Al=e==="pointer"?"mouse":e,zu(e,null)}var Ty=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ly(e,t,r){let n=r?q(r):void 0,o=fe(n),i=He(n),a=typeof i<"u"?i.HTMLInputElement:HTMLInputElement,s=typeof i<"u"?i.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof i<"u"?i.HTMLElement:HTMLElement,c=typeof i<"u"?i.KeyboardEvent:KeyboardEvent,d=xe(o);return e=e||d instanceof a&&!Ty.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&r instanceof c&&!ky[r.key])}function J0(e,t,r){q0(),(0,Q0.useEffect)(()=>{if(r?.enabled===!1)return;let n=(o,i)=>{Ly(!!r?.isTextInput,o,i)&&e(In())};return X0.add(n),()=>{X0.delete(n)}},t)}function Ol(e,t){let r=He(t),n=fe(t);if(n==null||r==null)return;let o,i=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,a=n.querySelector(i);return a&&a instanceof r.HTMLMetaElement&&(e==="csp-nonce"&&a.nonce&&(o??=a.nonce||void 0),a.content&&(o??=a.content||void 0)),e==="csp-nonce"&&(o??=r.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),o}var Bl=100,Vu=600,ge={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},Ry=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Kl(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),r=Number(window.visualViewport?.scale??1);return{width:e*r,height:t*r,angle:window.screen.orientation?.angle??0}}function _y(e){ge.resizeTimeStamp<=e.timeStamp+50&&(ge.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(ge.resizeTimeout),ge.resizeTimeout=window.setTimeout(d7,150))}function d7(){let e=Ol("viewport");if(_o()&&e?.includes("overlays-content"))return;let t=performance.now(),r=Kl(),n=t-ge.startTimeStamp,o=ge.screenHeight-r.height,i=ge.screenAngle-r.angle;Math.abs(i)%180&&ge.screenWidth-r.height<Bl&&(ge.screenWidth=r.width,ge.screenHeight=r.height,ge.screenAngle=r.angle,o=0),n>Vu&&(window.clearTimeout(ge.screenTimeout),ge.screenTimeout=window.setTimeout(()=>{let a=document.hasFocus()?xe():null,s=Qi(a),l=Kl();Math.abs(ge.screenAngle-l.angle)%180||ge.isOpen&&s||(ge.screenWidth=l.width,ge.screenHeight=l.height,ge.screenAngle=l.angle,ge.isOpen=!1)},Vu)),n<=Vu&&o>=Bl&&(ge.endTimeStamp=t),ge.isOpen=o>=Bl}function My(){let e=Kl(),t=ge.screenAngle-e.angle;if(Math.abs(t)%180&&!ge.isOpen){let r=ge.screenWidth,n=ge.screenHeight;ge.screenWidth=n,ge.screenHeight=r}ge.isOpen||(ge.screenAngle=e.angle)}function Iy(e){let t=q(e),r=Qi(t),n=performance.now(),o=Kl(),i=ge.screenHeight-o.height;i<Bl&&r&&(ge.screenWidth=o.width,ge.screenHeight=o.height,ge.screenAngle=o.angle,ge.startTimeStamp=n),r&&window.clearTimeout(ge.screenTimeout),i>=Bl&&r&&(ge.endTimeStamp=n)}function c7(){let e=Kl();Ft(window.visualViewport,"resize",sr()?d7:_y),Ft(window.screen.orientation,"change",My),Ft(window,"focus",Iy,{capture:!0,passive:!0}),ge.screenWidth=e.width,ge.screenHeight=e.height,ge.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?c7():Ft(document,"DOMContentLoaded",c7));function zl(){let e=Ol("viewport");return _o()&&e?.includes("overlays-content")?!1:ge.isOpen?!0:ge.startTimeStamp?ge.endTimeStamp>=ge.startTimeStamp?!0:performance.now()-ge.startTimeStamp<=Vu?ge.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Qi(e){if(!(e instanceof Element)||!rs(e))return!1;let t=e instanceof HTMLTextAreaElement,r=e instanceof HTMLElement&&e.isContentEditable,n=e instanceof HTMLInputElement&&!Ry.has(e.type);return t||r||n}function Ji(e){return ar()?e.metaKey:e.ctrlKey}function as(){return ge.isOpen}var ss=S(D(),1),Ny=ss.default.useInsertionEffect??ue;function yt(e){let t=(0,ss.useRef)(null);return Ny(()=>{t.current=e},[e]),(0,ss.useCallback)((...r)=>{let n=t.current;return n?.(...r)},[])}var u7=S(D(),1);function Vl(e,t,r,n){let o=yt(r),i=r==null;(0,u7.useEffect)(()=>{if(!(i||e.current==null))return Ft(e.current,t,o,n)},[e,t,n,i])}function Wu(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=kt(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!n&&!o&&t&&(n=t),{id:r,"aria-label":n,"aria-labelledby":o}}var Dy=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Fy=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function f7(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return Dy.has(r.script)}let t=e.split("-")[0];return Fy.has(t)}var Uu=S(D(),1),m7=Symbol.for("react-aria.i18n.locale");function h7(){let e=typeof window<"u"&&window[m7]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:f7(e)?"rtl":"ltr"}}var e2=h7(),Wl=new Set;function p7(){e2=h7();for(let e of Wl)e(e2)}function g7(){let e=si(),[t,r]=(0,Uu.useState)(e2);return(0,Uu.useEffect)(()=>(Wl.size===0&&window.addEventListener("languagechange",p7),Wl.add(r),()=>{Wl.delete(r),Wl.size===0&&window.removeEventListener("languagechange",p7)}),[]),e?{locale:typeof window<"u"&&window[m7]||"en-US",direction:"ltr"}:t}var ju=S(D(),1),Hy=ju.default.createContext(null);function hr(){let e=g7();return(0,ju.useContext)(Hy)||e}var Ay=Symbol.for("react-aria.i18n.locale"),Oy=Symbol.for("react-aria.i18n.strings"),Gu,ls=class e{constructor(t,r="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=r}getStringForLocale(t,r){let o=this.getStringsForLocale(r)[t];if(!o)throw new Error(`Could not find intl message ${t} in ${r} locale`);return o}getStringsForLocale(t){let r=this.strings[t];return r||(r=By(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[Ay];if(Gu===void 0){let o=window[Oy];if(!o)return null;Gu={};for(let i in o)Gu[i]=new e({[r]:o[i]},r)}let n=Gu?.[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}};function By(e,t,r="en-US"){if(t[e])return t[e];let n=Ky(e),o=zy(e);if(o&&t[`${n}-${o}`])return t[`${n}-${o}`];if(t[n])return t[n];for(let i in t)if(i.startsWith(n+"-"))return t[i];return t[r]}function Ky(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function zy(e){if(Intl.Locale)return new Intl.Locale(e).script}var b7=new Map,$7=new Map,Ul=class{constructor(t,r){this.locale=t,this.strings=r}format(t,r){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(r,this):n}plural(t,r,n="cardinal"){let o=r["="+t];if(o)return typeof o=="function"?o():o;let i=this.locale+":"+n,a=b7.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),b7.set(i,a));let s=a.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=$7.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),$7.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}};var y7=S(D(),1),v7=new WeakMap;function Vy(e){let t=v7.get(e);return t||(t=new ls(e),v7.set(e,t)),t}function Wy(e,t){return t&&ls.getGlobalDictionaryForPackage(t)||Vy(e)}function x7(e,t){let{locale:r}=hr(),n=Wy(e,t);return(0,y7.useMemo)(()=>new Ul(r,n),[r,n])}var gr=S(D(),1),Uy=typeof document<"u"||parseInt(gr.default.version,10)>=19?gr.default.useInsertionEffect??gr.default.useLayoutEffect:()=>{};function fi(e,t,r){let[n,o]=(0,gr.useState)(e||t),i=(0,gr.useRef)(n),a=(0,gr.useRef)(e!==void 0),s=e!==void 0;(0,gr.useEffect)(()=>{let u=a.current;a.current=s},[s]);let l=s?e:n;Uy(()=>{i.current=l});let[,c]=(0,gr.useReducer)(()=>({}),{}),d=(0,gr.useCallback)((u,...p)=>{let b=typeof u=="function"?u(i.current):u;Object.is(i.current,b)||(i.current=b,o(b),c(),r?.(b,...p))},[r]);return[l,d]}var jl=S(D(),1);var Gl=(0,jl.createContext)(null),C7=(0,jl.createContext)(null);var dn=class{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,r,n){let o=this.clone();return r.addDescendants(o,t),o}},Zl=class extends dn{filter(t,r,n){let[o,i]=w7(t,r,this.firstChildKey,n),a=this.clone();return a.firstChildKey=o,a.lastChildKey=i,a}},t2=class extends dn{static{this.type="header"}},ea=class extends dn{static{this.type="loader"}},ta=class extends Zl{static{this.type="item"}filter(t,r,n){if(n(this.textValue,this)){let o=this.clone();return r.addDescendants(o,t),o}return null}},Yl=class extends Zl{static{this.type="section"}filter(t,r,n){let o=super.filter(t,r,n);if(o&&o.lastChildKey!==null){let i=t.getItem(o.lastChildKey);if(i&&i.type!=="header")return o}return null}},Xl=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),o=n?.firstChildKey!=null?r.get(n.firstChildKey):null;for(;o;)yield o,o=o.nextKey!=null?r.get(o.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);return r?.key??null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;t?.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r.itemCount=this.itemCount,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,r){this.addNode(t);let n=r.getChildren(t.key);for(let o of n)this.addDescendants(o,r)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let r=this.keyMap.get(t);r!=null&&r.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}filter(t){let r=new this.constructor,[n,o]=w7(this,r,this.firstKey,t);return r?.commit(n,o),r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function w7(e,t,r,n){if(r==null)return[null,null];let o=null,i=null,a=e.getItem(r);for(;a!=null;){let s=a.filter(e,t,n);s!=null&&(s.nextKey=null,i&&(s.prevKey=i.key,i.nextKey=s.key),o==null&&(o=s),t.addNode(s),i=s),a=a.nextKey!=null?e.getItem(a.nextKey):null}if(i&&i.type==="separator"){let s=i.prevKey;t.removeNode(i.key),s!=null?(i=t.getItem(s),i.nextKey=null):i=null}return[o?.key??null,i?.key??null]}var Zu=class{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index-1,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}},ql=class e extends Zu{constructor(t,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+(this.parentNode.node?.type==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,r=this.getMutableNode();if(r!=null&&(r.index=this.index,r.level=this.level,r.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,r.prevKey=this.previousVisibleSibling?.node?.key??null,r.nextKey=t?.node?.key??null,r.hasChildNodes=!!this.firstChild,r.firstChildKey=this.firstVisibleChild?.node?.key??null,r.lastChildKey=this.lastVisibleChild?.node?.key??null,(r.colSpan!=null||r.colIndex!=null)&&t)){let n=(r.colIndex??r.index)+(r.colSpan??1);if(t.node!=null&&n!==t.node.colIndex){let o=t.getMutableNode();o.colIndex=n}}}setProps(t,r,n,o,i){let a,{value:s,textValue:l,id:c,...d}=t;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),d.ref=r,a.props=d,a.rendered=o,a.render=i,a.value=s,t["aria-label"]&&(a["aria-label"]=t["aria-label"]),a.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",c!=null&&c!==a.key)throw new Error("Cannot change the id of an item");d.colSpan!=null&&(a.colSpan=d.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(r){let n=r==="none";if(t.isHidden!==n){(t.parentNode?.firstVisibleChild===t||t.parentNode?.lastVisibleChild===t)&&t.ownerDocument.markDirty(t.parentNode);let o=t.previousVisibleSibling,i=t.nextVisibleSibling;o&&t.ownerDocument.markDirty(o),i&&t.ownerDocument.markDirty(i),t.isHidden=n,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},Yu=class extends Zu{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new ql(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let r=this.getMutableCollection();if(!r.getItem(t.node.key))for(let n of t)this.addNode(n);r.addNode(t.node)}removeNode(t){for(let r of t)this.removeNode(r);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let t of this.dirtyNodes)t instanceof ql&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof ql?(t.isConnected&&!t.isHidden&&(t.updateNode(),this.addNode(t)),t.node&&this.dirtyNodes.delete(t),t.isMutated=!1):this.dirtyNodes.delete(t);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};var cs=S(D(),1);function Ql(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:i=[]}=e,a=(0,cs.useMemo)(()=>{},[t]),s=(0,cs.useMemo)(()=>new WeakMap,[...i,a]);return(0,cs.useMemo)(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let d=jy(c)?c:null,u=d?s.get(d):null;if(!u){u=t(c);let p=u.props.id??c?.key??c?.id;n!=null&&u.props.id==null&&p!=null&&(p=n+":"+p);let b=p??l.length;u=(0,cs.cloneElement)(u,o?{key:b,id:p,value:c}:{key:b}),d&&s.set(d,u)}l.push(u)}return l}else if(typeof t!="function")return t},[t,r,s,n,o])}function jy(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var pi=new Map,Xu=new Set;function E7(e){return"propertyName"in e}function Gy(e){let t=q(e);if(!E7(e)||!t)return;let r=pi.get(t);r||(r=new Set,pi.set(t,r),t.addEventListener("transitioncancel",r2,{once:!0})),r.add(e.propertyName)}function r2(e){let t=q(e);if(!E7(e)||!t)return;let r=pi.get(t);if(r&&(r.delete(e.propertyName),r.size===0&&(t.removeEventListener("transitioncancel",r2),pi.delete(t)),pi.size===0))for(let n of Xu)n(!0),Xu.delete(n)}function S7(){Ft(document,"transitionrun",Gy),Ft(document,"transitionend",r2)}function Zy(){for(let[e]of pi)"isConnected"in e&&!e.isConnected&&pi.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?S7():Ft(document,"DOMContentLoaded",S7));function qu(e){let t=window.requestAnimationFrame(()=>{if(Zy(),pi.size===0)return e(!1);Xu.add(e)});return()=>{window.cancelAnimationFrame(t),Xu.delete(e)}}function un(e){if(!e.isConnected)return;let t=fe(e);if(to()==="virtual"){let r=xe(t);qu(()=>{let n=xe(t);(n===r||n===t.body)&&e.isConnected&&mr(e)})}else mr(e)}var n2=S(D(),1);function ra(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,i=(0,n2.useCallback)(l=>{if(q(l)===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),a=Du(i),s=(0,n2.useCallback)(l=>{let c=q(l),d=fe(c),u=d?xe(d):xe();c===l.currentTarget&&c===u&&(r&&r(l),o&&o(!0),a(l))},[o,r,a]);return{focusProps:{onFocus:!t&&(r||o||n)?s:void 0,onBlur:!t&&(n||o)?i:void 0}}}function Jl(e){if(e)return t=>{let r=!0,n={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){r=!0},continuePropagation(){r=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return r}};e(n),r&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}var Yy=new Set(["shift","alt","control","meta","mod"]),Xy=["Alt","Control","Meta","Shift"];function qy(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(ar()?"Meta":"Control"),t}function Qy(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function k7(e){return Xy.filter(t=>e.has(t))}function Jy(e){let t=e.split("+").reduce((r,n)=>{let o=n.toLowerCase();return Yy.has(o)?o==="shift"?r.shift=!0:o==="alt"?r.alt=!0:o==="control"?r.ctrl=!0:o==="meta"?r.meta=!0:o==="mod"&&(r.mod=!0):r.key=n,r},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function P7(e){return e.toLowerCase()}var ex={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function tx(e){let t=P7(e),r=ex[t];return r??t}function rx(e){let t=k7(qy(e)),r=tx(e.key);return t.length>0?`${t.join("+")}+${r}`:r}function nx(e){let t=k7(Qy(e)),r=P7(e.key);return(t.length>0?`${t.join("+")}+`:"")+r}function T7(e){let t=new Map;for(let[r,n]of Object.entries(e)){let o=Jy(r);t.set(rx(o),n)}return r=>{let n=nx(r),o=t.get(n),i=o?.(r);i===void 0&&o!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i=="boolean"&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&r.preventDefault(),(!o||i?.shouldContinuePropagation)&&r.continuePropagation()}}function Ir(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:n=!1}=e,o,i;if(t){let a=T7(t),s=Jl(c=>{if(!me(c.currentTarget,q(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}a(c)}),l=Jl(c=>{if(!me(c.currentTarget,q(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}c.continuePropagation()});o=e.onKeyDown?ir(e.onKeyDown,s):s,i=e.onKeyUp?ir(e.onKeyUp,l):l}else o=Jl(e.onKeyDown),i=Jl(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:o,onKeyUp:i}}}function Qu(e,t){ue(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var Mo=S(D(),1),ds=Mo.default.createContext(null);function ox(e){let t=(0,Mo.useContext)(ds)||{};Qu(t,e);let{ref:r,...n}=t;return n}function Ju(e,t){let{focusProps:r}=ra(e),{keyboardProps:n}=Ir(e),o=le(r,n),i=ox(t),a=e.isDisabled?{}:i,s=(0,Mo.useRef)(e.autoFocus);(0,Mo.useEffect)(()=>{s.current&&t.current&&un(t.current),s.current=!1},[t]);let l=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(l=void 0),{focusableProps:le({...o,tabIndex:l},a)}}var Zr=S(D(),1);typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var ef=(0,Zr.createContext)(!1);function L7(e){if((0,Zr.useContext)(ef))return Zr.default.createElement(Zr.default.Fragment,null,e.children);let r=Zr.default.createElement(ef.Provider,{value:!0},e.children);return Zr.default.createElement("template",null,r)}function ec(e){let t=(r,n)=>(0,Zr.useContext)(ef)?null:e(r,n);return t.displayName=e.displayName||e.name,(0,Zr.forwardRef)(t)}function o2(){return(0,Zr.useContext)(ef)}var D7=S(_n(),1),ve=S(D(),1),F7=S(I7(),1),H7=(0,ve.createContext)(!1),tc=(0,ve.createContext)(null);function rc(e){if((0,ve.useContext)(tc))return e.content;let{collection:r,document:n}=bx(e.createCollection);return ve.default.createElement(ve.default.Fragment,null,ve.default.createElement(L7,null,ve.default.createElement(tc.Provider,{value:n},e.content)),ve.default.createElement(mx,{render:e.children,collection:r}))}function mx({collection:e,render:t}){return t(e)}function hx(e,t,r){let n=si(),o=(0,ve.useRef)(n);o.current=n;let i=(0,ve.useCallback)(()=>o.current?r():t(),[t,r]);return(0,F7.useSyncExternalStore)(e,i)}var gx=typeof ve.default.useSyncExternalStore=="function"?ve.default.useSyncExternalStore:hx;function bx(e){let[t]=(0,ve.useState)(()=>new Yu(e?.()||new Xl)),r=(0,ve.useCallback)(a=>t.subscribe(a),[t]),n=(0,ve.useCallback)(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),o=(0,ve.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:gx(r,n,o),document:t}}var a2=(0,ve.createContext)(null);function $x(e){return class extends dn{static{this.type=e}}}function vx(e,t,r,n,o,i){typeof e=="string"&&(e=$x(e));let a=(0,ve.useCallback)(l=>{l?.setProps(t,r,e,n,i)},[t,r,n,i,e]),s=(0,ve.useContext)(a2);if(s){let l=s.ownerDocument.nodesByProps.get(t);return l||(l=s.ownerDocument.createElement(e.type),l.setProps(t,r,e,n,i),s.appendChild(l),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,l)),o?ve.default.createElement(a2.Provider,{value:l},o):null}return ve.default.createElement(e.type,{ref:a},o)}function na(e,t){let r=({node:o})=>t(o.props,o.props.ref,o),n=(0,ve.forwardRef)((o,i)=>{let a=(0,ve.useContext)(ds);if(!(0,ve.useContext)(H7)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(o,i)}return vx(e,o,i,"children"in o?o.children:null,null,l=>ve.default.createElement(ds.Provider,{value:a},ve.default.createElement(r,{node:l})))});return n.displayName=t.name,n}function yx(e){return Ql({...e,addIdAndValue:!0})}var N7=(0,ve.createContext)(null);function nc(e){let t=(0,ve.useContext)(N7),r=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,o=yx({...e,idScope:n,dependencies:r});return(0,ve.useContext)(tc)&&(o=ve.default.createElement(xx,null,o)),t=(0,ve.useMemo)(()=>({dependencies:r,idScope:n}),[n,...r]),ve.default.createElement(N7.Provider,{value:t},o)}function xx({children:e}){let t=(0,ve.useContext)(tc),r=(0,ve.useMemo)(()=>ve.default.createElement(tc.Provider,{value:null},ve.default.createElement(H7.Provider,{value:!0},e)),[e]);return si()?ve.default.createElement(a2.Provider,{value:t},r):(0,D7.createPortal)(r,t)}var br=S(D(),1);var tf=(0,br.createContext)(null);var Cx={CollectionRoot({collection:e,renderDropIndicator:t}){return O7(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return O7(e,t,r)}};function O7(e,t,r){return Ql({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){if(n.type==="content")return br.default.createElement(br.default.Fragment,null);let o=n.render(n);return!r||n.type!=="item"?o:br.default.createElement(br.default.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),o,wx(e,n,r))}})}function wx(e,t,r){let n=t.key,o=e.getKeyAfter(n),i=o!=null?e.getItem(o):null;for(;i!=null&&i.type!=="item";)o=e.getKeyAfter(i.key),i=o!=null?e.getItem(o):null;let a=t.nextKey!=null?e.getItem(t.nextKey):null;for(;a!=null&&a.type!=="item";)a=a.nextKey!=null?e.getItem(a.nextKey):null;let s=[];if(a==null){let l=t;for(;l?.type==="item"&&(!i||l.parentKey!==i.parentKey&&i.level<l.level);){let c=r({type:"item",key:l.key,dropPosition:"after"});(0,br.isValidElement)(c)&&s.push((0,br.cloneElement)(c,{key:`${l.key}-after`})),l=l.parentKey!=null?e.getItem(l.parentKey):null}}return s}var mi=(0,br.createContext)(Cx);function B7(e){return(0,br.useMemo)(()=>e!=null?new Set([e]):null,[e])}var Sx=new Set(["id"]),Ex=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),kx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Px=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),K7=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),Tx=/^(data-.*)$/;function ze(e,t={}){let{labelable:r,isLink:n,global:o,events:i=o,propNames:a}=t,s={};for(let l in e)Object.prototype.hasOwnProperty.call(e,l)&&(Sx.has(l)||r&&Ex.has(l)||n&&kx.has(l)||o&&Px.has(l)||i&&(K7.has(l)||l.endsWith("Capture")&&K7.has(l.slice(0,-7)))||a?.has(l)||Tx.test(l))&&(s[l]=e[l]);return s}var fs="default",s2="",rf=new WeakMap;function z7(e){if(Ro()&&sr()){if(fs==="default"){let t=fe(e);s2=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}fs="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";rf.set(e,e.style[t]),e.style[t]="none"}}function l2(e){if(Ro()&&sr()){if(fs!=="disabled")return;fs="restoring",setTimeout(()=>{qu(()=>{if(fs==="restoring"){let t=fe(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=s2||""),s2="",fs="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&rf.has(e)){let t=rf.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),rf.delete(e)}}var V7=new WeakMap;function nf(e){let t=fe(e),r=V7.get(t);return r??=Ol("csp-nonce",t),r!==void 0&&V7.set(t,r),r}var W7=S(D(),1),oc=W7.default.createContext({register:()=>{}});oc.displayName="PressResponderContext";var hi=S(D(),1);function gi(){let e=(0,hi.useRef)(new Map),t=(0,hi.useCallback)((o,i,a,s)=>{let l=s?.once?(...c)=>{e.current.delete(a),a(...c)}:a;e.current.set(a,{type:i,eventTarget:o,fn:l,options:s}),o.addEventListener(i,l,s)},[]),r=(0,hi.useCallback)((o,i,a,s)=>{let l=e.current.get(a)?.fn||a;o.removeEventListener(i,l,s),e.current.delete(a)},[]),n=(0,hi.useCallback)(()=>{e.current.forEach((o,i)=>{r(o.eventTarget,o.type,i,o.options)})},[r]);return(0,hi.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var RT=S(_n(),1),Pt=S(D(),1);function Lx(e){let t=(0,Pt.useContext)(oc);if(t){let{register:r,ref:n,...o}=t;e=le(o,e),r()}return Qu(t,e.ref),e}var ps=class{#e;constructor(t,r,n,o){this.#e=!0;let a=(o?.target??n.currentTarget)?.getBoundingClientRect(),s,l=0,c,d=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,d=n.clientY),a&&(c!=null&&d!=null?(s=c-a.left,l=d-a.top):(s=a.width/2,l=a.height/2)),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},U7=Symbol("linkClicked"),j7="react-aria-pressable-style",G7="data-react-aria-pressable";function Io(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,onClick:a,isDisabled:s,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:u,ref:p,...b}=Lx(e),[g,y]=(0,Pt.useState)(!1),$=(0,Pt.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:f}=gi(),h=(0,Pt.useCallback)((C,L)=>{let O=$.current;if(s||O.didFirePressStart)return!1;let M=!0;if(O.isTriggeringEvent=!0,n){let Z=new ps("pressstart",L,C);n(Z),M=Z.shouldStopPropagation}return r&&r(!0),O.isTriggeringEvent=!1,O.didFirePressStart=!0,y(!0),M},[s,n,r]),v=(0,Pt.useCallback)((C,L,O=!0)=>{let M=$.current;if(!M.didFirePressStart)return!1;M.didFirePressStart=!1,M.isTriggeringEvent=!0;let Z=!0;if(o){let R=new ps("pressend",L,C);o(R),Z=R.shouldStopPropagation}if(r&&r(!1),y(!1),t&&O&&!s){let R=new ps("press",L,C);t(R),Z&&=R.shouldStopPropagation}return M.isTriggeringEvent=!1,Z},[s,o,r,t]),x=yt(v),w=(0,Pt.useCallback)((C,L)=>{let O=$.current;if(s)return!1;if(i){O.isTriggeringEvent=!0;let M=new ps("pressup",L,C);return i(M),O.isTriggeringEvent=!1,M.shouldStopPropagation}return!0},[s,i]),P=yt(w),k=(0,Pt.useCallback)(C=>{let L=$.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&v(oa(L.target,C),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,f(),u||l2(L.target);for(let O of L.disposables)O();L.disposables=[]}},[u,f,v]),T=yt(k);(0,Pt.useEffect)(()=>{s&&$.current.isPressed&&T({currentTarget:$.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,Pt.useCallback)(C=>{d&&k(C)},[d,k]),F=(0,Pt.useCallback)(C=>{s||a?.(C)},[s,a]),_=(0,Pt.useCallback)((C,L)=>{if(!s&&a){let O=new MouseEvent("click",C);Nu(O,L),a(Fl(O))}},[s,a]),I=(0,Pt.useMemo)(()=>{let C=$.current,L={onKeyDown(M){if(c2(M.nativeEvent,M.currentTarget)&&me(M.currentTarget,q(M))){Z7(q(M),M.key)&&M.preventDefault();let Z=!0;!C.isPressed&&!M.repeat&&(C.target=M.currentTarget,C.isPressed=!0,C.pointerType="keyboard",Z=h(M,"keyboard"));let R=M.currentTarget,te=X=>{c2(X,R)&&!X.repeat&&me(R,q(X))&&C.target&&P(oa(C.target,X),"keyboard")};m(fe(M.currentTarget),"keyup",ir(te,O),!0),Z&&M.stopPropagation(),M.metaKey&&ar()&&C.metaKeyEvents?.set(M.key,M.nativeEvent)}else M.key==="Meta"&&(C.metaKeyEvents=new Map)},onClick(M){if(!(M&&!me(M.currentTarget,q(M)))&&M&&M.button===0&&!C.isTriggeringEvent&&!cn.isOpening){let Z=!0;if(s&&M.preventDefault(),!C.ignoreEmulatedMouseEvents&&!C.isPressed&&(C.pointerType==="virtual"||Au(M.nativeEvent))){let R=h(M,"virtual"),te=P(M,"virtual"),X=x(M,"virtual");F(M),Z=R&&te&&X}else if(C.isPressed&&C.pointerType!=="keyboard"){let R=C.pointerType||M.nativeEvent.pointerType||"virtual",te=P(oa(M.currentTarget,M),R),X=x(oa(M.currentTarget,M),R,!0);Z=te&&X,C.isOverTarget=!1,F(M),T(M)}C.ignoreEmulatedMouseEvents=!1,Z&&M.stopPropagation()}}},O=M=>{if(C.isPressed&&C.target&&c2(M,C.target)){Z7(q(M),M.key)&&M.preventDefault();let Z=q(M),R=me(C.target,Z);x(oa(C.target,M),"keyboard",R),R&&_(M,C.target),f(),M.key!=="Enter"&&d2(C.target)&&me(C.target,Z)&&!M[U7]&&(M[U7]=!0,cn(C.target,M,!1)),C.isPressed=!1,C.metaKeyEvents?.delete(M.key)}else if(M.key==="Meta"&&C.metaKeyEvents?.size){let Z=C.metaKeyEvents;C.metaKeyEvents=void 0;for(let R of Z.values())C.target?.dispatchEvent(new KeyboardEvent("keyup",R))}};if(typeof PointerEvent<"u"){L.onPointerDown=R=>{if(R.button!==0||!me(R.currentTarget,q(R)))return;if(t7(R.nativeEvent)){C.pointerType="virtual";return}C.pointerType=R.pointerType;let te=!0;if(!C.isPressed){C.isPressed=!0,C.isOverTarget=!0,C.activePointerId=R.pointerId,C.target=R.currentTarget,u||z7(C.target),te=h(R,C.pointerType);let X=q(R);"releasePointerCapture"in X&&("hasPointerCapture"in X?X.hasPointerCapture(R.pointerId)&&X.releasePointerCapture(R.pointerId):X.releasePointerCapture(R.pointerId)),m(fe(R.currentTarget),"pointerup",M,!1),m(fe(R.currentTarget),"pointercancel",Z,!1)}te&&R.stopPropagation()},L.onMouseDown=R=>{if(me(R.currentTarget,q(R))&&R.button===0){if(c){let te=J8(R.target);te&&C.disposables.push(te)}R.stopPropagation()}},L.onPointerUp=R=>{!me(R.currentTarget,q(R))||C.pointerType==="virtual"||R.button===0&&!C.isPressed&&P(R,C.pointerType||R.pointerType)},L.onPointerEnter=R=>{R.pointerId===C.activePointerId&&C.target&&!C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!0,h(oa(C.target,R),C.pointerType))},L.onPointerLeave=R=>{R.pointerId===C.activePointerId&&C.target&&C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!1,x(oa(C.target,R),C.pointerType,!1),E(R))};let M=R=>{if(R.pointerId===C.activePointerId&&C.isPressed&&R.button===0&&C.target){if(me(C.target,q(R))&&C.pointerType!=null){let te=!1,X=setTimeout(()=>{C.isPressed&&C.target instanceof HTMLElement&&(te?T(R):(mr(C.target),C.target.click()))},80);m(R.currentTarget,"click",()=>te=!0,!0),C.disposables.push(()=>clearTimeout(X))}else T(R);C.isOverTarget=!1}},Z=R=>{T(R)};L.onDragStart=R=>{me(R.currentTarget,q(R))&&T(R)}}return L},[m,s,c,f,u,E,h,F,_]);return(0,Pt.useEffect)(()=>{if(!p)return;let C=fe(p.current);if(!C||!C.head||C.getElementById(j7))return;let L=C.createElement("style");L.id=j7;let O=nf(C);O&&(L.nonce=O),L.textContent=`
129
129
  @layer {
130
- [${S7}] {
130
+ [${G7}] {
131
131
  touch-action: pan-x pan-y pinch-zoom;
132
132
  }
133
133
  }
134
- `.trim(),C.head.prepend(L)},[p]),(0,xt.useEffect)(()=>{let C=$.current;return()=>{u||Up(C.target??void 0);for(let L of C.disposables)L();C.disposables=[]}},[u]),{isPressed:l||g,pressProps:se(b,_,{[S7]:!0})}}function Gp(e){return e.tagName==="A"&&e.hasAttribute("href")}function jp(e,t){let{key:r,code:n}=e,o=t,a=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof Fe(o).HTMLInputElement&&!k7(o,r)||o instanceof Fe(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Gp(o))&&r!=="Enter")}function Za(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function Jy(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Gp(e)}function E7(e,t){return Jt()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!k7(e,t):Jy(e)}var ex=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function k7(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":ex.has(e.type)}var Zl=S(D(),1);function ln(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=(0,Zl.useRef)({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:s}=sa(),l=(0,Zl.useCallback)(u=>{pe(u.currentTarget,Y(u))&&a.current.isFocusWithin&&!pe(u.currentTarget,u.relatedTarget)&&(a.current.isFocusWithin=!1,s(),r&&r(u),o&&o(!1))},[r,o,a,s]),c=wu(l),d=(0,Zl.useCallback)(u=>{if(!pe(u.currentTarget,Y(u)))return;let p=Y(u),b=ue(p),g=ye(b);if(!a.current.isFocusWithin&&g===p){n&&n(u),o&&o(!0),a.current.isFocusWithin=!0,c(u);let y=u.currentTarget;i(b,"focus",$=>{let m=Y($);if(a.current.isFocusWithin&&!pe(y,m)){let f=new b.defaultView.FocusEvent("blur",{relatedTarget:m});Cu(f,y);let h=El(f);l(h)}},{capture:!0})}},[n,o,c,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}var la=S(D(),1);function Yl(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=(0,la.useRef)({isFocused:!1,isFocusVisible:t||Pn()}),[a,i]=(0,la.useState)(!1),[s,l]=(0,la.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,la.useCallback)(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,la.useCallback)(b=>{o.current.isFocused=b,o.current.isFocusVisible=Pn(),i(b),c()},[c]);Fp(b=>{o.current.isFocusVisible=b,c()},[r,a],{enabled:a,isTextInput:r});let{focusProps:u}=ja({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=ln({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?p:u}}var wo=S(D(),1),Zp=!1,ju=0;function tx(){Zp=!0,setTimeout(()=>{Zp=!1},500)}function P7(e){e.pointerType==="touch"&&tx()}function rx(){let e=ue(null);if(!(typeof e>"u"))return ju===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",P7),ju++,()=>{ju--,!(ju>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",P7)}}function Tn(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,i]=(0,wo.useState)(!1),s=(0,wo.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,wo.useEffect)(rx,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=sa(),{hoverProps:d,triggerHoverEnd:u}=(0,wo.useMemo)(()=>{let p=(y,$)=>{if(s.pointerType=$,o||$==="touch"||s.isHovered||!pe(y.currentTarget,Y(y)))return;s.isHovered=!0;let m=y.currentTarget;s.target=m,l(ue(Y(y)),"pointerover",f=>{s.isHovered&&s.target&&!pe(s.target,Y(f))&&b(f,f.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:m,pointerType:$}),r&&r(!0),i(!0)},b=(y,$)=>{let m=s.target;s.pointerType="",s.target=null,!($==="touch"||!s.isHovered||!m)&&(s.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:$}),r&&r(!1),i(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=y=>{Zp&&y.pointerType==="mouse"||p(y,y.pointerType)},g.onPointerLeave=y=>{!o&&pe(y.currentTarget,Y(y))&&b(y,y.pointerType)}),{hoverProps:g,triggerHoverEnd:b}},[t,r,n,o,s,l,c]);return(0,wo.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:a}}var Gu=S(D(),1),Zu=(0,Gu.createContext)({}),Yp=Vl(function(t,r){[t,r]=Tt(t,r,Zu);let{elementType:n="label",...o}=t,a=Je[n];return Gu.default.createElement(a,{className:"react-aria-Label",...o,ref:r})});function Yu(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:a="label"}=e;t=yt(t);let i=yt(),s={};r&&(n=n?`${i} ${n}`:i,s={id:i,htmlFor:a==="label"?t:void 0});let l=Mu({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function Xl(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}var Xu=S(D(),1),ca=(0,Xu.createContext)({}),qu=Vl(function(t,r){[t,r]=Tt(t,r,ca);let{elementType:n="span",...o}=t,a=Je[n];return Xu.default.createElement(a,{className:"react-aria-Text",...o,ref:r})});function Zn(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return e===n&&r.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function ql(e,t){let r=e;for(Zn(r,t)&&(r=r.parentElement);r&&!Zn(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Qu(e,t){let r=[],n=document.scrollingElement||document.documentElement;for(;e&&(Zn(e,t)&&r.push(e),e!==n);)e=e.parentElement;return r}function Ql(e,t,r={}){if(e===t)return;let n=t.getBoundingClientRect();nx(e,t,n,r)}function nx(e,t,r,n={}){let{block:o="nearest",inline:a="nearest"}=n,i=e.scrollTop,s=e.scrollLeft,l=e.getBoundingClientRect(),c=window.getComputedStyle(t),d=window.getComputedStyle(e),u=document.scrollingElement||document.documentElement,p=e===u,b=e===u?0:l.top,g=e===u?e.clientHeight:l.bottom,y=e===u?0:l.left,$=e===u?e.clientWidth:l.right,m=parseFloat(c.scrollMarginTop)||0,f=parseFloat(c.scrollMarginBottom)||0,h=parseFloat(c.scrollMarginLeft)||0,v=parseFloat(c.scrollMarginRight)||0,x=parseFloat(d.scrollPaddingTop)||0,w=parseFloat(d.scrollPaddingBottom)||0,k=parseFloat(d.scrollPaddingLeft)||0,E=parseFloat(d.scrollPaddingRight)||0,T=parseFloat(d.borderTopWidth)||0,P=parseFloat(d.borderBottomWidth)||0,F=parseFloat(d.borderLeftWidth)||0,R=parseFloat(d.borderRightWidth)||0,_=r.top-m,C=r.bottom+f,L=r.left-h,K=r.right+v,I=e===u?0:F+R,Z=e===u?0:T+P,N=e===u?0:e.offsetWidth-e.clientWidth-I,q=e===u?0:e.offsetHeight-e.clientHeight-Z,ee=b+(p?0:T)+x,z=g-(p?0:P)-w-q,G=y+(p?0:F)+k,V=$-(p?0:R)-E;vo()&&er()||d.direction==="ltr"?V-=N:d.direction==="rtl"&&(G+=N);let M=_<ee||C>z,ae=L<G||K>V;if(M&&o==="start")i+=_-ee;else if(M&&o==="center")i+=(_+C)/2-(ee+z)/2;else if(M&&o==="end")i+=C-z;else if(M&&o==="nearest"){let Q=_-ee,we=C-z;i+=Math.abs(Q)<=Math.abs(we)?Q:we}if(ae&&a==="start")s+=L-G;else if(ae&&a==="center")s+=(L+K)/2-(G+V)/2;else if(ae&&a==="end")s+=K-V;else if(ae&&a==="nearest"){let Q=L-G,we=K-V;s+=Math.abs(Q)<=Math.abs(we)?Q:we}e.scrollTo({left:s,top:i})}function Xp(e,t={}){let{containingElement:r}=t;if(e&&e.isConnected){let n=document.scrollingElement||document.documentElement;if(window.getComputedStyle(n).overflow==="hidden"){let{left:a,top:i}=e.getBoundingClientRect(),s=Qu(e,!0);for(let d of s)Ql(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(a-l)>1||Math.abs(i-c)>1){s=r?Qu(r,!0):[];for(let d of s)Ql(d,r,{block:"center",inline:"center"});for(let d of Qu(e,!0))Ql(d,e)}}else{let{left:a,top:i}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(a-s)>1||Math.abs(i-l)>1)&&(r?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var T7=S(D(),1),ox=0,qp=new Map;function L7(e){let[t,r]=(0,T7.useState)();return de(()=>{if(!e)return;let n=qp.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${ox++}`;r(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),n={refCount:0,element:a},qp.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),qp.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var as=S(D(),1),R7={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function _7(e={}){let{style:t,isFocusable:r}=e,[n,o]=(0,as.useState)(!1),{focusWithinProps:a}=ln({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=(0,as.useMemo)(()=>n?t:t?{...R7,...t}:R7,[n]);return{visuallyHiddenProps:{...a,style:i}}}function Jl(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=_7(e);return as.default.createElement(r,se(a,i),t)}var ec=S(D(),1),M7=(0,ec.createContext)(null);var Ft=S(D(),1),D7={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},F7={...D7,customError:!0,valid:!1},tc={isInvalid:!1,validationDetails:D7,validationErrors:[]},ax=(0,Ft.createContext)({}),I7="__reactAriaFormValidationState";function H7(e){if(e[I7]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[I7];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return ix(e)}function ix(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;r&&(t||=r==="invalid");let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:F7}:null,c=(0,Ft.useMemo)(()=>{if(!i||o==null)return null;let P=sx(i,o);return N7(P)},[i,o]);a?.validationDetails.valid&&(a=void 0);let d=(0,Ft.useContext)(ax),u=(0,Ft.useMemo)(()=>n?Array.isArray(n)?n.flatMap(P=>Jp(d[P])):Jp(d[n]):[],[d,n]),[p,b]=(0,Ft.useState)(d),[g,y]=(0,Ft.useState)(!1);d!==p&&(b(d),y(!1));let $=(0,Ft.useMemo)(()=>N7(g?[]:u),[g,u]),m=(0,Ft.useRef)(tc),[f,h]=(0,Ft.useState)(tc),v=(0,Ft.useRef)(tc),x=()=>{if(!w)return;k(!1);let P=c||a||m.current;Qp(P,v.current)||(v.current=P,h(P))},[w,k]=(0,Ft.useState)(!1);return(0,Ft.useEffect)(x),{realtimeValidation:l||$||c||a||tc,displayValidation:s==="native"?l||$||f:l||$||c||a||f,updateValidation(P){s==="aria"&&!Qp(f,P)?h(P):m.current=P},resetValidation(){let P=tc;Qp(P,v.current)||(v.current=P,h(P)),s==="native"&&k(!1),y(!0)},commitValidation(){s==="native"&&k(!0),y(!0)}}}function Jp(e){return e?Array.isArray(e)?e:[e]:[]}function sx(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return Jp(r)}return[]}function N7(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:F7}:null}function Qp(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}var Ju=S(D(),1),A7=(0,Ju.createContext)(null);function O7(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:i}=Yu(e),s=Vn([!!t,!!r,n,o]),l=Vn([!!t,!!r,n,o]);return i=se(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}var K7=S(D(),1);function z7(e,t,r){let n=mt(o=>{r&&!o.defaultPrevented&&r(t)});(0,K7.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[e])}var ef=S(D(),1);function B7(e,t,r){let{validationBehavior:n,focus:o}=e;de(()=>{if(n==="native"&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){let c=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(cx(r.current))}});let a=(0,ef.useRef)(!1),i=mt(()=>{a.current||t.resetValidation()}),s=mt(c=>{t.displayValidation.isInvalid||t.commitValidation();let d=r?.current?.form;!c.defaultPrevented&&r&&d&&dx(d)===r.current&&(o?o():r.current?.focus(),ra("keyboard")),c.preventDefault()}),l=mt(()=>{t.commitValidation()});(0,ef.useEffect)(()=>{let c=r?.current;if(!c)return;let d=c.form,u=d?.reset;return d&&(d.reset=()=>{a.current=!window.event||window.event.type==="message"&&Y(window.event)instanceof MessagePort,u?.call(d),a.current=!1}),c.addEventListener("invalid",s),c.addEventListener("change",l),d?.addEventListener("reset",i),()=>{c.removeEventListener("invalid",s),c.removeEventListener("change",l),d?.removeEventListener("reset",i),d&&(d.reset=u)}},[r,n])}function lx(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function cx(e){return{isInvalid:!e.validity.valid,validationDetails:lx(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function dx(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(r.validity?.valid===!1)return r}return null}var is=S(D(),1);function ux(e=!0){let[t,r]=(0,is.useState)(e),n=(0,is.useRef)(!1),o=(0,is.useCallback)(a=>{n.current=!0,r(!!a)},[]);return de(()=>{n.current||r(!1)},[]),[o,t]}function V7(e=!0){let t=yt(),[r,n]=ux(e);return{id:n?t:void 0,ref:r}}var fr=S(D(),1),rc=(0,fr.createContext)({}),e2=(0,fr.createContext)(null),fx=(0,fr.forwardRef)(function(t,r){let{render:n}=(0,fr.useContext)(e2);return fr.default.createElement(fr.default.Fragment,null,n(t,r))});function t2(e,t){let r=e?.renderDropIndicator,n=e?.isVirtualDragging?.(),o=(0,fr.useCallback)(a=>{if(n||t?.isDropTarget(a))return r?r(a):fr.default.createElement(fx,{target:a})},[t?.target,n,r]);return e?.useDropIndicator?o:void 0}function W7(e,t,r){let n=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(o=r.target.key,r.target.dropPosition==="after")){let a=r.collection.getKeyAfter(o),i=null;if(a!=null){let s=r.collection.getItem(o)?.level??0;for(;a!=null;){let l=r.collection.getItem(a);if(!l)break;if(l.type!=="item"){a=r.collection.getKeyAfter(a);continue}if((l.level??0)<=s)break;i=a,a=r.collection.getKeyAfter(a)}}o=a??i??o}return(0,fr.useMemo)(()=>new Set([n,o].filter(a=>a!=null)),[n,o])}var r2=S(D(),1),tf=(0,r2.createContext)({});var px=S(kn(),1),So=S(D(),1);var mx=(0,So.createContext)(null);function ss(e){let t=(0,So.useRef)({});return So.default.createElement(mx.Provider,{value:t},e.children)}var rf=S(D(),1),nf=(0,rf.createContext)({isSelected:!1});var n2=S(D(),1),of=(0,n2.createContext)({}),U7=class extends an{static{this.type="separator"}filter(t,r){let n=r.getItem(this.prevKey);if(n&&n.type!=="separator"){let o=this.clone();return r.addDescendants(o,t),o}return null}};var nc=new WeakMap;function hx(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function j7(e,t){let r=nc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${hx(t)}`}var o2=class{constructor(t,r,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){let s=i.shadowRoot;if(s){let l=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(i);if(this.filter?.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,n,this._acceptNode));let a=r.shadowRoot;if(a){let i=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}get currentNode(){return this._currentNode}set currentNode(t){if(!pe(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let r=[],n=t,o=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let i=n,s=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});r.push(s),s.currentNode=o,this._currentSetFor.add(s),n=o=i.host}else n=n.parentNode;let a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(a),a.currentNode=o,this._currentSetFor.add(a),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return pe(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let n;if(typeof this.filter=="function"?n=this.filter(t):this.filter?.acceptNode&&(n=this.filter.acceptNode(t)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null;return null}let r=t.previousNode();if(r){if(r.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(r):this.filter?.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let a=this.lastChild();return a&&(this.currentNode=a),a}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function af(e,t,r,n){return Er()?new o2(e,t,r,n):e.createTreeWalker(t,r,n)}var ct=S(D(),1),G7=ct.default.createContext(null),a2="react-aria-focus-scope-restore",Ze=null;function Xa(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,a=(0,ct.useRef)(null),i=(0,ct.useRef)(null),s=(0,ct.useRef)([]),{parentNode:l}=(0,ct.useContext)(G7)||{},c=(0,ct.useMemo)(()=>new ac({scopeRef:s}),[s]);de(()=>{let p=l||Ct.root;if(Ct.getTreeNode(p.scopeRef)&&Ze&&!sf(Ze,p.scopeRef)){let b=Ct.getTreeNode(Ze);b&&(p=b)}p.addChild(c),Ct.addNode(c)},[c,l]),de(()=>{let p=Ct.getTreeNode(s);p&&(p.contain=!!r)},[r]),de(()=>{let p=a.current?.nextSibling,b=[],g=y=>y.stopPropagation();for(;p&&p!==i.current;)b.push(p),p.addEventListener(a2,g),p=p.nextSibling;return s.current=b,()=>{for(let y of b)y.removeEventListener(a2,g)}},[t]),xx(s,n,r),vx(s,r),Cx(s,n,r),yx(s,o),(0,ct.useEffect)(()=>{let p=ye(ue(s.current?s.current[0]:void 0)),b=null;if(dn(p,s.current)){for(let g of Ct.traverse())g.scopeRef&&dn(p,g.scopeRef.current)&&(b=g);b===Ct.getTreeNode(s)&&(Ze=b.scopeRef)}},[s]),de(()=>()=>{let p=Ct.getTreeNode(s)?.parent?.scopeRef??null;(s===Ze||sf(s,Ze))&&(!p||Ct.getTreeNode(p))&&(Ze=p),Ct.removeTreeNode(s)},[s]);let d=(0,ct.useMemo)(()=>gx(s),[]),u=(0,ct.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return ct.default.createElement(G7.Provider,{value:u},ct.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,ct.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function gx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||ye(ue(r[0]??void 0)),l=r[0].previousElementSibling,c=Ya(r),d=cn(c,{tabbable:o,accept:i},r);d.currentNode=dn(s,r)?s:l;let u=d.nextNode();return!u&&a&&(d.currentNode=l,u=d.nextNode()),u&&Ln(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||ye(ue(r[0]??void 0)),l=r[r.length-1].nextElementSibling,c=Ya(r),d=cn(c,{tabbable:o,accept:i},r);d.currentNode=dn(s,r)?s:l;let u=d.previousNode();return!u&&a&&(d.currentNode=l,u=d.previousNode()),u&&Ln(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ya(r),i=cn(a,{tabbable:n,accept:o},r);i.currentNode=r[0].previousElementSibling;let s=i.nextNode();return s&&Ln(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,a=Ya(r),i=cn(a,{tabbable:n,accept:o},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&Ln(s,!0),s}}}function Ya(e){return e[0].parentElement}function oc(e){let t=Ct.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function bx(e){if(!e.form)return Array.from(ue(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(n=>!n.form);let t=e.form.elements.namedItem(e.name),r=Fe(e);return t instanceof r.RadioNodeList?Array.from(t).filter(n=>n instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}function $x(e){if(e.checked)return!0;let t=bx(e);return t.length>0&&!t.some(r=>r.checked)}function vx(e,t){let r=(0,ct.useRef)(void 0),n=(0,ct.useRef)(void 0);de(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let a=ue(o?o[0]:void 0),i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!oc(e)||c.isComposing)return;let d=ye(a),u=e.current;if(!u||!dn(d,u))return;let p=Ya(u),b=cn(p,{tabbable:!0},u);if(!d)return;b.currentNode=d;let g=c.shiftKey?b.previousNode():b.nextNode();g||(b.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,g=c.shiftKey?b.previousNode():b.nextNode()),c.preventDefault(),g&&(Ln(g,!0),g instanceof Fe(g).HTMLInputElement&&g.select())},s=c=>{(!Ze||sf(Ze,e))&&dn(Y(c),e.current)?(Ze=e,r.current=Y(c)):oc(e)&&!da(Y(c),e)?r.current?Ln(r.current):Ze&&Ze.current&&i2(Ze.current):oc(e)&&(r.current=Y(c))},l=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=Gn(),u=(d==="virtual"||d===null)&&yo()&&Eu(),p=ye(a);if(!u&&p&&oc(e)&&!da(p,e)){Ze=e;let b=Y(c);b&&b.isConnected?(r.current=b,Ln(r.current)):Ze.current&&i2(Ze.current)}})};return a.addEventListener("keydown",i,!1),a.addEventListener("focusin",s,!1),o?.forEach(c=>c.addEventListener("focusin",s,!1)),o?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{a.removeEventListener("keydown",i,!1),a.removeEventListener("focusin",s,!1),o?.forEach(c=>c.removeEventListener("focusin",s,!1)),o?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[e,t]),de(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function X7(e){return da(e)}function dn(e,t){return!e||!t?!1:t.some(r=>pe(r,e))}function da(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Ct.traverse(Ct.getTreeNode(t)))if(r&&dn(e,r.current))return!0;return!1}function q7(e){return da(e,Ze)}function sf(e,t){let r=Ct.getTreeNode(t)?.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Ln(e,t=!1){if(e!=null&&!t)try{sn(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Q7(e,t=!0){let r=e[0].previousElementSibling,n=Ya(e),o=cn(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();return t&&!a&&(n=Ya(e),o=cn(n,{tabbable:!1},e),o.currentNode=r,a=o.nextNode()),a}function i2(e,t=!0){Ln(Q7(e,t))}function yx(e,t){let r=ct.default.useRef(t);(0,ct.useEffect)(()=>{if(r.current){Ze=e;let n=ue(e.current?e.current[0]:void 0);!dn(ye(n),Ze.current)&&e.current&&i2(e.current)}r.current=!1},[e])}function xx(e,t,r){de(()=>{if(t||r)return;let n=e.current,o=ue(n?n[0]:void 0),a=i=>{let s=Y(i);dn(s,e.current)?Ze=e:X7(s)||(Ze=null)};return o.addEventListener("focusin",a,!1),n?.forEach(i=>i.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),n?.forEach(i=>i.removeEventListener("focusin",a,!1))}},[e,t,r])}function Z7(e){let t=Ct.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function Cx(e,t,r){let n=(0,ct.useRef)(typeof document<"u"?ye(ue(e.current?e.current[0]:void 0)):null);de(()=>{let o=e.current,a=ue(o?o[0]:void 0);if(!t||r)return;let i=()=>{(!Ze||sf(Ze,e))&&dn(ye(a),e.current)&&(Ze=e)};return a.addEventListener("focusin",i,!1),o?.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{a.removeEventListener("focusin",i,!1),o?.forEach(s=>s.removeEventListener("focusin",i,!1))}},[e,r]),de(()=>{let o=ue(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!oc(e)||i.isComposing)return;let s=o.activeElement;if(!da(s,e)||!Z7(e))return;let l=Ct.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=cn(o.body,{tabbable:!0});d.currentNode=s;let u=i.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,l.nodeToRestore=void 0),(!u||!da(u,e))&&c){d.currentNode=c;do u=i.shiftKey?d.previousNode():d.nextNode();while(da(u,e));i.preventDefault(),i.stopPropagation(),u?Ln(u,!0):X7(c)?Ln(c,!0):s.blur()}};return r||o.addEventListener("keydown",a,!0),()=>{r||o.removeEventListener("keydown",a,!0)}},[e,t,r]),de(()=>{let o=ue(e.current?e.current[0]:void 0);if(!t)return;let a=Ct.getTreeNode(e);if(a)return a.nodeToRestore=n.current??void 0,()=>{let i=Ct.getTreeNode(e);if(!i)return;let s=i.nodeToRestore,l=ye(o);if(t&&s&&(l&&da(l,e)||l===o.body&&Z7(e))){let c=Ct.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Y7(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Ct.getTreeNode(d.scopeRef)){let u=Q7(d.scopeRef.current,!0);if(u){Y7(u);return}}d=d.parent}}})}}},[e,t])}function Y7(e){e.dispatchEvent(new CustomEvent(a2,{bubbles:!0,cancelable:!0}))&&Ln(e)}function cn(e,t,r){let n=t?.tabbable?Zi:Gi,o=e?.nodeType===Node.ELEMENT_NODE?e:null,a=ue(o),i=af(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return pe(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!$x(s)||i.currentNode.tagName==="INPUT"&&i.currentNode.type==="radio"&&i.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||dn(s,r))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(i.currentNode=t.from),i}var s2=class e{constructor(){this.fastMap=new Map,this.root=new ac({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let a=new ac({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),n&&(a.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let a of this.traverse())a!==r&&r.nodeToRestore&&a.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&dn(a.nodeToRestore,r.scopeRef.current)&&(a.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(a=>n&&n.addChild(a))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new e;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent?.scopeRef??null,r.nodeToRestore);return t}},ac=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},Ct=new s2;function ic(e){return _8()?e.altKey:e.ctrlKey}function Yn(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(r=`[data-collection="${CSS.escape(n)}"]${r}`),e.current?.querySelector(r)}var J7=new WeakMap;function eh(e){let t=yt();return J7.set(e,t),t}function th(e){return J7.get(e)}var lf=S(D(),1),rh=1e3;function nh(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,lf.useRef)({search:"",timeout:void 0}),a=s=>{if(o.current.search.length>0&&s.key===" "){if(s.preventDefault(),(!("continuePropagation"in s)||"continuePropagation"in s&&!s.isPropagationStopped())&&s.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let l=t.getKeyForSearch(o.current.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.current.search)),l!=null&&(r.setFocusedKey(l),n&&n(l))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},rh)}},i=s=>{let l=wx(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!pe(s.currentTarget,Y(s))||o.current.search.length===0&&l===" ")){if(o.current.search+=l,t.getKeyForSearch!=null){let c=t.getKeyForSearch(o.current.search,r.focusedKey);if(c==null&&(c=t.getKeyForSearch(o.current.search)),c!=null)r.setFocusedKey(c),n&&n(c),s.preventDefault(),"continuePropagation"in s||s.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},rh)}};return(0,lf.useEffect)(()=>{let s=o.current.timeout;return()=>{clearTimeout(s)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0,onKeyDown:t.getKeyForSearch?i:void 0}}}function wx(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var l2=S(D(),1);function c2(e,t){let r=(0,l2.useRef)(!0),n=(0,l2.useRef)(null);de(()=>(r.current=!0,()=>{r.current=!1}),[]),de(()=>{r.current?r.current=!1:(!n.current||t.some((o,a)=>!Object.is(o,n[a])))&&e(),n.current=t},t)}var oh=S(kn(),1),Rn=S(D(),1);function ah(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,scrollRef:b=n,linkBehavior:g="action",UNSTABLE_focusOnEntry:y}=e,{direction:$}=cr(),m=Oa(),f=(A,W,ce)=>{if(W!=null){if(t.isLink(W)&&g==="selection"&&c&&!ic(A)){(0,oh.flushSync)(()=>{t.setFocusedKey(W,ce)});let me=Yn(n,W),_t=t.getItemProps(W);if(me){m.open(me,A,_t.href,_t.routerOptions);return}return!1}if(t.setFocusedKey(W,ce),t.isLink(W)&&g==="override")return!1;if(A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c&&!ic(A)){t.replaceSelection(W);return}}return!1},h=A=>{if(r.getKeyBelow){let W=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=r.getFirstKey?.(t.focusedKey)),W!=null){f(A,W);return}}return!1},v=A=>{if(r.getKeyAbove){let W=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();if(W==null&&a&&(W=r.getLastKey?.(t.focusedKey)),W!=null){f(A,W);return}}return!1},x=A=>{if(r.getFirstKey){if(t.focusedKey===null&&A.shiftKey)return!1;let W=r.getFirstKey(t.focusedKey,Va(A));if(t.setFocusedKey(W),W!=null){if(Va(A)&&A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c){t.replaceSelection(W);return}}}return!1},w=A=>{if(r.getKeyLeftOf){let W=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=$==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),W!=null){f(A,W,$==="rtl"?"first":"last");return}}return!1},k=A=>{if(r.getKeyRightOf){let W=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):r.getFirstKey?.();if(W==null&&a&&(W=$==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),W!=null){f(A,W,$==="rtl"?"last":"first");return}}return!1},E=A=>{if(r.getLastKey){if(t.focusedKey===null&&A.shiftKey)return!1;let W=r.getLastKey(t.focusedKey,Va(A));if(t.setFocusedKey(W),W!=null){if(Va(A)&&A.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(W);return}else if(c){t.replaceSelection(W);return}}}return!1},T=A=>{if(r.getKeyPageBelow&&t.focusedKey!=null){let W=r.getKeyPageBelow(t.focusedKey);if(W!=null)return f(A,W)}return!1},P=A=>{if(r.getKeyPageAbove&&t.focusedKey!=null){let W=r.getKeyPageAbove(t.focusedKey);if(W!=null)return f(A,W)}return!1},F=()=>{if(t.selectionMode==="multiple"&&s!==!0){t.selectAll();return}return!1},R=()=>{if(l==="clearSelection"&&!i&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},_=()=>{if(!p&&n.current){let A=cn(n.current,{tabbable:!0}),W,ce;do ce=A.lastChild(),ce&&(W=ce);while(ce);let me=ye();W&&(!ta(W)||me&&!Zi(me))&&lr(W)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},C=()=>(!p&&n.current&&n.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),L=(A,W)=>({[Jt()?A+"+Shift+Alt":A+"+Shift+Control"]:W,[A+"+Shift"]:W,[Jt()?A+"+Alt":A+"+Control"]:W,[A]:W}),{keyboardProps:K}=kr({shortcuts:{...L("ArrowDown",h),...L("ArrowUp",v),...L("ArrowLeft",w),...L("ArrowRight",k),...L("PageDown",T),...L("PageUp",P)},allowRepeats:!0}),{keyboardProps:I}=kr({shortcuts:{...L("Home",x),...L("End",E),"Mod+A":F,Escape:R,Tab:_,"Tab+Shift":C}}),Z=(0,Rn.useRef)({top:0,left:0});Ml(b,"scroll",()=>{Z.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let N=A=>{if(t.isFocused){pe(A.currentTarget,Y(A))||t.setFocused(!1);return}if(!pe(A.currentTarget,Y(A)))return;let W=Gn();t.setFocused(!0);let ce=me=>{me!=null&&(t.setFocusedKey(me),c&&!t.isSelected(me)&&t.replaceSelection(me))};if(y&&(W==="keyboard"||W==="virtual"))ce(y==="first"?r.getFirstKey?.():r.getLastKey?.());else if(t.focusedKey==null){let me=A.relatedTarget;me&&A.currentTarget.compareDocumentPosition(me)&Node.DOCUMENT_POSITION_FOLLOWING?ce(t.lastSelectedKey??r.getLastKey?.()):ce(t.firstSelectedKey??r.getFirstKey?.())}else b.current&&(b.current.scrollTop=Z.current.top,b.current.scrollLeft=Z.current.left);if(t.focusedKey!=null&&b.current){let me=Yn(n,t.focusedKey);me instanceof HTMLElement&&(!ta(me)&&!u&&lr(me),(W==="keyboard"||y&&W==="virtual")&&Xp(me,{containingElement:n.current}))}},q=A=>{pe(A.currentTarget,A.relatedTarget)||t.setFocused(!1)},ee=(0,Rn.useRef)(!1);Ml(n,T8,u?A=>{let{detail:W}=A;A.stopPropagation(),t.setFocused(!0),W?.focusStrategy==="first"&&(ee.current=!0)}:void 0);let z=r.getFirstKey?.()??null;c2(()=>{if(ee.current)if(z==null){let A=ye();vu(n.current),Lp(A,null),t.collection.size>0&&(ee.current=!1)}else t.setFocusedKey(z),ee.current=!1},[z,t.collection.size]),c2(()=>{t.collection.size>0&&(ee.current=!1)},[t.focusedKey]),Ml(n,P8,u?A=>{A.stopPropagation(),t.setFocused(!1),A.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let G=(0,Rn.useRef)(o),V=(0,Rn.useRef)(!1);(0,Rn.useEffect)(()=>{if(G.current){let A=null;o==="first"&&(A=r.getFirstKey?.()??null),o==="last"&&(A=r.getLastKey?.()??null);let W=t.selectedKeys;if(W.size){for(let ce of W)if(t.canSelectItem(ce)){A=ce;break}}t.setFocused(!0),t.setFocusedKey(A),A!=null&&c&&!W.size&&t.canSelectItem(A)&&t.replaceSelection(A),A==null&&!u&&n.current&&sn(n.current),t.collection.size>0&&(G.current=!1,V.current=!0)}});let M=(0,Rn.useRef)(t.focusedKey),ae=(0,Rn.useRef)(null);(0,Rn.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==M.current||V.current)&&b.current&&n.current){let A=Gn(),W=Yn(n,t.focusedKey);if(!(W instanceof HTMLElement))return;(A==="keyboard"||V.current)&&(ae.current&&cancelAnimationFrame(ae.current),ae.current=requestAnimationFrame(()=>{b.current&&(Ql(b.current,W),A!=="virtual"&&Xp(W,{containingElement:n.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&M.current!=null&&n.current&&sn(n.current),M.current=t.focusedKey,V.current=!1}),(0,Rn.useEffect)(()=>()=>{ae.current&&cancelAnimationFrame(ae.current)},[]),Ml(n,"react-aria-focus-scope-restore",A=>{A.preventDefault(),t.setFocused(!0)});let Q={...se(I,K),onFocus:N,onBlur:q,onMouseDown(A){b.current===Y(A)&&A.preventDefault()}},{typeSelectProps:we}=nh({keyboardDelegate:r,selectionManager:t});d||(Q=se(we,Q));let bt;u||(bt=t.focusedKey==null?0:-1);let le=eh(t.collection);return{collectionProps:se(Q,{tabIndex:bt,"data-collection":le})}}var sc=class{constructor(t){this.ref=t}getItemRect(t){let r=this.ref.current;if(!r)return null;let n=t!=null?Yn(this.ref,t):null;if(!n)return null;let o=r.getBoundingClientRect(),a=n.getBoundingClientRect();return{x:a.left-o.left-r.clientLeft+r.scrollLeft,y:a.top-o.top-r.clientTop+r.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var qa=class{constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new sc(r.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new sc(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,r,n=!1){let o=t;for(;o!=null;){let a=this.collection.getItem(o);if(a?.type==="item"&&(n||!this.isDisabled(a)))return o;o=r(o)}return null}getNextKey(t,r){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,o=>this.collection.getKeyAfter(o),r?.includeDisabled)}getPreviousKey(t,r){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,o=>this.collection.getKeyBefore(o),r?.includeDisabled)}findKey(t,r,n){let o=t,a=this.layoutDelegate.getItemRect(o);if(!a||o==null)return null;let i=a;do{if(o=r(o),o==null)break;a=this.layoutDelegate.getItemRect(o)}while(a&&n(i,a)&&o!=null);return o}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}isReversed(t){let r=this.getNextKey(t),n=Yn(this.ref,t);if(r!=null){let a=Yn(this.ref,r);return!n||!a?!1:n.getBoundingClientRect().top>a.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let a=Yn(this.ref,o);return!n||!a?!1:a.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,r):this.getNextKey(t,r):this.getNextKey(t,r)}getKeyAbove(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,r):this.getPreviousKey(t,r):this.getPreviousKey(t,r)}getNextColumn(t,r,n){return r?this.getPreviousKey(t,n):this.getNextKey(t,n)}getKeyRightOf(t,r){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",r):null}getKeyLeftOf(t,r){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",r):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!Zn(r))return this.getFirstKey();let a=t;if(this.orientation==="horizontal"){let i=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>i&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let i=this.layoutDelegate.getVisibleRect(),s=o?n.y-i.height:Math.max(0,n.y+n.height-i.height);for(;n&&n.y>s&&a!=null;)a=this.getKeyAbove(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!Zn(r))return this.getLastKey();let a=t;if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<i&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}else{let i=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<i&&a!=null;)a=this.getKeyBelow(a),n=a==null?null:this.layoutDelegate.getItemRect(a)}return a??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let a=n.getItem(o);if(!a)return null;let i=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(i,t)===0)return o;o=this.getNextKey(o)}return null}};var d2=new Map;function lc(e){let{locale:t}=cr(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(d2.has(r))return d2.get(r);let n=new Intl.Collator(t,e);return d2.set(r,n),n}var ih=S(D(),1);function cf(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,layoutDelegate:i,orientation:s}=e,l=lc({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,ih.useMemo)(()=>a||new qa({collection:r,disabledKeys:n,disabledBehavior:c,ref:o,collator:l,layoutDelegate:i,orientation:s}),[a,i,r,n,o,l,c,s]),{collectionProps:u}=ah({...e,ref:o,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function u2(e,t,r){let n=Ke(e,{labelable:!0}),o=e.selectionBehavior||"toggle",a=e.orientation||"vertical",i=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&i==="action"&&(i="override");let{listProps:s}=cf({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=ln({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=yt(e.id);nc.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:u}=Yu({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:se(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":a,...se(u,s)})}}var sh=S(D(),1),Sx=500;function lh(e){let{isDisabled:t,pointerType:r,onLongPressStart:n,onLongPressEnd:o,onLongPress:a,threshold:i=Sx,accessibilityDescription:s}=e,l=(0,sh.useRef)(void 0),{addGlobalListener:c,removeAllGlobalListeners:d}=sa(),u=g=>r?g.pointerType===r:g.pointerType==="mouse"||g.pointerType==="touch",{pressProps:p}=Co({isDisabled:t,onPressStart(g){if(g.continuePropagation(),u(g)){n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(g.target,"click",$=>$.preventDefault(),{once:!0}),ue(g.target).activeElement!==g.target&&lr(g.target),a&&a({...g,type:"longpress"}),l.current=void 0},i),g.pointerType==="touch"&&c(g.target,"contextmenu",$=>$.preventDefault(),{once:!0});let y=Fe(g.target);c(y,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),o&&u(g)&&o({...g,type:"longpressend"})}}),b=L7(a&&!t?s:void 0);return{longPressProps:se(p,b)}}var Qa=S(D(),1);function df(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:a,shouldUseVirtualFocus:i,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,p=Oa();t=yt(t);let b=M=>{if(M.pointerType==="keyboard"&&ic(M))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(u==="selection"&&o.current){let ae=r.getItemProps(n);p.open(o.current,M,ae.href,ae.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(u==="override"||u==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):M&&M.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||M&&(Va(M)||M.pointerType==="touch"||M.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};(0,Qa.useEffect)(()=>{n===r.focusedKey&&r.isFocused&&(i?vu(o.current):s?s():ye()!==o.current&&o.current&&sn(o.current))},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,i]),l=l||r.isDisabled(n);let g={};!i&&!l?g={tabIndex:n===r.focusedKey?0:-1,onFocus(M){Y(M)===o.current&&r.setFocusedKey(n)}}:l&&(g.onMouseDown=M=>{M.preventDefault()}),(0,Qa.useEffect)(()=>{l&&r.focusedKey===n&&r.setFocusedKey(null)},[r,l,n]);let y=r.isLink(n)&&u==="override",$=c&&e.UNSTABLE_itemBehavior==="action",m=r.isLink(n)&&u!=="selection"&&u!=="none",f=!l&&r.canSelectItem(n)&&!y&&!$,h=(c||m)&&!l,v=h&&(r.selectionBehavior==="replace"?!f:!f||r.isEmpty),x=h&&f&&r.selectionBehavior==="replace",w=v||x,k=(0,Qa.useRef)(null),E=w&&f,T=(0,Qa.useRef)(!1),P=(0,Qa.useRef)(!1),F=r.getItemProps(n),R=M=>{c&&(c(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),m&&o.current&&p.open(o.current,M,F.href,F.routerOptions)},_={ref:o};a?(_.onPressStart=M=>{k.current=M.pointerType,T.current=E,M.pointerType==="keyboard"&&(!w||dh(M.key))&&b(M)},d?(_.onPressUp=v?void 0:M=>{M.pointerType==="mouse"&&f&&b(M)},_.onPress=v?R:M=>{M.pointerType!=="keyboard"&&M.pointerType!=="mouse"&&f&&b(M)}):_.onPress=M=>{if(v||x&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!ch(M.key))return;R(M)}else M.pointerType!=="keyboard"&&f&&b(M)}):(_.onPressStart=M=>{k.current=M.pointerType,T.current=E,P.current=v,f&&(M.pointerType==="mouse"&&!v||M.pointerType==="keyboard"&&(!h||dh(M.key)))&&b(M)},_.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&w&&ch(M.key)||M.pointerType==="mouse"&&P.current)&&(w?R(M):f&&b(M))});let C=th(r.collection);if(g["data-collection"]=C,g["data-key"]=n,_.preventFocusOnPress=i,i&&(_=se(_,{onPressStart(M){M.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(M){M.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),F)for(let M of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])F[M]&&(_[M]=Qt(_[M],F[M]));let{pressProps:L,isPressed:K}=Co(_),I=x?M=>{k.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),R(M))}:void 0,{longPressProps:Z}=lh({isDisabled:!E,onLongPress(M){M.pointerType==="touch"&&(b(M),r.setSelectionBehavior("toggle"))}}),N=M=>{k.current==="touch"&&T.current&&M.preventDefault()},q=u!=="none"&&r.isLink(n)?M=>{on.isOpening||M.preventDefault()}:void 0,ee=se(g,f||v||i&&!l?L:{},E?Z:{},{onDoubleClick:I,onDragStartCapture:N,onClick:q,id:t},i?{onMouseDown:M=>M.preventDefault()}:void 0),z=M=>{let ae=M;for(;ae&&ae!==o.current;){let Q=ae.getAttribute("data-collection");if(Q!=null)return Q!==C;ae=ae.parentElement}return Zi(M)},G=ee.onPointerDown;ee.onPointerDown=M=>{let ae=Y(M);if(ae&&ae!==o.current&&z(ae)){M.stopPropagation();return}G?.(M)};let V=ee.onMouseDown;return ee.onMouseDown=M=>{let ae=Y(M);if(ae&&ae!==o.current&&z(ae)){M.stopPropagation();return}V?.(M)},{itemProps:ee,isPressed:K,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:l,allowsSelection:f,hasAction:w}}function ch(e){return e==="Enter"}function dh(e){return e===" "}function uf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function fh(e){return Ex(e,0)}function Ex(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function ff(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...uh(e,t),t],o=[...uh(e,r),r],a=n.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=n[a],r=o[a],t.index-r.index):n.findIndex(i=>i===r)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function uh(e,t){let r=[],n=t;for(;n?.parentKey!=null;)n=e.getItem(n.parentKey),n&&r.unshift(n);return r}var ph=new WeakMap;function cc(e){let t=ph.get(e);if(t!=null)return t;let r=0,n=o=>{for(let a of o)a.type==="section"?n(uf(a,e)):a.type==="item"&&r++};return n(e),ph.set(e,r),r}function f2(e,t,r){let{key:n}=e,o=nc.get(t),a=e.isDisabled??t.selectionManager.isDisabled(n),i=e.isSelected??t.selectionManager.isSelected(n),s=e.shouldSelectOnPressUp??o?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??o?.shouldFocusOnHover,c=e.shouldUseVirtualFocus??o?.shouldUseVirtualFocus,d=e.isVirtualized??o?.isVirtualized,u=Vn(),p=Vn(),b={role:"option","aria-disabled":a||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?i:void 0,"aria-label":e["aria-label"],"aria-labelledby":u,"aria-describedby":p},g=t.collection.getItem(n);if(d){let T=Number(g?.index);b["aria-posinset"]=Number.isNaN(T)?void 0:T+1,b["aria-setsize"]=cc(t.collection)}let y=o?.onAction?()=>o?.onAction?.(n):void 0,$=j7(t,n),{itemProps:m,isPressed:f,isFocused:h,hasAction:v,allowsSelection:x}=df({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:a,onAction:y||g?.props?.onAction?Qt(g?.props?.onAction,y):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:$}),{hoverProps:w}=Tn({isDisabled:a||!l,onHoverStart(){Pn()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),k=Ke(g?.props);delete k.id;let E=Pu(g?.props);return{optionProps:{...b,...se(k,m,w,E),id:$},labelProps:{id:u},descriptionProps:{id:p},isFocused:h,isFocusVisible:h&&t.selectionManager.isFocused&&Pn(),isSelected:i,isDisabled:a,isPressed:f,allowsSelection:x,hasAction:v}}function p2(e){let{heading:t,"aria-label":r}=e,n=yt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var mh=S(D(),1);function dc(e){let t=mh.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var uc=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let s of i.childNodes)r(s)};for(let i of t)r(i);let n=null,o=0,a=0;for(let[i,s]of this.keyMap)n?(n.nextKey=i,s.prevKey=n.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=o++),(s.type==="section"||s.type==="item")&&a++,n=s,n.nextKey=void 0;this._size=a,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Wr=class e extends Set{constructor(t,r,n){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}};var pr=S(D(),1);function kx(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Ja(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=(0,pr.useRef)(!1),[,s]=(0,pr.useState)(!1),l=(0,pr.useRef)(null),c=(0,pr.useRef)(null),[,d]=(0,pr.useState)(null),u=(0,pr.useMemo)(()=>hh(e.selectedKeys),[e.selectedKeys]),p=(0,pr.useMemo)(()=>hh(e.defaultSelectedKeys,new Wr),[e.defaultSelectedKeys]),[b,g]=na(u,p,e.onSelectionChange),y=(0,pr.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,m]=(0,pr.useState)(o);o==="replace"&&$==="toggle"&&typeof b=="object"&&b.size===0&&m("replace");let f=(0,pr.useRef)(o);return(0,pr.useEffect)(()=>{o!==f.current&&(m(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:$,setSelectionBehavior:m,get isFocused(){return i.current},setFocused(h){i.current=h,s(h)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(h,v="first"){l.current=h,c.current=v,d(h)},selectedKeys:b,setSelectedKeys(h){(n||!kx(h,b))&&g(h)},disabledKeys:y,disabledBehavior:a}}function hh(e,t){return e?e==="all"?"all":new Wr(e):t}var Eo=class e{constructor(t,r,n){this.collection=t,this.state=r,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let r=this.getKey(t);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&ff(this.collection,n,t)<0)&&(t=n)}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&ff(this.collection,n,t)>0)&&(t=n)}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new Wr([r],r,r);else{let o=this.state.selectedKeys,a=o.anchorKey??r;n=new Wr(o,a,r);for(let i of this.getKeyRange(a,o.currentKey??r))n.delete(i);for(let i of this.getKeyRange(r,a))this.canSelectItem(i)&&n.add(i)}this.state.setSelectedKeys(n)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?ff(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let n=[],o=t;for(;o!=null;){let a=this.collection.getItem(o);if(a&&(a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let n=new Wr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let n=this.canSelectItem(r)?new Wr([r],r,r):new Wr;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Wr;for(let n of t){let o=this.getKey(n);if(o!=null&&(r.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=this.fullCollection??this.collection,r=[],n=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let a=t.getItem(o);a?.type==="item"&&r.push(o),a?.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&n(fh(uf(a,t))?.key??null)}o=t.getKeyAfter(o)}};return n(t.getFirstKey()),r}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Wr)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,r){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=r.getItem(t);return!(!n||n?.props?.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let r=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!r?.props?.isDisabled)&&r?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var ua=S(D(),1),pf=class{build(t,r){return this.context=r,gh(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(ua.default.isValidElement(r)&&r.type===ua.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let o=0;for(let a of n)yield*this.getFullNode({value:a,index:o},{renderer:r}),o++}else{let o=[];ua.default.Children.forEach(r,i=>{i&&o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let a=r.value;if(a!=null){let i=a.key??a.id;if(i==null)throw new Error("No key found for item");return i}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){if(ua.default.isValidElement(t.element)&&t.element.type===ua.default.Fragment){let l=[];ua.default.Children.forEach(t.element.props.children,d=>{l.push(d)});let c=t.index??0;for(let d of l)yield*this.getFullNode({element:d,index:c++},r,n,o);return}let a=t.element;if(!a&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=r.renderer(t.value)}if(ua.default.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=a.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(a.props,this.context),d=t.index??0,u=c.next();for(;!u.done&&u.value;){let p=u.value;t.index=d;let b=p.key??null;b==null&&(b=p.element?null:this.getKey(a,t,r,n));let y=[...this.getFullNode({...p,key:b,index:d,wrapper:Px(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let $ of y){if($.value=p.value??t.value??null,$.value&&this.cache.set($.value,$),t.type&&$.type!==t.type)throw new Error(`Unsupported type <${m2($.type)}> in <${m2(o?.type??"unknown parent type")}>. Only <${m2(t.type)}> is supported.`);d++,yield $}u=c.next(y)}return}if(t.key==null||t.type==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:gh(function*(){if(!t.hasChildNodes||!t.childNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`);let d=i.getFullNode({...c,index:l},i.getChildState(r,c),s.key,s);for(let u of d)l++,yield u}})};yield s}constructor(){this.cache=new WeakMap}};function gh(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function Px(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function m2(e){return e[0].toUpperCase()+e.slice(1)}var h2=S(D(),1);function mf(e,t,r){let n=(0,h2.useMemo)(()=>new pf,[]),{children:o,items:a,collection:i}=e;return(0,h2.useMemo)(()=>{if(i)return i;let l=n.build({children:o,items:a},r);return t(l)},[n,o,a,i,r,t])}var _n=S(D(),1);function g2(e){let{filter:t,layoutDelegate:r}=e,n=Ja(e),o=(0,_n.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=(0,_n.useCallback)(c=>t?new uc(t(c)):new uc(c),[t]),i=(0,_n.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=mf(e,a,i),l=(0,_n.useMemo)(()=>new Eo(s,n,{layoutDelegate:r}),[s,n,r]);return bh(s,l),{collection:s,disabledKeys:o,selectionManager:l}}function b2(e,t){let r=(0,_n.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return bh(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function bh(e,t){let r=(0,_n.useRef)(null);(0,_n.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let n=r.current.getKeyAfter(t.focusedKey),o=null;for(;n!=null;){let a=e.getItem(n);if(a&&a.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyAfter(n)}if(o==null)for(n=r.current.getKeyBefore(t.focusedKey);n!=null;){let a=e.getItem(n);if(a&&a.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyBefore(n)}t.setFocusedKey(o)}r.current=e},[e,t])}var $h=S(D(),1);function fc(e,t){let{collection:r,onLoadMore:n,scrollOffset:o=1,direction:a="end"}=e,i=(0,$h.useRef)(null),s=mt(l=>{for(let c of l)c.isIntersecting&&n&&n()});de(()=>{if(t.current){let l=100*o,c=a==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;i.current=new IntersectionObserver(s,{root:ql(t?.current),rootMargin:c}),i.current.observe(t.current)}return()=>{i.current&&i.current.disconnect()}},[r,t,o,a])}var ie=S(D(),1);var $2=(0,ie.createContext)(null),ls=(0,ie.createContext)(null),v2=(0,ie.forwardRef)(function(t,r){[t,r]=Tt(t,r,$2);let n=(0,ie.useContext)(ls);return n?ie.default.createElement(vh,{state:n,props:t,listBoxRef:r}):ie.default.createElement(Ul,{content:ie.default.createElement(jl,t)},o=>ie.default.createElement(Tx,{props:t,listBoxRef:r,collection:o}))});function Tx({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,ie.useContext)(aa),o=g2({...e,layoutDelegate:n});return ie.default.createElement(vh,{state:o,props:e,listBoxRef:t})}function vh({state:e,props:t,listBoxRef:r}){[t,r]=Tt(t,r,Fl);let{dragAndDropHooks:n,layout:o="stack",orientation:a="vertical",filter:i}=t,s=b2(e,i),{collection:l,selectionManager:c}=s,d=!!n?.useDraggableCollectionState,u=!!n?.useDroppableCollectionState,{direction:p}=cr(),{disabledBehavior:b,disabledKeys:g}=c,y=lc({usage:"search",sensitivity:"base"}),{isVirtualized:$,layoutDelegate:m,dropTargetDelegate:f,CollectionRoot:h}=(0,ie.useContext)(aa),v=(0,ie.useMemo)(()=>t.keyboardDelegate||new qa({collection:l,collator:y,ref:r,disabledKeys:g,disabledBehavior:b,layout:o,orientation:a,direction:p,layoutDelegate:m}),[l,y,r,b,g,a,p,t.keyboardDelegate,o,m]),{listBoxProps:x}=u2({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:$},s,r),w=(0,ie.useRef)(d),k=(0,ie.useRef)(u);(0,ie.useEffect)(()=>{},[d,u]);let E,T,P,F=!1,R=null,_=(0,ie.useRef)(null);if(d&&n){E=n.useDraggableCollectionState({collection:l,selectionManager:c,preview:n.renderDragPreview?_:void 0}),n.useDraggableCollection({},E,r);let z=n.DragPreview;R=n.renderDragPreview?ie.default.createElement(z,{ref:_},n.renderDragPreview):null}if(u&&n){T=n.useDroppableCollectionState({collection:l,selectionManager:c});let z=n.dropTargetDelegate||f||new n.ListDropTargetDelegate(l,r,{orientation:a,layout:o,direction:p});P=n.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:z},T,r),F=T.isDropTarget({type:"root"})}let{focusProps:C,isFocused:L,isFocusVisible:K}=Yl(),I=s.collection.size===0,Z={isDropTarget:F,isEmpty:I,isFocused:L,isFocusVisible:K,layout:t.layout||"stack",orientation:a,state:s},N=Wt({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:Z}),q=null;I&&t.renderEmptyState&&(q=ie.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(Z)));let ee=Ke(t,{global:!0});return ie.default.createElement(Xa,null,ie.default.createElement(Je.div,{...se(ee,N,x,C,P?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":F||void 0,"data-empty":I||void 0,"data-focused":L||void 0,"data-focus-visible":K||void 0,"data-layout":t.layout||"stack","data-orientation":a},ie.default.createElement(nn,{values:[[$2,t],[ls,s],[rc,{dragAndDropHooks:n,dragState:E,dropState:T}],[of,{elementType:"div"}],[e2,{render:Rx}],[Vu,{name:"ListBoxSection",render:Lx}]]},ie.default.createElement(ss,null,ie.default.createElement(h,{collection:l,scrollRef:r,persistedKeys:W7(c,n,T),renderDropIndicator:t2(n,T)}))),q,R))}function Lx(e,t,r,n="react-aria-ListBoxSection"){let o=(0,ie.useContext)(ls),{dragAndDropHooks:a,dropState:i}=(0,ie.useContext)(rc),{CollectionBranch:s}=(0,ie.useContext)(aa),[l,c]=ji(),{headingProps:d,groupProps:u}=p2({heading:c,"aria-label":e["aria-label"]??void 0}),p=Wt({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),b=Ke(e,{global:!0});return delete b.id,ie.default.createElement(Je.section,{...se(b,p,u),ref:t},ie.default.createElement(tf.Provider,{value:{...d,ref:l}},ie.default.createElement(s,{collection:o.collection,parent:r,renderDropIndicator:t2(a,i)})))}var y2=Ga(Ua,function(t,r,n){let o=Wn(r),a=(0,ie.useContext)(ls),{dragAndDropHooks:i,dragState:s,dropState:l}=(0,ie.useContext)(rc),c=s&&!(s.isDisabled||s.selectionManager.isDisabled(n.key)),{optionProps:d,labelProps:u,descriptionProps:p,...b}=f2({key:n.key,"aria-label":t?.["aria-label"]},a,o),{hoverProps:g,isHovered:y}=Tn({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:$}=kr(t),{focusProps:m}=ja(t),f=null;s&&i&&(f=i.useDraggableItem({key:n.key,hasAction:b.hasAction},s));let h=null;l&&i&&(h=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},l,o));let v=s&&s.isDragging(n.key),x=Wt({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:y,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:v,isDropTarget:h?.isDropTarget}});(0,ie.useEffect)(()=>{n.textValue},[n.textValue]);let w=t.href?Je.a:Je.div,k=Ke(t,{global:!0});return delete k.id,delete k.onClick,t.href&&d.tabIndex==null&&(d.tabIndex=-1),ie.default.createElement(w,{...se(k,x,d,g,$,m,f?.dragProps,h?.dropProps),ref:o,"data-allows-dragging":!!s||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},ie.default.createElement(nn,{values:[[ca,{slots:{[Ui]:u,label:u,description:p}}],[nf,{isSelected:b.isSelected}]]},x.children))});function Rx(e,t){t=Wn(t);let{dragAndDropHooks:r,dropState:n}=(0,ie.useContext)(rc),{dropIndicatorProps:o,isHidden:a,isDropTarget:i}=r.useDropIndicator(e,n,t);return a?null:ie.default.createElement(Mx,{...e,dropIndicatorProps:o,isDropTarget:i,ref:t})}function _x(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,a=Wt({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return ie.default.createElement(ie.default.Fragment,null,ie.default.createElement(Je.div,{...r,...a,role:"option",ref:t,"data-drop-target":n||void 0}))}var Mx=(0,ie.forwardRef)(_x),Ix=Ga(Wa,function(t,r,n){let o=(0,ie.useContext)(ls),{isLoading:a,onLoadMore:i,scrollOffset:s,...l}=t,c=(0,ie.useRef)(null),d=(0,ie.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[i,s,o?.collection]);fc(d,c);let u=Wt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),p={tabIndex:-1};return ie.default.createElement(ie.default.Fragment,null,ie.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:dc(!0)},ie.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&u.children&&ie.default.createElement(ie.default.Fragment,null,ie.default.createElement(Je.div,{...se(Ke(t,{global:!0}),p),...u,role:"option",ref:r},u.children)))});var hf=S(D(),1),yh=(0,hf.createContext)({placement:"bottom"});var Nx=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function xh(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var pc=new WeakMap,Pr=[];function Ch(e,t){let r=Fe(e?.[0]),n=t instanceof r.Element?{root:t}:t,o=n?.root??document.body,a=n?.shouldUseInert&&Nx,i=new Set(e),s=new Set,l=$=>a&&$ instanceof r.HTMLElement?$.inert:$.getAttribute("aria-hidden")==="true",c=($,m)=>{a&&$ instanceof r.HTMLElement?$.inert=m:m?$.setAttribute("aria-hidden","true"):($.removeAttribute("aria-hidden"),$ instanceof r.HTMLElement&&($.inert=!1))},d=new Set;if(Er()){let $=o.getRootNode();for(let m of e){let f=m.getRootNode();for(;Aa(f)&&f!==$;)d.add(f),f=f.host.getRootNode()}}let u=$=>{for(let v of $.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))i.add(v);let m=v=>{if(s.has(v)||i.has(v)||v.parentElement&&s.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let x of i)if(pe(v,x))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=af(ue($),$,NodeFilter.SHOW_ELEMENT,{acceptNode:m}),h=m($);if(h===NodeFilter.FILTER_ACCEPT&&p($),h!==NodeFilter.FILTER_REJECT){let v=f.nextNode();for(;v!=null;)p(v),v=f.nextNode()}},p=$=>{let m=pc.get($)??0;l($)&&m===0||(m===0&&c($,!0),s.add($),pc.set($,m+1))};Pr.length&&Pr[Pr.length-1].disconnect(),u(o);let b=new MutationObserver($=>{for(let m of $)if(m.type==="childList"){if(m.target.isConnected&&![...i,...s].some(f=>pe(f,m.target)))for(let f of m.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&xh(f)?i.add(f):f instanceof Element&&u(f);if(Er()){for(let f of d)if(!f.isConnected){b.disconnect();break}}}});b.observe(o,{childList:!0,subtree:!0});let g=new Set;if(Er())for(let $ of d){let m=new MutationObserver(f=>{for(let h of f)if(h.type==="childList"){if(h.target.isConnected&&![...i,...s].some(v=>pe(v,h.target)))for(let v of h.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&xh(v)?i.add(v):v instanceof Element&&u(v);if(Er()){for(let v of d)if(!v.isConnected){b.disconnect();break}}}});m.observe($,{childList:!0,subtree:!0}),g.add(m)}let y={visibleNodes:i,hiddenNodes:s,observe(){b.observe(o,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return Pr.push(y),()=>{if(b.disconnect(),Er())for(let $ of g)$.disconnect();for(let $ of s){let m=pc.get($);m!=null&&(m===1?(c($,!1),pc.delete($)):pc.set($,m-1))}y===Pr[Pr.length-1]?(Pr.pop(),Pr.length&&Pr[Pr.length-1].observe()):Pr.splice(Pr.indexOf(y),1)}}function wh(e){let t=Pr[Pr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var un={top:"top",bottom:"top",left:"left",right:"left"},bf={top:"bottom",bottom:"top",left:"right",right:"left"},Dx={top:"left",left:"top"},C2={top:"height",left:"width"},Rh={width:"totalWidth",height:"totalHeight"},gf={},Fx=()=>typeof document<"u"?window.visualViewport:null;function Sh(e,t){let r=0,n=0,o=0,a=0,i=0,s=0,l={},c=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let d=document.documentElement;o=d.clientWidth,a=d.clientHeight,r=t?.width??o,n=t?.height??a,l.top=d.scrollTop||e.scrollTop,l.left=d.scrollLeft||e.scrollLeft,t&&(i=Math.max(0,t.pageTop-(l.top??0)),s=Math.max(0,t.pageLeft-(l.left??0)))}else({width:r,height:n,top:i,left:s}=mc(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,a=n;return er()&&(e.tagName==="BODY"||e.tagName==="HTML")&&c&&(l.top=0,l.left=0,i=t?.pageTop??0,s=t?.pageLeft??0),{width:r,height:n,totalWidth:o,totalHeight:a,scroll:l,top:i,left:s}}function Hx(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Eh(e,t,r,n,o,a,i){let s=o.scroll[e]??0,l=n[C2[e]],c=i[e]+n.scroll[un[e]]+a,d=i[e]+n.scroll[un[e]]+l-a,u=t-s+n.scroll[un[e]]+i[e]-n[un[e]],p=t-s+r+n.scroll[un[e]]+i[e]-n[un[e]];return u<c?c-u:p>d?Math.max(d-p,c-u):0}function Ax(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function kh(e){if(gf[e])return gf[e];let[t,r]=e.split(" "),n=un[t]||"right",o=Dx[n];un[r]||(r="center");let a=C2[n],i=C2[o];return gf[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},gf[e]}function x2(e,t,r,n,o,a,i,s,l,c,d){let{placement:u,crossPlacement:p,axis:b,crossAxis:g,size:y,crossSize:$}=n,m={};m[g]=e[g]??0,p==="center"?m[g]+=((e[$]??0)-(r[$]??0))/2:p!==g&&(m[g]+=(e[$]??0)-(r[$]??0)),m[g]+=a;let f=e[g]-r[$]+l+c,h=e[g]+e[$]-l-c;if(m[g]=Xl(m[g],f,h),u===b){let v=s?d[y]:d[Rh[y]];m[bf[b]]=Math.floor(v-e[b]+o)}else m[b]=Math.floor(e[b]+e[y]+o);return m}function Ox(e,t,r,n,o,a,i,s,l,c,d){let u=(e.top!=null?e.top:l[Rh.height]-(e.bottom??0)-i)-(l.scroll.top??0),p=c?r.top:0,b={top:Math.max(t.top+p,(d?.offsetTop??t.top)+p),bottom:Math.min(t.top+t.height+p,(d?.offsetTop??0)+(d?.height??0))};return s!=="top"?Math.max(0,b.bottom-u-((o.top??0)+(o.bottom??0)+a)):Math.max(0,u+i-b.top-((o.top??0)+(o.bottom??0)+a))}function Ph(e,t,r,n,o,a,i,s){let{placement:l,axis:c,size:d}=a;return l===c?Math.max(0,r[c]-(i.scroll[c]??0)-(e[c]+(s?t[c]:0))-(n[c]??0)-n[bf[c]]-o):Math.max(0,e[d]+e[c]+(s?t[c]:0)-r[c]-r[d]+(i.scroll[c]??0)-(n[c]??0)-n[bf[c]]-o)}function Kx(e,t,r,n,o,a,i,s,l,c,d,u,p,b,g,y,$,m){let f=kh(e),{size:h,crossAxis:v,crossSize:x,placement:w,crossPlacement:k}=f,E=x2(t,s,r,f,d,u,c,p,g,y,l),T=d,P=Ph(s,c,t,o,a+d,f,l,$);if(i&&r[h]>P){let M=kh(`${bf[w]} ${k}`),ae=x2(t,s,r,M,d,u,c,p,g,y,l);Ph(s,c,t,o,a+d,M,l,$)>P&&(f=M,E=ae,T=d)}let F="bottom";f.axis==="top"?f.placement==="top"?F="top":f.placement==="bottom"&&(F="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?F="bottom":f.crossPlacement==="bottom"&&(F="top"));let R=Eh(v,E[v],r[x],s,l,a,c);E[v]+=R;let _=Ox(E,s,c,p,o,a,r.height,F,l,$,m);b&&b<_&&(_=b),r.height=Math.min(r.height,_),E=x2(t,s,r,f,T,u,c,p,g,y,l),R=Eh(v,E[v],r[x],s,l,a,c),E[v]+=R;let C={},L=t[v]-E[v]-o[un[v]],K=L+.5*t[x],I=g/2+y,Z=un[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),N=r[x]-Z-g/2-y,q=t[v]+g/2-(E[v]+o[un[v]]),ee=t[v]+t[x]-g/2-(E[v]+o[un[v]]),z=Xl(K,q,ee);C[v]=Xl(z,I,N),{placement:w,crossPlacement:k}=f,g?L=C[v]:k==="right"?L+=t[x]:k==="center"&&(L+=t[x]/2);let G=w==="left"||w==="top"?r[h]:0,V={x:w==="top"||w==="bottom"?L:G,y:w==="left"||w==="right"?L:G};return{position:E,maxHeight:_,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:w,triggerAnchorPoint:V}}function _h(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:l,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:p=0,targetRect:b}=e,g=Fx(),y=n instanceof HTMLElement?zx(n):document.documentElement,$=y===document.documentElement,m=window.getComputedStyle(y).position,f=!!m&&m!=="static",h=$?mc(r,!1,b):Th(r,y,!1,b);if(!$){let{marginTop:F,marginLeft:R}=window.getComputedStyle(r);h.top+=parseInt(F,10)||0,h.left+=parseInt(R,10)||0}let v=mc(n,!0),x=Ax(n);v.width+=(x.left??0)+(x.right??0),v.height+=(x.top??0)+(x.bottom??0);let w=Hx(o),k=Sh(s,g),E=Sh(y,g),T;if((s.tagName==="BODY"||s.tagName==="HTML")&&!$){let F=hc(y,!1);T={top:-(F.top-k.top),left:-(F.left-k.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&$?T={top:0,left:0,width:0,height:0}:T=Th(s,y,!1);let P=pe(s,y);return Kx(t,h,v,w,x,a,i,k,E,T,l,c,f,d,u,p,P,g)}function hc(e,t){let{top:r,left:n,width:o,height:a}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,a=e.offsetHeight),{top:r,left:n,width:o,height:a}}function mc(e,t,r){let{top:n,left:o,width:a,height:i}=r||hc(e,t),{scrollTop:s,scrollLeft:l,clientTop:c,clientLeft:d}=document.documentElement;return{top:n+s-c,left:o+l-d,width:a,height:i}}function Th(e,t,r,n){let o=window.getComputedStyle(e),a;if(o.position==="fixed")a=n||hc(e,r);else{a=mc(e,r,n);let i=mc(t,r),s=window.getComputedStyle(t);i.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,a.top-=i.top,a.left-=i.left}return a.top-=parseInt(o.marginTop,10)||0,a.left-=parseInt(o.marginLeft,10)||0,a}function zx(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Lh(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Lh(t);)t=t.parentElement;return t||document.documentElement}function Lh(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}var Mh=S(D(),1),Bx=new WeakMap;function Ih(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,Mh.useEffect)(()=>{if(!r||n===null)return;let o=a=>{let i=Y(a);if(!t.current||i instanceof Node&&!pe(i,t.current)||i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)return;let s=n||Bx.get(t.current);s&&s()};return Lt(wl(t.current),"scroll",o,!0)},[r,n,t])}var Nh=S(D(),1);function Vx(){return typeof window.ResizeObserver<"u"}function cs(e){let{ref:t,box:r,onResize:n}=e,o=mt(n);(0,Nh.useEffect)(()=>{let a=t?.current;if(a)if(Vx()){let i=new window.ResizeObserver(s=>{s.length&&o()});return i.observe(a,{box:r}),()=>{a&&i.unobserve(a)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[t,r])}var Xn=S(D(),1),ei=typeof document<"u"?window.visualViewport:null;function Dh(e){let{direction:t}=cr(),{arrowSize:r,targetRef:n,overlayRef:o,arrowRef:a,scrollRef:i=o,placement:s="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:p=0,shouldUpdatePosition:b=!0,isOpen:g=!0,onClose:y,maxHeight:$,arrowBoundaryOffset:m=0,getTargetRect:f}=e,[h,v]=(0,Xn.useState)(null),x=[b,s,o.current,n.current,a?.current,i.current,l,c,d,u,p,g,t,$,m,r],w=(0,Xn.useRef)(ei?.scale);(0,Xn.useEffect)(()=>{g&&(w.current=ei?.scale)},[g]);let k=(0,Xn.useCallback)(()=>{if(b===!1||!g||!o.current||!n.current||!d||ei?.scale!==w.current)return;let P=null;if(i.current&&ta(i.current)){let C=ye()?.getBoundingClientRect(),L=i.current.getBoundingClientRect();P={type:"top",offset:(C?.top??0)-L.top},P.offset>L.height/2&&(P.type="bottom",P.offset=(C?.bottom??0)-L.bottom)}let F=o.current;!$&&o.current&&(F.style.top="0px",F.style.bottom="",F.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let R=_h({placement:Ux(s,t),overlayNode:o.current,targetNode:n.current,scrollNode:i.current||o.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:p,maxHeight:$,arrowSize:r??(a?.current?hc(a.current,!0).width:0),arrowBoundaryOffset:m,targetRect:f?.(n.current)});if(!R.position)return;F.style.top="",F.style.bottom="",F.style.left="",F.style.right="",Object.keys(R.position).forEach(C=>F.style[C]=R.position[C]+"px"),F.style.maxHeight=R.maxHeight!=null?R.maxHeight+"px":"";let _=ye();if(P&&_&&i.current){let C=_.getBoundingClientRect(),L=i.current.getBoundingClientRect(),K=C[P.type]-L[P.type];i.current.scrollTop+=K-P.offset}v(R)},x);de(k,x),Wx(k),cs({ref:o,onResize:k}),cs({ref:n,onResize:k});let E=(0,Xn.useRef)(!1);de(()=>{let P,F=()=>{E.current=!0,clearTimeout(P),P=setTimeout(()=>{E.current=!1},500),k()},R=()=>{E.current&&F()};ei?.addEventListener("resize",F),ei?.addEventListener("scroll",R);let _=Lt(wl(window),"scroll",R);return()=>{ei?.removeEventListener("resize",F),ei?.removeEventListener("scroll",R),_()}},[k]);let T=(0,Xn.useCallback)(()=>{E.current||y?.()},[y,E]);return Ih({triggerRef:n,isOpen:g,onClose:y&&T}),{overlayProps:{style:{position:h?"absolute":"fixed",top:h?void 0:0,left:h?void 0:0,zIndex:1e5,...h?.position,maxHeight:h?.maxHeight??"100vh"}},placement:h?.placement??null,triggerAnchorPoint:h?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:h?.arrowOffsetLeft,top:h?.arrowOffsetTop}},updatePosition:k}}function Wx(e){de(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Ux(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var $f=S(D(),1);function Hh(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,a=(0,$f.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=mt(l=>{r&&Fh(l,t)&&(o&&o(l),a.current.isPointerDown=!0)}),s=mt(l=>{r&&r(l)});(0,$f.useEffect)(()=>{let l=a.current;if(n)return;let c=t.current,d=ue(c);if(typeof PointerEvent<"u"){let u=p=>{l.isPointerDown&&Fh(p,t)&&s(p),l.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("click",u,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("click",u,!0)}}},[t,n])}function Fh(e,t){if(e.button>0)return!1;let r=Y(e);if(r){let n=r.ownerDocument;if(!n||!pe(n.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var vf=S(D(),1),qn=[];function Ah(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e,l=(0,vf.useRef)(void 0);(0,vf.useEffect)(()=>{if(o&&!qn.includes(t))return qn.push(t),()=>{let g=qn.indexOf(t);g>=0&&qn.splice(g,1)}},[o,t]);let c=()=>{qn[qn.length-1]===t&&r&&r()},d=g=>{let y=qn[qn.length-1];l.current=y,(!s||s(Y(g)))&&y===t&&g.stopPropagation()},u=g=>{(!s||s(Y(g)))&&(qn[qn.length-1]===t&&g.stopPropagation(),l.current===t&&c()),l.current=void 0},{keyboardProps:p}=kr({shortcuts:{Escape:()=>{if(!i){c();return}return!1}}});Hh({ref:t,onInteractOutside:a&&o?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:b}=ln({isDisabled:!n,onBlurWithin:g=>{!g.relatedTarget||q7(g.relatedTarget)||(!s||s(g.relatedTarget))&&r?.()}});return{overlayProps:{...p,...b},underlayProps:{}}}var jx=200,Gx=50,Zx=600,fa=new WeakMap,gc=new Set,bc=new Set;function Yx(e,t){let r=qi();if(e!==r||t.aborted)for(let n of bc)n(r),bc.delete(n);if(!e&&r&&er()&&!t.aborted){window.clearInterval(fa.get(window)),fa.set(window,w2(jx));return}if(e!==r||t.aborted)for(let n of gc)n(r),gc.delete(n);(bc.size+gc.size<=0||t.aborted)&&(window.clearInterval(fa.get(window)),fa.delete(window))}function w2(e=Zx){return window.setInterval(Yx,Gx,qi(),AbortSignal.timeout(e))}function $c(e){if(!_l())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ye():null,n=Ba(r);if(qi()===n||qi()&&!n)return e(n);bc.add(e),fa.has(window)||fa.set(window,w2())})});return()=>{window.cancelAnimationFrame(t),bc.delete(e)}}function S2(e){if(!_l())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ye():null,n=Ba(r);if(qi()===n)return e(n);gc.add(e),fa.has(window)||fa.set(window,w2())})});return()=>{window.cancelAnimationFrame(t),gc.delete(e)}}var E2=typeof document<"u"&&window.visualViewport,yf=0,k2;function Oh(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:r}=e;de(()=>{if(!t)return yf++,yf===1&&(vo()&&er()?k2=qx():k2=Xx(r)),()=>{yf--,yf===0&&k2()}},[t,r])}function Xx(e){let t=window.innerWidth-document.documentElement.clientWidth;return Qt(t>0&&("scrollbarGutter"in document.documentElement.style?Un(document.documentElement,"scrollbar-gutter","stable"):Un(document.documentElement,"padding-right",`${t}px`)),Un(document.documentElement,"overflow","hidden"),e&&zh(),e&&_l()&&Kh())}function qx(){let e=Un(document.documentElement,"overflow","hidden"),t,r=!1,n=c=>{let d=Y(c);t=Zn(d,!0)?d:ql(d,!0),r=!1;let u=d.ownerDocument.defaultView.getSelection();u&&!u.isCollapsed&&u.containsNode(d,!0)&&(r=!0),c.composedPath().some(p=>p instanceof HTMLInputElement&&p.type==="range")&&(r=!0),"selectionStart"in d&&"selectionEnd"in d&&d.selectionStart<d.selectionEnd&&d.ownerDocument.activeElement===d&&(r=!0)},o=document.createElement("style"),a=Uu();a&&(o.nonce=a),o.textContent=`
134
+ `.trim(),C.head.prepend(L)},[p]),(0,Pt.useEffect)(()=>{let C=$.current;return()=>{u||l2(C.target??void 0);for(let L of C.disposables)L();C.disposables=[]}},[u]),{isPressed:l||g,pressProps:le(b,I,{[G7]:!0})}}function d2(e){return e.tagName==="A"&&e.hasAttribute("href")}function c2(e,t){let{key:r,code:n}=e,o=t,i=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(o instanceof He(o).HTMLInputElement&&!Y7(o,r)||o instanceof He(o).HTMLTextAreaElement||o.isContentEditable)&&!((i==="link"||!i&&d2(o))&&r!=="Enter")}function oa(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function Rx(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!d2(e)}function Z7(e,t){return ar()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!Y7(e,t):Rx(e)}var _x=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y7(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":_x.has(e.type)}var ic=S(D(),1);function fn(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,i=(0,ic.useRef)({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:s}=gi(),l=(0,ic.useCallback)(u=>{me(u.currentTarget,q(u))&&i.current.isFocusWithin&&!me(u.currentTarget,u.relatedTarget)&&(i.current.isFocusWithin=!1,s(),r&&r(u),o&&o(!1))},[r,o,i,s]),c=Du(l),d=(0,ic.useCallback)(u=>{if(!me(u.currentTarget,q(u)))return;let p=q(u),b=fe(p),g=xe(b);if(!i.current.isFocusWithin&&g===p){n&&n(u),o&&o(!0),i.current.isFocusWithin=!0,c(u);let y=u.currentTarget;a(b,"focus",$=>{let m=q($);if(i.current.isFocusWithin&&!me(y,m)){let f=new b.defaultView.FocusEvent("blur",{relatedTarget:m});Nu(f,y);let h=Fl(f);l(h)}},{capture:!0})}},[n,o,c,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}var bi=S(D(),1);function ac(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,o=(0,bi.useRef)({isFocused:!1,isFocusVisible:t||In()}),[i,a]=(0,bi.useState)(!1),[s,l]=(0,bi.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),c=(0,bi.useCallback)(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),d=(0,bi.useCallback)(b=>{o.current.isFocused=b,o.current.isFocusVisible=In(),a(b),c()},[c]);J0(b=>{o.current.isFocusVisible=b,c()},[r,i],{enabled:i,isTextInput:r});let{focusProps:u}=ra({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=fn({isDisabled:!n,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:s,focusProps:n?p:u}}var No=S(D(),1),u2=!1,of=0;function Mx(){u2=!0,setTimeout(()=>{u2=!1},500)}function X7(e){e.pointerType==="touch"&&Mx()}function Ix(){let e=fe(null);if(!(typeof e>"u"))return of===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",X7),of++,()=>{of--,!(of>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",X7)}}function Nn(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,a]=(0,No.useState)(!1),s=(0,No.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,No.useEffect)(Ix,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=gi(),{hoverProps:d,triggerHoverEnd:u}=(0,No.useMemo)(()=>{let p=(y,$)=>{if(s.pointerType=$,o||$==="touch"||s.isHovered||!me(y.currentTarget,q(y)))return;s.isHovered=!0;let m=y.currentTarget;s.target=m,l(fe(q(y)),"pointerover",f=>{s.isHovered&&s.target&&!me(s.target,q(f))&&b(f,f.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:m,pointerType:$}),r&&r(!0),a(!0)},b=(y,$)=>{let m=s.target;s.pointerType="",s.target=null,!($==="touch"||!s.isHovered||!m)&&(s.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:$}),r&&r(!1),a(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=y=>{u2&&y.pointerType==="mouse"||p(y,y.pointerType)},g.onPointerLeave=y=>{!o&&me(y.currentTarget,q(y))&&b(y,y.pointerType)}),{hoverProps:g,triggerHoverEnd:b}},[t,r,n,o,s,l,c]);return(0,No.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:i}}var af=S(D(),1),sf=(0,af.createContext)({}),f2=ec(function(t,r){[t,r]=Dt(t,r,sf);let{elementType:n="label",...o}=t,i=rt[n];return af.default.createElement(i,{className:"react-aria-Label",...o,ref:r})});function lf(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=kt(t);let a=kt(),s={};r&&(n=n?`${a} ${n}`:a,s={id:a,htmlFor:i==="label"?t:void 0});let l=Wu({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function sc(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}var cf=S(D(),1),$i=(0,cf.createContext)({}),df=ec(function(t,r){[t,r]=Dt(t,r,$i);let{elementType:n="span",...o}=t,i=rt[n];return cf.default.createElement(i,{className:"react-aria-Text",...o,ref:r})});function ro(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return e===n&&r.overflow!=="hidden"&&(o=!0),o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function lc(e,t){let r=e;for(ro(r,t)&&(r=r.parentElement);r&&!ro(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function uf(e,t){let r=[],n=document.scrollingElement||document.documentElement;for(;e&&(ro(e,t)&&r.push(e),e!==n);)e=e.parentElement;return r}function cc(e,t,r={}){if(e===t)return;let n=t.getBoundingClientRect();Nx(e,t,n,r)}function Nx(e,t,r,n={}){let{block:o="nearest",inline:i="nearest"}=n,a=e.scrollTop,s=e.scrollLeft,l=e.getBoundingClientRect(),c=window.getComputedStyle(t),d=window.getComputedStyle(e),u=document.scrollingElement||document.documentElement,p=e===u,b=e===u?0:l.top,g=e===u?e.clientHeight:l.bottom,y=e===u?0:l.left,$=e===u?e.clientWidth:l.right,m=parseFloat(c.scrollMarginTop)||0,f=parseFloat(c.scrollMarginBottom)||0,h=parseFloat(c.scrollMarginLeft)||0,v=parseFloat(c.scrollMarginRight)||0,x=parseFloat(d.scrollPaddingTop)||0,w=parseFloat(d.scrollPaddingBottom)||0,P=parseFloat(d.scrollPaddingLeft)||0,k=parseFloat(d.scrollPaddingRight)||0,T=parseFloat(d.borderTopWidth)||0,E=parseFloat(d.borderBottomWidth)||0,F=parseFloat(d.borderLeftWidth)||0,_=parseFloat(d.borderRightWidth)||0,I=r.top-m,C=r.bottom+f,L=r.left-h,O=r.right+v,M=e===u?0:F+_,Z=e===u?0:T+E,R=e===u?0:e.offsetWidth-e.clientWidth-M,te=e===u?0:e.offsetHeight-e.clientHeight-Z,X=b+(p?0:T)+x,K=g-(p?0:E)-w-te,j=y+(p?0:F)+P,z=$-(p?0:_)-k;Ro()&&sr()||d.direction==="ltr"?z-=R:d.direction==="rtl"&&(j+=R);let N=I<X||C>K,ie=L<j||O>z;if(N&&o==="start")a+=I-X;else if(N&&o==="center")a+=(I+C)/2-(X+K)/2;else if(N&&o==="end")a+=C-K;else if(N&&o==="nearest"){let J=I-X,Ee=C-K;a+=Math.abs(J)<=Math.abs(Ee)?J:Ee}if(ie&&i==="start")s+=L-j;else if(ie&&i==="center")s+=(L+O)/2-(j+z)/2;else if(ie&&i==="end")s+=O-z;else if(ie&&i==="nearest"){let J=L-j,Ee=O-z;s+=Math.abs(J)<=Math.abs(Ee)?J:Ee}e.scrollTo({left:s,top:a})}function p2(e,t={}){let{containingElement:r}=t;if(e&&e.isConnected){let n=document.scrollingElement||document.documentElement;if(window.getComputedStyle(n).overflow==="hidden"){let{left:i,top:a}=e.getBoundingClientRect(),s=uf(e,!0);for(let d of s)cc(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(i-l)>1||Math.abs(a-c)>1){s=r?uf(r,!0):[];for(let d of s)cc(d,r,{block:"center",inline:"center"});for(let d of uf(e,!0))cc(d,e)}}else{let{left:i,top:a}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(i-s)>1||Math.abs(a-l)>1)&&(r?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var q7=S(D(),1),Dx=0,m2=new Map;function Q7(e){let[t,r]=(0,q7.useState)();return ue(()=>{if(!e)return;let n=m2.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${Dx++}`;r(o);let i=document.createElement("div");i.id=o,i.style.display="none",i.textContent=e,document.body.appendChild(i),n={refCount:0,element:i},m2.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),m2.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var ms=S(D(),1),J7={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function eh(e={}){let{style:t,isFocusable:r}=e,[n,o]=(0,ms.useState)(!1),{focusWithinProps:i}=fn({isDisabled:!r,onFocusWithinChange:s=>o(s)}),a=(0,ms.useMemo)(()=>n?t:t?{...J7,...t}:J7,[n]);return{visuallyHiddenProps:{...i,style:a}}}function dc(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...i}=e,{visuallyHiddenProps:a}=eh(e);return ms.default.createElement(r,le(i,a),t)}var uc=S(D(),1),th=(0,uc.createContext)(null);var zt=S(D(),1),oh={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ih={...oh,customError:!0,valid:!1},fc={isInvalid:!1,validationDetails:oh,validationErrors:[]},Fx=(0,zt.createContext)({}),rh="__reactAriaFormValidationState";function ah(e){if(e[rh]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:i}=e[rh];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:i}}return Hx(e)}function Hx(e){let{isInvalid:t,validationState:r,name:n,value:o,builtinValidation:i,validate:a,validationBehavior:s="aria"}=e;r&&(t||=r==="invalid");let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:ih}:null,c=(0,zt.useMemo)(()=>{if(!a||o==null)return null;let E=Ax(a,o);return nh(E)},[a,o]);i?.validationDetails.valid&&(i=void 0);let d=(0,zt.useContext)(Fx),u=(0,zt.useMemo)(()=>n?Array.isArray(n)?n.flatMap(E=>g2(d[E])):g2(d[n]):[],[d,n]),[p,b]=(0,zt.useState)(d),[g,y]=(0,zt.useState)(!1);d!==p&&(b(d),y(!1));let $=(0,zt.useMemo)(()=>nh(g?[]:u),[g,u]),m=(0,zt.useRef)(fc),[f,h]=(0,zt.useState)(fc),v=(0,zt.useRef)(fc),x=()=>{if(!w)return;P(!1);let E=c||i||m.current;h2(E,v.current)||(v.current=E,h(E))},[w,P]=(0,zt.useState)(!1);return(0,zt.useEffect)(x),{realtimeValidation:l||$||c||i||fc,displayValidation:s==="native"?l||$||f:l||$||c||i||f,updateValidation(E){s==="aria"&&!h2(f,E)?h(E):m.current=E},resetValidation(){let E=fc;h2(E,v.current)||(v.current=E,h(E)),s==="native"&&P(!1),y(!0)},commitValidation(){s==="native"&&P(!0),y(!0)}}}function g2(e){return e?Array.isArray(e)?e:[e]:[]}function Ax(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return g2(r)}return[]}function nh(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:ih}:null}function h2(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}var ff=S(D(),1),sh=(0,ff.createContext)(null);function lh(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:i,fieldProps:a}=lf(e),s=qn([!!t,!!r,n,o]),l=qn([!!t,!!r,n,o]);return a=le(a,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:i,fieldProps:a,descriptionProps:{id:s},errorMessageProps:{id:l}}}var ch=S(D(),1);function dh(e,t,r){let n=yt(o=>{r&&!o.defaultPrevented&&r(t)});(0,ch.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[e])}var pf=S(D(),1);function uh(e,t,r){let{validationBehavior:n,focus:o}=e;ue(()=>{if(n==="native"&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){let c=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(Bx(r.current))}});let i=(0,pf.useRef)(!1),a=yt(()=>{i.current||t.resetValidation()}),s=yt(c=>{t.displayValidation.isInvalid||t.commitValidation();let d=r?.current?.form;!c.defaultPrevented&&r&&d&&Kx(d)===r.current&&(o?o():r.current?.focus(),ui("keyboard")),c.preventDefault()}),l=yt(()=>{t.commitValidation()});(0,pf.useEffect)(()=>{let c=r?.current;if(!c)return;let d=c.form,u=d?.reset;return d&&(d.reset=()=>{i.current=!window.event||window.event.type==="message"&&q(window.event)instanceof MessagePort,u?.call(d),i.current=!1}),c.addEventListener("invalid",s),c.addEventListener("change",l),d?.addEventListener("reset",a),()=>{c.removeEventListener("invalid",s),c.removeEventListener("change",l),d?.removeEventListener("reset",a),d&&(d.reset=u)}},[r,n])}function Ox(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function Bx(e){return{isInvalid:!e.validity.valid,validationDetails:Ox(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function Kx(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(r.validity?.valid===!1)return r}return null}var hs=S(D(),1);function zx(e=!0){let[t,r]=(0,hs.useState)(e),n=(0,hs.useRef)(!1),o=(0,hs.useCallback)(i=>{n.current=!0,r(!!i)},[]);return ue(()=>{n.current||r(!1)},[]),[o,t]}function fh(e=!0){let t=kt(),[r,n]=zx(e);return{id:n?t:void 0,ref:r}}var $r=S(D(),1),pc=(0,$r.createContext)({}),b2=(0,$r.createContext)(null),Vx=(0,$r.forwardRef)(function(t,r){let{render:n}=(0,$r.useContext)(b2);return $r.default.createElement($r.default.Fragment,null,n(t,r))});function $2(e,t){let r=e?.renderDropIndicator,n=e?.isVirtualDragging?.(),o=(0,$r.useCallback)(i=>{if(n||t?.isDropTarget(i))return r?r(i):$r.default.createElement(Vx,{target:i})},[t?.target,n,r]);return e?.useDropIndicator?o:void 0}function ph(e,t,r){let n=e.focusedKey,o=null;if(t?.isVirtualDragging?.()&&r?.target?.type==="item"&&(o=r.target.key,r.target.dropPosition==="after")){let i=r.collection.getKeyAfter(o),a=null;if(i!=null){let s=r.collection.getItem(o)?.level??0;for(;i!=null;){let l=r.collection.getItem(i);if(!l)break;if(l.type!=="item"){i=r.collection.getKeyAfter(i);continue}if((l.level??0)<=s)break;a=i,i=r.collection.getKeyAfter(i)}}o=i??a??o}return(0,$r.useMemo)(()=>new Set([n,o].filter(i=>i!=null)),[n,o])}var v2=S(D(),1),mf=(0,v2.createContext)({});var Wx=S(_n(),1),Do=S(D(),1);var Ux=(0,Do.createContext)(null);function gs(e){let t=(0,Do.useRef)({});return Do.default.createElement(Ux.Provider,{value:t},e.children)}var hf=S(D(),1),gf=(0,hf.createContext)({isSelected:!1});var y2=S(D(),1),bf=(0,y2.createContext)({}),mh=class extends dn{static{this.type="separator"}filter(t,r){let n=r.getItem(this.prevKey);if(n&&n.type!=="separator"){let o=this.clone();return r.addDescendants(o,t),o}return null}};var mc=new WeakMap;function jx(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function hh(e,t){let r=mc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${jx(t)}`}var x2=class{constructor(t,r,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=a=>{if(a.nodeType===Node.ELEMENT_NODE){let s=a.shadowRoot;if(s){let l=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(a);if(this.filter?.acceptNode)return this.filter.acceptNode(a);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=r,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(t.createTreeWalker(r,n,this._acceptNode));let i=r.shadowRoot;if(i){let a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}get currentNode(){return this._currentNode}set currentNode(t){if(!me(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");let r=[],n=t,o=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let a=n,s=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});r.push(s),s.currentNode=o,this._currentSetFor.add(s),n=o=a.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(i),i.currentNode=o,this._currentSetFor.add(i),this._walkerStack=r}get doc(){return this._doc}firstChild(){let t=this.currentNode,r=this.nextNode();return me(t,r)?(r&&(this.currentNode=r),r):(this.currentNode=t,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){let t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let n;if(typeof this.filter=="function"?n=this.filter(t):this.filter?.acceptNode&&(n=this.filter.acceptNode(t)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let o=this.nextNode();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){let t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null;return null}let r=t.previousNode();if(r){if(r.shadowRoot){let o;if(typeof this.filter=="function"?o=this.filter(r):this.filter?.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let i=this.lastChild();return i&&(this.currentNode=i),i}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.previousNode();return n&&(this.currentNode=n),n}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}};function $f(e,t,r,n){return Mr()?new x2(e,t,r,n):e.createTreeWalker(t,r,n)}var mt=S(D(),1),gh=mt.default.createContext(null),C2="react-aria-focus-scope-restore",qe=null;function aa(e){let{children:t,contain:r,restoreFocus:n,autoFocus:o}=e,i=(0,mt.useRef)(null),a=(0,mt.useRef)(null),s=(0,mt.useRef)([]),{parentNode:l}=(0,mt.useContext)(gh)||{},c=(0,mt.useMemo)(()=>new gc({scopeRef:s}),[s]);ue(()=>{let p=l||Tt.root;if(Tt.getTreeNode(p.scopeRef)&&qe&&!vf(qe,p.scopeRef)){let b=Tt.getTreeNode(qe);b&&(p=b)}p.addChild(c),Tt.addNode(c)},[c,l]),ue(()=>{let p=Tt.getTreeNode(s);p&&(p.contain=!!r)},[r]),ue(()=>{let p=i.current?.nextSibling,b=[],g=y=>y.stopPropagation();for(;p&&p!==a.current;)b.push(p),p.addEventListener(C2,g),p=p.nextSibling;return s.current=b,()=>{for(let y of b)y.removeEventListener(C2,g)}},[t]),Qx(s,n,r),Xx(s,r),Jx(s,n,r),qx(s,o),(0,mt.useEffect)(()=>{let p=xe(fe(s.current?s.current[0]:void 0)),b=null;if(mn(p,s.current)){for(let g of Tt.traverse())g.scopeRef&&mn(p,g.scopeRef.current)&&(b=g);b===Tt.getTreeNode(s)&&(qe=b.scopeRef)}},[s]),ue(()=>()=>{let p=Tt.getTreeNode(s)?.parent?.scopeRef??null;(s===qe||vf(s,qe))&&(!p||Tt.getTreeNode(p))&&(qe=p),Tt.removeTreeNode(s)},[s]);let d=(0,mt.useMemo)(()=>Gx(s),[]),u=(0,mt.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return mt.default.createElement(gh.Provider,{value:u},mt.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),t,mt.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function Gx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:i,accept:a}=t,s=n||xe(fe(r[0]??void 0)),l=r[0].previousElementSibling,c=ia(r),d=pn(c,{tabbable:o,accept:a},r);d.currentNode=mn(s,r)?s:l;let u=d.nextNode();return!u&&i&&(d.currentNode=l,u=d.nextNode()),u&&Dn(u,!0),u},focusPrevious(t={}){let r=e.current,{from:n,tabbable:o,wrap:i,accept:a}=t,s=n||xe(fe(r[0]??void 0)),l=r[r.length-1].nextElementSibling,c=ia(r),d=pn(c,{tabbable:o,accept:a},r);d.currentNode=mn(s,r)?s:l;let u=d.previousNode();return!u&&i&&(d.currentNode=l,u=d.previousNode()),u&&Dn(u,!0),u},focusFirst(t={}){let r=e.current,{tabbable:n,accept:o}=t,i=ia(r),a=pn(i,{tabbable:n,accept:o},r);a.currentNode=r[0].previousElementSibling;let s=a.nextNode();return s&&Dn(s,!0),s},focusLast(t={}){let r=e.current,{tabbable:n,accept:o}=t,i=ia(r),a=pn(i,{tabbable:n,accept:o},r);a.currentNode=r[r.length-1].nextElementSibling;let s=a.previousNode();return s&&Dn(s,!0),s}}}function ia(e){return e[0].parentElement}function hc(e){let t=Tt.getTreeNode(qe);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Zx(e){if(!e.form)return Array.from(fe(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(n=>!n.form);let t=e.form.elements.namedItem(e.name),r=He(e);return t instanceof r.RadioNodeList?Array.from(t).filter(n=>n instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}function Yx(e){if(e.checked)return!0;let t=Zx(e);return t.length>0&&!t.some(r=>r.checked)}function Xx(e,t){let r=(0,mt.useRef)(void 0),n=(0,mt.useRef)(void 0);ue(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let i=fe(o?o[0]:void 0),a=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!hc(e)||c.isComposing)return;let d=xe(i),u=e.current;if(!u||!mn(d,u))return;let p=ia(u),b=pn(p,{tabbable:!0},u);if(!d)return;b.currentNode=d;let g=c.shiftKey?b.previousNode():b.nextNode();g||(b.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,g=c.shiftKey?b.previousNode():b.nextNode()),c.preventDefault(),g&&(Dn(g,!0),g instanceof He(g).HTMLInputElement&&g.select())},s=c=>{(!qe||vf(qe,e))&&mn(q(c),e.current)?(qe=e,r.current=q(c)):hc(e)&&!vi(q(c),e)?r.current?Dn(r.current):qe&&qe.current&&w2(qe.current):hc(e)&&(r.current=q(c))},l=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=to(),u=(d==="virtual"||d===null)&&_o()&&Hu(),p=xe(i);if(!u&&p&&hc(e)&&!vi(p,e)){qe=e;let b=q(c);b&&b.isConnected?(r.current=b,Dn(r.current)):qe.current&&w2(qe.current)}})};return i.addEventListener("keydown",a,!1),i.addEventListener("focusin",s,!1),o?.forEach(c=>c.addEventListener("focusin",s,!1)),o?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{i.removeEventListener("keydown",a,!1),i.removeEventListener("focusin",s,!1),o?.forEach(c=>c.removeEventListener("focusin",s,!1)),o?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[e,t]),ue(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function vh(e){return vi(e)}function mn(e,t){return!e||!t?!1:t.some(r=>me(r,e))}function vi(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of Tt.traverse(Tt.getTreeNode(t)))if(r&&mn(e,r.current))return!0;return!1}function yh(e){return vi(e,qe)}function vf(e,t){let r=Tt.getTreeNode(t)?.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Dn(e,t=!1){if(e!=null&&!t)try{un(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function xh(e,t=!0){let r=e[0].previousElementSibling,n=ia(e),o=pn(n,{tabbable:t},e);o.currentNode=r;let i=o.nextNode();return t&&!i&&(n=ia(e),o=pn(n,{tabbable:!1},e),o.currentNode=r,i=o.nextNode()),i}function w2(e,t=!0){Dn(xh(e,t))}function qx(e,t){let r=mt.default.useRef(t);(0,mt.useEffect)(()=>{if(r.current){qe=e;let n=fe(e.current?e.current[0]:void 0);!mn(xe(n),qe.current)&&e.current&&w2(e.current)}r.current=!1},[e])}function Qx(e,t,r){ue(()=>{if(t||r)return;let n=e.current,o=fe(n?n[0]:void 0),i=a=>{let s=q(a);mn(s,e.current)?qe=e:vh(s)||(qe=null)};return o.addEventListener("focusin",i,!1),n?.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),n?.forEach(a=>a.removeEventListener("focusin",i,!1))}},[e,t,r])}function bh(e){let t=Tt.getTreeNode(qe);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function Jx(e,t,r){let n=(0,mt.useRef)(typeof document<"u"?xe(fe(e.current?e.current[0]:void 0)):null);ue(()=>{let o=e.current,i=fe(o?o[0]:void 0);if(!t||r)return;let a=()=>{(!qe||vf(qe,e))&&mn(xe(i),e.current)&&(qe=e)};return i.addEventListener("focusin",a,!1),o?.forEach(s=>s.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),o?.forEach(s=>s.removeEventListener("focusin",a,!1))}},[e,r]),ue(()=>{let o=fe(e.current?e.current[0]:void 0);if(!t)return;let i=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!hc(e)||a.isComposing)return;let s=o.activeElement;if(!vi(s,e)||!bh(e))return;let l=Tt.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=pn(o.body,{tabbable:!0});d.currentNode=s;let u=a.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,l.nodeToRestore=void 0),(!u||!vi(u,e))&&c){d.currentNode=c;do u=a.shiftKey?d.previousNode():d.nextNode();while(vi(u,e));a.preventDefault(),a.stopPropagation(),u?Dn(u,!0):vh(c)?Dn(c,!0):s.blur()}};return r||o.addEventListener("keydown",i,!0),()=>{r||o.removeEventListener("keydown",i,!0)}},[e,t,r]),ue(()=>{let o=fe(e.current?e.current[0]:void 0);if(!t)return;let i=Tt.getTreeNode(e);if(i)return i.nodeToRestore=n.current??void 0,()=>{let a=Tt.getTreeNode(e);if(!a)return;let s=a.nodeToRestore,l=xe(o);if(t&&s&&(l&&vi(l,e)||l===o.body&&bh(e))){let c=Tt.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){$h(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&Tt.getTreeNode(d.scopeRef)){let u=xh(d.scopeRef.current,!0);if(u){$h(u);return}}d=d.parent}}})}}},[e,t])}function $h(e){e.dispatchEvent(new CustomEvent(C2,{bubbles:!0,cancelable:!0}))&&Dn(e)}function pn(e,t,r){let n=t?.tabbable?ns:rs,o=e?.nodeType===Node.ELEMENT_NODE?e:null,i=fe(o),a=$f(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return me(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!Yx(s)||a.currentNode.tagName==="INPUT"&&a.currentNode.type==="radio"&&a.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||mn(s,r))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(a.currentNode=t.from),a}var S2=class e{constructor(){this.fastMap=new Map,this.root=new gc({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,r,n){let o=this.fastMap.get(r??null);if(!o)return;let i=new gc({scopeRef:t});o.addChild(i),i.parent=o,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let r=this.fastMap.get(t);if(!r)return;let n=r.parent;for(let i of this.traverse())i!==r&&r.nodeToRestore&&i.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&mn(i.nodeToRestore,r.scopeRef.current)&&(i.nodeToRestore=r.nodeToRestore);let o=r.children;n&&(n.removeChild(r),o.size>0&&o.forEach(i=>n&&n.addChild(i))),this.fastMap.delete(r.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let r of t.children)yield*this.traverse(r)}clone(){let t=new e;for(let r of this.traverse())t.addTreeNode(r.scopeRef,r.parent?.scopeRef??null,r.nodeToRestore);return t}},gc=class{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}},Tt=new S2;function bc(e){return e7()?e.altKey:e.ctrlKey}function no(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(r=`[data-collection="${CSS.escape(n)}"]${r}`),e.current?.querySelector(r)}var Ch=new WeakMap;function wh(e){let t=kt();return Ch.set(e,t),t}function Sh(e){return Ch.get(e)}var yf=S(D(),1),Eh=1e3;function kh(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,yf.useRef)({search:"",timeout:void 0}),i=s=>{if(o.current.search.length>0&&s.key===" "){if(s.preventDefault(),(!("continuePropagation"in s)||"continuePropagation"in s&&!s.isPropagationStopped())&&s.stopPropagation(),o.current.search+=" ",t.getKeyForSearch!=null){let l=t.getKeyForSearch(o.current.search,r.focusedKey);l==null&&(l=t.getKeyForSearch(o.current.search)),l!=null&&(r.setFocusedKey(l),n&&n(l))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Eh)}},a=s=>{let l=eC(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!me(s.currentTarget,q(s))||o.current.search.length===0&&l===" ")){if(o.current.search+=l,t.getKeyForSearch!=null){let c=t.getKeyForSearch(o.current.search,r.focusedKey);if(c==null&&(c=t.getKeyForSearch(o.current.search)),c!=null)r.setFocusedKey(c),n&&n(c),s.preventDefault(),"continuePropagation"in s||s.stopPropagation();else{o.current.search="",clearTimeout(o.current.timeout),o.current.timeout=void 0;return}}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},Eh)}};return(0,yf.useEffect)(()=>{let s=o.current.timeout;return()=>{clearTimeout(s)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:void 0,onKeyDown:t.getKeyForSearch?a:void 0}}}function eC(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var E2=S(D(),1);function k2(e,t){let r=(0,E2.useRef)(!0),n=(0,E2.useRef)(null);ue(()=>(r.current=!0,()=>{r.current=!1}),[]),ue(()=>{r.current?r.current=!1:(!n.current||t.some((o,i)=>!Object.is(o,n[i])))&&e(),n.current=t},t)}var Ph=S(_n(),1),Fn=S(D(),1);function Th(e){let{selectionManager:t,keyboardDelegate:r,ref:n,autoFocus:o=!1,shouldFocusWrap:i=!1,disallowEmptySelection:a=!1,disallowSelectAll:s=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:u,allowsTabNavigation:p=!1,scrollRef:b=n,linkBehavior:g="action",UNSTABLE_focusOnEntry:y}=e,{direction:$}=hr(),m=Yi(),f=(H,V,de)=>{if(V!=null){if(t.isLink(V)&&g==="selection"&&c&&!bc(H)){(0,Ph.flushSync)(()=>{t.setFocusedKey(V,de)});let Y=no(n,V),je=t.getItemProps(V);if(Y){m.open(Y,H,je.href,je.routerOptions);return}return!1}if(t.setFocusedKey(V,de),t.isLink(V)&&g==="override")return!1;if(H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c&&!bc(H)){t.replaceSelection(V);return}}return!1},h=H=>{if(r.getKeyBelow){let V=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=r.getFirstKey?.(t.focusedKey)),V!=null){f(H,V);return}}return!1},v=H=>{if(r.getKeyAbove){let V=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();if(V==null&&i&&(V=r.getLastKey?.(t.focusedKey)),V!=null){f(H,V);return}}return!1},x=H=>{if(r.getFirstKey){if(t.focusedKey===null&&H.shiftKey)return!1;let V=r.getFirstKey(t.focusedKey,Ji(H));if(t.setFocusedKey(V),V!=null){if(Ji(H)&&H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c){t.replaceSelection(V);return}}}return!1},w=H=>{if(r.getKeyLeftOf){let V=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=$==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),V!=null){f(H,V,$==="rtl"?"first":"last");return}}return!1},P=H=>{if(r.getKeyRightOf){let V=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):r.getFirstKey?.();if(V==null&&i&&(V=$==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),V!=null){f(H,V,$==="rtl"?"last":"first");return}}return!1},k=H=>{if(r.getLastKey){if(t.focusedKey===null&&H.shiftKey)return!1;let V=r.getLastKey(t.focusedKey,Ji(H));if(t.setFocusedKey(V),V!=null){if(Ji(H)&&H.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(V);return}else if(c){t.replaceSelection(V);return}}}return!1},T=H=>{if(r.getKeyPageBelow&&t.focusedKey!=null){let V=r.getKeyPageBelow(t.focusedKey);if(V!=null)return f(H,V)}return!1},E=H=>{if(r.getKeyPageAbove&&t.focusedKey!=null){let V=r.getKeyPageAbove(t.focusedKey);if(V!=null)return f(H,V)}return!1},F=()=>{if(t.selectionMode==="multiple"&&s!==!0){t.selectAll();return}return!1},_=()=>{if(l==="clearSelection"&&!a&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},I=()=>{if(!p&&n.current){let H=pn(n.current,{tabbable:!0}),V,de;do de=H.lastChild(),de&&(V=de);while(de);let Y=xe();V&&(!di(V)||Y&&!ns(Y))&&mr(V)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},C=()=>(!p&&n.current&&n.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),L=(H,V)=>({[ar()?H+"+Shift+Alt":H+"+Shift+Control"]:V,[H+"+Shift"]:V,[ar()?H+"+Alt":H+"+Control"]:V,[H]:V}),{keyboardProps:O}=Ir({shortcuts:{...L("ArrowDown",h),...L("ArrowUp",v),...L("ArrowLeft",w),...L("ArrowRight",P),...L("PageDown",T),...L("PageUp",E)},allowRepeats:!0}),{keyboardProps:M}=Ir({shortcuts:{...L("Home",x),...L("End",k),"Mod+A":F,Escape:_,Tab:I,"Tab+Shift":C}}),Z=(0,Fn.useRef)({top:0,left:0});Vl(b,"scroll",()=>{Z.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let R=H=>{if(t.isFocused){me(H.currentTarget,q(H))||t.setFocused(!1);return}if(!me(H.currentTarget,q(H)))return;let V=to();t.setFocused(!0);let de=Y=>{Y!=null&&(t.setFocusedKey(Y),c&&!t.isSelected(Y)&&t.replaceSelection(Y))};if(y&&(V==="keyboard"||V==="virtual"))de(y==="first"?r.getFirstKey?.():r.getLastKey?.());else if(t.focusedKey==null){let Y=H.relatedTarget;Y&&H.currentTarget.compareDocumentPosition(Y)&Node.DOCUMENT_POSITION_FOLLOWING?de(t.lastSelectedKey??r.getLastKey?.()):de(t.firstSelectedKey??r.getFirstKey?.())}else b.current&&(b.current.scrollTop=Z.current.top,b.current.scrollLeft=Z.current.left);if(t.focusedKey!=null&&b.current){let Y=no(n,t.focusedKey);Y instanceof HTMLElement&&(!di(Y)&&!u&&mr(Y),(V==="keyboard"||y&&V==="virtual")&&p2(Y,{containingElement:n.current}))}},te=H=>{me(H.currentTarget,H.relatedTarget)||t.setFocused(!1)},X=(0,Fn.useRef)(!1);Vl(n,q8,u?H=>{let{detail:V}=H;H.stopPropagation(),t.setFocused(!0),V?.focusStrategy==="first"&&(X.current=!0)}:void 0);let K=r.getFirstKey?.()??null;k2(()=>{if(X.current)if(K==null){let H=xe();_u(n.current),j0(H,null),t.collection.size>0&&(X.current=!1)}else t.setFocusedKey(K),X.current=!1},[K,t.collection.size]),k2(()=>{t.collection.size>0&&(X.current=!1)},[t.focusedKey]),Vl(n,X8,u?H=>{H.stopPropagation(),t.setFocused(!1),H.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let j=(0,Fn.useRef)(o),z=(0,Fn.useRef)(!1);(0,Fn.useEffect)(()=>{if(j.current){let H=null;o==="first"&&(H=r.getFirstKey?.()??null),o==="last"&&(H=r.getLastKey?.()??null);let V=t.selectedKeys;if(V.size){for(let de of V)if(t.canSelectItem(de)){H=de;break}}t.setFocused(!0),t.setFocusedKey(H),H!=null&&c&&!V.size&&t.canSelectItem(H)&&t.replaceSelection(H),H==null&&!u&&n.current&&un(n.current),t.collection.size>0&&(j.current=!1,z.current=!0)}});let N=(0,Fn.useRef)(t.focusedKey),ie=(0,Fn.useRef)(null);(0,Fn.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==N.current||z.current)&&b.current&&n.current){let H=to(),V=no(n,t.focusedKey);if(!(V instanceof HTMLElement))return;(H==="keyboard"||z.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{b.current&&(cc(b.current,V),H!=="virtual"&&p2(V,{containingElement:n.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&N.current!=null&&n.current&&un(n.current),N.current=t.focusedKey,z.current=!1}),(0,Fn.useEffect)(()=>()=>{ie.current&&cancelAnimationFrame(ie.current)},[]),Vl(n,"react-aria-focus-scope-restore",H=>{H.preventDefault(),t.setFocused(!0)});let J={...le(M,O),onFocus:R,onBlur:te,onMouseDown(H){b.current===q(H)&&H.preventDefault()}},{typeSelectProps:Ee}=kh({keyboardDelegate:r,selectionManager:t});d||(J=le(Ee,J));let ft;u||(ft=t.focusedKey==null?0:-1);let ce=wh(t.collection);return{collectionProps:le(J,{tabIndex:ft,"data-collection":ce})}}var $c=class{constructor(t){this.ref=t}getItemRect(t){let r=this.ref.current;if(!r)return null;let n=t!=null?no(this.ref,t):null;if(!n)return null;let o=r.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-o.left-r.clientLeft+r.scrollLeft,y:i.top-o.top-r.clientTop+r.scrollTop,width:i.width,height:i.height}}getContentSize(){let t=this.ref.current;return{width:t?.scrollWidth??0,height:t?.scrollHeight??0}}getVisibleRect(){let t=this.ref.current;return{x:t?.scrollLeft??0,y:t?.scrollTop??0,width:t?.clientWidth??0,height:t?.clientHeight??0}}};var sa=class{constructor(...t){if(t.length===1){let r=t[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new $c(r.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new $c(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(t){return this.disabledBehavior==="all"&&(t.props?.isDisabled||this.disabledKeys.has(t.key))&&t.props?.disabledBehavior!=="selection"}findNextNonDisabled(t,r,n=!1){let o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i?.type==="item"&&(n||!this.isDisabled(i)))return o;o=r(o)}return null}getNextKey(t,r){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,o=>this.collection.getKeyAfter(o),r?.includeDisabled)}getPreviousKey(t,r){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,o=>this.collection.getKeyBefore(o),r?.includeDisabled)}findKey(t,r,n){let o=t,i=this.layoutDelegate.getItemRect(o);if(!i||o==null)return null;let a=i;do{if(o=r(o),o==null)break;i=this.layoutDelegate.getItemRect(o)}while(i&&n(a,i)&&o!=null);return o}isSameRow(t,r){return t.y===r.y||t.x!==r.x}isSameColumn(t,r){return t.x===r.x||t.y!==r.y}isReversed(t){let r=this.getNextKey(t),n=no(this.ref,t);if(r!=null){let i=no(this.ref,r);return!n||!i?!1:n.getBoundingClientRect().top>i.getBoundingClientRect().top}let o=this.getPreviousKey(t);if(o!=null){let i=no(this.ref,o);return!n||!i?!1:i.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getPreviousKey(t,r):this.getNextKey(t,r):this.getNextKey(t,r)}getKeyAbove(t,r){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n,r),this.isSameRow):this.orientation==="vertical"?this.isReversed(t)?this.getNextKey(t,r):this.getPreviousKey(t,r):this.getPreviousKey(t,r)}getNextColumn(t,r,n){return r?this.getPreviousKey(t,n):this.getNextKey(t,n)}getKeyRightOf(t,r){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="rtl",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl",r):null}getKeyLeftOf(t,r){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,o=>this.layoutDelegate[n](o),r?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr",r):this.findKey(t,o=>this.getNextColumn(o,this.direction==="ltr",r),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr",r):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyAfter(r))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!ro(r))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let a=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>a&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=this.layoutDelegate.getVisibleRect(),s=o?n.y-a.height:Math.max(0,n.y+n.height-a.height);for(;n&&n.y>s&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getLastKey():this.getFirstKey())}getKeyPageBelow(t){let r=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let o=this.isReversed(t);if(r&&!ro(r))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<a&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<a&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??(o?this.getFirstKey():this.getLastKey())}getKeyForSearch(t,r){if(!this.collator)return null;let n=this.collection,o=r||this.getFirstKey();for(;o!=null;){let i=n.getItem(o);if(!i)return null;let a=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(a,t)===0)return o;o=this.getNextKey(o)}return null}};var P2=new Map;function vc(e){let{locale:t}=hr(),r=t+(e?Object.entries(e).sort((o,i)=>o[0]<i[0]?-1:1).join():"");if(P2.has(r))return P2.get(r);let n=new Intl.Collator(t,e);return P2.set(r,n),n}var Lh=S(D(),1);function xf(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:i,layoutDelegate:a,orientation:s}=e,l=vc({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,Lh.useMemo)(()=>i||new sa({collection:r,disabledKeys:n,disabledBehavior:c,ref:o,collator:l,layoutDelegate:a,orientation:s}),[i,a,r,n,o,l,c,s]),{collectionProps:u}=Th({...e,ref:o,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function T2(e,t,r){let n=ze(e,{labelable:!0}),o=e.selectionBehavior||"toggle",i=e.orientation||"vertical",a=e.linkBehavior||(o==="replace"?"action":"override");o==="toggle"&&a==="action"&&(a="override");let{listProps:s}=xf({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=fn({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=kt(e.id);mc.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:u}=lf({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:le(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":i,...le(u,s)})}}var Rh=S(D(),1),tC=500;function _h(e){let{isDisabled:t,pointerType:r,onLongPressStart:n,onLongPressEnd:o,onLongPress:i,threshold:a=tC,accessibilityDescription:s}=e,l=(0,Rh.useRef)(void 0),{addGlobalListener:c,removeAllGlobalListeners:d}=gi(),u=g=>r?g.pointerType===r:g.pointerType==="mouse"||g.pointerType==="touch",{pressProps:p}=Io({isDisabled:t,onPressStart(g){if(g.continuePropagation(),u(g)){n&&n({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(g.target,"click",$=>$.preventDefault(),{once:!0}),fe(g.target).activeElement!==g.target&&mr(g.target),i&&i({...g,type:"longpress"}),l.current=void 0},a),g.pointerType==="touch"&&c(g.target,"contextmenu",$=>$.preventDefault(),{once:!0});let y=He(g.target);c(y,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),o&&u(g)&&o({...g,type:"longpressend"})}}),b=Q7(i&&!t?s:void 0);return{longPressProps:le(p,b)}}var la=S(D(),1);function Cf(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,p=Yi();t=kt(t);let b=N=>{if(N.pointerType==="keyboard"&&bc(N))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(u==="selection"&&o.current){let ie=r.getItemProps(n);p.open(o.current,N,ie.href,ie.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(u==="override"||u==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):N&&N.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||N&&(Ji(N)||N.pointerType==="touch"||N.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};(0,la.useEffect)(()=>{n===r.focusedKey&&r.isFocused&&(a?_u(o.current):s?s():xe()!==o.current&&o.current&&un(o.current))},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),l=l||r.isDisabled(n);let g={};!a&&!l?g={tabIndex:n===r.focusedKey?0:-1,onFocus(N){q(N)===o.current&&r.setFocusedKey(n)}}:l&&(g.onMouseDown=N=>{N.preventDefault()}),(0,la.useEffect)(()=>{l&&r.focusedKey===n&&r.setFocusedKey(null)},[r,l,n]);let y=r.isLink(n)&&u==="override",$=c&&e.UNSTABLE_itemBehavior==="action",m=r.isLink(n)&&u!=="selection"&&u!=="none",f=!l&&r.canSelectItem(n)&&!y&&!$,h=(c||m)&&!l,v=h&&(r.selectionBehavior==="replace"?!f:!f||r.isEmpty),x=h&&f&&r.selectionBehavior==="replace",w=v||x,P=(0,la.useRef)(null),k=w&&f,T=(0,la.useRef)(!1),E=(0,la.useRef)(!1),F=r.getItemProps(n),_=N=>{c&&(c(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),m&&o.current&&p.open(o.current,N,F.href,F.routerOptions)},I={ref:o};i?(I.onPressStart=N=>{P.current=N.pointerType,T.current=k,N.pointerType==="keyboard"&&(!w||Ih(N.key))&&b(N)},d?(I.onPressUp=v?void 0:N=>{N.pointerType==="mouse"&&f&&b(N)},I.onPress=v?_:N=>{N.pointerType!=="keyboard"&&N.pointerType!=="mouse"&&f&&b(N)}):I.onPress=N=>{if(v||x&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!Mh(N.key))return;_(N)}else N.pointerType!=="keyboard"&&f&&b(N)}):(I.onPressStart=N=>{P.current=N.pointerType,T.current=k,E.current=v,f&&(N.pointerType==="mouse"&&!v||N.pointerType==="keyboard"&&(!h||Ih(N.key)))&&b(N)},I.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&w&&Mh(N.key)||N.pointerType==="mouse"&&E.current)&&(w?_(N):f&&b(N))});let C=Sh(r.collection);if(g["data-collection"]=C,g["data-key"]=n,I.preventFocusOnPress=a,a&&(I=le(I,{onPressStart(N){N.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(N){N.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),F)for(let N of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])F[N]&&(I[N]=ir(I[N],F[N]));let{pressProps:L,isPressed:O}=Io(I),M=x?N=>{P.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),_(N))}:void 0,{longPressProps:Z}=_h({isDisabled:!k,onLongPress(N){N.pointerType==="touch"&&(b(N),r.setSelectionBehavior("toggle"))}}),R=N=>{P.current==="touch"&&T.current&&N.preventDefault()},te=u!=="none"&&r.isLink(n)?N=>{cn.isOpening||N.preventDefault()}:void 0,X=le(g,f||v||a&&!l?L:{},k?Z:{},{onDoubleClick:M,onDragStartCapture:R,onClick:te,id:t},a?{onMouseDown:N=>N.preventDefault()}:void 0),K=N=>{let ie=N;for(;ie&&ie!==o.current;){let J=ie.getAttribute("data-collection");if(J!=null)return J!==C;ie=ie.parentElement}return ns(N)},j=X.onPointerDown;X.onPointerDown=N=>{let ie=q(N);if(ie&&ie!==o.current&&K(ie)){N.stopPropagation();return}j?.(N)};let z=X.onMouseDown;return X.onMouseDown=N=>{let ie=q(N);if(ie&&ie!==o.current&&K(ie)){N.stopPropagation();return}z?.(N)},{itemProps:X,isPressed:O,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:l,allowsSelection:f,hasAction:w}}function Mh(e){return e==="Enter"}function Ih(e){return e===" "}function wf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Dh(e){return rC(e,0)}function rC(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function Sf(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...Nh(e,t),t],o=[...Nh(e,r),r],i=n.slice(0,o.length).findIndex((a,s)=>a!==o[s]);return i!==-1?(t=n[i],r=o[i],t.index-r.index):n.findIndex(a=>a===r)>=0?1:(o.findIndex(a=>a===t)>=0,-1)}function Nh(e,t){let r=[],n=t;for(;n?.parentKey!=null;)n=e.getItem(n.parentKey),n&&r.unshift(n);return r}var Fh=new WeakMap;function yc(e){let t=Fh.get(e);if(t!=null)return t;let r=0,n=o=>{for(let i of o)i.type==="section"?n(wf(i,e)):i.type==="item"&&r++};return n(e),Fh.set(e,r),r}function L2(e,t,r){let{key:n}=e,o=mc.get(t),i=e.isDisabled??t.selectionManager.isDisabled(n),a=e.isSelected??t.selectionManager.isSelected(n),s=e.shouldSelectOnPressUp??o?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??o?.shouldFocusOnHover,c=e.shouldUseVirtualFocus??o?.shouldUseVirtualFocus,d=e.isVirtualized??o?.isVirtualized,u=qn(),p=qn(),b={role:"option","aria-disabled":i||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?a:void 0,"aria-label":e["aria-label"],"aria-labelledby":u,"aria-describedby":p},g=t.collection.getItem(n);if(d){let T=Number(g?.index);b["aria-posinset"]=Number.isNaN(T)?void 0:T+1,b["aria-setsize"]=yc(t.collection)}let y=o?.onAction?()=>o?.onAction?.(n):void 0,$=hh(t,n),{itemProps:m,isPressed:f,isFocused:h,hasAction:v,allowsSelection:x}=Cf({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:i,onAction:y||g?.props?.onAction?ir(g?.props?.onAction,y):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:$}),{hoverProps:w}=Nn({isDisabled:i||!l,onHoverStart(){In()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),P=ze(g?.props);delete P.id;let k=Ou(g?.props);return{optionProps:{...b,...le(P,m,w,k),id:$},labelProps:{id:u},descriptionProps:{id:p},isFocused:h,isFocusVisible:h&&t.selectionManager.isFocused&&In(),isSelected:a,isDisabled:i,isPressed:f,allowsSelection:x,hasAction:v}}function R2(e){let{heading:t,"aria-label":r}=e,n=kt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:o=>{o.preventDefault()}}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var Hh=S(D(),1);function xc(e){let t=Hh.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}var Cc=class{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of t)r(a);let n=null,o=0,i=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),(s.type==="section"||s.type==="item")&&i++,n=s,n.nextKey=void 0;this._size=i,this.lastKey=n?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){return this.keyMap.get(t)?.childNodes||[]}};var Yr=class e extends Set{constructor(t,r,n){super(t),t instanceof e?(this.anchorKey=r??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}};var vr=S(D(),1);function nC(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function ca(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:i="all"}=e,a=(0,vr.useRef)(!1),[,s]=(0,vr.useState)(!1),l=(0,vr.useRef)(null),c=(0,vr.useRef)(null),[,d]=(0,vr.useState)(null),u=(0,vr.useMemo)(()=>Ah(e.selectedKeys),[e.selectedKeys]),p=(0,vr.useMemo)(()=>Ah(e.defaultSelectedKeys,new Yr),[e.defaultSelectedKeys]),[b,g]=fi(u,p,e.onSelectionChange),y=(0,vr.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,m]=(0,vr.useState)(o);o==="replace"&&$==="toggle"&&typeof b=="object"&&b.size===0&&m("replace");let f=(0,vr.useRef)(o);return(0,vr.useEffect)(()=>{o!==f.current&&(m(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:$,setSelectionBehavior:m,get isFocused(){return a.current},setFocused(h){a.current=h,s(h)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(h,v="first"){l.current=h,c.current=v,d(h)},selectedKeys:b,setSelectedKeys(h){(n||!nC(h,b))&&g(h)},disabledKeys:y,disabledBehavior:i}}function Ah(e,t){return e?e==="all"?"all":new Yr(e):t}var Fo=class e{constructor(t,r,n){this.collection=t,this.state=r,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,r){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let r=this.getKey(t);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=t.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Sf(this.collection,n,t)<0)&&(t=n)}return t?.key??null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let n=this.collection.getItem(r);(!t||n&&Sf(this.collection,n,t)>0)&&(t=n)}return t?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new Yr([r],r,r);else{let o=this.state.selectedKeys,i=o.anchorKey??r;n=new Yr(o,i,r);for(let a of this.getKeyRange(i,o.currentKey??r))n.delete(a);for(let a of this.getKeyRange(r,i))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,r){let n=this.collection.getItem(t),o=this.collection.getItem(r);return n&&o?Sf(this.collection,n,o)<=0?this.getKeyRangeInternal(t,r):this.getKeyRangeInternal(r,t):[]}getKeyRangeInternal(t,r){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(t,r);let n=[],o=t;for(;o!=null;){let i=this.collection.getItem(o);if(i&&(i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&n.push(o),o===r)return n;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let r=this.collection.getItem(t);if(!r||r.type==="cell"&&this.allowsCellSelection)return t;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let r=this.getKey(t);if(r==null)return;let n=new Yr(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let r=this.getKey(t);if(r==null)return;let n=this.canSelectItem(r)?new Yr([r],r,r):new Yr;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new Yr;for(let n of t){let o=this.getKey(n);if(o!=null&&(r.add(o),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let t=this.fullCollection??this.collection,r=[],n=o=>{for(;o!=null;){if(this.canSelectItemIn(o,t)){let i=t.getItem(o);i?.type==="item"&&r.push(o),i?.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&n(Dh(wf(i,t))?.key??null)}o=t.getKeyAfter(o)}};return n(t.getFirstKey()),r}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Yr)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(t.size!==r.size)return!1;for(let n of t)if(!r.has(n))return!1;for(let n of r)if(!t.has(n))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,r){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=r.getItem(t);return!(!n||n?.props?.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){let r=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!r?.props?.isDisabled)&&r?.props?.disabledBehavior!=="selection"}isLink(t){return!!this.collection.getItem(t)?.props?.href}getItemProps(t){return this.collection.getItem(t)?.props}withCollection(t){return new e(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}};var yi=S(D(),1),Ef=class{build(t,r){return this.context=r,Oh(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:r,items:n}=t;if(yi.default.isValidElement(r)&&r.type===yi.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let o=0;for(let i of n)yield*this.getFullNode({value:i,index:o},{renderer:r}),o++}else{let o=[];yi.default.Children.forEach(r,a=>{a&&o.push(a)});let i=0;for(let a of o){let s=this.getFullNode({element:a,index:i},{});for(let l of s)i++,yield l}}}getKey(t,r,n,o){if(t.key!=null)return t.key;if(r.type==="cell"&&r.key!=null)return`${o}${r.key}`;let i=r.value;if(i!=null){let a=i.key??i.id;if(a==null)throw new Error("No key found for item");return a}return o?`${o}.${r.index}`:`$.${r.index}`}getChildState(t,r){return{renderer:r.renderer||t.renderer}}*getFullNode(t,r,n,o){if(yi.default.isValidElement(t.element)&&t.element.type===yi.default.Fragment){let l=[];yi.default.Children.forEach(t.element.props.children,d=>{l.push(d)});let c=t.index??0;for(let d of l)yield*this.getFullNode({element:d,index:c++},r,n,o);return}let i=t.element;if(!i&&t.value&&r&&r.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}i=r.renderer(t.value)}if(yi.default.isValidElement(i)){let l=i.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=i.type;throw new Error(`Unknown element <${p}> in collection.`)}let c=l.getCollectionNode(i.props,this.context),d=t.index??0,u=c.next();for(;!u.done&&u.value;){let p=u.value;t.index=d;let b=p.key??null;b==null&&(b=p.element?null:this.getKey(i,t,r,n));let y=[...this.getFullNode({...p,key:b,index:d,wrapper:oC(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${i.key}`:i.key,o)];for(let $ of y){if($.value=p.value??t.value??null,$.value&&this.cache.set($.value,$),t.type&&$.type!==t.type)throw new Error(`Unsupported type <${_2($.type)}> in <${_2(o?.type??"unknown parent type")}>. Only <${_2(t.type)}> is supported.`);d++,yield $}u=c.next(y)}return}if(t.key==null||t.type==null)return;let a=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value??null,level:(o?.level??0)+(o?.type==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Oh(function*(){if(!t.hasChildNodes||!t.childNodes)return;let l=0;for(let c of t.childNodes()){c.key!=null&&(c.key=`${s.key}${c.key}`);let d=a.getFullNode({...c,index:l},a.getChildState(r,c),s.key,s);for(let u of d)l++,yield u}})};yield s}constructor(){this.cache=new WeakMap}};function Oh(e){let t=[],r=null;return{*[Symbol.iterator](){for(let n of t)yield n;r||(r=e());for(let n of r)t.push(n),yield n}}}function oC(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function _2(e){return e[0].toUpperCase()+e.slice(1)}var M2=S(D(),1);function kf(e,t,r){let n=(0,M2.useMemo)(()=>new Ef,[]),{children:o,items:i,collection:a}=e;return(0,M2.useMemo)(()=>{if(a)return a;let l=n.build({children:o,items:i},r);return t(l)},[n,o,i,a,r,t])}var Hn=S(D(),1);function I2(e){let{filter:t,layoutDelegate:r}=e,n=ca(e),o=(0,Hn.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,Hn.useCallback)(c=>t?new Cc(t(c)):new Cc(c),[t]),a=(0,Hn.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=kf(e,i,a),l=(0,Hn.useMemo)(()=>new Fo(s,n,{layoutDelegate:r}),[s,n,r]);return Bh(s,l),{collection:s,disabledKeys:o,selectionManager:l}}function N2(e,t){let r=(0,Hn.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return Bh(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function Bh(e,t){let r=(0,Hn.useRef)(null);(0,Hn.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){let n=r.current.getKeyAfter(t.focusedKey),o=null;for(;n!=null;){let i=e.getItem(n);if(i&&i.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyAfter(n)}if(o==null)for(n=r.current.getKeyBefore(t.focusedKey);n!=null;){let i=e.getItem(n);if(i&&i.type==="item"&&!t.isDisabled(n)){o=n;break}n=r.current.getKeyBefore(n)}t.setFocusedKey(o)}r.current=e},[e,t])}var Kh=S(D(),1);function wc(e,t){let{collection:r,onLoadMore:n,scrollOffset:o=1,direction:i="end"}=e,a=(0,Kh.useRef)(null),s=yt(l=>{for(let c of l)c.isIntersecting&&n&&n()});ue(()=>{if(t.current){let l=100*o,c=i==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;a.current=new IntersectionObserver(s,{root:lc(t?.current),rootMargin:c}),a.current.observe(t.current)}return()=>{a.current&&a.current.disconnect()}},[r,t,o,i])}var se=S(D(),1);var D2=(0,se.createContext)(null),bs=(0,se.createContext)(null),F2=(0,se.forwardRef)(function(t,r){[t,r]=Dt(t,r,D2);let n=(0,se.useContext)(bs);return n?se.default.createElement(zh,{state:n,props:t,listBoxRef:r}):se.default.createElement(rc,{content:se.default.createElement(nc,t)},o=>se.default.createElement(iC,{props:t,listBoxRef:r,collection:o}))});function iC({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,se.useContext)(mi),o=I2({...e,layoutDelegate:n});return se.default.createElement(zh,{state:o,props:e,listBoxRef:t})}function zh({state:e,props:t,listBoxRef:r}){[t,r]=Dt(t,r,Gl);let{dragAndDropHooks:n,layout:o="stack",orientation:i="vertical",filter:a}=t,s=N2(e,a),{collection:l,selectionManager:c}=s,d=!!n?.useDraggableCollectionState,u=!!n?.useDroppableCollectionState,{direction:p}=hr(),{disabledBehavior:b,disabledKeys:g}=c,y=vc({usage:"search",sensitivity:"base"}),{isVirtualized:$,layoutDelegate:m,dropTargetDelegate:f,CollectionRoot:h}=(0,se.useContext)(mi),v=(0,se.useMemo)(()=>t.keyboardDelegate||new sa({collection:l,collator:y,ref:r,disabledKeys:g,disabledBehavior:b,layout:o,orientation:i,direction:p,layoutDelegate:m}),[l,y,r,b,g,i,p,t.keyboardDelegate,o,m]),{listBoxProps:x}=T2({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:$},s,r),w=(0,se.useRef)(d),P=(0,se.useRef)(u);(0,se.useEffect)(()=>{},[d,u]);let k,T,E,F=!1,_=null,I=(0,se.useRef)(null);if(d&&n){k=n.useDraggableCollectionState({collection:l,selectionManager:c,preview:n.renderDragPreview?I:void 0}),n.useDraggableCollection({},k,r);let K=n.DragPreview;_=n.renderDragPreview?se.default.createElement(K,{ref:I},n.renderDragPreview):null}if(u&&n){T=n.useDroppableCollectionState({collection:l,selectionManager:c});let K=n.dropTargetDelegate||f||new n.ListDropTargetDelegate(l,r,{orientation:i,layout:o,direction:p});E=n.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:K},T,r),F=T.isDropTarget({type:"root"})}let{focusProps:C,isFocused:L,isFocusVisible:O}=ac(),M=s.collection.size===0,Z={isDropTarget:F,isEmpty:M,isFocused:L,isFocusVisible:O,layout:t.layout||"stack",orientation:i,state:s},R=qt({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:Z}),te=null;M&&t.renderEmptyState&&(te=se.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(Z)));let X=ze(t,{global:!0});return se.default.createElement(aa,null,se.default.createElement(rt.div,{...le(X,R,x,C,E?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":F||void 0,"data-empty":M||void 0,"data-focused":L||void 0,"data-focus-visible":O||void 0,"data-layout":t.layout||"stack","data-orientation":i},se.default.createElement(ln,{values:[[D2,t],[bs,s],[pc,{dragAndDropHooks:n,dragState:k,dropState:T}],[bf,{elementType:"div"}],[b2,{render:sC}],[tf,{name:"ListBoxSection",render:aC}]]},se.default.createElement(gs,null,se.default.createElement(h,{collection:l,scrollRef:r,persistedKeys:ph(c,n,T),renderDropIndicator:$2(n,T)}))),te,_))}function aC(e,t,r,n="react-aria-ListBoxSection"){let o=(0,se.useContext)(bs),{dragAndDropHooks:i,dropState:a}=(0,se.useContext)(pc),{CollectionBranch:s}=(0,se.useContext)(mi),[l,c]=ts(),{headingProps:d,groupProps:u}=R2({heading:c,"aria-label":e["aria-label"]??void 0}),p=qt({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),b=ze(e,{global:!0});return delete b.id,se.default.createElement(rt.section,{...le(b,p,u),ref:t},se.default.createElement(mf.Provider,{value:{...d,ref:l}},se.default.createElement(s,{collection:o.collection,parent:r,renderDropIndicator:$2(i,a)})))}var H2=na(ta,function(t,r,n){let o=Qn(r),i=(0,se.useContext)(bs),{dragAndDropHooks:a,dragState:s,dropState:l}=(0,se.useContext)(pc),c=s&&!(s.isDisabled||s.selectionManager.isDisabled(n.key)),{optionProps:d,labelProps:u,descriptionProps:p,...b}=L2({key:n.key,"aria-label":t?.["aria-label"]},i,o),{hoverProps:g,isHovered:y}=Nn({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:$}=Ir(t),{focusProps:m}=ra(t),f=null;s&&a&&(f=a.useDraggableItem({key:n.key,hasAction:b.hasAction},s));let h=null;l&&a&&(h=a.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},l,o));let v=s&&s.isDragging(n.key),x=qt({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:y,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:v,isDropTarget:h?.isDropTarget}});(0,se.useEffect)(()=>{n.textValue},[n.textValue]);let w=t.href?rt.a:rt.div,P=ze(t,{global:!0});return delete P.id,delete P.onClick,t.href&&d.tabIndex==null&&(d.tabIndex=-1),se.default.createElement(w,{...le(P,x,d,g,$,m,f?.dragProps,h?.dropProps),ref:o,"data-allows-dragging":!!s||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode},se.default.createElement(ln,{values:[[$i,{slots:{[es]:u,label:u,description:p}}],[gf,{isSelected:b.isSelected}]]},x.children))});function sC(e,t){t=Qn(t);let{dragAndDropHooks:r,dropState:n}=(0,se.useContext)(pc),{dropIndicatorProps:o,isHidden:i,isDropTarget:a}=r.useDropIndicator(e,n,t);return i?null:se.default.createElement(cC,{...e,dropIndicatorProps:o,isDropTarget:a,ref:t})}function lC(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,i=qt({...o,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return se.default.createElement(se.default.Fragment,null,se.default.createElement(rt.div,{...r,...i,role:"option",ref:t,"data-drop-target":n||void 0}))}var cC=(0,se.forwardRef)(lC),dC=na(ea,function(t,r,n){let o=(0,se.useContext)(bs),{isLoading:i,onLoadMore:a,scrollOffset:s,...l}=t,c=(0,se.useRef)(null),d=(0,se.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[a,s,o?.collection]);wc(d,c);let u=qt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),p={tabIndex:-1};return se.default.createElement(se.default.Fragment,null,se.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:xc(!0)},se.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),i&&u.children&&se.default.createElement(se.default.Fragment,null,se.default.createElement(rt.div,{...le(ze(t,{global:!0}),p),...u,role:"option",ref:r},u.children)))});var Pf=S(D(),1),Vh=(0,Pf.createContext)({placement:"bottom"});var uC=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Wh(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var Sc=new WeakMap,Nr=[];function Uh(e,t){let r=He(e?.[0]),n=t instanceof r.Element?{root:t}:t,o=n?.root??document.body,i=n?.shouldUseInert&&uC,a=new Set(e),s=new Set,l=$=>i&&$ instanceof r.HTMLElement?$.inert:$.getAttribute("aria-hidden")==="true",c=($,m)=>{i&&$ instanceof r.HTMLElement?$.inert=m:m?$.setAttribute("aria-hidden","true"):($.removeAttribute("aria-hidden"),$ instanceof r.HTMLElement&&($.inert=!1))},d=new Set;if(Mr()){let $=o.getRootNode();for(let m of e){let f=m.getRootNode();for(;Zi(f)&&f!==$;)d.add(f),f=f.host.getRootNode()}}let u=$=>{for(let v of $.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))a.add(v);let m=v=>{if(s.has(v)||a.has(v)||v.parentElement&&s.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let x of a)if(me(v,x))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=$f(fe($),$,NodeFilter.SHOW_ELEMENT,{acceptNode:m}),h=m($);if(h===NodeFilter.FILTER_ACCEPT&&p($),h!==NodeFilter.FILTER_REJECT){let v=f.nextNode();for(;v!=null;)p(v),v=f.nextNode()}},p=$=>{let m=Sc.get($)??0;l($)&&m===0||(m===0&&c($,!0),s.add($),Sc.set($,m+1))};Nr.length&&Nr[Nr.length-1].disconnect(),u(o);let b=new MutationObserver($=>{for(let m of $)if(m.type==="childList"){if(m.target.isConnected&&![...a,...s].some(f=>me(f,m.target)))for(let f of m.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&Wh(f)?a.add(f):f instanceof Element&&u(f);if(Mr()){for(let f of d)if(!f.isConnected){b.disconnect();break}}}});b.observe(o,{childList:!0,subtree:!0});let g=new Set;if(Mr())for(let $ of d){let m=new MutationObserver(f=>{for(let h of f)if(h.type==="childList"){if(h.target.isConnected&&![...a,...s].some(v=>me(v,h.target)))for(let v of h.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&Wh(v)?a.add(v):v instanceof Element&&u(v);if(Mr()){for(let v of d)if(!v.isConnected){b.disconnect();break}}}});m.observe($,{childList:!0,subtree:!0}),g.add(m)}let y={visibleNodes:a,hiddenNodes:s,observe(){b.observe(o,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return Nr.push(y),()=>{if(b.disconnect(),Mr())for(let $ of g)$.disconnect();for(let $ of s){let m=Sc.get($);m!=null&&(m===1?(c($,!1),Sc.delete($)):Sc.set($,m-1))}y===Nr[Nr.length-1]?(Nr.pop(),Nr.length&&Nr[Nr.length-1].observe()):Nr.splice(Nr.indexOf(y),1)}}function jh(e){let t=Nr[Nr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var hn={top:"top",bottom:"top",left:"left",right:"left"},Lf={top:"bottom",bottom:"top",left:"right",right:"left"},fC={top:"left",left:"top"},O2={top:"height",left:"width"},Jh={width:"totalWidth",height:"totalHeight"},Tf={},pC=()=>typeof document<"u"?window.visualViewport:null;function Gh(e,t){let r=0,n=0,o=0,i=0,a=0,s=0,l={},c=(t?.scale??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let d=document.documentElement;o=d.clientWidth,i=d.clientHeight,r=t?.width??o,n=t?.height??i,l.top=d.scrollTop||e.scrollTop,l.left=d.scrollLeft||e.scrollLeft,t&&(a=Math.max(0,t.pageTop-(l.top??0)),s=Math.max(0,t.pageLeft-(l.left??0)))}else({width:r,height:n,top:a,left:s}=Ec(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,i=n;return sr()&&(e.tagName==="BODY"||e.tagName==="HTML")&&c&&(l.top=0,l.left=0,a=t?.pageTop??0,s=t?.pageLeft??0),{width:r,height:n,totalWidth:o,totalHeight:i,scroll:l,top:a,left:s}}function mC(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Zh(e,t,r,n,o,i,a){let s=o.scroll[e]??0,l=n[O2[e]],c=a[e]+n.scroll[hn[e]]+i,d=a[e]+n.scroll[hn[e]]+l-i,u=t-s+n.scroll[hn[e]]+a[e]-n[hn[e]],p=t-s+r+n.scroll[hn[e]]+a[e]-n[hn[e]];return u<c?c-u:p>d?Math.max(d-p,c-u):0}function hC(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Yh(e){if(Tf[e])return Tf[e];let[t,r]=e.split(" "),n=hn[t]||"right",o=fC[n];hn[r]||(r="center");let i=O2[n],a=O2[o];return Tf[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:i,crossSize:a},Tf[e]}function A2(e,t,r,n,o,i,a,s,l,c,d){let{placement:u,crossPlacement:p,axis:b,crossAxis:g,size:y,crossSize:$}=n,m={};m[g]=e[g]??0,p==="center"?m[g]+=((e[$]??0)-(r[$]??0))/2:p!==g&&(m[g]+=(e[$]??0)-(r[$]??0)),m[g]+=i;let f=e[g]-r[$]+l+c,h=e[g]+e[$]-l-c;if(m[g]=sc(m[g],f,h),u===b){let v=s?d[y]:d[Jh[y]];m[Lf[b]]=Math.floor(v-e[b]+o)}else m[b]=Math.floor(e[b]+e[y]+o);return m}function gC(e,t,r,n,o,i,a,s,l,c,d){let u=(e.top!=null?e.top:l[Jh.height]-(e.bottom??0)-a)-(l.scroll.top??0),p=c?r.top:0,b={top:Math.max(t.top+p,(d?.offsetTop??t.top)+p),bottom:Math.min(t.top+t.height+p,(d?.offsetTop??0)+(d?.height??0))};return s!=="top"?Math.max(0,b.bottom-u-((o.top??0)+(o.bottom??0)+i)):Math.max(0,u+a-b.top-((o.top??0)+(o.bottom??0)+i))}function Xh(e,t,r,n,o,i,a,s){let{placement:l,axis:c,size:d}=i;return l===c?Math.max(0,r[c]-(a.scroll[c]??0)-(e[c]+(s?t[c]:0))-(n[c]??0)-n[Lf[c]]-o):Math.max(0,e[d]+e[c]+(s?t[c]:0)-r[c]-r[d]+(a.scroll[c]??0)-(n[c]??0)-n[Lf[c]]-o)}function bC(e,t,r,n,o,i,a,s,l,c,d,u,p,b,g,y,$,m){let f=Yh(e),{size:h,crossAxis:v,crossSize:x,placement:w,crossPlacement:P}=f,k=A2(t,s,r,f,d,u,c,p,g,y,l),T=d,E=Xh(s,c,t,o,i+d,f,l,$);if(a&&r[h]>E){let N=Yh(`${Lf[w]} ${P}`),ie=A2(t,s,r,N,d,u,c,p,g,y,l);Xh(s,c,t,o,i+d,N,l,$)>E&&(f=N,k=ie,T=d)}let F="bottom";f.axis==="top"?f.placement==="top"?F="top":f.placement==="bottom"&&(F="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?F="bottom":f.crossPlacement==="bottom"&&(F="top"));let _=Zh(v,k[v],r[x],s,l,i,c);k[v]+=_;let I=gC(k,s,c,p,o,i,r.height,F,l,$,m);b&&b<I&&(I=b),r.height=Math.min(r.height,I),k=A2(t,s,r,f,T,u,c,p,g,y,l),_=Zh(v,k[v],r[x],s,l,i,c),k[v]+=_;let C={},L=t[v]-k[v]-o[hn[v]],O=L+.5*t[x],M=g/2+y,Z=hn[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),R=r[x]-Z-g/2-y,te=t[v]+g/2-(k[v]+o[hn[v]]),X=t[v]+t[x]-g/2-(k[v]+o[hn[v]]),K=sc(O,te,X);C[v]=sc(K,M,R),{placement:w,crossPlacement:P}=f,g?L=C[v]:P==="right"?L+=t[x]:P==="center"&&(L+=t[x]/2);let j=w==="left"||w==="top"?r[h]:0,z={x:w==="top"||w==="bottom"?L:j,y:w==="left"||w==="right"?L:j};return{position:k,maxHeight:I,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:w,triggerAnchorPoint:z}}function eg(e){let{placement:t,targetNode:r,overlayNode:n,scrollNode:o,padding:i,shouldFlip:a,boundaryElement:s,offset:l,crossOffset:c,maxHeight:d,arrowSize:u=0,arrowBoundaryOffset:p=0,targetRect:b}=e,g=pC(),y=n instanceof HTMLElement?$C(n):document.documentElement,$=y===document.documentElement,m=window.getComputedStyle(y).position,f=!!m&&m!=="static",h=$?Ec(r,!1,b):qh(r,y,!1,b);if(!$){let{marginTop:F,marginLeft:_}=window.getComputedStyle(r);h.top+=parseInt(F,10)||0,h.left+=parseInt(_,10)||0}let v=Ec(n,!0),x=hC(n);v.width+=(x.left??0)+(x.right??0),v.height+=(x.top??0)+(x.bottom??0);let w=mC(o),P=Gh(s,g),k=Gh(y,g),T;if((s.tagName==="BODY"||s.tagName==="HTML")&&!$){let F=kc(y,!1);T={top:-(F.top-P.top),left:-(F.left-P.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&$?T={top:0,left:0,width:0,height:0}:T=qh(s,y,!1);let E=me(s,y);return bC(t,h,v,w,x,i,a,P,k,T,l,c,f,d,u,p,E,g)}function kc(e,t){let{top:r,left:n,width:o,height:i}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(o=e.offsetWidth,i=e.offsetHeight),{top:r,left:n,width:o,height:i}}function Ec(e,t,r){let{top:n,left:o,width:i,height:a}=r||kc(e,t),{scrollTop:s,scrollLeft:l,clientTop:c,clientLeft:d}=document.documentElement;return{top:n+s-c,left:o+l-d,width:i,height:a}}function qh(e,t,r,n){let o=window.getComputedStyle(e),i;if(o.position==="fixed")i=n||kc(e,r);else{i=Ec(e,r,n);let a=Ec(t,r),s=window.getComputedStyle(t);a.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,i.top-=a.top,i.left-=a.left}return i.top-=parseInt(o.marginTop,10)||0,i.left-=parseInt(o.marginLeft,10)||0,i}function $C(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Qh(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Qh(t);)t=t.parentElement;return t||document.documentElement}function Qh(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}var tg=S(D(),1),vC=new WeakMap;function rg(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,tg.useEffect)(()=>{if(!r||n===null)return;let o=i=>{let a=q(i);if(!t.current||a instanceof Node&&!me(a,t.current)||a instanceof HTMLInputElement||a instanceof HTMLTextAreaElement)return;let s=n||vC.get(t.current);s&&s()};return Ft(Nl(t.current),"scroll",o,!0)},[r,n,t])}var ng=S(D(),1);function yC(){return typeof window.ResizeObserver<"u"}function $s(e){let{ref:t,box:r,onResize:n}=e,o=yt(n);(0,ng.useEffect)(()=>{let i=t?.current;if(i)if(yC()){let a=new window.ResizeObserver(s=>{s.length&&o()});return a.observe(i,{box:r}),()=>{i&&a.unobserve(i)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[t,r])}var oo=S(D(),1),da=typeof document<"u"?window.visualViewport:null;function og(e){let{direction:t}=hr(),{arrowSize:r,targetRef:n,overlayRef:o,arrowRef:i,scrollRef:a=o,placement:s="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:u=0,crossOffset:p=0,shouldUpdatePosition:b=!0,isOpen:g=!0,onClose:y,maxHeight:$,arrowBoundaryOffset:m=0,getTargetRect:f}=e,[h,v]=(0,oo.useState)(null),x=[b,s,o.current,n.current,i?.current,a.current,l,c,d,u,p,g,t,$,m,r],w=(0,oo.useRef)(da?.scale);(0,oo.useEffect)(()=>{g&&(w.current=da?.scale)},[g]);let P=(0,oo.useCallback)(()=>{if(b===!1||!g||!o.current||!n.current||!d||da?.scale!==w.current)return;let E=null;if(a.current&&di(a.current)){let C=xe()?.getBoundingClientRect(),L=a.current.getBoundingClientRect();E={type:"top",offset:(C?.top??0)-L.top},E.offset>L.height/2&&(E.type="bottom",E.offset=(C?.bottom??0)-L.bottom)}let F=o.current;!$&&o.current&&(F.style.top="0px",F.style.bottom="",F.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let _=eg({placement:CC(s,t),overlayNode:o.current,targetNode:n.current,scrollNode:a.current||o.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:p,maxHeight:$,arrowSize:r??(i?.current?kc(i.current,!0).width:0),arrowBoundaryOffset:m,targetRect:f?.(n.current)});if(!_.position)return;F.style.top="",F.style.bottom="",F.style.left="",F.style.right="",Object.keys(_.position).forEach(C=>F.style[C]=_.position[C]+"px"),F.style.maxHeight=_.maxHeight!=null?_.maxHeight+"px":"";let I=xe();if(E&&I&&a.current){let C=I.getBoundingClientRect(),L=a.current.getBoundingClientRect(),O=C[E.type]-L[E.type];a.current.scrollTop+=O-E.offset}v(_)},x);ue(P,x),xC(P),$s({ref:o,onResize:P}),$s({ref:n,onResize:P});let k=(0,oo.useRef)(!1);ue(()=>{let E,F=()=>{k.current=!0,clearTimeout(E),E=setTimeout(()=>{k.current=!1},500),P()},_=()=>{k.current&&F()};da?.addEventListener("resize",F),da?.addEventListener("scroll",_);let I=Ft(Nl(window),"scroll",_);return()=>{da?.removeEventListener("resize",F),da?.removeEventListener("scroll",_),I()}},[P]);let T=(0,oo.useCallback)(()=>{k.current||y?.()},[y,k]);return rg({triggerRef:n,isOpen:g,onClose:y&&T}),{overlayProps:{style:{position:h?"absolute":"fixed",top:h?void 0:0,left:h?void 0:0,zIndex:1e5,...h?.position,maxHeight:h?.maxHeight??"100vh"}},placement:h?.placement??null,triggerAnchorPoint:h?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:h?.arrowOffsetLeft,top:h?.arrowOffsetTop}},updatePosition:P}}function xC(e){ue(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function CC(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var Rf=S(D(),1);function ag(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=(0,Rf.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=yt(l=>{r&&ig(l,t)&&(o&&o(l),i.current.isPointerDown=!0)}),s=yt(l=>{r&&r(l)});(0,Rf.useEffect)(()=>{let l=i.current;if(n)return;let c=t.current,d=fe(c);if(typeof PointerEvent<"u"){let u=p=>{l.isPointerDown&&ig(p,t)&&s(p),l.isPointerDown=!1};return d.addEventListener("pointerdown",a,!0),d.addEventListener("click",u,!0),()=>{d.removeEventListener("pointerdown",a,!0),d.removeEventListener("click",u,!0)}}},[t,n])}function ig(e,t){if(e.button>0)return!1;let r=q(e);if(r){let n=r.ownerDocument;if(!n||!me(n.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var _f=S(D(),1),io=[];function sg(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:i=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:s}=e,l=(0,_f.useRef)(void 0);(0,_f.useEffect)(()=>{if(o&&!io.includes(t))return io.push(t),()=>{let g=io.indexOf(t);g>=0&&io.splice(g,1)}},[o,t]);let c=()=>{io[io.length-1]===t&&r&&r()},d=g=>{let y=io[io.length-1];l.current=y,(!s||s(q(g)))&&y===t&&g.stopPropagation()},u=g=>{(!s||s(q(g)))&&(io[io.length-1]===t&&g.stopPropagation(),l.current===t&&c()),l.current=void 0},{keyboardProps:p}=Ir({shortcuts:{Escape:()=>{if(!a){c();return}return!1}}});ag({ref:t,onInteractOutside:i&&o?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:b}=fn({isDisabled:!n,onBlurWithin:g=>{!g.relatedTarget||yh(g.relatedTarget)||(!s||s(g.relatedTarget))&&r?.()}});return{overlayProps:{...p,...b},underlayProps:{}}}var wC=200,SC=50,EC=600,xi=new WeakMap,Pc=new Set,Tc=new Set;function kC(e,t){let r=as();if(e!==r||t.aborted)for(let n of Tc)n(r),Tc.delete(n);if(!e&&r&&sr()&&!t.aborted){window.clearInterval(xi.get(window)),xi.set(window,B2(wC));return}if(e!==r||t.aborted)for(let n of Pc)n(r),Pc.delete(n);(Tc.size+Pc.size<=0||t.aborted)&&(window.clearInterval(xi.get(window)),xi.delete(window))}function B2(e=EC){return window.setInterval(kC,SC,as(),AbortSignal.timeout(e))}function Lc(e){if(!zl())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?xe():null,n=Qi(r);if(as()===n||as()&&!n)return e(n);Tc.add(e),xi.has(window)||xi.set(window,B2())})});return()=>{window.cancelAnimationFrame(t),Tc.delete(e)}}function K2(e){if(!zl())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?xe():null,n=Qi(r);if(as()===n)return e(n);Pc.add(e),xi.has(window)||xi.set(window,B2())})});return()=>{window.cancelAnimationFrame(t),Pc.delete(e)}}var z2=typeof document<"u"&&window.visualViewport,Mf=0,V2;function lg(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:r}=e;ue(()=>{if(!t)return Mf++,Mf===1&&(Ro()&&sr()?V2=TC():V2=PC(r)),()=>{Mf--,Mf===0&&V2()}},[t,r])}function PC(e){let t=window.innerWidth-document.documentElement.clientWidth;return ir(t>0&&("scrollbarGutter"in document.documentElement.style?Jn(document.documentElement,"scrollbar-gutter","stable"):Jn(document.documentElement,"padding-right",`${t}px`)),Jn(document.documentElement,"overflow","hidden"),e&&dg(),e&&zl()&&cg())}function TC(){let e=Jn(document.documentElement,"overflow","hidden"),t,r=!1,n=c=>{let d=q(c);t=ro(d,!0)?d:lc(d,!0),r=!1;let u=d.ownerDocument.defaultView.getSelection();u&&!u.isCollapsed&&u.containsNode(d,!0)&&(r=!0),c.composedPath().some(p=>p instanceof HTMLInputElement&&p.type==="range")&&(r=!0),"selectionStart"in d&&"selectionEnd"in d&&d.selectionStart<d.selectionEnd&&d.ownerDocument.activeElement===d&&(r=!0)},o=document.createElement("style"),i=nf();i&&(o.nonce=i),o.textContent=`
135
135
  @layer {
136
136
  * {
137
137
  overscroll-behavior: contain;
138
138
  }
139
- }`.trim(),document.head.prepend(o);let i=c=>{if(!(c.touches.length===2||r)){if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()}},s=zh(),l=Qt(Lt(document,"touchstart",n,{passive:!1,capture:!0}),Lt(document,"touchmove",i,{passive:!1,capture:!0}),Kh());return()=>{e(),l(),o.remove(),s()}}function Kh(){return Lt(document,"blur",t=>{let r=Y(t),n=t.relatedTarget;n&&Ba(n)?n.focus():n||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function zh(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let r=()=>{ye()===this&&Qx(this)};$c(n=>n?r():S2(()=>r()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function Qx(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t&&r.isConnected;){let n=ql(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let o=n.getBoundingClientRect(),a=r.getBoundingClientRect();if(a.top<o.top||a.bottom>o.top+r.clientHeight){let i=o.bottom;E2&&(i=Math.min(i,E2.offsetTop+E2.height));let s=a.top-o.top-((i-o.top)/2-a.height/2);n.scrollTo({top:Math.max(0,Math.min(n.scrollHeight-n.clientHeight,n.scrollTop+s)),behavior:"smooth"})}}r=n.parentElement}}var Bh=S(D(),1);function P2(e,t){let{triggerRef:r,popoverRef:n,groupRef:o,isNonModal:a,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s,...l}=e,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:u}=Ah({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s},o??n),{overlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=Dh({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a&&!c?t.close:null,getTargetRect:l.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});Oh({isDisabled:a||!t.isOpen}),(0,Bh.useEffect)(()=>{if(t.isOpen&&n.current)return a?wh(o?.current??n.current):Ch([o?.current??n.current],{shouldUseInert:!0})},[a,t.isOpen,n,o]);let{focusWithinProps:$}=ln(e);return{popoverProps:se(d,p,$),arrowProps:b,underlayProps:u,placement:g,triggerAnchorPoint:y}}var T2={};T2={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var L2={};L2={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var R2={};R2={dismiss:"Odstranit"};var _2={};_2={dismiss:"Luk"};var M2={};M2={dismiss:"Schlie\xDFen"};var I2={};I2={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var N2={};N2={dismiss:"Dismiss"};var D2={};D2={dismiss:"Descartar"};var F2={};F2={dismiss:"L\xF5peta"};var H2={};H2={dismiss:"Hylk\xE4\xE4"};var A2={};A2={dismiss:"Rejeter"};var O2={};O2={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var K2={};K2={dismiss:"Odbaci"};var z2={};z2={dismiss:"Elutas\xEDt\xE1s"};var B2={};B2={dismiss:"Ignora"};var V2={};V2={dismiss:"\u9589\u3058\u308B"};var W2={};W2={dismiss:"\uBB34\uC2DC"};var U2={};U2={dismiss:"Atmesti"};var j2={};j2={dismiss:"Ner\u0101d\u012Bt"};var G2={};G2={dismiss:"Lukk"};var Z2={};Z2={dismiss:"Negeren"};var Y2={};Y2={dismiss:"Zignoruj"};var X2={};X2={dismiss:"Descartar"};var q2={};q2={dismiss:"Dispensar"};var Q2={};Q2={dismiss:"Revocare"};var J2={};J2={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var e3={};e3={dismiss:"Zru\u0161i\u0165"};var t3={};t3={dismiss:"Opusti"};var r3={};r3={dismiss:"Odbaci"};var n3={};n3={dismiss:"Avvisa"};var o3={};o3={dismiss:"Kapat"};var a3={};a3={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var i3={};i3={dismiss:"\u53D6\u6D88"};var s3={};s3={dismiss:"\u95DC\u9589"};var l3={};l3={"ar-AE":T2,"bg-BG":L2,"cs-CZ":R2,"da-DK":_2,"de-DE":M2,"el-GR":I2,"en-US":N2,"es-ES":D2,"et-EE":F2,"fi-FI":H2,"fr-FR":A2,"he-IL":O2,"hr-HR":K2,"hu-HU":z2,"it-IT":B2,"ja-JP":V2,"ko-KR":W2,"lt-LT":U2,"lv-LV":j2,"nb-NO":G2,"nl-NL":Z2,"pl-PL":Y2,"pt-BR":X2,"pt-PT":q2,"ro-RO":Q2,"ru-RU":J2,"sk-SK":e3,"sl-SI":t3,"sr-SP":r3,"sv-SE":n3,"tr-TR":o3,"uk-UA":a3,"zh-CN":i3,"zh-TW":s3};var c3=S(D(),1);function Jx(e){return e&&e.__esModule?e.default:e}function xf(e){let{onDismiss:t,...r}=e,n=Q8(Jx(l3),"@react-aria/overlays"),o=Mu(r,n.format("dismiss")),a=()=>{t&&t()};return c3.default.createElement(Jl,null,c3.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}var ti=S(D(),1);function Vh({children:e}){let t=(0,ti.useMemo)(()=>({register:()=>{}}),[]);return ti.default.createElement(Gl.Provider,{value:t},e)}var vc=S(D(),1),eC=(0,vc.createContext)({});function Wh(){return(0,vc.useContext)(eC)??{}}var Mn=S(D(),1),Uh=S(kn(),1),tC=Mn.default.createContext(null);function Cf(e){let t=Qo(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,a]=(0,Mn.useState)(!1),i=(0,Mn.useMemo)(()=>({contain:o,setContain:a}),[o,a]),{getContainer:s}=Wh();if(!e.portalContainer&&s&&(r=s()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=Mn.default.createElement(Xa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!n},l)),l=Mn.default.createElement(tC.Provider,{value:i},Mn.default.createElement(Vh,null,Mn.default.createElement(ts.Provider,{value:null},l))),Uh.default.createPortal(l,r)}var ds=S(D(),1);function yc(e){let[t,r]=na(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[n,o]=(0,ds.useState)(null),a=(0,ds.useCallback)(()=>{r(!0)},[r]),i=(0,ds.useCallback)(()=>{r(!1)},[r]),s=(0,ds.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:a,close:i,toggle:s,point:n,setPoint:o}}var Le=S(D(),1);var jh=S(kn(),1),pa=S(D(),1);function d3(e,t=!0,r){let[n,o]=(0,pa.useState)(!0),a=n&&t;return de(()=>{if(!t&&e.current)return Qt(Un(e.current,"opacity","0"),Un(e.current,"clip","rect(0 0 0 0)"),Un(e.current,"clip-path","inset(50%)"),Un(e.current,"mask-image","linear-gradient(#0000, #0000)"))},[e,t]),de(()=>{if(a&&e.current&&"getAnimations"in e.current)for(let i of e.current.getAnimations())i instanceof CSSTransition&&i.cancel()},[e,a]),Gh(e,a,r,(0,pa.useCallback)(()=>o(!1),[])),a}function u3(e,t,r){let[n,o]=(0,pa.useState)(t?"open":"closed");switch(n){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open");break}let a=n==="exiting";return Gh(e,a,r,(0,pa.useCallback)(()=>{o(i=>i==="exiting"?"closed":i)},[])),a}function Gh(e,t,r,n){let o=(0,pa.useRef)(null),a=mt(r);de(()=>{if(t&&e.current&&o.current!==t){if(o.current=t,!("getAnimations"in e.current)){n();return}let i=a?.(e.current),s=e.current.getAnimations().filter(l=>(typeof DocumentTimeline>"u"||l.timeline instanceof DocumentTimeline)&&l.playState==="running");if(s.length===0&&!i){n();return}Promise.all([i,...s.map(l=>l.finished)]).then(()=>{(0,jh.flushSync)(()=>{n()})}).catch(()=>{})}o.current=t},[e,t,n])}var xc=(0,Le.createContext)(null),Zh=(0,Le.createContext)(null),f3=(0,Le.forwardRef)(function(t,r){[t,r]=Tt(t,r,xc);let n=(0,Le.useContext)(Cc),o=yc(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?o:n,i=u3(r,a.isOpen),s=t.isExiting||!t.shouldSkipAnimation&&i||!1,l=zp(),{direction:c}=cr();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),Le.default.createElement(Le.default.Fragment,null,d)}return a&&!a.isOpen&&!s?null:Le.default.createElement(rC,{...t,triggerRef:t.triggerRef,state:a,popoverRef:r,isExiting:s,dir:c})});function rC({state:e,isExiting:t,UNSTABLE_portalContainer:r,clearContexts:n,...o}){let a=(0,Le.useRef)(null),i=(0,Le.useRef)(null),s=(0,Le.useContext)(Zh),l=s&&o.trigger==="SubmenuTrigger",[c,d]=(0,Le.useState)(!1),{popoverProps:u,underlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=P2({...o,offset:o.offset??8,arrowRef:a,groupRef:l?s:i},e),$=o.popoverRef,m=d3($,!!g&&c),f=o.isEntering||!o.shouldSkipAnimation&&m||!1,h=Wt({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:g,isEntering:f,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[x,w]=(0,Le.useState)(o.trigger==="PreviewTrigger");de(()=>{$.current&&w(v&&!$.current.querySelector("[role=dialog]"))},[$,v]),(0,Le.useEffect)(()=>{x&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||Gn()!=="pointer")&&$.current&&!ta($.current)&&sn($.current)},[x,$,o.trigger]);let k=(0,Le.useMemo)(()=>{let _=h.children;for(let C of[xc,...n??[]])_=Le.default.createElement(C.Provider,{value:null},_);return _},[h.children,n]),[E,T]=(0,Le.useState)(null),P=(0,Le.useCallback)(()=>{o.triggerRef.current&&T(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);de(P,[P]),cs({ref:h.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:P});let F={...u.style,"--trigger-anchor-point":y?`${y.x}px ${y.y}px`:void 0,...h.style,"--trigger-width":h.style?.["--trigger-width"]||E};de(()=>$c(()=>d(!0)),[]);let R=Le.default.createElement(Je.div,{...se(Ke(o,{global:!0}),u),...h,id:x?o.id:void 0,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:$,slot:o.slot||void 0,style:F,dir:o.dir,"data-trigger":o.trigger,"data-placement":g,"data-entering":f||void 0,"data-exiting":t||void 0},!o.isNonModal&&Le.default.createElement(xf,{onDismiss:e.close}),Le.default.createElement(yh.Provider,{value:{...b,placement:g,ref:a}},k),Le.default.createElement(xf,{onDismiss:e.close}));return l?Le.default.createElement(Cf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r??s?.current??void 0},R):Le.default.createElement(Cf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r},!o.isNonModal&&e.isOpen&&Le.default.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),Le.default.createElement("div",{ref:i,style:{display:"contents"}},Le.default.createElement(Zh.Provider,{value:i},R)))}var us=S(D(),1),wf=(0,us.createContext)({}),p3=(0,us.forwardRef)(function(t,r){return[t,r]=Tt(t,r,wf),us.default.createElement(Je.kbd,{dir:"ltr",...t,ref:r})});var Sf=new WeakMap;function m3(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:a,...i}=e;!e["aria-label"]&&e["aria-labelledby"];let s=Ke(e,{labelable:!0}),{listProps:l}=cf({...i,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Sf.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:se(s,{onKeyDown:o,onKeyUp:a},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||e.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}var h3=S(D(),1);function g3(e,t,r){let{id:n,key:o,closeOnSelect:a,shouldCloseOnSelect:i,isVirtualized:s,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:u,onPressChange:p,onPressEnd:b,onClick:g,onHoverStart:y,onHoverChange:$,onHoverEnd:m,onKeyDown:f,onKeyUp:h,onFocus:v,onFocusChange:x,onBlur:w,selectionManager:k=t.selectionManager}=e,E=!!l,T=E&&e["aria-expanded"]==="true",P=e.isDisabled??k.isDisabled(o),F=e.isSelected??k.isSelected(o),R=Sf.get(t),_=t.collection.getItem(o),C=e.onClose||R.onClose,L=Oa(),K=()=>{if(!E&&(_?.props?.onAction?_.props.onAction():e.onAction&&e.onAction(o),R.onAction)){let De=R.onAction;De(o,_?.value)}},I="menuitem";E||(k.selectionMode==="single"?I="menuitemradio":k.selectionMode==="multiple"&&(I="menuitemcheckbox"));let Z=Vn(),N=Vn(),q=Vn(),ee={id:n,"aria-disabled":P||void 0,role:I,"aria-label":e["aria-label"],"aria-labelledby":Z,"aria-describedby":[e["aria-describedby"],N,q].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(k.selectionMode!=="none"&&!E&&(ee["aria-checked"]=F),s){let De=Number(_?.index);ee["aria-posinset"]=Number.isNaN(De)?void 0:De+1,ee["aria-setsize"]=cc(t.collection)}let z=(0,h3.useRef)(!1),G=De=>{p?.(De),z.current=De},V=(0,h3.useRef)(null),M=De=>{De.pointerType!=="keyboard"&&(V.current={pointerType:De.pointerType}),De.pointerType==="mouse"&&(z.current||De.target.click()),d?.(De)},ae=De=>{g?.(De),K(),I8(De,L,_.props.href,_?.props.routerOptions);let Yr=V.current?.pointerType==="keyboard"?V.current?.key==="Enter"||k.selectionMode==="none"||k.isLink(o):k.selectionMode!=="multiple"||k.isLink(o);Yr=i??a??Yr,C&&!E&&Yr&&C(),V.current=null},{itemProps:Q,isFocused:we}=df({id:n,selectionManager:k,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:R.shouldUseVirtualFocus}),{pressProps:bt,isPressed:le}=Co({onPressStart:c,onPress:u,onPressUp:M,onPressChange:G,onPressEnd:b,isDisabled:P}),{hoverProps:A}=Tn({isDisabled:P,onHoverStart(De){!Pn()&&!(T&&l)&&(k.setFocused(!0),k.setFocusedKey(o)),y?.(De)},onHoverChange:$,onHoverEnd:m}),{keyboardProps:W}=kr({shortcuts:{" ":De=>{V.current={pointerType:"keyboard",key:" "},Y(De).click(),ra("keyboard")},Enter:De=>{V.current={pointerType:"keyboard",key:"Enter"};let Yr=Y(De);if(Yr.tagName!=="A"){Yr.click(),ra("keyboard");return}return ra("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:f,onKeyUp:h}),{focusableProps:ce}=zu({onBlur:w,onFocus:v,onFocusChange:x},r),me=Ke(_?.props);delete me.id;let _t=Pu(_?.props);return{menuItemProps:{...ee,...se(me,_t,E?{onFocus:Q.onFocus,"data-collection":Q["data-collection"],"data-key":Q["data-key"]}:Q,bt,A,W,ce,R.shouldUseVirtualFocus||E?{onMouseDown:De=>De.preventDefault()}:void 0,P?void 0:{onClick:ae}),tabIndex:Q.tabIndex!=null&&T&&!R.shouldUseVirtualFocus?-1:Q.tabIndex},labelProps:{id:Z},descriptionProps:{id:N},keyboardShortcutProps:{id:q},isFocused:we,isFocusVisible:we&&k.isFocused&&Pn()&&!T,isSelected:F,isPressed:le,isDisabled:P}}function b3(e){let{heading:t,"aria-label":r}=e,n=yt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var $3=S(D(),1);function fs(e){let t=yc(e),[r,n]=(0,$3.useState)(null),[o,a]=(0,$3.useState)([]),i=()=>{a([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){i()},expandedKeysStack:o,openSubmenu:(c,d)=>{a(u=>d>u.length?u:[...u.slice(0,d),c])},closeSubmenu:(c,d)=>{a(u=>u[d]===c?u.slice(0,d):u)}}}var ge=S(D(),1);var Ef=class{constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,r=r||new Set;let n=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&(i.type==="section"||r.has(i.key)))for(let s of i.childNodes)n(s)};for(let i of t)n(i);let o=null,a=0;for(let[i,s]of this.keyMap)o?(o.nextKey=i,s.prevKey=o.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=a++),o=s,o.nextKey=void 0;this.lastKey=o?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};var ps=S(D(),1);function v3(e){let{onExpandedChange:t}=e,[r,n]=na(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=Ja(e),a=(0,ps.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=mf(e,(0,ps.useCallback)(l=>new Ef(l,{expandedKeys:r}),[r]),null);return(0,ps.useEffect)(()=>{o.focusedKey!=null&&!i.getItem(o.focusedKey)&&o.setFocusedKey(null)},[i,o.focusedKey]),{collection:i,expandedKeys:r,disabledKeys:a,toggleKey:l=>{n(nC(r,l))},setExpandedKeys:n,selectionManager:new Eo(i,o)}}function nC(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Pf=(0,ge.createContext)(null),Ec=(0,ge.createContext)(null),wc=(0,ge.createContext)(null),kf=(0,ge.createContext)(null);var oC=(0,ge.createContext)(null),Yh=class extends an{static{this.type="submenutrigger"}filter(t,r,n){let o=t.getItem(this.firstChildKey);if(o&&n(o.textValue,this)){let a=this.clone();return r.addDescendants(a,t),a}return null}};var x3=(0,ge.forwardRef)(function(t,r){return[t,r]=Tt(t,r,Pf),ge.default.createElement(Ul,{content:ge.default.createElement(jl,t)},n=>ge.default.createElement(aC,{props:t,collection:n,menuRef:r}))});function aC({props:e,collection:t,menuRef:r}){[e,r]=Tt(e,r,Fl);let{filter:n,...o}=e,a=(0,ge.useMemo)(()=>n?t.filter(n):t,[t,n]),i=v3({...e,collection:a,children:void 0}),s=(0,ge.useContext)(wc),{isVirtualized:l,CollectionRoot:c}=(0,ge.useContext)(aa),{menuProps:d}=m3({...e,isVirtualized:l,onClose:e.onClose||s?.close},i,r),u=Wt({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:i.collection.size===0}}),p=null;i.collection.size===0&&e.renderEmptyState&&(p=ge.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let b=Ke(e,{global:!0});return ge.default.createElement(Xa,null,ge.default.createElement(Je.div,{...se(b,u,d),ref:r,slot:e.slot||void 0,"data-empty":i.collection.size===0||void 0,onScroll:e.onScroll},ge.default.createElement(nn,{values:[[Ec,i],[of,{elementType:"div"}],[Vu,{name:"MenuSection",render:iC}],[oC,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[Sc,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Fl,null],[J8,null],[kf,i.selectionManager],[wc,s??fs({})]]},ge.default.createElement(ss,null,ge.default.createElement(c,{collection:i.collection,persistedKeys:b7(i.selectionManager.focusedKey),scrollRef:r}))),p))}var y3=class extends Eo{constructor(t,r){super(t.collection,r),this.parent=t}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,r){return this.parent.setFocusedKey(t,r)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function iC(e,t,r,n="react-aria-MenuSection"){let o=(0,ge.useContext)(Ec),{CollectionBranch:a}=(0,ge.useContext)(aa),[i,s]=ji(),{headingProps:l,groupProps:c}=b3({heading:s,"aria-label":r.props["aria-label"]??void 0}),d=Wt({...e,id:void 0,children:void 0,defaultClassName:n,className:r.props?.className,style:r.props?.style,values:void 0}),u=(0,ge.useContext)(kf),p=Ja(e),b=e.selectionMode!=null?new y3(u,p):u,g=Ha(Sc)?.shouldCloseOnSelect,y=Ke(e,{global:!0});return delete y.id,ge.default.createElement(Je.section,{...se(y,d,c),ref:t},ge.default.createElement(nn,{values:[[tf,{...l,ref:i}],[kf,b],[Sc,{shouldCloseOnSelect:e.shouldCloseOnSelect??g}]]},ge.default.createElement(a,{collection:o.collection,parent:r})))}var Sc=(0,ge.createContext)(null),C3=Ga(Ua,function(t,r,n){[t,r]=Tt(t,r,Sc);let o=Ha(Sc)?.id,a=(0,ge.useContext)(Ec),i=Wn(r),s=(0,ge.useContext)(kf),{isVirtualized:l}=(0,ge.useContext)(aa),{menuItemProps:c,labelProps:d,descriptionProps:u,keyboardShortcutProps:p,...b}=g3({...t,id:o,key:n.key,selectionManager:s,isVirtualized:l},a,i),{hoverProps:g,isHovered:y}=Tn({isDisabled:b.isDisabled}),$=Wt({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...b,isHovered:y,isFocusVisible:b.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),m=t.href?Je.a:Je.div,f=Ke(t,{global:!0});return delete f.id,delete f.onClick,ge.default.createElement(m,{...se(f,$,c,g),ref:i,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-selected":b.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},ge.default.createElement(nn,{values:[[ca,{slots:{[Ui]:d,label:d,description:u}}],[wf,p],[nf,{isSelected:b.isSelected}]]},$.children))}),sC=Ga(Wa,function(t,r,n){let o=(0,ge.useContext)(Ec),{isLoading:a,onLoadMore:i,scrollOffset:s,...l}=t,c=(0,ge.useRef)(null),d=(0,ge.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[i,s,o?.collection]);fc(d,c);let u=Wt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),p={tabIndex:-1};return ge.default.createElement(ge.default.Fragment,null,ge.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:dc(!0)},ge.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&u.children&&ge.default.createElement(ge.default.Fragment,null,ge.default.createElement(Je.div,{...se(Ke(t,{global:!0}),p),...u,role:"menuitem",ref:r},u.children)))});var ms=S(D(),1);var Cc=(0,ms.createContext)(null);var Tf=new WeakMap;var Xh=S(D(),1);function w3(e,t,r){let{value:n,children:o,"aria-label":a,"aria-labelledby":i,onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p}=e,b=e.isDisabled||t.isDisabled,g=o!=null,y=a!=null||i!=null,$=t.selectedValue===n,m=K=>{K.stopPropagation(),t.setSelectedValue(n)},{pressProps:f,isPressed:h}=Co({onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p,isDisabled:b}),{pressProps:v,isPressed:x}=Co({onPressStart:s,onPressEnd:l,onPressChange:c,onPressUp:u,onClick:p,isDisabled:b,onPress(K){d?.(K),t.setSelectedValue(n),r.current?.focus()}}),{focusableProps:w}=zu(se(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),k=se(f,w),E=Ke(e,{labelable:!0}),T=-1;t.selectedValue!=null?t.selectedValue===n&&(T=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(T=0),b&&(T=void 0);let{name:P,form:F,descriptionId:R,errorMessageId:_,validationBehavior:C}=Tf.get(t);z7(r,t.defaultSelectedValue,t.setSelectedValue),B7({validationBehavior:C},t,r);let L=V7();return{labelProps:se(v,(0,Xh.useMemo)(()=>({onClick:K=>K.preventDefault(),onMouseDown:K=>K.preventDefault()}),[])),inputProps:se(E,{...k,type:"radio",name:P,form:F,tabIndex:T,disabled:b,required:t.isRequired&&C==="native",checked:$,value:n,onChange:m,"aria-describedby":[e["aria-describedby"],L.id,t.isInvalid?_:null,R].filter(Boolean).join(" ")||void 0}),descriptionProps:L,isDisabled:b,isSelected:$,isPressed:h||x}}function S3(e,t){let{name:r,form:n,isReadOnly:o,isRequired:a,isDisabled:i,orientation:s="vertical",validationBehavior:l="aria"}=e,{direction:c}=cr(),{isInvalid:d,validationErrors:u,validationDetails:p}=t.displayValidation,{labelProps:b,fieldProps:g,descriptionProps:y,errorMessageProps:$}=O7({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),m=Ke(e,{labelable:!0}),{focusWithinProps:f}=ln({onBlurWithin(w){e.onBlur?.(w),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function h(w,k){let E=cn(k.currentTarget,{from:Y(k),accept:P=>P instanceof Fe(P).HTMLInputElement&&P.type==="radio"}),T;return w==="next"?(T=E.nextNode(),T||(E.currentNode=k.currentTarget,T=E.firstChild())):(T=E.previousNode(),T||(E.currentNode=k.currentTarget,T=E.lastChild())),T?(T.focus(),t.setSelectedValue(T.value),!0):!1}let{keyboardProps:v}=kr({shortcuts:{ArrowRight:w=>h(c==="rtl"&&s!=="vertical"?"prev":"next",w),ArrowLeft:w=>h(c==="rtl"&&s!=="vertical"?"next":"prev",w),ArrowDown:w=>h("next",w),ArrowUp:w=>h("prev",w)},allowRepeats:!0}),x=yt(r);return Tf.set(t,{name:x,form:n,descriptionId:y.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:se(m,{role:"radiogroup",...v,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":a||void 0,"aria-disabled":i||void 0,"aria-orientation":s,...g,...f}),labelProps:b,descriptionProps:y,errorMessageProps:$,isInvalid:d,validationErrors:u,validationDetails:p}}var kc=S(D(),1),lC=Math.round(Math.random()*1e10),cC=0;function E3(e){let t=(0,kc.useMemo)(()=>e.name||`radio-group-${lC}-${++cC}`,[e.name]),[r,n]=na(e.value,e.defaultValue??null,e.onChange),[o]=(0,kc.useState)(r),[a,i]=(0,kc.useState)(null),s=H7({...e,value:r}),l=d=>{!e.isReadOnly&&!e.isDisabled&&(n(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?o:e.defaultValue??null,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}var et=S(D(),1);var qh=(0,et.createContext)(null),Qh=(0,et.createContext)(null);var Lf=(0,et.createContext)(null),k3=(0,et.forwardRef)(function(t,r){[t,r]=Tt(t,r,qh);let{validationBehavior:n}=Ha(A7)||{},o=t.validationBehavior??n??"native",a=E3({...t,validationBehavior:o}),[i,s]=ji(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:d,errorMessageProps:u,...p}=S3({...t,label:s,validationBehavior:o},a),b=Wt({...t,values:{orientation:t.orientation||"vertical",isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:a.isRequired,isInvalid:a.isInvalid,state:a},defaultClassName:"react-aria-RadioGroup"}),g=Ke(t,{global:!0});return et.default.createElement(Je.div,{...se(g,b,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":a.isInvalid||void 0,"data-disabled":a.isDisabled||void 0,"data-readonly":a.isReadOnly||void 0,"data-required":a.isRequired||void 0},et.default.createElement(nn,{values:[[Lf,a],[Zu,{...c,ref:i,elementType:"span"}],[ca,{slots:{description:d,errorMessage:u}}],[M7,p]]},et.default.createElement(ss,null,b.children)))}),P3=(0,et.forwardRef)(function(t,r){let{inputRef:n=null,...o}=t;[t,r]=Tt(o,r,Qh);let a=et.default.useContext(Lf),i=Wn((0,et.useMemo)(()=>ea(n,t.inputRef!==void 0?t.inputRef:null),[n,t.inputRef])),s=w3({...k8(t),children:typeof t.children=="function"?!0:t.children},a,i);return et.default.createElement(Jh.Provider,{value:{...s,inputRef:i,defaultClassName:"react-aria-Radio"}},et.default.createElement(e9,{...t,ref:r}))}),Jh=(0,et.createContext)(null);var e9=(0,et.forwardRef)(function(t,r){let{labelProps:n,inputProps:o,isSelected:a,isDisabled:i,isPressed:s,defaultClassName:l,inputRef:c}=(0,et.useContext)(Jh),d=et.default.useContext(Lf),{isFocused:u,isFocusVisible:p,focusProps:b}=Yl(),g=i||d.isReadOnly,{hoverProps:y,isHovered:$}=Tn({...t,isDisabled:g}),m=Wt({...t,defaultClassName:l,values:{isSelected:a,isPressed:s,isHovered:$,isFocused:u,isFocusVisible:p,isDisabled:i,isReadOnly:d.isReadOnly,isInvalid:d.isInvalid,isRequired:d.isRequired}}),f=Ke(t,{global:!0});return delete f.id,delete f.onClick,et.default.createElement(Je.label,{...se(f,n,y,m),ref:r,"data-selected":a||void 0,"data-pressed":s||void 0,"data-hovered":$||void 0,"data-focused":u||void 0,"data-focus-visible":p||void 0,"data-disabled":i||void 0,"data-readonly":d.isReadOnly||void 0,"data-invalid":d.isInvalid||void 0,"data-required":d.isRequired||void 0},et.default.createElement(Jl,{elementType:"span"},et.default.createElement("input",{...se(o,b),ref:c})),m.children)});var ko=S(D(),1);var Ur=S($e(),1),Te={focusOutline:"var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base)",focusOffset:"0",fillCheckedBase:"var(--semantic-color-fill-action-primary-strong-rest)",fillCheckedHover:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedFocused:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedPressed:"var(--semantic-color-fill-action-primary-strong-pressed)",fillCheckedDisabled:"var(--semantic-color-fill-action-disabled)",borderBase:"var(--semantic-color-stroke-action-secondary-rest)",borderHover:"var(--semantic-color-stroke-action-secondary-hover)",borderFocused:"var(--semantic-color-stroke-action-secondary-hover)",borderPressed:"var(--semantic-color-stroke-action-secondary-pressed)",borderDisabled:"var(--semantic-color-stroke-action-disabled)",iconPrimary:"var(--semantic-color-foreground-action-primary-on-strong)",iconError:"var(--semantic-color-foreground-action-status-negative-on-strong)",stateLayerUncheckedHover:"var(--semantic-color-fill-action-secondary-hover)",stateLayerCheckedHover:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedFocused:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedPressed:"var(--semantic-color-fill-action-primary-subtle-pressed)",fillErrorBase:"var(--semantic-color-fill-action-status-negative-strong-rest)",fillErrorHover:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorFocused:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorPressed:"var(--semantic-color-fill-action-status-negative-strong-pressed)",fillErrorDisabled:"var(--semantic-color-fill-action-disabled)",borderErrorBase:"var(--semantic-color-stroke-action-status-negative-rest)",borderErrorHover:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorFocused:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorPressed:"var(--semantic-color-stroke-action-status-negative-pressed)",borderErrorDisabled:"var(--semantic-color-stroke-action-disabled)",stateLayerErrorHover:"var(--semantic-color-fill-action-status-negative-subtle-hover)",stateLayerHighlightHover:"var(--semantic-color-fill-action-primary-subtle-hover)",labelColor:"var(--semantic-color-foreground-static-neutral-base)",radius:"var(--semantic-layout-units-cornerradius-small)",radiusFull:"100px"},t9={default:18,s:16},r9=44,T3=1.5,pC=16;function mC({color:e,size:t}){return(0,Ur.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Ur.jsx)("path",{d:"M4 9.5L7.5 13L14 6",stroke:e,strokeWidth:T3,strokeLinecap:"round",strokeLinejoin:"round"})})}function hC({color:e,size:t}){return(0,Ur.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Ur.jsx)("path",{d:"M5 9H13",stroke:e,strokeWidth:T3,strokeLinecap:"round"})})}function Rf({checked:e=!1,indeterminate:t=!1,error:r=!1,highlight:n=!1,secondary:o=!1,disabled:a=!1,size:i="default",label:s,onChange:l,id:c,name:d,value:u,className:p="",describedBy:b}){let g=Vt(),y=(0,ko.useRef)(null),[$,m]=(0,ko.useState)(!1),[f,h]=(0,ko.useState)(!1),[v,x]=(0,ko.useState)(!1),[w,k]=(0,ko.useState)(!1);(0,ko.useEffect)(()=>{y.current&&(y.current.indeterminate=t)},[t]);let E=t9[i]||t9.default,T="transparent";a&&(e||t)?T=r?Te.fillErrorDisabled:Te.fillCheckedDisabled:!a&&(e||t)&&(r?T=w?Te.fillErrorPressed:f?Te.fillErrorFocused:$?Te.fillErrorHover:Te.fillErrorBase:T=w?Te.fillCheckedPressed:f?Te.fillCheckedFocused:$?Te.fillCheckedHover:Te.fillCheckedBase);let P;e||t?P=T:a?P=r?Te.borderErrorDisabled:Te.borderDisabled:r?P=w?Te.borderErrorPressed:f?Te.borderErrorFocused:$?Te.borderErrorHover:Te.borderErrorBase:P=w?Te.borderPressed:f?Te.borderFocused:$?Te.borderHover:Te.borderBase;let F="transparent";a||(w?F=e||t?Te.stateLayerCheckedPressed:r?Te.stateLayerErrorHover:Te.stateLayerUncheckedHover:($||f)&&(e||t?F=r?Te.stateLayerErrorHover:f?Te.stateLayerCheckedFocused:Te.stateLayerCheckedHover:F=r?Te.stateLayerErrorHover:n?Te.stateLayerHighlightHover:Te.stateLayerUncheckedHover));let R=f&&r?"0 0 0 3px var(--semantic-color-fill-static-negative-subtle)":"none",_=r?Te.iconError:Te.iconPrimary,C=e||t;return(0,Ur.jsxs)("label",{className:`pds-checkbox${i==="s"?" pds-checkbox--s":""}${r?" pds-checkbox--error":""}${n?" pds-checkbox--highlight":""}${a?" pds-checkbox--disabled":""}${p?` ${p}`:""}`,style:{display:"inline-flex",alignItems:"center",gap:s?pC:0,cursor:a?"not-allowed":"pointer",userSelect:"none",fontFamily:"'Red Hat Text', sans-serif"},onMouseEnter:()=>!a&&m(!0),onMouseLeave:()=>{m(!1),k(!1)},onMouseDown:()=>!a&&k(!0),onMouseUp:()=>k(!1),children:[(0,Ur.jsxs)("span",{"aria-hidden":"true",style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:r9,height:r9,borderRadius:Te.radiusFull,backgroundColor:F,transition:g?"none":"background-color var(--motion-duration-3) var(--motion-easing-standard)",boxShadow:R,flexShrink:0},children:[(0,Ur.jsx)("input",{ref:y,type:"checkbox",id:c,name:d,value:u,checked:t?!1:e,disabled:a,"aria-describedby":b,onChange:L=>l&&l(L.target.checked),onFocus:L=>{h(!0),x(L.target.matches(":focus-visible"))},onBlur:()=>{h(!1),x(!1)},style:{position:"absolute",width:E,height:E,opacity:0,margin:0,padding:0,cursor:a?"not-allowed":"pointer",zIndex:1}}),(0,Ur.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:E,height:E,borderRadius:Te.radius,border:`${T3}px solid ${v&&!a?"transparent":P}`,backgroundColor:T,boxSizing:"border-box",outline:v&&!a?Te.focusOutline:"none",outlineOffset:Te.focusOffset,transition:g?"none":"background-color var(--motion-duration-2) var(--motion-easing-decelerate), border-color var(--motion-duration-2) var(--motion-easing-decelerate)",flexShrink:0},children:C&&(t?(0,Ur.jsx)(hC,{color:_,size:E}):(0,Ur.jsx)(mC,{color:_,size:E}))})]}),s&&(0,Ur.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",fontWeight:400,color:a?"var(--semantic-color-foreground-static-neutral-base)":Te.labelColor},children:s})]})}var hs=S(D(),1);var ht=S($e(),1),Oe=e=>`var(--semantic-color-${e})`,In=e=>`var(--semantic-layout-units-${e})`,n9=e=>`var(--contextual-layout-units-${e})`,Ht=e=>`var(--semantic-type-${e})`,Qn=e=>`var(--motion-${e})`;var He={ring:Oe("stroke-action-secondary-rest"),ringHover:Oe("stroke-action-secondary-hover"),ringPressed:Oe("stroke-action-secondary-pressed"),ringOn:Oe("stroke-action-primary-strong-rest"),ringOnHover:Oe("stroke-action-primary-strong-hover"),ringOnPressed:Oe("stroke-action-primary-strong-pressed"),ringError:Oe("stroke-action-status-negative-rest"),ringErrorHover:Oe("stroke-action-status-negative-hover"),ringErrorPressed:Oe("stroke-action-status-negative-pressed"),ringDisabled:Oe("stroke-action-disabled"),dot:Oe("fill-action-primary-strong-rest"),dotHover:Oe("fill-action-primary-strong-hover"),dotPressed:Oe("fill-action-primary-strong-pressed"),dotError:Oe("fill-action-status-negative-strong-rest"),dotErrorHover:Oe("fill-action-status-negative-strong-hover"),dotErrorPressed:Oe("fill-action-status-negative-strong-pressed"),dotDisabled:Oe("fill-action-disabled"),layerHover:Oe("fill-action-selection-hover"),layerPressed:Oe("fill-action-selection-selected"),focusFill:Oe("fill-surface-elevated"),focusRing:Oe("stroke-focusring-base"),label:Oe("foreground-static-neutral-base"),labelDisabled:Oe("foreground-action-disabled"),groupLabel:Oe("foreground-action-secondary-rest"),groupLabelError:Oe("foreground-action-status-negative-on-subtle-hover"),required:Oe("foreground-static-negative-on-subtle"),help:Oe("foreground-action-secondary-rest"),helpError:Oe("foreground-static-negative-on-subtle"),helpErrorIcon:Oe("fill-action-status-negative-strong-rest")},Ne={target:In("accessibility-touch-target-aa-width"),targetH:In("accessibility-touch-target-aa-height"),ringWidth:n9("selection-controls-borderwidth"),radius:In("cornerradius-full"),controlGap:In("gap-xxtight"),requiredGap:In("gap-xxxtight"),rowGap:In("gap-base"),labelEnd:In("padding-base"),labelBlock:{Base:In("padding-tight"),Large:In("padding-xtight")},helpGap:In("gap-tight"),helpIconTop:In("borderwidth-base"),ring:{Base:20,Large:24},dot:{Base:10,Large:12},labelMax:480,helpMax:360,helpIcon:16},jr={Base:{fontSize:Ht("font-size-s"),lineHeight:Ht("line-height-s-single"),letterSpacing:Ht("letter-spacing-spacious")},Large:{fontSize:Ht("font-size-r"),lineHeight:Ht("line-height-r-single"),letterSpacing:Ht("letter-spacing-wide")},group:{fontSize:Ht("font-size-s"),lineHeight:Ht("line-height-s-single"),letterSpacing:Ht("letter-spacing-spacious"),fontWeight:Ht("weight-medium")},help:{fontSize:Ht("font-size-xs"),lineHeight:Ht("line-height-xs-single"),letterSpacing:Ht("letter-spacing-extraspacious")}},gC=`
140
- .pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${Ne.controlGap};min-width:0;
141
- font-family:${Ht("family-brand")},sans-serif}
142
- .pw-radio-group__label{display:inline-flex;gap:${Ne.requiredGap};color:${He.groupLabel};
143
- font-size:${jr.group.fontSize};line-height:${jr.group.lineHeight};letter-spacing:${jr.group.letterSpacing};font-weight:${jr.group.fontWeight}}
144
- .pw-radio-group__required{color:${He.required}}
145
- .pw-radio-group[data-invalid] .pw-radio-group__label{color:${He.groupLabelError}}
146
- .pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${He.labelDisabled}}
139
+ }`.trim(),document.head.prepend(o);let a=c=>{if(!(c.touches.length===2||r)){if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()}},s=dg(),l=ir(Ft(document,"touchstart",n,{passive:!1,capture:!0}),Ft(document,"touchmove",a,{passive:!1,capture:!0}),cg());return()=>{e(),l(),o.remove(),s()}}function cg(){return Ft(document,"blur",t=>{let r=q(t),n=t.relatedTarget;n&&Qi(n)?n.focus():n||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function dg(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let r=()=>{xe()===this&&LC(this)};Lc(n=>n?r():K2(()=>r()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function LC(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t&&r.isConnected;){let n=lc(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let o=n.getBoundingClientRect(),i=r.getBoundingClientRect();if(i.top<o.top||i.bottom>o.top+r.clientHeight){let a=o.bottom;z2&&(a=Math.min(a,z2.offsetTop+z2.height));let s=i.top-o.top-((a-o.top)/2-i.height/2);n.scrollTo({top:Math.max(0,Math.min(n.scrollHeight-n.clientHeight,n.scrollTop+s)),behavior:"smooth"})}}r=n.parentElement}}var ug=S(D(),1);function W2(e,t){let{triggerRef:r,popoverRef:n,groupRef:o,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s,...l}=e,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:u}=sg({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i||c,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s},o??n),{overlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=og({...l,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:i&&!c?t.close:null,getTargetRect:l.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});lg({isDisabled:i||!t.isOpen}),(0,ug.useEffect)(()=>{if(t.isOpen&&n.current)return i?jh(o?.current??n.current):Uh([o?.current??n.current],{shouldUseInert:!0})},[i,t.isOpen,n,o]);let{focusWithinProps:$}=fn(e);return{popoverProps:le(d,p,$),arrowProps:b,underlayProps:u,placement:g,triggerAnchorPoint:y}}var U2={};U2={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var j2={};j2={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var G2={};G2={dismiss:"Odstranit"};var Z2={};Z2={dismiss:"Luk"};var Y2={};Y2={dismiss:"Schlie\xDFen"};var X2={};X2={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var q2={};q2={dismiss:"Dismiss"};var Q2={};Q2={dismiss:"Descartar"};var J2={};J2={dismiss:"L\xF5peta"};var e3={};e3={dismiss:"Hylk\xE4\xE4"};var t3={};t3={dismiss:"Rejeter"};var r3={};r3={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var n3={};n3={dismiss:"Odbaci"};var o3={};o3={dismiss:"Elutas\xEDt\xE1s"};var i3={};i3={dismiss:"Ignora"};var a3={};a3={dismiss:"\u9589\u3058\u308B"};var s3={};s3={dismiss:"\uBB34\uC2DC"};var l3={};l3={dismiss:"Atmesti"};var c3={};c3={dismiss:"Ner\u0101d\u012Bt"};var d3={};d3={dismiss:"Lukk"};var u3={};u3={dismiss:"Negeren"};var f3={};f3={dismiss:"Zignoruj"};var p3={};p3={dismiss:"Descartar"};var m3={};m3={dismiss:"Dispensar"};var h3={};h3={dismiss:"Revocare"};var g3={};g3={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var b3={};b3={dismiss:"Zru\u0161i\u0165"};var $3={};$3={dismiss:"Opusti"};var v3={};v3={dismiss:"Odbaci"};var y3={};y3={dismiss:"Avvisa"};var x3={};x3={dismiss:"Kapat"};var C3={};C3={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var w3={};w3={dismiss:"\u53D6\u6D88"};var S3={};S3={dismiss:"\u95DC\u9589"};var E3={};E3={"ar-AE":U2,"bg-BG":j2,"cs-CZ":G2,"da-DK":Z2,"de-DE":Y2,"el-GR":X2,"en-US":q2,"es-ES":Q2,"et-EE":J2,"fi-FI":e3,"fr-FR":t3,"he-IL":r3,"hr-HR":n3,"hu-HU":o3,"it-IT":i3,"ja-JP":a3,"ko-KR":s3,"lt-LT":l3,"lv-LV":c3,"nb-NO":d3,"nl-NL":u3,"pl-PL":f3,"pt-BR":p3,"pt-PT":m3,"ro-RO":h3,"ru-RU":g3,"sk-SK":b3,"sl-SI":$3,"sr-SP":v3,"sv-SE":y3,"tr-TR":x3,"uk-UA":C3,"zh-CN":w3,"zh-TW":S3};var k3=S(D(),1);function RC(e){return e&&e.__esModule?e.default:e}function If(e){let{onDismiss:t,...r}=e,n=x7(RC(E3),"@react-aria/overlays"),o=Wu(r,n.format("dismiss")),i=()=>{t&&t()};return k3.default.createElement(dc,null,k3.default.createElement("button",{...o,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}var ua=S(D(),1);function fg({children:e}){let t=(0,ua.useMemo)(()=>({register:()=>{}}),[]);return ua.default.createElement(oc.Provider,{value:t},e)}var Rc=S(D(),1),_C=(0,Rc.createContext)({});function pg(){return(0,Rc.useContext)(_C)??{}}var An=S(D(),1),mg=S(_n(),1),MC=An.default.createContext(null);function Nf(e){let t=si(),{portalContainer:r=t?null:document.body,isExiting:n}=e,[o,i]=(0,An.useState)(!1),a=(0,An.useMemo)(()=>({contain:o,setContain:i}),[o,i]),{getContainer:s}=pg();if(!e.portalContainer&&s&&(r=s()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=An.default.createElement(aa,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!n},l)),l=An.default.createElement(MC.Provider,{value:a},An.default.createElement(fg,null,An.default.createElement(ds.Provider,{value:null},l))),mg.default.createPortal(l,r)}var vs=S(D(),1);function _c(e){let[t,r]=fi(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[n,o]=(0,vs.useState)(null),i=(0,vs.useCallback)(()=>{r(!0)},[r]),a=(0,vs.useCallback)(()=>{r(!1)},[r]),s=(0,vs.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:i,close:a,toggle:s,point:n,setPoint:o}}var _e=S(D(),1);var hg=S(_n(),1),Ci=S(D(),1);function P3(e,t=!0,r){let[n,o]=(0,Ci.useState)(!0),i=n&&t;return ue(()=>{if(!t&&e.current)return ir(Jn(e.current,"opacity","0"),Jn(e.current,"clip","rect(0 0 0 0)"),Jn(e.current,"clip-path","inset(50%)"),Jn(e.current,"mask-image","linear-gradient(#0000, #0000)"))},[e,t]),ue(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,i]),gg(e,i,r,(0,Ci.useCallback)(()=>o(!1),[])),i}function T3(e,t,r){let[n,o]=(0,Ci.useState)(t?"open":"closed");switch(n){case"open":t||o("exiting");break;case"closed":case"exiting":t&&o("open");break}let i=n==="exiting";return gg(e,i,r,(0,Ci.useCallback)(()=>{o(a=>a==="exiting"?"closed":a)},[])),i}function gg(e,t,r,n){let o=(0,Ci.useRef)(null),i=yt(r);ue(()=>{if(t&&e.current&&o.current!==t){if(o.current=t,!("getAnimations"in e.current)){n();return}let a=i?.(e.current),s=e.current.getAnimations().filter(l=>(typeof DocumentTimeline>"u"||l.timeline instanceof DocumentTimeline)&&l.playState==="running");if(s.length===0&&!a){n();return}Promise.all([a,...s.map(l=>l.finished)]).then(()=>{(0,hg.flushSync)(()=>{n()})}).catch(()=>{})}o.current=t},[e,t,n])}var Mc=(0,_e.createContext)(null),bg=(0,_e.createContext)(null),L3=(0,_e.forwardRef)(function(t,r){[t,r]=Dt(t,r,Mc);let n=(0,_e.useContext)(Ic),o=_c(t),i=t.isOpen!=null||t.defaultOpen!=null||!n?o:n,a=T3(r,i.isOpen),s=t.isExiting||!t.shouldSkipAnimation&&a||!1,l=o2(),{direction:c}=hr();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),_e.default.createElement(_e.default.Fragment,null,d)}return i&&!i.isOpen&&!s?null:_e.default.createElement(IC,{...t,triggerRef:t.triggerRef,state:i,popoverRef:r,isExiting:s,dir:c})});function IC({state:e,isExiting:t,UNSTABLE_portalContainer:r,clearContexts:n,...o}){let i=(0,_e.useRef)(null),a=(0,_e.useRef)(null),s=(0,_e.useContext)(bg),l=s&&o.trigger==="SubmenuTrigger",[c,d]=(0,_e.useState)(!1),{popoverProps:u,underlayProps:p,arrowProps:b,placement:g,triggerAnchorPoint:y}=W2({...o,offset:o.offset??8,arrowRef:i,groupRef:l?s:a},e),$=o.popoverRef,m=P3($,!!g&&c),f=o.isEntering||!o.shouldSkipAnimation&&m||!1,h=qt({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:g,isEntering:f,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[x,w]=(0,_e.useState)(o.trigger==="PreviewTrigger");ue(()=>{$.current&&w(v&&!$.current.querySelector("[role=dialog]"))},[$,v]),(0,_e.useEffect)(()=>{x&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||to()!=="pointer")&&$.current&&!di($.current)&&un($.current)},[x,$,o.trigger]);let P=(0,_e.useMemo)(()=>{let I=h.children;for(let C of[Mc,...n??[]])I=_e.default.createElement(C.Provider,{value:null},I);return I},[h.children,n]),[k,T]=(0,_e.useState)(null),E=(0,_e.useCallback)(()=>{o.triggerRef.current&&T(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);ue(E,[E]),$s({ref:h.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:E});let F={...u.style,"--trigger-anchor-point":y?`${y.x}px ${y.y}px`:void 0,...h.style,"--trigger-width":h.style?.["--trigger-width"]||k};ue(()=>Lc(()=>d(!0)),[]);let _=_e.default.createElement(rt.div,{...le(ze(o,{global:!0}),u),...h,id:x?o.id:void 0,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"],ref:$,slot:o.slot||void 0,style:F,dir:o.dir,"data-trigger":o.trigger,"data-placement":g,"data-entering":f||void 0,"data-exiting":t||void 0},!o.isNonModal&&_e.default.createElement(If,{onDismiss:e.close}),_e.default.createElement(Vh.Provider,{value:{...b,placement:g,ref:i}},P),_e.default.createElement(If,{onDismiss:e.close}));return l?_e.default.createElement(Nf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r??s?.current??void 0},_):_e.default.createElement(Nf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r},!o.isNonModal&&e.isOpen&&_e.default.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),_e.default.createElement("div",{ref:a,style:{display:"contents"}},_e.default.createElement(bg.Provider,{value:a},_)))}var ys=S(D(),1),Df=(0,ys.createContext)({}),R3=(0,ys.forwardRef)(function(t,r){return[t,r]=Dt(t,r,Df),ys.default.createElement(rt.kbd,{dir:"ltr",...t,ref:r})});var Ff=new WeakMap;function _3(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:i,...a}=e;!e["aria-label"]&&e["aria-labelledby"];let s=ze(e,{labelable:!0}),{listProps:l}=xf({...a,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Ff.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:le(s,{onKeyDown:o,onKeyUp:i},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||e.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}var M3=S(D(),1);function I3(e,t,r){let{id:n,key:o,closeOnSelect:i,shouldCloseOnSelect:a,isVirtualized:s,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:u,onPressChange:p,onPressEnd:b,onClick:g,onHoverStart:y,onHoverChange:$,onHoverEnd:m,onKeyDown:f,onKeyUp:h,onFocus:v,onFocusChange:x,onBlur:w,selectionManager:P=t.selectionManager}=e,k=!!l,T=k&&e["aria-expanded"]==="true",E=e.isDisabled??P.isDisabled(o),F=e.isSelected??P.isSelected(o),_=Ff.get(t),I=t.collection.getItem(o),C=e.onClose||_.onClose,L=Yi(),O=()=>{if(!k&&(I?.props?.onAction?I.props.onAction():e.onAction&&e.onAction(o),_.onAction)){let Le=_.onAction;Le(o,I?.value)}},M="menuitem";k||(P.selectionMode==="single"?M="menuitemradio":P.selectionMode==="multiple"&&(M="menuitemcheckbox"));let Z=qn(),R=qn(),te=qn(),X={id:n,"aria-disabled":E||void 0,role:M,"aria-label":e["aria-label"],"aria-labelledby":Z,"aria-describedby":[e["aria-describedby"],R,te].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(P.selectionMode!=="none"&&!k&&(X["aria-checked"]=F),s){let Le=Number(I?.index);X["aria-posinset"]=Number.isNaN(Le)?void 0:Le+1,X["aria-setsize"]=yc(t.collection)}let K=(0,M3.useRef)(!1),j=Le=>{p?.(Le),K.current=Le},z=(0,M3.useRef)(null),N=Le=>{Le.pointerType!=="keyboard"&&(z.current={pointerType:Le.pointerType}),Le.pointerType==="mouse"&&(K.current||Le.target.click()),d?.(Le)},ie=Le=>{g?.(Le),O(),r7(Le,L,I.props.href,I?.props.routerOptions);let Oe=z.current?.pointerType==="keyboard"?z.current?.key==="Enter"||P.selectionMode==="none"||P.isLink(o):P.selectionMode!=="multiple"||P.isLink(o);Oe=a??i??Oe,C&&!k&&Oe&&C(),z.current=null},{itemProps:J,isFocused:Ee}=Cf({id:n,selectionManager:P,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:_.shouldUseVirtualFocus}),{pressProps:ft,isPressed:ce}=Io({onPressStart:c,onPress:u,onPressUp:N,onPressChange:j,onPressEnd:b,isDisabled:E}),{hoverProps:H}=Nn({isDisabled:E,onHoverStart(Le){!In()&&!(T&&l)&&(P.setFocused(!0),P.setFocusedKey(o)),y?.(Le)},onHoverChange:$,onHoverEnd:m}),{keyboardProps:V}=Ir({shortcuts:{" ":Le=>{z.current={pointerType:"keyboard",key:" "},q(Le).click(),ui("keyboard")},Enter:Le=>{z.current={pointerType:"keyboard",key:"Enter"};let Oe=q(Le);if(Oe.tagName!=="A"){Oe.click(),ui("keyboard");return}return ui("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:f,onKeyUp:h}),{focusableProps:de}=Ju({onBlur:w,onFocus:v,onFocusChange:x},r),Y=ze(I?.props);delete Y.id;let je=Ou(I?.props);return{menuItemProps:{...X,...le(Y,je,k?{onFocus:J.onFocus,"data-collection":J["data-collection"],"data-key":J["data-key"]}:J,ft,H,V,de,_.shouldUseVirtualFocus||k?{onMouseDown:Le=>Le.preventDefault()}:void 0,E?void 0:{onClick:ie}),tabIndex:J.tabIndex!=null&&T&&!_.shouldUseVirtualFocus?-1:J.tabIndex},labelProps:{id:Z},descriptionProps:{id:R},keyboardShortcutProps:{id:te},isFocused:Ee,isFocusVisible:Ee&&P.isFocused&&In()&&!T,isSelected:F,isPressed:ce,isDisabled:E}}function N3(e){let{heading:t,"aria-label":r}=e,n=kt();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}var D3=S(D(),1);function xs(e){let t=_c(e),[r,n]=(0,D3.useState)(null),[o,i]=(0,D3.useState)([]),a=()=>{i([]),t.close()};return{focusStrategy:r,...t,open(c=null){n(c),t.open()},toggle(c=null){n(c),t.toggle()},close(){a()},expandedKeysStack:o,openSubmenu:(c,d)=>{i(u=>d>u.length?u:[...u.slice(0,d),c])},closeSubmenu:(c,d)=>{i(u=>u[d]===c?u.slice(0,d):u)}}}var be=S(D(),1);var Hf=class{constructor(t,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,r=r||new Set;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let s of a.childNodes)n(s)};for(let a of t)n(a);let o=null,i=0;for(let[a,s]of this.keyMap)o?(o.nextKey=a,s.prevKey=o.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=i++),o=s,o.nextKey=void 0;this.lastKey=o?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);return r?r.prevKey??null:null}getKeyAfter(t){let r=this.keyMap.get(t);return r?r.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){let r=[...this.getKeys()];return this.getItem(r[t])}};var Cs=S(D(),1);function F3(e){let{onExpandedChange:t}=e,[r,n]=fi(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=ca(e),i=(0,Cs.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=kf(e,(0,Cs.useCallback)(l=>new Hf(l,{expandedKeys:r}),[r]),null);return(0,Cs.useEffect)(()=>{o.focusedKey!=null&&!a.getItem(o.focusedKey)&&o.setFocusedKey(null)},[a,o.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:i,toggleKey:l=>{n(NC(r,l))},setExpandedKeys:n,selectionManager:new Fo(a,o)}}function NC(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Of=(0,be.createContext)(null),Fc=(0,be.createContext)(null),Nc=(0,be.createContext)(null),Af=(0,be.createContext)(null);var DC=(0,be.createContext)(null),$g=class extends dn{static{this.type="submenutrigger"}filter(t,r,n){let o=t.getItem(this.firstChildKey);if(o&&n(o.textValue,this)){let i=this.clone();return r.addDescendants(i,t),i}return null}};var A3=(0,be.forwardRef)(function(t,r){return[t,r]=Dt(t,r,Of),be.default.createElement(rc,{content:be.default.createElement(nc,t)},n=>be.default.createElement(FC,{props:t,collection:n,menuRef:r}))});function FC({props:e,collection:t,menuRef:r}){[e,r]=Dt(e,r,Gl);let{filter:n,...o}=e,i=(0,be.useMemo)(()=>n?t.filter(n):t,[t,n]),a=F3({...e,collection:i,children:void 0}),s=(0,be.useContext)(Nc),{isVirtualized:l,CollectionRoot:c}=(0,be.useContext)(mi),{menuProps:d}=_3({...e,isVirtualized:l,onClose:e.onClose||s?.close},a,r),u=qt({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:a.collection.size===0}}),p=null;a.collection.size===0&&e.renderEmptyState&&(p=be.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let b=ze(e,{global:!0});return be.default.createElement(aa,null,be.default.createElement(rt.div,{...le(b,u,d),ref:r,slot:e.slot||void 0,"data-empty":a.collection.size===0||void 0,onScroll:e.onScroll},be.default.createElement(ln,{values:[[Fc,a],[bf,{elementType:"div"}],[tf,{name:"MenuSection",render:HC}],[DC,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[Dc,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Gl,null],[C7,null],[Af,a.selectionManager],[Nc,s??xs({})]]},be.default.createElement(gs,null,be.default.createElement(c,{collection:a.collection,persistedKeys:B7(a.selectionManager.focusedKey),scrollRef:r}))),p))}var H3=class extends Fo{constructor(t,r){super(t.collection,r),this.parent=t}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,r){return this.parent.setFocusedKey(t,r)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function HC(e,t,r,n="react-aria-MenuSection"){let o=(0,be.useContext)(Fc),{CollectionBranch:i}=(0,be.useContext)(mi),[a,s]=ts(),{headingProps:l,groupProps:c}=N3({heading:s,"aria-label":r.props["aria-label"]??void 0}),d=qt({...e,id:void 0,children:void 0,defaultClassName:n,className:r.props?.className,style:r.props?.style,values:void 0}),u=(0,be.useContext)(Af),p=ca(e),b=e.selectionMode!=null?new H3(u,p):u,g=Gi(Dc)?.shouldCloseOnSelect,y=ze(e,{global:!0});return delete y.id,be.default.createElement(rt.section,{...le(y,d,c),ref:t},be.default.createElement(ln,{values:[[mf,{...l,ref:a}],[Af,b],[Dc,{shouldCloseOnSelect:e.shouldCloseOnSelect??g}]]},be.default.createElement(i,{collection:o.collection,parent:r})))}var Dc=(0,be.createContext)(null),O3=na(ta,function(t,r,n){[t,r]=Dt(t,r,Dc);let o=Gi(Dc)?.id,i=(0,be.useContext)(Fc),a=Qn(r),s=(0,be.useContext)(Af),{isVirtualized:l}=(0,be.useContext)(mi),{menuItemProps:c,labelProps:d,descriptionProps:u,keyboardShortcutProps:p,...b}=I3({...t,id:o,key:n.key,selectionManager:s,isVirtualized:l},i,a),{hoverProps:g,isHovered:y}=Nn({isDisabled:b.isDisabled}),$=qt({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...b,isHovered:y,isFocusVisible:b.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),m=t.href?rt.a:rt.div,f=ze(t,{global:!0});return delete f.id,delete f.onClick,be.default.createElement(m,{...le(f,$,c,g),ref:a,"data-disabled":b.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-selected":b.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},be.default.createElement(ln,{values:[[$i,{slots:{[es]:d,label:d,description:u}}],[Df,p],[gf,{isSelected:b.isSelected}]]},$.children))}),AC=na(ea,function(t,r,n){let o=(0,be.useContext)(Fc),{isLoading:i,onLoadMore:a,scrollOffset:s,...l}=t,c=(0,be.useRef)(null),d=(0,be.useMemo)(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[a,s,o?.collection]);wc(d,c);let u=qt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),p={tabIndex:-1};return be.default.createElement(be.default.Fragment,null,be.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:xc(!0)},be.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),i&&u.children&&be.default.createElement(be.default.Fragment,null,be.default.createElement(rt.div,{...le(ze(t,{global:!0}),p),...u,role:"menuitem",ref:r},u.children)))});var ws=S(D(),1);var Ic=(0,ws.createContext)(null);var Bf=new WeakMap;var vg=S(D(),1);function B3(e,t,r){let{value:n,children:o,"aria-label":i,"aria-labelledby":a,onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p}=e,b=e.isDisabled||t.isDisabled,g=o!=null,y=i!=null||a!=null,$=t.selectedValue===n,m=O=>{O.stopPropagation(),t.setSelectedValue(n)},{pressProps:f,isPressed:h}=Io({onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p,isDisabled:b}),{pressProps:v,isPressed:x}=Io({onPressStart:s,onPressEnd:l,onPressChange:c,onPressUp:u,onClick:p,isDisabled:b,onPress(O){d?.(O),t.setSelectedValue(n),r.current?.focus()}}),{focusableProps:w}=Ju(le(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),P=le(f,w),k=ze(e,{labelable:!0}),T=-1;t.selectedValue!=null?t.selectedValue===n&&(T=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(T=0),b&&(T=void 0);let{name:E,form:F,descriptionId:_,errorMessageId:I,validationBehavior:C}=Bf.get(t);dh(r,t.defaultSelectedValue,t.setSelectedValue),uh({validationBehavior:C},t,r);let L=fh();return{labelProps:le(v,(0,vg.useMemo)(()=>({onClick:O=>O.preventDefault(),onMouseDown:O=>O.preventDefault()}),[])),inputProps:le(k,{...P,type:"radio",name:E,form:F,tabIndex:T,disabled:b,required:t.isRequired&&C==="native",checked:$,value:n,onChange:m,"aria-describedby":[e["aria-describedby"],L.id,t.isInvalid?I:null,_].filter(Boolean).join(" ")||void 0}),descriptionProps:L,isDisabled:b,isSelected:$,isPressed:h||x}}function K3(e,t){let{name:r,form:n,isReadOnly:o,isRequired:i,isDisabled:a,orientation:s="vertical",validationBehavior:l="aria"}=e,{direction:c}=hr(),{isInvalid:d,validationErrors:u,validationDetails:p}=t.displayValidation,{labelProps:b,fieldProps:g,descriptionProps:y,errorMessageProps:$}=lh({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),m=ze(e,{labelable:!0}),{focusWithinProps:f}=fn({onBlurWithin(w){e.onBlur?.(w),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function h(w,P){let k=pn(P.currentTarget,{from:q(P),accept:E=>E instanceof He(E).HTMLInputElement&&E.type==="radio"}),T;return w==="next"?(T=k.nextNode(),T||(k.currentNode=P.currentTarget,T=k.firstChild())):(T=k.previousNode(),T||(k.currentNode=P.currentTarget,T=k.lastChild())),T?(T.focus(),t.setSelectedValue(T.value),!0):!1}let{keyboardProps:v}=Ir({shortcuts:{ArrowRight:w=>h(c==="rtl"&&s!=="vertical"?"prev":"next",w),ArrowLeft:w=>h(c==="rtl"&&s!=="vertical"?"next":"prev",w),ArrowDown:w=>h("next",w),ArrowUp:w=>h("prev",w)},allowRepeats:!0}),x=kt(r);return Bf.set(t,{name:x,form:n,descriptionId:y.id,errorMessageId:$.id,validationBehavior:l}),{radioGroupProps:le(m,{role:"radiogroup",...v,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":s,...g,...f}),labelProps:b,descriptionProps:y,errorMessageProps:$,isInvalid:d,validationErrors:u,validationDetails:p}}var Hc=S(D(),1),OC=Math.round(Math.random()*1e10),BC=0;function z3(e){let t=(0,Hc.useMemo)(()=>e.name||`radio-group-${OC}-${++BC}`,[e.name]),[r,n]=fi(e.value,e.defaultValue??null,e.onChange),[o]=(0,Hc.useState)(r),[i,a]=(0,Hc.useState)(null),s=ah({...e,value:r}),l=d=>{!e.isReadOnly&&!e.isDisabled&&(n(d),s.commitValidation())},c=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?o:e.defaultValue??null,setSelectedValue:l,lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}var nt=S(D(),1);var yg=(0,nt.createContext)(null),xg=(0,nt.createContext)(null);var Kf=(0,nt.createContext)(null),V3=(0,nt.forwardRef)(function(t,r){[t,r]=Dt(t,r,yg);let{validationBehavior:n}=Gi(sh)||{},o=t.validationBehavior??n??"native",i=z3({...t,validationBehavior:o}),[a,s]=ts(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:d,errorMessageProps:u,...p}=K3({...t,label:s,validationBehavior:o},i),b=qt({...t,values:{orientation:t.orientation||"vertical",isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-RadioGroup"}),g=ze(t,{global:!0});return nt.default.createElement(rt.div,{...le(g,b,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},nt.default.createElement(ln,{values:[[Kf,i],[sf,{...c,ref:a,elementType:"span"}],[$i,{slots:{description:d,errorMessage:u}}],[th,p]]},nt.default.createElement(gs,null,b.children)))}),W3=(0,nt.forwardRef)(function(t,r){let{inputRef:n=null,...o}=t;[t,r]=Dt(o,r,xg);let i=nt.default.useContext(Kf),a=Qn((0,nt.useMemo)(()=>ci(n,t.inputRef!==void 0?t.inputRef:null),[n,t.inputRef])),s=B3({...Y8(t),children:typeof t.children=="function"?!0:t.children},i,a);return nt.default.createElement(Cg.Provider,{value:{...s,inputRef:a,defaultClassName:"react-aria-Radio"}},nt.default.createElement(wg,{...t,ref:r}))}),Cg=(0,nt.createContext)(null);var wg=(0,nt.forwardRef)(function(t,r){let{labelProps:n,inputProps:o,isSelected:i,isDisabled:a,isPressed:s,defaultClassName:l,inputRef:c}=(0,nt.useContext)(Cg),d=nt.default.useContext(Kf),{isFocused:u,isFocusVisible:p,focusProps:b}=ac(),g=a||d.isReadOnly,{hoverProps:y,isHovered:$}=Nn({...t,isDisabled:g}),m=qt({...t,defaultClassName:l,values:{isSelected:i,isPressed:s,isHovered:$,isFocused:u,isFocusVisible:p,isDisabled:a,isReadOnly:d.isReadOnly,isInvalid:d.isInvalid,isRequired:d.isRequired}}),f=ze(t,{global:!0});return delete f.id,delete f.onClick,nt.default.createElement(rt.label,{...le(f,n,y,m),ref:r,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":$||void 0,"data-focused":u||void 0,"data-focus-visible":p||void 0,"data-disabled":a||void 0,"data-readonly":d.isReadOnly||void 0,"data-invalid":d.isInvalid||void 0,"data-required":d.isRequired||void 0},nt.default.createElement(dc,{elementType:"span"},nt.default.createElement("input",{...le(o,b),ref:c})),m.children)});var Ho=S(D(),1);var Xr=S(he(),1),Re={focusOutline:"var(--contextual-layout-units-focusring-width) solid var(--semantic-color-stroke-focusring-base)",focusOffset:"0",fillCheckedBase:"var(--semantic-color-fill-action-primary-strong-rest)",fillCheckedHover:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedFocused:"var(--semantic-color-fill-action-primary-strong-hover)",fillCheckedPressed:"var(--semantic-color-fill-action-primary-strong-pressed)",fillCheckedDisabled:"var(--semantic-color-fill-action-disabled)",borderBase:"var(--semantic-color-stroke-action-secondary-rest)",borderHover:"var(--semantic-color-stroke-action-secondary-hover)",borderFocused:"var(--semantic-color-stroke-action-secondary-hover)",borderPressed:"var(--semantic-color-stroke-action-secondary-pressed)",borderDisabled:"var(--semantic-color-stroke-action-disabled)",iconPrimary:"var(--semantic-color-foreground-action-primary-on-strong)",iconError:"var(--semantic-color-foreground-action-status-negative-on-strong)",stateLayerUncheckedHover:"var(--semantic-color-fill-action-secondary-hover)",stateLayerCheckedHover:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedFocused:"var(--semantic-color-fill-action-primary-subtle-hover)",stateLayerCheckedPressed:"var(--semantic-color-fill-action-primary-subtle-pressed)",fillErrorBase:"var(--semantic-color-fill-action-status-negative-strong-rest)",fillErrorHover:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorFocused:"var(--semantic-color-fill-action-status-negative-strong-hover)",fillErrorPressed:"var(--semantic-color-fill-action-status-negative-strong-pressed)",fillErrorDisabled:"var(--semantic-color-fill-action-disabled)",borderErrorBase:"var(--semantic-color-stroke-action-status-negative-rest)",borderErrorHover:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorFocused:"var(--semantic-color-stroke-action-status-negative-hover)",borderErrorPressed:"var(--semantic-color-stroke-action-status-negative-pressed)",borderErrorDisabled:"var(--semantic-color-stroke-action-disabled)",stateLayerErrorHover:"var(--semantic-color-fill-action-status-negative-subtle-hover)",stateLayerHighlightHover:"var(--semantic-color-fill-action-primary-subtle-hover)",labelColor:"var(--semantic-color-foreground-static-neutral-base)",radius:"var(--semantic-layout-units-cornerradius-small)",radiusFull:"100px"},Sg={default:18,s:16},Eg=44,U3=1.5,WC=16;function UC({color:e,size:t}){return(0,Xr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Xr.jsx)("path",{d:"M4 9.5L7.5 13L14 6",stroke:e,strokeWidth:U3,strokeLinecap:"round",strokeLinejoin:"round"})})}function jC({color:e,size:t}){return(0,Xr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Xr.jsx)("path",{d:"M5 9H13",stroke:e,strokeWidth:U3,strokeLinecap:"round"})})}function zf({checked:e=!1,indeterminate:t=!1,error:r=!1,highlight:n=!1,secondary:o=!1,disabled:i=!1,size:a="default",label:s,onChange:l,id:c,name:d,value:u,className:p="",describedBy:b}){let g=Et(),y=(0,Ho.useRef)(null),[$,m]=(0,Ho.useState)(!1),[f,h]=(0,Ho.useState)(!1),[v,x]=(0,Ho.useState)(!1),[w,P]=(0,Ho.useState)(!1);(0,Ho.useEffect)(()=>{y.current&&(y.current.indeterminate=t)},[t]);let k=Sg[a]||Sg.default,T="transparent";i&&(e||t)?T=r?Re.fillErrorDisabled:Re.fillCheckedDisabled:!i&&(e||t)&&(r?T=w?Re.fillErrorPressed:f?Re.fillErrorFocused:$?Re.fillErrorHover:Re.fillErrorBase:T=w?Re.fillCheckedPressed:f?Re.fillCheckedFocused:$?Re.fillCheckedHover:Re.fillCheckedBase);let E;e||t?E=T:i?E=r?Re.borderErrorDisabled:Re.borderDisabled:r?E=w?Re.borderErrorPressed:f?Re.borderErrorFocused:$?Re.borderErrorHover:Re.borderErrorBase:E=w?Re.borderPressed:f?Re.borderFocused:$?Re.borderHover:Re.borderBase;let F="transparent";i||(w?F=e||t?Re.stateLayerCheckedPressed:r?Re.stateLayerErrorHover:Re.stateLayerUncheckedHover:($||f)&&(e||t?F=r?Re.stateLayerErrorHover:f?Re.stateLayerCheckedFocused:Re.stateLayerCheckedHover:F=r?Re.stateLayerErrorHover:n?Re.stateLayerHighlightHover:Re.stateLayerUncheckedHover));let _=f&&r?"0 0 0 3px var(--semantic-color-fill-static-negative-subtle)":"none",I=r?Re.iconError:Re.iconPrimary,C=e||t;return(0,Xr.jsxs)("label",{className:`pds-checkbox${a==="s"?" pds-checkbox--s":""}${r?" pds-checkbox--error":""}${n?" pds-checkbox--highlight":""}${i?" pds-checkbox--disabled":""}${p?` ${p}`:""}`,style:{display:"inline-flex",alignItems:"center",gap:s?WC:0,cursor:i?"not-allowed":"pointer",userSelect:"none",fontFamily:"'Red Hat Text', sans-serif"},onMouseEnter:()=>!i&&m(!0),onMouseLeave:()=>{m(!1),P(!1)},onMouseDown:()=>!i&&P(!0),onMouseUp:()=>P(!1),children:[(0,Xr.jsxs)("span",{"aria-hidden":"true",style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:Eg,height:Eg,borderRadius:Re.radiusFull,backgroundColor:F,transition:g?"none":"background-color var(--motion-duration-3) var(--motion-easing-standard)",boxShadow:_,flexShrink:0},children:[(0,Xr.jsx)("input",{ref:y,type:"checkbox",id:c,name:d,value:u,checked:t?!1:e,disabled:i,"aria-describedby":b,onChange:L=>l&&l(L.target.checked),onFocus:L=>{h(!0),x(L.target.matches(":focus-visible"))},onBlur:()=>{h(!1),x(!1)},style:{position:"absolute",width:k,height:k,opacity:0,margin:0,padding:0,cursor:i?"not-allowed":"pointer",zIndex:1}}),(0,Xr.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:k,height:k,borderRadius:Re.radius,border:`${U3}px solid ${v&&!i?"transparent":E}`,backgroundColor:T,boxSizing:"border-box",outline:v&&!i?Re.focusOutline:"none",outlineOffset:Re.focusOffset,transition:g?"none":"background-color var(--motion-duration-2) var(--motion-easing-decelerate), border-color var(--motion-duration-2) var(--motion-easing-decelerate)",flexShrink:0},children:C&&(t?(0,Xr.jsx)(jC,{color:I,size:k}):(0,Xr.jsx)(UC,{color:I,size:k}))})]}),s&&(0,Xr.jsx)("span",{style:{fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",fontWeight:400,color:i?"var(--semantic-color-foreground-static-neutral-base)":Re.labelColor},children:s})]})}var Ss=S(D(),1);var xt=S(he(),1),Ke=e=>`var(--semantic-color-${e})`,On=e=>`var(--semantic-layout-units-${e})`,kg=e=>`var(--contextual-layout-units-${e})`,Vt=e=>`var(--semantic-type-${e})`,ao=e=>`var(--motion-${e})`;var Ae={ring:Ke("stroke-action-secondary-rest"),ringHover:Ke("stroke-action-secondary-hover"),ringPressed:Ke("stroke-action-secondary-pressed"),ringOn:Ke("stroke-action-primary-strong-rest"),ringOnHover:Ke("stroke-action-primary-strong-hover"),ringOnPressed:Ke("stroke-action-primary-strong-pressed"),ringError:Ke("stroke-action-status-negative-rest"),ringErrorHover:Ke("stroke-action-status-negative-hover"),ringErrorPressed:Ke("stroke-action-status-negative-pressed"),ringDisabled:Ke("stroke-action-disabled"),dot:Ke("fill-action-primary-strong-rest"),dotHover:Ke("fill-action-primary-strong-hover"),dotPressed:Ke("fill-action-primary-strong-pressed"),dotError:Ke("fill-action-status-negative-strong-rest"),dotErrorHover:Ke("fill-action-status-negative-strong-hover"),dotErrorPressed:Ke("fill-action-status-negative-strong-pressed"),dotDisabled:Ke("fill-action-disabled"),layerHover:Ke("fill-action-selection-hover"),layerPressed:Ke("fill-action-selection-selected"),focusFill:Ke("fill-surface-elevated"),focusRing:Ke("stroke-focusring-base"),label:Ke("foreground-static-neutral-base"),labelDisabled:Ke("foreground-action-disabled"),groupLabel:Ke("foreground-action-secondary-rest"),groupLabelError:Ke("foreground-action-status-negative-on-subtle-hover"),required:Ke("foreground-static-negative-on-subtle"),help:Ke("foreground-action-secondary-rest"),helpError:Ke("foreground-static-negative-on-subtle"),helpErrorIcon:Ke("fill-action-status-negative-strong-rest")},Fe={target:On("accessibility-touch-target-aa-width"),targetH:On("accessibility-touch-target-aa-height"),ringWidth:kg("selection-controls-borderwidth"),radius:On("cornerradius-full"),controlGap:On("gap-xxtight"),requiredGap:On("gap-xxxtight"),rowGap:On("gap-base"),labelEnd:On("padding-base"),labelBlock:{Base:On("padding-tight"),Large:On("padding-xtight")},helpGap:On("gap-tight"),helpIconTop:On("borderwidth-base"),ring:{Base:20,Large:24},dot:{Base:10,Large:12},labelMax:480,helpMax:360,helpIcon:16},qr={Base:{fontSize:Vt("font-size-s"),lineHeight:Vt("line-height-s-single"),letterSpacing:Vt("letter-spacing-spacious")},Large:{fontSize:Vt("font-size-r"),lineHeight:Vt("line-height-r-single"),letterSpacing:Vt("letter-spacing-wide")},group:{fontSize:Vt("font-size-s"),lineHeight:Vt("line-height-s-single"),letterSpacing:Vt("letter-spacing-spacious"),fontWeight:Vt("weight-medium")},help:{fontSize:Vt("font-size-xs"),lineHeight:Vt("line-height-xs-single"),letterSpacing:Vt("letter-spacing-extraspacious")}},GC=`
140
+ .pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${Fe.controlGap};min-width:0;
141
+ font-family:${Vt("family-brand")},sans-serif}
142
+ .pw-radio-group__label{display:inline-flex;gap:${Fe.requiredGap};color:${Ae.groupLabel};
143
+ font-size:${qr.group.fontSize};line-height:${qr.group.lineHeight};letter-spacing:${qr.group.letterSpacing};font-weight:${qr.group.fontWeight}}
144
+ .pw-radio-group__required{color:${Ae.required}}
145
+ .pw-radio-group[data-invalid] .pw-radio-group__label{color:${Ae.groupLabelError}}
146
+ .pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${Ae.labelDisabled}}
147
147
  .pw-radio-group__options{display:flex;flex-direction:column;max-width:100%}
148
- .pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${Ne.rowGap}}
149
- .pw-radio-group__help{display:flex;align-items:center;gap:${Ne.helpGap};max-width:${Ne.helpMax}px;color:${He.help};
150
- font-size:${jr.help.fontSize};line-height:${jr.help.lineHeight};letter-spacing:${jr.help.letterSpacing};font-weight:${Ht("weight-regular")}}
151
- .pw-radio-group__help[data-error]{color:${He.helpError};font-weight:${Ht("weight-semibold")}}
152
- .pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${Ne.helpIconTop};color:${He.helpErrorIcon}}
153
- .pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${Ne.helpIcon}px;line-height:1;
148
+ .pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${Fe.rowGap}}
149
+ .pw-radio-group__help{display:flex;align-items:center;gap:${Fe.helpGap};max-width:${Fe.helpMax}px;color:${Ae.help};
150
+ font-size:${qr.help.fontSize};line-height:${qr.help.lineHeight};letter-spacing:${qr.help.letterSpacing};font-weight:${Vt("weight-regular")}}
151
+ .pw-radio-group__help[data-error]{color:${Ae.helpError};font-weight:${Vt("weight-semibold")}}
152
+ .pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${Fe.helpIconTop};color:${Ae.helpErrorIcon}}
153
+ .pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${Fe.helpIcon}px;line-height:1;
154
154
  font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24}
155
155
 
156
- .pw-radio{display:flex;align-items:flex-start;gap:${Ne.controlGap};box-sizing:border-box;width:fit-content;max-width:100%;
157
- min-width:${Ne.target};min-height:${Ne.targetH};cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
158
- font-family:${Ht("family-brand")},sans-serif}
156
+ .pw-radio{display:flex;align-items:flex-start;gap:${Fe.controlGap};box-sizing:border-box;width:fit-content;max-width:100%;
157
+ min-width:${Fe.target};min-height:${Fe.targetH};cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
158
+ font-family:${Vt("family-brand")},sans-serif}
159
159
  .pw-radio[data-disabled]{cursor:not-allowed}
160
- .pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${Ne.target};height:${Ne.targetH};border-radius:${Ne.radius};
161
- transition:background-color ${Qn("duration-2")} ${Qn("easing-standard")}}
162
- .pw-radio__mark{box-sizing:border-box;display:inline-grid;place-items:center;width:${Ne.ring.Base}px;height:${Ne.ring.Base}px;
163
- border-radius:${Ne.radius};border:${Ne.ringWidth} solid ${He.ring};background:transparent;
164
- transition:border-color ${Qn("duration-2")} ${Qn("easing-standard")},background-color ${Qn("duration-2")} ${Qn("easing-standard")}}
165
- .pw-radio__dot{width:${Ne.dot.Base}px;height:${Ne.dot.Base}px;border-radius:${Ne.radius};background:${He.dot};transform:scale(0);
166
- transition:transform ${Qn("duration-3")} ${Qn("easing-burst")},background-color ${Qn("duration-2")} ${Qn("easing-standard")}}
167
- .pw-radio[data-size=Large] .pw-radio__mark{width:${Ne.ring.Large}px;height:${Ne.ring.Large}px}
168
- .pw-radio[data-size=Large] .pw-radio__dot{width:${Ne.dot.Large}px;height:${Ne.dot.Large}px}
169
- .pw-radio__label{box-sizing:border-box;min-width:0;max-width:${Ne.labelMax}px;overflow-wrap:anywhere;color:${He.label};
170
- padding:${Ne.labelBlock.Base} ${Ne.labelEnd} ${Ne.labelBlock.Base} 0;
171
- font-size:${jr.Base.fontSize};line-height:${jr.Base.lineHeight};letter-spacing:${jr.Base.letterSpacing};font-weight:${Ht("weight-regular")}}
172
- .pw-radio[data-size=Large] .pw-radio__label{padding-block:${Ne.labelBlock.Large};
173
- font-size:${jr.Large.fontSize};line-height:${jr.Large.lineHeight};letter-spacing:${jr.Large.letterSpacing}}
174
-
175
- .pw-radio[data-selected] .pw-radio__mark{border-color:${He.ringOn}}
160
+ .pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${Fe.target};height:${Fe.targetH};border-radius:${Fe.radius};
161
+ transition:background-color ${ao("duration-2")} ${ao("easing-standard")}}
162
+ .pw-radio__mark{box-sizing:border-box;display:inline-grid;place-items:center;width:${Fe.ring.Base}px;height:${Fe.ring.Base}px;
163
+ border-radius:${Fe.radius};border:${Fe.ringWidth} solid ${Ae.ring};background:transparent;
164
+ transition:border-color ${ao("duration-2")} ${ao("easing-standard")},background-color ${ao("duration-2")} ${ao("easing-standard")}}
165
+ .pw-radio__dot{width:${Fe.dot.Base}px;height:${Fe.dot.Base}px;border-radius:${Fe.radius};background:${Ae.dot};transform:scale(0);
166
+ transition:transform ${ao("duration-3")} ${ao("easing-burst")},background-color ${ao("duration-2")} ${ao("easing-standard")}}
167
+ .pw-radio[data-size=Large] .pw-radio__mark{width:${Fe.ring.Large}px;height:${Fe.ring.Large}px}
168
+ .pw-radio[data-size=Large] .pw-radio__dot{width:${Fe.dot.Large}px;height:${Fe.dot.Large}px}
169
+ .pw-radio__label{box-sizing:border-box;min-width:0;max-width:${Fe.labelMax}px;overflow-wrap:anywhere;color:${Ae.label};
170
+ padding:${Fe.labelBlock.Base} ${Fe.labelEnd} ${Fe.labelBlock.Base} 0;
171
+ font-size:${qr.Base.fontSize};line-height:${qr.Base.lineHeight};letter-spacing:${qr.Base.letterSpacing};font-weight:${Vt("weight-regular")}}
172
+ .pw-radio[data-size=Large] .pw-radio__label{padding-block:${Fe.labelBlock.Large};
173
+ font-size:${qr.Large.fontSize};line-height:${qr.Large.lineHeight};letter-spacing:${qr.Large.letterSpacing}}
174
+
175
+ .pw-radio[data-selected] .pw-radio__mark{border-color:${Ae.ringOn}}
176
176
  .pw-radio[data-selected] .pw-radio__dot{transform:scale(1)}
177
177
 
178
- .pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__control{background:${He.layerHover}}
179
- .pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__control{background:${He.layerPressed}}
180
- .pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${He.ringHover}}
181
- .pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${He.ringPressed}}
182
- .pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${He.ringOnHover}}
183
- .pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${He.dotHover}}
184
- .pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${He.ringOnPressed}}
185
- .pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${He.dotPressed}}
178
+ .pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__control{background:${Ae.layerHover}}
179
+ .pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__control{background:${Ae.layerPressed}}
180
+ .pw-radio:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringHover}}
181
+ .pw-radio:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringPressed}}
182
+ .pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringOnHover}}
183
+ .pw-radio[data-selected]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${Ae.dotHover}}
184
+ .pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringOnPressed}}
185
+ .pw-radio[data-selected]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${Ae.dotPressed}}
186
186
 
187
- .pw-radio[data-invalid] .pw-radio__mark{border-color:${He.ringError}}
188
- .pw-radio[data-invalid] .pw-radio__dot{background:${He.dotError}}
189
- .pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${He.ringErrorHover}}
190
- .pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${He.dotErrorHover}}
191
- .pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${He.ringErrorPressed}}
192
- .pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${He.dotErrorPressed}}
187
+ .pw-radio[data-invalid] .pw-radio__mark{border-color:${Ae.ringError}}
188
+ .pw-radio[data-invalid] .pw-radio__dot{background:${Ae.dotError}}
189
+ .pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__mark{border-color:${Ae.ringErrorHover}}
190
+ .pw-radio[data-invalid]:not([data-disabled]):is([data-hovered],[data-force=Hover]) .pw-radio__dot{background:${Ae.dotErrorHover}}
191
+ .pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__mark{border-color:${Ae.ringErrorPressed}}
192
+ .pw-radio[data-invalid]:not([data-disabled]):is([data-pressed],[data-force=Pressed]) .pw-radio__dot{background:${Ae.dotErrorPressed}}
193
193
 
194
- .pw-radio[data-disabled] .pw-radio__mark{border-color:${He.ringDisabled}}
195
- .pw-radio[data-disabled] .pw-radio__dot{background:${He.dotDisabled}}
196
- .pw-radio[data-disabled] .pw-radio__label{color:${He.labelDisabled}}
194
+ .pw-radio[data-disabled] .pw-radio__mark{border-color:${Ae.ringDisabled}}
195
+ .pw-radio[data-disabled] .pw-radio__dot{background:${Ae.dotDisabled}}
196
+ .pw-radio[data-disabled] .pw-radio__label{color:${Ae.labelDisabled}}
197
197
 
198
- .pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${He.focusFill};border-color:transparent;
199
- outline:${n9("focusring-width")} solid ${He.focusRing};outline-offset:0}
198
+ .pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${Ae.focusFill};border-color:transparent;
199
+ outline:${kg("focusring-width")} solid ${Ae.focusRing};outline-offset:0}
200
200
 
201
- .pw-radio-mark{display:inline-grid;place-items:center;width:${Ne.target};height:${Ne.targetH};flex:none}
201
+ .pw-radio-mark{display:inline-grid;place-items:center;width:${Fe.target};height:${Fe.targetH};flex:none}
202
202
 
203
203
  @media (prefers-reduced-motion: reduce){.pw-radio__control,.pw-radio__mark,.pw-radio__dot{transition:none}}
204
- `,L3=!1;function R3(){(0,hs.useEffect)(()=>{if(L3||typeof document>"u"||document.getElementById("pw-radio-css")){L3=!0;return}let e=document.createElement("style");e.id="pw-radio-css",e.textContent=gC,document.head.appendChild(e),L3=!0},[])}var o9=(0,hs.createContext)({size:"Base"});function a9({label:e,showLabel:t=!0,required:r=!1,helpText:n,error:o=!1,errorMessage:a,disabled:i=!1,orientation:s="Vertical",size:l="Base",value:c,defaultValue:d,onChange:u,name:p,className:b="",children:g,...y}){R3();let $=o&&a;return(0,ht.jsxs)(k3,{...y,name:p,value:c,defaultValue:d,onChange:u,isInvalid:o,isRequired:r,isDisabled:i,orientation:s==="Horizontal"?"horizontal":"vertical","aria-label":t?void 0:e,"data-size":l,className:`pw-radio-group${b?` ${b}`:""}`,children:[t&&e&&(0,ht.jsxs)(Yp,{className:"pw-radio-group__label",children:[e,r&&(0,ht.jsx)("span",{className:"pw-radio-group__required","aria-hidden":"true",children:"*"})]}),(0,ht.jsx)(o9.Provider,{value:{size:l},children:(0,ht.jsx)("div",{className:"pw-radio-group__options",children:g})}),$?(0,ht.jsxs)(qu,{slot:"errorMessage",className:"pw-radio-group__help","data-error":"",children:[(0,ht.jsx)("span",{className:"pw-radio-group__help-icon","aria-hidden":"true",children:(0,ht.jsx)("span",{className:"material-symbols-rounded",children:"error"})}),(0,ht.jsx)("span",{children:a})]}):n?(0,ht.jsx)(qu,{slot:"description",className:"pw-radio-group__help",children:n}):null]})}function i9({selected:e=!1,error:t=!1,disabled:r=!1,size:n="Base"}){return R3(),(0,ht.jsx)("span",{className:"pw-radio pw-radio-mark","aria-hidden":"true","data-size":n,"data-selected":e||void 0,"data-invalid":t||void 0,"data-disabled":r||void 0,children:(0,ht.jsx)("span",{className:"pw-radio__control",children:(0,ht.jsx)("span",{className:"pw-radio__mark",children:(0,ht.jsx)("span",{className:"pw-radio__dot"})})})})}function s9({value:e,text:t,children:r,showText:n=!0,size:o,disabled:a=!1,forceState:i,className:s="",...l}){R3();let c=(0,hs.useContext)(o9),d=o||c.size||"Base",u=r??t;return(0,ht.jsxs)(P3,{...l,value:e,isDisabled:a,"data-size":d,"data-force":i,className:`pw-radio${s?` ${s}`:""}`,children:[(0,ht.jsx)("span",{className:"pw-radio__control","aria-hidden":"true",children:(0,ht.jsx)("span",{className:"pw-radio__mark",children:(0,ht.jsx)("span",{className:"pw-radio__dot"})})}),n&&u!=null&&u!==""&&(0,ht.jsx)("span",{className:"pw-radio__label",children:u})]})}var RA=S(D(),1),ma=S($e(),1),l9=["neutral","brand","info","warning","danger","negative","positive","accent-amethyst","accent-jade","accent-seabreeze"],c9=["light","subtle","base","contrast","bold"],Tr=e=>`var(--semantic-color-${e})`,d9={neutral:{light:Tr("foreground-static-neutral-faint"),subtle:Tr("foreground-static-neutral-base"),base:Tr("foreground-static-neutral-base"),contrast:Tr("foreground-static-neutral-strong"),bold:Tr("foreground-static-neutral-bold")},brand:Tr("foreground-action-primary-on-subtle-rest"),info:Tr("foreground-static-info-on-subtle"),warning:Tr("foreground-static-attention-on-subtle"),danger:Tr("foreground-static-negative-on-subtle"),negative:Tr("foreground-static-negative-on-subtle"),positive:Tr("foreground-static-positive-on-subtle"),"accent-amethyst":Tr("foreground-static-info-on-subtle"),"accent-jade":Tr("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":Tr("foreground-static-accent-seabreeze-on-subtle")};function bC(e,t){let r=d9[e]??d9.neutral;return typeof r=="string"?r:r[t]??r.base}var $C=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],vC=[{frac:.32,off:0,opacity:1},{frac:.19,off:.4,opacity:.7},{frac:.09,off:.68,opacity:.45}];function u9({variant:e="ring",size:t,tone:r="neutral",emphasis:n="base",label:o="Loading",className:a,style:i}){l9.includes(r)||console.error(`[Spinner] Invalid tone "${r}". Allowed: ${l9.join(", ")}`),c9.includes(n)||console.error(`[Spinner] Invalid emphasis "${n}". Allowed: ${c9.join(", ")}`);let s=t==null?"1em":typeof t=="number"?`${t}px`:t,l={display:"inline-flex",alignItems:"center",justifyContent:"center",width:s,height:s,flexShrink:0,color:bC(r,n)},c=24,d=2.5,u=(c-d)/2,p=2*Math.PI*u;return(0,ma.jsxs)("span",{role:"status","aria-live":"polite","aria-label":o,className:a,"data-tone":r,"data-emphasis":n,"data-variant":e,style:{...l,...i},children:[e==="sunburst"?(0,ma.jsx)("svg",{viewBox:"0 0 12 12",width:"100%",height:"100%","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin var(--motion-duration-loop) var(--motion-easing-linear) infinite"},children:$C.map((b,g)=>(0,ma.jsx)("path",{d:b.d,opacity:b.opacity,stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},g))}):(0,ma.jsx)("svg",{viewBox:`0 0 ${c} ${c}`,width:"100%",height:"100%",fill:"none","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin 1400ms var(--motion-easing-linear) infinite"},children:vC.map((b,g)=>(0,ma.jsx)("circle",{cx:c/2,cy:c/2,r:u,stroke:"currentColor",strokeOpacity:b.opacity,strokeWidth:d,strokeLinecap:"round",strokeDasharray:`${b.frac*p} ${p}`,strokeDashoffset:-b.off*p},g))}),(0,ma.jsx)("span",{style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0},children:o})]})}var Pc=S(D(),1);var Ot=S($e(),1),At=e=>`var(--semantic-color-${e})`,Lr=e=>`var(--semantic-layout-units-${e})`,f9=e=>`var(--contextual-layout-units-${e})`,_f=e=>`var(--semantic-type-${e})`;var yC=["Neutral","Info","Positive","Negative"];var Mf={Neutral:{fill:"fill-static-neutral-base",strokeStrong:"stroke-static-neutral-bold",strokeSubtle:"stroke-static-neutral-bold",text:"foreground-static-neutral-bold",textNaked:"foreground-static-neutral-base"},Severe:{fill:"fill-static-severe-subtle",strokeStrong:"stroke-static-severe-strong",strokeSubtle:"stroke-static-severe-subtle",text:"foreground-static-severe-on-subtle"},Negative:{fill:"fill-static-negative-subtle",strokeStrong:"stroke-static-negative-strong",strokeSubtle:"stroke-static-negative-subtle",text:"foreground-static-negative-on-subtle"},Positive:{fill:"fill-static-positive-subtle",strokeStrong:"stroke-static-positive-strong",strokeSubtle:"stroke-static-positive-subtle",text:"foreground-static-positive-on-subtle"},Attention:{fill:"fill-static-attention-subtle",strokeStrong:"stroke-static-attention-strong",strokeSubtle:"stroke-static-attention-strong",text:"foreground-static-attention-on-subtle"},Info:{fill:"fill-static-info-subtle",strokeStrong:"stroke-static-info-strong",strokeSubtle:"stroke-static-info-subtle",text:"foreground-static-info-on-subtle"},"Accent 2":{fill:"fill-static-accent-jade-subtle",strokeStrong:"stroke-static-accent-jade",strokeSubtle:"stroke-static-accent-jade",text:"foreground-static-accent-jade-on-subtle"},"Accent 3":{fill:"fill-static-accent-mauve-subtle",strokeStrong:"stroke-static-accent-mauve",strokeSubtle:"stroke-static-accent-mauve",text:"foreground-static-accent-mauve-on-subtle"}},xC=e=>{let t=(yC.includes(e)?e:"Neutral").toLowerCase(),r=n=>At(n.replace("$",t));return{off:{fill:{rest:r("fill-action-status-$-subtle-rest"),hover:r("fill-action-status-$-subtle-hover"),pressed:r("fill-action-status-$-subtle-pressed")},stroke:{rest:r("stroke-action-status-$-rest"),hover:r("stroke-action-status-$-hover"),pressed:r("stroke-action-status-$-pressed")},text:{rest:r("foreground-action-status-$-on-subtle-rest"),hover:r("foreground-action-status-$-on-subtle-hover"),pressed:r("foreground-action-status-$-on-subtle-pressed")}},on:{fill:{rest:r("fill-action-status-$-strong-rest"),hover:r("fill-action-status-$-strong-hover"),pressed:r("fill-action-status-$-strong-pressed")},text:r("foreground-action-status-$-on-strong")}}},p9={Small:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:11,ico:12,contentMax:200,height:20},Medium:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:12,ico:14,contentMax:196,height:22},Large:{fontSize:"font-size-s",lineHeight:"line-height-xs-single",icon:14,ico:16,contentMax:192,height:24}},fn={radius:Lr("cornerradius-large"),radiusX:Lr("cornerradius-full"),border:Lr("borderwidth-base"),padTop:Lr("padding-xxxxtight"),padBottom:Lr("padding-xxxxtight"),padLeft:Lr("padding-xxxtight"),padRight:Lr("padding-xxtight"),gap:Lr("gap-xxxtight")},wt={pill:Lr("padding-xxxtight"),text:Lr("padding-xxxtight"),fieldGap:Lr("gap-xxtight"),rowGap:Lr("gap-xtight"),touchW:Lr("accessibility-touch-target-aa-width"),touchH:Lr("accessibility-touch-target-aa-height"),ring:At("stroke-focusring-base"),ringWidth:f9("focusring-width"),ringOffset:f9("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"},m9=(e,t="weight-medium")=>({fontFamily:"inherit",fontSize:_f(e.fontSize),lineHeight:_f(e.lineHeight),fontWeight:_f(t),letterSpacing:_f("letter-spacing-extraspacious"),whiteSpace:"nowrap"}),_3={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},h9={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:wt.touchW,minHeight:wt.touchH,boxSizing:"border-box",padding:0,margin:0,border:0,background:"transparent",font:"inherit",color:"inherit",textDecoration:"none",outline:"none"},g9=e=>e?`inset 0 0 0 ${fn.border} ${e}`:"none",b9=e=>e?{outline:`${wt.ringWidth} solid ${wt.ring}`,outlineOffset:wt.ringOffset}:{outline:"none"},$9=e=>e.height?{height:e.height,paddingTop:0,paddingBottom:0}:{},v9=`background ${wt.duration} ${wt.easing}, color ${wt.duration} ${wt.easing}, box-shadow ${wt.duration} ${wt.easing}`;function If({type:e="static",label:t,fieldLabel:r,showFieldLabel:n=!1,status:o="Neutral",size:a="Small",badgeStyle:i="Outline & Fill",leadingIcon:s,selectedIcon:l="check",trailingIcon:c,showTrailingIcon:d=!1,selected:u,defaultSelected:p=!1,onChange:b,onRemove:g,href:y,disabled:$=!1,removeDisabled:m=!1,forceState:f,className:h="",style:v,...x}){let w=p9[a]||p9.Small,[k,E]=(0,Pc.useState)(p),[T,P]=(0,Pc.useState)(!1),[F,R]=(0,Pc.useState)(!1),[_,C]=(0,Pc.useState)(!1),L=T||f==="hover",K=F||f==="pressed",I=_||f==="focused",Z={"Outline & Fill":{fill:!0,stroke:"strong"},Fill:{fill:!0,stroke:null},Outline:{fill:!1,stroke:"subtle"},Naked:{fill:!1,stroke:null}}[i]||{fill:!0,stroke:"strong"};if(e==="static"){let ce=Mf[o]||Mf.Neutral,me=Z.stroke==="strong"?At(ce.strokeStrong):Z.stroke==="subtle"?At(ce.strokeSubtle):null;return(0,Ot.jsxs)("span",{className:`pw-badge ${h}`,"data-type":"static","data-status":o,"data-size":a,style:{display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:fn.gap,paddingTop:fn.padTop,paddingRight:fn.padRight,paddingBottom:fn.padBottom,paddingLeft:fn.padLeft,...$9(w),borderRadius:fn.radius,background:Z.fill?At(ce.fill):"transparent",boxShadow:me?`inset 0 0 0 ${fn.border} ${me}`:"none",color:At(i==="Naked"&&ce.textNaked?ce.textNaked:ce.text),...m9(w),...v},...x,children:[s&&(0,Ot.jsx)(Se,{name:s,size:w.icon,fill:1}),t,c&&(0,Ot.jsx)(Se,{name:c,size:w.icon})]})}let N={display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:0,paddingTop:fn.padTop,paddingBottom:fn.padBottom,paddingLeft:wt.pill,paddingRight:wt.pill,borderRadius:fn.radius,maxWidth:n?"none":wt.badgeMax,minWidth:0,transition:v9,...m9(w),...$9(w)},q={display:"inline-flex",minWidth:0,paddingLeft:wt.text,paddingRight:wt.text},ee=(ce,me=0)=>(0,Ot.jsx)(Se,{name:ce,size:w.ico,fill:me,style:{flexShrink:0}});if(e==="dismissible"){let ce=Mf[o]||Mf.Neutral,me=Z.stroke==="strong"?At(ce.strokeStrong):Z.stroke==="subtle"?At(ce.strokeSubtle):null,_t=$||m,De=n&&r?`${r} ${t}`:t,Yr=_t?"transparent":K?At("fill-action-secondary-pressed"):L?At("fill-action-secondary-hover"):"transparent",ai=At(_t?"foreground-action-disabled":K?"foreground-action-secondary-pressed":L?"foreground-action-secondary-hover":"foreground-action-secondary-rest");return(0,Ot.jsx)("span",{className:`pw-badge pw-badge--dismissible ${h}`,"data-type":"dismissible","data-status":o,"data-size":a,style:{...h9,...v},...x,children:(0,Ot.jsxs)("span",{className:"pw-badge__pill",style:{...N,background:Z.fill?At(ce.fill):"transparent",color:At(i==="Naked"&&ce.textNaked?ce.textNaked:ce.text),boxShadow:g9(me),...b9(I)},children:[s&&ee(s,1),(0,Ot.jsxs)("span",{className:"pw-badge__label",style:{...q,gap:wt.fieldGap},children:[n&&r&&(0,Ot.jsx)("span",{style:{..._3,maxWidth:wt.fieldMax},children:r}),(0,Ot.jsx)("span",{style:{..._3,maxWidth:w.contentMax},children:t})]}),(0,Ot.jsxs)("button",{type:"button",className:"pw-badge__remove","aria-label":`Remove ${De}`,"aria-disabled":_t||void 0,onClick:_r=>{if(_t){_r.preventDefault();return}g?.(_r)},onMouseEnter:()=>!_t&&P(!0),onMouseLeave:()=>{P(!1),R(!1)},onMouseDown:()=>!_t&&R(!0),onMouseUp:()=>R(!1),onFocus:_r=>{_r.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),R(!1)},onKeyDown:_r=>{(_r.key===" "||_r.key==="Enter")&&!_t&&R(!0)},onKeyUp:()=>R(!1),style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:w.ico,height:w.ico,padding:0,margin:0,border:0,outline:"none",borderRadius:fn.radiusX,background:Yr,color:ai,flexShrink:0,cursor:_t?"not-allowed":"pointer",transition:v9},children:[(0,Ot.jsx)(Se,{name:"close",size:w.ico}),(0,Ot.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:wt.touchW,height:wt.touchH}})]})]})})}let z=u!==void 0?u:k,G=xC(o),V=K?"pressed":L?"hover":"rest",M=Z.fill||V!=="rest",ae=$?At("fill-action-disabled"):z?G.on.fill[V]:M?G.off.fill[V]:"transparent",Q=$?At("foreground-action-disabled"):z?G.on.text:G.off.text[V],we=$||z||!Z.stroke?null:G.off.stroke[V],bt=!!y||d,le=z?l:s,A=y?"a":"button",W={onMouseEnter:()=>!$&&P(!0),onMouseLeave:()=>{P(!1),R(!1)},onMouseDown:()=>!$&&R(!0),onMouseUp:()=>R(!1),onFocus:ce=>{ce.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),R(!1)},onKeyDown:ce=>{(ce.key===" "||ce.key==="Enter")&&!$&&R(!0)},onKeyUp:()=>R(!1),onClick:ce=>{if($){ce.preventDefault();return}if(bt){x.onClick?.(ce);return}let me=!z;u===void 0&&E(me),b?.(me)}};return(0,Ot.jsx)(A,{className:`pw-badge pw-badge--interactive ${h}`,"data-type":"interactive","data-status":o,"data-size":a,...y?{href:y}:{type:"button"},...bt?null:{"aria-pressed":z},"aria-disabled":$||void 0,...x,...W,style:{...h9,cursor:$?"not-allowed":"pointer",...v},children:(0,Ot.jsxs)("span",{className:"pw-badge__pill",style:{...N,background:ae,color:Q,boxShadow:g9(we),...b9(I)},children:[le&&ee(le,z?0:1),(0,Ot.jsx)("span",{className:"pw-badge__label",style:q,children:(0,Ot.jsx)("span",{style:{..._3,display:"block",maxWidth:w.contentMax},children:t})}),d&&ee(c||"chevron_right")]})})}var Df=S(D(),1),Jn=S($e(),1),ha=e=>`var(--semantic-color-${e})`,Nn=e=>`var(--semantic-layout-units-${e})`,tr=e=>`var(--semantic-type-${e})`;var Nf={XXXS:{px:16,fontSize:tr("font-size-xxxs"),lineHeight:tr("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:tr("font-size-xxxs"),lineHeight:tr("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:tr("font-size-xxs"),lineHeight:tr("line-height-xxs-single"),radius:Nn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:tr("font-size-s"),lineHeight:tr("line-height-s-single"),radius:Nn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:tr("font-size-r"),lineHeight:tr("line-height-r-single"),radius:Nn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:tr("font-size-l"),lineHeight:tr("line-height-l-single"),radius:Nn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:tr("font-size-xxl"),lineHeight:tr("line-height-xxl-single"),radius:Nn("cornerradius-xlarge"),icon:58,badge:28}},mr={fill:ha("fill-static-brand-subtle"),foreground:ha("foreground-static-brand-on-subtle"),imageFill:ha("fill-static-neutral-faint"),stroke:ha("stroke-static-neutral-base"),strokeWidth:Nn("borderwidth-thin"),circle:Nn("cornerradius-full"),badgeRing:ha("stroke-static-neutral-mono"),badgeRingW:Nn("borderwidth-base"),badge:{Positive:ha("fill-static-positive-strong"),Attention:ha("fill-static-attention-strong")},groupRing:ha("fill-surface-elevated"),groupRingW:Nn("borderwidth-thick"),family:tr("family-brand"),weight:tr("weight-semibold")};function M3(e=""){let t=String(e).trim().split(/\s+/).filter(Boolean);if(!t.length)return"";let r=t[0][0]||"",n=t.length>1?t[t.length-1][0]:"";return(r+n).toUpperCase()}function gs({size:e="M",content:t,shape:r="Circle",avatarStyle:n="Fill",src:o,text:a,icon:i="person",name:s,showBadge:l=!1,badgeStatus:c="Positive",style:d,...u}){let p=Nf[e]||Nf.M,[b,g]=(0,Df.useState)(!1);(0,Df.useEffect)(()=>g(!1),[o]);let y=(a||"").slice(0,2),$=t==="Icon"?"Icon":t==="Text"?y?"Text":"Icon":o&&!b?"Image":y?"Text":"Icon",m=$==="Image"?"Fill":n,f=r==="Square"?p.radius:mr.circle,h={position:"relative",flex:"none",boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:p.px,height:p.px,borderRadius:f,background:$==="Image"?mr.imageFill:m==="Stroke"?"transparent":mr.fill,boxShadow:m==="Stroke"?`inset 0 0 0 ${mr.strokeWidth} ${mr.stroke}`:"none",color:mr.foreground,fontFamily:mr.family,...d};return(0,Jn.jsxs)("span",{"data-pw-avatar":"","data-size":e,"data-content":$,style:h,...s?{role:"img","aria-label":s}:{"aria-hidden":!0},...u,children:[$==="Image"&&(0,Jn.jsx)("img",{src:o,alt:"",onError:()=>g(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:f}}),$==="Text"&&(0,Jn.jsx)("span",{"aria-hidden":"true",style:{fontSize:p.fontSize,lineHeight:p.lineHeight,fontWeight:mr.weight,letterSpacing:0,whiteSpace:"nowrap"},children:y}),$==="Icon"&&(0,Jn.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:p.icon,width:p.icon,height:p.icon,fontVariationSettings:"'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24",lineHeight:1},children:i}),l&&(0,Jn.jsx)("span",{"aria-hidden":"true","data-pw-avatar-badge":"",style:{position:"absolute",right:0,bottom:0,boxSizing:"border-box",width:p.badge,height:p.badge,borderRadius:mr.circle,background:mr.badge[c]||mr.badge.Positive,boxShadow:`inset 0 0 0 ${mr.badgeRingW} ${mr.badgeRing}`}})]})}function y9({people:e=[],size:t="XS",max:r=3,showMore:n=!0,label:o,style:a,...i}){let s=Nf[t]||Nf.XS,l=e.slice(0,r),c=e.length-l.length,d=l.map(b=>b.name).filter(Boolean),u=o||d.join(", ")+(c>0?`, and ${c} more`:""),p={boxShadow:`0 0 0 ${mr.groupRingW} ${mr.groupRing}`};return(0,Jn.jsxs)("span",{"data-pw-avatar-group":"",role:"img","aria-label":u,style:{display:"inline-flex",alignItems:"center",...a},...i,children:[l.map((b,g)=>(0,Jn.jsx)(gs,{size:t,src:b.src,text:b.text||M3(b.name),icon:b.icon,style:{...p,marginLeft:g?-s.px/4:0}},(b.name||"")+g)),n&&c>0&&(0,Jn.jsx)(gs,{size:t,content:"Text",text:`+${c}`.slice(0,3),style:{...p,marginLeft:l.length?-s.px/4:0}})]})}var ne=S($e(),1),Pe=e=>`var(--semantic-color-${e})`,Ce=e=>`var(--semantic-layout-units-${e})`,CC=e=>`var(--contextual-layout-units-${e})`,gr=e=>`var(--semantic-type-${e})`,rr=e=>`var(--motion-${e})`;var fe={panel:Pe("fill-surface-elevated"),panelBorder:Pe("stroke-static-neutral-faint"),slotDivider:Pe("stroke-static-neutral-base"),separator:Pe("stroke-static-neutral-base"),fillHover:Pe("fill-static-neutral-subtle"),fillPressed:Pe("fill-static-neutral-base"),fillSelected:Pe("fill-action-selection-selected"),fillDangerHover:Pe("fill-action-status-negative-subtle-hover"),fillDangerPressed:Pe("fill-action-status-negative-subtle-pressed"),stripe:Pe("fill-action-primary-strong-pressed"),label:Pe("foreground-static-neutral-strong"),labelHover:Pe("foreground-static-neutral-bold"),labelDanger:Pe("foreground-action-status-negative-on-subtle-rest"),labelDangerHover:Pe("foreground-action-status-negative-on-subtle-hover"),labelDangerPressed:Pe("foreground-action-status-negative-on-subtle-pressed"),disabled:Pe("foreground-action-disabled"),secondary:Pe("foreground-static-neutral-subtle"),reason:Pe("foreground-static-neutral-base"),check:Pe("foreground-action-primary-on-subtle-rest"),countFill:Pe("fill-static-neutral-base"),countText:Pe("foreground-static-neutral-bold"),countFillDisabled:Pe("fill-action-disabled"),swatchEdge:Pe("stroke-static-neutral-base"),dot:{positive:Pe("fill-static-positive-strong"),attention:Pe("fill-static-attention-strong"),negative:Pe("fill-static-negative-strong"),neutral:Pe("fill-static-neutral-strong")},statusTitle:Pe("foreground-static-neutral-bold"),statusBody:Pe("foreground-static-neutral-base"),focusRing:Pe("stroke-focusring-base"),trigger:Pe("foreground-action-secondary-rest"),triggerHover:Pe("foreground-action-secondary-hover"),buttonFill:Pe("fill-surface-elevated"),buttonFillHover:Pe("fill-action-selection-hover"),buttonBorder:Pe("stroke-action-secondary-rest"),avatarFill:Pe("fill-action-primary-subtle-rest"),avatarText:Pe("foreground-action-primary-on-subtle-rest")},j={panelRadius:Ce("cornerradius-large"),panelBorder:Ce("borderwidth-xthin"),shadow:"var(--elevation-lift)",listPadV:Ce("padding-xtight"),listPadH:Ce("padding-xxtight"),itemGap:Ce("gap-xxxtight"),slotPad:Ce("padding-xtight"),footerPad:Ce("padding-tight"),footerGap:Ce("gap-tight"),itemMinH:Ce("accessibility-touch-target-aa-height"),itemPad:Ce("padding-tight"),itemContentGap:Ce("gap-medium"),leadGroupGap:Ce("gap-tight"),textGap:Ce("gap-xxxtight"),inlineGap:Ce("gap-tight"),badgeGap:Ce("gap-xxtight"),reasonGap:Ce("gap-xxtight"),trailGap:Ce("gap-xxtight"),itemRadius:Ce("cornerradius-base"),fullRadius:Ce("cornerradius-full"),swatchRadius:Ce("cornerradius-small"),headerPadTop:{First:Ce("padding-xxtight"),"After Separator":Ce("padding-xtight"),Default:Ce("padding-base")},headerPadL:Ce("padding-tight"),headerPadR:Ce("padding-xtight"),headerPadB:Ce("padding-xxtight"),separatorMargin:Ce("padding-xtight"),stripeW:Ce("borderwidth-xthick"),stripeInset:Ce("padding-xtight"),countPadH:Ce("padding-xtight"),statusPadV:Ce("padding-base"),statusPadH:Ce("padding-tight"),statusGap:Ce("gap-xxtight"),offset:8,width:280,minWidth:220,maxWidth:360,maxHeight:440,searchHeight:360,leadBox:20,glyph:18,dot:8,swatch:16,spinner:16,countMin:24,focusWidth:CC("focusring-width"),triggerTarget:Ce("accessibility-touch-target-aa-width"),triggerTargetH:Ce("accessibility-touch-target-aa-height"),triggerGlyph:20,avatarBox:28,buttonPadV:Ce("padding-xtight"),buttonPadH:Ce("padding-tight"),buttonBorder:Ce("borderwidth-base")},qe={label:{fontSize:gr("font-size-s"),lineHeight:gr("line-height-s-single"),fontWeight:gr("weight-medium")},support:{fontSize:gr("font-size-xs"),lineHeight:gr("line-height-xs-single"),fontWeight:gr("weight-regular")},header:{fontSize:gr("font-size-xs"),lineHeight:gr("line-height-xs-single"),fontWeight:gr("weight-semibold"),letterSpacing:gr("letter-spacing-wide")}},hr=".pw-menu-item",x9=e=>`${hr}:not([data-disabled]):is(${e})`,C9="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",w9="[data-pressed],[data-force=Pressed]",wC=`
204
+ `,j3=!1;function G3(){(0,Ss.useEffect)(()=>{if(j3||typeof document>"u"||document.getElementById("pw-radio-css")){j3=!0;return}let e=document.createElement("style");e.id="pw-radio-css",e.textContent=GC,document.head.appendChild(e),j3=!0},[])}var Pg=(0,Ss.createContext)({size:"Base"});function Tg({label:e,showLabel:t=!0,required:r=!1,helpText:n,error:o=!1,errorMessage:i,disabled:a=!1,orientation:s="Vertical",size:l="Base",value:c,defaultValue:d,onChange:u,name:p,className:b="",children:g,...y}){G3();let $=o&&i;return(0,xt.jsxs)(V3,{...y,name:p,value:c,defaultValue:d,onChange:u,isInvalid:o,isRequired:r,isDisabled:a,orientation:s==="Horizontal"?"horizontal":"vertical","aria-label":t?void 0:e,"data-size":l,className:`pw-radio-group${b?` ${b}`:""}`,children:[t&&e&&(0,xt.jsxs)(f2,{className:"pw-radio-group__label",children:[e,r&&(0,xt.jsx)("span",{className:"pw-radio-group__required","aria-hidden":"true",children:"*"})]}),(0,xt.jsx)(Pg.Provider,{value:{size:l},children:(0,xt.jsx)("div",{className:"pw-radio-group__options",children:g})}),$?(0,xt.jsxs)(df,{slot:"errorMessage",className:"pw-radio-group__help","data-error":"",children:[(0,xt.jsx)("span",{className:"pw-radio-group__help-icon","aria-hidden":"true",children:(0,xt.jsx)("span",{className:"material-symbols-rounded",children:"error"})}),(0,xt.jsx)("span",{children:i})]}):n?(0,xt.jsx)(df,{slot:"description",className:"pw-radio-group__help",children:n}):null]})}function Lg({selected:e=!1,error:t=!1,disabled:r=!1,size:n="Base"}){return G3(),(0,xt.jsx)("span",{className:"pw-radio pw-radio-mark","aria-hidden":"true","data-size":n,"data-selected":e||void 0,"data-invalid":t||void 0,"data-disabled":r||void 0,children:(0,xt.jsx)("span",{className:"pw-radio__control",children:(0,xt.jsx)("span",{className:"pw-radio__mark",children:(0,xt.jsx)("span",{className:"pw-radio__dot"})})})})}function Rg({value:e,text:t,children:r,showText:n=!0,size:o,disabled:i=!1,forceState:a,className:s="",...l}){G3();let c=(0,Ss.useContext)(Pg),d=o||c.size||"Base",u=r??t;return(0,xt.jsxs)(W3,{...l,value:e,isDisabled:i,"data-size":d,"data-force":a,className:`pw-radio${s?` ${s}`:""}`,children:[(0,xt.jsx)("span",{className:"pw-radio__control","aria-hidden":"true",children:(0,xt.jsx)("span",{className:"pw-radio__mark",children:(0,xt.jsx)("span",{className:"pw-radio__dot"})})}),n&&u!=null&&u!==""&&(0,xt.jsx)("span",{className:"pw-radio__label",children:u})]})}var gO=S(D(),1),wi=S(he(),1),_g=["neutral","brand","info","warning","danger","negative","positive","accent-amethyst","accent-jade","accent-seabreeze"],Mg=["light","subtle","base","contrast","bold"],Dr=e=>`var(--semantic-color-${e})`,Ig={neutral:{light:Dr("foreground-static-neutral-faint"),subtle:Dr("foreground-static-neutral-base"),base:Dr("foreground-static-neutral-base"),contrast:Dr("foreground-static-neutral-strong"),bold:Dr("foreground-static-neutral-bold")},brand:Dr("foreground-action-primary-on-subtle-rest"),info:Dr("foreground-static-info-on-subtle"),warning:Dr("foreground-static-attention-on-subtle"),danger:Dr("foreground-static-negative-on-subtle"),negative:Dr("foreground-static-negative-on-subtle"),positive:Dr("foreground-static-positive-on-subtle"),"accent-amethyst":Dr("foreground-static-info-on-subtle"),"accent-jade":Dr("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":Dr("foreground-static-accent-seabreeze-on-subtle")};function ZC(e,t){let r=Ig[e]??Ig.neutral;return typeof r=="string"?r:r[t]??r.base}var YC=[{d:"M6 1V3",opacity:1},{d:"M8.1 3.9L9.55 2.45",opacity:.87},{d:"M9 6H11",opacity:.75},{d:"M8.1 8.1L9.55 9.55",opacity:.62},{d:"M6 9V11",opacity:.5},{d:"M2.45 9.55L3.9 8.1",opacity:.37},{d:"M1 6H3",opacity:.25},{d:"M2.45 2.45L3.9 3.9",opacity:.12}],XC=[{frac:.32,off:0,opacity:1},{frac:.19,off:.4,opacity:.7},{frac:.09,off:.68,opacity:.45}];function Ng({variant:e="ring",size:t,tone:r="neutral",emphasis:n="base",label:o="Loading",className:i,style:a}){_g.includes(r)||console.error(`[Spinner] Invalid tone "${r}". Allowed: ${_g.join(", ")}`),Mg.includes(n)||console.error(`[Spinner] Invalid emphasis "${n}". Allowed: ${Mg.join(", ")}`);let s=t==null?"1em":typeof t=="number"?`${t}px`:t,l={display:"inline-flex",alignItems:"center",justifyContent:"center",width:s,height:s,flexShrink:0,color:ZC(r,n)},c=24,d=2.5,u=(c-d)/2,p=2*Math.PI*u;return(0,wi.jsxs)("span",{role:"status","aria-live":"polite","aria-label":o,className:i,"data-tone":r,"data-emphasis":n,"data-variant":e,style:{...l,...a},children:[e==="sunburst"?(0,wi.jsx)("svg",{viewBox:"0 0 12 12",width:"100%",height:"100%","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin var(--motion-duration-loop) var(--motion-easing-linear) infinite"},children:YC.map((b,g)=>(0,wi.jsx)("path",{d:b.d,opacity:b.opacity,stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},g))}):(0,wi.jsx)("svg",{viewBox:`0 0 ${c} ${c}`,width:"100%",height:"100%",fill:"none","aria-hidden":"true",focusable:"false",style:{animation:"pw-spin 1400ms var(--motion-easing-linear) infinite"},children:XC.map((b,g)=>(0,wi.jsx)("circle",{cx:c/2,cy:c/2,r:u,stroke:"currentColor",strokeOpacity:b.opacity,strokeWidth:d,strokeLinecap:"round",strokeDasharray:`${b.frac*p} ${p}`,strokeDashoffset:-b.off*p},g))}),(0,wi.jsx)("span",{style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0},children:o})]})}var Ac=S(D(),1);var Ut=S(he(),1),Wt=e=>`var(--semantic-color-${e})`,Fr=e=>`var(--semantic-layout-units-${e})`,Dg=e=>`var(--contextual-layout-units-${e})`,Vf=e=>`var(--semantic-type-${e})`;var qC=["Neutral","Info","Positive","Negative"];var Wf={Neutral:{fill:"fill-static-neutral-base",strokeStrong:"stroke-static-neutral-bold",strokeSubtle:"stroke-static-neutral-bold",text:"foreground-static-neutral-bold",textNaked:"foreground-static-neutral-base"},Severe:{fill:"fill-static-severe-subtle",strokeStrong:"stroke-static-severe-strong",strokeSubtle:"stroke-static-severe-subtle",text:"foreground-static-severe-on-subtle"},Negative:{fill:"fill-static-negative-subtle",strokeStrong:"stroke-static-negative-strong",strokeSubtle:"stroke-static-negative-subtle",text:"foreground-static-negative-on-subtle"},Positive:{fill:"fill-static-positive-subtle",strokeStrong:"stroke-static-positive-strong",strokeSubtle:"stroke-static-positive-subtle",text:"foreground-static-positive-on-subtle"},Attention:{fill:"fill-static-attention-subtle",strokeStrong:"stroke-static-attention-strong",strokeSubtle:"stroke-static-attention-strong",text:"foreground-static-attention-on-subtle"},Info:{fill:"fill-static-info-subtle",strokeStrong:"stroke-static-info-strong",strokeSubtle:"stroke-static-info-subtle",text:"foreground-static-info-on-subtle"},"Accent 2":{fill:"fill-static-accent-jade-subtle",strokeStrong:"stroke-static-accent-jade",strokeSubtle:"stroke-static-accent-jade",text:"foreground-static-accent-jade-on-subtle"},"Accent 3":{fill:"fill-static-accent-mauve-subtle",strokeStrong:"stroke-static-accent-mauve",strokeSubtle:"stroke-static-accent-mauve",text:"foreground-static-accent-mauve-on-subtle"}},QC=e=>{let t=(qC.includes(e)?e:"Neutral").toLowerCase(),r=n=>Wt(n.replace("$",t));return{off:{fill:{rest:r("fill-action-status-$-subtle-rest"),hover:r("fill-action-status-$-subtle-hover"),pressed:r("fill-action-status-$-subtle-pressed")},stroke:{rest:r("stroke-action-status-$-rest"),hover:r("stroke-action-status-$-hover"),pressed:r("stroke-action-status-$-pressed")},text:{rest:r("foreground-action-status-$-on-subtle-rest"),hover:r("foreground-action-status-$-on-subtle-hover"),pressed:r("foreground-action-status-$-on-subtle-pressed")}},on:{fill:{rest:r("fill-action-status-$-strong-rest"),hover:r("fill-action-status-$-strong-hover"),pressed:r("fill-action-status-$-strong-pressed")},text:r("foreground-action-status-$-on-strong")}}},Fg={Small:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:11,ico:12,contentMax:200,height:20},Medium:{fontSize:"font-size-xs",lineHeight:"line-height-xs-single",icon:12,ico:14,contentMax:196,height:22},Large:{fontSize:"font-size-s",lineHeight:"line-height-xs-single",icon:14,ico:16,contentMax:192,height:24}},gn={radius:Fr("cornerradius-large"),radiusX:Fr("cornerradius-full"),border:Fr("borderwidth-base"),padTop:Fr("padding-xxxxtight"),padBottom:Fr("padding-xxxxtight"),padLeft:Fr("padding-xxxtight"),padRight:Fr("padding-xxtight"),gap:Fr("gap-xxxtight")},Lt={pill:Fr("padding-xxxtight"),text:Fr("padding-xxxtight"),fieldGap:Fr("gap-xxtight"),rowGap:Fr("gap-xtight"),touchW:Fr("accessibility-touch-target-aa-width"),touchH:Fr("accessibility-touch-target-aa-height"),ring:Wt("stroke-focusring-base"),ringWidth:Dg("focusring-width"),ringOffset:Dg("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"},Hg=(e,t="weight-medium")=>({fontFamily:"inherit",fontSize:Vf(e.fontSize),lineHeight:Vf(e.lineHeight),fontWeight:Vf(t),letterSpacing:Vf("letter-spacing-extraspacious"),whiteSpace:"nowrap"}),Z3={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},Ag={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,minWidth:Lt.touchW,minHeight:Lt.touchH,boxSizing:"border-box",padding:0,margin:0,border:0,background:"transparent",font:"inherit",color:"inherit",textDecoration:"none",outline:"none"},Og=e=>e?`inset 0 0 0 ${gn.border} ${e}`:"none",Bg=e=>e?{outline:`${Lt.ringWidth} solid ${Lt.ring}`,outlineOffset:Lt.ringOffset}:{outline:"none"},Kg=e=>e.height?{height:e.height,paddingTop:0,paddingBottom:0}:{},zg=`background ${Lt.duration} ${Lt.easing}, color ${Lt.duration} ${Lt.easing}, box-shadow ${Lt.duration} ${Lt.easing}`;function Uf({type:e="static",label:t,fieldLabel:r,showFieldLabel:n=!1,status:o="Neutral",size:i="Small",badgeStyle:a="Outline & Fill",leadingIcon:s,selectedIcon:l="check",trailingIcon:c,showTrailingIcon:d=!1,selected:u,defaultSelected:p=!1,onChange:b,onRemove:g,href:y,disabled:$=!1,removeDisabled:m=!1,forceState:f,className:h="",style:v,...x}){let w=Fg[i]||Fg.Small,[P,k]=(0,Ac.useState)(p),[T,E]=(0,Ac.useState)(!1),[F,_]=(0,Ac.useState)(!1),[I,C]=(0,Ac.useState)(!1),L=T||f==="hover",O=F||f==="pressed",M=I||f==="focused",Z={"Outline & Fill":{fill:!0,stroke:"strong"},Fill:{fill:!0,stroke:null},Outline:{fill:!1,stroke:"subtle"},Naked:{fill:!1,stroke:null}}[a]||{fill:!0,stroke:"strong"};if(e==="static"){let de=Wf[o]||Wf.Neutral,Y=Z.stroke==="strong"?Wt(de.strokeStrong):Z.stroke==="subtle"?Wt(de.strokeSubtle):null;return(0,Ut.jsxs)("span",{className:`pw-badge ${h}`,"data-type":"static","data-status":o,"data-size":i,style:{display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:gn.gap,paddingTop:gn.padTop,paddingRight:gn.padRight,paddingBottom:gn.padBottom,paddingLeft:gn.padLeft,...Kg(w),borderRadius:gn.radius,background:Z.fill?Wt(de.fill):"transparent",boxShadow:Y?`inset 0 0 0 ${gn.border} ${Y}`:"none",color:Wt(a==="Naked"&&de.textNaked?de.textNaked:de.text),...Hg(w),...v},...x,children:[s&&(0,Ut.jsx)(ye,{name:s,size:w.icon,fill:1}),t,c&&(0,Ut.jsx)(ye,{name:c,size:w.icon})]})}let R={display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:0,paddingTop:gn.padTop,paddingBottom:gn.padBottom,paddingLeft:Lt.pill,paddingRight:Lt.pill,borderRadius:gn.radius,maxWidth:n?"none":Lt.badgeMax,minWidth:0,transition:zg,...Hg(w),...Kg(w)},te={display:"inline-flex",minWidth:0,paddingLeft:Lt.text,paddingRight:Lt.text},X=(de,Y=0)=>(0,Ut.jsx)(ye,{name:de,size:w.ico,fill:Y,style:{flexShrink:0}});if(e==="dismissible"){let de=Wf[o]||Wf.Neutral,Y=Z.stroke==="strong"?Wt(de.strokeStrong):Z.stroke==="subtle"?Wt(de.strokeSubtle):null,je=$||m,Le=n&&r?`${r} ${t}`:t,Oe=je?"transparent":O?Wt("fill-action-secondary-pressed"):L?Wt("fill-action-secondary-hover"):"transparent",yn=Wt(je?"foreground-action-disabled":O?"foreground-action-secondary-pressed":L?"foreground-action-secondary-hover":"foreground-action-secondary-rest");return(0,Ut.jsx)("span",{className:`pw-badge pw-badge--dismissible ${h}`,"data-type":"dismissible","data-status":o,"data-size":i,style:{...Ag,...v},...x,children:(0,Ut.jsxs)("span",{className:"pw-badge__pill",style:{...R,background:Z.fill?Wt(de.fill):"transparent",color:Wt(a==="Naked"&&de.textNaked?de.textNaked:de.text),boxShadow:Og(Y),...Bg(M)},children:[s&&X(s,1),(0,Ut.jsxs)("span",{className:"pw-badge__label",style:{...te,gap:Lt.fieldGap},children:[n&&r&&(0,Ut.jsx)("span",{style:{...Z3,maxWidth:Lt.fieldMax},children:r}),(0,Ut.jsx)("span",{style:{...Z3,maxWidth:w.contentMax},children:t})]}),(0,Ut.jsxs)("button",{type:"button",className:"pw-badge__remove","aria-label":`Remove ${Le}`,"aria-disabled":je||void 0,onClick:Hr=>{if(je){Hr.preventDefault();return}g?.(Hr)},onMouseEnter:()=>!je&&E(!0),onMouseLeave:()=>{E(!1),_(!1)},onMouseDown:()=>!je&&_(!0),onMouseUp:()=>_(!1),onFocus:Hr=>{Hr.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),_(!1)},onKeyDown:Hr=>{(Hr.key===" "||Hr.key==="Enter")&&!je&&_(!0)},onKeyUp:()=>_(!1),style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:w.ico,height:w.ico,padding:0,margin:0,border:0,outline:"none",borderRadius:gn.radiusX,background:Oe,color:yn,flexShrink:0,cursor:je?"not-allowed":"pointer",transition:zg},children:[(0,Ut.jsx)(ye,{name:"close",size:w.ico}),(0,Ut.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:Lt.touchW,height:Lt.touchH}})]})]})})}let K=u!==void 0?u:P,j=QC(o),z=O?"pressed":L?"hover":"rest",N=Z.fill||z!=="rest",ie=$?Wt("fill-action-disabled"):K?j.on.fill[z]:N?j.off.fill[z]:"transparent",J=$?Wt("foreground-action-disabled"):K?j.on.text:j.off.text[z],Ee=$||K||!Z.stroke?null:j.off.stroke[z],ft=!!y||d,ce=K?l:s,H=y?"a":"button",V={onMouseEnter:()=>!$&&E(!0),onMouseLeave:()=>{E(!1),_(!1)},onMouseDown:()=>!$&&_(!0),onMouseUp:()=>_(!1),onFocus:de=>{de.target.matches?.(":focus-visible")&&C(!0)},onBlur:()=>{C(!1),_(!1)},onKeyDown:de=>{(de.key===" "||de.key==="Enter")&&!$&&_(!0)},onKeyUp:()=>_(!1),onClick:de=>{if($){de.preventDefault();return}if(ft){x.onClick?.(de);return}let Y=!K;u===void 0&&k(Y),b?.(Y)}};return(0,Ut.jsx)(H,{className:`pw-badge pw-badge--interactive ${h}`,"data-type":"interactive","data-status":o,"data-size":i,...y?{href:y}:{type:"button"},...ft?null:{"aria-pressed":K},"aria-disabled":$||void 0,...x,...V,style:{...Ag,cursor:$?"not-allowed":"pointer",...v},children:(0,Ut.jsxs)("span",{className:"pw-badge__pill",style:{...R,background:ie,color:J,boxShadow:Og(Ee),...Bg(M)},children:[ce&&X(ce,K?0:1),(0,Ut.jsx)("span",{className:"pw-badge__label",style:te,children:(0,Ut.jsx)("span",{style:{...Z3,display:"block",maxWidth:w.contentMax},children:t})}),d&&X(c||"chevron_right")]})})}var Gf=S(D(),1),so=S(he(),1),Si=e=>`var(--semantic-color-${e})`,Bn=e=>`var(--semantic-layout-units-${e})`,lr=e=>`var(--semantic-type-${e})`;var jf={XXXS:{px:16,fontSize:lr("font-size-xxxs"),lineHeight:lr("line-height-xxxs-single"),radius:Bn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:lr("font-size-xxxs"),lineHeight:lr("line-height-xxxs-single"),radius:Bn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:lr("font-size-xxs"),lineHeight:lr("line-height-xxs-single"),radius:Bn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:lr("font-size-s"),lineHeight:lr("line-height-s-single"),radius:Bn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:lr("font-size-r"),lineHeight:lr("line-height-r-single"),radius:Bn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:lr("font-size-l"),lineHeight:lr("line-height-l-single"),radius:Bn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:lr("font-size-xxl"),lineHeight:lr("line-height-xxl-single"),radius:Bn("cornerradius-xlarge"),icon:58,badge:28}},yr={fill:Si("fill-static-brand-subtle"),foreground:Si("foreground-static-brand-on-subtle"),imageFill:Si("fill-static-neutral-faint"),stroke:Si("stroke-static-neutral-base"),strokeWidth:Bn("borderwidth-thin"),circle:Bn("cornerradius-full"),badgeRing:Si("stroke-static-neutral-mono"),badgeRingW:Bn("borderwidth-base"),badge:{Positive:Si("fill-static-positive-strong"),Attention:Si("fill-static-attention-strong")},groupRing:Si("fill-surface-elevated"),groupRingW:Bn("borderwidth-thick"),family:lr("family-brand"),weight:lr("weight-semibold")};function Oc(e=""){let t=String(e).trim().split(/\s+/).filter(Boolean);if(!t.length)return"";let r=t[0][0]||"",n=t.length>1?t[t.length-1][0]:"";return(r+n).toUpperCase()}function Ei({size:e="M",content:t,shape:r="Circle",avatarStyle:n="Fill",src:o,text:i,icon:a="person",name:s,showBadge:l=!1,badgeStatus:c="Positive",style:d,...u}){let p=jf[e]||jf.M,[b,g]=(0,Gf.useState)(!1);(0,Gf.useEffect)(()=>g(!1),[o]);let y=(i||"").slice(0,2),$=t==="Icon"?"Icon":t==="Text"?y?"Text":"Icon":o&&!b?"Image":y?"Text":"Icon",m=$==="Image"?"Fill":n,f=r==="Square"?p.radius:yr.circle,h={position:"relative",flex:"none",boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:p.px,height:p.px,borderRadius:f,background:$==="Image"?yr.imageFill:m==="Stroke"?"transparent":yr.fill,boxShadow:m==="Stroke"?`inset 0 0 0 ${yr.strokeWidth} ${yr.stroke}`:"none",color:yr.foreground,fontFamily:yr.family,...d};return(0,so.jsxs)("span",{"data-pw-avatar":"","data-size":e,"data-content":$,style:h,...s?{role:"img","aria-label":s}:{"aria-hidden":!0},...u,children:[$==="Image"&&(0,so.jsx)("img",{src:o,alt:"",onError:()=>g(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:f}}),$==="Text"&&(0,so.jsx)("span",{"aria-hidden":"true",style:{fontSize:p.fontSize,lineHeight:p.lineHeight,fontWeight:yr.weight,letterSpacing:0,whiteSpace:"nowrap"},children:y}),$==="Icon"&&(0,so.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:p.icon,width:p.icon,height:p.icon,fontVariationSettings:"'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24",lineHeight:1},children:a}),l&&(0,so.jsx)("span",{"aria-hidden":"true","data-pw-avatar-badge":"",style:{position:"absolute",right:0,bottom:0,boxSizing:"border-box",width:p.badge,height:p.badge,borderRadius:yr.circle,background:yr.badge[c]||yr.badge.Positive,boxShadow:`inset 0 0 0 ${yr.badgeRingW} ${yr.badgeRing}`}})]})}function Vg({people:e=[],size:t="XS",max:r=3,showMore:n=!0,label:o,style:i,...a}){let s=jf[t]||jf.XS,l=e.slice(0,r),c=e.length-l.length,d=l.map(b=>b.name).filter(Boolean),u=o||d.join(", ")+(c>0?`, and ${c} more`:""),p={boxShadow:`0 0 0 ${yr.groupRingW} ${yr.groupRing}`};return(0,so.jsxs)("span",{"data-pw-avatar-group":"",role:"img","aria-label":u,style:{display:"inline-flex",alignItems:"center",...i},...a,children:[l.map((b,g)=>(0,so.jsx)(Ei,{size:t,src:b.src,text:b.text||Oc(b.name),icon:b.icon,style:{...p,marginLeft:g?-s.px/4:0}},(b.name||"")+g)),n&&c>0&&(0,so.jsx)(Ei,{size:t,content:"Text",text:`+${c}`.slice(0,3),style:{...p,marginLeft:l.length?-s.px/4:0}})]})}var Pe=S(D(),1),jg=S(_n(),1);var lo=S(he(),1),Y3=e=>`var(--semantic-color-${e})`,ki=e=>`var(--semantic-layout-units-${e})`,Bc=e=>`var(--semantic-type-${e})`,Zf=e=>`var(--motion-${e})`,Es={fill:Y3("fill-surface-elevated"),stroke:Y3("stroke-static-neutral-base"),fg:Y3("foreground-static-neutral-base"),shadow:"var(--elevation-widget)"},ut={padY:ki("padding-xxtight"),padX:ki("padding-xtight"),radius:ki("cornerradius-small"),stroke:ki("borderwidth-base"),offset:"--semantic-layout-units-gap-xxtight",edge:"--semantic-layout-units-padding-xtight",maxW:240,arrowW:12,arrowH:6,arrowInset:8,bridgeMs:120,tapMs:2600},Kc={fontFamily:Bc("family-brand"),fontSize:Bc("font-size-s"),fontWeight:Bc("weight-regular"),lineHeight:Bc("line-height-s-single"),letterSpacing:Bc("letter-spacing-wide")},JC={"amplify-light":"amplify-dark",light:"dark","amplify-dark":"amplify-light",dark:"light",midnight:"light"},ew=`
205
+ .pw-tooltip{position:fixed;left:0;top:0;z-index:1000;box-sizing:border-box;width:max-content;
206
+ max-width:min(${ut.maxW}px, calc(100vw - 2 * var(${ut.edge})));
207
+ padding:${ut.padY} ${ut.padX};border-radius:${ut.radius};background:${Es.fill};color:${Es.fg};
208
+ box-shadow:inset 0 0 0 ${ut.stroke} ${Es.stroke},${Es.shadow};
209
+ font-family:${Kc.fontFamily},sans-serif;font-size:${Kc.fontSize};font-weight:${Kc.fontWeight};
210
+ line-height:${Kc.lineHeight};letter-spacing:${Kc.letterSpacing};
211
+ overflow-wrap:anywhere;text-align:start;pointer-events:auto;user-select:none}
212
+ .pw-tooltip[data-state=open]{animation:pw-tooltip-in ${Zf("duration-2")} ${Zf("easing-decelerate")}}
213
+ .pw-tooltip[data-state=closed]{animation:pw-tooltip-out ${Zf("duration-1")} ${Zf("easing-accelerate")} forwards}
214
+ .pw-tooltip[data-side=top]{--pw-tooltip-dx:0;--pw-tooltip-dy:${ki("gap-xxtight")}}
215
+ .pw-tooltip[data-side=bottom]{--pw-tooltip-dx:0;--pw-tooltip-dy:calc(-1 * ${ki("gap-xxtight")})}
216
+ .pw-tooltip[data-side=left]{--pw-tooltip-dx:${ki("gap-xxtight")};--pw-tooltip-dy:0}
217
+ .pw-tooltip[data-side=right]{--pw-tooltip-dx:calc(-1 * ${ki("gap-xxtight")});--pw-tooltip-dy:0}
218
+ .pw-tooltip[data-reduced][data-state=open]{animation-name:pw-tooltip-fade}
219
+ @keyframes pw-tooltip-in{from{opacity:0;transform:translate(var(--pw-tooltip-dx),var(--pw-tooltip-dy))}to{opacity:1;transform:none}}
220
+ @keyframes pw-tooltip-fade{from{opacity:0}to{opacity:1}}
221
+ @keyframes pw-tooltip-out{from{opacity:1}to{opacity:0}}
222
+ .pw-tooltip__arrow{position:absolute;display:block;width:${ut.arrowW}px;height:calc(${ut.arrowH}px + ${ut.stroke});overflow:hidden;transform-origin:0 0;pointer-events:none}
223
+ .pw-tooltip__arrow::before{content:"";position:absolute;left:50%;top:0;width:8px;height:8px;box-sizing:border-box;
224
+ transform:translate(-50%,-50%) rotate(45deg);background:${Es.fill};box-shadow:inset 0 0 0 ${ut.stroke} ${Es.stroke}}
225
+ .pw-tooltip__sr{display:none}
226
+ .pw-tooltip__trigger{display:inline-flex}
227
+ `,X3=!1;function tw(){(0,Pe.useEffect)(()=>{if(X3||typeof document>"u"||document.getElementById("pw-tooltip-css")){X3=!0;return}let e=document.createElement("style");e.id="pw-tooltip-css",e.textContent=ew,document.head.appendChild(e),X3=!0},[])}function Yf(e,t){if(typeof document>"u")return t;let r=parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e));return Number.isFinite(r)?r:t}var ks=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r));function Wg(e,t){let r=e;for(;r;){let n=r.closest?.(t);if(n)return n;r=r.getRootNode?.().host||null}return null}function rw(e){let t=Wg(e,"[data-theme]")||document.documentElement,r=Wg(e,"[data-brand]")||document.documentElement;return{theme:t.getAttribute("data-theme")||"light",brand:r.getAttribute("data-brand")}}var Ug=0,Gg=(0,Pe.createContext)(null),nw=(0,Pe.createContext)({arrow:!0});function Zg({children:e,delay:t,skipDelay:r}){return(0,lo.jsx)(Gg.Provider,{value:{delay:t,skipDelay:r},children:e})}function ow(e,t,{side:r,align:n,arrow:o,boundary:i}){let a=e.getBoundingClientRect(),s=t.offsetWidth,l=t.offsetHeight,c=i?i.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},d=Yf(ut.edge,8),u=Yf(ut.offset,4)+(o?ut.arrowH:0),p={top:a.top-u-l>=c.top+d,bottom:a.bottom+u+l<=c.bottom-d,left:a.left-u-s>=c.left+d,right:a.right+u+s<=c.right-d},b={top:"bottom",bottom:"top",left:"right",right:"left"},g=!p[r]&&p[b[r]]?b[r]:r,y=g==="top"||g==="bottom",$,m;y?(m=g==="top"?a.top-u-l:a.bottom+u,$=n==="start"?a.left:n==="end"?a.right-s:a.left+a.width/2-s/2):($=g==="left"?a.left-u-s:a.right+u,m=n==="start"?a.top:n==="end"?a.bottom-l:a.top+a.height/2-l/2);let f=ut.arrowInset+ut.arrowW/2,h=n;if(y){let x=a.left+a.width/2,w=ks(ks($,c.left+d,c.right-d-s),x-(s-f),x-f);Math.abs(w-$)>.5&&(h=w>$?"start":"end"),$=w}else{let x=a.top+a.height/2,w=ks(ks(m,c.top+d,c.bottom-d-l),x-(l-f),x-f);Math.abs(w-m)>.5&&(h=w>m?"start":"end"),m=w}let v=y?ks(a.left+a.width/2-$,f,s-f):ks(a.top+a.height/2-m,f,l-f);return{x:$,y:m,side:g,align:h,along:v}}function iw(e,t){let r=ut.stroke;switch(e){case"bottom":return{top:r,left:t+ut.arrowW/2,transform:"rotate(180deg)"};case"left":return{left:`calc(100% - ${r})`,top:t+ut.arrowW/2,transform:"rotate(-90deg)"};case"right":return{left:r,top:t-ut.arrowW/2,transform:"rotate(90deg)"};default:return{top:`calc(100% - ${r})`,left:t-ut.arrowW/2}}}function co({children:e,content:t,describe:r,purpose:n="description",side:o="top",align:i="center",arrow:a,disabled:s=!1,persistOnPress:l=!1,boundary:c,open:d,onOpenChange:u,manageAria:p=!0}){tw();let b=(0,Pe.useContext)(nw),g=(0,Pe.useContext)(Gg),y=a??b.arrow??!0,$=Et(),m=(0,Pe.useId)(),f=(0,Pe.useRef)(null),h=(0,Pe.useRef)(null),[v,x]=(0,Pe.useState)(!1),[w,P]=(0,Pe.useState)(!1),[k,T]=(0,Pe.useState)(!1),[E,F]=(0,Pe.useState)(!1),[_,I]=(0,Pe.useState)(!1),[C,L]=(0,Pe.useState)(null),[O,M]=(0,Pe.useState)(null),Z=(0,Pe.useRef)(null),R=(0,Pe.useRef)(null),te=(0,Pe.useRef)(null),X=(0,Pe.useRef)(null);(0,Pe.useEffect)(()=>()=>[Z,R,te,X].forEach(Me=>clearTimeout(Me.current)),[]);let K=!s&&!!t&&(d??(k||!E&&(v||w))),j=(0,Pe.useRef)(!1);(0,Pe.useEffect)(()=>{clearTimeout(X.current),K?I(!0):j.current&&(Ug=Date.now(),X.current=setTimeout(()=>{I(!1),L(null)},$?0:Yf("--motion-duration-1",100))),j.current!==K&&u?.(K),j.current=K},[K]),(0,Pe.useEffect)(()=>{if(!K)return;let Me=()=>{let{theme:xn,brand:Ti}=rw(f.current);M({theme:JC[xn]||"dark",brand:Ti})};Me();let wt=typeof MutationObserver<"u"?new MutationObserver(Me):null;return wt?.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>wt?.disconnect()},[K]);let z=(0,Pe.useCallback)(()=>{!f.current||!h.current||L(ow(f.current,h.current,{side:o,align:i,arrow:y,boundary:c}))},[o,i,y,c]);if((0,Pe.useLayoutEffect)(()=>{if(!_)return;z();let Me=()=>z();window.addEventListener("scroll",Me,!0),window.addEventListener("resize",Me);let wt=typeof ResizeObserver<"u"?new ResizeObserver(Me):null;wt&&h.current&&wt.observe(h.current);let xn=0,Ti="",ga=()=>{let As=f.current?.getBoundingClientRect(),_m=As?`${As.left},${As.top},${As.width},${As.height}`:"";_m!==Ti&&(Ti=_m,z()),xn=requestAnimationFrame(ga)};return xn=requestAnimationFrame(ga),()=>{window.removeEventListener("scroll",Me,!0),window.removeEventListener("resize",Me),wt?.disconnect(),cancelAnimationFrame(xn)}},[_,z,t,O]),(0,Pe.useEffect)(()=>{if(!K)return;let Me=xn=>{xn.key==="Escape"&&(F(!0),T(!1))},wt=xn=>{let Ti=ga=>!!ga&&(typeof xn.composedPath=="function"?xn.composedPath().includes(ga):ga.contains(xn.target));!Ti(f.current)&&!Ti(h.current)&&(x(!1),T(!1))};return document.addEventListener("keydown",Me),document.addEventListener("pointerdown",wt),()=>{document.removeEventListener("keydown",Me),document.removeEventListener("pointerdown",wt)}},[K]),s||!t)return e;let N=Pe.default.Children.only(e),ie=typeof N.type=="string"||N.type?.$$typeof===Symbol.for("react.forward_ref")||!!N.type?.prototype?.isReactComponent,J=(Me,wt)=>{ie&&N.props[Me]?.(wt)},Ee=g?.delay??Yf("--motion-duration-4",300),ft=g?.skipDelay??Ee,ce=Me=>{J("onPointerEnter",Me),Me.pointerType!=="touch"&&(clearTimeout(R.current),F(!1),!v&&(Date.now()-Ug<ft?x(!0):(clearTimeout(Z.current),Z.current=setTimeout(()=>x(!0),Ee))))},H=Me=>{J("onPointerLeave",Me),clearTimeout(Z.current),clearTimeout(R.current),R.current=setTimeout(()=>x(!1),ut.bridgeMs)},V=()=>clearTimeout(R.current),de=()=>{clearTimeout(R.current),R.current=setTimeout(()=>x(!1),ut.bridgeMs)},Y=Me=>{J("onFocus",Me);let wt=!0;try{wt=Me.target.matches(":focus-visible")}catch{}wt&&(F(!1),P(!0))},je=Me=>{J("onBlur",Me),P(!1),T(!1)},Le=Me=>{J("onPointerDown",Me),clearTimeout(Z.current),Me.pointerType==="touch"||l?(T(!0),clearTimeout(te.current),te.current=setTimeout(()=>T(!1),ut.tapMs)):(x(!1),F(!0))},Oe=n==="description"?[N.props["aria-describedby"],m].filter(Boolean).join(" "):N.props["aria-describedby"],yn=Me=>{f.current=Me;let wt=N.ref;typeof wt=="function"?wt(Me):wt&&typeof wt=="object"&&(wt.current=Me)},Hr={onPointerEnter:ce,onPointerLeave:H,onPointerDown:Le,onFocus:Y,onBlur:je},ha=p?{"aria-label":n==="label"&&typeof t=="string"?t:N.props["aria-label"],"aria-describedby":Oe||void 0}:{},_t=ie?Pe.default.cloneElement(N,{ref:yn,...Hr,...ha}):(0,lo.jsx)("span",{ref:Me=>{f.current=Me},className:"pw-tooltip__trigger",...Hr,children:Pe.default.cloneElement(N,ha)}),zn=_&&typeof document<"u"?(0,jg.createPortal)((0,lo.jsxs)("div",{ref:h,className:"pw-tooltip",role:"tooltip","aria-hidden":"true","data-state":K?"open":"closed","data-side":C?.side??o,"data-align":C?.align??i,"data-theme":O?.theme,"data-brand":O?.brand||void 0,"data-reduced":$||void 0,onPointerEnter:V,onPointerLeave:de,style:{left:C?C.x:0,top:C?C.y:0,visibility:C?"visible":"hidden"},children:[t,y&&C&&(0,lo.jsx)("span",{className:"pw-tooltip__arrow",style:iw(C.side,C.along)})]}),document.body):null;return(0,lo.jsxs)(lo.Fragment,{children:[_t,p&&n==="description"&&(0,lo.jsx)("span",{id:m,className:"pw-tooltip__sr",hidden:!0,children:r??t}),zn]})}var ne=S(he(),1),ke=e=>`var(--semantic-color-${e})`,Se=e=>`var(--semantic-layout-units-${e})`,aw=e=>`var(--contextual-layout-units-${e})`,Cr=e=>`var(--semantic-type-${e})`,ot=e=>`var(--motion-${e})`;var pe={panel:ke("fill-surface-elevated"),panelBorder:ke("stroke-static-neutral-faint"),slotDivider:ke("stroke-static-neutral-base"),separator:ke("stroke-static-neutral-base"),fillHover:ke("fill-static-neutral-subtle"),fillPressed:ke("fill-static-neutral-base"),fillSelected:ke("fill-action-selection-selected"),fillDangerHover:ke("fill-action-status-negative-subtle-hover"),fillDangerPressed:ke("fill-action-status-negative-subtle-pressed"),stripe:ke("fill-action-primary-strong-pressed"),label:ke("foreground-static-neutral-strong"),labelHover:ke("foreground-static-neutral-bold"),labelDanger:ke("foreground-action-status-negative-on-subtle-rest"),labelDangerHover:ke("foreground-action-status-negative-on-subtle-hover"),labelDangerPressed:ke("foreground-action-status-negative-on-subtle-pressed"),disabled:ke("foreground-action-disabled"),secondary:ke("foreground-static-neutral-subtle"),reason:ke("foreground-static-neutral-base"),check:ke("foreground-action-primary-on-subtle-rest"),countFill:ke("fill-static-neutral-base"),countText:ke("foreground-static-neutral-bold"),countFillDisabled:ke("fill-action-disabled"),swatchEdge:ke("stroke-static-neutral-base"),dot:{positive:ke("fill-static-positive-strong"),attention:ke("fill-static-attention-strong"),negative:ke("fill-static-negative-strong"),neutral:ke("fill-static-neutral-strong")},statusTitle:ke("foreground-static-neutral-bold"),statusBody:ke("foreground-static-neutral-base"),focusRing:ke("stroke-focusring-base"),trigger:ke("foreground-action-secondary-rest"),triggerHover:ke("foreground-action-secondary-hover"),buttonFill:ke("fill-surface-elevated"),buttonFillHover:ke("fill-action-selection-hover"),buttonBorder:ke("stroke-action-secondary-rest"),avatarFill:ke("fill-action-primary-subtle-rest"),avatarText:ke("foreground-action-primary-on-subtle-rest")},G={panelRadius:Se("cornerradius-large"),panelBorder:Se("borderwidth-xthin"),shadow:"var(--elevation-lift)",listPadV:Se("padding-xtight"),listPadH:Se("padding-xxtight"),itemGap:Se("gap-xxxtight"),slotPad:Se("padding-xtight"),footerPad:Se("padding-tight"),footerGap:Se("gap-tight"),itemMinH:Se("accessibility-touch-target-aa-height"),itemPad:Se("padding-tight"),itemContentGap:Se("gap-medium"),leadGroupGap:Se("gap-tight"),textGap:Se("gap-xxxtight"),inlineGap:Se("gap-tight"),badgeGap:Se("gap-xxtight"),reasonGap:Se("gap-xxtight"),trailGap:Se("gap-xxtight"),itemRadius:Se("cornerradius-base"),fullRadius:Se("cornerradius-full"),swatchRadius:Se("cornerradius-small"),headerPadTop:{First:Se("padding-xxtight"),"After Separator":Se("padding-xtight"),Default:Se("padding-base")},headerPadL:Se("padding-tight"),headerPadR:Se("padding-xtight"),headerPadB:Se("padding-xxtight"),separatorMargin:Se("padding-xtight"),stripeW:Se("borderwidth-xthick"),stripeInset:Se("padding-xtight"),countPadH:Se("padding-xtight"),statusPadV:Se("padding-base"),statusPadH:Se("padding-tight"),statusGap:Se("gap-xxtight"),offset:8,width:280,minWidth:220,maxWidth:360,maxHeight:440,searchHeight:360,leadBox:20,glyph:18,dot:8,swatch:16,spinner:16,countMin:24,focusWidth:aw("focusring-width"),triggerTarget:Se("accessibility-touch-target-aa-width"),triggerTargetH:Se("accessibility-touch-target-aa-height"),triggerGlyph:20,avatarBox:28,buttonPadV:Se("padding-xtight"),buttonPadH:Se("padding-tight"),buttonBorder:Se("borderwidth-base")},et={label:{fontSize:Cr("font-size-s"),lineHeight:Cr("line-height-s-single"),fontWeight:Cr("weight-medium")},support:{fontSize:Cr("font-size-xs"),lineHeight:Cr("line-height-xs-single"),fontWeight:Cr("weight-regular")},header:{fontSize:Cr("font-size-xs"),lineHeight:Cr("line-height-xs-single"),fontWeight:Cr("weight-semibold"),letterSpacing:Cr("letter-spacing-wide")}},q3={surface:ke("fill-surface-elevated"),overlay:ke("scrim-subtle"),handle:ke("fill-static-neutral-strong")},Kn={radius:Se("cornerradius-xlarge"),pillRadius:Se("cornerradius-full"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4},xr=".pw-menu-item",Yg=e=>`${xr}:not([data-disabled]):is(${e})`,Xg="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",qg="[data-pressed],[data-force=Pressed]",sw=`
205
228
  .pw-menu-panel{--trigger-width:0px;--visual-viewport-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;outline:none;
206
- width:clamp(${j.minWidth}px,max(${j.width}px,var(--trigger-width,0px)),${j.maxWidth}px);
207
- max-width:min(${j.maxWidth}px,calc(100vw - 2 * ${Ce("padding-tight")}));
208
- max-height:min(${j.maxHeight}px,var(--visual-viewport-height,100vh));
209
- background:${fe.panel};border:${j.panelBorder} solid ${fe.panelBorder};border-radius:${j.panelRadius};box-shadow:${j.shadow};
210
- font-family:${gr("family-brand")},sans-serif}
211
- .pw-menu-panel[data-searchable]{height:${j.searchHeight}px}
212
- .pw-menu-panel[data-entering]{animation:pw-menu-in ${rr("duration-4")} ${rr("easing-decelerate")} both}
229
+ width:clamp(${G.minWidth}px,max(${G.width}px,var(--trigger-width,0px)),${G.maxWidth}px);
230
+ max-width:min(${G.maxWidth}px,calc(100vw - 2 * ${Se("padding-tight")}));
231
+ max-height:min(${G.maxHeight}px,var(--visual-viewport-height,100vh));
232
+ background:${pe.panel};border:${G.panelBorder} solid ${pe.panelBorder};border-radius:${G.panelRadius};box-shadow:${G.shadow};
233
+ font-family:${Cr("family-brand")},sans-serif}
234
+ .pw-menu-panel[data-searchable]{height:${G.searchHeight}px}
235
+ /* React Aria stacks the panel at 100000 inline; a truncated label's Tooltip
236
+ (portalled to the body at 1000) has to sit above it. */
237
+ body:has(.pw-menu-panel) .pw-tooltip{z-index:100001}
238
+ .pw-menu-panel[data-entering]{animation:pw-menu-in ${ot("duration-4")} ${ot("easing-decelerate")} both}
213
239
  .pw-menu-panel[data-placement=top][data-entering]{animation-name:pw-menu-in-up}
214
- .pw-menu-panel[data-exiting]{animation:pw-menu-out ${rr("duration-2")} ${rr("easing-standard")} both}
240
+ .pw-menu-panel[data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
215
241
  @keyframes pw-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
216
242
  @keyframes pw-menu-in-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
217
243
  @keyframes pw-menu-out{from{opacity:1}to{opacity:0}}
218
244
 
219
- .pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${gr("family-brand")},sans-serif}
220
- .pw-menu--static{box-sizing:border-box;width:${j.width}px;max-width:100%;background:${fe.panel};
221
- border:${j.panelBorder} solid ${fe.panelBorder};border-radius:${j.panelRadius};box-shadow:${j.shadow};overflow:hidden}
245
+ .pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${Cr("family-brand")},sans-serif}
246
+ .pw-menu--static{box-sizing:border-box;width:${G.width}px;max-width:100%;background:${pe.panel};
247
+ border:${G.panelBorder} solid ${pe.panelBorder};border-radius:${G.panelRadius};box-shadow:${G.shadow};overflow:hidden}
222
248
  .pw-menu--bare{width:100%}
223
- .pw-menu__header{flex:none;padding:${j.slotPad};border-bottom:${j.panelBorder} solid ${fe.slotDivider}}
224
- .pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${j.footerGap};
225
- padding:${j.slotPad} ${j.footerPad} ${j.footerPad};border-top:${j.panelBorder} solid ${fe.slotDivider}}
249
+ .pw-menu__header{flex:none;padding:${G.slotPad};border-bottom:${G.panelBorder} solid ${pe.slotDivider}}
250
+ .pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${G.footerGap};
251
+ padding:${G.slotPad} ${G.footerPad} ${G.footerPad};border-top:${G.panelBorder} solid ${pe.slotDivider}}
226
252
  .pw-menu__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
227
- .pw-menu__list{display:flex;flex-direction:column;gap:${j.itemGap};padding:${j.listPadV} ${j.listPadH};outline:none}
253
+ .pw-menu__list{display:flex;flex-direction:column;gap:${G.itemGap};padding:${G.listPadV} ${G.listPadH};outline:none}
228
254
  .pw-menu--bare .pw-menu__list{padding:0}
229
- .pw-menu__list[data-empty]:focus-visible{outline:${j.focusWidth} solid ${fe.focusRing};outline-offset:calc(-1 * ${j.focusWidth});border-radius:${j.panelRadius}}
255
+ .pw-menu__list[data-empty]:focus-visible{outline:${G.focusWidth} solid ${pe.focusRing};outline-offset:calc(-1 * ${G.focusWidth});border-radius:${G.panelRadius}}
230
256
 
231
- ${hr}{position:relative;display:flex;align-items:flex-start;gap:${j.itemContentGap};box-sizing:border-box;
232
- min-height:${j.itemMinH};padding:${j.itemPad};border-radius:${j.itemRadius};
233
- color:${fe.label};font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight};font-weight:${qe.label.fontWeight};letter-spacing:normal;
257
+ ${xr}{position:relative;display:flex;align-items:flex-start;gap:${G.itemContentGap};box-sizing:border-box;
258
+ min-height:${G.itemMinH};padding:${G.itemPad};border-radius:${G.itemRadius};
259
+ color:${pe.label};font-size:${et.label.fontSize};line-height:${et.label.lineHeight};font-weight:${et.label.fontWeight};letter-spacing:normal;
234
260
  cursor:pointer;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;
235
- transition:background-color ${rr("duration-2")} ${rr("easing-standard")},color ${rr("duration-2")} ${rr("easing-standard")}}
236
- ${x9(C9)}{background:${fe.fillHover};color:${fe.labelHover}}
237
- ${x9(w9)}{background:${fe.fillPressed};color:${fe.label}}
238
- ${hr}:not([data-disabled]):is([data-selected],[data-current]){background:${fe.fillSelected};color:${fe.label}}
239
- ${hr}:is([data-focus-visible],[data-force=Focus]){outline:${j.focusWidth} solid ${fe.focusRing};outline-offset:calc(-1 * ${j.focusWidth})}
240
- ${hr}[role=option][data-focused][data-hovered]:not([data-focus-visible]){outline:none}
241
- ${hr}[data-tone=Destructive]{color:${fe.labelDanger}}
242
- ${hr}[data-tone=Destructive]:not([data-disabled]):is(${C9}){background:${fe.fillDangerHover};color:${fe.labelDangerHover}}
243
- ${hr}[data-tone=Destructive]:not([data-disabled]):is(${w9}){background:${fe.fillDangerPressed};color:${fe.labelDangerPressed}}
244
- ${hr}[data-disabled]{color:${fe.disabled};background:transparent;cursor:default}
245
-
246
- .pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${j.leadGroupGap};min-height:${qe.label.lineHeight}}
247
- .pw-menu-item__lead{flex:none;width:${j.leadBox}px;height:${j.leadBox}px;display:inline-flex;align-items:center;justify-content:center}
248
- .pw-menu-item__lead .material-symbols-rounded,.pw-menu-item__trail .material-symbols-rounded{font-size:${j.glyph}px}
249
- .pw-menu-item__check{color:${fe.check}}
250
- ${hr}[data-disabled] .pw-menu-item__check{color:${fe.disabled}}
261
+ transition:background-color ${ot("duration-2")} ${ot("easing-standard")},color ${ot("duration-2")} ${ot("easing-standard")}}
262
+ ${Yg(Xg)}{background:${pe.fillHover};color:${pe.labelHover}}
263
+ ${Yg(qg)}{background:${pe.fillPressed};color:${pe.label}}
264
+ ${xr}:not([data-disabled]):is([data-selected],[data-current]){background:${pe.fillSelected};color:${pe.label}}
265
+ ${xr}:is([data-focus-visible],[data-force=Focus]){outline:${G.focusWidth} solid ${pe.focusRing};outline-offset:calc(-1 * ${G.focusWidth})}
266
+ ${xr}[role=option][data-focused][data-hovered]:not([data-focus-visible]){outline:none}
267
+ ${xr}[data-tone=Destructive]{color:${pe.labelDanger}}
268
+ ${xr}[data-tone=Destructive]:not([data-disabled]):is(${Xg}){background:${pe.fillDangerHover};color:${pe.labelDangerHover}}
269
+ ${xr}[data-tone=Destructive]:not([data-disabled]):is(${qg}){background:${pe.fillDangerPressed};color:${pe.labelDangerPressed}}
270
+ ${xr}[data-disabled]{color:${pe.disabled};background:transparent;cursor:default}
271
+
272
+ .pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${G.leadGroupGap};min-height:${et.label.lineHeight}}
273
+ .pw-menu-item__lead{flex:none;width:${G.leadBox}px;height:${G.leadBox}px;display:inline-flex;align-items:center;justify-content:center}
274
+ .pw-menu-item__lead .material-symbols-rounded,.pw-menu-item__trail .material-symbols-rounded{font-size:${G.glyph}px}
275
+ .pw-menu-item__check{color:${pe.check}}
276
+ ${xr}[data-disabled] .pw-menu-item__check{color:${pe.disabled}}
251
277
  .pw-menu-item__lead--hidden{visibility:hidden}
252
278
  .pw-menu-item__control{overflow:hidden}
253
279
  .pw-menu-item__control > *{flex:none;pointer-events:none}
254
280
  .pw-menu-item__lead--avatar{width:auto;height:auto}
255
- .pw-menu-item__dot{width:${j.dot}px;height:${j.dot}px;border-radius:${j.fullRadius}}
256
- .pw-menu-item__swatch{box-sizing:border-box;width:${j.swatch}px;height:${j.swatch}px;border-radius:${j.swatchRadius};border:${j.panelBorder} solid ${fe.swatchEdge}}
281
+ .pw-menu-item__dot{width:${G.dot}px;height:${G.dot}px;border-radius:${G.fullRadius}}
282
+ .pw-menu-item__swatch{box-sizing:border-box;width:${G.swatch}px;height:${G.swatch}px;border-radius:${G.swatchRadius};border:${G.panelBorder} solid ${pe.swatchEdge}}
257
283
 
258
- .pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${j.textGap}}
259
- .pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${j.inlineGap}}
260
- .pw-menu-item__label-row{display:flex;align-items:center;gap:${j.badgeGap};min-width:0}
284
+ .pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${G.textGap}}
285
+ .pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${G.inlineGap}}
286
+ .pw-menu-item__label-row{display:flex;align-items:center;gap:${G.badgeGap};min-width:0}
261
287
  .pw-menu-item__label{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
262
288
  .pw-menu-item__label-row > :not(.pw-menu-item__label){flex:none}
263
- .pw-menu-item__desc{font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight};font-weight:${qe.support.fontWeight};
264
- color:${fe.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
289
+ .pw-menu-item__desc{font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight};
290
+ color:${pe.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
265
291
  .pw-menu-item__text[data-inline] .pw-menu-item__desc{flex:0 1 auto;display:block;white-space:nowrap;text-overflow:ellipsis}
266
- .pw-menu-item__reason{display:flex;align-items:center;gap:${j.reasonGap};color:${fe.reason};
267
- font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight};font-weight:${qe.support.fontWeight}}
268
- .pw-menu-item__reason .material-symbols-rounded{font-size:${j.spinner}px}
269
- ${hr}[data-disabled] .pw-menu-item__desc{color:${fe.disabled}}
292
+ .pw-menu-item__reason{display:flex;align-items:center;gap:${G.reasonGap};color:${pe.reason};
293
+ font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight}}
294
+ .pw-menu-item__reason .material-symbols-rounded{font-size:${G.spinner}px}
295
+ ${xr}[data-disabled] .pw-menu-item__desc{color:${pe.disabled}}
270
296
 
271
- .pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${j.trailGap};margin-left:auto;min-height:${qe.label.lineHeight};
272
- color:${fe.secondary};font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight};font-weight:${qe.support.fontWeight};font-variant-numeric:tabular-nums}
297
+ .pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${G.trailGap};margin-left:auto;min-height:${et.label.lineHeight};
298
+ color:${pe.secondary};font-size:${et.support.fontSize};line-height:${et.support.lineHeight};font-weight:${et.support.fontWeight};font-variant-numeric:tabular-nums}
273
299
  .pw-menu-item__kbd{font-family:inherit;font-size:inherit}
274
- .pw-menu-item__count{box-sizing:border-box;min-width:${j.countMin}px;text-align:center;padding:0 ${j.countPadH};border-radius:${j.fullRadius};
275
- background:${fe.countFill};color:${fe.countText}}
276
- ${hr}[data-selected] .pw-menu-item__count{background:${fe.panel}}
277
- ${hr}[data-disabled] .pw-menu-item__trail{color:${fe.disabled}}
278
- ${hr}[data-disabled] .pw-menu-item__count{background:${fe.countFillDisabled};color:${fe.disabled}}
279
-
280
- .pw-menu-item__stripe{position:absolute;left:0;top:${j.stripeInset};bottom:${j.stripeInset};width:${j.stripeW};
281
- border-radius:0 ${j.itemRadius} ${j.itemRadius} 0;background:transparent}
282
- ${hr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.stripe}}
283
-
284
- .pw-menu-section{display:flex;flex-direction:column;gap:${j.itemGap}}
285
- .pw-menu-section__header{padding:${j.headerPadTop.Default} ${j.headerPadR} ${j.headerPadB} ${j.headerPadL};color:${fe.secondary};
286
- font-size:${qe.header.fontSize};line-height:${qe.header.lineHeight};font-weight:${qe.header.fontWeight};letter-spacing:${qe.header.letterSpacing}}
287
- .pw-menu__list > .pw-menu-section:first-child > .pw-menu-section__header,.pw-menu-section__header[data-position=First]{padding-top:${j.headerPadTop.First}}
288
- .pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${j.headerPadTop["After Separator"]}}
289
- .pw-menu-separator{height:0;border:0;border-top:${j.panelBorder} solid ${fe.separator};margin:${j.separatorMargin}}
290
-
291
- .pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${j.statusGap};padding:${j.statusPadV} ${j.statusPadH};
292
- color:${fe.statusBody};font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight};font-weight:${gr("weight-regular")}}
293
- .pw-menu-status__row{display:flex;align-items:center;gap:${j.leadGroupGap}}
294
- .pw-menu-status__title{color:${fe.statusTitle};font-weight:${qe.label.fontWeight}}
295
- .pw-menu-status__body{font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight}}
300
+ .pw-menu-item__count{box-sizing:border-box;min-width:${G.countMin}px;text-align:center;padding:0 ${G.countPadH};border-radius:${G.fullRadius};
301
+ background:${pe.countFill};color:${pe.countText}}
302
+ ${xr}[data-selected] .pw-menu-item__count{background:${pe.panel}}
303
+ ${xr}[data-disabled] .pw-menu-item__trail{color:${pe.disabled}}
304
+ ${xr}[data-disabled] .pw-menu-item__count{background:${pe.countFillDisabled};color:${pe.disabled}}
305
+
306
+ .pw-menu-item__stripe{position:absolute;left:0;top:${G.stripeInset};bottom:${G.stripeInset};width:${G.stripeW};
307
+ border-radius:0 ${G.itemRadius} ${G.itemRadius} 0;background:transparent}
308
+ ${xr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${pe.stripe}}
309
+
310
+ .pw-menu-section{display:flex;flex-direction:column;gap:${G.itemGap}}
311
+ .pw-menu-section__header{padding:${G.headerPadTop.Default} ${G.headerPadR} ${G.headerPadB} ${G.headerPadL};color:${pe.secondary};
312
+ font-size:${et.header.fontSize};line-height:${et.header.lineHeight};font-weight:${et.header.fontWeight};letter-spacing:${et.header.letterSpacing}}
313
+ .pw-menu__list > .pw-menu-section:first-child > .pw-menu-section__header,.pw-menu-section__header[data-position=First]{padding-top:${G.headerPadTop.First}}
314
+ .pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${G.headerPadTop["After Separator"]}}
315
+ .pw-menu-separator{height:0;border:0;border-top:${G.panelBorder} solid ${pe.separator};margin:${G.separatorMargin}}
316
+
317
+ .pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${G.statusGap};padding:${G.statusPadV} ${G.statusPadH};
318
+ color:${pe.statusBody};font-size:${et.label.fontSize};line-height:${et.label.lineHeight};font-weight:${Cr("weight-regular")}}
319
+ .pw-menu-status__row{display:flex;align-items:center;gap:${G.leadGroupGap}}
320
+ .pw-menu-status__title{color:${pe.statusTitle};font-weight:${et.label.fontWeight}}
321
+ .pw-menu-status__body{font-size:${et.support.fontSize};line-height:${et.support.lineHeight}}
296
322
 
297
323
  .pw-menu-trigger{position:relative;display:inline-flex}
298
324
  .pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar{font-family:inherit;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
299
- transition:color ${rr("duration-2")} ${rr("easing-standard")},background-color ${rr("duration-2")} ${rr("easing-standard")}}
300
- .pw-menu-trigger__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:0;background:transparent;color:${fe.trigger}}
301
- .pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${fe.triggerHover}}
302
- .pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${j.badgeGap};white-space:nowrap;box-sizing:border-box;min-height:${j.triggerTargetH};padding:${j.buttonPadV} ${j.buttonPadH};
303
- background:${fe.buttonFill};border:${j.buttonBorder} solid ${fe.buttonBorder};border-radius:${j.itemRadius};color:${fe.trigger};
304
- font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight}}
305
- .pw-menu-trigger__button:hover{background:${fe.buttonFillHover}}
306
- .pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${j.avatarBox}px;height:${j.avatarBox}px;
307
- border:0;border-radius:${j.itemRadius};background:${fe.avatarFill};color:${fe.avatarText};font-size:${gr("font-size-xxs")};font-weight:${gr("weight-semibold")}}
308
- .pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${j.focusWidth} solid ${fe.focusRing}}
325
+ transition:color ${ot("duration-2")} ${ot("easing-standard")},background-color ${ot("duration-2")} ${ot("easing-standard")}}
326
+ .pw-menu-trigger__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:0;background:transparent;color:${pe.trigger}}
327
+ .pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${pe.triggerHover}}
328
+ .pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${G.badgeGap};white-space:nowrap;box-sizing:border-box;min-height:${G.triggerTargetH};padding:${G.buttonPadV} ${G.buttonPadH};
329
+ background:${pe.buttonFill};border:${G.buttonBorder} solid ${pe.buttonBorder};border-radius:${G.itemRadius};color:${pe.trigger};
330
+ font-size:${et.label.fontSize};line-height:${et.label.lineHeight}}
331
+ .pw-menu-trigger__button:hover{background:${pe.buttonFillHover}}
332
+ .pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${G.avatarBox}px;height:${G.avatarBox}px;
333
+ border:0;border-radius:${G.itemRadius};background:${pe.avatarFill};color:${pe.avatarText};font-size:${Cr("font-size-xxs")};font-weight:${Cr("weight-semibold")}}
334
+ .pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${G.focusWidth} solid ${pe.focusRing}}
335
+
336
+ /* Below 768 the panel opens as a bottom sheet from the BottomSheet tokens, the
337
+ way the approved demo draws it (smallScreen="float" keeps it floating). The scrim is a spread shadow, so a press outside
338
+ still reaches the page and closes the menu. */
339
+ @media (max-width: 767px){
340
+ .pw-menu-panel[data-small-screen=sheet]{position:fixed !important;top:auto !important;bottom:0 !important;left:0 !important;right:0 !important;
341
+ width:auto;max-width:${Kn.maxWidth}px;margin:0 auto;max-height:calc(var(--visual-viewport-height,100vh) - ${Kn.topClearance}px) !important;
342
+ padding-top:${Kn.handleZone}px;padding-bottom:env(safe-area-inset-bottom,0);
343
+ background:${q3.surface};border-bottom:0;border-radius:${Kn.radius} ${Kn.radius} 0 0;box-shadow:0 0 0 100vmax ${q3.overlay}}
344
+ .pw-menu-panel[data-small-screen=sheet]::before{content:"";position:absolute;top:${(Kn.handleZone-Kn.pillHeight)/2}px;left:50%;
345
+ width:${Kn.pillWidth}px;height:${Kn.pillHeight}px;margin-left:-${Kn.pillWidth/2}px;border-radius:${Kn.pillRadius};background:${q3.handle}}
346
+ .pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-sheet-in ${ot("duration-5")} ${ot("easing-emphasized")} both}
347
+ .pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-sheet-out ${ot("duration-4")} ${ot("easing-accelerate")} both}
348
+ @keyframes pw-menu-sheet-in{from{transform:translateY(100%)}to{transform:none}}
349
+ @keyframes pw-menu-sheet-out{from{transform:none}to{transform:translateY(100%)}}
350
+ }
309
351
 
310
352
  @media (prefers-reduced-motion: reduce){
311
- .pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${rr("duration-2")} ${rr("easing-standard")} both}
312
- .pw-menu-panel[data-exiting]{animation:pw-menu-out ${rr("duration-2")} ${rr("easing-standard")} both}
353
+ .pw-menu-panel[data-small-screen=sheet][data-entering],.pw-menu-panel[data-small-screen=sheet][data-placement=top][data-entering]{animation:pw-menu-fade ${ot("duration-2")} ${ot("easing-standard")} both}
354
+ .pw-menu-panel[data-small-screen=sheet][data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
355
+ .pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${ot("duration-2")} ${ot("easing-standard")} both}
356
+ .pw-menu-panel[data-exiting]{animation:pw-menu-out ${ot("duration-2")} ${ot("easing-standard")} both}
313
357
  @keyframes pw-menu-fade{from{opacity:0}to{opacity:1}}
314
358
  }
315
- `,I3=!1;function N3(){(0,Rr.useEffect)(()=>{if(I3||typeof document>"u"||document.getElementById("pw-popover-menu-css")){I3=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=wC,document.head.appendChild(e),I3=!0},[])}var SC=()=>typeof document<"u"&&parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--motion-duration-3"))||200,S9=(0,Rr.createContext)("actions"),D3=(0,Rr.createContext)(null);function EC({leading:e,loading:t,disabled:r}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(u9,{size:j.spinner,label:"Loading"})});if(!e)return null;let n=typeof e=="string"?{type:"icon",name:e}:e;return n.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(Se,{name:n.name,size:j.glyph})}):n.type==="dot"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__dot",style:{background:r?fe.disabled:fe.dot[n.tone]||fe.dot.neutral}})}):n.type==="avatar"?(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__lead--avatar","aria-hidden":"true",children:(0,ne.jsx)(gs,{size:n.size||"M",shape:"Circle",src:n.src,text:n.initials||M3(n.name||"")})}):n.type==="swatch"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__swatch",style:{background:n.color}})}):null}var kC=(e,t=99)=>e>t?`${t}+`:String(e);function PC({trailing:e,hasSubmenu:t}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:"chevron_right",size:j.glyph})});if(!e)return null;let r=e;return r.type==="shortcut"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(p3,{className:"pw-menu-item__kbd",children:r.keys})}):r.type==="text"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:r.text}):r.type==="count"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)("span",{className:"pw-menu-item__count",children:kC(r.count)})}):r.type==="chevron"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:"chevron_right",size:j.glyph})}):r.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:r.name,size:j.glyph})}):null}function TC({p:e,s:t}){let r=e.indicator||"none",n=!!t.isSelected,o=!!t.isDisabled,a=!!e.inlineText;return(0,ne.jsxs)(ne.Fragment,{children:[r==="stripe"&&(0,ne.jsx)("span",{className:"pw-menu-item__stripe","aria-hidden":"true"}),(r==="check-start"||r==="radio"||r==="checkbox"||e.leading||e.loading)&&(0,ne.jsxs)("span",{className:"pw-menu-item__lead-group",children:[r==="check-start"&&(0,ne.jsx)("span",{className:`pw-menu-item__lead${n?"":" pw-menu-item__lead--hidden"}`,children:(0,ne.jsx)(Se,{name:"check",size:j.glyph,className:"pw-menu-item__check"})}),r==="radio"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(i9,{selected:n,disabled:o})}),r==="checkbox"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(Rf,{checked:n,indeterminate:!!e.mixed,disabled:o,size:"s"})}),(0,ne.jsx)(EC,{leading:e.leading,loading:e.loading,disabled:o})]}),(0,ne.jsxs)("span",{className:"pw-menu-item__text","data-inline":a||void 0,children:[e.badges&&e.badges.length?(0,ne.jsxs)("span",{className:"pw-menu-item__label-row",children:[(0,ne.jsx)("span",{className:"pw-menu-item__label",children:e.label}),e.badges.map(i=>(0,ne.jsx)(If,{label:i.label,status:i.status||"Neutral",size:"Medium",badgeStyle:"Outline & Fill"},i.label))]}):(0,ne.jsx)("span",{className:"pw-menu-item__label",children:e.label}),a?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.inlineText}):e.description?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.description}):null,e.reason&&(0,ne.jsxs)("span",{className:"pw-menu-item__reason",children:[(0,ne.jsx)(Se,{name:"info",size:j.spinner}),e.reason]})]}),(0,ne.jsx)(PC,{trailing:e.trailing,hasSubmenu:t.hasSubmenu}),r==="check"&&n&&(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:"check",size:j.glyph,className:"pw-menu-item__check"})})]})}function E9({id:e,label:t,description:r,inlineText:n,reason:o,indicator:a="none",leading:i,trailing:s,badges:l,tone:c="Default",disabled:d=!1,loading:u=!1,mixed:p=!1,current:b=!1,selected:g=!1,closeOnAction:y,onAction:$,href:m,textValue:f,forceState:h}){N3();let v=(0,Rr.useContext)(S9),x=(0,Rr.useContext)(D3),w={label:t,description:r,inlineText:n,reason:o,indicator:a,leading:i,trailing:s,badges:l,loading:u,mixed:p,selected:g},E={id:e??t,textValue:f||t,isDisabled:!!(d||o),className:"pw-menu-item","data-tone":c,"data-current":b||w.selected||void 0,"data-force":h,"aria-current":b?"page":void 0},T=P=>(0,ne.jsx)(TC,{p:w,s:{...P,isSelected:P.isSelected||!!w.selected}});return v==="options"?(0,ne.jsx)(y2,{...E,href:m,children:T}):(0,ne.jsx)(C3,{...E,href:m,target:m&&/^https?:/.test(m)?"_blank":void 0,shouldCloseOnSelect:y,onAction:()=>{$?.(),y!==!1&&x?.()},children:T})}function F3({mode:e="actions",label:t,header:r,footer:n,emptyState:o,maxHeight:a,framed:i=!1,bare:s=!1,className:l="",children:c,...d}){N3();let u=e==="options"?v2:x3,p={...d,escapeKeyBehavior:d.escapeKeyBehavior??"none"};return(0,ne.jsx)(S9.Provider,{value:e,children:(0,ne.jsxs)("div",{className:`pw-menu${i?" pw-menu--static":""}${s?" pw-menu--bare":""}${l?` ${l}`:""}`,children:[r&&(0,ne.jsx)("div",{className:"pw-menu__header",children:r}),(0,ne.jsx)("div",{className:"pw-menu__scroll",style:a?{maxHeight:a}:void 0,children:(0,ne.jsx)(u,{"aria-label":t,className:"pw-menu__list",renderEmptyState:o?()=>o:void 0,...p,children:c})}),n&&(0,ne.jsx)("div",{className:"pw-menu__footer",children:n})]})})}function k9({type:e="icon",label:t,text:r,initials:n,icon:o="more_vert",iconStyle:a="bare",renderTrigger:i,align:s="end",open:l,defaultOpen:c,onOpenChange:d,mode:u="actions",selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:y,onAction:$,header:m,footer:f,emptyState:h,searchable:v=!1,maxHeight:x,className:w="",style:k,children:E}){N3();let T=fs({isOpen:l,defaultOpen:c,onOpenChange:d}),P=(0,Rr.useRef)(null),F=`pwmenu${(0,Rr.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[R,_]=(0,Rr.useState)(!1),C=()=>setTimeout(()=>T.close(),SC()),L=q=>{$?.(q),p!=="multiple"&&C()},K=q=>{y?.(q),p!=="multiple"&&u==="options"&&C()},I={id:F,"aria-haspopup":u==="options"?"listbox":"menu","aria-expanded":T.isOpen,onClick:()=>T.toggle(null),onKeyDown:q=>{T.isOpen||(q.key==="ArrowDown"||q.key==="ArrowUp")&&(q.preventDefault(),T.open(q.key==="ArrowDown"?"first":"last"))}},Z;i?Z=i({...I,"aria-label":t,title:t}):e==="button"?Z=(0,ne.jsxs)("button",{type:"button",className:"pw-menu-trigger__button",...I,"aria-label":r?void 0:t,children:[r,(0,ne.jsx)(Se,{name:T.isOpen?"expand_less":"expand_more",size:16})]}):e==="avatar"?Z=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__avatar",...I,"aria-label":t,children:n}):a==="action"?Z=(0,ne.jsx)(qo,{name:o,size:"Medium",label:t,...I}):Z=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__icon",...I,"aria-label":t,title:t,style:{width:j.triggerTarget,height:j.triggerTarget},children:(0,ne.jsx)(Se,{name:o,size:j.triggerGlyph})});let N=(0,ne.jsx)(F3,{mode:u,label:t,selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:K,onAction:u==="options"?void 0:L,autoFocus:u==="options"?T.focusStrategy==="last"?"last":!0:void 0,shouldFocusWrap:!0,header:m,footer:f,emptyState:h,maxHeight:x,children:E});return(0,ne.jsxs)("span",{ref:P,className:`pw-menu-trigger ${w}`,"data-open":T.isOpen||void 0,onMouseEnter:()=>_(!0),onMouseLeave:()=>_(!1),"data-hovered":R||void 0,style:k,children:[Z,(0,ne.jsx)(nn,{values:[[Pf,{"aria-labelledby":t?void 0:F,autoFocus:T.focusStrategy||!0,onClose:T.close,shouldCloseOnSelect:!1}],[Cc,T],[wc,T],[xc,{trigger:"MenuTrigger",triggerRef:P,placement:`bottom ${s}`}]],children:(0,ne.jsx)(f3,{className:"pw-menu-panel",offset:j.offset,"data-searchable":v||void 0,children:N})})]})}var gt=S($e(),1),Tc=e=>`var(--semantic-color-${e})`,br=e=>`var(--semantic-layout-units-${e})`,Lc=e=>`var(--semantic-type-${e})`,eo=e=>`var(--motion-${e})`,bs={surface:Tc("fill-surface-elevated"),overlay:Tc("scrim-subtle"),handle:Tc("fill-static-neutral-strong"),title:Tc("foreground-static-neutral-strong"),footerBorder:Tc("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},ze={radius:br("cornerradius-xlarge"),sheetGap:br("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:br("cornerradius-full"),headerMinH:br("accessibility-touch-target-aa-height"),headerPadTop:br("padding-xtight"),headerPadX:br("padding-xxxxtight"),headerPadBottom:br("padding-xxxtight"),headerGap:br("gap-xxtight"),titleInset:br("padding-base"),bodyPad:br("padding-xtight"),bodyGap:br("gap-xxtight"),footerBorder:br("borderwidth-base"),footerPadTop:br("padding-tight"),footerPad:br("padding-base"),footerGap:br("gap-tight"),dismissDistance:80,flickSpeed:.5},LC={title:{fontFamily:Lc("family-brand"),fontSize:Lc("font-size-s"),fontWeight:Lc("weight-semibold"),lineHeight:Lc("line-height-s-tight"),letterSpacing:Lc("letter-spacing-wide")}},ri={enter:`pw-bottom-sheet-up ${eo("duration-5")} ${eo("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${eo("duration-4")} ${eo("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${eo("duration-4")} ${eo("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${eo("duration-4")} ${eo("easing-standard")} both`,settle:`transform ${eo("duration-4")} ${eo("easing-decelerate")}`},RC="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function _C(){(0,tt.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=RC,document.head.appendChild(e)},[])}var P9='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',MC=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function IC(){return(0,gt.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:ze.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,gt.jsx)("div",{style:{width:ze.pillWidth,height:ze.pillHeight,borderRadius:ze.pillRadius,background:bs.handle}})})}function NC({title:e,titleId:t,titleRef:r,showBack:n=!1,onBack:o,onClose:a,backLabel:i="Back",closeLabel:s="Close"}){return(0,gt.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:ze.headerGap,minHeight:ze.headerMinH,boxSizing:"border-box",padding:`${ze.headerPadTop} ${ze.headerPadX} ${ze.headerPadBottom}`},children:[n&&(0,gt.jsx)(qo,{name:"arrow_back",size:"Medium",label:i,onClick:o}),(0,gt.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:ze.titleInset},children:(0,gt.jsx)("h2",{id:t,ref:r,tabIndex:-1,style:{margin:0,outline:"none",color:bs.title,...LC.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,gt.jsx)(qo,{name:"close",size:"Medium",label:s,onClick:a})]})}function DC({children:e}){return(0,gt.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:ze.footerGap,flexShrink:0,borderTop:`${ze.footerBorder} solid ${bs.footerBorder}`,padding:`${ze.footerPadTop} ${ze.footerPad} calc(${ze.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function FC({onClick:e,animation:t,opacity:r}){return(0,gt.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:bs.overlay,animation:t,opacity:r}})}function Ff({open:e,onOpenChange:t,title:r,children:n,menu:o=!1,menuProps:a,showHandle:i=!0,footer:s,showBack:l=!1,onBack:c,initialFocus:d="auto",returnFocusRef:u,closeLabel:p="Close",backLabel:b="Back",container:g,contained:y=!1,className:$="",style:m}){_C();let f=Vt(),h=`pwbs${(0,tt.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[v,x]=(0,tt.useState)(!!e),[w,k]=(0,tt.useState)(!1),[E,T]=(0,tt.useState)(0),[P,F]=(0,tt.useState)(!1),R=(0,tt.useRef)(null),_=(0,tt.useRef)(null),C=(0,tt.useRef)(null),L=(0,tt.useRef)(null),K=(0,tt.useRef)(null),I=(0,tt.useRef)(null),Z=()=>t?.(!1);(0,tt.useEffect)(()=>{e?(typeof document<"u"&&(K.current=document.activeElement),k(!1),T(0),x(!0)):v&&k(!0)},[e]);let N=le=>{le.target!==R.current||!w||(x(!1),k(!1),T(0),q.current=!0)},q=(0,tt.useRef)(!1);(0,tt.useEffect)(()=>{if(!v||!L.current||y)return;let le=L.current,A=document.body.style.overflow;document.body.style.overflow="hidden";let ce=[...le.parentNode?.children||[]].filter(me=>me!==le&&!me.inert&&me.tagName!=="SCRIPT"&&me.tagName!=="STYLE");return ce.forEach(me=>{me.inert=!0}),()=>{document.body.style.overflow=A,ce.forEach(me=>{me.inert=!1})}},[v]),(0,tt.useEffect)(()=>{if(v||!q.current)return;q.current=!1;let le=u?.current||K.current;le&&le.isConnected&&typeof le.focus=="function"&&le.focus()},[v]),(0,tt.useEffect)(()=>{if(!v||w||!R.current||y)return;let le=_.current?[..._.current.querySelectorAll(MC)]:[],A=C.current;d==="first"?A=le[0]||R.current.querySelector(P9)||A:d==="auto"&&o&&le.length&&(A=le.find(W=>W.getAttribute("aria-checked")==="true")||le[0]),A?.focus({preventScroll:!0})},[v,w]);let ee=(0,tt.useRef)(!0);(0,tt.useEffect)(()=>{if(ee.current){ee.current=!1;return}v&&!y&&C.current?.focus({preventScroll:!0})},[l]);let z=le=>{if(le.key==="Escape"){le.stopPropagation(),le.nativeEvent?.stopImmediatePropagation?.(),Z();return}if(le.key==="Tab"&&R.current){let A=[...R.current.querySelectorAll(P9)].filter(me=>me.offsetParent!==null||me===document.activeElement);if(!A.length){le.preventDefault();return}let W=A[0],ce=A[A.length-1];le.shiftKey&&(document.activeElement===W||document.activeElement===C.current)?(le.preventDefault(),ce.focus()):!le.shiftKey&&document.activeElement===ce&&(le.preventDefault(),W.focus());return}},G=le=>{le.button!==void 0&&le.button!==0||_.current?.contains(le.target)&&_.current.scrollTop>0||(I.current={y:le.clientY,t:performance.now(),id:le.pointerId,active:!1})},V=le=>{let A=I.current;if(!A||A.id!==le.pointerId)return;let W=le.clientY-A.y;if(!A.active){if(W<-4){I.current=null;return}if(W<8)return;A.active=!0,F(!0),R.current?.setPointerCapture?.(le.pointerId)}T(Math.max(0,W))},M=le=>{let A=I.current;if(I.current=null,!A||!A.active)return;F(!1);let W=Math.max(0,le.clientY-A.y),ce=W/Math.max(1,performance.now()-A.t);W>ze.dismissDistance||ce>ze.flickSpeed?Z():T(0)};if(!v||typeof document>"u")return null;let ae=f?w?ri.fadeOut:ri.fadeIn:w?ri.exit:ri.enter,Q=E>0&&!w,we=Q&&R.current?Math.max(0,1-E/R.current.offsetHeight):void 0,bt=(0,gt.jsxs)("div",{ref:L,className:`pw-bottom-sheet ${$}`,"data-open":!w||void 0,style:{position:y?"absolute":"fixed",inset:0,zIndex:y?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...m},children:[(0,gt.jsx)(FC,{onClick:Z,animation:w?ri.fadeOut:ri.fadeIn,opacity:we}),(0,gt.jsxs)("div",{ref:R,role:"dialog","aria-modal":"true","aria-labelledby":h,onKeyDown:z,onAnimationEnd:N,onPointerDown:G,onPointerMove:V,onPointerUp:M,onPointerCancel:M,style:{position:"relative",width:"100%",maxWidth:ze.maxWidth,boxSizing:"border-box",maxHeight:y?`calc(100% - ${ze.topClearance}px)`:`calc(100dvh - ${ze.topClearance}px)`,display:"flex",flexDirection:"column",gap:ze.sheetGap,background:bs.surface,boxShadow:bs.shadow,borderRadius:`${ze.radius} ${ze.radius} 0 0`,animation:Q?"none":ae,transform:Q?`translateY(${E}px)`:void 0,transition:P||f?"none":ri.settle,touchAction:"pan-y"},children:[(0,gt.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[i&&(0,gt.jsx)(IC,{}),(0,gt.jsx)(NC,{title:r,titleId:h,titleRef:C,showBack:l,onBack:c,onClose:Z,closeLabel:p,backLabel:b})]}),(0,gt.jsx)("div",{ref:_,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:ze.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:s?`0 ${ze.bodyPad} ${ze.bodyPad}`:`0 ${ze.bodyPad} calc(${ze.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,gt.jsx)(D3.Provider,{value:Z,children:o?(0,gt.jsx)(F3,{bare:!0,label:r,...a,children:n}):n})}),s&&(0,gt.jsx)(DC,{children:s})]})]});return y?bt:(0,T9.createPortal)(bt,g||document.body)}var B=S($e(),1),H3=e=>e?{inert:"","aria-hidden":!0}:{};Xo();var _e=e=>`var(--semantic-color-${e})`,A3=e=>`var(${e})`,$r=e=>`var(--semantic-layout-units-${e})`,ni=e=>`var(--contextual-layout-units-${e})`,L9=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,xe={fill:{navBase:"transparent",navHover:_e("fill-action-selection-hover"),navActive:_e("fill-action-selection-selected"),navTrail:_e("fill-action-selection-trail"),infoSubtle:_e("stroke-static-neutral-faint")},surface:{navLight:_e("fill-surface-elevated"),navElevated:_e("fill-surface-elevated")},text:{navBase:_e("foreground-action-secondary-rest"),navHover:_e("foreground-action-secondary-hover"),navActive:_e("foreground-action-secondary-pressed"),navDisabled:_e("foreground-action-disabled"),secondary:_e("foreground-static-neutral-subtle"),secondarySubtle:_e("foreground-static-neutral-subtle"),strong:_e("foreground-static-neutral-strong")},icon:{navBase:_e("foreground-action-secondary-rest"),navHover:_e("foreground-action-secondary-hover"),navActive:_e("foreground-action-secondary-pressed"),navDisabled:_e("foreground-action-disabled"),actionSecondary:_e("foreground-action-secondary-rest")},indicator:_e("fill-action-selection-indicator"),radius:ni("navitem-cornerradius")},te={navPadH:ni("sidenav-padding-horizontal-expanded"),navColPadH:ni("sidenav-padding-horizontal-collapsed"),navPadTop:ni("sidenav-padding-vertical"),navW:ni("sidenav-width-expanded"),navWcol:ni("sidenav-width-collapsed"),menuGap:ni("sidenav-gap-vertical"),menuPadT:$r("padding-tight"),menuPadB:$r("padding-xxwide"),itemH:$r("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:$r("padding-tight"),railIconInset:$r("padding-xxtight"),textPad:$r("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:$r("padding-xxxtight"),stripeInnerPadV:$r("padding-xxtight"),stripeRadius:$r("cornerradius-base"),itemPadH:$r("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:$r("padding-tight"),childMainPadL:$r("padding-relaxed"),colPadL:$r("padding-medium"),colPadR:$r("padding-tight"),collapseGap:$r("padding-xxtight")};function M9({visible:e,inset:t}){return(0,B.jsx)("div",{style:{width:te.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${te.stripeOuterPadV} + ${te.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,B.jsx)("div",{style:{flex:"1 0 0",width:te.stripeW,minHeight:1,borderRadius:`0 ${te.stripeRadius} ${te.stripeRadius} 0`,backgroundColor:e?xe.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function R9({item:e,isActive:t,isTrail:r,isExpanded:n,isSidebarCollapsed:o,isChild:a,onClick:i,onToggle:s,popoverOpen:l,anchorRect:c,onPopoverEnter:d,onPopoverLeave:u,activeId:p,chevronUp:b,chevronDown:g,collapseIcon:y,expandIcon:$}){let[m,f]=(0,rt.useState)(!1),h=!!(e.children&&e.children.length),v=(0,rt.useRef)(null),x=h&&n&&!o,w=r&&(!n||o),E=w||t&&!(o&&h),T=!!e.disabled,P=T?xe.fill.navBase:t||w?xe.fill.navActive:x?xe.fill.navTrail:m?xe.fill.navHover:xe.fill.navBase,F=T?xe.text.navDisabled:t||w||x?xe.text.navActive:m?xe.text.navHover:xe.text.navBase,R=T?xe.icon.navDisabled:t||w||x?xe.icon.navActive:m?xe.icon.navHover:xe.icon.navBase,_=()=>{T||(h&&!o?s(e.id):i(e.id))};return(0,B.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,B.jsxs)("div",{className:zr,role:"button",tabIndex:T?-1:0,"aria-current":t?"page":void 0,"aria-disabled":T?!0:void 0,"aria-expanded":h&&!o?n:void 0,onClick:_,onKeyDown:C=>!T&&(C.key==="Enter"||C.key===" ")&&_(),onMouseEnter:()=>{if(!T&&(f(!0),o&&d)){let C=v.current?v.current.getBoundingClientRect():null;d(e.id,C)}},onMouseLeave:()=>{T||(f(!1),o&&u&&u())},style:{display:"flex",alignItems:"center",minHeight:te.itemH,width:o?te.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?te.railIconInset:void 0,boxSizing:"border-box",borderRadius:xe.radius,backgroundColor:P,cursor:T?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,B.jsx)(M9,{visible:E}),!a&&e.icon&&(0,B.jsx)("div",{style:{width:te.iconWrap,height:te.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":te.itemPadH,marginRight:o?"auto":void 0,color:R},children:typeof e.icon=="function"?e.icon({size:te.iconInner,color:R}):typeof e.icon=="string"?(0,B.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:te.iconInner,lineHeight:1,color:R,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):rt.default.cloneElement(e.icon,{style:{color:R}})}),(0,B.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:a?`calc(${te.childRowPadL} + ${te.childMainPadL} + ${te.textPad})`:te.textPad,paddingRight:o?0:a?te.childRowPadL:te.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,B.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!a&&h&&!o&&(0,B.jsx)("div",{style:{width:te.chevBox,height:te.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,B.jsx)("div",{style:{transform:n?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:g?g({size:te.chevGlyph,color:R}):(0,B.jsx)(UC,{size:te.chevGlyph,color:R})})})]}),o&&l&&c&&(0,B.jsx)("div",{style:{position:"fixed",left:c.right,top:c.top,width:8,height:c.height,zIndex:999},onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)}}),o&&h&&l&&c&&(0,B.jsx)(OC,{item:e,onClick:i,anchorRect:c,activeId:p,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u}),o&&!h&&l&&c&&(0,B.jsx)(HC,{label:e.label,anchorRect:c,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u})]})}function HC({label:e,anchorRect:t,onMouseEnter:r,onMouseLeave:n}){return t?Hf.default.createPortal((0,B.jsx)("div",{onMouseEnter:r,onMouseLeave:n,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:xe.surface.navLight,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:A3("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,B.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:xe.text.strong},children:e})}),document.body):null}function AC({label:e}){return(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,B.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:xe.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function OC({item:e,onClick:t,anchorRect:r,onMouseEnter:n,onMouseLeave:o,activeId:a}){return r?Hf.default.createPortal((0,B.jsxs)("div",{onMouseEnter:n,onMouseLeave:o,style:{position:"fixed",left:r.right+8,top:r.top,zIndex:1e3,backgroundColor:xe.surface.navElevated,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:A3("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,B.jsx)(AC,{label:e.label}),e.children.map(i=>(0,B.jsx)(Rc,{item:i,onClick:t,activeId:a},i.id))]}),document.body):null}function Rc({item:e,onClick:t,activeId:r}){let[n,o]=(0,rt.useState)(!1),a=e.id===r,i=a?xe.fill.navActive:n?xe.fill.navHover:"transparent",s=xe.text.strong;return(0,B.jsxs)("div",{onClick:()=>t(e.id),className:Oi,role:"menuitem",tabIndex:0,"aria-current":a?"page":void 0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:te.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:i,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:te.stripeW,borderRadius:`0 ${te.stripeRadius} ${te.stripeRadius} 0`,backgroundColor:a?xe.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,B.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:s,flex:1},children:e.label})]})}var _9=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),to={restStroke:_e("stroke-action-primary-subtle-rest"),hoverFill:_e("fill-action-primary-subtle-hover"),hoverStroke:_e("stroke-action-primary-strong-hover"),hoverFg:_e("foreground-action-primary-on-subtle-hover"),openFill:_e("fill-action-primary-subtle-pressed"),openStroke:_e("stroke-action-primary-strong-pressed"),openFg:_e("foreground-action-primary-on-subtle-pressed"),restFg:_e("foreground-static-neutral-bold"),separator:_e("stroke-static-neutral-base")};function KC({label:e,icon:t="apps",home:r,apps:n=[],activeId:o,onSelect:a,collapsed:i=!1,presentation:s="popover",sheetTitle:l}){let c=[r,...n].filter(Boolean).find(_=>_.id===o),d=c&&c.label||e||r&&r.label,[u,p]=(0,rt.useState)(!1),[b,g]=(0,rt.useState)(!1),[y,$]=(0,rt.useState)(!1),[m,f]=(0,rt.useState)(null),h=(0,rt.useRef)(null),v=(0,rt.useRef)(null),x=(0,rt.useRef)(null),w=(0,rt.useRef)(!1),k=()=>{if(y){$(!1);return}f(h.current?h.current.getBoundingClientRect():null),$(!0)};(0,rt.useEffect)(()=>{if(!y||s==="sheet"||!w.current)return;w.current=!1;let _=setTimeout(()=>{let C=x.current?[...x.current.querySelectorAll('[role="menuitem"]')]:[];(C.find(L=>L.getAttribute("aria-current"))||C[0])?.focus()},0);return()=>clearTimeout(_)},[y,s]);let E=_=>{let C=[..._.currentTarget.querySelectorAll('[role="menuitem"]')],L=C.indexOf(document.activeElement),K=null;_.key==="ArrowDown"?K=(L+1)%C.length:_.key==="ArrowUp"?K=(L-1+C.length)%C.length:_.key==="Home"?K=0:_.key==="End"&&(K=C.length-1),!(K===null||!C.length)&&(_.preventDefault(),C[K].focus())},T=_=>{$(!1),a&&a(_),v.current&&v.current.focus()};(0,rt.useEffect)(()=>{if(!y||s==="sheet")return;let _=L=>{_9(h.current,L)||_9(x.current,L)||$(!1)},C=L=>{L.key==="Escape"&&($(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",_),document.addEventListener("keydown",C),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("keydown",C)}},[y,s]);let P=y||b,F=P?to.openFg:u?to.hoverFg:to.restFg,R=r||{id:"__home",label:e};return(0,B.jsxs)("div",{ref:h,style:{boxSizing:"border-box",width:"100%",minHeight:te.itemH,flexShrink:0,padding:i?`${te.textPad} 0`:`${te.textPad} ${te.chevPad}`},children:[(0,B.jsxs)("button",{ref:v,className:uu,type:"button",onClick:k,onKeyDown:_=>{(_.key==="Enter"||_.key===" "||_.key==="ArrowDown")&&(w.current=!0),_.key==="ArrowDown"&&!y&&(_.preventDefault(),k())},"aria-haspopup":"menu","aria-expanded":y,"aria-label":i?`Switch application: ${d}`:void 0,onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),onBlur:()=>g(!1),style:{display:"flex",alignItems:"center",width:"100%",height:te.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:i?"center":"flex-start",gap:i?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:te.itemPadH,paddingRight:te.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:P?to.openFill:u?to.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${P?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${P?to.openStroke:u?to.hoverStroke:to.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,B.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:te.iconInner,lineHeight:1,display:"block",color:F,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!i&&(0,B.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:d})]}),s==="sheet"&&(0,B.jsxs)(Ff,{open:y,title:l||d,menu:!0,returnFocusRef:v,onOpenChange:_=>{_||$(!1)},children:[(0,B.jsx)(Rc,{item:R,onClick:T,activeId:o}),n.length>0&&(0,B.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,B.jsx)("div",{style:{borderTop:`0.5px solid ${to.separator}`}})}),n.map(_=>(0,B.jsx)(Rc,{item:_,onClick:T,activeId:o},_.id))]}),y&&s!=="sheet"&&m&&Hf.default.createPortal((0,B.jsxs)("div",{ref:x,role:"menu","aria-label":d,onKeyDown:E,style:{position:"fixed",left:`calc(${m.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:m.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(m.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:xe.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:A3("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,B.jsx)(Rc,{item:R,onClick:T,activeId:o}),n.length>0&&(0,B.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,B.jsx)("div",{style:{borderTop:`0.5px solid ${to.separator}`}})}),n.map(_=>(0,B.jsx)(Rc,{item:_,onClick:T,activeId:o},_.id))]}),document.body)]})}function I9({label:e,icon:t=null}){return(0,B.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1,gap:"var(--semantic-layout-units-gap-xxtight)"},children:[t&&(0,B.jsx)("span",{"aria-hidden":"true",style:{width:28,height:28,flexShrink:0,overflow:"hidden",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:_e("fill-static-brand-strong"),color:_e("fill-static-neutral-mono")},children:t}),(0,B.jsx)("span",{style:{flex:1,minWidth:0,fontFamily:"var(--semantic-type-family-brand)",fontWeight:"var(--semantic-type-weight-semibold)",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:_e("foreground-static-neutral-strong"),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})]})}function zC({isSidebarCollapsed:e,onToggle:t,collapseIcon:r,expandIcon:n,headerStart:o=null,hideToggle:a=!1}){let[i,s]=(0,rt.useState)(!1),l=xe.icon.actionSecondary,c=!e&&o;return(0,B.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",height:te.itemH,width:"100%",justifyContent:c?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[c&&(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!a&&(0,B.jsx)("div",{onClick:t,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:zr,role:"button",tabIndex:0,onKeyDown:d=>(d.key==="Enter"||d.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:te.itemH,flexShrink:0,cursor:"pointer"},children:(0,B.jsx)("div",{style:{width:te.itemH,height:te.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,B.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:i?xe.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?n?n({size:12,color:l}):(0,B.jsx)(GC,{color:l}):r?r({size:12,color:l}):(0,B.jsx)(jC,{color:l})})})})]}),(0,B.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,B.jsx)("div",{style:{height:1,backgroundColor:xe.fill.infoSubtle}})})]})}function N9({label:e}){return(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,B.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:xe.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function BC({color:e}){return(0,B.jsx)("svg",{width:te.iconInner,height:te.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,B.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function VC({item:e,isActive:t,onClick:r}){let[n,o]=(0,rt.useState)(!1),a=t?xe.fill.navActive:n?xe.fill.navHover:"transparent",i=t?xe.text.navActive:n?xe.text.navHover:xe.text.navBase,s=t?xe.icon.navActive:n?xe.icon.navHover:xe.icon.navBase;return(0,B.jsxs)("div",{onClick:()=>r&&r(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:zr,role:"button",tabIndex:0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&r&&r(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:te.itemH,width:"100%",borderRadius:xe.radius,backgroundColor:a,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,B.jsx)(M9,{visible:t,inset:te.stripeInnerPadV}),(0,B.jsx)("div",{style:{width:te.iconWrap,height:te.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:te.rowPadH},children:(0,B.jsx)(BC,{color:s})}),(0,B.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:te.textPad,paddingRight:`calc(${te.textPad} + ${te.rowPadH})`},children:(0,B.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:i,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function WC({label:e,items:t,activeId:r,onNavigate:n}){return(0,B.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,B.jsx)(N9,{label:e}),(0,B.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,B.jsx)(VC,{item:o,isActive:o.id===r,onClick:n},o.id))})]})}function $s({items:e,sections:t,listSection:r,activeId:n,onNavigate:o,collapsed:a=!1,onCollapseChange:i,hideCollapseButton:s=!1,defaultExpanded:l={},className:c="",headerEnd:d=null,children:u=null,footer:p=null,appSwitcher:b=null,headerStart:g=null}){let[y,$]=(0,rt.useState)(l),[m,f]=(0,rt.useState)(null),[h,v]=(0,rt.useState)(null),x=(0,rt.useRef)(null),w=t?t.flatMap(R=>R.items):e||[],k=(()=>{let R=w.find(_=>_.children&&_.children.some(C=>C.id===n));return R?R.id:null})(),E=R=>$(_=>{if(!_[R])return{[R]:!0};let L={..._};return delete L[R],L}),T=(R,_)=>{clearTimeout(x.current),f(R),_&&v(_)},P=()=>{x.current=setTimeout(()=>{f(null),v(null)},300)},F=R=>{let _=!!(R.children&&R.children.length),C=R.id===n,L=R.id===k,K=!!y[R.id];return(0,B.jsxs)("div",{children:[(0,B.jsx)(R9,{item:R,isActive:C,isTrail:L,isExpanded:K,isSidebarCollapsed:a,isChild:!1,onClick:o,onToggle:E,popoverOpen:m===R.id,anchorRect:m===R.id?h:null,onPopoverEnter:T,onPopoverLeave:P,activeId:n}),_&&!a&&(0,B.jsx)("div",{...H3(!K),style:{display:"grid",gridTemplateRows:K?"1fr":"0fr",marginTop:K?te.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,B.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:te.menuGap,opacity:K?1:0,transition:K?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:R.children.map(I=>(0,B.jsx)(R9,{item:I,isActive:I.id===n,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},I.id))})})]},R.id)};return(0,B.jsxs)("nav",{className:c,style:{width:a?te.navWcol:te.navW,height:"100%",backgroundColor:xe.surface.navLight,display:"flex",flexDirection:"column",paddingTop:te.navPadTop,paddingBottom:0,paddingLeft:a?te.navColPadH:te.navPadH,paddingRight:a?te.navColPadH:te.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${xe.fill.infoSubtle}`,overflow:"hidden"},children:[(!s||d||g)&&(0,B.jsxs)("div",{style:{flexShrink:0},children:[(!s||g)&&(0,B.jsx)(zC,{isSidebarCollapsed:a,headerStart:g,hideToggle:s,onToggle:()=>i&&i(!a)}),d&&(0,B.jsx)("div",{...H3(a),style:{opacity:a?0:1,maxHeight:a?0:200,overflow:"hidden",pointerEvents:a?"none":"auto",padding:a?0:`0 ${te.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:d})]}),(0,B.jsxs)(bu,{style:{flex:1,minHeight:0,marginRight:L9(a?te.navColPadH:te.navPadH),marginLeft:L9("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:te.menuGap,paddingTop:te.menuPadT,paddingRight:a?te.navColPadH:te.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[b&&(0,B.jsx)(KC,{...b,collapsed:a}),t&&t.map(({section:R,items:_},C)=>(0,B.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:te.menuGap,flexShrink:0},children:[(0,B.jsx)("div",{style:{opacity:a?0:1,maxHeight:a?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,B.jsx)(N9,{label:R})}),C>0&&(0,B.jsx)("div",{style:{opacity:a?1:0,maxHeight:a?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,B.jsx)("div",{style:{height:1,backgroundColor:xe.fill.infoSubtle}})}),_.map(F)]},R)),!t&&(e||[]).map(F),r&&(0,B.jsx)("div",{...H3(a),style:{opacity:a?0:1,maxHeight:a?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,B.jsx)(WC,{label:r.label,items:r.items,activeId:n,onNavigate:o})}),u&&(0,B.jsx)("div",{style:{flexShrink:0},children:u}),(0,B.jsx)("div",{style:{flex:1,minHeight:te.menuPadB}})]}),p&&(0,B.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${xe.fill.infoSubtle}`,padding:a?`8px ${te.navColPadH}`:`8px ${te.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:p})]})}function UC({size:e=12,color:t}){return(0,B.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,B.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function jC({size:e=12,color:t=xe.icon.actionSecondary}){return(0,B.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,B.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function GC({size:e=12,color:t=xe.icon.actionSecondary}){return(0,B.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,B.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var ZC={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},YC=`
359
+ `,Q3=!1;function J3(){(0,Rt.useEffect)(()=>{if(Q3||typeof document>"u"||document.getElementById("pw-popover-menu-css")){Q3=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=sw,document.head.appendChild(e),Q3=!0},[])}var Jg=(e,t)=>typeof document<"u"&&parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e))||t,lw=()=>Jg("--motion-duration-3",200),e9=(0,Rt.createContext)("actions"),cw=(0,Rt.createContext)("sheet"),em=(0,Rt.createContext)(null);function dw({leading:e,loading:t,disabled:r}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(Ng,{size:G.spinner,label:"Loading"})});if(!e)return null;let n=typeof e=="string"?{type:"icon",name:e}:e;return n.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(ye,{name:n.name,size:G.glyph})}):n.type==="dot"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__dot",style:{background:r?pe.disabled:pe.dot[n.tone]||pe.dot.neutral}})}):n.type==="avatar"?(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__lead--avatar","aria-hidden":"true",children:(0,ne.jsx)(Ei,{size:n.size||"M",shape:"Circle",src:n.src,text:n.initials||Oc(n.name||"")})}):n.type==="swatch"?(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)("span",{className:"pw-menu-item__swatch",style:{background:n.color}})}):null}var uw=(e,t=99)=>e>t?`${t}+`:String(e);function fw({trailing:e,hasSubmenu:t}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"chevron_right",size:G.glyph})});if(!e)return null;let r=e;return r.type==="shortcut"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(R3,{className:"pw-menu-item__kbd",children:r.keys})}):r.type==="text"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:r.text}):r.type==="count"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)("span",{className:"pw-menu-item__count",children:uw(r.count)})}):r.type==="chevron"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"chevron_right",size:G.glyph})}):r.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:r.name,size:G.glyph})}):null}function Qg({label:e,s:t}){let r=(0,Rt.useRef)(null),[n,o]=(0,Rt.useState)(!1),[i,a]=(0,Rt.useState)(!1),s=!!(t.isHovered||t.isFocusVisible);(0,Rt.useEffect)(()=>{let c=r.current;o(!!c&&c.scrollWidth>c.clientWidth+1)},[s,e]),(0,Rt.useEffect)(()=>{if(!t.isHovered){a(!1);return}let c=setTimeout(()=>a(!0),Jg("--motion-duration-4",300));return()=>clearTimeout(c)},[t.isHovered]);let l=n&&typeof e=="string"&&(!!t.isFocusVisible||i);return(0,ne.jsx)(co,{content:typeof e=="string"?e:void 0,open:l,manageAria:!1,align:"start",children:(0,ne.jsx)("span",{ref:r,className:"pw-menu-item__label",children:e})})}function pw({p:e,s:t}){let r=e.indicator||"none",n=!!t.isSelected,o=!!t.isDisabled,i=!!e.inlineText;return(0,ne.jsxs)(ne.Fragment,{children:[r==="stripe"&&(0,ne.jsx)("span",{className:"pw-menu-item__stripe","aria-hidden":"true"}),(r==="check-start"||r==="radio"||r==="checkbox"||e.leading||e.loading)&&(0,ne.jsxs)("span",{className:"pw-menu-item__lead-group",children:[r==="check-start"&&(0,ne.jsx)("span",{className:`pw-menu-item__lead${n?"":" pw-menu-item__lead--hidden"}`,children:(0,ne.jsx)(ye,{name:"check",size:G.glyph,className:"pw-menu-item__check"})}),r==="radio"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(Lg,{selected:n,disabled:o})}),r==="checkbox"&&(0,ne.jsx)("span",{className:"pw-menu-item__lead pw-menu-item__control",inert:"","aria-hidden":"true",children:(0,ne.jsx)(zf,{checked:n,indeterminate:!!e.mixed,disabled:o,size:"s"})}),(0,ne.jsx)(dw,{leading:e.leading,loading:e.loading,disabled:o})]}),(0,ne.jsxs)("span",{className:"pw-menu-item__text","data-inline":i||void 0,children:[e.badges&&e.badges.length?(0,ne.jsxs)("span",{className:"pw-menu-item__label-row",children:[(0,ne.jsx)(Qg,{label:e.label,s:t}),e.badges.map(a=>(0,ne.jsx)(Uf,{label:a.label,status:a.status||"Neutral",size:"Medium",badgeStyle:"Outline & Fill"},a.label))]}):(0,ne.jsx)(Qg,{label:e.label,s:t}),i?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.inlineText}):e.description?(0,ne.jsx)("span",{className:"pw-menu-item__desc",children:e.description}):null,e.reason&&(0,ne.jsxs)("span",{className:"pw-menu-item__reason",children:[(0,ne.jsx)(ye,{name:"info",size:G.spinner}),e.reason]})]}),(0,ne.jsx)(fw,{trailing:e.trailing,hasSubmenu:t.hasSubmenu}),r==="check"&&n&&(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(ye,{name:"check",size:G.glyph,className:"pw-menu-item__check"})})]})}function Xf({id:e,label:t,description:r,inlineText:n,reason:o,indicator:i="none",leading:a,trailing:s,badges:l,tone:c="Default",disabled:d=!1,loading:u=!1,mixed:p=!1,current:b=!1,selected:g=!1,closeOnAction:y,onAction:$,href:m,textValue:f,forceState:h}){J3();let v=(0,Rt.useContext)(e9),x=(0,Rt.useContext)(em),w={label:t,description:r,inlineText:n,reason:o,indicator:i,leading:a,trailing:s,badges:l,loading:u,mixed:p,selected:g},k={id:e??t,textValue:f||t,isDisabled:!!(d||o),className:"pw-menu-item","data-tone":c,"data-current":b||w.selected||void 0,"data-force":h,"aria-current":b?"page":void 0},T=E=>(0,ne.jsx)(pw,{p:w,s:{...E,isSelected:E.isSelected||!!w.selected}});return v==="options"?(0,ne.jsx)(H2,{...k,href:m,children:T}):(0,ne.jsx)(O3,{...k,href:m,target:m&&/^https?:/.test(m)?"_blank":void 0,shouldCloseOnSelect:y,onAction:()=>{$?.(),y!==!1&&x?.()},children:T})}function tm({mode:e="actions",label:t,header:r,footer:n,emptyState:o,maxHeight:i,framed:a=!1,bare:s=!1,className:l="",children:c,...d}){J3();let u=e==="options"?F2:A3,p={...d,escapeKeyBehavior:d.escapeKeyBehavior??"none"};return(0,ne.jsx)(e9.Provider,{value:e,children:(0,ne.jsxs)("div",{className:`pw-menu${a?" pw-menu--static":""}${s?" pw-menu--bare":""}${l?` ${l}`:""}`,children:[r&&(0,ne.jsx)("div",{className:"pw-menu__header",children:r}),(0,ne.jsx)("div",{className:"pw-menu__scroll",style:i?{maxHeight:i}:void 0,children:(0,ne.jsx)(u,{"aria-label":t,className:"pw-menu__list",renderEmptyState:o?()=>o:void 0,...p,children:c})}),n&&(0,ne.jsx)("div",{className:"pw-menu__footer",children:n})]})})}function qf({type:e="icon",label:t,text:r,initials:n,icon:o="more_vert",iconStyle:i="bare",renderTrigger:a,align:s="end",open:l,defaultOpen:c,onOpenChange:d,mode:u="actions",selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:y,onAction:$,header:m,footer:f,emptyState:h,searchable:v=!1,smallScreen:x="sheet",maxHeight:w,className:P="",style:k,children:T}){J3();let E=xs({isOpen:l,defaultOpen:c,onOpenChange:d}),F=(0,Rt.useRef)(null),_=`pwmenu${(0,Rt.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[I,C]=(0,Rt.useState)(!1),L=()=>setTimeout(()=>E.close(),lw()),O=X=>{$?.(X),p!=="multiple"&&L()},M=X=>{y?.(X),p!=="multiple"&&u==="options"&&L()},Z={id:_,"aria-haspopup":u==="options"?"listbox":"menu","aria-expanded":E.isOpen,onClick:()=>E.toggle(null),onKeyDown:X=>{E.isOpen||(X.key==="ArrowDown"||X.key==="ArrowUp")&&(X.preventDefault(),E.open(X.key==="ArrowDown"?"first":"last"))}},R;a?R=a({...Z,"aria-label":t,title:t}):e==="button"?R=(0,ne.jsxs)("button",{type:"button",className:"pw-menu-trigger__button",...Z,"aria-label":r?void 0:t,children:[r,(0,ne.jsx)(ye,{name:E.isOpen?"expand_less":"expand_more",size:16})]}):e==="avatar"?R=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__avatar",...Z,"aria-label":t,children:n}):i==="action"?R=(0,ne.jsx)(ai,{name:o,size:"Medium",label:t,...Z}):R=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__icon",...Z,"aria-label":t,title:t,style:{width:G.triggerTarget,height:G.triggerTarget},children:(0,ne.jsx)(ye,{name:o,size:G.triggerGlyph})});let te=(0,ne.jsx)(tm,{mode:u,label:t,selectionMode:p,selectedKeys:b,defaultSelectedKeys:g,onSelectionChange:M,onAction:u==="options"?void 0:O,autoFocus:u==="options"?E.focusStrategy==="last"?"last":!0:void 0,shouldFocusWrap:!0,header:m,footer:f,emptyState:h,maxHeight:w,children:T});return(0,ne.jsxs)("span",{ref:F,className:`pw-menu-trigger ${P}`,"data-open":E.isOpen||void 0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),"data-hovered":I||void 0,style:k,children:[R,(0,ne.jsx)(ln,{values:[[Of,{"aria-labelledby":t?void 0:_,autoFocus:E.focusStrategy||!0,onClose:E.close,shouldCloseOnSelect:!1}],[Ic,E],[Nc,E],[Mc,{trigger:"MenuTrigger",triggerRef:F,placement:`bottom ${s}`}]],children:(0,ne.jsx)(cw.Provider,{value:x,children:(0,ne.jsx)(L3,{className:"pw-menu-panel",offset:G.offset,"data-searchable":v||void 0,"data-small-screen":x==="sheet"?"sheet":void 0,children:te})})})]})}var Ct=S(he(),1),zc=e=>`var(--semantic-color-${e})`,wr=e=>`var(--semantic-layout-units-${e})`,Vc=e=>`var(--semantic-type-${e})`,uo=e=>`var(--motion-${e})`,Ps={surface:zc("fill-surface-elevated"),overlay:zc("scrim-subtle"),handle:zc("fill-static-neutral-strong"),title:zc("foreground-static-neutral-strong"),footerBorder:zc("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},Ve={radius:wr("cornerradius-xlarge"),sheetGap:wr("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:wr("cornerradius-full"),headerMinH:wr("accessibility-touch-target-aa-height"),headerPadTop:wr("padding-xtight"),headerPadX:wr("padding-xxxxtight"),headerPadBottom:wr("padding-xxxtight"),headerGap:wr("gap-xxtight"),titleInset:wr("padding-base"),bodyPad:wr("padding-xtight"),bodyGap:wr("gap-xxtight"),footerBorder:wr("borderwidth-base"),footerPadTop:wr("padding-tight"),footerPad:wr("padding-base"),footerGap:wr("gap-tight"),dismissDistance:80,flickSpeed:.5},mw={title:{fontFamily:Vc("family-brand"),fontSize:Vc("font-size-s"),fontWeight:Vc("weight-semibold"),lineHeight:Vc("line-height-s-tight"),letterSpacing:Vc("letter-spacing-wide")}},fa={enter:`pw-bottom-sheet-up ${uo("duration-5")} ${uo("easing-emphasized")} both`,exit:`pw-bottom-sheet-down ${uo("duration-4")} ${uo("easing-accelerate")} both`,fadeIn:`pw-bottom-sheet-fade-in ${uo("duration-4")} ${uo("easing-standard")} both`,fadeOut:`pw-bottom-sheet-fade-out ${uo("duration-4")} ${uo("easing-standard")} both`,settle:`transform ${uo("duration-4")} ${uo("easing-decelerate")}`},hw="@keyframes pw-bottom-sheet-up{from{transform:translateY(100%)}to{transform:none}}@keyframes pw-bottom-sheet-down{from{transform:none}to{transform:translateY(100%)}}@keyframes pw-bottom-sheet-fade-in{from{opacity:0}to{opacity:1}}@keyframes pw-bottom-sheet-fade-out{from{opacity:1}to{opacity:0}}.pw-bottom-sheet__body{scrollbar-width:thin}";function gw(){(0,it.useLayoutEffect)(()=>{if(typeof document>"u"||document.getElementById("pw-bottom-sheet-css"))return;let e=document.createElement("style");e.id="pw-bottom-sheet-css",e.textContent=hw,document.head.appendChild(e)},[])}var t9='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',bw=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function $w(){return(0,Ct.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:Ve.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,Ct.jsx)("div",{style:{width:Ve.pillWidth,height:Ve.pillHeight,borderRadius:Ve.pillRadius,background:Ps.handle}})})}function vw({title:e,titleId:t,titleRef:r,showBack:n=!1,onBack:o,onClose:i,backLabel:a="Back",closeLabel:s="Close"}){return(0,Ct.jsxs)("div",{"data-part":"header",style:{display:"flex",alignItems:"center",gap:Ve.headerGap,minHeight:Ve.headerMinH,boxSizing:"border-box",padding:`${Ve.headerPadTop} ${Ve.headerPadX} ${Ve.headerPadBottom}`},children:[n&&(0,Ct.jsx)(ai,{name:"arrow_back",size:"Medium",label:a,onClick:o}),(0,Ct.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:Ve.titleInset},children:(0,Ct.jsx)("h2",{id:t,ref:r,tabIndex:-1,style:{margin:0,outline:"none",color:Ps.title,...mw.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,Ct.jsx)(ai,{name:"close",size:"Medium",label:s,onClick:i})]})}function yw({children:e}){return(0,Ct.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:Ve.footerGap,flexShrink:0,borderTop:`${Ve.footerBorder} solid ${Ps.footerBorder}`,padding:`${Ve.footerPadTop} ${Ve.footerPad} calc(${Ve.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function xw({onClick:e,animation:t,opacity:r}){return(0,Ct.jsx)("div",{"data-part":"overlay","aria-hidden":"true",onClick:e,style:{position:"absolute",inset:0,background:Ps.overlay,animation:t,opacity:r}})}function Qf({open:e,onOpenChange:t,title:r,children:n,menu:o=!1,menuProps:i,showHandle:a=!0,footer:s,showBack:l=!1,onBack:c,initialFocus:d="auto",returnFocusRef:u,closeLabel:p="Close",backLabel:b="Back",container:g,contained:y=!1,className:$="",style:m}){gw();let f=Et(),h=`pwbs${(0,it.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[v,x]=(0,it.useState)(!!e),[w,P]=(0,it.useState)(!1),[k,T]=(0,it.useState)(0),[E,F]=(0,it.useState)(!1),_=(0,it.useRef)(null),I=(0,it.useRef)(null),C=(0,it.useRef)(null),L=(0,it.useRef)(null),O=(0,it.useRef)(null),M=(0,it.useRef)(null),Z=()=>t?.(!1);(0,it.useEffect)(()=>{e?(typeof document<"u"&&(O.current=document.activeElement),P(!1),T(0),x(!0)):v&&P(!0)},[e]);let R=ce=>{ce.target!==_.current||!w||(x(!1),P(!1),T(0),te.current=!0)},te=(0,it.useRef)(!1);(0,it.useEffect)(()=>{if(!v||!L.current||y)return;let ce=L.current,H=document.body.style.overflow;document.body.style.overflow="hidden";let de=[...ce.parentNode?.children||[]].filter(Y=>Y!==ce&&!Y.inert&&Y.tagName!=="SCRIPT"&&Y.tagName!=="STYLE");return de.forEach(Y=>{Y.inert=!0}),()=>{document.body.style.overflow=H,de.forEach(Y=>{Y.inert=!1})}},[v]),(0,it.useEffect)(()=>{if(v||!te.current)return;te.current=!1;let ce=u?.current||O.current;ce&&ce.isConnected&&typeof ce.focus=="function"&&ce.focus()},[v]),(0,it.useEffect)(()=>{if(!v||w||!_.current||y)return;let ce=I.current?[...I.current.querySelectorAll(bw)]:[],H=C.current;d==="first"?H=ce[0]||_.current.querySelector(t9)||H:d==="auto"&&o&&ce.length&&(H=ce.find(V=>V.getAttribute("aria-checked")==="true")||ce[0]),H?.focus({preventScroll:!0})},[v,w]);let X=(0,it.useRef)(!0);(0,it.useEffect)(()=>{if(X.current){X.current=!1;return}v&&!y&&C.current?.focus({preventScroll:!0})},[l]);let K=ce=>{if(ce.key==="Escape"){ce.stopPropagation(),ce.nativeEvent?.stopImmediatePropagation?.(),Z();return}if(ce.key==="Tab"&&_.current){let H=[..._.current.querySelectorAll(t9)].filter(Y=>Y.offsetParent!==null||Y===document.activeElement);if(!H.length){ce.preventDefault();return}let V=H[0],de=H[H.length-1];ce.shiftKey&&(document.activeElement===V||document.activeElement===C.current)?(ce.preventDefault(),de.focus()):!ce.shiftKey&&document.activeElement===de&&(ce.preventDefault(),V.focus());return}},j=ce=>{ce.button!==void 0&&ce.button!==0||I.current?.contains(ce.target)&&I.current.scrollTop>0||(M.current={y:ce.clientY,t:performance.now(),id:ce.pointerId,active:!1})},z=ce=>{let H=M.current;if(!H||H.id!==ce.pointerId)return;let V=ce.clientY-H.y;if(!H.active){if(V<-4){M.current=null;return}if(V<8)return;H.active=!0,F(!0),_.current?.setPointerCapture?.(ce.pointerId)}T(Math.max(0,V))},N=ce=>{let H=M.current;if(M.current=null,!H||!H.active)return;F(!1);let V=Math.max(0,ce.clientY-H.y),de=V/Math.max(1,performance.now()-H.t);V>Ve.dismissDistance||de>Ve.flickSpeed?Z():T(0)};if(!v||typeof document>"u")return null;let ie=f?w?fa.fadeOut:fa.fadeIn:w?fa.exit:fa.enter,J=k>0&&!w,Ee=J&&_.current?Math.max(0,1-k/_.current.offsetHeight):void 0,ft=(0,Ct.jsxs)("div",{ref:L,className:`pw-bottom-sheet ${$}`,"data-open":!w||void 0,style:{position:y?"absolute":"fixed",inset:0,zIndex:y?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...m},children:[(0,Ct.jsx)(xw,{onClick:Z,animation:w?fa.fadeOut:fa.fadeIn,opacity:Ee}),(0,Ct.jsxs)("div",{ref:_,role:"dialog","aria-modal":"true","aria-labelledby":h,onKeyDown:K,onAnimationEnd:R,onPointerDown:j,onPointerMove:z,onPointerUp:N,onPointerCancel:N,style:{position:"relative",width:"100%",maxWidth:Ve.maxWidth,boxSizing:"border-box",maxHeight:y?`calc(100% - ${Ve.topClearance}px)`:`calc(100dvh - ${Ve.topClearance}px)`,display:"flex",flexDirection:"column",gap:Ve.sheetGap,background:Ps.surface,boxShadow:Ps.shadow,borderRadius:`${Ve.radius} ${Ve.radius} 0 0`,animation:J?"none":ie,transform:J?`translateY(${k}px)`:void 0,transition:E||f?"none":fa.settle,touchAction:"pan-y"},children:[(0,Ct.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[a&&(0,Ct.jsx)($w,{}),(0,Ct.jsx)(vw,{title:r,titleId:h,titleRef:C,showBack:l,onBack:c,onClose:Z,closeLabel:p,backLabel:b})]}),(0,Ct.jsx)("div",{ref:I,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:Ve.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:s?`0 ${Ve.bodyPad} ${Ve.bodyPad}`:`0 ${Ve.bodyPad} calc(${Ve.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,Ct.jsx)(em.Provider,{value:Z,children:o?(0,Ct.jsx)(tm,{bare:!0,label:r,...i,children:n}):n})}),s&&(0,Ct.jsx)(yw,{children:s})]})]});return y?ft:(0,r9.createPortal)(ft,g||document.body)}var W=S(he(),1),rm=e=>e?{inert:"","aria-hidden":!0}:{};Xn();var Ie=e=>`var(--semantic-color-${e})`,nm=e=>`var(${e})`,Sr=e=>`var(--semantic-layout-units-${e})`,pa=e=>`var(--contextual-layout-units-${e})`,n9=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,Ce={fill:{navBase:"transparent",navHover:Ie("fill-action-selection-hover"),navActive:Ie("fill-action-selection-selected"),navTrail:Ie("fill-action-selection-trail"),infoSubtle:Ie("stroke-static-neutral-faint")},surface:{navLight:Ie("fill-surface-elevated"),navElevated:Ie("fill-surface-elevated")},text:{navBase:Ie("foreground-action-secondary-rest"),navHover:Ie("foreground-action-secondary-hover"),navActive:Ie("foreground-action-secondary-pressed"),navDisabled:Ie("foreground-action-disabled"),secondary:Ie("foreground-static-neutral-subtle"),secondarySubtle:Ie("foreground-static-neutral-subtle"),strong:Ie("foreground-static-neutral-strong")},icon:{navBase:Ie("foreground-action-secondary-rest"),navHover:Ie("foreground-action-secondary-hover"),navActive:Ie("foreground-action-secondary-pressed"),navDisabled:Ie("foreground-action-disabled"),actionSecondary:Ie("foreground-action-secondary-rest")},indicator:Ie("fill-action-selection-indicator"),radius:pa("navitem-cornerradius")},re={navPadH:pa("sidenav-padding-horizontal-expanded"),navColPadH:pa("sidenav-padding-horizontal-collapsed"),navPadTop:pa("sidenav-padding-vertical"),navW:pa("sidenav-width-expanded"),navWcol:pa("sidenav-width-collapsed"),menuGap:pa("sidenav-gap-vertical"),menuPadT:Sr("padding-tight"),menuPadB:Sr("padding-xxwide"),itemH:Sr("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:Sr("padding-tight"),railIconInset:Sr("padding-xxtight"),textPad:Sr("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:Sr("padding-xxxtight"),stripeInnerPadV:Sr("padding-xxtight"),stripeRadius:Sr("cornerradius-base"),itemPadH:Sr("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:Sr("padding-tight"),childMainPadL:Sr("padding-relaxed"),colPadL:Sr("padding-medium"),colPadR:Sr("padding-tight"),collapseGap:Sr("padding-xxtight")};function a9({visible:e,inset:t}){return(0,W.jsx)("div",{style:{width:re.stripeW,alignSelf:"stretch",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:t?`${t} 0`:`calc(${re.stripeOuterPadV} + ${re.stripeInnerPadV}) 0`,boxSizing:"border-box",flexShrink:0},children:(0,W.jsx)("div",{style:{flex:"1 0 0",width:re.stripeW,minHeight:1,borderRadius:`0 ${re.stripeRadius} ${re.stripeRadius} 0`,backgroundColor:e?Ce.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function o9({item:e,isActive:t,isTrail:r,isExpanded:n,isSidebarCollapsed:o,isChild:i,onClick:a,onToggle:s,popoverOpen:l,anchorRect:c,onPopoverEnter:d,onPopoverLeave:u,activeId:p,chevronUp:b,chevronDown:g,collapseIcon:y,expandIcon:$}){let[m,f]=(0,at.useState)(!1),h=!!(e.children&&e.children.length),v=(0,at.useRef)(null),x=h&&n&&!o,w=r&&(!n||o),k=w||t&&!(o&&h),T=!!e.disabled,E=T?Ce.fill.navBase:t||w?Ce.fill.navActive:x?Ce.fill.navTrail:m?Ce.fill.navHover:Ce.fill.navBase,F=T?Ce.text.navDisabled:t||w||x?Ce.text.navActive:m?Ce.text.navHover:Ce.text.navBase,_=T?Ce.icon.navDisabled:t||w||x?Ce.icon.navActive:m?Ce.icon.navHover:Ce.icon.navBase,I=()=>{T||(h&&!o?s(e.id):a(e.id))};return(0,W.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,W.jsxs)("div",{className:jr,role:"button",tabIndex:T?-1:0,"aria-current":t?"page":void 0,"aria-disabled":T?!0:void 0,"aria-expanded":h&&!o?n:void 0,onClick:I,onKeyDown:C=>!T&&(C.key==="Enter"||C.key===" ")&&I(),onMouseEnter:()=>{if(!T&&(f(!0),o&&d)){let C=v.current?v.current.getBoundingClientRect():null;d(e.id,C)}},onMouseLeave:()=>{T||(f(!1),o&&u&&u())},style:{display:"flex",alignItems:"center",minHeight:re.itemH,width:o?re.itemH:"100%",marginLeft:o?"auto":void 0,marginRight:o?"auto":void 0,paddingRight:o?re.railIconInset:void 0,boxSizing:"border-box",borderRadius:Ce.radius,backgroundColor:E,cursor:T?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,W.jsx)(a9,{visible:k}),!i&&e.icon&&(0,W.jsx)("div",{style:{width:re.iconWrap,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:o?"auto":re.itemPadH,marginRight:o?"auto":void 0,color:_},children:typeof e.icon=="function"?e.icon({size:re.iconInner,color:_}):typeof e.icon=="string"?(0,W.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:re.iconInner,lineHeight:1,color:_,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):at.default.cloneElement(e.icon,{style:{color:_}})}),(0,W.jsx)("div",{style:{flex:o?"0 0 0px":1,minWidth:0,paddingLeft:o?0:i?`calc(${re.childRowPadL} + ${re.childMainPadL} + ${re.textPad})`:re.textPad,paddingRight:o?0:i?re.childRowPadL:re.itemPadH,maxWidth:o?0:200,opacity:o?0:1,overflow:"hidden",pointerEvents:o?"none":"auto",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,W.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!i&&h&&!o&&(0,W.jsx)("div",{style:{width:re.chevBox,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,opacity:o?0:1,overflow:"hidden",transition:"max-width var(--motion-duration-6) var(--motion-easing-emphasized), opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:(0,W.jsx)("div",{style:{transform:n?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:g?g({size:re.chevGlyph,color:_}):(0,W.jsx)(Rw,{size:re.chevGlyph,color:_})})})]}),o&&l&&c&&(0,W.jsx)("div",{style:{position:"fixed",left:c.right,top:c.top,width:8,height:c.height,zIndex:999},onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)}}),o&&h&&l&&c&&(0,W.jsx)(Sw,{item:e,onClick:a,anchorRect:c,activeId:p,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u}),o&&!h&&l&&c&&(0,W.jsx)(Cw,{label:e.label,anchorRect:c,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u})]})}function Cw({label:e,anchorRect:t,onMouseEnter:r,onMouseLeave:n}){return t?Jf.default.createPortal((0,W.jsx)("div",{onMouseEnter:r,onMouseLeave:n,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:Ce.surface.navLight,border:`0.5px solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:nm("--elevation-widget"),padding:"var(--semantic-layout-units-padding-xxtight) var(--semantic-layout-units-padding-xtight)",whiteSpace:"nowrap",pointerEvents:"auto",animation:"popoverInCentered var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:Ce.text.strong},children:e})}),document.body):null}function ww({label:e}){return(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-tight)",paddingRight:"var(--semantic-layout-units-padding-xtight)",paddingTop:"var(--semantic-layout-units-padding-xxtight)",paddingBottom:"var(--semantic-layout-units-padding-xxtight)"},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:Ce.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function Sw({item:e,onClick:t,anchorRect:r,onMouseEnter:n,onMouseLeave:o,activeId:i}){return r?Jf.default.createPortal((0,W.jsxs)("div",{onMouseEnter:n,onMouseLeave:o,style:{position:"fixed",left:r.right+8,top:r.top,zIndex:1e3,backgroundColor:Ce.surface.navElevated,border:`0.5px solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:nm("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",boxSizing:"border-box",minWidth:220,maxWidth:360,pointerEvents:"auto",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,W.jsx)(ww,{label:e.label}),e.children.map(a=>(0,W.jsx)(Wc,{item:a,onClick:t,activeId:i},a.id))]}),document.body):null}function Wc({item:e,onClick:t,activeId:r}){let[n,o]=(0,at.useState)(!1),i=e.id===r,a=i?Ce.fill.navActive:n?Ce.fill.navHover:"transparent",s=Ce.text.strong;return(0,W.jsxs)("div",{onClick:()=>t(e.id),className:Za,role:"menuitem",tabIndex:0,"aria-current":i?"page":void 0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),t(e.id)),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onFocus:()=>o(!0),onBlur:()=>o(!1),style:{position:"relative",display:"flex",alignItems:"center",minHeight:re.itemH,boxSizing:"border-box",padding:"var(--semantic-layout-units-padding-tight)",borderRadius:"var(--semantic-layout-units-cornerradius-base)",overflow:"hidden",backgroundColor:a,cursor:"pointer",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,W.jsx)("div",{style:{position:"absolute",left:0,top:"var(--semantic-layout-units-padding-xtight)",bottom:"var(--semantic-layout-units-padding-xtight)",width:re.stripeW,borderRadius:`0 ${re.stripeRadius} ${re.stripeRadius} 0`,backgroundColor:i?Ce.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:s,flex:1},children:e.label})]})}var i9=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target)),fo={restStroke:Ie("stroke-action-primary-subtle-rest"),hoverFill:Ie("fill-action-primary-subtle-hover"),hoverStroke:Ie("stroke-action-primary-strong-hover"),hoverFg:Ie("foreground-action-primary-on-subtle-hover"),openFill:Ie("fill-action-primary-subtle-pressed"),openStroke:Ie("stroke-action-primary-strong-pressed"),openFg:Ie("foreground-action-primary-on-subtle-pressed"),restFg:Ie("foreground-static-neutral-bold"),separator:Ie("stroke-static-neutral-base")};function Ew({label:e,icon:t="apps",home:r,apps:n=[],activeId:o,onSelect:i,collapsed:a=!1,presentation:s="popover",sheetTitle:l}){let c=[r,...n].filter(Boolean).find(I=>I.id===o),d=c&&c.label||e||r&&r.label,[u,p]=(0,at.useState)(!1),[b,g]=(0,at.useState)(!1),[y,$]=(0,at.useState)(!1),[m,f]=(0,at.useState)(null),h=(0,at.useRef)(null),v=(0,at.useRef)(null),x=(0,at.useRef)(null),w=(0,at.useRef)(!1),P=()=>{if(y){$(!1);return}f(h.current?h.current.getBoundingClientRect():null),$(!0)};(0,at.useEffect)(()=>{if(!y||s==="sheet"||!w.current)return;w.current=!1;let I=setTimeout(()=>{let C=x.current?[...x.current.querySelectorAll('[role="menuitem"]')]:[];(C.find(L=>L.getAttribute("aria-current"))||C[0])?.focus()},0);return()=>clearTimeout(I)},[y,s]);let k=I=>{let C=[...I.currentTarget.querySelectorAll('[role="menuitem"]')],L=C.indexOf(document.activeElement),O=null;I.key==="ArrowDown"?O=(L+1)%C.length:I.key==="ArrowUp"?O=(L-1+C.length)%C.length:I.key==="Home"?O=0:I.key==="End"&&(O=C.length-1),!(O===null||!C.length)&&(I.preventDefault(),C[O].focus())},T=I=>{$(!1),i&&i(I),v.current&&v.current.focus()};(0,at.useEffect)(()=>{if(!y||s==="sheet")return;let I=L=>{i9(h.current,L)||i9(x.current,L)||$(!1)},C=L=>{L.key==="Escape"&&($(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",I),document.addEventListener("keydown",C),()=>{document.removeEventListener("mousedown",I),document.removeEventListener("keydown",C)}},[y,s]);let E=y||b,F=E?fo.openFg:u?fo.hoverFg:fo.restFg,_=r||{id:"__home",label:e};return(0,W.jsxs)("div",{ref:h,style:{boxSizing:"border-box",width:"100%",minHeight:re.itemH,flexShrink:0,padding:a?`${re.textPad} 0`:`${re.textPad} ${re.chevPad}`},children:[(0,W.jsxs)("button",{ref:v,className:wu,type:"button",onClick:P,onKeyDown:I=>{(I.key==="Enter"||I.key===" "||I.key==="ArrowDown")&&(w.current=!0),I.key==="ArrowDown"&&!y&&(I.preventDefault(),P())},"aria-haspopup":"menu","aria-expanded":y,"aria-label":a?`Switch application: ${d}`:void 0,onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),g(!1)},onMouseDown:()=>g(!0),onMouseUp:()=>g(!1),onBlur:()=>g(!1),style:{display:"flex",alignItems:"center",width:"100%",height:re.itemH,boxSizing:"border-box",margin:0,cursor:"pointer",fontFamily:"inherit",justifyContent:a?"center":"flex-start",gap:a?0:"var(--semantic-layout-units-gap-xxxtight)",paddingLeft:re.itemPadH,paddingRight:re.itemPadH,borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:E?fo.openFill:u?fo.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${E?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${E?fo.openStroke:u?fo.hoverStroke:fo.restStroke}, var(--elevation-lift)`,transition:"background-color var(--motion-duration-3) var(--motion-easing-standard), box-shadow var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,W.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,W.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:re.iconInner,lineHeight:1,display:"block",color:F,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!a&&(0,W.jsx)("span",{style:{flex:1,minWidth:0,textAlign:"left",fontWeight:500,fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-single)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:F,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:d})]}),s==="sheet"&&(0,W.jsxs)(Qf,{open:y,title:l||d,menu:!0,returnFocusRef:v,onOpenChange:I=>{I||$(!1)},children:[(0,W.jsx)(Wc,{item:_,onClick:T,activeId:o}),n.length>0&&(0,W.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,W.jsx)("div",{style:{borderTop:`0.5px solid ${fo.separator}`}})}),n.map(I=>(0,W.jsx)(Wc,{item:I,onClick:T,activeId:o},I.id))]}),y&&s!=="sheet"&&m&&Jf.default.createPortal((0,W.jsxs)("div",{ref:x,role:"menu","aria-label":d,onKeyDown:k,style:{position:"fixed",left:`calc(${m.right}px + var(--semantic-layout-units-gap-xxxtight))`,top:m.top,zIndex:1e3,boxSizing:"border-box",minWidth:220,maxWidth:360,maxHeight:`calc(100vh - ${Math.round(m.top)}px - var(--semantic-layout-units-padding-base))`,overflowY:"auto",background:Ce.surface.navElevated,border:`var(--semantic-layout-units-borderwidth-xthin, 0.5px) solid ${Ie("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-large)",boxShadow:nm("--elevation-lift"),padding:"var(--semantic-layout-units-padding-xtight) var(--semantic-layout-units-padding-xxtight)",display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xxxtight)",animation:"popoverIn var(--motion-duration-3) var(--motion-easing-spring) forwards"},children:[(0,W.jsx)(Wc,{item:_,onClick:T,activeId:o}),n.length>0&&(0,W.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,W.jsx)("div",{style:{borderTop:`0.5px solid ${fo.separator}`}})}),n.map(I=>(0,W.jsx)(Wc,{item:I,onClick:T,activeId:o},I.id))]}),document.body)]})}function s9({label:e,icon:t=null}){return(0,W.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1,gap:"var(--semantic-layout-units-gap-xxtight)"},children:[t&&(0,W.jsx)("span",{"aria-hidden":"true",style:{width:28,height:28,flexShrink:0,overflow:"hidden",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--semantic-layout-units-cornerradius-base)",background:Ie("fill-static-brand-strong"),color:Ie("fill-static-neutral-mono")},children:t}),(0,W.jsx)("span",{style:{flex:1,minWidth:0,fontFamily:"var(--semantic-type-family-brand)",fontWeight:"var(--semantic-type-weight-semibold)",fontSize:"var(--semantic-type-font-size-s)",lineHeight:"var(--semantic-type-line-height-s-tight)",letterSpacing:"var(--semantic-type-letter-spacing-spacious)",color:Ie("foreground-static-neutral-strong"),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})]})}function kw({isSidebarCollapsed:e,onToggle:t,collapseIcon:r,expandIcon:n,headerStart:o=null,hideToggle:i=!1}){let[a,s]=(0,at.useState)(!1),l=Ce.icon.actionSecondary,c=!e&&o;return(0,W.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,W.jsxs)("div",{style:{display:"flex",alignItems:"center",height:re.itemH,width:"100%",justifyContent:c?"space-between":e?"center":"flex-end",gap:"var(--semantic-layout-units-gap-xxtight)"},children:[c&&(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!i&&(0,W.jsx)("div",{onClick:t,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:jr,role:"button",tabIndex:0,onKeyDown:d=>(d.key==="Enter"||d.key===" ")&&t(),style:{display:"flex",alignItems:"center",height:re.itemH,flexShrink:0,cursor:"pointer"},children:(0,W.jsx)("div",{style:{width:re.itemH,height:re.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,W.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:a?Ce.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?n?n({size:12,color:l}):(0,W.jsx)(Mw,{color:l}):r?r({size:12,color:l}):(0,W.jsx)(_w,{color:l})})})})]}),(0,W.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,W.jsx)("div",{style:{height:1,backgroundColor:Ce.fill.infoSubtle}})})]})}function l9({label:e}){return(0,W.jsx)("div",{style:{display:"flex",alignItems:"center",height:40,width:"100%",boxSizing:"border-box",paddingLeft:"var(--semantic-layout-units-padding-xxtight)",paddingRight:"var(--semantic-layout-units-padding-xxtight)",paddingTop:"var(--semantic-layout-units-padding-tight)",paddingBottom:"var(--semantic-layout-units-padding-tight)",flexShrink:0},children:(0,W.jsx)("span",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:600,fontSize:"var(--semantic-type-font-size-xxs)",lineHeight:"var(--semantic-type-line-height-xxs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",textTransform:"uppercase",color:Ce.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function Pw({color:e}){return(0,W.jsx)("svg",{width:re.iconInner,height:re.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,W.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function Tw({item:e,isActive:t,onClick:r}){let[n,o]=(0,at.useState)(!1),i=t?Ce.fill.navActive:n?Ce.fill.navHover:"transparent",a=t?Ce.text.navActive:n?Ce.text.navHover:Ce.text.navBase,s=t?Ce.icon.navActive:n?Ce.icon.navHover:Ce.icon.navBase;return(0,W.jsxs)("div",{onClick:()=>r&&r(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:jr,role:"button",tabIndex:0,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&r&&r(e.id),style:{display:"flex",alignItems:"center",height:48,minHeight:re.itemH,width:"100%",borderRadius:Ce.radius,backgroundColor:i,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,W.jsx)(a9,{visible:t,inset:re.stripeInnerPadV}),(0,W.jsx)("div",{style:{width:re.iconWrap,height:re.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:re.rowPadH},children:(0,W.jsx)(Pw,{color:s})}),(0,W.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:re.textPad,paddingRight:`calc(${re.textPad} + ${re.rowPadH})`},children:(0,W.jsx)("p",{style:{fontFamily:"'Red Hat Text',sans-serif",fontWeight:400,fontSize:"var(--semantic-type-font-size-xs)",lineHeight:"var(--semantic-type-line-height-xs-single)",letterSpacing:"var(--semantic-type-letter-spacing-extraspacious)",color:a,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})})]})}function Lw({label:e,items:t,activeId:r,onNavigate:n}){return(0,W.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,W.jsx)(l9,{label:e}),(0,W.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,W.jsx)(Tw,{item:o,isActive:o.id===r,onClick:n},o.id))})]})}function Ts({items:e,sections:t,listSection:r,activeId:n,onNavigate:o,collapsed:i=!1,onCollapseChange:a,hideCollapseButton:s=!1,defaultExpanded:l={},className:c="",headerEnd:d=null,children:u=null,footer:p=null,appSwitcher:b=null,headerStart:g=null}){let[y,$]=(0,at.useState)(l),[m,f]=(0,at.useState)(null),[h,v]=(0,at.useState)(null),x=(0,at.useRef)(null),w=t?t.flatMap(_=>_.items):e||[],P=(()=>{let _=w.find(I=>I.children&&I.children.some(C=>C.id===n));return _?_.id:null})(),k=_=>$(I=>{if(!I[_])return{[_]:!0};let L={...I};return delete L[_],L}),T=(_,I)=>{clearTimeout(x.current),f(_),I&&v(I)},E=()=>{x.current=setTimeout(()=>{f(null),v(null)},300)},F=_=>{let I=!!(_.children&&_.children.length),C=_.id===n,L=_.id===P,O=!!y[_.id];return(0,W.jsxs)("div",{children:[(0,W.jsx)(o9,{item:_,isActive:C,isTrail:L,isExpanded:O,isSidebarCollapsed:i,isChild:!1,onClick:o,onToggle:k,popoverOpen:m===_.id,anchorRect:m===_.id?h:null,onPopoverEnter:T,onPopoverLeave:E,activeId:n}),I&&!i&&(0,W.jsx)("div",{...rm(!O),style:{display:"grid",gridTemplateRows:O?"1fr":"0fr",marginTop:O?re.menuGap:0,transition:"grid-template-rows var(--motion-duration-5) var(--motion-easing-accordion), margin-top var(--motion-duration-5) var(--motion-easing-accordion)"},children:(0,W.jsx)("div",{style:{overflow:"hidden",display:"flex",flexDirection:"column",gap:re.menuGap,opacity:O?1:0,transition:O?"opacity var(--motion-duration-4) var(--motion-easing-standard) 70ms":"opacity var(--motion-duration-3) var(--motion-easing-standard)"},children:_.children.map(M=>(0,W.jsx)(o9,{item:M,isActive:M.id===n,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},M.id))})})]},_.id)};return(0,W.jsxs)("nav",{className:c,style:{width:i?re.navWcol:re.navW,height:"100%",backgroundColor:Ce.surface.navLight,display:"flex",flexDirection:"column",paddingTop:re.navPadTop,paddingBottom:0,paddingLeft:i?re.navColPadH:re.navPadH,paddingRight:i?re.navColPadH:re.navPadH,boxSizing:"border-box",flexShrink:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)",borderRight:`1px solid ${Ce.fill.infoSubtle}`,overflow:"hidden"},children:[(!s||d||g)&&(0,W.jsxs)("div",{style:{flexShrink:0},children:[(!s||g)&&(0,W.jsx)(kw,{isSidebarCollapsed:i,headerStart:g,hideToggle:s,onToggle:()=>a&&a(!i)}),d&&(0,W.jsx)("div",{...rm(i),style:{opacity:i?0:1,maxHeight:i?0:200,overflow:"hidden",pointerEvents:i?"none":"auto",padding:i?0:`0 ${re.navPadH}`,transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:d})]}),(0,W.jsxs)(Lu,{style:{flex:1,minHeight:0,marginRight:n9(i?re.navColPadH:re.navPadH),marginLeft:n9("var(--contextual-layout-units-focusring-width)")},viewStyle:{display:"flex",flexDirection:"column",gap:re.menuGap,paddingTop:re.menuPadT,paddingRight:i?re.navColPadH:re.navPadH,paddingLeft:"var(--contextual-layout-units-focusring-width)"},children:[b&&(0,W.jsx)(Ew,{...b,collapsed:i}),t&&t.map(({section:_,items:I},C)=>(0,W.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:re.menuGap,flexShrink:0},children:[(0,W.jsx)("div",{style:{opacity:i?0:1,maxHeight:i?0:40,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",flexShrink:0},children:(0,W.jsx)(l9,{label:_})}),C>0&&(0,W.jsx)("div",{style:{opacity:i?1:0,maxHeight:i?5:0,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)",padding:"2px 0",flexShrink:0},children:(0,W.jsx)("div",{style:{height:1,backgroundColor:Ce.fill.infoSubtle}})}),I.map(F)]},_)),!t&&(e||[]).map(F),r&&(0,W.jsx)("div",{...rm(i),style:{opacity:i?0:1,maxHeight:i?0:400,overflow:"hidden",transition:"opacity var(--motion-duration-4) var(--motion-easing-standard), max-height var(--motion-duration-5) var(--motion-easing-spring)"},children:(0,W.jsx)(Lw,{label:r.label,items:r.items,activeId:n,onNavigate:o})}),u&&(0,W.jsx)("div",{style:{flexShrink:0},children:u}),(0,W.jsx)("div",{style:{flex:1,minHeight:re.menuPadB}})]}),p&&(0,W.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${Ce.fill.infoSubtle}`,padding:i?`8px ${re.navColPadH}`:`8px ${re.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:p})]})}function Rw({size:e=12,color:t}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,W.jsx)("path",{d:"M6 7.475C5.93333 7.475 5.87083 7.46458 5.8125 7.44375C5.75417 7.42292 5.7 7.3875 5.65 7.3375L3.35 5.0375C3.25833 4.94583 3.2125 4.82917 3.2125 4.6875C3.2125 4.54583 3.25833 4.42917 3.35 4.3375C3.44167 4.24583 3.55833 4.2 3.7 4.2C3.84167 4.2 3.95833 4.24583 4.05 4.3375L6 6.2875L7.95 4.3375C8.04167 4.24583 8.15833 4.2 8.3 4.2C8.44167 4.2 8.55833 4.24583 8.65 4.3375C8.74167 4.42917 8.7875 4.54583 8.7875 4.6875C8.7875 4.82917 8.74167 4.94583 8.65 5.0375L6.35 7.3375C6.3 7.3875 6.24583 7.42292 6.1875 7.44375C6.12917 7.46458 6.06667 7.475 6 7.475Z",fill:t})})}function _w({size:e=12,color:t=Ce.icon.actionSecondary}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,W.jsx)("path",{d:"M5.66667 7.86667V4.13333C5.66667 3.97778 5.6 3.87222 5.46667 3.81667C5.33333 3.76111 5.21111 3.78889 5.1 3.9L3.46667 5.53333C3.33333 5.66667 3.26667 5.82222 3.26667 6C3.26667 6.17778 3.33333 6.33333 3.46667 6.46667L5.1 8.1C5.21111 8.21111 5.33333 8.23889 5.46667 8.18333C5.6 8.12778 5.66667 8.02222 5.66667 7.86667ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM8.66667 10.6667H10.6667V1.33333H8.66667V10.6667ZM7.33333 10.6667V1.33333H1.33333V10.6667H7.33333Z",fill:t})})}function Mw({size:e=12,color:t=Ce.icon.actionSecondary}){return(0,W.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,W.jsx)("path",{d:"M6.33333 4.13333V7.86667C6.33333 8.02222 6.4 8.12778 6.53333 8.18333C6.66667 8.23889 6.78889 8.21111 6.9 8.1L8.53333 6.46667C8.66667 6.33333 8.73333 6.17778 8.73333 6C8.73333 5.82222 8.66667 5.66667 8.53333 5.53333L6.9 3.9C6.78889 3.78889 6.66667 3.76111 6.53333 3.81667C6.4 3.87222 6.33333 3.97778 6.33333 4.13333ZM1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM3.33333 10.6667V1.33333H1.33333V10.6667H3.33333ZM4.66667 10.6667H10.6667V1.33333H4.66667V10.6667Z",fill:t})})}var Iw={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},Nw=`
316
360
  :host { display: block; height: 100%; }
317
361
  :host([hidden]) { display: none; }
318
362
 
@@ -390,7 +434,7 @@ ${hr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
390
434
  font-size: var(--semantic-type-font-size-s);
391
435
  line-height: var(--semantic-type-line-height-s-single);
392
436
  color: var(--semantic-color-foreground-action-secondary-rest);
393
- }`,XC=(e,t)=>{if(e!=null)try{return JSON.parse(e)}catch(r){console.error(`<pathway-sidenav>: the "${t}" attribute is not valid JSON.`,r);return}},Mc=class extends HTMLElement{static get observedAttributes(){return["active-id","collapsed","hide-collapse-button","items","sections","list-section","default-expanded"]}constructor(){super(),this._props={},this._reactRoot=null}set items(t){this._props.items=t,this._render()}get items(){return this._props.items}set sections(t){this._props.sections=t,this._render()}get sections(){return this._props.sections}set listSection(t){this._props.listSection=t,this._render()}get listSection(){return this._props.listSection}set defaultExpanded(t){this._props.defaultExpanded=t,this._render()}get defaultExpanded(){return this._props.defaultExpanded}set activeId(t){this._props.activeId=t,this._render()}get activeId(){return"activeId"in this._props?this._props.activeId:this.getAttribute("active-id")??void 0}set collapsed(t){this._props.collapsed=!!t,this._render()}get collapsed(){if("collapsed"in this._props)return!!this._props.collapsed;let t=this.getAttribute("collapsed");return t!==null&&t!=="false"&&t!=="0"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=YC+Na,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pathway-sidenav-root",this._mount.style.height="100%",t.appendChild(this._mount),this._reactRoot=(0,D9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-id")&&(t.activeId=this.getAttribute("active-id"));for(let[r,n]of Object.entries(ZC))if(this.hasAttribute(r)){let o=this.getAttribute(r);t[n]=o!=="false"&&o!=="0"}for(let r of["items","sections","list-section","default-expanded"]){if(!this.hasAttribute(r))continue;let n=r.replace(/-([a-z])/g,(a,i)=>i.toUpperCase()),o=XC(this.getAttribute(r),r);o!==void 0&&(t[n]=o)}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t("header")&&(r.headerEnd=_c.default.createElement("slot",{name:"header"})),t("footer")&&(r.footer=_c.default.createElement("slot",{name:"footer"})),t(null)&&(r.children=_c.default.createElement("slot",null)),r}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(_c.default.createElement($s,{...t,onNavigate:r=>{this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-sidenav")||customElements.define("pathway-sidenav",Mc);var H9=S(D(),1);var ys=S(D(),1);var Af=S($e(),1),vs=(e,t)=>t.map(r=>({id:`${e}-${r.toLowerCase().replace(/\s+/g,"-")}`,label:r,icon:qC[r]})),qC={Dashboard:"space_dashboard",Enter:"input",Manage:"bookmark_manager",View:"visibility",Reports:"insert_chart",Modify:"edit_square",Help:"help",Utilities:"tools_wrench","Security Setup":"security"},O3=["Dashboard","Enter","Manage","View","Reports","Modify","Utilities","Help"],xs={label:"Financials Home",icon:"apps",moduleMark:{module:"accounting",label:"Financials"},topNav:{showSearch:!1,showActions:!1},sheetTitle:"Financial Applications",home:{id:"financials-home",label:"Financials Home",navItems:vs("fh",["Dashboard","Enter","Manage","View","Reports","Modify","Help","Utilities","Security Setup"])},apps:[{id:"accounts-payable",label:"Accounts Payable",navItems:vs("ap",O3)},{id:"accounts-receivable",label:"Accounts Receivable",navItems:vs("ar",O3)},{id:"general-ledger",label:"General Ledger",navItems:vs("gl",O3)},{id:"fixed-assets",label:"Fixed Assets",navItems:vs("fa",["Dashboard","Manage","Reports","Modify","Help"])},{id:"purchasing-management",label:"Purchasing Management",navItems:vs("pm",["Dashboard","Enter","Manage","Reports","Modify","Help"])}]};function K3(e){let t=e&&e.moduleMark;return t?(0,Af.jsx)(I9,{label:t.label,icon:t.module?(0,Af.jsx)(xl,{module:t.module,size:14,color:"mono"}):null}):null}var QC=767;function JC(){let e=()=>typeof window<"u"&&window.innerWidth<=QC,[t,r]=(0,ys.useState)(e);return(0,ys.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}function F9({appSwitcher:e=xs,activeAppId:t,defaultAppId:r,onAppSelect:n,activeId:o,onNavigate:a,presentation:i="auto",...s}){let l=[e.home,...e.apps||[]].filter(Boolean),[c,d]=(0,ys.useState)(r??(e.home&&e.home.id)),u=t??c,p=l.find(x=>x.id===u)||l[0],b=p&&p.navItems||[],[g,y]=(0,ys.useState)(b[0]&&b[0].id),$=o??g,m=JC(),f=i==="auto"?m?"sheet":"popover":i,h=x=>{y(x),a&&a(x)},v=x=>{d(x),n&&n(x);let w=l.find(E=>E.id===x),k=w&&w.navItems&&w.navItems[0];k&&h(k.id)};return(0,Af.jsx)($s,{items:b,activeId:$,onNavigate:h,headerStart:K3(e),appSwitcher:{...e,activeId:p&&p.id,onSelect:v,presentation:f},...s},p&&p.id)}var z3=class extends Mc{static get observedAttributes(){return["active-app-id","active-id","collapsed","hide-collapse-button","presentation"]}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};delete t.items,delete t.sections,delete t.listSection,this._reactRoot.render(H9.default.createElement(F9,{...t,appSwitcher:this._appSwitcher||xs,activeAppId:this.getAttribute("active-app-id")||void 0,presentation:this.getAttribute("presentation")||"auto",onAppSelect:r=>{this.setAttribute("active-app-id",r),this._emit("pathway-app-select",{id:r})},onNavigate:r=>{this.setAttribute("active-id",r),this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-accounting-sidenav")||customElements.define("pathway-accounting-sidenav",z3);var Ic=S(D(),1),z9=S(Ar(),1);var Ut=S(D(),1);var pn=S($e(),1),Of=60,O9=e=>`var(--contextual-layout-units-${e})`,A9=O9("sidenav-width-expanded"),ew=O9("sidenav-width-collapsed");function tw(){let e=()=>typeof window>"u"?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",[t,r]=(0,Ut.useState)(e);return(0,Ut.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n,{passive:!0}),()=>window.removeEventListener("resize",n)},[]),t}function K9({modules:e=Ep,activeModuleId:t="home",org:r,orgs:n,user:o,onModuleSelect:a,onOrgSelect:i,showSearch:s,showActions:l,navItems:c,navSections:d,activeNavId:u,onNavigate:p,navHeaderEnd:b=null,navChildren:g=null,navFooter:y=null,appSwitcher:$=null,defaultCollapsed:m=!1,children:f}){let h=tw(),v=h==="mobile",x=h==="tablet",[w,k]=(0,Ut.useState)(m),[E,T]=(0,Ut.useState)(!1),P=x?!0:v?!1:w,[F,R]=(0,Ut.useState)(u);(0,Ut.useEffect)(()=>{R(u)},[u]);let _=$?[$.home,...$.apps||[]].filter(Boolean):[],[C,L]=(0,Ut.useState)($&&($.activeId??($.home&&$.home.id)));(0,Ut.useEffect)(()=>{$&&$.activeId!==void 0&&L($.activeId)},[$&&$.activeId]);let K=_.find(Q=>Q.id===C),I=K&&(K.navItems||K.navSections),Z=I?K.navItems:c,N=I?K.navSections:d,q=I?(K.navItems||K.navSections.flatMap(Q=>Q.items)).flatMap(Q=>[Q.id,...(Q.children||[]).map(we=>we.id)]):null,ee=q&&!q.includes(F)?q[0]:F,z=(0,Ut.useCallback)(Q=>{R(Q),p&&p(Q)},[p]),G=(0,Ut.useCallback)(Q=>{L(Q),$&&$.onSelect&&$.onSelect(Q);let we=_.find(le=>le.id===Q),bt=we&&(we.navItems?we.navItems[0]:we.navSections&&we.navSections[0]&&we.navSections[0].items[0]);bt&&z(bt.id)},[$,_,z]),V=v?0:P?ew:A9,M=(0,Ut.useCallback)(Q=>{!x&&!v&&k(Q)},[x,v]),ae=(0,Ut.useCallback)(()=>{v?T(Q=>!Q):x||k(Q=>!Q)},[v,x]);return(0,Ut.useEffect)(()=>{if(!E)return;let Q=we=>{we.key==="Escape"&&T(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[E]),(0,Ut.useEffect)(()=>{v||T(!1)},[v]),(0,pn.jsxs)(pn.Fragment,{children:[(0,pn.jsx)("a",{href:"#main-content",style:{position:"absolute",top:-48,left:8,zIndex:300,background:"var(--semantic-color-fill-action-primary-strong-rest)",color:"var(--semantic-color-foreground-action-ghost-rest)",padding:"8px 12px",borderRadius:6,fontSize:14,fontWeight:500,textDecoration:"none",transition:"top var(--motion-duration-2) var(--motion-easing-standard)"},onFocus:Q=>{Q.currentTarget.style.top="8px"},onBlur:Q=>{Q.currentTarget.style.top="-48px"},children:"Skip to content"}),(0,pn.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:100},children:(0,pn.jsx)(gu,{modules:e,activeModuleId:t,org:r,orgs:n,user:o,breakpoint:h,onModuleSelect:a,onOrgSelect:i,onSideNavToggle:ae,showSearch:s??($&&$.topNav&&$.topNav.showSearch)??!0,showActions:l??($&&$.topNav&&$.topNav.showActions)??!0})}),v&&E&&(0,pn.jsx)("div",{"aria-hidden":"true",onClick:()=>T(!1),style:{position:"fixed",inset:0,top:Of,background:"rgba(0,0,0,0.32)",zIndex:49}}),(0,pn.jsx)("div",{"aria-hidden":v&&!E,style:{position:"fixed",top:Of,left:0,bottom:0,zIndex:v?51:10,overflow:"hidden",...v&&{width:E?A9:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)"}},children:(0,pn.jsx)($s,{items:Z,sections:N,activeId:ee,onNavigate:z,collapsed:P,onCollapseChange:M,hideCollapseButton:x||v,headerEnd:b,footer:y,headerStart:K3($),appSwitcher:$?{...$,activeId:C,onSelect:G,presentation:v?"sheet":"popover"}:null,children:g},I?K.id:"shell")}),(0,pn.jsx)("main",{id:"main-content",role:"main",style:{marginTop:Of,marginLeft:V,minHeight:`calc(100vh - ${Of}px)`,overflowY:"auto",overflowX:"hidden",background:"var(--semantic-color-fill-surface-canvas)",transition:"margin-left var(--motion-duration-6) var(--motion-easing-emphasized)"},children:f})]})}if(typeof document<"u"&&!document.getElementById("pathway-navshell-portal-keyframes")){let e=document.createElement("style");e.id="pathway-navshell-portal-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}var rw=`
437
+ }`,Dw=(e,t)=>{if(e!=null)try{return JSON.parse(e)}catch(r){console.error(`<pathway-sidenav>: the "${t}" attribute is not valid JSON.`,r);return}},jc=class extends HTMLElement{static get observedAttributes(){return["active-id","collapsed","hide-collapse-button","items","sections","list-section","default-expanded"]}constructor(){super(),this._props={},this._reactRoot=null}set items(t){this._props.items=t,this._render()}get items(){return this._props.items}set sections(t){this._props.sections=t,this._render()}get sections(){return this._props.sections}set listSection(t){this._props.listSection=t,this._render()}get listSection(){return this._props.listSection}set defaultExpanded(t){this._props.defaultExpanded=t,this._render()}get defaultExpanded(){return this._props.defaultExpanded}set activeId(t){this._props.activeId=t,this._render()}get activeId(){return"activeId"in this._props?this._props.activeId:this.getAttribute("active-id")??void 0}set collapsed(t){this._props.collapsed=!!t,this._render()}get collapsed(){if("collapsed"in this._props)return!!this._props.collapsed;let t=this.getAttribute("collapsed");return t!==null&&t!=="false"&&t!=="0"}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Nw+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pathway-sidenav-root",this._mount.style.height="100%",t.appendChild(this._mount),this._reactRoot=(0,c9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};this.hasAttribute("active-id")&&(t.activeId=this.getAttribute("active-id"));for(let[r,n]of Object.entries(Iw))if(this.hasAttribute(r)){let o=this.getAttribute(r);t[n]=o!=="false"&&o!=="0"}for(let r of["items","sections","list-section","default-expanded"]){if(!this.hasAttribute(r))continue;let n=r.replace(/-([a-z])/g,(i,a)=>a.toUpperCase()),o=Dw(this.getAttribute(r),r);o!==void 0&&(t[n]=o)}return t}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t("header")&&(r.headerEnd=Uc.default.createElement("slot",{name:"header"})),t("footer")&&(r.footer=Uc.default.createElement("slot",{name:"footer"})),t(null)&&(r.children=Uc.default.createElement("slot",null)),r}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(Uc.default.createElement(Ts,{...t,onNavigate:r=>{this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-sidenav")||customElements.define("pathway-sidenav",jc);var u9=S(D(),1);var Rs=S(D(),1);var e1=S(he(),1),Ls=(e,t)=>t.map(r=>({id:`${e}-${r.toLowerCase().replace(/\s+/g,"-")}`,label:r,icon:Fw[r]})),Fw={Dashboard:"space_dashboard",Enter:"input",Manage:"bookmark_manager",View:"visibility",Reports:"insert_chart",Modify:"edit_square",Help:"help",Utilities:"tools_wrench","Security Setup":"security"},om=["Dashboard","Enter","Manage","View","Reports","Modify","Utilities","Help"],_s={label:"Financials Home",icon:"apps",moduleMark:{module:"accounting",label:"Financials"},topNav:{showSearch:!1,showActions:!1},sheetTitle:"Financial Applications",home:{id:"financials-home",label:"Financials Home",navItems:Ls("fh",["Dashboard","Enter","Manage","View","Reports","Modify","Help","Utilities","Security Setup"])},apps:[{id:"accounts-payable",label:"Accounts Payable",navItems:Ls("ap",om)},{id:"accounts-receivable",label:"Accounts Receivable",navItems:Ls("ar",om)},{id:"general-ledger",label:"General Ledger",navItems:Ls("gl",om)},{id:"fixed-assets",label:"Fixed Assets",navItems:Ls("fa",["Dashboard","Manage","Reports","Modify","Help"])},{id:"purchasing-management",label:"Purchasing Management",navItems:Ls("pm",["Dashboard","Enter","Manage","Reports","Modify","Help"])}]};function im(e){let t=e&&e.moduleMark;return t?(0,e1.jsx)(s9,{label:t.label,icon:t.module?(0,e1.jsx)(Ml,{module:t.module,size:14,color:"mono"}):null}):null}var Hw=767;function Aw(){let e=()=>typeof window<"u"&&window.innerWidth<=Hw,[t,r]=(0,Rs.useState)(e);return(0,Rs.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}function d9({appSwitcher:e=_s,activeAppId:t,defaultAppId:r,onAppSelect:n,activeId:o,onNavigate:i,presentation:a="auto",...s}){let l=[e.home,...e.apps||[]].filter(Boolean),[c,d]=(0,Rs.useState)(r??(e.home&&e.home.id)),u=t??c,p=l.find(x=>x.id===u)||l[0],b=p&&p.navItems||[],[g,y]=(0,Rs.useState)(b[0]&&b[0].id),$=o??g,m=Aw(),f=a==="auto"?m?"sheet":"popover":a,h=x=>{y(x),i&&i(x)},v=x=>{d(x),n&&n(x);let w=l.find(k=>k.id===x),P=w&&w.navItems&&w.navItems[0];P&&h(P.id)};return(0,e1.jsx)(Ts,{items:b,activeId:$,onNavigate:h,headerStart:im(e),appSwitcher:{...e,activeId:p&&p.id,onSelect:v,presentation:f},...s},p&&p.id)}var am=class extends jc{static get observedAttributes(){return["active-app-id","active-id","collapsed","hide-collapse-button","presentation"]}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};delete t.items,delete t.sections,delete t.listSection,this._reactRoot.render(u9.default.createElement(d9,{...t,appSwitcher:this._appSwitcher||_s,activeAppId:this.getAttribute("active-app-id")||void 0,presentation:this.getAttribute("presentation")||"auto",onAppSelect:r=>{this.setAttribute("active-app-id",r),this._emit("pathway-app-select",{id:r})},onNavigate:r=>{this.setAttribute("active-id",r),this._emit("pathway-navigate",{id:r}),typeof this.onnavigate=="function"&&this.onnavigate({id:r})},onCollapseChange:r=>{r?this.setAttribute("collapsed",""):this.removeAttribute("collapsed"),this._emit("pathway-collapse-change",{collapsed:!!r})}}))}};customElements.get("pathway-accounting-sidenav")||customElements.define("pathway-accounting-sidenav",am);var Gc=S(D(),1),h9=S(Rr(),1);var Qt=S(D(),1);var bn=S(he(),1),t1=60,p9=e=>`var(--contextual-layout-units-${e})`,f9=p9("sidenav-width-expanded"),Ow=p9("sidenav-width-collapsed");function Bw(){let e=()=>typeof window>"u"?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",[t,r]=(0,Qt.useState)(e);return(0,Qt.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n,{passive:!0}),()=>window.removeEventListener("resize",n)},[]),t}function m9({modules:e=z0,activeModuleId:t="home",org:r,orgs:n,user:o,onModuleSelect:i,onOrgSelect:a,showSearch:s,showActions:l,navItems:c,navSections:d,activeNavId:u,onNavigate:p,navHeaderEnd:b=null,navChildren:g=null,navFooter:y=null,appSwitcher:$=null,defaultCollapsed:m=!1,children:f}){let h=Bw(),v=h==="mobile",x=h==="tablet",[w,P]=(0,Qt.useState)(m),[k,T]=(0,Qt.useState)(!1),E=x?!0:v?!1:w,[F,_]=(0,Qt.useState)(u);(0,Qt.useEffect)(()=>{_(u)},[u]);let I=$?[$.home,...$.apps||[]].filter(Boolean):[],[C,L]=(0,Qt.useState)($&&($.activeId??($.home&&$.home.id)));(0,Qt.useEffect)(()=>{$&&$.activeId!==void 0&&L($.activeId)},[$&&$.activeId]);let O=I.find(J=>J.id===C),M=O&&(O.navItems||O.navSections),Z=M?O.navItems:c,R=M?O.navSections:d,te=M?(O.navItems||O.navSections.flatMap(J=>J.items)).flatMap(J=>[J.id,...(J.children||[]).map(Ee=>Ee.id)]):null,X=te&&!te.includes(F)?te[0]:F,K=(0,Qt.useCallback)(J=>{_(J),p&&p(J)},[p]),j=(0,Qt.useCallback)(J=>{L(J),$&&$.onSelect&&$.onSelect(J);let Ee=I.find(ce=>ce.id===J),ft=Ee&&(Ee.navItems?Ee.navItems[0]:Ee.navSections&&Ee.navSections[0]&&Ee.navSections[0].items[0]);ft&&K(ft.id)},[$,I,K]),z=v?0:E?Ow:f9,N=(0,Qt.useCallback)(J=>{!x&&!v&&P(J)},[x,v]),ie=(0,Qt.useCallback)(()=>{v?T(J=>!J):x||P(J=>!J)},[v,x]);return(0,Qt.useEffect)(()=>{if(!k)return;let J=Ee=>{Ee.key==="Escape"&&T(!1)};return document.addEventListener("keydown",J),()=>document.removeEventListener("keydown",J)},[k]),(0,Qt.useEffect)(()=>{v||T(!1)},[v]),(0,bn.jsxs)(bn.Fragment,{children:[(0,bn.jsx)("a",{href:"#main-content",style:{position:"absolute",top:-48,left:8,zIndex:300,background:"var(--semantic-color-fill-action-primary-strong-rest)",color:"var(--semantic-color-foreground-action-ghost-rest)",padding:"8px 12px",borderRadius:6,fontSize:14,fontWeight:500,textDecoration:"none",transition:"top var(--motion-duration-2) var(--motion-easing-standard)"},onFocus:J=>{J.currentTarget.style.top="8px"},onBlur:J=>{J.currentTarget.style.top="-48px"},children:"Skip to content"}),(0,bn.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:100},children:(0,bn.jsx)(Tu,{modules:e,activeModuleId:t,org:r,orgs:n,user:o,breakpoint:h,onModuleSelect:i,onOrgSelect:a,onSideNavToggle:ie,showSearch:s??($&&$.topNav&&$.topNav.showSearch)??!0,showActions:l??($&&$.topNav&&$.topNav.showActions)??!0})}),v&&k&&(0,bn.jsx)("div",{"aria-hidden":"true",onClick:()=>T(!1),style:{position:"fixed",inset:0,top:t1,background:"rgba(0,0,0,0.32)",zIndex:49}}),(0,bn.jsx)("div",{"aria-hidden":v&&!k,style:{position:"fixed",top:t1,left:0,bottom:0,zIndex:v?51:10,overflow:"hidden",...v&&{width:k?f9:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)"}},children:(0,bn.jsx)(Ts,{items:Z,sections:R,activeId:X,onNavigate:K,collapsed:E,onCollapseChange:N,hideCollapseButton:x||v,headerEnd:b,footer:y,headerStart:im($),appSwitcher:$?{...$,activeId:C,onSelect:j,presentation:v?"sheet":"popover"}:null,children:g},M?O.id:"shell")}),(0,bn.jsx)("main",{id:"main-content",role:"main",style:{marginTop:t1,marginLeft:z,minHeight:`calc(100vh - ${t1}px)`,overflowY:"auto",overflowX:"hidden",background:"var(--semantic-color-fill-surface-canvas)",transition:"margin-left var(--motion-duration-6) var(--motion-easing-emphasized)"},children:f})]})}if(typeof document<"u"&&!document.getElementById("pathway-navshell-portal-keyframes")){let e=document.createElement("style");e.id="pathway-navshell-portal-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}var Kw=`
394
438
  /* The shell is a full-page layout.
395
439
  display:block + no overflow so fixed children anchor to the viewport. */
396
440
  :host { display: block; width: 100%; min-height: 100vh; }
@@ -460,7 +504,7 @@ ${hr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
460
504
  font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
461
505
  font-size: var(--semantic-type-font-size-s);
462
506
  line-height: var(--semantic-type-line-height-s-single);
463
- }`,B3=class extends HTMLElement{static get observedAttributes(){return["active-module-id","active-nav-id","default-collapsed","app-switcher","active-app-id","hide-search","hide-actions"]}constructor(){super(),this._props={},this._reactRoot=null,this._slotObserver=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}set navItems(t){this._props.navItems=t,this._render()}get navItems(){return this._props.navItems}set navSections(t){this._props.navSections=t,this._render()}get navSections(){return this._props.navSections}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=rw+Na,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-navshell-root",t.appendChild(this._mount),this._reactRoot=(0,z9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};if(this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("active-nav-id")&&(t.activeNavId=this.getAttribute("active-nav-id")),this.hasAttribute("default-collapsed")){let n=this.getAttribute("default-collapsed");t.defaultCollapsed=n!=="false"&&n!=="0"}let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=Ic.default.createElement("slot",null)),t("nav-header-end")&&(r.navHeaderEnd=Ic.default.createElement("slot",{name:"nav-header-end"})),t("nav-footer")&&(r.navFooter=Ic.default.createElement("slot",{name:"nav-footer"})),r}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()},r=this.getAttribute("app-switcher"),n=this.hasAttribute("app-switcher")&&r!=="false"&&r!=="0";t.appSwitcher=n?{...this._appSwitcher||xs,activeId:this.getAttribute("active-app-id")||void 0,onSelect:o=>{this.setAttribute("active-app-id",o),this._emit("pathway-app-select",{id:o})}}:null,this._reactRoot.render(Ic.default.createElement(K9,{...t,onModuleSelect:o=>this._emit("pathway-module-select",{id:o}),onOrgSelect:o=>this._emit("pathway-org-select",{id:o}),onNavigate:o=>{this.setAttribute("active-nav-id",o),this._emit("pathway-navigate",{id:o})}}))}};customElements.get("pathway-nav-shell")||customElements.define("pathway-nav-shell",B3);var zf=S(D(),1),V9=S(Ar(),1);var PO=S(D(),1),Po=S($e(),1),Cs=e=>`var(--responsive-layout-${e})`,W3=e=>`var(--semantic-layout-units-${e})`,Kf=e=>`var(--semantic-color-${e})`,V3={canvas:Kf("fill-surface-canvas"),sheet:Kf("fill-surface-elevated"),divider:Kf("stroke-static-neutral-faint")},mn={screenPadH:Cs("sheetcontainer-padding-horizontal"),screenPadT:Cs("sheetcontainer-padding-top"),sheetPadH:Cs("sheet-padding-horizontal"),sheetPadT:Cs("sheet-padding-top"),sheetPadB:Cs("sheet-padding-bottom"),sheetRadius:Cs("sheet-corner-radius-cornerradius"),sheetGap:W3("gap-tight"),contentGap:W3("gap-base"),navHeight:49};function B9({children:e,navigation:t,grid:r=!1,className:n="",style:o}){return(0,Po.jsx)("div",{className:`pw-screen ${n}`,style:{background:V3.canvas,minHeight:"100%",boxSizing:"border-box",paddingLeft:mn.screenPadH,paddingRight:mn.screenPadH,paddingTop:mn.screenPadT,paddingBottom:0,...o},children:(0,Po.jsxs)("div",{className:"pw-screen-main",style:{display:"flex",flexDirection:"column",gap:mn.sheetGap,background:V3.sheet,boxSizing:"border-box",paddingLeft:mn.sheetPadH,paddingRight:mn.sheetPadH,paddingTop:mn.sheetPadT,paddingBottom:mn.sheetPadB,borderTopLeftRadius:mn.sheetRadius,borderTopRightRadius:mn.sheetRadius,boxShadow:"var(--elevation-sheet)",minHeight:"100%"},children:[t?(0,Po.jsx)("div",{className:"pw-screen-nav",style:{flex:"0 0 auto",minHeight:mn.navHeight,boxSizing:"border-box",borderBottom:`1px solid ${V3.divider}`},children:t}):null,(0,Po.jsxs)("div",{className:"pw-screen-content",style:{display:"flex",flexDirection:"column",gap:mn.contentGap,flex:1,minHeight:0,position:"relative"},children:[r?(0,Po.jsx)(nw,{}):null,e]})]})})}function nw(){return(0,Po.jsx)("div",{"aria-hidden":"true",className:"pw-screen-guides",style:{position:"absolute",inset:0,pointerEvents:"none",display:"grid",gap:W3("gap-base")},children:Array.from({length:12}).map((e,t)=>(0,Po.jsx)("span",{style:{gridRow:1,background:Kf("fill-action-primary-subtle-rest"),opacity:.35}},t))})}var ow=`
507
+ }`,sm=class extends HTMLElement{static get observedAttributes(){return["active-module-id","active-nav-id","default-collapsed","app-switcher","active-app-id","hide-search","hide-actions"]}constructor(){super(),this._props={},this._reactRoot=null,this._slotObserver=null}set modules(t){this._props.modules=t,this._render()}get modules(){return this._props.modules}set org(t){this._props.org=t,this._render()}get org(){return this._props.org}set orgs(t){this._props.orgs=t,this._render()}get orgs(){return this._props.orgs}set user(t){this._props.user=t,this._render()}get user(){return this._props.user}set navItems(t){this._props.navItems=t,this._render()}get navItems(){return this._props.navItems}set navSections(t){this._props.navSections=t,this._render()}get navSections(){return this._props.navSections}set appSwitcher(t){this._appSwitcher=t,this._render()}get appSwitcher(){return this._appSwitcher}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Kw+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-navshell-root",t.appendChild(this._mount),this._reactRoot=(0,h9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readAttributes(){let t={};if(this.hasAttribute("active-module-id")&&(t.activeModuleId=this.getAttribute("active-module-id")),this.hasAttribute("active-nav-id")&&(t.activeNavId=this.getAttribute("active-nav-id")),this.hasAttribute("default-collapsed")){let n=this.getAttribute("default-collapsed");t.defaultCollapsed=n!=="false"&&n!=="0"}let r=n=>this.hasAttribute(n)&&this.getAttribute(n)!=="false"&&this.getAttribute(n)!=="0";return this.hasAttribute("hide-search")&&(t.showSearch=!r("hide-search")),this.hasAttribute("hide-actions")&&(t.showActions=!r("hide-actions")),t}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=Gc.default.createElement("slot",null)),t("nav-header-end")&&(r.navHeaderEnd=Gc.default.createElement("slot",{name:"nav-header-end"})),t("nav-footer")&&(r.navFooter=Gc.default.createElement("slot",{name:"nav-footer"})),r}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()},r=this.getAttribute("app-switcher"),n=this.hasAttribute("app-switcher")&&r!=="false"&&r!=="0";t.appSwitcher=n?{...this._appSwitcher||_s,activeId:this.getAttribute("active-app-id")||void 0,onSelect:o=>{this.setAttribute("active-app-id",o),this._emit("pathway-app-select",{id:o})}}:null,this._reactRoot.render(Gc.default.createElement(m9,{...t,onModuleSelect:o=>this._emit("pathway-module-select",{id:o}),onOrgSelect:o=>this._emit("pathway-org-select",{id:o}),onNavigate:o=>{this.setAttribute("active-nav-id",o),this._emit("pathway-navigate",{id:o})}}))}};customElements.get("pathway-nav-shell")||customElements.define("pathway-nav-shell",sm);var n1=S(D(),1),b9=S(Rr(),1);var gB=S(D(),1),Ao=S(he(),1),Ms=e=>`var(--responsive-layout-${e})`,cm=e=>`var(--semantic-layout-units-${e})`,r1=e=>`var(--semantic-color-${e})`,lm={canvas:r1("fill-surface-canvas"),sheet:r1("fill-surface-elevated"),divider:r1("stroke-static-neutral-faint")},$n={screenPadH:Ms("sheetcontainer-padding-horizontal"),screenPadT:Ms("sheetcontainer-padding-top"),sheetPadH:Ms("sheet-padding-horizontal"),sheetPadT:Ms("sheet-padding-top"),sheetPadB:Ms("sheet-padding-bottom"),sheetRadius:Ms("sheet-corner-radius-cornerradius"),sheetGap:cm("gap-tight"),contentGap:cm("gap-base"),navHeight:49};function g9({children:e,navigation:t,grid:r=!1,className:n="",style:o}){return(0,Ao.jsx)("div",{className:`pw-screen ${n}`,style:{background:lm.canvas,minHeight:"100%",boxSizing:"border-box",paddingLeft:$n.screenPadH,paddingRight:$n.screenPadH,paddingTop:$n.screenPadT,paddingBottom:0,...o},children:(0,Ao.jsxs)("div",{className:"pw-screen-main",style:{display:"flex",flexDirection:"column",gap:$n.sheetGap,background:lm.sheet,boxSizing:"border-box",paddingLeft:$n.sheetPadH,paddingRight:$n.sheetPadH,paddingTop:$n.sheetPadT,paddingBottom:$n.sheetPadB,borderTopLeftRadius:$n.sheetRadius,borderTopRightRadius:$n.sheetRadius,boxShadow:"var(--elevation-sheet)",minHeight:"100%"},children:[t?(0,Ao.jsx)("div",{className:"pw-screen-nav",style:{flex:"0 0 auto",minHeight:$n.navHeight,boxSizing:"border-box",borderBottom:`1px solid ${lm.divider}`},children:t}):null,(0,Ao.jsxs)("div",{className:"pw-screen-content",style:{display:"flex",flexDirection:"column",gap:$n.contentGap,flex:1,minHeight:0,position:"relative"},children:[r?(0,Ao.jsx)(zw,{}):null,e]})]})})}function zw(){return(0,Ao.jsx)("div",{"aria-hidden":"true",className:"pw-screen-guides",style:{position:"absolute",inset:0,pointerEvents:"none",display:"grid",gap:cm("gap-base")},children:Array.from({length:12}).map((e,t)=>(0,Ao.jsx)("span",{style:{gridRow:1,background:r1("fill-action-primary-subtle-rest"),opacity:.35}},t))})}var Vw=`
464
508
  :host { display: block; min-height: 100%; }
465
509
  :host([hidden]) { display: none; }
466
510
 
@@ -493,34 +537,11 @@ ${hr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
493
537
  font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
494
538
  font-size: var(--semantic-type-font-size-s);
495
539
  line-height: var(--semantic-type-line-height-s-single);
496
- }`,U3=class extends HTMLElement{static get observedAttributes(){return["grid"]}constructor(){super(),this._reactRoot=null,this._slotObserver=null}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=ow,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-pagetemplate-root",t.appendChild(this._mount),this._reactRoot=(0,V9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=zf.default.createElement("slot",null)),t("navigation")&&(r.navigation=zf.default.createElement("slot",{name:"navigation"})),r}_render(){if(!this._reactRoot)return;let t=this.getAttribute("grid"),r=this.hasAttribute("grid")&&t!=="false"&&t!=="0",{children:n,navigation:o}=this._readSlots();this._reactRoot.render(zf.default.createElement(B9,{grid:r,navigation:o},n??null))}};customElements.get("pathway-page-template")||customElements.define("pathway-page-template",U3);var Wf=S(D(),1),G9=S(Ar(),1);var Ee=S(D(),1),j9=S(kn(),1);var To=S($e(),1),j3=e=>`var(--semantic-color-${e})`,ga=e=>`var(--semantic-layout-units-${e})`,Nc=e=>`var(--semantic-type-${e})`,Bf=e=>`var(--motion-${e})`,ws={fill:j3("fill-surface-elevated"),stroke:j3("stroke-static-neutral-base"),fg:j3("foreground-static-neutral-base"),shadow:"var(--elevation-widget)"},st={padY:ga("padding-xxtight"),padX:ga("padding-xtight"),radius:ga("cornerradius-small"),stroke:ga("borderwidth-base"),offset:"--semantic-layout-units-gap-xxtight",edge:"--semantic-layout-units-padding-xtight",maxW:240,arrowW:12,arrowH:6,arrowInset:8,bridgeMs:120,tapMs:2600},Dc={fontFamily:Nc("family-brand"),fontSize:Nc("font-size-s"),fontWeight:Nc("weight-regular"),lineHeight:Nc("line-height-s-single"),letterSpacing:Nc("letter-spacing-wide")},aw={"amplify-light":"amplify-dark",light:"dark","amplify-dark":"amplify-light",dark:"light",midnight:"light"},iw=`
497
- .pw-tooltip{position:fixed;left:0;top:0;z-index:1000;box-sizing:border-box;width:max-content;
498
- max-width:min(${st.maxW}px, calc(100vw - 2 * var(${st.edge})));
499
- padding:${st.padY} ${st.padX};border-radius:${st.radius};background:${ws.fill};color:${ws.fg};
500
- box-shadow:inset 0 0 0 ${st.stroke} ${ws.stroke},${ws.shadow};
501
- font-family:${Dc.fontFamily},sans-serif;font-size:${Dc.fontSize};font-weight:${Dc.fontWeight};
502
- line-height:${Dc.lineHeight};letter-spacing:${Dc.letterSpacing};
503
- overflow-wrap:anywhere;text-align:start;pointer-events:auto;user-select:none}
504
- .pw-tooltip[data-state=open]{animation:pw-tooltip-in ${Bf("duration-2")} ${Bf("easing-decelerate")}}
505
- .pw-tooltip[data-state=closed]{animation:pw-tooltip-out ${Bf("duration-1")} ${Bf("easing-accelerate")} forwards}
506
- .pw-tooltip[data-side=top]{--pw-tooltip-dx:0;--pw-tooltip-dy:${ga("gap-xxtight")}}
507
- .pw-tooltip[data-side=bottom]{--pw-tooltip-dx:0;--pw-tooltip-dy:calc(-1 * ${ga("gap-xxtight")})}
508
- .pw-tooltip[data-side=left]{--pw-tooltip-dx:${ga("gap-xxtight")};--pw-tooltip-dy:0}
509
- .pw-tooltip[data-side=right]{--pw-tooltip-dx:calc(-1 * ${ga("gap-xxtight")});--pw-tooltip-dy:0}
510
- .pw-tooltip[data-reduced][data-state=open]{animation-name:pw-tooltip-fade}
511
- @keyframes pw-tooltip-in{from{opacity:0;transform:translate(var(--pw-tooltip-dx),var(--pw-tooltip-dy))}to{opacity:1;transform:none}}
512
- @keyframes pw-tooltip-fade{from{opacity:0}to{opacity:1}}
513
- @keyframes pw-tooltip-out{from{opacity:1}to{opacity:0}}
514
- .pw-tooltip__arrow{position:absolute;display:block;width:${st.arrowW}px;height:calc(${st.arrowH}px + ${st.stroke});overflow:hidden;transform-origin:0 0;pointer-events:none}
515
- .pw-tooltip__arrow::before{content:"";position:absolute;left:50%;top:0;width:8px;height:8px;box-sizing:border-box;
516
- transform:translate(-50%,-50%) rotate(45deg);background:${ws.fill};box-shadow:inset 0 0 0 ${st.stroke} ${ws.stroke}}
517
- .pw-tooltip__sr{display:none}
518
- .pw-tooltip__trigger{display:inline-flex}
519
- `,G3=!1;function sw(){(0,Ee.useEffect)(()=>{if(G3||typeof document>"u"||document.getElementById("pw-tooltip-css")){G3=!0;return}let e=document.createElement("style");e.id="pw-tooltip-css",e.textContent=iw,document.head.appendChild(e),G3=!0},[])}function Vf(e,t){if(typeof document>"u")return t;let r=parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e));return Number.isFinite(r)?r:t}var Ss=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r));function W9(e,t){let r=e;for(;r;){let n=r.closest?.(t);if(n)return n;r=r.getRootNode?.().host||null}return null}function lw(e){let t=W9(e,"[data-theme]")||document.documentElement,r=W9(e,"[data-brand]")||document.documentElement;return{theme:t.getAttribute("data-theme")||"light",brand:r.getAttribute("data-brand")}}var U9=0,cw=(0,Ee.createContext)(null),dw=(0,Ee.createContext)({arrow:!0});function uw(e,t,{side:r,align:n,arrow:o,boundary:a}){let i=e.getBoundingClientRect(),s=t.offsetWidth,l=t.offsetHeight,c=a?a.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},d=Vf(st.edge,8),u=Vf(st.offset,4)+(o?st.arrowH:0),p={top:i.top-u-l>=c.top+d,bottom:i.bottom+u+l<=c.bottom-d,left:i.left-u-s>=c.left+d,right:i.right+u+s<=c.right-d},b={top:"bottom",bottom:"top",left:"right",right:"left"},g=!p[r]&&p[b[r]]?b[r]:r,y=g==="top"||g==="bottom",$,m;y?(m=g==="top"?i.top-u-l:i.bottom+u,$=n==="start"?i.left:n==="end"?i.right-s:i.left+i.width/2-s/2):($=g==="left"?i.left-u-s:i.right+u,m=n==="start"?i.top:n==="end"?i.bottom-l:i.top+i.height/2-l/2);let f=st.arrowInset+st.arrowW/2,h=n;if(y){let x=i.left+i.width/2,w=Ss(Ss($,c.left+d,c.right-d-s),x-(s-f),x-f);Math.abs(w-$)>.5&&(h=w>$?"start":"end"),$=w}else{let x=i.top+i.height/2,w=Ss(Ss(m,c.top+d,c.bottom-d-l),x-(l-f),x-f);Math.abs(w-m)>.5&&(h=w>m?"start":"end"),m=w}let v=y?Ss(i.left+i.width/2-$,f,s-f):Ss(i.top+i.height/2-m,f,l-f);return{x:$,y:m,side:g,align:h,along:v}}function fw(e,t){let r=st.stroke;switch(e){case"bottom":return{top:r,left:t+st.arrowW/2,transform:"rotate(180deg)"};case"left":return{left:`calc(100% - ${r})`,top:t+st.arrowW/2,transform:"rotate(-90deg)"};case"right":return{left:r,top:t-st.arrowW/2,transform:"rotate(90deg)"};default:return{top:`calc(100% - ${r})`,left:t-st.arrowW/2}}}function Fc({children:e,content:t,describe:r,purpose:n="description",side:o="top",align:a="center",arrow:i,disabled:s=!1,persistOnPress:l=!1,boundary:c,open:d,onOpenChange:u,manageAria:p=!0}){sw();let b=(0,Ee.useContext)(dw),g=(0,Ee.useContext)(cw),y=i??b.arrow??!0,$=Vt(),m=(0,Ee.useId)(),f=(0,Ee.useRef)(null),h=(0,Ee.useRef)(null),[v,x]=(0,Ee.useState)(!1),[w,k]=(0,Ee.useState)(!1),[E,T]=(0,Ee.useState)(!1),[P,F]=(0,Ee.useState)(!1),[R,_]=(0,Ee.useState)(!1),[C,L]=(0,Ee.useState)(null),[K,I]=(0,Ee.useState)(null),Z=(0,Ee.useRef)(null),N=(0,Ee.useRef)(null),q=(0,Ee.useRef)(null),ee=(0,Ee.useRef)(null);(0,Ee.useEffect)(()=>()=>[Z,N,q,ee].forEach(Re=>clearTimeout(Re.current)),[]);let z=!s&&!!t&&(d??(E||!P&&(v||w))),G=(0,Ee.useRef)(!1);(0,Ee.useEffect)(()=>{clearTimeout(ee.current),z?_(!0):G.current&&(U9=Date.now(),ee.current=setTimeout(()=>{_(!1),L(null)},$?0:Vf("--motion-duration-1",100))),G.current!==z&&u?.(z),G.current=z},[z]),(0,Ee.useEffect)(()=>{if(!z)return;let Re=()=>{let{theme:gn,brand:$a}=lw(f.current);I({theme:aw[gn]||"dark",brand:$a})};Re();let $t=typeof MutationObserver<"u"?new MutationObserver(Re):null;return $t?.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>$t?.disconnect()},[z]);let V=(0,Ee.useCallback)(()=>{!f.current||!h.current||L(uw(f.current,h.current,{side:o,align:a,arrow:y,boundary:c}))},[o,a,y,c]);if((0,Ee.useLayoutEffect)(()=>{if(!R)return;V();let Re=()=>V();window.addEventListener("scroll",Re,!0),window.addEventListener("resize",Re);let $t=typeof ResizeObserver<"u"?new ResizeObserver(Re):null;$t&&h.current&&$t.observe(h.current);let gn=0,$a="",si=()=>{let ks=f.current?.getBoundingClientRect(),lm=ks?`${ks.left},${ks.top},${ks.width},${ks.height}`:"";lm!==$a&&($a=lm,V()),gn=requestAnimationFrame(si)};return gn=requestAnimationFrame(si),()=>{window.removeEventListener("scroll",Re,!0),window.removeEventListener("resize",Re),$t?.disconnect(),cancelAnimationFrame(gn)}},[R,V,t,K]),(0,Ee.useEffect)(()=>{if(!z)return;let Re=gn=>{gn.key==="Escape"&&(F(!0),T(!1))},$t=gn=>{let $a=si=>!!si&&(typeof gn.composedPath=="function"?gn.composedPath().includes(si):si.contains(gn.target));!$a(f.current)&&!$a(h.current)&&(x(!1),T(!1))};return document.addEventListener("keydown",Re),document.addEventListener("pointerdown",$t),()=>{document.removeEventListener("keydown",Re),document.removeEventListener("pointerdown",$t)}},[z]),s||!t)return e;let M=Ee.default.Children.only(e),ae=typeof M.type=="string"||M.type?.$$typeof===Symbol.for("react.forward_ref")||!!M.type?.prototype?.isReactComponent,Q=(Re,$t)=>{ae&&M.props[Re]?.($t)},we=g?.delay??Vf("--motion-duration-4",300),bt=g?.skipDelay??we,le=Re=>{Q("onPointerEnter",Re),Re.pointerType!=="touch"&&(clearTimeout(N.current),F(!1),!v&&(Date.now()-U9<bt?x(!0):(clearTimeout(Z.current),Z.current=setTimeout(()=>x(!0),we))))},A=Re=>{Q("onPointerLeave",Re),clearTimeout(Z.current),clearTimeout(N.current),N.current=setTimeout(()=>x(!1),st.bridgeMs)},W=()=>clearTimeout(N.current),ce=()=>{clearTimeout(N.current),N.current=setTimeout(()=>x(!1),st.bridgeMs)},me=Re=>{Q("onFocus",Re);let $t=!0;try{$t=Re.target.matches(":focus-visible")}catch{}$t&&(F(!1),k(!0))},_t=Re=>{Q("onBlur",Re),k(!1),T(!1)},De=Re=>{Q("onPointerDown",Re),clearTimeout(Z.current),Re.pointerType==="touch"||l?(T(!0),clearTimeout(q.current),q.current=setTimeout(()=>T(!1),st.tapMs)):(x(!1),F(!0))},Yr=n==="description"?[M.props["aria-describedby"],m].filter(Boolean).join(" "):M.props["aria-describedby"],ai=Re=>{f.current=Re;let $t=M.ref;typeof $t=="function"?$t(Re):$t&&typeof $t=="object"&&($t.current=Re)},_r={onPointerEnter:le,onPointerLeave:A,onPointerDown:De,onFocus:me,onBlur:_t},ii=p?{"aria-label":n==="label"&&typeof t=="string"?t:M.props["aria-label"],"aria-describedby":Yr||void 0}:{},St=ae?Ee.default.cloneElement(M,{ref:ai,..._r,...ii}):(0,To.jsx)("span",{ref:Re=>{f.current=Re},className:"pw-tooltip__trigger",..._r,children:Ee.default.cloneElement(M,ii)}),Dn=R&&typeof document<"u"?(0,j9.createPortal)((0,To.jsxs)("div",{ref:h,className:"pw-tooltip",role:"tooltip","aria-hidden":"true","data-state":z?"open":"closed","data-side":C?.side??o,"data-align":C?.align??a,"data-theme":K?.theme,"data-brand":K?.brand||void 0,"data-reduced":$||void 0,onPointerEnter:W,onPointerLeave:ce,style:{left:C?C.x:0,top:C?C.y:0,visibility:C?"visible":"hidden"},children:[t,y&&C&&(0,To.jsx)("span",{className:"pw-tooltip__arrow",style:fw(C.side,C.along)})]}),document.body):null;return(0,To.jsxs)(To.Fragment,{children:[St,p&&n==="description"&&(0,To.jsx)("span",{id:m,className:"pw-tooltip__sr",hidden:!0,children:r??t}),Dn]})}var pw=`
540
+ }`,dm=class extends HTMLElement{static get observedAttributes(){return["grid"]}constructor(){super(),this._reactRoot=null,this._slotObserver=null}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Vw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-pagetemplate-root",t.appendChild(this._mount),this._reactRoot=(0,b9.createRoot)(this._mount)}this._slotObserver||(this._slotObserver=new MutationObserver(()=>this._render()),this._slotObserver.observe(this,{childList:!0,attributeFilter:["slot"]})),this._render()}disconnectedCallback(){this._slotObserver&&(this._slotObserver.disconnect(),this._slotObserver=null);let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_readSlots(){let t=n=>n===null?[...this.childNodes].some(o=>o.nodeType===1&&!o.getAttribute("slot")||o.nodeType===3&&o.textContent.trim()):!!this.querySelector(`[slot="${n}"]`),r={};return t(null)&&(r.children=n1.default.createElement("slot",null)),t("navigation")&&(r.navigation=n1.default.createElement("slot",{name:"navigation"})),r}_render(){if(!this._reactRoot)return;let t=this.getAttribute("grid"),r=this.hasAttribute("grid")&&t!=="false"&&t!=="0",{children:n,navigation:o}=this._readSlots();this._reactRoot.render(n1.default.createElement(g9,{grid:r,navigation:o},n??null))}};customElements.get("pathway-page-template")||customElements.define("pathway-page-template",dm);var o1=S(D(),1),$9=S(Rr(),1);var Ww=`
520
541
  :host { display: inline-flex; }
521
542
  :host([hidden]) { display: none; }
522
543
  .pw-tooltip-wc-trigger { display: inline-flex; }
523
- `,mw=["content","describe","purpose","side","align","arrow","persist-on-press","disabled"],hw=0,Z3=class extends HTMLElement{static get observedAttributes(){return mw}constructor(){super(),this._reactRoot=null,this._descId=`pw-tooltip-desc-${++hw}`}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=pw,t.appendChild(r),this._mount=document.createElement("span"),t.appendChild(this._mount),this._reactRoot=(0,G9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_wireAria(t,r,n){let o=[...this.children].find(s=>s.getAttribute("slot")!=="pw-description");if(!o)return;let a=this.querySelector(`#${this._descId}`);if(t==="label"){r&&o.setAttribute("aria-label",r),a?.remove();return}a||(a=document.createElement("span"),a.id=this._descId,a.hidden=!0,a.slot="pw-description",this.appendChild(a)),a.textContent=n||r||"";let i=new Set((o.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean));i.add(this._descId),o.setAttribute("aria-describedby",[...i].join(" "))}_render(){if(!this._reactRoot)return;let t=this.getAttribute("content")||"",r=this.getAttribute("describe")||void 0,n=this.getAttribute("purpose")==="label"?"label":"description";this._wireAria(n,t,r);let o=this.hasAttribute("arrow")?this._bool("arrow"):void 0;this._reactRoot.render(Wf.default.createElement(Fc,{content:t,purpose:n,manageAria:!1,side:this.getAttribute("side")||"top",align:this.getAttribute("align")||"center",arrow:o,persistOnPress:!!this._bool("persist-on-press"),disabled:!!this._bool("disabled")},Wf.default.createElement("span",{className:"pw-tooltip-wc-trigger"},Wf.default.createElement("slot"))))}};customElements.get("pathway-tooltip")||customElements.define("pathway-tooltip",Z3);var X3=S(D(),1),J9=S(Ar(),1);var Be=S(D(),1);var be=S($e(),1),Gr=e=>`var(--semantic-color-${e})`,nt=e=>`var(--semantic-layout-units-${e})`,gw=e=>`var(--contextual-layout-units-${e})`,Y3=e=>`var(--responsive-layout-${e})`,Hc=e=>`var(--semantic-type-${e})`,Es=(e,t,r,n)=>({fontFamily:Hc("family-brand"),fontSize:Hc(`font-size-${e}`),lineHeight:Hc(`line-height-${t}`),fontWeight:Hc(`weight-${r}`),letterSpacing:Hc(`letter-spacing-${n}`)}),oe={noticeFill:Gr("fill-surface-elevated"),noticeStroke:Gr("stroke-static-neutral-faint"),hintFill:Gr("fill-surface-overlay"),hintStroke:Gr("stroke-static-neutral-bold"),messageFill:Gr("fill-static-negative-subtle"),messageFg:Gr("foreground-static-negative-on-subtle"),progressFill:Gr("fill-static-brand-strong"),progressTrack:Gr("stroke-static-neutral-faint"),sheetFill:Gr("fill-surface-overlay"),scrim:Gr("scrim-base"),fgStrong:Gr("foreground-static-neutral-strong"),fgBase:Gr("foreground-static-neutral-base"),focusRing:Gr("stroke-focusring-base"),hintShadow:"var(--elevation-lift)",sheetShadow:"var(--elevation-sheet)",borderWidth:nt("borderwidth-thin"),noticeRadius:nt("cornerradius-base"),pillRadius:nt("cornerradius-full"),messageRadius:nt("cornerradius-small"),sheetRadius:Y3("sheet-corner-radius-cornerradius"),focusWidth:gw("focusring-width"),focusOffset:"0",sectionGap:nt("gap-medium"),progressGap:nt("gap-xtight"),titleGap:nt("gap-tight"),agreementGap:nt("gap-xtight"),paragraphGap:nt("gap-base"),toolbarPad:`${nt("padding-xxtight")} ${nt("padding-xtight")} ${nt("padding-xxxtight")}`,contentPad:`${nt("padding-xtight")} ${nt("padding-base")} ${nt("padding-base")}`,hintPad:`${nt("padding-xxxtight")} ${nt("padding-xtight")}`,hintGap:nt("gap-xxtight"),hintOffset:nt("padding-xtight"),messagePad:nt("padding-xtight"),messageGap:nt("gap-tight"),sheetPad:`${Y3("sheet-padding-top")} ${Y3("sheet-padding-horizontal")} ${nt("padding-wide")}`,sheetGap:nt("gap-base"),sheetHeaderPad:nt("padding-medium"),noticeType:Es("s","s-single","regular","spacious"),titleType:Es("r","r-single","medium","wide"),progressType:Es("xs","xs-single","regular","extraspacious"),hintType:Es("xs","xs-single","semibold","extraspacious"),messageType:Es("xs","xs-single","semibold","extraspacious"),sheetTitleType:Es("m","m-relaxed","semibold","wide"),progressMotion:"width var(--motion-duration-2) var(--motion-easing-standard)",scrimMotion:"pds-ste-fade var(--motion-duration-3) var(--motion-easing-standard)",sheetMotion:"pds-ste-rise var(--motion-duration-4) var(--motion-easing-emphasized)",noticeHeight:200,progressHeight:4,minWidth:320,readThreshold:8,breakpoint:768,sheetFrameHeight:560},bw={scrollInline:"Scroll to the end of the notice before you continue.",readAgreement:"Read the agreement before you agree to it.",scrollSheet:"Scroll to the end of the notice to finish reading.",agree:"Check the box to confirm you have read the notice."},$w={Unread:{},Reading:{progress:.5},Read:{progress:1,read:!0},Agreed:{progress:1,read:!0,checked:!0},Blocked:{msg:"blocked"},"Agreement Missing":{progress:1,read:!0,msg:"agree",missing:!0},"Sheet Unread":{sheetOpen:!0},"Sheet Blocked":{sheetOpen:!0,progress:.4,sheetMsg:"scrollSheet"},"Sheet Read":{sheetOpen:!0,progress:1}};function vw(){if(typeof document>"u"||document.getElementById("pds-ste-styles"))return;let e=document.createElement("style");e.id="pds-ste-styles",e.textContent="@keyframes pds-ste-fade{from{opacity:0}to{opacity:1}}@keyframes pds-ste-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}.pds-ste__region{outline:none}.pds-ste__region p{margin:0}",document.head.appendChild(e)}var Z9=()=>typeof window<"u"&&typeof window.matchMedia=="function",Y9=`(min-width: ${oe.breakpoint}px)`;function yw(e){let[t,r]=(0,Be.useState)(()=>Z9()?window.matchMedia(Y9).matches:!0);return(0,Be.useEffect)(()=>{if(e!=="auto"||!Z9())return;let n=window.matchMedia(Y9);r(n.matches);let o=a=>r(a.matches);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)},[e]),e==="inline"||e==="sheet"?e:t?"inline":"sheet"}var oi=e=>{e&&typeof e.focus=="function"&&e.focus()};function xw({value:e,labelId:t}){let r=Vt(),n=Math.round(e*100);return(0,be.jsxs)("div",{className:"pds-ste__progress",style:{display:"flex",flexDirection:"column",gap:oe.progressGap},children:[(0,be.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",...oe.progressType,color:oe.fgBase},children:[(0,be.jsx)("span",{id:t,children:"Reading progress"}),(0,be.jsxs)("span",{"aria-hidden":"true",children:[n,"%"]})]}),(0,be.jsx)("div",{role:"progressbar","aria-labelledby":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,style:{height:oe.progressHeight,borderRadius:oe.pillRadius,background:oe.progressTrack,overflow:"hidden"},children:(0,be.jsx)("div",{style:{width:`${n}%`,height:"100%",borderRadius:oe.pillRadius,background:oe.progressFill,transition:r?"none":oe.progressMotion}})})]})}function X9({id:e,text:t,nonce:r}){return(0,be.jsx)("div",{id:e,children:t&&(0,be.jsxs)("div",{role:"alert",style:{display:"flex",alignItems:"flex-start",gap:oe.messageGap,padding:oe.messagePad,borderRadius:oe.messageRadius,background:oe.messageFill,color:oe.messageFg,...oe.messageType},children:[(0,be.jsx)(Se,{name:"error",size:"M",fill:1}),(0,be.jsx)("span",{children:t})]},r)})}function Cw(){return(0,be.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:0,right:0,bottom:oe.hintOffset,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,be.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:oe.hintGap,padding:oe.hintPad,borderRadius:oe.pillRadius,background:oe.hintFill,boxShadow:oe.hintShadow,border:`${oe.borderWidth} solid ${oe.hintStroke}`,...oe.hintType,color:oe.fgStrong},children:[(0,be.jsx)(Se,{name:"arrow_downward",size:"M"}),"Scroll to continue"]})})}function q9({children:e,height:t,titleId:r,regionRef:n,showPrint:o,onPrint:a,showHint:i,onProgress:s,startAt:l}){let c=(0,Be.useRef)(null),[d,u]=(0,Be.useState)(!1),p=(0,Be.useCallback)(g=>{if(!g)return;let y=g.scrollHeight-g.clientHeight;s(y<=oe.readThreshold?1:Math.min(1,g.scrollTop/(y-oe.readThreshold)))},[s]);(0,Be.useLayoutEffect)(()=>{let g=c.current&&c.current.querySelector(".pds-scrollable__view");if(!g||(l!=null&&(g.scrollTop=(g.scrollHeight-g.clientHeight)*l),p(g),typeof ResizeObserver>"u"))return;let y=new ResizeObserver(()=>p(g));return y.observe(g),()=>y.disconnect()},[p,t,l]);let b=g=>{let y=!0;try{y=g.target.matches(":focus-visible")||g.target.dataset.moved==="1"}catch{}delete g.target.dataset.moved,u(y)};return(0,be.jsxs)("div",{ref:c,className:"pds-ste__notice",onScrollCapture:g=>p(g.target),style:{position:"relative",background:oe.noticeFill,border:`${oe.borderWidth} solid ${oe.noticeStroke}`,borderRadius:oe.noticeRadius,outline:d?`${oe.focusWidth} solid ${oe.focusRing}`:"none",outlineOffset:oe.focusOffset},children:[o&&(0,be.jsx)("div",{style:{padding:oe.toolbarPad},children:(0,be.jsx)(po,{buttonStyle:"Naked",type:"Secondary",size:"S",text:"Print",showLeadingIcon:!0,leadingIcon:"print",onClick:a})}),(0,be.jsx)(bu,{style:{height:t},children:(0,be.jsx)("div",{ref:n,className:"pds-ste__region",role:"region",tabIndex:0,"aria-labelledby":r,onFocus:b,onBlur:()=>u(!1),style:{padding:oe.contentPad,display:"flex",flexDirection:"column",gap:oe.paragraphGap,...oe.noticeType,color:oe.fgStrong},children:e})}),i&&(0,be.jsx)(Cw,{})]})}function ww({title:e,titleId:t,stepLabel:r,onClose:n,children:o,footer:a,initialFocusRef:i,contained:s}){let l=Vt(),c=(0,Be.useRef)(null);(0,Be.useEffect)(()=>{if(s)return;let u=document.body.style.overflow;document.body.style.overflow="hidden";let p=setTimeout(()=>oi(i.current),0);return()=>{clearTimeout(p),document.body.style.overflow=u}},[i,s]);let d=u=>{if(u.key==="Escape"){u.stopPropagation(),n();return}if(u.key!=="Tab"||!c.current)return;let p=c.current.querySelectorAll("button, input, [tabindex='0']");if(!p.length)return;let b=p[0],g=p[p.length-1];u.shiftKey&&document.activeElement===b?(u.preventDefault(),oi(g)):!u.shiftKey&&document.activeElement===g&&(u.preventDefault(),oi(b))};return(0,be.jsxs)("div",{className:"pds-ste-sheet",style:{position:s?"absolute":"fixed",inset:0,zIndex:s?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:[(0,be.jsx)("div",{className:"pds-ste-sheet__scrim",onClick:n,style:{position:"absolute",inset:0,background:oe.scrim,animation:l?"none":oe.scrimMotion}}),(0,be.jsxs)("div",{ref:c,role:"dialog","aria-modal":"true","aria-labelledby":t,onKeyDown:d,style:{position:"relative",background:oe.sheetFill,boxShadow:oe.sheetShadow,borderRadius:`${oe.sheetRadius} ${oe.sheetRadius} 0 0`,padding:oe.sheetPad,display:"flex",flexDirection:"column",gap:oe.sheetGap,maxHeight:"85vh",animation:l?"none":oe.sheetMotion},children:[(0,be.jsxs)("div",{className:"pds-ste-sheet__header",style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:oe.sheetHeaderPad,paddingRight:oe.sheetHeaderPad},children:[(0,be.jsx)("span",{style:{...oe.progressType,color:oe.fgBase},children:r}),(0,be.jsx)(po,{buttonStyle:"Naked",type:"Secondary",size:"S",showText:!1,showLeadingIcon:!0,leadingIcon:"close",text:"Close",ariaLabel:"Close",onClick:n})]}),(0,be.jsx)("h2",{id:t,style:{margin:0,textAlign:"center",...oe.sheetTitleType,color:oe.fgStrong},children:e}),o,a]})]})}function Q9({title:e,children:t,agreementLabel:r,onContinue:n,layout:o="auto",noticeHeight:a=oe.noticeHeight,showPrint:i=!0,onPrint:s,continueLabel:l="Continue",readAgreementLabel:c="Read Agreement",readLabel:d="Agreement read",doneReadingLabel:u="Done Reading",stepLabel:p,messages:b,onAgreeChange:g,demoState:y,className:$=""}){vw();let m=yw(o),f=(0,Be.useId)().replace(/:/g,""),h={title:`${f}-title`,progress:`${f}-rp`,msg:`${f}-msg`,sheetTitle:`${f}-sheet-title`,sheetMsg:`${f}-sheet-msg`,checkbox:`${f}-cb`},v={...bw,...b},x=y&&$w[y]||{},w=!!y,k=x.msg==="blocked"?m==="inline"?"scrollInline":"readAgreement":x.msg||null,[E,T]=(0,Be.useState)(x.progress||0),[P,F]=(0,Be.useState)(!!x.read),[R,_]=(0,Be.useState)(!!x.checked),[C,L]=(0,Be.useState)(k),[K,I]=(0,Be.useState)(x.sheetMsg||null),[Z,N]=(0,Be.useState)(0),[q,ee]=(0,Be.useState)(!!x.sheetOpen),[z,G]=(0,Be.useState)(!!x.missing),V=(0,Be.useRef)(null),M=(0,Be.useRef)(null),ae=(0,Be.useRef)(null),Q=St=>{L(St),N(Dn=>Dn+1)},we=St=>{St&&(St.dataset.moved="1",oi(St))},bt=()=>ae.current&&ae.current.querySelector("button"),le=(0,Be.useCallback)(St=>{T(Dn=>Math.max(Dn,St)),St>=1&&(F(!0),L(Dn=>Dn==="scrollInline"?null:Dn))},[]),A=(0,Be.useCallback)(St=>{T(Dn=>Math.max(Dn,St)),St>=1&&I(null)},[]),W=()=>{m==="inline"?(Q("scrollInline"),we(V.current)):(Q("readAgreement"),oi(bt()))},ce=St=>{if(!P){W();return}_(St),St&&(L(null),G(!1)),g&&g(St)},me=()=>{if(!P){W();return}if(!R){G(!0),Q("agree"),oi(document.getElementById(h.checkbox));return}n&&n()},_t=()=>{ee(!1),I(null),setTimeout(()=>oi(bt()),0)},De=()=>{if(E<1){I("scrollSheet"),N(St=>St+1),we(M.current);return}F(!0),L(null),_t()},Yr=s||(()=>{typeof window<"u"&&window.print()}),ai=(0,be.jsxs)("div",{className:"pds-ste__agreement",style:{display:"flex",flexDirection:"column",gap:oe.agreementGap},children:[(0,be.jsx)(Rf,{id:h.checkbox,checked:R,error:z&&!R,label:r,onChange:ce,describedBy:h.msg}),(0,be.jsx)(X9,{id:h.msg,text:C?v[C]:null,nonce:Z})]}),_r=(0,be.jsx)("div",{className:"pds-ste__actions",style:{display:"flex",justifyContent:"center"},children:(0,be.jsx)(po,{buttonStyle:"Fill",type:"Primary",size:"L",text:l,onClick:me,"aria-describedby":h.msg})}),ii={display:"flex",flexDirection:"column",gap:oe.sectionGap,minWidth:oe.minWidth,width:"100%"};return m==="inline"?(0,be.jsxs)("div",{className:`pds-ste ${$}`,style:ii,children:[(0,be.jsx)(xw,{value:E,labelId:h.progress}),(0,be.jsxs)("div",{className:"pds-ste__notice-group",style:{display:"flex",flexDirection:"column",gap:oe.titleGap},children:[(0,be.jsx)("div",{id:h.title,style:{...oe.titleType,color:oe.fgStrong},children:e}),(0,be.jsx)(q9,{height:a,titleId:h.title,regionRef:V,showPrint:i,onPrint:Yr,showHint:!P,onProgress:le,startAt:x.read?1:x.progress,children:t})]}),ai,_r]}):(0,be.jsxs)("div",{className:`pds-ste ${$}`,style:w&&q?{...ii,position:"relative",minHeight:oe.sheetFrameHeight}:ii,children:[(0,be.jsx)("span",{ref:ae,style:{display:"flex"},children:(0,be.jsx)(po,{buttonStyle:"Fill",type:"Tertiary",size:"M",text:P?d:c,showTrailingIcon:!0,trailingIcon:P?"check":"open_in_new","aria-haspopup":"dialog",onClick:()=>{ee(!0),I(null)}})}),ai,_r,q&&(0,be.jsxs)(ww,{title:e,titleId:h.sheetTitle,stepLabel:p,onClose:_t,initialFocusRef:M,contained:w,footer:(0,be.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,be.jsx)(po,{buttonStyle:"Fill",type:"Primary",size:"L",text:u,onClick:De,"aria-describedby":h.sheetMsg})}),children:[(0,be.jsx)(q9,{height:a,titleId:h.sheetTitle,regionRef:M,showPrint:!1,showHint:E<1,onProgress:A,startAt:x.sheetOpen?x.progress:void 0,children:t}),(0,be.jsx)(X9,{id:h.sheetMsg,text:K?v[K]:null,nonce:Z})]})]})}var Sw=["notice-title","agreement-label","layout","notice-height","show-print","continue-label","read-agreement-label","read-label","done-reading-label","step-label"],q3=class extends HTMLElement{static get observedAttributes(){return Sw}constructor(){super(),this._reactRoot=null,this._notice=""}connectedCallback(){this._reactRoot||(this._notice=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,J9.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_attr(t){return this.getAttribute(t)||void 0}_emit(t,r,n=!1){return this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:n}))}_render(){if(!this._reactRoot)return;let t=parseInt(this.getAttribute("notice-height"),10),r=this.getAttribute("show-print");this._reactRoot.render(X3.default.createElement(Q9,{title:this._attr("notice-title"),agreementLabel:this._attr("agreement-label"),layout:this._attr("layout")||"auto",noticeHeight:Number.isFinite(t)?t:void 0,showPrint:r!=="false"&&r!=="0",continueLabel:this._attr("continue-label"),readAgreementLabel:this._attr("read-agreement-label"),readLabel:this._attr("read-label"),doneReadingLabel:this._attr("done-reading-label"),stepLabel:this._attr("step-label"),onContinue:()=>this._emit("pathway-continue"),onPrint:()=>{this._emit("pathway-print",void 0,!0)&&window.print()},onAgreeChange:n=>this._emit("pathway-agree",{checked:n})},X3.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._notice},style:{display:"contents"}})))}};customElements.get("pathway-scroll-to-enable")||customElements.define("pathway-scroll-to-enable",q3);var Q3=S(D(),1),eg=S(Ar(),1);var Ew=["open","sheet-title","menu","show-handle","show-back","close-label","back-label"],J3=class extends HTMLElement{static get observedAttributes(){return Ew}constructor(){super(),this._reactRoot=null,this._body=""}connectedCallback(){this._reactRoot||(this._body=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,eg.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_close(){this.removeAttribute("open"),this._emit("pathway-close")}_render(){if(!this._reactRoot)return;let t=this.getAttribute("show-handle"),r=n=>{let o=n.target.closest?.('[role^="menuitem"]');!o||o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"||(this._emit("pathway-select",{value:o.dataset.value}),this._close())};this._reactRoot.render(Q3.default.createElement(Ff,{open:this.hasAttribute("open"),onOpenChange:n=>{n||this._close()},title:this.getAttribute("sheet-title")||"",menu:this.hasAttribute("menu"),showHandle:t!=="false"&&t!=="0",showBack:this.hasAttribute("show-back"),onBack:()=>this._emit("pathway-back"),closeLabel:this.getAttribute("close-label")||void 0,backLabel:this.getAttribute("back-label")||void 0},Q3.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._body},onClick:r,style:{display:"contents"}})))}};customElements.get("pathway-bottom-sheet")||customElements.define("pathway-bottom-sheet",J3);var tg=S(D(),1),rg=S(Ar(),1);var kw=["type","label","field-label","show-field-label","status","size","badge-style","leading-icon","selected-icon","show-trailing-icon","href","selected","disabled","remove-disabled"],em=class extends HTMLElement{static get observedAttributes(){return kw}constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,rg.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._bool("selected");this._reactRoot.render(tg.default.createElement(If,{type:this.getAttribute("type")||"static",label:this.getAttribute("label")||"",fieldLabel:this.getAttribute("field-label")||void 0,showFieldLabel:!!this._bool("show-field-label"),status:this.getAttribute("status")||"Neutral",size:this.getAttribute("size")||"Small",badgeStyle:this.getAttribute("badge-style")||"Outline & Fill",leadingIcon:this.getAttribute("leading-icon")||void 0,selectedIcon:this.getAttribute("selected-icon")||"check",showTrailingIcon:!!this._bool("show-trailing-icon"),href:this.getAttribute("href")||void 0,selected:t,disabled:!!this._bool("disabled"),removeDisabled:!!this._bool("remove-disabled"),onChange:r=>{t!==void 0&&this.toggleAttribute("selected",r),this._emit("pathway-badge-change",{selected:r})},onRemove:()=>this._emit("pathway-badge-remove",{})}))}};customElements.get("pathway-badge")||customElements.define("pathway-badge",em);var ig=S(D(),1),sg=S(Ar(),1);var dt=S(D(),1);var Rt=S($e(),1),hn=e=>`var(--semantic-color-${e})`,jt=e=>`var(--semantic-layout-units-${e})`,Pw=e=>`var(--contextual-layout-units-${e})`,Ac=e=>`var(--semantic-type-${e})`,Uf=e=>`var(--motion-${e})`,tm=e=>`var(--primitive-unit-unit-${e})`,ba=e=>({rest:hn(`${e}-rest`),hover:hn(`${e}-hover`),pressed:hn(`${e}-pressed`)}),Tw={fill:{...ba("fill-action-secondary"),disabled:hn("fill-action-disabled")},fg:{...ba("foreground-action-secondary"),disabled:hn("foreground-action-disabled")},stroke:null},ng={Primary:{fill:ba("fill-action-primary-strong"),fg:{rest:hn("foreground-action-primary-on-strong"),hover:hn("foreground-action-primary-on-strong"),pressed:hn("foreground-action-primary-on-strong")},stroke:null},Secondary:{fill:{rest:hn("fill-surface-elevated"),hover:hn("fill-surface-elevated"),pressed:hn("fill-surface-elevated")},fg:ba("foreground-action-secondary"),stroke:ba("stroke-action-secondary")},Tertiary:{fill:ba("fill-action-primary-subtle"),fg:ba("foreground-action-primary-on-subtle"),stroke:ba("stroke-action-primary-strong")}},Zr={gap:jt("gap-xxxtight"),border:jt("borderwidth-base"),touchW:jt("accessibility-touch-target-aa-width"),touchH:jt("accessibility-touch-target-aa-height"),focusOutline:`${Pw("focusring-width")} solid ${hn("stroke-focusring-base")}`,focusOffset:"0",colour:`${Uf("duration-2")} ${Uf("easing-standard")}`,shape:`${Uf("duration-4")} ${Uf("easing-spring-soft")}`},jf=(e,t,r)=>({fontFamily:Ac("family-brand"),fontSize:Ac(`font-size-${e}`),fontWeight:Ac("weight-medium"),lineHeight:Ac(`line-height-${t}`),letterSpacing:Ac(`letter-spacing-${r}`)}),og={XS:{height:28,padH:jt("padding-xtight"),inner:jt("cornerradius-small"),outer:tm(14),gap:jt("gap-xtight"),icon:14,...jf("xs","xs-single","extraspacious")},S:{height:32,padH:jt("padding-tight"),inner:jt("cornerradius-small"),outer:jt("cornerradius-xlarge"),gap:jt("gap-tight"),icon:16,...jf("s","s-single","spacious")},M:{height:40,padH:jt("padding-base"),inner:jt("cornerradius-base"),outer:tm(20),gap:jt("gap-tight"),icon:18,...jf("r","r-single","wide")},L:{height:48,padH:jt("padding-relaxed"),inner:jt("cornerradius-base"),outer:tm(24),gap:jt("gap-tight"),icon:20,...jf("m","m-single","wide")}},Lw=(e,t,r)=>{if(r)return e.outer;let n=e.outer,o=e.inner;return t==="Only"?n:t==="First"?`${n} ${o} ${o} ${n}`:t==="Last"?`${o} ${n} ${n} ${o}`:o},Gf=(0,dt.forwardRef)(function({toggleStyle:t="Secondary",size:r="S",selected:n=!1,position:o="Middle",label:a="Label",icon:i,showIcon:s=!0,showLabel:l=!0,disabled:c=!1,fill:d=!1,forceState:u=null,as:p="radio",onPointerEnter:b,onPointerLeave:g,onPointerDown:y,onPointerUp:$,onFocus:m,onBlur:f,onKeyDown:h,onKeyUp:v,onClick:x,className:w="",...k},E){let T=Vt(),[P,F]=(0,dt.useState)(!1),[R,_]=(0,dt.useState)(!1),[C,L]=(0,dt.useState)(!1),K=og[r]||og.S,I=n?ng[t]||ng.Secondary:Tw,Z=c?"disabled":u==="pressed"||R?"pressed":u==="hover"||P?"hover":"rest",N=!c&&(u==="focused"||C),q=s&&!l,ee={display:"flex",alignItems:"center",justifyContent:"center",gap:K.gap,boxSizing:"border-box",height:K.height,minWidth:Zr.touchW,width:d?"100%":void 0,paddingLeft:q?0:K.padH,paddingRight:q?0:K.padH,borderRadius:Lw(K,o,n),background:I.fill[Z]||I.fill.rest,color:I.fg[Z]||I.fg.rest,boxShadow:I.stroke&&!N?`inset 0 0 0 ${Zr.border} ${I.stroke[Z]||I.stroke.rest}`:"none",outline:N?Zr.focusOutline:"none",outlineOffset:N?Zr.focusOffset:void 0,fontFamily:K.fontFamily,fontSize:K.fontSize,fontWeight:K.fontWeight,lineHeight:K.lineHeight,letterSpacing:K.letterSpacing,whiteSpace:"nowrap",transition:T?"none":`background-color ${Zr.colour}, color ${Zr.colour}, box-shadow ${Zr.colour}, border-radius ${Zr.shape}`},z={position:"relative",zIndex:N?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:Zr.touchH,minWidth:Zr.touchW,flex:d?"1 1 0":"0 0 auto",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:c?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},G=p==="radio";return(0,Rt.jsx)("button",{ref:E,type:"button",role:G?"radio":void 0,"aria-checked":G?n:void 0,"aria-disabled":c||void 0,"aria-label":q?a:void 0,"data-selected":n||void 0,className:`pw-toggle-button__option ${w}`.trim(),style:z,...k,onPointerEnter:V=>{F(!0),b?.(V)},onPointerLeave:V=>{F(!1),_(!1),g?.(V)},onPointerDown:V=>{c||_(!0),y?.(V)},onPointerUp:V=>{_(!1),$?.(V)},onFocus:V=>{let M=!0;try{M=V.target.matches(":focus-visible")}catch{}L(M),m?.(V)},onBlur:V=>{L(!1),_(!1),f?.(V)},onKeyDown:V=>{!c&&(V.key===" "||V.key==="Enter")&&_(!0),h?.(V)},onKeyUp:V=>{_(!1),v?.(V)},onClick:x,children:(0,Rt.jsxs)("span",{className:"pw-toggle-button__main",style:ee,children:[s&&i&&(0,Rt.jsx)(Se,{name:i,size:K.icon,fill:n?1:0}),l&&(0,Rt.jsx)("span",{className:"pw-toggle-button__label",children:a})]})})});function Rw(e,t,r,n,o,a){let i=d=>d.reduce((u,p)=>u+t[p],0)+Math.max(0,d.length-1)*a,s=e.map((d,u)=>u);if(i(s)<=n)return{visible:s,hidden:[]};let l=n-o-a,c=[...s.filter(d=>e[d].disabled).reverse(),...s.filter(d=>!e[d].disabled&&e[d].value!==r).reverse()];for(let d of c){if(i(s)<=l)break;s=s.filter(u=>u!==d)}return{visible:s,hidden:e.map((d,u)=>u).filter(d=>!s.includes(d))}}var _w=(e,t,r)=>{if(typeof window>"u"||!e)return r;let n=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(n)?n:r};function ag({options:e=[],value:t,defaultValue:r,onChange:n,label:o,toggleStyle:a="Secondary",size:i="S",showIcon:s=!1,showLabel:l=!0,fill:c=!1,moreLabel:d="More",className:u="",style:p}){let b=e.find(z=>!z.disabled)?.value,g=t!==void 0,[y,$]=(0,dt.useState)(r??b),m=g?t:y,f=(0,dt.useCallback)(z=>{let G=e.find(V=>V.value===z);!G||G.disabled||z===m||(g||$(z),n?.(z))},[e,m,g,n]),h=(0,dt.useRef)(null),v=(0,dt.useRef)(null),x=(0,dt.useRef)({}),[w,k]=(0,dt.useState)({visible:e.map((z,G)=>G),hidden:[],natural:null}),[E,T]=(0,dt.useState)(null),P=(0,dt.useRef)(null),F=(0,dt.useCallback)(()=>{let z=h.current,G=v.current;if(!z||!G)return;let V=[...G.querySelectorAll("[data-measure]")],M=V.slice(0,e.length).map(A=>A.getBoundingClientRect().width),ae=V[e.length]?.getBoundingClientRect().width||0,Q=_w(z,"--semantic-layout-units-gap-xxxtight",2),we=M.reduce((A,W)=>A+W,0)+Math.max(0,M.length-1)*Q,bt=z.getBoundingClientRect().width,le=Rw(e,M,m,Math.max(bt,0),ae,Q);k(A=>A.natural===we&&A.visible.join()===le.visible.join()?A:{...le,natural:we})},[e,m]);(0,dt.useLayoutEffect)(()=>{F()},[F,i,s,l,a]),(0,dt.useEffect)(()=>{if(typeof ResizeObserver>"u")return;let z=new ResizeObserver(()=>F());return h.current&&z.observe(h.current),v.current&&z.observe(v.current),()=>z.disconnect()},[F]),(0,dt.useEffect)(()=>{if(E==null)return;let z=requestAnimationFrame(()=>{x.current[E]?.focus(),T(null)});return()=>cancelAnimationFrame(z)},[E,w]);let R=w.visible.filter(z=>z<e.length),_=w.hidden.filter(z=>z<e.length),C=_.length>0,L=s&&!l,K=(z,G)=>{let V=R.indexOf(G),M=Q=>{let we=e[R[Q]];x.current[we.value]?.focus(),we.disabled||f(we.value)},ae=R.filter(Q=>!e[Q].disabled);z.key==="ArrowRight"||z.key==="ArrowDown"?(z.preventDefault(),M((V+1)%R.length)):z.key==="ArrowLeft"||z.key==="ArrowUp"?(z.preventDefault(),M((V-1+R.length)%R.length)):z.key==="Home"&&ae.length?(z.preventDefault(),M(R.indexOf(ae[0]))):z.key==="End"&&ae.length?(z.preventDefault(),M(R.indexOf(ae[ae.length-1]))):(z.key===" "||z.key==="Enter")&&(z.preventDefault(),f(e[G].value))},I=R.length+(C?1:0),Z=z=>I===1?"Only":z===0?"First":z===I-1?"Last":"Middle",N={toggleStyle:a,size:i,showIcon:s,showLabel:l,fill:c},q=(z,G)=>{let V=e[z],M=V.value===m,ae=(0,Rt.jsx)(Gf,{ref:Q=>{x.current[V.value]=Q},...N,label:V.label,icon:V.icon,selected:M,disabled:!!V.disabled,position:Z(G),tabIndex:M?0:-1,onClick:()=>f(V.value),onKeyDown:Q=>K(Q,z)},V.value);return V.disabled&&V.reason?(0,Rt.jsx)(Fc,{content:L?`${V.label}. ${V.reason}`:V.reason,describe:V.reason,purpose:"description",persistOnPress:!0,children:ae},V.value):L?(0,Rt.jsx)(Fc,{content:V.label,purpose:"label",children:ae},V.value):ae},ee={display:c?"flex":"inline-flex",alignItems:"center",gap:Zr.gap,width:c?"100%":w.natural!=null?w.natural:void 0,maxWidth:"100%",minWidth:0,flexShrink:1,position:"relative",verticalAlign:"middle",...p};return(0,Rt.jsxs)("div",{ref:h,className:`pw-toggle-button ${u}`.trim(),style:ee,children:[(0,Rt.jsx)("div",{role:"radiogroup","aria-label":o,style:{display:"flex",alignItems:"center",gap:Zr.gap,flex:c?"1 1 auto":"0 0 auto",minWidth:0},children:R.map((z,G)=>q(z,G))}),C&&(0,Rt.jsx)(k9,{align:"end",label:L?"More options":d,renderTrigger:({title:z,...G})=>(0,Rt.jsx)(Gf,{...N,...G,as:"button",fill:!1,onFocus:()=>{if(P.current==null)return;let V=P.current;P.current=null,T(V)},label:L?"More options":d,icon:L?"more_horiz":void 0,position:Z(I-1)}),children:_.map(z=>{let G=e[z];return(0,Rt.jsx)(E9,{id:G.value,label:G.label,leading:s?G.icon:void 0,disabled:!!G.disabled,reason:G.disabled?G.reason:void 0,onAction:()=>{f(G.value),P.current=G.value}},G.value)})}),(0,Rt.jsxs)("div",{ref:v,"aria-hidden":"true",inert:"",style:{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none",display:"flex",gap:Zr.gap,whiteSpace:"nowrap"},children:[e.map(z=>(0,Rt.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Rt.jsx)(Gf,{...N,fill:!1,label:z.label,icon:z.icon,selected:z.value===m,tabIndex:-1})},z.value)),(0,Rt.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Rt.jsx)(Gf,{...N,fill:!1,as:"button",label:L?"More options":d,icon:L?"more_horiz":void 0,tabIndex:-1})})]})]})}var Mw=`
544
+ `,Uw=["content","describe","purpose","side","align","arrow","persist-on-press","disabled"],jw=0,um=class extends HTMLElement{static get observedAttributes(){return Uw}constructor(){super(),this._reactRoot=null,this._descId=`pw-tooltip-desc-${++jw}`}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Ww,t.appendChild(r),this._mount=document.createElement("span"),t.appendChild(this._mount),this._reactRoot=(0,$9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_wireAria(t,r,n){let o=[...this.children].find(s=>s.getAttribute("slot")!=="pw-description");if(!o)return;let i=this.querySelector(`#${this._descId}`);if(t==="label"){r&&o.setAttribute("aria-label",r),i?.remove();return}i||(i=document.createElement("span"),i.id=this._descId,i.hidden=!0,i.slot="pw-description",this.appendChild(i)),i.textContent=n||r||"";let a=new Set((o.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean));a.add(this._descId),o.setAttribute("aria-describedby",[...a].join(" "))}_render(){if(!this._reactRoot)return;let t=this.getAttribute("content")||"",r=this.getAttribute("describe")||void 0,n=this.getAttribute("purpose")==="label"?"label":"description";this._wireAria(n,t,r);let o=this.hasAttribute("arrow")?this._bool("arrow"):void 0;this._reactRoot.render(o1.default.createElement(co,{content:t,purpose:n,manageAria:!1,side:this.getAttribute("side")||"top",align:this.getAttribute("align")||"center",arrow:o,persistOnPress:!!this._bool("persist-on-press"),disabled:!!this._bool("disabled")},o1.default.createElement("span",{className:"pw-tooltip-wc-trigger"},o1.default.createElement("slot"))))}};customElements.get("pathway-tooltip")||customElements.define("pathway-tooltip",um);var pm=S(D(),1),S9=S(Rr(),1);var We=S(D(),1);var $e=S(he(),1),Qr=e=>`var(--semantic-color-${e})`,st=e=>`var(--semantic-layout-units-${e})`,Gw=e=>`var(--contextual-layout-units-${e})`,fm=e=>`var(--responsive-layout-${e})`,Zc=e=>`var(--semantic-type-${e})`,Is=(e,t,r,n)=>({fontFamily:Zc("family-brand"),fontSize:Zc(`font-size-${e}`),lineHeight:Zc(`line-height-${t}`),fontWeight:Zc(`weight-${r}`),letterSpacing:Zc(`letter-spacing-${n}`)}),ae={noticeFill:Qr("fill-surface-elevated"),noticeStroke:Qr("stroke-static-neutral-faint"),hintFill:Qr("fill-surface-overlay"),hintStroke:Qr("stroke-static-neutral-bold"),messageFill:Qr("fill-static-negative-subtle"),messageFg:Qr("foreground-static-negative-on-subtle"),progressFill:Qr("fill-static-brand-strong"),progressTrack:Qr("stroke-static-neutral-faint"),sheetFill:Qr("fill-surface-overlay"),scrim:Qr("scrim-base"),fgStrong:Qr("foreground-static-neutral-strong"),fgBase:Qr("foreground-static-neutral-base"),focusRing:Qr("stroke-focusring-base"),hintShadow:"var(--elevation-lift)",sheetShadow:"var(--elevation-sheet)",borderWidth:st("borderwidth-thin"),noticeRadius:st("cornerradius-base"),pillRadius:st("cornerradius-full"),messageRadius:st("cornerradius-small"),sheetRadius:fm("sheet-corner-radius-cornerradius"),focusWidth:Gw("focusring-width"),focusOffset:"0",sectionGap:st("gap-medium"),progressGap:st("gap-xtight"),titleGap:st("gap-tight"),agreementGap:st("gap-xtight"),paragraphGap:st("gap-base"),toolbarPad:`${st("padding-xxtight")} ${st("padding-xtight")} ${st("padding-xxxtight")}`,contentPad:`${st("padding-xtight")} ${st("padding-base")} ${st("padding-base")}`,hintPad:`${st("padding-xxxtight")} ${st("padding-xtight")}`,hintGap:st("gap-xxtight"),hintOffset:st("padding-xtight"),messagePad:st("padding-xtight"),messageGap:st("gap-tight"),sheetPad:`${fm("sheet-padding-top")} ${fm("sheet-padding-horizontal")} ${st("padding-wide")}`,sheetGap:st("gap-base"),sheetHeaderPad:st("padding-medium"),noticeType:Is("s","s-single","regular","spacious"),titleType:Is("r","r-single","medium","wide"),progressType:Is("xs","xs-single","regular","extraspacious"),hintType:Is("xs","xs-single","semibold","extraspacious"),messageType:Is("xs","xs-single","semibold","extraspacious"),sheetTitleType:Is("m","m-relaxed","semibold","wide"),progressMotion:"width var(--motion-duration-2) var(--motion-easing-standard)",scrimMotion:"pds-ste-fade var(--motion-duration-3) var(--motion-easing-standard)",sheetMotion:"pds-ste-rise var(--motion-duration-4) var(--motion-easing-emphasized)",noticeHeight:200,progressHeight:4,minWidth:320,readThreshold:8,breakpoint:768,sheetFrameHeight:560},Zw={scrollInline:"Scroll to the end of the notice before you continue.",readAgreement:"Read the agreement before you agree to it.",scrollSheet:"Scroll to the end of the notice to finish reading.",agree:"Check the box to confirm you have read the notice."},Yw={Unread:{},Reading:{progress:.5},Read:{progress:1,read:!0},Agreed:{progress:1,read:!0,checked:!0},Blocked:{msg:"blocked"},"Agreement Missing":{progress:1,read:!0,msg:"agree",missing:!0},"Sheet Unread":{sheetOpen:!0},"Sheet Blocked":{sheetOpen:!0,progress:.4,sheetMsg:"scrollSheet"},"Sheet Read":{sheetOpen:!0,progress:1}};function Xw(){if(typeof document>"u"||document.getElementById("pds-ste-styles"))return;let e=document.createElement("style");e.id="pds-ste-styles",e.textContent="@keyframes pds-ste-fade{from{opacity:0}to{opacity:1}}@keyframes pds-ste-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}.pds-ste__region{outline:none}.pds-ste__region p{margin:0}",document.head.appendChild(e)}var v9=()=>typeof window<"u"&&typeof window.matchMedia=="function",y9=`(min-width: ${ae.breakpoint}px)`;function qw(e){let[t,r]=(0,We.useState)(()=>v9()?window.matchMedia(y9).matches:!0);return(0,We.useEffect)(()=>{if(e!=="auto"||!v9())return;let n=window.matchMedia(y9);r(n.matches);let o=i=>r(i.matches);return n.addEventListener("change",o),()=>n.removeEventListener("change",o)},[e]),e==="inline"||e==="sheet"?e:t?"inline":"sheet"}var ma=e=>{e&&typeof e.focus=="function"&&e.focus()};function Qw({value:e,labelId:t}){let r=Et(),n=Math.round(e*100);return(0,$e.jsxs)("div",{className:"pds-ste__progress",style:{display:"flex",flexDirection:"column",gap:ae.progressGap},children:[(0,$e.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",...ae.progressType,color:ae.fgBase},children:[(0,$e.jsx)("span",{id:t,children:"Reading progress"}),(0,$e.jsxs)("span",{"aria-hidden":"true",children:[n,"%"]})]}),(0,$e.jsx)("div",{role:"progressbar","aria-labelledby":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,style:{height:ae.progressHeight,borderRadius:ae.pillRadius,background:ae.progressTrack,overflow:"hidden"},children:(0,$e.jsx)("div",{style:{width:`${n}%`,height:"100%",borderRadius:ae.pillRadius,background:ae.progressFill,transition:r?"none":ae.progressMotion}})})]})}function x9({id:e,text:t,nonce:r}){return(0,$e.jsx)("div",{id:e,children:t&&(0,$e.jsxs)("div",{role:"alert",style:{display:"flex",alignItems:"flex-start",gap:ae.messageGap,padding:ae.messagePad,borderRadius:ae.messageRadius,background:ae.messageFill,color:ae.messageFg,...ae.messageType},children:[(0,$e.jsx)(ye,{name:"error",size:"M",fill:1}),(0,$e.jsx)("span",{children:t})]},r)})}function Jw(){return(0,$e.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:0,right:0,bottom:ae.hintOffset,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,$e.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:ae.hintGap,padding:ae.hintPad,borderRadius:ae.pillRadius,background:ae.hintFill,boxShadow:ae.hintShadow,border:`${ae.borderWidth} solid ${ae.hintStroke}`,...ae.hintType,color:ae.fgStrong},children:[(0,$e.jsx)(ye,{name:"arrow_downward",size:"M"}),"Scroll to continue"]})})}function C9({children:e,height:t,titleId:r,regionRef:n,showPrint:o,onPrint:i,showHint:a,onProgress:s,startAt:l}){let c=(0,We.useRef)(null),[d,u]=(0,We.useState)(!1),p=(0,We.useCallback)(g=>{if(!g)return;let y=g.scrollHeight-g.clientHeight;s(y<=ae.readThreshold?1:Math.min(1,g.scrollTop/(y-ae.readThreshold)))},[s]);(0,We.useLayoutEffect)(()=>{let g=c.current&&c.current.querySelector(".pds-scrollable__view");if(!g||(l!=null&&(g.scrollTop=(g.scrollHeight-g.clientHeight)*l),p(g),typeof ResizeObserver>"u"))return;let y=new ResizeObserver(()=>p(g));return y.observe(g),()=>y.disconnect()},[p,t,l]);let b=g=>{let y=!0;try{y=g.target.matches(":focus-visible")||g.target.dataset.moved==="1"}catch{}delete g.target.dataset.moved,u(y)};return(0,$e.jsxs)("div",{ref:c,className:"pds-ste__notice",onScrollCapture:g=>p(g.target),style:{position:"relative",background:ae.noticeFill,border:`${ae.borderWidth} solid ${ae.noticeStroke}`,borderRadius:ae.noticeRadius,outline:d?`${ae.focusWidth} solid ${ae.focusRing}`:"none",outlineOffset:ae.focusOffset},children:[o&&(0,$e.jsx)("div",{style:{padding:ae.toolbarPad},children:(0,$e.jsx)(Mn,{buttonStyle:"Naked",type:"Secondary",size:"S",text:"Print",showLeadingIcon:!0,leadingIcon:"print",onClick:i})}),(0,$e.jsx)(Lu,{style:{height:t},children:(0,$e.jsx)("div",{ref:n,className:"pds-ste__region",role:"region",tabIndex:0,"aria-labelledby":r,onFocus:b,onBlur:()=>u(!1),style:{padding:ae.contentPad,display:"flex",flexDirection:"column",gap:ae.paragraphGap,...ae.noticeType,color:ae.fgStrong},children:e})}),a&&(0,$e.jsx)(Jw,{})]})}function eS({title:e,titleId:t,stepLabel:r,onClose:n,children:o,footer:i,initialFocusRef:a,contained:s}){let l=Et(),c=(0,We.useRef)(null);(0,We.useEffect)(()=>{if(s)return;let u=document.body.style.overflow;document.body.style.overflow="hidden";let p=setTimeout(()=>ma(a.current),0);return()=>{clearTimeout(p),document.body.style.overflow=u}},[a,s]);let d=u=>{if(u.key==="Escape"){u.stopPropagation(),n();return}if(u.key!=="Tab"||!c.current)return;let p=c.current.querySelectorAll("button, input, [tabindex='0']");if(!p.length)return;let b=p[0],g=p[p.length-1];u.shiftKey&&document.activeElement===b?(u.preventDefault(),ma(g)):!u.shiftKey&&document.activeElement===g&&(u.preventDefault(),ma(b))};return(0,$e.jsxs)("div",{className:"pds-ste-sheet",style:{position:s?"absolute":"fixed",inset:0,zIndex:s?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:[(0,$e.jsx)("div",{className:"pds-ste-sheet__scrim",onClick:n,style:{position:"absolute",inset:0,background:ae.scrim,animation:l?"none":ae.scrimMotion}}),(0,$e.jsxs)("div",{ref:c,role:"dialog","aria-modal":"true","aria-labelledby":t,onKeyDown:d,style:{position:"relative",background:ae.sheetFill,boxShadow:ae.sheetShadow,borderRadius:`${ae.sheetRadius} ${ae.sheetRadius} 0 0`,padding:ae.sheetPad,display:"flex",flexDirection:"column",gap:ae.sheetGap,maxHeight:"85vh",animation:l?"none":ae.sheetMotion},children:[(0,$e.jsxs)("div",{className:"pds-ste-sheet__header",style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:ae.sheetHeaderPad,paddingRight:ae.sheetHeaderPad},children:[(0,$e.jsx)("span",{style:{...ae.progressType,color:ae.fgBase},children:r}),(0,$e.jsx)(Mn,{buttonStyle:"Naked",type:"Secondary",size:"S",showText:!1,showLeadingIcon:!0,leadingIcon:"close",text:"Close",ariaLabel:"Close",onClick:n})]}),(0,$e.jsx)("h2",{id:t,style:{margin:0,textAlign:"center",...ae.sheetTitleType,color:ae.fgStrong},children:e}),o,i]})]})}function w9({title:e,children:t,agreementLabel:r,onContinue:n,layout:o="auto",noticeHeight:i=ae.noticeHeight,showPrint:a=!0,onPrint:s,continueLabel:l="Continue",readAgreementLabel:c="Read Agreement",readLabel:d="Agreement read",doneReadingLabel:u="Done Reading",stepLabel:p,messages:b,onAgreeChange:g,demoState:y,className:$=""}){Xw();let m=qw(o),f=(0,We.useId)().replace(/:/g,""),h={title:`${f}-title`,progress:`${f}-rp`,msg:`${f}-msg`,sheetTitle:`${f}-sheet-title`,sheetMsg:`${f}-sheet-msg`,checkbox:`${f}-cb`},v={...Zw,...b},x=y&&Yw[y]||{},w=!!y,P=x.msg==="blocked"?m==="inline"?"scrollInline":"readAgreement":x.msg||null,[k,T]=(0,We.useState)(x.progress||0),[E,F]=(0,We.useState)(!!x.read),[_,I]=(0,We.useState)(!!x.checked),[C,L]=(0,We.useState)(P),[O,M]=(0,We.useState)(x.sheetMsg||null),[Z,R]=(0,We.useState)(0),[te,X]=(0,We.useState)(!!x.sheetOpen),[K,j]=(0,We.useState)(!!x.missing),z=(0,We.useRef)(null),N=(0,We.useRef)(null),ie=(0,We.useRef)(null),J=_t=>{L(_t),R(zn=>zn+1)},Ee=_t=>{_t&&(_t.dataset.moved="1",ma(_t))},ft=()=>ie.current&&ie.current.querySelector("button"),ce=(0,We.useCallback)(_t=>{T(zn=>Math.max(zn,_t)),_t>=1&&(F(!0),L(zn=>zn==="scrollInline"?null:zn))},[]),H=(0,We.useCallback)(_t=>{T(zn=>Math.max(zn,_t)),_t>=1&&M(null)},[]),V=()=>{m==="inline"?(J("scrollInline"),Ee(z.current)):(J("readAgreement"),ma(ft()))},de=_t=>{if(!E){V();return}I(_t),_t&&(L(null),j(!1)),g&&g(_t)},Y=()=>{if(!E){V();return}if(!_){j(!0),J("agree"),ma(document.getElementById(h.checkbox));return}n&&n()},je=()=>{X(!1),M(null),setTimeout(()=>ma(ft()),0)},Le=()=>{if(k<1){M("scrollSheet"),R(_t=>_t+1),Ee(N.current);return}F(!0),L(null),je()},Oe=s||(()=>{typeof window<"u"&&window.print()}),yn=(0,$e.jsxs)("div",{className:"pds-ste__agreement",style:{display:"flex",flexDirection:"column",gap:ae.agreementGap},children:[(0,$e.jsx)(zf,{id:h.checkbox,checked:_,error:K&&!_,label:r,onChange:de,describedBy:h.msg}),(0,$e.jsx)(x9,{id:h.msg,text:C?v[C]:null,nonce:Z})]}),Hr=(0,$e.jsx)("div",{className:"pds-ste__actions",style:{display:"flex",justifyContent:"center"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Primary",size:"L",text:l,onClick:Y,"aria-describedby":h.msg})}),ha={display:"flex",flexDirection:"column",gap:ae.sectionGap,minWidth:ae.minWidth,width:"100%"};return m==="inline"?(0,$e.jsxs)("div",{className:`pds-ste ${$}`,style:ha,children:[(0,$e.jsx)(Qw,{value:k,labelId:h.progress}),(0,$e.jsxs)("div",{className:"pds-ste__notice-group",style:{display:"flex",flexDirection:"column",gap:ae.titleGap},children:[(0,$e.jsx)("div",{id:h.title,style:{...ae.titleType,color:ae.fgStrong},children:e}),(0,$e.jsx)(C9,{height:i,titleId:h.title,regionRef:z,showPrint:a,onPrint:Oe,showHint:!E,onProgress:ce,startAt:x.read?1:x.progress,children:t})]}),yn,Hr]}):(0,$e.jsxs)("div",{className:`pds-ste ${$}`,style:w&&te?{...ha,position:"relative",minHeight:ae.sheetFrameHeight}:ha,children:[(0,$e.jsx)("span",{ref:ie,style:{display:"flex"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Tertiary",size:"M",text:E?d:c,showTrailingIcon:!0,trailingIcon:E?"check":"open_in_new","aria-haspopup":"dialog",onClick:()=>{X(!0),M(null)}})}),yn,Hr,te&&(0,$e.jsxs)(eS,{title:e,titleId:h.sheetTitle,stepLabel:p,onClose:je,initialFocusRef:N,contained:w,footer:(0,$e.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,$e.jsx)(Mn,{buttonStyle:"Fill",type:"Primary",size:"L",text:u,onClick:Le,"aria-describedby":h.sheetMsg})}),children:[(0,$e.jsx)(C9,{height:i,titleId:h.sheetTitle,regionRef:N,showPrint:!1,showHint:k<1,onProgress:H,startAt:x.sheetOpen?x.progress:void 0,children:t}),(0,$e.jsx)(x9,{id:h.sheetMsg,text:O?v[O]:null,nonce:Z})]})]})}var tS=["notice-title","agreement-label","layout","notice-height","show-print","continue-label","read-agreement-label","read-label","done-reading-label","step-label"],mm=class extends HTMLElement{static get observedAttributes(){return tS}constructor(){super(),this._reactRoot=null,this._notice=""}connectedCallback(){this._reactRoot||(this._notice=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,S9.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_attr(t){return this.getAttribute(t)||void 0}_emit(t,r,n=!1){return this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:n}))}_render(){if(!this._reactRoot)return;let t=parseInt(this.getAttribute("notice-height"),10),r=this.getAttribute("show-print");this._reactRoot.render(pm.default.createElement(w9,{title:this._attr("notice-title"),agreementLabel:this._attr("agreement-label"),layout:this._attr("layout")||"auto",noticeHeight:Number.isFinite(t)?t:void 0,showPrint:r!=="false"&&r!=="0",continueLabel:this._attr("continue-label"),readAgreementLabel:this._attr("read-agreement-label"),readLabel:this._attr("read-label"),doneReadingLabel:this._attr("done-reading-label"),stepLabel:this._attr("step-label"),onContinue:()=>this._emit("pathway-continue"),onPrint:()=>{this._emit("pathway-print",void 0,!0)&&window.print()},onAgreeChange:n=>this._emit("pathway-agree",{checked:n})},pm.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._notice},style:{display:"contents"}})))}};customElements.get("pathway-scroll-to-enable")||customElements.define("pathway-scroll-to-enable",mm);var hm=S(D(),1),E9=S(Rr(),1);var rS=["open","sheet-title","menu","show-handle","show-back","close-label","back-label"],gm=class extends HTMLElement{static get observedAttributes(){return rS}constructor(){super(),this._reactRoot=null,this._body=""}connectedCallback(){this._reactRoot||(this._body=this.innerHTML,this.innerHTML="",this._mount=document.createElement("div"),this.appendChild(this._mount),this._reactRoot=(0,E9.createRoot)(this._mount)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_close(){this.removeAttribute("open"),this._emit("pathway-close")}_render(){if(!this._reactRoot)return;let t=this.getAttribute("show-handle"),r=n=>{let o=n.target.closest?.('[role^="menuitem"]');!o||o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"||(this._emit("pathway-select",{value:o.dataset.value}),this._close())};this._reactRoot.render(hm.default.createElement(Qf,{open:this.hasAttribute("open"),onOpenChange:n=>{n||this._close()},title:this.getAttribute("sheet-title")||"",menu:this.hasAttribute("menu"),showHandle:t!=="false"&&t!=="0",showBack:this.hasAttribute("show-back"),onBack:()=>this._emit("pathway-back"),closeLabel:this.getAttribute("close-label")||void 0,backLabel:this.getAttribute("back-label")||void 0},hm.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._body},onClick:r,style:{display:"contents"}})))}};customElements.get("pathway-bottom-sheet")||customElements.define("pathway-bottom-sheet",gm);var k9=S(D(),1),P9=S(Rr(),1);var nS=["type","label","field-label","show-field-label","status","size","badge-style","leading-icon","selected-icon","show-trailing-icon","href","selected","disabled","remove-disabled"],bm=class extends HTMLElement{static get observedAttributes(){return nS}constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,P9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_render(){if(!this._reactRoot)return;let t=this._bool("selected");this._reactRoot.render(k9.default.createElement(Uf,{type:this.getAttribute("type")||"static",label:this.getAttribute("label")||"",fieldLabel:this.getAttribute("field-label")||void 0,showFieldLabel:!!this._bool("show-field-label"),status:this.getAttribute("status")||"Neutral",size:this.getAttribute("size")||"Small",badgeStyle:this.getAttribute("badge-style")||"Outline & Fill",leadingIcon:this.getAttribute("leading-icon")||void 0,selectedIcon:this.getAttribute("selected-icon")||"check",showTrailingIcon:!!this._bool("show-trailing-icon"),href:this.getAttribute("href")||void 0,selected:t,disabled:!!this._bool("disabled"),removeDisabled:!!this._bool("remove-disabled"),onChange:r=>{t!==void 0&&this.toggleAttribute("selected",r),this._emit("pathway-badge-change",{selected:r})},onRemove:()=>this._emit("pathway-badge-remove",{})}))}};customElements.get("pathway-badge")||customElements.define("pathway-badge",bm);var _9=S(D(),1),M9=S(Rr(),1);var ht=S(D(),1);var Ht=S(he(),1),vn=e=>`var(--semantic-color-${e})`,Jt=e=>`var(--semantic-layout-units-${e})`,oS=e=>`var(--contextual-layout-units-${e})`,Yc=e=>`var(--semantic-type-${e})`,i1=e=>`var(--motion-${e})`,$m=e=>`var(--primitive-unit-unit-${e})`,Pi=e=>({rest:vn(`${e}-rest`),hover:vn(`${e}-hover`),pressed:vn(`${e}-pressed`)}),iS={fill:{...Pi("fill-action-secondary"),disabled:vn("fill-action-disabled")},fg:{...Pi("foreground-action-secondary"),disabled:vn("foreground-action-disabled")},stroke:null},T9={Primary:{fill:Pi("fill-action-primary-strong"),fg:{rest:vn("foreground-action-primary-on-strong"),hover:vn("foreground-action-primary-on-strong"),pressed:vn("foreground-action-primary-on-strong")},stroke:null},Secondary:{fill:{rest:vn("fill-surface-elevated"),hover:vn("fill-surface-elevated"),pressed:vn("fill-surface-elevated")},fg:Pi("foreground-action-secondary"),stroke:Pi("stroke-action-secondary")},Tertiary:{fill:Pi("fill-action-primary-subtle"),fg:Pi("foreground-action-primary-on-subtle"),stroke:Pi("stroke-action-primary-strong")}},Jr={gap:Jt("gap-xxxtight"),border:Jt("borderwidth-base"),touchW:Jt("accessibility-touch-target-aa-width"),touchH:Jt("accessibility-touch-target-aa-height"),focusOutline:`${oS("focusring-width")} solid ${vn("stroke-focusring-base")}`,focusOffset:"0",colour:`${i1("duration-2")} ${i1("easing-standard")}`,shape:`${i1("duration-4")} ${i1("easing-spring-soft")}`},a1=(e,t,r)=>({fontFamily:Yc("family-brand"),fontSize:Yc(`font-size-${e}`),fontWeight:Yc("weight-medium"),lineHeight:Yc(`line-height-${t}`),letterSpacing:Yc(`letter-spacing-${r}`)}),L9={XS:{height:28,padH:Jt("padding-xtight"),inner:Jt("cornerradius-small"),outer:$m(14),gap:Jt("gap-xtight"),icon:14,...a1("xs","xs-single","extraspacious")},S:{height:32,padH:Jt("padding-tight"),inner:Jt("cornerradius-small"),outer:Jt("cornerradius-xlarge"),gap:Jt("gap-tight"),icon:16,...a1("s","s-single","spacious")},M:{height:40,padH:Jt("padding-base"),inner:Jt("cornerradius-base"),outer:$m(20),gap:Jt("gap-tight"),icon:18,...a1("r","r-single","wide")},L:{height:48,padH:Jt("padding-relaxed"),inner:Jt("cornerradius-base"),outer:$m(24),gap:Jt("gap-tight"),icon:20,...a1("m","m-single","wide")}},aS=(e,t,r)=>{if(r)return e.outer;let n=e.outer,o=e.inner;return t==="Only"?n:t==="First"?`${n} ${o} ${o} ${n}`:t==="Last"?`${o} ${n} ${n} ${o}`:o},s1=(0,ht.forwardRef)(function({toggleStyle:t="Secondary",size:r="S",selected:n=!1,position:o="Middle",label:i="Label",icon:a,showIcon:s=!0,showLabel:l=!0,disabled:c=!1,fill:d=!1,forceState:u=null,as:p="radio",onPointerEnter:b,onPointerLeave:g,onPointerDown:y,onPointerUp:$,onFocus:m,onBlur:f,onKeyDown:h,onKeyUp:v,onClick:x,className:w="",...P},k){let T=Et(),[E,F]=(0,ht.useState)(!1),[_,I]=(0,ht.useState)(!1),[C,L]=(0,ht.useState)(!1),O=L9[r]||L9.S,M=n?T9[t]||T9.Secondary:iS,Z=c?"disabled":u==="pressed"||_?"pressed":u==="hover"||E?"hover":"rest",R=!c&&(u==="focused"||C),te=s&&!l,X={display:"flex",alignItems:"center",justifyContent:"center",gap:O.gap,boxSizing:"border-box",height:O.height,minWidth:Jr.touchW,width:d?"100%":void 0,paddingLeft:te?0:O.padH,paddingRight:te?0:O.padH,borderRadius:aS(O,o,n),background:M.fill[Z]||M.fill.rest,color:M.fg[Z]||M.fg.rest,boxShadow:M.stroke&&!R?`inset 0 0 0 ${Jr.border} ${M.stroke[Z]||M.stroke.rest}`:"none",outline:R?Jr.focusOutline:"none",outlineOffset:R?Jr.focusOffset:void 0,fontFamily:O.fontFamily,fontSize:O.fontSize,fontWeight:O.fontWeight,lineHeight:O.lineHeight,letterSpacing:O.letterSpacing,whiteSpace:"nowrap",transition:T?"none":`background-color ${Jr.colour}, color ${Jr.colour}, box-shadow ${Jr.colour}, border-radius ${Jr.shape}`},K={position:"relative",zIndex:R?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:Jr.touchH,minWidth:Jr.touchW,flex:d?"1 1 0":"0 0 auto",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:c?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},j=p==="radio";return(0,Ht.jsx)("button",{ref:k,type:"button",role:j?"radio":void 0,"aria-checked":j?n:void 0,"aria-disabled":c||void 0,"aria-label":te?i:void 0,"data-selected":n||void 0,className:`pw-toggle-button__option ${w}`.trim(),style:K,...P,onPointerEnter:z=>{F(!0),b?.(z)},onPointerLeave:z=>{F(!1),I(!1),g?.(z)},onPointerDown:z=>{c||I(!0),y?.(z)},onPointerUp:z=>{I(!1),$?.(z)},onFocus:z=>{let N=!0;try{N=z.target.matches(":focus-visible")}catch{}L(N),m?.(z)},onBlur:z=>{L(!1),I(!1),f?.(z)},onKeyDown:z=>{!c&&(z.key===" "||z.key==="Enter")&&I(!0),h?.(z)},onKeyUp:z=>{I(!1),v?.(z)},onClick:x,children:(0,Ht.jsxs)("span",{className:"pw-toggle-button__main",style:X,children:[s&&a&&(0,Ht.jsx)(ye,{name:a,size:O.icon,fill:n?1:0}),l&&(0,Ht.jsx)("span",{className:"pw-toggle-button__label",children:i})]})})});function sS(e,t,r,n,o,i){let a=d=>d.reduce((u,p)=>u+t[p],0)+Math.max(0,d.length-1)*i,s=e.map((d,u)=>u);if(a(s)<=n)return{visible:s,hidden:[]};let l=n-o-i,c=[...s.filter(d=>e[d].disabled).reverse(),...s.filter(d=>!e[d].disabled&&e[d].value!==r).reverse()];for(let d of c){if(a(s)<=l)break;s=s.filter(u=>u!==d)}return{visible:s,hidden:e.map((d,u)=>u).filter(d=>!s.includes(d))}}var lS=(e,t,r)=>{if(typeof window>"u"||!e)return r;let n=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(n)?n:r};function R9({options:e=[],value:t,defaultValue:r,onChange:n,label:o,toggleStyle:i="Secondary",size:a="S",showIcon:s=!1,showLabel:l=!0,fill:c=!1,moreLabel:d="More",className:u="",style:p}){let b=e.find(K=>!K.disabled)?.value,g=t!==void 0,[y,$]=(0,ht.useState)(r??b),m=g?t:y,f=(0,ht.useCallback)(K=>{let j=e.find(z=>z.value===K);!j||j.disabled||K===m||(g||$(K),n?.(K))},[e,m,g,n]),h=(0,ht.useRef)(null),v=(0,ht.useRef)(null),x=(0,ht.useRef)({}),[w,P]=(0,ht.useState)({visible:e.map((K,j)=>j),hidden:[],natural:null}),[k,T]=(0,ht.useState)(null),E=(0,ht.useRef)(null),F=(0,ht.useCallback)(()=>{let K=h.current,j=v.current;if(!K||!j)return;let z=[...j.querySelectorAll("[data-measure]")],N=z.slice(0,e.length).map(H=>H.getBoundingClientRect().width),ie=z[e.length]?.getBoundingClientRect().width||0,J=lS(K,"--semantic-layout-units-gap-xxxtight",2),Ee=N.reduce((H,V)=>H+V,0)+Math.max(0,N.length-1)*J,ft=K.getBoundingClientRect().width,ce=sS(e,N,m,Math.max(ft,0),ie,J);P(H=>H.natural===Ee&&H.visible.join()===ce.visible.join()?H:{...ce,natural:Ee})},[e,m]);(0,ht.useLayoutEffect)(()=>{F()},[F,a,s,l,i]),(0,ht.useEffect)(()=>{if(typeof ResizeObserver>"u")return;let K=new ResizeObserver(()=>F());return h.current&&K.observe(h.current),v.current&&K.observe(v.current),()=>K.disconnect()},[F]),(0,ht.useEffect)(()=>{if(k==null)return;let K=requestAnimationFrame(()=>{x.current[k]?.focus(),T(null)});return()=>cancelAnimationFrame(K)},[k,w]);let _=w.visible.filter(K=>K<e.length),I=w.hidden.filter(K=>K<e.length),C=I.length>0,L=s&&!l,O=(K,j)=>{let z=_.indexOf(j),N=J=>{let Ee=e[_[J]];x.current[Ee.value]?.focus(),Ee.disabled||f(Ee.value)},ie=_.filter(J=>!e[J].disabled);K.key==="ArrowRight"||K.key==="ArrowDown"?(K.preventDefault(),N((z+1)%_.length)):K.key==="ArrowLeft"||K.key==="ArrowUp"?(K.preventDefault(),N((z-1+_.length)%_.length)):K.key==="Home"&&ie.length?(K.preventDefault(),N(_.indexOf(ie[0]))):K.key==="End"&&ie.length?(K.preventDefault(),N(_.indexOf(ie[ie.length-1]))):(K.key===" "||K.key==="Enter")&&(K.preventDefault(),f(e[j].value))},M=_.length+(C?1:0),Z=K=>M===1?"Only":K===0?"First":K===M-1?"Last":"Middle",R={toggleStyle:i,size:a,showIcon:s,showLabel:l,fill:c},te=(K,j)=>{let z=e[K],N=z.value===m,ie=(0,Ht.jsx)(s1,{ref:J=>{x.current[z.value]=J},...R,label:z.label,icon:z.icon,selected:N,disabled:!!z.disabled,position:Z(j),tabIndex:N?0:-1,onClick:()=>f(z.value),onKeyDown:J=>O(J,K)},z.value);return z.disabled&&z.reason?(0,Ht.jsx)(co,{content:L?`${z.label}. ${z.reason}`:z.reason,describe:z.reason,purpose:"description",persistOnPress:!0,children:ie},z.value):L?(0,Ht.jsx)(co,{content:z.label,purpose:"label",children:ie},z.value):ie},X={display:c?"flex":"inline-flex",alignItems:"center",gap:Jr.gap,width:c?"100%":w.natural!=null?w.natural:void 0,maxWidth:"100%",minWidth:0,flexShrink:1,position:"relative",verticalAlign:"middle",...p};return(0,Ht.jsxs)("div",{ref:h,className:`pw-toggle-button ${u}`.trim(),style:X,children:[(0,Ht.jsx)("div",{role:"radiogroup","aria-label":o,style:{display:"flex",alignItems:"center",gap:Jr.gap,flex:c?"1 1 auto":"0 0 auto",minWidth:0},children:_.map((K,j)=>te(K,j))}),C&&(0,Ht.jsx)(qf,{align:"end",label:L?"More options":d,renderTrigger:({title:K,...j})=>(0,Ht.jsx)(s1,{...R,...j,as:"button",fill:!1,onFocus:()=>{if(E.current==null)return;let z=E.current;E.current=null,T(z)},label:L?"More options":d,icon:L?"more_horiz":void 0,position:Z(M-1)}),children:I.map(K=>{let j=e[K];return(0,Ht.jsx)(Xf,{id:j.value,label:j.label,leading:s?j.icon:void 0,disabled:!!j.disabled,reason:j.disabled?j.reason:void 0,onAction:()=>{f(j.value),E.current=j.value}},j.value)})}),(0,Ht.jsxs)("div",{ref:v,"aria-hidden":"true",inert:"",style:{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none",display:"flex",gap:Jr.gap,whiteSpace:"nowrap"},children:[e.map(K=>(0,Ht.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Ht.jsx)(s1,{...R,fill:!1,label:K.label,icon:K.icon,selected:K.value===m,tabIndex:-1})},K.value)),(0,Ht.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Ht.jsx)(s1,{...R,fill:!1,as:"button",label:L?"More options":d,icon:L?"more_horiz":void 0,tabIndex:-1})})]})]})}var cS=`
524
545
  :host { display: inline-flex; max-width: 100%; min-width: 0; }
525
546
  :host([fill]) { display: flex; width: 100%; }
526
547
  :host([hidden]) { display: none; }
@@ -541,7 +562,27 @@ ${hr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${fe.s
541
562
  text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
542
563
  direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
543
564
  }
544
- `,Iw=["options","value","label","toggle-style","size","show-icon","show-label","fill","more-label"],rm=class extends HTMLElement{static get observedAttributes(){return Iw}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._parseOptions()}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=Mw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-tb-wc-root",t.appendChild(this._mount),this._reactRoot=(0,sg.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_parseOptions(){try{let t=JSON.parse(this.getAttribute("options")||"[]");return Array.isArray(t)?t:[]}catch{return[]}}_render(){if(!this._reactRoot)return;let t=r=>{this.setAttribute("value",r),this.dispatchEvent(new CustomEvent("pathway-change",{detail:{value:r},bubbles:!0,composed:!0}))};this._reactRoot.render(ig.default.createElement(ag,{options:this.options,value:this.getAttribute("value")??void 0,onChange:t,label:this.getAttribute("label")||void 0,toggleStyle:this.getAttribute("toggle-style")||"Secondary",size:this.getAttribute("size")||"S",showIcon:!!this._bool("show-icon",!1),showLabel:this._bool("show-label",!0),fill:!!this._bool("fill",!1),moreLabel:this.getAttribute("more-label")||"More"}))}};customElements.get("pathway-toggle-button")||customElements.define("pathway-toggle-button",rm);var nm=S(D(),1),lg=S(Ar(),1);var Nw=["label","hide-label","required","help-text","error","error-message","disabled","orientation","size","name","value"],om=class extends HTMLElement{static get observedAttributes(){return Nw}constructor(){super(),this._reactRoot=null,this._options=[]}connectedCallback(){this._reactRoot||(this._options=Array.from(this.querySelectorAll("option")).map(t=>({value:t.value,text:t.textContent.trim(),disabled:t.disabled})),this.textContent="",this.style.display=this.style.display||"block",this._reactRoot=(0,lg.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}get value(){return this.getAttribute("value")}set value(t){this.setAttribute("value",t)}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_render(){this._reactRoot&&this._reactRoot.render(nm.default.createElement(a9,{label:this.getAttribute("label")||"",showLabel:!this._bool("hide-label"),required:this._bool("required"),helpText:this.getAttribute("help-text")||void 0,error:this._bool("error"),errorMessage:this.getAttribute("error-message")||void 0,disabled:this._bool("disabled"),orientation:this.getAttribute("orientation")||"Vertical",size:this.getAttribute("size")||"Base",name:this.getAttribute("name")||void 0,value:this.hasAttribute("value")?this.getAttribute("value"):null,onChange:t=>{this.setAttribute("value",t),this.dispatchEvent(new CustomEvent("pathway-radio-change",{detail:{value:t},bubbles:!0,composed:!0}))}},this._options.map(t=>nm.default.createElement(s9,{key:t.value,value:t.value,text:t.text,disabled:t.disabled}))))}};customElements.get("pathway-radio-group")||customElements.define("pathway-radio-group",om);var sm=S(D(),1),cg=S(Ar(),1);var Zf=class extends HTMLElement{constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,cg.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_attr(t){return this.getAttribute(t)||void 0}},am=class extends Zf{static get observedAttributes(){return["size","content","shape","avatar-style","src","text","icon","name","show-badge","badge-status"]}_render(){this._reactRoot&&this._reactRoot.render(sm.default.createElement(gs,{size:this._attr("size")||"M",content:this._attr("content"),shape:this._attr("shape")||"Circle",avatarStyle:this._attr("avatar-style")||"Fill",src:this._attr("src"),text:this._attr("text"),icon:this._attr("icon")||"person",name:this._attr("name"),showBadge:this._bool("show-badge"),badgeStatus:this._attr("badge-status")||"Positive"}))}},im=class extends Zf{static get observedAttributes(){return["size","people","max","label"]}_render(){if(!this._reactRoot)return;let t=[];try{t=JSON.parse(this.getAttribute("people")||"[]")}catch{t=[]}let r=parseInt(this.getAttribute("max")||"3",10);this._reactRoot.render(sm.default.createElement(y9,{size:this._attr("size")||"XS",people:Array.isArray(t)?t:[],max:Number.isFinite(r)?r:3,label:this._attr("label")}))}};customElements.get("pathway-avatar")||customElements.define("pathway-avatar",am);customElements.get("pathway-avatar-group")||customElements.define("pathway-avatar-group",im);if(typeof document<"u"&&!document.getElementById("pathway-components-keyframes")){let e=document.createElement("style");e.id="pathway-components-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}export{xs as ACCOUNTING_APP_SWITCHER,z3 as PathwayAccountingSideNav,am as PathwayAvatar,im as PathwayAvatarGroup,em as PathwayBadge,J3 as PathwayBottomSheet,mp as PathwayButton,B3 as PathwayNavShell,U3 as PathwayPageTemplate,om as PathwayRadioGroup,q3 as PathwayScrollToEnable,Mc as PathwaySideNav,rm as PathwayToggleButton,Z3 as PathwayTooltip,kp as PathwayTopNav};
565
+ `,dS=["options","value","label","toggle-style","size","show-icon","show-label","fill","more-label"],vm=class extends HTMLElement{static get observedAttributes(){return dS}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._parseOptions()}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=cS,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-tb-wc-root",t.appendChild(this._mount),this._reactRoot=(0,M9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_parseOptions(){try{let t=JSON.parse(this.getAttribute("options")||"[]");return Array.isArray(t)?t:[]}catch{return[]}}_render(){if(!this._reactRoot)return;let t=r=>{this.setAttribute("value",r),this.dispatchEvent(new CustomEvent("pathway-change",{detail:{value:r},bubbles:!0,composed:!0}))};this._reactRoot.render(_9.default.createElement(R9,{options:this.options,value:this.getAttribute("value")??void 0,onChange:t,label:this.getAttribute("label")||void 0,toggleStyle:this.getAttribute("toggle-style")||"Secondary",size:this.getAttribute("size")||"S",showIcon:!!this._bool("show-icon",!1),showLabel:this._bool("show-label",!0),fill:!!this._bool("fill",!1),moreLabel:this.getAttribute("more-label")||"More"}))}};customElements.get("pathway-toggle-button")||customElements.define("pathway-toggle-button",vm);var Sm=S(D(),1),A9=S(Rr(),1);var gt=S(D(),1);var we=S(he(),1),Gt=e=>`var(--semantic-color-${e})`,po=e=>`var(--semantic-layout-units-${e})`,Xc=e=>`var(--contextual-layout-units-${e})`,Ds=e=>`var(--semantic-type-${e})`,l1=e=>`var(--motion-${e})`,N9=e=>({rest:Gt(`${e}-rest`),hover:Gt(`${e}-hover`),pressed:Gt(`${e}-pressed`)});var uS={fill:{rest:"transparent",hover:Gt("fill-action-secondary-rest"),pressed:Gt("fill-action-secondary-hover")},stroke:{rest:Gt("stroke-static-neutral-strong"),hover:Gt("stroke-action-secondary-rest"),pressed:Gt("stroke-action-secondary-hover")},fg:N9("foreground-action-secondary")},c1=Gt("foreground-action-primary-on-subtle-pressed"),D9={fill:{rest:Gt("fill-action-selection-selected"),hover:Gt("fill-action-selection-hover"),pressed:Gt("fill-action-selection-hover")},stroke:N9("stroke-action-primary-strong"),fg:{rest:c1,hover:c1,pressed:c1}},Hs={fill:Gt("fill-action-disabled"),stroke:Gt("stroke-action-disabled"),fg:Gt("foreground-action-disabled")},ym={fill:Gt("fill-surface-elevated"),stroke:Gt("stroke-action-primary-subtle-rest"),fg:c1},jt={radius:Xc("field-cornerradius"),border:po("borderwidth-base"),pillBorder:po("borderwidth-thin"),pillRadius:po("cornerradius-full"),pillPadH:po("padding-xxtight"),textGap:po("gap-xxtight"),touchW:po("accessibility-touch-target-aa-width"),touchH:po("accessibility-touch-target-aa-height"),focusOutline:`${Xc("focusring-width")} solid ${Gt("stroke-focusring-base")}`,colour:`${l1("duration-2")} ${l1("easing-standard")}`,chevron:`transform ${l1("duration-4")} ${l1("easing-standard")}`},Ns=(e,t,r)=>({fontFamily:Ds("family-brand"),fontSize:Ds(`font-size-${e}`),lineHeight:Ds(`line-height-${t}`),letterSpacing:Ds(`letter-spacing-${r}`)}),I9={XS:{height:30,square:28,padH:Xc("button-padding-xsmall-horizontal"),slotPad:po("padding-xxxtight"),slot:16,icon:12,chevSlot:16,chev:16,valueMax:140,labelMax:168,...Ns("xs","xs-single","extraspacious"),pill:Ns("xs","xs-single","extraspacious")},S:{height:34,square:34,padH:Xc("button-padding-small-horizontal"),slotPad:po("padding-xxtight"),slot:22,icon:14,chevSlot:22,chev:18,valueMax:140,labelMax:168,...Ns("s","s-single","spacious"),pill:Ns("xs","xs-single","extraspacious")},M:{height:40,square:40,padH:Xc("button-padding-medium-horizontal"),slotPad:po("padding-xxxtight"),slot:24,icon:16,chevSlot:24,chev:20,valueMax:170,labelMax:200,...Ns("r","r-single","wide"),pill:Ns("s","s-single","spacious")}},d1={medium:Ds("weight-medium"),semibold:Ds("weight-semibold")},fS=e=>{try{return e.target.matches(":focus-visible")}catch{return!0}},Fs=({size:e,children:t})=>(0,we.jsx)("span",{"aria-hidden":"true",style:{width:e,height:e,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:t}),xm=e=>({display:"block",minWidth:0,maxWidth:e,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),F9=({sz:e,disabled:t,children:r,flush:n=!1})=>(0,we.jsx)("span",{"aria-hidden":"true",className:"pw-select__count",style:{flexShrink:0,boxSizing:"border-box",display:"inline-flex",alignItems:"center",marginLeft:n?0:jt.textGap,paddingLeft:jt.pillPadH,paddingRight:jt.pillPadH,borderRadius:jt.pillRadius,border:`${jt.pillBorder} solid ${t?Hs.stroke:ym.stroke}`,background:t?Hs.fill:ym.fill,color:t?Hs.fg:ym.fg,...e.pill,fontWeight:d1.medium},children:r}),Cm=(0,gt.forwardRef)(function({sz:t,on:r,disabled:n,forceState:o,square:i,width:a,children:s,tooltip:l,tooltipPurpose:c="description",...d},u){let p=Et(),[b,g]=(0,gt.useState)(!1),[y,$]=(0,gt.useState)(!1),[m,f]=(0,gt.useState)(!1),h=d["aria-expanded"]===!0,v=r?D9:uS,x=n?"disabled":o==="pressed"||y||h?"pressed":o==="hover"||b?"hover":"rest",w=!n&&(o==="focused"||m),P={display:"flex",alignItems:"center",justifyContent:i?"center":"flex-start",boxSizing:"border-box",height:i?t.square:t.height,width:i?t.square:a,minWidth:0,paddingLeft:i?0:t.padH,paddingRight:i?0:t.padH,borderRadius:jt.radius,background:n?Hs.fill:v.fill[x],color:n?Hs.fg:v.fg[x],boxShadow:w?"none":`inset 0 0 0 ${jt.border} ${n?Hs.stroke:v.stroke[x]}`,outline:w?jt.focusOutline:"none",outlineOffset:0,fontFamily:t.fontFamily,fontSize:t.fontSize,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,fontWeight:d1.medium,whiteSpace:"nowrap",transition:p?"none":`background-color ${jt.colour}, color ${jt.colour}, box-shadow ${jt.colour}`},k={position:"relative",zIndex:w?1:void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",minHeight:jt.touchH,minWidth:jt.touchW,maxWidth:"100%",padding:0,margin:0,border:0,background:"transparent",outline:"none",font:"inherit",color:"inherit",cursor:n?"not-allowed":"pointer",WebkitTapHighlightColor:"transparent"},{onPointerEnter:T,onPointerLeave:E,onPointerDown:F,onPointerUp:_,onFocus:I,onBlur:C,onKeyDown:L,onKeyUp:O,...M}=d,Z=(0,we.jsx)("button",{ref:u,type:"button",disabled:n,"data-selected":r||void 0,style:k,...M,onPointerEnter:R=>{g(!0),T?.(R)},onPointerLeave:R=>{g(!1),$(!1),E?.(R)},onPointerDown:R=>{$(!0),F?.(R)},onPointerUp:R=>{$(!1),_?.(R)},onFocus:R=>{f(fS(R)),I?.(R)},onBlur:R=>{f(!1),$(!1),C?.(R)},onKeyDown:R=>{(R.key===" "||R.key==="Enter")&&$(!0),L?.(R)},onKeyUp:R=>{$(!1),O?.(R)},children:(0,we.jsx)("span",{className:"pw-select__main",style:P,children:s})});return(0,we.jsx)(co,{content:l,purpose:c,disabled:!l||n||h,manageAria:!1,children:Z})});function wm(e){let t=(0,gt.useRef)(null),[r,n]=(0,gt.useState)(!1);return(0,gt.useLayoutEffect)(()=>{let o=t.current;if(!o)return;let i=()=>n([...o.querySelectorAll("[data-cut]")].some(s=>s.scrollWidth>s.clientWidth+.5));if(i(),typeof ResizeObserver>"u")return;let a=new ResizeObserver(i);return a.observe(o),()=>a.disconnect()},e),[t,r]}var pS=(0,gt.forwardRef)(function({sz:t,label:r,icon:n,showLabel:o,selected:i,defaultSelected:a=!1,onSelectedChange:s,disabled:l,forceState:c,width:d,...u},p){let b=i!==void 0,[g,y]=(0,gt.useState)(a),$=b?i:g,[m,f]=wm([r,o,t]),h=!o;return(0,we.jsx)("span",{ref:m,style:{display:"inline-flex",maxWidth:"100%"},children:(0,we.jsxs)(Cm,{ref:p,sz:t,on:$,disabled:l,forceState:c,square:h,width:d,"aria-pressed":$,"aria-label":h?r:void 0,tooltip:h||f?r:void 0,tooltipPurpose:h?"label":"description",onClick:()=>{if(l)return;let x=!$;b||y(x),s?.(x)},...u,children:[n&&(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(ye,{name:n,size:t.icon,fill:$?1:0})}),o&&(0,we.jsx)("span",{style:{minWidth:0,paddingLeft:t.slotPad,paddingRight:t.slotPad},children:(0,we.jsx)("span",{"data-cut":!0,style:xm(t.labelMax),children:r})})]})})}),mS=(0,gt.forwardRef)(function({sz:t,label:r="Filters",icon:n,showLabel:o,count:i=0,showCount:a=!1,selected:s,onPress:l,isOpen:c=!1,disabled:d,forceState:u,width:p,...b},g){let y=s??i>0,[$,m]=wm([r,o,t]),f=!o,h=y?`${r}, ${i} applied`:r;return(0,we.jsx)("span",{ref:$,style:{display:"inline-flex",maxWidth:"100%"},children:(0,we.jsxs)(Cm,{ref:g,sz:t,on:y,disabled:d,forceState:u,square:f&&!(y&&a),width:p,"aria-haspopup":"dialog","aria-expanded":c,"aria-label":h,tooltip:f||m?r:void 0,tooltipPurpose:f?"label":"description",onClick:()=>{d||l?.()},...b,children:[n&&(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(ye,{name:n,size:t.icon,fill:y?1:0})}),o&&(0,we.jsx)("span",{style:{minWidth:0,paddingLeft:t.slotPad,paddingRight:t.slotPad},children:(0,we.jsx)("span",{"data-cut":!0,style:xm(t.labelMax),children:r})}),y&&a&&(0,we.jsx)(F9,{sz:t,disabled:d,flush:!0,children:i})]})})});function hS({label:e,options:t=[],mode:r="single",value:n,showPrefix:o=!0,restValue:i}){let a=t[0],s=r==="multiple"?(Array.isArray(n)?n:[]).map(u=>t.find(p=>p.id===u)).filter(u=>u&&u!==a):[t.find(u=>u.id===n)].filter(u=>u&&u!==a),l=s[0]||a,c=s.length?l.label:i??(l?l.label:""),d=s.length?s.map(u=>u.label).join(", "):c;return{on:s.length>0,picks:s,shown:c,more:Math.max(0,s.length-1),name:o?`${e}: ${d}`:d}}var gS={XS:"XXXS",S:"XXS",M:"XS"},bS=(0,gt.forwardRef)(function({sz:t,size:r,label:n,options:o=[],mode:i="single",value:a,defaultValue:s,onChange:l,showPrefix:c=!0,showLeading:d=!0,leading:u="filter_list",disabled:p,forceState:b,width:g,open:y,onOpenChange:$,restValue:m,...f},h){let v=i==="multiple",x=o[0],w=a!==void 0,[P,k]=(0,gt.useState)(s??(v?[]:x?.id)),T=w?a:P,[E,F]=(0,gt.useState)(!1),_=y??E,I=Et(),C=(0,gt.useRef)(null),L=(0,gt.useCallback)(Y=>{w||k(Y),l?.(Y)},[w,l]),O=(0,gt.useCallback)(Y=>{y===void 0&&F(Y),$?.(Y)},[y,$]),M=hS({label:n,options:o,mode:i,value:T,showPrefix:c,restValue:m}),[Z,R]=wm([M.name,t]),te=v?M.picks.length?M.picks.map(Y=>Y.id):[x?.id]:[T??x?.id],X=Y=>{let je=[...Y];if(!v){L(je[0]??x?.id);return}let Le=je.filter(Oe=>!te.includes(Oe));L(Le.includes(x?.id)?[]:je.filter(Oe=>Oe!==x?.id))},K=()=>{L(v?[]:x?.id),C.current?.focus()},j=Y=>{if(p||v||_||Y.key.length!==1||!/\S/.test(Y.key)||Y.metaKey||Y.ctrlKey||Y.altKey)return;let je=Y.key.toLowerCase(),Le=Math.max(0,o.findIndex(Oe=>Oe.id===T));for(let Oe=1;Oe<=o.length;Oe++){let yn=o[(Le+Oe)%o.length];if(yn&&!yn.disabled&&yn.label.toLowerCase().startsWith(je)){L(yn.id);break}}},z=gS[r]||"XXXS",N=M.picks.find(Y=>Y.avatar),ie=N?(0,we.jsx)(Fs,{size:t.slot,children:(0,we.jsx)(Ei,{size:z,name:N.avatar.name||N.label,src:N.avatar.src,text:Oc(N.avatar.name||N.label),"aria-hidden":"true"})}):d&&u?(0,we.jsx)(Fs,{size:t.slot,children:typeof u=="string"?(0,we.jsx)(ye,{name:u,size:t.icon}):u}):null,J=!p&&M.on&&!v,Ee=!J,ft=({title:Y,onKeyDown:je,...Le})=>(0,we.jsxs)(Cm,{ref:Oe=>{C.current=Oe,typeof h=="function"?h(Oe):h&&(h.current=Oe)},sz:t,on:M.on,disabled:p,forceState:b,width:g,...Le,"aria-label":M.name,tooltip:R?M.name:void 0,onKeyDown:Oe=>{je?.(Oe),j(Oe)},...f,children:[ie,(0,we.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:"1 1 auto",paddingLeft:t.slotPad,paddingRight:t.slotPad},children:[c&&(0,we.jsxs)("span",{style:{flexShrink:0,marginRight:jt.textGap},children:[n,":"]}),(0,we.jsx)("span",{"data-cut":!0,style:{...xm(t.valueMax),fontWeight:c?d1.semibold:d1.medium},children:M.shown}),M.more>0&&(0,we.jsxs)(F9,{sz:t,disabled:p,children:["+",M.more]})]}),J&&(0,we.jsx)(Fs,{size:t.chevSlot}),Ee&&(0,we.jsx)(Fs,{size:t.chevSlot,children:(0,we.jsx)(ye,{name:"arrow_drop_down",size:t.chev,style:{transform:_?"rotate(180deg)":"none",transition:I?"none":jt.chevron}})})]});Xn();let ce=`Clear ${n||"filter"}`,H=J&&(0,we.jsx)(co,{content:ce,purpose:"label",manageAria:!1,children:(0,we.jsx)("button",{type:"button","aria-label":ce,onClick:K,className:`pw-select__clear ${Wi}`,style:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:`calc(${t.padH} - ${(44-t.chevSlot)/2}px)`,width:jt.touchW,height:jt.touchH,display:"inline-flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",cursor:"pointer",color:D9.fg.rest,zIndex:2},children:(0,we.jsx)("span",{"data-pw-ring-target":"",style:{width:t.chevSlot,height:t.chevSlot,borderRadius:jt.pillRadius,display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,we.jsx)(ye,{name:"close",size:t.icon})})})}),V=o.some(Y=>Y.avatar),de=Y=>Y.avatar?{type:"avatar",size:"XS",name:Y.avatar.name||Y.label,src:Y.avatar.src}:Y.leading?Y.leading:V&&Y===x&&typeof u=="string"?u:void 0;return(0,we.jsxs)("span",{ref:Z,style:{position:"relative",display:"inline-flex",maxWidth:"100%"},children:[(0,we.jsx)(qf,{mode:"options",label:n||M.name,align:"start",smallScreen:"sheet",selectionMode:v?"multiple":"single",selectedKeys:new Set(te),onSelectionChange:X,open:p?!1:_,onOpenChange:O,renderTrigger:ft,footer:v&&M.picks.length?(0,we.jsx)(Mn,{size:"S",buttonStyle:"Outlined",type:"Secondary",text:"Clear all",onClick:()=>L([])}):void 0,children:o.map(Y=>(0,we.jsx)(Xf,{id:Y.id,label:Y.label,disabled:Y.disabled,leading:de(Y),indicator:v?"checkbox":"check"},Y.id))}),H]})}),H9=(0,gt.forwardRef)(function({type:t="Dropdown",size:r="XS",showLabel:n=!0,icon:o="filter_alt",...i},a){let s=I9[r]||I9.XS;return t==="Single click"?(0,we.jsx)(pS,{ref:a,sz:s,icon:o,showLabel:n,...i}):t==="Opens panel"?(0,we.jsx)(mS,{ref:a,sz:s,icon:o,showLabel:n,...i}):(0,we.jsx)(bS,{ref:a,sz:s,size:r,...i})});var $S=`
566
+ :host { display: inline-flex; max-width: 100%; min-width: 0; }
567
+ :host([hidden]) { display: none; }
568
+ /* INHERITANCE FIREWALL: the same rationale as pathway-button.js. Host-page
569
+ rules cannot reach inside the shadow tree, so inherited text properties are
570
+ reset and the component's own tokens drive everything. */
571
+ .pw-select-wc-root {
572
+ font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
573
+ font-style: normal; text-transform: none; text-indent: 0; text-shadow: none;
574
+ white-space: normal; direction: ltr; color: inherit;
575
+ display: contents;
576
+ }
577
+ /* The icon font FILE is document-scoped; this class rule is needed in the
578
+ shadow root for the ligatures to render on the icon spans inside it. */
579
+ .material-symbols-rounded {
580
+ font-family: 'Material Symbols Rounded';
581
+ font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal;
582
+ text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
583
+ direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
584
+ }
585
+ `,vS=["type","size","label","options","mode","value","show-prefix","rest-value","show-leading","leading","icon","show-label","selected","count","show-count","open","disabled"],Em=class extends HTMLElement{static get observedAttributes(){return vS}constructor(){super(),this._reactRoot=null,this._options=null}get options(){return this._options??this._json("options",[])}set options(t){this._options=Array.isArray(t)?t:null,this._render()}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=$S+So,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-select-wc-root",t.appendChild(this._mount),this._reactRoot=(0,A9.createRoot)(this._mount)}this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t,r){if(!this.hasAttribute(t))return r;let n=this.getAttribute(t);return n!=="false"&&n!=="0"}_json(t,r){try{let n=this.getAttribute(t);return n==null?r:JSON.parse(n)}catch{return r}}_emit(t,r){this.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0}))}_adoptMenuCss(){let t=this.shadowRoot;if(!t||t.getElementById("pw-popover-menu-css"))return;let r=document.getElementById("pw-popover-menu-css");r?t.appendChild(r.cloneNode(!0)):requestAnimationFrame(()=>this._adoptMenuCss())}_render(){if(!this._reactRoot)return;this._adoptMenuCss();let t=this.getAttribute("type")||"Dropdown",r=this.getAttribute("mode")==="multiple"?"multiple":"single",n=this.options,o=r==="multiple"?this._json("value",[]):this.getAttribute("value")??n[0]?.id;this._reactRoot.render(Sm.default.createElement(Zg,null,Sm.default.createElement(H9,{type:t,size:this.getAttribute("size")||"XS",label:this.getAttribute("label")||(t==="Opens panel"?"Filters":void 0),options:n,mode:r,value:o,onChange:i=>{this.setAttribute("value",Array.isArray(i)?JSON.stringify(i):i),this._emit("pathway-change",{value:i})},showPrefix:this._bool("show-prefix",!0),restValue:this.getAttribute("rest-value")??void 0,showLeading:this._bool("show-leading",!0),leading:this.getAttribute("leading")||"filter_list",icon:this.getAttribute("icon")||"filter_alt",showLabel:this._bool("show-label",!0),selected:t==="Single click"?!!this._bool("selected",!1):void 0,onSelectedChange:i=>{i?this.setAttribute("selected",""):this.removeAttribute("selected"),this._emit("pathway-change",{selected:i})},count:Number(this.getAttribute("count"))||0,showCount:!!this._bool("show-count",!1),isOpen:!!this._bool("open",!1),onPress:()=>this._emit("pathway-press",{}),disabled:!!this._bool("disabled",!1)})))}};customElements.get("pathway-select")||customElements.define("pathway-select",Em);var km=S(D(),1),O9=S(Rr(),1);var yS=["label","hide-label","required","help-text","error","error-message","disabled","orientation","size","name","value"],Pm=class extends HTMLElement{static get observedAttributes(){return yS}constructor(){super(),this._reactRoot=null,this._options=[]}connectedCallback(){this._reactRoot||(this._options=Array.from(this.querySelectorAll("option")).map(t=>({value:t.value,text:t.textContent.trim(),disabled:t.disabled})),this.textContent="",this.style.display=this.style.display||"block",this._reactRoot=(0,O9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}get value(){return this.getAttribute("value")}set value(t){this.setAttribute("value",t)}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_render(){this._reactRoot&&this._reactRoot.render(km.default.createElement(Tg,{label:this.getAttribute("label")||"",showLabel:!this._bool("hide-label"),required:this._bool("required"),helpText:this.getAttribute("help-text")||void 0,error:this._bool("error"),errorMessage:this.getAttribute("error-message")||void 0,disabled:this._bool("disabled"),orientation:this.getAttribute("orientation")||"Vertical",size:this.getAttribute("size")||"Base",name:this.getAttribute("name")||void 0,value:this.hasAttribute("value")?this.getAttribute("value"):null,onChange:t=>{this.setAttribute("value",t),this.dispatchEvent(new CustomEvent("pathway-radio-change",{detail:{value:t},bubbles:!0,composed:!0}))}},this._options.map(t=>km.default.createElement(Rg,{key:t.value,value:t.value,text:t.text,disabled:t.disabled}))))}};customElements.get("pathway-radio-group")||customElements.define("pathway-radio-group",Pm);var Rm=S(D(),1),B9=S(Rr(),1);var u1=class extends HTMLElement{constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,B9.createRoot)(this)),this._render()}disconnectedCallback(){let t=this._reactRoot;this._reactRoot=null,t&&Promise.resolve().then(()=>t.unmount())}attributeChangedCallback(){this._render()}_bool(t){if(!this.hasAttribute(t))return!1;let r=this.getAttribute(t);return r!=="false"&&r!=="0"}_attr(t){return this.getAttribute(t)||void 0}},Tm=class extends u1{static get observedAttributes(){return["size","content","shape","avatar-style","src","text","icon","name","show-badge","badge-status"]}_render(){this._reactRoot&&this._reactRoot.render(Rm.default.createElement(Ei,{size:this._attr("size")||"M",content:this._attr("content"),shape:this._attr("shape")||"Circle",avatarStyle:this._attr("avatar-style")||"Fill",src:this._attr("src"),text:this._attr("text"),icon:this._attr("icon")||"person",name:this._attr("name"),showBadge:this._bool("show-badge"),badgeStatus:this._attr("badge-status")||"Positive"}))}},Lm=class extends u1{static get observedAttributes(){return["size","people","max","label"]}_render(){if(!this._reactRoot)return;let t=[];try{t=JSON.parse(this.getAttribute("people")||"[]")}catch{t=[]}let r=parseInt(this.getAttribute("max")||"3",10);this._reactRoot.render(Rm.default.createElement(Vg,{size:this._attr("size")||"XS",people:Array.isArray(t)?t:[],max:Number.isFinite(r)?r:3,label:this._attr("label")}))}};customElements.get("pathway-avatar")||customElements.define("pathway-avatar",Tm);customElements.get("pathway-avatar-group")||customElements.define("pathway-avatar-group",Lm);if(typeof document<"u"&&!document.getElementById("pathway-components-keyframes")){let e=document.createElement("style");e.id="pathway-components-keyframes",e.textContent="@keyframes popoverIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes popoverInCentered{from{opacity:0;transform:translateX(-6px) translateY(-50%)}to{opacity:1;transform:translateX(0) translateY(-50%)}}@media(prefers-reduced-motion:reduce){@keyframes popoverIn{from{opacity:0}to{opacity:1}}@keyframes popoverInCentered{from{opacity:0;transform:translateY(-50%)}to{opacity:1;transform:translateY(-50%)}}}",document.head.appendChild(e)}export{_s as ACCOUNTING_APP_SWITCHER,am as PathwayAccountingSideNav,Tm as PathwayAvatar,Lm as PathwayAvatarGroup,bm as PathwayBadge,gm as PathwayBottomSheet,_0 as PathwayButton,sm as PathwayNavShell,dm as PathwayPageTemplate,Pm as PathwayRadioGroup,mm as PathwayScrollToEnable,Em as PathwaySelect,jc as PathwaySideNav,vm as PathwayToggleButton,um as PathwayTooltip,V0 as PathwayTopNav};
545
586
  /*! Bundled license information:
546
587
 
547
588
  react/cjs/react.production.min.js: