@helloimjolopez-pathway/pathway-components 0.11.1 → 0.12.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 cg=Object.create;var lm=Object.defineProperty;var dg=Object.getOwnPropertyDescriptor;var ug=Object.getOwnPropertyNames;var fg=Object.getPrototypeOf,pg=Object.prototype.hasOwnProperty;var bn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var mg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ug(t))!pg.call(e,o)&&o!==r&&lm(e,o,{get:()=>t[o],enumerable:!(n=dg(t,o))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?cg(fg(e)):{},mg(t||!e||!e.__esModule?lm(r,"default",{value:e,enumerable:!0}):r,e));var ym=bn(ke=>{"use strict";var Ss=Symbol.for("react.element"),hg=Symbol.for("react.portal"),gg=Symbol.for("react.fragment"),bg=Symbol.for("react.strict_mode"),$g=Symbol.for("react.profiler"),vg=Symbol.for("react.provider"),yg=Symbol.for("react.context"),xg=Symbol.for("react.forward_ref"),Cg=Symbol.for("react.suspense"),wg=Symbol.for("react.memo"),Sg=Symbol.for("react.lazy"),cm=Symbol.iterator;function Eg(e){return e===null||typeof e!="object"?null:(e=cm&&e[cm]||e["@@iterator"],typeof e=="function"?e:null)}var fm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pm=Object.assign,mm={};function ii(e,t,r){this.props=e,this.context=t,this.refs=mm,this.updater=r||fm}ii.prototype.isReactComponent={};ii.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")};ii.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hm(){}hm.prototype=ii.prototype;function Zf(e,t,r){this.props=e,this.context=t,this.refs=mm,this.updater=r||fm}var Yf=Zf.prototype=new hm;Yf.constructor=Zf;pm(Yf,ii.prototype);Yf.isPureReactComponent=!0;var dm=Array.isArray,gm=Object.prototype.hasOwnProperty,Xf={current:null},bm={key:!0,ref:!0,__self:!0,__source:!0};function $m(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)gm.call(t,n)&&!bm.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:Ss,type:e,key:a,ref:i,props:o,_owner:Xf.current}}function kg(e,t){return{$$typeof:Ss,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ss}function Pg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var um=/\/+/g;function Gf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Pg(""+e.key):t.toString(36)}function Ac(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 Ss:case hg:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+Gf(i,0):n,dm(o)?(r="",e!=null&&(r=e.replace(um,"$&/")+"/"),Ac(o,t,r,"",function(c){return c})):o!=null&&(qf(o)&&(o=kg(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(um,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",dm(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+Gf(a,s);i+=Ac(a,t,r,l,o)}else if(l=Eg(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+Gf(a,s++),i+=Ac(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 Hc(e,t,r){if(e==null)return e;var n=[],o=0;return Ac(e,n,"","",function(a){return t.call(r,a,o++)}),n}function Tg(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 rr={current:null},Oc={transition:null},Lg={ReactCurrentDispatcher:rr,ReactCurrentBatchConfig:Oc,ReactCurrentOwner:Xf};function vm(){throw Error("act(...) is not supported in production builds of React.")}ke.Children={map:Hc,forEach:function(e,t,r){Hc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Hc(e,function(){t++}),t},toArray:function(e){return Hc(e,function(t){return t})||[]},only:function(e){if(!qf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ke.Component=ii;ke.Fragment=gg;ke.Profiler=$g;ke.PureComponent=Zf;ke.StrictMode=bg;ke.Suspense=Cg;ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lg;ke.act=vm;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=pm({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Xf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)gm.call(t,l)&&!bm.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:Ss,type:e.type,key:o,ref:a,props:n,_owner:i}};ke.createContext=function(e){return e={$$typeof:yg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vg,_context:e},e.Consumer=e};ke.createElement=$m;ke.createFactory=function(e){var t=$m.bind(null,e);return t.type=e,t};ke.createRef=function(){return{current:null}};ke.forwardRef=function(e){return{$$typeof:xg,render:e}};ke.isValidElement=qf;ke.lazy=function(e){return{$$typeof:Sg,_payload:{_status:-1,_result:e},_init:Tg}};ke.memo=function(e,t){return{$$typeof:wg,type:e,compare:t===void 0?null:t}};ke.startTransition=function(e){var t=Oc.transition;Oc.transition={};try{e()}finally{Oc.transition=t}};ke.unstable_act=vm;ke.useCallback=function(e,t){return rr.current.useCallback(e,t)};ke.useContext=function(e){return rr.current.useContext(e)};ke.useDebugValue=function(){};ke.useDeferredValue=function(e){return rr.current.useDeferredValue(e)};ke.useEffect=function(e,t){return rr.current.useEffect(e,t)};ke.useId=function(){return rr.current.useId()};ke.useImperativeHandle=function(e,t,r){return rr.current.useImperativeHandle(e,t,r)};ke.useInsertionEffect=function(e,t){return rr.current.useInsertionEffect(e,t)};ke.useLayoutEffect=function(e,t){return rr.current.useLayoutEffect(e,t)};ke.useMemo=function(e,t){return rr.current.useMemo(e,t)};ke.useReducer=function(e,t,r){return rr.current.useReducer(e,t,r)};ke.useRef=function(e){return rr.current.useRef(e)};ke.useState=function(e){return rr.current.useState(e)};ke.useSyncExternalStore=function(e,t,r){return rr.current.useSyncExternalStore(e,t,r)};ke.useTransition=function(){return rr.current.useTransition()};ke.version="18.3.1"});var F=bn((Dw,xm)=>{"use strict";xm.exports=ym()});var _m=bn(We=>{"use strict";function t1(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 zc(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"?(Cm=performance,We.unstable_now=function(){return Cm.now()}):(Qf=Date,wm=Qf.now(),We.unstable_now=function(){return Qf.now()-wm});var Cm,Qf,wm,Fn=[],Lo=[],Rg=1,Yr=null,jt=3,Vc=!1,va=!1,ks=!1,km=typeof setTimeout=="function"?setTimeout:null,Pm=typeof clearTimeout=="function"?clearTimeout:null,Sm=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function r1(e){for(var t=$n(Lo);t!==null;){if(t.callback===null)zc(Lo);else if(t.startTime<=e)zc(Lo),t.sortIndex=t.expirationTime,t1(Fn,t);else break;t=$n(Lo)}}function n1(e){if(ks=!1,r1(e),!va)if($n(Fn)!==null)va=!0,a1(o1);else{var t=$n(Lo);t!==null&&i1(n1,t.startTime-e)}}function o1(e,t){va=!1,ks&&(ks=!1,Pm(Ps),Ps=-1),Vc=!0;var r=jt;try{for(r1(t),Yr=$n(Fn);Yr!==null&&(!(Yr.expirationTime>t)||e&&!Rm());){var n=Yr.callback;if(typeof n=="function"){Yr.callback=null,jt=Yr.priorityLevel;var o=n(Yr.expirationTime<=t);t=We.unstable_now(),typeof o=="function"?Yr.callback=o:Yr===$n(Fn)&&zc(Fn),r1(t)}else zc(Fn);Yr=$n(Fn)}if(Yr!==null)var a=!0;else{var i=$n(Lo);i!==null&&i1(n1,i.startTime-t),a=!1}return a}finally{Yr=null,jt=r,Vc=!1}}var Wc=!1,Kc=null,Ps=-1,Tm=5,Lm=-1;function Rm(){return!(We.unstable_now()-Lm<Tm)}function Jf(){if(Kc!==null){var e=We.unstable_now();Lm=e;var t=!0;try{t=Kc(!0,e)}finally{t?Es():(Wc=!1,Kc=null)}}else Wc=!1}var Es;typeof Sm=="function"?Es=function(){Sm(Jf)}:typeof MessageChannel<"u"?(e1=new MessageChannel,Em=e1.port2,e1.port1.onmessage=Jf,Es=function(){Em.postMessage(null)}):Es=function(){km(Jf,0)};var e1,Em;function a1(e){Kc=e,Wc||(Wc=!0,Es())}function i1(e,t){Ps=km(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||Vc||(va=!0,a1(o1))};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"):Tm=0<e?Math.floor(1e3/e):5};We.unstable_getCurrentPriorityLevel=function(){return jt};We.unstable_getFirstCallbackNode=function(){return $n(Fn)};We.unstable_next=function(e){switch(jt){case 1:case 2:case 3:var t=3;break;default:t=jt}var r=jt;jt=t;try{return e()}finally{jt=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=jt;jt=e;try{return t()}finally{jt=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:Rg++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,t1(Lo,e),$n(Fn)===null&&e===$n(Lo)&&(ks?(Pm(Ps),Ps=-1):ks=!0,i1(n1,r-n))):(e.sortIndex=o,t1(Fn,e),va||Vc||(va=!0,a1(o1))),e};We.unstable_shouldYield=Rm;We.unstable_wrapCallback=function(e){var t=jt;return function(){var r=jt;jt=t;try{return e.apply(this,arguments)}finally{jt=r}}}});var Im=bn((Hw,Mm)=>{"use strict";Mm.exports=_m()});var H6=bn(Dr=>{"use strict";var _g=F(),Ir=Im();function W(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 B4=new Set,Ys={};function Ma(e,t){Pi(e,t),Pi(e+"Capture",t)}function Pi(e,t){for(Ys[e]=t,e=0;e<t.length;e++)B4.add(t[e])}var so=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),L1=Object.prototype.hasOwnProperty,Mg=/^[: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]*$/,Nm={},Dm={};function Ig(e){return L1.call(Dm,e)?!0:L1.call(Nm,e)?!1:Mg.test(e)?Dm[e]=!0:(Nm[e]=!0,!1)}function Ng(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 Dg(e,t,r,n){if(t===null||typeof t>"u"||Ng(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 ar(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 Kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Kt[e]=new ar(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Kt[t]=new ar(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Kt[e]=new ar(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Kt[e]=new ar(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){Kt[e]=new ar(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Kt[e]=new ar(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Kt[e]=new ar(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Kt[e]=new ar(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Kt[e]=new ar(e,5,!1,e.toLowerCase(),null,!1,!1)});var x0=/[\-:]([a-z])/g;function C0(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(x0,C0);Kt[t]=new ar(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(x0,C0);Kt[t]=new ar(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(x0,C0);Kt[t]=new ar(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Kt[e]=new ar(e,1,!1,e.toLowerCase(),null,!1,!1)});Kt.xlinkHref=new ar("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Kt[e]=new ar(e,1,!1,e.toLowerCase(),null,!0,!0)});function w0(e,t,r,n){var o=Kt.hasOwnProperty(t)?Kt[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Dg(t,r,o,n)&&(r=null),n||o===null?Ig(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=_g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Uc=Symbol.for("react.element"),ci=Symbol.for("react.portal"),di=Symbol.for("react.fragment"),S0=Symbol.for("react.strict_mode"),R1=Symbol.for("react.profiler"),K4=Symbol.for("react.provider"),z4=Symbol.for("react.context"),E0=Symbol.for("react.forward_ref"),_1=Symbol.for("react.suspense"),M1=Symbol.for("react.suspense_list"),k0=Symbol.for("react.memo"),_o=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var V4=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Fm=Symbol.iterator;function Ts(e){return e===null||typeof e!="object"?null:(e=Fm&&e[Fm]||e["@@iterator"],typeof e=="function"?e:null)}var it=Object.assign,s1;function Fs(e){if(s1===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);s1=t&&t[1]||""}return`
2
- `+s1+e}var l1=!1;function c1(e,t){if(!e||l1)return"";l1=!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(`
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
3
  `),a=n.stack.split(`
4
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{l1=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Fs(e):""}function Fg(e){switch(e.tag){case 5:return Fs(e.type);case 16:return Fs("Lazy");case 13:return Fs("Suspense");case 19:return Fs("SuspenseList");case 0:case 2:case 15:return e=c1(e.type,!1),e;case 11:return e=c1(e.type.render,!1),e;case 1:return e=c1(e.type,!0),e;default:return""}}function I1(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 di:return"Fragment";case ci:return"Portal";case R1:return"Profiler";case S0:return"StrictMode";case _1:return"Suspense";case M1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case z4:return(e.displayName||"Context")+".Consumer";case K4:return(e._context.displayName||"Context")+".Provider";case E0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case k0:return t=e.displayName||null,t!==null?t:I1(e.type)||"Memo";case _o:t=e._payload,e=e._init;try{return I1(e(t))}catch{}}return null}function Hg(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 I1(t);case 8:return t===S0?"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 W4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ag(e){var t=W4(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 jc(e){e._valueTracker||(e._valueTracker=Ag(e))}function U4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=W4(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function yd(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 N1(e,t){var r=t.checked;return it({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Hm(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 j4(e,t){t=t.checked,t!=null&&w0(e,"checked",t,!1)}function D1(e,t){j4(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")?F1(e,t.type,r):t.hasOwnProperty("defaultValue")&&F1(e,t.type,Uo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Am(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 F1(e,t,r){(t!=="number"||yd(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hs=Array.isArray;function xi(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 H1(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Om(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(W(92));if(Hs(r)){if(1<r.length)throw Error(W(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Uo(r)}}function G4(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 Bm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Z4(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 A1(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Z4(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gc,Y4=(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(Gc=Gc||document.createElement("div"),Gc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Gc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xs(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Bs={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},Og=["Webkit","ms","Moz","O"];Object.keys(Bs).forEach(function(e){Og.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bs[t]=Bs[e]})});function X4(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Bs.hasOwnProperty(e)&&Bs[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=X4(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Bg=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 O1(e,t){if(t){if(Bg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(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 K1=null;function P0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var z1=null,Ci=null,wi=null;function Km(e){if(e=ml(e)){if(typeof z1!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Zd(t),z1(e.stateNode,e.type,t))}}function Q4(e){Ci?wi?wi.push(e):wi=[e]:Ci=e}function J4(){if(Ci){var e=Ci,t=wi;if(wi=Ci=null,Km(e),t)for(e=0;e<t.length;e++)Km(t[e])}}function e5(e,t){return e(t)}function t5(){}var d1=!1;function r5(e,t,r){if(d1)return e(t,r);d1=!0;try{return e5(e,t,r)}finally{d1=!1,(Ci!==null||wi!==null)&&(t5(),J4())}}function qs(e,t){var r=e.stateNode;if(r===null)return null;var n=Zd(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(W(231,t,typeof r));return r}var V1=!1;if(so)try{si={},Object.defineProperty(si,"passive",{get:function(){V1=!0}}),window.addEventListener("test",si,si),window.removeEventListener("test",si,si)}catch{V1=!1}var si;function Kg(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 Ks=!1,xd=null,Cd=!1,W1=null,zg={onError:function(e){Ks=!0,xd=e}};function Vg(e,t,r,n,o,a,i,s,l){Ks=!1,xd=null,Kg.apply(zg,arguments)}function Wg(e,t,r,n,o,a,i,s,l){if(Vg.apply(this,arguments),Ks){if(Ks){var c=xd;Ks=!1,xd=null}else throw Error(W(198));Cd||(Cd=!0,W1=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 n5(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 zm(e){if(Ia(e)!==e)throw Error(W(188))}function Ug(e){var t=e.alternate;if(!t){if(t=Ia(e),t===null)throw Error(W(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 zm(o),e;if(a===n)return zm(o),t;a=a.sibling}throw Error(W(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(W(189))}}if(r.alternate!==n)throw Error(W(190))}if(r.tag!==3)throw Error(W(188));return r.stateNode.current===r?e:t}function o5(e){return e=Ug(e),e!==null?a5(e):null}function a5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=a5(e);if(t!==null)return t;e=e.sibling}return null}var i5=Ir.unstable_scheduleCallback,Vm=Ir.unstable_cancelCallback,jg=Ir.unstable_shouldYield,Gg=Ir.unstable_requestPaint,ut=Ir.unstable_now,Zg=Ir.unstable_getCurrentPriorityLevel,T0=Ir.unstable_ImmediatePriority,s5=Ir.unstable_UserBlockingPriority,wd=Ir.unstable_NormalPriority,Yg=Ir.unstable_LowPriority,l5=Ir.unstable_IdlePriority,Wd=null,Bn=null;function Xg(e){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{Bn.onCommitFiberRoot(Wd,e,void 0,(e.current.flags&128)===128)}catch{}}var wn=Math.clz32?Math.clz32:Jg,qg=Math.log,Qg=Math.LN2;function Jg(e){return e>>>=0,e===0?32:31-(qg(e)/Qg|0)|0}var Zc=64,Yc=4194304;function As(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 Sd(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=As(s):(a&=i,a!==0&&(n=As(a)))}else i=r&~o,i!==0?n=As(i):a!==0&&(n=As(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 eb(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 tb(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]=eb(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function U1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function c5(){var e=Zc;return Zc<<=1,(Zc&4194240)===0&&(Zc=64),e}function u1(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function fl(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 rb(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 L0(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 d5(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var u5,R0,f5,p5,m5,j1=!1,Xc=[],Ho=null,Ao=null,Oo=null,Qs=new Map,Js=new Map,Io=[],nb="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 Wm(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":Qs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Js.delete(t.pointerId)}}function Ls(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=ml(t),t!==null&&R0(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ob(e,t,r,n,o){switch(t){case"focusin":return Ho=Ls(Ho,e,t,r,n,o),!0;case"dragenter":return Ao=Ls(Ao,e,t,r,n,o),!0;case"mouseover":return Oo=Ls(Oo,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return Qs.set(a,Ls(Qs.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Js.set(a,Ls(Js.get(a)||null,e,t,r,n,o)),!0}return!1}function h5(e){var t=Ca(e.target);if(t!==null){var r=Ia(t);if(r!==null){if(t=r.tag,t===13){if(t=n5(r),t!==null){e.blockedOn=t,m5(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 dd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=G1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);K1=n,r.target.dispatchEvent(n),K1=null}else return t=ml(r),t!==null&&R0(t),e.blockedOn=r,!1;t.shift()}return!0}function Um(e,t,r){dd(e)&&r.delete(t)}function ab(){j1=!1,Ho!==null&&dd(Ho)&&(Ho=null),Ao!==null&&dd(Ao)&&(Ao=null),Oo!==null&&dd(Oo)&&(Oo=null),Qs.forEach(Um),Js.forEach(Um)}function Rs(e,t){e.blockedOn===t&&(e.blockedOn=null,j1||(j1=!0,Ir.unstable_scheduleCallback(Ir.unstable_NormalPriority,ab)))}function el(e){function t(o){return Rs(o,e)}if(0<Xc.length){Rs(Xc[0],e);for(var r=1;r<Xc.length;r++){var n=Xc[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Ho!==null&&Rs(Ho,e),Ao!==null&&Rs(Ao,e),Oo!==null&&Rs(Oo,e),Qs.forEach(t),Js.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);)h5(r),r.blockedOn===null&&Io.shift()}var Si=fo.ReactCurrentBatchConfig,Ed=!0;function ib(e,t,r,n){var o=Ae,a=Si.transition;Si.transition=null;try{Ae=1,_0(e,t,r,n)}finally{Ae=o,Si.transition=a}}function sb(e,t,r,n){var o=Ae,a=Si.transition;Si.transition=null;try{Ae=4,_0(e,t,r,n)}finally{Ae=o,Si.transition=a}}function _0(e,t,r,n){if(Ed){var o=G1(e,t,r,n);if(o===null)$1(e,t,n,kd,r),Wm(e,n);else if(ob(o,e,t,r,n))n.stopPropagation();else if(Wm(e,n),t&4&&-1<nb.indexOf(e)){for(;o!==null;){var a=ml(o);if(a!==null&&u5(a),a=G1(e,t,r,n),a===null&&$1(e,t,n,kd,r),a===o)break;o=a}o!==null&&n.stopPropagation()}else $1(e,t,n,null,r)}}var kd=null;function G1(e,t,r,n){if(kd=null,e=P0(n),e=Ca(e),e!==null)if(t=Ia(e),t===null)e=null;else if(r=t.tag,r===13){if(e=n5(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 kd=e,null}function g5(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(Zg()){case T0:return 1;case s5:return 4;case wd:case Yg:return 16;case l5:return 536870912;default:return 16}default:return 16}}var Do=null,M0=null,ud=null;function b5(){if(ud)return ud;var e,t=M0,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 ud=o.slice(e,1<n?1-n:void 0)}function fd(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 qc(){return!0}function jm(){return!1}function Nr(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)?qc:jm,this.isPropagationStopped=jm,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=qc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=qc)},persist:function(){},isPersistent:qc}),t}var Ni={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},I0=Nr(Ni),pl=it({},Ni,{view:0,detail:0}),lb=Nr(pl),f1,p1,_s,Ud=it({},pl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:N0,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!==_s&&(_s&&e.type==="mousemove"?(f1=e.screenX-_s.screenX,p1=e.screenY-_s.screenY):p1=f1=0,_s=e),f1)},movementY:function(e){return"movementY"in e?e.movementY:p1}}),Gm=Nr(Ud),cb=it({},Ud,{dataTransfer:0}),db=Nr(cb),ub=it({},pl,{relatedTarget:0}),m1=Nr(ub),fb=it({},Ni,{animationName:0,elapsedTime:0,pseudoElement:0}),pb=Nr(fb),mb=it({},Ni,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hb=Nr(mb),gb=it({},Ni,{data:0}),Zm=Nr(gb),bb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$b={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"},vb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vb[e])?!!t[e]:!1}function N0(){return yb}var xb=it({},pl,{key:function(e){if(e.key){var t=bb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=fd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$b[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:N0,charCode:function(e){return e.type==="keypress"?fd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?fd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Cb=Nr(xb),wb=it({},Ud,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ym=Nr(wb),Sb=it({},pl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:N0}),Eb=Nr(Sb),kb=it({},Ni,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pb=Nr(kb),Tb=it({},Ud,{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}),Lb=Nr(Tb),Rb=[9,13,27,32],D0=so&&"CompositionEvent"in window,zs=null;so&&"documentMode"in document&&(zs=document.documentMode);var _b=so&&"TextEvent"in window&&!zs,$5=so&&(!D0||zs&&8<zs&&11>=zs),Xm=" ",qm=!1;function v5(e,t){switch(e){case"keyup":return Rb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ui=!1;function Mb(e,t){switch(e){case"compositionend":return y5(t);case"keypress":return t.which!==32?null:(qm=!0,Xm);case"textInput":return e=t.data,e===Xm&&qm?null:e;default:return null}}function Ib(e,t){if(ui)return e==="compositionend"||!D0&&v5(e,t)?(e=b5(),ud=M0=Do=null,ui=!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 $5&&t.locale!=="ko"?null:t.data;default:return null}}var Nb={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 Qm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Nb[e.type]:t==="textarea"}function x5(e,t,r,n){Q4(n),t=Pd(t,"onChange"),0<t.length&&(r=new I0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Vs=null,tl=null;function Db(e){M5(e,0)}function jd(e){var t=mi(e);if(U4(t))return e}function Fb(e,t){if(e==="change")return t}var C5=!1;so&&(so?(Jc="oninput"in document,Jc||(h1=document.createElement("div"),h1.setAttribute("oninput","return;"),Jc=typeof h1.oninput=="function"),Qc=Jc):Qc=!1,C5=Qc&&(!document.documentMode||9<document.documentMode));var Qc,Jc,h1;function Jm(){Vs&&(Vs.detachEvent("onpropertychange",w5),tl=Vs=null)}function w5(e){if(e.propertyName==="value"&&jd(tl)){var t=[];x5(t,tl,e,P0(e)),r5(Db,t)}}function Hb(e,t,r){e==="focusin"?(Jm(),Vs=t,tl=r,Vs.attachEvent("onpropertychange",w5)):e==="focusout"&&Jm()}function Ab(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jd(tl)}function Ob(e,t){if(e==="click")return jd(t)}function Bb(e,t){if(e==="input"||e==="change")return jd(t)}function Kb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var En=typeof Object.is=="function"?Object.is:Kb;function rl(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(!L1.call(t,o)||!En(e[o],t[o]))return!1}return!0}function e4(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function t4(e,t){var r=e4(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=e4(r)}}function S5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?S5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function E5(){for(var e=window,t=yd();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=yd(e.document)}return t}function F0(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 zb(e){var t=E5(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&S5(r.ownerDocument.documentElement,r)){if(n!==null&&F0(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=t4(r,a);var i=t4(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 Vb=so&&"documentMode"in document&&11>=document.documentMode,fi=null,Z1=null,Ws=null,Y1=!1;function r4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Y1||fi==null||fi!==yd(n)||(n=fi,"selectionStart"in n&&F0(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}),Ws&&rl(Ws,n)||(Ws=n,n=Pd(Z1,"onSelect"),0<n.length&&(t=new I0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=fi)))}function ed(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var pi={animationend:ed("Animation","AnimationEnd"),animationiteration:ed("Animation","AnimationIteration"),animationstart:ed("Animation","AnimationStart"),transitionend:ed("Transition","TransitionEnd")},g1={},k5={};so&&(k5=document.createElement("div").style,"AnimationEvent"in window||(delete pi.animationend.animation,delete pi.animationiteration.animation,delete pi.animationstart.animation),"TransitionEvent"in window||delete pi.transitionend.transition);function Gd(e){if(g1[e])return g1[e];if(!pi[e])return e;var t=pi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in k5)return g1[e]=t[r];return e}var P5=Gd("animationend"),T5=Gd("animationiteration"),L5=Gd("animationstart"),R5=Gd("transitionend"),_5=new Map,n4="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){_5.set(e,t),Ma(t,[e])}for(td=0;td<n4.length;td++)rd=n4[td],o4=rd.toLowerCase(),a4=rd[0].toUpperCase()+rd.slice(1),Go(o4,"on"+a4);var rd,o4,a4,td;Go(P5,"onAnimationEnd");Go(T5,"onAnimationIteration");Go(L5,"onAnimationStart");Go("dblclick","onDoubleClick");Go("focusin","onFocus");Go("focusout","onBlur");Go(R5,"onTransitionEnd");Pi("onMouseEnter",["mouseout","mouseover"]);Pi("onMouseLeave",["mouseout","mouseover"]);Pi("onPointerEnter",["pointerout","pointerover"]);Pi("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 Os="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(" "),Wb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Os));function i4(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Wg(n,t,void 0,e),e.currentTarget=null}function M5(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;i4(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;i4(o,s,c),a=l}}}if(Cd)throw e=W1,Cd=!1,W1=null,e}function Ye(e,t){var r=t[e0];r===void 0&&(r=t[e0]=new Set);var n=e+"__bubble";r.has(n)||(I5(t,e,2,!1),r.add(n))}function b1(e,t,r){var n=0;t&&(n|=4),I5(r,e,n,t)}var nd="_reactListening"+Math.random().toString(36).slice(2);function nl(e){if(!e[nd]){e[nd]=!0,B4.forEach(function(r){r!=="selectionchange"&&(Wb.has(r)||b1(r,!1,e),b1(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[nd]||(t[nd]=!0,b1("selectionchange",!1,t))}}function I5(e,t,r,n){switch(g5(t)){case 1:var o=ib;break;case 4:o=sb;break;default:o=_0}r=o.bind(null,t,r,e),o=void 0,!V1||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 $1(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}r5(function(){var c=a,d=P0(r),u=[];e:{var p=_5.get(e);if(p!==void 0){var g=I0,h=e;switch(e){case"keypress":if(fd(r)===0)break e;case"keydown":case"keyup":g=Cb;break;case"focusin":h="focus",g=m1;break;case"focusout":h="blur",g=m1;break;case"beforeblur":case"afterblur":g=m1;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":g=Gm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=db;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Eb;break;case P5:case T5:case L5:g=pb;break;case R5:g=Pb;break;case"scroll":g=lb;break;case"wheel":g=Lb;break;case"copy":case"cut":case"paste":g=hb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Ym}var $=(t&4)!==0,y=!$&&e==="scroll",m=$?p!==null?p+"Capture":null:p;$=[];for(var f=c,b;f!==null;){b=f;var v=b.stateNode;if(b.tag===5&&v!==null&&(b=v,m!==null&&(v=qs(f,m),v!=null&&$.push(ol(f,v,b)))),y)break;f=f.return}0<$.length&&(p=new g(p,h,null,r,d),u.push({event:p,listeners:$}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&r!==K1&&(h=r.relatedTarget||r.fromElement)&&(Ca(h)||h[lo]))break e;if((g||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,g?(h=r.relatedTarget||r.toElement,g=c,h=h?Ca(h):null,h!==null&&(y=Ia(h),h!==y||h.tag!==5&&h.tag!==6)&&(h=null)):(g=null,h=c),g!==h)){if($=Gm,v="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&($=Ym,v="onPointerLeave",m="onPointerEnter",f="pointer"),y=g==null?p:mi(g),b=h==null?p:mi(h),p=new $(v,f+"leave",g,r,d),p.target=y,p.relatedTarget=b,v=null,Ca(d)===c&&($=new $(m,f+"enter",h,r,d),$.target=b,$.relatedTarget=y,v=$),y=v,g&&h)t:{for($=g,m=h,f=0,b=$;b;b=li(b))f++;for(b=0,v=m;v;v=li(v))b++;for(;0<f-b;)$=li($),f--;for(;0<b-f;)m=li(m),b--;for(;f--;){if($===m||m!==null&&$===m.alternate)break t;$=li($),m=li(m)}$=null}else $=null;g!==null&&s4(u,p,g,$,!1),h!==null&&y!==null&&s4(u,y,h,$,!0)}}e:{if(p=c?mi(c):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var x=Fb;else if(Qm(p))if(C5)x=Bb;else{x=Ab;var w=Hb}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=Ob);if(x&&(x=x(e,c))){x5(u,x,r,d);break e}w&&w(e,p,c),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&F1(p,"number",p.value)}switch(w=c?mi(c):window,e){case"focusin":(Qm(w)||w.contentEditable==="true")&&(fi=w,Z1=c,Ws=null);break;case"focusout":Ws=Z1=fi=null;break;case"mousedown":Y1=!0;break;case"contextmenu":case"mouseup":case"dragend":Y1=!1,r4(u,r,d);break;case"selectionchange":if(Vb)break;case"keydown":case"keyup":r4(u,r,d)}var k;if(D0)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 ui?v5(e,r)&&(E="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(E="onCompositionStart");E&&($5&&r.locale!=="ko"&&(ui||E!=="onCompositionStart"?E==="onCompositionEnd"&&ui&&(k=b5()):(Do=d,M0="value"in Do?Do.value:Do.textContent,ui=!0)),w=Pd(c,E),0<w.length&&(E=new Zm(E,e,null,r,d),u.push({event:E,listeners:w}),k?E.data=k:(k=y5(r),k!==null&&(E.data=k)))),(k=_b?Mb(e,r):Ib(e,r))&&(c=Pd(c,"onBeforeInput"),0<c.length&&(d=new Zm("onBeforeInput","beforeinput",null,r,d),u.push({event:d,listeners:c}),d.data=k))}M5(u,t)})}function ol(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Pd(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=qs(e,r),a!=null&&n.unshift(ol(e,a,o)),a=qs(e,t),a!=null&&n.push(ol(e,a,o))),e=e.return}return n}function li(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function s4(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=qs(r,a),l!=null&&i.unshift(ol(r,l,s))):o||(l=qs(r,a),l!=null&&i.push(ol(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var Ub=/\r\n?/g,jb=/\u0000|\uFFFD/g;function l4(e){return(typeof e=="string"?e:""+e).replace(Ub,`
6
- `).replace(jb,"")}function od(e,t,r){if(t=l4(t),l4(e)!==t&&r)throw Error(W(425))}function Td(){}var X1=null,q1=null;function Q1(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 J1=typeof setTimeout=="function"?setTimeout:void 0,Gb=typeof clearTimeout=="function"?clearTimeout:void 0,c4=typeof Promise=="function"?Promise:void 0,Zb=typeof queueMicrotask=="function"?queueMicrotask:typeof c4<"u"?function(e){return c4.resolve(null).then(e).catch(Yb)}:J1;function Yb(e){setTimeout(function(){throw e})}function v1(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),el(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);el(t)}function Bo(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 d4(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 Di=Math.random().toString(36).slice(2),On="__reactFiber$"+Di,al="__reactProps$"+Di,lo="__reactContainer$"+Di,e0="__reactEvents$"+Di,Xb="__reactListeners$"+Di,qb="__reactHandles$"+Di;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=d4(e);e!==null;){if(r=e[On])return r;e=d4(e)}return t}e=r,r=e.parentNode}return null}function ml(e){return e=e[On]||e[lo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function Zd(e){return e[al]||null}var t0=[],hi=-1;function Zo(e){return{current:e}}function Xe(e){0>hi||(e.current=t0[hi],t0[hi]=null,hi--)}function Ue(e,t){hi++,t0[hi]=e.current,e.current=t}var jo={},Xt=Zo(jo),yr=Zo(!1),Pa=jo;function Ti(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 xr(e){return e=e.childContextTypes,e!=null}function Ld(){Xe(yr),Xe(Xt)}function u4(e,t,r){if(Xt.current!==jo)throw Error(W(168));Ue(Xt,t),Ue(yr,r)}function N5(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(W(108,Hg(e)||"Unknown",o));return it({},r,n)}function Rd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Pa=Xt.current,Ue(Xt,e),Ue(yr,yr.current),!0}function f4(e,t,r){var n=e.stateNode;if(!n)throw Error(W(169));r?(e=N5(e,t,Pa),n.__reactInternalMemoizedMergedChildContext=e,Xe(yr),Xe(Xt),Ue(Xt,e)):Xe(yr),Ue(yr,r)}var no=null,Yd=!1,y1=!1;function D5(e){no===null?no=[e]:no.push(e)}function Qb(e){Yd=!0,D5(e)}function Yo(){if(!y1&&no!==null){y1=!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,Yd=!1}catch(o){throw no!==null&&(no=no.slice(e+1)),i5(T0,Yo),o}finally{Ae=t,y1=!1}}return null}var gi=[],bi=0,_d=null,Md=0,Xr=[],qr=0,Ta=null,oo=1,ao="";function ya(e,t){gi[bi++]=Md,gi[bi++]=_d,_d=e,Md=t}function F5(e,t,r){Xr[qr++]=oo,Xr[qr++]=ao,Xr[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 H0(e){e.return!==null&&(ya(e,1),F5(e,1,0))}function A0(e){for(;e===_d;)_d=gi[--bi],gi[bi]=null,Md=gi[--bi],gi[bi]=null;for(;e===Ta;)Ta=Xr[--qr],Xr[qr]=null,ao=Xr[--qr],Xr[qr]=null,oo=Xr[--qr],Xr[qr]=null}var Mr=null,_r=null,Qe=!1,Cn=null;function H5(e,t){var r=Qr(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 p4(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,Mr=e,_r=Bo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Mr=e,_r=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=Qr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Mr=e,_r=null,!0):!1;default:return!1}}function r0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function n0(e){if(Qe){var t=_r;if(t){var r=t;if(!p4(e,t)){if(r0(e))throw Error(W(418));t=Bo(r.nextSibling);var n=Mr;t&&p4(e,t)?H5(n,r):(e.flags=e.flags&-4097|2,Qe=!1,Mr=e)}}else{if(r0(e))throw Error(W(418));e.flags=e.flags&-4097|2,Qe=!1,Mr=e}}}function m4(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mr=e}function ad(e){if(e!==Mr)return!1;if(!Qe)return m4(e),Qe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Q1(e.type,e.memoizedProps)),t&&(t=_r)){if(r0(e))throw A5(),Error(W(418));for(;t;)H5(e,t),t=Bo(t.nextSibling)}if(m4(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){_r=Bo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}_r=null}}else _r=Mr?Bo(e.stateNode.nextSibling):null;return!0}function A5(){for(var e=_r;e;)e=Bo(e.nextSibling)}function Li(){_r=Mr=null,Qe=!1}function O0(e){Cn===null?Cn=[e]:Cn.push(e)}var Jb=fo.ReactCurrentBatchConfig;function Ms(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(W(309));var n=r.stateNode}if(!n)throw Error(W(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(W(284));if(!r._owner)throw Error(W(290,e))}return e}function id(e,t){throw e=Object.prototype.toString.call(t),Error(W(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function h4(e){var t=e._init;return t(e._payload)}function O5(e){function t(m,f){if(e){var b=m.deletions;b===null?(m.deletions=[f],m.flags|=16):b.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,b){return m.index=b,e?(b=m.alternate,b!==null?(b=b.index,b<f?(m.flags|=2,f):b):(m.flags|=2,f)):(m.flags|=1048576,f)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,f,b,v){return f===null||f.tag!==6?(f=P1(b,m.mode,v),f.return=m,f):(f=o(f,b),f.return=m,f)}function l(m,f,b,v){var x=b.type;return x===di?d(m,f,b.props.children,v,b.key):f!==null&&(f.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===_o&&h4(x)===f.type)?(v=o(f,b.props),v.ref=Ms(m,f,b),v.return=m,v):(v=vd(b.type,b.key,b.props,null,m.mode,v),v.ref=Ms(m,f,b),v.return=m,v)}function c(m,f,b,v){return f===null||f.tag!==4||f.stateNode.containerInfo!==b.containerInfo||f.stateNode.implementation!==b.implementation?(f=T1(b,m.mode,v),f.return=m,f):(f=o(f,b.children||[]),f.return=m,f)}function d(m,f,b,v,x){return f===null||f.tag!==7?(f=ka(b,m.mode,v,x),f.return=m,f):(f=o(f,b),f.return=m,f)}function u(m,f,b){if(typeof f=="string"&&f!==""||typeof f=="number")return f=P1(""+f,m.mode,b),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Uc:return b=vd(f.type,f.key,f.props,null,m.mode,b),b.ref=Ms(m,null,f),b.return=m,b;case ci:return f=T1(f,m.mode,b),f.return=m,f;case _o:var v=f._init;return u(m,v(f._payload),b)}if(Hs(f)||Ts(f))return f=ka(f,m.mode,b,null),f.return=m,f;id(m,f)}return null}function p(m,f,b,v){var x=f!==null?f.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return x!==null?null:s(m,f,""+b,v);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Uc:return b.key===x?l(m,f,b,v):null;case ci:return b.key===x?c(m,f,b,v):null;case _o:return x=b._init,p(m,f,x(b._payload),v)}if(Hs(b)||Ts(b))return x!==null?null:d(m,f,b,v,null);id(m,b)}return null}function g(m,f,b,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(b)||null,s(f,m,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Uc:return m=m.get(v.key===null?b:v.key)||null,l(f,m,v,x);case ci:return m=m.get(v.key===null?b:v.key)||null,c(f,m,v,x);case _o:var w=v._init;return g(m,f,b,w(v._payload),x)}if(Hs(v)||Ts(v))return m=m.get(b)||null,d(f,m,v,x,null);id(f,v)}return null}function h(m,f,b,v){for(var x=null,w=null,k=f,E=f=0,P=null;k!==null&&E<b.length;E++){k.index>E?(P=k,k=null):P=k.sibling;var T=p(m,k,b[E],v);if(T===null){k===null&&(k=P);break}e&&k&&T.alternate===null&&t(m,k),f=a(T,f,E),w===null?x=T:w.sibling=T,w=T,k=P}if(E===b.length)return r(m,k),Qe&&ya(m,E),x;if(k===null){for(;E<b.length;E++)k=u(m,b[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<b.length;E++)P=g(k,m,E,b[E],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(D){return t(m,D)}),Qe&&ya(m,E),x}function $(m,f,b,v){var x=Ts(b);if(typeof x!="function")throw Error(W(150));if(b=x.call(b),b==null)throw Error(W(151));for(var w=x=null,k=f,E=f=0,P=null,T=b.next();k!==null&&!T.done;E++,T=b.next()){k.index>E?(P=k,k=null):P=k.sibling;var D=p(m,k,T.value,v);if(D===null){k===null&&(k=P);break}e&&k&&D.alternate===null&&t(m,k),f=a(D,f,E),w===null?x=D:w.sibling=D,w=D,k=P}if(T.done)return r(m,k),Qe&&ya(m,E),x;if(k===null){for(;!T.done;E++,T=b.next())T=u(m,T.value,v),T!==null&&(f=a(T,f,E),w===null?x=T:w.sibling=T,w=T);return Qe&&ya(m,E),x}for(k=n(m,k);!T.done;E++,T=b.next())T=g(k,m,E,T.value,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(I){return t(m,I)}),Qe&&ya(m,E),x}function y(m,f,b,v){if(typeof b=="object"&&b!==null&&b.type===di&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Uc:e:{for(var x=b.key,w=f;w!==null;){if(w.key===x){if(x=b.type,x===di){if(w.tag===7){r(m,w.sibling),f=o(w,b.props.children),f.return=m,m=f;break e}}else if(w.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===_o&&h4(x)===w.type){r(m,w.sibling),f=o(w,b.props),f.ref=Ms(m,w,b),f.return=m,m=f;break e}r(m,w);break}else t(m,w);w=w.sibling}b.type===di?(f=ka(b.props.children,m.mode,v,b.key),f.return=m,m=f):(v=vd(b.type,b.key,b.props,null,m.mode,v),v.ref=Ms(m,f,b),v.return=m,m=v)}return i(m);case ci:e:{for(w=b.key;f!==null;){if(f.key===w)if(f.tag===4&&f.stateNode.containerInfo===b.containerInfo&&f.stateNode.implementation===b.implementation){r(m,f.sibling),f=o(f,b.children||[]),f.return=m,m=f;break e}else{r(m,f);break}else t(m,f);f=f.sibling}f=T1(b,m.mode,v),f.return=m,m=f}return i(m);case _o:return w=b._init,y(m,f,w(b._payload),v)}if(Hs(b))return h(m,f,b,v);if(Ts(b))return $(m,f,b,v);id(m,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,f!==null&&f.tag===6?(r(m,f.sibling),f=o(f,b),f.return=m,m=f):(r(m,f),f=P1(b,m.mode,v),f.return=m,m=f),i(m)):r(m,f)}return y}var Ri=O5(!0),B5=O5(!1),Id=Zo(null),Nd=null,$i=null,B0=null;function K0(){B0=$i=Nd=null}function z0(e){var t=Id.current;Xe(Id),e._currentValue=t}function o0(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 Ei(e,t){Nd=e,B0=$i=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(vr=!0),e.firstContext=null)}function en(e){var t=e._currentValue;if(B0!==e)if(e={context:e,memoizedValue:t,next:null},$i===null){if(Nd===null)throw Error(W(308));$i=e,Nd.dependencies={lanes:0,firstContext:e}}else $i=$i.next=e;return t}var wa=null;function V0(e){wa===null?wa=[e]:wa.push(e)}function K5(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,V0(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 W0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function z5(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 Ko(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,V0(n)):(t.next=o.next,o.next=t),n.interleaved=t,co(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,L0(e,r)}}function g4(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 Dd(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,g=s.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,$=s;switch(p=t,g=r,$.tag){case 1:if(h=$.payload,typeof h=="function"){u=h.call(g,u,p);break e}u=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=$.payload,p=typeof h=="function"?h.call(g,u,p):h,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 g={eventTime:g,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=g,l=u):d=d.next=g,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 b4(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(W(191,o));o.call(n)}}}var hl={},Kn=Zo(hl),il=Zo(hl),sl=Zo(hl);function Sa(e){if(e===hl)throw Error(W(174));return e}function U0(e,t){switch(Ue(sl,t),Ue(il,e),Ue(Kn,hl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:A1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=A1(t,e)}Xe(Kn),Ue(Kn,t)}function _i(){Xe(Kn),Xe(il),Xe(sl)}function V5(e){Sa(sl.current);var t=Sa(Kn.current),r=A1(t,e.type);t!==r&&(Ue(il,e),Ue(Kn,r))}function j0(e){il.current===e&&(Xe(Kn),Xe(il))}var ot=Zo(0);function Fd(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 x1=[];function G0(){for(var e=0;e<x1.length;e++)x1[e]._workInProgressVersionPrimary=null;x1.length=0}var md=fo.ReactCurrentDispatcher,C1=fo.ReactCurrentBatchConfig,La=0,at=null,Et=null,_t=null,Hd=!1,Us=!1,ll=0,e$=0;function Gt(){throw Error(W(321))}function Z0(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 Y0(e,t,r,n,o,a){if(La=a,at=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,md.current=e===null||e.memoizedState===null?o$:a$,e=r(n,o),Us){a=0;do{if(Us=!1,ll=0,25<=a)throw Error(W(301));a+=1,_t=Et=null,t.updateQueue=null,md.current=i$,e=r(n,o)}while(Us)}if(md.current=Ad,t=Et!==null&&Et.next!==null,La=0,_t=Et=at=null,Hd=!1,t)throw Error(W(300));return e}function X0(){var e=ll!==0;return ll=0,e}function An(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _t===null?at.memoizedState=_t=e:_t=_t.next=e,_t}function tn(){if(Et===null){var e=at.alternate;e=e!==null?e.memoizedState:null}else e=Et.next;var t=_t===null?at.memoizedState:_t.next;if(t!==null)_t=t,Et=e;else{if(e===null)throw Error(W(310));Et=e,e={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},_t===null?at.memoizedState=_t=e:_t=_t.next=e}return _t}function cl(e,t){return typeof t=="function"?t(e):t}function w1(e){var t=tn(),r=t.queue;if(r===null)throw Error(W(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)||(vr=!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 S1(e){var t=tn(),r=t.queue;if(r===null)throw Error(W(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)||(vr=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function W5(){}function U5(e,t){var r=at,n=tn(),o=t(),a=!En(n.memoizedState,o);if(a&&(n.memoizedState=o,vr=!0),n=n.queue,q0(Z5.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||_t!==null&&_t.memoizedState.tag&1){if(r.flags|=2048,dl(9,G5.bind(null,r,n,o,t),void 0,null),Mt===null)throw Error(W(349));(La&30)!==0||j5(r,t,o)}return o}function j5(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 G5(e,t,r,n){t.value=r,t.getSnapshot=n,Y5(t)&&X5(e)}function Z5(e,t,r){return r(function(){Y5(t)&&X5(e)})}function Y5(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!En(e,r)}catch{return!0}}function X5(e){var t=co(e,1);t!==null&&Sn(t,e,1,-1)}function $4(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:cl,lastRenderedState:e},t.queue=e,e=e.dispatch=n$.bind(null,at,e),[t.memoizedState,e]}function dl(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 tn().memoizedState}function hd(e,t,r,n){var o=An();at.flags|=e,o.memoizedState=dl(1|t,r,void 0,n===void 0?null:n)}function Xd(e,t,r,n){var o=tn();n=n===void 0?null:n;var a=void 0;if(Et!==null){var i=Et.memoizedState;if(a=i.destroy,n!==null&&Z0(n,i.deps)){o.memoizedState=dl(t,r,a,n);return}}at.flags|=e,o.memoizedState=dl(1|t,r,a,n)}function v4(e,t){return hd(8390656,8,e,t)}function q0(e,t){return Xd(2048,8,e,t)}function Q5(e,t){return Xd(4,2,e,t)}function J5(e,t){return Xd(4,4,e,t)}function e6(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 t6(e,t,r){return r=r!=null?r.concat([e]):null,Xd(4,4,e6.bind(null,t,e),r)}function Q0(){}function r6(e,t){var r=tn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Z0(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function n6(e,t){var r=tn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Z0(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function o6(e,t,r){return(La&21)===0?(e.baseState&&(e.baseState=!1,vr=!0),e.memoizedState=r):(En(r,t)||(r=c5(),at.lanes|=r,Ra|=r,e.baseState=!0),t)}function t$(e,t){var r=Ae;Ae=r!==0&&4>r?r:4,e(!0);var n=C1.transition;C1.transition={};try{e(!1),t()}finally{Ae=r,C1.transition=n}}function a6(){return tn().memoizedState}function r$(e,t,r){var n=Vo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},i6(e))s6(t,r);else if(r=K5(e,t,r,n),r!==null){var o=or();Sn(r,e,n,o),l6(r,t,n)}}function n$(e,t,r){var n=Vo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(i6(e))s6(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,V0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=K5(e,t,o,n),r!==null&&(o=or(),Sn(r,e,n,o),l6(r,t,n))}}function i6(e){var t=e.alternate;return e===at||t!==null&&t===at}function s6(e,t){Us=Hd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function l6(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,L0(e,r)}}var Ad={readContext:en,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useInsertionEffect:Gt,useLayoutEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useMutableSource:Gt,useSyncExternalStore:Gt,useId:Gt,unstable_isNewReconciler:!1},o$={readContext:en,useCallback:function(e,t){return An().memoizedState=[e,t===void 0?null:t],e},useContext:en,useEffect:v4,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,hd(4194308,4,e6.bind(null,t,e),r)},useLayoutEffect:function(e,t){return hd(4194308,4,e,t)},useInsertionEffect:function(e,t){return hd(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=r$.bind(null,at,e),[n.memoizedState,e]},useRef:function(e){var t=An();return e={current:e},t.memoizedState=e},useState:$4,useDebugValue:Q0,useDeferredValue:function(e){return An().memoizedState=e},useTransition:function(){var e=$4(!1),t=e[0];return e=t$.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(W(407));r=r()}else{if(r=t(),Mt===null)throw Error(W(349));(La&30)!==0||j5(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,v4(Z5.bind(null,n,a,e),[e]),n.flags|=2048,dl(9,G5.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=An(),t=Mt.identifierPrefix;if(Qe){var r=ao,n=oo;r=(n&~(1<<32-wn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=ll++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=e$++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a$={readContext:en,useCallback:r6,useContext:en,useEffect:q0,useImperativeHandle:t6,useInsertionEffect:Q5,useLayoutEffect:J5,useMemo:n6,useReducer:w1,useRef:q5,useState:function(){return w1(cl)},useDebugValue:Q0,useDeferredValue:function(e){var t=tn();return o6(t,Et.memoizedState,e)},useTransition:function(){var e=w1(cl)[0],t=tn().memoizedState;return[e,t]},useMutableSource:W5,useSyncExternalStore:U5,useId:a6,unstable_isNewReconciler:!1},i$={readContext:en,useCallback:r6,useContext:en,useEffect:q0,useImperativeHandle:t6,useInsertionEffect:Q5,useLayoutEffect:J5,useMemo:n6,useReducer:S1,useRef:q5,useState:function(){return S1(cl)},useDebugValue:Q0,useDeferredValue:function(e){var t=tn();return Et===null?t.memoizedState=e:o6(t,Et.memoizedState,e)},useTransition:function(){var e=S1(cl)[0],t=tn().memoizedState;return[e,t]},useMutableSource:W5,useSyncExternalStore:U5,useId:a6,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 a0(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 qd={isMounted:function(e){return(e=e._reactInternals)?Ia(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=or(),o=Vo(e),a=io(n,o);a.payload=t,r!=null&&(a.callback=r),t=Ko(e,a,o),t!==null&&(Sn(t,e,o,n),pd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=or(),o=Vo(e),a=io(n,o);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=Ko(e,a,o),t!==null&&(Sn(t,e,o,n),pd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=or(),n=Vo(e),o=io(r,n);o.tag=2,t!=null&&(o.callback=t),t=Ko(e,o,n),t!==null&&(Sn(t,e,n,r),pd(t,e,n))}};function y4(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?!rl(r,n)||!rl(o,a):!0}function c6(e,t,r){var n=!1,o=jo,a=t.contextType;return typeof a=="object"&&a!==null?a=en(a):(o=xr(t)?Pa:Xt.current,n=t.contextTypes,a=(n=n!=null)?Ti(e,o):jo),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=qd,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function x4(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&&qd.enqueueReplaceState(t,t.state,null)}function i0(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},W0(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=en(a):(a=xr(t)?Pa:Xt.current,o.context=Ti(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(a0(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&&qd.enqueueReplaceState(o,o.state,null),Dd(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Mi(e,t){try{var r="",n=t;do r+=Fg(n),n=n.return;while(n);var o=r}catch(a){o=`
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
7
  Error generating stack: `+a.message+`
8
- `+a.stack}return{value:e,source:t,stack:o,digest:null}}function E1(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function s0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var s$=typeof WeakMap=="function"?WeakMap:Map;function d6(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,b0=n),s0(e,t)},r}function u6(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(){s0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){s0(e,t),typeof n!="function"&&(zo===null?zo=new Set([this]):zo.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function C4(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new s$;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=x$.bind(null,e,t,r),t.then(e,e))}function w4(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 S4(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,Ko(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var l$=fo.ReactCurrentOwner,vr=!1;function nr(e,t,r,n){t.child=e===null?B5(t,null,r,n):Ri(t,e.child,r,n)}function E4(e,t,r,n,o){r=r.render;var a=t.ref;return Ei(t,o),n=Y0(e,t,r,n,a,o),r=X0(),e!==null&&!vr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,uo(e,t,o)):(Qe&&r&&H0(t),t.flags|=1,nr(e,t,n,o),t.child)}function k4(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!ip(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,f6(e,t,a,n,o)):(e=vd(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:rl,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 f6(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(rl(a,n)&&e.ref===t.ref)if(vr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)(e.flags&131072)!==0&&(vr=!0);else return t.lanes=e.lanes,uo(e,t,o)}return l0(e,t,r,n,o)}function p6(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(yi,Rr),Rr|=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(yi,Rr),Rr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Ue(yi,Rr),Rr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Ue(yi,Rr),Rr|=n;return nr(e,t,o,r),t.child}function m6(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function l0(e,t,r,n,o){var a=xr(r)?Pa:Xt.current;return a=Ti(t,a),Ei(t,o),r=Y0(e,t,r,n,a,o),n=X0(),e!==null&&!vr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,uo(e,t,o)):(Qe&&n&&H0(t),t.flags|=1,nr(e,t,r,o),t.child)}function P4(e,t,r,n,o){if(xr(r)){var a=!0;Rd(t)}else a=!1;if(Ei(t,o),t.stateNode===null)gd(e,t),c6(t,r,n),i0(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=en(c):(c=xr(r)?Pa:Xt.current,c=Ti(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)&&x4(t,i,n,c),Mo=!1;var p=t.memoizedState;i.state=p,Dd(t,n,i,o),l=t.memoizedState,s!==n||p!==l||yr.current||Mo?(typeof d=="function"&&(a0(t,r,d,n),l=t.memoizedState),(s=Mo||y4(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,z5(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=en(l):(l=xr(r)?Pa:Xt.current,l=Ti(t,l));var g=r.getDerivedStateFromProps;(d=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==u||p!==l)&&x4(t,i,n,l),Mo=!1,p=t.memoizedState,i.state=p,Dd(t,n,i,o);var h=t.memoizedState;s!==u||p!==h||yr.current||Mo?(typeof g=="function"&&(a0(t,r,g,n),h=t.memoizedState),(c=Mo||y4(t,r,c,n,p,h,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,h,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,h,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=h),i.props=n,i.state=h,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 c0(e,t,r,n,a,o)}function c0(e,t,r,n,o,a){m6(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&f4(t,r,!1),uo(e,t,a);n=t.stateNode,l$.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Ri(t,e.child,null,a),t.child=Ri(t,null,s,a)):nr(e,t,s,a),t.memoizedState=n.state,o&&f4(t,r,!0),t.child}function h6(e){var t=e.stateNode;t.pendingContext?u4(e,t.pendingContext,t.pendingContext!==t.context):t.context&&u4(e,t.context,!1),U0(e,t.containerInfo)}function T4(e,t,r,n,o){return Li(),O0(o),t.flags|=256,nr(e,t,r,n),t.child}var d0={dehydrated:null,treeContext:null,retryLane:0};function u0(e){return{baseLanes:e,cachePool:null,transitions:null}}function g6(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 n0(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=eu(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=u0(r),t.memoizedState=d0,e):J0(t,i));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return c$(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?u0(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=d0,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 J0(e,t){return t=eu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function sd(e,t,r,n){return n!==null&&O0(n),Ri(t,e.child,null,r),e=J0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function c$(e,t,r,n,o,a,i){if(r)return t.flags&256?(t.flags&=-257,n=E1(Error(W(422))),sd(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=eu({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&&Ri(t,e.child,null,i),t.child.memoizedState=u0(i),t.memoizedState=d0,a);if((t.mode&1)===0)return sd(e,t,i,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error(W(419)),n=E1(a,n,void 0),sd(e,t,i,n)}if(s=(i&e.childLanes)!==0,vr||s){if(n=Mt,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 ap(),n=E1(Error(W(421))),sd(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=C$.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,_r=Bo(o.nextSibling),Mr=t,Qe=!0,Cn=null,e!==null&&(Xr[qr++]=oo,Xr[qr++]=ao,Xr[qr++]=Ta,oo=e.id,ao=e.overflow,Ta=t),t=J0(t,n.children),t.flags|=4096,t)}function L4(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),o0(e.return,t,r)}function k1(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 b6(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(nr(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&&L4(e,r,t);else if(e.tag===19)L4(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&&Fd(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),k1(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&&Fd(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}k1(t,!0,r,null,a);break;case"together":k1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gd(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(W(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 d$(e,t,r){switch(t.tag){case 3:h6(t),Li();break;case 5:V5(t);break;case 1:xr(t.type)&&Rd(t);break;case 4:U0(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ue(Id,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?g6(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 b6(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,p6(e,t,r)}return uo(e,t,r)}var $6,f0,v6,y6;$6=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}};f0=function(){};v6=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Sa(Kn.current);var a=null;switch(r){case"input":o=N1(e,o),n=N1(e,n),a=[];break;case"select":o=it({},o,{value:void 0}),n=it({},n,{value:void 0}),a=[];break;case"textarea":o=H1(e,o),n=H1(e,n),a=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Td)}O1(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"&&(Ys.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"&&(Ys.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)}};y6=function(e,t,r,n){r!==n&&(t.flags|=4)};function Is(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 Zt(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 u$(e,t,r){var n=t.pendingProps;switch(A0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(t),null;case 1:return xr(t.type)&&Ld(),Zt(t),null;case 3:return n=t.stateNode,_i(),Xe(yr),Xe(Xt),G0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ad(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Cn!==null&&(y0(Cn),Cn=null))),f0(e,t),Zt(t),null;case 5:j0(t);var o=Sa(sl.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(W(166));return Zt(t),null}if(e=Sa(Kn.current),ad(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[On]=t,n[al]=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<Os.length;o++)Ye(Os[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":Hm(n,a),Ye("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Ye("invalid",n);break;case"textarea":Om(n,a),Ye("invalid",n)}O1(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&&od(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&od(n.textContent,s,e),o=["children",""+s]):Ys.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&Ye("scroll",n)}switch(r){case"input":jc(n),Am(n,a,!0);break;case"textarea":jc(n),Bm(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Td)}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=Z4(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[al]=n,$6(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<Os.length;o++)Ye(Os[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":Hm(e,n),o=N1(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":Om(e,n),o=H1(e,n),Ye("invalid",e);break;default:o=n}O1(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&&Y4(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Xs(e,l):typeof l=="number"&&Xs(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Ys.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Ye("scroll",e):l!=null&&w0(e,a,l,i))}switch(r){case"input":jc(e),Am(e,n,!1);break;case"textarea":jc(e),Bm(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?xi(e,!!n.multiple,a,!1):n.defaultValue!=null&&xi(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Td)}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 Zt(t),null;case 6:if(e&&t.stateNode!=null)y6(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(W(166));if(r=Sa(sl.current),Sa(Kn.current),ad(t)){if(n=t.stateNode,r=t.memoizedProps,n[On]=t,(a=n.nodeValue!==r)&&(e=Mr,e!==null))switch(e.tag){case 3:od(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&od(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 Zt(t),null;case 13:if(Xe(ot),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Qe&&_r!==null&&(t.mode&1)!==0&&(t.flags&128)===0)A5(),Li(),t.flags|=98560,a=!1;else if(a=ad(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(W(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(W(317));a[On]=t}else Li(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Zt(t),a=!1}else Cn!==null&&(y0(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):ap())),t.updateQueue!==null&&(t.flags|=4),Zt(t),null);case 4:return _i(),f0(e,t),e===null&&nl(t.stateNode.containerInfo),Zt(t),null;case 10:return z0(t.type._context),Zt(t),null;case 17:return xr(t.type)&&Ld(),Zt(t),null;case 19:if(Xe(ot),a=t.memoizedState,a===null)return Zt(t),null;if(n=(t.flags&128)!==0,i=a.rendering,i===null)if(n)Is(a,!1);else{if(kt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Fd(e),i!==null){for(t.flags|=128,Is(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()>Ii&&(t.flags|=128,n=!0,Is(a,!1),t.lanes=4194304)}else{if(!n)if(e=Fd(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Is(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Qe)return Zt(t),null}else 2*ut()-a.renderingStartTime>Ii&&r!==1073741824&&(t.flags|=128,n=!0,Is(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):(Zt(t),null);case 22:case 23:return op(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(Rr&1073741824)!==0&&(Zt(t),t.subtreeFlags&6&&(t.flags|=8192)):Zt(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function f$(e,t){switch(A0(t),t.tag){case 1:return xr(t.type)&&Ld(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _i(),Xe(yr),Xe(Xt),G0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return j0(t),null;case 13:if(Xe(ot),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Li()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Xe(ot),null;case 4:return _i(),null;case 10:return z0(t.type._context),null;case 22:case 23:return op(),null;case 24:return null;default:return null}}var ld=!1,Yt=!1,p$=typeof WeakSet=="function"?WeakSet:Set,re=null;function vi(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 p0(e,t,r){try{r()}catch(n){lt(e,t,n)}}var R4=!1;function m$(e,t){if(X1=Ed,e=E5(),F0(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 g;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),(g=u.firstChild)!==null;)p=u,u=g;for(;;){if(u===e)break t;if(p===r&&++c===o&&(s=i),p===a&&++d===n&&(l=i),(g=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=g}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(q1={focusedElem:e,selectionRange:r},Ed=!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 h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var $=h.memoizedProps,y=h.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?$:yn(t.type,$),y);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(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 h=R4,R4=!1,h}function js(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&&p0(t,r,a)}o=o.next}while(o!==n)}}function Qd(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 m0(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 x6(e){var t=e.alternate;t!==null&&(e.alternate=null,x6(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[On],delete t[al],delete t[e0],delete t[Xb],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 C6(e){return e.tag===5||e.tag===3||e.tag===4}function _4(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||C6(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 h0(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=Td));else if(n!==4&&(e=e.child,e!==null))for(h0(e,t,r),e=e.sibling;e!==null;)h0(e,t,r),e=e.sibling}function g0(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(g0(e,t,r),e=e.sibling;e!==null;)g0(e,t,r),e=e.sibling}var Ot=null,xn=!1;function Ro(e,t,r){for(r=r.child;r!==null;)w6(e,t,r),r=r.sibling}function w6(e,t,r){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(Wd,r)}catch{}switch(r.tag){case 5:Yt||vi(r,t);case 6:var n=Ot,o=xn;Ot=null,Ro(e,t,r),Ot=n,xn=o,Ot!==null&&(xn?(e=Ot,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ot.removeChild(r.stateNode));break;case 18:Ot!==null&&(xn?(e=Ot,r=r.stateNode,e.nodeType===8?v1(e.parentNode,r):e.nodeType===1&&v1(e,r),el(e)):v1(Ot,r.stateNode));break;case 4:n=Ot,o=xn,Ot=r.stateNode.containerInfo,xn=!0,Ro(e,t,r),Ot=n,xn=o;break;case 0:case 11:case 14:case 15:if(!Yt&&(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)&&p0(r,t,i),o=o.next}while(o!==n)}Ro(e,t,r);break;case 1:if(!Yt&&(vi(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?(Yt=(n=Yt)||r.memoizedState!==null,Ro(e,t,r),Yt=n):Ro(e,t,r);break;default:Ro(e,t,r)}}function M4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new p$),t.forEach(function(n){var o=w$.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:Ot=s.stateNode,xn=!1;break e;case 3:Ot=s.stateNode.containerInfo,xn=!0;break e;case 4:Ot=s.stateNode.containerInfo,xn=!0;break e}s=s.return}if(Ot===null)throw Error(W(160));w6(a,i,o),Ot=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;)S6(t,e),t=t.sibling}function S6(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{js(3,e,e.return),Qd(3,e)}catch($){lt(e,e.return,$)}try{js(5,e,e.return)}catch($){lt(e,e.return,$)}}break;case 1:vn(t,e),Hn(e),n&512&&r!==null&&vi(r,r.return);break;case 5:if(vn(t,e),Hn(e),n&512&&r!==null&&vi(r,r.return),e.flags&32){var o=e.stateNode;try{Xs(o,"")}catch($){lt(e,e.return,$)}}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&&j4(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"?Y4(o,u):d==="children"?Xs(o,u):w0(o,d,u,c)}switch(s){case"input":D1(o,a);break;case"textarea":G4(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var g=a.value;g!=null?xi(o,!!a.multiple,g,!1):p!==!!a.multiple&&(a.defaultValue!=null?xi(o,!!a.multiple,a.defaultValue,!0):xi(o,!!a.multiple,a.multiple?[]:"",!1))}o[al]=a}catch($){lt(e,e.return,$)}}break;case 6:if(vn(t,e),Hn(e),n&4){if(e.stateNode===null)throw Error(W(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch($){lt(e,e.return,$)}}break;case 3:if(vn(t,e),Hn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{el(t.containerInfo)}catch($){lt(e,e.return,$)}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||(rp=ut())),n&4&&M4(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(Yt=(c=Yt)||d,vn(t,e),Yt=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,g=p.child,p.tag){case 0:case 11:case 14:case 15:js(4,p,p.return);break;case 1:vi(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch($){lt(n,r,$)}}break;case 5:vi(p,p.return);break;case 22:if(p.memoizedState!==null){N4(u);continue}}g!==null?(g.return=p,re=g):N4(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=X4("display",i))}catch($){lt(e,e.return,$)}}}else if(u.tag===6){if(d===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch($){lt(e,e.return,$)}}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&&M4(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(C6(r)){var n=r;break e}r=r.return}throw Error(W(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Xs(o,""),n.flags&=-33);var a=_4(e);g0(e,a,o);break;case 3:case 4:var i=n.stateNode.containerInfo,s=_4(e);h0(e,s,i);break;default:throw Error(W(161))}}catch(l){lt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function h$(e,t,r){re=e,E6(e,t,r)}function E6(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||ld;if(!i){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Yt;s=ld;var c=Yt;if(ld=i,(Yt=l)&&!c)for(re=o;re!==null;)i=re,l=i.child,i.tag===22&&i.memoizedState!==null?D4(o):l!==null?(l.return=i,re=l):D4(o);for(;a!==null;)re=a,E6(a,t,r),a=a.sibling;re=o,ld=s,Yt=c}I4(e,t,r)}else(o.subtreeFlags&8772)!==0&&a!==null?(a.return=o,re=a):I4(e,t,r)}}function I4(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:Yt||Qd(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Yt)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&&b4(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}b4(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&&el(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(W(163))}Yt||t.flags&512&&m0(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 N4(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 D4(e){for(;re!==null;){var t=re;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Qd(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{m0(t)}catch(l){lt(t,a,l)}break;case 5:var i=t.return;try{m0(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 g$=Math.ceil,Od=fo.ReactCurrentDispatcher,ep=fo.ReactCurrentOwner,Jr=fo.ReactCurrentBatchConfig,Me=0,Mt=null,vt=null,Bt=0,Rr=0,yi=Zo(0),kt=0,ul=null,Ra=0,Jd=0,tp=0,Gs=null,$r=null,rp=0,Ii=1/0,ro=null,Bd=!1,b0=null,zo=null,cd=!1,Fo=null,Kd=0,Zs=0,$0=null,bd=-1,$d=0;function or(){return(Me&6)!==0?ut():bd!==-1?bd:bd=ut()}function Vo(e){return(e.mode&1)===0?1:(Me&2)!==0&&Bt!==0?Bt&-Bt:Jb.transition!==null?($d===0&&($d=c5()),$d):(e=Ae,e!==0||(e=window.event,e=e===void 0?16:g5(e.type)),e)}function Sn(e,t,r,n){if(50<Zs)throw Zs=0,$0=null,Error(W(185));fl(e,r,n),((Me&2)===0||e!==Mt)&&(e===Mt&&((Me&2)===0&&(Jd|=r),kt===4&&No(e,Bt)),Cr(e,n),r===1&&Me===0&&(t.mode&1)===0&&(Ii=ut()+500,Yd&&Yo()))}function Cr(e,t){var r=e.callbackNode;tb(e,t);var n=Sd(e,e===Mt?Bt:0);if(n===0)r!==null&&Vm(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&Vm(r),t===1)e.tag===0?Qb(F4.bind(null,e)):D5(F4.bind(null,e)),Zb(function(){(Me&6)===0&&Yo()}),r=null;else{switch(d5(n)){case 1:r=T0;break;case 4:r=s5;break;case 16:r=wd;break;case 536870912:r=l5;break;default:r=wd}r=I6(r,k6.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function k6(e,t){if(bd=-1,$d=0,(Me&6)!==0)throw Error(W(327));var r=e.callbackNode;if(ki()&&e.callbackNode!==r)return null;var n=Sd(e,e===Mt?Bt:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=zd(e,n);else{t=n;var o=Me;Me|=2;var a=T6();(Mt!==e||Bt!==t)&&(ro=null,Ii=ut()+500,Ea(e,t));do try{v$();break}catch(s){P6(e,s)}while(!0);K0(),Od.current=a,Me=o,vt!==null?t=0:(Mt=null,Bt=0,t=kt)}if(t!==0){if(t===2&&(o=U1(e),o!==0&&(n=o,t=v0(e,o))),t===1)throw r=ul,Ea(e,0),No(e,n),Cr(e,ut()),r;if(t===6)No(e,n);else{if(o=e.current.alternate,(n&30)===0&&!b$(o)&&(t=zd(e,n),t===2&&(a=U1(e),a!==0&&(n=a,t=v0(e,a))),t===1))throw r=ul,Ea(e,0),No(e,n),Cr(e,ut()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(W(345));case 2:xa(e,$r,ro);break;case 3:if(No(e,n),(n&130023424)===n&&(t=rp+500-ut(),10<t)){if(Sd(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){or(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=J1(xa.bind(null,e,$r,ro),t);break}xa(e,$r,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*g$(n/1960))-n,10<n){e.timeoutHandle=J1(xa.bind(null,e,$r,ro),n);break}xa(e,$r,ro);break;case 5:xa(e,$r,ro);break;default:throw Error(W(329))}}}return Cr(e,ut()),e.callbackNode===r?k6.bind(null,e):null}function v0(e,t){var r=Gs;return e.current.memoizedState.isDehydrated&&(Ea(e,t).flags|=256),e=zd(e,t),e!==2&&(t=$r,$r=r,t!==null&&y0(t)),e}function y0(e){$r===null?$r=e:$r.push.apply($r,e)}function b$(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&=~tp,t&=~Jd,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 F4(e){if((Me&6)!==0)throw Error(W(327));ki();var t=Sd(e,0);if((t&1)===0)return Cr(e,ut()),null;var r=zd(e,t);if(e.tag!==0&&r===2){var n=U1(e);n!==0&&(t=n,r=v0(e,n))}if(r===1)throw r=ul,Ea(e,0),No(e,t),Cr(e,ut()),r;if(r===6)throw Error(W(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xa(e,$r,ro),Cr(e,ut()),null}function np(e,t){var r=Me;Me|=1;try{return e(t)}finally{Me=r,Me===0&&(Ii=ut()+500,Yd&&Yo())}}function _a(e){Fo!==null&&Fo.tag===0&&(Me&6)===0&&ki();var t=Me;Me|=1;var r=Jr.transition,n=Ae;try{if(Jr.transition=null,Ae=1,e)return e()}finally{Ae=n,Jr.transition=r,Me=t,(Me&6)===0&&Yo()}}function op(){Rr=yi.current,Xe(yi)}function Ea(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Gb(r)),vt!==null)for(r=vt.return;r!==null;){var n=r;switch(A0(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ld();break;case 3:_i(),Xe(yr),Xe(Xt),G0();break;case 5:j0(n);break;case 4:_i();break;case 13:Xe(ot);break;case 19:Xe(ot);break;case 10:z0(n.type._context);break;case 22:case 23:op()}r=r.return}if(Mt=e,vt=e=Wo(e.current,null),Bt=Rr=t,kt=0,ul=null,tp=Jd=Ra=0,$r=Gs=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 P6(e,t){do{var r=vt;try{if(K0(),md.current=Ad,Hd){for(var n=at.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Hd=!1}if(La=0,_t=Et=at=null,Us=!1,ll=0,ep.current=null,r===null||r.return===null){kt=1,ul=t,vt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=Bt,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 g=w4(i);if(g!==null){g.flags&=-257,S4(g,i,s,a,t),g.mode&1&&C4(a,c,t),t=g,l=c;var h=t.updateQueue;if(h===null){var $=new Set;$.add(l),t.updateQueue=$}else h.add(l);break e}else{if((t&1)===0){C4(a,c,t),ap();break e}l=Error(W(426))}}else if(Qe&&s.mode&1){var y=w4(i);if(y!==null){(y.flags&65536)===0&&(y.flags|=256),S4(y,i,s,a,t),O0(Mi(l,s));break e}}a=l=Mi(l,s),kt!==4&&(kt=2),Gs===null?Gs=[a]:Gs.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=d6(a,l,t);g4(a,m);break e;case 1:s=l;var f=a.type,b=a.stateNode;if((a.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(zo===null||!zo.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t;var v=u6(a,s,t);g4(a,v);break e}}a=a.return}while(a!==null)}R6(r)}catch(x){t=x,vt===r&&r!==null&&(vt=r=r.return);continue}break}while(!0)}function T6(){var e=Od.current;return Od.current=Ad,e===null?Ad:e}function ap(){(kt===0||kt===3||kt===2)&&(kt=4),Mt===null||(Ra&268435455)===0&&(Jd&268435455)===0||No(Mt,Bt)}function zd(e,t){var r=Me;Me|=2;var n=T6();(Mt!==e||Bt!==t)&&(ro=null,Ea(e,t));do try{$$();break}catch(o){P6(e,o)}while(!0);if(K0(),Me=r,Od.current=n,vt!==null)throw Error(W(261));return Mt=null,Bt=0,kt}function $$(){for(;vt!==null;)L6(vt)}function v$(){for(;vt!==null&&!jg();)L6(vt)}function L6(e){var t=M6(e.alternate,e,Rr);e.memoizedProps=e.pendingProps,t===null?R6(e):vt=t,ep.current=null}function R6(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=u$(r,t,Rr),r!==null){vt=r;return}}else{if(r=f$(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=Jr.transition;try{Jr.transition=null,Ae=1,y$(e,t,r,n)}finally{Jr.transition=o,Ae=n}return null}function y$(e,t,r,n){do ki();while(Fo!==null);if((Me&6)!==0)throw Error(W(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(W(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(rb(e,a),e===Mt&&(vt=Mt=null,Bt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||cd||(cd=!0,I6(wd,function(){return ki(),null})),a=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||a){a=Jr.transition,Jr.transition=null;var i=Ae;Ae=1;var s=Me;Me|=4,ep.current=null,m$(e,r),S6(r,e),zb(q1),Ed=!!X1,q1=X1=null,e.current=r,h$(r,e,o),Gg(),Me=s,Ae=i,Jr.transition=a}else e.current=r;if(cd&&(cd=!1,Fo=e,Kd=o),a=e.pendingLanes,a===0&&(zo=null),Xg(r.stateNode,n),Cr(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=b0,b0=null,e;return(Kd&1)!==0&&e.tag!==0&&ki(),a=e.pendingLanes,(a&1)!==0?e===$0?Zs++:(Zs=0,$0=e):Zs=0,Yo(),null}function ki(){if(Fo!==null){var e=d5(Kd),t=Jr.transition,r=Ae;try{if(Jr.transition=null,Ae=16>e?16:e,Fo===null)var n=!1;else{if(e=Fo,Fo=null,Kd=0,(Me&6)!==0)throw Error(W(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:js(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,g=d.return;if(x6(d),d===c){re=null;break}if(p!==null){p.return=g,re=p;break}re=g}}}var h=a.alternate;if(h!==null){var $=h.child;if($!==null){h.child=null;do{var y=$.sibling;$.sibling=null,$=y}while($!==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:js(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 b=i.child;if((i.subtreeFlags&2064)!==0&&b!==null)b.return=i,re=b;else e:for(i=f;re!==null;){if(s=re,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Qd(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(),Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(Wd,e)}catch{}n=!0}return n}finally{Ae=r,Jr.transition=t}}return!1}function H4(e,t,r){t=Mi(r,t),t=d6(e,t,1),e=Ko(e,t,1),t=or(),e!==null&&(fl(e,1,t),Cr(e,t))}function lt(e,t,r){if(e.tag===3)H4(e,e,r);else for(;t!==null;){if(t.tag===3){H4(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(zo===null||!zo.has(n))){e=Mi(r,e),e=u6(t,e,1),t=Ko(t,e,1),e=or(),t!==null&&(fl(t,1,e),Cr(t,e));break}}t=t.return}}function x$(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=or(),e.pingedLanes|=e.suspendedLanes&r,Mt===e&&(Bt&r)===r&&(kt===4||kt===3&&(Bt&130023424)===Bt&&500>ut()-rp?Ea(e,0):tp|=r),Cr(e,t)}function _6(e,t){t===0&&((e.mode&1)===0?t=1:(t=Yc,Yc<<=1,(Yc&130023424)===0&&(Yc=4194304)));var r=or();e=co(e,t),e!==null&&(fl(e,t,r),Cr(e,r))}function C$(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),_6(e,r)}function w$(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(W(314))}n!==null&&n.delete(t),_6(e,r)}var M6;M6=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||yr.current)vr=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return vr=!1,d$(e,t,r);vr=(e.flags&131072)!==0}else vr=!1,Qe&&(t.flags&1048576)!==0&&F5(t,Md,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;gd(e,t),e=t.pendingProps;var o=Ti(t,Xt.current);Ei(t,r),o=Y0(null,t,n,e,o,r);var a=X0();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,xr(n)?(a=!0,Rd(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,W0(t),o.updater=qd,t.stateNode=o,o._reactInternals=t,i0(t,n,e,r),t=c0(null,t,n,!0,a,r)):(t.tag=0,Qe&&a&&H0(t),nr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(gd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=E$(n),e=yn(n,e),o){case 0:t=l0(null,t,n,e,r);break e;case 1:t=P4(null,t,n,e,r);break e;case 11:t=E4(null,t,n,e,r);break e;case 14:t=k4(null,t,n,yn(n.type,e),r);break e}throw Error(W(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),l0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),P4(e,t,n,o,r);case 3:e:{if(h6(t),e===null)throw Error(W(387));n=t.pendingProps,a=t.memoizedState,o=a.element,z5(e,t),Dd(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=Mi(Error(W(423)),t),t=T4(e,t,n,r,o);break e}else if(n!==o){o=Mi(Error(W(424)),t),t=T4(e,t,n,r,o);break e}else for(_r=Bo(t.stateNode.containerInfo.firstChild),Mr=t,Qe=!0,Cn=null,r=B5(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Li(),n===o){t=uo(e,t,r);break e}nr(e,t,n,r)}t=t.child}return t;case 5:return V5(t),e===null&&n0(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,Q1(n,o)?i=null:a!==null&&Q1(n,a)&&(t.flags|=32),m6(e,t),nr(e,t,i,r),t.child;case 6:return e===null&&n0(t),null;case 13:return g6(e,t,r);case 4:return U0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ri(t,null,n,r):nr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yn(n,o),E4(e,t,n,o,r);case 7:return nr(e,t,t.pendingProps,r),t.child;case 8:return nr(e,t,t.pendingProps.children,r),t.child;case 12:return nr(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(Id,n._currentValue),n._currentValue=i,a!==null)if(En(a.value,i)){if(a.children===o.children&&!yr.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),o0(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(W(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),o0(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}nr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Ei(t,r),o=en(o),n=n(o),t.flags|=1,nr(e,t,n,r),t.child;case 14:return n=t.type,o=yn(n,t.pendingProps),o=yn(n.type,o),k4(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:yn(n,o),gd(e,t),t.tag=1,xr(n)?(e=!0,Rd(t)):e=!1,Ei(t,r),c6(t,n,o),i0(t,n,o,r),c0(null,t,n,!0,e,r);case 19:return b6(e,t,r);case 22:return p6(e,t,r)}throw Error(W(156,t.tag))};function I6(e,t){return i5(e,t)}function S$(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 Qr(e,t,r,n){return new S$(e,t,r,n)}function ip(e){return e=e.prototype,!(!e||!e.isReactComponent)}function E$(e){if(typeof e=="function")return ip(e)?1:0;if(e!=null){if(e=e.$$typeof,e===E0)return 11;if(e===k0)return 14}return 2}function Wo(e,t){var r=e.alternate;return r===null?(r=Qr(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 vd(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")ip(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case di:return ka(r.children,o,a,t);case S0:i=8,o|=8;break;case R1:return e=Qr(12,r,t,o|2),e.elementType=R1,e.lanes=a,e;case _1:return e=Qr(13,r,t,o),e.elementType=_1,e.lanes=a,e;case M1:return e=Qr(19,r,t,o),e.elementType=M1,e.lanes=a,e;case V4:return eu(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case K4:i=10;break e;case z4:i=9;break e;case E0:i=11;break e;case k0:i=14;break e;case _o:i=16,n=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=Qr(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function ka(e,t,r,n){return e=Qr(7,e,n,t),e.lanes=r,e}function eu(e,t,r,n){return e=Qr(22,e,n,t),e.elementType=V4,e.lanes=r,e.stateNode={isHidden:!1},e}function P1(e,t,r){return e=Qr(6,e,null,t),e.lanes=r,e}function T1(e,t,r){return t=Qr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function k$(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=u1(0),this.expirationTimes=u1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=u1(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function sp(e,t,r,n,o,a,i,s,l){return e=new k$(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Qr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},W0(a),e}function P$(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ci,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function N6(e){if(!e)return jo;e=e._reactInternals;e:{if(Ia(e)!==e||e.tag!==1)throw Error(W(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(xr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(W(171))}if(e.tag===1){var r=e.type;if(xr(r))return N5(e,r,t)}return t}function D6(e,t,r,n,o,a,i,s,l){return e=sp(r,n,!0,e,o,a,i,s,l),e.context=N6(null),r=e.current,n=or(),o=Vo(r),a=io(n,o),a.callback=t??null,Ko(r,a,o),e.current.lanes=o,fl(e,o,n),Cr(e,n),e}function tu(e,t,r,n){var o=t.current,a=or(),i=Vo(o);return r=N6(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=Ko(o,t,i),e!==null&&(Sn(e,o,i,a),pd(e,o,i)),i}function Vd(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 A4(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function lp(e,t){A4(e,t),(e=e.alternate)&&A4(e,t)}function T$(){return null}var F6=typeof reportError=="function"?reportError:function(e){console.error(e)};function cp(e){this._internalRoot=e}ru.prototype.render=cp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(W(409));tu(e,t,null,null)};ru.prototype.unmount=cp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_a(function(){tu(null,e,null,null)}),t[lo]=null}};function ru(e){this._internalRoot=e}ru.prototype.unstable_scheduleHydration=function(e){if(e){var t=p5();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&&h5(e)}};function dp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function nu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function O4(){}function L$(e,t,r,n,o){if(o){if(typeof n=="function"){var a=n;n=function(){var c=Vd(i);a.call(c)}}var i=D6(t,n,e,0,null,!1,!1,"",O4);return e._reactRootContainer=i,e[lo]=i.current,nl(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=Vd(l);s.call(c)}}var l=sp(e,0,!1,null,null,!1,!1,"",O4);return e._reactRootContainer=l,e[lo]=l.current,nl(e.nodeType===8?e.parentNode:e),_a(function(){tu(t,l,r,n)}),l}function ou(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=Vd(i);s.call(l)}}tu(t,i,e,o)}else i=L$(r,t,e,o,n);return Vd(i)}u5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=As(t.pendingLanes);r!==0&&(L0(t,r|1),Cr(t,ut()),(Me&6)===0&&(Ii=ut()+500,Yo()))}break;case 13:_a(function(){var n=co(e,1);if(n!==null){var o=or();Sn(n,e,1,o)}}),lp(e,1)}};R0=function(e){if(e.tag===13){var t=co(e,134217728);if(t!==null){var r=or();Sn(t,e,134217728,r)}lp(e,134217728)}};f5=function(e){if(e.tag===13){var t=Vo(e),r=co(e,t);if(r!==null){var n=or();Sn(r,e,t,n)}lp(e,t)}};p5=function(){return Ae};m5=function(e,t){var r=Ae;try{return Ae=e,t()}finally{Ae=r}};z1=function(e,t,r){switch(t){case"input":if(D1(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=Zd(n);if(!o)throw Error(W(90));U4(n),D1(n,o)}}}break;case"textarea":G4(e,r);break;case"select":t=r.value,t!=null&&xi(e,!!r.multiple,t,!1)}};e5=np;t5=_a;var R$={usingClientEntryPoint:!1,Events:[ml,mi,Zd,Q4,J4,np]},Ns={findFiberByHostInstance:Ca,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_$={bundleType:Ns.bundleType,version:Ns.version,rendererPackageName:Ns.rendererPackageName,rendererConfig:Ns.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=o5(e),e===null?null:e.stateNode},findFiberByHostInstance:Ns.findFiberByHostInstance||T$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ds=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ds.isDisabled&&Ds.supportsFiber))try{Wd=Ds.inject(_$),Bn=Ds}catch{}var Ds;Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R$;Dr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dp(t))throw Error(W(200));return P$(e,t,null,r)};Dr.createRoot=function(e,t){if(!dp(e))throw Error(W(299));var r=!1,n="",o=F6;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=sp(e,1,!1,null,null,r,!1,n,o),e[lo]=t.current,nl(e.nodeType===8?e.parentNode:e),new cp(t)};Dr.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(W(188)):(e=Object.keys(e).join(","),Error(W(268,e)));return e=o5(t),e=e===null?null:e.stateNode,e};Dr.flushSync=function(e){return _a(e)};Dr.hydrate=function(e,t,r){if(!nu(t))throw Error(W(200));return ou(null,e,t,!0,r)};Dr.hydrateRoot=function(e,t,r){if(!dp(e))throw Error(W(405));var n=r!=null&&r.hydratedSources||null,o=!1,a="",i=F6;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=D6(t,null,e,1,r??null,o,!1,a,i),e[lo]=t.current,nl(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 ru(t)};Dr.render=function(e,t,r){if(!nu(t))throw Error(W(200));return ou(null,e,t,!1,r)};Dr.unmountComponentAtNode=function(e){if(!nu(e))throw Error(W(40));return e._reactRootContainer?(_a(function(){ou(null,null,e,!1,function(){e._reactRootContainer=null,e[lo]=null})}),!0):!1};Dr.unstable_batchedUpdates=np;Dr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!nu(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return ou(e,t,r,!1,n)};Dr.version="18.3.1-next-f1338f8080-20240426"});var kn=bn((Ow,O6)=>{"use strict";function A6(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(A6)}catch(e){console.error(e)}}A6(),O6.exports=H6()});var Fr=bn(up=>{"use strict";var B6=kn();up.createRoot=B6.createRoot,up.hydrateRoot=B6.hydrateRoot;var Bw});var z6=bn(au=>{"use strict";var M$=F(),I$=Symbol.for("react.element"),N$=Symbol.for("react.fragment"),D$=Object.prototype.hasOwnProperty,F$=M$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,H$={key:!0,ref:!0,__self:!0,__source:!0};function K6(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)D$.call(t,n)&&!H$.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:I$,type:e,key:a,ref:i,props:o,_owner:F$.current}}au.Fragment=N$;au.jsx=K6;au.jsxs=K6});var be=bn((Vw,V6)=>{"use strict";V6.exports=z6()});var s7=bn(i7=>{"use strict";var Qi=F();function ky(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Py=typeof Object.is=="function"?Object.is:ky,Ty=Qi.useState,Ly=Qi.useEffect,Ry=Qi.useLayoutEffect,_y=Qi.useDebugValue;function My(e,t){var r=t(),n=Ty({inst:{value:r,getSnapshot:t}}),o=n[0].inst,a=n[1];return Ry(function(){o.value=r,o.getSnapshot=t,Kp(o)&&a({inst:o})},[e,r,t]),Ly(function(){return Kp(o)&&a({inst:o}),e(function(){Kp(o)&&a({inst:o})})},[e]),_y(r),r}function Kp(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Py(e,r)}catch{return!0}}function Iy(e,t){return t()}var Ny=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Iy:My;i7.useSyncExternalStore=Qi.useSyncExternalStore!==void 0?Qi.useSyncExternalStore:Ny});var c7=bn((rP,l7)=>{"use strict";l7.exports=s7()});var Y6=S(F(),1),X6=S(Fr(),1);var Fi=S(F(),1),Ar=S(be(),1),ee=e=>`var(--semantic-color-${e})`;var Hr=e=>`var(--contextual-layout-units-${e})`,gl=e=>`var(--semantic-type-${e})`,su={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"}}};su.Naked=su.Outlined;var lu={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")}}};lu.Naked=lu.Outlined;var W6=lu,U6=lu,j6={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")}},zn={radius:Hr("button-cornerradius"),border:Hr("button-borderwidth-rest"),borderEmphasis:Hr("button-borderwidth-selected"),gap:Hr("button-gap-horizontal"),touch:{pad:6,min:48},focusOutline:`${Hr("focusring-width")} solid ${ee("stroke-focusring-base")}`,focusOffset:"0"},iu=(e,t,r)=>({fontFamily:gl("family-brand"),fontSize:gl(`font-size-${e}`),fontWeight:gl("weight-medium"),lineHeight:gl(`line-height-${t}`),letterSpacing:gl(`letter-spacing-${r}`)}),G6={L:{padH:Hr("button-padding-large-horizontal"),padV:Hr("button-padding-large-vertical"),iconWrap:26,iconInner:18,...iu("m","m-single","wide")},M:{padH:Hr("button-padding-medium-horizontal"),padV:Hr("button-padding-medium-vertical"),iconWrap:24,iconInner:16,...iu("r","r-single","wide")},S:{padH:Hr("button-padding-small-horizontal"),padV:Hr("button-padding-small-vertical"),iconWrap:20,iconInner:14,...iu("s","s-single","spacious")},XS:{padH:Hr("button-padding-xsmall-horizontal"),padV:Hr("button-padding-xsmall-vertical"),iconWrap:16,iconInner:12,...iu("xs","xs-single","extraspacious")}},A$=[{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}],Z6=!1;function O$(){if(Z6||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),Z6=!0}function B$({size:e=20}){return(0,Ar.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:A$.map((t,r)=>(0,Ar.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:g,className:h="",...$}){let[y,m]=(0,Fi.useState)(!1),[f,b]=(0,Fi.useState)(!1),[v,x]=(0,Fi.useState)(!1);(0,Fi.useEffect)(()=>{O$()},[]);let w=u==="loading",k=u==="disabled",E=d||c||k||w,P=(()=>{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":y?"hover":"base"})(),T=!E&&(u==="focused"||v),D=su[e]?.[r]||su.Fill.Primary,I=W6[e]?.[r]||W6.Fill.Primary,R=U6[e]?.[r]||U6.Fill.Primary,C=j6[r]||j6.Primary,L=G6[t]||G6.M,K=D[P],_=I[P],q=R[P],N=C[P],X=e==="Outlined",Q={display:"inline-flex",alignItems:"center",justifyContent:"center",paddingLeft:L.padH,paddingRight:L.padH,paddingTop:L.padV,paddingBottom:L.padV,borderRadius:zn.radius,backgroundColor:K,border:X?`${!E&&!c&&(P==="hover"||P==="pressed"||T)?zn.borderEmphasis:zn.border} solid ${N}`:"none",gap:0,outline:T?zn.focusOutline:"none",outlineOffset:T?zn.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:q},z=`calc(${zn.gap} / 2)`,j={fontFamily:L.fontFamily,fontWeight:L.fontWeight,lineHeight:L.lineHeight,letterSpacing:L.letterSpacing,fontSize:L.fontSize,color:_,whiteSpace:"nowrap",paddingLeft:z,paddingRight:z,transition:"color var(--motion-duration-2) var(--motion-easing-standard)",userSelect:"none"},G={display:"inline-flex",alignItems:"center",justifyContent:"center",width:L.iconWrap,height:L.iconWrap,flexShrink:0,fontSize:L.iconInner,color:q,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:zn.touch.pad,minHeight:zn.touch.min,minWidth:zn.touch.min,background:"transparent",border:"none",borderRadius:zn.radius,cursor:E?"not-allowed":"pointer",outline:"none",opacity:1,textDecoration:"none"};return(0,Ar.jsx)("button",{type:"button",...$,onClick:E?void 0:p,disabled:E,"aria-label":g||(l&&!(c||w)?void 0:n),"aria-busy":c||w||void 0,"aria-disabled":E||void 0,onMouseEnter:()=>!E&&m(!0),onMouseLeave:()=>{m(!1),b(!1)},onMouseDown:()=>!E&&b(!0),onMouseUp:()=>b(!1),onFocus:ae=>{ae.target.matches?.(":focus-visible")&&x(!0)},onBlur:()=>{x(!1),b(!1)},onKeyDown:ae=>{(ae.key===" "||ae.key==="Enter")&&!E&&b(!0)},onKeyUp:()=>b(!1),className:h,style:M,children:(0,Ar.jsx)("span",{style:Q,className:"pw-button__container",children:c||w?(0,Ar.jsx)(B$,{size:L.iconInner*1.2}):(0,Ar.jsxs)(Ar.Fragment,{children:[i&&(0,Ar.jsx)("span",{style:G,className:"material-symbols-rounded pw-button__icon pw-button__icon--leading","aria-hidden":"true",children:o||"add"}),l&&(0,Ar.jsx)("span",{style:j,className:"pw-button__label",children:n}),s&&(0,Ar.jsx)("span",{style:G,className:"material-symbols-rounded pw-button__icon pw-button__icon--trailing","aria-hidden":"true",children:a||"arrow_forward"})]})})})}var K$=`
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$=`
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
- }`,z$={"show-leading-icon":"showLeadingIcon","show-trailing-icon":"showTrailingIcon","show-text":"showText",loading:"loading",disabled:"disabled"},V$=["show-leading-icon","show-trailing-icon","loading","disabled"],fp=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=K$,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-btn-root",t.appendChild(this._mount),this._reactRoot=(0,X6.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 V$)if(this.hasAttribute(n)){let o=this.getAttribute(n);t[z$[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(Y6.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",fp);var m8=S(F(),1),h8=S(Fr(),1);var Pt=S(F(),1);var Or="pw-focus-ring",Hi="pw-focus-ring pw-focus-ring--inset",cu="pw-focus-ring pw-focus-ring--replace",bl="pw-focus-ring pw-focus-ring--layer",Na=`
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=`
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 hp=S(F(),1);var Yw=S(F(),1),J6=S(be(),1);var pp={wght:400,GRAD:0,opsz:24},Q6={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:(Q6[t]||Q6.M).frame;return(0,J6.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' ${pp.wght}, 'GRAD' ${pp.GRAD}, 'opsz' ${pp.opsz}`,...i},...s,children:e})}var du=S(F(),1),e8="(prefers-reduced-motion: reduce)",W$=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(e8).matches:!1;function zt(){let[e,t]=(0,du.useState)(W$);return(0,du.useEffect)(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;let r=window.matchMedia(e8);t(r.matches);let n=o=>t(o.matches);return r.addEventListener("change",n),()=>r.removeEventListener("change",n)},[]),e}var fu=S(be(),1);Xo();var $l=e=>`var(--semantic-color-${e})`,U$=e=>`var(--semantic-layout-units-${e})`,uu=e=>`var(--motion-${e})`,t8={Small:{box:36,layer:24,glyph:14},Base:{box:44,layer:28,glyph:16},Large:{box:48,layer:32,glyph:18}},mp={rest:$l("foreground-action-secondary-rest"),hover:$l("foreground-action-secondary-hover"),pressed:$l("foreground-action-secondary-pressed"),layerHover:$l("fill-action-primary-subtle-hover"),layerPress:$l("fill-action-primary-subtle-pressed")};function qo({name:e,size:t="Small",label:r,fill:n=0,color:o,states:a,onClick:i,disabled:s,className:l="",style:c,...d}){let u=zt(),[p,g]=(0,hp.useState)(!1),[h,$]=(0,hp.useState)(!1),y=t8[t]||t8.Small,m={...mp,...a},f=s?mp.rest:h?m.pressed:p?m.hover:o||mp.rest;return(0,fu.jsx)("button",{type:"button","aria-label":r,title:r,disabled:s,onClick:i,onMouseEnter:()=>g(!0),onMouseLeave:()=>{g(!1),$(!1)},onMouseDown:()=>$(!0),onMouseUp:()=>$(!1),onBlur:()=>$(!1),className:`pw-action-icon ${bl} ${l}`,"data-size":t,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:y.box,height:y.box,flexShrink:0,boxSizing:"border-box",background:"transparent",border:"none",padding:0,cursor:s?"default":"pointer",opacity:s?.5:1,color:f,...c},...d,children:(0,fu.jsx)("span",{"data-pw-ring-target":"",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:y.layer,height:y.layer,borderRadius:U$("cornerradius-base"),background:h?m.layerPress:p?m.layerHover:"transparent",transition:u?"none":`background ${uu("duration-2")} ${uu("easing-standard")}`},children:(0,fu.jsx)(Se,{name:e,size:y.glyph,fill:n,style:{transition:u?"none":`color ${uu("duration-2")} ${uu("easing-standard")}`}})})})}var wr=S(F(),1);var je=S(be(),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},j$={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 r8({iconName:e,iconSize:t=Ie.iconSize,iconColor:r,label:n,onClick:o,style:a}){let[i,s]=(0,wr.useState)(!1),[l,c]=(0,wr.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 gp({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:g="Search",onSearchIconClick:h,inputRef:$}){let[y,m]=(0,wr.useState)(!1),[f,b]=(0,wr.useState)(!1),v=(0,wr.useRef)(null),x=$||v,w=e.length>0,k=a,E=i&&!a,P=()=>k?{border:`1px solid ${Ve.borderDisabled}`}:E?{border:`1px solid ${Ve.borderError}`}:n||f||w?{border:`1px solid ${Ve.borderActive}`}:y?{border:`1px solid ${Ve.borderHover}`}:{border:`0.75px solid ${Ve.borderIdle}`},T=k?Ve.iconDisabled:E?Ve.iconError:y||f?Ve.iconHover:Ve.iconIdle,D=R=>{R.key==="Enter"&&s?.(e)},I=()=>{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)",...P()},children:[(0,je.jsx)("div",{style:{display:"flex",alignItems:"center",flexShrink:0},children:(0,je.jsx)(r8,{iconName:"search",iconColor:T,label:g,onClick:h||(()=>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:R=>c?.(R.target.value),onFocus:()=>b(!0),onBlur:()=>b(!1),onKeyDown:D,style:{...j$,flex:1,minWidth:0,background:"transparent",border:"none",outline:"none",color:w?Ve.textValue:Ve.textPlaceholder}}),w&&(0,je.jsx)(r8,{iconName:"cancel",iconColor:T,label:"Clear search",onClick:I}),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:T,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 bp({expanded:e,onExpandChange:t,searchProps:r={},onSearchOpen:n,breakpoint:o="desktop",className:a=""}){let i=(0,wr.useRef)(null),s=(0,wr.useRef)(null),[l,c]=(0,wr.useState)(!1),d=e!==void 0,[u,p]=(0,wr.useState)(!1),g=d?e:u,h=r.value!==void 0,[$,y]=(0,wr.useState)(""),m=h?r.value:$,f=x=>{h||y(x),r.onChange?.(x)},b=()=>{d||p(!0),t?.(!0),n?.(),requestAnimationFrame(()=>s.current?.focus())},v=()=>{d||p(!1),t?.(!1),setTimeout(()=>i.current?.focus(),0)};return(0,wr.useEffect)(()=>{if(!g)return;let x=w=>{w.key==="Escape"&&v()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[g]),(0,je.jsxs)("div",{className:a,style:{position:g?"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:Or,type:"button","aria-label":"Open search","aria-expanded":g,onClick:b,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})})}),g&&(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)(gp,{...r,value:m,onChange:f,inputRef:s,onSearch:x=>r.onSearch?.(x)})})]})]})}var $p=S(F(),1);var ft=S(be(),1);var G$=[{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"}],vp=[{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 Z$(){return(0,ft.jsx)("div",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:G$.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 Y$({org:e,active:t,onSelect:r}){let n=zt(),[o,a]=(0,$p.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)(Z$,{})]}),(0,ft.jsx)(Se,{name:"chevron_right",size:12,style:{color:mo.icon,flexShrink:0}})]})}function yp({orgs:e=vp,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)(Y$,{org:s,active:s.id===t,onSelect:a},s.id))})]})}var a8=S(F(),1),ho=S(be(),1),X$={"--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)"},i8=["people","giving","service-planning","streaming","safety","mobile","accounting","communications","home","websites","media","equip"],s8={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 xp=16,n8={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"]]}},o8={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 q$(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 vl({module:e,size:t=xp,color:r="two-color",treatment:n="base",title:o,style:a,...i}){let l=`pw-equip-${(0,a8.useId)().replace(/[^a-zA-Z0-9_-]/g,"")}`,d=(n8[n]||n8.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(([$])=>$==="g"),g=u==="mono"?{}:X$,h=o8[n]||o8.base;return(0,ho.jsxs)("svg",{width:t,height:t,viewBox:`0 0 ${xp} ${xp}`,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",...g,...a},...i,children:[o&&(0,ho.jsx)("title",{children:o}),p&&(0,ho.jsx)("defs",{children:(0,ho.jsxs)("linearGradient",{id:l,x1:h.x1,y1:h.y1,x2:h.x2,y2:h.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:y,fill:q$(e,$,u,l)},m))]})}var B=S(be(),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 l8=e=>`var(--semantic-color-${e})`,pt=l8,go=l8,Cp=e=>`var(--responsive-layout-${e})`,Ge=e=>`var(--semantic-layout-units-${e})`,Q$=e=>`var(--contextual-layout-units-${e})`,Y={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")},A={navPadH:Cp("topnav-padding-horizontal"),navPadV:Cp("topnav-padding-vertical"),navH:Q$("topnav-height"),navGap:Cp("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")},c8=new Set(["the","a","an","of","in","at","for","and","or","but"]);function J$(e){if(!e)return"???";let t=e.replace(/-/g," ").split(/\s+/).filter(r=>!c8.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 ev=["ville","field","burg","burgh","berg","town","port","ford","wood","land","dale","view","gate","bridge","worth","shire"];function tv(e){if(!e)return"";let t=e.replace(/-/g," ").split(/\s+/).filter(o=>!c8.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 ev)if(n.endsWith(o)&&r.length>o.length+1)return(r[0]+o[0]).toUpperCase();return(r[0]+r[r.length-1]).toUpperCase()}function rv(e,t){let r=J$(e);return t?`${r} | ${tv(t)}`:r}var Sp=i8.map(e=>({id:e,label:s8[e]})),nv=[{icon:"help",label:"Help"},{icon:"settings",label:"Settings"},{icon:"notifications_unread",label:"Notifications"}],ov=(e,t)=>!!e&&(typeof t.composedPath=="function"?t.composedPath().includes(e):e.contains(t.target));function wp({icon:e,label:t,onClick:r}){let[n,o]=(0,Pt.useState)(!1),[a,i]=(0,Pt.useState)(!1),s=a?Y.controlPressed:n?Y.controlHover:"transparent",l=a?Y.monoPressed:n?Y.monoHover:Y.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:bl,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,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)(Se,{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||nv).map(a=>({...a,onClick:a.onClick||(a.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)(wp,{icon:"more_vert",label:"More actions",onClick:n})}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center"},children:o.map((a,i)=>(0,B.jsx)(wp,{...a},`${a.icon}-${i}`))})}var d8={hover:Y.monoHover,pressed:Y.monoPressed,layerHover:Y.controlHover,layerPress:Y.controlPressed};function u8({user:e,open:t,onToggle:r,mobile:n=!1}){let[o,a]=(0,Pt.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:bl,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: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?Y.avatarBgPressed:o?Y.avatarBgHover:Y.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?Y.avatarTextPressed:o?Y.avatarTextHover:Y.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 iv({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||rv(e.name,o?e.campus:null):e.name,u=!n&&o&&e.campus?e.campus:null,p=t?Y.monoPressed:a?Y.monoHover:Y.monoBase,g={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)"},h={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:cu,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: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?Y.controlPressed:a?Y.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?Y.orgStrokePressed:a?Y.orgStrokeHover:Y.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 ${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,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:{...g,...h,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:{...g,...h,maxWidth:A.orgCampusMax,flexShrink:0,color:t?Y.monoPressed:a?Y.monoHover:Y.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)(Se,{name:"expand_more",size:A.chevronGlyph,style:{color:Y.orgChevron}})})]})})}function sv({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($=>$.id===t)||e[0],u=o==="desktop",p=a==="static",g=p?Y.monoBase:r||l?Y.monoPressed:i?Y.monoHover:Y.monoBase,h=(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:Y.monoBase},children:(0,B.jsx)(vl,{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:g,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:Y.monoBase,fontFamily:"inherit",cursor:"default"},children:h})}):(0,B.jsx)("div",{style:{position:"relative",padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:Or,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?Y.controlPressed:i?Y.controlHover:"transparent",border:"none",boxSizing:"border-box",cursor:"pointer",color:Y.monoBase,fontFamily:"inherit",transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[h,(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)(Se,{name:"expand_more",size:A.chevronGlyph,style:{color:Y.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:Y.panelBg,border:`1px solid ${Y.panelBorder}`,borderRadius:A.radius,boxShadow:Y.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 ${Y.panelDivider}`,marginBottom:4},children:[(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-s)",fontWeight:600,color:Y.itemText},children:e.name}),(0,B.jsx)("div",{style:{fontSize:"var(--semantic-type-font-size-xxs)",color:Y.itemMeta,marginTop:1},children:e.email})]}),["Profile settings","Settings"].map(t=>(0,B.jsx)("button",{className:Hi,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:Y.itemTextBase,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:t},t)),(0,B.jsx)("button",{className:Hi,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:Y.signOut,background:"transparent",border:"none",width:"100%",textAlign:"left",cursor:"pointer"},children:"Sign out"})]})}var lv={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 cv({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:lv[e].map((t,r)=>(0,B.jsx)("path",{d:t},r))})}function dv(){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 Ai={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,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 uv({label:e,active:t,brandItem:r,tablet:n,onClick:o}){let{hov:a,press:i,handlers:s}=pu(),l=t?Y.controlHover:i?Y.controlPressed:a?Y.searchFill:"transparent",c=t||i?Y.monoPressed:a?Y.monoHover:Y.monoBase,d=r?t?Ai.sectionSm:Ai.menuLarge:t?Ai.localBase:Ai.menuBase;return(0,B.jsx)("button",{className:Or,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 ${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 fv({org:e,open:t,onToggle:r,compact:n}){let{hov:o,press:a,handlers:i}=pu(),s=t||a?Y.controlPressed:o?Y.controlHover:"transparent";return(0,B.jsx)("div",{style:{position:"relative",padding:A.slotPadV,minWidth:0},children:(0,B.jsxs)("button",{className:Or,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: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?`${Ge("padding-xtight")} ${Ge("padding-xxxtight")} ${Ge("padding-xtight")} ${Ge("padding-xtight")}`:`${A.orgPadV} ${A.orgPadV} ${A.orgPadV} ${A.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) ${Y.orgStroke}`,transition:"background var(--motion-duration-3) var(--motion-easing-standard)"},children:[(0,B.jsx)("span",{"aria-hidden":"true",style:{...Ai.menuBase,color:Y.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)(Se,{name:"expand_more",size:A.chevronGlyph,style:{color:Y.orgChevron}})})]})})}function pv({label:e,open:t,onToggle:r}){let{hov:n,press:o,handlers:a}=pu(),i=t||o?Y.controlPressed:n?Y.controlHover:"transparent";return(0,B.jsx)("div",{style:{padding:`${A.slotPadV} ${A.slotPadNarrow}`},children:(0,B.jsxs)("button",{className:Or,type:"button",onClick:r,"aria-haspopup":"true","aria-expanded":t,...a,style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxxtight)",height:A.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) ${Y.orgStroke}`,color:Y.monoBase},children:[(0,B.jsx)("span",{style:{...Ai.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)(Se,{name:"expand_more",size:A.chevronGlyph,style:{color:Y.monoBase}})})]})})}function mv({icon:e,label:t,badge:r,onClick:n}){let{hov:o,press:a,handlers:i}=pu();return(0,B.jsxs)("button",{className:Or,type:"button","aria-label":t,onClick:n,...i,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:a?Y.controlPressed:o?Y.controlHover:"transparent",color:a?Y.monoPressed:o?Y.monoHover:Y.monoBase,transition:"background var(--motion-duration-2) var(--motion-easing-standard), color var(--motion-duration-2) var(--motion-easing-standard)"},children:[(0,B.jsx)(cv,{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:pt("fill-static-attention-strong"),boxShadow:`inset 0 0 0 var(--semantic-layout-units-borderwidth-medium) ${Y.navBg}`}})]})}var hv=[{id:"newco",label:"NewCo",brand:!0},{id:"people",label:"People"},{id:"giving",label:"Giving"},{id:"financials",label:"Financials"},{id:"digital",label:"Digital"}],gv=[{icon:"search",label:"Search"},{icon:"help",label:"Help"},{icon:"gear",label:"Settings"},{icon:"bell",label:"Notifications",badge:!0}];function bv({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:g,onSideNavToggle:h,onMore:$}){let y=r==="mobile",m=r==="tablet",f=d.find(x=>x.brand)||d[0],b=m?g.filter(x=>x.icon==="search"||x.icon==="bell"):g,v=(0,B.jsx)(fv,{org:n,open:a==="org",onToggle:()=>{i("org"),c?.()},compact:y||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} ${Ge(y?"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:y?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:y?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(qo,{name:"menu",size:"Large",label:"Open navigation menu",color:Y.monoBase,states:d8,onClick:h}),(0,B.jsx)(pv,{label:f.label,open:a==="pillar",onToggle:()=>i("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 ${Ge("padding-xtight")}`,borderRadius:A.radius,color:Y.monoBase},children:(0,B.jsx)(dv,{})}),(0,B.jsx)("span",{"aria-hidden":"true",style:{width:1,height:28,borderRadius:1,background:Y.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:Ge("padding-xtight")},children:d.map(x=>(0,B.jsx)(uv,{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:y||m?"var(--semantic-layout-units-gap-xxtight)":"var(--semantic-layout-units-gap-tight)"},children:[!y&&v,y?(0,B.jsx)(wp,{icon:"more_vert",label:"More actions",onClick:$}):(0,B.jsx)("div",{style:{display:"flex",alignItems:"center",gap:"var(--semantic-layout-units-gap-xxtight)"},children:b.map(x=>(0,B.jsx)(mv,{...x},x.label))}),(0,B.jsx)(u8,{user:o,open:a==="profile",onToggle:()=>i("profile"),mobile:y}),a==="profile"&&(0,B.jsx)(f8,{user:o})]}),a==="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)(yp,{orgs:l,activeOrgId:n.id,onSelect:x=>{s(),c?.(x)}})})]})})}function p8({modules:e=Sp,activeModuleId:t="home",org:r={id:"shc",name:"Sacred Heart Church-ITD",campus:"Knoxville",initials:"SH"},orgs:n=vp,user:o={name:"Jo Lopez",initials:"JL",email:"jo@sacredheart.org"},breakpoint:a="desktop",brand:i="amplify",pillars:s=hv,activePillarId:l,onPillarSelect:c,newcoActions:d=gv,showCampus:u=!1,moduleSwitcherType:p="interactive",initialOpenPanel:g=null,onModuleSelect:h,onOrgSelect:$,onSearchOpen:y,onSideNavToggle:m,actions:f,showSearch:b=!0,showActions:v=!0,onNotifications:x,onMore:w,className:k=""}){let[E,P]=(0,Pt.useState)(g),[T,D]=(0,Pt.useState)(t),[I,R]=(0,Pt.useState)(!1),[C,L]=(0,Pt.useState)(""),K=(0,Pt.useRef)(null),_=a==="mobile",q=a==="tablet",N=j=>P(G=>G===j?null:j),X=()=>P(null);(0,Pt.useEffect)(()=>{let j=G=>{ov(K.current,G)||X()};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),(0,Pt.useEffect)(()=>{let j=G=>{G.key==="Escape"&&(X(),R(!1))};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[]);let Q=j=>{D(j),X(),h?.(j)},z=I;return i==="newco"?(0,B.jsx)(bv,{navRef:K,className:k,breakpoint:a,org:r,user:o,orgs:n,openPanel:E,toggle:N,close:X,onOrgSelect:$,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:K,"aria-label":"Global navigation",className:k,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:_?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[_&&(0,B.jsx)(qo,{name:"menu",size:"Large",label:"Open navigation menu",color:Y.monoBase,states:d8,onClick:m}),(0,B.jsx)(sv,{modules:e,activeId:T,open:E==="module",onToggle:()=>N("module"),breakpoint:a,type:p}),E==="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:Y.panelBg,border:`1px solid ${Y.panelBorder}`,borderRadius:A.radius,boxShadow:Y.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===T,children:(0,B.jsxs)("button",{className:Hi,onClick:()=>Q(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===T?Y.itemText:Y.itemTextBase,fontSize:"var(--semantic-type-font-size-s)",fontWeight:j.id===T?500:400,background:j.id===T?Y.activeItem:"transparent",border:"none",fontFamily:"inherit",cursor:"pointer"},children:[(0,B.jsx)(vl,{module:j.id,size:18}),j.label]})},j.id))}),(0,B.jsx)(iv,{org:r,open:E==="org",onToggle:()=>{N("org"),$?.()},mobile:_,showCampus:u}),E==="org"&&(0,B.jsx)("div",{style:{position:"absolute",top:"calc(100% + 4px)",left:_?A.navPadH:`calc(${A.navPadH} + 40px)`,zIndex:300,animation:"tnDropIn var(--motion-duration-4) var(--motion-easing-spring) both"},children:(0,B.jsx)(yp,{orgs:n,activeOrgId:r.id,onSelect:j=>{X(),$?.(j)}})})]}),(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:_?0:"var(--semantic-layout-units-gap-tight)",flexShrink:0},children:[b&&(0,B.jsx)(bp,{expanded:!1,onExpandChange:R,breakpoint:a,onSearchOpen:y,searchProps:{value:C,onChange:L,onClear:()=>L("")}}),v&&(0,B.jsx)(av,{breakpoint:a,actions:f,onNotifications:x,onMore:w}),(0,B.jsx)(u8,{user:o,open:E==="profile",onToggle:()=>N("profile"),mobile:_}),E==="profile"&&(0,B.jsx)(f8,{user:o})]}),z&&(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:Or,type:"button","aria-label":"Back",onClick:()=>R(!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:Y.monoBase},children:(0,B.jsx)(Se,{name:"arrow_back",size:A.takeoverExitGlyph,style:{color:Y.monoBase}})}),(0,B.jsx)("div",{style:{flex:1,minWidth:0},children:(0,B.jsx)(gp,{value:C,onChange:L,onClear:()=>L(""),inputRef:j=>j&&j.focus(),placeholder:"Search\u2026"})})]})]})})}p8.Search=bp;var mu=p8;var $v=`
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=`
74
74
  :host { display: block; }
75
75
  :host([hidden]) { display: none; }
76
76
 
@@ -125,37 +125,37 @@ 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
- }`,vv=["active-module-id","breakpoint","module-switcher-type","hide-search","hide-actions"],Ep=class extends HTMLElement{static get observedAttributes(){return vv}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=$v+Na,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-topnav-root",t.appendChild(this._mount),this._reactRoot=(0,h8.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(m8.default.createElement(mu,{...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",Ep);var Lc=S(F(),1),N9=S(Fr(),1);var rt=S(F(),1);var Br=S(F(),1);var bo=S(be(),1),ir={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 hu({children:e,className:t="",style:r={},viewClassName:n="",viewStyle:o={}}){let a=zt(),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,g]=(0,Br.useState)(!1),[h,$]=(0,Br.useState)(!1),y=(0,Br.useCallback)(()=>{let P=i.current;if(!P)return;let{scrollHeight:T,clientHeight:D,scrollTop:I}=P;if(T<=D+1){u(L=>L.show?{...L,show:!1}:L);return}let R=Math.max(ir.thumbMin,D/T*D),C=I/(T-D)*(D-R);u({h:R,top:C,show:!0})},[]);(0,Br.useEffect)(()=>{y();let P=i.current;if(!P||typeof ResizeObserver>"u")return;let T=new ResizeObserver(y);return T.observe(P),Array.from(P.children).forEach(D=>T.observe(D)),()=>T.disconnect()},[e,y]);let m=()=>{clearTimeout(l.current),l.current=setTimeout(()=>{!s.current&&!c.current&&g(!1)},ir.idleHideMs)},f=()=>{g(!0),m()},b=()=>{y(),f()},v=P=>{P.currentTarget.getBoundingClientRect().right-P.clientX<=ir.grabZone?(c.current=!0,g(!0),clearTimeout(l.current)):c.current&&(c.current=!1,m())},x=()=>{c.current=!1,s.current||m()},w=P=>{P.preventDefault();let T=i.current;if(!T)return;s.current={startY:P.clientY,startTop:T.scrollTop},$(!0),g(!0),clearTimeout(l.current);let D=R=>{let{scrollHeight:C,clientHeight:L}=T,K=Math.max(ir.thumbMin,L/C*L),_=(C-L)/(L-K);T.scrollTop=s.current.startTop+(R.clientY-s.current.startY)*_},I=()=>{s.current=null,$(!1),document.removeEventListener("mousemove",D),document.removeEventListener("mouseup",I),f()};document.addEventListener("mousemove",D),document.addEventListener("mouseup",I)},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:b,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:ir.gutter,width:ir.thumbWidth,height:E,borderRadius:ir.thumbRadius,background:h?ir.thumbHover:ir.thumbRest,backdropFilter:ir.thumbBlur,WebkitBackdropFilter:ir.thumbBlur,boxShadow:ir.thumbEdge,opacity:p?1:0,transition:a?"none":p?ir.fadeIn:ir.fadeOut,pointerEvents:"none",zIndex:5}}),(0,bo.jsx)("div",{"aria-hidden":"true",className:"pds-scrollable__grab",onMouseDown:w,onMouseEnter:()=>$(!0),onMouseLeave:()=>$(!1),style:{position:"absolute",top:k,right:0,width:ir.grabZone,height:E,pointerEvents:p?"auto":"none",zIndex:6,background:"transparent"}})]})]})}var Df=S(kn(),1);var tt=S(F(),1),P9=S(kn(),1);var Lr=S(F(),1);function qt(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}var g8=S(F(),1),ce=typeof document<"u"?g8.default.useLayoutEffect:()=>{};var It=S(F(),1),gu={prefix:String(Math.round(Math.random()*1e10)),current:0},b8=It.default.createContext(gu),yv=It.default.createContext(!1);var xv=!!(typeof window<"u"&&window.document&&window.document.createElement),kp=new WeakMap;function Cv(e=!1){let t=(0,It.useContext)(b8),r=(0,It.useRef)(null);if(r.current===null&&!e){let n=It.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(n){let o=kp.get(n);o==null?kp.set(n,{id:t.current,state:n.memoizedState}):n.memoizedState!==o.state&&(t.current=o.id,kp.delete(n))}r.current=++t.current}return r.current}function wv(e){let t=(0,It.useContext)(b8),r=Cv(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function Sv(e){let t=It.default.useId(),[r]=(0,It.useState)(Qo()),n=r?"react-aria":`react-aria${gu.prefix}`;return e||`${n}-${t}`}var $8=typeof It.default.useId=="function"?Sv:wv;function Ev(){return!1}function kv(){return!0}function Pv(e){return()=>{}}function Qo(){return typeof It.default.useSyncExternalStore=="function"?It.default.useSyncExternalStore(Pv,Ev,kv):(0,It.useContext)(yv)}var Jo=S(F(),1);function v8(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)});ce(()=>{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(F(),1),Tv=!!(typeof window<"u"&&window.document&&window.document.createElement),Bi=new Map,Oi;typeof FinalizationRegistry<"u"&&(Oi=new FinalizationRegistry(e=>{Bi.delete(e)}));var Pp=new WeakMap;function yt(e){let[t,r]=(0,$o.useState)(e),n=(0,$o.useRef)(null),o=$8(t),a=(0,$o.useRef)(null),i=Pp.get(a);if(Oi&&i!==o&&(i!=null&&Oi.unregister(a),Oi.register(a,o,a),Pp.set(a,o)),Tv){let s=Bi.get(o);s&&!s.includes(n)?s.push(n):Bi.set(o,[n])}return ce(()=>{let s=o;return()=>{Oi&&(Oi.unregister(a),Pp.delete(a)),Bi.delete(s)}},[o]),(0,$o.useEffect)(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),o}function y8(e,t){if(e===t)return e;let r=Bi.get(e);if(r)return r.forEach(o=>o.current=t),t;let n=Bi.get(t);return n?(n.forEach(o=>o.current=e),e):t}function Vn(e=[]){let t=yt(),[r,n]=v8(t),o=(0,$o.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return ce(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=x8(o,t);return r||=typeof a=="function",a});if(r)return()=>{n.forEach((o,a)=>{typeof o=="function"?o():x8(e[a],null)})}}}function x8(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function C8(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=C8(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Lv(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=C8(e))&&(n&&(n+=" "),n+=t);return n}var w8=Lv;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]=w8(a,i):o==="id"&&a&&i?t.id=y8(a,i):o==="ref"&&a&&i?t.ref=ea(a,i):t[o]=i!==void 0?i:a}}return t}var Nt=S(F(),1);var Da=S(F(),1);function Wn(e){let t=(0,Da.useRef)(null),r=(0,Da.useRef)(void 0),n=(0,Da.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,Da.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 Ki=Symbol("default");function rn({values:e,children:t}){for(let[r,n]of e)t=Nt.default.createElement(r.Provider,{value:n},t);return t}function Vt(e){let{className:t,style:r,children:n,defaultClassName:o,defaultChildren:a,defaultStyle:i,values:s,render:l}=e;return(0,Nt.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 Fa(e,t){let r=(0,Nt.useContext)(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||Ki;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=Fa(r,e.slot)||{},{ref:o,...a}=n,i=Wn((0,Nt.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 zi(e=!0){let[t,r]=(0,Nt.useState)(e),n=(0,Nt.useRef)(!1),o=(0,Nt.useCallback)(a=>{n.current=!0,r(!!a)},[]);return ce(()=>{n.current||r(!1)},[]),[o,t]}function E8(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function Rv(e,t,r){let{render:n,...o}=t,a=(0,Nt.useRef)(null),i=(0,Nt.useMemo)(()=>ea(r,a),[r,a]);ce(()=>{},[e,n]);let s={...o,ref:i};return n?n(s,void 0):Nt.default.createElement(e,s)}var S8={},Je=new Proxy({},{get(e,t){if(typeof t!="string")return;let r=S8[t];return r||(r=(0,Nt.forwardRef)(Rv.bind(null,t)),S8[t]=r),r}});var k8="react-aria-clear-focus",P8="react-aria-focus";var de=e=>_v(e)?e.document:Mv(e)?e:e?.ownerDocument??(typeof document<"u"?document:void 0),Fe=e=>de(e)?.defaultView??(typeof window<"u"?window:void 0);function yl(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function _v(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Mv(e){return yl(e)&&e.nodeType===9}function Ha(e){return yl(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 Iv=!1;function Sr(){return Iv}function fe(e,t){if(!Sr())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:Ha(r)?r=r.host:r=r.parentNode}return!1}var ve=(e=document)=>{if(!Sr())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Z(e){if(Sr()&&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 xl(e,t){if(t===null)return[];t=t??Fe(e);let r=[t];if(!Sr()||!e||e===t)return r;let n="getRootNode"in t?t.getRootNode():null,o=e.getRootNode()??null;for(;Ha(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 bu(e){let t=Dv(de(e));t!==e&&(t&&Nv(t,e),e&&Tp(e,t))}function Nv(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function Tp(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Dv(e){let t=ve(e),r=t?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||t}function sr(e){e.focus({preventScroll:!0})}var Fv=typeof Element<"u"&&"checkVisibility"in Element.prototype;function Hv(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 Av(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 $u(e,t){return Fv?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&Hv(e)&&Av(e,t)&&(!e.parentElement||$u(e.parentElement,e))}var Lp=["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"],Ov=Lp.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Lp.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var Bv=Lp.join(':not([hidden]):not([tabindex="-1"]),');function Vi(e,t){return e.matches(Ov)&&!T8(e)&&(t?.skipVisibilityCheck||$u(e))}function Wi(e){return e.matches(Bv)&&$u(e)&&!T8(e)}function T8(e){let t=e;for(;t!=null;){if(t instanceof Fe(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}var vu=S(F(),1);function wl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function yu(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function xu(e){let t=(0,vu.useRef)({isFocused:!1,observer:null});return ce(()=>{let r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]),(0,vu.useCallback)(r=>{let n=Z(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=wl(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===ve()?null:ve();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 Cl=!1;function L8(e){for(;e&&!Vi(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=Fe(e),r=ve(t.document);if(!r||r===e)return;let n=e?.getRootNode(),o=n!=null&&Ha(n)?n:Fe(e),a=h=>h===e||yl(h)&&fe(e,h),i=h=>h===r||r!=null&&yl(h)&&fe(r,h);Cl=!0;let s=!1,l=h=>{(i(Z(h))||s)&&h.stopImmediatePropagation()},c=h=>{(i(Z(h))||s)&&(h.stopImmediatePropagation(),!e&&!s&&(s=!0,sr(r),p()))},d=h=>{(a(Z(h))||s)&&h.stopImmediatePropagation()},u=h=>{(a(Z(h))||s)&&(h.stopImmediatePropagation(),s||(s=!0,sr(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(g),o.removeEventListener("blur",l,!0),o.removeEventListener("focusout",c,!0),o.removeEventListener("focusin",u,!0),o.removeEventListener("focus",d,!0),Cl=!1,s=!1},g=requestAnimationFrame(p);return p}function Cu(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 Rp(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 Qt=jn(function(){return Rp(/^Mac/i)}),Kv=jn(function(){return Rp(/^iPhone/i)}),_p=jn(function(){return Rp(/^iPad/i)||Qt()&&navigator.maxTouchPoints>1}),vo=jn(function(){return Kv()||_p()}),R8=jn(function(){return Qt()||vo()}),Jt=jn(function(){return Cu(/AppleWebKit/i)&&(vo()||!wu())}),_E=jn(function(){return Jt()&&!wu()&&!zv()}),wu=jn(function(){return Cu(/Chrome|CriOS|CrMo/i)}),yo=jn(function(){return Cu(/Android/i)}),zv=jn(function(){return Cu(/(Firefox|FxiOS)/i)});function Su(e){return e.pointerType===""&&e.isTrusted?!0:yo()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function _8(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 Ui=S(F(),1),Vv=(0,Ui.createContext)({isNative:!0,open:jv,useHref:e=>e});function Aa(){return(0,Ui.useContext)(Vv)}function Wv(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 nn(e,t,r=!0){let{metaKey:n,ctrlKey:o,altKey:a,shiftKey:i}=t,s=Jt()&&Qt()&&!_p()?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});nn.isOpening=r,sr(e),e.dispatchEvent(s),nn.isOpening=!1}nn.isOpening=!1;function Uv(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 jv(e,t){Uv(e,r=>nn(r,t))}function Eu(e){let r=Aa().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 M8(e,t,r,n){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Wv(e.currentTarget,e)&&r&&(e.preventDefault(),t.open(e.currentTarget,e,r,n))}var Np=S(F(),1),Ba=null,El="keyboard",Mp=new Set,Sl=new Map,Oa=!1,ku=!1,Gv={Tab:!0,Escape:!0};function Tu(e,t){for(let r of Mp)r(e,t)}function Zv(e){return!(e.metaKey||!Qt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Pu(e){Oa=!0,!nn.isOpening&&Zv(e)&&(Ba="keyboard",El="keyboard",Tu("keyboard",e))}function ji(e){Ba="pointer",El="pointerType"in e?e.pointerType:"mouse",(e.type==="mousedown"||e.type==="pointerdown")&&(Oa=!0,Tu("pointer",e))}function I8(e){!nn.isOpening&&Su(e)&&(Oa=!0,Ba="virtual",El="virtual")}function N8(e){if(Cl)return;let t=Z(e),r=Fe(t),n=de(t);if(t===r){ku=!0;return}t===n||!e.isTrusted||(!Oa&&!ku&&(Ba="virtual",El="virtual",Tu("virtual",e)),Oa=!1,ku=!1)}function D8(){Cl||(Oa=!1,ku=!0)}function F8(e){let t=ve(de(Z(e)));queueMicrotask(()=>{ve(de(Z(e)))!==t&&ra("keyboard")})}function Ip(e){if(typeof window>"u"||typeof document>"u")return;let t=Fe(e),r=de(e);if(Sl.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Oa=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",Pu,!0),r.addEventListener("keyup",Pu,!0),r.addEventListener("click",I8,!0),r.addEventListener("invalid",F8,!0),t.addEventListener("focus",N8,!0),t.addEventListener("blur",D8,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",ji,!0),r.addEventListener("pointermove",ji,!0),r.addEventListener("pointerup",ji,!0)),t.addEventListener("beforeunload",()=>{H8(e)},{once:!0}),Sl.set(t,{focus:n})}var H8=(e,t)=>{let r=Fe(e),n=de(e);t&&n.removeEventListener("DOMContentLoaded",t),Sl.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Sl.get(r).focus}),n.removeEventListener("keydown",Pu,!0),n.removeEventListener("keyup",Pu,!0),n.removeEventListener("click",I8,!0),n.removeEventListener("invalid",F8,!0),r.removeEventListener("focus",N8,!0),r.removeEventListener("blur",D8,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",ji,!0),n.removeEventListener("pointermove",ji,!0),n.removeEventListener("pointerup",ji,!0)),Sl.delete(r))};function A8(e){let t=de(e),r;return t.readyState!=="loading"?Ip(e):(r=()=>{Ip(e)},t.addEventListener("DOMContentLoaded",r)),()=>H8(e,r)}typeof document<"u"&&A8();function Pn(){return Ba!=="pointer"}function Gn(){return Ba}function ra(e){Ba=e,El=e==="pointer"?"mouse":e,Tu(e,null)}var Yv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Xv(e,t,r){let n=r?Z(r):void 0,o=de(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=ve(o);return e=e||d instanceof i&&!Yv.has(d.type)||d instanceof s||d instanceof l&&d.isContentEditable,!(e&&t==="keyboard"&&r instanceof c&&!Gv[r.key])}function Dp(e,t,r){Ip(),(0,Np.useEffect)(()=>{if(r?.enabled===!1)return;let n=(o,a)=>{Xv(!!r?.isTextInput,o,a)&&e(Pn())};return Mp.add(n),()=>{Mp.delete(n)}},t)}function kl(e,t){let r=Fe(t),n=de(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 Pl=100,Lu=600,me={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},qv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Tl(){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 Qv(e){me.resizeTimeStamp<=e.timeStamp+50&&(me.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(me.resizeTimeout),me.resizeTimeout=window.setTimeout(B8,150))}function B8(){let e=kl("viewport");if(yo()&&e?.includes("overlays-content"))return;let t=performance.now(),r=Tl(),n=t-me.startTimeStamp,o=me.screenHeight-r.height,a=me.screenAngle-r.angle;Math.abs(a)%180&&me.screenWidth-r.height<Pl&&(me.screenWidth=r.width,me.screenHeight=r.height,me.screenAngle=r.angle,o=0),n>Lu&&(window.clearTimeout(me.screenTimeout),me.screenTimeout=window.setTimeout(()=>{let i=document.hasFocus()?ve():null,s=Ka(i),l=Tl();Math.abs(me.screenAngle-l.angle)%180||me.isOpen&&s||(me.screenWidth=l.width,me.screenHeight=l.height,me.screenAngle=l.angle,me.isOpen=!1)},Lu)),n<=Lu&&o>=Pl&&(me.endTimeStamp=t),me.isOpen=o>=Pl}function Jv(){let e=Tl(),t=me.screenAngle-e.angle;if(Math.abs(t)%180&&!me.isOpen){let r=me.screenWidth,n=me.screenHeight;me.screenWidth=n,me.screenHeight=r}me.isOpen||(me.screenAngle=e.angle)}function ey(e){let t=Z(e),r=Ka(t),n=performance.now(),o=Tl(),a=me.screenHeight-o.height;a<Pl&&r&&(me.screenWidth=o.width,me.screenHeight=o.height,me.screenAngle=o.angle,me.startTimeStamp=n),r&&window.clearTimeout(me.screenTimeout),a>=Pl&&r&&(me.endTimeStamp=n)}function O8(){let e=Tl();Lt(window.visualViewport,"resize",Jt()?B8:Qv),Lt(window.screen.orientation,"change",Jv),Lt(window,"focus",ey,{capture:!0,passive:!0}),me.screenWidth=e.width,me.screenHeight=e.height,me.screenAngle=e.angle}typeof document<"u"&&(document.readyState!=="loading"?O8():Lt(document,"DOMContentLoaded",O8));function Ll(){let e=kl("viewport");return yo()&&e?.includes("overlays-content")?!1:me.isOpen?!0:me.startTimeStamp?me.endTimeStamp>=me.startTimeStamp?!0:performance.now()-me.startTimeStamp<=Lu?me.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Ka(e){if(!(e instanceof Element)||!Vi(e))return!1;let t=e instanceof HTMLTextAreaElement,r=e instanceof HTMLElement&&e.isContentEditable,n=e instanceof HTMLInputElement&&!qv.has(e.type);return t||r||n}function za(e){return Qt()?e.metaKey:e.ctrlKey}function Gi(){return me.isOpen}var Zi=S(F(),1),ty=Zi.default.useInsertionEffect??ce;function mt(e){let t=(0,Zi.useRef)(null);return ty(()=>{t.current=e},[e]),(0,Zi.useCallback)((...r)=>{let n=t.current;return n?.(...r)},[])}var K8=S(F(),1);function Rl(e,t,r,n){let o=mt(r),a=r==null;(0,K8.useEffect)(()=>{if(!(a||e.current==null))return Lt(e.current,t,o,n)},[e,t,n,a])}function Ru(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 ry=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),ny=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function z8(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 ry.has(r.script)}let t=e.split("-")[0];return ny.has(t)}var _u=S(F(),1),W8=Symbol.for("react-aria.i18n.locale");function U8(){let e=typeof window<"u"&&window[W8]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:z8(e)?"rtl":"ltr"}}var Fp=U8(),_l=new Set;function V8(){Fp=U8();for(let e of _l)e(Fp)}function j8(){let e=Qo(),[t,r]=(0,_u.useState)(Fp);return(0,_u.useEffect)(()=>(_l.size===0&&window.addEventListener("languagechange",V8),_l.add(r),()=>{_l.delete(r),_l.size===0&&window.removeEventListener("languagechange",V8)}),[]),e?{locale:typeof window<"u"&&window[W8]||"en-US",direction:"ltr"}:t}var Mu=S(F(),1),oy=Mu.default.createContext(null);function lr(){let e=j8();return(0,Mu.useContext)(oy)||e}var ay=Symbol.for("react-aria.i18n.locale"),iy=Symbol.for("react-aria.i18n.strings"),Iu,Yi=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=sy(t,this.strings,this.defaultLocale),this.strings[t]=r),r}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let r=window[ay];if(Iu===void 0){let o=window[iy];if(!o)return null;Iu={};for(let a in o)Iu[a]=new e({[r]:o[a]},r)}let n=Iu?.[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 sy(e,t,r="en-US"){if(t[e])return t[e];let n=ly(e),o=cy(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 ly(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function cy(e){if(Intl.Locale)return new Intl.Locale(e).script}var G8=new Map,Z8=new Map,Ml=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=G8.get(a);i||(i=new Intl.PluralRules(this.locale,{type:n}),G8.set(a,i));let s=i.select(t);return o=r[s]||r.other,typeof o=="function"?o():o}number(t){let r=Z8.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),Z8.set(this.locale,r)),r.format(t)}select(t,r){let n=t[r]||t.other;return typeof n=="function"?n():n}};var X8=S(F(),1),Y8=new WeakMap;function dy(e){let t=Y8.get(e);return t||(t=new Yi(e),Y8.set(e,t)),t}function uy(e,t){return t&&Yi.getGlobalDictionaryForPackage(t)||dy(e)}function q8(e,t){let{locale:r}=lr(),n=uy(e,t);return(0,X8.useMemo)(()=>new Ml(r,n),[r,n])}var cr=S(F(),1),fy=typeof document<"u"||parseInt(cr.default.version,10)>=19?cr.default.useInsertionEffect??cr.default.useLayoutEffect:()=>{};function na(e,t,r){let[n,o]=(0,cr.useState)(e||t),a=(0,cr.useRef)(n),i=(0,cr.useRef)(e!==void 0),s=e!==void 0;(0,cr.useEffect)(()=>{let u=i.current;i.current=s},[s]);let l=s?e:n;fy(()=>{a.current=l});let[,c]=(0,cr.useReducer)(()=>({}),{}),d=(0,cr.useCallback)((u,...p)=>{let g=typeof u=="function"?u(a.current):u;Object.is(a.current,g)||(a.current=g,o(g),c(),r?.(g,...p))},[r]);return[l,d]}var Il=S(F(),1);var Nl=(0,Il.createContext)(null),Q8=(0,Il.createContext)(null);var on=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}},Dl=class extends on{filter(t,r,n){let[o,a]=J8(t,r,this.firstChildKey,n),i=this.clone();return i.firstChildKey=o,i.lastChildKey=a,i}},Hp=class extends on{static{this.type="header"}},Va=class extends on{static{this.type="loader"}},Wa=class extends Dl{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}},Fl=class extends Dl{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}},Hl=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]=J8(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 J8(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 Nu=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}},Al=class e extends Nu{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(){}},Du=class extends Nu{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 Al(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 Al&&(!t.isConnected||t.isHidden)?this.removeNode(t):t.updateChildIndices();for(let t of this.dirtyNodes)t instanceof Al?(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 Xi=S(F(),1);function Ol(e){let{children:t,items:r,idScope:n,addIdAndValue:o,dependencies:a=[]}=e,i=(0,Xi.useMemo)(()=>{},[t]),s=(0,Xi.useMemo)(()=>new WeakMap,[...a,i]);return(0,Xi.useMemo)(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let d=py(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 g=p??l.length;u=(0,Xi.cloneElement)(u,o?{key:g,id:p,value:c}:{key:g}),d&&s.set(d,u)}l.push(u)}return l}else if(typeof t!="function")return t},[t,r,s,n,o])}function py(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var oa=new Map,Fu=new Set;function t7(e){return"propertyName"in e}function my(e){let t=Z(e);if(!t7(e)||!t)return;let r=oa.get(t);r||(r=new Set,oa.set(t,r),t.addEventListener("transitioncancel",Ap,{once:!0})),r.add(e.propertyName)}function Ap(e){let t=Z(e);if(!t7(e)||!t)return;let r=oa.get(t);if(r&&(r.delete(e.propertyName),r.size===0&&(t.removeEventListener("transitioncancel",Ap),oa.delete(t)),oa.size===0))for(let n of Fu)n(!0),Fu.delete(n)}function e7(){Lt(document,"transitionrun",my),Lt(document,"transitionend",Ap)}function hy(){for(let[e]of oa)"isConnected"in e&&!e.isConnected&&oa.delete(e)}typeof document<"u"&&(document.readyState!=="loading"?e7():Lt(document,"DOMContentLoaded",e7));function Hu(e){let t=window.requestAnimationFrame(()=>{if(hy(),oa.size===0)return e(!1);Fu.add(e)});return()=>{window.cancelAnimationFrame(t),Fu.delete(e)}}function an(e){if(!e.isConnected)return;let t=de(e);if(Gn()==="virtual"){let r=ve(t);Hu(()=>{let n=ve(t);(n===r||n===t.body)&&e.isConnected&&sr(e)})}else sr(e)}var Op=S(F(),1);function Ua(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,a=(0,Op.useCallback)(l=>{if(Z(l)===l.currentTarget)return n&&n(l),o&&o(!1),!0},[n,o]),i=xu(a),s=(0,Op.useCallback)(l=>{let c=Z(l),d=de(c),u=d?ve(d):ve();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 gy=new Set(["shift","alt","control","meta","mod"]),by=["Alt","Control","Meta","Shift"];function $y(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(Qt()?"Meta":"Control"),t}function vy(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 r7(e){return by.filter(t=>e.has(t))}function yy(e){let t=e.split("+").reduce((r,n)=>{let o=n.toLowerCase();return gy.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 n7(e){return e.toLowerCase()}var xy={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Cy(e){let t=n7(e),r=xy[t];return r??t}function wy(e){let t=r7($y(e)),r=Cy(e.key);return t.length>0?`${t.join("+")}+${r}`:r}function Sy(e){let t=r7(vy(e)),r=n7(e.key);return(t.length>0?`${t.join("+")}+`:"")+r}function o7(e){let t=new Map;for(let[r,n]of Object.entries(e)){let o=yy(r);t.set(wy(o),n)}return r=>{let n=Sy(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 Er(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:n=!1}=e,o,a;if(t){let i=o7(t),s=Bl(c=>{if(!fe(c.currentTarget,Z(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!r||c.nativeEvent?.isComposing&&!n){c.continuePropagation();return}i(c)}),l=Bl(c=>{if(!fe(c.currentTarget,Z(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 Au(e,t){ce(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var xo=S(F(),1),qi=xo.default.createContext(null);function Ey(e){let t=(0,xo.useContext)(qi)||{};Au(t,e);let{ref:r,...n}=t;return n}function Ou(e,t){let{focusProps:r}=Ua(e),{keyboardProps:n}=Er(e),o=se(r,n),a=Ey(t),i=e.isDisabled?{}:a,s=(0,xo.useRef)(e.autoFocus);(0,xo.useEffect)(()=>{s.current&&t.current&&an(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 Kr=S(F(),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,Kr.createContext)(!1);function a7(e){if((0,Kr.useContext)(Bu))return Kr.default.createElement(Kr.default.Fragment,null,e.children);let r=Kr.default.createElement(Bu.Provider,{value:!0},e.children);return Kr.default.createElement("template",null,r)}function Kl(e){let t=(r,n)=>(0,Kr.useContext)(Bu)?null:e(r,n);return t.displayName=e.displayName||e.name,(0,Kr.forwardRef)(t)}function Bp(){return(0,Kr.useContext)(Bu)}var u7=S(kn(),1),$e=S(F(),1),f7=S(c7(),1),p7=(0,$e.createContext)(!1),zl=(0,$e.createContext)(null);function Vl(e){if((0,$e.useContext)(zl))return e.content;let{collection:r,document:n}=Ay(e.createCollection);return $e.default.createElement($e.default.Fragment,null,$e.default.createElement(a7,null,$e.default.createElement(zl.Provider,{value:n},e.content)),$e.default.createElement(Dy,{render:e.children,collection:r}))}function Dy({collection:e,render:t}){return t(e)}function Fy(e,t,r){let n=Qo(),o=(0,$e.useRef)(n);o.current=n;let a=(0,$e.useCallback)(()=>o.current?r():t(),[t,r]);return(0,f7.useSyncExternalStore)(e,a)}var Hy=typeof $e.default.useSyncExternalStore=="function"?$e.default.useSyncExternalStore:Fy;function Ay(e){let[t]=(0,$e.useState)(()=>new Du(e?.()||new Hl)),r=(0,$e.useCallback)(i=>t.subscribe(i),[t]),n=(0,$e.useCallback)(()=>{let i=t.getCollection();return t.isSSR&&t.resetAfterSSR(),i},[t]),o=(0,$e.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:Hy(r,n,o),document:t}}var zp=(0,$e.createContext)(null);function Oy(e){return class extends on{static{this.type=e}}}function By(e,t,r,n,o,a){typeof e=="string"&&(e=Oy(e));let i=(0,$e.useCallback)(l=>{l?.setProps(t,r,e,n,a)},[t,r,n,a,e]),s=(0,$e.useContext)(zp);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?$e.default.createElement(zp.Provider,{value:l},o):null}return $e.default.createElement(e.type,{ref:i},o)}function ja(e,t){let r=({node:o})=>t(o.props,o.props.ref,o),n=(0,$e.forwardRef)((o,a)=>{let i=(0,$e.useContext)(qi);if(!(0,$e.useContext)(p7)){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=>$e.default.createElement(qi.Provider,{value:i},$e.default.createElement(r,{node:l})))});return n.displayName=t.name,n}function Ky(e){return Ol({...e,addIdAndValue:!0})}var d7=(0,$e.createContext)(null);function Wl(e){let t=(0,$e.useContext)(d7),r=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,o=Ky({...e,idScope:n,dependencies:r});return(0,$e.useContext)(zl)&&(o=$e.default.createElement(zy,null,o)),t=(0,$e.useMemo)(()=>({dependencies:r,idScope:n}),[n,...r]),$e.default.createElement(d7.Provider,{value:t},o)}function zy({children:e}){let t=(0,$e.useContext)(zl),r=(0,$e.useMemo)(()=>$e.default.createElement(zl.Provider,{value:null},$e.default.createElement(p7.Provider,{value:!0},e)),[e]);return Qo()?$e.default.createElement(zp.Provider,{value:t},r):(0,u7.createPortal)(r,t)}var dr=S(F(),1);var Ku=(0,dr.createContext)(null);var Vy={CollectionRoot({collection:e,renderDropIndicator:t}){return h7(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return h7(e,t,r)}};function h7(e,t,r){return Ol({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){if(n.type==="content")return dr.default.createElement(dr.default.Fragment,null);let o=n.render(n);return!r||n.type!=="item"?o:dr.default.createElement(dr.default.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),o,Wy(e,n,r))}})}function Wy(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,dr.isValidElement)(c)&&s.push((0,dr.cloneElement)(c,{key:`${l.key}-after`})),l=l.parentKey!=null?e.getItem(l.parentKey):null}}return s}var aa=(0,dr.createContext)(Vy);function g7(e){return(0,dr.useMemo)(()=>e!=null?new Set([e]):null,[e])}var Uy=new Set(["id"]),jy=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Gy=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Zy=new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"]),b7=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"]),Yy=/^(data-.*)$/;function Be(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)&&(Uy.has(l)||r&&jy.has(l)||n&&Gy.has(l)||o&&Zy.has(l)||a&&(b7.has(l)||l.endsWith("Capture")&&b7.has(l.slice(0,-7)))||i?.has(l)||Yy.test(l))&&(s[l]=e[l]);return s}var Ji="default",Vp="",zu=new WeakMap;function $7(e){if(vo()&&Jt()){if(Ji==="default"){let t=de(e);Vp=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ji="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";zu.set(e,e.style[t]),e.style[t]="none"}}function Wp(e){if(vo()&&Jt()){if(Ji!=="disabled")return;Ji="restoring",setTimeout(()=>{Hu(()=>{if(Ji==="restoring"){let t=de(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Vp||""),Vp="",Ji="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&zu.has(e)){let t=zu.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[r]==="none"&&(e.style[r]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),zu.delete(e)}}var v7=new WeakMap;function Vu(e){let t=de(e),r=v7.get(t);return r??=kl("csp-nonce",t),r!==void 0&&v7.set(t,r),r}var y7=S(F(),1),Ul=y7.default.createContext({register:()=>{}});Ul.displayName="PressResponderContext";var ia=S(F(),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 zP=S(kn(),1),xt=S(F(),1);function Xy(e){let t=(0,xt.useContext)(Ul);if(t){let{register:r,ref:n,...o}=t;e=se(o,e),r()}return Au(t,e.ref),e}var es=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}},x7=Symbol("linkClicked"),C7="react-aria-pressable-style",w7="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,...g}=Xy(e),[h,$]=(0,xt.useState)(!1),y=(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(),b=(0,xt.useCallback)((C,L)=>{let K=y.current;if(s||K.didFirePressStart)return!1;let _=!0;if(K.isTriggeringEvent=!0,n){let q=new es("pressstart",L,C);n(q),_=q.shouldStopPropagation}return r&&r(!0),K.isTriggeringEvent=!1,K.didFirePressStart=!0,$(!0),_},[s,n,r]),v=(0,xt.useCallback)((C,L,K=!0)=>{let _=y.current;if(!_.didFirePressStart)return!1;_.didFirePressStart=!1,_.isTriggeringEvent=!0;let q=!0;if(o){let N=new es("pressend",L,C);o(N),q=N.shouldStopPropagation}if(r&&r(!1),$(!1),t&&K&&!s){let N=new es("press",L,C);t(N),q&&=N.shouldStopPropagation}return _.isTriggeringEvent=!1,q},[s,o,r,t]),x=mt(v),w=(0,xt.useCallback)((C,L)=>{let K=y.current;if(s)return!1;if(a){K.isTriggeringEvent=!0;let _=new es("pressup",L,C);return a(_),K.isTriggeringEvent=!1,_.shouldStopPropagation}return!0},[s,a]),k=mt(w),E=(0,xt.useCallback)(C=>{let L=y.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&v(Ga(L.target,C),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,f(),u||Wp(L.target);for(let K of L.disposables)K();L.disposables=[]}},[u,f,v]),P=mt(E);(0,xt.useEffect)(()=>{s&&y.current.isPressed&&P({currentTarget:y.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let T=(0,xt.useCallback)(C=>{d&&E(C)},[d,E]),D=(0,xt.useCallback)(C=>{s||i?.(C)},[s,i]),I=(0,xt.useCallback)((C,L)=>{if(!s&&i){let K=new MouseEvent("click",C);yu(K,L),i(wl(K))}},[s,i]),R=(0,xt.useMemo)(()=>{let C=y.current,L={onKeyDown(_){if(Up(_.nativeEvent,_.currentTarget)&&fe(_.currentTarget,Z(_))){S7(Z(_),_.key)&&_.preventDefault();let q=!0;!C.isPressed&&!_.repeat&&(C.target=_.currentTarget,C.isPressed=!0,C.pointerType="keyboard",q=b(_,"keyboard"));let N=_.currentTarget,X=Q=>{Up(Q,N)&&!Q.repeat&&fe(N,Z(Q))&&C.target&&k(Ga(C.target,Q),"keyboard")};m(de(_.currentTarget),"keyup",qt(X,K),!0),q&&_.stopPropagation(),_.metaKey&&Qt()&&C.metaKeyEvents?.set(_.key,_.nativeEvent)}else _.key==="Meta"&&(C.metaKeyEvents=new Map)},onClick(_){if(!(_&&!fe(_.currentTarget,Z(_)))&&_&&_.button===0&&!C.isTriggeringEvent&&!nn.isOpening){let q=!0;if(s&&_.preventDefault(),!C.ignoreEmulatedMouseEvents&&!C.isPressed&&(C.pointerType==="virtual"||Su(_.nativeEvent))){let N=b(_,"virtual"),X=k(_,"virtual"),Q=x(_,"virtual");D(_),q=N&&X&&Q}else if(C.isPressed&&C.pointerType!=="keyboard"){let N=C.pointerType||_.nativeEvent.pointerType||"virtual",X=k(Ga(_.currentTarget,_),N),Q=x(Ga(_.currentTarget,_),N,!0);q=X&&Q,C.isOverTarget=!1,D(_),P(_)}C.ignoreEmulatedMouseEvents=!1,q&&_.stopPropagation()}}},K=_=>{if(C.isPressed&&C.target&&Up(_,C.target)){S7(Z(_),_.key)&&_.preventDefault();let q=Z(_),N=fe(C.target,q);x(Ga(C.target,_),"keyboard",N),N&&I(_,C.target),f(),_.key!=="Enter"&&jp(C.target)&&fe(C.target,q)&&!_[x7]&&(_[x7]=!0,nn(C.target,_,!1)),C.isPressed=!1,C.metaKeyEvents?.delete(_.key)}else if(_.key==="Meta"&&C.metaKeyEvents?.size){let q=C.metaKeyEvents;C.metaKeyEvents=void 0;for(let N of q.values())C.target?.dispatchEvent(new KeyboardEvent("keyup",N))}};if(typeof PointerEvent<"u"){L.onPointerDown=N=>{if(N.button!==0||!fe(N.currentTarget,Z(N)))return;if(_8(N.nativeEvent)){C.pointerType="virtual";return}C.pointerType=N.pointerType;let X=!0;if(!C.isPressed){C.isPressed=!0,C.isOverTarget=!0,C.activePointerId=N.pointerId,C.target=N.currentTarget,u||$7(C.target),X=b(N,C.pointerType);let Q=Z(N);"releasePointerCapture"in Q&&("hasPointerCapture"in Q?Q.hasPointerCapture(N.pointerId)&&Q.releasePointerCapture(N.pointerId):Q.releasePointerCapture(N.pointerId)),m(de(N.currentTarget),"pointerup",_,!1),m(de(N.currentTarget),"pointercancel",q,!1)}X&&N.stopPropagation()},L.onMouseDown=N=>{if(fe(N.currentTarget,Z(N))&&N.button===0){if(c){let X=L8(N.target);X&&C.disposables.push(X)}N.stopPropagation()}},L.onPointerUp=N=>{!fe(N.currentTarget,Z(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,b(Ga(C.target,N),C.pointerType))},L.onPointerLeave=N=>{N.pointerId===C.activePointerId&&C.target&&C.isOverTarget&&C.pointerType!=null&&(C.isOverTarget=!1,x(Ga(C.target,N),C.pointerType,!1),T(N))};let _=N=>{if(N.pointerId===C.activePointerId&&C.isPressed&&N.button===0&&C.target){if(fe(C.target,Z(N))&&C.pointerType!=null){let X=!1,Q=setTimeout(()=>{C.isPressed&&C.target instanceof HTMLElement&&(X?P(N):(sr(C.target),C.target.click()))},80);m(N.currentTarget,"click",()=>X=!0,!0),C.disposables.push(()=>clearTimeout(Q))}else P(N);C.isOverTarget=!1}},q=N=>{P(N)};L.onDragStart=N=>{fe(N.currentTarget,Z(N))&&P(N)}}return L},[m,s,c,f,u,T,b,D,I]);return(0,xt.useEffect)(()=>{if(!p)return;let C=de(p.current);if(!C||!C.head||C.getElementById(C7))return;let L=C.createElement("style");L.id=C7;let K=Vu(C);K&&(L.nonce=K),L.textContent=`
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=`
129
129
  @layer {
130
- [${w7}] {
130
+ [${S7}] {
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=y.current;return()=>{u||Wp(C.target??void 0);for(let L of C.disposables)L();C.disposables=[]}},[u]),{isPressed:l||h,pressProps:se(g,R,{[w7]:!0})}}function jp(e){return e.tagName==="A"&&e.hasAttribute("href")}function Up(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&&!E7(o,r)||o instanceof Fe(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&jp(o))&&r!=="Enter")}function Ga(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 qy(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!jp(e)}function S7(e,t){return Qt()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!E7(e,t):qy(e)}var Qy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function E7(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":Qy.has(e.type)}var jl=S(F(),1);function sn(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=(0,jl.useRef)({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:s}=sa(),l=(0,jl.useCallback)(u=>{fe(u.currentTarget,Z(u))&&a.current.isFocusWithin&&!fe(u.currentTarget,u.relatedTarget)&&(a.current.isFocusWithin=!1,s(),r&&r(u),o&&o(!1))},[r,o,a,s]),c=xu(l),d=(0,jl.useCallback)(u=>{if(!fe(u.currentTarget,Z(u)))return;let p=Z(u),g=de(p),h=ve(g);if(!a.current.isFocusWithin&&h===p){n&&n(u),o&&o(!0),a.current.isFocusWithin=!0,c(u);let $=u.currentTarget;i(g,"focus",y=>{let m=Z(y);if(a.current.isFocusWithin&&!fe($,m)){let f=new g.defaultView.FocusEvent("blur",{relatedTarget:m});yu(f,$);let b=wl(f);l(b)}},{capture:!0})}},[n,o,c,i,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}var la=S(F(),1);function Gl(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)(g=>{o.current.isFocused=g,o.current.isFocusVisible=Pn(),i(g),c()},[c]);Dp(g=>{o.current.isFocusVisible=g,c()},[r,a],{enabled:a,isTextInput:r});let{focusProps:u}=Ua({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=sn({isDisabled:!n,onFocusWithinChange:d});return{isFocused:a,isFocusVisible:s,focusProps:n?p:u}}var wo=S(F(),1),Gp=!1,Wu=0;function Jy(){Gp=!0,setTimeout(()=>{Gp=!1},500)}function k7(e){e.pointerType==="touch"&&Jy()}function ex(){let e=de(null);if(!(typeof e>"u"))return Wu===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",k7),Wu++,()=>{Wu--,!(Wu>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",k7)}}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)(ex,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=sa(),{hoverProps:d,triggerHoverEnd:u}=(0,wo.useMemo)(()=>{let p=($,y)=>{if(s.pointerType=y,o||y==="touch"||s.isHovered||!fe($.currentTarget,Z($)))return;s.isHovered=!0;let m=$.currentTarget;s.target=m,l(de(Z($)),"pointerover",f=>{s.isHovered&&s.target&&!fe(s.target,Z(f))&&g(f,f.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:m,pointerType:y}),r&&r(!0),i(!0)},g=($,y)=>{let m=s.target;s.pointerType="",s.target=null,!(y==="touch"||!s.isHovered||!m)&&(s.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:y}),r&&r(!1),i(!1))},h={};return typeof PointerEvent<"u"&&(h.onPointerEnter=$=>{Gp&&$.pointerType==="mouse"||p($,$.pointerType)},h.onPointerLeave=$=>{!o&&fe($.currentTarget,Z($))&&g($,$.pointerType)}),{hoverProps:h,triggerHoverEnd:g}},[t,r,n,o,s,l,c]);return(0,wo.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:d,isHovered:a}}var Uu=S(F(),1),ju=(0,Uu.createContext)({}),Zp=Kl(function(t,r){[t,r]=Tt(t,r,ju);let{elementType:n="label",...o}=t,a=Je[n];return Uu.default.createElement(a,{className:"react-aria-Label",...o,ref:r})});function Gu(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=Ru({id:t,"aria-label":o,"aria-labelledby":n});return{labelProps:s,fieldProps:l}}function Zl(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}var Zu=S(F(),1),ca=(0,Zu.createContext)({}),Yu=Kl(function(t,r){[t,r]=Tt(t,r,ca);let{elementType:n="span",...o}=t,a=Je[n];return Zu.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 Yl(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 Xu(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 Xl(e,t,r={}){if(e===t)return;let n=t.getBoundingClientRect();tx(e,t,n,r)}function tx(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,g=e===u?0:l.top,h=e===u?e.clientHeight:l.bottom,$=e===u?0:l.left,y=e===u?e.clientWidth:l.right,m=parseFloat(c.scrollMarginTop)||0,f=parseFloat(c.scrollMarginBottom)||0,b=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,P=parseFloat(d.borderTopWidth)||0,T=parseFloat(d.borderBottomWidth)||0,D=parseFloat(d.borderLeftWidth)||0,I=parseFloat(d.borderRightWidth)||0,R=r.top-m,C=r.bottom+f,L=r.left-b,K=r.right+v,_=e===u?0:D+I,q=e===u?0:P+T,N=e===u?0:e.offsetWidth-e.clientWidth-_,X=e===u?0:e.offsetHeight-e.clientHeight-q,Q=g+(p?0:P)+x,z=h-(p?0:T)-w-X,j=$+(p?0:D)+k,G=y-(p?0:I)-E;vo()&&Jt()||d.direction==="ltr"?G-=N:d.direction==="rtl"&&(j+=N);let M=R<Q||C>z,ae=L<j||K>G;if(M&&o==="start")i+=R-Q;else if(M&&o==="center")i+=(R+C)/2-(Q+z)/2;else if(M&&o==="end")i+=C-z;else if(M&&o==="nearest"){let J=R-Q,xe=C-z;i+=Math.abs(J)<=Math.abs(xe)?J:xe}if(ae&&a==="start")s+=L-j;else if(ae&&a==="center")s+=(L+K)/2-(j+G)/2;else if(ae&&a==="end")s+=K-G;else if(ae&&a==="nearest"){let J=L-j,xe=K-G;s+=Math.abs(J)<=Math.abs(xe)?J:xe}e.scrollTo({left:s,top:i})}function Yp(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=Xu(e,!0);for(let d of s)Xl(d,e);let{left:l,top:c}=e.getBoundingClientRect();if(Math.abs(a-l)>1||Math.abs(i-c)>1){s=r?Xu(r,!0):[];for(let d of s)Xl(d,r,{block:"center",inline:"center"});for(let d of Xu(e,!0))Xl(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 P7=S(F(),1),rx=0,Xp=new Map;function T7(e){let[t,r]=(0,P7.useState)();return ce(()=>{if(!e)return;let n=Xp.get(e);if(n)r(n.element.id);else{let o=`react-aria-description-${rx++}`;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},Xp.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Xp.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}var ts=S(F(),1),L7={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 R7(e={}){let{style:t,isFocusable:r}=e,[n,o]=(0,ts.useState)(!1),{focusWithinProps:a}=sn({isDisabled:!r,onFocusWithinChange:s=>o(s)}),i=(0,ts.useMemo)(()=>n?t:t?{...L7,...t}:L7,[n]);return{visuallyHiddenProps:{...a,style:i}}}function ql(e){let{children:t,elementType:r="div",isFocusable:n,style:o,...a}=e,{visuallyHiddenProps:i}=R7(e);return ts.default.createElement(r,se(a,i),t)}var Ql=S(F(),1),_7=(0,Ql.createContext)(null);var Dt=S(F(),1),N7={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},D7={...N7,customError:!0,valid:!1},Jl={isInvalid:!1,validationDetails:N7,validationErrors:[]},nx=(0,Dt.createContext)({}),M7="__reactAriaFormValidationState";function F7(e){if(e[M7]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}=e[M7];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:o,commitValidation:a}}return ox(e)}function ox(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:D7}:null,c=(0,Dt.useMemo)(()=>{if(!i||o==null)return null;let T=ax(i,o);return I7(T)},[i,o]);a?.validationDetails.valid&&(a=void 0);let d=(0,Dt.useContext)(nx),u=(0,Dt.useMemo)(()=>n?Array.isArray(n)?n.flatMap(T=>Qp(d[T])):Qp(d[n]):[],[d,n]),[p,g]=(0,Dt.useState)(d),[h,$]=(0,Dt.useState)(!1);d!==p&&(g(d),$(!1));let y=(0,Dt.useMemo)(()=>I7(h?[]:u),[h,u]),m=(0,Dt.useRef)(Jl),[f,b]=(0,Dt.useState)(Jl),v=(0,Dt.useRef)(Jl),x=()=>{if(!w)return;k(!1);let T=c||a||m.current;qp(T,v.current)||(v.current=T,b(T))},[w,k]=(0,Dt.useState)(!1);return(0,Dt.useEffect)(x),{realtimeValidation:l||y||c||a||Jl,displayValidation:s==="native"?l||y||f:l||y||c||a||f,updateValidation(T){s==="aria"&&!qp(f,T)?b(T):m.current=T},resetValidation(){let T=Jl;qp(T,v.current)||(v.current=T,b(T)),s==="native"&&k(!1),$(!0)},commitValidation(){s==="native"&&k(!0),$(!0)}}}function Qp(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 Qp(r)}return[]}function I7(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:D7}: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 qu=S(F(),1),H7=(0,qu.createContext)(null);function A7(e){let{description:t,errorMessage:r,isInvalid:n,validationState:o}=e,{labelProps:a,fieldProps:i}=Gu(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 O7=S(F(),1);function B7(e,t,r){let n=mt(o=>{r&&!o.defaultPrevented&&r(t)});(0,O7.useEffect)(()=>{let o=e?.current?.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[e])}var Qu=S(F(),1);function K7(e,t,r){let{validationBehavior:n,focus:o}=e;ce(()=>{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(sx(r.current))}});let a=(0,Qu.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&&lx(d)===r.current&&(o?o():r.current?.focus(),ra("keyboard")),c.preventDefault()}),l=mt(()=>{t.commitValidation()});(0,Qu.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"&&Z(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 ix(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 sx(e){return{isInvalid:!e.validity.valid,validationDetails:ix(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function lx(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 rs=S(F(),1);function cx(e=!0){let[t,r]=(0,rs.useState)(e),n=(0,rs.useRef)(!1),o=(0,rs.useCallback)(a=>{n.current=!0,r(!!a)},[]);return ce(()=>{n.current||r(!1)},[]),[o,t]}function z7(e=!0){let t=yt(),[r,n]=cx(e);return{id:n?t:void 0,ref:r}}var ur=S(F(),1),ec=(0,ur.createContext)({}),Jp=(0,ur.createContext)(null),dx=(0,ur.forwardRef)(function(t,r){let{render:n}=(0,ur.useContext)(Jp);return ur.default.createElement(ur.default.Fragment,null,n(t,r))});function e2(e,t){let r=e?.renderDropIndicator,n=e?.isVirtualDragging?.(),o=(0,ur.useCallback)(a=>{if(n||t?.isDropTarget(a))return r?r(a):ur.default.createElement(dx,{target:a})},[t?.target,n,r]);return e?.useDropIndicator?o:void 0}function V7(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,ur.useMemo)(()=>new Set([n,o].filter(a=>a!=null)),[n,o])}var t2=S(F(),1),Ju=(0,t2.createContext)({});var ux=S(kn(),1),So=S(F(),1);var fx=(0,So.createContext)(null);function ns(e){let t=(0,So.useRef)({});return So.default.createElement(fx.Provider,{value:t},e.children)}var ef=S(F(),1),tf=(0,ef.createContext)({isSelected:!1});var r2=S(F(),1),rf=(0,r2.createContext)({}),W7=class extends on{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 tc=new WeakMap;function px(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function U7(e,t){let r=tc.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${px(t)}`}var n2=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(!fe(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 fe(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 nf(e,t,r,n){return Sr()?new n2(e,t,r,n):e.createTreeWalker(t,r,n)}var ct=S(F(),1),j7=ct.default.createContext(null),o2="react-aria-focus-scope-restore",Ze=null;function Ya(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)(j7)||{},c=(0,ct.useMemo)(()=>new nc({scopeRef:s}),[s]);ce(()=>{let p=l||Ct.root;if(Ct.getTreeNode(p.scopeRef)&&Ze&&!of(Ze,p.scopeRef)){let g=Ct.getTreeNode(Ze);g&&(p=g)}p.addChild(c),Ct.addNode(c)},[c,l]),ce(()=>{let p=Ct.getTreeNode(s);p&&(p.contain=!!r)},[r]),ce(()=>{let p=a.current?.nextSibling,g=[],h=$=>$.stopPropagation();for(;p&&p!==i.current;)g.push(p),p.addEventListener(o2,h),p=p.nextSibling;return s.current=g,()=>{for(let $ of g)$.removeEventListener(o2,h)}},[t]),vx(s,n,r),bx(s,r),yx(s,n,r),$x(s,o),(0,ct.useEffect)(()=>{let p=ve(de(s.current?s.current[0]:void 0)),g=null;if(cn(p,s.current)){for(let h of Ct.traverse())h.scopeRef&&cn(p,h.scopeRef.current)&&(g=h);g===Ct.getTreeNode(s)&&(Ze=g.scopeRef)}},[s]),ce(()=>()=>{let p=Ct.getTreeNode(s)?.parent?.scopeRef??null;(s===Ze||of(s,Ze))&&(!p||Ct.getTreeNode(p))&&(Ze=p),Ct.removeTreeNode(s)},[s]);let d=(0,ct.useMemo)(()=>mx(s),[]),u=(0,ct.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return ct.default.createElement(j7.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 mx(e){return{focusNext(t={}){let r=e.current,{from:n,tabbable:o,wrap:a,accept:i}=t,s=n||ve(de(r[0]??void 0)),l=r[0].previousElementSibling,c=Za(r),d=ln(c,{tabbable:o,accept:i},r);d.currentNode=cn(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||ve(de(r[0]??void 0)),l=r[r.length-1].nextElementSibling,c=Za(r),d=ln(c,{tabbable:o,accept:i},r);d.currentNode=cn(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=Za(r),i=ln(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=Za(r),i=ln(a,{tabbable:n,accept:o},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&Ln(s,!0),s}}}function Za(e){return e[0].parentElement}function rc(e){let t=Ct.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function hx(e){if(!e.form)return Array.from(de(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 gx(e){if(e.checked)return!0;let t=hx(e);return t.length>0&&!t.some(r=>r.checked)}function bx(e,t){let r=(0,ct.useRef)(void 0),n=(0,ct.useRef)(void 0);ce(()=>{let o=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let a=de(o?o[0]:void 0),i=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!rc(e)||c.isComposing)return;let d=ve(a),u=e.current;if(!u||!cn(d,u))return;let p=Za(u),g=ln(p,{tabbable:!0},u);if(!d)return;g.currentNode=d;let h=c.shiftKey?g.previousNode():g.nextNode();h||(g.currentNode=c.shiftKey?u[u.length-1].nextElementSibling:u[0].previousElementSibling,h=c.shiftKey?g.previousNode():g.nextNode()),c.preventDefault(),h&&(Ln(h,!0),h instanceof Fe(h).HTMLInputElement&&h.select())},s=c=>{(!Ze||of(Ze,e))&&cn(Z(c),e.current)?(Ze=e,r.current=Z(c)):rc(e)&&!da(Z(c),e)?r.current?Ln(r.current):Ze&&Ze.current&&a2(Ze.current):rc(e)&&(r.current=Z(c))},l=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=Gn(),u=(d==="virtual"||d===null)&&yo()&&wu(),p=ve(a);if(!u&&p&&rc(e)&&!da(p,e)){Ze=e;let g=Z(c);g&&g.isConnected?(r.current=g,Ln(r.current)):Ze.current&&a2(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]),ce(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Y7(e){return da(e)}function cn(e,t){return!e||!t?!1:t.some(r=>fe(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&&cn(e,r.current))return!0;return!1}function X7(e){return da(e,Ze)}function of(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{an(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function q7(e,t=!0){let r=e[0].previousElementSibling,n=Za(e),o=ln(n,{tabbable:t},e);o.currentNode=r;let a=o.nextNode();return t&&!a&&(n=Za(e),o=ln(n,{tabbable:!1},e),o.currentNode=r,a=o.nextNode()),a}function a2(e,t=!0){Ln(q7(e,t))}function $x(e,t){let r=ct.default.useRef(t);(0,ct.useEffect)(()=>{if(r.current){Ze=e;let n=de(e.current?e.current[0]:void 0);!cn(ve(n),Ze.current)&&e.current&&a2(e.current)}r.current=!1},[e])}function vx(e,t,r){ce(()=>{if(t||r)return;let n=e.current,o=de(n?n[0]:void 0),a=i=>{let s=Z(i);cn(s,e.current)?Ze=e:Y7(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 G7(e){let t=Ct.getTreeNode(Ze);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function yx(e,t,r){let n=(0,ct.useRef)(typeof document<"u"?ve(de(e.current?e.current[0]:void 0)):null);ce(()=>{let o=e.current,a=de(o?o[0]:void 0);if(!t||r)return;let i=()=>{(!Ze||of(Ze,e))&&cn(ve(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]),ce(()=>{let o=de(e.current?e.current[0]:void 0);if(!t)return;let a=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!rc(e)||i.isComposing)return;let s=o.activeElement;if(!da(s,e)||!G7(e))return;let l=Ct.getTreeNode(e);if(!l)return;let c=l.nodeToRestore,d=ln(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):Y7(c)?Ln(c,!0):s.blur()}};return r||o.addEventListener("keydown",a,!0),()=>{r||o.removeEventListener("keydown",a,!0)}},[e,t,r]),ce(()=>{let o=de(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=ve(o);if(t&&s&&(l&&da(l,e)||l===o.body&&G7(e))){let c=Ct.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Z7(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){Z7(u);return}}d=d.parent}}})}}},[e,t])}function Z7(e){e.dispatchEvent(new CustomEvent(o2,{bubbles:!0,cancelable:!0}))&&Ln(e)}function ln(e,t,r){let n=t?.tabbable?Wi:Vi,o=e?.nodeType===Node.ELEMENT_NODE?e:null,a=de(o),i=nf(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(s){return fe(t?.from,s)||t?.tabbable&&s.tagName==="INPUT"&&s.getAttribute("type")==="radio"&&(!gx(s)||i.currentNode.tagName==="INPUT"&&i.currentNode.type==="radio"&&i.currentNode.name===s.name)?NodeFilter.FILTER_REJECT:n(s)&&(!r||cn(s,r))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(i.currentNode=t.from),i}var i2=class e{constructor(){this.fastMap=new Map,this.root=new nc({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 nc({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&&cn(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}},nc=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 i2;function oc(e){return R8()?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 Q7=new WeakMap;function J7(e){let t=yt();return Q7.set(e,t),t}function eh(e){return Q7.get(e)}var af=S(F(),1),th=1e3;function rh(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,af.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=""},th)}},i=s=>{let l=xx(s.key);if(!(!l||s.ctrlKey||s.metaKey||s.altKey||!fe(s.currentTarget,Z(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=""},th)}};return(0,af.useEffect)(()=>{let s=o.current.timeout;return()=>{clearTimeout(s)}},[o]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0,onKeyDown:t.getKeyForSearch?i:void 0}}}function xx(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}var s2=S(F(),1);function l2(e,t){let r=(0,s2.useRef)(!0),n=(0,s2.useRef)(null);ce(()=>(r.current=!0,()=>{r.current=!1}),[]),ce(()=>{r.current?r.current=!1:(!n.current||t.some((o,a)=>!Object.is(o,n[a])))&&e(),n.current=t},t)}var nh=S(kn(),1),Rn=S(F(),1);function oh(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:g=n,linkBehavior:h="action",UNSTABLE_focusOnEntry:$}=e,{direction:y}=lr(),m=Aa(),f=(O,H,we)=>{if(H!=null){if(t.isLink(H)&&h==="selection"&&c&&!oc(O)){(0,nh.flushSync)(()=>{t.setFocusedKey(H,we)});let pe=Yn(n,H),hn=t.getItemProps(H);if(pe){m.open(pe,O,hn.href,hn.routerOptions);return}return!1}if(t.setFocusedKey(H,we),t.isLink(H)&&h==="override")return!1;if(O.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(H);return}else if(c&&!oc(O)){t.replaceSelection(H);return}}return!1},b=O=>{if(r.getKeyBelow){let H=t.focusedKey!=null?r.getKeyBelow?.(t.focusedKey):r.getFirstKey?.();if(H==null&&a&&(H=r.getFirstKey?.(t.focusedKey)),H!=null){f(O,H);return}}return!1},v=O=>{if(r.getKeyAbove){let H=t.focusedKey!=null?r.getKeyAbove?.(t.focusedKey):r.getLastKey?.();if(H==null&&a&&(H=r.getLastKey?.(t.focusedKey)),H!=null){f(O,H);return}}return!1},x=O=>{if(r.getFirstKey){if(t.focusedKey===null&&O.shiftKey)return!1;let H=r.getFirstKey(t.focusedKey,za(O));if(t.setFocusedKey(H),H!=null){if(za(O)&&O.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(H);return}else if(c){t.replaceSelection(H);return}}}return!1},w=O=>{if(r.getKeyLeftOf){let H=t.focusedKey!=null?r.getKeyLeftOf?.(t.focusedKey):r.getFirstKey?.();if(H==null&&a&&(H=y==="rtl"?r.getFirstKey?.(t.focusedKey):r.getLastKey?.(t.focusedKey)),H!=null){f(O,H,y==="rtl"?"first":"last");return}}return!1},k=O=>{if(r.getKeyRightOf){let H=t.focusedKey!=null?r.getKeyRightOf?.(t.focusedKey):r.getFirstKey?.();if(H==null&&a&&(H=y==="rtl"?r.getLastKey?.(t.focusedKey):r.getFirstKey?.(t.focusedKey)),H!=null){f(O,H,y==="rtl"?"last":"first");return}}return!1},E=O=>{if(r.getLastKey){if(t.focusedKey===null&&O.shiftKey)return!1;let H=r.getLastKey(t.focusedKey,za(O));if(t.setFocusedKey(H),H!=null){if(za(O)&&O.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(H);return}else if(c){t.replaceSelection(H);return}}}return!1},P=O=>{if(r.getKeyPageBelow&&t.focusedKey!=null){let H=r.getKeyPageBelow(t.focusedKey);if(H!=null)return f(O,H)}return!1},T=O=>{if(r.getKeyPageAbove&&t.focusedKey!=null){let H=r.getKeyPageAbove(t.focusedKey);if(H!=null)return f(O,H)}return!1},D=()=>{if(t.selectionMode==="multiple"&&s!==!0){t.selectAll();return}return!1},I=()=>{if(l==="clearSelection"&&!i&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},R=()=>{if(!p&&n.current){let O=ln(n.current,{tabbable:!0}),H,we;do we=O.lastChild(),we&&(H=we);while(we);let pe=ve();H&&(!ta(H)||pe&&!Wi(pe))&&sr(H)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},C=()=>(!p&&n.current&&n.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),L=(O,H)=>({[Qt()?O+"+Shift+Alt":O+"+Shift+Control"]:H,[O+"+Shift"]:H,[Qt()?O+"+Alt":O+"+Control"]:H,[O]:H}),{keyboardProps:K}=Er({shortcuts:{...L("ArrowDown",b),...L("ArrowUp",v),...L("ArrowLeft",w),...L("ArrowRight",k),...L("PageDown",P),...L("PageUp",T)},allowRepeats:!0}),{keyboardProps:_}=Er({shortcuts:{...L("Home",x),...L("End",E),"Mod+A":D,Escape:I,Tab:R,"Tab+Shift":C}}),q=(0,Rn.useRef)({top:0,left:0});Rl(g,"scroll",()=>{q.current={top:g.current?.scrollTop??0,left:g.current?.scrollLeft??0}});let N=O=>{if(t.isFocused){fe(O.currentTarget,Z(O))||t.setFocused(!1);return}if(!fe(O.currentTarget,Z(O)))return;let H=Gn();t.setFocused(!0);let we=pe=>{pe!=null&&(t.setFocusedKey(pe),c&&!t.isSelected(pe)&&t.replaceSelection(pe))};if($&&(H==="keyboard"||H==="virtual"))we($==="first"?r.getFirstKey?.():r.getLastKey?.());else if(t.focusedKey==null){let pe=O.relatedTarget;pe&&O.currentTarget.compareDocumentPosition(pe)&Node.DOCUMENT_POSITION_FOLLOWING?we(t.lastSelectedKey??r.getLastKey?.()):we(t.firstSelectedKey??r.getFirstKey?.())}else g.current&&(g.current.scrollTop=q.current.top,g.current.scrollLeft=q.current.left);if(t.focusedKey!=null&&g.current){let pe=Yn(n,t.focusedKey);pe instanceof HTMLElement&&(!ta(pe)&&!u&&sr(pe),(H==="keyboard"||$&&H==="virtual")&&Yp(pe,{containingElement:n.current}))}},X=O=>{fe(O.currentTarget,O.relatedTarget)||t.setFocused(!1)},Q=(0,Rn.useRef)(!1);Rl(n,P8,u?O=>{let{detail:H}=O;O.stopPropagation(),t.setFocused(!0),H?.focusStrategy==="first"&&(Q.current=!0)}:void 0);let z=r.getFirstKey?.()??null;l2(()=>{if(Q.current)if(z==null){let O=ve();bu(n.current),Tp(O,null),t.collection.size>0&&(Q.current=!1)}else t.setFocusedKey(z),Q.current=!1},[z,t.collection.size]),l2(()=>{t.collection.size>0&&(Q.current=!1)},[t.focusedKey]),Rl(n,k8,u?O=>{O.stopPropagation(),t.setFocused(!1),O.detail?.clearFocusKey&&t.setFocusedKey(null)}:void 0);let j=(0,Rn.useRef)(o),G=(0,Rn.useRef)(!1);(0,Rn.useEffect)(()=>{if(j.current){let O=null;o==="first"&&(O=r.getFirstKey?.()??null),o==="last"&&(O=r.getLastKey?.()??null);let H=t.selectedKeys;if(H.size){for(let we of H)if(t.canSelectItem(we)){O=we;break}}t.setFocused(!0),t.setFocusedKey(O),O!=null&&c&&!H.size&&t.canSelectItem(O)&&t.replaceSelection(O),O==null&&!u&&n.current&&an(n.current),t.collection.size>0&&(j.current=!1,G.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||G.current)&&g.current&&n.current){let O=Gn(),H=Yn(n,t.focusedKey);if(!(H instanceof HTMLElement))return;(O==="keyboard"||G.current)&&(ae.current&&cancelAnimationFrame(ae.current),ae.current=requestAnimationFrame(()=>{g.current&&(Xl(g.current,H),O!=="virtual"&&Yp(H,{containingElement:n.current}))}))}!u&&t.isFocused&&t.focusedKey==null&&M.current!=null&&n.current&&an(n.current),M.current=t.focusedKey,G.current=!1}),(0,Rn.useEffect)(()=>()=>{ae.current&&cancelAnimationFrame(ae.current)},[]),Rl(n,"react-aria-focus-scope-restore",O=>{O.preventDefault(),t.setFocused(!0)});let J={...se(_,K),onFocus:N,onBlur:X,onMouseDown(O){g.current===Z(O)&&O.preventDefault()}},{typeSelectProps:xe}=rh({keyboardDelegate:r,selectionManager:t});d||(J=se(xe,J));let bt;u||(bt=t.focusedKey==null?0:-1);let le=J7(t.collection);return{collectionProps:se(J,{tabIndex:bt,"data-collection":le})}}var ac=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 Xa=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 ac(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 ac(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 c2=new Map;function ic(e){let{locale:t}=lr(),r=t+(e?Object.entries(e).sort((o,a)=>o[0]<a[0]?-1:1).join():"");if(c2.has(r))return c2.get(r);let n=new Intl.Collator(t,e);return c2.set(r,n),n}var ah=S(F(),1);function sf(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:a,layoutDelegate:i,orientation:s}=e,l=ic({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,ah.useMemo)(()=>a||new Xa({collection:r,disabledKeys:n,disabledBehavior:c,ref:o,collator:l,layoutDelegate:i,orientation:s}),[a,i,r,n,o,l,c,s]),{collectionProps:u}=oh({...e,ref:o,selectionManager:t,keyboardDelegate:d});return{listProps:u}}function d2(e,t,r){let n=Be(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}=sf({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=sn({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=yt(e.id);tc.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}=Gu({...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 ih=S(F(),1),Cx=500;function sh(e){let{isDisabled:t,pointerType:r,onLongPressStart:n,onLongPressEnd:o,onLongPress:a,threshold:i=Cx,accessibilityDescription:s}=e,l=(0,ih.useRef)(void 0),{addGlobalListener:c,removeAllGlobalListeners:d}=sa(),u=h=>r?h.pointerType===r:h.pointerType==="mouse"||h.pointerType==="touch",{pressProps:p}=Co({isDisabled:t,onPressStart(h){if(h.continuePropagation(),u(h)){n&&n({...h,type:"longpressstart"}),l.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(h.target,"click",y=>y.preventDefault(),{once:!0}),de(h.target).activeElement!==h.target&&sr(h.target),a&&a({...h,type:"longpress"}),l.current=void 0},i),h.pointerType==="touch"&&c(h.target,"contextmenu",y=>y.preventDefault(),{once:!0});let $=Fe(h.target);c($,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(h){l.current&&clearTimeout(l.current),o&&u(h)&&o({...h,type:"longpressend"})}}),g=T7(a&&!t?s:void 0);return{longPressProps:se(p,g)}}var qa=S(F(),1);function lf(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=Aa();t=yt(t);let g=M=>{if(M.pointerType==="keyboard"&&oc(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&&(za(M)||M.pointerType==="touch"||M.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};(0,qa.useEffect)(()=>{n===r.focusedKey&&r.isFocused&&(i?bu(o.current):s?s():ve()!==o.current&&o.current&&an(o.current))},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,i]),l=l||r.isDisabled(n);let h={};!i&&!l?h={tabIndex:n===r.focusedKey?0:-1,onFocus(M){Z(M)===o.current&&r.setFocusedKey(n)}}:l&&(h.onMouseDown=M=>{M.preventDefault()}),(0,qa.useEffect)(()=>{l&&r.focusedKey===n&&r.setFocusedKey(null)},[r,l,n]);let $=r.isLink(n)&&u==="override",y=c&&e.UNSTABLE_itemBehavior==="action",m=r.isLink(n)&&u!=="selection"&&u!=="none",f=!l&&r.canSelectItem(n)&&!$&&!y,b=(c||m)&&!l,v=b&&(r.selectionBehavior==="replace"?!f:!f||r.isEmpty),x=b&&f&&r.selectionBehavior==="replace",w=v||x,k=(0,qa.useRef)(null),E=w&&f,P=(0,qa.useRef)(!1),T=(0,qa.useRef)(!1),D=r.getItemProps(n),I=M=>{c&&(c(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),m&&o.current&&p.open(o.current,M,D.href,D.routerOptions)},R={ref:o};a?(R.onPressStart=M=>{k.current=M.pointerType,P.current=E,M.pointerType==="keyboard"&&(!w||ch(M.key))&&g(M)},d?(R.onPressUp=v?void 0:M=>{M.pointerType==="mouse"&&f&&g(M)},R.onPress=v?I:M=>{M.pointerType!=="keyboard"&&M.pointerType!=="mouse"&&f&&g(M)}):R.onPress=M=>{if(v||x&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!lh(M.key))return;I(M)}else M.pointerType!=="keyboard"&&f&&g(M)}):(R.onPressStart=M=>{k.current=M.pointerType,P.current=E,T.current=v,f&&(M.pointerType==="mouse"&&!v||M.pointerType==="keyboard"&&(!b||ch(M.key)))&&g(M)},R.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&w&&lh(M.key)||M.pointerType==="mouse"&&T.current)&&(w?I(M):f&&g(M))});let C=eh(r.collection);if(h["data-collection"]=C,h["data-key"]=n,R.preventFocusOnPress=i,i&&(R=se(R,{onPressStart(M){M.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(M){M.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),D)for(let M of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])D[M]&&(R[M]=qt(R[M],D[M]));let{pressProps:L,isPressed:K}=Co(R),_=x?M=>{k.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),I(M))}:void 0,{longPressProps:q}=sh({isDisabled:!E,onLongPress(M){M.pointerType==="touch"&&(g(M),r.setSelectionBehavior("toggle"))}}),N=M=>{k.current==="touch"&&P.current&&M.preventDefault()},X=u!=="none"&&r.isLink(n)?M=>{nn.isOpening||M.preventDefault()}:void 0,Q=se(h,f||v||i&&!l?L:{},E?q:{},{onDoubleClick:_,onDragStartCapture:N,onClick:X,id:t},i?{onMouseDown:M=>M.preventDefault()}:void 0),z=M=>{let ae=M;for(;ae&&ae!==o.current;){let J=ae.getAttribute("data-collection");if(J!=null)return J!==C;ae=ae.parentElement}return Wi(M)},j=Q.onPointerDown;Q.onPointerDown=M=>{let ae=Z(M);if(ae&&ae!==o.current&&z(ae)){M.stopPropagation();return}j?.(M)};let G=Q.onMouseDown;return Q.onMouseDown=M=>{let ae=Z(M);if(ae&&ae!==o.current&&z(ae)){M.stopPropagation();return}G?.(M)},{itemProps:Q,isPressed:K,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:l,allowsSelection:f,hasAction:w}}function lh(e){return e==="Enter"}function ch(e){return e===" "}function cf(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function uh(e){return wx(e,0)}function wx(e,t){if(t<0)return;let r=0;for(let n of e){if(r===t)return n;r++}}function df(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...dh(e,t),t],o=[...dh(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 dh(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 sc(e){let t=fh.get(e);if(t!=null)return t;let r=0,n=o=>{for(let a of o)a.type==="section"?n(cf(a,e)):a.type==="item"&&r++};return n(e),fh.set(e,r),r}function u2(e,t,r){let{key:n}=e,o=tc.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(),g={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},h=t.collection.getItem(n);if(d){let P=Number(h?.index);g["aria-posinset"]=Number.isNaN(P)?void 0:P+1,g["aria-setsize"]=sc(t.collection)}let $=o?.onAction?()=>o?.onAction?.(n):void 0,y=U7(t,n),{itemProps:m,isPressed:f,isFocused:b,hasAction:v,allowsSelection:x}=lf({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:a,onAction:$||h?.props?.onAction?qt(h?.props?.onAction,$):void 0,linkBehavior:o?.linkBehavior,UNSTABLE_itemBehavior:o?.UNSTABLE_itemBehavior,id:y}),{hoverProps:w}=Tn({isDisabled:a||!l,onHoverStart(){Pn()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),k=Be(h?.props);delete k.id;let E=Eu(h?.props);return{optionProps:{...g,...se(k,m,w,E),id:y},labelProps:{id:u},descriptionProps:{id:p},isFocused:b,isFocusVisible:b&&t.selectionManager.isFocused&&Pn(),isSelected:i,isDisabled:a,isPressed:f,allowsSelection:x,hasAction:v}}function f2(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 ph=S(F(),1);function lc(e){let t=ph.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=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 zr=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 fr=S(F(),1);function Sx(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}function Qa(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=(0,fr.useRef)(!1),[,s]=(0,fr.useState)(!1),l=(0,fr.useRef)(null),c=(0,fr.useRef)(null),[,d]=(0,fr.useState)(null),u=(0,fr.useMemo)(()=>mh(e.selectedKeys),[e.selectedKeys]),p=(0,fr.useMemo)(()=>mh(e.defaultSelectedKeys,new zr),[e.defaultSelectedKeys]),[g,h]=na(u,p,e.onSelectionChange),$=(0,fr.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,m]=(0,fr.useState)(o);o==="replace"&&y==="toggle"&&typeof g=="object"&&g.size===0&&m("replace");let f=(0,fr.useRef)(o);return(0,fr.useEffect)(()=>{o!==f.current&&(m(o),f.current=o)},[o]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:m,get isFocused(){return i.current},setFocused(b){i.current=b,s(b)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(b,v="first"){l.current=b,c.current=v,d(b)},selectedKeys:g,setSelectedKeys(b){(n||!Sx(b,g))&&h(b)},disabledKeys:$,disabledBehavior:a}}function mh(e,t){return e?e==="all"?"all":new zr(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&&df(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&&df(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 zr([r],r,r);else{let o=this.state.selectedKeys,a=o.anchorKey??r;n=new zr(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?df(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 zr(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 zr([r],r,r):new zr;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let r=new zr;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(uh(cf(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 zr)}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(F(),1),uf=class{build(t,r){return this.context=r,hh(()=>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 g=p.key??null;g==null&&(g=p.element?null:this.getKey(a,t,r,n));let $=[...this.getFullNode({...p,key:g,index:d,wrapper:Ex(t.wrapper,p.wrapper)},this.getChildState(r,p),n?`${n}${a.key}`:a.key,o)];for(let y of $){if(y.value=p.value??t.value??null,y.value&&this.cache.set(y.value,y),t.type&&y.type!==t.type)throw new Error(`Unsupported type <${p2(y.type)}> in <${p2(o?.type??"unknown parent type")}>. Only <${p2(t.type)}> is supported.`);d++,yield y}u=c.next($)}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:hh(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 hh(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 Ex(e,t){if(e&&t)return r=>e(t(r));if(e)return e;if(t)return t}function p2(e){return e[0].toUpperCase()+e.slice(1)}var m2=S(F(),1);function ff(e,t,r){let n=(0,m2.useMemo)(()=>new uf,[]),{children:o,items:a,collection:i}=e;return(0,m2.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(F(),1);function h2(e){let{filter:t,layoutDelegate:r}=e,n=Qa(e),o=(0,_n.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=(0,_n.useCallback)(c=>t?new cc(t(c)):new cc(c),[t]),i=(0,_n.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=ff(e,a,i),l=(0,_n.useMemo)(()=>new Eo(s,n,{layoutDelegate:r}),[s,n,r]);return gh(s,l),{collection:s,disabledKeys:o,selectionManager:l}}function g2(e,t){let r=(0,_n.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return gh(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function gh(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 bh=S(F(),1);function dc(e,t){let{collection:r,onLoadMore:n,scrollOffset:o=1,direction:a="end"}=e,i=(0,bh.useRef)(null),s=mt(l=>{for(let c of l)c.isIntersecting&&n&&n()});ce(()=>{if(t.current){let l=100*o,c=a==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;i.current=new IntersectionObserver(s,{root:Yl(t?.current),rootMargin:c}),i.current.observe(t.current)}return()=>{i.current&&i.current.disconnect()}},[r,t,o,a])}var ie=S(F(),1);var b2=(0,ie.createContext)(null),os=(0,ie.createContext)(null),$2=(0,ie.forwardRef)(function(t,r){[t,r]=Tt(t,r,b2);let n=(0,ie.useContext)(os);return n?ie.default.createElement($h,{state:n,props:t,listBoxRef:r}):ie.default.createElement(Vl,{content:ie.default.createElement(Wl,t)},o=>ie.default.createElement(kx,{props:t,listBoxRef:r,collection:o}))});function kx({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,ie.useContext)(aa),o=h2({...e,layoutDelegate:n});return ie.default.createElement($h,{state:o,props:e,listBoxRef:t})}function $h({state:e,props:t,listBoxRef:r}){[t,r]=Tt(t,r,Nl);let{dragAndDropHooks:n,layout:o="stack",orientation:a="vertical",filter:i}=t,s=g2(e,i),{collection:l,selectionManager:c}=s,d=!!n?.useDraggableCollectionState,u=!!n?.useDroppableCollectionState,{direction:p}=lr(),{disabledBehavior:g,disabledKeys:h}=c,$=ic({usage:"search",sensitivity:"base"}),{isVirtualized:y,layoutDelegate:m,dropTargetDelegate:f,CollectionRoot:b}=(0,ie.useContext)(aa),v=(0,ie.useMemo)(()=>t.keyboardDelegate||new Xa({collection:l,collator:$,ref:r,disabledKeys:h,disabledBehavior:g,layout:o,orientation:a,direction:p,layoutDelegate:m}),[l,$,r,g,h,a,p,t.keyboardDelegate,o,m]),{listBoxProps:x}=d2({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:v,isVirtualized:y},s,r),w=(0,ie.useRef)(d),k=(0,ie.useRef)(u);(0,ie.useEffect)(()=>{},[d,u]);let E,P,T,D=!1,I=null,R=(0,ie.useRef)(null);if(d&&n){E=n.useDraggableCollectionState({collection:l,selectionManager:c,preview:n.renderDragPreview?R:void 0}),n.useDraggableCollection({},E,r);let z=n.DragPreview;I=n.renderDragPreview?ie.default.createElement(z,{ref:R},n.renderDragPreview):null}if(u&&n){P=n.useDroppableCollectionState({collection:l,selectionManager:c});let z=n.dropTargetDelegate||f||new n.ListDropTargetDelegate(l,r,{orientation:a,layout:o,direction:p});T=n.useDroppableCollection({keyboardDelegate:v,dropTargetDelegate:z},P,r),D=P.isDropTarget({type:"root"})}let{focusProps:C,isFocused:L,isFocusVisible:K}=Gl(),_=s.collection.size===0,q={isDropTarget:D,isEmpty:_,isFocused:L,isFocusVisible:K,layout:t.layout||"stack",orientation:a,state:s},N=Vt({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:q}),X=null;_&&t.renderEmptyState&&(X=ie.default.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(q)));let Q=Be(t,{global:!0});return ie.default.createElement(Ya,null,ie.default.createElement(Je.div,{...se(Q,N,x,C,T?.collectionProps),ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":D||void 0,"data-empty":_||void 0,"data-focused":L||void 0,"data-focus-visible":K||void 0,"data-layout":t.layout||"stack","data-orientation":a},ie.default.createElement(rn,{values:[[b2,t],[os,s],[ec,{dragAndDropHooks:n,dragState:E,dropState:P}],[rf,{elementType:"div"}],[Jp,{render:Tx}],[Ku,{name:"ListBoxSection",render:Px}]]},ie.default.createElement(ns,null,ie.default.createElement(b,{collection:l,scrollRef:r,persistedKeys:V7(c,n,P),renderDropIndicator:e2(n,P)}))),X,I))}function Px(e,t,r,n="react-aria-ListBoxSection"){let o=(0,ie.useContext)(os),{dragAndDropHooks:a,dropState:i}=(0,ie.useContext)(ec),{CollectionBranch:s}=(0,ie.useContext)(aa),[l,c]=zi(),{headingProps:d,groupProps:u}=f2({heading:c,"aria-label":e["aria-label"]??void 0}),p=Vt({...e,id:void 0,children:void 0,defaultClassName:n,values:void 0}),g=Be(e,{global:!0});return delete g.id,ie.default.createElement(Je.section,{...se(g,p,u),ref:t},ie.default.createElement(Ju.Provider,{value:{...d,ref:l}},ie.default.createElement(s,{collection:o.collection,parent:r,renderDropIndicator:e2(a,i)})))}var v2=ja(Wa,function(t,r,n){let o=Wn(r),a=(0,ie.useContext)(os),{dragAndDropHooks:i,dragState:s,dropState:l}=(0,ie.useContext)(ec),c=s&&!(s.isDisabled||s.selectionManager.isDisabled(n.key)),{optionProps:d,labelProps:u,descriptionProps:p,...g}=u2({key:n.key,"aria-label":t?.["aria-label"]},a,o),{hoverProps:h,isHovered:$}=Tn({isDisabled:!g.allowsSelection&&!g.hasAction&&!c,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{keyboardProps:y}=Er(t),{focusProps:m}=Ua(t),f=null;s&&i&&(f=i.useDraggableItem({key:n.key,hasAction:g.hasAction},s));let b=null;l&&i&&(b=i.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},l,o));let v=s&&s.isDragging(n.key),x=Vt({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...g,isHovered:$,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:v,isDropTarget:b?.isDropTarget}});(0,ie.useEffect)(()=>{n.textValue},[n.textValue]);let w=t.href?Je.a:Je.div,k=Be(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,h,y,m,f?.dragProps,b?.dropProps),ref:o,"data-allows-dragging":!!s||void 0,"data-selected":g.isSelected||void 0,"data-disabled":g.isDisabled||void 0,"data-hovered":$||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":g.isFocusVisible||void 0,"data-pressed":g.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":b?.isDropTarget||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},ie.default.createElement(rn,{values:[[ca,{slots:{[Ki]:u,label:u,description:p}}],[tf,{isSelected:g.isSelected}]]},x.children))});function Tx(e,t){t=Wn(t);let{dragAndDropHooks:r,dropState:n}=(0,ie.useContext)(ec),{dropIndicatorProps:o,isHidden:a,isDropTarget:i}=r.useDropIndicator(e,n,t);return a?null:ie.default.createElement(Rx,{...e,dropIndicatorProps:o,isDropTarget:i,ref:t})}function Lx(e,t){let{dropIndicatorProps:r,isDropTarget:n,...o}=e,a=Vt({...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 Rx=(0,ie.forwardRef)(Lx),_x=ja(Va,function(t,r,n){let o=(0,ie.useContext)(os),{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]);dc(d,c);let u=Vt({...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:lc(!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(Be(t,{global:!0}),p),...u,role:"option",ref:r},u.children)))});var pf=S(F(),1),vh=(0,pf.createContext)({placement:"bottom"});var Mx=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function yh(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}var uc=new WeakMap,kr=[];function xh(e,t){let r=Fe(e?.[0]),n=t instanceof r.Element?{root:t}:t,o=n?.root??document.body,a=n?.shouldUseInert&&Mx,i=new Set(e),s=new Set,l=y=>a&&y instanceof r.HTMLElement?y.inert:y.getAttribute("aria-hidden")==="true",c=(y,m)=>{a&&y instanceof r.HTMLElement?y.inert=m:m?y.setAttribute("aria-hidden","true"):(y.removeAttribute("aria-hidden"),y instanceof r.HTMLElement&&(y.inert=!1))},d=new Set;if(Sr()){let y=o.getRootNode();for(let m of e){let f=m.getRootNode();for(;Ha(f)&&f!==y;)d.add(f),f=f.host.getRootNode()}}let u=y=>{for(let v of y.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(fe(v,x))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=nf(de(y),y,NodeFilter.SHOW_ELEMENT,{acceptNode:m}),b=m(y);if(b===NodeFilter.FILTER_ACCEPT&&p(y),b!==NodeFilter.FILTER_REJECT){let v=f.nextNode();for(;v!=null;)p(v),v=f.nextNode()}},p=y=>{let m=uc.get(y)??0;l(y)&&m===0||(m===0&&c(y,!0),s.add(y),uc.set(y,m+1))};kr.length&&kr[kr.length-1].disconnect(),u(o);let g=new MutationObserver(y=>{for(let m of y)if(m.type==="childList"){if(m.target.isConnected&&![...i,...s].some(f=>fe(f,m.target)))for(let f of m.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&yh(f)?i.add(f):f instanceof Element&&u(f);if(Sr()){for(let f of d)if(!f.isConnected){g.disconnect();break}}}});g.observe(o,{childList:!0,subtree:!0});let h=new Set;if(Sr())for(let y of d){let m=new MutationObserver(f=>{for(let b of f)if(b.type==="childList"){if(b.target.isConnected&&![...i,...s].some(v=>fe(v,b.target)))for(let v of b.addedNodes)(v instanceof HTMLElement||v instanceof SVGElement)&&yh(v)?i.add(v):v instanceof Element&&u(v);if(Sr()){for(let v of d)if(!v.isConnected){g.disconnect();break}}}});m.observe(y,{childList:!0,subtree:!0}),h.add(m)}let $={visibleNodes:i,hiddenNodes:s,observe(){g.observe(o,{childList:!0,subtree:!0})},disconnect(){g.disconnect()}};return kr.push($),()=>{if(g.disconnect(),Sr())for(let y of h)y.disconnect();for(let y of s){let m=uc.get(y);m!=null&&(m===1?(c(y,!1),uc.delete(y)):uc.set(y,m-1))}$===kr[kr.length-1]?(kr.pop(),kr.length&&kr[kr.length-1].observe()):kr.splice(kr.indexOf($),1)}}function Ch(e){let t=kr[kr.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}var dn={top:"top",bottom:"top",left:"left",right:"left"},hf={top:"bottom",bottom:"top",left:"right",right:"left"},Ix={top:"left",left:"top"},x2={top:"height",left:"width"},Lh={width:"totalWidth",height:"totalHeight"},mf={},Nx=()=>typeof document<"u"?window.visualViewport:null;function wh(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}=fc(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,o=r,a=n;return Jt()&&(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 Dx(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Sh(e,t,r,n,o,a,i){let s=o.scroll[e]??0,l=n[x2[e]],c=i[e]+n.scroll[dn[e]]+a,d=i[e]+n.scroll[dn[e]]+l-a,u=t-s+n.scroll[dn[e]]+i[e]-n[dn[e]],p=t-s+r+n.scroll[dn[e]]+i[e]-n[dn[e]];return u<c?c-u:p>d?Math.max(d-p,c-u):0}function Fx(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 Eh(e){if(mf[e])return mf[e];let[t,r]=e.split(" "),n=dn[t]||"right",o=Ix[n];dn[r]||(r="center");let a=x2[n],i=x2[o];return mf[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:a,crossSize:i},mf[e]}function y2(e,t,r,n,o,a,i,s,l,c,d){let{placement:u,crossPlacement:p,axis:g,crossAxis:h,size:$,crossSize:y}=n,m={};m[h]=e[h]??0,p==="center"?m[h]+=((e[y]??0)-(r[y]??0))/2:p!==h&&(m[h]+=(e[y]??0)-(r[y]??0)),m[h]+=a;let f=e[h]-r[y]+l+c,b=e[h]+e[y]-l-c;if(m[h]=Zl(m[h],f,b),u===g){let v=s?d[$]:d[Lh[$]];m[hf[g]]=Math.floor(v-e[g]+o)}else m[g]=Math.floor(e[g]+e[$]+o);return m}function Hx(e,t,r,n,o,a,i,s,l,c,d){let u=(e.top!=null?e.top:l[Lh.height]-(e.bottom??0)-i)-(l.scroll.top??0),p=c?r.top:0,g={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,g.bottom-u-((o.top??0)+(o.bottom??0)+a)):Math.max(0,u+i-g.top-((o.top??0)+(o.bottom??0)+a))}function kh(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[hf[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[hf[c]]-o)}function Ax(e,t,r,n,o,a,i,s,l,c,d,u,p,g,h,$,y,m){let f=Eh(e),{size:b,crossAxis:v,crossSize:x,placement:w,crossPlacement:k}=f,E=y2(t,s,r,f,d,u,c,p,h,$,l),P=d,T=kh(s,c,t,o,a+d,f,l,y);if(i&&r[b]>T){let M=Eh(`${hf[w]} ${k}`),ae=y2(t,s,r,M,d,u,c,p,h,$,l);kh(s,c,t,o,a+d,M,l,y)>T&&(f=M,E=ae,P=d)}let D="bottom";f.axis==="top"?f.placement==="top"?D="top":f.placement==="bottom"&&(D="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?D="bottom":f.crossPlacement==="bottom"&&(D="top"));let I=Sh(v,E[v],r[x],s,l,a,c);E[v]+=I;let R=Hx(E,s,c,p,o,a,r.height,D,l,y,m);g&&g<R&&(R=g),r.height=Math.min(r.height,R),E=y2(t,s,r,f,P,u,c,p,h,$,l),I=Sh(v,E[v],r[x],s,l,a,c),E[v]+=I;let C={},L=t[v]-E[v]-o[dn[v]],K=L+.5*t[x],_=h/2+$,q=dn[v]==="left"?(o.left??0)+(o.right??0):(o.top??0)+(o.bottom??0),N=r[x]-q-h/2-$,X=t[v]+h/2-(E[v]+o[dn[v]]),Q=t[v]+t[x]-h/2-(E[v]+o[dn[v]]),z=Zl(K,X,Q);C[v]=Zl(z,_,N),{placement:w,crossPlacement:k}=f,h?L=C[v]:k==="right"?L+=t[x]:k==="center"&&(L+=t[x]/2);let j=w==="left"||w==="top"?r[b]:0,G={x:w==="top"||w==="bottom"?L:j,y:w==="left"||w==="right"?L:j};return{position:E,maxHeight:R,arrowOffsetLeft:C.left,arrowOffsetTop:C.top,placement:w,triggerAnchorPoint:G}}function Rh(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:g}=e,h=Nx(),$=n instanceof HTMLElement?Ox(n):document.documentElement,y=$===document.documentElement,m=window.getComputedStyle($).position,f=!!m&&m!=="static",b=y?fc(r,!1,g):Ph(r,$,!1,g);if(!y){let{marginTop:D,marginLeft:I}=window.getComputedStyle(r);b.top+=parseInt(D,10)||0,b.left+=parseInt(I,10)||0}let v=fc(n,!0),x=Fx(n);v.width+=(x.left??0)+(x.right??0),v.height+=(x.top??0)+(x.bottom??0);let w=Dx(o),k=wh(s,h),E=wh($,h),P;if((s.tagName==="BODY"||s.tagName==="HTML")&&!y){let D=pc($,!1);P={top:-(D.top-k.top),left:-(D.left-k.left),width:0,height:0}}else(s.tagName==="BODY"||s.tagName==="HTML")&&y?P={top:0,left:0,width:0,height:0}:P=Ph(s,$,!1);let T=fe(s,$);return Ax(t,b,v,w,x,a,i,k,E,P,l,c,f,d,u,p,T,h)}function pc(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 fc(e,t,r){let{top:n,left:o,width:a,height:i}=r||pc(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 Ph(e,t,r,n){let o=window.getComputedStyle(e),a;if(o.position==="fixed")a=n||pc(e,r);else{a=fc(e,r,n);let i=fc(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 Ox(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Th(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Th(t);)t=t.parentElement;return t||document.documentElement}function Th(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 _h=S(F(),1),Bx=new WeakMap;function Mh(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,_h.useEffect)(()=>{if(!r||n===null)return;let o=a=>{let i=Z(a);if(!t.current||i instanceof Node&&!fe(i,t.current)||i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)return;let s=n||Bx.get(t.current);s&&s()};return Lt(xl(t.current),"scroll",o,!0)},[r,n,t])}var Ih=S(F(),1);function Kx(){return typeof window.ResizeObserver<"u"}function as(e){let{ref:t,box:r,onResize:n}=e,o=mt(n);(0,Ih.useEffect)(()=>{let a=t?.current;if(a)if(Kx()){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(F(),1),Ja=typeof document<"u"?window.visualViewport:null;function Nh(e){let{direction:t}=lr(),{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:g=!0,isOpen:h=!0,onClose:$,maxHeight:y,arrowBoundaryOffset:m=0,getTargetRect:f}=e,[b,v]=(0,Xn.useState)(null),x=[g,s,o.current,n.current,a?.current,i.current,l,c,d,u,p,h,t,y,m,r],w=(0,Xn.useRef)(Ja?.scale);(0,Xn.useEffect)(()=>{h&&(w.current=Ja?.scale)},[h]);let k=(0,Xn.useCallback)(()=>{if(g===!1||!h||!o.current||!n.current||!d||Ja?.scale!==w.current)return;let T=null;if(i.current&&ta(i.current)){let C=ve()?.getBoundingClientRect(),L=i.current.getBoundingClientRect();T={type:"top",offset:(C?.top??0)-L.top},T.offset>L.height/2&&(T.type="bottom",T.offset=(C?.bottom??0)-L.bottom)}let D=o.current;!y&&o.current&&(D.style.top="0px",D.style.bottom="",D.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let I=Rh({placement:Vx(s,t),overlayNode:o.current,targetNode:n.current,scrollNode:i.current||o.current,padding:l,shouldFlip:c,boundaryElement:d,offset:u,crossOffset:p,maxHeight:y,arrowSize:r??(a?.current?pc(a.current,!0).width:0),arrowBoundaryOffset:m,targetRect:f?.(n.current)});if(!I.position)return;D.style.top="",D.style.bottom="",D.style.left="",D.style.right="",Object.keys(I.position).forEach(C=>D.style[C]=I.position[C]+"px"),D.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"";let R=ve();if(T&&R&&i.current){let C=R.getBoundingClientRect(),L=i.current.getBoundingClientRect(),K=C[T.type]-L[T.type];i.current.scrollTop+=K-T.offset}v(I)},x);ce(k,x),zx(k),as({ref:o,onResize:k}),as({ref:n,onResize:k});let E=(0,Xn.useRef)(!1);ce(()=>{let T,D=()=>{E.current=!0,clearTimeout(T),T=setTimeout(()=>{E.current=!1},500),k()},I=()=>{E.current&&D()};Ja?.addEventListener("resize",D),Ja?.addEventListener("scroll",I);let R=Lt(xl(window),"scroll",I);return()=>{Ja?.removeEventListener("resize",D),Ja?.removeEventListener("scroll",I),R()}},[k]);let P=(0,Xn.useCallback)(()=>{E.current||$?.()},[$,E]);return Mh({triggerRef:n,isOpen:h,onClose:$&&P}),{overlayProps:{style:{position:b?"absolute":"fixed",top:b?void 0:0,left:b?void 0:0,zIndex:1e5,...b?.position,maxHeight:b?.maxHeight??"100vh"}},placement:b?.placement??null,triggerAnchorPoint:b?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:b?.arrowOffsetLeft,top:b?.arrowOffsetTop}},updatePosition:k}}function zx(e){ce(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Vx(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}var gf=S(F(),1);function Fh(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,a=(0,gf.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=mt(l=>{r&&Dh(l,t)&&(o&&o(l),a.current.isPointerDown=!0)}),s=mt(l=>{r&&r(l)});(0,gf.useEffect)(()=>{let l=a.current;if(n)return;let c=t.current,d=de(c);if(typeof PointerEvent<"u"){let u=p=>{l.isPointerDown&&Dh(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 Dh(e,t){if(e.button>0)return!1;let r=Z(e);if(r){let n=r.ownerDocument;if(!n||!fe(n.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}var bf=S(F(),1),qn=[];function Hh(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e,l=(0,bf.useRef)(void 0);(0,bf.useEffect)(()=>{if(o&&!qn.includes(t))return qn.push(t),()=>{let h=qn.indexOf(t);h>=0&&qn.splice(h,1)}},[o,t]);let c=()=>{qn[qn.length-1]===t&&r&&r()},d=h=>{let $=qn[qn.length-1];l.current=$,(!s||s(Z(h)))&&$===t&&h.stopPropagation()},u=h=>{(!s||s(Z(h)))&&(qn[qn.length-1]===t&&h.stopPropagation(),l.current===t&&c()),l.current=void 0},{keyboardProps:p}=Er({shortcuts:{Escape:()=>{if(!i){c();return}return!1}}});Fh({ref:t,onInteractOutside:a&&o?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:g}=sn({isDisabled:!n,onBlurWithin:h=>{!h.relatedTarget||X7(h.relatedTarget)||(!s||s(h.relatedTarget))&&r?.()}});return{overlayProps:{...p,...g},underlayProps:{}}}var Wx=200,Ux=50,jx=600,fa=new WeakMap,mc=new Set,hc=new Set;function Gx(e,t){let r=Gi();if(e!==r||t.aborted)for(let n of hc)n(r),hc.delete(n);if(!e&&r&&Jt()&&!t.aborted){window.clearInterval(fa.get(window)),fa.set(window,C2(Wx));return}if(e!==r||t.aborted)for(let n of mc)n(r),mc.delete(n);(hc.size+mc.size<=0||t.aborted)&&(window.clearInterval(fa.get(window)),fa.delete(window))}function C2(e=jx){return window.setInterval(Gx,Ux,Gi(),AbortSignal.timeout(e))}function gc(e){if(!Ll())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ve():null,n=Ka(r);if(Gi()===n||Gi()&&!n)return e(n);hc.add(e),fa.has(window)||fa.set(window,C2())})});return()=>{window.cancelAnimationFrame(t),hc.delete(e)}}function w2(e){if(!Ll())return e(!1),()=>{};let t=window.requestAnimationFrame(()=>{t=window.requestAnimationFrame(()=>{let r=document.hasFocus()?ve():null,n=Ka(r);if(Gi()===n)return e(n);mc.add(e),fa.has(window)||fa.set(window,C2())})});return()=>{window.cancelAnimationFrame(t),mc.delete(e)}}var S2=typeof document<"u"&&window.visualViewport,$f=0,E2;function Ah(e={}){let{isDisabled:t,UNSTABLE_overrideFocus:r}=e;ce(()=>{if(!t)return $f++,$f===1&&(vo()&&Jt()?E2=Yx():E2=Zx(r)),()=>{$f--,$f===0&&E2()}},[t,r])}function Zx(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&&Bh(),e&&Ll()&&Oh())}function Yx(){let e=Un(document.documentElement,"overflow","hidden"),t,r=!1,n=c=>{let d=Z(c);t=Zn(d,!0)?d:Yl(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=Vu();a&&(o.nonce=a),o.textContent=`
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=`
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=Bh(),l=qt(Lt(document,"touchstart",n,{passive:!1,capture:!0}),Lt(document,"touchmove",i,{passive:!1,capture:!0}),Oh());return()=>{e(),l(),o.remove(),s()}}function Oh(){return Lt(document,"blur",t=>{let r=Z(t),n=t.relatedTarget;n&&Ka(n)?n.focus():n||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},!0)}function Bh(){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=()=>{ve()===this&&Xx(this)};gc(n=>n?r():w2(()=>r()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function Xx(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t&&r.isConnected;){let n=Yl(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;S2&&(i=Math.min(i,S2.offsetTop+S2.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 Kh=S(F(),1);function k2(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}=Hh({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||c,isKeyboardDismissDisabled:i,shouldCloseOnInteractOutside:s},o??n),{overlayProps:p,arrowProps:g,placement:h,triggerAnchorPoint:$}=Nh({...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)});Ah({isDisabled:a||!t.isOpen}),(0,Kh.useEffect)(()=>{if(t.isOpen&&n.current)return a?Ch(o?.current??n.current):xh([o?.current??n.current],{shouldUseInert:!0})},[a,t.isOpen,n,o]);let{focusWithinProps:y}=sn(e);return{popoverProps:se(d,p,y),arrowProps:g,underlayProps:u,placement:h,triggerAnchorPoint:$}}var P2={};P2={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var T2={};T2={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var L2={};L2={dismiss:"Odstranit"};var R2={};R2={dismiss:"Luk"};var _2={};_2={dismiss:"Schlie\xDFen"};var M2={};M2={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var I2={};I2={dismiss:"Dismiss"};var N2={};N2={dismiss:"Descartar"};var D2={};D2={dismiss:"L\xF5peta"};var F2={};F2={dismiss:"Hylk\xE4\xE4"};var H2={};H2={dismiss:"Rejeter"};var A2={};A2={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var O2={};O2={dismiss:"Odbaci"};var B2={};B2={dismiss:"Elutas\xEDt\xE1s"};var K2={};K2={dismiss:"Ignora"};var z2={};z2={dismiss:"\u9589\u3058\u308B"};var V2={};V2={dismiss:"\uBB34\uC2DC"};var W2={};W2={dismiss:"Atmesti"};var U2={};U2={dismiss:"Ner\u0101d\u012Bt"};var j2={};j2={dismiss:"Lukk"};var G2={};G2={dismiss:"Negeren"};var Z2={};Z2={dismiss:"Zignoruj"};var Y2={};Y2={dismiss:"Descartar"};var X2={};X2={dismiss:"Dispensar"};var q2={};q2={dismiss:"Revocare"};var Q2={};Q2={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var J2={};J2={dismiss:"Zru\u0161i\u0165"};var e3={};e3={dismiss:"Opusti"};var t3={};t3={dismiss:"Odbaci"};var r3={};r3={dismiss:"Avvisa"};var n3={};n3={dismiss:"Kapat"};var o3={};o3={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var a3={};a3={dismiss:"\u53D6\u6D88"};var i3={};i3={dismiss:"\u95DC\u9589"};var s3={};s3={"ar-AE":P2,"bg-BG":T2,"cs-CZ":L2,"da-DK":R2,"de-DE":_2,"el-GR":M2,"en-US":I2,"es-ES":N2,"et-EE":D2,"fi-FI":F2,"fr-FR":H2,"he-IL":A2,"hr-HR":O2,"hu-HU":B2,"it-IT":K2,"ja-JP":z2,"ko-KR":V2,"lt-LT":W2,"lv-LV":U2,"nb-NO":j2,"nl-NL":G2,"pl-PL":Z2,"pt-BR":Y2,"pt-PT":X2,"ro-RO":q2,"ru-RU":Q2,"sk-SK":J2,"sl-SI":e3,"sr-SP":t3,"sv-SE":r3,"tr-TR":n3,"uk-UA":o3,"zh-CN":a3,"zh-TW":i3};var l3=S(F(),1);function qx(e){return e&&e.__esModule?e.default:e}function vf(e){let{onDismiss:t,...r}=e,n=q8(qx(s3),"@react-aria/overlays"),o=Ru(r,n.format("dismiss")),a=()=>{t&&t()};return l3.default.createElement(ql,null,l3.default.createElement("button",{...o,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}var ei=S(F(),1);function zh({children:e}){let t=(0,ei.useMemo)(()=>({register:()=>{}}),[]);return ei.default.createElement(Ul.Provider,{value:t},e)}var bc=S(F(),1),Qx=(0,bc.createContext)({});function Vh(){return(0,bc.useContext)(Qx)??{}}var Mn=S(F(),1),Wh=S(kn(),1),Jx=Mn.default.createContext(null);function yf(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}=Vh();if(!e.portalContainer&&s&&(r=s()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=Mn.default.createElement(Ya,{restoreFocus:!0,contain:(e.shouldContainFocus||o)&&!n},l)),l=Mn.default.createElement(Jx.Provider,{value:i},Mn.default.createElement(zh,null,Mn.default.createElement(qi.Provider,{value:null},l))),Wh.default.createPortal(l,r)}var is=S(F(),1);function $c(e){let[t,r]=na(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[n,o]=(0,is.useState)(null),a=(0,is.useCallback)(()=>{r(!0)},[r]),i=(0,is.useCallback)(()=>{r(!1)},[r]),s=(0,is.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:a,close:i,toggle:s,point:n,setPoint:o}}var Le=S(F(),1);var Uh=S(kn(),1),pa=S(F(),1);function c3(e,t=!0,r){let[n,o]=(0,pa.useState)(!0),a=n&&t;return ce(()=>{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]),ce(()=>{if(a&&e.current&&"getAnimations"in e.current)for(let i of e.current.getAnimations())i instanceof CSSTransition&&i.cancel()},[e,a]),jh(e,a,r,(0,pa.useCallback)(()=>o(!1),[])),a}function d3(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 jh(e,a,r,(0,pa.useCallback)(()=>{o(i=>i==="exiting"?"closed":i)},[])),a}function jh(e,t,r,n){let o=(0,pa.useRef)(null),a=mt(r);ce(()=>{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,Uh.flushSync)(()=>{n()})}).catch(()=>{})}o.current=t},[e,t,n])}var vc=(0,Le.createContext)(null),Gh=(0,Le.createContext)(null),u3=(0,Le.forwardRef)(function(t,r){[t,r]=Tt(t,r,vc);let n=(0,Le.useContext)(yc),o=$c(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?o:n,i=d3(r,a.isOpen),s=t.isExiting||!t.shouldSkipAnimation&&i||!1,l=Bp(),{direction:c}=lr();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(eC,{...t,triggerRef:t.triggerRef,state:a,popoverRef:r,isExiting:s,dir:c})});function eC({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)(Gh),l=s&&o.trigger==="SubmenuTrigger",[c,d]=(0,Le.useState)(!1),{popoverProps:u,underlayProps:p,arrowProps:g,placement:h,triggerAnchorPoint:$}=k2({...o,offset:o.offset??8,arrowRef:a,groupRef:l?s:i},e),y=o.popoverRef,m=c3(y,!!h&&c),f=o.isEntering||!o.shouldSkipAnimation&&m||!1,b=Vt({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:h,isEntering:f,isExiting:t}}),v=!o.isNonModal||o.trigger==="SubmenuTrigger"||o.trigger==="PreviewTrigger",[x,w]=(0,Le.useState)(o.trigger==="PreviewTrigger");ce(()=>{y.current&&w(v&&!y.current.querySelector("[role=dialog]"))},[y,v]),(0,Le.useEffect)(()=>{x&&o.trigger!=="PreviewTrigger"&&(o.trigger!=="SubmenuTrigger"||Gn()!=="pointer")&&y.current&&!ta(y.current)&&an(y.current)},[x,y,o.trigger]);let k=(0,Le.useMemo)(()=>{let R=b.children;for(let C of[vc,...n??[]])R=Le.default.createElement(C.Provider,{value:null},R);return R},[b.children,n]),[E,P]=(0,Le.useState)(null),T=(0,Le.useCallback)(()=>{o.triggerRef.current&&P(o.triggerRef.current.getBoundingClientRect().width+"px")},[o.triggerRef]);ce(T,[T]),as({ref:b.style?.["--trigger-width"]?void 0:o.triggerRef,onResize:T});let D={...u.style,"--trigger-anchor-point":$?`${$.x}px ${$.y}px`:void 0,...b.style,"--trigger-width":b.style?.["--trigger-width"]||E};ce(()=>gc(()=>d(!0)),[]);let I=Le.default.createElement(Je.div,{...se(Be(o,{global:!0}),u),...b,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:y,slot:o.slot||void 0,style:D,dir:o.dir,"data-trigger":o.trigger,"data-placement":h,"data-entering":f||void 0,"data-exiting":t||void 0},!o.isNonModal&&Le.default.createElement(vf,{onDismiss:e.close}),Le.default.createElement(vh.Provider,{value:{...g,placement:h,ref:a}},k),Le.default.createElement(vf,{onDismiss:e.close}));return l?Le.default.createElement(yf,{...o,shouldContainFocus:x&&o.trigger!=="PreviewTrigger",isExiting:t,portalContainer:r??s?.current??void 0},I):Le.default.createElement(yf,{...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(Gh.Provider,{value:i},I)))}var ss=S(F(),1),xf=(0,ss.createContext)({}),f3=(0,ss.forwardRef)(function(t,r){return[t,r]=Tt(t,r,xf),ss.default.createElement(Je.kbd,{dir:"ltr",...t,ref:r})});var Cf=new WeakMap;function p3(e,t,r){let{shouldFocusWrap:n=!0,onKeyDown:o,onKeyUp:a,...i}=e;!e["aria-label"]&&e["aria-labelledby"];let s=Be(e,{labelable:!0}),{listProps:l}=sf({...i,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return Cf.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 m3=S(F(),1);function h3(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:g,onClick:h,onHoverStart:$,onHoverChange:y,onHoverEnd:m,onKeyDown:f,onKeyUp:b,onFocus:v,onFocusChange:x,onBlur:w,selectionManager:k=t.selectionManager}=e,E=!!l,P=E&&e["aria-expanded"]==="true",T=e.isDisabled??k.isDisabled(o),D=e.isSelected??k.isSelected(o),I=Cf.get(t),R=t.collection.getItem(o),C=e.onClose||I.onClose,L=Aa(),K=()=>{if(!E&&(R?.props?.onAction?R.props.onAction():e.onAction&&e.onAction(o),I.onAction)){let De=I.onAction;De(o,R?.value)}},_="menuitem";E||(k.selectionMode==="single"?_="menuitemradio":k.selectionMode==="multiple"&&(_="menuitemcheckbox"));let q=Vn(),N=Vn(),X=Vn(),Q={id:n,"aria-disabled":T||void 0,role:_,"aria-label":e["aria-label"],"aria-labelledby":q,"aria-describedby":[e["aria-describedby"],N,X].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};if(k.selectionMode!=="none"&&!E&&(Q["aria-checked"]=D),s){let De=Number(R?.index);Q["aria-posinset"]=Number.isNaN(De)?void 0:De+1,Q["aria-setsize"]=sc(t.collection)}let z=(0,m3.useRef)(!1),j=De=>{p?.(De),z.current=De},G=(0,m3.useRef)(null),M=De=>{De.pointerType!=="keyboard"&&(G.current={pointerType:De.pointerType}),De.pointerType==="mouse"&&(z.current||De.target.click()),d?.(De)},ae=De=>{h?.(De),K(),M8(De,L,R.props.href,R?.props.routerOptions);let Gr=G.current?.pointerType==="keyboard"?G.current?.key==="Enter"||k.selectionMode==="none"||k.isLink(o):k.selectionMode!=="multiple"||k.isLink(o);Gr=i??a??Gr,C&&!E&&Gr&&C(),G.current=null},{itemProps:J,isFocused:xe}=lf({id:n,selectionManager:k,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:I.shouldUseVirtualFocus}),{pressProps:bt,isPressed:le}=Co({onPressStart:c,onPress:u,onPressUp:M,onPressChange:j,onPressEnd:g,isDisabled:T}),{hoverProps:O}=Tn({isDisabled:T,onHoverStart(De){!Pn()&&!(P&&l)&&(k.setFocused(!0),k.setFocusedKey(o)),$?.(De)},onHoverChange:y,onHoverEnd:m}),{keyboardProps:H}=Er({shortcuts:{" ":De=>{G.current={pointerType:"keyboard",key:" "},Z(De).click(),ra("keyboard")},Enter:De=>{G.current={pointerType:"keyboard",key:"Enter"};let Gr=Z(De);if(Gr.tagName!=="A"){Gr.click(),ra("keyboard");return}return ra("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:f,onKeyUp:b}),{focusableProps:we}=Ou({onBlur:w,onFocus:v,onFocusChange:x},r),pe=Be(R?.props);delete pe.id;let hn=Eu(R?.props);return{menuItemProps:{...Q,...se(pe,hn,E?{onFocus:J.onFocus,"data-collection":J["data-collection"],"data-key":J["data-key"]}:J,bt,O,H,we,I.shouldUseVirtualFocus||E?{onMouseDown:De=>De.preventDefault()}:void 0,T?void 0:{onClick:ae}),tabIndex:J.tabIndex!=null&&P&&!I.shouldUseVirtualFocus?-1:J.tabIndex},labelProps:{id:q},descriptionProps:{id:N},keyboardShortcutProps:{id:X},isFocused:xe,isFocusVisible:xe&&k.isFocused&&Pn()&&!P,isSelected:D,isPressed:le,isDisabled:T}}function g3(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 b3=S(F(),1);function ls(e){let t=$c(e),[r,n]=(0,b3.useState)(null),[o,a]=(0,b3.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 he=S(F(),1);var wf=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 cs=S(F(),1);function $3(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=Qa(e),a=(0,cs.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=ff(e,(0,cs.useCallback)(l=>new wf(l,{expandedKeys:r}),[r]),null);return(0,cs.useEffect)(()=>{o.focusedKey!=null&&!i.getItem(o.focusedKey)&&o.setFocusedKey(null)},[i,o.focusedKey]),{collection:i,expandedKeys:r,disabledKeys:a,toggleKey:l=>{n(tC(r,l))},setExpandedKeys:n,selectionManager:new Eo(i,o)}}function tC(e,t){let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r}var Ef=(0,he.createContext)(null),wc=(0,he.createContext)(null),xc=(0,he.createContext)(null),Sf=(0,he.createContext)(null);var rC=(0,he.createContext)(null),Zh=class extends on{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 y3=(0,he.forwardRef)(function(t,r){return[t,r]=Tt(t,r,Ef),he.default.createElement(Vl,{content:he.default.createElement(Wl,t)},n=>he.default.createElement(nC,{props:t,collection:n,menuRef:r}))});function nC({props:e,collection:t,menuRef:r}){[e,r]=Tt(e,r,Nl);let{filter:n,...o}=e,a=(0,he.useMemo)(()=>n?t.filter(n):t,[t,n]),i=$3({...e,collection:a,children:void 0}),s=(0,he.useContext)(xc),{isVirtualized:l,CollectionRoot:c}=(0,he.useContext)(aa),{menuProps:d}=p3({...e,isVirtualized:l,onClose:e.onClose||s?.close},i,r),u=Vt({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:i.collection.size===0}}),p=null;i.collection.size===0&&e.renderEmptyState&&(p=he.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let g=Be(e,{global:!0});return he.default.createElement(Ya,null,he.default.createElement(Je.div,{...se(g,u,d),ref:r,slot:e.slot||void 0,"data-empty":i.collection.size===0||void 0,onScroll:e.onScroll},he.default.createElement(rn,{values:[[wc,i],[rf,{elementType:"div"}],[Ku,{name:"MenuSection",render:oC}],[rC,{parentMenuRef:r,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[Cc,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[Nl,null],[Q8,null],[Sf,i.selectionManager],[xc,s??ls({})]]},he.default.createElement(ns,null,he.default.createElement(c,{collection:i.collection,persistedKeys:g7(i.selectionManager.focusedKey),scrollRef:r}))),p))}var v3=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 oC(e,t,r,n="react-aria-MenuSection"){let o=(0,he.useContext)(wc),{CollectionBranch:a}=(0,he.useContext)(aa),[i,s]=zi(),{headingProps:l,groupProps:c}=g3({heading:s,"aria-label":r.props["aria-label"]??void 0}),d=Vt({...e,id:void 0,children:void 0,defaultClassName:n,className:r.props?.className,style:r.props?.style,values:void 0}),u=(0,he.useContext)(Sf),p=Qa(e),g=e.selectionMode!=null?new v3(u,p):u,h=Fa(Cc)?.shouldCloseOnSelect,$=Be(e,{global:!0});return delete $.id,he.default.createElement(Je.section,{...se($,d,c),ref:t},he.default.createElement(rn,{values:[[Ju,{...l,ref:i}],[Sf,g],[Cc,{shouldCloseOnSelect:e.shouldCloseOnSelect??h}]]},he.default.createElement(a,{collection:o.collection,parent:r})))}var Cc=(0,he.createContext)(null),x3=ja(Wa,function(t,r,n){[t,r]=Tt(t,r,Cc);let o=Fa(Cc)?.id,a=(0,he.useContext)(wc),i=Wn(r),s=(0,he.useContext)(Sf),{isVirtualized:l}=(0,he.useContext)(aa),{menuItemProps:c,labelProps:d,descriptionProps:u,keyboardShortcutProps:p,...g}=h3({...t,id:o,key:n.key,selectionManager:s,isVirtualized:l},a,i),{hoverProps:h,isHovered:$}=Tn({isDisabled:g.isDisabled}),y=Vt({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...g,isHovered:$,isFocusVisible:g.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),m=t.href?Je.a:Je.div,f=Be(t,{global:!0});return delete f.id,delete f.onClick,he.default.createElement(m,{...se(f,y,c,h),ref:i,"data-disabled":g.isDisabled||void 0,"data-hovered":$||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":g.isFocusVisible||void 0,"data-pressed":g.isPressed||void 0,"data-selected":g.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},he.default.createElement(rn,{values:[[ca,{slots:{[Ki]:d,label:d,description:u}}],[xf,p],[tf,{isSelected:g.isSelected}]]},y.children))}),aC=ja(Va,function(t,r,n){let o=(0,he.useContext)(wc),{isLoading:a,onLoadMore:i,scrollOffset:s,...l}=t,c=(0,he.useRef)(null),d=(0,he.useMemo)(()=>({onLoadMore:i,collection:o?.collection,sentinelRef:c,scrollOffset:s}),[i,s,o?.collection]);dc(d,c);let u=Vt({...l,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),p={tabIndex:-1};return he.default.createElement(he.default.Fragment,null,he.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:lc(!0)},he.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&u.children&&he.default.createElement(he.default.Fragment,null,he.default.createElement(Je.div,{...se(Be(t,{global:!0}),p),...u,role:"menuitem",ref:r},u.children)))});var ds=S(F(),1);var yc=(0,ds.createContext)(null);var kf=new WeakMap;var Yh=S(F(),1);function C3(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,g=e.isDisabled||t.isDisabled,h=o!=null,$=a!=null||i!=null,y=t.selectedValue===n,m=K=>{K.stopPropagation(),t.setSelectedValue(n)},{pressProps:f,isPressed:b}=Co({onPressStart:s,onPressEnd:l,onPressChange:c,onPress:d,onPressUp:u,onClick:p,isDisabled:g}),{pressProps:v,isPressed:x}=Co({onPressStart:s,onPressEnd:l,onPressChange:c,onPressUp:u,onClick:p,isDisabled:g,onPress(K){d?.(K),t.setSelectedValue(n),r.current?.focus()}}),{focusableProps:w}=Ou(se(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),k=se(f,w),E=Be(e,{labelable:!0}),P=-1;t.selectedValue!=null?t.selectedValue===n&&(P=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(P=0),g&&(P=void 0);let{name:T,form:D,descriptionId:I,errorMessageId:R,validationBehavior:C}=kf.get(t);B7(r,t.defaultSelectedValue,t.setSelectedValue),K7({validationBehavior:C},t,r);let L=z7();return{labelProps:se(v,(0,Yh.useMemo)(()=>({onClick:K=>K.preventDefault(),onMouseDown:K=>K.preventDefault()}),[])),inputProps:se(E,{...k,type:"radio",name:T,form:D,tabIndex:P,disabled:g,required:t.isRequired&&C==="native",checked:y,value:n,onChange:m,"aria-describedby":[e["aria-describedby"],L.id,t.isInvalid?R:null,I].filter(Boolean).join(" ")||void 0}),descriptionProps:L,isDisabled:g,isSelected:y,isPressed:b||x}}function w3(e,t){let{name:r,form:n,isReadOnly:o,isRequired:a,isDisabled:i,orientation:s="vertical",validationBehavior:l="aria"}=e,{direction:c}=lr(),{isInvalid:d,validationErrors:u,validationDetails:p}=t.displayValidation,{labelProps:g,fieldProps:h,descriptionProps:$,errorMessageProps:y}=A7({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||u}),m=Be(e,{labelable:!0}),{focusWithinProps:f}=sn({onBlurWithin(w){e.onBlur?.(w),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});function b(w,k){let E=ln(k.currentTarget,{from:Z(k),accept:T=>T instanceof Fe(T).HTMLInputElement&&T.type==="radio"}),P;return w==="next"?(P=E.nextNode(),P||(E.currentNode=k.currentTarget,P=E.firstChild())):(P=E.previousNode(),P||(E.currentNode=k.currentTarget,P=E.lastChild())),P?(P.focus(),t.setSelectedValue(P.value),!0):!1}let{keyboardProps:v}=Er({shortcuts:{ArrowRight:w=>b(c==="rtl"&&s!=="vertical"?"prev":"next",w),ArrowLeft:w=>b(c==="rtl"&&s!=="vertical"?"next":"prev",w),ArrowDown:w=>b("next",w),ArrowUp:w=>b("prev",w)},allowRepeats:!0}),x=yt(r);return kf.set(t,{name:x,form:n,descriptionId:$.id,errorMessageId:y.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,...h,...f}),labelProps:g,descriptionProps:$,errorMessageProps:y,isInvalid:d,validationErrors:u,validationDetails:p}}var Sc=S(F(),1),iC=Math.round(Math.random()*1e10),sC=0;function S3(e){let t=(0,Sc.useMemo)(()=>e.name||`radio-group-${iC}-${++sC}`,[e.name]),[r,n]=na(e.value,e.defaultValue??null,e.onChange),[o]=(0,Sc.useState)(r),[a,i]=(0,Sc.useState)(null),s=F7({...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(F(),1);var Xh=(0,et.createContext)(null),qh=(0,et.createContext)(null);var Pf=(0,et.createContext)(null),E3=(0,et.forwardRef)(function(t,r){[t,r]=Tt(t,r,Xh);let{validationBehavior:n}=Fa(H7)||{},o=t.validationBehavior??n??"native",a=S3({...t,validationBehavior:o}),[i,s]=zi(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:d,errorMessageProps:u,...p}=w3({...t,label:s,validationBehavior:o},a),g=Vt({...t,values:{orientation:t.orientation||"vertical",isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:a.isRequired,isInvalid:a.isInvalid,state:a},defaultClassName:"react-aria-RadioGroup"}),h=Be(t,{global:!0});return et.default.createElement(Je.div,{...se(h,g,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(rn,{values:[[Pf,a],[ju,{...c,ref:i,elementType:"span"}],[ca,{slots:{description:d,errorMessage:u}}],[_7,p]]},et.default.createElement(ns,null,g.children)))}),k3=(0,et.forwardRef)(function(t,r){let{inputRef:n=null,...o}=t;[t,r]=Tt(o,r,qh);let a=et.default.useContext(Pf),i=Wn((0,et.useMemo)(()=>ea(n,t.inputRef!==void 0?t.inputRef:null),[n,t.inputRef])),s=C3({...E8(t),children:typeof t.children=="function"?!0:t.children},a,i);return et.default.createElement(Qh.Provider,{value:{...s,inputRef:i,defaultClassName:"react-aria-Radio"}},et.default.createElement(Jh,{...t,ref:r}))}),Qh=(0,et.createContext)(null);var Jh=(0,et.forwardRef)(function(t,r){let{labelProps:n,inputProps:o,isSelected:a,isDisabled:i,isPressed:s,defaultClassName:l,inputRef:c}=(0,et.useContext)(Qh),d=et.default.useContext(Pf),{isFocused:u,isFocusVisible:p,focusProps:g}=Gl(),h=i||d.isReadOnly,{hoverProps:$,isHovered:y}=Tn({...t,isDisabled:h}),m=Vt({...t,defaultClassName:l,values:{isSelected:a,isPressed:s,isHovered:y,isFocused:u,isFocusVisible:p,isDisabled:i,isReadOnly:d.isReadOnly,isInvalid:d.isInvalid,isRequired:d.isRequired}}),f=Be(t,{global:!0});return delete f.id,delete f.onClick,et.default.createElement(Je.label,{...se(f,n,$,m),ref:r,"data-selected":a||void 0,"data-pressed":s||void 0,"data-hovered":y||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(ql,{elementType:"span"},et.default.createElement("input",{...se(o,g),ref:c})),m.children)});var ko=S(F(),1);var Vr=S(be(),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"},e9={default:18,s:16},t9=44,P3=1.5,uC=16;function fC({color:e,size:t}){return(0,Vr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Vr.jsx)("path",{d:"M4 9.5L7.5 13L14 6",stroke:e,strokeWidth:P3,strokeLinecap:"round",strokeLinejoin:"round"})})}function pC({color:e,size:t}){return(0,Vr.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",children:(0,Vr.jsx)("path",{d:"M5 9H13",stroke:e,strokeWidth:P3,strokeLinecap:"round"})})}function Tf({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:g}){let h=zt(),$=(0,ko.useRef)(null),[y,m]=(0,ko.useState)(!1),[f,b]=(0,ko.useState)(!1),[v,x]=(0,ko.useState)(!1),[w,k]=(0,ko.useState)(!1);(0,ko.useEffect)(()=>{$.current&&($.current.indeterminate=t)},[t]);let E=e9[i]||e9.default,P="transparent";a&&(e||t)?P=r?Te.fillErrorDisabled:Te.fillCheckedDisabled:!a&&(e||t)&&(r?P=w?Te.fillErrorPressed:f?Te.fillErrorFocused:y?Te.fillErrorHover:Te.fillErrorBase:P=w?Te.fillCheckedPressed:f?Te.fillCheckedFocused:y?Te.fillCheckedHover:Te.fillCheckedBase);let T;e||t?T=P:a?T=r?Te.borderErrorDisabled:Te.borderDisabled:r?T=w?Te.borderErrorPressed:f?Te.borderErrorFocused:y?Te.borderErrorHover:Te.borderErrorBase:T=w?Te.borderPressed:f?Te.borderFocused:y?Te.borderHover:Te.borderBase;let D="transparent";a||(w?D=e||t?Te.stateLayerCheckedPressed:r?Te.stateLayerErrorHover:Te.stateLayerUncheckedHover:(y||f)&&(e||t?D=r?Te.stateLayerErrorHover:f?Te.stateLayerCheckedFocused:Te.stateLayerCheckedHover:D=r?Te.stateLayerErrorHover:n?Te.stateLayerHighlightHover:Te.stateLayerUncheckedHover));let I=f&&r?"0 0 0 3px var(--semantic-color-fill-static-negative-subtle)":"none",R=r?Te.iconError:Te.iconPrimary,C=e||t;return(0,Vr.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?uC: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,Vr.jsxs)("span",{"aria-hidden":"true",style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:t9,height:t9,borderRadius:Te.radiusFull,backgroundColor:D,transition:h?"none":"background-color var(--motion-duration-3) var(--motion-easing-standard)",boxShadow:I,flexShrink:0},children:[(0,Vr.jsx)("input",{ref:$,type:"checkbox",id:c,name:d,value:u,checked:t?!1:e,disabled:a,"aria-describedby":g,onChange:L=>l&&l(L.target.checked),onFocus:L=>{b(!0),x(L.target.matches(":focus-visible"))},onBlur:()=>{b(!1),x(!1)},style:{position:"absolute",width:E,height:E,opacity:0,margin:0,padding:0,cursor:a?"not-allowed":"pointer",zIndex:1}}),(0,Vr.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:E,height:E,borderRadius:Te.radius,border:`${P3}px solid ${v&&!a?"transparent":T}`,backgroundColor:P,boxSizing:"border-box",outline:v&&!a?Te.focusOutline:"none",outlineOffset:Te.focusOffset,transition:h?"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,Vr.jsx)(pC,{color:R,size:E}):(0,Vr.jsx)(fC,{color:R,size:E}))})]}),s&&(0,Vr.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 us=S(F(),1);var ht=S(be(),1),Oe=e=>`var(--semantic-color-${e})`,In=e=>`var(--semantic-layout-units-${e})`,r9=e=>`var(--contextual-layout-units-${e})`,Ft=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:r9("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},Wr={Base:{fontSize:Ft("font-size-s"),lineHeight:Ft("line-height-s-single"),letterSpacing:Ft("letter-spacing-spacious")},Large:{fontSize:Ft("font-size-r"),lineHeight:Ft("line-height-r-single"),letterSpacing:Ft("letter-spacing-wide")},group:{fontSize:Ft("font-size-s"),lineHeight:Ft("line-height-s-single"),letterSpacing:Ft("letter-spacing-spacious"),fontWeight:Ft("weight-medium")},help:{fontSize:Ft("font-size-xs"),lineHeight:Ft("line-height-xs-single"),letterSpacing:Ft("letter-spacing-extraspacious")}},mC=`
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
140
  .pw-radio-group{display:flex;flex-direction:column;align-items:flex-start;gap:${Ne.controlGap};min-width:0;
141
- font-family:${Ft("family-brand")},sans-serif}
141
+ font-family:${Ht("family-brand")},sans-serif}
142
142
  .pw-radio-group__label{display:inline-flex;gap:${Ne.requiredGap};color:${He.groupLabel};
143
- font-size:${Wr.group.fontSize};line-height:${Wr.group.lineHeight};letter-spacing:${Wr.group.letterSpacing};font-weight:${Wr.group.fontWeight}}
143
+ font-size:${jr.group.fontSize};line-height:${jr.group.lineHeight};letter-spacing:${jr.group.letterSpacing};font-weight:${jr.group.fontWeight}}
144
144
  .pw-radio-group__required{color:${He.required}}
145
145
  .pw-radio-group[data-invalid] .pw-radio-group__label{color:${He.groupLabelError}}
146
146
  .pw-radio-group[data-disabled] .pw-radio-group__label,.pw-radio-group[data-disabled] .pw-radio-group__required{color:${He.labelDisabled}}
147
147
  .pw-radio-group__options{display:flex;flex-direction:column;max-width:100%}
148
148
  .pw-radio-group[data-orientation=horizontal] .pw-radio-group__options{flex-direction:row;flex-wrap:wrap;column-gap:${Ne.rowGap}}
149
149
  .pw-radio-group__help{display:flex;align-items:center;gap:${Ne.helpGap};max-width:${Ne.helpMax}px;color:${He.help};
150
- font-size:${Wr.help.fontSize};line-height:${Wr.help.lineHeight};letter-spacing:${Wr.help.letterSpacing};font-weight:${Ft("weight-regular")}}
151
- .pw-radio-group__help[data-error]{color:${He.helpError};font-weight:${Ft("weight-semibold")}}
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
152
  .pw-radio-group__help-icon{flex:none;display:inline-flex;padding-top:${Ne.helpIconTop};color:${He.helpErrorIcon}}
153
153
  .pw-radio-group__help-icon .material-symbols-rounded{font-family:"Material Symbols Rounded";font-size:${Ne.helpIcon}px;line-height:1;
154
154
  font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24}
155
155
 
156
156
  .pw-radio{display:flex;align-items:flex-start;gap:${Ne.controlGap};box-sizing:border-box;width:fit-content;max-width:100%;
157
157
  min-width:${Ne.target};min-height:${Ne.targetH};cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
158
- font-family:${Ft("family-brand")},sans-serif}
158
+ font-family:${Ht("family-brand")},sans-serif}
159
159
  .pw-radio[data-disabled]{cursor:not-allowed}
160
160
  .pw-radio__control{flex:none;display:inline-grid;place-items:center;width:${Ne.target};height:${Ne.targetH};border-radius:${Ne.radius};
161
161
  transition:background-color ${Qn("duration-2")} ${Qn("easing-standard")}}
@@ -168,9 +168,9 @@ Error generating stack: `+a.message+`
168
168
  .pw-radio[data-size=Large] .pw-radio__dot{width:${Ne.dot.Large}px;height:${Ne.dot.Large}px}
169
169
  .pw-radio__label{box-sizing:border-box;min-width:0;max-width:${Ne.labelMax}px;overflow-wrap:anywhere;color:${He.label};
170
170
  padding:${Ne.labelBlock.Base} ${Ne.labelEnd} ${Ne.labelBlock.Base} 0;
171
- font-size:${Wr.Base.fontSize};line-height:${Wr.Base.lineHeight};letter-spacing:${Wr.Base.letterSpacing};font-weight:${Ft("weight-regular")}}
171
+ font-size:${jr.Base.fontSize};line-height:${jr.Base.lineHeight};letter-spacing:${jr.Base.letterSpacing};font-weight:${Ht("weight-regular")}}
172
172
  .pw-radio[data-size=Large] .pw-radio__label{padding-block:${Ne.labelBlock.Large};
173
- font-size:${Wr.Large.fontSize};line-height:${Wr.Large.lineHeight};letter-spacing:${Wr.Large.letterSpacing}}
173
+ font-size:${jr.Large.fontSize};line-height:${jr.Large.lineHeight};letter-spacing:${jr.Large.letterSpacing}}
174
174
 
175
175
  .pw-radio[data-selected] .pw-radio__mark{border-color:${He.ringOn}}
176
176
  .pw-radio[data-selected] .pw-radio__dot{transform:scale(1)}
@@ -196,123 +196,123 @@ Error generating stack: `+a.message+`
196
196
  .pw-radio[data-disabled] .pw-radio__label{color:${He.labelDisabled}}
197
197
 
198
198
  .pw-radio:is([data-focus-visible],[data-force=Focused]) .pw-radio__mark{background:${He.focusFill};border-color:transparent;
199
- outline:${r9("focusring-width")} solid ${He.focusRing};outline-offset:0}
199
+ outline:${n9("focusring-width")} solid ${He.focusRing};outline-offset:0}
200
200
 
201
201
  .pw-radio-mark{display:inline-grid;place-items:center;width:${Ne.target};height:${Ne.targetH};flex:none}
202
202
 
203
203
  @media (prefers-reduced-motion: reduce){.pw-radio__control,.pw-radio__mark,.pw-radio__dot{transition:none}}
204
- `,T3=!1;function L3(){(0,us.useEffect)(()=>{if(T3||typeof document>"u"||document.getElementById("pw-radio-css")){T3=!0;return}let e=document.createElement("style");e.id="pw-radio-css",e.textContent=mC,document.head.appendChild(e),T3=!0},[])}var n9=(0,us.createContext)({size:"Base"});function o9({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:g="",children:h,...$}){L3();let y=o&&a;return(0,ht.jsxs)(E3,{...$,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${g?` ${g}`:""}`,children:[t&&e&&(0,ht.jsxs)(Zp,{className:"pw-radio-group__label",children:[e,r&&(0,ht.jsx)("span",{className:"pw-radio-group__required","aria-hidden":"true",children:"*"})]}),(0,ht.jsx)(n9.Provider,{value:{size:l},children:(0,ht.jsx)("div",{className:"pw-radio-group__options",children:h})}),y?(0,ht.jsxs)(Yu,{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)(Yu,{slot:"description",className:"pw-radio-group__help",children:n}):null]})}function a9({selected:e=!1,error:t=!1,disabled:r=!1,size:n="Base"}){return L3(),(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 i9({value:e,text:t,children:r,showText:n=!0,size:o,disabled:a=!1,forceState:i,className:s="",...l}){L3();let c=(0,us.useContext)(n9),d=o||c.size||"Base",u=r??t;return(0,ht.jsxs)(k3,{...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 TA=S(F(),1),ma=S(be(),1),s9=["neutral","brand","info","warning","danger","negative","positive","accent-amethyst","accent-jade","accent-seabreeze"],l9=["light","subtle","base","contrast","bold"],Pr=e=>`var(--semantic-color-${e})`,c9={neutral:{light:Pr("foreground-static-neutral-faint"),subtle:Pr("foreground-static-neutral-base"),base:Pr("foreground-static-neutral-base"),contrast:Pr("foreground-static-neutral-strong"),bold:Pr("foreground-static-neutral-bold")},brand:Pr("foreground-action-primary-on-subtle-rest"),info:Pr("foreground-static-info-on-subtle"),warning:Pr("foreground-static-attention-on-subtle"),danger:Pr("foreground-static-negative-on-subtle"),negative:Pr("foreground-static-negative-on-subtle"),positive:Pr("foreground-static-positive-on-subtle"),"accent-amethyst":Pr("foreground-static-info-on-subtle"),"accent-jade":Pr("foreground-static-accent-jade-on-subtle"),"accent-seabreeze":Pr("foreground-static-accent-seabreeze-on-subtle")};function hC(e,t){let r=c9[e]??c9.neutral;return typeof r=="string"?r:r[t]??r.base}var gC=[{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}],bC=[{frac:.32,off:0,opacity:1},{frac:.19,off:.4,opacity:.7},{frac:.09,off:.68,opacity:.45}];function d9({variant:e="ring",size:t,tone:r="neutral",emphasis:n="base",label:o="Loading",className:a,style:i}){s9.includes(r)||console.error(`[Spinner] Invalid tone "${r}". Allowed: ${s9.join(", ")}`),l9.includes(n)||console.error(`[Spinner] Invalid emphasis "${n}". Allowed: ${l9.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:hC(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:gC.map((g,h)=>(0,ma.jsx)("path",{d:g.d,opacity:g.opacity,stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"},h))}):(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:bC.map((g,h)=>(0,ma.jsx)("circle",{cx:c/2,cy:c/2,r:u,stroke:"currentColor",strokeOpacity:g.opacity,strokeWidth:d,strokeLinecap:"round",strokeDasharray:`${g.frac*p} ${p}`,strokeDashoffset:-g.off*p},h))}),(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 Ec=S(F(),1);var At=S(be(),1),Ht=e=>`var(--semantic-color-${e})`,Tr=e=>`var(--semantic-layout-units-${e})`,u9=e=>`var(--contextual-layout-units-${e})`,Lf=e=>`var(--semantic-type-${e})`;var $C=["Neutral","Info","Positive","Negative"];var Rf={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"}},vC=e=>{let t=($C.includes(e)?e:"Neutral").toLowerCase(),r=n=>Ht(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")}}},f9={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}},un={radius:Tr("cornerradius-large"),radiusX:Tr("cornerradius-full"),border:Tr("borderwidth-base"),padTop:Tr("padding-xxxxtight"),padBottom:Tr("padding-xxxxtight"),padLeft:Tr("padding-xxxtight"),padRight:Tr("padding-xxtight"),gap:Tr("gap-xxxtight")},wt={pill:Tr("padding-xxxtight"),text:Tr("padding-xxxtight"),fieldGap:Tr("gap-xxtight"),rowGap:Tr("gap-xtight"),touchW:Tr("accessibility-touch-target-aa-width"),touchH:Tr("accessibility-touch-target-aa-height"),ring:Ht("stroke-focusring-base"),ringWidth:u9("focusring-width"),ringOffset:u9("focusring-offset"),fieldMax:80,badgeMax:240,duration:"var(--motion-duration-2)",easing:"var(--motion-easing-standard)"},p9=(e,t="weight-medium")=>({fontFamily:"inherit",fontSize:Lf(e.fontSize),lineHeight:Lf(e.lineHeight),fontWeight:Lf(t),letterSpacing:Lf("letter-spacing-extraspacious"),whiteSpace:"nowrap"}),R3={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},m9={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"},h9=e=>e?`inset 0 0 0 ${un.border} ${e}`:"none",g9=e=>e?{outline:`${wt.ringWidth} solid ${wt.ring}`,outlineOffset:wt.ringOffset}:{outline:"none"},b9=e=>e.height?{height:e.height,paddingTop:0,paddingBottom:0}:{},$9=`background ${wt.duration} ${wt.easing}, color ${wt.duration} ${wt.easing}, box-shadow ${wt.duration} ${wt.easing}`;function _f({type:e="static",label:t,fieldLabel:r,showFieldLabel:n=!1,status:o="Neutral",size:a="Small",badgeStyle:i="Outline & Fill",leadingIcon:s,trailingIcon:l,showTrailingIcon:c=!1,selected:d,defaultSelected:u=!1,onChange:p,onRemove:g,href:h,disabled:$=!1,removeDisabled:y=!1,forceState:m,className:f="",style:b,...v}){let x=f9[a]||f9.Small,[w,k]=(0,Ec.useState)(u),[E,P]=(0,Ec.useState)(!1),[T,D]=(0,Ec.useState)(!1),[I,R]=(0,Ec.useState)(!1),C=E||m==="hover",L=T||m==="pressed",K=I||m==="focused",_={"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 H=Rf[o]||Rf.Neutral,we=_.stroke==="strong"?Ht(H.strokeStrong):_.stroke==="subtle"?Ht(H.strokeSubtle):null;return(0,At.jsxs)("span",{className:`pw-badge ${f}`,"data-type":"static","data-status":o,"data-size":a,style:{display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:un.gap,paddingTop:un.padTop,paddingRight:un.padRight,paddingBottom:un.padBottom,paddingLeft:un.padLeft,...b9(x),borderRadius:un.radius,background:_.fill?Ht(H.fill):"transparent",boxShadow:we?`inset 0 0 0 ${un.border} ${we}`:"none",color:Ht(i==="Naked"&&H.textNaked?H.textNaked:H.text),...p9(x),...b},...v,children:[s&&(0,At.jsx)(Se,{name:s,size:x.icon,fill:1}),t,l&&(0,At.jsx)(Se,{name:l,size:x.icon})]})}let q={display:"inline-flex",alignItems:"center",boxSizing:"border-box",gap:0,paddingTop:un.padTop,paddingBottom:un.padBottom,paddingLeft:wt.pill,paddingRight:wt.pill,borderRadius:un.radius,maxWidth:n?"none":wt.badgeMax,minWidth:0,transition:$9,...p9(x),...b9(x)},N={display:"inline-flex",minWidth:0,paddingLeft:wt.text,paddingRight:wt.text},X=(H,we=0)=>(0,At.jsx)(Se,{name:H,size:x.ico,fill:we,style:{flexShrink:0}});if(e==="dismissible"){let H=Rf[o]||Rf.Neutral,we=_.stroke==="strong"?Ht(H.strokeStrong):_.stroke==="subtle"?Ht(H.strokeSubtle):null,pe=$||y,hn=n&&r?`${r} ${t}`:t,De=pe?"transparent":L?Ht("fill-action-secondary-pressed"):C?Ht("fill-action-secondary-hover"):"transparent",Gr=Ht(pe?"foreground-action-disabled":L?"foreground-action-secondary-pressed":C?"foreground-action-secondary-hover":"foreground-action-secondary-rest");return(0,At.jsx)("span",{className:`pw-badge pw-badge--dismissible ${f}`,"data-type":"dismissible","data-status":o,"data-size":a,style:{...m9,...b},...v,children:(0,At.jsxs)("span",{className:"pw-badge__pill",style:{...q,background:_.fill?Ht(H.fill):"transparent",color:Ht(i==="Naked"&&H.textNaked?H.textNaked:H.text),boxShadow:h9(we),...g9(K)},children:[s&&X(s,1),(0,At.jsxs)("span",{className:"pw-badge__label",style:{...N,gap:wt.fieldGap},children:[n&&r&&(0,At.jsx)("span",{style:{...R3,maxWidth:wt.fieldMax},children:r}),(0,At.jsx)("span",{style:{...R3,maxWidth:x.contentMax},children:t})]}),(0,At.jsxs)("button",{type:"button",className:"pw-badge__remove","aria-label":`Remove ${hn}`,"aria-disabled":pe||void 0,onClick:Zr=>{if(pe){Zr.preventDefault();return}g?.(Zr)},onMouseEnter:()=>!pe&&P(!0),onMouseLeave:()=>{P(!1),D(!1)},onMouseDown:()=>!pe&&D(!0),onMouseUp:()=>D(!1),onFocus:Zr=>{Zr.target.matches?.(":focus-visible")&&R(!0)},onBlur:()=>{R(!1),D(!1)},onKeyDown:Zr=>{(Zr.key===" "||Zr.key==="Enter")&&!pe&&D(!0)},onKeyUp:()=>D(!1),style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:x.ico,height:x.ico,padding:0,margin:0,border:0,outline:"none",borderRadius:un.radiusX,background:De,color:Gr,flexShrink:0,cursor:pe?"not-allowed":"pointer",transition:$9},children:[(0,At.jsx)(Se,{name:"close",size:x.ico}),(0,At.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:wt.touchW,height:wt.touchH}})]})]})})}let Q=d!==void 0?d:w,z=vC(o),j=L?"pressed":C?"hover":"rest",G=_.fill||j!=="rest",M=$?Ht("fill-action-disabled"):Q?z.on.fill[j]:G?z.off.fill[j]:"transparent",ae=$?Ht("foreground-action-disabled"):Q?z.on.text:z.off.text[j],J=$||Q||!_.stroke?null:z.off.stroke[j],xe=!!h||c,bt=Q?"check":s,le=h?"a":"button",O={onMouseEnter:()=>!$&&P(!0),onMouseLeave:()=>{P(!1),D(!1)},onMouseDown:()=>!$&&D(!0),onMouseUp:()=>D(!1),onFocus:H=>{H.target.matches?.(":focus-visible")&&R(!0)},onBlur:()=>{R(!1),D(!1)},onKeyDown:H=>{(H.key===" "||H.key==="Enter")&&!$&&D(!0)},onKeyUp:()=>D(!1),onClick:H=>{if($){H.preventDefault();return}if(xe){v.onClick?.(H);return}let we=!Q;d===void 0&&k(we),p?.(we)}};return(0,At.jsx)(le,{className:`pw-badge pw-badge--interactive ${f}`,"data-type":"interactive","data-status":o,"data-size":a,...h?{href:h}:{type:"button"},...xe?null:{"aria-pressed":Q},"aria-disabled":$||void 0,...v,...O,style:{...m9,cursor:$?"not-allowed":"pointer",...b},children:(0,At.jsxs)("span",{className:"pw-badge__pill",style:{...q,background:M,color:ae,boxShadow:h9(J),...g9(K)},children:[bt&&X(bt,Q?0:1),(0,At.jsx)("span",{className:"pw-badge__label",style:N,children:(0,At.jsx)("span",{style:{...R3,display:"block",maxWidth:x.contentMax},children:t})}),c&&X(l||"chevron_right")]})})}var If=S(F(),1),Jn=S(be(),1),ha=e=>`var(--semantic-color-${e})`,Nn=e=>`var(--semantic-layout-units-${e})`,er=e=>`var(--semantic-type-${e})`;var Mf={XXXS:{px:16,fontSize:er("font-size-xxxs"),lineHeight:er("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:10,badge:6},XXS:{px:20,fontSize:er("font-size-xxxs"),lineHeight:er("line-height-xxxs-single"),radius:Nn("cornerradius-small"),icon:12,badge:7},XS:{px:24,fontSize:er("font-size-xxs"),lineHeight:er("line-height-xxs-single"),radius:Nn("cornerradius-small"),icon:14,badge:8},S:{px:32,fontSize:er("font-size-s"),lineHeight:er("line-height-s-single"),radius:Nn("cornerradius-small"),icon:20,badge:10},M:{px:40,fontSize:er("font-size-r"),lineHeight:er("line-height-r-single"),radius:Nn("cornerradius-base"),icon:24,badge:12},L:{px:56,fontSize:er("font-size-l"),lineHeight:er("line-height-l-single"),radius:Nn("cornerradius-large"),icon:34,badge:16},XL:{px:96,fontSize:er("font-size-xxl"),lineHeight:er("line-height-xxl-single"),radius:Nn("cornerradius-xlarge"),icon:58,badge:28}},pr={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:er("family-brand"),weight:er("weight-semibold")};function _3(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 fs({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=Mf[e]||Mf.M,[g,h]=(0,If.useState)(!1);(0,If.useEffect)(()=>h(!1),[o]);let $=(a||"").slice(0,2),y=t==="Icon"?"Icon":t==="Text"?$?"Text":"Icon":o&&!g?"Image":$?"Text":"Icon",m=y==="Image"?"Fill":n,f=r==="Square"?p.radius:pr.circle,b={position:"relative",flex:"none",boxSizing:"border-box",display:"inline-flex",alignItems:"center",justifyContent:"center",width:p.px,height:p.px,borderRadius:f,background:y==="Image"?pr.imageFill:m==="Stroke"?"transparent":pr.fill,boxShadow:m==="Stroke"?`inset 0 0 0 ${pr.strokeWidth} ${pr.stroke}`:"none",color:pr.foreground,fontFamily:pr.family,...d};return(0,Jn.jsxs)("span",{"data-pw-avatar":"","data-size":e,"data-content":y,style:b,...s?{role:"img","aria-label":s}:{"aria-hidden":!0},...u,children:[y==="Image"&&(0,Jn.jsx)("img",{src:o,alt:"",onError:()=>h(!0),style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:f}}),y==="Text"&&(0,Jn.jsx)("span",{"aria-hidden":"true",style:{fontSize:p.fontSize,lineHeight:p.lineHeight,fontWeight:pr.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:pr.circle,background:pr.badge[c]||pr.badge.Positive,boxShadow:`inset 0 0 0 ${pr.badgeRingW} ${pr.badgeRing}`}})]})}function v9({people:e=[],size:t="XS",max:r=3,showMore:n=!0,label:o,style:a,...i}){let s=Mf[t]||Mf.XS,l=e.slice(0,r),c=e.length-l.length,d=l.map(g=>g.name).filter(Boolean),u=o||d.join(", ")+(c>0?`, and ${c} more`:""),p={boxShadow:`0 0 0 ${pr.groupRingW} ${pr.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((g,h)=>(0,Jn.jsx)(fs,{size:t,src:g.src,text:g.text||_3(g.name),icon:g.icon,style:{...p,marginLeft:h?-s.px/4:0}},(g.name||"")+h)),n&&c>0&&(0,Jn.jsx)(fs,{size:t,content:"Text",text:`+${c}`.slice(0,3),style:{...p,marginLeft:l.length?-s.px/4:0}})]})}var ne=S(be(),1),Pe=e=>`var(--semantic-color-${e})`,Ce=e=>`var(--semantic-layout-units-${e})`,yC=e=>`var(--contextual-layout-units-${e})`,hr=e=>`var(--semantic-type-${e})`,tr=e=>`var(--motion-${e})`;var ue={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")},U={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:yC("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:hr("font-size-s"),lineHeight:hr("line-height-s-single"),fontWeight:hr("weight-medium")},support:{fontSize:hr("font-size-xs"),lineHeight:hr("line-height-xs-single"),fontWeight:hr("weight-regular")},header:{fontSize:hr("font-size-xs"),lineHeight:hr("line-height-xs-single"),fontWeight:hr("weight-semibold"),letterSpacing:hr("letter-spacing-wide")}},mr=".pw-menu-item",y9=e=>`${mr}:not([data-disabled]):is(${e})`,x9="[data-hovered],[data-focused],[data-open],[data-force=Hover],[data-force=Focus]",C9="[data-pressed],[data-force=Pressed]",xC=`
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=`
205
205
  .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(${U.minWidth}px,max(${U.width}px,var(--trigger-width,0px)),${U.maxWidth}px);
207
- max-width:min(${U.maxWidth}px,calc(100vw - 2 * ${Ce("padding-tight")}));
208
- max-height:min(${U.maxHeight}px,var(--visual-viewport-height,100vh));
209
- background:${ue.panel};border:${U.panelBorder} solid ${ue.panelBorder};border-radius:${U.panelRadius};box-shadow:${U.shadow};
210
- font-family:${hr("family-brand")},sans-serif}
211
- .pw-menu-panel[data-searchable]{height:${U.searchHeight}px}
212
- .pw-menu-panel[data-entering]{animation:pw-menu-in ${tr("duration-4")} ${tr("easing-decelerate")} both}
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}
213
213
  .pw-menu-panel[data-placement=top][data-entering]{animation-name:pw-menu-in-up}
214
- .pw-menu-panel[data-exiting]{animation:pw-menu-out ${tr("duration-2")} ${tr("easing-standard")} both}
214
+ .pw-menu-panel[data-exiting]{animation:pw-menu-out ${rr("duration-2")} ${rr("easing-standard")} both}
215
215
  @keyframes pw-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
216
216
  @keyframes pw-menu-in-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
217
217
  @keyframes pw-menu-out{from{opacity:1}to{opacity:0}}
218
218
 
219
- .pw-menu{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;font-family:${hr("family-brand")},sans-serif}
220
- .pw-menu--static{box-sizing:border-box;width:${U.width}px;max-width:100%;background:${ue.panel};
221
- border:${U.panelBorder} solid ${ue.panelBorder};border-radius:${U.panelRadius};box-shadow:${U.shadow};overflow:hidden}
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}
222
222
  .pw-menu--bare{width:100%}
223
- .pw-menu__header{flex:none;padding:${U.slotPad};border-bottom:${U.panelBorder} solid ${ue.slotDivider}}
224
- .pw-menu__footer{flex:none;display:flex;justify-content:flex-end;gap:${U.footerGap};
225
- padding:${U.slotPad} ${U.footerPad} ${U.footerPad};border-top:${U.panelBorder} solid ${ue.slotDivider}}
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}}
226
226
  .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:${U.itemGap};padding:${U.listPadV} ${U.listPadH};outline:none}
227
+ .pw-menu__list{display:flex;flex-direction:column;gap:${j.itemGap};padding:${j.listPadV} ${j.listPadH};outline:none}
228
228
  .pw-menu--bare .pw-menu__list{padding:0}
229
- .pw-menu__list[data-empty]:focus-visible{outline:${U.focusWidth} solid ${ue.focusRing};outline-offset:calc(-1 * ${U.focusWidth});border-radius:${U.panelRadius}}
229
+ .pw-menu__list[data-empty]:focus-visible{outline:${j.focusWidth} solid ${fe.focusRing};outline-offset:calc(-1 * ${j.focusWidth});border-radius:${j.panelRadius}}
230
230
 
231
- ${mr}{position:relative;display:flex;align-items:flex-start;gap:${U.itemContentGap};box-sizing:border-box;
232
- min-height:${U.itemMinH};padding:${U.itemPad};border-radius:${U.itemRadius};
233
- color:${ue.label};font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight};font-weight:${qe.label.fontWeight};letter-spacing:normal;
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;
234
234
  cursor:pointer;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;
235
- transition:background-color ${tr("duration-2")} ${tr("easing-standard")},color ${tr("duration-2")} ${tr("easing-standard")}}
236
- ${y9(x9)}{background:${ue.fillHover};color:${ue.labelHover}}
237
- ${y9(C9)}{background:${ue.fillPressed};color:${ue.label}}
238
- ${mr}:not([data-disabled]):is([data-selected],[data-current]){background:${ue.fillSelected};color:${ue.label}}
239
- ${mr}:is([data-focus-visible],[data-force=Focus]){outline:${U.focusWidth} solid ${ue.focusRing};outline-offset:calc(-1 * ${U.focusWidth})}
240
- ${mr}[role=option][data-focused][data-hovered]:not([data-focus-visible]){outline:none}
241
- ${mr}[data-tone=Destructive]{color:${ue.labelDanger}}
242
- ${mr}[data-tone=Destructive]:not([data-disabled]):is(${x9}){background:${ue.fillDangerHover};color:${ue.labelDangerHover}}
243
- ${mr}[data-tone=Destructive]:not([data-disabled]):is(${C9}){background:${ue.fillDangerPressed};color:${ue.labelDangerPressed}}
244
- ${mr}[data-disabled]{color:${ue.disabled};background:transparent;cursor:default}
245
-
246
- .pw-menu-item__lead-group{flex:none;display:inline-flex;align-items:center;gap:${U.leadGroupGap};min-height:${qe.label.lineHeight}}
247
- .pw-menu-item__lead{flex:none;width:${U.leadBox}px;height:${U.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:${U.glyph}px}
249
- .pw-menu-item__check{color:${ue.check}}
250
- ${mr}[data-disabled] .pw-menu-item__check{color:${ue.disabled}}
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}}
251
251
  .pw-menu-item__lead--hidden{visibility:hidden}
252
252
  .pw-menu-item__control{overflow:hidden}
253
253
  .pw-menu-item__control > *{flex:none;pointer-events:none}
254
254
  .pw-menu-item__lead--avatar{width:auto;height:auto}
255
- .pw-menu-item__dot{width:${U.dot}px;height:${U.dot}px;border-radius:${U.fullRadius}}
256
- .pw-menu-item__swatch{box-sizing:border-box;width:${U.swatch}px;height:${U.swatch}px;border-radius:${U.swatchRadius};border:${U.panelBorder} solid ${ue.swatchEdge}}
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}}
257
257
 
258
- .pw-menu-item__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:${U.textGap}}
259
- .pw-menu-item__text[data-inline]{flex-direction:row;align-items:baseline;gap:${U.inlineGap}}
260
- .pw-menu-item__label-row{display:flex;align-items:center;gap:${U.badgeGap};min-width:0}
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}
261
261
  .pw-menu-item__label{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
262
262
  .pw-menu-item__label-row > :not(.pw-menu-item__label){flex:none}
263
263
  .pw-menu-item__desc{font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight};font-weight:${qe.support.fontWeight};
264
- color:${ue.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
264
+ color:${fe.secondary};overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
265
265
  .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:${U.reasonGap};color:${ue.reason};
266
+ .pw-menu-item__reason{display:flex;align-items:center;gap:${j.reasonGap};color:${fe.reason};
267
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:${U.spinner}px}
269
- ${mr}[data-disabled] .pw-menu-item__desc{color:${ue.disabled}}
268
+ .pw-menu-item__reason .material-symbols-rounded{font-size:${j.spinner}px}
269
+ ${hr}[data-disabled] .pw-menu-item__desc{color:${fe.disabled}}
270
270
 
271
- .pw-menu-item__trail{flex:none;display:inline-flex;align-items:center;gap:${U.trailGap};margin-left:auto;min-height:${qe.label.lineHeight};
272
- color:${ue.secondary};font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight};font-weight:${qe.support.fontWeight};font-variant-numeric:tabular-nums}
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}
273
273
  .pw-menu-item__kbd{font-family:inherit;font-size:inherit}
274
- .pw-menu-item__count{box-sizing:border-box;min-width:${U.countMin}px;text-align:center;padding:0 ${U.countPadH};border-radius:${U.fullRadius};
275
- background:${ue.countFill};color:${ue.countText}}
276
- ${mr}[data-selected] .pw-menu-item__count{background:${ue.panel}}
277
- ${mr}[data-disabled] .pw-menu-item__trail{color:${ue.disabled}}
278
- ${mr}[data-disabled] .pw-menu-item__count{background:${ue.countFillDisabled};color:${ue.disabled}}
279
-
280
- .pw-menu-item__stripe{position:absolute;left:0;top:${U.stripeInset};bottom:${U.stripeInset};width:${U.stripeW};
281
- border-radius:0 ${U.itemRadius} ${U.itemRadius} 0;background:transparent}
282
- ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.stripe}}
283
-
284
- .pw-menu-section{display:flex;flex-direction:column;gap:${U.itemGap}}
285
- .pw-menu-section__header{padding:${U.headerPadTop.Default} ${U.headerPadR} ${U.headerPadB} ${U.headerPadL};color:${ue.secondary};
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
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:${U.headerPadTop.First}}
288
- .pw-menu-separator + .pw-menu-section > .pw-menu-section__header,.pw-menu-section__header[data-position="After Separator"]{padding-top:${U.headerPadTop["After Separator"]}}
289
- .pw-menu-separator{height:0;border:0;border-top:${U.panelBorder} solid ${ue.separator};margin:${U.separatorMargin}}
290
-
291
- .pw-menu-status{display:flex;flex-direction:column;align-items:flex-start;gap:${U.statusGap};padding:${U.statusPadV} ${U.statusPadH};
292
- color:${ue.statusBody};font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight};font-weight:${hr("weight-regular")}}
293
- .pw-menu-status__row{display:flex;align-items:center;gap:${U.leadGroupGap}}
294
- .pw-menu-status__title{color:${ue.statusTitle};font-weight:${qe.label.fontWeight}}
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
295
  .pw-menu-status__body{font-size:${qe.support.fontSize};line-height:${qe.support.lineHeight}}
296
296
 
297
297
  .pw-menu-trigger{position:relative;display:inline-flex}
298
298
  .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 ${tr("duration-2")} ${tr("easing-standard")},background-color ${tr("duration-2")} ${tr("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:${ue.trigger}}
301
- .pw-menu-trigger__icon:is(:hover,[aria-expanded=true]){color:${ue.triggerHover}}
302
- .pw-menu-trigger__button{display:inline-flex;align-items:center;gap:${U.badgeGap};white-space:nowrap;box-sizing:border-box;min-height:${U.triggerTargetH};padding:${U.buttonPadV} ${U.buttonPadH};
303
- background:${ue.buttonFill};border:${U.buttonBorder} solid ${ue.buttonBorder};border-radius:${U.itemRadius};color:${ue.trigger};
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
304
  font-size:${qe.label.fontSize};line-height:${qe.label.lineHeight}}
305
- .pw-menu-trigger__button:hover{background:${ue.buttonFillHover}}
306
- .pw-menu-trigger__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:${U.avatarBox}px;height:${U.avatarBox}px;
307
- border:0;border-radius:${U.itemRadius};background:${ue.avatarFill};color:${ue.avatarText};font-size:${hr("font-size-xxs")};font-weight:${hr("weight-semibold")}}
308
- .pw-menu-trigger :is(.pw-menu-trigger__icon,.pw-menu-trigger__button,.pw-menu-trigger__avatar):focus-visible{outline:${U.focusWidth} solid ${ue.focusRing}}
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}}
309
309
 
310
310
  @media (prefers-reduced-motion: reduce){
311
- .pw-menu-panel[data-entering],.pw-menu-panel[data-placement=top][data-entering]{animation:pw-menu-fade ${tr("duration-2")} ${tr("easing-standard")} both}
312
- .pw-menu-panel[data-exiting]{animation:pw-menu-out ${tr("duration-2")} ${tr("easing-standard")} both}
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}
313
313
  @keyframes pw-menu-fade{from{opacity:0}to{opacity:1}}
314
314
  }
315
- `,M3=!1;function I3(){(0,Lr.useEffect)(()=>{if(M3||typeof document>"u"||document.getElementById("pw-popover-menu-css")){M3=!0;return}let e=document.createElement("style");e.id="pw-popover-menu-css",e.textContent=xC,document.head.appendChild(e),M3=!0},[])}var CC=()=>typeof document<"u"&&parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--motion-duration-3"))||200,w9=(0,Lr.createContext)("actions"),N3=(0,Lr.createContext)(null);function wC({leading:e,loading:t,disabled:r}){if(t)return(0,ne.jsx)("span",{className:"pw-menu-item__lead",children:(0,ne.jsx)(d9,{size:U.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:U.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?ue.disabled:ue.dot[n.tone]||ue.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)(fs,{size:n.size||"M",shape:"Circle",src:n.src,text:n.initials||_3(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 SC=(e,t=99)=>e>t?`${t}+`:String(e);function EC({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:U.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)(f3,{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:SC(r.count)})}):r.type==="chevron"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:"chevron_right",size:U.glyph})}):r.type==="icon"?(0,ne.jsx)("span",{className:"pw-menu-item__trail",children:(0,ne.jsx)(Se,{name:r.name,size:U.glyph})}):null}function kC({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:U.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)(a9,{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)(Tf,{checked:n,indeterminate:!!e.mixed,disabled:o,size:"s"})}),(0,ne.jsx)(wC,{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)(_f,{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:U.spinner}),e.reason]})]}),(0,ne.jsx)(EC,{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:U.glyph,className:"pw-menu-item__check"})})]})}function S9({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:g=!1,selected:h=!1,closeOnAction:$,onAction:y,href:m,textValue:f,forceState:b}){I3();let v=(0,Lr.useContext)(w9),x=(0,Lr.useContext)(N3),w={label:t,description:r,inlineText:n,reason:o,indicator:a,leading:i,trailing:s,badges:l,loading:u,mixed:p,selected:h},E={id:e??t,textValue:f||t,isDisabled:!!(d||o),className:"pw-menu-item","data-tone":c,"data-current":g||w.selected||void 0,"data-force":b,"aria-current":g?"page":void 0},P=T=>(0,ne.jsx)(kC,{p:w,s:{...T,isSelected:T.isSelected||!!w.selected}});return v==="options"?(0,ne.jsx)(v2,{...E,href:m,children:P}):(0,ne.jsx)(x3,{...E,href:m,target:m&&/^https?:/.test(m)?"_blank":void 0,shouldCloseOnSelect:$,onAction:()=>{y?.(),$!==!1&&x?.()},children:P})}function D3({mode:e="actions",label:t,header:r,footer:n,emptyState:o,maxHeight:a,framed:i=!1,bare:s=!1,className:l="",children:c,...d}){I3();let u=e==="options"?$2:y3,p={...d,escapeKeyBehavior:d.escapeKeyBehavior??"none"};return(0,ne.jsx)(w9.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 E9({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:g,defaultSelectedKeys:h,onSelectionChange:$,onAction:y,header:m,footer:f,emptyState:b,searchable:v=!1,maxHeight:x,className:w="",style:k,children:E}){I3();let P=ls({isOpen:l,defaultOpen:c,onOpenChange:d}),T=(0,Lr.useRef)(null),D=`pwmenu${(0,Lr.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[I,R]=(0,Lr.useState)(!1),C=()=>setTimeout(()=>P.close(),CC()),L=X=>{y?.(X),p!=="multiple"&&C()},K=X=>{$?.(X),p!=="multiple"&&u==="options"&&C()},_={id:D,"aria-haspopup":u==="options"?"listbox":"menu","aria-expanded":P.isOpen,onClick:()=>P.toggle(null),onKeyDown:X=>{P.isOpen||(X.key==="ArrowDown"||X.key==="ArrowUp")&&(X.preventDefault(),P.open(X.key==="ArrowDown"?"first":"last"))}},q;i?q=i({..._,"aria-label":t,title:t}):e==="button"?q=(0,ne.jsxs)("button",{type:"button",className:"pw-menu-trigger__button",..._,"aria-label":r?void 0:t,children:[r,(0,ne.jsx)(Se,{name:P.isOpen?"expand_less":"expand_more",size:16})]}):e==="avatar"?q=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__avatar",..._,"aria-label":t,children:n}):a==="action"?q=(0,ne.jsx)(qo,{name:o,size:"Base",label:t,..._}):q=(0,ne.jsx)("button",{type:"button",className:"pw-menu-trigger__icon",..._,"aria-label":t,title:t,style:{width:U.triggerTarget,height:U.triggerTarget},children:(0,ne.jsx)(Se,{name:o,size:U.triggerGlyph})});let N=(0,ne.jsx)(D3,{mode:u,label:t,selectionMode:p,selectedKeys:g,defaultSelectedKeys:h,onSelectionChange:K,onAction:u==="options"?void 0:L,autoFocus:u==="options"?P.focusStrategy==="last"?"last":!0:void 0,shouldFocusWrap:!0,header:m,footer:f,emptyState:b,maxHeight:x,children:E});return(0,ne.jsxs)("span",{ref:T,className:`pw-menu-trigger ${w}`,"data-open":P.isOpen||void 0,onMouseEnter:()=>R(!0),onMouseLeave:()=>R(!1),"data-hovered":I||void 0,style:k,children:[q,(0,ne.jsx)(rn,{values:[[Ef,{"aria-labelledby":t?void 0:D,autoFocus:P.focusStrategy||!0,onClose:P.close,shouldCloseOnSelect:!1}],[yc,P],[xc,P],[vc,{trigger:"MenuTrigger",triggerRef:T,placement:`bottom ${s}`}]],children:(0,ne.jsx)(u3,{className:"pw-menu-panel",offset:U.offset,"data-searchable":v||void 0,children:N})})]})}var gt=S(be(),1),kc=e=>`var(--semantic-color-${e})`,gr=e=>`var(--semantic-layout-units-${e})`,Pc=e=>`var(--semantic-type-${e})`,eo=e=>`var(--motion-${e})`,ps={surface:kc("fill-surface-elevated"),overlay:kc("scrim-subtle"),handle:kc("fill-static-neutral-strong"),title:kc("foreground-static-neutral-strong"),footerBorder:kc("stroke-static-neutral-faint"),shadow:"var(--elevation-sheet)"},Ke={radius:gr("cornerradius-xlarge"),sheetGap:gr("gap-tight"),maxWidth:640,topClearance:56,handleZone:20,pillWidth:32,pillHeight:4,pillRadius:gr("cornerradius-full"),headerMinH:gr("accessibility-touch-target-aa-height"),headerPadTop:gr("padding-xtight"),headerPadX:gr("padding-xxxxtight"),headerPadBottom:gr("padding-xxxtight"),headerGap:gr("gap-xxtight"),titleInset:gr("padding-base"),bodyPad:gr("padding-xtight"),bodyGap:gr("gap-xxtight"),footerBorder:gr("borderwidth-base"),footerPadTop:gr("padding-tight"),footerPad:gr("padding-base"),footerGap:gr("gap-tight"),dismissDistance:80,flickSpeed:.5},PC={title:{fontFamily:Pc("family-brand"),fontSize:Pc("font-size-s"),fontWeight:Pc("weight-semibold"),lineHeight:Pc("line-height-s-tight"),letterSpacing:Pc("letter-spacing-wide")}},ti={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")}`},TC="@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 LC(){(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=TC,document.head.appendChild(e)},[])}var k9='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',RC=':is([role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"]):not([aria-disabled="true"])';function _C(){return(0,gt.jsx)("div",{"aria-hidden":"true","data-part":"handle",style:{height:Ke.handleZone,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,gt.jsx)("div",{style:{width:Ke.pillWidth,height:Ke.pillHeight,borderRadius:Ke.pillRadius,background:ps.handle}})})}function MC({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:Ke.headerGap,minHeight:Ke.headerMinH,boxSizing:"border-box",padding:`${Ke.headerPadTop} ${Ke.headerPadX} ${Ke.headerPadBottom}`},children:[n&&(0,gt.jsx)(qo,{name:"arrow_back",size:"Base",label:i,onClick:o}),(0,gt.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:Ke.titleInset},children:(0,gt.jsx)("h2",{id:t,ref:r,tabIndex:-1,style:{margin:0,outline:"none",color:ps.title,...PC.title,overflowWrap:"anywhere",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e})}),(0,gt.jsx)(qo,{name:"close",size:"Base",label:s,onClick:a})]})}function IC({children:e}){return(0,gt.jsx)("div",{"data-part":"footer",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:Ke.footerGap,flexShrink:0,borderTop:`${Ke.footerBorder} solid ${ps.footerBorder}`,padding:`${Ke.footerPadTop} ${Ke.footerPad} calc(${Ke.footerPad} + env(safe-area-inset-bottom, 0px))`},children:e})}function NC({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:ps.overlay,animation:t,opacity:r}})}function Nf({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:g="Back",container:h,contained:$=!1,className:y="",style:m}){LC();let f=zt(),b=`pwbs${(0,tt.useId)().replace(/[^a-zA-Z0-9]/g,"")}`,[v,x]=(0,tt.useState)(!!e),[w,k]=(0,tt.useState)(!1),[E,P]=(0,tt.useState)(0),[T,D]=(0,tt.useState)(!1),I=(0,tt.useRef)(null),R=(0,tt.useRef)(null),C=(0,tt.useRef)(null),L=(0,tt.useRef)(null),K=(0,tt.useRef)(null),_=(0,tt.useRef)(null),q=()=>t?.(!1);(0,tt.useEffect)(()=>{e?(typeof document<"u"&&(K.current=document.activeElement),k(!1),P(0),x(!0)):v&&k(!0)},[e]);let N=le=>{le.target!==I.current||!w||(x(!1),k(!1),P(0),X.current=!0)},X=(0,tt.useRef)(!1);(0,tt.useEffect)(()=>{if(!v||!L.current||$)return;let le=L.current,O=document.body.style.overflow;document.body.style.overflow="hidden";let we=[...le.parentNode?.children||[]].filter(pe=>pe!==le&&!pe.inert&&pe.tagName!=="SCRIPT"&&pe.tagName!=="STYLE");return we.forEach(pe=>{pe.inert=!0}),()=>{document.body.style.overflow=O,we.forEach(pe=>{pe.inert=!1})}},[v]),(0,tt.useEffect)(()=>{if(v||!X.current)return;X.current=!1;let le=u?.current||K.current;le&&le.isConnected&&typeof le.focus=="function"&&le.focus()},[v]),(0,tt.useEffect)(()=>{if(!v||w||!I.current||$)return;let le=R.current?[...R.current.querySelectorAll(RC)]:[],O=C.current;d==="first"?O=le[0]||I.current.querySelector(k9)||O:d==="auto"&&o&&le.length&&(O=le.find(H=>H.getAttribute("aria-checked")==="true")||le[0]),O?.focus({preventScroll:!0})},[v,w]);let Q=(0,tt.useRef)(!0);(0,tt.useEffect)(()=>{if(Q.current){Q.current=!1;return}v&&!$&&C.current?.focus({preventScroll:!0})},[l]);let z=le=>{if(le.key==="Escape"){le.stopPropagation(),le.nativeEvent?.stopImmediatePropagation?.(),q();return}if(le.key==="Tab"&&I.current){let O=[...I.current.querySelectorAll(k9)].filter(pe=>pe.offsetParent!==null||pe===document.activeElement);if(!O.length){le.preventDefault();return}let H=O[0],we=O[O.length-1];le.shiftKey&&(document.activeElement===H||document.activeElement===C.current)?(le.preventDefault(),we.focus()):!le.shiftKey&&document.activeElement===we&&(le.preventDefault(),H.focus());return}},j=le=>{le.button!==void 0&&le.button!==0||R.current?.contains(le.target)&&R.current.scrollTop>0||(_.current={y:le.clientY,t:performance.now(),id:le.pointerId,active:!1})},G=le=>{let O=_.current;if(!O||O.id!==le.pointerId)return;let H=le.clientY-O.y;if(!O.active){if(H<-4){_.current=null;return}if(H<8)return;O.active=!0,D(!0),I.current?.setPointerCapture?.(le.pointerId)}P(Math.max(0,H))},M=le=>{let O=_.current;if(_.current=null,!O||!O.active)return;D(!1);let H=Math.max(0,le.clientY-O.y),we=H/Math.max(1,performance.now()-O.t);H>Ke.dismissDistance||we>Ke.flickSpeed?q():P(0)};if(!v||typeof document>"u")return null;let ae=f?w?ti.fadeOut:ti.fadeIn:w?ti.exit:ti.enter,J=E>0&&!w,xe=J&&I.current?Math.max(0,1-E/I.current.offsetHeight):void 0,bt=(0,gt.jsxs)("div",{ref:L,className:`pw-bottom-sheet ${y}`,"data-open":!w||void 0,style:{position:$?"absolute":"fixed",inset:0,zIndex:$?1:1e3,display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",...m},children:[(0,gt.jsx)(NC,{onClick:q,animation:w?ti.fadeOut:ti.fadeIn,opacity:xe}),(0,gt.jsxs)("div",{ref:I,role:"dialog","aria-modal":"true","aria-labelledby":b,onKeyDown:z,onAnimationEnd:N,onPointerDown:j,onPointerMove:G,onPointerUp:M,onPointerCancel:M,style:{position:"relative",width:"100%",maxWidth:Ke.maxWidth,boxSizing:"border-box",maxHeight:$?`calc(100% - ${Ke.topClearance}px)`:`calc(100dvh - ${Ke.topClearance}px)`,display:"flex",flexDirection:"column",gap:Ke.sheetGap,background:ps.surface,boxShadow:ps.shadow,borderRadius:`${Ke.radius} ${Ke.radius} 0 0`,animation:J?"none":ae,transform:J?`translateY(${E}px)`:void 0,transition:T||f?"none":ti.settle,touchAction:"pan-y"},children:[(0,gt.jsxs)("div",{"data-part":"top",style:{display:"flex",flexDirection:"column",flexShrink:0},children:[i&&(0,gt.jsx)(_C,{}),(0,gt.jsx)(MC,{title:r,titleId:b,titleRef:C,showBack:l,onBack:c,onClose:q,closeLabel:p,backLabel:g})]}),(0,gt.jsx)("div",{ref:R,className:"pw-bottom-sheet__body","data-part":"body",style:{display:"flex",flexDirection:"column",gap:Ke.bodyGap,minHeight:0,flex:"0 1 auto",overflowY:"auto",overflowX:"hidden",overscrollBehavior:"contain",padding:s?`0 ${Ke.bodyPad} ${Ke.bodyPad}`:`0 ${Ke.bodyPad} calc(${Ke.bodyPad} + env(safe-area-inset-bottom, 0px))`},children:(0,gt.jsx)(N3.Provider,{value:q,children:o?(0,gt.jsx)(D3,{bare:!0,label:r,...a,children:n}):n})}),s&&(0,gt.jsx)(IC,{children:s})]})]});return $?bt:(0,P9.createPortal)(bt,h||document.body)}var V=S(be(),1),F3=e=>e?{inert:"","aria-hidden":!0}:{};Xo();var _e=e=>`var(--semantic-color-${e})`,H3=e=>`var(${e})`,br=e=>`var(--semantic-layout-units-${e})`,ri=e=>`var(--contextual-layout-units-${e})`,T9=e=>typeof e=="number"?-e:`calc(-1 * ${e})`,ye={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:ri("navitem-cornerradius")},te={navPadH:ri("sidenav-padding-horizontal-expanded"),navColPadH:ri("sidenav-padding-horizontal-collapsed"),navPadTop:ri("sidenav-padding-vertical"),navW:ri("sidenav-width-expanded"),navWcol:ri("sidenav-width-collapsed"),menuGap:ri("sidenav-gap-vertical"),menuPadT:br("padding-tight"),menuPadB:br("padding-xxwide"),itemH:br("accessibility-touch-target-aa-height"),iconWrap:24,iconInner:16,rowPadH:br("padding-tight"),railIconInset:br("padding-xxtight"),textPad:br("padding-xtight"),childIndent:24,stripeW:4,stripeOuterPadV:br("padding-xxxtight"),stripeInnerPadV:br("padding-xxtight"),stripeRadius:br("cornerradius-base"),itemPadH:br("padding-xxtight"),chevPad:"var(--semantic-layout-units-padding-xxxxtight, 2px)",chevBox:20,chevFrame:16,chevGlyph:12,childRowPadL:br("padding-tight"),childMainPadL:br("padding-relaxed"),colPadL:br("padding-medium"),colPadR:br("padding-tight"),collapseGap:br("padding-xxtight")};function _9({visible:e,inset:t}){return(0,V.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,V.jsx)("div",{style:{flex:"1 0 0",width:te.stripeW,minHeight:1,borderRadius:`0 ${te.stripeRadius} ${te.stripeRadius} 0`,backgroundColor:e?ye.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}})})}function L9({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:g,chevronDown:h,collapseIcon:$,expandIcon:y}){let[m,f]=(0,rt.useState)(!1),b=!!(e.children&&e.children.length),v=(0,rt.useRef)(null),x=b&&n&&!o,w=r&&(!n||o),E=w||t&&!(o&&b),P=!!e.disabled,T=P?ye.fill.navBase:t||w?ye.fill.navActive:x?ye.fill.navTrail:m?ye.fill.navHover:ye.fill.navBase,D=P?ye.text.navDisabled:t||w||x?ye.text.navActive:m?ye.text.navHover:ye.text.navBase,I=P?ye.icon.navDisabled:t||w||x?ye.icon.navActive:m?ye.icon.navHover:ye.icon.navBase,R=()=>{P||(b&&!o?s(e.id):i(e.id))};return(0,V.jsxs)("div",{ref:v,style:{position:"relative"},children:[(0,V.jsxs)("div",{className:Or,role:"button",tabIndex:P?-1:0,"aria-current":t?"page":void 0,"aria-disabled":P?!0:void 0,"aria-expanded":b&&!o?n:void 0,onClick:R,onKeyDown:C=>!P&&(C.key==="Enter"||C.key===" ")&&R(),onMouseEnter:()=>{if(!P&&(f(!0),o&&d)){let C=v.current?v.current.getBoundingClientRect():null;d(e.id,C)}},onMouseLeave:()=>{P||(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:ye.radius,backgroundColor:T,cursor:P?"not-allowed":"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,V.jsx)(_9,{visible:E}),!a&&e.icon&&(0,V.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:I},children:typeof e.icon=="function"?e.icon({size:te.iconInner,color:I}):typeof e.icon=="string"?(0,V.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:te.iconInner,lineHeight:1,color:I,display:"block",fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24"},children:e.icon}):rt.default.cloneElement(e.icon,{style:{color:I}})}),(0,V.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,V.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:D,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:e.label})}),!a&&b&&!o&&(0,V.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,V.jsx)("div",{style:{transform:n?"rotate(180deg)":"rotate(0deg)",transition:"transform var(--motion-duration-5) var(--motion-easing-accordion)"},children:h?h({size:te.chevGlyph,color:I}):(0,V.jsx)(VC,{size:te.chevGlyph,color:I})})})]}),o&&l&&c&&(0,V.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&&b&&l&&c&&(0,V.jsx)(HC,{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&&!b&&l&&c&&(0,V.jsx)(DC,{label:e.label,anchorRect:c,onMouseEnter:()=>{let C=v.current?v.current.getBoundingClientRect():c;d&&d(e.id,C)},onMouseLeave:u})]})}function DC({label:e,anchorRect:t,onMouseEnter:r,onMouseLeave:n}){return t?Df.default.createPortal((0,V.jsx)("div",{onMouseEnter:r,onMouseLeave:n,style:{position:"fixed",left:t.right+8,top:t.top+t.height/2,zIndex:1e3,backgroundColor:ye.surface.navLight,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--semantic-layout-units-cornerradius-base)",boxShadow:H3("--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,V.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:ye.text.strong},children:e})}),document.body):null}function FC({label:e}){return(0,V.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,V.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:ye.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function HC({item:e,onClick:t,anchorRect:r,onMouseEnter:n,onMouseLeave:o,activeId:a}){return r?Df.default.createPortal((0,V.jsxs)("div",{onMouseEnter:n,onMouseLeave:o,style:{position:"fixed",left:r.right+8,top:r.top,zIndex:1e3,backgroundColor:ye.surface.navElevated,border:`0.5px solid ${_e("stroke-static-neutral-faint")}`,borderRadius:"var(--primitive-unit-unit-10)",boxShadow:H3("--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,V.jsx)(FC,{label:e.label}),e.children.map(i=>(0,V.jsx)(Tc,{item:i,onClick:t,activeId:a},i.id))]}),document.body):null}function Tc({item:e,onClick:t,activeId:r}){let[n,o]=(0,rt.useState)(!1),a=e.id===r,i=a?ye.fill.navActive:n?ye.fill.navHover:"transparent",s=ye.text.strong;return(0,V.jsxs)("div",{onClick:()=>t(e.id),className:Hi,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,V.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?ye.indicator:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"}}),(0,V.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 R9=(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 AC({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(R=>R.id===o),d=c&&c.label||e||r&&r.label,[u,p]=(0,rt.useState)(!1),[g,h]=(0,rt.useState)(!1),[$,y]=(0,rt.useState)(!1),[m,f]=(0,rt.useState)(null),b=(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(b.current?b.current.getBoundingClientRect():null),y(!0)};(0,rt.useEffect)(()=>{if(!$||s==="sheet"||!w.current)return;w.current=!1;let R=setTimeout(()=>{let C=x.current?[...x.current.querySelectorAll('[role="menuitem"]')]:[];(C.find(L=>L.getAttribute("aria-current"))||C[0])?.focus()},0);return()=>clearTimeout(R)},[$,s]);let E=R=>{let C=[...R.currentTarget.querySelectorAll('[role="menuitem"]')],L=C.indexOf(document.activeElement),K=null;R.key==="ArrowDown"?K=(L+1)%C.length:R.key==="ArrowUp"?K=(L-1+C.length)%C.length:R.key==="Home"?K=0:R.key==="End"&&(K=C.length-1),!(K===null||!C.length)&&(R.preventDefault(),C[K].focus())},P=R=>{y(!1),a&&a(R),v.current&&v.current.focus()};(0,rt.useEffect)(()=>{if(!$||s==="sheet")return;let R=L=>{R9(b.current,L)||R9(x.current,L)||y(!1)},C=L=>{L.key==="Escape"&&(y(!1),v.current&&v.current.focus())};return document.addEventListener("mousedown",R),document.addEventListener("keydown",C),()=>{document.removeEventListener("mousedown",R),document.removeEventListener("keydown",C)}},[$,s]);let T=$||g,D=T?to.openFg:u?to.hoverFg:to.restFg,I=r||{id:"__home",label:e};return(0,V.jsxs)("div",{ref:b,style:{boxSizing:"border-box",width:"100%",minHeight:te.itemH,flexShrink:0,padding:i?`${te.textPad} 0`:`${te.textPad} ${te.chevPad}`},children:[(0,V.jsxs)("button",{ref:v,className:cu,type:"button",onClick:k,onKeyDown:R=>{(R.key==="Enter"||R.key===" "||R.key==="ArrowDown")&&(w.current=!0),R.key==="ArrowDown"&&!$&&(R.preventDefault(),k())},"aria-haspopup":"menu","aria-expanded":$,"aria-label":i?`Switch application: ${d}`:void 0,onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h(!1)},onMouseDown:()=>h(!0),onMouseUp:()=>h(!1),onBlur:()=>h(!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:T?to.openFill:u?to.hoverFill:"transparent",border:"none","--pw-ring-keep-shadow":"var(--elevation-lift)",boxShadow:`inset 0 0 0 ${T?"var(--contextual-layout-units-button-borderwidth-selected, 1px)":"var(--contextual-layout-units-button-borderwidth-rest, 0.75px)"} ${T?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,V.jsx)("span",{style:{width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,V.jsx)("span",{className:"material-symbols-rounded","aria-hidden":"true",style:{fontSize:te.iconInner,lineHeight:1,display:"block",color:D,fontVariationSettings:"'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:t})}),!i&&(0,V.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:D,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",transition:"color var(--motion-duration-3) var(--motion-easing-standard)"},children:d})]}),s==="sheet"&&(0,V.jsxs)(Nf,{open:$,title:l||d,menu:!0,returnFocusRef:v,onOpenChange:R=>{R||y(!1)},children:[(0,V.jsx)(Tc,{item:I,onClick:P,activeId:o}),n.length>0&&(0,V.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,V.jsx)("div",{style:{borderTop:`0.5px solid ${to.separator}`}})}),n.map(R=>(0,V.jsx)(Tc,{item:R,onClick:P,activeId:o},R.id))]}),$&&s!=="sheet"&&m&&Df.default.createPortal((0,V.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:ye.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:H3("--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,V.jsx)(Tc,{item:I,onClick:P,activeId:o}),n.length>0&&(0,V.jsx)("div",{role:"separator",style:{padding:"var(--semantic-layout-units-padding-xtight)"},children:(0,V.jsx)("div",{style:{borderTop:`0.5px solid ${to.separator}`}})}),n.map(R=>(0,V.jsx)(Tc,{item:R,onClick:P,activeId:o},R.id))]}),document.body)]})}function M9({label:e,icon:t=null}){return(0,V.jsxs)("span",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1,gap:"var(--semantic-layout-units-gap-xxtight)"},children:[t&&(0,V.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,V.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 OC({isSidebarCollapsed:e,onToggle:t,collapseIcon:r,expandIcon:n,headerStart:o=null,hideToggle:a=!1}){let[i,s]=(0,rt.useState)(!1),l=ye.icon.actionSecondary,c=!e&&o;return(0,V.jsxs)("div",{style:{width:"100%",flexShrink:0},children:[(0,V.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,V.jsx)("div",{style:{display:"flex",alignItems:"center",minWidth:0,flex:1},children:o}),!a&&(0,V.jsx)("div",{onClick:t,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),"aria-label":e?"Expand navigation":"Collapse navigation",className:Or,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,V.jsx)("div",{style:{width:te.itemH,height:te.itemH,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,V.jsx)("div",{style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--primitive-unit-unit-10)",backgroundColor:i?ye.fill.navHover:"transparent",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)"},children:e?n?n({size:12,color:l}):(0,V.jsx)(UC,{color:l}):r?r({size:12,color:l}):(0,V.jsx)(WC,{color:l})})})})]}),(0,V.jsx)("div",{style:{padding:"var(--semantic-layout-units-padding-xxxtight) 0"},children:(0,V.jsx)("div",{style:{height:1,backgroundColor:ye.fill.infoSubtle}})})]})}function I9({label:e}){return(0,V.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,V.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:ye.text.secondarySubtle,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e})})}function BC({color:e}){return(0,V.jsx)("svg",{width:te.iconInner,height:te.iconInner,viewBox:"0 0 16 16","aria-hidden":"true",style:{display:"block",flexShrink:0},children:(0,V.jsx)("circle",{cx:"8",cy:"8",r:"6.6667",fill:e})})}function KC({item:e,isActive:t,onClick:r}){let[n,o]=(0,rt.useState)(!1),a=t?ye.fill.navActive:n?ye.fill.navHover:"transparent",i=t?ye.text.navActive:n?ye.text.navHover:ye.text.navBase,s=t?ye.icon.navActive:n?ye.icon.navHover:ye.icon.navBase;return(0,V.jsxs)("div",{onClick:()=>r&&r(e.id),onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:Or,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:ye.radius,backgroundColor:a,cursor:"pointer",overflow:"hidden",transition:"background-color var(--motion-duration-3) var(--motion-easing-standard)",userSelect:"none"},children:[(0,V.jsx)(_9,{visible:t,inset:te.stripeInnerPadV}),(0,V.jsx)("div",{style:{width:te.iconWrap,height:te.iconWrap,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:te.rowPadH},children:(0,V.jsx)(BC,{color:s})}),(0,V.jsx)("div",{style:{flex:1,minWidth:0,paddingLeft:te.textPad,paddingRight:`calc(${te.textPad} + ${te.rowPadH})`},children:(0,V.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 zC({label:e,items:t,activeId:r,onNavigate:n}){return(0,V.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--semantic-layout-units-gap-xtight)",width:"100%",flexShrink:0},children:[(0,V.jsx)(I9,{label:e}),(0,V.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:t.map(o=>(0,V.jsx)(KC,{item:o,isActive:o.id===r,onClick:n},o.id))})]})}function ms({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:g=null,headerStart:h=null}){let[$,y]=(0,rt.useState)(l),[m,f]=(0,rt.useState)(null),[b,v]=(0,rt.useState)(null),x=(0,rt.useRef)(null),w=t?t.flatMap(I=>I.items):e||[],k=(()=>{let I=w.find(R=>R.children&&R.children.some(C=>C.id===n));return I?I.id:null})(),E=I=>y(R=>{if(!R[I])return{[I]:!0};let L={...R};return delete L[I],L}),P=(I,R)=>{clearTimeout(x.current),f(I),R&&v(R)},T=()=>{x.current=setTimeout(()=>{f(null),v(null)},300)},D=I=>{let R=!!(I.children&&I.children.length),C=I.id===n,L=I.id===k,K=!!$[I.id];return(0,V.jsxs)("div",{children:[(0,V.jsx)(L9,{item:I,isActive:C,isTrail:L,isExpanded:K,isSidebarCollapsed:a,isChild:!1,onClick:o,onToggle:E,popoverOpen:m===I.id,anchorRect:m===I.id?b:null,onPopoverEnter:P,onPopoverLeave:T,activeId:n}),R&&!a&&(0,V.jsx)("div",{...F3(!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,V.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:I.children.map(_=>(0,V.jsx)(L9,{item:_,isActive:_.id===n,isTrail:!1,isExpanded:!1,isSidebarCollapsed:!1,isChild:!0,onClick:o,onToggle:()=>{}},_.id))})})]},I.id)};return(0,V.jsxs)("nav",{className:c,style:{width:a?te.navWcol:te.navW,height:"100%",backgroundColor:ye.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 ${ye.fill.infoSubtle}`,overflow:"hidden"},children:[(!s||d||h)&&(0,V.jsxs)("div",{style:{flexShrink:0},children:[(!s||h)&&(0,V.jsx)(OC,{isSidebarCollapsed:a,headerStart:h,hideToggle:s,onToggle:()=>i&&i(!a)}),d&&(0,V.jsx)("div",{...F3(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,V.jsxs)(hu,{style:{flex:1,minHeight:0,marginRight:T9(a?te.navColPadH:te.navPadH),marginLeft:T9("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:[g&&(0,V.jsx)(AC,{...g,collapsed:a}),t&&t.map(({section:I,items:R},C)=>(0,V.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:te.menuGap,flexShrink:0},children:[(0,V.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,V.jsx)(I9,{label:I})}),C>0&&(0,V.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,V.jsx)("div",{style:{height:1,backgroundColor:ye.fill.infoSubtle}})}),R.map(D)]},I)),!t&&(e||[]).map(D),r&&(0,V.jsx)("div",{...F3(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,V.jsx)(zC,{label:r.label,items:r.items,activeId:n,onNavigate:o})}),u&&(0,V.jsx)("div",{style:{flexShrink:0},children:u}),(0,V.jsx)("div",{style:{flex:1,minHeight:te.menuPadB}})]}),p&&(0,V.jsx)("div",{style:{flexShrink:0,borderTop:`0.5px solid ${ye.fill.infoSubtle}`,padding:a?`8px ${te.navColPadH}`:`8px ${te.navPadH}`,transition:"padding var(--motion-duration-6) var(--motion-easing-emphasized)"},children:p})]})}function VC({size:e=12,color:t}){return(0,V.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,V.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 WC({size:e=12,color:t=ye.icon.actionSecondary}){return(0,V.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,V.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 UC({size:e=12,color:t=ye.icon.actionSecondary}){return(0,V.jsx)("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",children:(0,V.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 jC={collapsed:"collapsed","hide-collapse-button":"hideCollapseButton"},GC=`
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=`
316
316
  :host { display: block; height: 100%; }
317
317
  :host([hidden]) { display: none; }
318
318
 
@@ -390,7 +390,7 @@ ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.s
390
390
  font-size: var(--semantic-type-font-size-s);
391
391
  line-height: var(--semantic-type-line-height-s-single);
392
392
  color: var(--semantic-color-foreground-action-secondary-rest);
393
- }`,ZC=(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}},Rc=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=GC+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,N9.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(jC))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=ZC(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=Lc.default.createElement("slot",{name:"header"})),t("footer")&&(r.footer=Lc.default.createElement("slot",{name:"footer"})),t(null)&&(r.children=Lc.default.createElement("slot",null)),r}_render(){if(!this._reactRoot)return;let t={...this._readAttributes(),...this._props,...this._readSlots()};this._reactRoot.render(Lc.default.createElement(ms,{...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",Rc);var F9=S(F(),1);var gs=S(F(),1);var Ff=S(be(),1),hs=(e,t)=>t.map(r=>({id:`${e}-${r.toLowerCase().replace(/\s+/g,"-")}`,label:r,icon:YC[r]})),YC={Dashboard:"space_dashboard",Enter:"input",Manage:"bookmark_manager",View:"visibility",Reports:"insert_chart",Modify:"edit_square",Help:"help",Utilities:"tools_wrench","Security Setup":"security"},A3=["Dashboard","Enter","Manage","View","Reports","Modify","Utilities","Help"],bs={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:hs("fh",["Dashboard","Enter","Manage","View","Reports","Modify","Help","Utilities","Security Setup"])},apps:[{id:"accounts-payable",label:"Accounts Payable",navItems:hs("ap",A3)},{id:"accounts-receivable",label:"Accounts Receivable",navItems:hs("ar",A3)},{id:"general-ledger",label:"General Ledger",navItems:hs("gl",A3)},{id:"fixed-assets",label:"Fixed Assets",navItems:hs("fa",["Dashboard","Manage","Reports","Modify","Help"])},{id:"purchasing-management",label:"Purchasing Management",navItems:hs("pm",["Dashboard","Enter","Manage","Reports","Modify","Help"])}]};function O3(e){let t=e&&e.moduleMark;return t?(0,Ff.jsx)(M9,{label:t.label,icon:t.module?(0,Ff.jsx)(vl,{module:t.module,size:14,color:"mono"}):null}):null}var XC=767;function qC(){let e=()=>typeof window<"u"&&window.innerWidth<=XC,[t,r]=(0,gs.useState)(e);return(0,gs.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t}function D9({appSwitcher:e=bs,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,gs.useState)(r??(e.home&&e.home.id)),u=t??c,p=l.find(x=>x.id===u)||l[0],g=p&&p.navItems||[],[h,$]=(0,gs.useState)(g[0]&&g[0].id),y=o??h,m=qC(),f=i==="auto"?m?"sheet":"popover":i,b=x=>{$(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&&b(k.id)};return(0,Ff.jsx)(ms,{items:g,activeId:y,onNavigate:b,headerStart:O3(e),appSwitcher:{...e,activeId:p&&p.id,onSelect:v,presentation:f},...s},p&&p.id)}var B3=class extends Rc{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(F9.default.createElement(D9,{...t,appSwitcher:this._appSwitcher||bs,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",B3);var _c=S(F(),1),B9=S(Fr(),1);var Wt=S(F(),1);var fn=S(be(),1),Hf=60,A9=e=>`var(--contextual-layout-units-${e})`,H9=A9("sidenav-width-expanded"),QC=A9("sidenav-width-collapsed");function JC(){let e=()=>typeof window>"u"?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",[t,r]=(0,Wt.useState)(e);return(0,Wt.useEffect)(()=>{let n=()=>r(e());return window.addEventListener("resize",n,{passive:!0}),()=>window.removeEventListener("resize",n)},[]),t}function O9({modules:e=Sp,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:g=null,navChildren:h=null,navFooter:$=null,appSwitcher:y=null,defaultCollapsed:m=!1,children:f}){let b=JC(),v=b==="mobile",x=b==="tablet",[w,k]=(0,Wt.useState)(m),[E,P]=(0,Wt.useState)(!1),T=x?!0:v?!1:w,[D,I]=(0,Wt.useState)(u);(0,Wt.useEffect)(()=>{I(u)},[u]);let R=y?[y.home,...y.apps||[]].filter(Boolean):[],[C,L]=(0,Wt.useState)(y&&(y.activeId??(y.home&&y.home.id)));(0,Wt.useEffect)(()=>{y&&y.activeId!==void 0&&L(y.activeId)},[y&&y.activeId]);let K=R.find(J=>J.id===C),_=K&&(K.navItems||K.navSections),q=_?K.navItems:c,N=_?K.navSections:d,X=_?(K.navItems||K.navSections.flatMap(J=>J.items)).flatMap(J=>[J.id,...(J.children||[]).map(xe=>xe.id)]):null,Q=X&&!X.includes(D)?X[0]:D,z=(0,Wt.useCallback)(J=>{I(J),p&&p(J)},[p]),j=(0,Wt.useCallback)(J=>{L(J),y&&y.onSelect&&y.onSelect(J);let xe=R.find(le=>le.id===J),bt=xe&&(xe.navItems?xe.navItems[0]:xe.navSections&&xe.navSections[0]&&xe.navSections[0].items[0]);bt&&z(bt.id)},[y,R,z]),G=v?0:T?QC:H9,M=(0,Wt.useCallback)(J=>{!x&&!v&&k(J)},[x,v]),ae=(0,Wt.useCallback)(()=>{v?P(J=>!J):x||k(J=>!J)},[v,x]);return(0,Wt.useEffect)(()=>{if(!E)return;let J=xe=>{xe.key==="Escape"&&P(!1)};return document.addEventListener("keydown",J),()=>document.removeEventListener("keydown",J)},[E]),(0,Wt.useEffect)(()=>{v||P(!1)},[v]),(0,fn.jsxs)(fn.Fragment,{children:[(0,fn.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,fn.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:100},children:(0,fn.jsx)(mu,{modules:e,activeModuleId:t,org:r,orgs:n,user:o,breakpoint:b,onModuleSelect:a,onOrgSelect:i,onSideNavToggle:ae,showSearch:s??(y&&y.topNav&&y.topNav.showSearch)??!0,showActions:l??(y&&y.topNav&&y.topNav.showActions)??!0})}),v&&E&&(0,fn.jsx)("div",{"aria-hidden":"true",onClick:()=>P(!1),style:{position:"fixed",inset:0,top:Hf,background:"rgba(0,0,0,0.32)",zIndex:49}}),(0,fn.jsx)("div",{"aria-hidden":v&&!E,style:{position:"fixed",top:Hf,left:0,bottom:0,zIndex:v?51:10,overflow:"hidden",...v&&{width:E?H9:0,transition:"width var(--motion-duration-6) var(--motion-easing-emphasized)"}},children:(0,fn.jsx)(ms,{items:q,sections:N,activeId:Q,onNavigate:z,collapsed:T,onCollapseChange:M,hideCollapseButton:x||v,headerEnd:g,footer:$,headerStart:O3(y),appSwitcher:y?{...y,activeId:C,onSelect:j,presentation:v?"sheet":"popover"}:null,children:h},_?K.id:"shell")}),(0,fn.jsx)("main",{id:"main-content",role:"main",style:{marginTop:Hf,marginLeft:G,minHeight:`calc(100vh - ${Hf}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 ew=`
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=`
394
394
  /* The shell is a full-page layout.
395
395
  display:block + no overflow so fixed children anchor to the viewport. */
396
396
  :host { display: block; width: 100%; min-height: 100vh; }
@@ -460,7 +460,7 @@ ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.s
460
460
  font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
461
461
  font-size: var(--semantic-type-font-size-s);
462
462
  line-height: var(--semantic-type-line-height-s-single);
463
- }`,K3=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=ew+Na,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-navshell-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()}_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=_c.default.createElement("slot",null)),t("nav-header-end")&&(r.navHeaderEnd=_c.default.createElement("slot",{name:"nav-header-end"})),t("nav-footer")&&(r.navFooter=_c.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||bs,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(_c.default.createElement(O9,{...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",K3);var Of=S(F(),1),z9=S(Fr(),1);var EO=S(F(),1),Po=S(be(),1),$s=e=>`var(--responsive-layout-${e})`,V3=e=>`var(--semantic-layout-units-${e})`,Af=e=>`var(--semantic-color-${e})`,z3={canvas:Af("fill-surface-canvas"),sheet:Af("fill-surface-elevated"),divider:Af("stroke-static-neutral-faint")},pn={screenPadH:$s("sheetcontainer-padding-horizontal"),screenPadT:$s("sheetcontainer-padding-top"),sheetPadH:$s("sheet-padding-horizontal"),sheetPadT:$s("sheet-padding-top"),sheetPadB:$s("sheet-padding-bottom"),sheetRadius:$s("sheet-corner-radius-cornerradius"),sheetGap:V3("gap-tight"),contentGap:V3("gap-base"),navHeight:49};function K9({children:e,navigation:t,grid:r=!1,className:n="",style:o}){return(0,Po.jsx)("div",{className:`pw-screen ${n}`,style:{background:z3.canvas,minHeight:"100%",boxSizing:"border-box",paddingLeft:pn.screenPadH,paddingRight:pn.screenPadH,paddingTop:pn.screenPadT,paddingBottom:0,...o},children:(0,Po.jsxs)("div",{className:"pw-screen-main",style:{display:"flex",flexDirection:"column",gap:pn.sheetGap,background:z3.sheet,boxSizing:"border-box",paddingLeft:pn.sheetPadH,paddingRight:pn.sheetPadH,paddingTop:pn.sheetPadT,paddingBottom:pn.sheetPadB,borderTopLeftRadius:pn.sheetRadius,borderTopRightRadius:pn.sheetRadius,boxShadow:"var(--elevation-sheet)",minHeight:"100%"},children:[t?(0,Po.jsx)("div",{className:"pw-screen-nav",style:{flex:"0 0 auto",minHeight:pn.navHeight,boxSizing:"border-box",borderBottom:`1px solid ${z3.divider}`},children:t}):null,(0,Po.jsxs)("div",{className:"pw-screen-content",style:{display:"flex",flexDirection:"column",gap:pn.contentGap,flex:1,minHeight:0,position:"relative"},children:[r?(0,Po.jsx)(tw,{}):null,e]})]})})}function tw(){return(0,Po.jsx)("div",{"aria-hidden":"true",className:"pw-screen-guides",style:{position:"absolute",inset:0,pointerEvents:"none",display:"grid",gap:V3("gap-base")},children:Array.from({length:12}).map((e,t)=>(0,Po.jsx)("span",{style:{gridRow:1,background:Af("fill-action-primary-subtle-rest"),opacity:.35}},t))})}var rw=`
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=`
464
464
  :host { display: block; min-height: 100%; }
465
465
  :host([hidden]) { display: none; }
466
466
 
@@ -493,13 +493,13 @@ ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.s
493
493
  font-family: var(--semantic-type-family-brand), system-ui, sans-serif;
494
494
  font-size: var(--semantic-type-font-size-s);
495
495
  line-height: var(--semantic-type-line-height-s-single);
496
- }`,W3=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=rw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-pagetemplate-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()}_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=Of.default.createElement("slot",null)),t("navigation")&&(r.navigation=Of.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(Of.default.createElement(K9,{grid:r,navigation:o},n??null))}};customElements.get("pathway-page-template")||customElements.define("pathway-page-template",W3);var zf=S(F(),1),j9=S(Fr(),1);var Ee=S(F(),1),U9=S(kn(),1);var To=S(be(),1),U3=e=>`var(--semantic-color-${e})`,ga=e=>`var(--semantic-layout-units-${e})`,Mc=e=>`var(--semantic-type-${e})`,Bf=e=>`var(--motion-${e})`,vs={fill:U3("fill-surface-elevated"),stroke:U3("stroke-static-neutral-base"),fg:U3("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},Ic={fontFamily:Mc("family-brand"),fontSize:Mc("font-size-s"),fontWeight:Mc("weight-regular"),lineHeight:Mc("line-height-s-single"),letterSpacing:Mc("letter-spacing-wide")},nw={"amplify-light":"amplify-dark",light:"dark","amplify-dark":"amplify-light",dark:"light",midnight:"light"},ow=`
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
497
  .pw-tooltip{position:fixed;left:0;top:0;z-index:1000;box-sizing:border-box;width:max-content;
498
498
  max-width:min(${st.maxW}px, calc(100vw - 2 * var(${st.edge})));
499
- padding:${st.padY} ${st.padX};border-radius:${st.radius};background:${vs.fill};color:${vs.fg};
500
- box-shadow:inset 0 0 0 ${st.stroke} ${vs.stroke},${vs.shadow};
501
- font-family:${Ic.fontFamily},sans-serif;font-size:${Ic.fontSize};font-weight:${Ic.fontWeight};
502
- line-height:${Ic.lineHeight};letter-spacing:${Ic.letterSpacing};
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
503
  overflow-wrap:anywhere;text-align:start;pointer-events:auto;user-select:none}
504
504
  .pw-tooltip[data-state=open]{animation:pw-tooltip-in ${Bf("duration-2")} ${Bf("easing-decelerate")}}
505
505
  .pw-tooltip[data-state=closed]{animation:pw-tooltip-out ${Bf("duration-1")} ${Bf("easing-accelerate")} forwards}
@@ -513,14 +513,14 @@ ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.s
513
513
  @keyframes pw-tooltip-out{from{opacity:1}to{opacity:0}}
514
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
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:${vs.fill};box-shadow:inset 0 0 0 ${st.stroke} ${vs.stroke}}
516
+ transform:translate(-50%,-50%) rotate(45deg);background:${ws.fill};box-shadow:inset 0 0 0 ${st.stroke} ${ws.stroke}}
517
517
  .pw-tooltip__sr{display:none}
518
518
  .pw-tooltip__trigger{display:inline-flex}
519
- `,j3=!1;function aw(){(0,Ee.useEffect)(()=>{if(j3||typeof document>"u"||document.getElementById("pw-tooltip-css")){j3=!0;return}let e=document.createElement("style");e.id="pw-tooltip-css",e.textContent=ow,document.head.appendChild(e),j3=!0},[])}function Kf(e,t){if(typeof document>"u")return t;let r=parseFloat(getComputedStyle(document.documentElement).getPropertyValue(e));return Number.isFinite(r)?r:t}var ys=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r));function V9(e,t){let r=e;for(;r;){let n=r.closest?.(t);if(n)return n;r=r.getRootNode?.().host||null}return null}function iw(e){let t=V9(e,"[data-theme]")||document.documentElement,r=V9(e,"[data-brand]")||document.documentElement;return{theme:t.getAttribute("data-theme")||"light",brand:r.getAttribute("data-brand")}}var W9=0,sw=(0,Ee.createContext)(null),lw=(0,Ee.createContext)({arrow:!0});function cw(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=Kf(st.edge,8),u=Kf(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},g={top:"bottom",bottom:"top",left:"right",right:"left"},h=!p[r]&&p[g[r]]?g[r]:r,$=h==="top"||h==="bottom",y,m;$?(m=h==="top"?i.top-u-l:i.bottom+u,y=n==="start"?i.left:n==="end"?i.right-s:i.left+i.width/2-s/2):(y=h==="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,b=n;if($){let x=i.left+i.width/2,w=ys(ys(y,c.left+d,c.right-d-s),x-(s-f),x-f);Math.abs(w-y)>.5&&(b=w>y?"start":"end"),y=w}else{let x=i.top+i.height/2,w=ys(ys(m,c.top+d,c.bottom-d-l),x-(l-f),x-f);Math.abs(w-m)>.5&&(b=w>m?"start":"end"),m=w}let v=$?ys(i.left+i.width/2-y,f,s-f):ys(i.top+i.height/2-m,f,l-f);return{x:y,y:m,side:h,align:b,along:v}}function dw(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 Nc({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}){aw();let g=(0,Ee.useContext)(lw),h=(0,Ee.useContext)(sw),$=i??g.arrow??!0,y=zt(),m=(0,Ee.useId)(),f=(0,Ee.useRef)(null),b=(0,Ee.useRef)(null),[v,x]=(0,Ee.useState)(!1),[w,k]=(0,Ee.useState)(!1),[E,P]=(0,Ee.useState)(!1),[T,D]=(0,Ee.useState)(!1),[I,R]=(0,Ee.useState)(!1),[C,L]=(0,Ee.useState)(null),[K,_]=(0,Ee.useState)(null),q=(0,Ee.useRef)(null),N=(0,Ee.useRef)(null),X=(0,Ee.useRef)(null),Q=(0,Ee.useRef)(null);(0,Ee.useEffect)(()=>()=>[q,N,X,Q].forEach(Re=>clearTimeout(Re.current)),[]);let z=!s&&!!t&&(d??(E||!T&&(v||w))),j=(0,Ee.useRef)(!1);(0,Ee.useEffect)(()=>{clearTimeout(Q.current),z?R(!0):j.current&&(W9=Date.now(),Q.current=setTimeout(()=>{R(!1),L(null)},y?0:Kf("--motion-duration-1",100))),j.current!==z&&u?.(z),j.current=z},[z]),(0,Ee.useEffect)(()=>{if(!z)return;let Re=()=>{let{theme:gn,brand:$a}=iw(f.current);_({theme:nw[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 G=(0,Ee.useCallback)(()=>{!f.current||!b.current||L(cw(f.current,b.current,{side:o,align:a,arrow:$,boundary:c}))},[o,a,$,c]);if((0,Ee.useLayoutEffect)(()=>{if(!I)return;G();let Re=()=>G();window.addEventListener("scroll",Re,!0),window.addEventListener("resize",Re);let $t=typeof ResizeObserver<"u"?new ResizeObserver(Re):null;$t&&b.current&&$t.observe(b.current);let gn=0,$a="",ai=()=>{let ws=f.current?.getBoundingClientRect(),sm=ws?`${ws.left},${ws.top},${ws.width},${ws.height}`:"";sm!==$a&&($a=sm,G()),gn=requestAnimationFrame(ai)};return gn=requestAnimationFrame(ai),()=>{window.removeEventListener("scroll",Re,!0),window.removeEventListener("resize",Re),$t?.disconnect(),cancelAnimationFrame(gn)}},[I,G,t,K]),(0,Ee.useEffect)(()=>{if(!z)return;let Re=gn=>{gn.key==="Escape"&&(D(!0),P(!1))},$t=gn=>{let $a=ai=>!!ai&&(typeof gn.composedPath=="function"?gn.composedPath().includes(ai):ai.contains(gn.target));!$a(f.current)&&!$a(b.current)&&(x(!1),P(!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,J=(Re,$t)=>{ae&&M.props[Re]?.($t)},xe=h?.delay??Kf("--motion-duration-4",300),bt=h?.skipDelay??xe,le=Re=>{J("onPointerEnter",Re),Re.pointerType!=="touch"&&(clearTimeout(N.current),D(!1),!v&&(Date.now()-W9<bt?x(!0):(clearTimeout(q.current),q.current=setTimeout(()=>x(!0),xe))))},O=Re=>{J("onPointerLeave",Re),clearTimeout(q.current),clearTimeout(N.current),N.current=setTimeout(()=>x(!1),st.bridgeMs)},H=()=>clearTimeout(N.current),we=()=>{clearTimeout(N.current),N.current=setTimeout(()=>x(!1),st.bridgeMs)},pe=Re=>{J("onFocus",Re);let $t=!0;try{$t=Re.target.matches(":focus-visible")}catch{}$t&&(D(!1),k(!0))},hn=Re=>{J("onBlur",Re),k(!1),P(!1)},De=Re=>{J("onPointerDown",Re),clearTimeout(q.current),Re.pointerType==="touch"||l?(P(!0),clearTimeout(X.current),X.current=setTimeout(()=>P(!1),st.tapMs)):(x(!1),D(!0))},Gr=n==="description"?[M.props["aria-describedby"],m].filter(Boolean).join(" "):M.props["aria-describedby"],Zr=Re=>{f.current=Re;let $t=M.ref;typeof $t=="function"?$t(Re):$t&&typeof $t=="object"&&($t.current=Re)},Cs={onPointerEnter:le,onPointerLeave:O,onPointerDown:De,onFocus:pe,onBlur:hn},oi=p?{"aria-label":n==="label"&&typeof t=="string"?t:M.props["aria-label"],"aria-describedby":Gr||void 0}:{},St=ae?Ee.default.cloneElement(M,{ref:Zr,...Cs,...oi}):(0,To.jsx)("span",{ref:Re=>{f.current=Re},className:"pw-tooltip__trigger",...Cs,children:Ee.default.cloneElement(M,oi)}),Dn=I&&typeof document<"u"?(0,U9.createPortal)((0,To.jsxs)("div",{ref:b,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":y||void 0,onPointerEnter:H,onPointerLeave:we,style:{left:C?C.x:0,top:C?C.y:0,visibility:C?"visible":"hidden"},children:[t,$&&C&&(0,To.jsx)("span",{className:"pw-tooltip__arrow",style:dw(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 uw=`
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=`
520
520
  :host { display: inline-flex; }
521
521
  :host([hidden]) { display: none; }
522
522
  .pw-tooltip-wc-trigger { display: inline-flex; }
523
- `,fw=["content","describe","purpose","side","align","arrow","persist-on-press","disabled"],pw=0,G3=class extends HTMLElement{static get observedAttributes(){return fw}constructor(){super(),this._reactRoot=null,this._descId=`pw-tooltip-desc-${++pw}`}connectedCallback(){if(!this.shadowRoot){let t=this.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=uw,t.appendChild(r),this._mount=document.createElement("span"),t.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()}_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(zf.default.createElement(Nc,{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")},zf.default.createElement("span",{className:"pw-tooltip-wc-trigger"},zf.default.createElement("slot"))))}};customElements.get("pathway-tooltip")||customElements.define("pathway-tooltip",G3);var Y3=S(F(),1),Q9=S(Fr(),1);var ze=S(F(),1);var ge=S(be(),1),Ur=e=>`var(--semantic-color-${e})`,nt=e=>`var(--semantic-layout-units-${e})`,mw=e=>`var(--contextual-layout-units-${e})`,Z3=e=>`var(--responsive-layout-${e})`,Dc=e=>`var(--semantic-type-${e})`,xs=(e,t,r,n)=>({fontFamily:Dc("family-brand"),fontSize:Dc(`font-size-${e}`),lineHeight:Dc(`line-height-${t}`),fontWeight:Dc(`weight-${r}`),letterSpacing:Dc(`letter-spacing-${n}`)}),oe={noticeFill:Ur("fill-surface-elevated"),noticeStroke:Ur("stroke-static-neutral-faint"),hintFill:Ur("fill-surface-overlay"),hintStroke:Ur("stroke-static-neutral-bold"),messageFill:Ur("fill-static-negative-subtle"),messageFg:Ur("foreground-static-negative-on-subtle"),progressFill:Ur("fill-static-brand-strong"),progressTrack:Ur("stroke-static-neutral-faint"),sheetFill:Ur("fill-surface-overlay"),scrim:Ur("scrim-base"),fgStrong:Ur("foreground-static-neutral-strong"),fgBase:Ur("foreground-static-neutral-base"),focusRing:Ur("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:Z3("sheet-corner-radius-cornerradius"),focusWidth:mw("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:`${Z3("sheet-padding-top")} ${Z3("sheet-padding-horizontal")} ${nt("padding-wide")}`,sheetGap:nt("gap-base"),sheetHeaderPad:nt("padding-medium"),noticeType:xs("s","s-single","regular","spacious"),titleType:xs("r","r-single","medium","wide"),progressType:xs("xs","xs-single","regular","extraspacious"),hintType:xs("xs","xs-single","semibold","extraspacious"),messageType:xs("xs","xs-single","semibold","extraspacious"),sheetTitleType:xs("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},hw={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."},gw={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 bw(){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 G9=()=>typeof window<"u"&&typeof window.matchMedia=="function",Z9=`(min-width: ${oe.breakpoint}px)`;function $w(e){let[t,r]=(0,ze.useState)(()=>G9()?window.matchMedia(Z9).matches:!0);return(0,ze.useEffect)(()=>{if(e!=="auto"||!G9())return;let n=window.matchMedia(Z9);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 ni=e=>{e&&typeof e.focus=="function"&&e.focus()};function vw({value:e,labelId:t}){let r=zt(),n=Math.round(e*100);return(0,ge.jsxs)("div",{className:"pds-ste__progress",style:{display:"flex",flexDirection:"column",gap:oe.progressGap},children:[(0,ge.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",...oe.progressType,color:oe.fgBase},children:[(0,ge.jsx)("span",{id:t,children:"Reading progress"}),(0,ge.jsxs)("span",{"aria-hidden":"true",children:[n,"%"]})]}),(0,ge.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,ge.jsx)("div",{style:{width:`${n}%`,height:"100%",borderRadius:oe.pillRadius,background:oe.progressFill,transition:r?"none":oe.progressMotion}})})]})}function Y9({id:e,text:t,nonce:r}){return(0,ge.jsx)("div",{id:e,children:t&&(0,ge.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,ge.jsx)(Se,{name:"error",size:"M",fill:1}),(0,ge.jsx)("span",{children:t})]},r)})}function yw(){return(0,ge.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:0,right:0,bottom:oe.hintOffset,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,ge.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,ge.jsx)(Se,{name:"arrow_downward",size:"M"}),"Scroll to continue"]})})}function X9({children:e,height:t,titleId:r,regionRef:n,showPrint:o,onPrint:a,showHint:i,onProgress:s,startAt:l}){let c=(0,ze.useRef)(null),[d,u]=(0,ze.useState)(!1),p=(0,ze.useCallback)(h=>{if(!h)return;let $=h.scrollHeight-h.clientHeight;s($<=oe.readThreshold?1:Math.min(1,h.scrollTop/($-oe.readThreshold)))},[s]);(0,ze.useLayoutEffect)(()=>{let h=c.current&&c.current.querySelector(".pds-scrollable__view");if(!h||(l!=null&&(h.scrollTop=(h.scrollHeight-h.clientHeight)*l),p(h),typeof ResizeObserver>"u"))return;let $=new ResizeObserver(()=>p(h));return $.observe(h),()=>$.disconnect()},[p,t,l]);let g=h=>{let $=!0;try{$=h.target.matches(":focus-visible")||h.target.dataset.moved==="1"}catch{}delete h.target.dataset.moved,u($)};return(0,ge.jsxs)("div",{ref:c,className:"pds-ste__notice",onScrollCapture:h=>p(h.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,ge.jsx)("div",{style:{padding:oe.toolbarPad},children:(0,ge.jsx)(po,{buttonStyle:"Naked",type:"Secondary",size:"S",text:"Print",showLeadingIcon:!0,leadingIcon:"print",onClick:a})}),(0,ge.jsx)(hu,{style:{height:t},children:(0,ge.jsx)("div",{ref:n,className:"pds-ste__region",role:"region",tabIndex:0,"aria-labelledby":r,onFocus:g,onBlur:()=>u(!1),style:{padding:oe.contentPad,display:"flex",flexDirection:"column",gap:oe.paragraphGap,...oe.noticeType,color:oe.fgStrong},children:e})}),i&&(0,ge.jsx)(yw,{})]})}function xw({title:e,titleId:t,stepLabel:r,onClose:n,children:o,footer:a,initialFocusRef:i,contained:s}){let l=zt(),c=(0,ze.useRef)(null);(0,ze.useEffect)(()=>{if(s)return;let u=document.body.style.overflow;document.body.style.overflow="hidden";let p=setTimeout(()=>ni(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 g=p[0],h=p[p.length-1];u.shiftKey&&document.activeElement===g?(u.preventDefault(),ni(h)):!u.shiftKey&&document.activeElement===h&&(u.preventDefault(),ni(g))};return(0,ge.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,ge.jsx)("div",{className:"pds-ste-sheet__scrim",onClick:n,style:{position:"absolute",inset:0,background:oe.scrim,animation:l?"none":oe.scrimMotion}}),(0,ge.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,ge.jsxs)("div",{className:"pds-ste-sheet__header",style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:oe.sheetHeaderPad,paddingRight:oe.sheetHeaderPad},children:[(0,ge.jsx)("span",{style:{...oe.progressType,color:oe.fgBase},children:r}),(0,ge.jsx)(po,{buttonStyle:"Naked",type:"Secondary",size:"S",showText:!1,showLeadingIcon:!0,leadingIcon:"close",text:"Close",ariaLabel:"Close",onClick:n})]}),(0,ge.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:g,onAgreeChange:h,demoState:$,className:y=""}){bw();let m=$w(o),f=(0,ze.useId)().replace(/:/g,""),b={title:`${f}-title`,progress:`${f}-rp`,msg:`${f}-msg`,sheetTitle:`${f}-sheet-title`,sheetMsg:`${f}-sheet-msg`,checkbox:`${f}-cb`},v={...hw,...g},x=$&&gw[$]||{},w=!!$,k=x.msg==="blocked"?m==="inline"?"scrollInline":"readAgreement":x.msg||null,[E,P]=(0,ze.useState)(x.progress||0),[T,D]=(0,ze.useState)(!!x.read),[I,R]=(0,ze.useState)(!!x.checked),[C,L]=(0,ze.useState)(k),[K,_]=(0,ze.useState)(x.sheetMsg||null),[q,N]=(0,ze.useState)(0),[X,Q]=(0,ze.useState)(!!x.sheetOpen),[z,j]=(0,ze.useState)(!!x.missing),G=(0,ze.useRef)(null),M=(0,ze.useRef)(null),ae=(0,ze.useRef)(null),J=St=>{L(St),N(Dn=>Dn+1)},xe=St=>{St&&(St.dataset.moved="1",ni(St))},bt=()=>ae.current&&ae.current.querySelector("button"),le=(0,ze.useCallback)(St=>{P(Dn=>Math.max(Dn,St)),St>=1&&(D(!0),L(Dn=>Dn==="scrollInline"?null:Dn))},[]),O=(0,ze.useCallback)(St=>{P(Dn=>Math.max(Dn,St)),St>=1&&_(null)},[]),H=()=>{m==="inline"?(J("scrollInline"),xe(G.current)):(J("readAgreement"),ni(bt()))},we=St=>{if(!T){H();return}R(St),St&&(L(null),j(!1)),h&&h(St)},pe=()=>{if(!T){H();return}if(!I){j(!0),J("agree"),ni(document.getElementById(b.checkbox));return}n&&n()},hn=()=>{Q(!1),_(null),setTimeout(()=>ni(bt()),0)},De=()=>{if(E<1){_("scrollSheet"),N(St=>St+1),xe(M.current);return}D(!0),L(null),hn()},Gr=s||(()=>{typeof window<"u"&&window.print()}),Zr=(0,ge.jsxs)("div",{className:"pds-ste__agreement",style:{display:"flex",flexDirection:"column",gap:oe.agreementGap},children:[(0,ge.jsx)(Tf,{id:b.checkbox,checked:I,error:z&&!I,label:r,onChange:we,describedBy:b.msg}),(0,ge.jsx)(Y9,{id:b.msg,text:C?v[C]:null,nonce:q})]}),Cs=(0,ge.jsx)("div",{className:"pds-ste__actions",style:{display:"flex",justifyContent:"center"},children:(0,ge.jsx)(po,{buttonStyle:"Fill",type:"Primary",size:"L",text:l,onClick:pe,"aria-describedby":b.msg})}),oi={display:"flex",flexDirection:"column",gap:oe.sectionGap,minWidth:oe.minWidth,width:"100%"};return m==="inline"?(0,ge.jsxs)("div",{className:`pds-ste ${y}`,style:oi,children:[(0,ge.jsx)(vw,{value:E,labelId:b.progress}),(0,ge.jsxs)("div",{className:"pds-ste__notice-group",style:{display:"flex",flexDirection:"column",gap:oe.titleGap},children:[(0,ge.jsx)("div",{id:b.title,style:{...oe.titleType,color:oe.fgStrong},children:e}),(0,ge.jsx)(X9,{height:a,titleId:b.title,regionRef:G,showPrint:i,onPrint:Gr,showHint:!T,onProgress:le,startAt:x.read?1:x.progress,children:t})]}),Zr,Cs]}):(0,ge.jsxs)("div",{className:`pds-ste ${y}`,style:w&&X?{...oi,position:"relative",minHeight:oe.sheetFrameHeight}:oi,children:[(0,ge.jsx)("span",{ref:ae,style:{display:"flex"},children:(0,ge.jsx)(po,{buttonStyle:"Fill",type:"Tertiary",size:"M",text:T?d:c,showTrailingIcon:!0,trailingIcon:T?"check":"open_in_new","aria-haspopup":"dialog",onClick:()=>{Q(!0),_(null)}})}),Zr,Cs,X&&(0,ge.jsxs)(xw,{title:e,titleId:b.sheetTitle,stepLabel:p,onClose:hn,initialFocusRef:M,contained:w,footer:(0,ge.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,ge.jsx)(po,{buttonStyle:"Fill",type:"Primary",size:"L",text:u,onClick:De,"aria-describedby":b.sheetMsg})}),children:[(0,ge.jsx)(X9,{height:a,titleId:b.sheetTitle,regionRef:M,showPrint:!1,showHint:E<1,onProgress:O,startAt:x.sheetOpen?x.progress:void 0,children:t}),(0,ge.jsx)(Y9,{id:b.sheetMsg,text:K?v[K]:null,nonce:q})]})]})}var Cw=["notice-title","agreement-label","layout","notice-height","show-print","continue-label","read-agreement-label","read-label","done-reading-label","step-label"],X3=class extends HTMLElement{static get observedAttributes(){return Cw}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,Q9.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(Y3.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})},Y3.default.createElement("div",{dangerouslySetInnerHTML:{__html:this._notice},style:{display:"contents"}})))}};customElements.get("pathway-scroll-to-enable")||customElements.define("pathway-scroll-to-enable",X3);var q3=S(F(),1),J9=S(Fr(),1);var ww=["open","sheet-title","menu","show-handle","show-back","close-label","back-label"],Q3=class extends HTMLElement{static get observedAttributes(){return ww}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,J9.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(Nf,{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",Q3);var eg=S(F(),1),tg=S(Fr(),1);var Sw=["type","label","field-label","show-field-label","status","size","badge-style","leading-icon","show-trailing-icon","href","selected","disabled","remove-disabled"],J3=class extends HTMLElement{static get observedAttributes(){return Sw}constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",this._reactRoot=(0,tg.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(eg.default.createElement(_f,{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,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",J3);var ag=S(F(),1),ig=S(Fr(),1);var dt=S(F(),1);var Rt=S(be(),1),mn=e=>`var(--semantic-color-${e})`,Ut=e=>`var(--semantic-layout-units-${e})`,Ew=e=>`var(--contextual-layout-units-${e})`,Fc=e=>`var(--semantic-type-${e})`,Vf=e=>`var(--motion-${e})`,em=e=>`var(--primitive-unit-unit-${e})`,ba=e=>({rest:mn(`${e}-rest`),hover:mn(`${e}-hover`),pressed:mn(`${e}-pressed`)}),kw={fill:{...ba("fill-action-secondary"),disabled:mn("fill-action-disabled")},fg:{...ba("foreground-action-secondary"),disabled:mn("foreground-action-disabled")},stroke:null},rg={Primary:{fill:ba("fill-action-primary-strong"),fg:{rest:mn("foreground-action-primary-on-strong"),hover:mn("foreground-action-primary-on-strong"),pressed:mn("foreground-action-primary-on-strong")},stroke:null},Secondary:{fill:{rest:mn("fill-surface-elevated"),hover:mn("fill-surface-elevated"),pressed:mn("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")}},jr={gap:Ut("gap-xxxtight"),border:Ut("borderwidth-base"),touchW:Ut("accessibility-touch-target-aa-width"),touchH:Ut("accessibility-touch-target-aa-height"),focusOutline:`${Ew("focusring-width")} solid ${mn("stroke-focusring-base")}`,focusOffset:"0",colour:`${Vf("duration-2")} ${Vf("easing-standard")}`,shape:`${Vf("duration-4")} ${Vf("easing-spring-soft")}`},Wf=(e,t,r)=>({fontFamily:Fc("family-brand"),fontSize:Fc(`font-size-${e}`),fontWeight:Fc("weight-medium"),lineHeight:Fc(`line-height-${t}`),letterSpacing:Fc(`letter-spacing-${r}`)}),ng={XS:{height:28,padH:Ut("padding-xtight"),inner:Ut("cornerradius-small"),outer:em(14),gap:Ut("gap-xtight"),icon:14,...Wf("xs","xs-single","extraspacious")},S:{height:32,padH:Ut("padding-tight"),inner:Ut("cornerradius-small"),outer:Ut("cornerradius-xlarge"),gap:Ut("gap-tight"),icon:16,...Wf("s","s-single","spacious")},M:{height:40,padH:Ut("padding-base"),inner:Ut("cornerradius-base"),outer:em(20),gap:Ut("gap-tight"),icon:18,...Wf("r","r-single","wide")},L:{height:48,padH:Ut("padding-relaxed"),inner:Ut("cornerradius-base"),outer:em(24),gap:Ut("gap-tight"),icon:20,...Wf("m","m-single","wide")}},Pw=(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},Uf=(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:g,onPointerLeave:h,onPointerDown:$,onPointerUp:y,onFocus:m,onBlur:f,onKeyDown:b,onKeyUp:v,onClick:x,className:w="",...k},E){let P=zt(),[T,D]=(0,dt.useState)(!1),[I,R]=(0,dt.useState)(!1),[C,L]=(0,dt.useState)(!1),K=ng[r]||ng.S,_=n?rg[t]||rg.Secondary:kw,q=c?"disabled":u==="pressed"||I?"pressed":u==="hover"||T?"hover":"rest",N=!c&&(u==="focused"||C),X=s&&!l,Q={display:"flex",alignItems:"center",justifyContent:"center",gap:K.gap,boxSizing:"border-box",height:K.height,minWidth:jr.touchW,width:d?"100%":void 0,paddingLeft:X?0:K.padH,paddingRight:X?0:K.padH,borderRadius:Pw(K,o,n),background:_.fill[q]||_.fill.rest,color:_.fg[q]||_.fg.rest,boxShadow:_.stroke&&!N?`inset 0 0 0 ${jr.border} ${_.stroke[q]||_.stroke.rest}`:"none",outline:N?jr.focusOutline:"none",outlineOffset:N?jr.focusOffset:void 0,fontFamily:K.fontFamily,fontSize:K.fontSize,fontWeight:K.fontWeight,lineHeight:K.lineHeight,letterSpacing:K.letterSpacing,whiteSpace:"nowrap",transition:P?"none":`background-color ${jr.colour}, color ${jr.colour}, box-shadow ${jr.colour}, border-radius ${jr.shape}`},z={position:"relative",zIndex:N?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,Rt.jsx)("button",{ref:E,type:"button",role:j?"radio":void 0,"aria-checked":j?n:void 0,"aria-disabled":c||void 0,"aria-label":X?a:void 0,"data-selected":n||void 0,className:`pw-toggle-button__option ${w}`.trim(),style:z,...k,onPointerEnter:G=>{D(!0),g?.(G)},onPointerLeave:G=>{D(!1),R(!1),h?.(G)},onPointerDown:G=>{c||R(!0),$?.(G)},onPointerUp:G=>{R(!1),y?.(G)},onFocus:G=>{let M=!0;try{M=G.target.matches(":focus-visible")}catch{}L(M),m?.(G)},onBlur:G=>{L(!1),R(!1),f?.(G)},onKeyDown:G=>{!c&&(G.key===" "||G.key==="Enter")&&R(!0),b?.(G)},onKeyUp:G=>{R(!1),v?.(G)},onClick:x,children:(0,Rt.jsxs)("span",{className:"pw-toggle-button__main",style:Q,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 Tw(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 Lw=(e,t,r)=>{if(typeof window>"u"||!e)return r;let n=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(n)?n:r};function og({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 g=e.find(z=>!z.disabled)?.value,h=t!==void 0,[$,y]=(0,dt.useState)(r??g),m=h?t:$,f=(0,dt.useCallback)(z=>{let j=e.find(G=>G.value===z);!j||j.disabled||z===m||(h||y(z),n?.(z))},[e,m,h,n]),b=(0,dt.useRef)(null),v=(0,dt.useRef)(null),x=(0,dt.useRef)({}),[w,k]=(0,dt.useState)({visible:e.map((z,j)=>j),hidden:[],natural:null}),[E,P]=(0,dt.useState)(null),T=(0,dt.useRef)(null),D=(0,dt.useCallback)(()=>{let z=b.current,j=v.current;if(!z||!j)return;let G=[...j.querySelectorAll("[data-measure]")],M=G.slice(0,e.length).map(O=>O.getBoundingClientRect().width),ae=G[e.length]?.getBoundingClientRect().width||0,J=Lw(z,"--semantic-layout-units-gap-xxxtight",2),xe=M.reduce((O,H)=>O+H,0)+Math.max(0,M.length-1)*J,bt=z.getBoundingClientRect().width,le=Tw(e,M,m,Math.max(bt,0),ae,J);k(O=>O.natural===xe&&O.visible.join()===le.visible.join()?O:{...le,natural:xe})},[e,m]);(0,dt.useLayoutEffect)(()=>{D()},[D,i,s,l,a]),(0,dt.useEffect)(()=>{if(typeof ResizeObserver>"u")return;let z=new ResizeObserver(()=>D());return b.current&&z.observe(b.current),v.current&&z.observe(v.current),()=>z.disconnect()},[D]),(0,dt.useEffect)(()=>{if(E==null)return;let z=requestAnimationFrame(()=>{x.current[E]?.focus(),P(null)});return()=>cancelAnimationFrame(z)},[E,w]);let I=w.visible.filter(z=>z<e.length),R=w.hidden.filter(z=>z<e.length),C=R.length>0,L=s&&!l,K=(z,j)=>{let G=I.indexOf(j),M=J=>{let xe=e[I[J]];x.current[xe.value]?.focus(),xe.disabled||f(xe.value)},ae=I.filter(J=>!e[J].disabled);z.key==="ArrowRight"||z.key==="ArrowDown"?(z.preventDefault(),M((G+1)%I.length)):z.key==="ArrowLeft"||z.key==="ArrowUp"?(z.preventDefault(),M((G-1+I.length)%I.length)):z.key==="Home"&&ae.length?(z.preventDefault(),M(I.indexOf(ae[0]))):z.key==="End"&&ae.length?(z.preventDefault(),M(I.indexOf(ae[ae.length-1]))):(z.key===" "||z.key==="Enter")&&(z.preventDefault(),f(e[j].value))},_=I.length+(C?1:0),q=z=>_===1?"Only":z===0?"First":z===_-1?"Last":"Middle",N={toggleStyle:a,size:i,showIcon:s,showLabel:l,fill:c},X=(z,j)=>{let G=e[z],M=G.value===m,ae=(0,Rt.jsx)(Uf,{ref:J=>{x.current[G.value]=J},...N,label:G.label,icon:G.icon,selected:M,disabled:!!G.disabled,position:q(j),tabIndex:M?0:-1,onClick:()=>f(G.value),onKeyDown:J=>K(J,z)},G.value);return G.disabled&&G.reason?(0,Rt.jsx)(Nc,{content:L?`${G.label}. ${G.reason}`:G.reason,describe:G.reason,purpose:"description",persistOnPress:!0,children:ae},G.value):L?(0,Rt.jsx)(Nc,{content:G.label,purpose:"label",children:ae},G.value):ae},Q={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,Rt.jsxs)("div",{ref:b,className:`pw-toggle-button ${u}`.trim(),style:Q,children:[(0,Rt.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:I.map((z,j)=>X(z,j))}),C&&(0,Rt.jsx)(E9,{align:"end",label:L?"More options":d,renderTrigger:({title:z,...j})=>(0,Rt.jsx)(Uf,{...N,...j,as:"button",fill:!1,onFocus:()=>{if(T.current==null)return;let G=T.current;T.current=null,P(G)},label:L?"More options":d,icon:L?"more_horiz":void 0,position:q(_-1)}),children:R.map(z=>{let j=e[z];return(0,Rt.jsx)(S9,{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),T.current=j.value}},j.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:jr.gap,whiteSpace:"nowrap"},children:[e.map(z=>(0,Rt.jsx)("span",{"data-measure":"",style:{display:"inline-flex"},children:(0,Rt.jsx)(Uf,{...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)(Uf,{...N,fill:!1,as:"button",label:L?"More options":d,icon:L?"more_horiz":void 0,tabIndex:-1})})]})]})}var Rw=`
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=`
524
524
  :host { display: inline-flex; max-width: 100%; min-width: 0; }
525
525
  :host([fill]) { display: flex; width: 100%; }
526
526
  :host([hidden]) { display: none; }
@@ -541,7 +541,7 @@ ${mr}:is([data-selected],[data-current]) .pw-menu-item__stripe{background:${ue.s
541
541
  text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
542
542
  direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
543
543
  }
544
- `,_w=["options","value","label","toggle-style","size","show-icon","show-label","fill","more-label"],tm=class extends HTMLElement{static get observedAttributes(){return _w}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=Rw,t.appendChild(r),this._mount=document.createElement("div"),this._mount.className="pw-tb-wc-root",t.appendChild(this._mount),this._reactRoot=(0,ig.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(ag.default.createElement(og,{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",tm);var rm=S(F(),1),sg=S(Fr(),1);var Mw=["label","hide-label","required","help-text","error","error-message","disabled","orientation","size","name","value"],nm=class extends HTMLElement{static get observedAttributes(){return Mw}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,sg.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(rm.default.createElement(o9,{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=>rm.default.createElement(i9,{key:t.value,value:t.value,text:t.text,disabled:t.disabled}))))}};customElements.get("pathway-radio-group")||customElements.define("pathway-radio-group",nm);var im=S(F(),1),lg=S(Fr(),1);var jf=class extends HTMLElement{constructor(){super(),this._reactRoot=null}connectedCallback(){this._reactRoot||(this.style.display=this.style.display||"inline-flex",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()}_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}},om=class extends jf{static get observedAttributes(){return["size","content","shape","avatar-style","src","text","icon","name","show-badge","badge-status"]}_render(){this._reactRoot&&this._reactRoot.render(im.default.createElement(fs,{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"}))}},am=class extends jf{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(im.default.createElement(v9,{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",om);customElements.get("pathway-avatar-group")||customElements.define("pathway-avatar-group",am);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{bs as ACCOUNTING_APP_SWITCHER,B3 as PathwayAccountingSideNav,om as PathwayAvatar,am as PathwayAvatarGroup,J3 as PathwayBadge,Q3 as PathwayBottomSheet,fp as PathwayButton,K3 as PathwayNavShell,W3 as PathwayPageTemplate,nm as PathwayRadioGroup,X3 as PathwayScrollToEnable,Rc as PathwaySideNav,tm as PathwayToggleButton,G3 as PathwayTooltip,Ep as PathwayTopNav};
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};
545
545
  /*! Bundled license information:
546
546
 
547
547
  react/cjs/react.production.min.js: