mgwdev-m365-components 0.0.10-experimental → 0.0.11-experimental

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,4 +1,4 @@
1
- (function(Y,Gt){typeof exports=="object"&&typeof module<"u"?Gt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Gt):(Y=typeof globalThis<"u"?globalThis:Y||self,Gt(Y["mgwdev-m365-components"]={},Y.React,Y.ReactDOM))})(this,function(Y,Gt,Gf){"use strict";function Xa(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}function Uf(e,r){for(var t=0;t<r.length;t++){const o=r[t];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(o,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const m=Xa(Gt),Rn=Xa(Gf);function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},Hr={};/**
1
+ (function(Y,Gt){typeof exports=="object"&&typeof module<"u"?Gt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Gt):(Y=typeof globalThis<"u"?globalThis:Y||self,Gt(Y["mgwdev-m365-components"]={},Y.React,Y.ReactDOM))})(this,function(Y,Gt,Kf){"use strict";function Xa(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}function Xf(e,r){for(var t=0;t<r.length;t++){const o=r[t];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const n=Object.getOwnPropertyDescriptor(o,i);n&&Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const m=Xa(Gt),Rn=Xa(Kf);function Zf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},Hr={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -6,17 +6,17 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Za;function Xf(){return Za||(Za=1,process.env.NODE_ENV!=="production"&&function(){var e=Gt,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,v="@@iterator";function b(x){if(x===null||typeof x!="object")return null;var F=h&&x[h]||x[v];return typeof F=="function"?F:null}var p=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(x){{for(var F=arguments.length,M=new Array(F>1?F-1:0),ee=1;ee<F;ee++)M[ee-1]=arguments[ee];k("error",x,M)}}function k(x,F,M){{var ee=p.ReactDebugCurrentFrame,de=ee.getStackAddendum();de!==""&&(F+="%s",M=M.concat([de]));var me=M.map(function(ue){return String(ue)});me.unshift("Warning: "+F),Function.prototype.apply.call(console[x],console,me)}}var w=!1,_=!1,S=!1,C=!1,T=!1,z;z=Symbol.for("react.module.reference");function I(x){return!!(typeof x=="string"||typeof x=="function"||x===o||x===n||T||x===i||x===a||x===c||C||x===f||w||_||S||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===d||x.$$typeof===s||x.$$typeof===l||x.$$typeof===u||x.$$typeof===z||x.getModuleId!==void 0))}function G(x,F,M){var ee=x.displayName;if(ee)return ee;var de=F.displayName||F.name||"";return de!==""?M+"("+de+")":M}function U(x){return x.displayName||"Context"}function B(x){if(x==null)return null;if(typeof x.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case o:return"Fragment";case t:return"Portal";case n:return"Profiler";case i:return"StrictMode";case a:return"Suspense";case c:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case l:var F=x;return U(F)+".Consumer";case s:var M=x;return U(M._context)+".Provider";case u:return G(x,x.render,"ForwardRef");case d:var ee=x.displayName||null;return ee!==null?ee:B(x.type)||"Memo";case g:{var de=x,me=de._payload,ue=de._init;try{return B(ue(me))}catch{return null}}}return null}var j=Object.assign,V=0,X,Z,R,q,W,ne,L;function oe(){}oe.__reactDisabledLog=!0;function be(){{if(V===0){X=console.log,Z=console.info,R=console.warn,q=console.error,W=console.group,ne=console.groupCollapsed,L=console.groupEnd;var x={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}V++}}function dt(){{if(V--,V===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:j({},x,{value:X}),info:j({},x,{value:Z}),warn:j({},x,{value:R}),error:j({},x,{value:q}),group:j({},x,{value:W}),groupCollapsed:j({},x,{value:ne}),groupEnd:j({},x,{value:L})})}V<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Me=p.ReactCurrentDispatcher,tt;function Mt(x,F,M){{if(tt===void 0)try{throw Error()}catch(de){var ee=de.stack.trim().match(/\n( *(at )?)/);tt=ee&&ee[1]||""}return`
9
+ */var Za;function Qf(){return Za||(Za=1,process.env.NODE_ENV!=="production"&&function(){var e=Gt,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,v="@@iterator";function b(x){if(x===null||typeof x!="object")return null;var F=h&&x[h]||x[v];return typeof F=="function"?F:null}var p=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(x){{for(var F=arguments.length,M=new Array(F>1?F-1:0),ee=1;ee<F;ee++)M[ee-1]=arguments[ee];k("error",x,M)}}function k(x,F,M){{var ee=p.ReactDebugCurrentFrame,de=ee.getStackAddendum();de!==""&&(F+="%s",M=M.concat([de]));var me=M.map(function(ue){return String(ue)});me.unshift("Warning: "+F),Function.prototype.apply.call(console[x],console,me)}}var w=!1,_=!1,S=!1,C=!1,T=!1,z;z=Symbol.for("react.module.reference");function I(x){return!!(typeof x=="string"||typeof x=="function"||x===o||x===n||T||x===i||x===a||x===c||C||x===f||w||_||S||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===d||x.$$typeof===s||x.$$typeof===l||x.$$typeof===u||x.$$typeof===z||x.getModuleId!==void 0))}function G(x,F,M){var ee=x.displayName;if(ee)return ee;var de=F.displayName||F.name||"";return de!==""?M+"("+de+")":M}function U(x){return x.displayName||"Context"}function B(x){if(x==null)return null;if(typeof x.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case o:return"Fragment";case t:return"Portal";case n:return"Profiler";case i:return"StrictMode";case a:return"Suspense";case c:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case l:var F=x;return U(F)+".Consumer";case s:var M=x;return U(M._context)+".Provider";case u:return G(x,x.render,"ForwardRef");case d:var ee=x.displayName||null;return ee!==null?ee:B(x.type)||"Memo";case g:{var de=x,me=de._payload,ue=de._init;try{return B(ue(me))}catch{return null}}}return null}var j=Object.assign,V=0,X,Z,R,q,W,ne,L;function oe(){}oe.__reactDisabledLog=!0;function be(){{if(V===0){X=console.log,Z=console.info,R=console.warn,q=console.error,W=console.group,ne=console.groupCollapsed,L=console.groupEnd;var x={configurable:!0,enumerable:!0,value:oe,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}V++}}function dt(){{if(V--,V===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:j({},x,{value:X}),info:j({},x,{value:Z}),warn:j({},x,{value:R}),error:j({},x,{value:q}),group:j({},x,{value:W}),groupCollapsed:j({},x,{value:ne}),groupEnd:j({},x,{value:L})})}V<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Me=p.ReactCurrentDispatcher,tt;function Mt(x,F,M){{if(tt===void 0)try{throw Error()}catch(de){var ee=de.stack.trim().match(/\n( *(at )?)/);tt=ee&&ee[1]||""}return`
10
10
  `+tt+x}}var nr=!1,Lt;{var K=typeof WeakMap=="function"?WeakMap:Map;Lt=new K}function Ht(x,F){if(!x||nr)return"";{var M=Lt.get(x);if(M!==void 0)return M}var ee;nr=!0;var de=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=Me.current,Me.current=null,be();try{if(F){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(Et){ee=Et}Reflect.construct(x,[],ue)}else{try{ue.call()}catch(Et){ee=Et}x.call(ue.prototype)}}else{try{throw Error()}catch(Et){ee=Et}x()}}catch(Et){if(Et&&ee&&typeof Et.stack=="string"){for(var se=Et.stack.split(`
11
11
  `),Le=ee.stack.split(`
12
12
  `),Pe=se.length-1,ze=Le.length-1;Pe>=1&&ze>=0&&se[Pe]!==Le[ze];)ze--;for(;Pe>=1&&ze>=0;Pe--,ze--)if(se[Pe]!==Le[ze]){if(Pe!==1||ze!==1)do if(Pe--,ze--,ze<0||se[Pe]!==Le[ze]){var rt=`
13
- `+se[Pe].replace(" at new "," at ");return x.displayName&&rt.includes("<anonymous>")&&(rt=rt.replace("<anonymous>",x.displayName)),typeof x=="function"&&Lt.set(x,rt),rt}while(Pe>=1&&ze>=0);break}}}finally{nr=!1,Me.current=me,dt(),Error.prepareStackTrace=de}var Lr=x?x.displayName||x.name:"",Vf=Lr?Mt(Lr):"";return typeof x=="function"&&Lt.set(x,Vf),Vf}function Wt(x,F,M){return Ht(x,!1)}function Ct(x){var F=x.prototype;return!!(F&&F.isReactComponent)}function Pt(x,F,M){if(x==null)return"";if(typeof x=="function")return Ht(x,Ct(x));if(typeof x=="string")return Mt(x);switch(x){case a:return Mt("Suspense");case c:return Mt("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case u:return Wt(x.render);case d:return Pt(x.type,F,M);case g:{var ee=x,de=ee._payload,me=ee._init;try{return Pt(me(de),F,M)}catch{}}}return""}var Vt=Object.prototype.hasOwnProperty,Or={},ko=p.ReactDebugCurrentFrame;function ir(x){if(x){var F=x._owner,M=Pt(x.type,x._source,F?F.type:null);ko.setExtraStackFrame(M)}else ko.setExtraStackFrame(null)}function $a(x,F,M,ee,de){{var me=Function.call.bind(Vt);for(var ue in x)if(me(x,ue)){var se=void 0;try{if(typeof x[ue]!="function"){var Le=Error((ee||"React class")+": "+M+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}se=x[ue](F,ue,ee,M,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Pe){se=Pe}se&&!(se instanceof Error)&&(ir(de),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ee||"React class",M,ue,typeof se),ir(null)),se instanceof Error&&!(se.message in Or)&&(Or[se.message]=!0,ir(de),y("Failed %s type: %s",M,se.message),ir(null))}}}var Ga=Array.isArray;function ar(x){return Ga(x)}function sr(x){{var F=typeof Symbol=="function"&&Symbol.toStringTag,M=F&&x[Symbol.toStringTag]||x.constructor.name||"Object";return M}}function Pn(x){try{return Tn(x),!1}catch{return!0}}function Tn(x){return""+x}function qr(x){if(Pn(x))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sr(x)),Tn(x)}var Tt=p.ReactCurrentOwner,En={key:!0,ref:!0,__self:!0,__source:!0},Nn,zn,H;H={};function Q(x){if(Vt.call(x,"ref")){var F=Object.getOwnPropertyDescriptor(x,"ref").get;if(F&&F.isReactWarning)return!1}return x.ref!==void 0}function ae(x){if(Vt.call(x,"key")){var F=Object.getOwnPropertyDescriptor(x,"key").get;if(F&&F.isReactWarning)return!1}return x.key!==void 0}function ye(x,F){if(typeof x.ref=="string"&&Tt.current&&F&&Tt.current.stateNode!==F){var M=B(Tt.current.type);H[M]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(Tt.current.type),x.ref),H[M]=!0)}}function Ne(x,F){{var M=function(){Nn||(Nn=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};M.isReactWarning=!0,Object.defineProperty(x,"key",{get:M,configurable:!0})}}function Xe(x,F){{var M=function(){zn||(zn=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};M.isReactWarning=!0,Object.defineProperty(x,"ref",{get:M,configurable:!0})}}var qe=function(x,F,M,ee,de,me,ue){var se={$$typeof:r,type:x,key:F,ref:M,props:ue,_owner:me};return se._store={},Object.defineProperty(se._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(se,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.defineProperty(se,"_source",{configurable:!1,enumerable:!1,writable:!1,value:de}),Object.freeze&&(Object.freeze(se.props),Object.freeze(se)),se};function $t(x,F,M,ee,de){{var me,ue={},se=null,Le=null;M!==void 0&&(qr(M),se=""+M),ae(F)&&(qr(F.key),se=""+F.key),Q(F)&&(Le=F.ref,ye(F,de));for(me in F)Vt.call(F,me)&&!En.hasOwnProperty(me)&&(ue[me]=F[me]);if(x&&x.defaultProps){var Pe=x.defaultProps;for(me in Pe)ue[me]===void 0&&(ue[me]=Pe[me])}if(se||Le){var ze=typeof x=="function"?x.displayName||x.name||"Unknown":x;se&&Ne(ue,ze),Le&&Xe(ue,ze)}return qe(x,se,Le,de,ee,Tt.current,ue)}}var Ae=p.ReactCurrentOwner,lr=p.ReactDebugCurrentFrame;function Mr(x){if(x){var F=x._owner,M=Pt(x.type,x._source,F?F.type:null);lr.setExtraStackFrame(M)}else lr.setExtraStackFrame(null)}var Ua;Ua=!1;function Ka(x){return typeof x=="object"&&x!==null&&x.$$typeof===r}function qf(){{if(Ae.current){var x=B(Ae.current.type);if(x)return`
13
+ `+se[Pe].replace(" at new "," at ");return x.displayName&&rt.includes("<anonymous>")&&(rt=rt.replace("<anonymous>",x.displayName)),typeof x=="function"&&Lt.set(x,rt),rt}while(Pe>=1&&ze>=0);break}}}finally{nr=!1,Me.current=me,dt(),Error.prepareStackTrace=de}var Lr=x?x.displayName||x.name:"",Gf=Lr?Mt(Lr):"";return typeof x=="function"&&Lt.set(x,Gf),Gf}function Wt(x,F,M){return Ht(x,!1)}function Ct(x){var F=x.prototype;return!!(F&&F.isReactComponent)}function Pt(x,F,M){if(x==null)return"";if(typeof x=="function")return Ht(x,Ct(x));if(typeof x=="string")return Mt(x);switch(x){case a:return Mt("Suspense");case c:return Mt("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case u:return Wt(x.render);case d:return Pt(x.type,F,M);case g:{var ee=x,de=ee._payload,me=ee._init;try{return Pt(me(de),F,M)}catch{}}}return""}var Vt=Object.prototype.hasOwnProperty,Or={},ko=p.ReactDebugCurrentFrame;function ir(x){if(x){var F=x._owner,M=Pt(x.type,x._source,F?F.type:null);ko.setExtraStackFrame(M)}else ko.setExtraStackFrame(null)}function $a(x,F,M,ee,de){{var me=Function.call.bind(Vt);for(var ue in x)if(me(x,ue)){var se=void 0;try{if(typeof x[ue]!="function"){var Le=Error((ee||"React class")+": "+M+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}se=x[ue](F,ue,ee,M,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Pe){se=Pe}se&&!(se instanceof Error)&&(ir(de),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ee||"React class",M,ue,typeof se),ir(null)),se instanceof Error&&!(se.message in Or)&&(Or[se.message]=!0,ir(de),y("Failed %s type: %s",M,se.message),ir(null))}}}var Ga=Array.isArray;function ar(x){return Ga(x)}function sr(x){{var F=typeof Symbol=="function"&&Symbol.toStringTag,M=F&&x[Symbol.toStringTag]||x.constructor.name||"Object";return M}}function Pn(x){try{return Tn(x),!1}catch{return!0}}function Tn(x){return""+x}function qr(x){if(Pn(x))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sr(x)),Tn(x)}var Tt=p.ReactCurrentOwner,En={key:!0,ref:!0,__self:!0,__source:!0},Nn,zn,H;H={};function Q(x){if(Vt.call(x,"ref")){var F=Object.getOwnPropertyDescriptor(x,"ref").get;if(F&&F.isReactWarning)return!1}return x.ref!==void 0}function ae(x){if(Vt.call(x,"key")){var F=Object.getOwnPropertyDescriptor(x,"key").get;if(F&&F.isReactWarning)return!1}return x.key!==void 0}function ye(x,F){if(typeof x.ref=="string"&&Tt.current&&F&&Tt.current.stateNode!==F){var M=B(Tt.current.type);H[M]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(Tt.current.type),x.ref),H[M]=!0)}}function Ne(x,F){{var M=function(){Nn||(Nn=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};M.isReactWarning=!0,Object.defineProperty(x,"key",{get:M,configurable:!0})}}function Xe(x,F){{var M=function(){zn||(zn=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};M.isReactWarning=!0,Object.defineProperty(x,"ref",{get:M,configurable:!0})}}var qe=function(x,F,M,ee,de,me,ue){var se={$$typeof:r,type:x,key:F,ref:M,props:ue,_owner:me};return se._store={},Object.defineProperty(se._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(se,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.defineProperty(se,"_source",{configurable:!1,enumerable:!1,writable:!1,value:de}),Object.freeze&&(Object.freeze(se.props),Object.freeze(se)),se};function $t(x,F,M,ee,de){{var me,ue={},se=null,Le=null;M!==void 0&&(qr(M),se=""+M),ae(F)&&(qr(F.key),se=""+F.key),Q(F)&&(Le=F.ref,ye(F,de));for(me in F)Vt.call(F,me)&&!En.hasOwnProperty(me)&&(ue[me]=F[me]);if(x&&x.defaultProps){var Pe=x.defaultProps;for(me in Pe)ue[me]===void 0&&(ue[me]=Pe[me])}if(se||Le){var ze=typeof x=="function"?x.displayName||x.name||"Unknown":x;se&&Ne(ue,ze),Le&&Xe(ue,ze)}return qe(x,se,Le,de,ee,Tt.current,ue)}}var Ae=p.ReactCurrentOwner,lr=p.ReactDebugCurrentFrame;function Mr(x){if(x){var F=x._owner,M=Pt(x.type,x._source,F?F.type:null);lr.setExtraStackFrame(M)}else lr.setExtraStackFrame(null)}var Ua;Ua=!1;function Ka(x){return typeof x=="object"&&x!==null&&x.$$typeof===r}function Lf(){{if(Ae.current){var x=B(Ae.current.type);if(x)return`
14
14
 
15
- Check the render method of \``+x+"`."}return""}}function lC(x){{if(x!==void 0){var F=x.fileName.replace(/^.*[\\\/]/,""),M=x.lineNumber;return`
15
+ Check the render method of \``+x+"`."}return""}}function fC(x){{if(x!==void 0){var F=x.fileName.replace(/^.*[\\\/]/,""),M=x.lineNumber;return`
16
16
 
17
- Check your code at `+F+":"+M+"."}return""}}var Mf={};function cC(x){{var F=qf();if(!F){var M=typeof x=="string"?x:x.displayName||x.name;M&&(F=`
17
+ Check your code at `+F+":"+M+"."}return""}}var Hf={};function hC(x){{var F=Lf();if(!F){var M=typeof x=="string"?x:x.displayName||x.name;M&&(F=`
18
18
 
19
- Check the top-level render call using <`+M+">.")}return F}}function Lf(x,F){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var M=cC(F);if(Mf[M])return;Mf[M]=!0;var ee="";x&&x._owner&&x._owner!==Ae.current&&(ee=" It was passed a child from "+B(x._owner.type)+"."),Mr(x),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',M,ee),Mr(null)}}function Hf(x,F){{if(typeof x!="object")return;if(ar(x))for(var M=0;M<x.length;M++){var ee=x[M];Ka(ee)&&Lf(ee,F)}else if(Ka(x))x._store&&(x._store.validated=!0);else if(x){var de=b(x);if(typeof de=="function"&&de!==x.entries)for(var me=de.call(x),ue;!(ue=me.next()).done;)Ka(ue.value)&&Lf(ue.value,F)}}}function uC(x){{var F=x.type;if(F==null||typeof F=="string")return;var M;if(typeof F=="function")M=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===u||F.$$typeof===d))M=F.propTypes;else return;if(M){var ee=B(F);$a(M,x.props,"prop",ee,x)}else if(F.PropTypes!==void 0&&!Ua){Ua=!0;var de=B(F);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",de||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dC(x){{for(var F=Object.keys(x.props),M=0;M<F.length;M++){var ee=F[M];if(ee!=="children"&&ee!=="key"){Mr(x),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ee),Mr(null);break}}x.ref!==null&&(Mr(x),y("Invalid attribute `ref` supplied to `React.Fragment`."),Mr(null))}}function Wf(x,F,M,ee,de,me){{var ue=I(x);if(!ue){var se="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(se+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=lC(de);Le?se+=Le:se+=qf();var Pe;x===null?Pe="null":ar(x)?Pe="array":x!==void 0&&x.$$typeof===r?(Pe="<"+(B(x.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Pe=typeof x,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Pe,se)}var ze=$t(x,F,M,de,me);if(ze==null)return ze;if(ue){var rt=F.children;if(rt!==void 0)if(ee)if(ar(rt)){for(var Lr=0;Lr<rt.length;Lr++)Hf(rt[Lr],x);Object.freeze&&Object.freeze(rt)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Hf(rt,x)}return x===o?dC(ze):uC(ze),ze}}function fC(x,F,M){return Wf(x,F,M,!0)}function hC(x,F,M){return Wf(x,F,M,!1)}var gC=hC,vC=fC;Hr.Fragment=o,Hr.jsx=gC,Hr.jsxs=vC}()),Hr}var Wr={};/**
19
+ Check the top-level render call using <`+M+">.")}return F}}function Wf(x,F){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var M=hC(F);if(Hf[M])return;Hf[M]=!0;var ee="";x&&x._owner&&x._owner!==Ae.current&&(ee=" It was passed a child from "+B(x._owner.type)+"."),Mr(x),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',M,ee),Mr(null)}}function Vf(x,F){{if(typeof x!="object")return;if(ar(x))for(var M=0;M<x.length;M++){var ee=x[M];Ka(ee)&&Wf(ee,F)}else if(Ka(x))x._store&&(x._store.validated=!0);else if(x){var de=b(x);if(typeof de=="function"&&de!==x.entries)for(var me=de.call(x),ue;!(ue=me.next()).done;)Ka(ue.value)&&Wf(ue.value,F)}}}function gC(x){{var F=x.type;if(F==null||typeof F=="string")return;var M;if(typeof F=="function")M=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===u||F.$$typeof===d))M=F.propTypes;else return;if(M){var ee=B(F);$a(M,x.props,"prop",ee,x)}else if(F.PropTypes!==void 0&&!Ua){Ua=!0;var de=B(F);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",de||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function vC(x){{for(var F=Object.keys(x.props),M=0;M<F.length;M++){var ee=F[M];if(ee!=="children"&&ee!=="key"){Mr(x),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ee),Mr(null);break}}x.ref!==null&&(Mr(x),y("Invalid attribute `ref` supplied to `React.Fragment`."),Mr(null))}}function $f(x,F,M,ee,de,me){{var ue=I(x);if(!ue){var se="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(se+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=fC(de);Le?se+=Le:se+=Lf();var Pe;x===null?Pe="null":ar(x)?Pe="array":x!==void 0&&x.$$typeof===r?(Pe="<"+(B(x.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Pe=typeof x,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Pe,se)}var ze=$t(x,F,M,de,me);if(ze==null)return ze;if(ue){var rt=F.children;if(rt!==void 0)if(ee)if(ar(rt)){for(var Lr=0;Lr<rt.length;Lr++)Vf(rt[Lr],x);Object.freeze&&Object.freeze(rt)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Vf(rt,x)}return x===o?vC(ze):gC(ze),ze}}function mC(x,F,M){return $f(x,F,M,!0)}function pC(x,F,M){return $f(x,F,M,!1)}var bC=pC,yC=mC;Hr.Fragment=o,Hr.jsx=bC,Hr.jsxs=yC}()),Hr}var Wr={};/**
20
20
  * @license React
21
21
  * react-jsx-runtime.production.min.js
22
22
  *
@@ -24,7 +24,7 @@ Check the top-level render call using <`+M+">.")}return F}}function Lf(x,F){{if(
24
24
  *
25
25
  * This source code is licensed under the MIT license found in the
26
26
  * LICENSE file in the root directory of this source tree.
27
- */var Qa;function Zf(){if(Qa)return Wr;Qa=1;var e=Gt,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,a){var c,d={},g=null,f=null;a!==void 0&&(g=""+a),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(f=u.ref);for(c in u)o.call(u,c)&&!n.hasOwnProperty(c)&&(d[c]=u[c]);if(l&&l.defaultProps)for(c in u=l.defaultProps,u)d[c]===void 0&&(d[c]=u[c]);return{$$typeof:r,type:l,key:g,ref:f,props:d,_owner:i.current}}return Wr.Fragment=t,Wr.jsx=s,Wr.jsxs=s,Wr}process.env.NODE_ENV==="production"?Dn.exports=Zf():Dn.exports=Xf();var P=Dn.exports;const Qf=Uf({__proto__:null,default:Kf(P)},[P]),Fn=m.createContext({authProvider:{getAccessToken:async()=>{throw new Error("No auth provider available")}}}),xo=()=>m.useContext(Fn),Yf=e=>P.jsx(Fn.Provider,{value:{authProvider:e.authProvider},children:e.children});var _o=function(){function e(){}return e.splitToMaxLength=function(r,t){for(var o=[],i=0;i<r.length;)o.push(r.slice(i,i+t)),i+=t;return o},e.getSubMap=function(r,t){var o=new Map;return t.forEach(function(i){return o.set(i,r.get(i))}),o},e}(),Jf=function(){function e(){this.query=""}return e.prototype.withQuery=function(r,t){return t===void 0&&(t="And"),this.query?this.query="<".concat(t,">").concat(this.query).concat(r,"</").concat(t,">"):this.query=r,this},e.prototype.withFieldQuery=function(r,t){if(t===void 0&&(t="And"),!r.name)throw new Error("Field name is required");if(!r.type)throw new Error("Field type is required");r.comparer||(r.comparer="Eq");var o="";switch(r.comparer){case"IsNull":case"IsNotNull":o="<".concat(r.comparer,"><FieldRef Name='").concat(r.name,"' /></").concat(r.comparer,">");break;case"CurrentUserGroups":o=`<Or>
27
+ */var Qa;function Yf(){if(Qa)return Wr;Qa=1;var e=Gt,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,a){var c,d={},g=null,f=null;a!==void 0&&(g=""+a),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(f=u.ref);for(c in u)o.call(u,c)&&!n.hasOwnProperty(c)&&(d[c]=u[c]);if(l&&l.defaultProps)for(c in u=l.defaultProps,u)d[c]===void 0&&(d[c]=u[c]);return{$$typeof:r,type:l,key:g,ref:f,props:d,_owner:i.current}}return Wr.Fragment=t,Wr.jsx=s,Wr.jsxs=s,Wr}process.env.NODE_ENV==="production"?Dn.exports=Yf():Dn.exports=Qf();var P=Dn.exports;const Jf=Xf({__proto__:null,default:Zf(P)},[P]),Fn=m.createContext({authProvider:{getAccessToken:async()=>{throw new Error("No auth provider available")}}}),xo=()=>m.useContext(Fn),eh=e=>P.jsx(Fn.Provider,{value:{authProvider:e.authProvider},children:e.children});var _o=function(){function e(){}return e.splitToMaxLength=function(r,t){for(var o=[],i=0;i<r.length;)o.push(r.slice(i,i+t)),i+=t;return o},e.getSubMap=function(r,t){var o=new Map;return t.forEach(function(i){return o.set(i,r.get(i))}),o},e}(),th=function(){function e(){this.query=""}return e.prototype.withQuery=function(r,t){return t===void 0&&(t="And"),this.query?this.query="<".concat(t,">").concat(this.query).concat(r,"</").concat(t,">"):this.query=r,this},e.prototype.withFieldQuery=function(r,t){if(t===void 0&&(t="And"),!r.name)throw new Error("Field name is required");if(!r.type)throw new Error("Field type is required");r.comparer||(r.comparer="Eq");var o="";switch(r.comparer){case"IsNull":case"IsNotNull":o="<".concat(r.comparer,"><FieldRef Name='").concat(r.name,"' /></").concat(r.comparer,">");break;case"CurrentUserGroups":o=`<Or>
28
28
  <Membership Type="CurrentUserGroups">
29
29
  <FieldRef Name="`.concat(r.name,`"/>
30
30
  </Membership>
@@ -34,7 +34,7 @@ Check the top-level render call using <`+M+">.")}return F}}function Lf(x,F){{if(
34
34
  <UserID/>
35
35
  </Value>
36
36
  </Eq>
37
- </Or>`);break;case"IDEq":o="<Eq><FieldRef Name='".concat(r.name,"' LookupId='True' /><Value Type='").concat(r.type,"'>").concat(r.value,"</Value></Eq>");break;default:o="<".concat(r.comparer,"><FieldRef Name='").concat(r.name,"' /><Value ").concat(r.includeTimeValue!=null?"IncludeTimeValue='".concat(r.includeTimeValue?"TRUE":"FALSE","' "):"","Type='").concat(r.type,"'>").concat(r.value,"</Value></").concat(r.comparer,">");break}return this.query?this.query="<".concat(t,">").concat(this.query).concat(o,"</").concat(t,">"):this.query=o,this},e.prototype.build=function(){return this.query},e}(),eh=function(){function e(){this.query="",this.oDataSupportedComparers=["BeginsWith","Contains","Eq","IDEq","Geq","Gt","IsNotNull","IsNull","Leq","Lt","Neq"]}return e.prototype.withQuery=function(r,t){return t===void 0&&(t="And"),this.query?this.query="(".concat(this.query,") ").concat(t.toLocaleLowerCase()," (").concat(r,")"):this.query=r,this},e.prototype.withFieldQuery=function(r,t){if(t===void 0&&(t="And"),!r.name)throw new Error("Field name is required");if(!r.type)throw new Error("Field type is required");r.comparer||(r.comparer="Eq");var o="";switch(r.comparer){case"IsNull":o="".concat(r.name," eq null");break;case"IsNotNull":o="".concat(r.name," ne null");break;case"CurrentUserGroups":throw new Error("Not supported!");case"IDEq":o="".concat(r.name,"/Id eq ").concat(r.value);break;default:if(this.oDataSupportedComparers.indexOf(r.comparer)>=0)if(r.comparer==="Contains"){o="substringof('".concat(r.value,"', ").concat(r.name,")");break}else if(r.comparer==="BeginsWith"){o="startswith(".concat(r.name,", '").concat(r.value,"')");break}else{o="".concat(r.name," ").concat(r.comparer.toLocaleLowerCase().replace("geq","ge").replace("leq","le").replace("neq","ne")," "),r.type&&(r.type==="Number"||r.type==="Counter"||r.type==="Integer")?o+=r.value:r.type&&r.type==="Guid"?o+="guid'".concat(r.value,"'"):r.type&&(r.type==="Date"||r.type==="DateTime")?o+="datetime'".concat(r.value,"'"):o+="'".concat(r.value,"'");break}else throw new Error("Unsupported comparer")}return this.query?this.query="(".concat(this.query,") ").concat(t.toLocaleLowerCase()," (").concat(o,")"):this.query=o,this},e.prototype.build=function(){return this.query},e}(),th=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),In=function(e){th(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.withFieldQuery=function(t,o){var i="";return t.type&&(t.type==="Date"||t.type==="DateTime")?(i=t.name,i+=" ",i+=t.comparer.toLocaleLowerCase().replace("geq","ge").replace("leq","le"),i+=" ",i+=t.value,this.query?this.query="(".concat(this.query,") ").concat(o.toLocaleLowerCase()," (").concat(i,")"):this.query=i,this):t.comparer==="Contains"?(i="contains(".concat(t.name,", '").concat(t.value,"')"),this.query?this.query="(".concat(this.query,") ").concat(o.toLocaleLowerCase()," (").concat(i,")"):this.query=i,this):e.prototype.withFieldQuery.call(this,t,o)},r}(eh),An=function(){function e(){}return e.prototype.get=function(r){return JSON.parse(localStorage.getItem(r))},e.prototype.set=function(r,t){localStorage.setItem(r,JSON.stringify(t))},e.prototype.remove=function(r){localStorage.removeItem(r)},e}();function rh(e,r){for(var t=e,o=0;o<r.length;o++)t=t.replace("{".concat(o,"}"),r[o]);return t}function jn(e){var r=[],t=new Map;return function(o,i,n){var s=n.value;n.value=function(){for(var l=this,u=[],a=0;a<arguments.length;a++)u[a-0]=arguments[a];var c=rh(e,u);return new Promise(function(d,g){var f=t.get(c);if(!f)f=s.apply(l,u).then(function(v){return d(v),r.length===0&&t.delete(c),v}).catch(function(v){g(v),r.length===0&&t.delete(c)}),t.set(c,f);else{var h=new Promise(function(v,b){f.then(function(p){d(p),v(p),r.splice(r.indexOf(h),1),r.length===0&&t.delete(c)}).catch(function(p){g(p),b(p)})});r.push(h)}})}}}var Ya=function(){function e(){}return e.getTokenInfo=function(r){var t=atob(r.split(".")[1]);return JSON.parse(t)},e.isTokenValid=function(r){var t=e.getTokenInfo(r);return!(t.exp<new Date().getTime()/1e3)},e}(),On=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},qn=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Mn=function(){function e(){}return e.debounce=function(r,t,o){return o===void 0&&(o=100),On(this,void 0,void 0,function(){var i=this;return qn(this,function(n){return e.registeredTimeouts.has(r)&&window.clearTimeout(e.registeredTimeouts.get(r)),[2,new Promise(function(s,l){return On(i,void 0,void 0,function(){var u,a=this;return qn(this,function(c){return u=setTimeout(function(){return On(a,void 0,void 0,function(){var d,g;return qn(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,t()];case 1:return d=f.sent(),e.registeredTimeouts.delete(r),s(d),[3,3];case 2:return g=f.sent(),e.registeredTimeouts.delete(r),l(g),[3,3];case 3:return[2]}})})},o),e.registeredTimeouts.set(r,u),[2]})})})]})})},e.registeredTimeouts=new Map,e}(),cr=function(){return cr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},cr.apply(this,arguments)},Ja=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},es=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ts=function(){function e(r,t,o,i){i===void 0&&(i=0);var n=this;this.baseClient=r,this.registeredPromises=t,this.batch=o,this.retries=i,this.requestBatch=function(s,l){return l===void 0&&(l="beta"),Ja(n,void 0,void 0,function(){var u,a,c;return es(this,function(d){switch(d.label){case 0:return u={headers:{Accept:"application/json",ConsistencyLevel:"eventual","Content-Type":"application/json"},body:s},[4,this.baseClient.post("https://graph.microsoft.com/".concat(l,"/$batch"),u)];case 1:return a=d.sent(),a.ok?[4,a.json()]:[3,3];case 2:return c=d.sent(),[2,c];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return Ja(this,void 0,void 0,function(){var r,t,o,i,n,s,l;return es(this,function(u){switch(u.label){case 0:return r=this.batch.filter(function(a){return a.url.indexOf("v1.0/")<0}),t=this.batch.filter(function(a){return a.url.indexOf("v1.0/")>=0}),o=JSON.stringify({requests:r.map(function(a){return cr(cr({},a),{url:a.url.replace("beta/","")})})}),i=JSON.stringify({requests:t.map(function(a){return cr(cr({},a),{url:a.url.replace("v1.0/","")})})}),n=[],r.length>0?[4,this.requestBatch(o)]:[3,2];case 1:s=u.sent(),n.push.apply(n,s.responses),u.label=2;case 2:return t.length>0?[4,this.requestBatch(i,"v1.0")]:[3,4];case 3:l=u.sent(),n.push.apply(n,l.responses),u.label=4;case 4:return this.processBatchResponse(n),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.processBatchResponse=function(r){var t=this,o=[],i=new Map;this.registeredPromises.forEach(function(n,s){var l=r.filter(function(u){return u.id===s})[0];l&&l.status===429&&t.retries>0?(o.push({url:s,id:s,method:"GET"}),i.set(s,n)):t.handleSingleResponse(l,n)}),o.length>0?(this.registeredPromises=i,this.batch=o):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){r?t.forEach(function(o){o.resolve({json:function(){return Promise.resolve(r.body)},ok:r.status===200,status:r.status,text:function(){return Promise.resolve(JSON.stringify(r.body))},headers:r.headers})}):t.forEach(function(o){o.error({json:function(){return Promise.resolve(r)},ok:!1,text:function(){return Promise.resolve(JSON.stringify(r))}})})},e.maxRetries=5,e}(),Ln=function(){return Ln=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ln.apply(this,arguments)},oh=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},nh=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ih=function(e,r,t){if(t||arguments.length===2)for(var o=0,i=r.length,n;o<i;o++)(n||!(o in r))&&(n||(n=Array.prototype.slice.call(r,0,o)),n[o]=r[o]);return e.concat(n||Array.prototype.slice.call(r))},ah=function(){function e(r,t,o){t===void 0&&(t=500),o===void 0&&(o=15);var i=this;this.baseClient=r,this.batchWaitTime=t,this.batchSplitThreshold=o,this.batch=[],this.getRequestId=function(n,s){return s==="GET"?encodeURIComponent(n):Math.random().toString(36).substring(7)},this.registeredPromises=new Map,this.generateBatch=function(){return oh(i,void 0,void 0,function(){var n,s,l,u,a,c,d,g;return nh(this,function(f){switch(f.label){case 0:n=ih([],this.batch,!0),this.batch=[],s=new Map(this.registeredPromises),this.registeredPromises.clear(),l=_o.splitToMaxLength(n,this.batchSplitThreshold),u=0,a=l,f.label=1;case 1:return u<a.length?(c=a[u],d=_o.getSubMap(s,c.map(function(h){return h.id})),g=new ts(this.baseClient,d,c,ts.maxRetries),[4,g.executeBatch()]):[3,4];case 2:f.sent(),f.label=3;case 3:return u++,[3,1];case 4:return[2]}})})},this.createGetBatchRequest=function(n,s,l,u){i.batch.length===0&&setTimeout(i.generateBatch,i.batchWaitTime);var a=i.getRequestId(n,s),c=new URL(n,"https://graph.microsoft.com"),d=c.pathname+c.search;i.batch.filter(function(g){return g.id===a})[0]?i.registeredPromises.get(a).push(u):(i.batch.push({url:d,id:a,method:s,body:l&&l.body?JSON.parse(l.body):null,headers:Ln({ConsistencyLevel:"eventual"},l?l.headers:{})}),i.registeredPromises.set(a,[u]))}}return e.prototype.get=function(r,t){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(r,"GET",t,{resolve:i,error:n})})},e.prototype.post=function(r,t){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(r,"POST",t,{resolve:i,error:n})})},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r,t){return this.baseClient.delete(r,t)},e}(),ur=function(){return ur=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ur.apply(this,arguments)},Ut=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Kt=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Hn=function(){function e(r,t){this.authService=r,this.baseClient=t,this.resourceUri="https://graph.microsoft.com"}return e.prototype.get=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.get(r,o)]}})})},e.prototype.post=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.post(r,o)]}})})},e.prototype.patch=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.patch(r,o)]}})})},e.prototype.put=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.put(r,o)]}})})},e.prototype.delete=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest({})];case 1:return o=i.sent(),[2,this.baseClient.delete(r,o)]}})})},e.prototype.prepareRequest=function(r){return Ut(this,void 0,void 0,function(){var t,o,i,n;return Kt(this,function(s){switch(s.label){case 0:return t=[ur({},r)],i={},o=[ur({},r==null?void 0:r.headers)],n={},[4,this.getAuthHeader()];case 1:return[2,ur.apply(void 0,t.concat([(i.headers=ur.apply(void 0,o.concat([(n.Authorization=s.sent(),n)])),i)]))]}})})},e.prototype.getAuthHeader=function(){return Ut(this,void 0,void 0,function(){var r;return Kt(this,function(t){switch(t.label){case 0:return[4,this.authService.getAccessToken(this.resourceUri)];case 1:return r=t.sent(),[2,"Bearer ".concat(r)]}})})},e}(),Xt=function(){return Xt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Xt.apply(this,arguments)},dr=function(){function e(r){this.baseUrl=r}return e.prototype.buildUrl=function(r){return r.startsWith("http")||!this.baseUrl?r:this.baseUrl+r},e.prototype.get=function(r,t){return fetch(this.buildUrl(r),Xt({method:"GET"},t))},e.prototype.post=function(r,t){return fetch(this.buildUrl(r),Xt({method:"POST"},t))},e.prototype.patch=function(r,t){return fetch(this.buildUrl(r),Xt({method:"PATCH"},t))},e.prototype.put=function(r,t){return fetch(this.buildUrl(r),Xt({method:"PUT"},t))},e.prototype.delete=function(r,t){return fetch(this.buildUrl(r),Xt({method:"DELETE"},t))},e}(),sh=function(){function e(){this.lastUsedId=0}return e.prototype.getNextId=function(){return this.lastUsedId++,this.lastUsedId.toString()},e.prototype.reset=function(){this.lastUsedId=0},e}(),lh=function(){var e=function(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)};return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())},rs=function(e){for(var r="",t=0;t<e;t++){var o=Math.floor(Math.random()*26)+(Math.random()<.5?65:97);r+=String.fromCharCode(o)}return r},os=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},ns=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},is=function(){function e(r,t,o,i,n,s){s===void 0&&(s=0);var l=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=o,this.registeredPromises=i,this.batch=n,this.retries=s,this.batchSeparator="batch-mgwdev-m365-helpers",this.requestBatch=function(u){return os(l,void 0,void 0,function(){var a,c,d,g;return ns(this,function(f){switch(f.label){case 0:return a={headers:{Accept:"application/json","OData-Version":"4.0","content-type":"multipart/mixed; boundary=".concat(this.batchSeparator)},body:u},[4,this.baseClient.post("".concat(this.dataverseEnvUri).concat(this.apiPath,"/$batch"),a)];case 1:return c=f.sent(),c.ok?[4,c.text()]:[3,3];case 2:return d=f.sent(),g=c.headers.get("content-type").split("boundary=")[1],[2,d.split(g)];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return os(this,void 0,void 0,function(){var r,t,o;return ns(this,function(i){switch(i.label){case 0:return r=this.buildBatchBody(),t=[],this.batch.length>0?[4,this.requestBatch(r)]:[3,2];case 1:o=i.sent(),t.push.apply(t,o),i.label=2;case 2:return this.processBatchResponse(t),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.buildBatchBody=function(){var r=this,t="";return this.batch.forEach(function(o){if(t+="--".concat(r.batchSeparator,`
37
+ </Or>`);break;case"IDEq":o="<Eq><FieldRef Name='".concat(r.name,"' LookupId='True' /><Value Type='").concat(r.type,"'>").concat(r.value,"</Value></Eq>");break;default:o="<".concat(r.comparer,"><FieldRef Name='").concat(r.name,"' /><Value ").concat(r.includeTimeValue!=null?"IncludeTimeValue='".concat(r.includeTimeValue?"TRUE":"FALSE","' "):"","Type='").concat(r.type,"'>").concat(r.value,"</Value></").concat(r.comparer,">");break}return this.query?this.query="<".concat(t,">").concat(this.query).concat(o,"</").concat(t,">"):this.query=o,this},e.prototype.build=function(){return this.query},e}(),rh=function(){function e(){this.query="",this.oDataSupportedComparers=["BeginsWith","Contains","Eq","IDEq","Geq","Gt","IsNotNull","IsNull","Leq","Lt","Neq"]}return e.prototype.withQuery=function(r,t){return t===void 0&&(t="And"),this.query?this.query="(".concat(this.query,") ").concat(t.toLocaleLowerCase()," (").concat(r,")"):this.query=r,this},e.prototype.withFieldQuery=function(r,t){if(t===void 0&&(t="And"),!r.name)throw new Error("Field name is required");if(!r.type)throw new Error("Field type is required");r.comparer||(r.comparer="Eq");var o="";switch(r.comparer){case"IsNull":o="".concat(r.name," eq null");break;case"IsNotNull":o="".concat(r.name," ne null");break;case"CurrentUserGroups":throw new Error("Not supported!");case"IDEq":o="".concat(r.name,"/Id eq ").concat(r.value);break;default:if(this.oDataSupportedComparers.indexOf(r.comparer)>=0)if(r.comparer==="Contains"){o="substringof('".concat(r.value,"', ").concat(r.name,")");break}else if(r.comparer==="BeginsWith"){o="startswith(".concat(r.name,", '").concat(r.value,"')");break}else{o="".concat(r.name," ").concat(r.comparer.toLocaleLowerCase().replace("geq","ge").replace("leq","le").replace("neq","ne")," "),r.type&&(r.type==="Number"||r.type==="Counter"||r.type==="Integer")?o+=r.value:r.type&&r.type==="Guid"?o+="guid'".concat(r.value,"'"):r.type&&(r.type==="Date"||r.type==="DateTime")?o+="datetime'".concat(r.value,"'"):o+="'".concat(r.value,"'");break}else throw new Error("Unsupported comparer")}return this.query?this.query="(".concat(this.query,") ").concat(t.toLocaleLowerCase()," (").concat(o,")"):this.query=o,this},e.prototype.build=function(){return this.query},e}(),oh=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),In=function(e){oh(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.withFieldQuery=function(t,o){var i="";return t.type&&(t.type==="Date"||t.type==="DateTime")?(i=t.name,i+=" ",i+=t.comparer.toLocaleLowerCase().replace("geq","ge").replace("leq","le"),i+=" ",i+=t.value,this.query?this.query="(".concat(this.query,") ").concat(o.toLocaleLowerCase()," (").concat(i,")"):this.query=i,this):t.comparer==="Contains"?(i="contains(".concat(t.name,", '").concat(t.value,"')"),this.query?this.query="(".concat(this.query,") ").concat(o.toLocaleLowerCase()," (").concat(i,")"):this.query=i,this):e.prototype.withFieldQuery.call(this,t,o)},r}(rh),An=function(){function e(){}return e.prototype.get=function(r){return JSON.parse(localStorage.getItem(r))},e.prototype.set=function(r,t){localStorage.setItem(r,JSON.stringify(t))},e.prototype.remove=function(r){localStorage.removeItem(r)},e}();function nh(e,r){for(var t=e,o=0;o<r.length;o++)t=t.replace("{".concat(o,"}"),r[o]);return t}function jn(e){var r=[],t=new Map;return function(o,i,n){var s=n.value;n.value=function(){for(var l=this,u=[],a=0;a<arguments.length;a++)u[a-0]=arguments[a];var c=nh(e,u);return new Promise(function(d,g){var f=t.get(c);if(!f)f=s.apply(l,u).then(function(v){return d(v),r.length===0&&t.delete(c),v}).catch(function(v){g(v),r.length===0&&t.delete(c)}),t.set(c,f);else{var h=new Promise(function(v,b){f.then(function(p){d(p),v(p),r.splice(r.indexOf(h),1),r.length===0&&t.delete(c)}).catch(function(p){g(p),b(p)})});r.push(h)}})}}}var Ya=function(){function e(){}return e.getTokenInfo=function(r){var t=atob(r.split(".")[1]);return JSON.parse(t)},e.isTokenValid=function(r){var t=e.getTokenInfo(r);return!(t.exp<new Date().getTime()/1e3)},e}(),On=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},qn=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Mn=function(){function e(){}return e.debounce=function(r,t,o){return o===void 0&&(o=100),On(this,void 0,void 0,function(){var i=this;return qn(this,function(n){return e.registeredTimeouts.has(r)&&window.clearTimeout(e.registeredTimeouts.get(r)),[2,new Promise(function(s,l){return On(i,void 0,void 0,function(){var u,a=this;return qn(this,function(c){return u=setTimeout(function(){return On(a,void 0,void 0,function(){var d,g;return qn(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,t()];case 1:return d=f.sent(),e.registeredTimeouts.delete(r),s(d),[3,3];case 2:return g=f.sent(),e.registeredTimeouts.delete(r),l(g),[3,3];case 3:return[2]}})})},o),e.registeredTimeouts.set(r,u),[2]})})})]})})},e.registeredTimeouts=new Map,e}(),cr=function(){return cr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},cr.apply(this,arguments)},Ja=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},es=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ts=function(){function e(r,t,o,i){i===void 0&&(i=0);var n=this;this.baseClient=r,this.registeredPromises=t,this.batch=o,this.retries=i,this.requestBatch=function(s,l){return l===void 0&&(l="beta"),Ja(n,void 0,void 0,function(){var u,a,c;return es(this,function(d){switch(d.label){case 0:return u={headers:{Accept:"application/json",ConsistencyLevel:"eventual","Content-Type":"application/json"},body:s},[4,this.baseClient.post("https://graph.microsoft.com/".concat(l,"/$batch"),u)];case 1:return a=d.sent(),a.ok?[4,a.json()]:[3,3];case 2:return c=d.sent(),[2,c];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return Ja(this,void 0,void 0,function(){var r,t,o,i,n,s,l;return es(this,function(u){switch(u.label){case 0:return r=this.batch.filter(function(a){return a.url.indexOf("v1.0/")<0}),t=this.batch.filter(function(a){return a.url.indexOf("v1.0/")>=0}),o=JSON.stringify({requests:r.map(function(a){return cr(cr({},a),{url:a.url.replace("beta/","")})})}),i=JSON.stringify({requests:t.map(function(a){return cr(cr({},a),{url:a.url.replace("v1.0/","")})})}),n=[],r.length>0?[4,this.requestBatch(o)]:[3,2];case 1:s=u.sent(),n.push.apply(n,s.responses),u.label=2;case 2:return t.length>0?[4,this.requestBatch(i,"v1.0")]:[3,4];case 3:l=u.sent(),n.push.apply(n,l.responses),u.label=4;case 4:return this.processBatchResponse(n),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.processBatchResponse=function(r){var t=this,o=[],i=new Map;this.registeredPromises.forEach(function(n,s){var l=r.filter(function(u){return u.id===s})[0];l&&l.status===429&&t.retries>0?(o.push({url:s,id:s,method:"GET"}),i.set(s,n)):t.handleSingleResponse(l,n)}),o.length>0?(this.registeredPromises=i,this.batch=o):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){r?t.forEach(function(o){o.resolve({json:function(){return Promise.resolve(r.body)},ok:r.status===200,status:r.status,text:function(){return Promise.resolve(JSON.stringify(r.body))},headers:r.headers})}):t.forEach(function(o){o.error({json:function(){return Promise.resolve(r)},ok:!1,text:function(){return Promise.resolve(JSON.stringify(r))}})})},e.maxRetries=5,e}(),Ln=function(){return Ln=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ln.apply(this,arguments)},ih=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},ah=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},sh=function(e,r,t){if(t||arguments.length===2)for(var o=0,i=r.length,n;o<i;o++)(n||!(o in r))&&(n||(n=Array.prototype.slice.call(r,0,o)),n[o]=r[o]);return e.concat(n||Array.prototype.slice.call(r))},lh=function(){function e(r,t,o){t===void 0&&(t=500),o===void 0&&(o=15);var i=this;this.baseClient=r,this.batchWaitTime=t,this.batchSplitThreshold=o,this.batch=[],this.getRequestId=function(n,s){return s==="GET"?encodeURIComponent(n):Math.random().toString(36).substring(7)},this.registeredPromises=new Map,this.generateBatch=function(){return ih(i,void 0,void 0,function(){var n,s,l,u,a,c,d,g;return ah(this,function(f){switch(f.label){case 0:n=sh([],this.batch,!0),this.batch=[],s=new Map(this.registeredPromises),this.registeredPromises.clear(),l=_o.splitToMaxLength(n,this.batchSplitThreshold),u=0,a=l,f.label=1;case 1:return u<a.length?(c=a[u],d=_o.getSubMap(s,c.map(function(h){return h.id})),g=new ts(this.baseClient,d,c,ts.maxRetries),[4,g.executeBatch()]):[3,4];case 2:f.sent(),f.label=3;case 3:return u++,[3,1];case 4:return[2]}})})},this.createGetBatchRequest=function(n,s,l,u){i.batch.length===0&&setTimeout(i.generateBatch,i.batchWaitTime);var a=i.getRequestId(n,s),c=new URL(n,"https://graph.microsoft.com"),d=c.pathname+c.search;i.batch.filter(function(g){return g.id===a})[0]?i.registeredPromises.get(a).push(u):(i.batch.push({url:d,id:a,method:s,body:l&&l.body?JSON.parse(l.body):null,headers:Ln({ConsistencyLevel:"eventual"},l?l.headers:{})}),i.registeredPromises.set(a,[u]))}}return e.prototype.get=function(r,t){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(r,"GET",t,{resolve:i,error:n})})},e.prototype.post=function(r,t){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(r,"POST",t,{resolve:i,error:n})})},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r,t){return this.baseClient.delete(r,t)},e}(),ur=function(){return ur=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ur.apply(this,arguments)},Ut=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Kt=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Hn=function(){function e(r,t){this.authService=r,this.baseClient=t,this.resourceUri="https://graph.microsoft.com"}return e.prototype.get=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.get(r,o)]}})})},e.prototype.post=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.post(r,o)]}})})},e.prototype.patch=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.patch(r,o)]}})})},e.prototype.put=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(t)];case 1:return o=i.sent(),[2,this.baseClient.put(r,o)]}})})},e.prototype.delete=function(r,t){return Ut(this,void 0,void 0,function(){var o;return Kt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest({})];case 1:return o=i.sent(),[2,this.baseClient.delete(r,o)]}})})},e.prototype.prepareRequest=function(r){return Ut(this,void 0,void 0,function(){var t,o,i,n;return Kt(this,function(s){switch(s.label){case 0:return t=[ur({},r)],i={},o=[ur({},r==null?void 0:r.headers)],n={},[4,this.getAuthHeader()];case 1:return[2,ur.apply(void 0,t.concat([(i.headers=ur.apply(void 0,o.concat([(n.Authorization=s.sent(),n)])),i)]))]}})})},e.prototype.getAuthHeader=function(){return Ut(this,void 0,void 0,function(){var r;return Kt(this,function(t){switch(t.label){case 0:return[4,this.authService.getAccessToken(this.resourceUri)];case 1:return r=t.sent(),[2,"Bearer ".concat(r)]}})})},e}(),Xt=function(){return Xt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Xt.apply(this,arguments)},dr=function(){function e(r){this.baseUrl=r}return e.prototype.buildUrl=function(r){return r.startsWith("http")||!this.baseUrl?r:this.baseUrl+r},e.prototype.get=function(r,t){return fetch(this.buildUrl(r),Xt({method:"GET"},t))},e.prototype.post=function(r,t){return fetch(this.buildUrl(r),Xt({method:"POST"},t))},e.prototype.patch=function(r,t){return fetch(this.buildUrl(r),Xt({method:"PATCH"},t))},e.prototype.put=function(r,t){return fetch(this.buildUrl(r),Xt({method:"PUT"},t))},e.prototype.delete=function(r,t){return fetch(this.buildUrl(r),Xt({method:"DELETE"},t))},e}(),ch=function(){function e(){this.lastUsedId=0}return e.prototype.getNextId=function(){return this.lastUsedId++,this.lastUsedId.toString()},e.prototype.reset=function(){this.lastUsedId=0},e}(),uh=function(){var e=function(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)};return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())},rs=function(e){for(var r="",t=0;t<e;t++){var o=Math.floor(Math.random()*26)+(Math.random()<.5?65:97);r+=String.fromCharCode(o)}return r},os=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},ns=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},is=function(){function e(r,t,o,i,n,s){s===void 0&&(s=0);var l=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=o,this.registeredPromises=i,this.batch=n,this.retries=s,this.batchSeparator="batch-mgwdev-m365-helpers",this.requestBatch=function(u){return os(l,void 0,void 0,function(){var a,c,d,g;return ns(this,function(f){switch(f.label){case 0:return a={headers:{Accept:"application/json","OData-Version":"4.0","content-type":"multipart/mixed; boundary=".concat(this.batchSeparator)},body:u},[4,this.baseClient.post("".concat(this.dataverseEnvUri).concat(this.apiPath,"/$batch"),a)];case 1:return c=f.sent(),c.ok?[4,c.text()]:[3,3];case 2:return d=f.sent(),g=c.headers.get("content-type").split("boundary=")[1],[2,d.split(g)];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return os(this,void 0,void 0,function(){var r,t,o;return ns(this,function(i){switch(i.label){case 0:return r=this.buildBatchBody(),t=[],this.batch.length>0?[4,this.requestBatch(r)]:[3,2];case 1:o=i.sent(),t.push.apply(t,o),i.label=2;case 2:return this.processBatchResponse(t),this.batch.length>0&&this.retries>0&&(this.retries--,this.executeBatch()),[2]}})})},e.prototype.buildBatchBody=function(){var r=this,t="";return this.batch.forEach(function(o){if(t+="--".concat(r.batchSeparator,`
38
38
  Content-type: application/http
39
39
  Content-Transfer-Encoding: binary
40
40
 
@@ -45,121 +45,121 @@ Content-Transfer-Encoding: binary
45
45
  `,t+="".concat(o.body)}t+=`
46
46
 
47
47
 
48
- `}),t+="--".concat(this.batchSeparator,"--"),t},e.prototype.extractJSONFromBody=function(r){var t=r.indexOf("{");if(t!==-1){var o=r.substring(t),i=o.lastIndexOf("}")+1;if(i!==-1){var n=o.substring(0,i);try{return JSON.parse(n),n}catch(s){return console.error("Error parsing JSON:",s),null}}else return console.error("End of JSON data not found in the input text."),null}else return console.error("JSON data not found in the input text."),null},e.prototype.processBatchResponse=function(r){var t=this,o=[],i=new Map;this.registeredPromises.forEach(function(n,s){var l=r[s],u=t.extractJSONFromBody(l);t.handleSingleResponse(u,n)}),o.length>0?(this.registeredPromises=i,this.batch=o):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){var o=r;r?t.resolve({json:function(){return Promise.resolve(JSON.parse(o))},ok:!0,text:function(){return Promise.resolve(o)}}):t.error({json:function(){return Promise.resolve(JSON.parse(o))},ok:!1,text:function(){return Promise.resolve(o)}})},e.maxRetries=5,e}(),as=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},ss=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ch=function(){function e(r,t,o,i,n){o===void 0&&(o="/api/data/v9.2"),i===void 0&&(i=500),n===void 0&&(n=15);var s=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=o,this.batchWaitTime=i,this.batchSplitThreshold=n,this.promiseIdGenerator=new sh,this.registeredPromises=new Map,this.batch=[],this.generateBatch=function(){return as(s,void 0,void 0,function(){var l,u,a,c,d,g;return ss(this,function(f){switch(f.label){case 0:l=_o.splitToMaxLength(this.batch,this.batchSplitThreshold),u=0,a=l,f.label=1;case 1:return u<a.length?(c=a[u],d=_o.getSubMap(this.registeredPromises,c.map(function(h){return h.id})),g=new is(this.baseClient,this.dataverseEnvUri,this.apiPath,d,c,is.maxRetries),this.batch=[],this.promiseIdGenerator.reset(),this.registeredPromises.clear(),[4,g.executeBatch()]):[3,4];case 2:f.sent(),f.label=3;case 3:return u++,[3,1];case 4:return[2]}})})}}return e.prototype.get=function(r,t){return as(this,void 0,void 0,function(){var o,i,n=this;return ss(this,function(s){return o=this.promiseIdGenerator.getNextId(),i=new Promise(function(l,u){n.batch.length===0&&setTimeout(n.generateBatch,n.batchWaitTime),n.registeredPromises.set(o,{resolve:l,error:u}),n.batch.push({url:r,id:o,method:"GET",headers:t==null?void 0:t.headers})}),[2,i]})})},e.prototype.post=function(r,t){var o=this,i=this.promiseIdGenerator.getNextId(),n=new Promise(function(s,l){o.batch.length===0&&setTimeout(o.generateBatch,o.batchWaitTime),o.registeredPromises.set(i,{resolve:s,error:l}),o.batch.push({url:r,id:i,method:"POST",body:t==null?void 0:t.body,headers:t==null?void 0:t.headers})});return n},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r){return this.baseClient.delete(r)},e}(),fr=function(){return fr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},fr.apply(this,arguments)},hr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},gr=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ls={headers:{"content-type":"application/json;odata=nometadata",accept:"application/json;odata=nometadata"}},uh=function(){function e(r,t,o,i,n){i===void 0&&(i=[]),this.spHttpClient=r,this.siteUrl=t,this.listId=o,this.selectedFields=i,this.mapMethod=n,this.pageSize=25,this.orderBy="ID",this.orderDir="DESC",this.lastValue="",this.previousPages=[],this.previousPageIndex=-1,this.currentLink="",this.query="",this.lastId=0,this.lastRow=0,this.allItemsCount=0,this.recursive=!0}return e.prototype.getData=function(){return hr(this,void 0,void 0,function(){var r;return gr(this,function(t){switch(t.label){case 0:return this.previousPageIndex=-1,this.previousPages=[],this.currentLink="".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream?TryNewExperienceSingle=TRUE&Paged=TRUE"),[4,Promise.all([this.getDataWithAPI(this.currentLink),this.getAllItemsCount()])];case 1:return r=t.sent()[0],[2,r]}})})},e.prototype.getAllItemsCount=function(){return hr(this,void 0,void 0,function(){var o,r,t,o,i;return gr(this,function(n){switch(n.label){case 0:return this.query?[3,4]:[4,this.spHttpClient.get("".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')?$select=itemCount"),{headers:{accept:"application/json","content-type":"application/json;odata=verbose"}})];case 1:return o=n.sent(),o.ok?[4,this.getResponse(o)]:[3,3];case 2:r=n.sent(),this.allItemsCount=r.ItemCount,n.label=3;case 3:return[3,7];case 4:return t='<View Scope="RecursiveAll"><Query><Where>'.concat(this.query,"</Where><ViewFields><FieldRef Name='ID' /></ViewFields></Query></View>"),[4,this.spHttpClient.post("".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream"),fr(fr({},ls),{body:JSON.stringify(this.buildPostBody(t))}))];case 5:return o=n.sent(),o.ok?(i=this,[4,this.getResponse(o)]):[3,7];case 6:i.allItemsCount=n.sent().Row.length,n.label=7;case 7:return[2,this.allItemsCount]}})})},e.prototype.setOrder=function(r,t){this.orderBy=r,this.orderDir=t},e.prototype.getCamlQuery=function(){return!this.query&&!this.orderBy?"":"<Query>".concat(this.query?"<Where>".concat(this.query,"</Where>"):"",'<OrderBy><FieldRef Name="').concat(this.orderBy,'" Ascending="').concat(this.orderDir==="ASC"?"TRUE":"FALSE",'"/></OrderBy><ViewFields>').concat(this.selectedFields.map(function(r){return"<FieldRef Name='".concat(r,"' />")}).join(""),"</ViewFields></Query>")},e.prototype.buildPostBody=function(r){return{parameters:{RenderOptions:2,ViewXml:r}}},e.prototype.getQuery=function(){return this.query},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e.prototype.getResponse=function(r){return hr(this,void 0,void 0,function(){return gr(this,function(t){switch(t.label){case 0:return[4,r.json()];case 1:return[2,t.sent()]}})})},e.prototype.getDataWithAPI=function(r){return hr(this,void 0,void 0,function(){var t,o,i;return gr(this,function(n){switch(n.label){case 0:return[4,this.spHttpClient.post(r,fr(fr({},ls),{body:JSON.stringify(this.buildPostBody("<View".concat(this.recursive?' Scope="RecursiveAll"':"",">").concat(this.getCamlQuery(),"<RowLimit>").concat(this.pageSize,"</RowLimit></View>")))}))];case 1:return t=n.sent(),t.ok?[4,this.getResponse(t)]:[3,3];case 2:return o=n.sent(),o.Row.length>0&&(this.lastValue=o.Row[o.Row.length-1][this.orderBy],this.lastValue=this.getLastFieldValue(o.Row),this.lastId=o.Row[o.Row.length-1].ID,this.lastRow=o.LastRow),this.mapMethod?[2,o.Row.map(this.mapMethod)]:[2,o.Row];case 3:return i=Error.bind,[4,t.text()];case 4:throw new(i.apply(Error,[void 0,n.sent()]))}})})},e.prototype.getLastFieldValue=function(r){return r[r.length-1][this.orderBy]},e.prototype.setQuery=function(r){this.query=r},e.prototype.getNextPage=function(){return hr(this,void 0,void 0,function(){var r=this;return gr(this,function(t){return this.previousPages.find(function(o){return o===r.currentLink})?this.previousPageIndex=this.previousPages.findIndex(function(o){return o===r.currentLink}):(this.previousPages.push(this.currentLink),this.previousPageIndex=this.previousPages.length-1),this.currentLink="".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream?TryNewExperienceSingle=TRUE&Paged=TRUE&p_").concat(this.orderBy,"=").concat(encodeURIComponent(this.lastValue).toLocaleLowerCase(),"&p_ID=").concat(this.lastId,"&SortField=").concat(this.orderBy,"&SortDir=").concat(this.orderDir==="ASC"?"Asc":"Desc","&PageFirstRow=").concat(this.lastRow+1),[2,this.getDataWithAPI(this.currentLink)]})})},e.prototype.isNextPageAvailable=function(){return this.previousPageIndex+2<=Math.floor(this.allItemsCount/this.pageSize)},e.prototype.getPreviousPage=function(){return hr(this,void 0,void 0,function(){return gr(this,function(r){return this.currentLink=this.previousPages[this.previousPageIndex],this.previousPageIndex--,[2,this.getDataWithAPI(this.currentLink)]})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0},e}(),Vr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},$r=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},dh=function(){function e(r,t,o){o===void 0&&(o=!1),this.graphClient=r,this.resourceQuery=t,this.skipCountCheck=o,this.filterQuery="",this.orderQuery="",this.nextPageLink="",this.previousPages=[],this.previousPageIndex=-1,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return Vr(this,void 0,void 0,function(){var r,t,o,i;return $r(this,function(n){switch(n.label){case 0:return this.skipCountCheck?[2,-1]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.graphClient.get(t)]);case 1:return o=n.sent(),o.ok?(i=parseInt,[4,o.text()]):[3,3];case 2:return[2,i.apply(void 0,[n.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return Vr(this,void 0,void 0,function(){var r,t,o;return $r(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],o=r[1],this.allItemsCount=o,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderBy=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),t},e.prototype.callGraphAPI=function(r){return Vr(this,void 0,void 0,function(){var t,o,i,n;return $r(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return o=s.sent(),i=o.value,this.nextPageLink=o["@odata.nextLink"],[2,i];case 3:return n=Error.bind,[4,t.text()];case 4:throw new(n.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return Vr(this,void 0,void 0,function(){return $r(this,function(r){return this.isNextPageAvailable()?(this.previousPageIndex++,this.previousPages.push(this.nextPageLink),[2,this.callGraphAPI(this.nextPageLink)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.nextPageLink},e.prototype.getPreviousPage=function(){return Vr(this,void 0,void 0,function(){var r,t;return $r(this,function(o){switch(o.label){case 0:return this.isPreviousPageAvailable()?(r=this.previousPages[this.previousPageIndex],[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=o.sent(),this.previousPageIndex--,[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0&&!!this.previousPages[this.previousPageIndex]},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),Nt=function(){return Nt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Nt.apply(this,arguments)},So=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Bo=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Wn=function(){function e(r,t,o){t===void 0&&(t=["listItem"]),o===void 0&&(o=["id","title","url"]),this.graphClient=r,this.entityTypes=t,this.selectFields=o,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1,this.graphSearchEndpoint="https://graph.microsoft.com/beta/search/query"}return e.prototype.setRefiners=function(r){this.requestedRefiners=r||[]},e.prototype.applyRefiners=function(r){this.filters=r||void 0},e.prototype.buildSearchRequest=function(){var r,t={requests:[{entityTypes:this.entityTypes,from:this.currentPage*this.pageSize,to:(this.currentPage+1)*this.pageSize,query:null,sortProperties:null,fields:null,aggregations:this.requestedRefiners,aggregationFilters:((r=this.filters)===null||r===void 0?void 0:r.map(function(o){return"".concat(o.field,":").concat(o.filterValue)}))||void 0,size:this.pageSize}]};return this.getQuery()?(t.requests[0].query={queryString:this.getQuery()},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)):(t.requests[0].query={queryString:"*"},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)),this.orderColumn&&(t.requests[0].sortProperties=[{name:this.orderColumn,isDescending:this.isDescending}]),this.selectFields&&this.selectFields.length>0&&(t.requests[0].fields=this.selectFields),t},e.prototype.callForData=function(){return So(this,void 0,void 0,function(){var r,t,o,i;return Bo(this,function(n){switch(n.label){case 0:return[4,this.graphClient.post(this.graphSearchEndpoint,{body:JSON.stringify(this.buildSearchRequest()),headers:{accept:"application/json","content-type":"application/json"}})];case 1:return r=n.sent(),r.ok?[4,r.json()]:[3,3];case 2:return t=n.sent(),o=t.value[0].hitsContainers[0],this.allItemsCount=o.total,this.parseAggregations(o),this.allItemsCount>0?[2,o.hits.map(function(s){return Nt(Nt({},s.resource),{type:s.resource["@odata.type"],hitResourceIdId:s.resource.id,hitId:s.hitId,hitRank:s.rank,hitHighlights:s.highlights,hitSummary:s.summary})})]:[2,[]];case 3:return i=Error.bind,[4,r.text()];case 4:throw new(i.apply(Error,[void 0,n.sent()]))}})})},e.prototype.getData=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.currentPage=0,[2,this.callForData()]})})},e.prototype.parseAggregations=function(r){try{this.currentAggregations=r.aggregations.map(function(t){return Nt(Nt({},t),{buckets:t.buckets.map(function(o){return Nt(Nt({},o),{value:o.value,count:o.count})})})})}catch{this.currentAggregations=[]}},e.prototype.setQuery=function(r){this.query=r},e.prototype.getQuery=function(){return this.query},e.prototype.setOrder=function(r,t){this.orderColumn=r,this.isDescending=t==="DESC"},e.prototype.getNextPage=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.isNextPageAvailable()?(this.currentPage++,[2,this.callForData()]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.isPreviousPageAvailable()?(this.currentPage--,[2,this.callForData()]):[2,[]]})})},e.prototype.isPreviousPageAvailable=function(){return this.currentPage>0},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.jumpToAPage=function(r){return this.currentPage=r,this.callForData()},e}(),fh=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),Vn=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},$n=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},hh=function(e){fh(r,e);function r(t,o,i){o===void 0&&(o=!0),i===void 0&&(i=!0);var n=e.call(this,t,"https://graph.microsoft.com/v1.0/me/people",!0)||this;return n.loadPresence=o,n.loadPhoto=i,n.personTypeClass="Person",n.pageSize=7,n}return r.prototype.callGraphAPI=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,e.prototype.callGraphAPI.call(this,t)];case 1:return o=n.sent(),i=[],this.loadPresence&&i.push.apply(i,o.map(this.appendPresence.bind(this))),this.loadPhoto&&i.push.apply(i,o.map(this.appendPhoto.bind(this))),i.length>0?[4,Promise.all(i)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2,o]}})})},r.prototype.appendPresence=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("v1.0/users/".concat(t.id,"/presence"))];case 1:return o=n.sent(),o.ok?(i=t,[4,o.json()]):[3,3];case 2:i.presence=n.sent(),n.label=3;case 3:return[2]}})})},r.prototype.appendPhoto=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("/v1.0/users/".concat(t.id,"/photo/$value"))];case 1:return o=n.sent(),o.ok?(i=t,[4,o.text()]):[3,3];case 2:i.photo=n.sent(),n.label=3;case 3:return[2]}})})},r.prototype.buildInitialQuery=function(){var t=this.getQuery(),o="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(o+="&$orderBy=".concat(this.orderQuery)),t&&(o+="&$search=".concat(t)),this.personTypeClass&&(o+="&$filter=personType/class eq '".concat(this.personTypeClass,"'")),o},r}(dh),Gr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Ur=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},gh=function(){function e(r,t,o,i,n){o===void 0&&(o=!1),i===void 0&&(i=""),n===void 0&&(n=""),this.graphClient=r,this.resourceQuery=t,this.skipCountCheck=o,this.expandQuery=i,this.selectQuery=n,this.filterQuery="",this.orderQuery="",this.nextPageLink="",this.previousPages=[],this.previousPageIndex=-1,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return Gr(this,void 0,void 0,function(){var r,t,o,i;return Ur(this,function(n){switch(n.label){case 0:return this.skipCountCheck?[2,1/0]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.graphClient.get(t)]);case 1:return o=n.sent(),o.ok?(i=parseInt,[4,o.text()]):[3,3];case 2:return[2,i.apply(void 0,[n.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return Gr(this,void 0,void 0,function(){var r,t,o;return Ur(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],o=r[1],this.allItemsCount=o,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderby=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),this.expandQuery&&(t+="&$expand=".concat(this.expandQuery)),this.selectQuery&&(t+="&$select=".concat(this.selectQuery)),t},e.prototype.callGraphAPI=function(r){return Gr(this,void 0,void 0,function(){var t,o,i,n;return Ur(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return o=s.sent(),i=o.value,this.nextPageLink=o["@odata.nextLink"],[2,i];case 3:return n=Error.bind,[4,t.text()];case 4:throw new(n.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return Gr(this,void 0,void 0,function(){var r;return Ur(this,function(t){return this.isNextPageAvailable()?(this.previousPageIndex++,this.currentPage++,r=this.nextPageLink,r||(r=this.buildInitialQuery(),r+="&$skip="+this.currentPage*this.pageSize),[2,this.callGraphAPI(r)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.nextPageLink||(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return Gr(this,void 0,void 0,function(){var r,t;return Ur(this,function(o){switch(o.label){case 0:return this.isPreviousPageAvailable()?(r=this.previousPages[this.previousPageIndex],r||(r=this.buildInitialQuery(),this.previousPageIndex*this.pageSize>0&&(r+="&$skip="+this.previousPageIndex*this.pageSize)),[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=o.sent(),this.previousPageIndex--,this.currentPage--,[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),vh=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},mh=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ph=function(){function e(r,t,o,i,n){i===void 0&&(i=""),n===void 0&&(n=12),this.graphClient=r,this.dataSource=t,this.resourceMetadata=o,this.filterExpresssion=i,this.maximumNumberOfResults=n}return e.prototype.getData=function(r){return vh(this,void 0,void 0,function(){var t,o;return mh(this,function(i){switch(i.label){case 0:return[4,this.graphClient.post("https://graph.microsoft.com/beta/copilot/retrieval",{headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify({queryString:r,dataSource:this.dataSource,resourceMetadata:this.resourceMetadata,maximumNumberOfResults:this.maximumNumberOfResults,filterExpresssion:this.filterExpresssion})})];case 1:if(t=i.sent(),!t.ok)throw new Error(t.statusText);return[4,t.json()];case 2:return o=i.sent(),[2,o.retrievalHits]}})})},e}(),bh=function(e,r,t,o){var i=arguments.length,n=i<3?r:o===null?o=Object.getOwnPropertyDescriptor(r,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(r,t,n):s(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n},Kr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Xr=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){t===void 0&&(t=!0);var o=this;this.config=r,this.usePopup=t,this.resourceTokenMap=new Map,this.resourceScopeMap=new Map,this.cacheService=new An,this.getCodeFromLoginWindow=function(i,n){try{var s=new URLSearchParams(i==null?void 0:i.location.search),l=s.get("code");l?(n(l),i.close()):i&&setTimeout(function(){return o.getCodeFromLoginWindow(i,n)})}catch{i&&setTimeout(function(){return o.getCodeFromLoginWindow(i,n)},1e3)}},this.config.tenantId=r.tenantId||"common",this.config.redirectUri=r.redirectUri||window.location.origin,this.getCodeVerifier(),this.state=rs(108)}return e.prototype.getCodeVerifier=function(){this.cacheService.get("msal.codeVerifier")?this.codeVerifier=this.cacheService.get("msal.codeVerifier"):this.codeVerifier=rs(43)},e.prototype.buildLoginUrl=function(r){var t=new URL("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/authorize"));return t.searchParams.append("client_id",this.config.clientId),t.searchParams.append("scope","".concat(r,"/.default openid profile offline_access")),t.searchParams.append("redirect_uri",this.config.redirectUri),t.searchParams.append("client-request-id",lh()),t.searchParams.append("response_mode","query"),t.searchParams.append("response_type","code"),t.searchParams.append("code_challenge",this.codeVerifier),t.searchParams.append("code_challenge_method","plain"),t.searchParams.append("prompt","select_account"),t.searchParams.append("client_info","1"),t.searchParams.append("nonce","8a9afd0b-47f6-4678-9289-1b1bf5bfa20f"),t.searchParams.append("state",this.state),t.toString()},e.prototype.loginUser=function(r){return Kr(this,void 0,void 0,function(){var t,o,i,n,s,l,u,a=this;return Xr(this,function(c){switch(c.label){case 0:return t=this.buildLoginUrl(r),o="",this.usePopup?(i=window.open(t,"login","width=600,height=600"),i?[4,new Promise(function(d,g){return a.getCodeFromLoginWindow(i,function(f){o=f,d()})})]:[3,2]):[3,3];case 1:c.sent(),c.label=2;case 2:return[3,4];case 3:if(n=new URLSearchParams(window.location.search),s=n.get("code"),l=n.get("error"),s)return this.cacheService.remove("msal.codeVerifier"),o=s,u=new URL(window.location.href),u.searchParams.delete("code"),u.searchParams.delete("state"),u.searchParams.delete("error"),u.searchParams.delete("client_info"),u.searchParams.delete("expires_in"),u.searchParams.delete("ext_expires_in"),u.searchParams.delete("session_state"),window.history.replaceState({},"",u.toString()),[2,o];if(l)throw u.searchParams.delete("error"),new Error(l);this.cacheService.set("msal.codeVerifier",this.codeVerifier),window.location.href=t,c.label=4;case 4:return[2,o]}})})},e.prototype.getAccessTokenFromCode=function(r,t){return Kr(this,void 0,void 0,function(){var o,i,n,s,l;return Xr(this,function(u){switch(u.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),redirect_uri:this.config.redirectUri,grant_type:"authorization_code",code:t,code_verifier:this.codeVerifier})})];case 1:return o=u.sent(),o.ok?[4,o.json()]:[3,3];case 2:return i=u.sent(),[2,i];case 3:return s=(n=console).log,l=["Unable to get access token from code",o.status,o.statusText],[4,o.text()];case 4:throw s.apply(n,l.concat([u.sent()])),new Error("Unable to get access token from code")}})})},e.prototype.getAccessTokenFromRefreshToken=function(r,t){return Kr(this,void 0,void 0,function(){var o,i,n,s;return Xr(this,function(l){switch(l.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),grant_type:"refresh_token",refresh_token:t})})];case 1:return o=l.sent(),o.ok?[4,o.json()]:[3,3];case 2:return i=l.sent(),[2,i];case 3:return l.trys.push([3,5,,7]),[4,o.json()];case 4:return n=l.sent(),n.error_codes&&n.error_codes.length>0&&n.error_codes[0]===700084&&(this.cacheService.remove("msal.".concat(this.config.clientId,".").concat(r,".authResult")),this.resourceTokenMap.has(r)&&this.resourceTokenMap.delete(r)),[2,this.getAuthResult(r)];case 5:return l.sent(),[4,o.text()];case 6:throw s=l.sent(),new Error(s);case 7:return[2]}})})},e.prototype.getAuthResult=function(r){return Kr(this,void 0,void 0,function(){var t,o;return Xr(this,function(i){switch(i.label){case 0:if(t=this.cacheService.get("msal.".concat(this.config.clientId,".").concat(r,".authResult")),!t)return[3,2];try{if(Ya.isTokenValid(t.access_token))return[2,t]}catch{console.log("Unable to verify token validity")}return t.refresh_token?[4,this.getAccessTokenFromRefreshToken(r,t.refresh_token)]:[3,2];case 1:return t=i.sent(),this.resourceTokenMap.set(r,t.access_token),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),[2,t];case 2:return[4,this.loginUser(r)];case 3:return o=i.sent(),[4,this.getAccessTokenFromCode(r,o)];case 4:return t=i.sent(),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),this.resourceTokenMap.set(r,t.access_token),[2,t]}})})},e.prototype.getAccessToken=function(r){return Kr(this,void 0,void 0,function(){var t,o;return Xr(this,function(i){switch(i.label){case 0:return t=this.resourceTokenMap.get(r),t&&Ya.isTokenValid(t)?[2,t]:[4,this.getAuthResult(r)];case 1:return o=i.sent(),[2,o.access_token]}})})},bh([jn("msal-access-token-{0}")],e.prototype,"getAccessToken",null),e})();var cs=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},us=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},vr={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65},yh=function(){function e(r,t){this.spHttpClient=r,this.siteUrl=t}return e.hasPermission=function(r,t){if(t===65)return(r.High&32767)===32767&&r.Low===65535;var o=t-1,i=1;return o>0&&o<32?(i=i<<o,(r.Low&i)!==0):o>=32&&o<64?(i=i<<o-32,(r.High&i)!==0):!1},e.prototype.checkUserPermissions=function(r,t){return cs(this,void 0,void 0,function(){var o,i,n,s,l,u;return us(this,function(a){switch(a.label){case 0:return o="".concat(this.siteUrl,"/_api/web").concat(t||"","/getUserEffectivePermissions('").concat(encodeURIComponent("i:0#.f|membership|"+r),"')"),[4,this.spHttpClient.get(o,{headers:{accept:"application/json"}})];case 1:return i=a.sent(),[4,i.json()];case 2:n=a.sent(),s=[];for(l in vr)u=e.hasPermission(n,vr[l]),u&&s.push(l);return[2,s]}})})},e.prototype.checkCurrentUserPermissions=function(r){return cs(this,void 0,void 0,function(){var t,o,i,n,s,l;return us(this,function(u){switch(u.label){case 0:return t="".concat(this.siteUrl,"/_api/web/").concat(r,"/EffectiveBasePermission"),[4,this.spHttpClient.get(t,{headers:{accept:"application/json"}})];case 1:return o=u.sent(),[4,o.json()];case 2:i=u.sent(),n=[];for(s in vr)l=e.hasPermission(i,vr[s]),l&&n.push(s);return[2,n]}})})},e}(),mr=function(){return mr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},mr.apply(this,arguments)},wh=function(e,r,t,o){var i=arguments.length,n=i<3?r:o===null?o=Object.getOwnPropertyDescriptor(r,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(r,t,n):s(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n},kh=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},xh=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new An}return e.prototype.getUser=function(r,t){return t===void 0&&(t="48x48"),kh(this,void 0,void 0,function(){var o,i,n,f,s,l,u,a,c,d,v,g,f,h,b,v,b;return xh(this,function(p){switch(p.label){case 0:return o=r,r&&r.indexOf("@")>-1?(i="/users/".concat(r,"?$select=id"),[4,this.graphClient.get(i)]):[3,3];case 1:return n=p.sent(),n.status===404?[2,null]:[4,n.json()];case 2:f=p.sent(),o=f.id,p.label=3;case 3:return s=this.storageService.get(this.key+r),l=s==null?void 0:s.data,u=o?"/users/".concat(o):"/me",!l||s.expiration<new Date().getTime()?[4,Promise.all([this.graphClient.get(u+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(u+"/photos/".concat(t,"/$value")),this.graphClient.get(u+"/presence")])]:[3,6];case 4:return a=p.sent(),c=a[0],d=a[1],v=a[2],[4,Promise.all([c.json(),d.text(),v.json()])];case 5:return g=p.sent(),f=g[0],h=g[1],b=g[2],l=mr(mr({},f),{photo:"data:image/png;base64,".concat(h.replace('"',"").replace('"',"")),presence:b}),this.storageService.set(this.key+r,{data:l,expiration:new Date().getTime()+this.cacheExpiration}),[3,9];case 6:return this.updatePresence?[4,this.graphClient.get(u+"/presence")]:[3,9];case 7:return v=p.sent(),[4,v.json()];case 8:b=p.sent(),l=mr(mr({},l),{presence:b}),this.storageService.set(this.key+r,{data:l,expiration:new Date().getTime()+this.cacheExpiration}),p.label=9;case 9:return[2,l]}})})},wh([jn("getUser-{0}")],e.prototype,"getUser",null),e})();var ds=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},fs=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_h=function(){function e(r,t){this.searchClient=r,this.managedProperties=t,this.comparers=[":","=","<",">","<=",">="],this.queryTemplate=""}return e.prototype.getSuggestions=function(r){var t;return ds(this,void 0,void 0,function(){var o,i,n,s,u,l,u,a,c,d,g,f,h;return fs(this,function(v){switch(v.label){case 0:return o=r.split(" "),i=o[o.length-1],n=this.comparers.find(function(b){return i.indexOf(b)>0}),s=!0,n&&(u=i.split(n),i=u[u.length-1],s=!1),s?(l=this.managedProperties.filter(function(b){return b.toLocaleLowerCase().indexOf(i.toLowerCase())>=0}),[2,{value:l,areSuggestionsProps:!0}]):[3,1];case 1:return i=o[o.length-1],this.searchClient.pageSize=10,u=i.split(n),a=u[0],this.searchClient.selectFields=[a],this.searchClient.setRefiners([{field:"ManagedProperties",size:1,bucketDefinition:{sortBy:"count",isDescending:!0,minimumCount:1e3}}]),this.searchClient.setQuery(r+"*"),[4,this.searchClient.getData()];case 2:if(c=v.sent(),d=(t=c[0])===null||t===void 0?void 0:t.fields,d){g=a;for(f in d)f.toLocaleLowerCase()===a.toLocaleLowerCase()&&(g=f);return h=c.map(function(b){return b.fields[g]}),[2,{value:h.filter(function(b,p){return h.indexOf(b)===p}),areSuggestionsProps:!1}]}return[2,{value:[],areSuggestionsProps:!1}]}})})},e}(),Sh=function(){function e(r){this.graphClient=r}return e.prototype.withClient=function(r){return this.graphClient=r,this},e.prototype.withManagedPropertiesRelatedQuery=function(r){return this.query=r,this},e.prototype.build=function(){return ds(this,void 0,void 0,function(){var r,t,o;return fs(this,function(i){switch(i.label){case 0:return this.searchClient||(this.searchClient=new Wn(this.graphClient,["listItem"],["ID"])),this.searchClient.setRefiners([{field:"ManagedProperties",size:1e3,bucketDefinition:{sortBy:"count",isDescending:!0,minimumCount:1}}]),this.searchClient.setQuery(this.query||"*"),this.searchClient.pageSize=1,[4,this.searchClient.getData()];case 1:return i.sent(),r=this.searchClient.currentAggregations.find(function(n){return n.field==="ManagedProperties"}),t=r.buckets.map(function(n){return n.key}),o=new _h(this.searchClient,t),this.query&&(o.queryTemplate="{searchTerms} AND ".concat(this.query)),[2,o]}})})},e}();const Gn=m.createContext({graphClient:new dr}),Ve=()=>m.useContext(Gn),Bh=e=>{const{authProvider:r}=xo(),t=()=>{if(e.graphClient)return e.graphClient;if(r)return new ah(new Hn(r,new dr))},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.graphClient,r]),o&&P.jsx(Gn.Provider,{value:{graphClient:o},children:e.children})},Un=m.createContext({spClient:new dr,siteUrl:""}),Kn=()=>m.useContext(Un),Ch=e=>{const{authProvider:r}=xo(),t=()=>{if(e.spClient)return e.spClient;if(r){let n=new Hn(r,new dr);return n.resourceUri=new URL(e.siteUrl).origin,n}},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.spClient,r]),o&&P.jsx(Un.Provider,{value:{spClient:o,siteUrl:e.siteUrl},children:e.children})},Xn=m.createContext({dataverseClient:new dr}),hs=()=>m.useContext(Xn),Ph=e=>{const{authProvider:r}=xo(),t=()=>{if(e.dataverseClient)return e.dataverseClient;if(r){let n=new Hn(r,new dr);return n.resourceUri=e.dataverseResource,e.autoBatch&&(n=new ch(n,e.dataverseResource,e.apiPath,500)),n}},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.dataverseClient,r]),o&&P.jsx(Xn.Provider,{value:{dataverseClient:o,dataverseResource:e.dataverseResource},children:e.children})},Th=["Top","Right","Bottom","Left"];function Zr(e,r,...t){const[o,i=o,n=o,s=i]=t,l=[o,i,n,s],u={};for(let a=0;a<l.length;a+=1)if(l[a]||l[a]===0){const c=e+Th[a]+r;u[c]=l[a]}return u}function Zn(...e){return Zr("border","Width",...e)}function Qn(...e){return Zr("border","Style",...e)}function Yn(...e){return Zr("border","Color",...e)}const Eh=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function Qr(e){return Eh.includes(e)}function Nh(...e){return Qr(e[0])?Object.assign({},Qn(e[0]),e[1]&&Zn(e[1]),e[2]&&Yn(e[2])):Object.assign({},Zn(e[0]),e[1]&&Qn(e[1]),e[2]&&Yn(e[2]))}function zh(...e){return Qr(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})}function Rh(...e){return Qr(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})}function Dh(...e){return Qr(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})}function Fh(...e){return Qr(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})}function Ih(e,r=e,t=e,o=r){return{borderBottomRightRadius:t,borderBottomLeftRadius:o,borderTopRightRadius:r,borderTopLeftRadius:e}}const Ah=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),Co=e=>typeof e=="number"&&!Number.isNaN(e),jh=e=>e==="initial",gs=e=>e==="auto",Oh=e=>e==="none",qh=["content","fit-content","max-content","min-content"],Jn=e=>qh.some(r=>e===r)||Ah(e);function Mh(...e){const r=e.length===1,t=e.length===2,o=e.length===3;if(r){const[i]=e;if(jh(i))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(gs(i))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(Oh(i))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Co(i))return{flexGrow:i,flexShrink:1,flexBasis:0};if(Jn(i))return{flexGrow:1,flexShrink:1,flexBasis:i}}if(t){const[i,n]=e;if(Co(n))return{flexGrow:i,flexShrink:n,flexBasis:0};if(Jn(n))return{flexGrow:i,flexShrink:1,flexBasis:n}}if(o){const[i,n,s]=e;if(Co(i)&&Co(n)&&(gs(s)||Jn(s)))return{flexGrow:i,flexShrink:n,flexBasis:s}}return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.flex did not match any flex property specs. The CSS styles were not generated. Please, check the flex documentation."),{}}function Lh(e,r=e){return{columnGap:e,rowGap:r}}const Hh=/var\(.*\)/gi;function Wh(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!Hh.test(e)}const Vh=/^[a-zA-Z0-9\-_\\#;]+$/,$h=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function ei(e){return e!==void 0&&typeof e=="string"&&Vh.test(e)&&!$h.test(e)}function Gh(...e){if(e.some(n=>!Wh(n)))return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.gridArea() did not match any gridArea property specs. The CSS styles were not generated. Please, check the gridArea documentation.",["The value passed to shorthands.gridArea() did not match any gridArea property specs. ",`The CSS styles were not generated.
49
- `,"Please, check the `grid-area` documentation:\n","- https://developer.mozilla.org/docs/Web/CSS/grid-area","- https://griffel.js.org/react/api/shorthands#shorthandsgridarea"].join("")),{};const r=e[0]!==void 0?e[0]:"auto",t=e[1]!==void 0?e[1]:ei(r)?r:"auto",o=e[2]!==void 0?e[2]:ei(r)?r:"auto",i=e[3]!==void 0?e[3]:ei(t)?t:"auto";return{gridRowStart:r,gridColumnStart:t,gridRowEnd:o,gridColumnEnd:i}}function Uh(...e){return Zr("margin","",...e)}function Kh(e,r=e){return{marginBlockStart:e,marginBlockEnd:r}}function Xh(e,r=e){return{marginInlineStart:e,marginInlineEnd:r}}function Zh(...e){return Zr("padding","",...e)}function Qh(e,r=e){return{paddingBlockStart:e,paddingBlockEnd:r}}function Yh(e,r=e){return{paddingInlineStart:e,paddingInlineEnd:r}}function Jh(e,r=e){return{overflowX:e,overflowY:r}}function eg(...e){const[r,t=r,o=r,i=t]=e;return{top:r,right:t,bottom:o,left:i}}function tg(e,r,t){return Object.assign({outlineWidth:e},r&&{outlineStyle:r},t&&{outlineColor:t})}function rg(...e){return ng(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:ig(e).reduce((t,[o,i="0s",n="0s",s="ease"],l)=>(l===0?(t.transitionProperty=o,t.transitionDuration=i,t.transitionDelay=n,t.transitionTimingFunction=s):(t.transitionProperty+=`, ${o}`,t.transitionDuration+=`, ${i}`,t.transitionDelay+=`, ${n}`,t.transitionTimingFunction+=`, ${s}`),t),{})}const og=["-moz-initial","inherit","initial","revert","unset"];function ng(e){return e.length===1&&og.includes(e[0])}function ig(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function ag(e,...r){if(r.length===0)return lg(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[t,o,i]=r;return Object.assign({textDecorationLine:e},t&&{textDecorationStyle:t},o&&{textDecorationColor:o},i&&{textDecorationThickness:i})}const sg=["dashed","dotted","double","solid","wavy"];function lg(e){return sg.includes(e)}const ti=typeof window>"u"?global:window,ri="@griffel/";function vs(e,r){return ti[Symbol.for(ri+e)]||(ti[Symbol.for(ri+e)]=r),ti[Symbol.for(ri+e)]}const Po=vs("DEBUG_RESET_CLASSES",{}),Yr=vs("DEFINITION_LOOKUP_TABLE",{}),Jr="data-make-styles-bucket",cg="data-priority",oi="f",ug="r",eo=7,ft="___",ms="_",ps=process.env.NODE_ENV==="production"?ft.length+eo:ft.length+eo+ms.length+eo,dg=0,bs=1,fg={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},ni="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Zt(e){for(var r=0,t,o=0,i=e.length;i>=4;++o,i-=4)t=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(e.charCodeAt(o+2)&255)<<16;case 2:r^=(e.charCodeAt(o+1)&255)<<8;case 1:r^=e.charCodeAt(o)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function ii(e){const r=e.length;if(r===eo)return e;for(let t=r;t<eo;t++)e+="0";return e}function ys(e,r,t=[]){return process.env.NODE_ENV==="production"?ft+ii(Zt(e+r)):ft+ii(Zt(e+r))+ms+ii(Zt(t.join("")))}function ws(e,r){let t="",o="";for(const i in e){const n=e[i];if(n===0){o+=i+" ";continue}const s=Array.isArray(n),l=r==="rtl"?(s?n[1]:n)+" ":(s?n[0]:n)+" ";t+=l,o+=l}return[t.slice(0,-1),o.slice(0,-1)]}function To(e,r){const t={};for(const o in e){const[i,n]=ws(e[o],r);if(n===""){t[o]="";continue}const s=ys(n,r),l=s+(i===""?"":" "+i);Yr[s]=[e[o],r],t[o]=l}return t}const Eo={};function E(){let e=null,r="",t="";const o=new Array(arguments.length);let i="";for(let g=0;g<arguments.length;g++){const f=arguments[g];if(typeof f=="string"&&f!==""){const h=f.indexOf(ft);if(h===-1)process.env.NODE_ENV!=="production"&&f.split(" ").forEach(v=>{v.startsWith(ug)&&Po[v]&&(i?console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${f} & ${r}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
50
- Source string: ${f}`):i=v)}),r+=f+" ";else{const v=f.substr(h,ps);h>0&&(r+=f.slice(0,h)),t+=v,o[g]=v}process.env.NODE_ENV!=="production"&&f.indexOf(ft,h+1)!==-1&&console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${ft}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${f}`)}}if(t==="")return r.slice(0,-1);const n=Eo[t];if(n!==void 0)return r+n;const s=[];for(let g=0;g<arguments.length;g++){const f=o[g];if(f){const h=Yr[f];h?(s.push(h[dg]),process.env.NODE_ENV!=="production"&&e!==null&&e!==h[bs]&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${h[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[g]}`),e=h[bs]):process.env.NODE_ENV!=="production"&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[g]}`)}}const l=Object.assign.apply(Object,[{}].concat(s)),[u,a]=ws(l,e),c=ys(a,e,o),d=c+" "+u;return Eo[t]=d,Yr[c]=[l,e],r+d}const ks={},xs=new Set,Qt={getChildrenSequences:e=>{const r=Object.keys(Eo).find(t=>Eo[t].startsWith(e));return r?r.split(ft).filter(t=>t.length).map(t=>ft+t):[]},addCSSRule:e=>{xs.add(e)},addSequenceDetails:(e,r)=>{Object.entries(e).forEach(([t,o])=>{ks[o.substring(0,ps)]={slotName:t,sourceURL:r}})},getCSSRules:()=>Array.from(xs),getSequenceDetails:e=>ks[e]};function _s(e,r){return Array.isArray(e)?r==="rtl"?e[1]:e[0]:e||""}function hg(e,r,t,o){const i=e[0],n=e[1];return Object.entries(i).map(([s,l])=>{const u=_s(l,n);let a;if(t&&r){const c=t.find(({className:d})=>d===u);!c&&r[0][s]?a=_s(r[0][s],r[1]):c&&r[0][s]?a=(o?o.filter(({debugClassNames:g})=>g.filter(({className:f})=>f===u).length>0).length>0:!1)?c.className:c.overriddenBy:(!c&&!r[0][s]||c&&!r[0][s])&&(a=void 0)}return{className:u,overriddenBy:a}})}function Ss(e,r){const t=Yr[e];if(t===void 0)return;const o=r?Yr[r.sequenceHash]:void 0,i=hg(t,o,r==null?void 0:r.debugClassNames,r==null?void 0:r.children),n={sequenceHash:e,direction:t[1],children:[],debugClassNames:i};return Qt.getChildrenSequences(n.sequenceHash).reverse().forEach(l=>{const u=Ss(l,n);u&&n.children.push(u)}),n.children.length||(n.rules={},n.debugClassNames.forEach(({className:l})=>{const u=Qt.getSequenceDetails(e);u&&(n.slot=u.slotName,n.sourceURL=u.sourceURL);const a=Qt.getCSSRules().find(c=>c.includes(l));n.rules[l]=a})),n}function gg(e){if(Po[e]===void 0)return;const o={sequenceHash:e,direction:"ltr",children:[],debugClassNames:[{className:e}]};o.rules={},o.slot="makeResetStyles()";const[{className:i}]=o.debugClassNames,n=Qt.getCSSRules().filter(s=>s.includes(`.${i}`));return o.rules[i]=n.join(""),o}function vg(e,r){const t=e?Ss(e):void 0,o=r?gg(r):void 0;return!t&&!o?void 0:t?o?{sequenceHash:t.sequenceHash+o.sequenceHash,direction:t.direction,children:[t,o],debugClassNames:[...t.debugClassNames,...o.debugClassNames]}:t:o}function mg(e){const r=e.defaultView;if(!r||r.__GRIFFEL_DEVTOOLS__)return;const t={getInfo:o=>{let i,n;for(const s of o.classList)s.startsWith(ft)&&(i=s),Po[s]&&(n=s);return vg(i,n)}};Object.defineProperty(r,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return t}})}const pr=(()=>{var e;try{return!!(typeof window<"u"&&(!((e=window.sessionStorage)===null||e===void 0)&&e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function pg(e){if(!Array.isArray(e))return[e];if(process.env.NODE_ENV!=="production"&&e.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return e}function bg(e,r,t,o){const i=[];if(o[Jr]=r,o[cg]=String(t),e)for(const s in o)e.setAttribute(s,o[s]);function n(s){return e!=null&&e.sheet?e.sheet.insertRule(s,e.sheet.cssRules.length):i.push(s)}return{elementAttributes:o,insertRule:n,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(s=>s.cssText):i}}}const Bs=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,r,t)=>(e[r]=t,e),{});function yg(e,r,t){return(e==="m"?e+r:e)+t}function wg(e,r,t,o,i={}){var n,s;const l=e==="m",u=(n=i.m)!==null&&n!==void 0?n:"0",a=(s=i.p)!==null&&s!==void 0?s:0,c=yg(e,u,a);if(!o.stylesheets[c]){const d=r&&r.createElement("style"),g=bg(d,e,a,Object.assign({},o.styleElementAttributes,l&&{media:u}));o.stylesheets[c]=g,r!=null&&r.head&&d&&r.head.insertBefore(d,xg(r,t,e,o,i))}return o.stylesheets[c]}function kg(e,r,t){var o,i;const n=r+((o=t.m)!==null&&o!==void 0?o:""),s=e.getAttribute(Jr)+((i=e.media)!==null&&i!==void 0?i:"");return n===s}function xg(e,r,t,o,i={}){var n,s;const l=Bs[t],u=(n=i.m)!==null&&n!==void 0?n:"",a=(s=i.p)!==null&&s!==void 0?s:0;let c=v=>l-Bs[v.getAttribute(Jr)],d=e.head.querySelectorAll(`[${Jr}]`);if(t==="m"){const v=e.head.querySelectorAll(`[${Jr}="${t}"]`);v.length&&(d=v,c=b=>o.compareMediaQueries(u,b.media))}const g=v=>kg(v,t,i)?a-Number(v.getAttribute("data-priority")):c(v),f=d.length;let h=f-1;for(;h>=0;){const v=d.item(h);if(g(v)>0)return v.nextSibling;h--}return f>0?d.item(0):r?r.nextSibling:null}const _g=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),Sg=new RegExp(`:(${_g})`);function Cs(e,r){try{e.insertRule(r)}catch(t){process.env.NODE_ENV!=="production"&&!Sg.test(r)&&console.error(`There was a problem inserting the following rule: "${r}"`,t)}}let Bg=0;const Cg=(e,r)=>e<r?-1:e>r?1:0;function Pg(e=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:t,unstable_filterCSSRule:o,insertionPoint:i,styleElementAttributes:n,compareMediaQueries:s=Cg}=r,l={classNameHashSalt:t,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(n),compareMediaQueries:s,id:`d${Bg++}`,insertCSSRules(u){for(const a in u){const c=u[a];for(let d=0,g=c.length;d<g;d++){const[f,h]=pg(c[d]),v=wg(a,e,i||null,l,h);l.insertionCache[f]||(l.insertionCache[f]=a,process.env.NODE_ENV!=="production"&&pr&&Qt.addCSSRule(f),o?o(f)&&Cs(v,f):Cs(v,f))}}}};return e&&process.env.NODE_ENV!=="production"&&pr&&mg(e),l}const ai="<unknown>";function Tg(e){return Rg(e)||Ig(e)||jg(e)}const Eg=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,Ng=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,zg=/\((\S*)\)/;function Rg(e){const r=Eg.exec(e)||Ng.exec(e);if(!r)return null;let t=r[2];const o=t&&t.indexOf("native")===0,i=t&&t.indexOf("eval")===0,n=zg.exec(t);return i&&n!=null&&(t=n[1]),{loc:o?null:r[2],name:r[1]||ai}}const Dg=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,Fg=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Ig(e){const r=Dg.exec(e);if(!r)return null;let t=r[3];const o=t&&t.indexOf(" > eval")>-1,i=Fg.exec(t);return o&&i!=null&&(t=i[1]),{loc:r[3],name:r[1]||ai}}const Ag=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function jg(e){const r=Ag.exec(e);return r?{loc:r[3],name:r[1]||ai}:null}function Ps(){const e=String(new Error().stack).split(`
51
- `),r=Og(e);if(r===void 0)return;const t=Tg(r);return t==null?void 0:t.loc}function Og(e){for(let r=e.length-1;r>=0;--r)if(e[r].includes("at getSourceURLfromError"))return e[r+3]}const si=()=>{const e={};return function(t,o){e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}};function Ts(e){return e.reduce(function(r,t){var o=t[0],i=t[1];return r[o]=i,r[i]=o,r},{})}function qg(e){return typeof e=="boolean"}function Mg(e){return typeof e=="function"}function to(e){return typeof e=="number"}function Lg(e){return e===null||typeof e>"u"}function Hg(e){return e&&typeof e=="object"}function Wg(e){return typeof e=="string"}function No(e,r){return e.indexOf(r)!==-1}function Vg(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function zo(e,r,t,o){return r+Vg(t)+o}function $g(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var t=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(t)+"%"}return e}function Es(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,t){var o=r.list,i=r.state,n=(t.match(/\(/g)||[]).length,s=(t.match(/\)/g)||[]).length;return i.parensDepth>0?o[o.length-1]=o[o.length-1]+" "+t:o.push(t),i.parensDepth+=n-s,{list:o,state:i}},{list:[],state:{parensDepth:0}}).list}function Ns(e){var r=Es(e);if(r.length<=3||r.length>4)return e;var t=r[0],o=r[1],i=r[2],n=r[3];return[t,n,i,o].join(" ")}function Gg(e){return!qg(e)&&!Lg(e)}function Ug(e){for(var r=[],t=0,o=0,i=!1;o<e.length;)!i&&e[o]===","?(r.push(e.substring(t,o).trim()),o++,t=o):e[o]==="("?(i=!0,o++):(e[o]===")"&&(i=!1),o++);return t!=o&&r.push(e.substring(t,o+1)),r}var D={padding:function(r){var t=r.value;return to(t)?t:Ns(t)},textShadow:function(r){var t=r.value,o=Ug(t).map(function(i){return i.replace(/(^|\s)(-*)([.|\d]+)/,function(n,s,l,u){if(u==="0")return n;var a=l===""?"-":"";return""+s+a+u})});return o.join(",")},borderColor:function(r){var t=r.value;return Ns(t)},borderRadius:function(r){var t=r.value;if(to(t))return t;if(No(t,"/")){var o=t.split("/"),i=o[0],n=o[1],s=D.borderRadius({value:i.trim()}),l=D.borderRadius({value:n.trim()});return s+" / "+l}var u=Es(t);switch(u.length){case 2:return u.reverse().join(" ");case 4:{var a=u[0],c=u[1],d=u[2],g=u[3];return[c,a,g,d].join(" ")}default:return t}},background:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgImgDirectionRegex,s=r.bgPosDirectionRegex;if(to(t))return t;var l=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(l,D.backgroundPosition({value:l,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:s})),D.backgroundImage({value:t,valuesToConvert:o,bgImgDirectionRegex:n})},backgroundImage:function(r){var t=r.value,o=r.valuesToConvert,i=r.bgImgDirectionRegex;return!No(t,"url(")&&!No(t,"linear-gradient(")?t:t.replace(i,function(n,s,l){return n.replace(l,o[l])})},backgroundPosition:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgPosDirectionRegex;return t.replace(i?/^((-|\d|\.)+%)/:null,function(s,l){return $g(l)}).replace(n,function(s){return o[s]})},backgroundPositionX:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgPosDirectionRegex;return to(t)?t:D.backgroundPosition({value:t,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:n})},transition:function(r){var t=r.value,o=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){var n=i.split(" ");return n[0]=o[n[0]]||n[0],n.join(" ")}).join(", ")},transitionProperty:function(r){var t=r.value,o=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){return o[i]||i}).join(", ")},transform:function(r){var t=r.value,o="[^\\u0020-\\u007e]",i="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",n="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+i+")")+("(?:[_a-z0-9-]|"+o+"|"+i+")")+"*")+")?")+")|(?:inherit|auto))",s=new RegExp("(translateX\\s*\\(\\s*)"+n+"(\\s*\\))","gi"),l=new RegExp("(translate\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,1}\\s*\\))","gi"),u=new RegExp("(translate3d\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,2}\\s*\\))","gi"),a=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+n+"(\\s*\\))","gi");return t.replace(s,zo).replace(l,zo).replace(u,zo).replace(a,zo)}};D.objectPosition=D.backgroundPosition,D.margin=D.padding,D.borderWidth=D.padding,D.boxShadow=D.textShadow,D.webkitBoxShadow=D.boxShadow,D.mozBoxShadow=D.boxShadow,D.WebkitBoxShadow=D.boxShadow,D.MozBoxShadow=D.boxShadow,D.borderStyle=D.borderColor,D.webkitTransform=D.transform,D.mozTransform=D.transform,D.WebkitTransform=D.transform,D.MozTransform=D.transform,D.transformOrigin=D.backgroundPosition,D.webkitTransformOrigin=D.transformOrigin,D.mozTransformOrigin=D.transformOrigin,D.WebkitTransformOrigin=D.transformOrigin,D.MozTransformOrigin=D.transformOrigin,D.webkitTransition=D.transition,D.mozTransition=D.transition,D.WebkitTransition=D.transition,D.MozTransition=D.transition,D.webkitTransitionProperty=D.transitionProperty,D.mozTransitionProperty=D.transitionProperty,D.WebkitTransitionProperty=D.transitionProperty,D.MozTransitionProperty=D.transitionProperty,D["text-shadow"]=D.textShadow,D["border-color"]=D.borderColor,D["border-radius"]=D.borderRadius,D["background-image"]=D.backgroundImage,D["background-position"]=D.backgroundPosition,D["background-position-x"]=D.backgroundPositionX,D["object-position"]=D.objectPosition,D["border-width"]=D.padding,D["box-shadow"]=D.textShadow,D["-webkit-box-shadow"]=D.textShadow,D["-moz-box-shadow"]=D.textShadow,D["border-style"]=D.borderColor,D["-webkit-transform"]=D.transform,D["-moz-transform"]=D.transform,D["transform-origin"]=D.transformOrigin,D["-webkit-transform-origin"]=D.transformOrigin,D["-moz-transform-origin"]=D.transformOrigin,D["-webkit-transition"]=D.transition,D["-moz-transition"]=D.transition,D["transition-property"]=D.transitionProperty,D["-webkit-transition-property"]=D.transitionProperty,D["-moz-transition-property"]=D.transitionProperty;var zs=Ts([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),Kg=["content"],Rs=Ts([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Xg=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Zg=new RegExp("(left)|(right)");function Ds(e){return Object.keys(e).reduce(function(r,t){var o=e[t];if(Wg(o)&&(o=o.trim()),No(Kg,t))return r[t]=o,r;var i=li(t,o),n=i.key,s=i.value;return r[n]=s,r},Array.isArray(e)?[]:{})}function li(e,r){var t=/\/\*\s?@noflip\s?\*\//.test(r),o=t?e:Qg(e),i=t?r:Yg(o,r);return{key:o,value:i}}function Qg(e){return zs[e]||e}function Yg(e,r){if(!Gg(r))return r;if(Hg(r))return Ds(r);var t=to(r),o=Mg(r),i=t||o?r:r.replace(/ !important.*?$/,""),n=!t&&i.length!==r.length,s=D[e],l;return s?l=s({value:i,valuesToConvert:Rs,propertiesToConvert:zs,isRtl:!0,bgImgDirectionRegex:Xg,bgPosDirectionRegex:Zg}):l=Rs[i]||i,n?l+" !important":l}const Jg=/[A-Z]/g,ev=/^ms-/,ci={};function tv(e){return"-"+e.toLowerCase()}function br(e){if(Object.prototype.hasOwnProperty.call(ci,e))return ci[e];if(e.substr(0,2)==="--")return e;const r=e.replace(Jg,tv);return ci[e]=ev.test(r)?"-"+r:r}function Fs(e){return e.charAt(0)==="&"?e.slice(1):e}var ro="-moz-",ot="-webkit-",Is="comm",Ro="rule",ui="decl",rv="@media",ov="@import",nv="@supports",iv="@namespace",av="@keyframes",As="@layer",js=Math.abs,Do=String.fromCharCode,sv=Object.assign;function lv(e,r){return Oe(e,0)^45?(((r<<2^Oe(e,0))<<2^Oe(e,1))<<2^Oe(e,2))<<2^Oe(e,3):0}function Os(e){return e.trim()}function qs(e,r){return(e=r.exec(e))?e[0]:e}function He(e,r,t){return e.replace(r,t)}function Ms(e,r,t){return e.indexOf(r,t)}function Oe(e,r){return e.charCodeAt(r)|0}function yr(e,r,t){return e.slice(r,t)}function nt(e){return e.length}function Ls(e){return e.length}function Yt(e,r){return r.push(e),e}function cv(e,r){return e.map(r).join("")}var Fo=1,wr=1,Hs=0,$e=0,xe=0,kr="";function Io(e,r,t,o,i,n,s,l){return{value:e,root:r,parent:t,type:o,props:i,children:n,line:Fo,column:wr,length:s,return:"",siblings:l}}function di(e,r){return sv(Io("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function uv(){return xe}function dv(){return xe=$e>0?Oe(kr,--$e):0,wr--,xe===10&&(wr=1,Fo--),xe}function Ze(){return xe=$e<Hs?Oe(kr,$e++):0,wr++,xe===10&&(wr=1,Fo++),xe}function zt(){return Oe(kr,$e)}function Ao(){return $e}function jo(e,r){return yr(kr,e,r)}function xr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ws(e){return Fo=wr=1,Hs=nt(kr=e),$e=0,[]}function Vs(e){return kr="",e}function Oo(e){return Os(jo($e-1,fi(e===91?e+2:e===40?e+1:e)))}function fv(e){return Vs(gv(Ws(e)))}function hv(e){for(;(xe=zt())&&xe<33;)Ze();return xr(e)>2||xr(xe)>3?"":" "}function gv(e){for(;Ze();)switch(xr(xe)){case 0:Yt($s($e-1),e);break;case 2:Yt(Oo(xe),e);break;default:Yt(Do(xe),e)}return e}function vv(e,r){for(;--r&&Ze()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return jo(e,Ao()+(r<6&&zt()==32&&Ze()==32))}function fi(e){for(;Ze();)switch(xe){case e:return $e;case 34:case 39:e!==34&&e!==39&&fi(xe);break;case 40:e===41&&fi(e);break;case 92:Ze();break}return $e}function mv(e,r){for(;Ze()&&e+xe!==57;)if(e+xe===84&&zt()===47)break;return"/*"+jo(r,$e-1)+"*"+Do(e===47?e:Ze())}function $s(e){for(;!xr(zt());)Ze();return jo(e,$e)}function Gs(e){return Vs(qo("",null,null,null,[""],e=Ws(e),0,[0],e))}function qo(e,r,t,o,i,n,s,l,u){for(var a=0,c=0,d=s,g=0,f=0,h=0,v=1,b=1,p=1,y=0,k="",w=i,_=n,S=o,C=k;b;)switch(h=y,y=Ze()){case 40:if(h!=108&&Oe(C,d-1)==58){Ms(C+=He(Oo(y),"&","&\f"),"&\f",js(a?l[a-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=Oo(y);break;case 9:case 10:case 13:case 32:C+=hv(h);break;case 92:C+=vv(Ao()-1,7);continue;case 47:switch(zt()){case 42:case 47:Yt(pv(mv(Ze(),Ao()),r,t,u),u),(xr(h||1)==5||xr(zt()||1)==5)&&nt(C)&&yr(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*v:l[a++]=nt(C)*p;case 125*v:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+c:p==-1&&(C=He(C,/\f/g,"")),f>0&&(nt(C)-d||v===0&&h===47)&&Yt(f>32?Ks(C+";",o,t,d-1,u):Ks(He(C," ","")+";",o,t,d-2,u),u);break;case 59:C+=";";default:if(Yt(S=Us(C,r,t,a,c,i,l,k,w=[],_=[],d,n),n),y===123)if(c===0)qo(C,r,S,S,w,n,d,l,_);else{switch(g){case 99:if(Oe(C,3)===110)break;case 108:if(Oe(C,2)===97)break;default:c=0;case 100:case 109:case 115:}c?qo(e,S,S,o&&Yt(Us(e,S,S,0,0,i,l,k,i,w=[],d,_),_),i,_,d,l,o?w:_):qo(C,S,S,S,[""],_,0,l,_)}}a=c=f=0,v=p=1,k=C="",d=s;break;case 58:d=1+nt(C),f=h;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&dv()==125)continue}switch(C+=Do(y),y*v){case 38:p=c>0?1:(C+="\f",-1);break;case 44:l[a++]=(nt(C)-1)*p,p=1;break;case 64:zt()===45&&(C+=Oo(Ze())),g=zt(),c=d=nt(k=C+=$s(Ao())),y++;break;case 45:h===45&&nt(C)==2&&(v=0)}}return n}function Us(e,r,t,o,i,n,s,l,u,a,c,d){for(var g=i-1,f=i===0?n:[""],h=Ls(f),v=0,b=0,p=0;v<o;++v)for(var y=0,k=yr(e,g+1,g=js(b=s[v])),w=e;y<h;++y)(w=Os(b>0?f[y]+" "+k:He(k,/&\f/g,f[y])))&&(u[p++]=w);return Io(e,r,t,i===0?Ro:l,u,a,c,d)}function pv(e,r,t,o){return Io(e,r,t,Is,Do(uv()),yr(e,2,-2),0,o)}function Ks(e,r,t,o,i){return Io(e,r,t,ui,yr(e,0,o),yr(e,o+1,-1),o,i)}function _r(e,r){for(var t="",o=0;o<e.length;o++)t+=r(e[o],o,e,r)||"";return t}function Xs(e,r,t,o){switch(e.type){case As:if(e.children.length)break;case ov:case iv:case ui:return e.return=e.return||e.value;case Is:return"";case av:return e.return=e.value+"{"+_r(e.children,o)+"}";case Ro:if(!nt(e.value=e.props.join(",")))return""}return nt(t=_r(e.children,o))?e.return=e.value+"{"+t+"}":""}function Zs(e){var r=Ls(e);return function(t,o,i,n){for(var s="",l=0;l<r;l++)s+=e[l](t,o,i,n)||"";return s}}function Qs(e){return function(r){r.root||(r=r.return)&&e(r)}}const bv=e=>{switch(e.type){case Ro:if(typeof e.props=="string"){if(process.env.NODE_ENV!=="production")throw new Error(`"element.props" has type "string" (${JSON.stringify(e.props,null,2)}), it's not expected. Please report a bug if it happens.`);return}e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:fv(r).reduce((t,o,i,n)=>{if(o==="")return t;if(o===":"&&n[i+1]==="global"){const s=n[i+2].slice(1,-1)+" ";return t.unshift(s),n[i+1]="",n[i+2]="",t}return t.push(o),t},[]).join(""))}};function Ys(e,r,t){switch(lv(e,r)){case 5103:return ot+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return ot+e+e;case 4215:if(Oe(e,9)===102||Oe(e,r+1)===116)return ot+e+e;break;case 4789:return ro+e+e;case 5349:case 4246:case 6968:return ot+e+ro+e+e;case 6187:if(!qs(e,/grab/))return He(He(He(e,/(zoom-|grab)/,ot+"$1"),/(image-set)/,ot+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,ot+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,ot+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(nt(e)-1-r>6)switch(Oe(e,r+1)){case 102:if(Oe(e,r+3)===108)return He(e,/(.+:)(.+)-([^]+)/,"$1"+ot+"$2-$3$1"+ro+(Oe(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Ms(e,"stretch")?Ys(He(e,"stretch","fill-available"),r)+e:e}break}return e}function Js(e,r,t,o){if(e.length>-1&&!e.return)switch(e.type){case ui:e.return=Ys(e.value,e.length);return;case Ro:if(e.length)return cv(e.props,function(i){switch(qs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _r([di(e,{props:[He(i,/:(read-\w+)/,":"+ro+"$1")]})],o);case"::placeholder":return _r([di(e,{props:[He(i,/:(plac\w+)/,":"+ot+"input-$1")]}),di(e,{props:[He(i,/:(plac\w+)/,":"+ro+"$1")]})],o)}return""})}}function yv(e){switch(e.type){case"@container":case rv:case nv:case As:return!0}return!1}const wv=e=>{yv(e)&&Array.isArray(e.children)&&e.children.sort((r,t)=>r.props[0]>t.props[0]?1:-1)};function kv(){}function xv(e,r){const t=[];return _r(Gs(e),Zs([bv,r?wv:kv,Js,Xs,Qs(o=>t.push(o))])),t}const _v=/,( *[^ &])/g;function Sv(e){return"&"+Fs(e.replace(_v,",&$1"))}function el(e,r,t){let o=r;return t.length>0&&(o=t.reduceRight((i,n)=>`${Sv(n)} { ${i} }`,r)),`${e}{${o}}`}function tl(e,r){const{className:t,selectors:o,property:i,rtlClassName:n,rtlProperty:s,rtlValue:l,value:u}=e,{container:a,layer:c,media:d,supports:g}=r,f=`.${t}`,h=Array.isArray(u)?`${u.map(b=>`${br(i)}: ${b}`).join(";")};`:`${br(i)}: ${u};`;let v=el(f,h,o);if(s&&n){const b=`.${n}`,p=Array.isArray(l)?`${l.map(y=>`${br(s)}: ${y}`).join(";")};`:`${br(s)}: ${l};`;v+=el(b,p,o)}return d&&(v=`@media ${d} { ${v} }`),c&&(v=`@layer ${c} { ${v} }`),g&&(v=`@supports ${g} { ${v} }`),a&&(v=`@container ${a} { ${v} }`),xv(v,!0)}function Bv(e){let r="";for(const t in e){const o=e[t];if(typeof o=="string"||typeof o=="number"){r+=br(t)+":"+o+";";continue}if(Array.isArray(o))for(const i of o)r+=br(t)+":"+i+";"}return r}function rl(e){let r="";for(const t in e)r+=`${t}{${Bv(e[t])}}`;return r}function ol(e,r){const t=`@keyframes ${e} {${r}}`,o=[];return _r(Gs(t),Zs([Xs,Js,Qs(i=>o.push(i))])),o}const Cv={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function nl(e,r){return e.length===0?r:`${e} and ${r}`}function Pv(e){return e.substr(0,6)==="@media"}function Tv(e){return e.substr(0,6)==="@layer"}const Ev=/^(:|\[|>|&)/;function Nv(e){return Ev.test(e)}function zv(e){return e.substr(0,9)==="@supports"}function Rv(e){return e.substring(0,10)==="@container"}function Dv(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const il={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function al(e,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(e.length>0){const t=e[0].trim();if(t.charCodeAt(0)===58)return il[t.slice(4,8)]||il[t.slice(3,5)]||"d"}return"d"}function Mo(e,r){return e&&r+e}function sl(e){return Mo(e.container,"c")+Mo(e.media,"m")+Mo(e.layer,"l")+Mo(e.supports,"s")}function hi(e,r,t){const o=e+sl(t)+r,i=Zt(o),n=i.charCodeAt(0);return n>=48&&n<=57?String.fromCharCode(n+17)+i.slice(1):i}function Lo({property:e,selector:r,salt:t,value:o},i){return oi+Zt(t+r+sl(i)+e+o.trim())}function Fv(e){return e===ni}function gi(e){return e.replace(/>\s+/g,">")}function ll(...e){process.env.NODE_ENV!=="production"&&typeof document<"u"&&console.error(...e)}function Iv(e,r){ll((()=>{const o=JSON.stringify(r,null,2),i=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${o.split(`
48
+ `}),t+="--".concat(this.batchSeparator,"--"),t},e.prototype.extractJSONFromBody=function(r){var t=r.indexOf("{");if(t!==-1){var o=r.substring(t),i=o.lastIndexOf("}")+1;if(i!==-1){var n=o.substring(0,i);try{return JSON.parse(n),n}catch(s){return console.error("Error parsing JSON:",s),null}}else return console.error("End of JSON data not found in the input text."),null}else return console.error("JSON data not found in the input text."),null},e.prototype.processBatchResponse=function(r){var t=this,o=[],i=new Map;this.registeredPromises.forEach(function(n,s){var l=r[s],u=t.extractJSONFromBody(l);t.handleSingleResponse(u,n)}),o.length>0?(this.registeredPromises=i,this.batch=o):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(r,t){var o=r;r?t.resolve({json:function(){return Promise.resolve(JSON.parse(o))},ok:!0,text:function(){return Promise.resolve(o)}}):t.error({json:function(){return Promise.resolve(JSON.parse(o))},ok:!1,text:function(){return Promise.resolve(o)}})},e.maxRetries=5,e}(),as=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},ss=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},dh=function(){function e(r,t,o,i,n){o===void 0&&(o="/api/data/v9.2"),i===void 0&&(i=500),n===void 0&&(n=15);var s=this;this.baseClient=r,this.dataverseEnvUri=t,this.apiPath=o,this.batchWaitTime=i,this.batchSplitThreshold=n,this.promiseIdGenerator=new ch,this.registeredPromises=new Map,this.batch=[],this.generateBatch=function(){return as(s,void 0,void 0,function(){var l,u,a,c,d,g;return ss(this,function(f){switch(f.label){case 0:l=_o.splitToMaxLength(this.batch,this.batchSplitThreshold),u=0,a=l,f.label=1;case 1:return u<a.length?(c=a[u],d=_o.getSubMap(this.registeredPromises,c.map(function(h){return h.id})),g=new is(this.baseClient,this.dataverseEnvUri,this.apiPath,d,c,is.maxRetries),this.batch=[],this.promiseIdGenerator.reset(),this.registeredPromises.clear(),[4,g.executeBatch()]):[3,4];case 2:f.sent(),f.label=3;case 3:return u++,[3,1];case 4:return[2]}})})}}return e.prototype.get=function(r,t){return as(this,void 0,void 0,function(){var o,i,n=this;return ss(this,function(s){return o=this.promiseIdGenerator.getNextId(),i=new Promise(function(l,u){n.batch.length===0&&setTimeout(n.generateBatch,n.batchWaitTime),n.registeredPromises.set(o,{resolve:l,error:u}),n.batch.push({url:r,id:o,method:"GET",headers:t==null?void 0:t.headers})}),[2,i]})})},e.prototype.post=function(r,t){var o=this,i=this.promiseIdGenerator.getNextId(),n=new Promise(function(s,l){o.batch.length===0&&setTimeout(o.generateBatch,o.batchWaitTime),o.registeredPromises.set(i,{resolve:s,error:l}),o.batch.push({url:r,id:i,method:"POST",body:t==null?void 0:t.body,headers:t==null?void 0:t.headers})});return n},e.prototype.patch=function(r,t){return this.baseClient.patch(r,t)},e.prototype.put=function(r,t){return this.baseClient.put(r,t)},e.prototype.delete=function(r){return this.baseClient.delete(r)},e}(),fr=function(){return fr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},fr.apply(this,arguments)},hr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},gr=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},ls={headers:{"content-type":"application/json;odata=nometadata",accept:"application/json;odata=nometadata"}},fh=function(){function e(r,t,o,i,n){i===void 0&&(i=[]),this.spHttpClient=r,this.siteUrl=t,this.listId=o,this.selectedFields=i,this.mapMethod=n,this.pageSize=25,this.orderBy="ID",this.orderDir="DESC",this.lastValue="",this.previousPages=[],this.previousPageIndex=-1,this.currentLink="",this.query="",this.lastId=0,this.lastRow=0,this.allItemsCount=0,this.recursive=!0}return e.prototype.getData=function(){return hr(this,void 0,void 0,function(){var r;return gr(this,function(t){switch(t.label){case 0:return this.previousPageIndex=-1,this.previousPages=[],this.currentLink="".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream?TryNewExperienceSingle=TRUE&Paged=TRUE"),[4,Promise.all([this.getDataWithAPI(this.currentLink),this.getAllItemsCount()])];case 1:return r=t.sent()[0],[2,r]}})})},e.prototype.getAllItemsCount=function(){return hr(this,void 0,void 0,function(){var o,r,t,o,i;return gr(this,function(n){switch(n.label){case 0:return this.query?[3,4]:[4,this.spHttpClient.get("".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')?$select=itemCount"),{headers:{accept:"application/json","content-type":"application/json;odata=verbose"}})];case 1:return o=n.sent(),o.ok?[4,this.getResponse(o)]:[3,3];case 2:r=n.sent(),this.allItemsCount=r.ItemCount,n.label=3;case 3:return[3,7];case 4:return t='<View Scope="RecursiveAll"><Query><Where>'.concat(this.query,"</Where><ViewFields><FieldRef Name='ID' /></ViewFields></Query></View>"),[4,this.spHttpClient.post("".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream"),fr(fr({},ls),{body:JSON.stringify(this.buildPostBody(t))}))];case 5:return o=n.sent(),o.ok?(i=this,[4,this.getResponse(o)]):[3,7];case 6:i.allItemsCount=n.sent().Row.length,n.label=7;case 7:return[2,this.allItemsCount]}})})},e.prototype.setOrder=function(r,t){this.orderBy=r,this.orderDir=t},e.prototype.getCamlQuery=function(){return!this.query&&!this.orderBy?"":"<Query>".concat(this.query?"<Where>".concat(this.query,"</Where>"):"",'<OrderBy><FieldRef Name="').concat(this.orderBy,'" Ascending="').concat(this.orderDir==="ASC"?"TRUE":"FALSE",'"/></OrderBy><ViewFields>').concat(this.selectedFields.map(function(r){return"<FieldRef Name='".concat(r,"' />")}).join(""),"</ViewFields></Query>")},e.prototype.buildPostBody=function(r){return{parameters:{RenderOptions:2,ViewXml:r}}},e.prototype.getQuery=function(){return this.query},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e.prototype.getResponse=function(r){return hr(this,void 0,void 0,function(){return gr(this,function(t){switch(t.label){case 0:return[4,r.json()];case 1:return[2,t.sent()]}})})},e.prototype.getDataWithAPI=function(r){return hr(this,void 0,void 0,function(){var t,o,i;return gr(this,function(n){switch(n.label){case 0:return[4,this.spHttpClient.post(r,fr(fr({},ls),{body:JSON.stringify(this.buildPostBody("<View".concat(this.recursive?' Scope="RecursiveAll"':"",">").concat(this.getCamlQuery(),"<RowLimit>").concat(this.pageSize,"</RowLimit></View>")))}))];case 1:return t=n.sent(),t.ok?[4,this.getResponse(t)]:[3,3];case 2:return o=n.sent(),o.Row.length>0&&(this.lastValue=o.Row[o.Row.length-1][this.orderBy],this.lastValue=this.getLastFieldValue(o.Row),this.lastId=o.Row[o.Row.length-1].ID,this.lastRow=o.LastRow),this.mapMethod?[2,o.Row.map(this.mapMethod)]:[2,o.Row];case 3:return i=Error.bind,[4,t.text()];case 4:throw new(i.apply(Error,[void 0,n.sent()]))}})})},e.prototype.getLastFieldValue=function(r){return r[r.length-1][this.orderBy]},e.prototype.setQuery=function(r){this.query=r},e.prototype.getNextPage=function(){return hr(this,void 0,void 0,function(){var r=this;return gr(this,function(t){return this.previousPages.find(function(o){return o===r.currentLink})?this.previousPageIndex=this.previousPages.findIndex(function(o){return o===r.currentLink}):(this.previousPages.push(this.currentLink),this.previousPageIndex=this.previousPages.length-1),this.currentLink="".concat(this.siteUrl,"/_api/web/lists('").concat(this.listId,"')/RenderListDataAsStream?TryNewExperienceSingle=TRUE&Paged=TRUE&p_").concat(this.orderBy,"=").concat(encodeURIComponent(this.lastValue).toLocaleLowerCase(),"&p_ID=").concat(this.lastId,"&SortField=").concat(this.orderBy,"&SortDir=").concat(this.orderDir==="ASC"?"Asc":"Desc","&PageFirstRow=").concat(this.lastRow+1),[2,this.getDataWithAPI(this.currentLink)]})})},e.prototype.isNextPageAvailable=function(){return this.previousPageIndex+2<=Math.floor(this.allItemsCount/this.pageSize)},e.prototype.getPreviousPage=function(){return hr(this,void 0,void 0,function(){return gr(this,function(r){return this.currentLink=this.previousPages[this.previousPageIndex],this.previousPageIndex--,[2,this.getDataWithAPI(this.currentLink)]})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0},e}(),Vr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},$r=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},hh=function(){function e(r,t,o){o===void 0&&(o=!1),this.graphClient=r,this.resourceQuery=t,this.skipCountCheck=o,this.filterQuery="",this.orderQuery="",this.nextPageLink="",this.previousPages=[],this.previousPageIndex=-1,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return Vr(this,void 0,void 0,function(){var r,t,o,i;return $r(this,function(n){switch(n.label){case 0:return this.skipCountCheck?[2,-1]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.graphClient.get(t)]);case 1:return o=n.sent(),o.ok?(i=parseInt,[4,o.text()]):[3,3];case 2:return[2,i.apply(void 0,[n.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return Vr(this,void 0,void 0,function(){var r,t,o;return $r(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],o=r[1],this.allItemsCount=o,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderBy=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),t},e.prototype.callGraphAPI=function(r){return Vr(this,void 0,void 0,function(){var t,o,i,n;return $r(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return o=s.sent(),i=o.value,this.nextPageLink=o["@odata.nextLink"],[2,i];case 3:return n=Error.bind,[4,t.text()];case 4:throw new(n.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return Vr(this,void 0,void 0,function(){return $r(this,function(r){return this.isNextPageAvailable()?(this.previousPageIndex++,this.previousPages.push(this.nextPageLink),[2,this.callGraphAPI(this.nextPageLink)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.nextPageLink},e.prototype.getPreviousPage=function(){return Vr(this,void 0,void 0,function(){var r,t;return $r(this,function(o){switch(o.label){case 0:return this.isPreviousPageAvailable()?(r=this.previousPages[this.previousPageIndex],[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=o.sent(),this.previousPageIndex--,[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0&&!!this.previousPages[this.previousPageIndex]},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),Nt=function(){return Nt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Nt.apply(this,arguments)},So=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Bo=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Wn=function(){function e(r,t,o){t===void 0&&(t=["listItem"]),o===void 0&&(o=["id","title","url"]),this.graphClient=r,this.entityTypes=t,this.selectFields=o,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1,this.graphSearchEndpoint="https://graph.microsoft.com/beta/search/query"}return e.prototype.setRefiners=function(r){this.requestedRefiners=r||[]},e.prototype.applyRefiners=function(r){this.filters=r||void 0},e.prototype.buildSearchRequest=function(){var r,t={requests:[{entityTypes:this.entityTypes,from:this.currentPage*this.pageSize,to:(this.currentPage+1)*this.pageSize,query:null,sortProperties:null,fields:null,aggregations:this.requestedRefiners,aggregationFilters:((r=this.filters)===null||r===void 0?void 0:r.map(function(o){return"".concat(o.field,":").concat(o.filterValue)}))||void 0,size:this.pageSize}]};return this.getQuery()?(t.requests[0].query={queryString:this.getQuery()},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)):(t.requests[0].query={queryString:"*"},this.queryTemplate&&(t.requests[0].query.queryTemplate=this.queryTemplate)),this.orderColumn&&(t.requests[0].sortProperties=[{name:this.orderColumn,isDescending:this.isDescending}]),this.selectFields&&this.selectFields.length>0&&(t.requests[0].fields=this.selectFields),t},e.prototype.callForData=function(){return So(this,void 0,void 0,function(){var r,t,o,i;return Bo(this,function(n){switch(n.label){case 0:return[4,this.graphClient.post(this.graphSearchEndpoint,{body:JSON.stringify(this.buildSearchRequest()),headers:{accept:"application/json","content-type":"application/json"}})];case 1:return r=n.sent(),r.ok?[4,r.json()]:[3,3];case 2:return t=n.sent(),o=t.value[0].hitsContainers[0],this.allItemsCount=o.total,this.parseAggregations(o),this.allItemsCount>0?[2,o.hits.map(function(s){return Nt(Nt({},s.resource),{type:s.resource["@odata.type"],hitResourceIdId:s.resource.id,hitId:s.hitId,hitRank:s.rank,hitHighlights:s.highlights,hitSummary:s.summary})})]:[2,[]];case 3:return i=Error.bind,[4,r.text()];case 4:throw new(i.apply(Error,[void 0,n.sent()]))}})})},e.prototype.getData=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.currentPage=0,[2,this.callForData()]})})},e.prototype.parseAggregations=function(r){try{this.currentAggregations=r.aggregations.map(function(t){return Nt(Nt({},t),{buckets:t.buckets.map(function(o){return Nt(Nt({},o),{value:o.value,count:o.count})})})})}catch{this.currentAggregations=[]}},e.prototype.setQuery=function(r){this.query=r},e.prototype.getQuery=function(){return this.query},e.prototype.setOrder=function(r,t){this.orderColumn=r,this.isDescending=t==="DESC"},e.prototype.getNextPage=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.isNextPageAvailable()?(this.currentPage++,[2,this.callForData()]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return So(this,void 0,void 0,function(){return Bo(this,function(r){return this.isPreviousPageAvailable()?(this.currentPage--,[2,this.callForData()]):[2,[]]})})},e.prototype.isPreviousPageAvailable=function(){return this.currentPage>0},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.jumpToAPage=function(r){return this.currentPage=r,this.callForData()},e}(),gh=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),Vn=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},$n=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},vh=function(e){gh(r,e);function r(t,o,i){o===void 0&&(o=!0),i===void 0&&(i=!0);var n=e.call(this,t,"https://graph.microsoft.com/v1.0/me/people",!0)||this;return n.loadPresence=o,n.loadPhoto=i,n.personTypeClass="Person",n.pageSize=7,n}return r.prototype.callGraphAPI=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,e.prototype.callGraphAPI.call(this,t)];case 1:return o=n.sent(),i=[],this.loadPresence&&i.push.apply(i,o.map(this.appendPresence.bind(this))),this.loadPhoto&&i.push.apply(i,o.map(this.appendPhoto.bind(this))),i.length>0?[4,Promise.all(i)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2,o]}})})},r.prototype.appendPresence=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("v1.0/users/".concat(t.id,"/presence"))];case 1:return o=n.sent(),o.ok?(i=t,[4,o.json()]):[3,3];case 2:i.presence=n.sent(),n.label=3;case 3:return[2]}})})},r.prototype.appendPhoto=function(t){return Vn(this,void 0,void 0,function(){var o,i;return $n(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("/v1.0/users/".concat(t.id,"/photo/$value"))];case 1:return o=n.sent(),o.ok?(i=t,[4,o.text()]):[3,3];case 2:i.photo=n.sent(),n.label=3;case 3:return[2]}})})},r.prototype.buildInitialQuery=function(){var t=this.getQuery(),o="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(o+="&$orderBy=".concat(this.orderQuery)),t&&(o+="&$search=".concat(t)),this.personTypeClass&&(o+="&$filter=personType/class eq '".concat(this.personTypeClass,"'")),o},r}(hh),Gr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Ur=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},mh=function(){function e(r,t,o,i,n){o===void 0&&(o=!1),i===void 0&&(i=""),n===void 0&&(n=""),this.apiClient=r,this.resourceQuery=t,this.skipCountCheck=o,this.expandQuery=i,this.selectQuery=n,this.filterQuery="",this.orderQuery="",this.previousPages=new Map,this.currentPage=0,this.pageSize=25,this.allItemsCount=-1}return e.prototype.getAllItemsCount=function(){return Gr(this,void 0,void 0,function(){var r,t,o,i;return Ur(this,function(n){switch(n.label){case 0:return this.skipCountCheck?[2,1/0]:(r=this.getQuery(),t="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(t+="?$filter=".concat(r)),[4,this.apiClient.get(t)]);case 1:return o=n.sent(),o.ok?(i=parseInt,[4,o.text()]):[3,3];case 2:return[2,i.apply(void 0,[n.sent(),10])];case 3:return[2]}})})},e.prototype.getData=function(){return Gr(this,void 0,void 0,function(){var r,t,o;return Ur(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return r=i.sent(),t=r[0],o=r[1],this.allItemsCount=o,[2,t]}})})},e.prototype.buildInitialQuery=function(){var r=this.getQuery(),t="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(t+="&$orderby=".concat(this.orderQuery)),r&&(t+="&$filter=".concat(r)),this.expandQuery&&(t+="&$expand=".concat(this.expandQuery)),this.selectQuery&&(t+="&$select=".concat(this.selectQuery)),t},e.prototype.callGraphAPI=function(r){return Gr(this,void 0,void 0,function(){var t,o,i,n;return Ur(this,function(s){switch(s.label){case 0:return[4,this.apiClient.get(r)];case 1:return t=s.sent(),t.ok?[4,t.json()]:[3,3];case 2:return o=s.sent(),i=o.value,this.previousPages.set(this.currentPage+1,o["@odata.nextLink"]),[2,i];case 3:return n=Error.bind,[4,t.text()];case 4:throw new(n.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(r){this.filterQuery=r},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(r,t){this.orderQuery="".concat(r," ").concat(t.toLocaleLowerCase())},e.prototype.getNextPage=function(){return Gr(this,void 0,void 0,function(){var r;return Ur(this,function(t){return this.isNextPageAvailable()?(this.currentPage++,r=this.previousPages.get(this.currentPage),r||(r=this.buildInitialQuery(),r+="&$skip="+this.currentPage*this.pageSize),[2,this.callGraphAPI(r)]):[2,[]]})})},e.prototype.isNextPageAvailable=function(){return!!this.previousPages.get(this.currentPage+1)||(this.currentPage+1)*this.pageSize<this.allItemsCount},e.prototype.getPreviousPage=function(){return Gr(this,void 0,void 0,function(){var r,t;return Ur(this,function(o){switch(o.label){case 0:return this.isPreviousPageAvailable()?(this.currentPage--,r=this.previousPages.get(this.currentPage),r||(r=this.buildInitialQuery(),this.currentPage*this.pageSize>0&&(r+="&$skip="+this.currentPage*this.pageSize)),[4,this.callGraphAPI(r)]):[2,[]];case 1:return t=o.sent(),[2,t]}})})},e.prototype.isPreviousPageAvailable=function(){return this.currentPage>0},e.prototype.getCurrentPage=function(){return this.currentPage},e}(),ph=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},bh=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},yh=function(){function e(r,t,o,i,n){i===void 0&&(i=""),n===void 0&&(n=12),this.graphClient=r,this.dataSource=t,this.resourceMetadata=o,this.filterExpresssion=i,this.maximumNumberOfResults=n}return e.prototype.getData=function(r){return ph(this,void 0,void 0,function(){var t,o;return bh(this,function(i){switch(i.label){case 0:return[4,this.graphClient.post("https://graph.microsoft.com/beta/copilot/retrieval",{headers:{accept:"application/json","content-type":"application/json"},body:JSON.stringify({queryString:r,dataSource:this.dataSource,resourceMetadata:this.resourceMetadata,maximumNumberOfResults:this.maximumNumberOfResults,filterExpresssion:this.filterExpresssion})})];case 1:if(t=i.sent(),!t.ok)throw new Error(t.statusText);return[4,t.json()];case 2:return o=i.sent(),[2,o.retrievalHits]}})})},e}(),wh=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),cs=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},us=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},kh=function(e){wh(r,e);function r(t,o,i,n,s){n===void 0&&(n=""),s===void 0&&(s="");var l=e.call(this,t,"".concat(o,"/api/data/v9.0/").concat(i),!1,n,s)||this;return l.dataverseEnv=o,l.tableName=i,l}return r.prototype.getData=function(){return cs(this,void 0,void 0,function(){var t;return us(this,function(o){switch(o.label){case 0:return[4,this.callGraphAPI(this.buildInitialQuery())];case 1:return t=o.sent(),[2,t]}})})},r.prototype.buildInitialQuery=function(){var t=this.getQuery(),o=new URL(this.resourceQuery);return this.orderQuery&&o.searchParams.set("$orderby",this.orderQuery),t&&o.searchParams.set("$filter",t),this.expandQuery&&o.searchParams.set("$expand",this.expandQuery),this.selectQuery&&o.searchParams.set("$select",this.selectQuery),o.searchParams.set("$count","true"),o.toString()},r.prototype.callGraphAPI=function(t){return cs(this,void 0,void 0,function(){var o,i,n,s;return us(this,function(l){switch(l.label){case 0:return[4,this.apiClient.get(t,{headers:{Prefer:"odata.maxpagesize=".concat(this.pageSize),"OData-MaxVersion":"4.0","OData-Version":"4.0",accept:"application/json"}})];case 1:return o=l.sent(),o.ok?[4,o.json()]:[3,3];case 2:return i=l.sent(),n=i.value,this.previousPages.set(this.currentPage+1,i["@odata.nextLink"]),this.allItemsCount=i["@odata.count"],[2,n];case 3:return s=Error.bind,[4,o.text()];case 4:throw new(s.apply(Error,[void 0,l.sent()]))}})})},r}(mh),xh=function(e,r,t,o){var i=arguments.length,n=i<3?r:o===null?o=Object.getOwnPropertyDescriptor(r,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(r,t,n):s(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n},Kr=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Xr=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){t===void 0&&(t=!0);var o=this;this.config=r,this.usePopup=t,this.resourceTokenMap=new Map,this.resourceScopeMap=new Map,this.cacheService=new An,this.getCodeFromLoginWindow=function(i,n){try{var s=new URLSearchParams(i==null?void 0:i.location.search),l=s.get("code");l?(n(l),i.close()):i&&setTimeout(function(){return o.getCodeFromLoginWindow(i,n)})}catch{i&&setTimeout(function(){return o.getCodeFromLoginWindow(i,n)},1e3)}},this.config.tenantId=r.tenantId||"common",this.config.redirectUri=r.redirectUri||window.location.origin,this.getCodeVerifier(),this.state=rs(108)}return e.prototype.getCodeVerifier=function(){this.cacheService.get("msal.codeVerifier")?this.codeVerifier=this.cacheService.get("msal.codeVerifier"):this.codeVerifier=rs(43)},e.prototype.buildLoginUrl=function(r){var t=new URL("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/authorize"));return t.searchParams.append("client_id",this.config.clientId),t.searchParams.append("scope","".concat(r,"/.default openid profile offline_access")),t.searchParams.append("redirect_uri",this.config.redirectUri),t.searchParams.append("client-request-id",uh()),t.searchParams.append("response_mode","query"),t.searchParams.append("response_type","code"),t.searchParams.append("code_challenge",this.codeVerifier),t.searchParams.append("code_challenge_method","plain"),t.searchParams.append("prompt","select_account"),t.searchParams.append("client_info","1"),t.searchParams.append("nonce","8a9afd0b-47f6-4678-9289-1b1bf5bfa20f"),t.searchParams.append("state",this.state),t.toString()},e.prototype.loginUser=function(r){return Kr(this,void 0,void 0,function(){var t,o,i,n,s,l,u,a=this;return Xr(this,function(c){switch(c.label){case 0:return t=this.buildLoginUrl(r),o="",this.usePopup?(i=window.open(t,"login","width=600,height=600"),i?[4,new Promise(function(d,g){return a.getCodeFromLoginWindow(i,function(f){o=f,d()})})]:[3,2]):[3,3];case 1:c.sent(),c.label=2;case 2:return[3,4];case 3:if(n=new URLSearchParams(window.location.search),s=n.get("code"),l=n.get("error"),s)return this.cacheService.remove("msal.codeVerifier"),o=s,u=new URL(window.location.href),u.searchParams.delete("code"),u.searchParams.delete("state"),u.searchParams.delete("error"),u.searchParams.delete("client_info"),u.searchParams.delete("expires_in"),u.searchParams.delete("ext_expires_in"),u.searchParams.delete("session_state"),window.history.replaceState({},"",u.toString()),[2,o];if(l)throw u.searchParams.delete("error"),new Error(l);this.cacheService.set("msal.codeVerifier",this.codeVerifier),window.location.href=t,c.label=4;case 4:return[2,o]}})})},e.prototype.getAccessTokenFromCode=function(r,t){return Kr(this,void 0,void 0,function(){var o,i,n,s,l;return Xr(this,function(u){switch(u.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),redirect_uri:this.config.redirectUri,grant_type:"authorization_code",code:t,code_verifier:this.codeVerifier})})];case 1:return o=u.sent(),o.ok?[4,o.json()]:[3,3];case 2:return i=u.sent(),[2,i];case 3:return s=(n=console).log,l=["Unable to get access token from code",o.status,o.statusText],[4,o.text()];case 4:throw s.apply(n,l.concat([u.sent()])),new Error("Unable to get access token from code")}})})},e.prototype.getAccessTokenFromRefreshToken=function(r,t){return Kr(this,void 0,void 0,function(){var o,i,n,s;return Xr(this,function(l){switch(l.label){case 0:return[4,fetch("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",accept:"application/json"},body:new URLSearchParams({client_id:this.config.clientId,scope:"".concat(r,"/.default openid profile offline_access"),grant_type:"refresh_token",refresh_token:t})})];case 1:return o=l.sent(),o.ok?[4,o.json()]:[3,3];case 2:return i=l.sent(),[2,i];case 3:return l.trys.push([3,5,,7]),[4,o.json()];case 4:return n=l.sent(),n.error_codes&&n.error_codes.length>0&&n.error_codes[0]===700084&&(this.cacheService.remove("msal.".concat(this.config.clientId,".").concat(r,".authResult")),this.resourceTokenMap.has(r)&&this.resourceTokenMap.delete(r)),[2,this.getAuthResult(r)];case 5:return l.sent(),[4,o.text()];case 6:throw s=l.sent(),new Error(s);case 7:return[2]}})})},e.prototype.getAuthResult=function(r){return Kr(this,void 0,void 0,function(){var t,o;return Xr(this,function(i){switch(i.label){case 0:if(t=this.cacheService.get("msal.".concat(this.config.clientId,".").concat(r,".authResult")),!t)return[3,2];try{if(Ya.isTokenValid(t.access_token))return[2,t]}catch{console.log("Unable to verify token validity")}return t.refresh_token?[4,this.getAccessTokenFromRefreshToken(r,t.refresh_token)]:[3,2];case 1:return t=i.sent(),this.resourceTokenMap.set(r,t.access_token),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),[2,t];case 2:return[4,this.loginUser(r)];case 3:return o=i.sent(),[4,this.getAccessTokenFromCode(r,o)];case 4:return t=i.sent(),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(r,".authResult"),t),this.resourceTokenMap.set(r,t.access_token),[2,t]}})})},e.prototype.getAccessToken=function(r){return Kr(this,void 0,void 0,function(){var t,o;return Xr(this,function(i){switch(i.label){case 0:return t=this.resourceTokenMap.get(r),t&&Ya.isTokenValid(t)?[2,t]:[4,this.getAuthResult(r)];case 1:return o=i.sent(),[2,o.access_token]}})})},xh([jn("msal-access-token-{0}")],e.prototype,"getAccessToken",null),e})();var ds=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},fs=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},vr={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65},_h=function(){function e(r,t){this.spHttpClient=r,this.siteUrl=t}return e.hasPermission=function(r,t){if(t===65)return(r.High&32767)===32767&&r.Low===65535;var o=t-1,i=1;return o>0&&o<32?(i=i<<o,(r.Low&i)!==0):o>=32&&o<64?(i=i<<o-32,(r.High&i)!==0):!1},e.prototype.checkUserPermissions=function(r,t){return ds(this,void 0,void 0,function(){var o,i,n,s,l,u;return fs(this,function(a){switch(a.label){case 0:return o="".concat(this.siteUrl,"/_api/web").concat(t||"","/getUserEffectivePermissions('").concat(encodeURIComponent("i:0#.f|membership|"+r),"')"),[4,this.spHttpClient.get(o,{headers:{accept:"application/json"}})];case 1:return i=a.sent(),[4,i.json()];case 2:n=a.sent(),s=[];for(l in vr)u=e.hasPermission(n,vr[l]),u&&s.push(l);return[2,s]}})})},e.prototype.checkCurrentUserPermissions=function(r){return ds(this,void 0,void 0,function(){var t,o,i,n,s,l;return fs(this,function(u){switch(u.label){case 0:return t="".concat(this.siteUrl,"/_api/web/").concat(r,"/EffectiveBasePermission"),[4,this.spHttpClient.get(t,{headers:{accept:"application/json"}})];case 1:return o=u.sent(),[4,o.json()];case 2:i=u.sent(),n=[];for(s in vr)l=e.hasPermission(i,vr[s]),l&&n.push(s);return[2,n]}})})},e}(),mr=function(){return mr=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},mr.apply(this,arguments)},Sh=function(e,r,t,o){var i=arguments.length,n=i<3?r:o===null?o=Object.getOwnPropertyDescriptor(r,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(r,t,n):s(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n},Bh=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},Ch=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};(function(){function e(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new An}return e.prototype.getUser=function(r,t){return t===void 0&&(t="48x48"),Bh(this,void 0,void 0,function(){var o,i,n,f,s,l,u,a,c,d,v,g,f,h,b,v,b;return Ch(this,function(p){switch(p.label){case 0:return o=r,r&&r.indexOf("@")>-1?(i="/users/".concat(r,"?$select=id"),[4,this.graphClient.get(i)]):[3,3];case 1:return n=p.sent(),n.status===404?[2,null]:[4,n.json()];case 2:f=p.sent(),o=f.id,p.label=3;case 3:return s=this.storageService.get(this.key+r),l=s==null?void 0:s.data,u=o?"/users/".concat(o):"/me",!l||s.expiration<new Date().getTime()?[4,Promise.all([this.graphClient.get(u+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(u+"/photos/".concat(t,"/$value")),this.graphClient.get(u+"/presence")])]:[3,6];case 4:return a=p.sent(),c=a[0],d=a[1],v=a[2],[4,Promise.all([c.json(),d.text(),v.json()])];case 5:return g=p.sent(),f=g[0],h=g[1],b=g[2],l=mr(mr({},f),{photo:"data:image/png;base64,".concat(h.replace('"',"").replace('"',"")),presence:b}),this.storageService.set(this.key+r,{data:l,expiration:new Date().getTime()+this.cacheExpiration}),[3,9];case 6:return this.updatePresence?[4,this.graphClient.get(u+"/presence")]:[3,9];case 7:return v=p.sent(),[4,v.json()];case 8:b=p.sent(),l=mr(mr({},l),{presence:b}),this.storageService.set(this.key+r,{data:l,expiration:new Date().getTime()+this.cacheExpiration}),p.label=9;case 9:return[2,l]}})})},Sh([jn("getUser-{0}")],e.prototype,"getUser",null),e})();var hs=function(e,r,t,o){function i(n){return n instanceof t?n:new t(function(s){s(n)})}return new(t||(t=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(d){s(d)}}function u(c){try{a(o.throw(c))}catch(d){s(d)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,r||[])).next())})},gs=function(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(c){return u([a,c])}}function u(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(c){a=[6,c],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Ph=function(){function e(r,t){this.searchClient=r,this.managedProperties=t,this.comparers=[":","=","<",">","<=",">="],this.queryTemplate=""}return e.prototype.getSuggestions=function(r){var t;return hs(this,void 0,void 0,function(){var o,i,n,s,u,l,u,a,c,d,g,f,h;return gs(this,function(v){switch(v.label){case 0:return o=r.split(" "),i=o[o.length-1],n=this.comparers.find(function(b){return i.indexOf(b)>0}),s=!0,n&&(u=i.split(n),i=u[u.length-1],s=!1),s?(l=this.managedProperties.filter(function(b){return b.toLocaleLowerCase().indexOf(i.toLowerCase())>=0}),[2,{value:l,areSuggestionsProps:!0}]):[3,1];case 1:return i=o[o.length-1],this.searchClient.pageSize=10,u=i.split(n),a=u[0],this.searchClient.selectFields=[a],this.searchClient.setRefiners([{field:"ManagedProperties",size:1,bucketDefinition:{sortBy:"count",isDescending:!0,minimumCount:1e3}}]),this.searchClient.setQuery(r+"*"),[4,this.searchClient.getData()];case 2:if(c=v.sent(),d=(t=c[0])===null||t===void 0?void 0:t.fields,d){g=a;for(f in d)f.toLocaleLowerCase()===a.toLocaleLowerCase()&&(g=f);return h=c.map(function(b){return b.fields[g]}),[2,{value:h.filter(function(b,p){return h.indexOf(b)===p}),areSuggestionsProps:!1}]}return[2,{value:[],areSuggestionsProps:!1}]}})})},e}(),Th=function(){function e(r){this.graphClient=r}return e.prototype.withClient=function(r){return this.graphClient=r,this},e.prototype.withManagedPropertiesRelatedQuery=function(r){return this.query=r,this},e.prototype.build=function(){return hs(this,void 0,void 0,function(){var r,t,o;return gs(this,function(i){switch(i.label){case 0:return this.searchClient||(this.searchClient=new Wn(this.graphClient,["listItem"],["ID"])),this.searchClient.setRefiners([{field:"ManagedProperties",size:1e3,bucketDefinition:{sortBy:"count",isDescending:!0,minimumCount:1}}]),this.searchClient.setQuery(this.query||"*"),this.searchClient.pageSize=1,[4,this.searchClient.getData()];case 1:return i.sent(),r=this.searchClient.currentAggregations.find(function(n){return n.field==="ManagedProperties"}),t=r.buckets.map(function(n){return n.key}),o=new Ph(this.searchClient,t),this.query&&(o.queryTemplate="{searchTerms} AND ".concat(this.query)),[2,o]}})})},e}();const Gn=m.createContext({graphClient:new dr}),Ve=()=>m.useContext(Gn),Eh=e=>{const{authProvider:r}=xo(),t=()=>{if(e.graphClient)return e.graphClient;if(r)return new lh(new Hn(r,new dr))},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.graphClient,r]),o&&P.jsx(Gn.Provider,{value:{graphClient:o},children:e.children})},Un=m.createContext({spClient:new dr,siteUrl:""}),Kn=()=>m.useContext(Un),Nh=e=>{const{authProvider:r}=xo(),t=()=>{if(e.spClient)return e.spClient;if(r){let n=new Hn(r,new dr);return n.resourceUri=new URL(e.siteUrl).origin,n}},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.spClient,r]),o&&P.jsx(Un.Provider,{value:{spClient:o,siteUrl:e.siteUrl},children:e.children})},Xn=m.createContext({dataverseClient:new dr}),vs=()=>m.useContext(Xn),zh=e=>{const{authProvider:r}=xo(),t=()=>{if(e.dataverseClient)return e.dataverseClient;if(r){let n=new Hn(r,new dr);return n.resourceUri=e.dataverseResource,e.autoBatch&&(n=new dh(n,e.dataverseResource,e.apiPath,500)),n}},[o,i]=m.useState(t());return m.useEffect(()=>{i(t())},[e.dataverseClient,r]),o&&P.jsx(Xn.Provider,{value:{dataverseClient:o,dataverseResource:e.dataverseResource},children:e.children})},Rh=["Top","Right","Bottom","Left"];function Zr(e,r,...t){const[o,i=o,n=o,s=i]=t,l=[o,i,n,s],u={};for(let a=0;a<l.length;a+=1)if(l[a]||l[a]===0){const c=e+Rh[a]+r;u[c]=l[a]}return u}function Zn(...e){return Zr("border","Width",...e)}function Qn(...e){return Zr("border","Style",...e)}function Yn(...e){return Zr("border","Color",...e)}const Dh=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function Qr(e){return Dh.includes(e)}function Fh(...e){return Qr(e[0])?Object.assign({},Qn(e[0]),e[1]&&Zn(e[1]),e[2]&&Yn(e[2])):Object.assign({},Zn(e[0]),e[1]&&Qn(e[1]),e[2]&&Yn(e[2]))}function Ih(...e){return Qr(e[0])?Object.assign({borderLeftStyle:e[0]},e[1]&&{borderLeftWidth:e[1]},e[2]&&{borderLeftColor:e[2]}):Object.assign({borderLeftWidth:e[0]},e[1]&&{borderLeftStyle:e[1]},e[2]&&{borderLeftColor:e[2]})}function Ah(...e){return Qr(e[0])?Object.assign({borderBottomStyle:e[0]},e[1]&&{borderBottomWidth:e[1]},e[2]&&{borderBottomColor:e[2]}):Object.assign({borderBottomWidth:e[0]},e[1]&&{borderBottomStyle:e[1]},e[2]&&{borderBottomColor:e[2]})}function jh(...e){return Qr(e[0])?Object.assign({borderRightStyle:e[0]},e[1]&&{borderRightWidth:e[1]},e[2]&&{borderRightColor:e[2]}):Object.assign({borderRightWidth:e[0]},e[1]&&{borderRightStyle:e[1]},e[2]&&{borderRightColor:e[2]})}function Oh(...e){return Qr(e[0])?Object.assign({borderTopStyle:e[0]},e[1]&&{borderTopWidth:e[1]},e[2]&&{borderTopColor:e[2]}):Object.assign({borderTopWidth:e[0]},e[1]&&{borderTopStyle:e[1]},e[2]&&{borderTopColor:e[2]})}function qh(e,r=e,t=e,o=r){return{borderBottomRightRadius:t,borderBottomLeftRadius:o,borderTopRightRadius:r,borderTopLeftRadius:e}}const Mh=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),Co=e=>typeof e=="number"&&!Number.isNaN(e),Lh=e=>e==="initial",ms=e=>e==="auto",Hh=e=>e==="none",Wh=["content","fit-content","max-content","min-content"],Jn=e=>Wh.some(r=>e===r)||Mh(e);function Vh(...e){const r=e.length===1,t=e.length===2,o=e.length===3;if(r){const[i]=e;if(Lh(i))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(ms(i))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(Hh(i))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Co(i))return{flexGrow:i,flexShrink:1,flexBasis:0};if(Jn(i))return{flexGrow:1,flexShrink:1,flexBasis:i}}if(t){const[i,n]=e;if(Co(n))return{flexGrow:i,flexShrink:n,flexBasis:0};if(Jn(n))return{flexGrow:i,flexShrink:1,flexBasis:n}}if(o){const[i,n,s]=e;if(Co(i)&&Co(n)&&(ms(s)||Jn(s)))return{flexGrow:i,flexShrink:n,flexBasis:s}}return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.flex did not match any flex property specs. The CSS styles were not generated. Please, check the flex documentation."),{}}function $h(e,r=e){return{columnGap:e,rowGap:r}}const Gh=/var\(.*\)/gi;function Uh(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!Gh.test(e)}const Kh=/^[a-zA-Z0-9\-_\\#;]+$/,Xh=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function ei(e){return e!==void 0&&typeof e=="string"&&Kh.test(e)&&!Xh.test(e)}function Zh(...e){if(e.some(n=>!Uh(n)))return process.env.NODE_ENV!=="production"&&console.error("The value passed to shorthands.gridArea() did not match any gridArea property specs. The CSS styles were not generated. Please, check the gridArea documentation.",["The value passed to shorthands.gridArea() did not match any gridArea property specs. ",`The CSS styles were not generated.
49
+ `,"Please, check the `grid-area` documentation:\n","- https://developer.mozilla.org/docs/Web/CSS/grid-area","- https://griffel.js.org/react/api/shorthands#shorthandsgridarea"].join("")),{};const r=e[0]!==void 0?e[0]:"auto",t=e[1]!==void 0?e[1]:ei(r)?r:"auto",o=e[2]!==void 0?e[2]:ei(r)?r:"auto",i=e[3]!==void 0?e[3]:ei(t)?t:"auto";return{gridRowStart:r,gridColumnStart:t,gridRowEnd:o,gridColumnEnd:i}}function Qh(...e){return Zr("margin","",...e)}function Yh(e,r=e){return{marginBlockStart:e,marginBlockEnd:r}}function Jh(e,r=e){return{marginInlineStart:e,marginInlineEnd:r}}function eg(...e){return Zr("padding","",...e)}function tg(e,r=e){return{paddingBlockStart:e,paddingBlockEnd:r}}function rg(e,r=e){return{paddingInlineStart:e,paddingInlineEnd:r}}function og(e,r=e){return{overflowX:e,overflowY:r}}function ng(...e){const[r,t=r,o=r,i=t]=e;return{top:r,right:t,bottom:o,left:i}}function ig(e,r,t){return Object.assign({outlineWidth:e},r&&{outlineStyle:r},t&&{outlineColor:t})}function ag(...e){return lg(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:cg(e).reduce((t,[o,i="0s",n="0s",s="ease"],l)=>(l===0?(t.transitionProperty=o,t.transitionDuration=i,t.transitionDelay=n,t.transitionTimingFunction=s):(t.transitionProperty+=`, ${o}`,t.transitionDuration+=`, ${i}`,t.transitionDelay+=`, ${n}`,t.transitionTimingFunction+=`, ${s}`),t),{})}const sg=["-moz-initial","inherit","initial","revert","unset"];function lg(e){return e.length===1&&sg.includes(e[0])}function cg(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function ug(e,...r){if(r.length===0)return fg(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[t,o,i]=r;return Object.assign({textDecorationLine:e},t&&{textDecorationStyle:t},o&&{textDecorationColor:o},i&&{textDecorationThickness:i})}const dg=["dashed","dotted","double","solid","wavy"];function fg(e){return dg.includes(e)}const ti=typeof window>"u"?global:window,ri="@griffel/";function ps(e,r){return ti[Symbol.for(ri+e)]||(ti[Symbol.for(ri+e)]=r),ti[Symbol.for(ri+e)]}const Po=ps("DEBUG_RESET_CLASSES",{}),Yr=ps("DEFINITION_LOOKUP_TABLE",{}),Jr="data-make-styles-bucket",hg="data-priority",oi="f",gg="r",eo=7,ft="___",bs="_",ys=process.env.NODE_ENV==="production"?ft.length+eo:ft.length+eo+bs.length+eo,vg=0,ws=1,mg={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},ni="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Zt(e){for(var r=0,t,o=0,i=e.length;i>=4;++o,i-=4)t=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(e.charCodeAt(o+2)&255)<<16;case 2:r^=(e.charCodeAt(o+1)&255)<<8;case 1:r^=e.charCodeAt(o)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function ii(e){const r=e.length;if(r===eo)return e;for(let t=r;t<eo;t++)e+="0";return e}function ks(e,r,t=[]){return process.env.NODE_ENV==="production"?ft+ii(Zt(e+r)):ft+ii(Zt(e+r))+bs+ii(Zt(t.join("")))}function xs(e,r){let t="",o="";for(const i in e){const n=e[i];if(n===0){o+=i+" ";continue}const s=Array.isArray(n),l=r==="rtl"?(s?n[1]:n)+" ":(s?n[0]:n)+" ";t+=l,o+=l}return[t.slice(0,-1),o.slice(0,-1)]}function To(e,r){const t={};for(const o in e){const[i,n]=xs(e[o],r);if(n===""){t[o]="";continue}const s=ks(n,r),l=s+(i===""?"":" "+i);Yr[s]=[e[o],r],t[o]=l}return t}const Eo={};function E(){let e=null,r="",t="";const o=new Array(arguments.length);let i="";for(let g=0;g<arguments.length;g++){const f=arguments[g];if(typeof f=="string"&&f!==""){const h=f.indexOf(ft);if(h===-1)process.env.NODE_ENV!=="production"&&f.split(" ").forEach(v=>{v.startsWith(gg)&&Po[v]&&(i?console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${f} & ${r}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
50
+ Source string: ${f}`):i=v)}),r+=f+" ";else{const v=f.substr(h,ys);h>0&&(r+=f.slice(0,h)),t+=v,o[g]=v}process.env.NODE_ENV!=="production"&&f.indexOf(ft,h+1)!==-1&&console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${ft}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${f}`)}}if(t==="")return r.slice(0,-1);const n=Eo[t];if(n!==void 0)return r+n;const s=[];for(let g=0;g<arguments.length;g++){const f=o[g];if(f){const h=Yr[f];h?(s.push(h[vg]),process.env.NODE_ENV!=="production"&&e!==null&&e!==h[ws]&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${h[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[g]}`),e=h[ws]):process.env.NODE_ENV!=="production"&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that does not match any entry in cache. Source string: ${arguments[g]}`)}}const l=Object.assign.apply(Object,[{}].concat(s)),[u,a]=xs(l,e),c=ks(a,e,o),d=c+" "+u;return Eo[t]=d,Yr[c]=[l,e],r+d}const _s={},Ss=new Set,Qt={getChildrenSequences:e=>{const r=Object.keys(Eo).find(t=>Eo[t].startsWith(e));return r?r.split(ft).filter(t=>t.length).map(t=>ft+t):[]},addCSSRule:e=>{Ss.add(e)},addSequenceDetails:(e,r)=>{Object.entries(e).forEach(([t,o])=>{_s[o.substring(0,ys)]={slotName:t,sourceURL:r}})},getCSSRules:()=>Array.from(Ss),getSequenceDetails:e=>_s[e]};function Bs(e,r){return Array.isArray(e)?r==="rtl"?e[1]:e[0]:e||""}function pg(e,r,t,o){const i=e[0],n=e[1];return Object.entries(i).map(([s,l])=>{const u=Bs(l,n);let a;if(t&&r){const c=t.find(({className:d})=>d===u);!c&&r[0][s]?a=Bs(r[0][s],r[1]):c&&r[0][s]?a=(o?o.filter(({debugClassNames:g})=>g.filter(({className:f})=>f===u).length>0).length>0:!1)?c.className:c.overriddenBy:(!c&&!r[0][s]||c&&!r[0][s])&&(a=void 0)}return{className:u,overriddenBy:a}})}function Cs(e,r){const t=Yr[e];if(t===void 0)return;const o=r?Yr[r.sequenceHash]:void 0,i=pg(t,o,r==null?void 0:r.debugClassNames,r==null?void 0:r.children),n={sequenceHash:e,direction:t[1],children:[],debugClassNames:i};return Qt.getChildrenSequences(n.sequenceHash).reverse().forEach(l=>{const u=Cs(l,n);u&&n.children.push(u)}),n.children.length||(n.rules={},n.debugClassNames.forEach(({className:l})=>{const u=Qt.getSequenceDetails(e);u&&(n.slot=u.slotName,n.sourceURL=u.sourceURL);const a=Qt.getCSSRules().find(c=>c.includes(l));n.rules[l]=a})),n}function bg(e){if(Po[e]===void 0)return;const o={sequenceHash:e,direction:"ltr",children:[],debugClassNames:[{className:e}]};o.rules={},o.slot="makeResetStyles()";const[{className:i}]=o.debugClassNames,n=Qt.getCSSRules().filter(s=>s.includes(`.${i}`));return o.rules[i]=n.join(""),o}function yg(e,r){const t=e?Cs(e):void 0,o=r?bg(r):void 0;return!t&&!o?void 0:t?o?{sequenceHash:t.sequenceHash+o.sequenceHash,direction:t.direction,children:[t,o],debugClassNames:[...t.debugClassNames,...o.debugClassNames]}:t:o}function wg(e){const r=e.defaultView;if(!r||r.__GRIFFEL_DEVTOOLS__)return;const t={getInfo:o=>{let i,n;for(const s of o.classList)s.startsWith(ft)&&(i=s),Po[s]&&(n=s);return yg(i,n)}};Object.defineProperty(r,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return t}})}const pr=(()=>{var e;try{return!!(typeof window<"u"&&(!((e=window.sessionStorage)===null||e===void 0)&&e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function kg(e){if(!Array.isArray(e))return[e];if(process.env.NODE_ENV!=="production"&&e.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return e}function xg(e,r,t,o){const i=[];if(o[Jr]=r,o[hg]=String(t),e)for(const s in o)e.setAttribute(s,o[s]);function n(s){return e!=null&&e.sheet?e.sheet.insertRule(s,e.sheet.cssRules.length):i.push(s)}return{elementAttributes:o,insertRule:n,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(s=>s.cssText):i}}}const Ps=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,r,t)=>(e[r]=t,e),{});function _g(e,r,t){return(e==="m"?e+r:e)+t}function Sg(e,r,t,o,i={}){var n,s;const l=e==="m",u=(n=i.m)!==null&&n!==void 0?n:"0",a=(s=i.p)!==null&&s!==void 0?s:0,c=_g(e,u,a);if(!o.stylesheets[c]){const d=r&&r.createElement("style"),g=xg(d,e,a,Object.assign({},o.styleElementAttributes,l&&{media:u}));o.stylesheets[c]=g,r!=null&&r.head&&d&&r.head.insertBefore(d,Cg(r,t,e,o,i))}return o.stylesheets[c]}function Bg(e,r,t){var o,i;const n=r+((o=t.m)!==null&&o!==void 0?o:""),s=e.getAttribute(Jr)+((i=e.media)!==null&&i!==void 0?i:"");return n===s}function Cg(e,r,t,o,i={}){var n,s;const l=Ps[t],u=(n=i.m)!==null&&n!==void 0?n:"",a=(s=i.p)!==null&&s!==void 0?s:0;let c=v=>l-Ps[v.getAttribute(Jr)],d=e.head.querySelectorAll(`[${Jr}]`);if(t==="m"){const v=e.head.querySelectorAll(`[${Jr}="${t}"]`);v.length&&(d=v,c=b=>o.compareMediaQueries(u,b.media))}const g=v=>Bg(v,t,i)?a-Number(v.getAttribute("data-priority")):c(v),f=d.length;let h=f-1;for(;h>=0;){const v=d.item(h);if(g(v)>0)return v.nextSibling;h--}return f>0?d.item(0):r?r.nextSibling:null}const Pg=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),Tg=new RegExp(`:(${Pg})`);function Ts(e,r){try{e.insertRule(r)}catch(t){process.env.NODE_ENV!=="production"&&!Tg.test(r)&&console.error(`There was a problem inserting the following rule: "${r}"`,t)}}let Eg=0;const Ng=(e,r)=>e<r?-1:e>r?1:0;function zg(e=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:t,unstable_filterCSSRule:o,insertionPoint:i,styleElementAttributes:n,compareMediaQueries:s=Ng}=r,l={classNameHashSalt:t,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(n),compareMediaQueries:s,id:`d${Eg++}`,insertCSSRules(u){for(const a in u){const c=u[a];for(let d=0,g=c.length;d<g;d++){const[f,h]=kg(c[d]),v=Sg(a,e,i||null,l,h);l.insertionCache[f]||(l.insertionCache[f]=a,process.env.NODE_ENV!=="production"&&pr&&Qt.addCSSRule(f),o?o(f)&&Ts(v,f):Ts(v,f))}}}};return e&&process.env.NODE_ENV!=="production"&&pr&&wg(e),l}const ai="<unknown>";function Rg(e){return Ag(e)||qg(e)||Lg(e)}const Dg=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,Fg=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,Ig=/\((\S*)\)/;function Ag(e){const r=Dg.exec(e)||Fg.exec(e);if(!r)return null;let t=r[2];const o=t&&t.indexOf("native")===0,i=t&&t.indexOf("eval")===0,n=Ig.exec(t);return i&&n!=null&&(t=n[1]),{loc:o?null:r[2],name:r[1]||ai}}const jg=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,Og=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function qg(e){const r=jg.exec(e);if(!r)return null;let t=r[3];const o=t&&t.indexOf(" > eval")>-1,i=Og.exec(t);return o&&i!=null&&(t=i[1]),{loc:r[3],name:r[1]||ai}}const Mg=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Lg(e){const r=Mg.exec(e);return r?{loc:r[3],name:r[1]||ai}:null}function Es(){const e=String(new Error().stack).split(`
51
+ `),r=Hg(e);if(r===void 0)return;const t=Rg(r);return t==null?void 0:t.loc}function Hg(e){for(let r=e.length-1;r>=0;--r)if(e[r].includes("at getSourceURLfromError"))return e[r+3]}const si=()=>{const e={};return function(t,o){e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}};function Ns(e){return e.reduce(function(r,t){var o=t[0],i=t[1];return r[o]=i,r[i]=o,r},{})}function Wg(e){return typeof e=="boolean"}function Vg(e){return typeof e=="function"}function to(e){return typeof e=="number"}function $g(e){return e===null||typeof e>"u"}function Gg(e){return e&&typeof e=="object"}function Ug(e){return typeof e=="string"}function No(e,r){return e.indexOf(r)!==-1}function Kg(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function zo(e,r,t,o){return r+Kg(t)+o}function Xg(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var t=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(t)+"%"}return e}function zs(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,t){var o=r.list,i=r.state,n=(t.match(/\(/g)||[]).length,s=(t.match(/\)/g)||[]).length;return i.parensDepth>0?o[o.length-1]=o[o.length-1]+" "+t:o.push(t),i.parensDepth+=n-s,{list:o,state:i}},{list:[],state:{parensDepth:0}}).list}function Rs(e){var r=zs(e);if(r.length<=3||r.length>4)return e;var t=r[0],o=r[1],i=r[2],n=r[3];return[t,n,i,o].join(" ")}function Zg(e){return!Wg(e)&&!$g(e)}function Qg(e){for(var r=[],t=0,o=0,i=!1;o<e.length;)!i&&e[o]===","?(r.push(e.substring(t,o).trim()),o++,t=o):e[o]==="("?(i=!0,o++):(e[o]===")"&&(i=!1),o++);return t!=o&&r.push(e.substring(t,o+1)),r}var D={padding:function(r){var t=r.value;return to(t)?t:Rs(t)},textShadow:function(r){var t=r.value,o=Qg(t).map(function(i){return i.replace(/(^|\s)(-*)([.|\d]+)/,function(n,s,l,u){if(u==="0")return n;var a=l===""?"-":"";return""+s+a+u})});return o.join(",")},borderColor:function(r){var t=r.value;return Rs(t)},borderRadius:function(r){var t=r.value;if(to(t))return t;if(No(t,"/")){var o=t.split("/"),i=o[0],n=o[1],s=D.borderRadius({value:i.trim()}),l=D.borderRadius({value:n.trim()});return s+" / "+l}var u=zs(t);switch(u.length){case 2:return u.reverse().join(" ");case 4:{var a=u[0],c=u[1],d=u[2],g=u[3];return[c,a,g,d].join(" ")}default:return t}},background:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgImgDirectionRegex,s=r.bgPosDirectionRegex;if(to(t))return t;var l=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(l,D.backgroundPosition({value:l,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:s})),D.backgroundImage({value:t,valuesToConvert:o,bgImgDirectionRegex:n})},backgroundImage:function(r){var t=r.value,o=r.valuesToConvert,i=r.bgImgDirectionRegex;return!No(t,"url(")&&!No(t,"linear-gradient(")?t:t.replace(i,function(n,s,l){return n.replace(l,o[l])})},backgroundPosition:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgPosDirectionRegex;return t.replace(i?/^((-|\d|\.)+%)/:null,function(s,l){return Xg(l)}).replace(n,function(s){return o[s]})},backgroundPositionX:function(r){var t=r.value,o=r.valuesToConvert,i=r.isRtl,n=r.bgPosDirectionRegex;return to(t)?t:D.backgroundPosition({value:t,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:n})},transition:function(r){var t=r.value,o=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){var n=i.split(" ");return n[0]=o[n[0]]||n[0],n.join(" ")}).join(", ")},transitionProperty:function(r){var t=r.value,o=r.propertiesToConvert;return t.split(/,\s*/g).map(function(i){return o[i]||i}).join(", ")},transform:function(r){var t=r.value,o="[^\\u0020-\\u007e]",i="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",n="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+i+")")+("(?:[_a-z0-9-]|"+o+"|"+i+")")+"*")+")?")+")|(?:inherit|auto))",s=new RegExp("(translateX\\s*\\(\\s*)"+n+"(\\s*\\))","gi"),l=new RegExp("(translate\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,1}\\s*\\))","gi"),u=new RegExp("(translate3d\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,2}\\s*\\))","gi"),a=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+n+"(\\s*\\))","gi");return t.replace(s,zo).replace(l,zo).replace(u,zo).replace(a,zo)}};D.objectPosition=D.backgroundPosition,D.margin=D.padding,D.borderWidth=D.padding,D.boxShadow=D.textShadow,D.webkitBoxShadow=D.boxShadow,D.mozBoxShadow=D.boxShadow,D.WebkitBoxShadow=D.boxShadow,D.MozBoxShadow=D.boxShadow,D.borderStyle=D.borderColor,D.webkitTransform=D.transform,D.mozTransform=D.transform,D.WebkitTransform=D.transform,D.MozTransform=D.transform,D.transformOrigin=D.backgroundPosition,D.webkitTransformOrigin=D.transformOrigin,D.mozTransformOrigin=D.transformOrigin,D.WebkitTransformOrigin=D.transformOrigin,D.MozTransformOrigin=D.transformOrigin,D.webkitTransition=D.transition,D.mozTransition=D.transition,D.WebkitTransition=D.transition,D.MozTransition=D.transition,D.webkitTransitionProperty=D.transitionProperty,D.mozTransitionProperty=D.transitionProperty,D.WebkitTransitionProperty=D.transitionProperty,D.MozTransitionProperty=D.transitionProperty,D["text-shadow"]=D.textShadow,D["border-color"]=D.borderColor,D["border-radius"]=D.borderRadius,D["background-image"]=D.backgroundImage,D["background-position"]=D.backgroundPosition,D["background-position-x"]=D.backgroundPositionX,D["object-position"]=D.objectPosition,D["border-width"]=D.padding,D["box-shadow"]=D.textShadow,D["-webkit-box-shadow"]=D.textShadow,D["-moz-box-shadow"]=D.textShadow,D["border-style"]=D.borderColor,D["-webkit-transform"]=D.transform,D["-moz-transform"]=D.transform,D["transform-origin"]=D.transformOrigin,D["-webkit-transform-origin"]=D.transformOrigin,D["-moz-transform-origin"]=D.transformOrigin,D["-webkit-transition"]=D.transition,D["-moz-transition"]=D.transition,D["transition-property"]=D.transitionProperty,D["-webkit-transition-property"]=D.transitionProperty,D["-moz-transition-property"]=D.transitionProperty;var Ds=Ns([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),Yg=["content"],Fs=Ns([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Jg=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),ev=new RegExp("(left)|(right)");function Is(e){return Object.keys(e).reduce(function(r,t){var o=e[t];if(Ug(o)&&(o=o.trim()),No(Yg,t))return r[t]=o,r;var i=li(t,o),n=i.key,s=i.value;return r[n]=s,r},Array.isArray(e)?[]:{})}function li(e,r){var t=/\/\*\s?@noflip\s?\*\//.test(r),o=t?e:tv(e),i=t?r:rv(o,r);return{key:o,value:i}}function tv(e){return Ds[e]||e}function rv(e,r){if(!Zg(r))return r;if(Gg(r))return Is(r);var t=to(r),o=Vg(r),i=t||o?r:r.replace(/ !important.*?$/,""),n=!t&&i.length!==r.length,s=D[e],l;return s?l=s({value:i,valuesToConvert:Fs,propertiesToConvert:Ds,isRtl:!0,bgImgDirectionRegex:Jg,bgPosDirectionRegex:ev}):l=Fs[i]||i,n?l+" !important":l}const ov=/[A-Z]/g,nv=/^ms-/,ci={};function iv(e){return"-"+e.toLowerCase()}function br(e){if(Object.prototype.hasOwnProperty.call(ci,e))return ci[e];if(e.substr(0,2)==="--")return e;const r=e.replace(ov,iv);return ci[e]=nv.test(r)?"-"+r:r}function As(e){return e.charAt(0)==="&"?e.slice(1):e}var ro="-moz-",ot="-webkit-",js="comm",Ro="rule",ui="decl",av="@media",sv="@import",lv="@supports",cv="@namespace",uv="@keyframes",Os="@layer",qs=Math.abs,Do=String.fromCharCode,dv=Object.assign;function fv(e,r){return Oe(e,0)^45?(((r<<2^Oe(e,0))<<2^Oe(e,1))<<2^Oe(e,2))<<2^Oe(e,3):0}function Ms(e){return e.trim()}function Ls(e,r){return(e=r.exec(e))?e[0]:e}function He(e,r,t){return e.replace(r,t)}function Hs(e,r,t){return e.indexOf(r,t)}function Oe(e,r){return e.charCodeAt(r)|0}function yr(e,r,t){return e.slice(r,t)}function nt(e){return e.length}function Ws(e){return e.length}function Yt(e,r){return r.push(e),e}function hv(e,r){return e.map(r).join("")}var Fo=1,wr=1,Vs=0,$e=0,xe=0,kr="";function Io(e,r,t,o,i,n,s,l){return{value:e,root:r,parent:t,type:o,props:i,children:n,line:Fo,column:wr,length:s,return:"",siblings:l}}function di(e,r){return dv(Io("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function gv(){return xe}function vv(){return xe=$e>0?Oe(kr,--$e):0,wr--,xe===10&&(wr=1,Fo--),xe}function Ze(){return xe=$e<Vs?Oe(kr,$e++):0,wr++,xe===10&&(wr=1,Fo++),xe}function zt(){return Oe(kr,$e)}function Ao(){return $e}function jo(e,r){return yr(kr,e,r)}function xr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $s(e){return Fo=wr=1,Vs=nt(kr=e),$e=0,[]}function Gs(e){return kr="",e}function Oo(e){return Ms(jo($e-1,fi(e===91?e+2:e===40?e+1:e)))}function mv(e){return Gs(bv($s(e)))}function pv(e){for(;(xe=zt())&&xe<33;)Ze();return xr(e)>2||xr(xe)>3?"":" "}function bv(e){for(;Ze();)switch(xr(xe)){case 0:Yt(Us($e-1),e);break;case 2:Yt(Oo(xe),e);break;default:Yt(Do(xe),e)}return e}function yv(e,r){for(;--r&&Ze()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return jo(e,Ao()+(r<6&&zt()==32&&Ze()==32))}function fi(e){for(;Ze();)switch(xe){case e:return $e;case 34:case 39:e!==34&&e!==39&&fi(xe);break;case 40:e===41&&fi(e);break;case 92:Ze();break}return $e}function wv(e,r){for(;Ze()&&e+xe!==57;)if(e+xe===84&&zt()===47)break;return"/*"+jo(r,$e-1)+"*"+Do(e===47?e:Ze())}function Us(e){for(;!xr(zt());)Ze();return jo(e,$e)}function Ks(e){return Gs(qo("",null,null,null,[""],e=$s(e),0,[0],e))}function qo(e,r,t,o,i,n,s,l,u){for(var a=0,c=0,d=s,g=0,f=0,h=0,v=1,b=1,p=1,y=0,k="",w=i,_=n,S=o,C=k;b;)switch(h=y,y=Ze()){case 40:if(h!=108&&Oe(C,d-1)==58){Hs(C+=He(Oo(y),"&","&\f"),"&\f",qs(a?l[a-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=Oo(y);break;case 9:case 10:case 13:case 32:C+=pv(h);break;case 92:C+=yv(Ao()-1,7);continue;case 47:switch(zt()){case 42:case 47:Yt(kv(wv(Ze(),Ao()),r,t,u),u),(xr(h||1)==5||xr(zt()||1)==5)&&nt(C)&&yr(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*v:l[a++]=nt(C)*p;case 125*v:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+c:p==-1&&(C=He(C,/\f/g,"")),f>0&&(nt(C)-d||v===0&&h===47)&&Yt(f>32?Zs(C+";",o,t,d-1,u):Zs(He(C," ","")+";",o,t,d-2,u),u);break;case 59:C+=";";default:if(Yt(S=Xs(C,r,t,a,c,i,l,k,w=[],_=[],d,n),n),y===123)if(c===0)qo(C,r,S,S,w,n,d,l,_);else{switch(g){case 99:if(Oe(C,3)===110)break;case 108:if(Oe(C,2)===97)break;default:c=0;case 100:case 109:case 115:}c?qo(e,S,S,o&&Yt(Xs(e,S,S,0,0,i,l,k,i,w=[],d,_),_),i,_,d,l,o?w:_):qo(C,S,S,S,[""],_,0,l,_)}}a=c=f=0,v=p=1,k=C="",d=s;break;case 58:d=1+nt(C),f=h;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&vv()==125)continue}switch(C+=Do(y),y*v){case 38:p=c>0?1:(C+="\f",-1);break;case 44:l[a++]=(nt(C)-1)*p,p=1;break;case 64:zt()===45&&(C+=Oo(Ze())),g=zt(),c=d=nt(k=C+=Us(Ao())),y++;break;case 45:h===45&&nt(C)==2&&(v=0)}}return n}function Xs(e,r,t,o,i,n,s,l,u,a,c,d){for(var g=i-1,f=i===0?n:[""],h=Ws(f),v=0,b=0,p=0;v<o;++v)for(var y=0,k=yr(e,g+1,g=qs(b=s[v])),w=e;y<h;++y)(w=Ms(b>0?f[y]+" "+k:He(k,/&\f/g,f[y])))&&(u[p++]=w);return Io(e,r,t,i===0?Ro:l,u,a,c,d)}function kv(e,r,t,o){return Io(e,r,t,js,Do(gv()),yr(e,2,-2),0,o)}function Zs(e,r,t,o,i){return Io(e,r,t,ui,yr(e,0,o),yr(e,o+1,-1),o,i)}function _r(e,r){for(var t="",o=0;o<e.length;o++)t+=r(e[o],o,e,r)||"";return t}function Qs(e,r,t,o){switch(e.type){case Os:if(e.children.length)break;case sv:case cv:case ui:return e.return=e.return||e.value;case js:return"";case uv:return e.return=e.value+"{"+_r(e.children,o)+"}";case Ro:if(!nt(e.value=e.props.join(",")))return""}return nt(t=_r(e.children,o))?e.return=e.value+"{"+t+"}":""}function Ys(e){var r=Ws(e);return function(t,o,i,n){for(var s="",l=0;l<r;l++)s+=e[l](t,o,i,n)||"";return s}}function Js(e){return function(r){r.root||(r=r.return)&&e(r)}}const xv=e=>{switch(e.type){case Ro:if(typeof e.props=="string"){if(process.env.NODE_ENV!=="production")throw new Error(`"element.props" has type "string" (${JSON.stringify(e.props,null,2)}), it's not expected. Please report a bug if it happens.`);return}e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:mv(r).reduce((t,o,i,n)=>{if(o==="")return t;if(o===":"&&n[i+1]==="global"){const s=n[i+2].slice(1,-1)+" ";return t.unshift(s),n[i+1]="",n[i+2]="",t}return t.push(o),t},[]).join(""))}};function el(e,r,t){switch(fv(e,r)){case 5103:return ot+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return ot+e+e;case 4215:if(Oe(e,9)===102||Oe(e,r+1)===116)return ot+e+e;break;case 4789:return ro+e+e;case 5349:case 4246:case 6968:return ot+e+ro+e+e;case 6187:if(!Ls(e,/grab/))return He(He(He(e,/(zoom-|grab)/,ot+"$1"),/(image-set)/,ot+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,ot+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,ot+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(nt(e)-1-r>6)switch(Oe(e,r+1)){case 102:if(Oe(e,r+3)===108)return He(e,/(.+:)(.+)-([^]+)/,"$1"+ot+"$2-$3$1"+ro+(Oe(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Hs(e,"stretch")?el(He(e,"stretch","fill-available"),r)+e:e}break}return e}function tl(e,r,t,o){if(e.length>-1&&!e.return)switch(e.type){case ui:e.return=el(e.value,e.length);return;case Ro:if(e.length)return hv(e.props,function(i){switch(Ls(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _r([di(e,{props:[He(i,/:(read-\w+)/,":"+ro+"$1")]})],o);case"::placeholder":return _r([di(e,{props:[He(i,/:(plac\w+)/,":"+ot+"input-$1")]}),di(e,{props:[He(i,/:(plac\w+)/,":"+ro+"$1")]})],o)}return""})}}function _v(e){switch(e.type){case"@container":case av:case lv:case Os:return!0}return!1}const Sv=e=>{_v(e)&&Array.isArray(e.children)&&e.children.sort((r,t)=>r.props[0]>t.props[0]?1:-1)};function Bv(){}function Cv(e,r){const t=[];return _r(Ks(e),Ys([xv,r?Sv:Bv,tl,Qs,Js(o=>t.push(o))])),t}const Pv=/,( *[^ &])/g;function Tv(e){return"&"+As(e.replace(Pv,",&$1"))}function rl(e,r,t){let o=r;return t.length>0&&(o=t.reduceRight((i,n)=>`${Tv(n)} { ${i} }`,r)),`${e}{${o}}`}function ol(e,r){const{className:t,selectors:o,property:i,rtlClassName:n,rtlProperty:s,rtlValue:l,value:u}=e,{container:a,layer:c,media:d,supports:g}=r,f=`.${t}`,h=Array.isArray(u)?`${u.map(b=>`${br(i)}: ${b}`).join(";")};`:`${br(i)}: ${u};`;let v=rl(f,h,o);if(s&&n){const b=`.${n}`,p=Array.isArray(l)?`${l.map(y=>`${br(s)}: ${y}`).join(";")};`:`${br(s)}: ${l};`;v+=rl(b,p,o)}return d&&(v=`@media ${d} { ${v} }`),c&&(v=`@layer ${c} { ${v} }`),g&&(v=`@supports ${g} { ${v} }`),a&&(v=`@container ${a} { ${v} }`),Cv(v,!0)}function Ev(e){let r="";for(const t in e){const o=e[t];if(typeof o=="string"||typeof o=="number"){r+=br(t)+":"+o+";";continue}if(Array.isArray(o))for(const i of o)r+=br(t)+":"+i+";"}return r}function nl(e){let r="";for(const t in e)r+=`${t}{${Ev(e[t])}}`;return r}function il(e,r){const t=`@keyframes ${e} {${r}}`,o=[];return _r(Ks(t),Ys([Qs,tl,Js(i=>o.push(i))])),o}const Nv={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function al(e,r){return e.length===0?r:`${e} and ${r}`}function zv(e){return e.substr(0,6)==="@media"}function Rv(e){return e.substr(0,6)==="@layer"}const Dv=/^(:|\[|>|&)/;function Fv(e){return Dv.test(e)}function Iv(e){return e.substr(0,9)==="@supports"}function Av(e){return e.substring(0,10)==="@container"}function jv(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const sl={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function ll(e,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(e.length>0){const t=e[0].trim();if(t.charCodeAt(0)===58)return sl[t.slice(4,8)]||sl[t.slice(3,5)]||"d"}return"d"}function Mo(e,r){return e&&r+e}function cl(e){return Mo(e.container,"c")+Mo(e.media,"m")+Mo(e.layer,"l")+Mo(e.supports,"s")}function hi(e,r,t){const o=e+cl(t)+r,i=Zt(o),n=i.charCodeAt(0);return n>=48&&n<=57?String.fromCharCode(n+17)+i.slice(1):i}function Lo({property:e,selector:r,salt:t,value:o},i){return oi+Zt(t+r+cl(i)+e+o.trim())}function Ov(e){return e===ni}function gi(e){return e.replace(/>\s+/g,">")}function ul(...e){process.env.NODE_ENV!=="production"&&typeof document<"u"&&console.error(...e)}function qv(e,r){ul((()=>{const o=JSON.stringify(r,null,2),i=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${e}": ${o.split(`
52
52
  `).map((n,s)=>" ".repeat(s===0?0:6)+n).join(`
53
53
  `)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];return e.indexOf("&")===-1?(i.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),i.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(i.push(""),i.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),i.join(`
54
- `)})())}function Av(e,r){ll([`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${r}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
55
- `))}function cl(e){return Cv[e]}function ul(e){var r;return(r=e==null?void 0:e[0])!==null&&r!==void 0?r:0}function vi(e,r,t,o){e[r]=o?[t,o]:t}function dl(e,r){return r.length>0?[e,Object.fromEntries(r)]:e}function mi(e,r,t,o,i,n){var s;const l=[];n!==0&&l.push(["p",n]),r==="m"&&i&&l.push(["m",i]),(s=e[r])!==null&&s!==void 0||(e[r]=[]),t&&e[r].push(dl(t,l)),o&&e[r].push(dl(o,l))}function bt(e,r="",t=[],o={container:"",layer:"",media:"",supports:""},i={},n={},s){for(const l in e){if(fg.hasOwnProperty(l)){Av(l,e[l]);continue}const u=e[l];if(u!=null){if(Fv(u)){const a=gi(t.join("")),c=hi(a,l,o);vi(i,c,0,void 0);continue}if(typeof u=="string"||typeof u=="number"){const a=gi(t.join("")),c=cl(l);if(c){const w=c[1],_=Object.fromEntries(w.map(S=>[S,ni]));bt(_,r,t,o,i,n)}const d=hi(a,l,o),g=Lo({value:u.toString(),salt:r,selector:a,property:l},o),f=s&&{key:l,value:s}||li(l,u),h=f.key!==l||f.value!==u,v=h?Lo({value:f.value.toString(),property:f.key,salt:r,selector:a},o):void 0,b=h?{rtlClassName:v,rtlProperty:f.key,rtlValue:f.value}:void 0,p=al(t,o),[y,k]=tl(Object.assign({className:g,selectors:t,property:l,value:u},b),o);vi(i,d,g,v),mi(n,p,y,k,o.media,ul(c))}else if(l==="animationName"){const a=Array.isArray(u)?u:[u],c=[],d=[];for(const g of a){const f=rl(g),h=rl(Ds(g)),v=oi+Zt(f);let b;const p=ol(v,f);let y=[];f===h?b=v:(b=oi+Zt(h),y=ol(b,h));for(let k=0;k<p.length;k++)mi(n,"k",p[k],y[k],o.media,0);c.push(v),d.push(b)}bt({animationName:c.join(", ")},r,t,o,i,n,d.join(", "))}else if(Array.isArray(u)){if(u.length===0){process.env.NODE_ENV!=="production"&&console.warn(`makeStyles(): An empty array was passed as input to "${l}", the property will be omitted in the styles.`);continue}const a=gi(t.join("")),c=cl(l);if(c){const _=c[1],S=Object.fromEntries(_.map(C=>[C,ni]));bt(S,r,t,o,i,n)}const d=hi(a,l,o),g=Lo({value:u.map(_=>(_??"").toString()).join(";"),salt:r,selector:a,property:l},o),f=u.map(_=>li(l,_));if(!!f.some(_=>_.key!==f[0].key)){process.env.NODE_ENV!=="production"&&console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}const v=f[0].key!==l||f.some((_,S)=>_.value!==u[S]),b=v?Lo({value:f.map(_=>{var S;return((S=_==null?void 0:_.value)!==null&&S!==void 0?S:"").toString()}).join(";"),salt:r,property:f[0].key,selector:a},o):void 0,p=v?{rtlClassName:b,rtlProperty:f[0].key,rtlValue:f.map(_=>_.value)}:void 0,y=al(t,o),[k,w]=tl(Object.assign({className:g,selectors:t,property:l,value:u},p),o);vi(i,d,g,b),mi(n,y,k,w,o.media,ul(c))}else if(Dv(u))if(Nv(l))bt(u,r,t.concat(Fs(l)),o,i,n);else if(Pv(l)){const a=nl(o.media,l.slice(6).trim());bt(u,r,t,Object.assign({},o,{media:a}),i,n)}else if(Tv(l)){const a=(o.layer?`${o.layer}.`:"")+l.slice(6).trim();bt(u,r,t,Object.assign({},o,{layer:a}),i,n)}else if(zv(l)){const a=nl(o.supports,l.slice(9).trim());bt(u,r,t,Object.assign({},o,{supports:a}),i,n)}else if(Rv(l)){const a=l.slice(10).trim();bt(u,r,t,Object.assign({},o,{container:a}),i,n)}else Iv(l,u)}}return[i,n]}function jv(e,r=""){const t={},o={};for(const i in e){const n=e[i],[s,l]=bt(n,r);t[i]=s,Object.keys(l).forEach(u=>{o[u]=(o[u]||[]).concat(l[u])})}return[t,o]}function Ov(e,r=si){const t=r();let o=null,i=null,n=null,s=null,l;process.env.NODE_ENV!=="production"&&pr&&(l=Ps());let u;function a(c){const{dir:d,renderer:g}=c;o===null&&([o,i]=jv(e,g.classNameHashSalt),process.env.NODE_ENV!=="production"&&g.classNameHashSalt&&(u!==g.classNameHashSalt&&console.error(["@griffel/core:",`
54
+ `)})())}function Mv(e,r){ul([`@griffel/react: You are using unsupported shorthand CSS property "${e}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${e}: "${r}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
55
+ `))}function dl(e){return Nv[e]}function fl(e){var r;return(r=e==null?void 0:e[0])!==null&&r!==void 0?r:0}function vi(e,r,t,o){e[r]=o?[t,o]:t}function hl(e,r){return r.length>0?[e,Object.fromEntries(r)]:e}function mi(e,r,t,o,i,n){var s;const l=[];n!==0&&l.push(["p",n]),r==="m"&&i&&l.push(["m",i]),(s=e[r])!==null&&s!==void 0||(e[r]=[]),t&&e[r].push(hl(t,l)),o&&e[r].push(hl(o,l))}function bt(e,r="",t=[],o={container:"",layer:"",media:"",supports:""},i={},n={},s){for(const l in e){if(mg.hasOwnProperty(l)){Mv(l,e[l]);continue}const u=e[l];if(u!=null){if(Ov(u)){const a=gi(t.join("")),c=hi(a,l,o);vi(i,c,0,void 0);continue}if(typeof u=="string"||typeof u=="number"){const a=gi(t.join("")),c=dl(l);if(c){const w=c[1],_=Object.fromEntries(w.map(S=>[S,ni]));bt(_,r,t,o,i,n)}const d=hi(a,l,o),g=Lo({value:u.toString(),salt:r,selector:a,property:l},o),f=s&&{key:l,value:s}||li(l,u),h=f.key!==l||f.value!==u,v=h?Lo({value:f.value.toString(),property:f.key,salt:r,selector:a},o):void 0,b=h?{rtlClassName:v,rtlProperty:f.key,rtlValue:f.value}:void 0,p=ll(t,o),[y,k]=ol(Object.assign({className:g,selectors:t,property:l,value:u},b),o);vi(i,d,g,v),mi(n,p,y,k,o.media,fl(c))}else if(l==="animationName"){const a=Array.isArray(u)?u:[u],c=[],d=[];for(const g of a){const f=nl(g),h=nl(Is(g)),v=oi+Zt(f);let b;const p=il(v,f);let y=[];f===h?b=v:(b=oi+Zt(h),y=il(b,h));for(let k=0;k<p.length;k++)mi(n,"k",p[k],y[k],o.media,0);c.push(v),d.push(b)}bt({animationName:c.join(", ")},r,t,o,i,n,d.join(", "))}else if(Array.isArray(u)){if(u.length===0){process.env.NODE_ENV!=="production"&&console.warn(`makeStyles(): An empty array was passed as input to "${l}", the property will be omitted in the styles.`);continue}const a=gi(t.join("")),c=dl(l);if(c){const _=c[1],S=Object.fromEntries(_.map(C=>[C,ni]));bt(S,r,t,o,i,n)}const d=hi(a,l,o),g=Lo({value:u.map(_=>(_??"").toString()).join(";"),salt:r,selector:a,property:l},o),f=u.map(_=>li(l,_));if(!!f.some(_=>_.key!==f[0].key)){process.env.NODE_ENV!=="production"&&console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}const v=f[0].key!==l||f.some((_,S)=>_.value!==u[S]),b=v?Lo({value:f.map(_=>{var S;return((S=_==null?void 0:_.value)!==null&&S!==void 0?S:"").toString()}).join(";"),salt:r,property:f[0].key,selector:a},o):void 0,p=v?{rtlClassName:b,rtlProperty:f[0].key,rtlValue:f.map(_=>_.value)}:void 0,y=ll(t,o),[k,w]=ol(Object.assign({className:g,selectors:t,property:l,value:u},p),o);vi(i,d,g,b),mi(n,y,k,w,o.media,fl(c))}else if(jv(u))if(Fv(l))bt(u,r,t.concat(As(l)),o,i,n);else if(zv(l)){const a=al(o.media,l.slice(6).trim());bt(u,r,t,Object.assign({},o,{media:a}),i,n)}else if(Rv(l)){const a=(o.layer?`${o.layer}.`:"")+l.slice(6).trim();bt(u,r,t,Object.assign({},o,{layer:a}),i,n)}else if(Iv(l)){const a=al(o.supports,l.slice(9).trim());bt(u,r,t,Object.assign({},o,{supports:a}),i,n)}else if(Av(l)){const a=l.slice(10).trim();bt(u,r,t,Object.assign({},o,{container:a}),i,n)}else qv(l,u)}}return[i,n]}function Lv(e,r=""){const t={},o={};for(const i in e){const n=e[i],[s,l]=bt(n,r);t[i]=s,Object.keys(l).forEach(u=>{o[u]=(o[u]||[]).concat(l[u])})}return[t,o]}function Hv(e,r=si){const t=r();let o=null,i=null,n=null,s=null,l;process.env.NODE_ENV!=="production"&&pr&&(l=Es());let u;function a(c){const{dir:d,renderer:g}=c;o===null&&([o,i]=Lv(e,g.classNameHashSalt),process.env.NODE_ENV!=="production"&&g.classNameHashSalt&&(u!==g.classNameHashSalt&&console.error(["@griffel/core:",`
56
56
 
57
- `,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" ")),u=g.classNameHashSalt));const f=d==="ltr";f?n===null&&(n=To(o,d)):s===null&&(s=To(o,d)),t(g,i);const h=f?n:s;return process.env.NODE_ENV!=="production"&&pr&&Qt.addSequenceDetails(h,l),h}return a}function qv(e,r,t=si){const o=t();let i=null,n=null,s;process.env.NODE_ENV!=="production"&&pr&&(s=Ps());function l(u){const{dir:a,renderer:c}=u,d=a==="ltr";d?i===null&&(i=To(e,a)):n===null&&(n=To(e,a)),o(c,r);const g=d?i:n;return process.env.NODE_ENV!=="production"&&pr&&Qt.addSequenceDetails(g,s),g}return l}function Mv(e,r,t,o=si){const i=o();function n(s){const{dir:l,renderer:u}=s,a=l==="ltr"?e:r||e;return i(u,Array.isArray(t)?{r:t}:t),process.env.NODE_ENV!=="production"&&(Po[a]=1),a}return n}const Sr={border:Nh,borderLeft:zh,borderBottom:Rh,borderRight:Dh,borderTop:Fh,borderColor:Yn,borderStyle:Qn,borderRadius:Ih,borderWidth:Zn,flex:Mh,gap:Lh,gridArea:Gh,margin:Uh,marginBlock:Kh,marginInline:Xh,padding:Zh,paddingBlock:Qh,paddingInline:Yh,overflow:Jh,inset:eg,outline:tg,transition:rg,textDecoration:ag};function Lv(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const fl=m.useInsertionEffect?m.useInsertionEffect:void 0,pi=()=>{const e={};return function(t,o){if(fl&&Lv()){fl(()=>{t.insertCSSRules(o)},[t,o]);return}e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}},Hv=m.createContext(Pg());function bi(){return m.useContext(Hv)}const Wv=m.createContext("ltr");function yi(){return m.useContext(Wv)}function Vv(){try{const e=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;return e==null?!1:(e.useContext({}),!0)}catch{return!1}}function Br(e){const r=Ov(e,pi);if(process.env.NODE_ENV!=="production"&&Vv())throw new Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){const o=yi(),i=bi();return r({dir:o,renderer:i})}}function O(e,r){const t=qv(e,r,pi);return function(){const i=yi(),n=bi();return t({dir:i,renderer:n})}}function ce(e,r,t){const o=Mv(e,r,t,pi);return function(){const n=yi(),s=bi();return o({dir:n,renderer:s})}}const Ho=Symbol.for("fui.slotRenderFunction"),Rt=Symbol.for("fui.slotElementType"),hl=Symbol.for("fui.slotClassNameProp");function re(e,r){const{defaultProps:t,elementType:o}=r,i=wi(e),n={...t,...i,[Rt]:o,[hl]:i==null?void 0:i.className};return i&&typeof i.children=="function"&&(n[Ho]=i.children,n.children=t==null?void 0:t.children),n}function te(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return re(e,r)}function wi(e){return typeof e=="string"||typeof e=="number"||$v(e)||m.isValidElement(e)?{children:e}:(e&&typeof e!="object"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [slot.${wi.name}]:
57
+ `,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" ")),u=g.classNameHashSalt));const f=d==="ltr";f?n===null&&(n=To(o,d)):s===null&&(s=To(o,d)),t(g,i);const h=f?n:s;return process.env.NODE_ENV!=="production"&&pr&&Qt.addSequenceDetails(h,l),h}return a}function Wv(e,r,t=si){const o=t();let i=null,n=null,s;process.env.NODE_ENV!=="production"&&pr&&(s=Es());function l(u){const{dir:a,renderer:c}=u,d=a==="ltr";d?i===null&&(i=To(e,a)):n===null&&(n=To(e,a)),o(c,r);const g=d?i:n;return process.env.NODE_ENV!=="production"&&pr&&Qt.addSequenceDetails(g,s),g}return l}function Vv(e,r,t,o=si){const i=o();function n(s){const{dir:l,renderer:u}=s,a=l==="ltr"?e:r||e;return i(u,Array.isArray(t)?{r:t}:t),process.env.NODE_ENV!=="production"&&(Po[a]=1),a}return n}const Sr={border:Fh,borderLeft:Ih,borderBottom:Ah,borderRight:jh,borderTop:Oh,borderColor:Yn,borderStyle:Qn,borderRadius:qh,borderWidth:Zn,flex:Vh,gap:$h,gridArea:Zh,margin:Qh,marginBlock:Yh,marginInline:Jh,padding:eg,paddingBlock:tg,paddingInline:rg,overflow:og,inset:ng,outline:ig,transition:ag,textDecoration:ug};function $v(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const gl=m.useInsertionEffect?m.useInsertionEffect:void 0,pi=()=>{const e={};return function(t,o){if(gl&&$v()){gl(()=>{t.insertCSSRules(o)},[t,o]);return}e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}},Gv=m.createContext(zg());function bi(){return m.useContext(Gv)}const Uv=m.createContext("ltr");function yi(){return m.useContext(Uv)}function Kv(){try{const e=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;return e==null?!1:(e.useContext({}),!0)}catch{return!1}}function Br(e){const r=Hv(e,pi);if(process.env.NODE_ENV!=="production"&&Kv())throw new Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){const o=yi(),i=bi();return r({dir:o,renderer:i})}}function O(e,r){const t=Wv(e,r,pi);return function(){const i=yi(),n=bi();return t({dir:i,renderer:n})}}function ce(e,r,t){const o=Vv(e,r,t,pi);return function(){const n=yi(),s=bi();return o({dir:n,renderer:s})}}const Ho=Symbol.for("fui.slotRenderFunction"),Rt=Symbol.for("fui.slotElementType"),vl=Symbol.for("fui.slotClassNameProp");function re(e,r){const{defaultProps:t,elementType:o}=r,i=wi(e),n={...t,...i,[Rt]:o,[vl]:i==null?void 0:i.className};return i&&typeof i.children=="function"&&(n[Ho]=i.children,n.children=t==null?void 0:t.children),n}function te(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return re(e,r)}function wi(e){return typeof e=="string"||typeof e=="number"||Xv(e)||m.isValidElement(e)?{children:e}:(e&&typeof e!="object"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [slot.${wi.name}]:
58
58
  A slot got an invalid value "${e}" (${typeof e}).
59
59
  A valid value for a slot is a slot shorthand or slot properties object.
60
- Slot shorthands can be strings, numbers, arrays or JSX elements`),e)}const $v=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function gl(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!m.isValidElement(e)}function ki(e){return!!(e!=null&&e.hasOwnProperty(Rt))}function ie(e){if(process.env.NODE_ENV!=="production"){const r=e;for(const t of Object.keys(r.components)){const o=r[t];if(o!==void 0)if(!ki(o))r[t]=re(o,{elementType:r.components[t]}),console.warn(`@fluentui/react-utilities [${ie.name}]:
60
+ Slot shorthands can be strings, numbers, arrays or JSX elements`),e)}const Xv=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function ml(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!m.isValidElement(e)}function ki(e){return!!(e!=null&&e.hasOwnProperty(Rt))}function ie(e){if(process.env.NODE_ENV!=="production"){const r=e;for(const t of Object.keys(r.components)){const o=r[t];if(o!==void 0)if(!ki(o))r[t]=re(o,{elementType:r.components[t]}),console.warn(`@fluentui/react-utilities [${ie.name}]:
61
61
  "state.${t}" is not a slot!
62
62
  Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{const{[Rt]:i}=o;i!==r.components[t]&&(o[Rt]=r.components[t],console.warn(`@fluentui/react-utilities [${ie.name}]:
63
63
  "state.${t}" element type differs from "state.components.${t}",
64
64
  ${i} !== ${r.components[t]}.
65
- Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`))}}}}const pe=(...e)=>{const r={};for(const t of e){const o=Array.isArray(t)?t:Object.keys(t);for(const i of o)r[i]=1}return r},Gv=pe(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Uv=pe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Kv=pe(["itemID","itemProp","itemRef","itemScope","itemType"]),Te=pe(Uv,Gv,Kv),Xv=pe(Te,["form"]),vl=pe(Te,["height","loop","muted","preload","src","width"]),Zv=pe(vl,["poster"]),Qv=pe(Te,["start"]),Yv=pe(Te,["value"]),Jv=pe(Te,["download","href","hrefLang","media","rel","target","type"]),em=pe(Te,["dateTime"]),Wo=pe(Te,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),tm=pe(Wo,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),rm=pe(Wo,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),om=pe(Wo,["form","multiple","required"]),nm=pe(Te,["selected","value"]),im=pe(Te,["cellPadding","cellSpacing"]),am=Te,sm=pe(Te,["colSpan","rowSpan","scope"]),lm=pe(Te,["colSpan","headers","rowSpan","scope"]),cm=pe(Te,["span"]),um=pe(Te,["span"]),dm=pe(Te,["disabled","form"]),fm=pe(Te,["acceptCharset","action","encType","encType","method","noValidate","target"]),hm=pe(Te,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),gm=pe(Te,["alt","crossOrigin","height","src","srcSet","useMap","width"]),vm=pe(Te,["open","onCancel","onClose"]);function mm(e,r,t){const o=Array.isArray(r),i={},n=Object.keys(e);for(const s of n)(!o&&r[s]||o&&r.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&(!t||(t==null?void 0:t.indexOf(s))===-1)&&(i[s]=e[s]);return i}const pm={label:Xv,audio:vl,video:Zv,ol:Qv,li:Yv,a:Jv,button:Wo,input:tm,textarea:rm,select:om,option:nm,table:im,tr:am,th:sm,td:lm,colGroup:cm,col:um,fieldset:dm,form:fm,iframe:hm,img:gm,time:em,dialog:vm};function ml(e,r,t){const o=e&&pm[e]||Te;return o.as=1,mm(r,o,t)}const Vo=({primarySlotTagName:e,props:r,excludedPropNames:t})=>({root:{style:r.style,className:r.className},primary:ml(e,r,[...t||[],"style","className"])}),ve=(e,r,t)=>{var o;return ml((o=r.as)!==null&&o!==void 0?o:e,r,t)};function pl(e,r){const t=m.useRef(void 0),o=m.useCallback((n,s)=>(t.current!==void 0&&r(t.current),t.current=e(n,s),t.current),[r,e]),i=m.useCallback(()=>{t.current!==void 0&&(r(t.current),t.current=void 0)},[r]);return m.useEffect(()=>i,[i]),[o,i]}const bl=m.createContext(void 0),bm="";bl.Provider;function ym(){var e;return(e=m.useContext(bl))!==null&&e!==void 0?e:bm}const yl=m.createContext(void 0),wm={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};yl.Provider;function _e(){var e;return(e=m.useContext(yl))!==null&&e!==void 0?e:wm}const wl=m.createContext(void 0);wl.Provider;function km(){var e;return(e=m.useContext(wl))!==null&&e!==void 0?e:{}}const kl=m.createContext(void 0),xm=()=>{};kl.Provider;const le=e=>{var r,t;return(t=(r=m.useContext(kl))===null||r===void 0?void 0:r[e])!==null&&t!==void 0?t:xm},xl=m.createContext(void 0);xl.Provider;function _m(){return m.useContext(xl)}const Sm=e=>(e(0),0),Bm=e=>e;function _l(){const{targetDocument:e}=_e(),r=e==null?void 0:e.defaultView,t=r?r.requestAnimationFrame:Sm,o=r?r.cancelAnimationFrame:Bm;return pl(t,o)}function Cm(e){return typeof e=="function"}const yt=e=>{"use no memo";process.env.NODE_ENV!=="production"&&e.state!==void 0&&e.defaultState!==void 0&&console.error(`@fluentui/react-utilities [useControllableState]:
65
+ Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`))}}}}const pe=(...e)=>{const r={};for(const t of e){const o=Array.isArray(t)?t:Object.keys(t);for(const i of o)r[i]=1}return r},Zv=pe(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Qv=pe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Yv=pe(["itemID","itemProp","itemRef","itemScope","itemType"]),Te=pe(Qv,Zv,Yv),Jv=pe(Te,["form"]),pl=pe(Te,["height","loop","muted","preload","src","width"]),em=pe(pl,["poster"]),tm=pe(Te,["start"]),rm=pe(Te,["value"]),om=pe(Te,["download","href","hrefLang","media","rel","target","type"]),nm=pe(Te,["dateTime"]),Wo=pe(Te,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),im=pe(Wo,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),am=pe(Wo,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),sm=pe(Wo,["form","multiple","required"]),lm=pe(Te,["selected","value"]),cm=pe(Te,["cellPadding","cellSpacing"]),um=Te,dm=pe(Te,["colSpan","rowSpan","scope"]),fm=pe(Te,["colSpan","headers","rowSpan","scope"]),hm=pe(Te,["span"]),gm=pe(Te,["span"]),vm=pe(Te,["disabled","form"]),mm=pe(Te,["acceptCharset","action","encType","encType","method","noValidate","target"]),pm=pe(Te,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),bm=pe(Te,["alt","crossOrigin","height","src","srcSet","useMap","width"]),ym=pe(Te,["open","onCancel","onClose"]);function wm(e,r,t){const o=Array.isArray(r),i={},n=Object.keys(e);for(const s of n)(!o&&r[s]||o&&r.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&(!t||(t==null?void 0:t.indexOf(s))===-1)&&(i[s]=e[s]);return i}const km={label:Jv,audio:pl,video:em,ol:tm,li:rm,a:om,button:Wo,input:im,textarea:am,select:sm,option:lm,table:cm,tr:um,th:dm,td:fm,colGroup:hm,col:gm,fieldset:vm,form:mm,iframe:pm,img:bm,time:nm,dialog:ym};function bl(e,r,t){const o=e&&km[e]||Te;return o.as=1,wm(r,o,t)}const Vo=({primarySlotTagName:e,props:r,excludedPropNames:t})=>({root:{style:r.style,className:r.className},primary:bl(e,r,[...t||[],"style","className"])}),ve=(e,r,t)=>{var o;return bl((o=r.as)!==null&&o!==void 0?o:e,r,t)};function yl(e,r){const t=m.useRef(void 0),o=m.useCallback((n,s)=>(t.current!==void 0&&r(t.current),t.current=e(n,s),t.current),[r,e]),i=m.useCallback(()=>{t.current!==void 0&&(r(t.current),t.current=void 0)},[r]);return m.useEffect(()=>i,[i]),[o,i]}const wl=m.createContext(void 0),xm="";wl.Provider;function _m(){var e;return(e=m.useContext(wl))!==null&&e!==void 0?e:xm}const kl=m.createContext(void 0),Sm={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};kl.Provider;function _e(){var e;return(e=m.useContext(kl))!==null&&e!==void 0?e:Sm}const xl=m.createContext(void 0);xl.Provider;function Bm(){var e;return(e=m.useContext(xl))!==null&&e!==void 0?e:{}}const _l=m.createContext(void 0),Cm=()=>{};_l.Provider;const le=e=>{var r,t;return(t=(r=m.useContext(_l))===null||r===void 0?void 0:r[e])!==null&&t!==void 0?t:Cm},Sl=m.createContext(void 0);Sl.Provider;function Pm(){return m.useContext(Sl)}const Tm=e=>(e(0),0),Em=e=>e;function Bl(){const{targetDocument:e}=_e(),r=e==null?void 0:e.defaultView,t=r?r.requestAnimationFrame:Tm,o=r?r.cancelAnimationFrame:Em;return yl(t,o)}function Nm(e){return typeof e=="function"}const yt=e=>{"use no memo";process.env.NODE_ENV!=="production"&&e.state!==void 0&&e.defaultState!==void 0&&console.error(`@fluentui/react-utilities [useControllableState]:
66
66
  A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
67
67
  Decide between using a controlled or uncontrolled component and remove one of this props.
68
68
  More info: https://reactjs.org/link/controlled-components
69
- ${new Error().stack}`);const[r,t]=m.useState(()=>e.defaultState===void 0?e.initialState:Pm(e.defaultState)?e.defaultState():e.defaultState),o=m.useRef(e.state);m.useEffect(()=>{o.current=e.state},[e.state]);const i=m.useCallback(n=>{Cm(n)&&n(o.current)},[]);return Tm(e.state)?[e.state,i]:[r,t]};function Pm(e){return typeof e=="function"}const Tm=e=>{"use no memo";const[r]=m.useState(()=>e!==void 0);return process.env.NODE_ENV!=="production"&&m.useEffect(()=>{if(r!==(e!==void 0)){const t=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
69
+ ${new Error().stack}`);const[r,t]=m.useState(()=>e.defaultState===void 0?e.initialState:zm(e.defaultState)?e.defaultState():e.defaultState),o=m.useRef(e.state);m.useEffect(()=>{o.current=e.state},[e.state]);const i=m.useCallback(n=>{Nm(n)&&n(o.current)},[]);return Rm(e.state)?[e.state,i]:[r,t]};function zm(e){return typeof e=="function"}const Rm=e=>{"use no memo";const[r]=m.useState(()=>e!==void 0);return process.env.NODE_ENV!=="production"&&m.useEffect(()=>{if(r!==(e!==void 0)){const t=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
70
70
  A component is changing ${r?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled"}. This is likely caused by the value changing from ${r?"defined to an undefined":"undefined to a defined"} value, which should not happen.
71
71
  Decide between using a controlled or uncontrolled input element for the lifetime of the component.
72
72
  More info: https://reactjs.org/link/controlled-components
73
- ${t.stack}`)}},[r,e]),r};function Sl(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Em={current:0},Nm=m.createContext(void 0);function zm(){var e;return(e=m.useContext(Nm))!==null&&e!==void 0?e:Em}const Re=Sl()?m.useLayoutEffect:m.useEffect,J=e=>{const r=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Re(()=>{r.current=e},[e]),m.useCallback((...t)=>{const o=r.current;return o(...t)},[r])};function Bl(){const e=m.useRef(!0);return e.current?(e.current=!1,!0):e.current}function Rm(){return m.useReducer(e=>e+1,0)[1]}const Cl=m.createContext(void 0);Cl.Provider;function Dm(){return m.useContext(Cl)||""}function Qe(e="fui-",r){"use no memo";const t=zm(),o=Dm(),i=m.useId;if(i){const n=i(),s=m.useMemo(()=>n.replace(/:/g,""),[n]);return r||`${o}${e}${s}`}return m.useMemo(()=>r||`${o}${e}${++t.current}`,[o,e,r,t])}function Fe(...e){"use no memo";const r=m.useCallback(t=>{r.current=t;for(const o of e)typeof o=="string"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [useMergedRefs]:
73
+ ${t.stack}`)}},[r,e]),r};function Cl(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Dm={current:0},Fm=m.createContext(void 0);function Im(){var e;return(e=m.useContext(Fm))!==null&&e!==void 0?e:Dm}const Re=Cl()?m.useLayoutEffect:m.useEffect,J=e=>{const r=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Re(()=>{r.current=e},[e]),m.useCallback((...t)=>{const o=r.current;return o(...t)},[r])};function Pl(){const e=m.useRef(!0);return e.current?(e.current=!1,!0):e.current}function Am(){return m.useReducer(e=>e+1,0)[1]}const Tl=m.createContext(void 0);Tl.Provider;function jm(){return m.useContext(Tl)||""}function Qe(e="fui-",r){"use no memo";const t=Im(),o=jm(),i=m.useId;if(i){const n=i(),s=m.useMemo(()=>n.replace(/:/g,""),[n]);return r||`${o}${e}${s}`}return m.useMemo(()=>r||`${o}${e}${++t.current}`,[o,e,r,t])}function Fe(...e){"use no memo";const r=m.useCallback(t=>{r.current=t;for(const o of e)typeof o=="string"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [useMergedRefs]:
74
74
  This hook does not support the usage of string refs. Please use React.useRef instead.
75
75
 
76
76
  For more info on 'React.useRef', see https://react.dev/reference/react/useRef.
77
- For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`),typeof o=="function"?o(t):o&&(o.current=t)},[...e]);return r}const Pl=(e,r)=>!!(e!=null&&e.contains(r)),Fm=e=>{const{targetDocument:r}=_e(),t=r==null?void 0:r.defaultView,{refs:o,callback:i,element:n,disabled:s,disabledFocusOnIframe:l,contains:u=Pl}=e,a=m.useRef(void 0);Am({element:n,disabled:l||s,callback:i,refs:o,contains:u});const c=m.useRef(!1),d=J(f=>{if(c.current){c.current=!1;return}const h=f.composedPath()[0];o.every(b=>!u(b.current||null,h))&&!s&&i(f)}),g=J(f=>{c.current=o.some(h=>u(h.current||null,f.target))});m.useEffect(()=>{if(s)return;let f=Im(t);const h=v=>{if(v===f){f=void 0;return}d(v)};return n==null||n.addEventListener("click",h,!0),n==null||n.addEventListener("touchstart",h,!0),n==null||n.addEventListener("contextmenu",h,!0),n==null||n.addEventListener("mousedown",g,!0),a.current=t==null?void 0:t.setTimeout(()=>{f=void 0},1),()=>{n==null||n.removeEventListener("click",h,!0),n==null||n.removeEventListener("touchstart",h,!0),n==null||n.removeEventListener("contextmenu",h,!0),n==null||n.removeEventListener("mousedown",g,!0),t==null||t.clearTimeout(a.current),f=void 0}},[d,n,s,g,t])},Im=e=>{if(e){var r,t;if(typeof e.window=="object"&&e.window===e)return e.event;var o;return(o=(t=e.ownerDocument)===null||t===void 0||(r=t.defaultView)===null||r===void 0?void 0:r.event)!==null&&o!==void 0?o:void 0}},xi="fuiframefocus",Am=e=>{const{disabled:r,element:t,callback:o,contains:i=Pl,pollDuration:n=100,refs:s}=e,l=m.useRef(),u=J(a=>{s.every(d=>!i(d.current||null,a.target))&&!r&&o(a)});m.useEffect(()=>{if(!r)return t==null||t.addEventListener(xi,u,!0),()=>{t==null||t.removeEventListener(xi,u,!0)}},[t,r,u]),m.useEffect(()=>{var a;if(!r)return l.current=t==null||(a=t.defaultView)===null||a===void 0?void 0:a.setInterval(()=>{const c=t==null?void 0:t.activeElement;if((c==null?void 0:c.tagName)==="IFRAME"||(c==null?void 0:c.tagName)==="WEBVIEW"){const d=new CustomEvent(xi,{bubbles:!0});c.dispatchEvent(d)}},n),()=>{var c;t==null||(c=t.defaultView)===null||c===void 0||c.clearTimeout(l.current)}},[t,r,n])},jm=e=>{const r=m.useRef(null);return m.useEffect(()=>{r.current=e},[e]),r.current},Om=e=>-1,qm=e=>{};function Mm(){const{targetDocument:e}=_e(),r=e==null?void 0:e.defaultView,t=r?r.setTimeout:Om,o=r?r.clearTimeout:qm;return pl(t,o)}function Ee(e,r){return(...t)=>{e==null||e(...t),r==null||r(...t)}}function Ye(e,r){var t;const o=e;var i;return!!(!(o==null||(t=o.ownerDocument)===null||t===void 0)&&t.defaultView&&o instanceof o.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function Lm(e){if(!Ye(e))return!1;const{tagName:r}=e;switch(r){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function _i(e){return e.type.startsWith("touch")}function Si(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function Tl(e){if(Si(e))return{clientX:e.clientX,clientY:e.clientY};if(_i(e))return{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY};if(process.env.NODE_ENV!=="production")throw new Error("@fluentui/react-utilities]: Unable to get clientX. Unknown event type.");return{clientX:0,clientY:0}}function El(e){return e instanceof Set?e:new Set(e)}function Nl(e){const[r,t]=yt({initialState:new Set,defaultState:m.useMemo(()=>e.defaultSelectedItems&&El(e.defaultSelectedItems),[e.defaultSelectedItems]),state:m.useMemo(()=>e.selectedItems&&El(e.selectedItems),[e.selectedItems])});return[r,(i,n)=>{var s;(s=e.onSelectionChange)===null||s===void 0||s.call(e,i,{selectedItems:n}),t(n)}]}function Hm(e){const[r,t]=Nl(e);return[r,{deselectItem:i=>t(i,new Set),selectItem:(i,n)=>t(i,new Set([n])),toggleAllItems:()=>{if(process.env.NODE_ENV!=="production")throw new Error("[react-utilities]: `toggleAllItems` should not be used in single selection mode")},toggleItem:(i,n)=>t(i,new Set([n])),clearItems:i=>t(i,new Set),isSelected:i=>{var n;return(n=r.has(i))!==null&&n!==void 0?n:!1}}]}function Wm(e){const[r,t]=Nl(e);return[r,{toggleItem:(i,n)=>{const s=new Set(r);r.has(n)?s.delete(n):s.add(n),t(i,s)},selectItem:(i,n)=>{const s=new Set(r);s.add(n),t(i,s)},deselectItem:(i,n)=>{const s=new Set(r);s.delete(n),t(i,s)},clearItems:i=>{t(i,new Set)},isSelected:i=>r.has(i),toggleAllItems:(i,n)=>{const s=n.every(u=>r.has(u)),l=new Set(r);s?l.clear():n.forEach(u=>l.add(u)),t(i,l)}}]}function Vm(e){"use no memo";return e.selectionMode==="multiselect"?Wm(e):Hm(e)}function $m(e){return e&&!!e._virtual}function Gm(e){return $m(e)&&e._virtual.parent||null}function Um(e,r={}){if(!e)return null;if(!r.skipVirtual){const o=Gm(e);if(o)return o}const t=e.parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.host:t}function zl(e,r){e&&Object.assign(e,{_virtual:{parent:r}})}function Km(e,r){return{...r,[Rt]:e}}var Bi={exports:{}},he={};/** @license React v17.0.2
77
+ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`),typeof o=="function"?o(t):o&&(o.current=t)},[...e]);return r}const El=(e,r)=>!!(e!=null&&e.contains(r)),Om=e=>{const{targetDocument:r}=_e(),t=r==null?void 0:r.defaultView,{refs:o,callback:i,element:n,disabled:s,disabledFocusOnIframe:l,contains:u=El}=e,a=m.useRef(void 0);Mm({element:n,disabled:l||s,callback:i,refs:o,contains:u});const c=m.useRef(!1),d=J(f=>{if(c.current){c.current=!1;return}const h=f.composedPath()[0];o.every(b=>!u(b.current||null,h))&&!s&&i(f)}),g=J(f=>{c.current=o.some(h=>u(h.current||null,f.target))});m.useEffect(()=>{if(s)return;let f=qm(t);const h=v=>{if(v===f){f=void 0;return}d(v)};return n==null||n.addEventListener("click",h,!0),n==null||n.addEventListener("touchstart",h,!0),n==null||n.addEventListener("contextmenu",h,!0),n==null||n.addEventListener("mousedown",g,!0),a.current=t==null?void 0:t.setTimeout(()=>{f=void 0},1),()=>{n==null||n.removeEventListener("click",h,!0),n==null||n.removeEventListener("touchstart",h,!0),n==null||n.removeEventListener("contextmenu",h,!0),n==null||n.removeEventListener("mousedown",g,!0),t==null||t.clearTimeout(a.current),f=void 0}},[d,n,s,g,t])},qm=e=>{if(e){var r,t;if(typeof e.window=="object"&&e.window===e)return e.event;var o;return(o=(t=e.ownerDocument)===null||t===void 0||(r=t.defaultView)===null||r===void 0?void 0:r.event)!==null&&o!==void 0?o:void 0}},xi="fuiframefocus",Mm=e=>{const{disabled:r,element:t,callback:o,contains:i=El,pollDuration:n=100,refs:s}=e,l=m.useRef(),u=J(a=>{s.every(d=>!i(d.current||null,a.target))&&!r&&o(a)});m.useEffect(()=>{if(!r)return t==null||t.addEventListener(xi,u,!0),()=>{t==null||t.removeEventListener(xi,u,!0)}},[t,r,u]),m.useEffect(()=>{var a;if(!r)return l.current=t==null||(a=t.defaultView)===null||a===void 0?void 0:a.setInterval(()=>{const c=t==null?void 0:t.activeElement;if((c==null?void 0:c.tagName)==="IFRAME"||(c==null?void 0:c.tagName)==="WEBVIEW"){const d=new CustomEvent(xi,{bubbles:!0});c.dispatchEvent(d)}},n),()=>{var c;t==null||(c=t.defaultView)===null||c===void 0||c.clearTimeout(l.current)}},[t,r,n])},Lm=e=>{const r=m.useRef(null);return m.useEffect(()=>{r.current=e},[e]),r.current},Hm=e=>-1,Wm=e=>{};function Vm(){const{targetDocument:e}=_e(),r=e==null?void 0:e.defaultView,t=r?r.setTimeout:Hm,o=r?r.clearTimeout:Wm;return yl(t,o)}function Ee(e,r){return(...t)=>{e==null||e(...t),r==null||r(...t)}}function Ye(e,r){var t;const o=e;var i;return!!(!(o==null||(t=o.ownerDocument)===null||t===void 0)&&t.defaultView&&o instanceof o.ownerDocument.defaultView[(i=r==null?void 0:r.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function $m(e){if(!Ye(e))return!1;const{tagName:r}=e;switch(r){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function _i(e){return e.type.startsWith("touch")}function Si(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function Nl(e){if(Si(e))return{clientX:e.clientX,clientY:e.clientY};if(_i(e))return{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY};if(process.env.NODE_ENV!=="production")throw new Error("@fluentui/react-utilities]: Unable to get clientX. Unknown event type.");return{clientX:0,clientY:0}}function zl(e){return e instanceof Set?e:new Set(e)}function Rl(e){const[r,t]=yt({initialState:new Set,defaultState:m.useMemo(()=>e.defaultSelectedItems&&zl(e.defaultSelectedItems),[e.defaultSelectedItems]),state:m.useMemo(()=>e.selectedItems&&zl(e.selectedItems),[e.selectedItems])});return[r,(i,n)=>{var s;(s=e.onSelectionChange)===null||s===void 0||s.call(e,i,{selectedItems:n}),t(n)}]}function Gm(e){const[r,t]=Rl(e);return[r,{deselectItem:i=>t(i,new Set),selectItem:(i,n)=>t(i,new Set([n])),toggleAllItems:()=>{if(process.env.NODE_ENV!=="production")throw new Error("[react-utilities]: `toggleAllItems` should not be used in single selection mode")},toggleItem:(i,n)=>t(i,new Set([n])),clearItems:i=>t(i,new Set),isSelected:i=>{var n;return(n=r.has(i))!==null&&n!==void 0?n:!1}}]}function Um(e){const[r,t]=Rl(e);return[r,{toggleItem:(i,n)=>{const s=new Set(r);r.has(n)?s.delete(n):s.add(n),t(i,s)},selectItem:(i,n)=>{const s=new Set(r);s.add(n),t(i,s)},deselectItem:(i,n)=>{const s=new Set(r);s.delete(n),t(i,s)},clearItems:i=>{t(i,new Set)},isSelected:i=>r.has(i),toggleAllItems:(i,n)=>{const s=n.every(u=>r.has(u)),l=new Set(r);s?l.clear():n.forEach(u=>l.add(u)),t(i,l)}}]}function Km(e){"use no memo";return e.selectionMode==="multiselect"?Um(e):Gm(e)}function Xm(e){return e&&!!e._virtual}function Zm(e){return Xm(e)&&e._virtual.parent||null}function Qm(e,r={}){if(!e)return null;if(!r.skipVirtual){const o=Zm(e);if(o)return o}const t=e.parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.host:t}function Dl(e,r){e&&Object.assign(e,{_virtual:{parent:r}})}function Ym(e,r){return{...r,[Rt]:e}}var Bi={exports:{}},he={};/** @license React v17.0.2
78
78
  * react-is.development.js
79
79
  *
80
80
  * Copyright (c) Facebook, Inc. and its affiliates.
81
81
  *
82
82
  * This source code is licensed under the MIT license found in the
83
83
  * LICENSE file in the root directory of this source tree.
84
- */var Rl;function Xm(){return Rl||(Rl=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,r=60106,t=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,d=60116,g=60121,f=60122,h=60117,v=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),r=p("react.portal"),t=p("react.fragment"),o=p("react.strict_mode"),i=p("react.profiler"),n=p("react.provider"),s=p("react.context"),l=p("react.forward_ref"),u=p("react.suspense"),a=p("react.suspense_list"),c=p("react.memo"),d=p("react.lazy"),g=p("react.block"),f=p("react.server.block"),h=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),v=p("react.debug_trace_mode"),p("react.offscreen"),b=p("react.legacy_hidden")}var y=!1;function k(K){return!!(typeof K=="string"||typeof K=="function"||K===t||K===i||K===v||K===o||K===u||K===a||K===b||y||typeof K=="object"&&K!==null&&(K.$$typeof===d||K.$$typeof===c||K.$$typeof===n||K.$$typeof===s||K.$$typeof===l||K.$$typeof===h||K.$$typeof===g||K[0]===f))}function w(K){if(typeof K=="object"&&K!==null){var Ht=K.$$typeof;switch(Ht){case e:var Wt=K.type;switch(Wt){case t:case i:case o:case u:case a:return Wt;default:var Ct=Wt&&Wt.$$typeof;switch(Ct){case s:case l:case d:case c:case n:return Ct;default:return Ht}}case r:return Ht}}}var _=s,S=n,C=e,T=l,z=t,I=d,G=c,U=r,B=i,j=o,V=u,X=!1,Z=!1;function R(K){return X||(X=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(K){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function W(K){return w(K)===s}function ne(K){return w(K)===n}function L(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function oe(K){return w(K)===l}function be(K){return w(K)===t}function dt(K){return w(K)===d}function Me(K){return w(K)===c}function tt(K){return w(K)===r}function Mt(K){return w(K)===i}function nr(K){return w(K)===o}function Lt(K){return w(K)===u}he.ContextConsumer=_,he.ContextProvider=S,he.Element=C,he.ForwardRef=T,he.Fragment=z,he.Lazy=I,he.Memo=G,he.Portal=U,he.Profiler=B,he.StrictMode=j,he.Suspense=V,he.isAsyncMode=R,he.isConcurrentMode=q,he.isContextConsumer=W,he.isContextProvider=ne,he.isElement=L,he.isForwardRef=oe,he.isFragment=be,he.isLazy=dt,he.isMemo=Me,he.isPortal=tt,he.isProfiler=Mt,he.isStrictMode=nr,he.isSuspense=Lt,he.isValidElementType=k,he.typeOf=w}()),he}var ge={};/** @license React v17.0.2
84
+ */var Fl;function Jm(){return Fl||(Fl=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,r=60106,t=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,d=60116,g=60121,f=60122,h=60117,v=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),r=p("react.portal"),t=p("react.fragment"),o=p("react.strict_mode"),i=p("react.profiler"),n=p("react.provider"),s=p("react.context"),l=p("react.forward_ref"),u=p("react.suspense"),a=p("react.suspense_list"),c=p("react.memo"),d=p("react.lazy"),g=p("react.block"),f=p("react.server.block"),h=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),v=p("react.debug_trace_mode"),p("react.offscreen"),b=p("react.legacy_hidden")}var y=!1;function k(K){return!!(typeof K=="string"||typeof K=="function"||K===t||K===i||K===v||K===o||K===u||K===a||K===b||y||typeof K=="object"&&K!==null&&(K.$$typeof===d||K.$$typeof===c||K.$$typeof===n||K.$$typeof===s||K.$$typeof===l||K.$$typeof===h||K.$$typeof===g||K[0]===f))}function w(K){if(typeof K=="object"&&K!==null){var Ht=K.$$typeof;switch(Ht){case e:var Wt=K.type;switch(Wt){case t:case i:case o:case u:case a:return Wt;default:var Ct=Wt&&Wt.$$typeof;switch(Ct){case s:case l:case d:case c:case n:return Ct;default:return Ht}}case r:return Ht}}}var _=s,S=n,C=e,T=l,z=t,I=d,G=c,U=r,B=i,j=o,V=u,X=!1,Z=!1;function R(K){return X||(X=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(K){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function W(K){return w(K)===s}function ne(K){return w(K)===n}function L(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function oe(K){return w(K)===l}function be(K){return w(K)===t}function dt(K){return w(K)===d}function Me(K){return w(K)===c}function tt(K){return w(K)===r}function Mt(K){return w(K)===i}function nr(K){return w(K)===o}function Lt(K){return w(K)===u}he.ContextConsumer=_,he.ContextProvider=S,he.Element=C,he.ForwardRef=T,he.Fragment=z,he.Lazy=I,he.Memo=G,he.Portal=U,he.Profiler=B,he.StrictMode=j,he.Suspense=V,he.isAsyncMode=R,he.isConcurrentMode=q,he.isContextConsumer=W,he.isContextProvider=ne,he.isElement=L,he.isForwardRef=oe,he.isFragment=be,he.isLazy=dt,he.isMemo=Me,he.isPortal=tt,he.isProfiler=Mt,he.isStrictMode=nr,he.isSuspense=Lt,he.isValidElementType=k,he.typeOf=w}()),he}var ge={};/** @license React v17.0.2
85
85
  * react-is.production.min.js
86
86
  *
87
87
  * Copyright (c) Facebook, Inc. and its affiliates.
88
88
  *
89
89
  * This source code is licensed under the MIT license found in the
90
90
  * LICENSE file in the root directory of this source tree.
91
- */var Dl;function Zm(){if(Dl)return ge;Dl=1;var e=60103,r=60106,t=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,d=60116,g=60121,f=60122,h=60117,v=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),r=p("react.portal"),t=p("react.fragment"),o=p("react.strict_mode"),i=p("react.profiler"),n=p("react.provider"),s=p("react.context"),l=p("react.forward_ref"),u=p("react.suspense"),a=p("react.suspense_list"),c=p("react.memo"),d=p("react.lazy"),g=p("react.block"),f=p("react.server.block"),h=p("react.fundamental"),v=p("react.debug_trace_mode"),b=p("react.legacy_hidden")}function y(B){if(typeof B=="object"&&B!==null){var j=B.$$typeof;switch(j){case e:switch(B=B.type,B){case t:case i:case o:case u:case a:return B;default:switch(B=B&&B.$$typeof,B){case s:case l:case d:case c:case n:return B;default:return j}}case r:return j}}}var k=n,w=e,_=l,S=t,C=d,T=c,z=r,I=i,G=o,U=u;return ge.ContextConsumer=s,ge.ContextProvider=k,ge.Element=w,ge.ForwardRef=_,ge.Fragment=S,ge.Lazy=C,ge.Memo=T,ge.Portal=z,ge.Profiler=I,ge.StrictMode=G,ge.Suspense=U,ge.isAsyncMode=function(){return!1},ge.isConcurrentMode=function(){return!1},ge.isContextConsumer=function(B){return y(B)===s},ge.isContextProvider=function(B){return y(B)===n},ge.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},ge.isForwardRef=function(B){return y(B)===l},ge.isFragment=function(B){return y(B)===t},ge.isLazy=function(B){return y(B)===d},ge.isMemo=function(B){return y(B)===c},ge.isPortal=function(B){return y(B)===r},ge.isProfiler=function(B){return y(B)===i},ge.isStrictMode=function(B){return y(B)===o},ge.isSuspense=function(B){return y(B)===u},ge.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===t||B===i||B===v||B===o||B===u||B===a||B===b||typeof B=="object"&&B!==null&&(B.$$typeof===d||B.$$typeof===c||B.$$typeof===n||B.$$typeof===s||B.$$typeof===l||B.$$typeof===h||B.$$typeof===g||B[0]===f)},ge.typeOf=y,ge}process.env.NODE_ENV==="production"?Bi.exports=Zm():Bi.exports=Xm();var Qm=Bi.exports;function Ym(e){process.env.NODE_ENV==="development"&&typeof e=="object"&&!Qm.isValidElementType(e)&&console.error(`@fluentui/react-jsx-runtime:
91
+ */var Il;function ep(){if(Il)return ge;Il=1;var e=60103,r=60106,t=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,d=60116,g=60121,f=60122,h=60117,v=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),r=p("react.portal"),t=p("react.fragment"),o=p("react.strict_mode"),i=p("react.profiler"),n=p("react.provider"),s=p("react.context"),l=p("react.forward_ref"),u=p("react.suspense"),a=p("react.suspense_list"),c=p("react.memo"),d=p("react.lazy"),g=p("react.block"),f=p("react.server.block"),h=p("react.fundamental"),v=p("react.debug_trace_mode"),b=p("react.legacy_hidden")}function y(B){if(typeof B=="object"&&B!==null){var j=B.$$typeof;switch(j){case e:switch(B=B.type,B){case t:case i:case o:case u:case a:return B;default:switch(B=B&&B.$$typeof,B){case s:case l:case d:case c:case n:return B;default:return j}}case r:return j}}}var k=n,w=e,_=l,S=t,C=d,T=c,z=r,I=i,G=o,U=u;return ge.ContextConsumer=s,ge.ContextProvider=k,ge.Element=w,ge.ForwardRef=_,ge.Fragment=S,ge.Lazy=C,ge.Memo=T,ge.Portal=z,ge.Profiler=I,ge.StrictMode=G,ge.Suspense=U,ge.isAsyncMode=function(){return!1},ge.isConcurrentMode=function(){return!1},ge.isContextConsumer=function(B){return y(B)===s},ge.isContextProvider=function(B){return y(B)===n},ge.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},ge.isForwardRef=function(B){return y(B)===l},ge.isFragment=function(B){return y(B)===t},ge.isLazy=function(B){return y(B)===d},ge.isMemo=function(B){return y(B)===c},ge.isPortal=function(B){return y(B)===r},ge.isProfiler=function(B){return y(B)===i},ge.isStrictMode=function(B){return y(B)===o},ge.isSuspense=function(B){return y(B)===u},ge.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===t||B===i||B===v||B===o||B===u||B===a||B===b||typeof B=="object"&&B!==null&&(B.$$typeof===d||B.$$typeof===c||B.$$typeof===n||B.$$typeof===s||B.$$typeof===l||B.$$typeof===h||B.$$typeof===g||B[0]===f)},ge.typeOf=y,ge}process.env.NODE_ENV==="production"?Bi.exports=ep():Bi.exports=Jm();var tp=Bi.exports;function rp(e){process.env.NODE_ENV==="development"&&typeof e=="object"&&!tp.isValidElementType(e)&&console.error(`@fluentui/react-jsx-runtime:
92
92
  Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${e}.
93
93
 
94
94
  If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
95
95
  Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
96
- You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Fl(e,r){return function(o,i,n,s,l){return ki(i)?r(Km(o,i),null,n,s,l):ki(o)?r(o,i,n,s,l):(Ym(o),e(o,i,n,s,l))}}function Il(e){const{as:r,[hl]:t,[Rt]:o,[Ho]:i,...n}=e,s=n,l=typeof o=="string"?r??o:o;return typeof l!="string"&&r&&(s.as=r),{elementType:l,props:s,renderFunction:i}}const Jt=Qf,Jm=(e,r,t)=>{const{elementType:o,renderFunction:i,props:n}=Il(e),s={...n,...r};return i?Jt.jsx(m.Fragment,{children:i(o,s)},t):Jt.jsx(o,s,t)},ep=(e,r,t)=>{const{elementType:o,renderFunction:i,props:n}=Il(e),s={...n,...r};return i?Jt.jsx(m.Fragment,{children:i(o,{...s,children:Jt.jsxs(m.Fragment,{children:s.children},void 0)})},t):Jt.jsxs(o,s,t)},A=Fl(Jt.jsx,Jm),we=Fl(Jt.jsxs,ep),Al=m.createContext(void 0),tp={};Al.Provider;const rp=()=>{const e=m.useContext(Al);return e??tp};var op=typeof WeakRef<"u",jl=class{constructor(e){op&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,r;let t;return this._weakRef?(t=(e=this._weakRef)==null?void 0:e.deref(),t||delete this._weakRef):(t=this._instance,(r=t==null?void 0:t.isDisposed)!=null&&r.call(t)&&delete this._instance),t}},it="keyborg:focusin",oo="keyborg:focusout";function np(e){const r=e.HTMLElement,t=r.prototype.focus;let o=!1;return r.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),r.prototype.focus=t,o}var Ci=!1;function ht(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function ip(e){const r=e;Ci||(Ci=np(r));const t=r.HTMLElement.prototype.focus;if(t.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=u;const o=new Set,i=c=>{const d=c.target;if(!d)return;const g=new CustomEvent(oo,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:c}});d.dispatchEvent(g)},n=c=>{const d=c.target;if(!d)return;let g=c.composedPath()[0];const f=new Set;for(;g;)g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(f.add(g),g=g.host):g=g.parentNode;for(const h of o){const v=h.deref();(!v||!f.has(v))&&(o.delete(h),v&&(v.removeEventListener("focusin",n,!0),v.removeEventListener("focusout",i,!0)))}s(d,c.relatedTarget||void 0)},s=(c,d,g)=>{var f;const h=c.shadowRoot;if(h){for(const p of o)if(p.deref()===h)return;h.addEventListener("focusin",n,!0),h.addEventListener("focusout",i,!0),o.add(new jl(h));return}const v={relatedTarget:d,originalEvent:g},b=new CustomEvent(it,{cancelable:!0,bubbles:!0,composed:!0,detail:v});b.details=v,(Ci||l.lastFocusedProgrammatically)&&(v.isFocusedProgrammatically=c===((f=l.lastFocusedProgrammatically)==null?void 0:f.deref()),l.lastFocusedProgrammatically=void 0),c.dispatchEvent(b)},l=r.__keyborgData={focusInHandler:n,focusOutHandler:i,shadowTargets:o};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0),r.document.addEventListener("focusout",r.__keyborgData.focusOutHandler,!0);function u(){const c=r.__keyborgData;return c&&(c.lastFocusedProgrammatically=new jl(this)),t.apply(this,arguments)}let a=r.document.activeElement;for(;a&&a.shadowRoot;)s(a),a=a.shadowRoot.activeElement;u.__keyborgNativeFocus=t}function ap(e){const r=e,t=r.HTMLElement.prototype,o=t.focus.__keyborgNativeFocus,i=r.__keyborgData;if(i){r.document.removeEventListener("focusin",i.focusInHandler,!0),r.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const n of i.shadowTargets){const s=n.deref();s&&(s.removeEventListener("focusin",i.focusInHandler,!0),s.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete r.__keyborgData}o&&(t.focus=o)}var sp=500,Ol=0,lp=class{constructor(e,r){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=o=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const i=o.detail;i.relatedTarget&&(i.isFocusedProgrammatically||i.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=o=>{o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const o=this._win;o&&(this._isMouseOrTouchUsedTimer&&o.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=o=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(o)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(o)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++Ol,this._win=e;const t=e.document;if(r){const o=r.triggerKeys,i=r.dismissKeys;o!=null&&o.length&&(this._triggerKeys=new Set(o)),i!=null&&i.length&&(this._dismissKeys=new Set(i))}t.addEventListener(it,this._onFocusIn,!0),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener("touchstart",this._onMouseOrTouch,!0),t.addEventListener("touchend",this._onMouseOrTouch,!0),t.addEventListener("touchcancel",this._onMouseOrTouch,!0),ip(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),ap(e);const r=e.document;r.removeEventListener(it,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener("touchstart",this._onMouseOrTouch,!0),r.removeEventListener("touchend",this._onMouseOrTouch,!0),r.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,r;const t=(r=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:r.refs;if(t)for(const o of Object.keys(t))Pi.update(t[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var r;if(e.key==="Tab")return!0;const t=(r=this._win)==null?void 0:r.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=t&&(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable);return o&&!i}_shouldDismissKeyboardNavigation(e){var r;return(r=this._dismissKeys)==null?void 0:r.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const t=e.document.activeElement;r&&t&&r===t&&(this.isNavigatingWithKeyboard=!1)},sp)}}},Pi=class $f{constructor(r,t){this._cb=[],this._id="k"+ ++Ol,this._win=r;const o=r.__keyborg;o?(this._core=o.core,o.refs[this._id]=this):(this._core=new lp(r,t),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,t){return new $f(r,t)}static dispose(r){r.dispose()}static update(r,t){r._cb.forEach(o=>o(t))}dispose(){var r;const t=(r=this._win)==null?void 0:r.__keyborg;t!=null&&t.refs[this._id]?(delete t.refs[this._id],Object.keys(t.refs).length===0&&(t.core.dispose(),delete this._win.__keyborg)):process.env.NODE_ENV!=="production"&&console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var r;return!!((r=this._core)!=null&&r.isNavigatingWithKeyboard)}subscribe(r){this._cb.push(r)}unsubscribe(r){const t=this._cb.indexOf(r);t>=0&&this._cb.splice(t,1)}setVal(r){this._core&&(this._core.isNavigatingWithKeyboard=r)}};function $o(e,r){return Pi.create(e,r)}function Go(e){Pi.dispose(e)}/*!
96
+ You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Al(e,r){return function(o,i,n,s,l){return ki(i)?r(Ym(o,i),null,n,s,l):ki(o)?r(o,i,n,s,l):(rp(o),e(o,i,n,s,l))}}function jl(e){const{as:r,[vl]:t,[Rt]:o,[Ho]:i,...n}=e,s=n,l=typeof o=="string"?r??o:o;return typeof l!="string"&&r&&(s.as=r),{elementType:l,props:s,renderFunction:i}}const Jt=Jf,op=(e,r,t)=>{const{elementType:o,renderFunction:i,props:n}=jl(e),s={...n,...r};return i?Jt.jsx(m.Fragment,{children:i(o,s)},t):Jt.jsx(o,s,t)},np=(e,r,t)=>{const{elementType:o,renderFunction:i,props:n}=jl(e),s={...n,...r};return i?Jt.jsx(m.Fragment,{children:i(o,{...s,children:Jt.jsxs(m.Fragment,{children:s.children},void 0)})},t):Jt.jsxs(o,s,t)},A=Al(Jt.jsx,op),we=Al(Jt.jsxs,np),Ol=m.createContext(void 0),ip={};Ol.Provider;const ap=()=>{const e=m.useContext(Ol);return e??ip};var sp=typeof WeakRef<"u",ql=class{constructor(e){sp&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,r;let t;return this._weakRef?(t=(e=this._weakRef)==null?void 0:e.deref(),t||delete this._weakRef):(t=this._instance,(r=t==null?void 0:t.isDisposed)!=null&&r.call(t)&&delete this._instance),t}},it="keyborg:focusin",oo="keyborg:focusout";function lp(e){const r=e.HTMLElement,t=r.prototype.focus;let o=!1;return r.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),r.prototype.focus=t,o}var Ci=!1;function ht(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function cp(e){const r=e;Ci||(Ci=lp(r));const t=r.HTMLElement.prototype.focus;if(t.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=u;const o=new Set,i=c=>{const d=c.target;if(!d)return;const g=new CustomEvent(oo,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:c}});d.dispatchEvent(g)},n=c=>{const d=c.target;if(!d)return;let g=c.composedPath()[0];const f=new Set;for(;g;)g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(f.add(g),g=g.host):g=g.parentNode;for(const h of o){const v=h.deref();(!v||!f.has(v))&&(o.delete(h),v&&(v.removeEventListener("focusin",n,!0),v.removeEventListener("focusout",i,!0)))}s(d,c.relatedTarget||void 0)},s=(c,d,g)=>{var f;const h=c.shadowRoot;if(h){for(const p of o)if(p.deref()===h)return;h.addEventListener("focusin",n,!0),h.addEventListener("focusout",i,!0),o.add(new ql(h));return}const v={relatedTarget:d,originalEvent:g},b=new CustomEvent(it,{cancelable:!0,bubbles:!0,composed:!0,detail:v});b.details=v,(Ci||l.lastFocusedProgrammatically)&&(v.isFocusedProgrammatically=c===((f=l.lastFocusedProgrammatically)==null?void 0:f.deref()),l.lastFocusedProgrammatically=void 0),c.dispatchEvent(b)},l=r.__keyborgData={focusInHandler:n,focusOutHandler:i,shadowTargets:o};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0),r.document.addEventListener("focusout",r.__keyborgData.focusOutHandler,!0);function u(){const c=r.__keyborgData;return c&&(c.lastFocusedProgrammatically=new ql(this)),t.apply(this,arguments)}let a=r.document.activeElement;for(;a&&a.shadowRoot;)s(a),a=a.shadowRoot.activeElement;u.__keyborgNativeFocus=t}function up(e){const r=e,t=r.HTMLElement.prototype,o=t.focus.__keyborgNativeFocus,i=r.__keyborgData;if(i){r.document.removeEventListener("focusin",i.focusInHandler,!0),r.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const n of i.shadowTargets){const s=n.deref();s&&(s.removeEventListener("focusin",i.focusInHandler,!0),s.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete r.__keyborgData}o&&(t.focus=o)}var dp=500,Ml=0,fp=class{constructor(e,r){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=o=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const i=o.detail;i.relatedTarget&&(i.isFocusedProgrammatically||i.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=o=>{o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const o=this._win;o&&(this._isMouseOrTouchUsedTimer&&o.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=o=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(o)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(o)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++Ml,this._win=e;const t=e.document;if(r){const o=r.triggerKeys,i=r.dismissKeys;o!=null&&o.length&&(this._triggerKeys=new Set(o)),i!=null&&i.length&&(this._dismissKeys=new Set(i))}t.addEventListener(it,this._onFocusIn,!0),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener("touchstart",this._onMouseOrTouch,!0),t.addEventListener("touchend",this._onMouseOrTouch,!0),t.addEventListener("touchcancel",this._onMouseOrTouch,!0),cp(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),up(e);const r=e.document;r.removeEventListener(it,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener("touchstart",this._onMouseOrTouch,!0),r.removeEventListener("touchend",this._onMouseOrTouch,!0),r.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,r;const t=(r=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:r.refs;if(t)for(const o of Object.keys(t))Pi.update(t[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var r;if(e.key==="Tab")return!0;const t=(r=this._win)==null?void 0:r.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=t&&(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable);return o&&!i}_shouldDismissKeyboardNavigation(e){var r;return(r=this._dismissKeys)==null?void 0:r.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const t=e.document.activeElement;r&&t&&r===t&&(this.isNavigatingWithKeyboard=!1)},dp)}}},Pi=class Uf{constructor(r,t){this._cb=[],this._id="k"+ ++Ml,this._win=r;const o=r.__keyborg;o?(this._core=o.core,o.refs[this._id]=this):(this._core=new fp(r,t),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,t){return new Uf(r,t)}static dispose(r){r.dispose()}static update(r,t){r._cb.forEach(o=>o(t))}dispose(){var r;const t=(r=this._win)==null?void 0:r.__keyborg;t!=null&&t.refs[this._id]?(delete t.refs[this._id],Object.keys(t.refs).length===0&&(t.core.dispose(),delete this._win.__keyborg)):process.env.NODE_ENV!=="production"&&console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var r;return!!((r=this._core)!=null&&r.isNavigatingWithKeyboard)}subscribe(r){this._cb.push(r)}unsubscribe(r){const t=this._cb.indexOf(r);t>=0&&this._cb.splice(t,1)}setVal(r){this._core&&(this._core.isNavigatingWithKeyboard=r)}};function $o(e,r){return Pi.create(e,r)}function Go(e){Pi.dispose(e)}/*!
97
97
  * Copyright (c) Microsoft Corporation. All rights reserved.
98
98
  * Licensed under the MIT License.
99
99
  *//*!
100
100
  * Copyright (c) Microsoft Corporation. All rights reserved.
101
101
  * Licensed under the MIT License.
102
- */const Je="data-tabster",ql="data-tabster-dummy",Ml=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),wt={EscapeGroupper:1,Restorer:2,Deloser:3},Dt={Invisible:0,PartiallyVisible:1,Visible:2},Cr={Source:0,Target:1},at={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Se={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Uo={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ti={Enter:1,Escape:2},cp={Auto:0,Inside:1,Outside:2};/*!
102
+ */const Je="data-tabster",Ll="data-tabster-dummy",Hl=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),wt={EscapeGroupper:1,Restorer:2,Deloser:3},Dt={Invisible:0,PartiallyVisible:1,Visible:2},Cr={Source:0,Target:1},at={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Se={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Uo={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ti={Enter:1,Escape:2},hp={Auto:0,Inside:1,Outside:2};/*!
103
103
  * Copyright (c) Microsoft Corporation. All rights reserved.
104
104
  * Licensed under the MIT License.
105
- */function je(e,r){var t;return(t=e.storageEntry(r))===null||t===void 0?void 0:t.tabster}function Ll(e,r,t){var o,i;const n=t||e._noop?void 0:r.getAttribute(Je);let s=e.storageEntry(r),l;if(n)if(n!==((o=s==null?void 0:s.attr)===null||o===void 0?void 0:o.string))try{const d=JSON.parse(n);if(typeof d!="object")throw new Error(`Value is not a JSON object, got '${n}'.`);l={string:n,object:d}}catch(d){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${d}`,r)}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},a=((i=s.attr)===null||i===void 0?void 0:i.object)||{},c=(l==null?void 0:l.object)||{};for(const d of Object.keys(a))if(!c[d]){if(d==="root"){const g=u[d];g&&e.root.onRoot(g,!0)}switch(d){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const g=u[d];g&&(g.dispose(),delete u[d]);break;case"observed":delete u[d],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[d];break}}for(const d of Object.keys(c)){const g=c.sys;switch(d){case"deloser":u.deloser?u.deloser.setProps(c.deloser):e.deloser?u.deloser=e.deloser.createDeloser(r,c.deloser):process.env.NODE_ENV==="development"&&console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":u.root?u.root.setProps(c.root):u.root=e.root.createRoot(r,c.root,g),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(c.modalizer):e.modalizer?u.modalizer=e.modalizer.createModalizer(r,c.modalizer,g):process.env.NODE_ENV==="development"&&console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":u.restorer?u.restorer.setProps(c.restorer):e.restorer?c.restorer&&(u.restorer=e.restorer.createRestorer(r,c.restorer)):process.env.NODE_ENV==="development"&&console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":u.focusable=c.focusable;break;case"groupper":u.groupper?u.groupper.setProps(c.groupper):e.groupper?u.groupper=e.groupper.createGroupper(r,c.groupper,g):process.env.NODE_ENV==="development"&&console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":u.mover?u.mover.setProps(c.mover):e.mover?u.mover=e.mover.createMover(r,c.mover,g):process.env.NODE_ENV==="development"&&console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":e.observedElement?(u.observed=c.observed,e.observedElement.onObservedElementUpdate(r)):process.env.NODE_ENV==="development"&&console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":u.uncontrolled=c.uncontrolled;break;case"outline":e.outline?u.outline=c.outline:process.env.NODE_ENV==="development"&&console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":u.sys=c.sys;break;default:console.error(`Unknown key '${d}' in data-tabster attribute value.`)}}l?s.attr=l:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
105
+ */function je(e,r){var t;return(t=e.storageEntry(r))===null||t===void 0?void 0:t.tabster}function Wl(e,r,t){var o,i;const n=t||e._noop?void 0:r.getAttribute(Je);let s=e.storageEntry(r),l;if(n)if(n!==((o=s==null?void 0:s.attr)===null||o===void 0?void 0:o.string))try{const d=JSON.parse(n);if(typeof d!="object")throw new Error(`Value is not a JSON object, got '${n}'.`);l={string:n,object:d}}catch(d){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${d}`,r)}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},a=((i=s.attr)===null||i===void 0?void 0:i.object)||{},c=(l==null?void 0:l.object)||{};for(const d of Object.keys(a))if(!c[d]){if(d==="root"){const g=u[d];g&&e.root.onRoot(g,!0)}switch(d){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const g=u[d];g&&(g.dispose(),delete u[d]);break;case"observed":delete u[d],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[d];break}}for(const d of Object.keys(c)){const g=c.sys;switch(d){case"deloser":u.deloser?u.deloser.setProps(c.deloser):e.deloser?u.deloser=e.deloser.createDeloser(r,c.deloser):process.env.NODE_ENV==="development"&&console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":u.root?u.root.setProps(c.root):u.root=e.root.createRoot(r,c.root,g),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(c.modalizer):e.modalizer?u.modalizer=e.modalizer.createModalizer(r,c.modalizer,g):process.env.NODE_ENV==="development"&&console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":u.restorer?u.restorer.setProps(c.restorer):e.restorer?c.restorer&&(u.restorer=e.restorer.createRestorer(r,c.restorer)):process.env.NODE_ENV==="development"&&console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":u.focusable=c.focusable;break;case"groupper":u.groupper?u.groupper.setProps(c.groupper):e.groupper?u.groupper=e.groupper.createGroupper(r,c.groupper,g):process.env.NODE_ENV==="development"&&console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":u.mover?u.mover.setProps(c.mover):e.mover?u.mover=e.mover.createMover(r,c.mover,g):process.env.NODE_ENV==="development"&&console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":e.observedElement?(u.observed=c.observed,e.observedElement.onObservedElementUpdate(r)):process.env.NODE_ENV==="development"&&console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":u.uncontrolled=c.uncontrolled;break;case"outline":e.outline?u.outline=c.outline:process.env.NODE_ENV==="development"&&console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":u.sys=c.sys;break;default:console.error(`Unknown key '${d}' in data-tabster attribute value.`)}}l?s.attr=l:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
106
106
  * Copyright (c) Microsoft Corporation. All rights reserved.
107
107
  * Licensed under the MIT License.
108
- */const up="tabster:focusin",dp="tabster:focusout",fp="tabster:movefocus",hp="tabster:modalizer:active",gp="tabster:modalizer:inactive",vp="tabster:mover:state",Ei="tabster:mover:movefocus",Hl="tabster:mover:memorized-element",Ni="tabster:groupper:movefocus",zi="tabster:restorer:restore-focus",mp="tabster:root:focus",pp="tabster:root:blur",bp=typeof CustomEvent<"u"?CustomEvent:function(){};class st extends bp{constructor(r,t){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class yp extends st{constructor(r){super(up,r)}}class wp extends st{constructor(r){super(dp,r)}}class Ft extends st{constructor(r){super(fp,r)}}class Wl extends st{constructor(r){super(vp,r)}}class kp extends st{constructor(r){super(Ei,r)}}class xp extends st{constructor(r){super(Ni,r)}}class _p extends st{constructor(r){super(hp,r)}}class Sp extends st{constructor(r){super(gp,r)}}class Vl extends st{constructor(){super(zi)}}class Bp extends st{constructor(r){super(mp,r)}}class Cp extends st{constructor(r){super(pp,r)}}/*!
108
+ */const gp="tabster:focusin",vp="tabster:focusout",mp="tabster:movefocus",pp="tabster:modalizer:active",bp="tabster:modalizer:inactive",yp="tabster:mover:state",Ei="tabster:mover:movefocus",Vl="tabster:mover:memorized-element",Ni="tabster:groupper:movefocus",zi="tabster:restorer:restore-focus",wp="tabster:root:focus",kp="tabster:root:blur",xp=typeof CustomEvent<"u"?CustomEvent:function(){};class st extends xp{constructor(r,t){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class _p extends st{constructor(r){super(gp,r)}}class Sp extends st{constructor(r){super(vp,r)}}class Ft extends st{constructor(r){super(mp,r)}}class $l extends st{constructor(r){super(yp,r)}}class Bp extends st{constructor(r){super(Ei,r)}}class Cp extends st{constructor(r){super(Ni,r)}}class Pp extends st{constructor(r){super(pp,r)}}class Tp extends st{constructor(r){super(bp,r)}}class Gl extends st{constructor(){super(zi)}}class Ep extends st{constructor(r){super(wp,r)}}class Np extends st{constructor(r){super(kp,r)}}/*!
109
109
  * Copyright (c) Microsoft Corporation. All rights reserved.
110
110
  * Licensed under the MIT License.
111
- */const N={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,r,t,o)=>e.createTreeWalker(r,t,o),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,r)=>!!(r&&(e!=null&&e.contains(r))),getActiveElement:e=>e.activeElement,querySelector:(e,r)=>e.querySelector(r),querySelectorAll:(e,r)=>Array.prototype.slice.call(e.querySelectorAll(r),0),getElementById:(e,r)=>e.getElementById(r),getFirstChild:e=>(e==null?void 0:e.firstChild)||null,getLastChild:e=>(e==null?void 0:e.lastChild)||null,getNextSibling:e=>(e==null?void 0:e.nextSibling)||null,getPreviousSibling:e=>(e==null?void 0:e.previousSibling)||null,getFirstElementChild:e=>(e==null?void 0:e.firstElementChild)||null,getLastElementChild:e=>(e==null?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(e==null?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(e==null?void 0:e.previousElementSibling)||null,appendChild:(e,r)=>e.appendChild(r),insertBefore:(e,r,t)=>e.insertBefore(r,t),getSelection:e=>{var r;return((r=e.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},getElementsByName:(e,r)=>e.ownerDocument.getElementsByName(r)};function Pp(e){for(const r of Object.keys(e))N[r]=e[r]}/*!
111
+ */const N={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,r,t,o)=>e.createTreeWalker(r,t,o),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,r)=>!!(r&&(e!=null&&e.contains(r))),getActiveElement:e=>e.activeElement,querySelector:(e,r)=>e.querySelector(r),querySelectorAll:(e,r)=>Array.prototype.slice.call(e.querySelectorAll(r),0),getElementById:(e,r)=>e.getElementById(r),getFirstChild:e=>(e==null?void 0:e.firstChild)||null,getLastChild:e=>(e==null?void 0:e.lastChild)||null,getNextSibling:e=>(e==null?void 0:e.nextSibling)||null,getPreviousSibling:e=>(e==null?void 0:e.previousSibling)||null,getFirstElementChild:e=>(e==null?void 0:e.firstElementChild)||null,getLastElementChild:e=>(e==null?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(e==null?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(e==null?void 0:e.previousElementSibling)||null,appendChild:(e,r)=>e.appendChild(r),insertBefore:(e,r,t)=>e.insertBefore(r,t),getSelection:e=>{var r;return((r=e.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},getElementsByName:(e,r)=>e.ownerDocument.getElementsByName(r)};function zp(e){for(const r of Object.keys(e))N[r]=e[r]}/*!
112
112
  * Copyright (c) Microsoft Corporation. All rights reserved.
113
113
  * Licensed under the MIT License.
114
- */let Ri;const $l=typeof DOMRect<"u"?DOMRect:class{constructor(e,r,t,o){this.left=e||0,this.top=r||0,this.right=(e||0)+(t||0),this.bottom=(r||0)+(o||0)}};let Tp=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Ri=!1}catch{Ri=!0}const Di=100;function kt(e){const r=e();let t=r.__tabsterInstanceContext;return t||(t={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=t),t}function Ep(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&e.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function Np(e){const r=e.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function zp(e){return!!e.querySelector(Ml)}class Gl{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,t){return r._target?t||!Ii(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class Ge{constructor(r,t,o){const i=kt(r);let n;i.WeakRef?n=new i.WeakRef(t):(n=new Gl(t),i.fakeWeakRefs.push(n)),this._ref=n,this._data=o}get(){const r=this._ref;let t;return r&&(t=r.deref(),t||delete this._ref),t}getData(){return this._data}}function Ul(e,r){const t=kt(e);t.fakeWeakRefs=t.fakeWeakRefs.filter(o=>!Gl.cleanup(o,r))}function Kl(e){const r=kt(e);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=jp(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=e().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,Ul(e),Kl(e)},2*60*1e3))}function Rp(e){const r=kt(e);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(e().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function Fi(e,r,t){if(r.nodeType!==Node.ELEMENT_NODE)return;const o=Ri?t:{acceptNode:t};return N.createTreeWalker(e,r,NodeFilter.SHOW_ELEMENT,o,!1)}function Xl(e,r){let t=r.__tabsterCacheId;const o=kt(e),i=t?o.containerBoundingRectCache[t]:void 0;if(i)return i.rect;const n=r.ownerDocument&&r.ownerDocument.documentElement;if(!n)return new $l;let s=0,l=0,u=n.clientWidth,a=n.clientHeight;if(r!==n){const d=r.getBoundingClientRect();s=Math.max(s,d.left),l=Math.max(l,d.top),u=Math.min(u,d.right),a=Math.min(a,d.bottom)}const c=new $l(s<u?s:-1,l<a?l:-1,s<u?u-s:0,l<a?a-l:0);return t||(t="r-"+ ++o.lastContainerBoundingRectCacheId,r.__tabsterCacheId=t),o.containerBoundingRectCache[t]={rect:c,element:r},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(const d of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[d].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),c}function Zl(e,r,t){const o=Ql(r);if(!o)return!1;const i=Xl(e,o),n=r.getBoundingClientRect(),s=n.height*(1-t),l=Math.max(0,i.top-n.top),u=Math.max(0,n.bottom-i.bottom),a=l+u;return a===0||a<=s}function Dp(e,r,t){const o=Ql(r);if(o){const i=Xl(e,o),n=r.getBoundingClientRect();t?o.scrollTop+=n.top-i.top:o.scrollTop+=n.bottom-i.bottom}}function Ql(e){const r=e.ownerDocument;if(r){for(let t=N.getParentElement(e);t;t=N.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return r.documentElement}return null}function Fp(e){e.__shouldIgnoreFocus=!0}function Yl(e){return!!e.__shouldIgnoreFocus}function Ip(e){const r=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(r);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(r);else for(let o=0;o<r.length;o++)r[o]=4294967295*Math.random();const t=[];for(let o=0;o<r.length;o++)t.push(r[o].toString(36));return t.push("|"),t.push((++Tp).toString(36)),t.push("|"),t.push(Date.now().toString(36)),t.join("")}function Ko(e,r){const t=kt(e);let o=r.__tabsterElementUID;return o||(o=r.__tabsterElementUID=Ip(e())),!t.elementByUId[o]&&Ii(r.ownerDocument,r)&&(t.elementByUId[o]=new Ge(e,r)),o}function Jl(e,r){const t=kt(e);for(const o of Object.keys(t.elementByUId)){const i=t.elementByUId[o],n=i&&i.get();n&&r&&!N.nodeContains(r,n)||delete t.elementByUId[o]}}function Ii(e,r){return N.nodeContains(e==null?void 0:e.body,r)}function ec(e,r){const t=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return t&&t.call(e,r)}function Ap(e){const r=kt(e);if(r.basics.Promise)return r.basics.Promise;throw new Error("No Promise defined.")}function jp(e){return e.basics.WeakRef}let Op=0;class no{constructor(r,t,o){const i=r.getWindow;this._tabster=r,this._element=new Ge(i,t),this._props={...o},this.id="i"+ ++Op}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class Xo{constructor(r,t,o,i,n){var s;this._focusIn=c=>{if(this._fixedTarget){const g=this._fixedTarget.get();g&&ht(g);return}const d=this.input;if(this.onFocusIn&&d){const g=c.relatedTarget;this.onFocusIn(this,this._isBackward(!0,d,g),g)}},this._focusOut=c=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const d=this.input;if(this.onFocusOut&&d){const g=c.relatedTarget;this.onFocusOut(this,this._isBackward(!1,d,g),g)}};const l=r(),u=l.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(ql,""),u.setAttribute("aria-hidden","true");const a=u.style;a.position="fixed",a.width=a.height="1px",a.opacity="0.001",a.zIndex="-1",a.setProperty("content-visibility","hidden"),Fp(u),this.input=u,this.isFirst=o.isFirst,this.isOutside=t,this._isPhantom=(s=o.isPhantom)!==null&&s!==void 0?s:!1,this._fixedTarget=n,u.addEventListener("focusin",this._focusIn),u.addEventListener("focusout",this._focusOut),u.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=l.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(l.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,(r=N.getParentNode(t))===null||r===void 0||r.removeChild(t))}setTopLeft(r,t){var o;const i=(o=this.input)===null||o===void 0?void 0:o.style;i&&(i.top=`${r}px`,i.left=`${t}px`)}_isBackward(r,t,o){return r&&!o?!this.isFirst:!!(o&&t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Zo={Root:1,Modalizer:2,Mover:3,Groupper:4};class Pr{constructor(r,t,o,i,n,s){this._element=t,this._instance=new Mp(r,t,this,o,i,n,s)}_setHandlers(r,t){this._onFocusIn=r,this._onFocusOut=t}moveOut(r){var t;(t=this._instance)===null||t===void 0||t.moveOut(r)}moveOutWithDefaultAction(r,t){var o;(o=this._instance)===null||o===void 0||o.moveOutWithDefaultAction(r,t)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var t;(t=this._instance)===null||t===void 0||t.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,t,o,i,n){const l=new Xo(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(l){let u,a;if(t.tagName==="BODY")u=t,a=o&&i||!o&&!i?N.getFirstElementChild(t):null;else{o&&(!i||i&&!r.focusable.isFocusable(t,!1,!0,!0))?(u=t,a=i?t.firstElementChild:null):(u=N.getParentElement(t),a=o&&i||!o&&!i?t:N.getNextElementSibling(t));let c,d;do c=o&&i||!o&&!i?N.getPreviousElementSibling(a):a,d=Tr(c),d===t?a=o&&i||!o&&!i?c:N.getNextElementSibling(c):d=null;while(d)}u!=null&&u.dispatchEvent(new Ft({by:"root",owner:u,next:null,relatedEvent:n}))&&(N.insertBefore(u,l,a),ht(l))}}static addPhantomDummyWithTarget(r,t,o,i){const s=new Xo(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Ge(r.getWindow,i)).input;if(s){let l,u;zp(t)&&!o?(l=t,u=N.getFirstElementChild(t)):(l=N.getParentElement(t),u=o?t:N.getNextElementSibling(t)),l&&N.insertBefore(l,s,u)}}}function It(e,r){var t;const o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(t=e.input)===null||t===void 0||t.setAttribute(ql,[`isFirst=${e.isFirst}`,`isOutside=${e.isOutside}`,...r.map(i=>`(${o[i.priority]}, tabbable=${i.tabbable})`)].join(", "))}class qp{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{var o;this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const n=i.get();if(n){const s=this._dummyCallbacks.get(n);if(s){const l=N.getParentNode(n);(!l||this._changedParents.has(l))&&s()}}}this._changedParents=new WeakSet},Di)))},this._win=r}add(r,t){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new Ge(this._win,r)),this._dummyCallbacks.set(r,t),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(t=>{const o=t.get();return o&&o!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(t==null||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(t==null||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Di<=Date.now()){const t=new Map,o=[];for(const i of this._updateQueue)o.push(i(t));this._updateQueue.clear();for(const i of o)i();t.clear()}else this._scheduledUpdatePositions()},Di))}}class Mp{constructor(r,t,o,i,n,s,l){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(f,h,v)=>{this._onFocus(!0,f,h,v)},this._onFocusOut=(f,h,v)=>{this._onFocus(!1,f,h,v)},this.moveOut=f=>{var h;const v=this._firstDummy,b=this._lastDummy;if(v&&b){this._ensurePosition();const p=v.input,y=b.input,k=(h=this._element)===null||h===void 0?void 0:h.get();if(p&&y&&k){let w;f?(p.tabIndex=0,w=p):(y.tabIndex=0,w=y),w&&ht(w)}}},this.moveOutWithDefaultAction=(f,h)=>{var v;const b=this._firstDummy,p=this._lastDummy;if(b&&p){this._ensurePosition();const y=b.input,k=p.input,w=(v=this._element)===null||v===void 0?void 0:v.get();if(y&&k&&w){let _;f?!b.isOutside&&this._tabster.focusable.isFocusable(w,!0,!0,!0)?_=w:(b.useDefaultAction=!0,y.tabIndex=0,_=y):(p.useDefaultAction=!0,k.tabIndex=0,_=k),_&&w.dispatchEvent(new Ft({by:"root",owner:w,next:null,relatedEvent:h}))&&ht(_)}}},this.setTabbable=(f,h)=>{var v,b;for(const y of this._wrappers)if(y.manager===f){y.tabbable=h;break}const p=this._getCurrent();if(p){const y=p.tabbable?0:-1;let k=(v=this._firstDummy)===null||v===void 0?void 0:v.input;k&&(k.tabIndex=y),k=(b=this._lastDummy)===null||b===void 0?void 0:b.input,k&&(k.tabIndex=y)}process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,this._wrappers),this._lastDummy&&It(this._lastDummy,this._wrappers))},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,this._wrappers),this._lastDummy&&It(this._lastDummy,this._wrappers)),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=f=>{var h,v;const b=((h=this._firstDummy)===null||h===void 0?void 0:h.input)||((v=this._lastDummy)===null||v===void 0?void 0:v.input),p=this._transformElements,y=new Set;let k=0,w=0;const _=this._getWindow();for(let S=b;S&&S.nodeType===Node.ELEMENT_NODE;S=N.getParentElement(S)){let C=f.get(S);if(C===void 0){const T=_.getComputedStyle(S).transform;T&&T!=="none"&&(C={scrollTop:S.scrollTop,scrollLeft:S.scrollLeft}),f.set(S,C||null)}C&&(y.add(S),p.has(S)||S.addEventListener("scroll",this._addTransformOffsets),k+=C.scrollTop,w+=C.scrollLeft)}for(const S of p)y.has(S)||S.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=y,()=>{var S,C;(S=this._firstDummy)===null||S===void 0||S.setTopLeft(k,w),(C=this._lastDummy)===null||C===void 0||C.setTopLeft(k,w)}};const u=t.get();if(!u)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=l;const a=u.__tabsterDummy;if((a||this)._wrappers.push({manager:o,priority:i,tabbable:!0}),a)return process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,a._wrappers),this._lastDummy&&It(this._lastDummy,a._wrappers)),a;u.__tabsterDummy=this;const c=n==null?void 0:n.dummyInputsPosition,d=u.tagName;this._isOutside=c?c===cp.Outside:(s||d==="UL"||d==="OL"||d==="TABLE")&&!(d==="LI"||d==="TD"||d==="TH"),this._firstDummy=new Xo(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Xo(this._getWindow,this._isOutside,{isFirst:!1},t);const g=this._firstDummy.input;g&&r._dummyObserver.add(g,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(r,t){var o,i,n,s;const l=this._wrappers=this._wrappers.filter(u=>u.manager!==r&&!t);if(process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,l),this._lastDummy&&It(this._lastDummy,l)),l.length===0){delete((o=this._element)===null||o===void 0?void 0:o.get()).__tabsterDummy;for(const c of this._transformElements)c.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const u=this._getWindow();this._addTimer&&(u.clearTimeout(this._addTimer),delete this._addTimer);const a=(i=this._firstDummy)===null||i===void 0?void 0:i.input;a&&this._tabster._dummyObserver.remove(a),(n=this._firstDummy)===null||n===void 0||n.dispose(),(s=this._lastDummy)===null||s===void 0||s.dispose()}}_onFocus(r,t,o,i){var n;const s=this._getCurrent();s&&(!t.useDefaultAction||this._callForDefaultAction)&&((n=s.manager.getHandler(r))===null||n===void 0||n(t,o,i))}_getCurrent(){return this._wrappers.sort((r,t)=>r.tabbable!==t.tabbable?r.tabbable?-1:1:r.priority-t.priority),this._wrappers[0]}_ensurePosition(){var r,t,o;const i=(r=this._element)===null||r===void 0?void 0:r.get(),n=(t=this._firstDummy)===null||t===void 0?void 0:t.input,s=(o=this._lastDummy)===null||o===void 0?void 0:o.input;if(!(!i||!n||!s))if(this._isOutside){const l=N.getParentNode(i);if(l){const u=N.getNextSibling(i);u!==s&&N.insertBefore(l,s,u),N.getPreviousElementSibling(i)!==n&&N.insertBefore(l,n,i)}}else{N.getLastElementChild(i)!==s&&N.appendChild(i,s);const l=N.getFirstElementChild(i);l&&l!==n&&l.parentNode&&N.insertBefore(l.parentNode,n,l)}}}function tc(e){let r=null;for(let t=N.getLastElementChild(e);t;t=N.getLastElementChild(t))r=t;return r||void 0}function Lp(e,r){let t=e,o=null;for(;t&&!o;)o=r?N.getPreviousElementSibling(t):N.getNextElementSibling(t),t=N.getParentElement(t);return o||void 0}function Ai(e,r,t,o){const i=e.storageEntry(r,!0);let n=!1;if(!i.aug){if(o===void 0)return n;i.aug={}}if(o===void 0){if(t in i.aug){const s=i.aug[t];delete i.aug[t],s===null?r.removeAttribute(t):r.setAttribute(t,s),n=!0}}else{let s;t in i.aug||(s=r.getAttribute(t)),s!==void 0&&s!==o&&(i.aug[t]=s,o===null?r.removeAttribute(t):r.setAttribute(t,o),n=!0)}return o===void 0&&Object.keys(i.aug).length===0&&(delete i.aug,e.storageEntry(r,!1)),n}function Hp(e){var r,t;const o=e.ownerDocument,i=(r=o.defaultView)===null||r===void 0?void 0:r.getComputedStyle(e);return e.offsetParent===null&&o.body!==e&&(i==null?void 0:i.position)!=="fixed"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.position)==="fixed"&&(i.display==="none"||((t=e.parentElement)===null||t===void 0?void 0:t.offsetParent)===null&&o.body!==e.parentElement)}function ji(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Wp(e){if(!ji(e))return;const r=e.name;let t=Array.from(N.getElementsByName(e,r)),o;return t=t.filter(i=>ji(i)?(i.checked&&(o=i),!0):!1),{name:r,buttons:new Set(t),checked:o}}function Tr(e){var r;return((r=e==null?void 0:e.__tabsterDummyContainer)===null||r===void 0?void 0:r.get())||null}/*!
114
+ */let Ri;const Ul=typeof DOMRect<"u"?DOMRect:class{constructor(e,r,t,o){this.left=e||0,this.top=r||0,this.right=(e||0)+(t||0),this.bottom=(r||0)+(o||0)}};let Rp=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Ri=!1}catch{Ri=!0}const Di=100;function kt(e){const r=e();let t=r.__tabsterInstanceContext;return t||(t={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=t),t}function Dp(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&e.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function Fp(e){const r=e.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function Ip(e){return!!e.querySelector(Hl)}class Kl{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,t){return r._target?t||!Ii(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class Ge{constructor(r,t,o){const i=kt(r);let n;i.WeakRef?n=new i.WeakRef(t):(n=new Kl(t),i.fakeWeakRefs.push(n)),this._ref=n,this._data=o}get(){const r=this._ref;let t;return r&&(t=r.deref(),t||delete this._ref),t}getData(){return this._data}}function Xl(e,r){const t=kt(e);t.fakeWeakRefs=t.fakeWeakRefs.filter(o=>!Kl.cleanup(o,r))}function Zl(e){const r=kt(e);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=Lp(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=e().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,Xl(e),Zl(e)},2*60*1e3))}function Ap(e){const r=kt(e);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(e().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function Fi(e,r,t){if(r.nodeType!==Node.ELEMENT_NODE)return;const o=Ri?t:{acceptNode:t};return N.createTreeWalker(e,r,NodeFilter.SHOW_ELEMENT,o,!1)}function Ql(e,r){let t=r.__tabsterCacheId;const o=kt(e),i=t?o.containerBoundingRectCache[t]:void 0;if(i)return i.rect;const n=r.ownerDocument&&r.ownerDocument.documentElement;if(!n)return new Ul;let s=0,l=0,u=n.clientWidth,a=n.clientHeight;if(r!==n){const d=r.getBoundingClientRect();s=Math.max(s,d.left),l=Math.max(l,d.top),u=Math.min(u,d.right),a=Math.min(a,d.bottom)}const c=new Ul(s<u?s:-1,l<a?l:-1,s<u?u-s:0,l<a?a-l:0);return t||(t="r-"+ ++o.lastContainerBoundingRectCacheId,r.__tabsterCacheId=t),o.containerBoundingRectCache[t]={rect:c,element:r},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(const d of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[d].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),c}function Yl(e,r,t){const o=Jl(r);if(!o)return!1;const i=Ql(e,o),n=r.getBoundingClientRect(),s=n.height*(1-t),l=Math.max(0,i.top-n.top),u=Math.max(0,n.bottom-i.bottom),a=l+u;return a===0||a<=s}function jp(e,r,t){const o=Jl(r);if(o){const i=Ql(e,o),n=r.getBoundingClientRect();t?o.scrollTop+=n.top-i.top:o.scrollTop+=n.bottom-i.bottom}}function Jl(e){const r=e.ownerDocument;if(r){for(let t=N.getParentElement(e);t;t=N.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return r.documentElement}return null}function Op(e){e.__shouldIgnoreFocus=!0}function ec(e){return!!e.__shouldIgnoreFocus}function qp(e){const r=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(r);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(r);else for(let o=0;o<r.length;o++)r[o]=4294967295*Math.random();const t=[];for(let o=0;o<r.length;o++)t.push(r[o].toString(36));return t.push("|"),t.push((++Rp).toString(36)),t.push("|"),t.push(Date.now().toString(36)),t.join("")}function Ko(e,r){const t=kt(e);let o=r.__tabsterElementUID;return o||(o=r.__tabsterElementUID=qp(e())),!t.elementByUId[o]&&Ii(r.ownerDocument,r)&&(t.elementByUId[o]=new Ge(e,r)),o}function tc(e,r){const t=kt(e);for(const o of Object.keys(t.elementByUId)){const i=t.elementByUId[o],n=i&&i.get();n&&r&&!N.nodeContains(r,n)||delete t.elementByUId[o]}}function Ii(e,r){return N.nodeContains(e==null?void 0:e.body,r)}function rc(e,r){const t=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return t&&t.call(e,r)}function Mp(e){const r=kt(e);if(r.basics.Promise)return r.basics.Promise;throw new Error("No Promise defined.")}function Lp(e){return e.basics.WeakRef}let Hp=0;class no{constructor(r,t,o){const i=r.getWindow;this._tabster=r,this._element=new Ge(i,t),this._props={...o},this.id="i"+ ++Hp}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class Xo{constructor(r,t,o,i,n){var s;this._focusIn=c=>{if(this._fixedTarget){const g=this._fixedTarget.get();g&&ht(g);return}const d=this.input;if(this.onFocusIn&&d){const g=c.relatedTarget;this.onFocusIn(this,this._isBackward(!0,d,g),g)}},this._focusOut=c=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const d=this.input;if(this.onFocusOut&&d){const g=c.relatedTarget;this.onFocusOut(this,this._isBackward(!1,d,g),g)}};const l=r(),u=l.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(Ll,""),u.setAttribute("aria-hidden","true");const a=u.style;a.position="fixed",a.width=a.height="1px",a.opacity="0.001",a.zIndex="-1",a.setProperty("content-visibility","hidden"),Op(u),this.input=u,this.isFirst=o.isFirst,this.isOutside=t,this._isPhantom=(s=o.isPhantom)!==null&&s!==void 0?s:!1,this._fixedTarget=n,u.addEventListener("focusin",this._focusIn),u.addEventListener("focusout",this._focusOut),u.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=l.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(l.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,(r=N.getParentNode(t))===null||r===void 0||r.removeChild(t))}setTopLeft(r,t){var o;const i=(o=this.input)===null||o===void 0?void 0:o.style;i&&(i.top=`${r}px`,i.left=`${t}px`)}_isBackward(r,t,o){return r&&!o?!this.isFirst:!!(o&&t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Zo={Root:1,Modalizer:2,Mover:3,Groupper:4};class Pr{constructor(r,t,o,i,n,s){this._element=t,this._instance=new Vp(r,t,this,o,i,n,s)}_setHandlers(r,t){this._onFocusIn=r,this._onFocusOut=t}moveOut(r){var t;(t=this._instance)===null||t===void 0||t.moveOut(r)}moveOutWithDefaultAction(r,t){var o;(o=this._instance)===null||o===void 0||o.moveOutWithDefaultAction(r,t)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var t;(t=this._instance)===null||t===void 0||t.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,t,o,i,n){const l=new Xo(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(l){let u,a;if(t.tagName==="BODY")u=t,a=o&&i||!o&&!i?N.getFirstElementChild(t):null;else{o&&(!i||i&&!r.focusable.isFocusable(t,!1,!0,!0))?(u=t,a=i?t.firstElementChild:null):(u=N.getParentElement(t),a=o&&i||!o&&!i?t:N.getNextElementSibling(t));let c,d;do c=o&&i||!o&&!i?N.getPreviousElementSibling(a):a,d=Tr(c),d===t?a=o&&i||!o&&!i?c:N.getNextElementSibling(c):d=null;while(d)}u!=null&&u.dispatchEvent(new Ft({by:"root",owner:u,next:null,relatedEvent:n}))&&(N.insertBefore(u,l,a),ht(l))}}static addPhantomDummyWithTarget(r,t,o,i){const s=new Xo(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Ge(r.getWindow,i)).input;if(s){let l,u;Ip(t)&&!o?(l=t,u=N.getFirstElementChild(t)):(l=N.getParentElement(t),u=o?t:N.getNextElementSibling(t)),l&&N.insertBefore(l,s,u)}}}function It(e,r){var t;const o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(t=e.input)===null||t===void 0||t.setAttribute(Ll,[`isFirst=${e.isFirst}`,`isOutside=${e.isOutside}`,...r.map(i=>`(${o[i.priority]}, tabbable=${i.tabbable})`)].join(", "))}class Wp{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=t=>{var o;this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const n=i.get();if(n){const s=this._dummyCallbacks.get(n);if(s){const l=N.getParentNode(n);(!l||this._changedParents.has(l))&&s()}}}this._changedParents=new WeakSet},Di)))},this._win=r}add(r,t){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new Ge(this._win,r)),this._dummyCallbacks.set(r,t),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(t=>{const o=t.get();return o&&o!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const t=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(t==null||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(t==null||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Di<=Date.now()){const t=new Map,o=[];for(const i of this._updateQueue)o.push(i(t));this._updateQueue.clear();for(const i of o)i();t.clear()}else this._scheduledUpdatePositions()},Di))}}class Vp{constructor(r,t,o,i,n,s,l){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(f,h,v)=>{this._onFocus(!0,f,h,v)},this._onFocusOut=(f,h,v)=>{this._onFocus(!1,f,h,v)},this.moveOut=f=>{var h;const v=this._firstDummy,b=this._lastDummy;if(v&&b){this._ensurePosition();const p=v.input,y=b.input,k=(h=this._element)===null||h===void 0?void 0:h.get();if(p&&y&&k){let w;f?(p.tabIndex=0,w=p):(y.tabIndex=0,w=y),w&&ht(w)}}},this.moveOutWithDefaultAction=(f,h)=>{var v;const b=this._firstDummy,p=this._lastDummy;if(b&&p){this._ensurePosition();const y=b.input,k=p.input,w=(v=this._element)===null||v===void 0?void 0:v.get();if(y&&k&&w){let _;f?!b.isOutside&&this._tabster.focusable.isFocusable(w,!0,!0,!0)?_=w:(b.useDefaultAction=!0,y.tabIndex=0,_=y):(p.useDefaultAction=!0,k.tabIndex=0,_=k),_&&w.dispatchEvent(new Ft({by:"root",owner:w,next:null,relatedEvent:h}))&&ht(_)}}},this.setTabbable=(f,h)=>{var v,b;for(const y of this._wrappers)if(y.manager===f){y.tabbable=h;break}const p=this._getCurrent();if(p){const y=p.tabbable?0:-1;let k=(v=this._firstDummy)===null||v===void 0?void 0:v.input;k&&(k.tabIndex=y),k=(b=this._lastDummy)===null||b===void 0?void 0:b.input,k&&(k.tabIndex=y)}process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,this._wrappers),this._lastDummy&&It(this._lastDummy,this._wrappers))},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,this._wrappers),this._lastDummy&&It(this._lastDummy,this._wrappers)),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=f=>{var h,v;const b=((h=this._firstDummy)===null||h===void 0?void 0:h.input)||((v=this._lastDummy)===null||v===void 0?void 0:v.input),p=this._transformElements,y=new Set;let k=0,w=0;const _=this._getWindow();for(let S=b;S&&S.nodeType===Node.ELEMENT_NODE;S=N.getParentElement(S)){let C=f.get(S);if(C===void 0){const T=_.getComputedStyle(S).transform;T&&T!=="none"&&(C={scrollTop:S.scrollTop,scrollLeft:S.scrollLeft}),f.set(S,C||null)}C&&(y.add(S),p.has(S)||S.addEventListener("scroll",this._addTransformOffsets),k+=C.scrollTop,w+=C.scrollLeft)}for(const S of p)y.has(S)||S.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=y,()=>{var S,C;(S=this._firstDummy)===null||S===void 0||S.setTopLeft(k,w),(C=this._lastDummy)===null||C===void 0||C.setTopLeft(k,w)}};const u=t.get();if(!u)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=l;const a=u.__tabsterDummy;if((a||this)._wrappers.push({manager:o,priority:i,tabbable:!0}),a)return process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,a._wrappers),this._lastDummy&&It(this._lastDummy,a._wrappers)),a;u.__tabsterDummy=this;const c=n==null?void 0:n.dummyInputsPosition,d=u.tagName;this._isOutside=c?c===hp.Outside:(s||d==="UL"||d==="OL"||d==="TABLE")&&!(d==="LI"||d==="TD"||d==="TH"),this._firstDummy=new Xo(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Xo(this._getWindow,this._isOutside,{isFirst:!1},t);const g=this._firstDummy.input;g&&r._dummyObserver.add(g,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(r,t){var o,i,n,s;const l=this._wrappers=this._wrappers.filter(u=>u.manager!==r&&!t);if(process.env.NODE_ENV==="development"&&(this._firstDummy&&It(this._firstDummy,l),this._lastDummy&&It(this._lastDummy,l)),l.length===0){delete((o=this._element)===null||o===void 0?void 0:o.get()).__tabsterDummy;for(const c of this._transformElements)c.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const u=this._getWindow();this._addTimer&&(u.clearTimeout(this._addTimer),delete this._addTimer);const a=(i=this._firstDummy)===null||i===void 0?void 0:i.input;a&&this._tabster._dummyObserver.remove(a),(n=this._firstDummy)===null||n===void 0||n.dispose(),(s=this._lastDummy)===null||s===void 0||s.dispose()}}_onFocus(r,t,o,i){var n;const s=this._getCurrent();s&&(!t.useDefaultAction||this._callForDefaultAction)&&((n=s.manager.getHandler(r))===null||n===void 0||n(t,o,i))}_getCurrent(){return this._wrappers.sort((r,t)=>r.tabbable!==t.tabbable?r.tabbable?-1:1:r.priority-t.priority),this._wrappers[0]}_ensurePosition(){var r,t,o;const i=(r=this._element)===null||r===void 0?void 0:r.get(),n=(t=this._firstDummy)===null||t===void 0?void 0:t.input,s=(o=this._lastDummy)===null||o===void 0?void 0:o.input;if(!(!i||!n||!s))if(this._isOutside){const l=N.getParentNode(i);if(l){const u=N.getNextSibling(i);u!==s&&N.insertBefore(l,s,u),N.getPreviousElementSibling(i)!==n&&N.insertBefore(l,n,i)}}else{N.getLastElementChild(i)!==s&&N.appendChild(i,s);const l=N.getFirstElementChild(i);l&&l!==n&&l.parentNode&&N.insertBefore(l.parentNode,n,l)}}}function oc(e){let r=null;for(let t=N.getLastElementChild(e);t;t=N.getLastElementChild(t))r=t;return r||void 0}function $p(e,r){let t=e,o=null;for(;t&&!o;)o=r?N.getPreviousElementSibling(t):N.getNextElementSibling(t),t=N.getParentElement(t);return o||void 0}function Ai(e,r,t,o){const i=e.storageEntry(r,!0);let n=!1;if(!i.aug){if(o===void 0)return n;i.aug={}}if(o===void 0){if(t in i.aug){const s=i.aug[t];delete i.aug[t],s===null?r.removeAttribute(t):r.setAttribute(t,s),n=!0}}else{let s;t in i.aug||(s=r.getAttribute(t)),s!==void 0&&s!==o&&(i.aug[t]=s,o===null?r.removeAttribute(t):r.setAttribute(t,o),n=!0)}return o===void 0&&Object.keys(i.aug).length===0&&(delete i.aug,e.storageEntry(r,!1)),n}function Gp(e){var r,t;const o=e.ownerDocument,i=(r=o.defaultView)===null||r===void 0?void 0:r.getComputedStyle(e);return e.offsetParent===null&&o.body!==e&&(i==null?void 0:i.position)!=="fixed"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.position)==="fixed"&&(i.display==="none"||((t=e.parentElement)===null||t===void 0?void 0:t.offsetParent)===null&&o.body!==e.parentElement)}function ji(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Up(e){if(!ji(e))return;const r=e.name;let t=Array.from(N.getElementsByName(e,r)),o;return t=t.filter(i=>ji(i)?(i.checked&&(o=i),!0):!1),{name:r,buttons:new Set(t),checked:o}}function Tr(e){var r;return((r=e==null?void 0:e.__tabsterDummyContainer)===null||r===void 0?void 0:r.get())||null}/*!
115
115
  * Copyright (c) Microsoft Corporation. All rights reserved.
116
116
  * Licensed under the MIT License.
117
- */function rc(e,r){const t=JSON.stringify(e);return r===!0?t:{[Je]:t}}function Vp(e,r){for(const t of Object.keys(r)){const o=r[t];o?e[t]=o:delete e[t]}}function $p(e,r,t){let o;if(t){const i=e.getAttribute(Je);if(i)try{o=JSON.parse(i)}catch(n){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${n}`,e)}}o||(o={}),Vp(o,r),Object.keys(o).length>0?e.setAttribute(Je,rc(o,!0)):e.removeAttribute(Je)}/*!
117
+ */function nc(e,r){const t=JSON.stringify(e);return r===!0?t:{[Je]:t}}function Kp(e,r){for(const t of Object.keys(r)){const o=r[t];o?e[t]=o:delete e[t]}}function Xp(e,r,t){let o;if(t){const i=e.getAttribute(Je);if(i)try{o=JSON.parse(i)}catch(n){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${n}`,e)}}o||(o={}),Kp(o,r),Object.keys(o).length>0?e.setAttribute(Je,nc(o,!0)):e.removeAttribute(Je)}/*!
118
118
  * Copyright (c) Microsoft Corporation. All rights reserved.
119
119
  * Licensed under the MIT License.
120
- */function oc(e,r,t){if(process.env.NODE_ENV==="development"){const o=e.get();o&&(r?o.style.removeProperty("--tabster-root"):o.style.setProperty("--tabster-root",t+","))}}class nc extends Pr{constructor(r,t,o,i){super(r,t,Zo.Root,i,void 0,!0),this._onDummyInputFocus=n=>{var s;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const l=this._element.get();if(l){this._setFocused(!0);const u=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:l,ignoreAccessibility:!0});if(u){ht(u);return}}(s=n.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=o}}class Gp extends no{constructor(r,t,o,i,n){super(r,t,i),this._isFocused=!1,this._setFocused=a=>{var c;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===a)return;const d=this._element.get();d&&(a?(this._isFocused=!0,(c=this._dummyManager)===null||c===void 0||c.setTabbable(!1),d.dispatchEvent(new Bp({element:d}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var g;delete this._setFocusedTimer,this._isFocused=!1,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!0),d.dispatchEvent(new Cp({element:d}))},0))},this._onFocusIn=a=>{const c=this._tabster.getParent,d=this._element.get();let g=a.composedPath()[0];do{if(g===d){this._setFocused(!0);return}g=g&&c(g)}while(g)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=o;const s=r.getWindow;this.uid=Ko(s,t),this._sys=n,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const u=s().document;u.addEventListener(it,this._onFocusIn),u.addEventListener(oo,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new nc(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const t=this._tabster.getWindow(),o=t.document;o.removeEventListener(it,this._onFocusIn),o.removeEventListener(oo,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,t){const o=this._dummyManager;if(o)o.moveOutWithDefaultAction(r,t);else{const i=this.getElement();i&&nc.moveWithPhantomDummy(this._tabster,i,!0,r,t)}}_add(){process.env.NODE_ENV==="development"&&oc(this._element,!1,this.uid)}_remove(){process.env.NODE_ENV==="development"&&oc(this._element,!0)}}class fe{constructor(r,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var o;const i=this._win().document,n=i.body;if(n){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return $p(n,{root:s},!0),Ll(this._tabster,n),(o=je(this._tabster,n))===null||o===void 0?void 0:o.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=o=>{delete this._roots[o.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=t,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(r,t,o){process.env.NODE_ENV;const i=new Gp(this._tabster,r,this._onRootDispose,t,o);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const t of Object.keys(r))r[t].addDummyInputs()}static getRootByUId(r,t){const o=r().__tabsterInstance;return o&&o.root.rootById[t]}static getTabsterContext(r,t,o){o===void 0&&(o={});var i,n,s,l;if(!t.ownerDocument)return;const{checkRtl:u,referenceElement:a}=o,c=r.getParent;r.drainInitQueue();let d,g,f,h,v=!1,b,p,y,k,w=a||t;const _={};for(;w&&(!d||u);){const C=je(r,w);if(u&&y===void 0){const U=w.dir;U&&(y=U.toLowerCase()==="rtl")}if(!C){w=c(w);continue}const T=w.tagName;(C.uncontrolled||T==="IFRAME"||T==="WEBVIEW")&&r.focusable.isVisible(w)&&(k=w),!h&&(!((i=C.focusable)===null||i===void 0)&&i.excludeFromMover)&&!f&&(v=!0);const z=C.modalizer,I=C.groupper,G=C.mover;!g&&z&&(g=z),!f&&I&&(!g||z)&&(g?(!I.isActive()&&I.getProps().tabbability&&g.userId!==((n=r.modalizer)===null||n===void 0?void 0:n.activeId)&&(g=void 0,f=I),p=I):f=I),!h&&G&&(!g||z)&&(!I||w!==t)&&w.contains(t)&&(h=G,b=!!f&&f!==I),C.root&&(d=C.root),!((s=C.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(_,C.focusable.ignoreKeydown),w=c(w)}if(!d){const C=r.root;C._autoRoot&&!((l=t.ownerDocument)===null||l===void 0)&&l.body&&(d=C._autoRootCreate())}return f&&!h&&(b=!0),process.env.NODE_ENV==="development"&&!d&&(g||f||h)&&console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."),d?{root:d,modalizer:g,groupper:f,mover:h,groupperBeforeMover:b,modalizerInGroupper:p,rtl:u?!!y:void 0,uncontrolled:k,excludedFromMover:v,ignoreKeydown:C=>!!_[C.key]}:void 0}static getRoot(r,t){var o;const i=r.getParent;for(let n=t;n;n=i(n)){const s=(o=je(r,n))===null||o===void 0?void 0:o.root;if(s)return s}}onRoot(r,t){t?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
120
+ */function ic(e,r,t){if(process.env.NODE_ENV==="development"){const o=e.get();o&&(r?o.style.removeProperty("--tabster-root"):o.style.setProperty("--tabster-root",t+","))}}class ac extends Pr{constructor(r,t,o,i){super(r,t,Zo.Root,i,void 0,!0),this._onDummyInputFocus=n=>{var s;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const l=this._element.get();if(l){this._setFocused(!0);const u=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:l,ignoreAccessibility:!0});if(u){ht(u);return}}(s=n.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=o}}class Zp extends no{constructor(r,t,o,i,n){super(r,t,i),this._isFocused=!1,this._setFocused=a=>{var c;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===a)return;const d=this._element.get();d&&(a?(this._isFocused=!0,(c=this._dummyManager)===null||c===void 0||c.setTabbable(!1),d.dispatchEvent(new Ep({element:d}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var g;delete this._setFocusedTimer,this._isFocused=!1,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!0),d.dispatchEvent(new Np({element:d}))},0))},this._onFocusIn=a=>{const c=this._tabster.getParent,d=this._element.get();let g=a.composedPath()[0];do{if(g===d){this._setFocused(!0);return}g=g&&c(g)}while(g)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=o;const s=r.getWindow;this.uid=Ko(s,t),this._sys=n,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const u=s().document;u.addEventListener(it,this._onFocusIn),u.addEventListener(oo,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new ac(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const t=this._tabster.getWindow(),o=t.document;o.removeEventListener(it,this._onFocusIn),o.removeEventListener(oo,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,t){const o=this._dummyManager;if(o)o.moveOutWithDefaultAction(r,t);else{const i=this.getElement();i&&ac.moveWithPhantomDummy(this._tabster,i,!0,r,t)}}_add(){process.env.NODE_ENV==="development"&&ic(this._element,!1,this.uid)}_remove(){process.env.NODE_ENV==="development"&&ic(this._element,!0)}}class fe{constructor(r,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var o;const i=this._win().document,n=i.body;if(n){this._autoRootUnwait(i);const s=this._autoRoot;if(s)return Xp(n,{root:s},!0),Wl(this._tabster,n),(o=je(this._tabster,n))===null||o===void 0?void 0:o.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=o=>{delete this._roots[o.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=t,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(r,t,o){process.env.NODE_ENV;const i=new Zp(this._tabster,r,this._onRootDispose,t,o);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const t of Object.keys(r))r[t].addDummyInputs()}static getRootByUId(r,t){const o=r().__tabsterInstance;return o&&o.root.rootById[t]}static getTabsterContext(r,t,o){o===void 0&&(o={});var i,n,s,l;if(!t.ownerDocument)return;const{checkRtl:u,referenceElement:a}=o,c=r.getParent;r.drainInitQueue();let d,g,f,h,v=!1,b,p,y,k,w=a||t;const _={};for(;w&&(!d||u);){const C=je(r,w);if(u&&y===void 0){const U=w.dir;U&&(y=U.toLowerCase()==="rtl")}if(!C){w=c(w);continue}const T=w.tagName;(C.uncontrolled||T==="IFRAME"||T==="WEBVIEW")&&r.focusable.isVisible(w)&&(k=w),!h&&(!((i=C.focusable)===null||i===void 0)&&i.excludeFromMover)&&!f&&(v=!0);const z=C.modalizer,I=C.groupper,G=C.mover;!g&&z&&(g=z),!f&&I&&(!g||z)&&(g?(!I.isActive()&&I.getProps().tabbability&&g.userId!==((n=r.modalizer)===null||n===void 0?void 0:n.activeId)&&(g=void 0,f=I),p=I):f=I),!h&&G&&(!g||z)&&(!I||w!==t)&&w.contains(t)&&(h=G,b=!!f&&f!==I),C.root&&(d=C.root),!((s=C.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(_,C.focusable.ignoreKeydown),w=c(w)}if(!d){const C=r.root;C._autoRoot&&!((l=t.ownerDocument)===null||l===void 0)&&l.body&&(d=C._autoRootCreate())}return f&&!h&&(b=!0),process.env.NODE_ENV==="development"&&!d&&(g||f||h)&&console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."),d?{root:d,modalizer:g,groupper:f,mover:h,groupperBeforeMover:b,modalizerInGroupper:p,rtl:u?!!y:void 0,uncontrolled:k,excludedFromMover:v,ignoreKeydown:C=>!!_[C.key]}:void 0}static getRoot(r,t){var o;const i=r.getParent;for(let n=t;n;n=i(n)){const s=(o=je(r,n))===null||o===void 0?void 0:o.root;if(s)return s}}onRoot(r,t){t?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
121
121
  * Copyright (c) Microsoft Corporation. All rights reserved.
122
122
  * Licensed under the MIT License.
123
- */class ic{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const t=this._callbacks;t.indexOf(r)<0&&t.push(r)}subscribeFirst(r){const t=this._callbacks,o=t.indexOf(r);o>=0&&t.splice(o,1),t.unshift(r)}unsubscribe(r){const t=this._callbacks.indexOf(r);t>=0&&this._callbacks.splice(t,1)}setVal(r,t){this._val!==r&&(this._val=r,this._callCallbacks(r,t))}getVal(){return this._val}trigger(r,t){this._callCallbacks(r,t)}_callCallbacks(r,t){this._callbacks.forEach(o=>o(r,t))}}/*!
123
+ */class sc{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const t=this._callbacks;t.indexOf(r)<0&&t.push(r)}subscribeFirst(r){const t=this._callbacks,o=t.indexOf(r);o>=0&&t.splice(o,1),t.unshift(r)}unsubscribe(r){const t=this._callbacks.indexOf(r);t>=0&&this._callbacks.splice(t,1)}setVal(r,t){this._val!==r&&(this._val=r,this._callCallbacks(r,t))}getVal(){return this._val}trigger(r,t){this._callCallbacks(r,t)}_callCallbacks(r,t){this._callbacks.forEach(o=>o(r,t))}}/*!
124
124
  * Copyright (c) Microsoft Corporation. All rights reserved.
125
125
  * Licensed under the MIT License.
126
- */class Up{constructor(r){this._tabster=r}dispose(){}getProps(r){const t=je(this._tabster,r);return t&&t.focusable||{}}isFocusable(r,t,o,i){return ec(r,Ml)&&(t||r.tabIndex!==-1)?(o||this.isVisible(r))&&(i||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||Hp(r))return!1;const t=r.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(r){var t;for(let o=r;o;o=N.getParentElement(o)){const i=je(this._tabster,o);if(this._isHidden(o)||!((t=i==null?void 0:i.focusable)===null||t===void 0?void 0:t.ignoreAriaDisabled)&&this._isDisabled(o))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var t;const o=r.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!(!((t=this._tabster.modalizer)===null||t===void 0)&&t.isAugmented(r)))}findFirst(r,t){return this.findElement({...r},t)}findLast(r,t){return this.findElement({isBackward:!0,...r},t)}findNext(r,t){return this.findElement({...r},t)}findPrev(r,t){return this.findElement({...r,isBackward:!0},t)}findDefault(r,t){return this.findElement({...r,acceptCondition:o=>this.isFocusable(o,r.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},t)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,t){const o=this._findElements(!1,r,t);return o&&o[0]}_findElements(r,t,o){var i,n,s;const{container:l,currentElement:u=null,includeProgrammaticallyFocusable:a,useActiveModalizer:c,ignoreAccessibility:d,modalizerId:g,isBackward:f,onElement:h}=t;o||(o={});const v=[];let{acceptCondition:b}=t;const p=!!b;if(!l)return null;b||(b=_=>this.isFocusable(_,a,!1,d));const y={container:l,modalizerUserId:g===void 0&&c?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:g||((s=(n=fe.getTabsterContext(this._tabster,l))===null||n===void 0?void 0:n.modalizer)===null||s===void 0?void 0:s.userId),from:u||l,isBackward:f,isFindAll:r,acceptCondition:b,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},k=Fi(l.ownerDocument,l,_=>this._acceptElement(_,y));if(!k)return null;const w=_=>{var S,C;const T=(S=y.foundElement)!==null&&S!==void 0?S:y.foundBackward;return T&&v.push(T),r?T&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=T,h&&!h(T))?!1:!!(T||_):(T&&o&&(o.uncontrolled=(C=fe.getTabsterContext(this._tabster,T))===null||C===void 0?void 0:C.uncontrolled),!!(_&&!T))};if(u||(o.outOfDOMOrder=!0),u&&N.nodeContains(l,u))k.currentNode=u;else if(f){const _=tc(l);if(!_)return null;if(this._acceptElement(_,y)===NodeFilter.FILTER_ACCEPT&&!w(!0))return y.skippedFocusable&&(o.outOfDOMOrder=!0),v;k.currentNode=_}do f?k.previousNode():k.nextNode();while(w());return y.skippedFocusable&&(o.outOfDOMOrder=!0),v.length?v:null}_acceptElement(r,t){var o,i,n;if(t.found)return NodeFilter.FILTER_ACCEPT;const s=t.foundBackward;if(s&&(r===s||!N.nodeContains(s,r)))return t.found=!0,t.foundElement=s,NodeFilter.FILTER_ACCEPT;const l=t.container;if(r===l)return NodeFilter.FILTER_SKIP;if(!N.nodeContains(l,r)||Tr(r)||N.nodeContains(t.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const u=t.currentCtx=fe.getTabsterContext(this._tabster,r);if(!u)return NodeFilter.FILTER_SKIP;if(Yl(r))return this.isFocusable(r,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((o=u.modalizer)===null||o===void 0?void 0:o.userId)===((i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let a,c=t.fromCtx;c||(c=t.fromCtx=fe.getTabsterContext(this._tabster,t.from));const d=c==null?void 0:c.mover;let g=u.groupper,f=u.mover;if(a=(n=this._tabster.modalizer)===null||n===void 0?void 0:n.acceptElement(r,t),a!==void 0&&(t.skippedFocusable=!0),a===void 0&&(g||f||d)){const h=g==null?void 0:g.getElement(),v=d==null?void 0:d.getElement();let b=f==null?void 0:f.getElement();if(b&&N.nodeContains(v,b)&&N.nodeContains(l,v)&&(!h||!f||N.nodeContains(v,h))&&(f=d,b=v),h){if(h===l||!N.nodeContains(l,h))g=void 0;else if(!N.nodeContains(h,r))return NodeFilter.FILTER_REJECT}if(b){if(!N.nodeContains(l,b))f=void 0;else if(!N.nodeContains(b,r))return NodeFilter.FILTER_REJECT}g&&f&&(b&&h&&!N.nodeContains(h,b)?f=void 0:g=void 0),g&&(a=g.acceptElement(r,t)),f&&(a=f.acceptElement(r,t))}if(a===void 0&&(a=t.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,a===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0)),a===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&ji(r)&&!r.checked){const h=r.name;let v=t.cachedRadioGroups[h];if(v||(v=Wp(r),v&&(t.cachedRadioGroups[h]=v)),v!=null&&v.checked&&v.checked!==r)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=r,a=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=r)}return a}}/*!
126
+ */class Qp{constructor(r){this._tabster=r}dispose(){}getProps(r){const t=je(this._tabster,r);return t&&t.focusable||{}}isFocusable(r,t,o,i){return rc(r,Hl)&&(t||r.tabIndex!==-1)?(o||this.isVisible(r))&&(i||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||Gp(r))return!1;const t=r.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(r){var t;for(let o=r;o;o=N.getParentElement(o)){const i=je(this._tabster,o);if(this._isHidden(o)||!((t=i==null?void 0:i.focusable)===null||t===void 0?void 0:t.ignoreAriaDisabled)&&this._isDisabled(o))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var t;const o=r.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!(!((t=this._tabster.modalizer)===null||t===void 0)&&t.isAugmented(r)))}findFirst(r,t){return this.findElement({...r},t)}findLast(r,t){return this.findElement({isBackward:!0,...r},t)}findNext(r,t){return this.findElement({...r},t)}findPrev(r,t){return this.findElement({...r,isBackward:!0},t)}findDefault(r,t){return this.findElement({...r,acceptCondition:o=>this.isFocusable(o,r.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},t)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,t){const o=this._findElements(!1,r,t);return o&&o[0]}_findElements(r,t,o){var i,n,s;const{container:l,currentElement:u=null,includeProgrammaticallyFocusable:a,useActiveModalizer:c,ignoreAccessibility:d,modalizerId:g,isBackward:f,onElement:h}=t;o||(o={});const v=[];let{acceptCondition:b}=t;const p=!!b;if(!l)return null;b||(b=_=>this.isFocusable(_,a,!1,d));const y={container:l,modalizerUserId:g===void 0&&c?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:g||((s=(n=fe.getTabsterContext(this._tabster,l))===null||n===void 0?void 0:n.modalizer)===null||s===void 0?void 0:s.userId),from:u||l,isBackward:f,isFindAll:r,acceptCondition:b,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},k=Fi(l.ownerDocument,l,_=>this._acceptElement(_,y));if(!k)return null;const w=_=>{var S,C;const T=(S=y.foundElement)!==null&&S!==void 0?S:y.foundBackward;return T&&v.push(T),r?T&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=T,h&&!h(T))?!1:!!(T||_):(T&&o&&(o.uncontrolled=(C=fe.getTabsterContext(this._tabster,T))===null||C===void 0?void 0:C.uncontrolled),!!(_&&!T))};if(u||(o.outOfDOMOrder=!0),u&&N.nodeContains(l,u))k.currentNode=u;else if(f){const _=oc(l);if(!_)return null;if(this._acceptElement(_,y)===NodeFilter.FILTER_ACCEPT&&!w(!0))return y.skippedFocusable&&(o.outOfDOMOrder=!0),v;k.currentNode=_}do f?k.previousNode():k.nextNode();while(w());return y.skippedFocusable&&(o.outOfDOMOrder=!0),v.length?v:null}_acceptElement(r,t){var o,i,n;if(t.found)return NodeFilter.FILTER_ACCEPT;const s=t.foundBackward;if(s&&(r===s||!N.nodeContains(s,r)))return t.found=!0,t.foundElement=s,NodeFilter.FILTER_ACCEPT;const l=t.container;if(r===l)return NodeFilter.FILTER_SKIP;if(!N.nodeContains(l,r)||Tr(r)||N.nodeContains(t.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const u=t.currentCtx=fe.getTabsterContext(this._tabster,r);if(!u)return NodeFilter.FILTER_SKIP;if(ec(r))return this.isFocusable(r,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((o=u.modalizer)===null||o===void 0?void 0:o.userId)===((i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let a,c=t.fromCtx;c||(c=t.fromCtx=fe.getTabsterContext(this._tabster,t.from));const d=c==null?void 0:c.mover;let g=u.groupper,f=u.mover;if(a=(n=this._tabster.modalizer)===null||n===void 0?void 0:n.acceptElement(r,t),a!==void 0&&(t.skippedFocusable=!0),a===void 0&&(g||f||d)){const h=g==null?void 0:g.getElement(),v=d==null?void 0:d.getElement();let b=f==null?void 0:f.getElement();if(b&&N.nodeContains(v,b)&&N.nodeContains(l,v)&&(!h||!f||N.nodeContains(v,h))&&(f=d,b=v),h){if(h===l||!N.nodeContains(l,h))g=void 0;else if(!N.nodeContains(h,r))return NodeFilter.FILTER_REJECT}if(b){if(!N.nodeContains(l,b))f=void 0;else if(!N.nodeContains(b,r))return NodeFilter.FILTER_REJECT}g&&f&&(b&&h&&!N.nodeContains(h,b)?f=void 0:g=void 0),g&&(a=g.acceptElement(r,t)),f&&(a=f.acceptElement(r,t))}if(a===void 0&&(a=t.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,a===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(t.skippedFocusable=!0)),a===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&ji(r)&&!r.checked){const h=r.name;let v=t.cachedRadioGroups[h];if(v||(v=Up(r),v&&(t.cachedRadioGroups[h]=v)),v!=null&&v.checked&&v.checked!==r)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=r,a=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=r)}return a}}/*!
127
127
  * Copyright (c) Microsoft Corporation. All rights reserved.
128
128
  * Licensed under the MIT License.
129
129
  */const Be={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
130
130
  * Copyright (c) Microsoft Corporation. All rights reserved.
131
131
  * Licensed under the MIT License.
132
- */function Kp(e,r){var t;const o=e.getParent;let i=r;do{const n=(t=je(e,i))===null||t===void 0?void 0:t.uncontrolled;if(n&&e.uncontrolled.isUncontrolledCompletely(i,!!n.completely))return i;i=o(i)}while(i)}const ac={[wt.Restorer]:0,[wt.Deloser]:1,[wt.EscapeGroupper]:2};class Ce extends ic{constructor(r,t){super(),this._init=()=>{const o=this._win(),i=o.document;i.addEventListener(it,this._onFocusIn,!0),i.addEventListener(oo,this._onFocusOut,!0),o.addEventListener("keydown",this._onKeyDown,!0);const n=N.getActiveElement(i);n&&n!==i.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=o=>{const i=o.composedPath()[0];i&&this._setFocusedElement(i,o.detail.relatedTarget,o.detail.isFocusedProgrammatically)},this._onFocusOut=o=>{var i;this._setFocusedElement(void 0,(i=o.detail)===null||i===void 0?void 0:i.originalEvent.relatedTarget)},this._validateFocusedElement=o=>{},this._onKeyDown=o=>{if(o.key!==Be.Tab||o.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const n=this._tabster,s=n.controlTab,l=fe.getTabsterContext(n,i);if(!l||l.ignoreKeydown(o))return;const u=o.shiftKey,a=Ce.findNextTabbable(n,l,void 0,i,void 0,u,!0),c=l.root.getElement();if(!c)return;const d=a==null?void 0:a.element,g=Kp(n,i);if(d){const f=a.uncontrolled;if(l.uncontrolled||N.nodeContains(f,i)){if(!a.outOfDOMOrder&&f===l.uncontrolled||g&&!N.nodeContains(g,d))return;Pr.addPhantomDummyWithTarget(n,i,u,d);return}if(f&&n.focusable.isVisible(f)||d.tagName==="IFRAME"&&n.focusable.isVisible(d)){c.dispatchEvent(new Ft({by:"root",owner:c,next:d,relatedEvent:o}))&&Pr.moveWithPhantomDummy(n,f??d,!1,u,o);return}(s||a!=null&&a.outOfDOMOrder)&&c.dispatchEvent(new Ft({by:"root",owner:c,next:d,relatedEvent:o}))&&(o.preventDefault(),o.stopImmediatePropagation(),ht(d))}else!g&&c.dispatchEvent(new Ft({by:"root",owner:c,next:null,relatedEvent:o}))&&l.root.moveOutWithDefaultAction(u,o)},this._onChanged=(o,i)=>{var n,s;if(o)o.dispatchEvent(new yp(i));else{const l=(n=this._lastVal)===null||n===void 0?void 0:n.get();if(l){const u={...i},a=fe.getTabsterContext(this._tabster,l),c=(s=a==null?void 0:a.modalizer)===null||s===void 0?void 0:s.userId;c&&(u.modalizerId=c),l.dispatchEvent(new wp(u))}}},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),t=r.document;t.removeEventListener(it,this._onFocusIn,!0),t.removeEventListener(oo,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const o=this._asyncFocus;o&&(r.clearTimeout(o.timeout),delete this._asyncFocus),delete Ce._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,t){var o,i;let n=Ce._lastResetElement,s=n&&n.get();s&&N.nodeContains(t,s)&&delete Ce._lastResetElement,s=(i=(o=r._nextVal)===null||o===void 0?void 0:o.element)===null||i===void 0?void 0:i.get(),s&&N.nodeContains(t,s)&&delete r._nextVal,n=r._lastVal,s=n&&n.get(),s&&N.nodeContains(t,s)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let t=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!t||t&&!Ii(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(r,t,o,i){return this._tabster.focusable.isFocusable(r,t,!1,o)?(r.focus({preventScroll:i}),!0):!1}focusDefault(r){const t=this._tabster.focusable.findDefault({container:r});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(r,t){var o;const{container:i,ignoreAccessibility:n}=t;let s;if(i){const l=fe.getTabsterContext(this._tabster,i);l&&(s=(o=Ce.findNextTabbable(this._tabster,l,i,void 0,void 0,!r,n))===null||o===void 0?void 0:o.element)}return s&&!N.nodeContains(i,s)&&(s=void 0),s||void 0}_focusFirstOrLast(r,t){const o=this.getFirstOrLastTabbable(r,t);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const t=r.getAttribute("tabindex"),o=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),Ce._lastResetElement=new Ge(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",t),this._setOrRemoveAttribute(r,"aria-hidden",o)}return!0}requestAsyncFocus(r,t,o){const i=this._tabster.getWindow(),n=this._asyncFocus;if(n){if(ac[r]>ac[n.source])return;i.clearTimeout(n.timeout)}this._asyncFocus={source:r,callback:t,timeout:i.setTimeout(()=>{this._asyncFocus=void 0,t()},o)}}cancelAsyncFocus(r){const t=this._asyncFocus;(t==null?void 0:t.source)===r&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,t,o){o===null?r.removeAttribute(t):r.setAttribute(t,o)}_setFocusedElement(r,t,o){var i,n;if(this._tabster._noop)return;const s={relatedTarget:t};if(r){const u=(i=Ce._lastResetElement)===null||i===void 0?void 0:i.get();if(Ce._lastResetElement=void 0,u===r||Yl(r))return;s.isFocusedProgrammatically=o;const a=fe.getTabsterContext(this._tabster,r),c=(n=a==null?void 0:a.modalizer)===null||n===void 0?void 0:n.userId;c&&(s.modalizerId=c)}const l=this._nextVal={element:r?new Ge(this._win,r):void 0,detail:s};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===l&&this.setVal(r,s),this._nextVal=void 0}setVal(r,t){super.setVal(r,t),r&&(this._lastVal=new Ge(this._win,r))}static findNextTabbable(r,t,o,i,n,s,l){const u=o||t.root.getElement();if(!u)return null;let a=null;const c=Ce._isTabbingTimer,d=r.getWindow();c&&d.clearTimeout(c),Ce.isTabbing=!0,Ce._isTabbingTimer=d.setTimeout(()=>{delete Ce._isTabbingTimer,Ce.isTabbing=!1},0);const g=t.modalizer,f=t.groupper,h=t.mover,v=b=>{if(a=b.findNextTabbable(i,n,s,l),i&&!(a!=null&&a.element)){const p=b!==g&&N.getParentElement(b.getElement());if(p){const y=fe.getTabsterContext(r,i,{referenceElement:p});if(y){const k=b.getElement(),w=s?k:k&&tc(k)||k;w&&(a=Ce.findNextTabbable(r,y,o,w,p,s,l),a&&(a.outOfDOMOrder=!0))}}}};if(f&&h)v(t.groupperBeforeMover?f:h);else if(f)v(f);else if(h)v(h);else if(g)v(g);else{const b={container:u,currentElement:i,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},p={};a={element:r.focusable[s?"findPrev":"findNext"](b,p),outOfDOMOrder:p.outOfDOMOrder,uncontrolled:p.uncontrolled}}return a}}Ce.isTabbing=!1;/*!
132
+ */function Yp(e,r){var t;const o=e.getParent;let i=r;do{const n=(t=je(e,i))===null||t===void 0?void 0:t.uncontrolled;if(n&&e.uncontrolled.isUncontrolledCompletely(i,!!n.completely))return i;i=o(i)}while(i)}const lc={[wt.Restorer]:0,[wt.Deloser]:1,[wt.EscapeGroupper]:2};class Ce extends sc{constructor(r,t){super(),this._init=()=>{const o=this._win(),i=o.document;i.addEventListener(it,this._onFocusIn,!0),i.addEventListener(oo,this._onFocusOut,!0),o.addEventListener("keydown",this._onKeyDown,!0);const n=N.getActiveElement(i);n&&n!==i.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=o=>{const i=o.composedPath()[0];i&&this._setFocusedElement(i,o.detail.relatedTarget,o.detail.isFocusedProgrammatically)},this._onFocusOut=o=>{var i;this._setFocusedElement(void 0,(i=o.detail)===null||i===void 0?void 0:i.originalEvent.relatedTarget)},this._validateFocusedElement=o=>{},this._onKeyDown=o=>{if(o.key!==Be.Tab||o.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const n=this._tabster,s=n.controlTab,l=fe.getTabsterContext(n,i);if(!l||l.ignoreKeydown(o))return;const u=o.shiftKey,a=Ce.findNextTabbable(n,l,void 0,i,void 0,u,!0),c=l.root.getElement();if(!c)return;const d=a==null?void 0:a.element,g=Yp(n,i);if(d){const f=a.uncontrolled;if(l.uncontrolled||N.nodeContains(f,i)){if(!a.outOfDOMOrder&&f===l.uncontrolled||g&&!N.nodeContains(g,d))return;Pr.addPhantomDummyWithTarget(n,i,u,d);return}if(f&&n.focusable.isVisible(f)||d.tagName==="IFRAME"&&n.focusable.isVisible(d)){c.dispatchEvent(new Ft({by:"root",owner:c,next:d,relatedEvent:o}))&&Pr.moveWithPhantomDummy(n,f??d,!1,u,o);return}(s||a!=null&&a.outOfDOMOrder)&&c.dispatchEvent(new Ft({by:"root",owner:c,next:d,relatedEvent:o}))&&(o.preventDefault(),o.stopImmediatePropagation(),ht(d))}else!g&&c.dispatchEvent(new Ft({by:"root",owner:c,next:null,relatedEvent:o}))&&l.root.moveOutWithDefaultAction(u,o)},this._onChanged=(o,i)=>{var n,s;if(o)o.dispatchEvent(new _p(i));else{const l=(n=this._lastVal)===null||n===void 0?void 0:n.get();if(l){const u={...i},a=fe.getTabsterContext(this._tabster,l),c=(s=a==null?void 0:a.modalizer)===null||s===void 0?void 0:s.userId;c&&(u.modalizerId=c),l.dispatchEvent(new Sp(u))}}},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),t=r.document;t.removeEventListener(it,this._onFocusIn,!0),t.removeEventListener(oo,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const o=this._asyncFocus;o&&(r.clearTimeout(o.timeout),delete this._asyncFocus),delete Ce._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,t){var o,i;let n=Ce._lastResetElement,s=n&&n.get();s&&N.nodeContains(t,s)&&delete Ce._lastResetElement,s=(i=(o=r._nextVal)===null||o===void 0?void 0:o.element)===null||i===void 0?void 0:i.get(),s&&N.nodeContains(t,s)&&delete r._nextVal,n=r._lastVal,s=n&&n.get(),s&&N.nodeContains(t,s)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let t=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!t||t&&!Ii(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(r,t,o,i){return this._tabster.focusable.isFocusable(r,t,!1,o)?(r.focus({preventScroll:i}),!0):!1}focusDefault(r){const t=this._tabster.focusable.findDefault({container:r});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(r,t){var o;const{container:i,ignoreAccessibility:n}=t;let s;if(i){const l=fe.getTabsterContext(this._tabster,i);l&&(s=(o=Ce.findNextTabbable(this._tabster,l,i,void 0,void 0,!r,n))===null||o===void 0?void 0:o.element)}return s&&!N.nodeContains(i,s)&&(s=void 0),s||void 0}_focusFirstOrLast(r,t){const o=this.getFirstOrLastTabbable(r,t);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const t=r.getAttribute("tabindex"),o=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),Ce._lastResetElement=new Ge(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",t),this._setOrRemoveAttribute(r,"aria-hidden",o)}return!0}requestAsyncFocus(r,t,o){const i=this._tabster.getWindow(),n=this._asyncFocus;if(n){if(lc[r]>lc[n.source])return;i.clearTimeout(n.timeout)}this._asyncFocus={source:r,callback:t,timeout:i.setTimeout(()=>{this._asyncFocus=void 0,t()},o)}}cancelAsyncFocus(r){const t=this._asyncFocus;(t==null?void 0:t.source)===r&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,t,o){o===null?r.removeAttribute(t):r.setAttribute(t,o)}_setFocusedElement(r,t,o){var i,n;if(this._tabster._noop)return;const s={relatedTarget:t};if(r){const u=(i=Ce._lastResetElement)===null||i===void 0?void 0:i.get();if(Ce._lastResetElement=void 0,u===r||ec(r))return;s.isFocusedProgrammatically=o;const a=fe.getTabsterContext(this._tabster,r),c=(n=a==null?void 0:a.modalizer)===null||n===void 0?void 0:n.userId;c&&(s.modalizerId=c)}const l=this._nextVal={element:r?new Ge(this._win,r):void 0,detail:s};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===l&&this.setVal(r,s),this._nextVal=void 0}setVal(r,t){super.setVal(r,t),r&&(this._lastVal=new Ge(this._win,r))}static findNextTabbable(r,t,o,i,n,s,l){const u=o||t.root.getElement();if(!u)return null;let a=null;const c=Ce._isTabbingTimer,d=r.getWindow();c&&d.clearTimeout(c),Ce.isTabbing=!0,Ce._isTabbingTimer=d.setTimeout(()=>{delete Ce._isTabbingTimer,Ce.isTabbing=!1},0);const g=t.modalizer,f=t.groupper,h=t.mover,v=b=>{if(a=b.findNextTabbable(i,n,s,l),i&&!(a!=null&&a.element)){const p=b!==g&&N.getParentElement(b.getElement());if(p){const y=fe.getTabsterContext(r,i,{referenceElement:p});if(y){const k=b.getElement(),w=s?k:k&&oc(k)||k;w&&(a=Ce.findNextTabbable(r,y,o,w,p,s,l),a&&(a.outOfDOMOrder=!0))}}}};if(f&&h)v(t.groupperBeforeMover?f:h);else if(f)v(f);else if(h)v(h);else if(g)v(g);else{const b={container:u,currentElement:i,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},p={};a={element:r.focusable[s?"findPrev":"findNext"](b,p),outOfDOMOrder:p.outOfDOMOrder,uncontrolled:p.uncontrolled}}return a}}Ce.isTabbing=!1;/*!
133
133
  * Copyright (c) Microsoft Corporation. All rights reserved.
134
134
  * Licensed under the MIT License.
135
- */class Xp extends Pr{constructor(r,t,o,i){super(o,r,Zo.Groupper,i,!0),this._setHandlers((n,s,l)=>{var u,a;const c=r.get(),d=n.input;if(c&&d){const g=fe.getTabsterContext(o,d);if(g){let f;f=(u=t.findNextTabbable(l||void 0,void 0,s,!0))===null||u===void 0?void 0:u.element,f||(f=(a=Ce.findNextTabbable(o,g,void 0,n.isOutside?d:Lp(c,!s),void 0,s,!0))===null||a===void 0?void 0:a.element),f&&ht(f)}}})}}class Zp extends no{constructor(r,t,o,i,n){super(r,t,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=o,r.controlTab||(this.dummyManager=new Xp(this._element,this,r,n))}dispose(){var r;this._onDispose(this);const t=this._element.get();(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,t&&process.env.NODE_ENV==="development"&&sc(this._element,!0),delete this._first}findNextTabbable(r,t,o,i){const n=this.getElement();if(!n)return null;const s=Tr(r)===n;if(!this._shouldTabInside&&r&&N.nodeContains(n,r)&&!s)return{element:void 0,outOfDOMOrder:!0};const l=this.getFirst(!0);if(!r||!N.nodeContains(n,r)||s)return{element:l,outOfDOMOrder:!0};const u=this._tabster;let a=null,c=!1,d;if(this._shouldTabInside&&l){const g={container:n,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},f={};a=u.focusable[o?"findPrev":"findNext"](g,f),c=!!f.outOfDOMOrder,!a&&this._props.tabbability===Uo.LimitedTrapFocus&&(a=u.focusable[o?"findLast":"findFirst"]({container:n,ignoreAccessibility:i,useActiveModalizer:!0},f),c=!0),d=f.uncontrolled}return{element:a,uncontrolled:d,outOfDOMOrder:c}}makeTabbable(r){this._shouldTabInside=r||!this._props.tabbability,process.env.NODE_ENV==="development"&&sc(this._element,!this._shouldTabInside)}isActive(r){var t;const o=this.getElement()||null;let i=!0;for(let s=N.getParentElement(o);s;s=N.getParentElement(s)){const l=(t=je(this._tabster,s))===null||t===void 0?void 0:t.groupper;l&&(l._shouldTabInside||(i=!1))}let n=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(n&&r){const s=this._tabster.focusedElement.getFocusedElement();s&&(n=s!==this.getFirst(!0))}return n}getFirst(r){var t;const o=this.getElement();let i;if(o){if(r&&this._tabster.focusable.isFocusable(o))return o;i=(t=this._first)===null||t===void 0?void 0:t.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(r){r?this._first=new Ge(this._tabster.getWindow,r):delete this._first}acceptElement(r,t){const o=t.cachedGrouppers,i=N.getParentElement(this.getElement()),n=i&&fe.getTabsterContext(this._tabster,i),s=n==null?void 0:n.groupper,l=n!=null&&n.groupperBeforeMover?s:void 0;let u;const a=g=>{let f=o[g.id],h;return f?h=f.isActive:(h=this.isActive(!0),f=o[g.id]={isActive:h}),h};if(l&&(u=l.getElement(),!a(l)&&u&&t.container!==u&&N.nodeContains(t.container,u)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const c=a(this),d=this.getElement();if(d&&c!==!0){if(d===r&&s&&(u||(u=s.getElement()),u&&!a(s)&&N.nodeContains(t.container,u)&&u!==t.container)||d!==r&&N.nodeContains(d,r))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=o[this.id];let f;if("first"in g?f=g.first:f=g.first=this.getFirst(!0),f&&t.acceptCondition(f))return t.rejectElementsFrom=d,t.skippedFocusable=!0,f!==t.from?(t.found=!0,t.foundElement=f,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Qp{constructor(r,t){this._current={},this._grouppers={},this._init=()=>{const o=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const i=o.document,n=N.getActiveElement(i);n&&this._onFocus(n),i.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ni,this._onMoveFocus)},this._onGroupperDispose=o=>{delete this._grouppers[o.id]},this._onFocus=o=>{o&&this._updateCurrent(o)},this._onMouseDown=o=>{let i=o.target;for(;i&&!this._tabster.focusable.isFocusable(i);)i=this._tabster.getParent(i);i&&this._updateCurrent(i)},this._onKeyDown=o=>{if(o.key!==Be.Enter&&o.key!==Be.Escape||o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,o)},this._onMoveFocus=o=>{var i;const n=o.composedPath()[0],s=(i=o.detail)===null||i===void 0?void 0:i.action;n&&s!==void 0&&!o.defaultPrevented&&(s===Ti.Enter?this._enterGroupper(n):this._escapeGroupper(n),o.stopImmediatePropagation())},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){const r=this._win();this._tabster.focusedElement.cancelAsyncFocus(wt.EscapeGroupper),this._current={},this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),r.document.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener(Ni,this._onMoveFocus),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(r,t,o){process.env.NODE_ENV;const i=this._tabster,n=new Zp(i,r,this._onGroupperDispose,t,o);this._grouppers[n.id]=n;const s=i.focusedElement.getFocusedElement();return s&&N.nodeContains(r,s)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,s===i.focusedElement.getFocusedElement()&&this._updateCurrent(s)},0)),n}forgetCurrentGrouppers(){this._current={}}_updateCurrent(r){var t;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let n=o.getParent(r);n;n=o.getParent(n)){const s=(t=je(o,n))===null||t===void 0?void 0:t.groupper;if(s){i[s.id]=!0,this._current[s.id]=s;const l=s.isActive()||r!==n&&(!s.getProps().delegated||s.getFirst(!1)!==r);s.makeTabbable(l)}}for(const n of Object.keys(this._current)){const s=this._current[n];s.id in i||(s.makeTabbable(!1),s.setFirst(void 0),delete this._current[n])}}_enterGroupper(r,t){const o=this._tabster,i=fe.getTabsterContext(o,r),n=(i==null?void 0:i.groupper)||(i==null?void 0:i.modalizerInGroupper),s=n==null?void 0:n.getElement();if(n&&s&&(r===s||n.getProps().delegated&&r===n.getFirst(!1))){const l=o.focusable.findNext({container:s,currentElement:r,useActiveModalizer:!0});if(l&&(!t||t&&s.dispatchEvent(new Ft({by:"groupper",owner:s,next:l,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),l.focus(),l}return null}_escapeGroupper(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r);let s=(n==null?void 0:n.groupper)||(n==null?void 0:n.modalizerInGroupper);const l=s==null?void 0:s.getElement();if(s&&l&&N.nodeContains(l,r)){let u;if(r!==l||o)u=s.getFirst(!0);else{const a=N.getParentElement(l),c=a?fe.getTabsterContext(i,a):void 0;s=c==null?void 0:c.groupper,u=s==null?void 0:s.getFirst(!0)}if(u&&(!t||t&&l.dispatchEvent(new Ft({by:"groupper",owner:l,next:u,relatedEvent:t}))))return s&&s.makeTabbable(!1),u.focus(),u}return null}moveFocus(r,t){return t===Ti.Enter?this._enterGroupper(r):this._escapeGroupper(r)}handleKeyPress(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r);if(n&&(n!=null&&n.groupper||n!=null&&n.modalizerInGroupper)){if(i.focusedElement.cancelAsyncFocus(wt.EscapeGroupper),n.ignoreKeydown(t))return;if(t.key===Be.Enter)this._enterGroupper(r,t);else if(t.key===Be.Escape){const s=i.focusedElement.getFocusedElement();i.focusedElement.requestAsyncFocus(wt.EscapeGroupper,()=>{s!==i.focusedElement.getFocusedElement()&&(o&&!s||!o)||this._escapeGroupper(r,t,o)},0)}}}}function sc(e,r){if(process.env.NODE_ENV==="development"){const t=e.get();t&&(r?t.style.removeProperty("--tabster-groupper"):t.style.setProperty("--tabster-groupper","unlimited"))}}/*!
135
+ */class Jp extends Pr{constructor(r,t,o,i){super(o,r,Zo.Groupper,i,!0),this._setHandlers((n,s,l)=>{var u,a;const c=r.get(),d=n.input;if(c&&d){const g=fe.getTabsterContext(o,d);if(g){let f;f=(u=t.findNextTabbable(l||void 0,void 0,s,!0))===null||u===void 0?void 0:u.element,f||(f=(a=Ce.findNextTabbable(o,g,void 0,n.isOutside?d:$p(c,!s),void 0,s,!0))===null||a===void 0?void 0:a.element),f&&ht(f)}}})}}class eb extends no{constructor(r,t,o,i,n){super(r,t,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=o,r.controlTab||(this.dummyManager=new Jp(this._element,this,r,n))}dispose(){var r;this._onDispose(this);const t=this._element.get();(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,t&&process.env.NODE_ENV==="development"&&cc(this._element,!0),delete this._first}findNextTabbable(r,t,o,i){const n=this.getElement();if(!n)return null;const s=Tr(r)===n;if(!this._shouldTabInside&&r&&N.nodeContains(n,r)&&!s)return{element:void 0,outOfDOMOrder:!0};const l=this.getFirst(!0);if(!r||!N.nodeContains(n,r)||s)return{element:l,outOfDOMOrder:!0};const u=this._tabster;let a=null,c=!1,d;if(this._shouldTabInside&&l){const g={container:n,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},f={};a=u.focusable[o?"findPrev":"findNext"](g,f),c=!!f.outOfDOMOrder,!a&&this._props.tabbability===Uo.LimitedTrapFocus&&(a=u.focusable[o?"findLast":"findFirst"]({container:n,ignoreAccessibility:i,useActiveModalizer:!0},f),c=!0),d=f.uncontrolled}return{element:a,uncontrolled:d,outOfDOMOrder:c}}makeTabbable(r){this._shouldTabInside=r||!this._props.tabbability,process.env.NODE_ENV==="development"&&cc(this._element,!this._shouldTabInside)}isActive(r){var t;const o=this.getElement()||null;let i=!0;for(let s=N.getParentElement(o);s;s=N.getParentElement(s)){const l=(t=je(this._tabster,s))===null||t===void 0?void 0:t.groupper;l&&(l._shouldTabInside||(i=!1))}let n=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(n&&r){const s=this._tabster.focusedElement.getFocusedElement();s&&(n=s!==this.getFirst(!0))}return n}getFirst(r){var t;const o=this.getElement();let i;if(o){if(r&&this._tabster.focusable.isFocusable(o))return o;i=(t=this._first)===null||t===void 0?void 0:t.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(r){r?this._first=new Ge(this._tabster.getWindow,r):delete this._first}acceptElement(r,t){const o=t.cachedGrouppers,i=N.getParentElement(this.getElement()),n=i&&fe.getTabsterContext(this._tabster,i),s=n==null?void 0:n.groupper,l=n!=null&&n.groupperBeforeMover?s:void 0;let u;const a=g=>{let f=o[g.id],h;return f?h=f.isActive:(h=this.isActive(!0),f=o[g.id]={isActive:h}),h};if(l&&(u=l.getElement(),!a(l)&&u&&t.container!==u&&N.nodeContains(t.container,u)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const c=a(this),d=this.getElement();if(d&&c!==!0){if(d===r&&s&&(u||(u=s.getElement()),u&&!a(s)&&N.nodeContains(t.container,u)&&u!==t.container)||d!==r&&N.nodeContains(d,r))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=o[this.id];let f;if("first"in g?f=g.first:f=g.first=this.getFirst(!0),f&&t.acceptCondition(f))return t.rejectElementsFrom=d,t.skippedFocusable=!0,f!==t.from?(t.found=!0,t.foundElement=f,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class tb{constructor(r,t){this._current={},this._grouppers={},this._init=()=>{const o=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const i=o.document,n=N.getActiveElement(i);n&&this._onFocus(n),i.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ni,this._onMoveFocus)},this._onGroupperDispose=o=>{delete this._grouppers[o.id]},this._onFocus=o=>{o&&this._updateCurrent(o)},this._onMouseDown=o=>{let i=o.target;for(;i&&!this._tabster.focusable.isFocusable(i);)i=this._tabster.getParent(i);i&&this._updateCurrent(i)},this._onKeyDown=o=>{if(o.key!==Be.Enter&&o.key!==Be.Escape||o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,o)},this._onMoveFocus=o=>{var i;const n=o.composedPath()[0],s=(i=o.detail)===null||i===void 0?void 0:i.action;n&&s!==void 0&&!o.defaultPrevented&&(s===Ti.Enter?this._enterGroupper(n):this._escapeGroupper(n),o.stopImmediatePropagation())},this._tabster=r,this._win=t,r.queueInit(this._init)}dispose(){const r=this._win();this._tabster.focusedElement.cancelAsyncFocus(wt.EscapeGroupper),this._current={},this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),r.document.removeEventListener("mousedown",this._onMouseDown,!0),r.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener(Ni,this._onMoveFocus),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(r,t,o){process.env.NODE_ENV;const i=this._tabster,n=new eb(i,r,this._onGroupperDispose,t,o);this._grouppers[n.id]=n;const s=i.focusedElement.getFocusedElement();return s&&N.nodeContains(r,s)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,s===i.focusedElement.getFocusedElement()&&this._updateCurrent(s)},0)),n}forgetCurrentGrouppers(){this._current={}}_updateCurrent(r){var t;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let n=o.getParent(r);n;n=o.getParent(n)){const s=(t=je(o,n))===null||t===void 0?void 0:t.groupper;if(s){i[s.id]=!0,this._current[s.id]=s;const l=s.isActive()||r!==n&&(!s.getProps().delegated||s.getFirst(!1)!==r);s.makeTabbable(l)}}for(const n of Object.keys(this._current)){const s=this._current[n];s.id in i||(s.makeTabbable(!1),s.setFirst(void 0),delete this._current[n])}}_enterGroupper(r,t){const o=this._tabster,i=fe.getTabsterContext(o,r),n=(i==null?void 0:i.groupper)||(i==null?void 0:i.modalizerInGroupper),s=n==null?void 0:n.getElement();if(n&&s&&(r===s||n.getProps().delegated&&r===n.getFirst(!1))){const l=o.focusable.findNext({container:s,currentElement:r,useActiveModalizer:!0});if(l&&(!t||t&&s.dispatchEvent(new Ft({by:"groupper",owner:s,next:l,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),l.focus(),l}return null}_escapeGroupper(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r);let s=(n==null?void 0:n.groupper)||(n==null?void 0:n.modalizerInGroupper);const l=s==null?void 0:s.getElement();if(s&&l&&N.nodeContains(l,r)){let u;if(r!==l||o)u=s.getFirst(!0);else{const a=N.getParentElement(l),c=a?fe.getTabsterContext(i,a):void 0;s=c==null?void 0:c.groupper,u=s==null?void 0:s.getFirst(!0)}if(u&&(!t||t&&l.dispatchEvent(new Ft({by:"groupper",owner:l,next:u,relatedEvent:t}))))return s&&s.makeTabbable(!1),u.focus(),u}return null}moveFocus(r,t){return t===Ti.Enter?this._enterGroupper(r):this._escapeGroupper(r)}handleKeyPress(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r);if(n&&(n!=null&&n.groupper||n!=null&&n.modalizerInGroupper)){if(i.focusedElement.cancelAsyncFocus(wt.EscapeGroupper),n.ignoreKeydown(t))return;if(t.key===Be.Enter)this._enterGroupper(r,t);else if(t.key===Be.Escape){const s=i.focusedElement.getFocusedElement();i.focusedElement.requestAsyncFocus(wt.EscapeGroupper,()=>{s!==i.focusedElement.getFocusedElement()&&(o&&!s||!o)||this._escapeGroupper(r,t,o)},0)}}}}function cc(e,r){if(process.env.NODE_ENV==="development"){const t=e.get();t&&(r?t.style.removeProperty("--tabster-groupper"):t.style.setProperty("--tabster-groupper","unlimited"))}}/*!
136
136
  * Copyright (c) Microsoft Corporation. All rights reserved.
137
137
  * Licensed under the MIT License.
138
- */class Yp extends ic{constructor(r){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=$o(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Go(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var t;(t=this._keyborg)===null||t===void 0||t.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
138
+ */class rb extends sc{constructor(r){super(),this._onChange=t=>{this.setVal(t,void 0)},this._keyborg=$o(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Go(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var t;(t=this._keyborg)===null||t===void 0||t.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
139
139
  * Copyright (c) Microsoft Corporation. All rights reserved.
140
140
  * Licensed under the MIT License.
141
- */let Jp=0;const Oi="aria-hidden";function qi(e,r,t,o,i,n){if(process.env.NODE_ENV==="development"){const s=e.get();s&&(r?s.style.removeProperty("--tabster-modalizer"):s.style.setProperty("--tabster-modalizer",t+","+o+","+(i?"active":"inactive")+",,"+(n?`focused(${n})`:"not-focused")))}}class eb extends Pr{constructor(r,t,o){super(t,r,Zo.Modalizer,o),this._setHandlers((i,n)=>{var s,l;const u=r.get(),a=u&&((s=fe.getRoot(t,u))===null||s===void 0?void 0:s.getElement()),c=i.input;let d;if(a&&c){const g=Tr(c),f=fe.getTabsterContext(t,g||c);f&&(d=(l=Ce.findNextTabbable(t,f,a,c,void 0,n,!0))===null||l===void 0?void 0:l.element),d&&ht(d)}})}}class tb extends no{constructor(r,t,o,i,n,s){super(r,t,i),this._wasFocused=0,this.userId=i.id,this._onDispose=o,this._activeElements=s,r.controlTab||(this.dummyManager=new eb(this._element,r,n)),process.env.NODE_ENV==="development"&&qi(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused)}makeActive(r){if(this._isActive!==r){this._isActive=r;const t=this.getElement();if(t){const o=this._activeElements,i=o.map(n=>n.get()).indexOf(t);r?i<0&&o.push(new Ge(this._tabster.getWindow,t)):i>=0&&o.splice(i,1)}process.env.NODE_ENV==="development"&&qi(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++Jp),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return N.nodeContains(this.getElement(),r)}findNextTabbable(r,t,o,i){var n,s;if(!this.getElement())return null;const u=this._tabster;let a=null,c=!1,d;const g=r&&((n=fe.getRoot(u,r))===null||n===void 0?void 0:n.getElement());if(g){const f={container:g,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},h={};a=u.focusable[o?"findPrev":"findNext"](f,h),!a&&this._props.isTrapped&&(!((s=u.modalizer)===null||s===void 0)&&s.activeId)?(a=u.focusable[o?"findLast":"findFirst"]({container:g,ignoreAccessibility:i,useActiveModalizer:!0},h),a===null&&(a=r),c=!0):c=!!h.outOfDOMOrder,d=h.uncontrolled}return{element:a,uncontrolled:d,outOfDOMOrder:c}}_dispatchEvent(r,t){const o=this.getElement();let i=!1;if(o){const n=t?this._activeElements.map(s=>s.get()):[o];for(const s of n)if(s){const l={id:this.userId,element:o},u=r?new _p(l):new Sp(l);s.dispatchEvent(u),u.defaultPrevented&&(i=!0)}}return i}_remove(){process.env.NODE_ENV==="development"&&qi(this._element,!0)}}class rb{constructor(r,t,o){this._onModalizerDispose=n=>{const s=n.id,l=n.userId,u=this._parts[l];if(delete this._modalizers[s],u&&(delete u[s],Object.keys(u).length===0)){delete this._parts[l];const a=this._activationHistory,c=[];let d;for(let g=a.length;g--;){const f=a[g];f!==l&&f!==d&&(d=f,(f||c.length>0)&&c.unshift(f))}if(this._activationHistory=c,this.activeId===l){const g=c[0],f=g?Object.values(this._parts[g])[0]:void 0;this.setActive(f)}}},this._onKeyDown=n=>{var s;if(n.key!==Be.Escape)return;const l=this._tabster,u=l.focusedElement.getFocusedElement();if(u){const a=fe.getTabsterContext(l,u),c=a==null?void 0:a.modalizer;if(a&&!a.groupper&&(c!=null&&c.isActive())&&!a.ignoreKeydown(n)){const d=c.userId;if(d){const g=this._parts[d];if(g){const f=Object.keys(g).map(h=>{var v;const b=g[h],p=b.getElement();let y;return p&&(y=(v=je(l,p))===null||v===void 0?void 0:v.groupper),b&&p&&y?{el:p,focusedSince:b.focused(!0)}:{focusedSince:0}}).filter(h=>h.focusedSince>0).sort((h,v)=>h.focusedSince>v.focusedSince?-1:h.focusedSince<v.focusedSince?1:0);if(f.length){const h=f[0].el;h&&((s=l.groupper)===null||s===void 0||s.handleKeyPress(h,n,!0))}}}}}},this._onFocus=(n,s)=>{var l;const u=this._tabster,a=n&&fe.getTabsterContext(u,n);if(!a||!n)return;const c=this._augMap;for(let h=n;h;h=N.getParentElement(h))c.has(h)&&(c.delete(h),Ai(u,h,Oi));let d=a.modalizer;const g=je(u,n),f=g==null?void 0:g.modalizer;if(f&&(f.focused(),f.userId===this.activeId&&g.groupper)){const h=u.getParent(n),v=h&&((l=fe.getTabsterContext(u,h))===null||l===void 0?void 0:l.modalizer);if(v)d=v;else{this.setActive(void 0);return}}if(d==null||d.focused(),(d==null?void 0:d.userId)===this.activeId){this.currentIsOthersAccessible=d==null?void 0:d.getProps().isOthersAccessible;return}if(s.isFocusedProgrammatically||this.currentIsOthersAccessible||d!=null&&d.getProps().isAlwaysAccessible)this.setActive(d);else{const h=this._win();h.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=h.setTimeout(()=>this._restoreModalizerFocus(n),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=o,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(t=>{this._modalizers[t]&&(this._modalizers[t].dispose(),delete this._modalizers[t])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,t,o){var i;process.env.NODE_ENV;const n=new tb(this._tabster,r,this._onModalizerDispose,t,o,this.activeElements),s=n.id,l=t.id;this._modalizers[s]=n;let u=this._parts[l];u||(u=this._parts[l]={}),u[s]=n;const a=(i=this._tabster.focusedElement.getFocusedElement())!==null&&i!==void 0?i:null;return r!==a&&N.nodeContains(r,a)&&(l!==this.activeId?this.setActive(n):n.makeActive(!0)),n}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const t=r==null?void 0:r.userId,o=this.activeId;if(o===t)return;if(this.activeId=t,o){const n=this._parts[o];if(n)for(const s of Object.keys(n))n[s].makeActive(!1)}if(t){const n=this._parts[t];if(n)for(const s of Object.keys(n))n[s].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const i=this._activationHistory;i[0]!==t&&(t!==void 0||i.length>0)&&i.unshift(t)}focus(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r),s=n==null?void 0:n.modalizer;if(s){this.setActive(s);const l=s.getProps(),u=s.getElement();if(u){if(t===void 0&&(t=l.isNoFocusFirst),!t&&i.keyboardNavigation.isNavigatingWithKeyboard()&&i.focusedElement.focusFirst({container:u})||(o===void 0&&(o=l.isNoFocusDefault),!o&&i.focusedElement.focusDefault(u)))return!0;i.focusedElement.resetFocus(u)}}else process.env.NODE_ENV==="development"&&console.error("Element is not in Modalizer.",r);return!1}activate(r){var t;const o=r?(t=fe.getTabsterContext(this._tabster,r))===null||t===void 0?void 0:t.modalizer:void 0;return!r||o?(this.setActive(o),!0):!1}acceptElement(r,t){var o;const i=t.modalizerUserId,n=(o=t.currentCtx)===null||o===void 0?void 0:o.modalizer;if(i)for(const l of this.activeElements){const u=l.get();if(u&&(N.nodeContains(r,u)||u===r))return NodeFilter.FILTER_SKIP}const s=i===(n==null?void 0:n.userId)||!i&&(n!=null&&n.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return s!==void 0&&(t.skippedFocusable=!0),s}_hiddenUpdate(){var r;const t=this._tabster,o=t.getWindow().document.body,i=this.activeId,n=this._parts,s=[],l=[],u=this._alwaysAccessibleSelector,a=u?Array.from(N.querySelectorAll(o,u)):[],c=[];for(const p of Object.keys(n)){const y=n[p];for(const k of Object.keys(y)){const w=y[k],_=w.getElement(),C=w.getProps().isAlwaysAccessible;_&&(p===i?(c.push(_),this.currentIsOthersAccessible||s.push(_)):C?a.push(_):l.push(_))}}const d=this._augMap,g=s.length>0?[...s,...a]:void 0,f=[],h=new WeakMap,v=(p,y)=>{var k;const w=p.tagName;if(w==="SCRIPT"||w==="STYLE")return;let _=!1;d.has(p)?y?_=!0:(d.delete(p),Ai(t,p,Oi)):y&&!(!((k=this._accessibleCheck)===null||k===void 0)&&k.call(this,p,c))&&Ai(t,p,Oi,"true")&&(d.set(p,!0),_=!0),_&&(f.push(new Ge(t.getWindow,p)),h.set(p,!0))},b=p=>{var y;for(let k=N.getFirstElementChild(p);k;k=N.getNextElementSibling(k)){let w=!1,_=!1,S=!1;if(g){const C=t.getParent(k);for(const T of g){if(k===T){w=!0;break}if(N.nodeContains(k,T)){_=!0;break}else N.nodeContains(T,C)&&(S=!0)}_||!((y=k.__tabsterElementFlags)===null||y===void 0)&&y.noDirectAriaHidden?b(k):!w&&!S&&v(k,!0)}else v(k,!1)}};g||a.forEach(p=>v(p,!1)),l.forEach(p=>v(p,!0)),o&&b(o),(r=this._aug)===null||r===void 0||r.map(p=>p.get()).forEach(p=>{p&&!h.get(p)&&v(p,!1)}),this._aug=f,this._augMap=h}_restoreModalizerFocus(r){var t;const o=r==null?void 0:r.ownerDocument;if(!r||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),n=i&&((t=fe.getTabsterContext(this._tabster,i))===null||t===void 0?void 0:t.modalizer);if(!i||i&&(n==null?void 0:n.userId)===this.activeId)return;const s=this._tabster,l=fe.getTabsterContext(s,r),u=l==null?void 0:l.modalizer,a=this.activeId;if(!u&&!a||u&&a===u.userId)return;const c=l==null?void 0:l.root.getElement();if(c){let d=s.focusable.findFirst({container:c,useActiveModalizer:!0});if(d){if(r.compareDocumentPosition(d)&document.DOCUMENT_POSITION_PRECEDING&&(d=s.focusable.findLast({container:c,useActiveModalizer:!0}),!d))throw new Error("Something went wrong.");s.focusedElement.focus(d);return}}r.blur()}}/*!
141
+ */let ob=0;const Oi="aria-hidden";function qi(e,r,t,o,i,n){if(process.env.NODE_ENV==="development"){const s=e.get();s&&(r?s.style.removeProperty("--tabster-modalizer"):s.style.setProperty("--tabster-modalizer",t+","+o+","+(i?"active":"inactive")+",,"+(n?`focused(${n})`:"not-focused")))}}class nb extends Pr{constructor(r,t,o){super(t,r,Zo.Modalizer,o),this._setHandlers((i,n)=>{var s,l;const u=r.get(),a=u&&((s=fe.getRoot(t,u))===null||s===void 0?void 0:s.getElement()),c=i.input;let d;if(a&&c){const g=Tr(c),f=fe.getTabsterContext(t,g||c);f&&(d=(l=Ce.findNextTabbable(t,f,a,c,void 0,n,!0))===null||l===void 0?void 0:l.element),d&&ht(d)}})}}class ib extends no{constructor(r,t,o,i,n,s){super(r,t,i),this._wasFocused=0,this.userId=i.id,this._onDispose=o,this._activeElements=s,r.controlTab||(this.dummyManager=new nb(this._element,r,n)),process.env.NODE_ENV==="development"&&qi(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused)}makeActive(r){if(this._isActive!==r){this._isActive=r;const t=this.getElement();if(t){const o=this._activeElements,i=o.map(n=>n.get()).indexOf(t);r?i<0&&o.push(new Ge(this._tabster.getWindow,t)):i>=0&&o.splice(i,1)}process.env.NODE_ENV==="development"&&qi(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++ob),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return N.nodeContains(this.getElement(),r)}findNextTabbable(r,t,o,i){var n,s;if(!this.getElement())return null;const u=this._tabster;let a=null,c=!1,d;const g=r&&((n=fe.getRoot(u,r))===null||n===void 0?void 0:n.getElement());if(g){const f={container:g,currentElement:r,referenceElement:t,ignoreAccessibility:i,useActiveModalizer:!0},h={};a=u.focusable[o?"findPrev":"findNext"](f,h),!a&&this._props.isTrapped&&(!((s=u.modalizer)===null||s===void 0)&&s.activeId)?(a=u.focusable[o?"findLast":"findFirst"]({container:g,ignoreAccessibility:i,useActiveModalizer:!0},h),a===null&&(a=r),c=!0):c=!!h.outOfDOMOrder,d=h.uncontrolled}return{element:a,uncontrolled:d,outOfDOMOrder:c}}_dispatchEvent(r,t){const o=this.getElement();let i=!1;if(o){const n=t?this._activeElements.map(s=>s.get()):[o];for(const s of n)if(s){const l={id:this.userId,element:o},u=r?new Pp(l):new Tp(l);s.dispatchEvent(u),u.defaultPrevented&&(i=!0)}}return i}_remove(){process.env.NODE_ENV==="development"&&qi(this._element,!0)}}class ab{constructor(r,t,o){this._onModalizerDispose=n=>{const s=n.id,l=n.userId,u=this._parts[l];if(delete this._modalizers[s],u&&(delete u[s],Object.keys(u).length===0)){delete this._parts[l];const a=this._activationHistory,c=[];let d;for(let g=a.length;g--;){const f=a[g];f!==l&&f!==d&&(d=f,(f||c.length>0)&&c.unshift(f))}if(this._activationHistory=c,this.activeId===l){const g=c[0],f=g?Object.values(this._parts[g])[0]:void 0;this.setActive(f)}}},this._onKeyDown=n=>{var s;if(n.key!==Be.Escape)return;const l=this._tabster,u=l.focusedElement.getFocusedElement();if(u){const a=fe.getTabsterContext(l,u),c=a==null?void 0:a.modalizer;if(a&&!a.groupper&&(c!=null&&c.isActive())&&!a.ignoreKeydown(n)){const d=c.userId;if(d){const g=this._parts[d];if(g){const f=Object.keys(g).map(h=>{var v;const b=g[h],p=b.getElement();let y;return p&&(y=(v=je(l,p))===null||v===void 0?void 0:v.groupper),b&&p&&y?{el:p,focusedSince:b.focused(!0)}:{focusedSince:0}}).filter(h=>h.focusedSince>0).sort((h,v)=>h.focusedSince>v.focusedSince?-1:h.focusedSince<v.focusedSince?1:0);if(f.length){const h=f[0].el;h&&((s=l.groupper)===null||s===void 0||s.handleKeyPress(h,n,!0))}}}}}},this._onFocus=(n,s)=>{var l;const u=this._tabster,a=n&&fe.getTabsterContext(u,n);if(!a||!n)return;const c=this._augMap;for(let h=n;h;h=N.getParentElement(h))c.has(h)&&(c.delete(h),Ai(u,h,Oi));let d=a.modalizer;const g=je(u,n),f=g==null?void 0:g.modalizer;if(f&&(f.focused(),f.userId===this.activeId&&g.groupper)){const h=u.getParent(n),v=h&&((l=fe.getTabsterContext(u,h))===null||l===void 0?void 0:l.modalizer);if(v)d=v;else{this.setActive(void 0);return}}if(d==null||d.focused(),(d==null?void 0:d.userId)===this.activeId){this.currentIsOthersAccessible=d==null?void 0:d.getProps().isOthersAccessible;return}if(s.isFocusedProgrammatically||this.currentIsOthersAccessible||d!=null&&d.getProps().isAlwaysAccessible)this.setActive(d);else{const h=this._win();h.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=h.setTimeout(()=>this._restoreModalizerFocus(n),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=o,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(t=>{this._modalizers[t]&&(this._modalizers[t].dispose(),delete this._modalizers[t])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,t,o){var i;process.env.NODE_ENV;const n=new ib(this._tabster,r,this._onModalizerDispose,t,o,this.activeElements),s=n.id,l=t.id;this._modalizers[s]=n;let u=this._parts[l];u||(u=this._parts[l]={}),u[s]=n;const a=(i=this._tabster.focusedElement.getFocusedElement())!==null&&i!==void 0?i:null;return r!==a&&N.nodeContains(r,a)&&(l!==this.activeId?this.setActive(n):n.makeActive(!0)),n}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const t=r==null?void 0:r.userId,o=this.activeId;if(o===t)return;if(this.activeId=t,o){const n=this._parts[o];if(n)for(const s of Object.keys(n))n[s].makeActive(!1)}if(t){const n=this._parts[t];if(n)for(const s of Object.keys(n))n[s].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const i=this._activationHistory;i[0]!==t&&(t!==void 0||i.length>0)&&i.unshift(t)}focus(r,t,o){const i=this._tabster,n=fe.getTabsterContext(i,r),s=n==null?void 0:n.modalizer;if(s){this.setActive(s);const l=s.getProps(),u=s.getElement();if(u){if(t===void 0&&(t=l.isNoFocusFirst),!t&&i.keyboardNavigation.isNavigatingWithKeyboard()&&i.focusedElement.focusFirst({container:u})||(o===void 0&&(o=l.isNoFocusDefault),!o&&i.focusedElement.focusDefault(u)))return!0;i.focusedElement.resetFocus(u)}}else process.env.NODE_ENV==="development"&&console.error("Element is not in Modalizer.",r);return!1}activate(r){var t;const o=r?(t=fe.getTabsterContext(this._tabster,r))===null||t===void 0?void 0:t.modalizer:void 0;return!r||o?(this.setActive(o),!0):!1}acceptElement(r,t){var o;const i=t.modalizerUserId,n=(o=t.currentCtx)===null||o===void 0?void 0:o.modalizer;if(i)for(const l of this.activeElements){const u=l.get();if(u&&(N.nodeContains(r,u)||u===r))return NodeFilter.FILTER_SKIP}const s=i===(n==null?void 0:n.userId)||!i&&(n!=null&&n.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return s!==void 0&&(t.skippedFocusable=!0),s}_hiddenUpdate(){var r;const t=this._tabster,o=t.getWindow().document.body,i=this.activeId,n=this._parts,s=[],l=[],u=this._alwaysAccessibleSelector,a=u?Array.from(N.querySelectorAll(o,u)):[],c=[];for(const p of Object.keys(n)){const y=n[p];for(const k of Object.keys(y)){const w=y[k],_=w.getElement(),C=w.getProps().isAlwaysAccessible;_&&(p===i?(c.push(_),this.currentIsOthersAccessible||s.push(_)):C?a.push(_):l.push(_))}}const d=this._augMap,g=s.length>0?[...s,...a]:void 0,f=[],h=new WeakMap,v=(p,y)=>{var k;const w=p.tagName;if(w==="SCRIPT"||w==="STYLE")return;let _=!1;d.has(p)?y?_=!0:(d.delete(p),Ai(t,p,Oi)):y&&!(!((k=this._accessibleCheck)===null||k===void 0)&&k.call(this,p,c))&&Ai(t,p,Oi,"true")&&(d.set(p,!0),_=!0),_&&(f.push(new Ge(t.getWindow,p)),h.set(p,!0))},b=p=>{var y;for(let k=N.getFirstElementChild(p);k;k=N.getNextElementSibling(k)){let w=!1,_=!1,S=!1;if(g){const C=t.getParent(k);for(const T of g){if(k===T){w=!0;break}if(N.nodeContains(k,T)){_=!0;break}else N.nodeContains(T,C)&&(S=!0)}_||!((y=k.__tabsterElementFlags)===null||y===void 0)&&y.noDirectAriaHidden?b(k):!w&&!S&&v(k,!0)}else v(k,!1)}};g||a.forEach(p=>v(p,!1)),l.forEach(p=>v(p,!0)),o&&b(o),(r=this._aug)===null||r===void 0||r.map(p=>p.get()).forEach(p=>{p&&!h.get(p)&&v(p,!1)}),this._aug=f,this._augMap=h}_restoreModalizerFocus(r){var t;const o=r==null?void 0:r.ownerDocument;if(!r||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),n=i&&((t=fe.getTabsterContext(this._tabster,i))===null||t===void 0?void 0:t.modalizer);if(!i||i&&(n==null?void 0:n.userId)===this.activeId)return;const s=this._tabster,l=fe.getTabsterContext(s,r),u=l==null?void 0:l.modalizer,a=this.activeId;if(!u&&!a||u&&a===u.userId)return;const c=l==null?void 0:l.root.getElement();if(c){let d=s.focusable.findFirst({container:c,useActiveModalizer:!0});if(d){if(r.compareDocumentPosition(d)&document.DOCUMENT_POSITION_PRECEDING&&(d=s.focusable.findLast({container:c,useActiveModalizer:!0}),!d))throw new Error("Something went wrong.");s.focusedElement.focus(d);return}}r.blur()}}/*!
142
142
  * Copyright (c) Microsoft Corporation. All rights reserved.
143
143
  * Licensed under the MIT License.
144
- */const ob=["input","textarea","*[contenteditable]"].join(", ");class nb extends Pr{constructor(r,t,o,i){super(t,r,Zo.Mover,i),this._onFocusDummyInput=n=>{var s,l;const u=this._element.get(),a=n.input;if(u&&a){const c=fe.getTabsterContext(this._tabster,u);let d;c&&(d=(s=Ce.findNextTabbable(this._tabster,c,void 0,a,void 0,!n.isFirst,!0))===null||s===void 0?void 0:s.element);const g=(l=this._getMemorized())===null||l===void 0?void 0:l.get();g&&this._tabster.focusable.isFocusable(g)&&(d=g),d&&ht(d)}},this._tabster=t,this._getMemorized=o,this._setHandlers(this._onFocusDummyInput)}}const Mi=1,lc=2,cc=3;class ib extends no{constructor(r,t,o,i,n){var s;super(r,t,i),this._visible={},this._onIntersection=u=>{for(const a of u){const c=a.target,d=Ko(this._win,c);let g,f=this._fullyVisible;if(a.intersectionRatio>=.25?(g=a.intersectionRatio>=.75?Dt.Visible:Dt.PartiallyVisible,g===Dt.Visible&&(f=d)):g=Dt.Invisible,this._visible[d]!==g){g===void 0?(delete this._visible[d],f===d&&delete this._fullyVisible):(this._visible[d]=g,this._fullyVisible=f);const h=this.getState(c);h&&c.dispatchEvent(new Wl(h))}}},this._win=r.getWindow,this.visibilityTolerance=(s=i.visibilityTolerance)!==null&&s!==void 0?s:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=o;const l=()=>i.memorizeCurrent?this._current:void 0;r.controlTab||(this.dummyManager=new nb(this._element,r,l,n))}dispose(){var r;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager}setCurrent(r){r?this._current=new Ge(this._win,r):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var t;delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const n=i==null?void 0:i.get();if(n&&((t=this._allElements)===null||t===void 0?void 0:t.get(n))===this){const s=this._props;if(n&&(s.visibilityAware!==void 0||s.trackState)){const l=this.getState(n);l&&n.dispatchEvent(new Wl(l))}}}}))}getCurrent(){var r;return((r=this._current)===null||r===void 0?void 0:r.get())||null}findNextTabbable(r,t,o,i){const n=this.getElement(),s=n&&Tr(r)===n;if(!n)return null;let l=null,u=!1,a;if(this._props.tabbable||s||r&&!N.nodeContains(n,r)){const c={currentElement:r,referenceElement:t,container:n,ignoreAccessibility:i,useActiveModalizer:!0},d={};l=this._tabster.focusable[o?"findPrev":"findNext"](c,d),u=!!d.outOfDOMOrder,a=d.uncontrolled}return{element:l,uncontrolled:a,outOfDOMOrder:u}}acceptElement(r,t){var o,i;if(!Ce.isTabbing)return!((o=t.currentCtx)===null||o===void 0)&&o.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:n,visibilityAware:s,hasDefault:l=!0}=this._props,u=this.getElement();if(u&&(n||s||l)&&(!N.nodeContains(u,t.from)||Tr(t.from)===u)){let a;if(n){const c=(i=this._current)===null||i===void 0?void 0:i.get();c&&t.acceptCondition(c)&&(a=c)}if(!a&&l&&(a=this._tabster.focusable.findDefault({container:u,useActiveModalizer:!0})),!a&&s&&(a=this._tabster.focusable.findElement({container:u,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:c=>{var d;const g=Ko(this._win,c),f=this._visible[g];return u!==c&&!!(!((d=this._allElements)===null||d===void 0)&&d.get(c))&&t.acceptCondition(c)&&(f===Dt.Visible||f===Dt.PartiallyVisible&&(s===Dt.PartiallyVisible||!this._fullyVisible))}})),a)return t.found=!0,t.foundElement=a,t.rejectElementsFrom=u,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const r=this.getElement();if(this._unobserve||!r||typeof MutationObserver>"u")return;const t=this._win(),o=this._allElements=new WeakMap,i=this._tabster.focusable;let n=this._updateQueue=[];const s=N.createMutationObserver(f=>{for(const h of f){const v=h.target,b=h.removedNodes,p=h.addedNodes;if(h.type==="attributes")h.attributeName==="tabindex"&&n.push({element:v,type:lc});else{for(let y=0;y<b.length;y++)n.push({element:b[y],type:cc});for(let y=0;y<p.length;y++)n.push({element:p[y],type:Mi})}}d()}),l=(f,h)=>{var v,b;const p=o.get(f);p&&h&&((v=this._intersectionObserver)===null||v===void 0||v.unobserve(f),o.delete(f)),!p&&!h&&(o.set(f,this),(b=this._intersectionObserver)===null||b===void 0||b.observe(f))},u=f=>{const h=i.isFocusable(f);o.get(f)?h||l(f,!0):h&&l(f)},a=f=>{const{mover:h}=g(f);if(h&&h!==this)if(h.getElement()===f&&i.isFocusable(f))l(f);else return;const v=Fi(t.document,f,b=>{const{mover:p,groupper:y}=g(b);if(p&&p!==this)return NodeFilter.FILTER_REJECT;const k=y==null?void 0:y.getFirst(!0);return y&&y.getElement()!==b&&k&&k!==b?NodeFilter.FILTER_REJECT:(i.isFocusable(b)&&l(b),NodeFilter.FILTER_SKIP)});if(v)for(v.currentNode=f;v.nextNode(););},c=f=>{o.get(f)&&l(f,!0);for(let v=N.getFirstElementChild(f);v;v=N.getNextElementSibling(v))c(v)},d=()=>{!this._updateTimer&&n.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(const{element:f,type:h}of n)switch(h){case lc:u(f);break;case Mi:a(f);break;case cc:c(f);break}n=this._updateQueue=[]},0))},g=f=>{const h={};for(let v=f;v;v=N.getParentElement(v)){const b=je(this._tabster,v);if(b&&(b.groupper&&!h.groupper&&(h.groupper=b.groupper),b.mover)){h.mover=b.mover;break}}return h};n.push({element:r,type:Mi}),d(),s.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{s.disconnect()}}getState(r){const t=Ko(this._win,r);if(t in this._visible){const o=this._visible[t]||Dt.Invisible;return{isCurrent:this._current?this._current.get()===r:void 0,visibility:o}}}}function ab(e,r,t,o,i,n,s,l){const u=t<i?i-t:s<e?e-s:0,a=o<n?n-o:l<r?r-l:0;return u===0?a:a===0?u:Math.sqrt(u*u+a*a)}class sb{constructor(r,t){this._init=()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ei,this._onMoveFocus),o.addEventListener(Hl,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=o=>{delete this._movers[o.id]},this._onFocus=o=>{var i;let n=o,s=o;for(let l=N.getParentElement(o);l;l=N.getParentElement(l)){const u=(i=je(this._tabster,l))===null||i===void 0?void 0:i.mover;u&&(u.setCurrent(s),n=void 0),!n&&this._tabster.focusable.isFocusable(l)&&(n=s=l)}},this._onKeyDown=async o=>{var i;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(i=this._ignoredInputResolve)===null||i===void 0||i.call(this,!1),o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const n=o.key;let s;if(n===Be.ArrowDown?s=Se.ArrowDown:n===Be.ArrowRight?s=Se.ArrowRight:n===Be.ArrowUp?s=Se.ArrowUp:n===Be.ArrowLeft?s=Se.ArrowLeft:n===Be.PageDown?s=Se.PageDown:n===Be.PageUp?s=Se.PageUp:n===Be.Home?s=Se.Home:n===Be.End&&(s=Se.End),!s)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,n)||this._moveFocus(l,s,o)},this._onMoveFocus=o=>{var i;const n=o.composedPath()[0],s=(i=o.detail)===null||i===void 0?void 0:i.key;n&&s!==void 0&&!o.defaultPrevented&&(this._moveFocus(n,s),o.stopImmediatePropagation())},this._onMemorizedElement=o=>{var i;const n=o.composedPath()[0];let s=(i=o.detail)===null||i===void 0?void 0:i.memorizedElement;if(n){const l=fe.getTabsterContext(this._tabster,n),u=l==null?void 0:l.mover;u&&(s&&!N.nodeContains(u.getElement(),s)&&(s=void 0),u.setCurrent(s),o.stopImmediatePropagation())}},this._tabster=r,this._win=t,this._movers={},r.queueInit(this._init)}dispose(){var r;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(r=this._ignoredInputResolve)===null||r===void 0||r.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(Ei,this._onMoveFocus),t.removeEventListener(Hl,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(r,t,o){process.env.NODE_ENV;const i=new ib(this._tabster,r,this._onMoverDispose,t,o);return this._movers[i.id]=i,i}moveFocus(r,t){return this._moveFocus(r,t)}_moveFocus(r,t,o){var i,n;const s=this._tabster,l=fe.getTabsterContext(s,r,{checkRtl:!0});if(!l||!l.mover||l.excludedFromMover||o&&l.ignoreKeydown(o))return null;const u=l.mover,a=u.getElement();if(l.groupperBeforeMover){const T=l.groupper;if(T&&!T.isActive(!0)){for(let z=N.getParentElement(T.getElement());z&&z!==a;z=N.getParentElement(z))if(!((n=(i=je(s,z))===null||i===void 0?void 0:i.groupper)===null||n===void 0)&&n.isActive(!0))return null}else return null}if(!a)return null;const c=s.focusable,d=u.getProps(),g=d.direction||at.Both,f=g===at.Both,h=f||g===at.Vertical,v=f||g===at.Horizontal,b=g===at.GridLinear,p=b||g===at.Grid,y=d.cyclic;let k,w,_,S=0,C=0;if(p&&(_=r.getBoundingClientRect(),S=Math.ceil(_.left),C=Math.floor(_.right)),l.rtl&&(t===Se.ArrowRight?t=Se.ArrowLeft:t===Se.ArrowLeft&&(t=Se.ArrowRight)),t===Se.ArrowDown&&h||t===Se.ArrowRight&&(v||p))if(k=c.findNext({currentElement:r,container:a,useActiveModalizer:!0}),k&&p){const T=Math.ceil(k.getBoundingClientRect().left);!b&&C>T&&(k=void 0)}else!k&&y&&(k=c.findFirst({container:a,useActiveModalizer:!0}));else if(t===Se.ArrowUp&&h||t===Se.ArrowLeft&&(v||p))if(k=c.findPrev({currentElement:r,container:a,useActiveModalizer:!0}),k&&p){const T=Math.floor(k.getBoundingClientRect().right);!b&&T>S&&(k=void 0)}else!k&&y&&(k=c.findLast({container:a,useActiveModalizer:!0}));else if(t===Se.Home)p?c.findElement({container:a,currentElement:r,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>{var z;if(!c.isFocusable(T))return!1;const I=Math.ceil((z=T.getBoundingClientRect().left)!==null&&z!==void 0?z:0);return T!==r&&S<=I?!0:(k=T,!1)}}):k=c.findFirst({container:a,useActiveModalizer:!0});else if(t===Se.End)p?c.findElement({container:a,currentElement:r,useActiveModalizer:!0,acceptCondition:T=>{var z;if(!c.isFocusable(T))return!1;const I=Math.ceil((z=T.getBoundingClientRect().left)!==null&&z!==void 0?z:0);return T!==r&&S>=I?!0:(k=T,!1)}}):k=c.findLast({container:a,useActiveModalizer:!0});else if(t===Se.PageUp){if(c.findElement({currentElement:r,container:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>c.isFocusable(T)?Zl(this._win,T,u.visibilityTolerance)?(k=T,!1):!0:!1}),p&&k){const T=Math.ceil(k.getBoundingClientRect().left);c.findElement({currentElement:k,container:a,useActiveModalizer:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;const I=Math.ceil(z.getBoundingClientRect().left);return S<I||T>=I?!0:(k=z,!1)}})}w=!1}else if(t===Se.PageDown){if(c.findElement({currentElement:r,container:a,useActiveModalizer:!0,acceptCondition:T=>c.isFocusable(T)?Zl(this._win,T,u.visibilityTolerance)?(k=T,!1):!0:!1}),p&&k){const T=Math.ceil(k.getBoundingClientRect().left);c.findElement({currentElement:k,container:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;const I=Math.ceil(z.getBoundingClientRect().left);return S>I||T<=I?!0:(k=z,!1)}})}w=!0}else if(p){const T=t===Se.ArrowUp,z=S,I=Math.ceil(_.top),G=C,U=Math.floor(_.bottom);let B,j,V=0;c.findAll({container:a,currentElement:r,isBackward:T,onElement:X=>{const Z=X.getBoundingClientRect(),R=Math.ceil(Z.left),q=Math.ceil(Z.top),W=Math.floor(Z.right),ne=Math.floor(Z.bottom);if(T&&I<ne||!T&&U>q)return!0;const L=Math.ceil(Math.min(G,W))-Math.floor(Math.max(z,R)),oe=Math.ceil(Math.min(G-z,W-R));if(L>0&&oe>=L){const be=L/oe;be>V&&(B=X,V=be)}else if(V===0){const be=ab(z,I,G,U,R,q,W,ne);(j===void 0||be<j)&&(j=be,B=X)}else if(V>0)return!1;return!0}}),k=B}return k&&(!o||o&&a.dispatchEvent(new Ft({by:"mover",owner:a,next:k,relatedEvent:o})))?(w!==void 0&&Dp(this._win,k,w),o&&(o.preventDefault(),o.stopImmediatePropagation()),ht(k),k):null}async _isIgnoredInput(r,t){if(r.getAttribute("aria-expanded")==="true"&&r.hasAttribute("aria-activedescendant"))return!0;if(ec(r,ob)){let o=0,i=0,n=0,s;if(r.tagName==="INPUT"||r.tagName==="TEXTAREA"){const l=r.type;if(n=(r.value||"").length,l==="email"||l==="number"){if(n){const a=N.getSelection(r);if(a){const c=a.toString().length,d=t===Be.ArrowLeft||t===Be.ArrowUp;if(a.modify("extend",d?"backward":"forward","character"),c!==a.toString().length)return a.modify("extend",d?"forward":"backward","character"),!0;n=0}}}else{const a=r.selectionStart;if(a===null)return l==="hidden";o=a||0,i=r.selectionEnd||0}}else r.contentEditable==="true"&&(s=new(Ap(this._win))(l=>{this._ignoredInputResolve=f=>{delete this._ignoredInputResolve,l(f)};const u=this._win();this._ignoredInputTimer&&u.clearTimeout(this._ignoredInputTimer);const{anchorNode:a,focusNode:c,anchorOffset:d,focusOffset:g}=N.getSelection(r)||{};this._ignoredInputTimer=u.setTimeout(()=>{var f,h,v;delete this._ignoredInputTimer;const{anchorNode:b,focusNode:p,anchorOffset:y,focusOffset:k}=N.getSelection(r)||{};if(b!==a||p!==c||y!==d||k!==g){(f=this._ignoredInputResolve)===null||f===void 0||f.call(this,!1);return}if(o=y||0,i=k||0,n=((h=r.textContent)===null||h===void 0?void 0:h.length)||0,b&&p&&N.nodeContains(r,b)&&N.nodeContains(r,p)&&b!==r){let w=!1;const _=S=>{if(S===b)w=!0;else if(S===p)return!0;const C=S.textContent;if(C&&!N.getFirstChild(S)){const z=C.length;w?p!==b&&(i+=z):(o+=z,i+=z)}let T=!1;for(let z=N.getFirstChild(S);z&&!T;z=z.nextSibling)T=_(z);return T};_(r)}(v=this._ignoredInputResolve)===null||v===void 0||v.call(this,!0)},0)}));if(s&&!await s||o!==i||o>0&&(t===Be.ArrowLeft||t===Be.ArrowUp||t===Be.Home)||o<n&&(t===Be.ArrowRight||t===Be.ArrowDown||t===Be.End))return!0}return!1}}/*!
144
+ */const sb=["input","textarea","*[contenteditable]"].join(", ");class lb extends Pr{constructor(r,t,o,i){super(t,r,Zo.Mover,i),this._onFocusDummyInput=n=>{var s,l;const u=this._element.get(),a=n.input;if(u&&a){const c=fe.getTabsterContext(this._tabster,u);let d;c&&(d=(s=Ce.findNextTabbable(this._tabster,c,void 0,a,void 0,!n.isFirst,!0))===null||s===void 0?void 0:s.element);const g=(l=this._getMemorized())===null||l===void 0?void 0:l.get();g&&this._tabster.focusable.isFocusable(g)&&(d=g),d&&ht(d)}},this._tabster=t,this._getMemorized=o,this._setHandlers(this._onFocusDummyInput)}}const Mi=1,uc=2,dc=3;class cb extends no{constructor(r,t,o,i,n){var s;super(r,t,i),this._visible={},this._onIntersection=u=>{for(const a of u){const c=a.target,d=Ko(this._win,c);let g,f=this._fullyVisible;if(a.intersectionRatio>=.25?(g=a.intersectionRatio>=.75?Dt.Visible:Dt.PartiallyVisible,g===Dt.Visible&&(f=d)):g=Dt.Invisible,this._visible[d]!==g){g===void 0?(delete this._visible[d],f===d&&delete this._fullyVisible):(this._visible[d]=g,this._fullyVisible=f);const h=this.getState(c);h&&c.dispatchEvent(new $l(h))}}},this._win=r.getWindow,this.visibilityTolerance=(s=i.visibilityTolerance)!==null&&s!==void 0?s:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=o;const l=()=>i.memorizeCurrent?this._current:void 0;r.controlTab||(this.dummyManager=new lb(this._element,r,l,n))}dispose(){var r;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager}setCurrent(r){r?this._current=new Ge(this._win,r):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var t;delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const n=i==null?void 0:i.get();if(n&&((t=this._allElements)===null||t===void 0?void 0:t.get(n))===this){const s=this._props;if(n&&(s.visibilityAware!==void 0||s.trackState)){const l=this.getState(n);l&&n.dispatchEvent(new $l(l))}}}}))}getCurrent(){var r;return((r=this._current)===null||r===void 0?void 0:r.get())||null}findNextTabbable(r,t,o,i){const n=this.getElement(),s=n&&Tr(r)===n;if(!n)return null;let l=null,u=!1,a;if(this._props.tabbable||s||r&&!N.nodeContains(n,r)){const c={currentElement:r,referenceElement:t,container:n,ignoreAccessibility:i,useActiveModalizer:!0},d={};l=this._tabster.focusable[o?"findPrev":"findNext"](c,d),u=!!d.outOfDOMOrder,a=d.uncontrolled}return{element:l,uncontrolled:a,outOfDOMOrder:u}}acceptElement(r,t){var o,i;if(!Ce.isTabbing)return!((o=t.currentCtx)===null||o===void 0)&&o.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:n,visibilityAware:s,hasDefault:l=!0}=this._props,u=this.getElement();if(u&&(n||s||l)&&(!N.nodeContains(u,t.from)||Tr(t.from)===u)){let a;if(n){const c=(i=this._current)===null||i===void 0?void 0:i.get();c&&t.acceptCondition(c)&&(a=c)}if(!a&&l&&(a=this._tabster.focusable.findDefault({container:u,useActiveModalizer:!0})),!a&&s&&(a=this._tabster.focusable.findElement({container:u,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:c=>{var d;const g=Ko(this._win,c),f=this._visible[g];return u!==c&&!!(!((d=this._allElements)===null||d===void 0)&&d.get(c))&&t.acceptCondition(c)&&(f===Dt.Visible||f===Dt.PartiallyVisible&&(s===Dt.PartiallyVisible||!this._fullyVisible))}})),a)return t.found=!0,t.foundElement=a,t.rejectElementsFrom=u,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const r=this.getElement();if(this._unobserve||!r||typeof MutationObserver>"u")return;const t=this._win(),o=this._allElements=new WeakMap,i=this._tabster.focusable;let n=this._updateQueue=[];const s=N.createMutationObserver(f=>{for(const h of f){const v=h.target,b=h.removedNodes,p=h.addedNodes;if(h.type==="attributes")h.attributeName==="tabindex"&&n.push({element:v,type:uc});else{for(let y=0;y<b.length;y++)n.push({element:b[y],type:dc});for(let y=0;y<p.length;y++)n.push({element:p[y],type:Mi})}}d()}),l=(f,h)=>{var v,b;const p=o.get(f);p&&h&&((v=this._intersectionObserver)===null||v===void 0||v.unobserve(f),o.delete(f)),!p&&!h&&(o.set(f,this),(b=this._intersectionObserver)===null||b===void 0||b.observe(f))},u=f=>{const h=i.isFocusable(f);o.get(f)?h||l(f,!0):h&&l(f)},a=f=>{const{mover:h}=g(f);if(h&&h!==this)if(h.getElement()===f&&i.isFocusable(f))l(f);else return;const v=Fi(t.document,f,b=>{const{mover:p,groupper:y}=g(b);if(p&&p!==this)return NodeFilter.FILTER_REJECT;const k=y==null?void 0:y.getFirst(!0);return y&&y.getElement()!==b&&k&&k!==b?NodeFilter.FILTER_REJECT:(i.isFocusable(b)&&l(b),NodeFilter.FILTER_SKIP)});if(v)for(v.currentNode=f;v.nextNode(););},c=f=>{o.get(f)&&l(f,!0);for(let v=N.getFirstElementChild(f);v;v=N.getNextElementSibling(v))c(v)},d=()=>{!this._updateTimer&&n.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(const{element:f,type:h}of n)switch(h){case uc:u(f);break;case Mi:a(f);break;case dc:c(f);break}n=this._updateQueue=[]},0))},g=f=>{const h={};for(let v=f;v;v=N.getParentElement(v)){const b=je(this._tabster,v);if(b&&(b.groupper&&!h.groupper&&(h.groupper=b.groupper),b.mover)){h.mover=b.mover;break}}return h};n.push({element:r,type:Mi}),d(),s.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{s.disconnect()}}getState(r){const t=Ko(this._win,r);if(t in this._visible){const o=this._visible[t]||Dt.Invisible;return{isCurrent:this._current?this._current.get()===r:void 0,visibility:o}}}}function ub(e,r,t,o,i,n,s,l){const u=t<i?i-t:s<e?e-s:0,a=o<n?n-o:l<r?r-l:0;return u===0?a:a===0?u:Math.sqrt(u*u+a*a)}class db{constructor(r,t){this._init=()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ei,this._onMoveFocus),o.addEventListener(Vl,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=o=>{delete this._movers[o.id]},this._onFocus=o=>{var i;let n=o,s=o;for(let l=N.getParentElement(o);l;l=N.getParentElement(l)){const u=(i=je(this._tabster,l))===null||i===void 0?void 0:i.mover;u&&(u.setCurrent(s),n=void 0),!n&&this._tabster.focusable.isFocusable(l)&&(n=s=l)}},this._onKeyDown=async o=>{var i;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(i=this._ignoredInputResolve)===null||i===void 0||i.call(this,!1),o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const n=o.key;let s;if(n===Be.ArrowDown?s=Se.ArrowDown:n===Be.ArrowRight?s=Se.ArrowRight:n===Be.ArrowUp?s=Se.ArrowUp:n===Be.ArrowLeft?s=Se.ArrowLeft:n===Be.PageDown?s=Se.PageDown:n===Be.PageUp?s=Se.PageUp:n===Be.Home?s=Se.Home:n===Be.End&&(s=Se.End),!s)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,n)||this._moveFocus(l,s,o)},this._onMoveFocus=o=>{var i;const n=o.composedPath()[0],s=(i=o.detail)===null||i===void 0?void 0:i.key;n&&s!==void 0&&!o.defaultPrevented&&(this._moveFocus(n,s),o.stopImmediatePropagation())},this._onMemorizedElement=o=>{var i;const n=o.composedPath()[0];let s=(i=o.detail)===null||i===void 0?void 0:i.memorizedElement;if(n){const l=fe.getTabsterContext(this._tabster,n),u=l==null?void 0:l.mover;u&&(s&&!N.nodeContains(u.getElement(),s)&&(s=void 0),u.setCurrent(s),o.stopImmediatePropagation())}},this._tabster=r,this._win=t,this._movers={},r.queueInit(this._init)}dispose(){var r;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(r=this._ignoredInputResolve)===null||r===void 0||r.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(Ei,this._onMoveFocus),t.removeEventListener(Vl,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(r,t,o){process.env.NODE_ENV;const i=new cb(this._tabster,r,this._onMoverDispose,t,o);return this._movers[i.id]=i,i}moveFocus(r,t){return this._moveFocus(r,t)}_moveFocus(r,t,o){var i,n;const s=this._tabster,l=fe.getTabsterContext(s,r,{checkRtl:!0});if(!l||!l.mover||l.excludedFromMover||o&&l.ignoreKeydown(o))return null;const u=l.mover,a=u.getElement();if(l.groupperBeforeMover){const T=l.groupper;if(T&&!T.isActive(!0)){for(let z=N.getParentElement(T.getElement());z&&z!==a;z=N.getParentElement(z))if(!((n=(i=je(s,z))===null||i===void 0?void 0:i.groupper)===null||n===void 0)&&n.isActive(!0))return null}else return null}if(!a)return null;const c=s.focusable,d=u.getProps(),g=d.direction||at.Both,f=g===at.Both,h=f||g===at.Vertical,v=f||g===at.Horizontal,b=g===at.GridLinear,p=b||g===at.Grid,y=d.cyclic;let k,w,_,S=0,C=0;if(p&&(_=r.getBoundingClientRect(),S=Math.ceil(_.left),C=Math.floor(_.right)),l.rtl&&(t===Se.ArrowRight?t=Se.ArrowLeft:t===Se.ArrowLeft&&(t=Se.ArrowRight)),t===Se.ArrowDown&&h||t===Se.ArrowRight&&(v||p))if(k=c.findNext({currentElement:r,container:a,useActiveModalizer:!0}),k&&p){const T=Math.ceil(k.getBoundingClientRect().left);!b&&C>T&&(k=void 0)}else!k&&y&&(k=c.findFirst({container:a,useActiveModalizer:!0}));else if(t===Se.ArrowUp&&h||t===Se.ArrowLeft&&(v||p))if(k=c.findPrev({currentElement:r,container:a,useActiveModalizer:!0}),k&&p){const T=Math.floor(k.getBoundingClientRect().right);!b&&T>S&&(k=void 0)}else!k&&y&&(k=c.findLast({container:a,useActiveModalizer:!0}));else if(t===Se.Home)p?c.findElement({container:a,currentElement:r,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>{var z;if(!c.isFocusable(T))return!1;const I=Math.ceil((z=T.getBoundingClientRect().left)!==null&&z!==void 0?z:0);return T!==r&&S<=I?!0:(k=T,!1)}}):k=c.findFirst({container:a,useActiveModalizer:!0});else if(t===Se.End)p?c.findElement({container:a,currentElement:r,useActiveModalizer:!0,acceptCondition:T=>{var z;if(!c.isFocusable(T))return!1;const I=Math.ceil((z=T.getBoundingClientRect().left)!==null&&z!==void 0?z:0);return T!==r&&S>=I?!0:(k=T,!1)}}):k=c.findLast({container:a,useActiveModalizer:!0});else if(t===Se.PageUp){if(c.findElement({currentElement:r,container:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:T=>c.isFocusable(T)?Yl(this._win,T,u.visibilityTolerance)?(k=T,!1):!0:!1}),p&&k){const T=Math.ceil(k.getBoundingClientRect().left);c.findElement({currentElement:k,container:a,useActiveModalizer:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;const I=Math.ceil(z.getBoundingClientRect().left);return S<I||T>=I?!0:(k=z,!1)}})}w=!1}else if(t===Se.PageDown){if(c.findElement({currentElement:r,container:a,useActiveModalizer:!0,acceptCondition:T=>c.isFocusable(T)?Yl(this._win,T,u.visibilityTolerance)?(k=T,!1):!0:!1}),p&&k){const T=Math.ceil(k.getBoundingClientRect().left);c.findElement({currentElement:k,container:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;const I=Math.ceil(z.getBoundingClientRect().left);return S>I||T<=I?!0:(k=z,!1)}})}w=!0}else if(p){const T=t===Se.ArrowUp,z=S,I=Math.ceil(_.top),G=C,U=Math.floor(_.bottom);let B,j,V=0;c.findAll({container:a,currentElement:r,isBackward:T,onElement:X=>{const Z=X.getBoundingClientRect(),R=Math.ceil(Z.left),q=Math.ceil(Z.top),W=Math.floor(Z.right),ne=Math.floor(Z.bottom);if(T&&I<ne||!T&&U>q)return!0;const L=Math.ceil(Math.min(G,W))-Math.floor(Math.max(z,R)),oe=Math.ceil(Math.min(G-z,W-R));if(L>0&&oe>=L){const be=L/oe;be>V&&(B=X,V=be)}else if(V===0){const be=ub(z,I,G,U,R,q,W,ne);(j===void 0||be<j)&&(j=be,B=X)}else if(V>0)return!1;return!0}}),k=B}return k&&(!o||o&&a.dispatchEvent(new Ft({by:"mover",owner:a,next:k,relatedEvent:o})))?(w!==void 0&&jp(this._win,k,w),o&&(o.preventDefault(),o.stopImmediatePropagation()),ht(k),k):null}async _isIgnoredInput(r,t){if(r.getAttribute("aria-expanded")==="true"&&r.hasAttribute("aria-activedescendant"))return!0;if(rc(r,sb)){let o=0,i=0,n=0,s;if(r.tagName==="INPUT"||r.tagName==="TEXTAREA"){const l=r.type;if(n=(r.value||"").length,l==="email"||l==="number"){if(n){const a=N.getSelection(r);if(a){const c=a.toString().length,d=t===Be.ArrowLeft||t===Be.ArrowUp;if(a.modify("extend",d?"backward":"forward","character"),c!==a.toString().length)return a.modify("extend",d?"forward":"backward","character"),!0;n=0}}}else{const a=r.selectionStart;if(a===null)return l==="hidden";o=a||0,i=r.selectionEnd||0}}else r.contentEditable==="true"&&(s=new(Mp(this._win))(l=>{this._ignoredInputResolve=f=>{delete this._ignoredInputResolve,l(f)};const u=this._win();this._ignoredInputTimer&&u.clearTimeout(this._ignoredInputTimer);const{anchorNode:a,focusNode:c,anchorOffset:d,focusOffset:g}=N.getSelection(r)||{};this._ignoredInputTimer=u.setTimeout(()=>{var f,h,v;delete this._ignoredInputTimer;const{anchorNode:b,focusNode:p,anchorOffset:y,focusOffset:k}=N.getSelection(r)||{};if(b!==a||p!==c||y!==d||k!==g){(f=this._ignoredInputResolve)===null||f===void 0||f.call(this,!1);return}if(o=y||0,i=k||0,n=((h=r.textContent)===null||h===void 0?void 0:h.length)||0,b&&p&&N.nodeContains(r,b)&&N.nodeContains(r,p)&&b!==r){let w=!1;const _=S=>{if(S===b)w=!0;else if(S===p)return!0;const C=S.textContent;if(C&&!N.getFirstChild(S)){const z=C.length;w?p!==b&&(i+=z):(o+=z,i+=z)}let T=!1;for(let z=N.getFirstChild(S);z&&!T;z=z.nextSibling)T=_(z);return T};_(r)}(v=this._ignoredInputResolve)===null||v===void 0||v.call(this,!0)},0)}));if(s&&!await s||o!==i||o>0&&(t===Be.ArrowLeft||t===Be.ArrowUp||t===Be.Home)||o<n&&(t===Be.ArrowRight||t===Be.ArrowDown||t===Be.End))return!0}return!1}}/*!
145
145
  * Copyright (c) Microsoft Corporation. All rights reserved.
146
146
  * Licensed under the MIT License.
147
- */function lb(e,r,t,o){if(typeof MutationObserver>"u")return()=>{};const i=r.getWindow;let n;const s=c=>{var d,g,f,h,v;const b=new Set;for(const p of c){const y=p.target,k=p.removedNodes,w=p.addedNodes;if(p.type==="attributes")p.attributeName===Je&&(b.has(y)||t(r,y));else{for(let _=0;_<k.length;_++){const S=k[_];b.add(S),l(S,!0),(g=(d=r._dummyObserver).domChanged)===null||g===void 0||g.call(d,y)}for(let _=0;_<w.length;_++)l(w[_]),(h=(f=r._dummyObserver).domChanged)===null||h===void 0||h.call(f,y)}}b.clear(),(v=r.modalizer)===null||v===void 0||v.hiddenUpdate()};function l(c,d){n||(n=kt(i).elementByUId),u(c,d);const g=Fi(e,c,f=>u(f,d));if(g)for(;g.nextNode(););}function u(c,d){var g;if(!c.getAttribute)return NodeFilter.FILTER_SKIP;const f=c.__tabsterElementUID;return f&&n&&(d?delete n[f]:(g=n[f])!==null&&g!==void 0||(n[f]=new Ge(i,c))),(je(r,c)||c.hasAttribute(Je))&&t(r,c,d),NodeFilter.FILTER_SKIP}const a=N.createMutationObserver(s);return o&&l(i().document.body),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Je]}),()=>{a.disconnect()}}/*!
147
+ */function fb(e,r,t,o){if(typeof MutationObserver>"u")return()=>{};const i=r.getWindow;let n;const s=c=>{var d,g,f,h,v;const b=new Set;for(const p of c){const y=p.target,k=p.removedNodes,w=p.addedNodes;if(p.type==="attributes")p.attributeName===Je&&(b.has(y)||t(r,y));else{for(let _=0;_<k.length;_++){const S=k[_];b.add(S),l(S,!0),(g=(d=r._dummyObserver).domChanged)===null||g===void 0||g.call(d,y)}for(let _=0;_<w.length;_++)l(w[_]),(h=(f=r._dummyObserver).domChanged)===null||h===void 0||h.call(f,y)}}b.clear(),(v=r.modalizer)===null||v===void 0||v.hiddenUpdate()};function l(c,d){n||(n=kt(i).elementByUId),u(c,d);const g=Fi(e,c,f=>u(f,d));if(g)for(;g.nextNode(););}function u(c,d){var g;if(!c.getAttribute)return NodeFilter.FILTER_SKIP;const f=c.__tabsterElementUID;return f&&n&&(d?delete n[f]:(g=n[f])!==null&&g!==void 0||(n[f]=new Ge(i,c))),(je(r,c)||c.hasAttribute(Je))&&t(r,c,d),NodeFilter.FILTER_SKIP}const a=N.createMutationObserver(s);return o&&l(i().document.body),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Je]}),()=>{a.disconnect()}}/*!
148
148
  * Copyright (c) Microsoft Corporation. All rights reserved.
149
149
  * Licensed under the MIT License.
150
- */class cb{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,t){var o;const i=(o=this._isUncontrolledCompletely)===null||o===void 0?void 0:o.call(this,r,t);return i===void 0?t:i}}/*!
150
+ */class hb{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,t){var o;const i=(o=this._isUncontrolledCompletely)===null||o===void 0?void 0:o.call(this,r,t);return i===void 0?t:i}}/*!
151
151
  * Copyright (c) Microsoft Corporation. All rights reserved.
152
152
  * Licensed under the MIT License.
153
- */class ub extends no{constructor(r,t,o){var i;if(super(r,t,o),this._hasFocus=!1,this._onFocusOut=n=>{var s;const l=(s=this._element)===null||s===void 0?void 0:s.get();l&&n.relatedTarget===null&&l.dispatchEvent(new Vl),l&&!N.nodeContains(l,n.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Cr.Source){const n=(i=this._element)===null||i===void 0?void 0:i.get();n==null||n.addEventListener("focusout",this._onFocusOut),n==null||n.addEventListener("focusin",this._onFocusIn),this._hasFocus=N.nodeContains(n,n&&N.getActiveElement(n.ownerDocument))}}dispose(){var r;if(this._props.type===Cr.Source){const t=(r=this._element)===null||r===void 0?void 0:r.get();t==null||t.removeEventListener("focusout",this._onFocusOut),t==null||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Vl)}}}class Qo{constructor(r){this._stack=[],this._getWindow=r}push(r){var t;((t=this._stack[this._stack.length-1])===null||t===void 0?void 0:t.get())!==r&&(this._stack.length>Qo.DEPTH&&this._stack.shift(),this._stack.push(new Ge(this._getWindow,r)))}pop(r){r===void 0&&(r=()=>!0);var t;const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const n=(t=this._stack.pop())===null||t===void 0?void 0:t.get();if(n&&N.nodeContains(o.body,N.getParentElement(n))&&r(n))return n}}}Qo.DEPTH=10;class db{constructor(r){this._onRestoreFocus=t=>{var o,i;this._focusedElementState.cancelAsyncFocus(wt.Restorer);const n=t.composedPath()[0];if(n){const s=(i=(o=je(this._tabster,n))===null||o===void 0?void 0:o.restorer)===null||i===void 0?void 0:i.getProps().id;this._focusedElementState.requestAsyncFocus(wt.Restorer,()=>this._restoreFocus(n,s),0)}},this._onFocusIn=t=>{var o;if(!t)return;const i=je(this._tabster,t);((o=i==null?void 0:i.restorer)===null||o===void 0?void 0:o.getProps().type)===Cr.Target&&this._history.push(t)},this._restoreFocus=(t,o)=>{var i;const n=this._getWindow().document;if(N.getActiveElement(n)!==n.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&N.nodeContains(n.body,t))return;const s=l=>{var u,a;const c=(a=(u=je(this._tabster,l))===null||u===void 0?void 0:u.restorer)===null||a===void 0?void 0:a.getProps();return c?c.id:null};(i=this._history.pop(l=>o===s(l)))===null||i===void 0||i.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(zi,this._onRestoreFocus),this._history=new Qo(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(wt.Restorer),r.removeEventListener(zi,this._onRestoreFocus)}createRestorer(r,t){const o=new ub(this._tabster,r,t);return t.type===Cr.Target&&N.getActiveElement(r.ownerDocument)===r&&this._history.push(r),o}}/*!
153
+ */class gb extends no{constructor(r,t,o){var i;if(super(r,t,o),this._hasFocus=!1,this._onFocusOut=n=>{var s;const l=(s=this._element)===null||s===void 0?void 0:s.get();l&&n.relatedTarget===null&&l.dispatchEvent(new Gl),l&&!N.nodeContains(l,n.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Cr.Source){const n=(i=this._element)===null||i===void 0?void 0:i.get();n==null||n.addEventListener("focusout",this._onFocusOut),n==null||n.addEventListener("focusin",this._onFocusIn),this._hasFocus=N.nodeContains(n,n&&N.getActiveElement(n.ownerDocument))}}dispose(){var r;if(this._props.type===Cr.Source){const t=(r=this._element)===null||r===void 0?void 0:r.get();t==null||t.removeEventListener("focusout",this._onFocusOut),t==null||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Gl)}}}class Qo{constructor(r){this._stack=[],this._getWindow=r}push(r){var t;((t=this._stack[this._stack.length-1])===null||t===void 0?void 0:t.get())!==r&&(this._stack.length>Qo.DEPTH&&this._stack.shift(),this._stack.push(new Ge(this._getWindow,r)))}pop(r){r===void 0&&(r=()=>!0);var t;const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const n=(t=this._stack.pop())===null||t===void 0?void 0:t.get();if(n&&N.nodeContains(o.body,N.getParentElement(n))&&r(n))return n}}}Qo.DEPTH=10;class vb{constructor(r){this._onRestoreFocus=t=>{var o,i;this._focusedElementState.cancelAsyncFocus(wt.Restorer);const n=t.composedPath()[0];if(n){const s=(i=(o=je(this._tabster,n))===null||o===void 0?void 0:o.restorer)===null||i===void 0?void 0:i.getProps().id;this._focusedElementState.requestAsyncFocus(wt.Restorer,()=>this._restoreFocus(n,s),0)}},this._onFocusIn=t=>{var o;if(!t)return;const i=je(this._tabster,t);((o=i==null?void 0:i.restorer)===null||o===void 0?void 0:o.getProps().type)===Cr.Target&&this._history.push(t)},this._restoreFocus=(t,o)=>{var i;const n=this._getWindow().document;if(N.getActiveElement(n)!==n.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&N.nodeContains(n.body,t))return;const s=l=>{var u,a;const c=(a=(u=je(this._tabster,l))===null||u===void 0?void 0:u.restorer)===null||a===void 0?void 0:a.getProps();return c?c.id:null};(i=this._history.pop(l=>o===s(l)))===null||i===void 0||i.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(zi,this._onRestoreFocus),this._history=new Qo(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(wt.Restorer),r.removeEventListener(zi,this._onRestoreFocus)}createRestorer(r,t){const o=new gb(this._tabster,r,t);return t.type===Cr.Target&&N.getActiveElement(r.ownerDocument)===r&&this._history.push(r),o}}/*!
154
154
  * Copyright (c) Microsoft Corporation. All rights reserved.
155
155
  * Licensed under the MIT License.
156
- */class fb{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class hb{constructor(r,t){var o,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Np(r),this._win=r;const n=this.getWindow;t!=null&&t.DOMAPI&&Pp({...t.DOMAPI}),this.keyboardNavigation=new Yp(n),this.focusedElement=new Ce(this,n),this.focusable=new Up(this),this.root=new fe(this,t==null?void 0:t.autoRoot),this.uncontrolled=new cb((t==null?void 0:t.checkUncontrolledCompletely)||(t==null?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=(o=t==null?void 0:t.controlTab)!==null&&o!==void 0?o:!0,this.rootDummyInputs=!!(t!=null&&t.rootDummyInputs),this._dummyObserver=new qp(n),this.getParent=(i=t==null?void 0:t.getParent)!==null&&i!==void 0?i:N.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const l=n().document;this._unobserve=lb(l,this,Ll,s)}}},Kl(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var t;r&&(this.getParent=(t=r.getParent)!==null&&t!==void 0?t:this.getParent)}createTabster(r,t){const o=new fb(this);return r||this._wrappers.add(o),this._mergeProps(t),o}disposeTabster(r,t){t?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,t,o,i,n,s,l,u;this.internal.stopObserver();const a=this._win;a==null||a.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(t=this.crossOrigin)===null||t===void 0||t.dispose(),(o=this.deloser)===null||o===void 0||o.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(n=this.mover)===null||n===void 0||n.dispose(),(s=this.modalizer)===null||s===void 0||s.dispose(),(l=this.observedElement)===null||l===void 0||l.dispose(),(u=this.restorer)===null||u===void 0||u.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Rp(this.getWindow),Jl(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Ep(a),delete a.__tabsterInstance,delete this._win)}storageEntry(r,t){const o=this._storage;let i=o.get(r);return i?t===!1&&Object.keys(i).length===0&&o.delete(r):t===!0&&(i={},o.set(r,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())Jl(this.getWindow,r),Ce.forgetMemorized(this.focusedElement,r)},0),Ul(this.getWindow,!0)))}queueInit(r){var t;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(t=this._win)===null||t===void 0?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(t=>t())}}function gb(e,r){let t=wb(e);return t?t.createTabster(!1,r):(t=new hb(e,r),e.__tabsterInstance=t,t.createTabster())}function vb(e){const r=e.core;return r.groupper||(r.groupper=new Qp(r,r.getWindow)),r.groupper}function mb(e){const r=e.core;return r.mover||(r.mover=new sb(r,r.getWindow)),r.mover}function pb(e,r,t){const o=e.core;return o.modalizer||(o.modalizer=new rb(o,r,t)),o.modalizer}function bb(e){const r=e.core;return r.restorer||(r.restorer=new db(r)),r.restorer}function yb(e,r){e.core.disposeTabster(e,r)}function wb(e){return e.__tabsterInstance}const kb=e=>e;function xb(e){const r=(e==null?void 0:e.defaultView)||void 0,t=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return gb(r,{autoRoot:{},controlTab:!1,getParent:Um,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:t})}function io(e=kb){const{targetDocument:r}=_e(),t=m.useRef(null);if(Re(()=>{const o=xb(r);if(o)return t.current=e(o),()=>{yb(o),t.current=null}},[r,e]),process.env.NODE_ENV!=="production"){const o=jm(e);if(o!==null&&o!==e)throw new Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
157
- `))}return t}const ao=e=>{io();const r=rc(e,!0);return m.useMemo(()=>({[Je]:r}),[r])},Li=(e={})=>{const{circular:r,axis:t,memorizeCurrent:o=!0,tabbable:i,ignoreDefaultKeydown:n,unstable_hasDefault:s}=e;return io(mb),ao({mover:{cyclic:!!r,direction:_b(t??"vertical"),memorizeCurrent:o,tabbable:i,hasDefault:s},...n&&{focusable:{ignoreKeydown:n}}})};function _b(e){switch(e){case"horizontal":return at.Horizontal;case"grid":return at.Grid;case"grid-linear":return at.GridLinear;case"both":return at.Both;case"vertical":default:return at.Vertical}}const Hi=e=>(io(vb),ao({groupper:{tabbability:Sb(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})),Sb=e=>{switch(e){case"unlimited":return Uo.Unlimited;case"limited":return Uo.Limited;case"limited-trap-focus":return Uo.LimitedTrapFocus;default:return}},so=()=>{const e=io(),{targetDocument:r}=_e(),t=m.useCallback((l,u)=>{var a;return((a=e.current)===null||a===void 0?void 0:a.focusable.findAll({container:l,acceptCondition:u}))||[]},[e]),o=m.useCallback(l=>{var u;return(u=e.current)===null||u===void 0?void 0:u.focusable.findFirst({container:l})},[e]),i=m.useCallback(l=>{var u;return(u=e.current)===null||u===void 0?void 0:u.focusable.findLast({container:l})},[e]),n=m.useCallback((l,u={})=>{if(!e.current||!r)return null;const{container:a=r.body}=u;return e.current.focusable.findNext({currentElement:l,container:a})},[e,r]),s=m.useCallback((l,u={})=>{if(!e.current||!r)return null;const{container:a=r.body}=u;return e.current.focusable.findPrev({currentElement:l,container:a})},[e,r]);return{findAllFocusable:t,findFirstFocusable:o,findLastFocusable:i,findNextFocusable:n,findPrevFocusable:s}},uc="data-fui-focus-visible",dc="data-fui-focus-within";function Bb(e,r){if(fc(e))return()=>{};const t={current:void 0},o=$o(r);function i(u){o.isNavigatingWithKeyboard()&&Ye(u)&&(t.current=u,u.setAttribute(uc,""))}function n(){t.current&&(t.current.removeAttribute(uc),t.current=void 0)}o.subscribe(u=>{u?i(r.document.activeElement):n()});const s=u=>{n();const a=u.composedPath()[0];i(a)},l=u=>{(!u.relatedTarget||Ye(u.relatedTarget)&&!e.contains(u.relatedTarget))&&n()};return e.addEventListener(it,s),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(r.document.activeElement)&&i(r.document.activeElement),()=>{n(),e.removeEventListener(it,s),e.removeEventListener("focusout",l),e.focusVisible=void 0,Go(o)}}function fc(e){return e?e.focusVisible?!0:fc(e==null?void 0:e.parentElement):!1}function hc(e={}){const r=_e(),t=m.useRef(null);var o;const i=(o=e.targetDocument)!==null&&o!==void 0?o:r.targetDocument;return m.useEffect(()=>{if(i!=null&&i.defaultView&&t.current)return Bb(t.current,i.defaultView)},[t,i]),t}function Cb(e,r){const t=$o(r);t.subscribe(n=>{n||gc(e)});const o=n=>{t.isNavigatingWithKeyboard()&&vc(n.target)&&Pb(e)},i=n=>{(!n.relatedTarget||vc(n.relatedTarget)&&!e.contains(n.relatedTarget))&&gc(e)};return e.addEventListener(it,o),e.addEventListener("focusout",i),()=>{e.removeEventListener(it,o),e.removeEventListener("focusout",i),Go(t)}}function Pb(e){e.setAttribute(dc,"")}function gc(e){e.removeAttribute(dc)}function vc(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Er(){const{targetDocument:e}=_e(),r=m.useRef(null);return m.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return Cb(r.current,e.defaultView)},[r,e]),r}function mc(){const{targetDocument:e}=_e(),r=m.useRef(null);return m.useEffect(()=>{const t=e==null?void 0:e.defaultView;if(t){const o=$o(t);return r.current=o,()=>{Go(o),r.current=null}}},[e]),r}function pc(e){const r=mc(),t=J(e);m.useEffect(()=>{const o=r.current;if(o){const i=n=>{t(n)};return o.subscribe(i),i(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(i)}}},[r,t])}const Tb="data-tabster-never-hide",Eb=e=>e.hasAttribute(Tb);function Nb(e){pb(e,void 0,Eb),bb(e)}const zb=(e={})=>{const{trapFocus:r,alwaysFocusable:t,legacyTrapFocus:o}=e;io(Nb);const i=Qe("modal-",e.id),n=ao({restorer:{type:Cr.Source},...r&&{modalizer:{id:i,isOthersAccessible:!r,isAlwaysAccessible:t,isTrapped:o&&r}}}),s=ao({restorer:{type:Cr.Target}});return{modalAttributes:n,triggerAttributes:s}},Rb=(...e)=>{"use no memo";const r=e.reduce((t,o)=>(o!=null&&o[Je]&&t.push(o[Je]),t),[]);return process.env.NODE_ENV!=="production"&&Fb(r),m.useMemo(()=>({[Je]:r.length>0?r.reduce(Db):void 0}),r)},Db=(e,r)=>JSON.stringify(Object.assign(bc(e),bc(r))),bc=e=>{try{return JSON.parse(e)}catch{return{}}},Fb=e=>{"use no memo";const r=m.useRef(e);let t=r.current.length===e.length;if(r.current!==e&&t){for(let o=0;o<e.length;o++)if(r.current[o]!==e[o]){t=!1;break}}m.useEffect(()=>{if(!t){const o=new Error;console.warn(`
156
+ */class mb{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class pb{constructor(r,t){var o,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Fp(r),this._win=r;const n=this.getWindow;t!=null&&t.DOMAPI&&zp({...t.DOMAPI}),this.keyboardNavigation=new rb(n),this.focusedElement=new Ce(this,n),this.focusable=new Qp(this),this.root=new fe(this,t==null?void 0:t.autoRoot),this.uncontrolled=new hb((t==null?void 0:t.checkUncontrolledCompletely)||(t==null?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=(o=t==null?void 0:t.controlTab)!==null&&o!==void 0?o:!0,this.rootDummyInputs=!!(t!=null&&t.rootDummyInputs),this._dummyObserver=new Wp(n),this.getParent=(i=t==null?void 0:t.getParent)!==null&&i!==void 0?i:N.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const l=n().document;this._unobserve=fb(l,this,Wl,s)}}},Zl(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var t;r&&(this.getParent=(t=r.getParent)!==null&&t!==void 0?t:this.getParent)}createTabster(r,t){const o=new mb(this);return r||this._wrappers.add(o),this._mergeProps(t),o}disposeTabster(r,t){t?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,t,o,i,n,s,l,u;this.internal.stopObserver();const a=this._win;a==null||a.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(t=this.crossOrigin)===null||t===void 0||t.dispose(),(o=this.deloser)===null||o===void 0||o.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(n=this.mover)===null||n===void 0||n.dispose(),(s=this.modalizer)===null||s===void 0||s.dispose(),(l=this.observedElement)===null||l===void 0||l.dispose(),(u=this.restorer)===null||u===void 0||u.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Ap(this.getWindow),tc(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Dp(a),delete a.__tabsterInstance,delete this._win)}storageEntry(r,t){const o=this._storage;let i=o.get(r);return i?t===!1&&Object.keys(i).length===0&&o.delete(r):t===!0&&(i={},o.set(r,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())tc(this.getWindow,r),Ce.forgetMemorized(this.focusedElement,r)},0),Xl(this.getWindow,!0)))}queueInit(r){var t;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(t=this._win)===null||t===void 0?void 0:t.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(t=>t())}}function bb(e,r){let t=Sb(e);return t?t.createTabster(!1,r):(t=new pb(e,r),e.__tabsterInstance=t,t.createTabster())}function yb(e){const r=e.core;return r.groupper||(r.groupper=new tb(r,r.getWindow)),r.groupper}function wb(e){const r=e.core;return r.mover||(r.mover=new db(r,r.getWindow)),r.mover}function kb(e,r,t){const o=e.core;return o.modalizer||(o.modalizer=new ab(o,r,t)),o.modalizer}function xb(e){const r=e.core;return r.restorer||(r.restorer=new vb(r)),r.restorer}function _b(e,r){e.core.disposeTabster(e,r)}function Sb(e){return e.__tabsterInstance}const Bb=e=>e;function Cb(e){const r=(e==null?void 0:e.defaultView)||void 0,t=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return bb(r,{autoRoot:{},controlTab:!1,getParent:Qm,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:t})}function io(e=Bb){const{targetDocument:r}=_e(),t=m.useRef(null);if(Re(()=>{const o=Cb(r);if(o)return t.current=e(o),()=>{_b(o),t.current=null}},[r,e]),process.env.NODE_ENV!=="production"){const o=Lm(e);if(o!==null&&o!==e)throw new Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
157
+ `))}return t}const ao=e=>{io();const r=nc(e,!0);return m.useMemo(()=>({[Je]:r}),[r])},Li=(e={})=>{const{circular:r,axis:t,memorizeCurrent:o=!0,tabbable:i,ignoreDefaultKeydown:n,unstable_hasDefault:s}=e;return io(wb),ao({mover:{cyclic:!!r,direction:Pb(t??"vertical"),memorizeCurrent:o,tabbable:i,hasDefault:s},...n&&{focusable:{ignoreKeydown:n}}})};function Pb(e){switch(e){case"horizontal":return at.Horizontal;case"grid":return at.Grid;case"grid-linear":return at.GridLinear;case"both":return at.Both;case"vertical":default:return at.Vertical}}const Hi=e=>(io(yb),ao({groupper:{tabbability:Tb(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})),Tb=e=>{switch(e){case"unlimited":return Uo.Unlimited;case"limited":return Uo.Limited;case"limited-trap-focus":return Uo.LimitedTrapFocus;default:return}},so=()=>{const e=io(),{targetDocument:r}=_e(),t=m.useCallback((l,u)=>{var a;return((a=e.current)===null||a===void 0?void 0:a.focusable.findAll({container:l,acceptCondition:u}))||[]},[e]),o=m.useCallback(l=>{var u;return(u=e.current)===null||u===void 0?void 0:u.focusable.findFirst({container:l})},[e]),i=m.useCallback(l=>{var u;return(u=e.current)===null||u===void 0?void 0:u.focusable.findLast({container:l})},[e]),n=m.useCallback((l,u={})=>{if(!e.current||!r)return null;const{container:a=r.body}=u;return e.current.focusable.findNext({currentElement:l,container:a})},[e,r]),s=m.useCallback((l,u={})=>{if(!e.current||!r)return null;const{container:a=r.body}=u;return e.current.focusable.findPrev({currentElement:l,container:a})},[e,r]);return{findAllFocusable:t,findFirstFocusable:o,findLastFocusable:i,findNextFocusable:n,findPrevFocusable:s}},fc="data-fui-focus-visible",hc="data-fui-focus-within";function Eb(e,r){if(gc(e))return()=>{};const t={current:void 0},o=$o(r);function i(u){o.isNavigatingWithKeyboard()&&Ye(u)&&(t.current=u,u.setAttribute(fc,""))}function n(){t.current&&(t.current.removeAttribute(fc),t.current=void 0)}o.subscribe(u=>{u?i(r.document.activeElement):n()});const s=u=>{n();const a=u.composedPath()[0];i(a)},l=u=>{(!u.relatedTarget||Ye(u.relatedTarget)&&!e.contains(u.relatedTarget))&&n()};return e.addEventListener(it,s),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(r.document.activeElement)&&i(r.document.activeElement),()=>{n(),e.removeEventListener(it,s),e.removeEventListener("focusout",l),e.focusVisible=void 0,Go(o)}}function gc(e){return e?e.focusVisible?!0:gc(e==null?void 0:e.parentElement):!1}function vc(e={}){const r=_e(),t=m.useRef(null);var o;const i=(o=e.targetDocument)!==null&&o!==void 0?o:r.targetDocument;return m.useEffect(()=>{if(i!=null&&i.defaultView&&t.current)return Eb(t.current,i.defaultView)},[t,i]),t}function Nb(e,r){const t=$o(r);t.subscribe(n=>{n||mc(e)});const o=n=>{t.isNavigatingWithKeyboard()&&pc(n.target)&&zb(e)},i=n=>{(!n.relatedTarget||pc(n.relatedTarget)&&!e.contains(n.relatedTarget))&&mc(e)};return e.addEventListener(it,o),e.addEventListener("focusout",i),()=>{e.removeEventListener(it,o),e.removeEventListener("focusout",i),Go(t)}}function zb(e){e.setAttribute(hc,"")}function mc(e){e.removeAttribute(hc)}function pc(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Er(){const{targetDocument:e}=_e(),r=m.useRef(null);return m.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return Nb(r.current,e.defaultView)},[r,e]),r}function bc(){const{targetDocument:e}=_e(),r=m.useRef(null);return m.useEffect(()=>{const t=e==null?void 0:e.defaultView;if(t){const o=$o(t);return r.current=o,()=>{Go(o),r.current=null}}},[e]),r}function yc(e){const r=bc(),t=J(e);m.useEffect(()=>{const o=r.current;if(o){const i=n=>{t(n)};return o.subscribe(i),i(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(i)}}},[r,t])}const Rb="data-tabster-never-hide",Db=e=>e.hasAttribute(Rb);function Fb(e){kb(e,void 0,Db),xb(e)}const Ib=(e={})=>{const{trapFocus:r,alwaysFocusable:t,legacyTrapFocus:o}=e;io(Fb);const i=Qe("modal-",e.id),n=ao({restorer:{type:Cr.Source},...r&&{modalizer:{id:i,isOthersAccessible:!r,isAlwaysAccessible:t,isTrapped:o&&r}}}),s=ao({restorer:{type:Cr.Target}});return{modalAttributes:n,triggerAttributes:s}},Ab=(...e)=>{"use no memo";const r=e.reduce((t,o)=>(o!=null&&o[Je]&&t.push(o[Je]),t),[]);return process.env.NODE_ENV!=="production"&&Ob(r),m.useMemo(()=>({[Je]:r.length>0?r.reduce(jb):void 0}),r)},jb=(e,r)=>JSON.stringify(Object.assign(wc(e),wc(r))),wc=e=>{try{return JSON.parse(e)}catch{return{}}},Ob=e=>{"use no memo";const r=m.useRef(e);let t=r.current.length===e.length;if(r.current!==e&&t){for(let o=0;o<e.length;o++)if(r.current[o]!==e[o]){t=!1;break}}m.useEffect(()=>{if(!t){const o=new Error;console.warn(`
158
158
  @fluentui/react-tabster [useMergedTabsterAttributes]:
159
159
  The attributes passed to the hook changed at runtime.
160
160
  This might lead to unexpected behavior, please ensure that the attributes are stable.
161
161
  ${o.stack}
162
- `)}},[t])};function Ib(){const e=mc();return m.useCallback(r=>{var t;(t=e.current)===null||t===void 0||t.setVal(r)},[e])}const Ie={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};var Wi={exports:{}},Vi={};/**
162
+ `)}},[t])};function qb(){const e=bc();return m.useCallback(r=>{var t;(t=e.current)===null||t===void 0||t.setVal(r)},[e])}const Ie={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};var Wi={exports:{}},Vi={};/**
163
163
  * @license React
164
164
  * scheduler.development.js
165
165
  *
@@ -167,7 +167,7 @@ You can check this by searching up for matching entries in a lockfile produced b
167
167
  *
168
168
  * This source code is licensed under the MIT license found in the
169
169
  * LICENSE file in the root directory of this source tree.
170
- */var yc;function Ab(){return yc||(yc=1,function(e){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,t=!1,o=5;function i(H,Q){var ae=H.length;H.push(Q),l(H,Q,ae)}function n(H){return H.length===0?null:H[0]}function s(H){if(H.length===0)return null;var Q=H[0],ae=H.pop();return ae!==Q&&(H[0]=ae,u(H,ae,0)),Q}function l(H,Q,ae){for(var ye=ae;ye>0;){var Ne=ye-1>>>1,Xe=H[Ne];if(a(Xe,Q)>0)H[Ne]=Q,H[ye]=Xe,ye=Ne;else return}}function u(H,Q,ae){for(var ye=ae,Ne=H.length,Xe=Ne>>>1;ye<Xe;){var qe=(ye+1)*2-1,$t=H[qe],Ae=qe+1,lr=H[Ae];if(a($t,Q)<0)Ae<Ne&&a(lr,$t)<0?(H[ye]=lr,H[Ae]=Q,ye=Ae):(H[ye]=$t,H[qe]=Q,ye=qe);else if(Ae<Ne&&a(lr,Q)<0)H[ye]=lr,H[Ae]=Q,ye=Ae;else return}}function a(H,Q){var ae=H.sortIndex-Q.sortIndex;return ae!==0?ae:H.id-Q.id}var c=1,d=2,g=3,f=4,h=5;function v(H,Q){}var b=typeof performance=="object"&&typeof performance.now=="function";if(b){var p=performance;e.unstable_now=function(){return p.now()}}else{var y=Date,k=y.now();e.unstable_now=function(){return y.now()-k}}var w=1073741823,_=-1,S=250,C=5e3,T=1e4,z=w,I=[],G=[],U=1,B=null,j=g,V=!1,X=!1,Z=!1,R=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ne(H){for(var Q=n(G);Q!==null;){if(Q.callback===null)s(G);else if(Q.startTime<=H)s(G),Q.sortIndex=Q.expirationTime,i(I,Q);else return;Q=n(G)}}function L(H){if(Z=!1,ne(H),!X)if(n(I)!==null)X=!0,qr(oe);else{var Q=n(G);Q!==null&&Tt(L,Q.startTime-H)}}function oe(H,Q){X=!1,Z&&(Z=!1,En()),V=!0;var ae=j;try{var ye;if(!t)return be(H,Q)}finally{B=null,j=ae,V=!1}}function be(H,Q){var ae=Q;for(ne(ae),B=n(I);B!==null&&!r&&!(B.expirationTime>ae&&(!H||ir()));){var ye=B.callback;if(typeof ye=="function"){B.callback=null,j=B.priorityLevel;var Ne=B.expirationTime<=ae,Xe=ye(Ne);ae=e.unstable_now(),typeof Xe=="function"?B.callback=Xe:B===n(I)&&s(I),ne(ae)}else s(I);B=n(I)}if(B!==null)return!0;var qe=n(G);return qe!==null&&Tt(L,qe.startTime-ae),!1}function dt(H,Q){switch(H){case c:case d:case g:case f:case h:break;default:H=g}var ae=j;j=H;try{return Q()}finally{j=ae}}function Me(H){var Q;switch(j){case c:case d:case g:Q=g;break;default:Q=j;break}var ae=j;j=Q;try{return H()}finally{j=ae}}function tt(H){var Q=j;return function(){var ae=j;j=Q;try{return H.apply(this,arguments)}finally{j=ae}}}function Mt(H,Q,ae){var ye=e.unstable_now(),Ne;if(typeof ae=="object"&&ae!==null){var Xe=ae.delay;typeof Xe=="number"&&Xe>0?Ne=ye+Xe:Ne=ye}else Ne=ye;var qe;switch(H){case c:qe=_;break;case d:qe=S;break;case h:qe=z;break;case f:qe=T;break;case g:default:qe=C;break}var $t=Ne+qe,Ae={id:U++,callback:Q,priorityLevel:H,startTime:Ne,expirationTime:$t,sortIndex:-1};return Ne>ye?(Ae.sortIndex=Ne,i(G,Ae),n(I)===null&&Ae===n(G)&&(Z?En():Z=!0,Tt(L,Ne-ye))):(Ae.sortIndex=$t,i(I,Ae),!X&&!V&&(X=!0,qr(oe))),Ae}function nr(){}function Lt(){!X&&!V&&(X=!0,qr(oe))}function K(){return n(I)}function Ht(H){H.callback=null}function Wt(){return j}var Ct=!1,Pt=null,Vt=-1,Or=o,ko=-1;function ir(){var H=e.unstable_now()-ko;return!(H<Or)}function $a(){}function Ga(H){if(H<0||H>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}H>0?Or=Math.floor(1e3/H):Or=o}var ar=function(){if(Pt!==null){var H=e.unstable_now();ko=H;var Q=!0,ae=!0;try{ae=Pt(Q,H)}finally{ae?sr():(Ct=!1,Pt=null)}}else Ct=!1},sr;if(typeof W=="function")sr=function(){W(ar)};else if(typeof MessageChannel<"u"){var Pn=new MessageChannel,Tn=Pn.port2;Pn.port1.onmessage=ar,sr=function(){Tn.postMessage(null)}}else sr=function(){R(ar,0)};function qr(H){Pt=H,Ct||(Ct=!0,sr())}function Tt(H,Q){Vt=R(function(){H(e.unstable_now())},Q)}function En(){q(Vt),Vt=-1}var Nn=$a,zn=null;e.unstable_IdlePriority=h,e.unstable_ImmediatePriority=c,e.unstable_LowPriority=f,e.unstable_NormalPriority=g,e.unstable_Profiling=zn,e.unstable_UserBlockingPriority=d,e.unstable_cancelCallback=Ht,e.unstable_continueExecution=Lt,e.unstable_forceFrameRate=Ga,e.unstable_getCurrentPriorityLevel=Wt,e.unstable_getFirstCallbackNode=K,e.unstable_next=Me,e.unstable_pauseExecution=nr,e.unstable_requestPaint=Nn,e.unstable_runWithPriority=dt,e.unstable_scheduleCallback=Mt,e.unstable_shouldYield=ir,e.unstable_wrapCallback=tt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Vi)),Vi}var $i={};/**
170
+ */var kc;function Mb(){return kc||(kc=1,function(e){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,t=!1,o=5;function i(H,Q){var ae=H.length;H.push(Q),l(H,Q,ae)}function n(H){return H.length===0?null:H[0]}function s(H){if(H.length===0)return null;var Q=H[0],ae=H.pop();return ae!==Q&&(H[0]=ae,u(H,ae,0)),Q}function l(H,Q,ae){for(var ye=ae;ye>0;){var Ne=ye-1>>>1,Xe=H[Ne];if(a(Xe,Q)>0)H[Ne]=Q,H[ye]=Xe,ye=Ne;else return}}function u(H,Q,ae){for(var ye=ae,Ne=H.length,Xe=Ne>>>1;ye<Xe;){var qe=(ye+1)*2-1,$t=H[qe],Ae=qe+1,lr=H[Ae];if(a($t,Q)<0)Ae<Ne&&a(lr,$t)<0?(H[ye]=lr,H[Ae]=Q,ye=Ae):(H[ye]=$t,H[qe]=Q,ye=qe);else if(Ae<Ne&&a(lr,Q)<0)H[ye]=lr,H[Ae]=Q,ye=Ae;else return}}function a(H,Q){var ae=H.sortIndex-Q.sortIndex;return ae!==0?ae:H.id-Q.id}var c=1,d=2,g=3,f=4,h=5;function v(H,Q){}var b=typeof performance=="object"&&typeof performance.now=="function";if(b){var p=performance;e.unstable_now=function(){return p.now()}}else{var y=Date,k=y.now();e.unstable_now=function(){return y.now()-k}}var w=1073741823,_=-1,S=250,C=5e3,T=1e4,z=w,I=[],G=[],U=1,B=null,j=g,V=!1,X=!1,Z=!1,R=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ne(H){for(var Q=n(G);Q!==null;){if(Q.callback===null)s(G);else if(Q.startTime<=H)s(G),Q.sortIndex=Q.expirationTime,i(I,Q);else return;Q=n(G)}}function L(H){if(Z=!1,ne(H),!X)if(n(I)!==null)X=!0,qr(oe);else{var Q=n(G);Q!==null&&Tt(L,Q.startTime-H)}}function oe(H,Q){X=!1,Z&&(Z=!1,En()),V=!0;var ae=j;try{var ye;if(!t)return be(H,Q)}finally{B=null,j=ae,V=!1}}function be(H,Q){var ae=Q;for(ne(ae),B=n(I);B!==null&&!r&&!(B.expirationTime>ae&&(!H||ir()));){var ye=B.callback;if(typeof ye=="function"){B.callback=null,j=B.priorityLevel;var Ne=B.expirationTime<=ae,Xe=ye(Ne);ae=e.unstable_now(),typeof Xe=="function"?B.callback=Xe:B===n(I)&&s(I),ne(ae)}else s(I);B=n(I)}if(B!==null)return!0;var qe=n(G);return qe!==null&&Tt(L,qe.startTime-ae),!1}function dt(H,Q){switch(H){case c:case d:case g:case f:case h:break;default:H=g}var ae=j;j=H;try{return Q()}finally{j=ae}}function Me(H){var Q;switch(j){case c:case d:case g:Q=g;break;default:Q=j;break}var ae=j;j=Q;try{return H()}finally{j=ae}}function tt(H){var Q=j;return function(){var ae=j;j=Q;try{return H.apply(this,arguments)}finally{j=ae}}}function Mt(H,Q,ae){var ye=e.unstable_now(),Ne;if(typeof ae=="object"&&ae!==null){var Xe=ae.delay;typeof Xe=="number"&&Xe>0?Ne=ye+Xe:Ne=ye}else Ne=ye;var qe;switch(H){case c:qe=_;break;case d:qe=S;break;case h:qe=z;break;case f:qe=T;break;case g:default:qe=C;break}var $t=Ne+qe,Ae={id:U++,callback:Q,priorityLevel:H,startTime:Ne,expirationTime:$t,sortIndex:-1};return Ne>ye?(Ae.sortIndex=Ne,i(G,Ae),n(I)===null&&Ae===n(G)&&(Z?En():Z=!0,Tt(L,Ne-ye))):(Ae.sortIndex=$t,i(I,Ae),!X&&!V&&(X=!0,qr(oe))),Ae}function nr(){}function Lt(){!X&&!V&&(X=!0,qr(oe))}function K(){return n(I)}function Ht(H){H.callback=null}function Wt(){return j}var Ct=!1,Pt=null,Vt=-1,Or=o,ko=-1;function ir(){var H=e.unstable_now()-ko;return!(H<Or)}function $a(){}function Ga(H){if(H<0||H>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}H>0?Or=Math.floor(1e3/H):Or=o}var ar=function(){if(Pt!==null){var H=e.unstable_now();ko=H;var Q=!0,ae=!0;try{ae=Pt(Q,H)}finally{ae?sr():(Ct=!1,Pt=null)}}else Ct=!1},sr;if(typeof W=="function")sr=function(){W(ar)};else if(typeof MessageChannel<"u"){var Pn=new MessageChannel,Tn=Pn.port2;Pn.port1.onmessage=ar,sr=function(){Tn.postMessage(null)}}else sr=function(){R(ar,0)};function qr(H){Pt=H,Ct||(Ct=!0,sr())}function Tt(H,Q){Vt=R(function(){H(e.unstable_now())},Q)}function En(){q(Vt),Vt=-1}var Nn=$a,zn=null;e.unstable_IdlePriority=h,e.unstable_ImmediatePriority=c,e.unstable_LowPriority=f,e.unstable_NormalPriority=g,e.unstable_Profiling=zn,e.unstable_UserBlockingPriority=d,e.unstable_cancelCallback=Ht,e.unstable_continueExecution=Lt,e.unstable_forceFrameRate=Ga,e.unstable_getCurrentPriorityLevel=Wt,e.unstable_getFirstCallbackNode=K,e.unstable_next=Me,e.unstable_pauseExecution=nr,e.unstable_requestPaint=Nn,e.unstable_runWithPriority=dt,e.unstable_scheduleCallback=Mt,e.unstable_shouldYield=ir,e.unstable_wrapCallback=tt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Vi)),Vi}var $i={};/**
171
171
  * @license React
172
172
  * scheduler.production.min.js
173
173
  *
@@ -175,12 +175,12 @@ You can check this by searching up for matching entries in a lockfile produced b
175
175
  *
176
176
  * This source code is licensed under the MIT license found in the
177
177
  * LICENSE file in the root directory of this source tree.
178
- */var wc;function jb(){return wc||(wc=1,function(e){function r(R,q){var W=R.length;R.push(q);e:for(;0<W;){var ne=W-1>>>1,L=R[ne];if(0<i(L,q))R[ne]=q,R[W]=L,W=ne;else break e}}function t(R){return R.length===0?null:R[0]}function o(R){if(R.length===0)return null;var q=R[0],W=R.pop();if(W!==q){R[0]=W;e:for(var ne=0,L=R.length,oe=L>>>1;ne<oe;){var be=2*(ne+1)-1,dt=R[be],Me=be+1,tt=R[Me];if(0>i(dt,W))Me<L&&0>i(tt,dt)?(R[ne]=tt,R[Me]=W,ne=Me):(R[ne]=dt,R[be]=W,ne=be);else if(Me<L&&0>i(tt,W))R[ne]=tt,R[Me]=W,ne=Me;else break e}}return q}function i(R,q){var W=R.sortIndex-q.sortIndex;return W!==0?W:R.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var n=performance;e.unstable_now=function(){return n.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],a=[],c=1,d=null,g=3,f=!1,h=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(R){for(var q=t(a);q!==null;){if(q.callback===null)o(a);else if(q.startTime<=R)o(a),q.sortIndex=q.expirationTime,r(u,q);else break;q=t(a)}}function w(R){if(v=!1,k(R),!h)if(t(u)!==null)h=!0,X(_);else{var q=t(a);q!==null&&Z(w,q.startTime-R)}}function _(R,q){h=!1,v&&(v=!1,p(T),T=-1),f=!0;var W=g;try{for(k(q),d=t(u);d!==null&&(!(d.expirationTime>q)||R&&!G());){var ne=d.callback;if(typeof ne=="function"){d.callback=null,g=d.priorityLevel;var L=ne(d.expirationTime<=q);q=e.unstable_now(),typeof L=="function"?d.callback=L:d===t(u)&&o(u),k(q)}else o(u);d=t(u)}if(d!==null)var oe=!0;else{var be=t(a);be!==null&&Z(w,be.startTime-q),oe=!1}return oe}finally{d=null,g=W,f=!1}}var S=!1,C=null,T=-1,z=5,I=-1;function G(){return!(e.unstable_now()-I<z)}function U(){if(C!==null){var R=e.unstable_now();I=R;var q=!0;try{q=C(!0,R)}finally{q?B():(S=!1,C=null)}}else S=!1}var B;if(typeof y=="function")B=function(){y(U)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,V=j.port2;j.port1.onmessage=U,B=function(){V.postMessage(null)}}else B=function(){b(U,0)};function X(R){C=R,S||(S=!0,B())}function Z(R,q){T=b(function(){R(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,X(_))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return t(u)},e.unstable_next=function(R){switch(g){case 1:case 2:case 3:var q=3;break;default:q=g}var W=g;g=q;try{return R()}finally{g=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var W=g;g=R;try{return q()}finally{g=W}},e.unstable_scheduleCallback=function(R,q,W){var ne=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ne+W:ne):W=ne,R){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=W+L,R={id:c++,callback:q,priorityLevel:R,startTime:W,expirationTime:L,sortIndex:-1},W>ne?(R.sortIndex=W,r(a,R),t(u)===null&&R===t(a)&&(v?(p(T),T=-1):v=!0,Z(w,W-ne))):(R.sortIndex=L,r(u,R),h||f||(h=!0,X(_))),R},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(R){var q=g;return function(){var W=g;g=q;try{return R.apply(this,arguments)}finally{g=W}}}}($i)),$i}process.env.NODE_ENV==="production"?Wi.exports=jb():Wi.exports=Ab();var kc=Wi.exports;const Ob=e=>{const r=t=>{const o=m.useRef(t.value),i=m.useRef(0),n=m.useRef();return n.current||(n.current={value:o,version:i,listeners:[]}),Re(()=>{o.current=t.value,i.current+=1,kc.unstable_runWithPriority(kc.unstable_NormalPriority,()=>{n.current.listeners.forEach(s=>{s([i.current,t.value])})})},[t.value]),m.createElement(e,{value:n.current},t.children)};return process.env.NODE_ENV!=="production"&&(r.displayName="ContextSelector.Provider"),r},Yo=e=>{const r=m.createContext({value:{current:e},version:{current:-1},listeners:[]});return r.Provider=Ob(r.Provider),delete r.Consumer,r},Gi=(e,r)=>{const t=m.useContext(e),{value:{current:o},version:{current:i},listeners:n}=t,s=r(o),[l,u]=m.useState([o,s]),a=d=>{u(g=>{if(!d)return[o,s];if(d[0]<=i)return Object.is(g[1],s)?g:[o,s];try{if(Object.is(g[0],d[1]))return g;const f=r(d[1]);return Object.is(g[1],f)?g:[d[1],f]}catch{}return[g[0],g[1]]})};Object.is(l[1],s)||a(void 0);const c=J(a);return Re(()=>(n.push(c),()=>{const d=n.indexOf(c);n.splice(d,1)}),[c,n]),l[1]};function Ui(e){const r=m.useContext(e);return r.version?r.version.current!==-1:!1}const qb="Shift",er="Enter",gt=" ",Mb="Tab",Ki="ArrowDown",xc="ArrowLeft",Xi="ArrowRight",Jo="ArrowUp",_c="End",Sc="Home",Lb="PageDown",Hb="PageUp",Zi="Escape";function Bc(e,r){const{disabled:t,disabledFocusable:o=!1,["aria-disabled"]:i,onClick:n,onKeyDown:s,onKeyUp:l,...u}=r??{},a=typeof i=="string"?i==="true":i,c=t||o||a,d=J(h=>{c?(h.preventDefault(),h.stopPropagation()):n==null||n(h)}),g=J(h=>{if(s==null||s(h),h.isDefaultPrevented())return;const v=h.key;if(c&&(v===er||v===gt)){h.preventDefault(),h.stopPropagation();return}if(v===gt){h.preventDefault();return}else v===er&&(h.preventDefault(),h.currentTarget.click())}),f=J(h=>{if(l==null||l(h),h.isDefaultPrevented())return;const v=h.key;if(c&&(v===er||v===gt)){h.preventDefault(),h.stopPropagation();return}v===gt&&(h.preventDefault(),h.currentTarget.click())});if(e==="button"||e===void 0)return{...u,disabled:t&&!o,"aria-disabled":o?!0:a,onClick:o?void 0:d,onKeyUp:o?void 0:l,onKeyDown:o?void 0:s};{const h=!!u.href;let v=h?void 0:"button";!v&&c&&(v="link");const b={role:v,tabIndex:o||!h&&!t?0:void 0,...u,onClick:d,onKeyUp:f,onKeyDown:g,"aria-disabled":c};return e==="a"&&c&&(b.href=void 0),b}}const We=()=>{},Wb={controller:{active:We,blur:We,find:We,first:We,focus:We,focusLastActive:We,scrollActiveIntoView:We,last:We,next:We,prev:We,showAttributes:We,hideAttributes:We,showFocusVisibleAttributes:We,hideFocusVisibleAttributes:We}},Qi=m.createContext(void 0),Cc=Qi.Provider,Pc=()=>{var e;return(e=m.useContext(Qi))!==null&&e!==void 0?e:Wb},Vb=()=>!!m.useContext(Qi);function $b(e){const{matchOption:r}=e,{targetDocument:t}=_e(),o=m.useRef(null),i=m.useRef(null),n=m.useCallback(u=>Ye(u)&&r(u)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[r]),s=m.useCallback(u=>{u&&t?(i.current=u,o.current=t.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,n)):(i.current=null,o.current=null)},[t,n]);return{optionWalker:m.useMemo(()=>({first:()=>!o.current||!i.current?null:(o.current.currentNode=i.current,o.current.firstChild()),last:()=>!o.current||!i.current?null:(o.current.currentNode=i.current,o.current.lastChild()),next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(u,a)=>{if(!o.current||!i.current)return null;const c=a?t==null?void 0:t.getElementById(a):null;o.current.currentNode=c??i.current;let d=o.current.currentNode;for(;d&&!u(d.id);)d=o.current.nextNode();return d},setCurrent:u=>{o.current&&(o.current.currentNode=u)}}),[t]),listboxCallbackRef:s}}const Tc="data-activedescendant",Nr="data-activedescendant-focusvisible",Ec=e=>{if(!e)return;const r=Nc(e.parentElement);if(!r)return;const{offsetHeight:t}=e,o=zc(e,r),{scrollMarginTop:i,scrollMarginBottom:n}=Gb(e),{offsetHeight:s,scrollTop:l}=r,u=o-i<l,a=o+t+n>l+s,c=2;u?r.scrollTo(0,o-i-c):a&&r.scrollTo(0,o+t+n-s+c)},Nc=e=>e?e.scrollHeight>e.offsetHeight?e:Nc(e.parentElement):null,zc=(e,r)=>!e||e===r?0:e.contains(r)?r.offsetTop*-1:e.offsetTop+zc(e.offsetParent,r),Gb=e=>{var r;const t=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};const o=t.getComputedStyle(e);var i;const n=(i=en(o.scrollMarginTop))!==null&&i!==void 0?i:en(o.scrollMarginBlockStart);var s;const l=(s=en(o.scrollMarginBottom))!==null&&s!==void 0?s:en(o.scrollMarginBlockEnd);return{scrollMarginTop:n,scrollMarginBottom:l}},en=e=>e?parseInt(e,10):0,Ub=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Rc(e){const{imperativeRef:r,matchOption:t}=e,o=m.useRef(!1),i=m.useRef(!0),n=m.useRef(null),s=m.useRef(null),l=m.useRef(null),u=m.useRef(!0),a=m.useCallback(()=>{var w;(w=l.current)===null||w===void 0||w.removeAttribute("aria-activedescendant")},[]),c=m.useCallback(w=>{if(w&&(n.current=w),u.current&&n.current){var _;(_=l.current)===null||_===void 0||_.setAttribute("aria-activedescendant",n.current)}},[]);pc(w=>{o.current=w;const _=v();_&&(w&&i.current?_.setAttribute(Nr,""):_.removeAttribute(Nr))});const d=J(t),g=m.useRef(null),{optionWalker:f,listboxCallbackRef:h}=$b({matchOption:d}),v=m.useCallback(()=>{var w;return(w=g.current)===null||w===void 0?void 0:w.querySelector(`#${n.current}`)},[g]),b=m.useCallback(w=>{i.current=w;const _=v();_&&(w&&o.current?_.setAttribute(Nr,""):_.removeAttribute(Nr))},[v]),p=m.useCallback(()=>{const w=v();w&&(w.removeAttribute(Tc),w.removeAttribute(Nr)),a(),s.current=n.current,n.current=null;var _;return(_=w==null?void 0:w.id)!==null&&_!==void 0?_:null},[v,a]),y=m.useCallback(w=>{if(!w)return;const _=p();Ec(w),c(w.id),w.setAttribute(Tc,""),o.current&&i.current&&w.setAttribute(Nr,"");const S=Ub({id:w.id,previousId:_});w.dispatchEvent(S)},[p,c]),k=m.useMemo(()=>({first:({passive:w}={})=>{const _=f.first();return w||y(_),_==null?void 0:_.id},last:({passive:w}={})=>{const _=f.last();return w||y(_),_==null?void 0:_.id},next:({passive:w}={})=>{const _=v();if(!_)return;f.setCurrent(_);const S=f.next();return w||y(S),S==null?void 0:S.id},prev:({passive:w}={})=>{const _=v();if(!_)return;f.setCurrent(_);const S=f.prev();return w||y(S),S==null?void 0:S.id},blur:()=>{p()},active:()=>{var w;return(w=v())===null||w===void 0?void 0:w.id},focus:w=>{if(!g.current)return;const _=g.current.querySelector(`#${w}`);_&&y(_)},focusLastActive:()=>{if(!g.current||!s.current)return;const w=g.current.querySelector(`#${s.current}`);if(w)return y(w),!0},find(w,{passive:_,startFrom:S}={}){const C=f.find(w,S);return _||y(C),C==null?void 0:C.id},scrollActiveIntoView:()=>{if(!g.current)return;const w=v();w&&Ec(w)},showAttributes(){u.current=!0,c()},hideAttributes(){u.current=!1,a()},showFocusVisibleAttributes(){b(!0)},hideFocusVisibleAttributes(){b(!1)}}),[f,g,c,a,y,p,v,b]);return m.useImperativeHandle(r,()=>k),{listboxRef:Fe(g,h),activeParentRef:l,controller:k}}const Kb=O({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"]}),Xb=(e,r)=>{const{title:t,primaryFill:o="currentColor",...i}=e,n={...i,title:void 0,fill:o},s=Kb(),l=rp();return n.className=E(s.root,(r==null?void 0:r.flipInRtl)&&(l==null?void 0:l.textDirection)==="rtl"&&s.rtl,n.className),t&&(n["aria-label"]=t),!n["aria-label"]&&!n["aria-labelledby"]?n["aria-hidden"]=!0:n.role="img",n},Zb=O({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),$=(e,r,t,o)=>{const i=r==="1em"?"20":r,n=m.forwardRef((s,l)=>{const u=Zb(),a=Xb(s,{flipInRtl:o==null?void 0:o.flipInRtl}),c={...a,className:E(a.className,u.root),ref:l,width:r,height:r,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return typeof t=="string"?m.createElement("svg",{...c,dangerouslySetInnerHTML:{__html:t}}):m.createElement("svg",c,...t.map(d=>m.createElement("path",{d,fill:c.fill})))});return n.displayName=e,n},Qb=$("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),Yb=$("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),Jb=$("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),e0=$("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),t0=$("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Dc=$("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),r0=$("FilterRegular","1em",["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]),o0=$("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),n0=$("SendRegular","1em",["M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z"],{flipInRtl:!0}),Fc=$("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),i0=$("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),a0=$("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),s0=$("ChevronLeft16Regular","16",["M10.35 3.15c.2.2.2.5 0 .7L6.21 8l4.14 4.15a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"]),l0=$("ChevronRight16Regular","16",["M5.65 3.15a.5.5 0 0 0 0 .7L9.79 8l-4.14 4.15a.5.5 0 0 0 .7.7l4.5-4.5a.5.5 0 0 0 0-.7l-4.5-4.5a.5.5 0 0 0-.7 0Z"]),c0=$("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),u0=$("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),d0=$("Open16Regular","16",["M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 0 1 1 0v2.23a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2h2.23a.5.5 0 0 1 0 1H4.5Zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 0 1-1 0V3.71L9.62 7.08a.5.5 0 1 1-.7-.7L12.29 3H9.27a.5.5 0 0 1-.5-.5Z"]),Ic=$("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),Ac=$("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),f0=$("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),h0=$("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),g0=$("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),v0=$("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),jc=$("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),Oc=$("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),qc=$("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),m0=$("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),p0=$("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),Mc=$("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),Lc=$("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),b0=$("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),y0=$("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Hc=$("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),Wc=$("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),w0=$("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),k0=$("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Vc=$("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),$c=$("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Gc=$("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),x0=$("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),_0=$("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),S0=$("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),B0=$("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Uc=$("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Kc=$("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Xc=$("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),C0=$("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),P0=$("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Zc=$("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Qc=$("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),T0=$("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),E0=$("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Yc=$("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Jc=$("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),N0=$("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),z0=$("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),eu=$("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),tu=$("Search20Regular","20",["M12.73 13.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 14 8.5a5.5 5.5 0 1 0-1.98 4.23Z"]),R0=$("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),D0=$("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),F0=$("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),De={...{durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},...{curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"}};function I0(e){if(e.playState==="running"){var r;if(e.overallProgress!==void 0){var t;const l=(t=e.overallProgress)!==null&&t!==void 0?t:0;return l>0&&l<1}var o;const n=Number((o=e.currentTime)!==null&&o!==void 0?o:0);var i;const s=Number((i=(r=e.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&i!==void 0?i:0);return n>0&&n<s}return!1}const A0={fill:"forwards"},j0={duration:1};function ru(){var e;const r=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return m.useCallback((t,o,i)=>{const n=Array.isArray(o)?o:[o],{isReducedMotion:s}=i,l=n.map(u=>{const{keyframes:a,reducedMotion:c=j0,...d}=u,{keyframes:g=a,...f}=c,h=s?g:a,v={...A0,...d,...s&&f};try{const p=t.animate(h,v);if(r)p==null||p.persist();else{const y=h[h.length-1];var b;Object.assign((b=t.style)!==null&&b!==void 0?b:{},y)}return p}catch{return null}}).filter(u=>!!u);return{set playbackRate(u){l.forEach(a=>{a.playbackRate=u})},setMotionEndCallbacks(u,a){const c=l.map(d=>new Promise((g,f)=>{d.onfinish=()=>g(),d.oncancel=()=>f()}));Promise.all(c).then(()=>{u()}).catch(()=>{a()})},isRunning(){return l.some(u=>I0(u))},cancel:()=>{l.forEach(u=>{u.cancel()})},pause:()=>{l.forEach(u=>{u.pause()})},play:()=>{l.forEach(u=>{u.play()})},finish:()=>{l.forEach(u=>{u.finish()})},reverse:()=>{l.forEach(u=>{u.reverse()})}}},[r])}function O0(){const[e,r]=m.useState(0),t=m.useRef(),o=ru();return m.useEffect(()=>{if(e>0){var i;(i=t.current)===null||i===void 0||i.call(t)}},[e]),m.useCallback((i,n,s)=>typeof i.animate=="function"?o(i,n,s):{setMotionEndCallbacks(u){t.current=u,r(a=>a+1)},set playbackRate(u){},isRunning(){return!1},cancel(){},pause(){},play(){},finish(){},reverse(){}},[o])}function ou(){"use no memo";return process.env.NODE_ENV==="test"?O0():ru()}function nu(e){const r=m.useRef();return m.useImperativeHandle(e,()=>({setPlayState:t=>{if(t==="running"){var o;(o=r.current)===null||o===void 0||o.play()}if(t==="paused"){var i;(i=r.current)===null||i===void 0||i.pause()}},setPlaybackRate:t=>{r.current&&(r.current.playbackRate=t)}})),r}const q0="screen and (prefers-reduced-motion: reduce)";function iu(){const{targetDocument:e}=_e();var r;const t=(r=e==null?void 0:e.defaultView)!==null&&r!==void 0?r:null,o=m.useRef(!1),i=m.useCallback(()=>o.current,[]);return Re(()=>{if(t===null||typeof t.matchMedia!="function")return;const n=t.matchMedia(q0);n.matches&&(o.current=!0);const s=l=>{o.current=l.matches};return n.addEventListener("change",s),()=>{n.removeEventListener("change",s)}},[t]),i}const M0=m.version.startsWith("19."),au=["@fluentui/react-motion: Invalid child element.",`
179
- `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function L0(e){return M0?e.props.ref:e.ref}function su(e,r=!0){const t=m.useRef(null);m.useEffect(()=>{process.env.NODE_ENV!=="production"&&r&&!t.current&&console.error(au)},[r]);try{const o=m.Children.only(e);if(m.isValidElement(o))return[m.cloneElement(o,{ref:Fe(t,L0(o))}),t]}catch{}throw new Error(au)}const lu=m.createContext(void 0);lu.Provider;const cu=()=>{var e;return(e=m.useContext(lu))!==null&&e!==void 0?e:"default"};function uu(e){return t=>{"use no memo";const{children:o,imperativeRef:i,onMotionFinish:n,onMotionStart:s,onMotionCancel:l,...u}=t,a=u,[c,d]=su(o),g=nu(i),f=cu()==="skip",h=m.useRef({skipMotions:f,params:a}),v=ou(),b=iu(),p=J(()=>{s==null||s(null)}),y=J(()=>{n==null||n(null)}),k=J(()=>{l==null||l(null)});return Re(()=>{h.current={skipMotions:f,params:a}}),Re(()=>{const w=d.current;if(w){const _=typeof e=="function"?e({element:w,...h.current.params}):e;p();const S=v(w,_,{isReducedMotion:b()});return g.current=S,S.setMotionEndCallbacks(y,k),h.current.skipMotions&&S.finish(),()=>{S.cancel()}}},[v,d,g,b,y,p,k]),c}}const du=m.createContext(void 0);du.Provider;function H0(e=!1,r=!1){const t=m.useRef(r?e:!0),o=Rm(),i=m.useCallback(n=>{t.current!==n&&(t.current=n,o())},[o]);return m.useEffect(()=>{e&&(t.current=e)}),[e||t.current,i]}const fu=Symbol("MOTION_DEFINITION"),W0=Symbol.for("interruptablePresence");function zr(e){return Object.assign(r=>{"use no memo";const o={...m.useContext(du),...r},i=cu()==="skip",{appear:n,children:s,imperativeRef:l,onExit:u,onMotionFinish:a,onMotionStart:c,onMotionCancel:d,visible:g,unmountOnExit:f,...h}=o,v=h,[b,p]=H0(g,f),[y,k]=su(s,b),w=nu(l),_=m.useRef({appear:n,params:v,skipMotions:i}),S=ou(),C=Bl(),T=iu(),z=J(U=>{c==null||c(null,{direction:U})}),I=J(U=>{a==null||a(null,{direction:U}),U==="exit"&&f&&(p(!1),u==null||u())}),G=J(U=>{d==null||d(null,{direction:U})});return Re(()=>{_.current={appear:n,params:v,skipMotions:i}}),Re(()=>{const U=k.current;if(!U)return;let B;function j(){B&&(X&&B.isRunning()||(B.cancel(),w.current=void 0))}const V=typeof e=="function"?e({element:U,..._.current.params}):e,X=V[W0];if(X&&(B=w.current,B&&B.isRunning()))return B.reverse(),j;const Z=g?V.enter:V.exit,R=g?"enter":"exit",q=!_.current.appear&&C,W=_.current.skipMotions;return q||z(R),B=S(U,Z,{isReducedMotion:T()}),q?(B.finish(),j):(w.current=B,B.setMotionEndCallbacks(()=>I(R),()=>G(R)),W&&B.finish(),j)},[S,k,w,T,I,z,G,g]),b?y:null},{[fu]:typeof e=="function"?e:()=>e},{In:uu(typeof e=="function"?(...r)=>e(...r).enter:e.enter),Out:uu(typeof e=="function"?(...r)=>e(...r).exit:e.exit)})}function V0(e,r){return o=>e({...r,...o})}function hu(e,r){const t=e[fu],o=V0(t,r);return zr(o)}function Yi(e,r){const{as:t,children:o,...i}=e??{};if(process.env.NODE_ENV!=="production"&&typeof t<"u")throw new Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(e===null){const s=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,l=(u,a)=>s?null:m.createElement(m.Fragment,null,a.children);return{[Ho]:l,[Rt]:r.elementType}}const n={...r.defaultProps,...i,[Rt]:r.elementType};return typeof o=="function"&&(n[Ho]=o),n}const gu=({direction:e,duration:r,easing:t=De.curveLinear,fromOpacity:o=0})=>{const i=[{opacity:o},{opacity:1}];return e==="exit"&&i.reverse(),{keyframes:i,duration:r,easing:t}},vu=zr(({duration:e=De.durationNormal,easing:r=De.curveEasyEase,exitDuration:t=e,exitEasing:o=r})=>({enter:gu({direction:"enter",duration:e,easing:r}),exit:gu({direction:"exit",duration:t,easing:o})}));hu(vu,{duration:De.durationFast});const $0=hu(vu,{duration:De.durationGentle}),G0=e=>(ie(e),we(e.root,{children:[e.initials&&A(e.initials,{}),e.icon&&A(e.icon,{}),e.image&&A(e.image,{}),e.badge&&A(e.badge,{}),e.activeAriaLabelElement]})),U0=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,K0=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,X0=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Z0=/\s+/g,Q0=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Y0(e,r,t){let o="";const i=e.split(" ");return i.length!==0&&(o+=i[0].charAt(0).toUpperCase()),t||(i.length===2?o+=i[1].charAt(0).toUpperCase():i.length===3&&(o+=i[2].charAt(0).toUpperCase())),r&&o.length>1?o.charAt(1)+o.charAt(0):o}function J0(e){return e=e.replace(U0,""),e=e.replace(K0,""),e=e.replace(Z0," "),e=e.trim(),e}function e1(e,r,t){return!e||(e=J0(e),Q0.test(e)||!(t!=null&&t.allowPhoneInitials)&&X0.test(e))?"":Y0(e,r,t==null?void 0:t.firstInitialOnly)}const t1=(e,r)=>{const{shape:t="circular",size:o="medium",iconPosition:i="before",appearance:n="filled",color:s="brand"}=e;return{shape:t,size:o,iconPosition:i,appearance:n,color:s,components:{root:"div",icon:"span"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),icon:te(e.icon,{elementType:"span"})}},r1=e=>(ie(e),we(e.root,{children:[e.iconPosition==="before"&&e.icon&&A(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&A(e.icon,{})]})),o1={tiny:qc,"extra-small":qc,small:m0,medium:p0,large:Mc,"extra-large":Mc},n1={tiny:Ac,"extra-small":Ac,small:h0,medium:v0,large:Oc,"extra-large":Oc},i1={tiny:Ic,"extra-small":Ic,small:f0,medium:g0,large:jc,"extra-large":jc},a1={tiny:Lc,"extra-small":Lc,small:b0,medium:y0,large:Hc,"extra-large":Hc},s1={tiny:Wc,"extra-small":Wc,small:w0,medium:k0,large:Vc,"extra-large":Vc},l1={tiny:$c,"extra-small":$c,small:x0,medium:S0,large:Uc,"extra-large":Uc},c1={tiny:Gc,"extra-small":Gc,small:_0,medium:B0,large:Kc,"extra-large":Kc},Ji={tiny:Qc,"extra-small":Qc,small:T0,medium:E0,large:Yc,"extra-large":Yc},u1={tiny:Xc,"extra-small":Xc,small:C0,medium:P0,large:Zc,"extra-large":Zc},mu={tiny:Jc,"extra-small":Jc,small:N0,medium:z0,large:eu,"extra-large":eu},d1=(e,r,t)=>{switch(e){case"available":return r?n1[t]:i1[t];case"away":return r?Ji[t]:o1[t];case"blocked":return a1[t];case"busy":return r?mu[t]:s1[t];case"do-not-disturb":return r?c1[t]:l1[t];case"offline":return r?Ji[t]:u1[t];case"out-of-office":return Ji[t];case"unknown":return mu[t]}},pu={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},f1=(e,r)=>{const{size:t="medium",status:o="available",outOfOffice:i=!1}=e,n=pu[o],s=e.outOfOffice&&e.status!=="out-of-office"?` ${pu["out-of-office"]}`:"",l=d1(o,i,t);return{...t1({"aria-label":n+s,role:"img",...e,size:t,icon:te(e.icon,{defaultProps:{children:l?m.createElement(l,null):null},renderByDefault:!0,elementType:"span"})},r),status:o,outOfOffice:i}},bu={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},h1=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",g1=ce("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),v1=ce("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),m1=O({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),p1=e=>{"use no memo";const r=g1(),t=v1(),o=m1(),i=h1(e.status);return e.root.className=E(bu.root,r,i&&o.statusBusy,e.status==="away"&&o.statusAway,e.status==="available"&&o.statusAvailable,e.status==="offline"&&o.statusOffline,e.status==="out-of-office"&&o.statusOutOfOffice,e.status==="unknown"&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&e.status==="available"&&o.outOfOfficeAvailable,e.outOfOffice&&i&&o.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&o.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&o.outOfOfficeUnknown,e.size==="tiny"&&o.tiny,e.size==="large"&&o.large,e.size==="extra-large"&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=E(bu.icon,t,e.icon.className)),e},lo=m.forwardRef((e,r)=>{const t=f1(e,r);return p1(t),le("usePresenceBadgeStyles_unstable")(t),r1(t)});lo.displayName="PresenceBadge";const yu=m.createContext(void 0),b1={};yu.Provider;const y1=()=>{var e;return(e=m.useContext(yu))!==null&&e!==void 0?e:b1},w1={active:"active",inactive:"inactive"},k1=(e,r)=>{const{dir:t}=_e(),{shape:o,size:i}=y1(),{name:n,size:s=i??32,shape:l=o??"circular",active:u="unset",activeAppearance:a="ring",idForColor:c}=e;let{color:d="neutral"}=e;if(d==="colorful"){var g;d=wu[_1((g=c??n)!==null&&g!==void 0?g:"")%wu.length]}const f=Qe("avatar-"),h=re(ve("span",{role:"img",id:f,...e,ref:r},["name"]),{elementType:"span"}),[v,b]=m.useState(void 0);let p=te(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:v},elementType:"img"});p!=null&&p.src||(p=void 0),p&&(p.onError=Ee(p.onError,()=>b(!0)),p.onLoad=Ee(p.onLoad,()=>b(void 0)));let y=te(e.initials,{renderByDefault:!0,defaultProps:{children:e1(n,t==="rtl",{firstInitialOnly:s<=16}),id:f+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let k;!y&&(!p||v)&&(k=te(e.icon,{renderByDefault:!0,defaultProps:{children:m.createElement(o0,null),"aria-hidden":!0},elementType:"span"}));const w=te(e.badge,{defaultProps:{size:x1(s),id:f+"__badge"},elementType:lo});let _;if(!h["aria-label"]&&!h["aria-labelledby"]&&(n?(h["aria-label"]=n,w&&(h["aria-labelledby"]=h.id+" "+w.id)):y&&(h["aria-labelledby"]=y.id+(w?" "+w.id:"")),u==="active"||u==="inactive")){const S=w1[u];if(h["aria-labelledby"]){const C=f+"__active";h["aria-labelledby"]+=" "+C,_=m.createElement("span",{hidden:!0,id:C},S)}else h["aria-label"]&&(h["aria-label"]+=" "+S)}return{size:s,shape:l,active:u,activeAppearance:a,activeAriaLabelElement:_,color:d,components:{root:"span",initials:"span",icon:"span",image:"img",badge:lo},root:h,initials:y,icon:k,image:p,badge:w}},x1=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",wu=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],_1=e=>{let r=0;for(let t=e.length-1;t>=0;t--){const o=e.charCodeAt(t),i=t%8;r^=(o<<i)+(o>>8-i)}return r},co={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},S1=ce("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),B1=ce("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),C1=ce("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),P1=O({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),T1=O({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),E1=O({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),N1=O({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),z1=e=>{"use no memo";const{size:r,shape:t,active:o,activeAppearance:i,color:n}=e,s=S1(),l=B1(),u=C1(),a=P1(),c=T1(),d=E1(),g=N1(),f=[s,r!==32&&c[r]];if(e.badge&&f.push(a.badgeAlign,a[e.badge.size||"medium"]),r<=24?f.push(a.textCaption2Strong):r<=28?f.push(a.textCaption1Strong):r<=40||(r<=56?f.push(a.textSubtitle2):r<=96?f.push(a.textSubtitle1):f.push(a.textTitle3)),t==="square"&&(r<=24?f.push(a.squareSmall):r<=48?f.push(a.squareMedium):r<=72?f.push(a.squareLarge):f.push(a.squareXLarge)),(o==="active"||o==="inactive")&&(f.push(a.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(f.push(a.ring,g[n]),e.badge&&f.push(a.ringBadgeCutout),r<=48?f.push(a.ringThick):r<=64?f.push(a.ringThicker):f.push(a.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(f.push(a.shadow),r<=28?f.push(a.shadow4):r<=48?f.push(a.shadow8):r<=64?f.push(a.shadow16):f.push(a.shadow28)),o==="inactive"&&f.push(a.inactive)),e.root.className=E(co.root,...f,e.root.className),e.badge&&(e.badge.className=E(co.badge,a.badge,e.badge.className)),e.image&&(e.image.className=E(co.image,l,d[n],e.badge&&a.badgeCutout,e.image.className)),e.initials&&(e.initials.className=E(co.initials,u,d[n],e.badge&&a.badgeCutout,e.initials.className)),e.icon){let h;r<=16?h=a.icon12:r<=24?h=a.icon16:r<=40?h=a.icon20:r<=48?h=a.icon24:r<=56?h=a.icon28:r<=72?h=a.icon32:h=a.icon48,e.icon.className=E(co.icon,u,h,d[n],e.badge&&a.badgeCutout,e.icon.className)}return e},ea=m.forwardRef((e,r)=>{const t=k1(e,r);return z1(t),le("useAvatarStyles_unstable")(t),G0(t)});ea.displayName="Avatar";const ku="data-popper-is-intersecting",xu="data-popper-escaped",_u="data-popper-reference-hidden",R1="data-popper-placement",ta="fui-positioningend",D1=({options:e})=>e,Su=m.createContext(void 0);Su.Provider;const F1=()=>{var e;return(e=m.useContext(Su))!==null&&e!==void 0?e:D1},I1=["top","right","bottom","left"],tr=Math.min,et=Math.max,tn=Math.round,vt=e=>({x:e,y:e}),A1={left:"right",right:"left",bottom:"top",top:"bottom"},j1={start:"end",end:"start"};function ra(e,r,t){return et(e,tr(r,t))}function xt(e,r){return typeof e=="function"?e(r):e}function _t(e){return e.split("-")[0]}function Rr(e){return e.split("-")[1]}function oa(e){return e==="x"?"y":"x"}function na(e){return e==="y"?"height":"width"}const O1=new Set(["top","bottom"]);function mt(e){return O1.has(_t(e))?"y":"x"}function ia(e){return oa(mt(e))}function q1(e,r,t){t===void 0&&(t=!1);const o=Rr(e),i=ia(e),n=na(i);let s=i==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[n]>r.floating[n]&&(s=rn(s)),[s,rn(s)]}function M1(e){const r=rn(e);return[aa(e),r,aa(r)]}function aa(e){return e.replace(/start|end/g,r=>j1[r])}const Bu=["left","right"],Cu=["right","left"],L1=["top","bottom"],H1=["bottom","top"];function W1(e,r,t){switch(e){case"top":case"bottom":return t?r?Cu:Bu:r?Bu:Cu;case"left":case"right":return r?L1:H1;default:return[]}}function V1(e,r,t,o){const i=Rr(e);let n=W1(_t(e),t==="start",o);return i&&(n=n.map(s=>s+"-"+i),r&&(n=n.concat(n.map(aa)))),n}function rn(e){return e.replace(/left|right|bottom|top/g,r=>A1[r])}function $1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Pu(e){return typeof e!="number"?$1(e):{top:e,right:e,bottom:e,left:e}}function on(e){const{x:r,y:t,width:o,height:i}=e;return{width:o,height:i,top:t,left:r,right:r+o,bottom:t+i,x:r,y:t}}function Tu(e,r,t){let{reference:o,floating:i}=e;const n=mt(r),s=ia(r),l=na(s),u=_t(r),a=n==="y",c=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,g=o[l]/2-i[l]/2;let f;switch(u){case"top":f={x:c,y:o.y-i.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(Rr(r)){case"start":f[s]-=g*(t&&a?-1:1);break;case"end":f[s]+=g*(t&&a?-1:1);break}return f}const G1=async(e,r,t)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:s}=t,l=n.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(r));let a=await s.getElementRects({reference:e,floating:r,strategy:i}),{x:c,y:d}=Tu(a,o,u),g=o,f={},h=0;for(let v=0;v<l.length;v++){const{name:b,fn:p}=l[v],{x:y,y:k,data:w,reset:_}=await p({x:c,y:d,initialPlacement:o,placement:g,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:e,floating:r}});c=y??c,d=k??d,f={...f,[b]:{...f[b],...w}},_&&h<=50&&(h++,typeof _=="object"&&(_.placement&&(g=_.placement),_.rects&&(a=_.rects===!0?await s.getElementRects({reference:e,floating:r,strategy:i}):_.rects),{x:c,y:d}=Tu(a,g,u)),v=-1)}return{x:c,y:d,placement:g,strategy:i,middlewareData:f}};async function Dr(e,r){var t;r===void 0&&(r={});const{x:o,y:i,platform:n,rects:s,elements:l,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:g=!1,padding:f=0}=xt(r,e),h=Pu(f),b=l[g?d==="floating"?"reference":"floating":d],p=on(await n.getClippingRect({element:(t=await(n.isElement==null?void 0:n.isElement(b)))==null||t?b:b.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(l.floating)),boundary:a,rootBoundary:c,strategy:u})),y=d==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,k=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l.floating)),w=await(n.isElement==null?void 0:n.isElement(k))?await(n.getScale==null?void 0:n.getScale(k))||{x:1,y:1}:{x:1,y:1},_=on(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:k,strategy:u}):y);return{top:(p.top-_.top+h.top)/w.y,bottom:(_.bottom-p.bottom+h.bottom)/w.y,left:(p.left-_.left+h.left)/w.x,right:(_.right-p.right+h.right)/w.x}}const U1=e=>({name:"arrow",options:e,async fn(r){const{x:t,y:o,placement:i,rects:n,platform:s,elements:l,middlewareData:u}=r,{element:a,padding:c=0}=xt(e,r)||{};if(a==null)return{};const d=Pu(c),g={x:t,y:o},f=ia(i),h=na(f),v=await s.getDimensions(a),b=f==="y",p=b?"top":"left",y=b?"bottom":"right",k=b?"clientHeight":"clientWidth",w=n.reference[h]+n.reference[f]-g[f]-n.floating[h],_=g[f]-n.reference[f],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let C=S?S[k]:0;(!C||!await(s.isElement==null?void 0:s.isElement(S)))&&(C=l.floating[k]||n.floating[h]);const T=w/2-_/2,z=C/2-v[h]/2-1,I=tr(d[p],z),G=tr(d[y],z),U=I,B=C-v[h]-G,j=C/2-v[h]/2+T,V=ra(U,j,B),X=!u.arrow&&Rr(i)!=null&&j!==V&&n.reference[h]/2-(j<U?I:G)-v[h]/2<0,Z=X?j<U?j-U:j-B:0;return{[f]:g[f]+Z,data:{[f]:V,centerOffset:j-V-Z,...X&&{alignmentOffset:Z}},reset:X}}}),K1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var t,o;const{placement:i,middlewareData:n,rects:s,initialPlacement:l,platform:u,elements:a}=r,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:g,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...b}=xt(e,r);if((t=n.arrow)!=null&&t.alignmentOffset)return{};const p=_t(i),y=mt(l),k=_t(l)===l,w=await(u.isRTL==null?void 0:u.isRTL(a.floating)),_=g||(k||!v?[rn(l)]:M1(l)),S=h!=="none";!g&&S&&_.push(...V1(l,v,h,w));const C=[l,..._],T=await Dr(r,b),z=[];let I=((o=n.flip)==null?void 0:o.overflows)||[];if(c&&z.push(T[p]),d){const j=q1(i,s,w);z.push(T[j[0]],T[j[1]])}if(I=[...I,{placement:i,overflows:z}],!z.every(j=>j<=0)){var G,U;const j=(((G=n.flip)==null?void 0:G.index)||0)+1,V=C[j];if(V&&(!(d==="alignment"?y!==mt(V):!1)||I.every(R=>mt(R.placement)===y?R.overflows[0]>0:!0)))return{data:{index:j,overflows:I},reset:{placement:V}};let X=(U=I.filter(Z=>Z.overflows[0]<=0).sort((Z,R)=>Z.overflows[1]-R.overflows[1])[0])==null?void 0:U.placement;if(!X)switch(f){case"bestFit":{var B;const Z=(B=I.filter(R=>{if(S){const q=mt(R.placement);return q===y||q==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(q=>q>0).reduce((q,W)=>q+W,0)]).sort((R,q)=>R[1]-q[1])[0])==null?void 0:B[0];Z&&(X=Z);break}case"initialPlacement":X=l;break}if(i!==X)return{reset:{placement:X}}}return{}}}};function Eu(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Nu(e){return I1.some(r=>e[r]>=0)}const X1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:t}=r,{strategy:o="referenceHidden",...i}=xt(e,r);switch(o){case"referenceHidden":{const n=await Dr(r,{...i,elementContext:"reference"}),s=Eu(n,t.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Nu(s)}}}case"escaped":{const n=await Dr(r,{...i,altBoundary:!0}),s=Eu(n,t.floating);return{data:{escapedOffsets:s,escaped:Nu(s)}}}default:return{}}}}},zu=new Set(["left","top"]);async function Z1(e,r){const{placement:t,platform:o,elements:i}=e,n=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=_t(t),l=Rr(t),u=mt(t)==="y",a=zu.has(s)?-1:1,c=n&&u?-1:1,d=xt(r,e);let{mainAxis:g,crossAxis:f,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof h=="number"&&(f=l==="end"?h*-1:h),u?{x:f*c,y:g*a}:{x:g*a,y:f*c}}const Q1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var t,o;const{x:i,y:n,placement:s,middlewareData:l}=r,u=await Z1(r,e);return s===((t=l.offset)==null?void 0:t.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:n+u.y,data:{...u,placement:s}}}}},Y1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:t,y:o,placement:i}=r,{mainAxis:n=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:p,y}=b;return{x:p,y}}},...u}=xt(e,r),a={x:t,y:o},c=await Dr(r,u),d=mt(_t(i)),g=oa(d);let f=a[g],h=a[d];if(n){const b=g==="y"?"top":"left",p=g==="y"?"bottom":"right",y=f+c[b],k=f-c[p];f=ra(y,f,k)}if(s){const b=d==="y"?"top":"left",p=d==="y"?"bottom":"right",y=h+c[b],k=h-c[p];h=ra(y,h,k)}const v=l.fn({...r,[g]:f,[d]:h});return{...v,data:{x:v.x-t,y:v.y-o,enabled:{[g]:n,[d]:s}}}}}},J1=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:t,y:o,placement:i,rects:n,middlewareData:s}=r,{offset:l=0,mainAxis:u=!0,crossAxis:a=!0}=xt(e,r),c={x:t,y:o},d=mt(i),g=oa(d);let f=c[g],h=c[d];const v=xt(l,r),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const k=g==="y"?"height":"width",w=n.reference[g]-n.floating[k]+b.mainAxis,_=n.reference[g]+n.reference[k]-b.mainAxis;f<w?f=w:f>_&&(f=_)}if(a){var p,y;const k=g==="y"?"width":"height",w=zu.has(_t(i)),_=n.reference[d]-n.floating[k]+(w&&((p=s.offset)==null?void 0:p[d])||0)+(w?0:b.crossAxis),S=n.reference[d]+n.reference[k]+(w?0:((y=s.offset)==null?void 0:y[d])||0)-(w?b.crossAxis:0);h<_?h=_:h>S&&(h=S)}return{[g]:f,[d]:h}}}},ey=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var t,o;const{placement:i,rects:n,platform:s,elements:l}=r,{apply:u=()=>{},...a}=xt(e,r),c=await Dr(r,a),d=_t(i),g=Rr(i),f=mt(i)==="y",{width:h,height:v}=n.floating;let b,p;d==="top"||d==="bottom"?(b=d,p=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=d,b=g==="end"?"top":"bottom");const y=v-c.top-c.bottom,k=h-c.left-c.right,w=tr(v-c[b],y),_=tr(h-c[p],k),S=!r.middlewareData.shift;let C=w,T=_;if((t=r.middlewareData.shift)!=null&&t.enabled.x&&(T=k),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(C=y),S&&!g){const I=et(c.left,0),G=et(c.right,0),U=et(c.top,0),B=et(c.bottom,0);f?T=h-2*(I!==0||G!==0?I+G:et(c.left,c.right)):C=v-2*(U!==0||B!==0?U+B:et(c.top,c.bottom))}await u({...r,availableWidth:T,availableHeight:C});const z=await s.getDimensions(l.floating);return h!==z.width||v!==z.height?{reset:{rects:!0}}:{}}}};function nn(){return typeof window<"u"}function Fr(e){return Ru(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function St(e){var r;return(r=(Ru(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Ru(e){return nn()?e instanceof Node||e instanceof Ue(e).Node:!1}function lt(e){return nn()?e instanceof Element||e instanceof Ue(e).Element:!1}function pt(e){return nn()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function Du(e){return!nn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}const ty=new Set(["inline","contents"]);function uo(e){const{overflow:r,overflowX:t,overflowY:o,display:i}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(r+o+t)&&!ty.has(i)}const ry=new Set(["table","td","th"]);function oy(e){return ry.has(Fr(e))}const ny=[":popover-open",":modal"];function an(e){return ny.some(r=>{try{return e.matches(r)}catch{return!1}})}const iy=["transform","translate","scale","rotate","perspective"],ay=["transform","translate","scale","rotate","perspective","filter"],sy=["paint","layout","strict","content"];function sa(e){const r=la(),t=lt(e)?ct(e):e;return iy.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!r&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!r&&(t.filter?t.filter!=="none":!1)||ay.some(o=>(t.willChange||"").includes(o))||sy.some(o=>(t.contain||"").includes(o))}function ly(e){let r=At(e);for(;pt(r)&&!Ir(r);){if(sa(r))return r;if(an(r))return null;r=At(r)}return null}function la(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const cy=new Set(["html","body","#document"]);function Ir(e){return cy.has(Fr(e))}function ct(e){return Ue(e).getComputedStyle(e)}function sn(e){return lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function At(e){if(Fr(e)==="html")return e;const r=e.assignedSlot||e.parentNode||Du(e)&&e.host||St(e);return Du(r)?r.host:r}function Fu(e){const r=At(e);return Ir(r)?e.ownerDocument?e.ownerDocument.body:e.body:pt(r)&&uo(r)?r:Fu(r)}function ca(e,r,t){var o;r===void 0&&(r=[]),t===void 0&&(t=!0);const i=Fu(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=Ue(i);if(n){const l=ua(s);return r.concat(s,s.visualViewport||[],uo(i)?i:[],l&&t?ca(l):[])}return r.concat(i,ca(i,[],t))}function ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Iu(e){const r=ct(e);let t=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const i=pt(e),n=i?e.offsetWidth:t,s=i?e.offsetHeight:o,l=tn(t)!==n||tn(o)!==s;return l&&(t=n,o=s),{width:t,height:o,$:l}}function Au(e){return lt(e)?e:e.contextElement}function Ar(e){const r=Au(e);if(!pt(r))return vt(1);const t=r.getBoundingClientRect(),{width:o,height:i,$:n}=Iu(r);let s=(n?tn(t.width):t.width)/o,l=(n?tn(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const uy=vt(0);function ju(e){const r=Ue(e);return!la()||!r.visualViewport?uy:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function dy(e,r,t){return r===void 0&&(r=!1),!t||r&&t!==Ue(e)?!1:r}function fo(e,r,t,o){r===void 0&&(r=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),n=Au(e);let s=vt(1);r&&(o?lt(o)&&(s=Ar(o)):s=Ar(e));const l=dy(n,t,o)?ju(n):vt(0);let u=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(n){const g=Ue(n),f=o&&lt(o)?Ue(o):o;let h=g,v=ua(h);for(;v&&o&&f!==h;){const b=Ar(v),p=v.getBoundingClientRect(),y=ct(v),k=p.left+(v.clientLeft+parseFloat(y.paddingLeft))*b.x,w=p.top+(v.clientTop+parseFloat(y.paddingTop))*b.y;u*=b.x,a*=b.y,c*=b.x,d*=b.y,u+=k,a+=w,h=Ue(v),v=ua(h)}}return on({width:c,height:d,x:u,y:a})}function da(e,r){const t=sn(e).scrollLeft;return r?r.left+t:fo(St(e)).left+t}function Ou(e,r,t){t===void 0&&(t=!1);const o=e.getBoundingClientRect(),i=o.left+r.scrollLeft-(t?0:da(e,o)),n=o.top+r.scrollTop;return{x:i,y:n}}function fy(e){let{elements:r,rect:t,offsetParent:o,strategy:i}=e;const n=i==="fixed",s=St(o),l=r?an(r.floating):!1;if(o===s||l&&n)return t;let u={scrollLeft:0,scrollTop:0},a=vt(1);const c=vt(0),d=pt(o);if((d||!d&&!n)&&((Fr(o)!=="body"||uo(s))&&(u=sn(o)),pt(o))){const f=fo(o);a=Ar(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}const g=s&&!d&&!n?Ou(s,u,!0):vt(0);return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-u.scrollLeft*a.x+c.x+g.x,y:t.y*a.y-u.scrollTop*a.y+c.y+g.y}}function hy(e){return Array.from(e.getClientRects())}function gy(e){const r=St(e),t=sn(e),o=e.ownerDocument.body,i=et(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),n=et(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let s=-t.scrollLeft+da(e);const l=-t.scrollTop;return ct(o).direction==="rtl"&&(s+=et(r.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:l}}function vy(e,r){const t=Ue(e),o=St(e),i=t.visualViewport;let n=o.clientWidth,s=o.clientHeight,l=0,u=0;if(i){n=i.width,s=i.height;const a=la();(!a||a&&r==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:n,height:s,x:l,y:u}}const my=new Set(["absolute","fixed"]);function py(e,r){const t=fo(e,!0,r==="fixed"),o=t.top+e.clientTop,i=t.left+e.clientLeft,n=pt(e)?Ar(e):vt(1),s=e.clientWidth*n.x,l=e.clientHeight*n.y,u=i*n.x,a=o*n.y;return{width:s,height:l,x:u,y:a}}function qu(e,r,t){let o;if(r==="viewport")o=vy(e,t);else if(r==="document")o=gy(St(e));else if(lt(r))o=py(r,t);else{const i=ju(e);o={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return on(o)}function Mu(e,r){const t=At(e);return t===r||!lt(t)||Ir(t)?!1:ct(t).position==="fixed"||Mu(t,r)}function by(e,r){const t=r.get(e);if(t)return t;let o=ca(e,[],!1).filter(l=>lt(l)&&Fr(l)!=="body"),i=null;const n=ct(e).position==="fixed";let s=n?At(e):e;for(;lt(s)&&!Ir(s);){const l=ct(s),u=sa(s);!u&&l.position==="fixed"&&(i=null),(n?!u&&!i:!u&&l.position==="static"&&!!i&&my.has(i.position)||uo(s)&&!u&&Mu(e,s))?o=o.filter(c=>c!==s):i=l,s=At(s)}return r.set(e,o),o}function yy(e){let{element:r,boundary:t,rootBoundary:o,strategy:i}=e;const s=[...t==="clippingAncestors"?an(r)?[]:by(r,this._c):[].concat(t),o],l=s[0],u=s.reduce((a,c)=>{const d=qu(r,c,i);return a.top=et(d.top,a.top),a.right=tr(d.right,a.right),a.bottom=tr(d.bottom,a.bottom),a.left=et(d.left,a.left),a},qu(r,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function wy(e){const{width:r,height:t}=Iu(e);return{width:r,height:t}}function ky(e,r,t){const o=pt(r),i=St(r),n=t==="fixed",s=fo(e,!0,n,r);let l={scrollLeft:0,scrollTop:0};const u=vt(0);function a(){u.x=da(i)}if(o||!o&&!n)if((Fr(r)!=="body"||uo(i))&&(l=sn(r)),o){const f=fo(r,!0,n,r);u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}else i&&a();n&&!o&&i&&a();const c=i&&!o&&!n?Ou(i,l):vt(0),d=s.left+l.scrollLeft-u.x-c.x,g=s.top+l.scrollTop-u.y-c.y;return{x:d,y:g,width:s.width,height:s.height}}function fa(e){return ct(e).position==="static"}function Lu(e,r){if(!pt(e)||ct(e).position==="fixed")return null;if(r)return r(e);let t=e.offsetParent;return St(e)===t&&(t=t.ownerDocument.body),t}function Hu(e,r){const t=Ue(e);if(an(e))return t;if(!pt(e)){let i=At(e);for(;i&&!Ir(i);){if(lt(i)&&!fa(i))return i;i=At(i)}return t}let o=Lu(e,r);for(;o&&oy(o)&&fa(o);)o=Lu(o,r);return o&&Ir(o)&&fa(o)&&!sa(o)?t:o||ly(e)||t}const xy=async function(e){const r=this.getOffsetParent||Hu,t=this.getDimensions,o=await t(e.floating);return{reference:ky(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function _y(e){return ct(e).direction==="rtl"}const Sy={convertOffsetParentRelativeRectToViewportRelativeRect:fy,getDocumentElement:St,getClippingRect:yy,getOffsetParent:Hu,getElementRects:xy,getClientRects:hy,getDimensions:wy,getScale:Ar,isElement:lt,isRTL:_y},By=Dr,Cy=Q1,Py=Y1,Ty=K1,Ey=ey,Wu=X1,Ny=U1,Vu=J1,zy=(e,r,t)=>{const o=new Map,i={platform:Sy,...t},n={...i.platform,_c:o};return G1(e,r,{...i,platform:n})};function $u(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const Ry=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,Dy=e=>{var r;if(e.nodeType!==1)return{};const t=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return t?t.getComputedStyle(e,null):{}},ln=e=>{const r=e&&Ry(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:t,overflowX:o,overflowY:i}=Dy(r);return/(auto|scroll|overlay)/.test(t+i+o)?r:ln(r)},Fy=e=>{var r;const t=ln(e);return t?t!==((r=t.ownerDocument)===null||r===void 0?void 0:r.body):!1};function ha(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let t=ln(e);return t.nodeName==="BODY"&&(t=e==null?void 0:e.ownerDocument.documentElement),t}return r}function Iy(e){if(!e)return null;for(const r in e)if(r.indexOf("__reactInternalInstance$")===0||r.indexOf("__reactFiber$")===0)return e[r];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function Gu(e,r){if(typeof e=="number")return e;const{start:t,end:o,...i}=e,n=i,s=r?"end":"start",l=r?"start":"end";return e[s]&&(n.left=e[s]),e[l]&&(n.right=e[l]),n}const Ay=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),jy=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Oy=(e,r)=>{const t=e==="above"||e==="below",o=r==="top"||r==="bottom";return t&&o||!t&&!o},Uu=(e,r,t)=>{const o=Oy(r,e)?"center":e,i=r&&Ay(t)[r],n=o&&jy()[o];return i&&n?`${i}-${n}`:i},qy=()=>({top:"above",bottom:"below",right:"after",left:"before"}),My=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},ga=e=>{const{side:r,alignment:t}=$u(e),o=qy()[r],i=t&&My(o)[t];return{position:o,alignment:i}},Ly={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function Ku(e){return e==null?{}:typeof e=="string"?Ly[e]:e}function va(e,r,t){const o=m.useRef(!0),[i]=m.useState(()=>({value:e,callback:r,facade:{get current(){return i.value},set current(n){const s=i.value;if(s!==n){if(i.value=n,t&&o.current)return;i.callback(n,s)}}}}));return Re(()=>{o.current=!1},[]),i.callback=r,i.facade}function Hy(e){let r;return()=>(r||(r=new Promise(t=>{Promise.resolve().then(()=>{r=void 0,t(e())})})),r)}function Wy(e){if(e.nodeName==="BUTTON"||e.nodeName==="INPUT"||e.nodeName==="SELECT"||e.nodeName==="TEXTAREA"){var t;return!!(!((t=Iy(e))===null||t===void 0)&&t.pendingProps.autoFocus)}return!1}function Vy(e){return Wy(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function $y(e){const{arrow:r,middlewareData:t}=e;if(!t.arrow||!r)return;const{x:o,y:i}=t.arrow;Object.assign(r.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:""})}function Gy(e){var r,t,o;const{container:i,placement:n,middlewareData:s,strategy:l,lowPPI:u,coordinates:a,useTransform:c=!0}=e;if(!i)return;i.setAttribute(R1,n),i.removeAttribute(ku),s.intersectionObserver.intersecting&&i.setAttribute(ku,""),i.removeAttribute(xu),!((r=s.hide)===null||r===void 0)&&r.escaped&&i.setAttribute(xu,""),i.removeAttribute(_u),!((t=s.hide)===null||t===void 0)&&t.referenceHidden&&i.setAttribute(_u,"");const d=((o=i.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,g=Math.round(a.x*d)/d,f=Math.round(a.y*d)/d;if(Object.assign(i.style,{position:l}),c){Object.assign(i.style,{transform:u?`translate(${g}px, ${f}px)`:`translate3d(${g}px, ${f}px, 0)`});return}Object.assign(i.style,{left:`${g}px`,top:`${f}px`})}const Uy=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function cn(e){const r=[];let t=e;for(;t;){const o=ln(t);if(e.ownerDocument.body===o){r.push(o);break}if(o.nodeName==="BODY"&&o!==e.ownerDocument.body){process.env.NODE_ENV!=="production"&&console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}r.push(o),t=o}return r}function Ky(e,r){return process.env.NODE_ENV==="test"&&(e.ResizeObserver=class{observe(){}unobserve(){}disconnect(){}}),new e.ResizeObserver(r)}function Xy(e){let r=!1;const{container:t,target:o,arrow:i,strategy:n,middleware:s,placement:l,useTransform:u=!0,disableUpdateOnResize:a=!1}=e,c=t.ownerDocument.defaultView;if(!o||!t||!c)return{updatePosition:()=>{},dispose:()=>{}};const d=a?null:Ky(c,p=>{p.every(k=>k.contentRect.width>0&&k.contentRect.height>0)&&v()});let g=!0;const f=new Set;Object.assign(t.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{r||(g&&(cn(t).forEach(p=>f.add(p)),Ye(o)&&cn(o).forEach(p=>f.add(p)),f.forEach(p=>{p.addEventListener("scroll",v,{passive:!0})}),d==null||d.observe(t),Ye(o)&&(d==null||d.observe(o)),g=!1),Object.assign(t.style,{position:n}),zy(o,t,{placement:l,middleware:s,strategy:n}).then(({x:p,y,middlewareData:k,placement:w})=>{r||($y({arrow:i,middlewareData:k}),Gy({container:t,middlewareData:k,placement:w,coordinates:{x:p,y},lowPPI:((c==null?void 0:c.devicePixelRatio)||1)<=1,strategy:n,useTransform:u}),t.dispatchEvent(new CustomEvent(ta)))}).catch(p=>{process.env.NODE_ENV==="development"&&console.error("[usePositioning]: Failed to calculate position",p)}))},v=Hy(()=>h()),b=()=>{r=!0,c&&(c.removeEventListener("scroll",v),c.removeEventListener("resize",v)),f.forEach(p=>{p.removeEventListener("scroll",v)}),f.clear(),d==null||d.disconnect()};return c&&(c.addEventListener("scroll",v,{passive:!0}),c.addEventListener("resize",v)),v(),{updatePosition:v,dispose:b}}const ma="__FUIDT_CONTROLLER__",un="__FUIDT_ELEMENT_METADATA__",Zy="__FUIDT_HTML_ELEMENT_REFERENCE__",Xu="__FUIDT_SERIALIZED_DATA_CHANGE__";function Zu(e,r){var t,o;const i=e;return!!(!(i==null||(t=i.ownerDocument)==null)&&t.defaultView&&i instanceof i.ownerDocument.defaultView[(o=r==null?void 0:r.constructorName)!=null?o:"HTMLElement"])}const Qu=e=>!!(Zu(e)&&un in e&&e.parentElement!==null),Qy=e=>{let r=null;const t=new MutationObserver(i=>{if(r)for(const n of i)n.type==="childList"&&Array.from(n.removedNodes).includes(r)&&o.withdraw()}),o={get selectedElement(){return r},select:i=>(Qu(i)&&(r=i,t.observe(i.parentElement,{childList:!0,subtree:!1})),r&&i&&r[un].references.has(i)||o.withdraw(),r),withdraw:()=>{r=null,t.disconnect(),e.postMessage(Xu)}};return o},Yy=e=>{let{defaultView:r}=e;r&&(r[ma]||(r[ma]=Qy(r)))},Jy=e=>{var r,t;return Yy(e),(r=(t=e.defaultView)==null?void 0:t[ma])!=null?r:null},ew=(e,r)=>JSON.parse(JSON.stringify(e,(o,i)=>Zu(i)?r.add(i):typeof i=="object"&&i&&Object.getPrototypeOf(i)!==Object.prototype&&Object.getPrototypeOf(i)!==Array.prototype?"toString"in i?i.toString():void 0:i));let tw=0;const rw=()=>Zy+":"+tw++,ow=()=>{const e=new Map,r=new WeakMap;return{add:o=>{if(r.has(o))return r.get(o);const i=rw();return e.set(i,o),r.set(o,i),i},get:o=>{const i=e.get(o);if(i&&r.has(i))return i},has:o=>r.has(o)}},nw=function(e,r){return e===void 0&&(e=document),r===void 0&&(r=iw),{name:"@floating-ui/devtools",fn:t=>{const{[un]:o}=Qu(t.elements.floating)?t.elements.floating:Object.assign(t.elements.floating,{[un]:{references:ow(),serializedData:[]}}),i=ew(r(t),o.references);o.serializedData.unshift(i);const n=Jy(e);if(o.serializedData.length>1&&t.elements.floating===(n==null?void 0:n.selectedElement)){var s;(s=e.defaultView)==null||s.postMessage(Xu)}return{}}}},iw=e=>({...e,type:"FloatingUIMiddleware"});function aw(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:t,x:o,y:i}=e,n=$u(r).side,s={x:o,y:i};switch(n){case"bottom":s.y-=t.reference.height;break;case"top":s.y+=t.reference.height;break;case"left":s.x+=t.reference.width;break;case"right":s.x-=t.reference.width;break}return s}}}function sw(e){const{hasScrollableElement:r,flipBoundary:t,container:o,fallbackPositions:i=[],isRtl:n}=e,s=i.reduce((l,u)=>{const{position:a,align:c}=Ku(u),d=Uu(c,a,n);return d&&l.push(d),l},[]);return Ty({...r&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:ha(o,t)},fallbackStrategy:"bestFit",...s.length&&{fallbackPlacements:s}})}function lw(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,t=await By(e,{altBoundary:!0}),o=t.top<r.height&&t.top>0,i=t.bottom<r.height&&t.bottom>0;return{data:{intersecting:o||i}}}}}const cw=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:t}){var o;if(!((o=r.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:n}=e;return i&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),n&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function uw(e,r){const{container:t,overflowBoundary:o,overflowBoundaryPadding:i,isRtl:n}=r;return Ey({...i&&{padding:Gu(i,n)},...o&&{altBoundary:!0,boundary:ha(t,o)},apply({availableHeight:s,availableWidth:l,elements:u,rects:a}){const c=(f,h,v)=>{if(f&&(u.floating.style.setProperty("box-sizing","border-box"),u.floating.style.setProperty(`max-${h}`,`${v}px`),a.floating[h]>v)){u.floating.style.setProperty(h,`${v}px`);const b=h==="width"?"x":"y";u.floating.style.getPropertyValue(`overflow-${b}`)||u.floating.style.setProperty(`overflow-${b}`,"auto")}},{applyMaxWidth:d,applyMaxHeight:g}=e;c(d,"width",l),c(g,"height",s)}})}function dw(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:t},placement:o})=>{const{position:i,alignment:n}=ga(o);return e({positionedRect:r,targetRect:t,position:i,alignment:n})}}function fw(e){const r=dw(e);return Cy(r)}function hw(e){const{hasScrollableElement:r,shiftToCoverTarget:t,disableTether:o,overflowBoundary:i,container:n,overflowBoundaryPadding:s,isRtl:l}=e;return Py({...r&&{boundary:"clippingAncestors"},...t&&{crossAxis:!0,limiter:Vu({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:Vu({crossAxis:o!=="all",mainAxis:!1})},...s&&{padding:Gu(s,l)},...i&&{altBoundary:!0,boundary:ha(n,i)}})}const Yu="--fui-match-target-size";function gw(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:t},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(r.width===t.width||i)return{};const{width:n}=r;return o.style.setProperty(Yu,`${n}px`),o.style.width||(o.style.width=`var(${Yu})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}const vw=e=>r=>{const{elements:{floating:t,reference:o}}=r,i=new Set;Ye(o)&&cn(o).forEach(l=>i.add(l)),cn(t).forEach(l=>i.add(l));const n=Array.isArray(e.flipBoundary)?e.flipBoundary:Ye(e.flipBoundary)?[e.flipBoundary]:[],s=Array.isArray(e.overflowBoundary)?e.overflowBoundary:Ye(e.overflowBoundary)?[e.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:r,options:e,initialPlacement:ga(r.initialPlacement),placement:ga(r.placement),flipBoundaries:n,overflowBoundaries:s,scrollParents:Array.from(i)}};function mw(e,r){const{align:t,arrowPadding:o,autoSize:i,coverTarget:n,disableUpdateOnResize:s,flipBoundary:l,offset:u,overflowBoundary:a,pinned:c,position:d,unstable_disableTether:g,strategy:f,overflowBoundaryPadding:h,fallbackPositions:v,useTransform:b,matchTargetSize:p,shiftToCoverTarget:y}=r;return m.useCallback((k,w)=>e({container:k,arrow:w,options:{autoSize:i,disableUpdateOnResize:s,matchTargetSize:p,offset:u,strategy:f,coverTarget:n,flipBoundary:l,overflowBoundary:a,useTransform:b,overflowBoundaryPadding:h,pinned:c,arrowPadding:o,align:t,fallbackPositions:v,shiftToCoverTarget:y,position:d,unstable_disableTether:g}}),[i,s,p,u,f,n,l,a,b,h,c,o,t,v,y,d,g,e])}function pw(e){const{dir:r,targetDocument:t}=_e(),o=r==="rtl",i=mw(F1(),e),{positionFixed:n}=e;return m.useCallback((s,l)=>{const u=Fy(s),a=i(s,l),{autoSize:c,disableUpdateOnResize:d,matchTargetSize:g,offset:f,coverTarget:h,flipBoundary:v,overflowBoundary:b,useTransform:p,overflowBoundaryPadding:y,pinned:k,position:w,arrowPadding:_,strategy:S,align:C,fallbackPositions:T,shiftToCoverTarget:z,unstable_disableTether:I}=a,G=Uy(c),U=[G&&cw(G),g&&gw(),f&&fw(f),h&&aw(),!k&&sw({container:s,flipBoundary:v,hasScrollableElement:u,isRtl:o,fallbackPositions:T}),hw({container:s,hasScrollableElement:u,overflowBoundary:b,disableTether:I,overflowBoundaryPadding:y,isRtl:o,shiftToCoverTarget:z}),G&&uw(G,{container:s,overflowBoundary:b,overflowBoundaryPadding:y,isRtl:o}),lw(),l&&Ny({element:l,padding:_}),Wu({strategy:"referenceHidden"}),Wu({strategy:"escaped"}),process.env.NODE_ENV!=="production"&&t&&nw(t,vw(a))].filter(Boolean);return{placement:Uu(C,w,o),middleware:U,strategy:S??n?"fixed":"absolute",disableUpdateOnResize:d,useTransform:p}},[i,o,t,n])}function bw(e){"use no memo";const r=m.useRef(null),t=m.useRef(null),o=m.useRef(null),i=m.useRef(null),n=m.useRef(null),{enabled:s=!0}=e,l=pw(e),u=m.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var h;const v=(h=o.current)!==null&&h!==void 0?h:t.current;s&&Sl()&&v&&i.current&&(r.current=Xy({container:i.current,target:v,arrow:n.current,...l(i.current,n.current)}))},[s,l]),a=J(h=>{o.current=h,u()});m.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var h;return(h=r.current)===null||h===void 0?void 0:h.updatePosition()},setTarget:h=>{if(e.target&&process.env.NODE_ENV!=="production"){const v=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(v.stack)}a(h)}}),[e.target,a]),Re(()=>{var h;a((h=e.target)!==null&&h!==void 0?h:null)},[e.target,a]),Re(()=>{u()},[u]),process.env.NODE_ENV!=="production"&&m.useEffect(()=>{if(i.current){var h;const v=i.current,b=(h=v.ownerDocument)===null||h===void 0?void 0:h.createTreeWalker(v,NodeFilter.SHOW_ELEMENT,{acceptNode:Vy});for(;b.nextNode();){const p=b.currentNode;console.warn("usePositioning():",p),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
178
+ */var xc;function Lb(){return xc||(xc=1,function(e){function r(R,q){var W=R.length;R.push(q);e:for(;0<W;){var ne=W-1>>>1,L=R[ne];if(0<i(L,q))R[ne]=q,R[W]=L,W=ne;else break e}}function t(R){return R.length===0?null:R[0]}function o(R){if(R.length===0)return null;var q=R[0],W=R.pop();if(W!==q){R[0]=W;e:for(var ne=0,L=R.length,oe=L>>>1;ne<oe;){var be=2*(ne+1)-1,dt=R[be],Me=be+1,tt=R[Me];if(0>i(dt,W))Me<L&&0>i(tt,dt)?(R[ne]=tt,R[Me]=W,ne=Me):(R[ne]=dt,R[be]=W,ne=be);else if(Me<L&&0>i(tt,W))R[ne]=tt,R[Me]=W,ne=Me;else break e}}return q}function i(R,q){var W=R.sortIndex-q.sortIndex;return W!==0?W:R.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var n=performance;e.unstable_now=function(){return n.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],a=[],c=1,d=null,g=3,f=!1,h=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(R){for(var q=t(a);q!==null;){if(q.callback===null)o(a);else if(q.startTime<=R)o(a),q.sortIndex=q.expirationTime,r(u,q);else break;q=t(a)}}function w(R){if(v=!1,k(R),!h)if(t(u)!==null)h=!0,X(_);else{var q=t(a);q!==null&&Z(w,q.startTime-R)}}function _(R,q){h=!1,v&&(v=!1,p(T),T=-1),f=!0;var W=g;try{for(k(q),d=t(u);d!==null&&(!(d.expirationTime>q)||R&&!G());){var ne=d.callback;if(typeof ne=="function"){d.callback=null,g=d.priorityLevel;var L=ne(d.expirationTime<=q);q=e.unstable_now(),typeof L=="function"?d.callback=L:d===t(u)&&o(u),k(q)}else o(u);d=t(u)}if(d!==null)var oe=!0;else{var be=t(a);be!==null&&Z(w,be.startTime-q),oe=!1}return oe}finally{d=null,g=W,f=!1}}var S=!1,C=null,T=-1,z=5,I=-1;function G(){return!(e.unstable_now()-I<z)}function U(){if(C!==null){var R=e.unstable_now();I=R;var q=!0;try{q=C(!0,R)}finally{q?B():(S=!1,C=null)}}else S=!1}var B;if(typeof y=="function")B=function(){y(U)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,V=j.port2;j.port1.onmessage=U,B=function(){V.postMessage(null)}}else B=function(){b(U,0)};function X(R){C=R,S||(S=!0,B())}function Z(R,q){T=b(function(){R(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,X(_))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return t(u)},e.unstable_next=function(R){switch(g){case 1:case 2:case 3:var q=3;break;default:q=g}var W=g;g=q;try{return R()}finally{g=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var W=g;g=R;try{return q()}finally{g=W}},e.unstable_scheduleCallback=function(R,q,W){var ne=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ne+W:ne):W=ne,R){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=W+L,R={id:c++,callback:q,priorityLevel:R,startTime:W,expirationTime:L,sortIndex:-1},W>ne?(R.sortIndex=W,r(a,R),t(u)===null&&R===t(a)&&(v?(p(T),T=-1):v=!0,Z(w,W-ne))):(R.sortIndex=L,r(u,R),h||f||(h=!0,X(_))),R},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(R){var q=g;return function(){var W=g;g=q;try{return R.apply(this,arguments)}finally{g=W}}}}($i)),$i}process.env.NODE_ENV==="production"?Wi.exports=Lb():Wi.exports=Mb();var _c=Wi.exports;const Hb=e=>{const r=t=>{const o=m.useRef(t.value),i=m.useRef(0),n=m.useRef();return n.current||(n.current={value:o,version:i,listeners:[]}),Re(()=>{o.current=t.value,i.current+=1,_c.unstable_runWithPriority(_c.unstable_NormalPriority,()=>{n.current.listeners.forEach(s=>{s([i.current,t.value])})})},[t.value]),m.createElement(e,{value:n.current},t.children)};return process.env.NODE_ENV!=="production"&&(r.displayName="ContextSelector.Provider"),r},Yo=e=>{const r=m.createContext({value:{current:e},version:{current:-1},listeners:[]});return r.Provider=Hb(r.Provider),delete r.Consumer,r},Gi=(e,r)=>{const t=m.useContext(e),{value:{current:o},version:{current:i},listeners:n}=t,s=r(o),[l,u]=m.useState([o,s]),a=d=>{u(g=>{if(!d)return[o,s];if(d[0]<=i)return Object.is(g[1],s)?g:[o,s];try{if(Object.is(g[0],d[1]))return g;const f=r(d[1]);return Object.is(g[1],f)?g:[d[1],f]}catch{}return[g[0],g[1]]})};Object.is(l[1],s)||a(void 0);const c=J(a);return Re(()=>(n.push(c),()=>{const d=n.indexOf(c);n.splice(d,1)}),[c,n]),l[1]};function Ui(e){const r=m.useContext(e);return r.version?r.version.current!==-1:!1}const Wb="Shift",er="Enter",gt=" ",Vb="Tab",Ki="ArrowDown",Sc="ArrowLeft",Xi="ArrowRight",Jo="ArrowUp",Bc="End",Cc="Home",$b="PageDown",Gb="PageUp",Zi="Escape";function Pc(e,r){const{disabled:t,disabledFocusable:o=!1,["aria-disabled"]:i,onClick:n,onKeyDown:s,onKeyUp:l,...u}=r??{},a=typeof i=="string"?i==="true":i,c=t||o||a,d=J(h=>{c?(h.preventDefault(),h.stopPropagation()):n==null||n(h)}),g=J(h=>{if(s==null||s(h),h.isDefaultPrevented())return;const v=h.key;if(c&&(v===er||v===gt)){h.preventDefault(),h.stopPropagation();return}if(v===gt){h.preventDefault();return}else v===er&&(h.preventDefault(),h.currentTarget.click())}),f=J(h=>{if(l==null||l(h),h.isDefaultPrevented())return;const v=h.key;if(c&&(v===er||v===gt)){h.preventDefault(),h.stopPropagation();return}v===gt&&(h.preventDefault(),h.currentTarget.click())});if(e==="button"||e===void 0)return{...u,disabled:t&&!o,"aria-disabled":o?!0:a,onClick:o?void 0:d,onKeyUp:o?void 0:l,onKeyDown:o?void 0:s};{const h=!!u.href;let v=h?void 0:"button";!v&&c&&(v="link");const b={role:v,tabIndex:o||!h&&!t?0:void 0,...u,onClick:d,onKeyUp:f,onKeyDown:g,"aria-disabled":c};return e==="a"&&c&&(b.href=void 0),b}}const We=()=>{},Ub={controller:{active:We,blur:We,find:We,first:We,focus:We,focusLastActive:We,scrollActiveIntoView:We,last:We,next:We,prev:We,showAttributes:We,hideAttributes:We,showFocusVisibleAttributes:We,hideFocusVisibleAttributes:We}},Qi=m.createContext(void 0),Tc=Qi.Provider,Ec=()=>{var e;return(e=m.useContext(Qi))!==null&&e!==void 0?e:Ub},Kb=()=>!!m.useContext(Qi);function Xb(e){const{matchOption:r}=e,{targetDocument:t}=_e(),o=m.useRef(null),i=m.useRef(null),n=m.useCallback(u=>Ye(u)&&r(u)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[r]),s=m.useCallback(u=>{u&&t?(i.current=u,o.current=t.createTreeWalker(u,NodeFilter.SHOW_ELEMENT,n)):(i.current=null,o.current=null)},[t,n]);return{optionWalker:m.useMemo(()=>({first:()=>!o.current||!i.current?null:(o.current.currentNode=i.current,o.current.firstChild()),last:()=>!o.current||!i.current?null:(o.current.currentNode=i.current,o.current.lastChild()),next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(u,a)=>{if(!o.current||!i.current)return null;const c=a?t==null?void 0:t.getElementById(a):null;o.current.currentNode=c??i.current;let d=o.current.currentNode;for(;d&&!u(d.id);)d=o.current.nextNode();return d},setCurrent:u=>{o.current&&(o.current.currentNode=u)}}),[t]),listboxCallbackRef:s}}const Nc="data-activedescendant",Nr="data-activedescendant-focusvisible",zc=e=>{if(!e)return;const r=Rc(e.parentElement);if(!r)return;const{offsetHeight:t}=e,o=Dc(e,r),{scrollMarginTop:i,scrollMarginBottom:n}=Zb(e),{offsetHeight:s,scrollTop:l}=r,u=o-i<l,a=o+t+n>l+s,c=2;u?r.scrollTo(0,o-i-c):a&&r.scrollTo(0,o+t+n-s+c)},Rc=e=>e?e.scrollHeight>e.offsetHeight?e:Rc(e.parentElement):null,Dc=(e,r)=>!e||e===r?0:e.contains(r)?r.offsetTop*-1:e.offsetTop+Dc(e.offsetParent,r),Zb=e=>{var r;const t=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};const o=t.getComputedStyle(e);var i;const n=(i=en(o.scrollMarginTop))!==null&&i!==void 0?i:en(o.scrollMarginBlockStart);var s;const l=(s=en(o.scrollMarginBottom))!==null&&s!==void 0?s:en(o.scrollMarginBlockEnd);return{scrollMarginTop:n,scrollMarginBottom:l}},en=e=>e?parseInt(e,10):0,Qb=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Fc(e){const{imperativeRef:r,matchOption:t}=e,o=m.useRef(!1),i=m.useRef(!0),n=m.useRef(null),s=m.useRef(null),l=m.useRef(null),u=m.useRef(!0),a=m.useCallback(()=>{var w;(w=l.current)===null||w===void 0||w.removeAttribute("aria-activedescendant")},[]),c=m.useCallback(w=>{if(w&&(n.current=w),u.current&&n.current){var _;(_=l.current)===null||_===void 0||_.setAttribute("aria-activedescendant",n.current)}},[]);yc(w=>{o.current=w;const _=v();_&&(w&&i.current?_.setAttribute(Nr,""):_.removeAttribute(Nr))});const d=J(t),g=m.useRef(null),{optionWalker:f,listboxCallbackRef:h}=Xb({matchOption:d}),v=m.useCallback(()=>{var w;return(w=g.current)===null||w===void 0?void 0:w.querySelector(`#${n.current}`)},[g]),b=m.useCallback(w=>{i.current=w;const _=v();_&&(w&&o.current?_.setAttribute(Nr,""):_.removeAttribute(Nr))},[v]),p=m.useCallback(()=>{const w=v();w&&(w.removeAttribute(Nc),w.removeAttribute(Nr)),a(),s.current=n.current,n.current=null;var _;return(_=w==null?void 0:w.id)!==null&&_!==void 0?_:null},[v,a]),y=m.useCallback(w=>{if(!w)return;const _=p();zc(w),c(w.id),w.setAttribute(Nc,""),o.current&&i.current&&w.setAttribute(Nr,"");const S=Qb({id:w.id,previousId:_});w.dispatchEvent(S)},[p,c]),k=m.useMemo(()=>({first:({passive:w}={})=>{const _=f.first();return w||y(_),_==null?void 0:_.id},last:({passive:w}={})=>{const _=f.last();return w||y(_),_==null?void 0:_.id},next:({passive:w}={})=>{const _=v();if(!_)return;f.setCurrent(_);const S=f.next();return w||y(S),S==null?void 0:S.id},prev:({passive:w}={})=>{const _=v();if(!_)return;f.setCurrent(_);const S=f.prev();return w||y(S),S==null?void 0:S.id},blur:()=>{p()},active:()=>{var w;return(w=v())===null||w===void 0?void 0:w.id},focus:w=>{if(!g.current)return;const _=g.current.querySelector(`#${w}`);_&&y(_)},focusLastActive:()=>{if(!g.current||!s.current)return;const w=g.current.querySelector(`#${s.current}`);if(w)return y(w),!0},find(w,{passive:_,startFrom:S}={}){const C=f.find(w,S);return _||y(C),C==null?void 0:C.id},scrollActiveIntoView:()=>{if(!g.current)return;const w=v();w&&zc(w)},showAttributes(){u.current=!0,c()},hideAttributes(){u.current=!1,a()},showFocusVisibleAttributes(){b(!0)},hideFocusVisibleAttributes(){b(!1)}}),[f,g,c,a,y,p,v,b]);return m.useImperativeHandle(r,()=>k),{listboxRef:Fe(g,h),activeParentRef:l,controller:k}}const Yb=O({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"]}),Jb=(e,r)=>{const{title:t,primaryFill:o="currentColor",...i}=e,n={...i,title:void 0,fill:o},s=Yb(),l=ap();return n.className=E(s.root,(r==null?void 0:r.flipInRtl)&&(l==null?void 0:l.textDirection)==="rtl"&&s.rtl,n.className),t&&(n["aria-label"]=t),!n["aria-label"]&&!n["aria-labelledby"]?n["aria-hidden"]=!0:n.role="img",n},e0=O({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),$=(e,r,t,o)=>{const i=r==="1em"?"20":r,n=m.forwardRef((s,l)=>{const u=e0(),a=Jb(s,{flipInRtl:o==null?void 0:o.flipInRtl}),c={...a,className:E(a.className,u.root),ref:l,width:r,height:r,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return typeof t=="string"?m.createElement("svg",{...c,dangerouslySetInnerHTML:{__html:t}}):m.createElement("svg",c,...t.map(d=>m.createElement("path",{d,fill:c.fill})))});return n.displayName=e,n},t0=$("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),r0=$("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),o0=$("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),n0=$("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),i0=$("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Ic=$("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),a0=$("FilterRegular","1em",["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]),s0=$("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),l0=$("SendRegular","1em",["M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z"],{flipInRtl:!0}),Ac=$("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),c0=$("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),u0=$("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),d0=$("ChevronLeft16Regular","16",["M10.35 3.15c.2.2.2.5 0 .7L6.21 8l4.14 4.15a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"]),f0=$("ChevronRight16Regular","16",["M5.65 3.15a.5.5 0 0 0 0 .7L9.79 8l-4.14 4.15a.5.5 0 0 0 .7.7l4.5-4.5a.5.5 0 0 0 0-.7l-4.5-4.5a.5.5 0 0 0-.7 0Z"]),h0=$("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),g0=$("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),v0=$("Open16Regular","16",["M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 0 1 1 0v2.23a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2h2.23a.5.5 0 0 1 0 1H4.5Zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 0 1-1 0V3.71L9.62 7.08a.5.5 0 1 1-.7-.7L12.29 3H9.27a.5.5 0 0 1-.5-.5Z"]),jc=$("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),Oc=$("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),m0=$("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),p0=$("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),b0=$("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),y0=$("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),qc=$("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),Mc=$("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),Lc=$("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),w0=$("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),k0=$("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),Hc=$("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),Wc=$("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),x0=$("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),_0=$("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Vc=$("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),$c=$("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),S0=$("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),B0=$("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Gc=$("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Uc=$("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Kc=$("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),C0=$("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),P0=$("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),T0=$("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),E0=$("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Xc=$("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Zc=$("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Qc=$("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),N0=$("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),z0=$("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Yc=$("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Jc=$("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),R0=$("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),D0=$("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),eu=$("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),tu=$("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),F0=$("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),I0=$("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),ru=$("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),ou=$("Search20Regular","20",["M12.73 13.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 14 8.5a5.5 5.5 0 1 0-1.98 4.23Z"]),A0=$("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),j0=$("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),O0=$("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),De={...{durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},...{curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"}};function q0(e){if(e.playState==="running"){var r;if(e.overallProgress!==void 0){var t;const l=(t=e.overallProgress)!==null&&t!==void 0?t:0;return l>0&&l<1}var o;const n=Number((o=e.currentTime)!==null&&o!==void 0?o:0);var i;const s=Number((i=(r=e.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&i!==void 0?i:0);return n>0&&n<s}return!1}const M0={fill:"forwards"},L0={duration:1};function nu(){var e;const r=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return m.useCallback((t,o,i)=>{const n=Array.isArray(o)?o:[o],{isReducedMotion:s}=i,l=n.map(u=>{const{keyframes:a,reducedMotion:c=L0,...d}=u,{keyframes:g=a,...f}=c,h=s?g:a,v={...M0,...d,...s&&f};try{const p=t.animate(h,v);if(r)p==null||p.persist();else{const y=h[h.length-1];var b;Object.assign((b=t.style)!==null&&b!==void 0?b:{},y)}return p}catch{return null}}).filter(u=>!!u);return{set playbackRate(u){l.forEach(a=>{a.playbackRate=u})},setMotionEndCallbacks(u,a){const c=l.map(d=>new Promise((g,f)=>{d.onfinish=()=>g(),d.oncancel=()=>f()}));Promise.all(c).then(()=>{u()}).catch(()=>{a()})},isRunning(){return l.some(u=>q0(u))},cancel:()=>{l.forEach(u=>{u.cancel()})},pause:()=>{l.forEach(u=>{u.pause()})},play:()=>{l.forEach(u=>{u.play()})},finish:()=>{l.forEach(u=>{u.finish()})},reverse:()=>{l.forEach(u=>{u.reverse()})}}},[r])}function H0(){const[e,r]=m.useState(0),t=m.useRef(),o=nu();return m.useEffect(()=>{if(e>0){var i;(i=t.current)===null||i===void 0||i.call(t)}},[e]),m.useCallback((i,n,s)=>typeof i.animate=="function"?o(i,n,s):{setMotionEndCallbacks(u){t.current=u,r(a=>a+1)},set playbackRate(u){},isRunning(){return!1},cancel(){},pause(){},play(){},finish(){},reverse(){}},[o])}function iu(){"use no memo";return process.env.NODE_ENV==="test"?H0():nu()}function au(e){const r=m.useRef();return m.useImperativeHandle(e,()=>({setPlayState:t=>{if(t==="running"){var o;(o=r.current)===null||o===void 0||o.play()}if(t==="paused"){var i;(i=r.current)===null||i===void 0||i.pause()}},setPlaybackRate:t=>{r.current&&(r.current.playbackRate=t)}})),r}const W0="screen and (prefers-reduced-motion: reduce)";function su(){const{targetDocument:e}=_e();var r;const t=(r=e==null?void 0:e.defaultView)!==null&&r!==void 0?r:null,o=m.useRef(!1),i=m.useCallback(()=>o.current,[]);return Re(()=>{if(t===null||typeof t.matchMedia!="function")return;const n=t.matchMedia(W0);n.matches&&(o.current=!0);const s=l=>{o.current=l.matches};return n.addEventListener("change",s),()=>{n.removeEventListener("change",s)}},[t]),i}const V0=m.version.startsWith("19."),lu=["@fluentui/react-motion: Invalid child element.",`
179
+ `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function $0(e){return V0?e.props.ref:e.ref}function cu(e,r=!0){const t=m.useRef(null);m.useEffect(()=>{process.env.NODE_ENV!=="production"&&r&&!t.current&&console.error(lu)},[r]);try{const o=m.Children.only(e);if(m.isValidElement(o))return[m.cloneElement(o,{ref:Fe(t,$0(o))}),t]}catch{}throw new Error(lu)}const uu=m.createContext(void 0);uu.Provider;const du=()=>{var e;return(e=m.useContext(uu))!==null&&e!==void 0?e:"default"};function fu(e){return t=>{"use no memo";const{children:o,imperativeRef:i,onMotionFinish:n,onMotionStart:s,onMotionCancel:l,...u}=t,a=u,[c,d]=cu(o),g=au(i),f=du()==="skip",h=m.useRef({skipMotions:f,params:a}),v=iu(),b=su(),p=J(()=>{s==null||s(null)}),y=J(()=>{n==null||n(null)}),k=J(()=>{l==null||l(null)});return Re(()=>{h.current={skipMotions:f,params:a}}),Re(()=>{const w=d.current;if(w){const _=typeof e=="function"?e({element:w,...h.current.params}):e;p();const S=v(w,_,{isReducedMotion:b()});return g.current=S,S.setMotionEndCallbacks(y,k),h.current.skipMotions&&S.finish(),()=>{S.cancel()}}},[v,d,g,b,y,p,k]),c}}const hu=m.createContext(void 0);hu.Provider;function G0(e=!1,r=!1){const t=m.useRef(r?e:!0),o=Am(),i=m.useCallback(n=>{t.current!==n&&(t.current=n,o())},[o]);return m.useEffect(()=>{e&&(t.current=e)}),[e||t.current,i]}const gu=Symbol("MOTION_DEFINITION"),U0=Symbol.for("interruptablePresence");function zr(e){return Object.assign(r=>{"use no memo";const o={...m.useContext(hu),...r},i=du()==="skip",{appear:n,children:s,imperativeRef:l,onExit:u,onMotionFinish:a,onMotionStart:c,onMotionCancel:d,visible:g,unmountOnExit:f,...h}=o,v=h,[b,p]=G0(g,f),[y,k]=cu(s,b),w=au(l),_=m.useRef({appear:n,params:v,skipMotions:i}),S=iu(),C=Pl(),T=su(),z=J(U=>{c==null||c(null,{direction:U})}),I=J(U=>{a==null||a(null,{direction:U}),U==="exit"&&f&&(p(!1),u==null||u())}),G=J(U=>{d==null||d(null,{direction:U})});return Re(()=>{_.current={appear:n,params:v,skipMotions:i}}),Re(()=>{const U=k.current;if(!U)return;let B;function j(){B&&(X&&B.isRunning()||(B.cancel(),w.current=void 0))}const V=typeof e=="function"?e({element:U,..._.current.params}):e,X=V[U0];if(X&&(B=w.current,B&&B.isRunning()))return B.reverse(),j;const Z=g?V.enter:V.exit,R=g?"enter":"exit",q=!_.current.appear&&C,W=_.current.skipMotions;return q||z(R),B=S(U,Z,{isReducedMotion:T()}),q?(B.finish(),j):(w.current=B,B.setMotionEndCallbacks(()=>I(R),()=>G(R)),W&&B.finish(),j)},[S,k,w,T,I,z,G,g]),b?y:null},{[gu]:typeof e=="function"?e:()=>e},{In:fu(typeof e=="function"?(...r)=>e(...r).enter:e.enter),Out:fu(typeof e=="function"?(...r)=>e(...r).exit:e.exit)})}function K0(e,r){return o=>e({...r,...o})}function vu(e,r){const t=e[gu],o=K0(t,r);return zr(o)}function Yi(e,r){const{as:t,children:o,...i}=e??{};if(process.env.NODE_ENV!=="production"&&typeof t<"u")throw new Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(e===null){const s=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,l=(u,a)=>s?null:m.createElement(m.Fragment,null,a.children);return{[Ho]:l,[Rt]:r.elementType}}const n={...r.defaultProps,...i,[Rt]:r.elementType};return typeof o=="function"&&(n[Ho]=o),n}const mu=({direction:e,duration:r,easing:t=De.curveLinear,fromOpacity:o=0})=>{const i=[{opacity:o},{opacity:1}];return e==="exit"&&i.reverse(),{keyframes:i,duration:r,easing:t}},pu=zr(({duration:e=De.durationNormal,easing:r=De.curveEasyEase,exitDuration:t=e,exitEasing:o=r})=>({enter:mu({direction:"enter",duration:e,easing:r}),exit:mu({direction:"exit",duration:t,easing:o})}));vu(pu,{duration:De.durationFast});const X0=vu(pu,{duration:De.durationGentle}),Z0=e=>(ie(e),we(e.root,{children:[e.initials&&A(e.initials,{}),e.icon&&A(e.icon,{}),e.image&&A(e.image,{}),e.badge&&A(e.badge,{}),e.activeAriaLabelElement]})),Q0=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Y0=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,J0=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,e1=/\s+/g,t1=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function r1(e,r,t){let o="";const i=e.split(" ");return i.length!==0&&(o+=i[0].charAt(0).toUpperCase()),t||(i.length===2?o+=i[1].charAt(0).toUpperCase():i.length===3&&(o+=i[2].charAt(0).toUpperCase())),r&&o.length>1?o.charAt(1)+o.charAt(0):o}function o1(e){return e=e.replace(Q0,""),e=e.replace(Y0,""),e=e.replace(e1," "),e=e.trim(),e}function n1(e,r,t){return!e||(e=o1(e),t1.test(e)||!(t!=null&&t.allowPhoneInitials)&&J0.test(e))?"":r1(e,r,t==null?void 0:t.firstInitialOnly)}const i1=(e,r)=>{const{shape:t="circular",size:o="medium",iconPosition:i="before",appearance:n="filled",color:s="brand"}=e;return{shape:t,size:o,iconPosition:i,appearance:n,color:s,components:{root:"div",icon:"span"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),icon:te(e.icon,{elementType:"span"})}},a1=e=>(ie(e),we(e.root,{children:[e.iconPosition==="before"&&e.icon&&A(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&A(e.icon,{})]})),s1={tiny:Lc,"extra-small":Lc,small:w0,medium:k0,large:Hc,"extra-large":Hc},l1={tiny:Oc,"extra-small":Oc,small:p0,medium:y0,large:Mc,"extra-large":Mc},c1={tiny:jc,"extra-small":jc,small:m0,medium:b0,large:qc,"extra-large":qc},u1={tiny:Wc,"extra-small":Wc,small:x0,medium:_0,large:Vc,"extra-large":Vc},d1={tiny:$c,"extra-small":$c,small:S0,medium:B0,large:Gc,"extra-large":Gc},f1={tiny:Uc,"extra-small":Uc,small:C0,medium:T0,large:Xc,"extra-large":Xc},h1={tiny:Kc,"extra-small":Kc,small:P0,medium:E0,large:Zc,"extra-large":Zc},Ji={tiny:Jc,"extra-small":Jc,small:R0,medium:D0,large:eu,"extra-large":eu},g1={tiny:Qc,"extra-small":Qc,small:N0,medium:z0,large:Yc,"extra-large":Yc},bu={tiny:tu,"extra-small":tu,small:F0,medium:I0,large:ru,"extra-large":ru},v1=(e,r,t)=>{switch(e){case"available":return r?l1[t]:c1[t];case"away":return r?Ji[t]:s1[t];case"blocked":return u1[t];case"busy":return r?bu[t]:d1[t];case"do-not-disturb":return r?h1[t]:f1[t];case"offline":return r?Ji[t]:g1[t];case"out-of-office":return Ji[t];case"unknown":return bu[t]}},yu={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},m1=(e,r)=>{const{size:t="medium",status:o="available",outOfOffice:i=!1}=e,n=yu[o],s=e.outOfOffice&&e.status!=="out-of-office"?` ${yu["out-of-office"]}`:"",l=v1(o,i,t);return{...i1({"aria-label":n+s,role:"img",...e,size:t,icon:te(e.icon,{defaultProps:{children:l?m.createElement(l,null):null},renderByDefault:!0,elementType:"span"})},r),status:o,outOfOffice:i}},wu={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},p1=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",b1=ce("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),y1=ce("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),w1=O({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),k1=e=>{"use no memo";const r=b1(),t=y1(),o=w1(),i=p1(e.status);return e.root.className=E(wu.root,r,i&&o.statusBusy,e.status==="away"&&o.statusAway,e.status==="available"&&o.statusAvailable,e.status==="offline"&&o.statusOffline,e.status==="out-of-office"&&o.statusOutOfOffice,e.status==="unknown"&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&e.status==="available"&&o.outOfOfficeAvailable,e.outOfOffice&&i&&o.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&o.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&o.outOfOfficeUnknown,e.size==="tiny"&&o.tiny,e.size==="large"&&o.large,e.size==="extra-large"&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=E(wu.icon,t,e.icon.className)),e},lo=m.forwardRef((e,r)=>{const t=m1(e,r);return k1(t),le("usePresenceBadgeStyles_unstable")(t),a1(t)});lo.displayName="PresenceBadge";const ku=m.createContext(void 0),x1={};ku.Provider;const _1=()=>{var e;return(e=m.useContext(ku))!==null&&e!==void 0?e:x1},S1={active:"active",inactive:"inactive"},B1=(e,r)=>{const{dir:t}=_e(),{shape:o,size:i}=_1(),{name:n,size:s=i??32,shape:l=o??"circular",active:u="unset",activeAppearance:a="ring",idForColor:c}=e;let{color:d="neutral"}=e;if(d==="colorful"){var g;d=xu[P1((g=c??n)!==null&&g!==void 0?g:"")%xu.length]}const f=Qe("avatar-"),h=re(ve("span",{role:"img",id:f,...e,ref:r},["name"]),{elementType:"span"}),[v,b]=m.useState(void 0);let p=te(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:v},elementType:"img"});p!=null&&p.src||(p=void 0),p&&(p.onError=Ee(p.onError,()=>b(!0)),p.onLoad=Ee(p.onLoad,()=>b(void 0)));let y=te(e.initials,{renderByDefault:!0,defaultProps:{children:n1(n,t==="rtl",{firstInitialOnly:s<=16}),id:f+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let k;!y&&(!p||v)&&(k=te(e.icon,{renderByDefault:!0,defaultProps:{children:m.createElement(s0,null),"aria-hidden":!0},elementType:"span"}));const w=te(e.badge,{defaultProps:{size:C1(s),id:f+"__badge"},elementType:lo});let _;if(!h["aria-label"]&&!h["aria-labelledby"]&&(n?(h["aria-label"]=n,w&&(h["aria-labelledby"]=h.id+" "+w.id)):y&&(h["aria-labelledby"]=y.id+(w?" "+w.id:"")),u==="active"||u==="inactive")){const S=S1[u];if(h["aria-labelledby"]){const C=f+"__active";h["aria-labelledby"]+=" "+C,_=m.createElement("span",{hidden:!0,id:C},S)}else h["aria-label"]&&(h["aria-label"]+=" "+S)}return{size:s,shape:l,active:u,activeAppearance:a,activeAriaLabelElement:_,color:d,components:{root:"span",initials:"span",icon:"span",image:"img",badge:lo},root:h,initials:y,icon:k,image:p,badge:w}},C1=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",xu=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],P1=e=>{let r=0;for(let t=e.length-1;t>=0;t--){const o=e.charCodeAt(t),i=t%8;r^=(o<<i)+(o>>8-i)}return r},co={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},T1=ce("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),E1=ce("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),N1=ce("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),z1=O({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),R1=O({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),D1=O({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),F1=O({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),I1=e=>{"use no memo";const{size:r,shape:t,active:o,activeAppearance:i,color:n}=e,s=T1(),l=E1(),u=N1(),a=z1(),c=R1(),d=D1(),g=F1(),f=[s,r!==32&&c[r]];if(e.badge&&f.push(a.badgeAlign,a[e.badge.size||"medium"]),r<=24?f.push(a.textCaption2Strong):r<=28?f.push(a.textCaption1Strong):r<=40||(r<=56?f.push(a.textSubtitle2):r<=96?f.push(a.textSubtitle1):f.push(a.textTitle3)),t==="square"&&(r<=24?f.push(a.squareSmall):r<=48?f.push(a.squareMedium):r<=72?f.push(a.squareLarge):f.push(a.squareXLarge)),(o==="active"||o==="inactive")&&(f.push(a.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(f.push(a.ring,g[n]),e.badge&&f.push(a.ringBadgeCutout),r<=48?f.push(a.ringThick):r<=64?f.push(a.ringThicker):f.push(a.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(f.push(a.shadow),r<=28?f.push(a.shadow4):r<=48?f.push(a.shadow8):r<=64?f.push(a.shadow16):f.push(a.shadow28)),o==="inactive"&&f.push(a.inactive)),e.root.className=E(co.root,...f,e.root.className),e.badge&&(e.badge.className=E(co.badge,a.badge,e.badge.className)),e.image&&(e.image.className=E(co.image,l,d[n],e.badge&&a.badgeCutout,e.image.className)),e.initials&&(e.initials.className=E(co.initials,u,d[n],e.badge&&a.badgeCutout,e.initials.className)),e.icon){let h;r<=16?h=a.icon12:r<=24?h=a.icon16:r<=40?h=a.icon20:r<=48?h=a.icon24:r<=56?h=a.icon28:r<=72?h=a.icon32:h=a.icon48,e.icon.className=E(co.icon,u,h,d[n],e.badge&&a.badgeCutout,e.icon.className)}return e},ea=m.forwardRef((e,r)=>{const t=B1(e,r);return I1(t),le("useAvatarStyles_unstable")(t),Z0(t)});ea.displayName="Avatar";const _u="data-popper-is-intersecting",Su="data-popper-escaped",Bu="data-popper-reference-hidden",A1="data-popper-placement",ta="fui-positioningend",j1=({options:e})=>e,Cu=m.createContext(void 0);Cu.Provider;const O1=()=>{var e;return(e=m.useContext(Cu))!==null&&e!==void 0?e:j1},q1=["top","right","bottom","left"],tr=Math.min,et=Math.max,tn=Math.round,vt=e=>({x:e,y:e}),M1={left:"right",right:"left",bottom:"top",top:"bottom"},L1={start:"end",end:"start"};function ra(e,r,t){return et(e,tr(r,t))}function xt(e,r){return typeof e=="function"?e(r):e}function _t(e){return e.split("-")[0]}function Rr(e){return e.split("-")[1]}function oa(e){return e==="x"?"y":"x"}function na(e){return e==="y"?"height":"width"}const H1=new Set(["top","bottom"]);function mt(e){return H1.has(_t(e))?"y":"x"}function ia(e){return oa(mt(e))}function W1(e,r,t){t===void 0&&(t=!1);const o=Rr(e),i=ia(e),n=na(i);let s=i==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[n]>r.floating[n]&&(s=rn(s)),[s,rn(s)]}function V1(e){const r=rn(e);return[aa(e),r,aa(r)]}function aa(e){return e.replace(/start|end/g,r=>L1[r])}const Pu=["left","right"],Tu=["right","left"],$1=["top","bottom"],G1=["bottom","top"];function U1(e,r,t){switch(e){case"top":case"bottom":return t?r?Tu:Pu:r?Pu:Tu;case"left":case"right":return r?$1:G1;default:return[]}}function K1(e,r,t,o){const i=Rr(e);let n=U1(_t(e),t==="start",o);return i&&(n=n.map(s=>s+"-"+i),r&&(n=n.concat(n.map(aa)))),n}function rn(e){return e.replace(/left|right|bottom|top/g,r=>M1[r])}function X1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Eu(e){return typeof e!="number"?X1(e):{top:e,right:e,bottom:e,left:e}}function on(e){const{x:r,y:t,width:o,height:i}=e;return{width:o,height:i,top:t,left:r,right:r+o,bottom:t+i,x:r,y:t}}function Nu(e,r,t){let{reference:o,floating:i}=e;const n=mt(r),s=ia(r),l=na(s),u=_t(r),a=n==="y",c=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,g=o[l]/2-i[l]/2;let f;switch(u){case"top":f={x:c,y:o.y-i.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(Rr(r)){case"start":f[s]-=g*(t&&a?-1:1);break;case"end":f[s]+=g*(t&&a?-1:1);break}return f}const Z1=async(e,r,t)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:s}=t,l=n.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(r));let a=await s.getElementRects({reference:e,floating:r,strategy:i}),{x:c,y:d}=Nu(a,o,u),g=o,f={},h=0;for(let v=0;v<l.length;v++){const{name:b,fn:p}=l[v],{x:y,y:k,data:w,reset:_}=await p({x:c,y:d,initialPlacement:o,placement:g,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:e,floating:r}});c=y??c,d=k??d,f={...f,[b]:{...f[b],...w}},_&&h<=50&&(h++,typeof _=="object"&&(_.placement&&(g=_.placement),_.rects&&(a=_.rects===!0?await s.getElementRects({reference:e,floating:r,strategy:i}):_.rects),{x:c,y:d}=Nu(a,g,u)),v=-1)}return{x:c,y:d,placement:g,strategy:i,middlewareData:f}};async function Dr(e,r){var t;r===void 0&&(r={});const{x:o,y:i,platform:n,rects:s,elements:l,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:g=!1,padding:f=0}=xt(r,e),h=Eu(f),b=l[g?d==="floating"?"reference":"floating":d],p=on(await n.getClippingRect({element:(t=await(n.isElement==null?void 0:n.isElement(b)))==null||t?b:b.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(l.floating)),boundary:a,rootBoundary:c,strategy:u})),y=d==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,k=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l.floating)),w=await(n.isElement==null?void 0:n.isElement(k))?await(n.getScale==null?void 0:n.getScale(k))||{x:1,y:1}:{x:1,y:1},_=on(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:k,strategy:u}):y);return{top:(p.top-_.top+h.top)/w.y,bottom:(_.bottom-p.bottom+h.bottom)/w.y,left:(p.left-_.left+h.left)/w.x,right:(_.right-p.right+h.right)/w.x}}const Q1=e=>({name:"arrow",options:e,async fn(r){const{x:t,y:o,placement:i,rects:n,platform:s,elements:l,middlewareData:u}=r,{element:a,padding:c=0}=xt(e,r)||{};if(a==null)return{};const d=Eu(c),g={x:t,y:o},f=ia(i),h=na(f),v=await s.getDimensions(a),b=f==="y",p=b?"top":"left",y=b?"bottom":"right",k=b?"clientHeight":"clientWidth",w=n.reference[h]+n.reference[f]-g[f]-n.floating[h],_=g[f]-n.reference[f],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let C=S?S[k]:0;(!C||!await(s.isElement==null?void 0:s.isElement(S)))&&(C=l.floating[k]||n.floating[h]);const T=w/2-_/2,z=C/2-v[h]/2-1,I=tr(d[p],z),G=tr(d[y],z),U=I,B=C-v[h]-G,j=C/2-v[h]/2+T,V=ra(U,j,B),X=!u.arrow&&Rr(i)!=null&&j!==V&&n.reference[h]/2-(j<U?I:G)-v[h]/2<0,Z=X?j<U?j-U:j-B:0;return{[f]:g[f]+Z,data:{[f]:V,centerOffset:j-V-Z,...X&&{alignmentOffset:Z}},reset:X}}}),Y1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var t,o;const{placement:i,middlewareData:n,rects:s,initialPlacement:l,platform:u,elements:a}=r,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:g,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...b}=xt(e,r);if((t=n.arrow)!=null&&t.alignmentOffset)return{};const p=_t(i),y=mt(l),k=_t(l)===l,w=await(u.isRTL==null?void 0:u.isRTL(a.floating)),_=g||(k||!v?[rn(l)]:V1(l)),S=h!=="none";!g&&S&&_.push(...K1(l,v,h,w));const C=[l,..._],T=await Dr(r,b),z=[];let I=((o=n.flip)==null?void 0:o.overflows)||[];if(c&&z.push(T[p]),d){const j=W1(i,s,w);z.push(T[j[0]],T[j[1]])}if(I=[...I,{placement:i,overflows:z}],!z.every(j=>j<=0)){var G,U;const j=(((G=n.flip)==null?void 0:G.index)||0)+1,V=C[j];if(V&&(!(d==="alignment"?y!==mt(V):!1)||I.every(R=>mt(R.placement)===y?R.overflows[0]>0:!0)))return{data:{index:j,overflows:I},reset:{placement:V}};let X=(U=I.filter(Z=>Z.overflows[0]<=0).sort((Z,R)=>Z.overflows[1]-R.overflows[1])[0])==null?void 0:U.placement;if(!X)switch(f){case"bestFit":{var B;const Z=(B=I.filter(R=>{if(S){const q=mt(R.placement);return q===y||q==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(q=>q>0).reduce((q,W)=>q+W,0)]).sort((R,q)=>R[1]-q[1])[0])==null?void 0:B[0];Z&&(X=Z);break}case"initialPlacement":X=l;break}if(i!==X)return{reset:{placement:X}}}return{}}}};function zu(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Ru(e){return q1.some(r=>e[r]>=0)}const J1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:t}=r,{strategy:o="referenceHidden",...i}=xt(e,r);switch(o){case"referenceHidden":{const n=await Dr(r,{...i,elementContext:"reference"}),s=zu(n,t.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ru(s)}}}case"escaped":{const n=await Dr(r,{...i,altBoundary:!0}),s=zu(n,t.floating);return{data:{escapedOffsets:s,escaped:Ru(s)}}}default:return{}}}}},Du=new Set(["left","top"]);async function ey(e,r){const{placement:t,platform:o,elements:i}=e,n=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=_t(t),l=Rr(t),u=mt(t)==="y",a=Du.has(s)?-1:1,c=n&&u?-1:1,d=xt(r,e);let{mainAxis:g,crossAxis:f,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof h=="number"&&(f=l==="end"?h*-1:h),u?{x:f*c,y:g*a}:{x:g*a,y:f*c}}const ty=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var t,o;const{x:i,y:n,placement:s,middlewareData:l}=r,u=await ey(r,e);return s===((t=l.offset)==null?void 0:t.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:n+u.y,data:{...u,placement:s}}}}},ry=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:t,y:o,placement:i}=r,{mainAxis:n=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:p,y}=b;return{x:p,y}}},...u}=xt(e,r),a={x:t,y:o},c=await Dr(r,u),d=mt(_t(i)),g=oa(d);let f=a[g],h=a[d];if(n){const b=g==="y"?"top":"left",p=g==="y"?"bottom":"right",y=f+c[b],k=f-c[p];f=ra(y,f,k)}if(s){const b=d==="y"?"top":"left",p=d==="y"?"bottom":"right",y=h+c[b],k=h-c[p];h=ra(y,h,k)}const v=l.fn({...r,[g]:f,[d]:h});return{...v,data:{x:v.x-t,y:v.y-o,enabled:{[g]:n,[d]:s}}}}}},oy=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:t,y:o,placement:i,rects:n,middlewareData:s}=r,{offset:l=0,mainAxis:u=!0,crossAxis:a=!0}=xt(e,r),c={x:t,y:o},d=mt(i),g=oa(d);let f=c[g],h=c[d];const v=xt(l,r),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const k=g==="y"?"height":"width",w=n.reference[g]-n.floating[k]+b.mainAxis,_=n.reference[g]+n.reference[k]-b.mainAxis;f<w?f=w:f>_&&(f=_)}if(a){var p,y;const k=g==="y"?"width":"height",w=Du.has(_t(i)),_=n.reference[d]-n.floating[k]+(w&&((p=s.offset)==null?void 0:p[d])||0)+(w?0:b.crossAxis),S=n.reference[d]+n.reference[k]+(w?0:((y=s.offset)==null?void 0:y[d])||0)-(w?b.crossAxis:0);h<_?h=_:h>S&&(h=S)}return{[g]:f,[d]:h}}}},ny=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var t,o;const{placement:i,rects:n,platform:s,elements:l}=r,{apply:u=()=>{},...a}=xt(e,r),c=await Dr(r,a),d=_t(i),g=Rr(i),f=mt(i)==="y",{width:h,height:v}=n.floating;let b,p;d==="top"||d==="bottom"?(b=d,p=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=d,b=g==="end"?"top":"bottom");const y=v-c.top-c.bottom,k=h-c.left-c.right,w=tr(v-c[b],y),_=tr(h-c[p],k),S=!r.middlewareData.shift;let C=w,T=_;if((t=r.middlewareData.shift)!=null&&t.enabled.x&&(T=k),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(C=y),S&&!g){const I=et(c.left,0),G=et(c.right,0),U=et(c.top,0),B=et(c.bottom,0);f?T=h-2*(I!==0||G!==0?I+G:et(c.left,c.right)):C=v-2*(U!==0||B!==0?U+B:et(c.top,c.bottom))}await u({...r,availableWidth:T,availableHeight:C});const z=await s.getDimensions(l.floating);return h!==z.width||v!==z.height?{reset:{rects:!0}}:{}}}};function nn(){return typeof window<"u"}function Fr(e){return Fu(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function St(e){var r;return(r=(Fu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Fu(e){return nn()?e instanceof Node||e instanceof Ue(e).Node:!1}function lt(e){return nn()?e instanceof Element||e instanceof Ue(e).Element:!1}function pt(e){return nn()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function Iu(e){return!nn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}const iy=new Set(["inline","contents"]);function uo(e){const{overflow:r,overflowX:t,overflowY:o,display:i}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(r+o+t)&&!iy.has(i)}const ay=new Set(["table","td","th"]);function sy(e){return ay.has(Fr(e))}const ly=[":popover-open",":modal"];function an(e){return ly.some(r=>{try{return e.matches(r)}catch{return!1}})}const cy=["transform","translate","scale","rotate","perspective"],uy=["transform","translate","scale","rotate","perspective","filter"],dy=["paint","layout","strict","content"];function sa(e){const r=la(),t=lt(e)?ct(e):e;return cy.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!r&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!r&&(t.filter?t.filter!=="none":!1)||uy.some(o=>(t.willChange||"").includes(o))||dy.some(o=>(t.contain||"").includes(o))}function fy(e){let r=At(e);for(;pt(r)&&!Ir(r);){if(sa(r))return r;if(an(r))return null;r=At(r)}return null}function la(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hy=new Set(["html","body","#document"]);function Ir(e){return hy.has(Fr(e))}function ct(e){return Ue(e).getComputedStyle(e)}function sn(e){return lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function At(e){if(Fr(e)==="html")return e;const r=e.assignedSlot||e.parentNode||Iu(e)&&e.host||St(e);return Iu(r)?r.host:r}function Au(e){const r=At(e);return Ir(r)?e.ownerDocument?e.ownerDocument.body:e.body:pt(r)&&uo(r)?r:Au(r)}function ca(e,r,t){var o;r===void 0&&(r=[]),t===void 0&&(t=!0);const i=Au(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=Ue(i);if(n){const l=ua(s);return r.concat(s,s.visualViewport||[],uo(i)?i:[],l&&t?ca(l):[])}return r.concat(i,ca(i,[],t))}function ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ju(e){const r=ct(e);let t=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const i=pt(e),n=i?e.offsetWidth:t,s=i?e.offsetHeight:o,l=tn(t)!==n||tn(o)!==s;return l&&(t=n,o=s),{width:t,height:o,$:l}}function Ou(e){return lt(e)?e:e.contextElement}function Ar(e){const r=Ou(e);if(!pt(r))return vt(1);const t=r.getBoundingClientRect(),{width:o,height:i,$:n}=ju(r);let s=(n?tn(t.width):t.width)/o,l=(n?tn(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const gy=vt(0);function qu(e){const r=Ue(e);return!la()||!r.visualViewport?gy:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function vy(e,r,t){return r===void 0&&(r=!1),!t||r&&t!==Ue(e)?!1:r}function fo(e,r,t,o){r===void 0&&(r=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),n=Ou(e);let s=vt(1);r&&(o?lt(o)&&(s=Ar(o)):s=Ar(e));const l=vy(n,t,o)?qu(n):vt(0);let u=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(n){const g=Ue(n),f=o&&lt(o)?Ue(o):o;let h=g,v=ua(h);for(;v&&o&&f!==h;){const b=Ar(v),p=v.getBoundingClientRect(),y=ct(v),k=p.left+(v.clientLeft+parseFloat(y.paddingLeft))*b.x,w=p.top+(v.clientTop+parseFloat(y.paddingTop))*b.y;u*=b.x,a*=b.y,c*=b.x,d*=b.y,u+=k,a+=w,h=Ue(v),v=ua(h)}}return on({width:c,height:d,x:u,y:a})}function da(e,r){const t=sn(e).scrollLeft;return r?r.left+t:fo(St(e)).left+t}function Mu(e,r,t){t===void 0&&(t=!1);const o=e.getBoundingClientRect(),i=o.left+r.scrollLeft-(t?0:da(e,o)),n=o.top+r.scrollTop;return{x:i,y:n}}function my(e){let{elements:r,rect:t,offsetParent:o,strategy:i}=e;const n=i==="fixed",s=St(o),l=r?an(r.floating):!1;if(o===s||l&&n)return t;let u={scrollLeft:0,scrollTop:0},a=vt(1);const c=vt(0),d=pt(o);if((d||!d&&!n)&&((Fr(o)!=="body"||uo(s))&&(u=sn(o)),pt(o))){const f=fo(o);a=Ar(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}const g=s&&!d&&!n?Mu(s,u,!0):vt(0);return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-u.scrollLeft*a.x+c.x+g.x,y:t.y*a.y-u.scrollTop*a.y+c.y+g.y}}function py(e){return Array.from(e.getClientRects())}function by(e){const r=St(e),t=sn(e),o=e.ownerDocument.body,i=et(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),n=et(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let s=-t.scrollLeft+da(e);const l=-t.scrollTop;return ct(o).direction==="rtl"&&(s+=et(r.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:l}}function yy(e,r){const t=Ue(e),o=St(e),i=t.visualViewport;let n=o.clientWidth,s=o.clientHeight,l=0,u=0;if(i){n=i.width,s=i.height;const a=la();(!a||a&&r==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:n,height:s,x:l,y:u}}const wy=new Set(["absolute","fixed"]);function ky(e,r){const t=fo(e,!0,r==="fixed"),o=t.top+e.clientTop,i=t.left+e.clientLeft,n=pt(e)?Ar(e):vt(1),s=e.clientWidth*n.x,l=e.clientHeight*n.y,u=i*n.x,a=o*n.y;return{width:s,height:l,x:u,y:a}}function Lu(e,r,t){let o;if(r==="viewport")o=yy(e,t);else if(r==="document")o=by(St(e));else if(lt(r))o=ky(r,t);else{const i=qu(e);o={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return on(o)}function Hu(e,r){const t=At(e);return t===r||!lt(t)||Ir(t)?!1:ct(t).position==="fixed"||Hu(t,r)}function xy(e,r){const t=r.get(e);if(t)return t;let o=ca(e,[],!1).filter(l=>lt(l)&&Fr(l)!=="body"),i=null;const n=ct(e).position==="fixed";let s=n?At(e):e;for(;lt(s)&&!Ir(s);){const l=ct(s),u=sa(s);!u&&l.position==="fixed"&&(i=null),(n?!u&&!i:!u&&l.position==="static"&&!!i&&wy.has(i.position)||uo(s)&&!u&&Hu(e,s))?o=o.filter(c=>c!==s):i=l,s=At(s)}return r.set(e,o),o}function _y(e){let{element:r,boundary:t,rootBoundary:o,strategy:i}=e;const s=[...t==="clippingAncestors"?an(r)?[]:xy(r,this._c):[].concat(t),o],l=s[0],u=s.reduce((a,c)=>{const d=Lu(r,c,i);return a.top=et(d.top,a.top),a.right=tr(d.right,a.right),a.bottom=tr(d.bottom,a.bottom),a.left=et(d.left,a.left),a},Lu(r,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Sy(e){const{width:r,height:t}=ju(e);return{width:r,height:t}}function By(e,r,t){const o=pt(r),i=St(r),n=t==="fixed",s=fo(e,!0,n,r);let l={scrollLeft:0,scrollTop:0};const u=vt(0);function a(){u.x=da(i)}if(o||!o&&!n)if((Fr(r)!=="body"||uo(i))&&(l=sn(r)),o){const f=fo(r,!0,n,r);u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}else i&&a();n&&!o&&i&&a();const c=i&&!o&&!n?Mu(i,l):vt(0),d=s.left+l.scrollLeft-u.x-c.x,g=s.top+l.scrollTop-u.y-c.y;return{x:d,y:g,width:s.width,height:s.height}}function fa(e){return ct(e).position==="static"}function Wu(e,r){if(!pt(e)||ct(e).position==="fixed")return null;if(r)return r(e);let t=e.offsetParent;return St(e)===t&&(t=t.ownerDocument.body),t}function Vu(e,r){const t=Ue(e);if(an(e))return t;if(!pt(e)){let i=At(e);for(;i&&!Ir(i);){if(lt(i)&&!fa(i))return i;i=At(i)}return t}let o=Wu(e,r);for(;o&&sy(o)&&fa(o);)o=Wu(o,r);return o&&Ir(o)&&fa(o)&&!sa(o)?t:o||fy(e)||t}const Cy=async function(e){const r=this.getOffsetParent||Vu,t=this.getDimensions,o=await t(e.floating);return{reference:By(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Py(e){return ct(e).direction==="rtl"}const Ty={convertOffsetParentRelativeRectToViewportRelativeRect:my,getDocumentElement:St,getClippingRect:_y,getOffsetParent:Vu,getElementRects:Cy,getClientRects:py,getDimensions:Sy,getScale:Ar,isElement:lt,isRTL:Py},Ey=Dr,Ny=ty,zy=ry,Ry=Y1,Dy=ny,$u=J1,Fy=Q1,Gu=oy,Iy=(e,r,t)=>{const o=new Map,i={platform:Ty,...t},n={...i.platform,_c:o};return Z1(e,r,{...i,platform:n})};function Uu(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const Ay=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,jy=e=>{var r;if(e.nodeType!==1)return{};const t=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return t?t.getComputedStyle(e,null):{}},ln=e=>{const r=e&&Ay(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:t,overflowX:o,overflowY:i}=jy(r);return/(auto|scroll|overlay)/.test(t+i+o)?r:ln(r)},Oy=e=>{var r;const t=ln(e);return t?t!==((r=t.ownerDocument)===null||r===void 0?void 0:r.body):!1};function ha(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let t=ln(e);return t.nodeName==="BODY"&&(t=e==null?void 0:e.ownerDocument.documentElement),t}return r}function qy(e){if(!e)return null;for(const r in e)if(r.indexOf("__reactInternalInstance$")===0||r.indexOf("__reactFiber$")===0)return e[r];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function Ku(e,r){if(typeof e=="number")return e;const{start:t,end:o,...i}=e,n=i,s=r?"end":"start",l=r?"start":"end";return e[s]&&(n.left=e[s]),e[l]&&(n.right=e[l]),n}const My=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),Ly=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Hy=(e,r)=>{const t=e==="above"||e==="below",o=r==="top"||r==="bottom";return t&&o||!t&&!o},Xu=(e,r,t)=>{const o=Hy(r,e)?"center":e,i=r&&My(t)[r],n=o&&Ly()[o];return i&&n?`${i}-${n}`:i},Wy=()=>({top:"above",bottom:"below",right:"after",left:"before"}),Vy=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},ga=e=>{const{side:r,alignment:t}=Uu(e),o=Wy()[r],i=t&&Vy(o)[t];return{position:o,alignment:i}},$y={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function Zu(e){return e==null?{}:typeof e=="string"?$y[e]:e}function va(e,r,t){const o=m.useRef(!0),[i]=m.useState(()=>({value:e,callback:r,facade:{get current(){return i.value},set current(n){const s=i.value;if(s!==n){if(i.value=n,t&&o.current)return;i.callback(n,s)}}}}));return Re(()=>{o.current=!1},[]),i.callback=r,i.facade}function Gy(e){let r;return()=>(r||(r=new Promise(t=>{Promise.resolve().then(()=>{r=void 0,t(e())})})),r)}function Uy(e){if(e.nodeName==="BUTTON"||e.nodeName==="INPUT"||e.nodeName==="SELECT"||e.nodeName==="TEXTAREA"){var t;return!!(!((t=qy(e))===null||t===void 0)&&t.pendingProps.autoFocus)}return!1}function Ky(e){return Uy(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Xy(e){const{arrow:r,middlewareData:t}=e;if(!t.arrow||!r)return;const{x:o,y:i}=t.arrow;Object.assign(r.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:""})}function Zy(e){var r,t,o;const{container:i,placement:n,middlewareData:s,strategy:l,lowPPI:u,coordinates:a,useTransform:c=!0}=e;if(!i)return;i.setAttribute(A1,n),i.removeAttribute(_u),s.intersectionObserver.intersecting&&i.setAttribute(_u,""),i.removeAttribute(Su),!((r=s.hide)===null||r===void 0)&&r.escaped&&i.setAttribute(Su,""),i.removeAttribute(Bu),!((t=s.hide)===null||t===void 0)&&t.referenceHidden&&i.setAttribute(Bu,"");const d=((o=i.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,g=Math.round(a.x*d)/d,f=Math.round(a.y*d)/d;if(Object.assign(i.style,{position:l}),c){Object.assign(i.style,{transform:u?`translate(${g}px, ${f}px)`:`translate3d(${g}px, ${f}px, 0)`});return}Object.assign(i.style,{left:`${g}px`,top:`${f}px`})}const Qy=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function cn(e){const r=[];let t=e;for(;t;){const o=ln(t);if(e.ownerDocument.body===o){r.push(o);break}if(o.nodeName==="BODY"&&o!==e.ownerDocument.body){process.env.NODE_ENV!=="production"&&console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}r.push(o),t=o}return r}function Yy(e,r){return process.env.NODE_ENV==="test"&&(e.ResizeObserver=class{observe(){}unobserve(){}disconnect(){}}),new e.ResizeObserver(r)}function Jy(e){let r=!1;const{container:t,target:o,arrow:i,strategy:n,middleware:s,placement:l,useTransform:u=!0,disableUpdateOnResize:a=!1}=e,c=t.ownerDocument.defaultView;if(!o||!t||!c)return{updatePosition:()=>{},dispose:()=>{}};const d=a?null:Yy(c,p=>{p.every(k=>k.contentRect.width>0&&k.contentRect.height>0)&&v()});let g=!0;const f=new Set;Object.assign(t.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{r||(g&&(cn(t).forEach(p=>f.add(p)),Ye(o)&&cn(o).forEach(p=>f.add(p)),f.forEach(p=>{p.addEventListener("scroll",v,{passive:!0})}),d==null||d.observe(t),Ye(o)&&(d==null||d.observe(o)),g=!1),Object.assign(t.style,{position:n}),Iy(o,t,{placement:l,middleware:s,strategy:n}).then(({x:p,y,middlewareData:k,placement:w})=>{r||(Xy({arrow:i,middlewareData:k}),Zy({container:t,middlewareData:k,placement:w,coordinates:{x:p,y},lowPPI:((c==null?void 0:c.devicePixelRatio)||1)<=1,strategy:n,useTransform:u}),t.dispatchEvent(new CustomEvent(ta)))}).catch(p=>{process.env.NODE_ENV==="development"&&console.error("[usePositioning]: Failed to calculate position",p)}))},v=Gy(()=>h()),b=()=>{r=!0,c&&(c.removeEventListener("scroll",v),c.removeEventListener("resize",v)),f.forEach(p=>{p.removeEventListener("scroll",v)}),f.clear(),d==null||d.disconnect()};return c&&(c.addEventListener("scroll",v,{passive:!0}),c.addEventListener("resize",v)),v(),{updatePosition:v,dispose:b}}const ma="__FUIDT_CONTROLLER__",un="__FUIDT_ELEMENT_METADATA__",ew="__FUIDT_HTML_ELEMENT_REFERENCE__",Qu="__FUIDT_SERIALIZED_DATA_CHANGE__";function Yu(e,r){var t,o;const i=e;return!!(!(i==null||(t=i.ownerDocument)==null)&&t.defaultView&&i instanceof i.ownerDocument.defaultView[(o=r==null?void 0:r.constructorName)!=null?o:"HTMLElement"])}const Ju=e=>!!(Yu(e)&&un in e&&e.parentElement!==null),tw=e=>{let r=null;const t=new MutationObserver(i=>{if(r)for(const n of i)n.type==="childList"&&Array.from(n.removedNodes).includes(r)&&o.withdraw()}),o={get selectedElement(){return r},select:i=>(Ju(i)&&(r=i,t.observe(i.parentElement,{childList:!0,subtree:!1})),r&&i&&r[un].references.has(i)||o.withdraw(),r),withdraw:()=>{r=null,t.disconnect(),e.postMessage(Qu)}};return o},rw=e=>{let{defaultView:r}=e;r&&(r[ma]||(r[ma]=tw(r)))},ow=e=>{var r,t;return rw(e),(r=(t=e.defaultView)==null?void 0:t[ma])!=null?r:null},nw=(e,r)=>JSON.parse(JSON.stringify(e,(o,i)=>Yu(i)?r.add(i):typeof i=="object"&&i&&Object.getPrototypeOf(i)!==Object.prototype&&Object.getPrototypeOf(i)!==Array.prototype?"toString"in i?i.toString():void 0:i));let iw=0;const aw=()=>ew+":"+iw++,sw=()=>{const e=new Map,r=new WeakMap;return{add:o=>{if(r.has(o))return r.get(o);const i=aw();return e.set(i,o),r.set(o,i),i},get:o=>{const i=e.get(o);if(i&&r.has(i))return i},has:o=>r.has(o)}},lw=function(e,r){return e===void 0&&(e=document),r===void 0&&(r=cw),{name:"@floating-ui/devtools",fn:t=>{const{[un]:o}=Ju(t.elements.floating)?t.elements.floating:Object.assign(t.elements.floating,{[un]:{references:sw(),serializedData:[]}}),i=nw(r(t),o.references);o.serializedData.unshift(i);const n=ow(e);if(o.serializedData.length>1&&t.elements.floating===(n==null?void 0:n.selectedElement)){var s;(s=e.defaultView)==null||s.postMessage(Qu)}return{}}}},cw=e=>({...e,type:"FloatingUIMiddleware"});function uw(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:t,x:o,y:i}=e,n=Uu(r).side,s={x:o,y:i};switch(n){case"bottom":s.y-=t.reference.height;break;case"top":s.y+=t.reference.height;break;case"left":s.x+=t.reference.width;break;case"right":s.x-=t.reference.width;break}return s}}}function dw(e){const{hasScrollableElement:r,flipBoundary:t,container:o,fallbackPositions:i=[],isRtl:n}=e,s=i.reduce((l,u)=>{const{position:a,align:c}=Zu(u),d=Xu(c,a,n);return d&&l.push(d),l},[]);return Ry({...r&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:ha(o,t)},fallbackStrategy:"bestFit",...s.length&&{fallbackPlacements:s}})}function fw(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,t=await Ey(e,{altBoundary:!0}),o=t.top<r.height&&t.top>0,i=t.bottom<r.height&&t.bottom>0;return{data:{intersecting:o||i}}}}}const hw=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:t}){var o;if(!((o=r.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:n}=e;return i&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),n&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function gw(e,r){const{container:t,overflowBoundary:o,overflowBoundaryPadding:i,isRtl:n}=r;return Dy({...i&&{padding:Ku(i,n)},...o&&{altBoundary:!0,boundary:ha(t,o)},apply({availableHeight:s,availableWidth:l,elements:u,rects:a}){const c=(f,h,v)=>{if(f&&(u.floating.style.setProperty("box-sizing","border-box"),u.floating.style.setProperty(`max-${h}`,`${v}px`),a.floating[h]>v)){u.floating.style.setProperty(h,`${v}px`);const b=h==="width"?"x":"y";u.floating.style.getPropertyValue(`overflow-${b}`)||u.floating.style.setProperty(`overflow-${b}`,"auto")}},{applyMaxWidth:d,applyMaxHeight:g}=e;c(d,"width",l),c(g,"height",s)}})}function vw(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:t},placement:o})=>{const{position:i,alignment:n}=ga(o);return e({positionedRect:r,targetRect:t,position:i,alignment:n})}}function mw(e){const r=vw(e);return Ny(r)}function pw(e){const{hasScrollableElement:r,shiftToCoverTarget:t,disableTether:o,overflowBoundary:i,container:n,overflowBoundaryPadding:s,isRtl:l}=e;return zy({...r&&{boundary:"clippingAncestors"},...t&&{crossAxis:!0,limiter:Gu({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:Gu({crossAxis:o!=="all",mainAxis:!1})},...s&&{padding:Ku(s,l)},...i&&{altBoundary:!0,boundary:ha(n,i)}})}const ed="--fui-match-target-size";function bw(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:t},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(r.width===t.width||i)return{};const{width:n}=r;return o.style.setProperty(ed,`${n}px`),o.style.width||(o.style.width=`var(${ed})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}const yw=e=>r=>{const{elements:{floating:t,reference:o}}=r,i=new Set;Ye(o)&&cn(o).forEach(l=>i.add(l)),cn(t).forEach(l=>i.add(l));const n=Array.isArray(e.flipBoundary)?e.flipBoundary:Ye(e.flipBoundary)?[e.flipBoundary]:[],s=Array.isArray(e.overflowBoundary)?e.overflowBoundary:Ye(e.overflowBoundary)?[e.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:r,options:e,initialPlacement:ga(r.initialPlacement),placement:ga(r.placement),flipBoundaries:n,overflowBoundaries:s,scrollParents:Array.from(i)}};function ww(e,r){const{align:t,arrowPadding:o,autoSize:i,coverTarget:n,disableUpdateOnResize:s,flipBoundary:l,offset:u,overflowBoundary:a,pinned:c,position:d,unstable_disableTether:g,strategy:f,overflowBoundaryPadding:h,fallbackPositions:v,useTransform:b,matchTargetSize:p,shiftToCoverTarget:y}=r;return m.useCallback((k,w)=>e({container:k,arrow:w,options:{autoSize:i,disableUpdateOnResize:s,matchTargetSize:p,offset:u,strategy:f,coverTarget:n,flipBoundary:l,overflowBoundary:a,useTransform:b,overflowBoundaryPadding:h,pinned:c,arrowPadding:o,align:t,fallbackPositions:v,shiftToCoverTarget:y,position:d,unstable_disableTether:g}}),[i,s,p,u,f,n,l,a,b,h,c,o,t,v,y,d,g,e])}function kw(e){const{dir:r,targetDocument:t}=_e(),o=r==="rtl",i=ww(O1(),e),{positionFixed:n}=e;return m.useCallback((s,l)=>{const u=Oy(s),a=i(s,l),{autoSize:c,disableUpdateOnResize:d,matchTargetSize:g,offset:f,coverTarget:h,flipBoundary:v,overflowBoundary:b,useTransform:p,overflowBoundaryPadding:y,pinned:k,position:w,arrowPadding:_,strategy:S,align:C,fallbackPositions:T,shiftToCoverTarget:z,unstable_disableTether:I}=a,G=Qy(c),U=[G&&hw(G),g&&bw(),f&&mw(f),h&&uw(),!k&&dw({container:s,flipBoundary:v,hasScrollableElement:u,isRtl:o,fallbackPositions:T}),pw({container:s,hasScrollableElement:u,overflowBoundary:b,disableTether:I,overflowBoundaryPadding:y,isRtl:o,shiftToCoverTarget:z}),G&&gw(G,{container:s,overflowBoundary:b,overflowBoundaryPadding:y,isRtl:o}),fw(),l&&Fy({element:l,padding:_}),$u({strategy:"referenceHidden"}),$u({strategy:"escaped"}),process.env.NODE_ENV!=="production"&&t&&lw(t,yw(a))].filter(Boolean);return{placement:Xu(C,w,o),middleware:U,strategy:S??n?"fixed":"absolute",disableUpdateOnResize:d,useTransform:p}},[i,o,t,n])}function xw(e){"use no memo";const r=m.useRef(null),t=m.useRef(null),o=m.useRef(null),i=m.useRef(null),n=m.useRef(null),{enabled:s=!0}=e,l=kw(e),u=m.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var h;const v=(h=o.current)!==null&&h!==void 0?h:t.current;s&&Cl()&&v&&i.current&&(r.current=Jy({container:i.current,target:v,arrow:n.current,...l(i.current,n.current)}))},[s,l]),a=J(h=>{o.current=h,u()});m.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var h;return(h=r.current)===null||h===void 0?void 0:h.updatePosition()},setTarget:h=>{if(e.target&&process.env.NODE_ENV!=="production"){const v=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(v.stack)}a(h)}}),[e.target,a]),Re(()=>{var h;a((h=e.target)!==null&&h!==void 0?h:null)},[e.target,a]),Re(()=>{u()},[u]),process.env.NODE_ENV!=="production"&&m.useEffect(()=>{if(i.current){var h;const v=i.current,b=(h=v.ownerDocument)===null||h===void 0?void 0:h.createTreeWalker(v,NodeFilter.SHOW_ELEMENT,{acceptNode:Ky});for(;b.nextNode();){const p=b.currentNode;console.warn("usePositioning():",p),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
180
180
  `,'However, ".focus()" in this case occurs before any other React effects will be executed',"(React.useEffect(), componentDidMount(), etc.) and we can not prevent this behavior. If you really",'want to use "autoFocus" please add "position: fixed" to styles of the element that is wrapped by','"Popper".',`In general, it's not recommended to use "autoFocus" as it may break accessibility aspects:`,"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md",`
181
- `,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);const c=va(null,h=>{t.current!==h&&(t.current=h,u())}),d=J(()=>{var h;return(h=e.onPositioningEnd)===null||h===void 0?void 0:h.call(e)}),g=va(null,h=>{if(i.current!==h){var v;(v=i.current)===null||v===void 0||v.removeEventListener(ta,d),h==null||h.addEventListener(ta,d),i.current=h,u()}}),f=va(null,h=>{n.current!==h&&(n.current=h,u())});return{targetRef:c,containerRef:g,arrowRef:f}}function Ju(e){return Ye(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const yw=O({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),ed=m.useInsertionEffect,ww=e=>{"use no memo";const{className:r,dir:t,focusVisibleRef:o,targetNode:i}=e,n=m.useMemo(()=>{if(i===void 0||e.disabled)return null;const s=i.ownerDocument.createElement("div");return i.appendChild(s),s},[i,e.disabled]);return m.useMemo(()=>{n&&(n.className=r,n.setAttribute("dir",t),n.setAttribute("data-portal-node","true"),o.current=n)},[r,t,n,o]),m.useEffect(()=>()=>{n==null||n.remove()},[n]),n},kw=()=>{let e;function r(o,i){return e||(i&&(e=o.ownerDocument.createElement("div"),o.appendChild(e)),e)}function t(){e&&(e.remove(),e=void 0)}return{get:r,dispose:t}},xw=ed?e=>{"use no memo";const{className:r,dir:t,focusVisibleRef:o,targetNode:i}=e,[n]=m.useState(kw),s=m.useMemo(()=>i===void 0||e.disabled?null:new Proxy({},{get(l,u){if(u==="nodeType")return Node.ELEMENT_NODE;if(u==="remove"){const d=n.get(i,!1);return d&&d.childNodes.length===0&&n.dispose(),()=>{}}const a=n.get(i,!0),c=a?a[u]:void 0;return typeof c=="function"?c.bind(a):c},set(l,u,a){const c=u==="_virtual"||u==="focusVisible",d=c?n.get(i,!1):n.get(i,!0);return c&&!d?!0:d?(Object.assign(d,{[u]:a}),!0):!1}}),[n,i,e.disabled]);return ed(()=>{if(!s)return;const l=r.split(" ").filter(Boolean);return s.classList.add(...l),s.setAttribute("dir",t),s.setAttribute("data-portal-node","true"),o.current=s,()=>{s.classList.remove(...l),s.removeAttribute("dir")}},[r,t,s,o]),m.useEffect(()=>()=>{s==null||s.remove()},[s]),s}:ww,_w=e=>{"use no memo";const{targetDocument:r,dir:t}=_e(),o=_m(),i=hc(),n=yw(),s=ym(),l={dir:t,disabled:e.disabled,focusVisibleRef:i,className:E(s,n.root,e.className),targetNode:o??(r==null?void 0:r.body)};return xw(l)},Sw=e=>{const{element:r,className:t}=Ju(e.mountNode),o=m.useRef(null),i=_w({disabled:!!r,className:t}),n=r??i,s={children:e.children,mountNode:n,virtualParentRootRef:o};return m.useEffect(()=>{if(!n)return;const l=o.current,u=n.contains(l);if(l&&!u)return zl(n,l),()=>{zl(n,void 0)}},[o,n]),s},Bw=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Rn.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),pa=e=>{const r=Sw(e);return Bw(r)};pa.displayName="Portal";const Cw=e=>{ie(e);const{iconOnly:r,iconPosition:t}=e;return we(e.root,{children:[t!=="after"&&e.icon&&A(e.icon,{}),!r&&e.root.children,t==="after"&&e.icon&&A(e.icon,{})]})},td=m.createContext(void 0),Pw={};td.Provider;const Tw=()=>{var e;return(e=m.useContext(td))!==null&&e!==void 0?e:Pw},Ew=(e,r)=>{const{size:t}=Tw(),{appearance:o="secondary",as:i="button",disabled:n=!1,disabledFocusable:s=!1,icon:l,iconPosition:u="before",shape:a="rounded",size:c=t??"medium"}=e,d=te(l,{elementType:"span"});return{appearance:o,disabled:n,disabledFocusable:s,iconPosition:u,shape:a,size:c,iconOnly:!!(d!=null&&d.children&&!e.children),components:{root:"button",icon:"span"},root:re(ve(i,Bc(e.as,e)),{elementType:"button",defaultProps:{ref:r,type:i==="button"?"button":void 0}}),icon:d}},rd={root:"fui-Button",icon:"fui-Button__icon"},Nw=ce("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),zw=ce("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),Rw=O({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),Dw=O({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Fw=O({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Iw=O({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),Aw=O({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),jw=e=>{"use no memo";const r=Nw(),t=zw(),o=Rw(),i=Dw(),n=Fw(),s=Iw(),l=Aw(),{appearance:u,disabled:a,disabledFocusable:c,icon:d,iconOnly:g,iconPosition:f,shape:h,size:v}=e;return e.root.className=E(rd.root,r,u&&o[u],o[v],d&&v==="small"&&o.smallWithIcon,d&&v==="large"&&o.largeWithIcon,o[h],(a||c)&&i.base,(a||c)&&i.highContrast,u&&(a||c)&&i[u],u==="primary"&&n.primary,n[v],n[h],g&&s[v],e.root.className),e.icon&&(e.icon.className=E(rd.icon,t,!!e.root.children&&l[f],l[v],e.icon.className)),e},ut=m.forwardRef((e,r)=>{const t=Ew(e,r);return jw(t),le("useButtonStyles_unstable")(t),Cw(t)});ut.displayName="Button";const od=m.createContext(void 0),Ow=od.Provider,nd=()=>m.useContext(od),qw=e=>{var r,t,o,i;const{generatedControlId:n,orientation:s,required:l,size:u,validationState:a}=e,c=(r=e.label)===null||r===void 0?void 0:r.htmlFor,d=(t=e.label)===null||t===void 0?void 0:t.id,g=(o=e.validationMessage)===null||o===void 0?void 0:o.id,f=(i=e.hint)===null||i===void 0?void 0:i.id;return{field:m.useMemo(()=>({generatedControlId:n,hintId:f,labelFor:c,labelId:d,orientation:s,required:l,size:u,validationMessageId:g,validationState:a}),[n,f,c,d,s,l,u,g,a])}};function dn(e,r){return id(nd(),e,r)}function id(e,r,t){if(!e)return r;r={...r};const{generatedControlId:o,hintId:i,labelFor:n,labelId:s,required:l,validationMessageId:u,validationState:a}=e;if(o){var c,d;(d=(c=r).id)!==null&&d!==void 0||(c.id=o)}if(s&&(!(t!=null&&t.supportsLabelFor)||n!==r.id)){var g,f,h;(h=(g=r)[f="aria-labelledby"])!==null&&h!==void 0||(g[f]=s)}if((u||i)&&(r["aria-describedby"]=[u,i,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),a==="error"){var v,b,p;(p=(v=r)[b="aria-invalid"])!==null&&p!==void 0||(v[b]=!0)}if(l)if(t!=null&&t.supportsRequired){var y,k;(k=(y=r).required)!==null&&k!==void 0||(y.required=!0)}else{var w,_,S;(S=(w=r)[_="aria-required"])!==null&&S!==void 0||(w[_]=!0)}if(t!=null&&t.supportsSize){var C,T;(T=(C=r).size)!==null&&T!==void 0||(C.size=e.size)}return r}const Mw=(e,r)=>{ie(e);let{children:t}=e;return typeof t=="function"&&(t=t(id(r.field)||{})),A(Ow,{value:r==null?void 0:r.field,children:we(e.root,{children:[e.label&&A(e.label,{}),t,e.validationMessage&&we(e.validationMessage,{children:[e.validationMessageIcon&&A(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&A(e.hint,{})]})})},Lw=(e,r)=>{const{disabled:t=!1,required:o=!1,weight:i="regular",size:n="medium"}=e;return{disabled:t,required:te(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:n,components:{root:"label",required:"span"},root:re(ve("label",{ref:r,...e}),{elementType:"label"})}},Hw=e=>(ie(e),we(e.root,{children:[e.root.children,e.required&&A(e.required,{})]})),ad={root:"fui-Label",required:"fui-Label__required"},Ww=O({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vw=e=>{"use no memo";const r=Ww();return e.root.className=E(ad.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=E(ad.required,r.required,e.disabled&&r.disabled,e.required.className)),e},Bt=m.forwardRef((e,r)=>{const t=Lw(e,r);return Vw(t),le("useLabelStyles_unstable")(t),Hw(t)});Bt.displayName="Label";const $w={error:m.createElement(u0,null),warning:m.createElement(F0,null),success:m.createElement(a0,null),none:void 0},Gw=(e,r)=>{const{children:t,orientation:o="vertical",required:i=!1,validationState:n=e.validationMessage?"error":"none",size:s="medium"}=e,l=Qe("field-"),u=l+"__control",a=re(ve("div",{...e,ref:r},["children"]),{elementType:"div"}),c=te(e.label,{defaultProps:{htmlFor:u,id:l+"__label",required:i,size:s},elementType:Bt}),d=te(e.validationMessage,{defaultProps:{id:l+"__validationMessage",role:n==="error"||n==="warning"?"alert":void 0},elementType:"div"}),g=te(e.hint,{defaultProps:{id:l+"__hint"},elementType:"div"}),f=$w[n],h=te(e.validationMessageIcon,{renderByDefault:!!f,defaultProps:{children:f},elementType:"span"});return{children:t,generatedControlId:u,orientation:o,required:i,size:s,validationState:n,components:{root:"div",label:Bt,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:a,label:c,validationMessageIcon:h,validationMessage:d,hint:g}},ho={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},Uw=O({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),Kw=O({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Xw=ce("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),Zw=O({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),Qw=ce("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),Yw=O({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Jw=e=>{"use no memo";const{validationState:r,size:t}=e,o=e.orientation==="horizontal",i=Uw();e.root.className=E(ho.root,i.base,o&&i.horizontal,o&&!e.label&&i.horizontalNoLabel,e.root.className);const n=Kw();e.label&&(e.label.className=E(ho.label,o&&n.horizontal,o&&t==="small"&&n.horizontalSmall,o&&t==="large"&&n.horizontalLarge,!o&&n.vertical,!o&&t==="large"&&n.verticalLarge,e.label.className));const s=Qw(),l=Yw();e.validationMessageIcon&&(e.validationMessageIcon.className=E(ho.validationMessageIcon,s,r!=="none"&&l[r],e.validationMessageIcon.className));const u=Xw(),a=Zw();return e.validationMessage&&(e.validationMessage.className=E(ho.validationMessage,u,r==="error"&&a.error,!!e.validationMessageIcon&&a.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=E(ho.hint,u,e.hint.className)),e},ba=m.forwardRef((e,r)=>{const t=Gw(e,r);Jw(t),le("useFieldStyles_unstable")(t);const o=qw(t);return Mw(t,o)});ba.displayName="Field";const ek=(e,r)=>{"use no memo";e=dn(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:t=!1,required:o,shape:i="square",size:n="medium",labelPosition:s="after",onChange:l}=e,[u,a]=yt({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),c=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),d=u==="mixed",g=Qe("checkbox-",c.primary.id);let f;d?i==="circular"?f=m.createElement(t0,null):f=n==="large"?m.createElement(D0,null):m.createElement(R0,null):u&&(f=n==="large"?m.createElement(i0,null):m.createElement(Fc,null));const h={shape:i,checked:u,disabled:t,size:n,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:Bt},root:re(e.root,{defaultProps:{ref:Er(),...c.root},elementType:"span"}),input:re(e.input,{defaultProps:{type:"checkbox",id:g,ref:r,checked:u===!0,...c.primary},elementType:"input"}),label:te(e.label,{defaultProps:{htmlFor:g,disabled:t,required:o,size:"medium"},elementType:Bt}),indicator:te(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:f},elementType:"div"})};h.input.onChange=J(b=>{const p=b.currentTarget.indeterminate?"mixed":b.currentTarget.checked;l==null||l(b,{checked:p}),a(p)});const v=Fe(h.input.ref);return h.input.ref=v,Re(()=>{v.current&&(v.current.indeterminate=d)},[v,d]),h},tk=e=>(ie(e),we(e.root,{children:[A(e.input,{}),e.labelPosition==="before"&&e.label&&A(e.label,{}),e.indicator&&A(e.indicator,{}),e.labelPosition==="after"&&e.label&&A(e.label,{})]})),fn={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},rk=ce("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),ok=O({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),nk=ce("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),ik=O({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),ak=ce("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),sk=O({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),lk=O({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),ck=e=>{"use no memo";const{checked:r,disabled:t,labelPosition:o,shape:i,size:n}=e,s=rk(),l=ok();e.root.className=E(fn.root,s,t?l.disabled:r==="mixed"?l.mixed:r?l.checked:l.unchecked,e.root.className);const u=nk(),a=ik();e.input.className=E(fn.input,u,n==="large"&&a.large,a[o],e.input.className);const c=ak(),d=sk();e.indicator&&(e.indicator.className=E(fn.indicator,c,n==="large"&&d.large,i==="circular"&&d.circular,e.indicator.className));const g=lk();return e.label&&(e.label.className=E(fn.label,g.base,g[n],g[o],e.label.className)),e},ya=m.forwardRef((e,r)=>{const t=ek(e,r);return ck(t),le("useCheckboxStyles_unstable")(t),tk(t)});ya.displayName="Checkbox";const sd=Yo({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});sd.Provider;const uk={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},go=Yo(void 0),Ke=e=>Gi(go,(r=uk)=>e(r)),dk=go.Provider;function fk(e){const{appearance:r,open:t,getOptionById:o,getOptionsMatchingValue:i,registerOption:n,selectedOptions:s,selectOption:l,setOpen:u,size:a,activeDescendantController:c,onOptionClick:d,onActiveDescendantChange:g}=e,f={activeOption:void 0,appearance:r,focusVisible:!1,open:t,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:()=>null,setOpen:u,size:a},h={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:i,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:g},v=m.useMemo(()=>({controller:c}),[c]);return{combobox:f,activeDescendant:v,listbox:h}}function hk(e){const r=Ui(go),{getOptionById:t,getOptionsMatchingValue:o,multiselect:i,registerOption:n,selectedOptions:s,selectOption:l,activeDescendantController:u}=e,a=Ke(v=>v.registerOption),c=Ke(v=>v.onOptionClick),d=Ke(v=>v.onActiveDescendantChange),f={activeOption:void 0,focusVisible:!1,getOptionById:t,getOptionsMatchingValue:o,multiselect:i,registerOption:r?a:n,selectedOptions:s,selectOption:l,setActiveOption:()=>{},onOptionClick:c,onActiveDescendantChange:d},h=m.useMemo(()=>({controller:u}),[u]);return{listbox:f,activeDescendant:h}}function hn(e,r={}){const{open:t=!0,multiselect:o=!1}=r,i=e.key,{altKey:n,ctrlKey:s,key:l,metaKey:u}=e;return l.length===1&&i!==gt&&!n&&!s&&!u?"Type":t?i===Jo&&n||i===er||!o&&i===gt?"CloseSelect":o&&i===gt?"Select":i===Zi?"Close":i===Ki?"Next":i===Jo?"Previous":i===Sc?"First":i===_c?"Last":i===Hb?"PageUp":i===Lb?"PageDown":i===Mb?"Tab":"None":i===Ki||i===Jo||i===er||i===gt?"Open":"None"}const ld=()=>{const e=m.useRef(new Map),r=m.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:a=>e.current.get(a),getOptionsMatchingText:a=>Array.from(e.current.values()).filter(({text:c})=>a(c)),getOptionsMatchingValue:a=>{const c=[];for(const d of e.current.values())a(d.value)&&c.push(d);return c}}),[]),t=m.useCallback(o=>(e.current.set(o.id,o),()=>e.current.delete(o.id)),[]);return{...r,options:Array.from(e.current.values()),registerOption:t}},cd=e=>{const{defaultSelectedOptions:r,multiselect:t,onOptionSelect:o}=e,[i,n]=yt({state:e.selectedOptions,defaultState:r,initialState:[]}),s=m.useCallback((u,a)=>{if(a.disabled)return;let c=[a.value];if(t){const d=i.findIndex(g=>g===a.value);d>-1?c=[...i.slice(0,d),...i.slice(d+1)]:c=[...i,a.value]}n(c),o==null||o(u,{optionValue:a.value,optionText:a.text,selectedOptions:c})},[o,t,i,n]);return{clearSelection:u=>{n([]),o==null||o(u,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s,selectedOptions:i}},gn={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},gk=O({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),vk=e=>{"use no memo";const{disabled:r,multiselect:t,selected:o}=e,i=gk();return e.root.className=E(gn.root,i.root,i.active,r&&i.disabled,o&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=E(gn.checkIcon,i.checkIcon,t&&i.multiselectCheck,o&&i.selectedCheck,o&&t&&i.selectedMultiselectCheck,r&&i.checkDisabled,r&&t&&i.multiselectCheckDisabled,e.checkIcon.className)),e},ud={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},mk=(e,r)=>{"use no memo";const{multiselect:t,disableAutoFocus:o=!1}=e,i=ld(),{listboxRef:n,activeParentRef:s,controller:l}=Rc({matchOption:j=>j.classList.contains(gn.root)}),u=Ui(go),a=Ke(j=>j.onActiveDescendantChange),c=Ke(j=>j.getOptionById),d=Ke(j=>j.getOptionsMatchingValue),g=u?c:i.getOptionById,f=u?d:i.getOptionsMatchingValue,h=m.useMemo(()=>{let j=null;const V=X=>{const Z=X;a==null||a(Z)};return X=>{if(!X){j==null||j.removeEventListener("activedescendantchange",V);return}j=X,j.addEventListener("activedescendantchange",V)}},[a]),[v,b]=m.useState(!1);pc(b);const p=Pc(),y=Vb(),k=y?p.controller:l,{clearSelection:w,selectedOptions:_,selectOption:S}=cd(e),C=j=>{const V=hn(j,{open:!0}),X=k.active(),Z=X?g(X):null;switch(V){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":j.preventDefault();break}switch(V){case"Next":Z?k.next():k.first();break;case"Previous":Z?k.prev():k.first();break;case"PageUp":case"First":k.first();break;case"PageDown":case"Last":k.last();break;case"Select":case"CloseSelect":Z&&S(j,Z);break}},T=Ke(j=>j.selectedOptions),z=Ke(j=>j.selectOption),I=u?{selectedOptions:T,selectOption:z,...ud}:{selectedOptions:_,selectOption:S,...ud};m.useEffect(()=>{if(!y){if(k.hideFocusVisibleAttributes(),!o)if(!t&&I.selectedOptions.length>0){const j=f(V=>V===I.selectedOptions[0]).pop();j!=null&&j.id&&k.focus(j.id)}else k.first();return()=>{k.blur()}}},[]);const G=m.useCallback(()=>{y||(k.showFocusVisibleAttributes(),v&&k.scrollActiveIntoView())},[k,y,v]),U=m.useCallback(()=>{y||k.hideFocusVisibleAttributes()},[k,y]),B={components:{root:"div"},root:re(ve("div",{ref:Fe(r,s,n,h),role:t?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!u,multiselect:t,clearSelection:w,activeDescendantController:k,onActiveDescendantChange:a,...i,...I};return B.root.onKeyDown=J(Ee(B.root.onKeyDown,C)),B.root.onFocus=J(Ee(B.root.onFocus,G)),B.root.onBlur=J(Ee(B.root.onBlur,U)),B},pk=(e,r)=>(ie(e),A(Cc,{value:r.activeDescendant,children:A(go.Provider,{value:r.listbox,children:A(e.root,{})})})),bk={root:"fui-Listbox"},yk=O({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),wk=e=>{"use no memo";const r=yk();return e.root.className=E(bk.root,r.root,e.root.className),e},wa=m.forwardRef((e,r)=>{const t=mk(e,r),o=hk(t);return wk(t),le("useListboxStyles_unstable")(t),pk(t,o)});wa.displayName="Listbox";function kk(e,r){if(e!==void 0)return e;let t="",o=!1;return m.Children.forEach(r,i=>{typeof i=="string"?t+=i:o=!0}),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),t}const xk=(e,r)=>{const{children:t,disabled:o,text:i,value:n}=e,s=m.useRef(null),l=kk(i,t),u=n??l,a=Qe("fluent-option",e.id),c=m.useMemo(()=>({id:a,disabled:o,text:l,value:u}),[a,o,l,u]),{controller:d}=Pc(),g=Ke(w=>w.multiselect),f=Ke(w=>w.registerOption),h=Ke(w=>{const _=w.selectedOptions;return u!==void 0&&_.find(S=>S===u)!==void 0}),v=Ke(w=>w.selectOption),b=Ke(w=>w.onOptionClick);let p=m.createElement(Jb,null);g&&(p=h?m.createElement(Fc,null):"");const y=w=>{var _;if(o){w.preventDefault();return}d.focus(a),v(w,c),b(w),(_=e.onClick)===null||_===void 0||_.call(e,w)};m.useEffect(()=>{if(a&&s.current)return f(c,s.current)},[a,c,f]);const k=g?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:re(ve("div",{ref:Fe(r,s),"aria-disabled":o?"true":void 0,id:a,...k,...e,onClick:y}),{elementType:"div"}),checkIcon:te(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:p},elementType:"span"}),disabled:o,multiselect:g,selected:h,focusVisible:!1,active:!1}},_k=e=>(ie(e),we(e.root,{children:[e.checkIcon&&A(e.checkIcon,{}),e.root.children]})),dd=m.forwardRef((e,r)=>{const t=xk(e,r);return vk(t),le("useOptionStyles_unstable")(t),_k(t)});dd.displayName="Option";const Sk=e=>{"use no memo";const{appearance:r="outline",disableAutoFocus:t,children:o,clearable:i=!1,editable:n=!1,inlinePopup:s=!1,mountNode:l=void 0,multiselect:u,onOpenChange:a,size:c="medium",activeDescendantController:d,freeform:g=!1,disabled:f=!1,onActiveOptionChange:h=null}=e,v=ld(),{getOptionsMatchingValue:b}=v,{getOptionById:p}=v,y=m.useCallback(()=>{const L=d.active();return L?p(L):void 0},[d,p]),k=y(),w=m.useCallback(L=>{let oe;if(typeof L=="function"){const be=y();oe=L(be)}oe?d.focus(oe.id):d.blur()},[d,y]),[_,S]=m.useState(!1),[C,T]=m.useState(!1),z=m.useRef(!1),I=Bl(),[G,U]=yt({state:e.value,initialState:void 0}),{selectedOptions:B,selectOption:j,clearSelection:V}=cd(e),X=m.useCallback((L,oe)=>{Rn.unstable_batchedUpdates(()=>{U(void 0),j(L,oe)})},[U,j]),Z=m.useMemo(()=>{if(G!==void 0)return G;if(I&&e.defaultValue!==void 0)return e.defaultValue;const L=b(oe=>B.includes(oe)).map(oe=>oe.text);return u?n?"":L.join(", "):L[0]},[G,n,b,u,B]),[R,q]=yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),W=m.useCallback((L,oe)=>{f||(a==null||a(L,{open:oe}),Rn.unstable_batchedUpdates(()=>{!oe&&!g&&U(void 0),q(oe)}))},[a,q,U,g,f]);m.useEffect(()=>{if(R){if(!u&&B.length>0){const L=b(oe=>oe===B[0]).pop();L!=null&&L.id&&d.focus(L.id)}}else d.blur()},[R,d]),m.useEffect(()=>{R&&!t&&!d.active()&&d.first()},[R,o,t,d,p]);const ne=J(L=>{const oe=L.detail.previousId?v.getOptionById(L.detail.previousId):null,be=v.getOptionById(L.detail.id);h==null||h(L,{event:L,type:"change",previousOption:oe,nextOption:be})});return{...v,freeform:g,disabled:f,selectOption:X,clearSelection:V,selectedOptions:B,activeOption:k,appearance:r,clearable:i,focusVisible:_,ignoreNextBlur:z,inlinePopup:s,mountNode:l,open:R,hasFocus:C,setActiveOption:w,setFocusVisible:S,setHasFocus:T,setOpen:W,setValue:U,size:c,value:Z,multiselect:u,onOptionClick:J(L=>{u||W(L,!1)}),onActiveDescendantChange:ne}};function Bk(e){const{positioning:r}=e,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Ku(r)},{targetRef:i,containerRef:n}=bw(o);return[n,i]}function Ck(e,r,t){const{state:{multiselect:o},triggerRef:i,defaultProps:n}=t,s=Qe("fluent-listbox",gl(e)?e.id:void 0),l=te(e,{renderByDefault:!0,elementType:wa,defaultProps:{id:s,multiselect:o,tabIndex:void 0,...n}}),u=dn({id:s},{supportsLabelFor:!0});l&&!l["aria-label"]&&!l["aria-labelledby"]&&u["aria-labelledby"]&&(l["aria-labelledby"]=u["aria-labelledby"]);const a=J(Ee(g=>{g.preventDefault()},l==null?void 0:l.onMouseDown)),c=J(Ee(g=>{var f;g.preventDefault(),(f=i.current)===null||f===void 0||f.focus()},l==null?void 0:l.onClick)),d=Fe(l==null?void 0:l.ref,r);return l&&(l.ref=d,l.onMouseDown=a,l.onClick=c),l}function Pk(e,r,t){const{state:{open:o,setOpen:i,setHasFocus:n},defaultProps:s,elementType:l,activeDescendantController:u}=t,a=re(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof s=="object"&&s},elementType:l}),c=m.useRef(null);return a.ref=Fe(c,a.ref,r),a.onBlur=Ee(d=>{i(d,!1),n(!1)},a.onBlur),a.onFocus=Ee(d=>{d.target===d.currentTarget&&n(!0)},a.onFocus),a.onClick=Ee(d=>{i(d,!o)},a.onClick),a.onKeyDown=Ee(Tk({activeDescendantController:u,...t.state}),a.onKeyDown),a}function Tk(e){const{activeDescendantController:r,getOptionById:t,setOpen:o,selectOption:i,multiselect:n,open:s}=e,l=m.useCallback(()=>{const v=r.active();return v?t(v):void 0},[r,t]),u=()=>{r.first()},a=()=>{r.last()},c=v=>{v?r.next():r.first()},d=v=>{v?r.prev():r.first()},g=()=>{for(let v=0;v<10;v++)r.prev()},f=()=>{for(let v=0;v<10;v++)r.next()},h=Ib();return J(v=>{const b=hn(v,{open:s,multiselect:n}),p=l();switch(b){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":v.preventDefault();break}switch(h(!0),b){case"First":u();break;case"Last":a();break;case"Next":c(p);break;case"Previous":d(p);break;case"PageDown":f();break;case"PageUp":g();break;case"Open":o(v,!0);break;case"Close":v.stopPropagation(),o(v,!1);break;case"CloseSelect":!n&&!(p!=null&&p.disabled)&&o(v,!1);case"Select":p&&i(v,p);break;case"Tab":!n&&p&&i(v,p);break}})}function Ek(e,r,t){"use no memo";const{state:{open:o,value:i,selectOption:n,setValue:s,multiselect:l,selectedOptions:u,clearSelection:a,getOptionById:c,setOpen:d},freeform:g,defaultProps:f,activeDescendantController:h}=t,v=T=>{if(!o&&!g){const z=h.active(),I=z?c(z):null;i&&I&&i.trim().toLowerCase()===(I==null?void 0:I.text.toLowerCase())&&n(T,I),s(void 0)}},b=T=>{const z=T==null?void 0:T.trim().toLowerCase();if(!z||z.length===0){h.blur();return}const I=U=>U.toLowerCase().indexOf(z)===0,G=h.find(U=>{const B=c(U);return!!B&&I(B.text)});if(!G){h.blur();return}return c(G)},p=T=>{const z=T.target.value;s(z);const I=b(z);!l&&u.length===1&&(z.length<1||!I)&&a(T)},y=Pk(e,r,{state:t.state,defaultProps:f,elementType:"input",activeDescendantController:h});y.onChange=Ee(y.onChange,p),y.onBlur=Ee(y.onBlur,v);const[k,w]=m.useState(!1),_=m.useRef(!1),S=y.onKeyDown,C=J(T=>{!o&&hn(T)==="Type"&&d(T,!0),T.key===xc||T.key===Xi?w(!0):w(!1);const z=hn(T,{open:o,multiselect:l});if(z==="Type"?_.current=!0:(z==="Open"&&T.key!==" "||z==="Next"||z==="Previous"||z==="First"||z==="Last"||z==="PageUp"||z==="PageDown")&&(_.current=!1),(_.current||!o)&&T.key===" "){var I;e==null||(I=e.onKeyDown)===null||I===void 0||I.call(e,T);return}S==null||S(T)});return y.onKeyDown=C,k&&(y["aria-activedescendant"]=void 0),y}const Nk=(e,r)=>{"use no memo";var t,o;e=dn(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:n,controller:s}=Rc({matchOption:L=>L.classList.contains(gn.root)}),l=Sk({...e,editable:!0,activeDescendantController:s}),{clearable:u,clearSelection:a,disabled:c,multiselect:d,open:g,selectedOptions:f,setOpen:h,value:v,hasFocus:b}=l,[p,y]=Bk(e),{disableAutoFocus:k=!1,freeform:w,inlinePopup:_}=e,S=Qe("combobox-"),{primary:C,root:T}=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),z=m.useRef(null),I=Ck(e.listbox,Fe(p,i),{state:l,triggerRef:z,defaultProps:{children:e.children,disableAutoFocus:k}});var G;const U=Ek((G=e.input)!==null&&G!==void 0?G:{},Fe(z,n,r),{state:l,freeform:w,defaultProps:{type:"text",value:v??"","aria-controls":g?I==null?void 0:I.id:void 0,...C},activeDescendantController:s}),B=re(e.root,{defaultProps:{"aria-owns":!_&&g?I==null?void 0:I.id:void 0,...T},elementType:"div"});B.ref=Fe(B.ref,y);const j=f.length>0&&!c&&u&&!d,V={components:{root:"div",input:"input",expandIcon:"span",listbox:wa,clearIcon:"span"},root:B,input:U,listbox:g||b?I:void 0,clearIcon:te(e.clearIcon,{defaultProps:{"aria-hidden":"true",children:m.createElement(Dc,null)},elementType:"span",renderByDefault:!0}),expandIcon:te(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":c?"true":void 0,"aria-expanded":g,children:m.createElement(e0,null),role:"button"},elementType:"span"}),showClearIcon:j,activeDescendantController:s,...l},{targetDocument:X}=_e();Fm({element:X,callback:L=>h(L,!1),refs:[z,p,y],disabled:!g});const{onMouseDown:Z}=V.expandIcon||{},R=J(Ee(Z,L=>{var oe;L.preventDefault(),V.setOpen(L,!V.open),(oe=z.current)===null||oe===void 0||oe.focus()}));if(V.expandIcon){V.expandIcon.onMouseDown=R;const L=V.expandIcon["aria-label"]||V.expandIcon["aria-labelledby"],oe="Open";if(!L)if(e["aria-labelledby"]){var q;const be=(q=V.expandIcon.id)!==null&&q!==void 0?q:`${S}-chevron`,dt=`${be} ${V.input["aria-labelledby"]}`;V.expandIcon["aria-label"]=oe,V.expandIcon.id=be,V.expandIcon["aria-labelledby"]=dt}else e["aria-label"]?V.expandIcon["aria-label"]=`${oe} ${e["aria-label"]}`:V.expandIcon["aria-label"]=oe}const W=J(Ee((t=V.clearIcon)===null||t===void 0?void 0:t.onMouseDown,L=>{L.preventDefault()})),ne=J(Ee((o=V.clearIcon)===null||o===void 0?void 0:o.onClick,L=>{a(L)}));return V.clearIcon&&(V.clearIcon.onMouseDown=W,V.clearIcon.onClick=ne),d&&(V.clearIcon=void 0),process.env.NODE_ENV!=="production"&&m.useEffect(()=>{u&&d&&console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[u,d]),V},zk=(e,r)=>(ie(e),A(e.root,{children:A(Cc,{value:r.activeDescendant,children:A(dk,{value:r.listbox,children:we(sd.Provider,{value:r.combobox,children:[A(e.input,{}),e.clearIcon&&A(e.clearIcon,{}),e.expandIcon&&A(e.expandIcon,{}),e.listbox&&(e.inlinePopup?A(e.listbox,{}):A(pa,{mountNode:e.mountNode,children:A(e.listbox,{})}))]})})})})),vo={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},Rk=O({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Dk=O({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),Fk=O({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),Ik=e=>{"use no memo";const{appearance:r,open:t,size:o,showClearIcon:i}=e,n=`${e.input["aria-invalid"]}`=="true",s=e.input.disabled,l=Rk(),u=Fk(),a=Dk();return e.root.className=E(vo.root,l.root,l[r],l[o],!s&&r==="outline"&&l.outlineInteractive,n&&r!=="underline"&&l.invalid,n&&r==="underline"&&l.invalidUnderline,s&&l.disabled,e.root.className),e.input.className=E(vo.input,a.input,a[o],s&&a.disabled,e.input.className),e.listbox&&(e.listbox.className=E(vo.listbox,l.listbox,e.inlinePopup&&l.inlineListbox,!t&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=E(vo.expandIcon,u.icon,u[o],s&&u.disabled,i&&u.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=E(vo.clearIcon,u.icon,u[o],s&&u.disabled,!i&&u.hidden,e.clearIcon.className)),e},fd=m.forwardRef((e,r)=>{const t=Nk(e,r),o=fk(t);return Ik(t),le("useComboboxStyles_unstable")(t),zk(t,o)});fd.displayName="Combobox";const Ak=(e,r)=>{e=dn(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const t=km();var o;const{size:i="medium",appearance:n=(o=t.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:s}=e;process.env.NODE_ENV!=="production"&&(n==="filled-darker-shadow"||n==="filled-lighter-shadow")&&console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");const[l,u]=yt({state:e.value,defaultState:e.defaultValue,initialState:""}),a=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),c={size:i,appearance:n,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:re(e.input,{defaultProps:{type:"text",ref:r,...a.primary},elementType:"input"}),contentAfter:te(e.contentAfter,{elementType:"span"}),contentBefore:te(e.contentBefore,{elementType:"span"}),root:re(e.root,{defaultProps:a.root,elementType:"span"})};return c.input.value=l,c.input.onChange=J(d=>{const g=d.target.value;s==null||s(d,{value:g}),u(g)}),c},jk=e=>(ie(e),we(e.root,{children:[e.contentBefore&&A(e.contentBefore,{}),A(e.input,{}),e.contentAfter&&A(e.contentAfter,{})]})),vn={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},Ok=ce("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),qk=O({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),Mk=ce("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Lk=O({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Hk=ce("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),Wk=O({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),Vk=e=>{"use no memo";const{size:r,appearance:t}=e,o=e.input.disabled,i=`${e.input["aria-invalid"]}`=="true",n=t.startsWith("filled"),s=qk(),l=Lk(),u=Wk();e.root.className=E(vn.root,Ok(),s[r],e.contentBefore&&s[`${r}WithContentBefore`],e.contentAfter&&s[`${r}WithContentAfter`],s[t],!o&&t==="outline"&&s.outlineInteractive,!o&&t==="underline"&&s.underlineInteractive,!o&&n&&s.filledInteractive,n&&s.filled,!o&&i&&s.invalid,o&&s.disabled,e.root.className),e.input.className=E(vn.input,Mk(),l[r],e.contentBefore&&l[`${r}WithContentBefore`],e.contentAfter&&l[`${r}WithContentAfter`],o&&l.disabled,e.input.className);const a=[Hk(),o&&u.disabled,u[r]];return e.contentBefore&&(e.contentBefore.className=E(vn.contentBefore,...a,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=E(vn.contentAfter,...a,e.contentAfter.className)),e},mn=m.forwardRef((e,r)=>{const t=Ak(e,r);return Vk(t),le("useInputStyles_unstable")(t),jk(t)});mn.displayName="Input";const $k=e=>{const{presenceOnly:r,textPosition:t}=e;ie(e);const o=r?e.presence&&A(e.presence,{}):e.avatar&&A(e.avatar,{});return we(e.root,{children:[(t==="after"||t==="below")&&o,e.primaryText&&A(e.primaryText,{}),e.secondaryText&&A(e.secondaryText,{}),e.tertiaryText&&A(e.tertiaryText,{}),e.quaternaryText&&A(e.quaternaryText,{}),t==="before"&&o]})},Gk=(e,r)=>{const{name:t,presenceOnly:o=!1,size:i="medium",textAlignment:n="start",textPosition:s="after"}=e,l=te(e.primaryText,{renderByDefault:!0,defaultProps:{children:t},elementType:"span"}),u=te(e.secondaryText,{elementType:"span"}),a=te(e.tertiaryText,{elementType:"span"}),c=te(e.quaternaryText,{elementType:"span"});return{numTextLines:[l,u,a,c].filter(Boolean).length,presenceOnly:o,size:i,textAlignment:n,textPosition:s,components:{root:"div",avatar:ea,presence:lo,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:re(ve("div",{...e,ref:r},["name"]),{elementType:"div"}),avatar:o?void 0:te(e.avatar,{renderByDefault:!0,defaultProps:{name:t,badge:e.presence,size:Kk[i]},elementType:ea}),presence:o?te(e.presence,{defaultProps:{size:Uk[i]},elementType:lo}):void 0,primaryText:l,secondaryText:u,tertiaryText:a,quaternaryText:c}},Uk={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},Kk={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},rr={root:"fui-Persona",avatar:"fui-Persona__avatar",presence:"fui-Persona__presence",primaryText:"fui-Persona__primaryText",secondaryText:"fui-Persona__secondaryText",tertiaryText:"fui-Persona__tertiaryText",quaternaryText:"fui-Persona__quaternaryText"},Xk=ce("rlroi9i",null,[".rlroi9i{display:inline-grid;grid-auto-rows:max-content;grid-auto-flow:column;justify-items:start;grid-template-columns:max-content [middle] auto;}"]),Zk=O({beforeAfterCenter:{wkccdc:"f1iantul"},after:{},before:{B7hvi0a:"f1tll2w5",Budl1dq:"ffvkwdr"},below:{Bxotwcr:"f1nkeedh",B7hvi0a:"f1oiokrs",Budl1dq:"f1emgwh2"},media:{Ijaq50:"f1hek2iy"},mediaBeforeAfterCenter:{Ijaq50:"fa4dipu"},start:{qb2dma:"f9h729m"},center:{qb2dma:"f7nlbp4"},afterAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Bw0ie65:"f1warjpf"},beforeAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Br312pm:"fwu52yu"},secondLineSpacing:{B6of3ja:"f1ryq6si"},primary:{Ijaq50:"f1q3ipgb"},secondary:{Ijaq50:"f3drtdk"},tertiary:{Ijaq50:"fa1o6s1"},quaternary:{Ijaq50:"f1tuwaia"}},{d:[".f1iantul{grid-template-rows:1fr [primary] max-content [secondary] max-content [tertiary] max-content [quaternary] max-content 1fr;}",".f1tll2w5{justify-items:end;}",".ffvkwdr{grid-template-columns:auto [middle] max-content;}",".f1nkeedh{grid-auto-flow:unset;}",".f1oiokrs{justify-items:center;}",".f1emgwh2{grid-template-columns:unset;}",".f1hek2iy{grid-row-start:span 5;}",".fa4dipu{grid-row-start:span 6;}",".f9h729m{align-self:start;}",".f7nlbp4{align-self:center;}",".f1rnkkuc{grid-row-start:unset;}",".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".f1ryq6si{margin-top:-2px;}",".f1q3ipgb{grid-row-start:primary;}",".f3drtdk{grid-row-start:secondary;}",".fa1o6s1{grid-row-start:tertiary;}",".f1tuwaia{grid-row-start:quaternary;}"]}),Qk=O({"extra-small":{Bs1gm4r:"f1e48tse"},small:{Bs1gm4r:"f18q9vkd"},medium:{Bs1gm4r:"f18q9vkd"},large:{Bs1gm4r:"fx34bi6"},"extra-large":{Bs1gm4r:"fx34bi6"},huge:{Bs1gm4r:"f1o96qtm"},after:{t21cq0:["f103ycu4","f1tao51"]},below:{jrapky:"fbo7acy"},before:{Frg6f3:["f1tao51","f103ycu4"]}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}",".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}",".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}",".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}",".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}",".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}",".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]}),Yk=O({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),Jk=e=>{"use no memo";const{presenceOnly:r,size:t,textAlignment:o,textPosition:i}=e,n=r&&o==="start"&&t!=="extra-large"&&t!=="huge",s=i!=="below"&&o==="center",{primaryTextClassName:l,optionalTextClassName:u}=ox(e,n),a=Xk(),c=Zk(),d=Qk(),g={...d,...Yk()};return e.root.className=E(rr.root,a,s&&c.beforeAfterCenter,c[i],e.root.className),e.avatar&&(e.avatar.className=E(rr.avatar,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],d[t],d[i],e.avatar.className)),e.presence&&(e.presence.className=E(rr.presence,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],g[t],g[i],i==="after"&&n&&c.afterAlignToPrimary,i==="before"&&n&&c.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=E(rr.primaryText,s&&c.primary,l,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=E(rr.secondaryText,s&&c.secondary,u,c.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=E(rr.tertiaryText,s&&c.tertiary,u,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=E(rr.quaternaryText,s&&c.quaternary,u,e.quaternaryText.className)),e},ex=ce("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),tx=ce("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),rx=O({beforeAlignToPrimary:{Bw0ie65:"f1warjpf"},afterAlignToPrimary:{Br312pm:"fwu52yu"},body1:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},caption1:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtitle2:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),ox=(e,r)=>{const{presenceOnly:t,size:o,textPosition:i}=e,n=ex(),s=tx(),l=rx();let u,a;return t?(o==="extra-small"?u=e.numTextLines<=1&&l.caption1:(o==="extra-large"||o==="huge")&&(u=l.subtitle2),r&&(i==="before"?a=l.beforeAlignToPrimary:i==="after"&&(a=l.afterAlignToPrimary))):(o==="huge"||o==="extra-large")&&(u=l.subtitle2),{primaryTextClassName:E(n,u,a),optionalTextClassName:E(s,!t&&o==="huge"&&l.body1,a)}},hd=m.forwardRef((e,r)=>{const t=Gk(e,r);return Jk(t),le("usePersonaStyles_unstable")(t),$k(t)});hd.displayName="Persona";const gd=m.createContext(void 0),nx={};gd.Provider;const ix=()=>m.useContext(gd)||nx,ax=e=>(ie(e),we(e.root,{children:[A(e.input,{}),A(e.indicator,{}),e.label&&A(e.label,{})]})),sx=(e,r)=>{const t=ix(),{name:o=t.name,checked:i=t.value!==void 0?t.value===e.value:void 0,defaultChecked:n=t.defaultValue!==void 0?t.defaultValue===e.value:void 0,labelPosition:s=t.layout==="horizontal-stacked"?"below":"after",disabled:l=t.disabled,required:u=t.required,"aria-describedby":a=t["aria-describedby"],onChange:c}=e,d=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=re(e.root,{defaultProps:{ref:Er(),...d.root},elementType:"span"}),f=re(e.input,{defaultProps:{ref:r,type:"radio",id:Qe("radio-",d.primary.id),name:o,checked:i,defaultChecked:n,disabled:l,required:u,"aria-describedby":a,...d.primary},elementType:"input"});f.onChange=Ee(f.onChange,b=>c==null?void 0:c(b,{value:b.currentTarget.value}));const h=te(e.label,{defaultProps:{htmlFor:f.id,disabled:f.disabled},elementType:Bt}),v=re(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:s,components:{root:"span",input:"input",label:Bt,indicator:"div"},root:g,input:f,label:h,indicator:v}},pn={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},lx=ce("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),cx=O({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),ux=ce("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),dx=O({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),fx=ce("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),hx=O({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),gx=e=>{"use no memo";const{labelPosition:r}=e,t=lx(),o=cx();e.root.className=E(pn.root,t,r==="below"&&o.vertical,e.root.className);const i=ux(),n=dx();e.input.className=E(pn.input,i,r==="below"&&n.below,e.indicator.children?n.customIndicator:n.defaultIndicator,e.input.className);const s=fx();e.indicator.className=E(pn.indicator,s,e.indicator.className);const l=hx();return e.label&&(e.label.className=E(pn.label,l.base,l[r],e.label.className)),e},ka=m.forwardRef((e,r)=>{const t=sx(e,r);return gx(t),le("useRadioStyles_unstable")(t),ax(t)});ka.displayName="Radio";const vd=m.createContext(void 0),vx={};vd.Provider;const mx=()=>{var e;return(e=m.useContext(vd))!==null&&e!==void 0?e:vx},px=(e,r)=>{const{size:t}=mx(),{appearance:o="primary",labelPosition:i="after",size:n=t??"medium",delay:s=0}=e,l=Qe("spinner"),{role:u="progressbar",...a}=e,c=re(ve("div",{ref:r,role:u,...a},["size"]),{elementType:"div"}),[d,g]=m.useState(!1),[f,h]=Mm();m.useEffect(()=>{if(!(s<=0))return f(()=>{g(!0)},s),()=>{h()}},[f,h,s]);const v=te(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:Bt}),b=te(e.spinner,{renderByDefault:!0,elementType:"span"});return v&&c&&!c["aria-labelledby"]&&(c["aria-labelledby"]=v.id),{appearance:o,delay:s,labelPosition:i,size:n,shouldRenderSpinner:!s||d,components:{root:"div",spinner:"span",spinnerTail:"span",label:Bt},root:c,spinner:b,spinnerTail:re(e.spinnerTail,{elementType:"span"}),label:v}},bx=e=>{ie(e);const{labelPosition:r,shouldRenderSpinner:t}=e;return we(e.root,{children:[e.label&&t&&(r==="above"||r==="before")&&A(e.label,{}),e.spinner&&t&&A(e.spinner,{children:e.spinnerTail&&A(e.spinnerTail,{})}),e.label&&t&&(r==="below"||r==="after")&&A(e.label,{})]})},bn={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},yx=ce("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),wx=O({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),kx=ce("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),xx=ce("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),_x=O({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Sx=O({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Bx=e=>{"use no memo";const{labelPosition:r,size:t,appearance:o}=e,{dir:i}=_e(),n=yx(),s=wx(),l=kx(),u=_x(),a=xx(),c=Sx();return e.root.className=E(bn.root,n,(r==="above"||r==="below")&&s.vertical,e.root.className),e.spinner&&(e.spinner.className=E(bn.spinner,l,u[t],o==="inverted"&&u.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=E(bn.spinnerTail,a,i==="rtl"&&u.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=E(bn.label,c[t],o==="inverted"&&c.inverted,e.label.className)),e},jr=m.forwardRef((e,r)=>{const t=px(e,r);return Bx(t),le("useSpinnerStyles_unstable")(t),bx(t)});jr.displayName="Spinner";const md=(e,r)=>{const{wrap:t,truncate:o,block:i,italic:n,underline:s,strikethrough:l,size:u,font:a,weight:c,align:d}=e;return{align:d??"start",block:i??!1,font:a??"base",italic:n??!1,size:u??300,strikethrough:l??!1,truncate:o??!1,underline:s??!1,weight:c??"regular",wrap:t??!0,components:{root:"span"},root:re(ve("span",{ref:r,...e}),{elementType:"span"})}},pd=e=>(ie(e),A(e.root,{})),Cx={root:"fui-Text"},Px=O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),bd=e=>{"use no memo";const r=Px();return e.root.className=E(Cx.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e},yd=m.forwardRef((e,r)=>{const t=md(e,r);return bd(t),le("useTextStyles_unstable")(t),pd(t)});yd.displayName="Text";function wd(e){const{useStyles:r,className:t,displayName:o}=e,i=m.forwardRef((n,s)=>{"use no memo";const l=r(),u=md(n,s);return bd(u),u.root.className=E(t,u.root.className,l.root,n.className),pd(u)});return i.displayName=o,i}const Tx=wd({useStyles:O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:{root:"fui-Body1"}.root,displayName:"Body1"}),Ex=wd({useStyles:O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:{root:"fui-Caption1"}.root,displayName:"Caption1"}),Nx=ce("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),zx=ce("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Rx(){const e=Nx(),r=zx(),{targetDocument:t}=_e(),o=m.useCallback(()=>{var n;if(!t)return;var s;Math.floor(t.body.getBoundingClientRect().height)>((s=(n=t.defaultView)===null||n===void 0?void 0:n.innerHeight)!==null&&s!==void 0?s:0)&&(t.documentElement.classList.add(e),t.body.classList.add(r))},[t,e,r]),i=m.useCallback(()=>{t&&(t.documentElement.classList.remove(e),t.body.classList.remove(r))},[t,e,r]);return{disableBodyScroll:o,enableBodyScroll:i}}function Dx(e,r){const{findFirstFocusable:t}=so(),{targetDocument:o}=_e(),i=m.useRef(null);return m.useEffect(()=>{if(!e)return;const n=i.current&&t(i.current);if(n)n.focus();else{var s;(s=i.current)===null||s===void 0||s.focus(),process.env.NODE_ENV==="development"&&console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[t,e,r,o]),i}const Fx={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},xa=Yo(void 0),Ix=xa.Provider,jt=e=>Gi(xa,(r=Fx)=>e(r)),kd=m.createContext(void 0).Provider,xd=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],_d=zr({enter:{keyframes:xd,easing:De.curveDecelerateMid,duration:De.durationGentle},exit:{keyframes:[...xd].reverse(),easing:De.curveAccelerateMin,duration:De.durationGentle}}),Ax=e=>{const{children:r,modalType:t="modal",onOpenChange:o,inertTrapFocus:i=!1}=e,[n,s]=jx(r),[l,u]=yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),a=J(h=>{o==null||o(h.event,h),h.event.isDefaultPrevented()||u(h.open)}),c=Dx(l,t),{modalAttributes:d,triggerAttributes:g}=zb({trapFocus:t!=="non-modal",legacyTrapFocus:!i}),f=Ui(xa);return{components:{surfaceMotion:_d},inertTrapFocus:i,open:l,modalType:t,content:s,trigger:n,requestOpenChange:a,dialogTitleId:Qe("dialog-title-"),isNestedDialog:f,dialogRef:c,modalAttributes:d,triggerAttributes:g,surfaceMotion:Yi(e.surfaceMotion,{elementType:_d,defaultProps:{appear:!0,visible:l,unmountOnExit:!0}})}};function jx(e){const r=m.Children.toArray(e);switch(process.env.NODE_ENV!=="production"&&r.length!==1&&r.length!==2&&console.warn(`@fluentui/react-dialog [useDialog]:
181
+ `,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);const c=va(null,h=>{t.current!==h&&(t.current=h,u())}),d=J(()=>{var h;return(h=e.onPositioningEnd)===null||h===void 0?void 0:h.call(e)}),g=va(null,h=>{if(i.current!==h){var v;(v=i.current)===null||v===void 0||v.removeEventListener(ta,d),h==null||h.addEventListener(ta,d),i.current=h,u()}}),f=va(null,h=>{n.current!==h&&(n.current=h,u())});return{targetRef:c,containerRef:g,arrowRef:f}}function td(e){return Ye(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const _w=O({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),rd=m.useInsertionEffect,Sw=e=>{"use no memo";const{className:r,dir:t,focusVisibleRef:o,targetNode:i}=e,n=m.useMemo(()=>{if(i===void 0||e.disabled)return null;const s=i.ownerDocument.createElement("div");return i.appendChild(s),s},[i,e.disabled]);return m.useMemo(()=>{n&&(n.className=r,n.setAttribute("dir",t),n.setAttribute("data-portal-node","true"),o.current=n)},[r,t,n,o]),m.useEffect(()=>()=>{n==null||n.remove()},[n]),n},Bw=()=>{let e;function r(o,i){return e||(i&&(e=o.ownerDocument.createElement("div"),o.appendChild(e)),e)}function t(){e&&(e.remove(),e=void 0)}return{get:r,dispose:t}},Cw=rd?e=>{"use no memo";const{className:r,dir:t,focusVisibleRef:o,targetNode:i}=e,[n]=m.useState(Bw),s=m.useMemo(()=>i===void 0||e.disabled?null:new Proxy({},{get(l,u){if(u==="nodeType")return Node.ELEMENT_NODE;if(u==="remove"){const d=n.get(i,!1);return d&&d.childNodes.length===0&&n.dispose(),()=>{}}const a=n.get(i,!0),c=a?a[u]:void 0;return typeof c=="function"?c.bind(a):c},set(l,u,a){const c=u==="_virtual"||u==="focusVisible",d=c?n.get(i,!1):n.get(i,!0);return c&&!d?!0:d?(Object.assign(d,{[u]:a}),!0):!1}}),[n,i,e.disabled]);return rd(()=>{if(!s)return;const l=r.split(" ").filter(Boolean);return s.classList.add(...l),s.setAttribute("dir",t),s.setAttribute("data-portal-node","true"),o.current=s,()=>{s.classList.remove(...l),s.removeAttribute("dir")}},[r,t,s,o]),m.useEffect(()=>()=>{s==null||s.remove()},[s]),s}:Sw,Pw=e=>{"use no memo";const{targetDocument:r,dir:t}=_e(),o=Pm(),i=vc(),n=_w(),s=_m(),l={dir:t,disabled:e.disabled,focusVisibleRef:i,className:E(s,n.root,e.className),targetNode:o??(r==null?void 0:r.body)};return Cw(l)},Tw=e=>{const{element:r,className:t}=td(e.mountNode),o=m.useRef(null),i=Pw({disabled:!!r,className:t}),n=r??i,s={children:e.children,mountNode:n,virtualParentRootRef:o};return m.useEffect(()=>{if(!n)return;const l=o.current,u=n.contains(l);if(l&&!u)return Dl(n,l),()=>{Dl(n,void 0)}},[o,n]),s},Ew=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Rn.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),pa=e=>{const r=Tw(e);return Ew(r)};pa.displayName="Portal";const Nw=e=>{ie(e);const{iconOnly:r,iconPosition:t}=e;return we(e.root,{children:[t!=="after"&&e.icon&&A(e.icon,{}),!r&&e.root.children,t==="after"&&e.icon&&A(e.icon,{})]})},od=m.createContext(void 0),zw={};od.Provider;const Rw=()=>{var e;return(e=m.useContext(od))!==null&&e!==void 0?e:zw},Dw=(e,r)=>{const{size:t}=Rw(),{appearance:o="secondary",as:i="button",disabled:n=!1,disabledFocusable:s=!1,icon:l,iconPosition:u="before",shape:a="rounded",size:c=t??"medium"}=e,d=te(l,{elementType:"span"});return{appearance:o,disabled:n,disabledFocusable:s,iconPosition:u,shape:a,size:c,iconOnly:!!(d!=null&&d.children&&!e.children),components:{root:"button",icon:"span"},root:re(ve(i,Pc(e.as,e)),{elementType:"button",defaultProps:{ref:r,type:i==="button"?"button":void 0}}),icon:d}},nd={root:"fui-Button",icon:"fui-Button__icon"},Fw=ce("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Iw=ce("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),Aw=O({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),jw=O({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ow=O({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),qw=O({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),Mw=O({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),Lw=e=>{"use no memo";const r=Fw(),t=Iw(),o=Aw(),i=jw(),n=Ow(),s=qw(),l=Mw(),{appearance:u,disabled:a,disabledFocusable:c,icon:d,iconOnly:g,iconPosition:f,shape:h,size:v}=e;return e.root.className=E(nd.root,r,u&&o[u],o[v],d&&v==="small"&&o.smallWithIcon,d&&v==="large"&&o.largeWithIcon,o[h],(a||c)&&i.base,(a||c)&&i.highContrast,u&&(a||c)&&i[u],u==="primary"&&n.primary,n[v],n[h],g&&s[v],e.root.className),e.icon&&(e.icon.className=E(nd.icon,t,!!e.root.children&&l[f],l[v],e.icon.className)),e},ut=m.forwardRef((e,r)=>{const t=Dw(e,r);return Lw(t),le("useButtonStyles_unstable")(t),Nw(t)});ut.displayName="Button";const id=m.createContext(void 0),Hw=id.Provider,ad=()=>m.useContext(id),Ww=e=>{var r,t,o,i;const{generatedControlId:n,orientation:s,required:l,size:u,validationState:a}=e,c=(r=e.label)===null||r===void 0?void 0:r.htmlFor,d=(t=e.label)===null||t===void 0?void 0:t.id,g=(o=e.validationMessage)===null||o===void 0?void 0:o.id,f=(i=e.hint)===null||i===void 0?void 0:i.id;return{field:m.useMemo(()=>({generatedControlId:n,hintId:f,labelFor:c,labelId:d,orientation:s,required:l,size:u,validationMessageId:g,validationState:a}),[n,f,c,d,s,l,u,g,a])}};function dn(e,r){return sd(ad(),e,r)}function sd(e,r,t){if(!e)return r;r={...r};const{generatedControlId:o,hintId:i,labelFor:n,labelId:s,required:l,validationMessageId:u,validationState:a}=e;if(o){var c,d;(d=(c=r).id)!==null&&d!==void 0||(c.id=o)}if(s&&(!(t!=null&&t.supportsLabelFor)||n!==r.id)){var g,f,h;(h=(g=r)[f="aria-labelledby"])!==null&&h!==void 0||(g[f]=s)}if((u||i)&&(r["aria-describedby"]=[u,i,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),a==="error"){var v,b,p;(p=(v=r)[b="aria-invalid"])!==null&&p!==void 0||(v[b]=!0)}if(l)if(t!=null&&t.supportsRequired){var y,k;(k=(y=r).required)!==null&&k!==void 0||(y.required=!0)}else{var w,_,S;(S=(w=r)[_="aria-required"])!==null&&S!==void 0||(w[_]=!0)}if(t!=null&&t.supportsSize){var C,T;(T=(C=r).size)!==null&&T!==void 0||(C.size=e.size)}return r}const Vw=(e,r)=>{ie(e);let{children:t}=e;return typeof t=="function"&&(t=t(sd(r.field)||{})),A(Hw,{value:r==null?void 0:r.field,children:we(e.root,{children:[e.label&&A(e.label,{}),t,e.validationMessage&&we(e.validationMessage,{children:[e.validationMessageIcon&&A(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&A(e.hint,{})]})})},$w=(e,r)=>{const{disabled:t=!1,required:o=!1,weight:i="regular",size:n="medium"}=e;return{disabled:t,required:te(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:n,components:{root:"label",required:"span"},root:re(ve("label",{ref:r,...e}),{elementType:"label"})}},Gw=e=>(ie(e),we(e.root,{children:[e.root.children,e.required&&A(e.required,{})]})),ld={root:"fui-Label",required:"fui-Label__required"},Uw=O({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Kw=e=>{"use no memo";const r=Uw();return e.root.className=E(ld.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=E(ld.required,r.required,e.disabled&&r.disabled,e.required.className)),e},Bt=m.forwardRef((e,r)=>{const t=$w(e,r);return Kw(t),le("useLabelStyles_unstable")(t),Gw(t)});Bt.displayName="Label";const Xw={error:m.createElement(g0,null),warning:m.createElement(O0,null),success:m.createElement(u0,null),none:void 0},Zw=(e,r)=>{const{children:t,orientation:o="vertical",required:i=!1,validationState:n=e.validationMessage?"error":"none",size:s="medium"}=e,l=Qe("field-"),u=l+"__control",a=re(ve("div",{...e,ref:r},["children"]),{elementType:"div"}),c=te(e.label,{defaultProps:{htmlFor:u,id:l+"__label",required:i,size:s},elementType:Bt}),d=te(e.validationMessage,{defaultProps:{id:l+"__validationMessage",role:n==="error"||n==="warning"?"alert":void 0},elementType:"div"}),g=te(e.hint,{defaultProps:{id:l+"__hint"},elementType:"div"}),f=Xw[n],h=te(e.validationMessageIcon,{renderByDefault:!!f,defaultProps:{children:f},elementType:"span"});return{children:t,generatedControlId:u,orientation:o,required:i,size:s,validationState:n,components:{root:"div",label:Bt,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:a,label:c,validationMessageIcon:h,validationMessage:d,hint:g}},ho={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},Qw=O({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),Yw=O({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),Jw=ce("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),ek=O({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),tk=ce("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),rk=O({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),ok=e=>{"use no memo";const{validationState:r,size:t}=e,o=e.orientation==="horizontal",i=Qw();e.root.className=E(ho.root,i.base,o&&i.horizontal,o&&!e.label&&i.horizontalNoLabel,e.root.className);const n=Yw();e.label&&(e.label.className=E(ho.label,o&&n.horizontal,o&&t==="small"&&n.horizontalSmall,o&&t==="large"&&n.horizontalLarge,!o&&n.vertical,!o&&t==="large"&&n.verticalLarge,e.label.className));const s=tk(),l=rk();e.validationMessageIcon&&(e.validationMessageIcon.className=E(ho.validationMessageIcon,s,r!=="none"&&l[r],e.validationMessageIcon.className));const u=Jw(),a=ek();return e.validationMessage&&(e.validationMessage.className=E(ho.validationMessage,u,r==="error"&&a.error,!!e.validationMessageIcon&&a.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=E(ho.hint,u,e.hint.className)),e},ba=m.forwardRef((e,r)=>{const t=Zw(e,r);ok(t),le("useFieldStyles_unstable")(t);const o=Ww(t);return Vw(t,o)});ba.displayName="Field";const nk=(e,r)=>{"use no memo";e=dn(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:t=!1,required:o,shape:i="square",size:n="medium",labelPosition:s="after",onChange:l}=e,[u,a]=yt({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),c=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),d=u==="mixed",g=Qe("checkbox-",c.primary.id);let f;d?i==="circular"?f=m.createElement(i0,null):f=n==="large"?m.createElement(j0,null):m.createElement(A0,null):u&&(f=n==="large"?m.createElement(c0,null):m.createElement(Ac,null));const h={shape:i,checked:u,disabled:t,size:n,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:Bt},root:re(e.root,{defaultProps:{ref:Er(),...c.root},elementType:"span"}),input:re(e.input,{defaultProps:{type:"checkbox",id:g,ref:r,checked:u===!0,...c.primary},elementType:"input"}),label:te(e.label,{defaultProps:{htmlFor:g,disabled:t,required:o,size:"medium"},elementType:Bt}),indicator:te(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:f},elementType:"div"})};h.input.onChange=J(b=>{const p=b.currentTarget.indeterminate?"mixed":b.currentTarget.checked;l==null||l(b,{checked:p}),a(p)});const v=Fe(h.input.ref);return h.input.ref=v,Re(()=>{v.current&&(v.current.indeterminate=d)},[v,d]),h},ik=e=>(ie(e),we(e.root,{children:[A(e.input,{}),e.labelPosition==="before"&&e.label&&A(e.label,{}),e.indicator&&A(e.indicator,{}),e.labelPosition==="after"&&e.label&&A(e.label,{})]})),fn={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},ak=ce("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),sk=O({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),lk=ce("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),ck=O({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),uk=ce("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),dk=O({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),fk=O({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),hk=e=>{"use no memo";const{checked:r,disabled:t,labelPosition:o,shape:i,size:n}=e,s=ak(),l=sk();e.root.className=E(fn.root,s,t?l.disabled:r==="mixed"?l.mixed:r?l.checked:l.unchecked,e.root.className);const u=lk(),a=ck();e.input.className=E(fn.input,u,n==="large"&&a.large,a[o],e.input.className);const c=uk(),d=dk();e.indicator&&(e.indicator.className=E(fn.indicator,c,n==="large"&&d.large,i==="circular"&&d.circular,e.indicator.className));const g=fk();return e.label&&(e.label.className=E(fn.label,g.base,g[n],g[o],e.label.className)),e},ya=m.forwardRef((e,r)=>{const t=nk(e,r);return hk(t),le("useCheckboxStyles_unstable")(t),ik(t)});ya.displayName="Checkbox";const cd=Yo({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});cd.Provider;const gk={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},go=Yo(void 0),Ke=e=>Gi(go,(r=gk)=>e(r)),vk=go.Provider;function mk(e){const{appearance:r,open:t,getOptionById:o,getOptionsMatchingValue:i,registerOption:n,selectedOptions:s,selectOption:l,setOpen:u,size:a,activeDescendantController:c,onOptionClick:d,onActiveDescendantChange:g}=e,f={activeOption:void 0,appearance:r,focusVisible:!1,open:t,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:()=>null,setOpen:u,size:a},h={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:i,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:g},v=m.useMemo(()=>({controller:c}),[c]);return{combobox:f,activeDescendant:v,listbox:h}}function pk(e){const r=Ui(go),{getOptionById:t,getOptionsMatchingValue:o,multiselect:i,registerOption:n,selectedOptions:s,selectOption:l,activeDescendantController:u}=e,a=Ke(v=>v.registerOption),c=Ke(v=>v.onOptionClick),d=Ke(v=>v.onActiveDescendantChange),f={activeOption:void 0,focusVisible:!1,getOptionById:t,getOptionsMatchingValue:o,multiselect:i,registerOption:r?a:n,selectedOptions:s,selectOption:l,setActiveOption:()=>{},onOptionClick:c,onActiveDescendantChange:d},h=m.useMemo(()=>({controller:u}),[u]);return{listbox:f,activeDescendant:h}}function hn(e,r={}){const{open:t=!0,multiselect:o=!1}=r,i=e.key,{altKey:n,ctrlKey:s,key:l,metaKey:u}=e;return l.length===1&&i!==gt&&!n&&!s&&!u?"Type":t?i===Jo&&n||i===er||!o&&i===gt?"CloseSelect":o&&i===gt?"Select":i===Zi?"Close":i===Ki?"Next":i===Jo?"Previous":i===Cc?"First":i===Bc?"Last":i===Gb?"PageUp":i===$b?"PageDown":i===Vb?"Tab":"None":i===Ki||i===Jo||i===er||i===gt?"Open":"None"}const ud=()=>{const e=m.useRef(new Map),r=m.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:a=>e.current.get(a),getOptionsMatchingText:a=>Array.from(e.current.values()).filter(({text:c})=>a(c)),getOptionsMatchingValue:a=>{const c=[];for(const d of e.current.values())a(d.value)&&c.push(d);return c}}),[]),t=m.useCallback(o=>(e.current.set(o.id,o),()=>e.current.delete(o.id)),[]);return{...r,options:Array.from(e.current.values()),registerOption:t}},dd=e=>{const{defaultSelectedOptions:r,multiselect:t,onOptionSelect:o}=e,[i,n]=yt({state:e.selectedOptions,defaultState:r,initialState:[]}),s=m.useCallback((u,a)=>{if(a.disabled)return;let c=[a.value];if(t){const d=i.findIndex(g=>g===a.value);d>-1?c=[...i.slice(0,d),...i.slice(d+1)]:c=[...i,a.value]}n(c),o==null||o(u,{optionValue:a.value,optionText:a.text,selectedOptions:c})},[o,t,i,n]);return{clearSelection:u=>{n([]),o==null||o(u,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s,selectedOptions:i}},gn={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},bk=O({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),yk=e=>{"use no memo";const{disabled:r,multiselect:t,selected:o}=e,i=bk();return e.root.className=E(gn.root,i.root,i.active,r&&i.disabled,o&&i.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=E(gn.checkIcon,i.checkIcon,t&&i.multiselectCheck,o&&i.selectedCheck,o&&t&&i.selectedMultiselectCheck,r&&i.checkDisabled,r&&t&&i.multiselectCheckDisabled,e.checkIcon.className)),e},fd={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},wk=(e,r)=>{"use no memo";const{multiselect:t,disableAutoFocus:o=!1}=e,i=ud(),{listboxRef:n,activeParentRef:s,controller:l}=Fc({matchOption:j=>j.classList.contains(gn.root)}),u=Ui(go),a=Ke(j=>j.onActiveDescendantChange),c=Ke(j=>j.getOptionById),d=Ke(j=>j.getOptionsMatchingValue),g=u?c:i.getOptionById,f=u?d:i.getOptionsMatchingValue,h=m.useMemo(()=>{let j=null;const V=X=>{const Z=X;a==null||a(Z)};return X=>{if(!X){j==null||j.removeEventListener("activedescendantchange",V);return}j=X,j.addEventListener("activedescendantchange",V)}},[a]),[v,b]=m.useState(!1);yc(b);const p=Ec(),y=Kb(),k=y?p.controller:l,{clearSelection:w,selectedOptions:_,selectOption:S}=dd(e),C=j=>{const V=hn(j,{open:!0}),X=k.active(),Z=X?g(X):null;switch(V){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":j.preventDefault();break}switch(V){case"Next":Z?k.next():k.first();break;case"Previous":Z?k.prev():k.first();break;case"PageUp":case"First":k.first();break;case"PageDown":case"Last":k.last();break;case"Select":case"CloseSelect":Z&&S(j,Z);break}},T=Ke(j=>j.selectedOptions),z=Ke(j=>j.selectOption),I=u?{selectedOptions:T,selectOption:z,...fd}:{selectedOptions:_,selectOption:S,...fd};m.useEffect(()=>{if(!y){if(k.hideFocusVisibleAttributes(),!o)if(!t&&I.selectedOptions.length>0){const j=f(V=>V===I.selectedOptions[0]).pop();j!=null&&j.id&&k.focus(j.id)}else k.first();return()=>{k.blur()}}},[]);const G=m.useCallback(()=>{y||(k.showFocusVisibleAttributes(),v&&k.scrollActiveIntoView())},[k,y,v]),U=m.useCallback(()=>{y||k.hideFocusVisibleAttributes()},[k,y]),B={components:{root:"div"},root:re(ve("div",{ref:Fe(r,s,n,h),role:t?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!u,multiselect:t,clearSelection:w,activeDescendantController:k,onActiveDescendantChange:a,...i,...I};return B.root.onKeyDown=J(Ee(B.root.onKeyDown,C)),B.root.onFocus=J(Ee(B.root.onFocus,G)),B.root.onBlur=J(Ee(B.root.onBlur,U)),B},kk=(e,r)=>(ie(e),A(Tc,{value:r.activeDescendant,children:A(go.Provider,{value:r.listbox,children:A(e.root,{})})})),xk={root:"fui-Listbox"},_k=O({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Sk=e=>{"use no memo";const r=_k();return e.root.className=E(xk.root,r.root,e.root.className),e},wa=m.forwardRef((e,r)=>{const t=wk(e,r),o=pk(t);return Sk(t),le("useListboxStyles_unstable")(t),kk(t,o)});wa.displayName="Listbox";function Bk(e,r){if(e!==void 0)return e;let t="",o=!1;return m.Children.forEach(r,i=>{typeof i=="string"?t+=i:o=!0}),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),t}const Ck=(e,r)=>{const{children:t,disabled:o,text:i,value:n}=e,s=m.useRef(null),l=Bk(i,t),u=n??l,a=Qe("fluent-option",e.id),c=m.useMemo(()=>({id:a,disabled:o,text:l,value:u}),[a,o,l,u]),{controller:d}=Ec(),g=Ke(w=>w.multiselect),f=Ke(w=>w.registerOption),h=Ke(w=>{const _=w.selectedOptions;return u!==void 0&&_.find(S=>S===u)!==void 0}),v=Ke(w=>w.selectOption),b=Ke(w=>w.onOptionClick);let p=m.createElement(o0,null);g&&(p=h?m.createElement(Ac,null):"");const y=w=>{var _;if(o){w.preventDefault();return}d.focus(a),v(w,c),b(w),(_=e.onClick)===null||_===void 0||_.call(e,w)};m.useEffect(()=>{if(a&&s.current)return f(c,s.current)},[a,c,f]);const k=g?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:re(ve("div",{ref:Fe(r,s),"aria-disabled":o?"true":void 0,id:a,...k,...e,onClick:y}),{elementType:"div"}),checkIcon:te(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:p},elementType:"span"}),disabled:o,multiselect:g,selected:h,focusVisible:!1,active:!1}},Pk=e=>(ie(e),we(e.root,{children:[e.checkIcon&&A(e.checkIcon,{}),e.root.children]})),hd=m.forwardRef((e,r)=>{const t=Ck(e,r);return yk(t),le("useOptionStyles_unstable")(t),Pk(t)});hd.displayName="Option";const Tk=e=>{"use no memo";const{appearance:r="outline",disableAutoFocus:t,children:o,clearable:i=!1,editable:n=!1,inlinePopup:s=!1,mountNode:l=void 0,multiselect:u,onOpenChange:a,size:c="medium",activeDescendantController:d,freeform:g=!1,disabled:f=!1,onActiveOptionChange:h=null}=e,v=ud(),{getOptionsMatchingValue:b}=v,{getOptionById:p}=v,y=m.useCallback(()=>{const L=d.active();return L?p(L):void 0},[d,p]),k=y(),w=m.useCallback(L=>{let oe;if(typeof L=="function"){const be=y();oe=L(be)}oe?d.focus(oe.id):d.blur()},[d,y]),[_,S]=m.useState(!1),[C,T]=m.useState(!1),z=m.useRef(!1),I=Pl(),[G,U]=yt({state:e.value,initialState:void 0}),{selectedOptions:B,selectOption:j,clearSelection:V}=dd(e),X=m.useCallback((L,oe)=>{Rn.unstable_batchedUpdates(()=>{U(void 0),j(L,oe)})},[U,j]),Z=m.useMemo(()=>{if(G!==void 0)return G;if(I&&e.defaultValue!==void 0)return e.defaultValue;const L=b(oe=>B.includes(oe)).map(oe=>oe.text);return u?n?"":L.join(", "):L[0]},[G,n,b,u,B]),[R,q]=yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),W=m.useCallback((L,oe)=>{f||(a==null||a(L,{open:oe}),Rn.unstable_batchedUpdates(()=>{!oe&&!g&&U(void 0),q(oe)}))},[a,q,U,g,f]);m.useEffect(()=>{if(R){if(!u&&B.length>0){const L=b(oe=>oe===B[0]).pop();L!=null&&L.id&&d.focus(L.id)}}else d.blur()},[R,d]),m.useEffect(()=>{R&&!t&&!d.active()&&d.first()},[R,o,t,d,p]);const ne=J(L=>{const oe=L.detail.previousId?v.getOptionById(L.detail.previousId):null,be=v.getOptionById(L.detail.id);h==null||h(L,{event:L,type:"change",previousOption:oe,nextOption:be})});return{...v,freeform:g,disabled:f,selectOption:X,clearSelection:V,selectedOptions:B,activeOption:k,appearance:r,clearable:i,focusVisible:_,ignoreNextBlur:z,inlinePopup:s,mountNode:l,open:R,hasFocus:C,setActiveOption:w,setFocusVisible:S,setHasFocus:T,setOpen:W,setValue:U,size:c,value:Z,multiselect:u,onOptionClick:J(L=>{u||W(L,!1)}),onActiveDescendantChange:ne}};function Ek(e){const{positioning:r}=e,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Zu(r)},{targetRef:i,containerRef:n}=xw(o);return[n,i]}function Nk(e,r,t){const{state:{multiselect:o},triggerRef:i,defaultProps:n}=t,s=Qe("fluent-listbox",ml(e)?e.id:void 0),l=te(e,{renderByDefault:!0,elementType:wa,defaultProps:{id:s,multiselect:o,tabIndex:void 0,...n}}),u=dn({id:s},{supportsLabelFor:!0});l&&!l["aria-label"]&&!l["aria-labelledby"]&&u["aria-labelledby"]&&(l["aria-labelledby"]=u["aria-labelledby"]);const a=J(Ee(g=>{g.preventDefault()},l==null?void 0:l.onMouseDown)),c=J(Ee(g=>{var f;g.preventDefault(),(f=i.current)===null||f===void 0||f.focus()},l==null?void 0:l.onClick)),d=Fe(l==null?void 0:l.ref,r);return l&&(l.ref=d,l.onMouseDown=a,l.onClick=c),l}function zk(e,r,t){const{state:{open:o,setOpen:i,setHasFocus:n},defaultProps:s,elementType:l,activeDescendantController:u}=t,a=re(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof s=="object"&&s},elementType:l}),c=m.useRef(null);return a.ref=Fe(c,a.ref,r),a.onBlur=Ee(d=>{i(d,!1),n(!1)},a.onBlur),a.onFocus=Ee(d=>{d.target===d.currentTarget&&n(!0)},a.onFocus),a.onClick=Ee(d=>{i(d,!o)},a.onClick),a.onKeyDown=Ee(Rk({activeDescendantController:u,...t.state}),a.onKeyDown),a}function Rk(e){const{activeDescendantController:r,getOptionById:t,setOpen:o,selectOption:i,multiselect:n,open:s}=e,l=m.useCallback(()=>{const v=r.active();return v?t(v):void 0},[r,t]),u=()=>{r.first()},a=()=>{r.last()},c=v=>{v?r.next():r.first()},d=v=>{v?r.prev():r.first()},g=()=>{for(let v=0;v<10;v++)r.prev()},f=()=>{for(let v=0;v<10;v++)r.next()},h=qb();return J(v=>{const b=hn(v,{open:s,multiselect:n}),p=l();switch(b){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":v.preventDefault();break}switch(h(!0),b){case"First":u();break;case"Last":a();break;case"Next":c(p);break;case"Previous":d(p);break;case"PageDown":f();break;case"PageUp":g();break;case"Open":o(v,!0);break;case"Close":v.stopPropagation(),o(v,!1);break;case"CloseSelect":!n&&!(p!=null&&p.disabled)&&o(v,!1);case"Select":p&&i(v,p);break;case"Tab":!n&&p&&i(v,p);break}})}function Dk(e,r,t){"use no memo";const{state:{open:o,value:i,selectOption:n,setValue:s,multiselect:l,selectedOptions:u,clearSelection:a,getOptionById:c,setOpen:d},freeform:g,defaultProps:f,activeDescendantController:h}=t,v=T=>{if(!o&&!g){const z=h.active(),I=z?c(z):null;i&&I&&i.trim().toLowerCase()===(I==null?void 0:I.text.toLowerCase())&&n(T,I),s(void 0)}},b=T=>{const z=T==null?void 0:T.trim().toLowerCase();if(!z||z.length===0){h.blur();return}const I=U=>U.toLowerCase().indexOf(z)===0,G=h.find(U=>{const B=c(U);return!!B&&I(B.text)});if(!G){h.blur();return}return c(G)},p=T=>{const z=T.target.value;s(z);const I=b(z);!l&&u.length===1&&(z.length<1||!I)&&a(T)},y=zk(e,r,{state:t.state,defaultProps:f,elementType:"input",activeDescendantController:h});y.onChange=Ee(y.onChange,p),y.onBlur=Ee(y.onBlur,v);const[k,w]=m.useState(!1),_=m.useRef(!1),S=y.onKeyDown,C=J(T=>{!o&&hn(T)==="Type"&&d(T,!0),T.key===Sc||T.key===Xi?w(!0):w(!1);const z=hn(T,{open:o,multiselect:l});if(z==="Type"?_.current=!0:(z==="Open"&&T.key!==" "||z==="Next"||z==="Previous"||z==="First"||z==="Last"||z==="PageUp"||z==="PageDown")&&(_.current=!1),(_.current||!o)&&T.key===" "){var I;e==null||(I=e.onKeyDown)===null||I===void 0||I.call(e,T);return}S==null||S(T)});return y.onKeyDown=C,k&&(y["aria-activedescendant"]=void 0),y}const Fk=(e,r)=>{"use no memo";var t,o;e=dn(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{listboxRef:i,activeParentRef:n,controller:s}=Fc({matchOption:L=>L.classList.contains(gn.root)}),l=Tk({...e,editable:!0,activeDescendantController:s}),{clearable:u,clearSelection:a,disabled:c,multiselect:d,open:g,selectedOptions:f,setOpen:h,value:v,hasFocus:b}=l,[p,y]=Ek(e),{disableAutoFocus:k=!1,freeform:w,inlinePopup:_}=e,S=Qe("combobox-"),{primary:C,root:T}=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),z=m.useRef(null),I=Nk(e.listbox,Fe(p,i),{state:l,triggerRef:z,defaultProps:{children:e.children,disableAutoFocus:k}});var G;const U=Dk((G=e.input)!==null&&G!==void 0?G:{},Fe(z,n,r),{state:l,freeform:w,defaultProps:{type:"text",value:v??"","aria-controls":g?I==null?void 0:I.id:void 0,...C},activeDescendantController:s}),B=re(e.root,{defaultProps:{"aria-owns":!_&&g?I==null?void 0:I.id:void 0,...T},elementType:"div"});B.ref=Fe(B.ref,y);const j=f.length>0&&!c&&u&&!d,V={components:{root:"div",input:"input",expandIcon:"span",listbox:wa,clearIcon:"span"},root:B,input:U,listbox:g||b?I:void 0,clearIcon:te(e.clearIcon,{defaultProps:{"aria-hidden":"true",children:m.createElement(Ic,null)},elementType:"span",renderByDefault:!0}),expandIcon:te(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":c?"true":void 0,"aria-expanded":g,children:m.createElement(n0,null),role:"button"},elementType:"span"}),showClearIcon:j,activeDescendantController:s,...l},{targetDocument:X}=_e();Om({element:X,callback:L=>h(L,!1),refs:[z,p,y],disabled:!g});const{onMouseDown:Z}=V.expandIcon||{},R=J(Ee(Z,L=>{var oe;L.preventDefault(),V.setOpen(L,!V.open),(oe=z.current)===null||oe===void 0||oe.focus()}));if(V.expandIcon){V.expandIcon.onMouseDown=R;const L=V.expandIcon["aria-label"]||V.expandIcon["aria-labelledby"],oe="Open";if(!L)if(e["aria-labelledby"]){var q;const be=(q=V.expandIcon.id)!==null&&q!==void 0?q:`${S}-chevron`,dt=`${be} ${V.input["aria-labelledby"]}`;V.expandIcon["aria-label"]=oe,V.expandIcon.id=be,V.expandIcon["aria-labelledby"]=dt}else e["aria-label"]?V.expandIcon["aria-label"]=`${oe} ${e["aria-label"]}`:V.expandIcon["aria-label"]=oe}const W=J(Ee((t=V.clearIcon)===null||t===void 0?void 0:t.onMouseDown,L=>{L.preventDefault()})),ne=J(Ee((o=V.clearIcon)===null||o===void 0?void 0:o.onClick,L=>{a(L)}));return V.clearIcon&&(V.clearIcon.onMouseDown=W,V.clearIcon.onClick=ne),d&&(V.clearIcon=void 0),process.env.NODE_ENV!=="production"&&m.useEffect(()=>{u&&d&&console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[u,d]),V},Ik=(e,r)=>(ie(e),A(e.root,{children:A(Tc,{value:r.activeDescendant,children:A(vk,{value:r.listbox,children:we(cd.Provider,{value:r.combobox,children:[A(e.input,{}),e.clearIcon&&A(e.clearIcon,{}),e.expandIcon&&A(e.expandIcon,{}),e.listbox&&(e.inlinePopup?A(e.listbox,{}):A(pa,{mountNode:e.mountNode,children:A(e.listbox,{})}))]})})})})),vo={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},Ak=O({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),jk=O({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),Ok=O({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fvc9v3g svg{display:block;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),qk=e=>{"use no memo";const{appearance:r,open:t,size:o,showClearIcon:i}=e,n=`${e.input["aria-invalid"]}`=="true",s=e.input.disabled,l=Ak(),u=Ok(),a=jk();return e.root.className=E(vo.root,l.root,l[r],l[o],!s&&r==="outline"&&l.outlineInteractive,n&&r!=="underline"&&l.invalid,n&&r==="underline"&&l.invalidUnderline,s&&l.disabled,e.root.className),e.input.className=E(vo.input,a.input,a[o],s&&a.disabled,e.input.className),e.listbox&&(e.listbox.className=E(vo.listbox,l.listbox,e.inlinePopup&&l.inlineListbox,!t&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=E(vo.expandIcon,u.icon,u[o],s&&u.disabled,i&&u.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=E(vo.clearIcon,u.icon,u[o],s&&u.disabled,!i&&u.hidden,e.clearIcon.className)),e},gd=m.forwardRef((e,r)=>{const t=Fk(e,r),o=mk(t);return qk(t),le("useComboboxStyles_unstable")(t),Ik(t,o)});gd.displayName="Combobox";const Mk=(e,r)=>{e=dn(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const t=Bm();var o;const{size:i="medium",appearance:n=(o=t.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:s}=e;process.env.NODE_ENV!=="production"&&(n==="filled-darker-shadow"||n==="filled-lighter-shadow")&&console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");const[l,u]=yt({state:e.value,defaultState:e.defaultValue,initialState:""}),a=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),c={size:i,appearance:n,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:re(e.input,{defaultProps:{type:"text",ref:r,...a.primary},elementType:"input"}),contentAfter:te(e.contentAfter,{elementType:"span"}),contentBefore:te(e.contentBefore,{elementType:"span"}),root:re(e.root,{defaultProps:a.root,elementType:"span"})};return c.input.value=l,c.input.onChange=J(d=>{const g=d.target.value;s==null||s(d,{value:g}),u(g)}),c},Lk=e=>(ie(e),we(e.root,{children:[e.contentBefore&&A(e.contentBefore,{}),A(e.input,{}),e.contentAfter&&A(e.contentAfter,{})]})),vn={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},Hk=ce("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Wk=O({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),Vk=ce("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),$k=O({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Gk=ce("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),Uk=O({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),Kk=e=>{"use no memo";const{size:r,appearance:t}=e,o=e.input.disabled,i=`${e.input["aria-invalid"]}`=="true",n=t.startsWith("filled"),s=Wk(),l=$k(),u=Uk();e.root.className=E(vn.root,Hk(),s[r],e.contentBefore&&s[`${r}WithContentBefore`],e.contentAfter&&s[`${r}WithContentAfter`],s[t],!o&&t==="outline"&&s.outlineInteractive,!o&&t==="underline"&&s.underlineInteractive,!o&&n&&s.filledInteractive,n&&s.filled,!o&&i&&s.invalid,o&&s.disabled,e.root.className),e.input.className=E(vn.input,Vk(),l[r],e.contentBefore&&l[`${r}WithContentBefore`],e.contentAfter&&l[`${r}WithContentAfter`],o&&l.disabled,e.input.className);const a=[Gk(),o&&u.disabled,u[r]];return e.contentBefore&&(e.contentBefore.className=E(vn.contentBefore,...a,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=E(vn.contentAfter,...a,e.contentAfter.className)),e},mn=m.forwardRef((e,r)=>{const t=Mk(e,r);return Kk(t),le("useInputStyles_unstable")(t),Lk(t)});mn.displayName="Input";const Xk=e=>{const{presenceOnly:r,textPosition:t}=e;ie(e);const o=r?e.presence&&A(e.presence,{}):e.avatar&&A(e.avatar,{});return we(e.root,{children:[(t==="after"||t==="below")&&o,e.primaryText&&A(e.primaryText,{}),e.secondaryText&&A(e.secondaryText,{}),e.tertiaryText&&A(e.tertiaryText,{}),e.quaternaryText&&A(e.quaternaryText,{}),t==="before"&&o]})},Zk=(e,r)=>{const{name:t,presenceOnly:o=!1,size:i="medium",textAlignment:n="start",textPosition:s="after"}=e,l=te(e.primaryText,{renderByDefault:!0,defaultProps:{children:t},elementType:"span"}),u=te(e.secondaryText,{elementType:"span"}),a=te(e.tertiaryText,{elementType:"span"}),c=te(e.quaternaryText,{elementType:"span"});return{numTextLines:[l,u,a,c].filter(Boolean).length,presenceOnly:o,size:i,textAlignment:n,textPosition:s,components:{root:"div",avatar:ea,presence:lo,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:re(ve("div",{...e,ref:r},["name"]),{elementType:"div"}),avatar:o?void 0:te(e.avatar,{renderByDefault:!0,defaultProps:{name:t,badge:e.presence,size:Yk[i]},elementType:ea}),presence:o?te(e.presence,{defaultProps:{size:Qk[i]},elementType:lo}):void 0,primaryText:l,secondaryText:u,tertiaryText:a,quaternaryText:c}},Qk={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},Yk={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},rr={root:"fui-Persona",avatar:"fui-Persona__avatar",presence:"fui-Persona__presence",primaryText:"fui-Persona__primaryText",secondaryText:"fui-Persona__secondaryText",tertiaryText:"fui-Persona__tertiaryText",quaternaryText:"fui-Persona__quaternaryText"},Jk=ce("rlroi9i",null,[".rlroi9i{display:inline-grid;grid-auto-rows:max-content;grid-auto-flow:column;justify-items:start;grid-template-columns:max-content [middle] auto;}"]),ex=O({beforeAfterCenter:{wkccdc:"f1iantul"},after:{},before:{B7hvi0a:"f1tll2w5",Budl1dq:"ffvkwdr"},below:{Bxotwcr:"f1nkeedh",B7hvi0a:"f1oiokrs",Budl1dq:"f1emgwh2"},media:{Ijaq50:"f1hek2iy"},mediaBeforeAfterCenter:{Ijaq50:"fa4dipu"},start:{qb2dma:"f9h729m"},center:{qb2dma:"f7nlbp4"},afterAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Bw0ie65:"f1warjpf"},beforeAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Br312pm:"fwu52yu"},secondLineSpacing:{B6of3ja:"f1ryq6si"},primary:{Ijaq50:"f1q3ipgb"},secondary:{Ijaq50:"f3drtdk"},tertiary:{Ijaq50:"fa1o6s1"},quaternary:{Ijaq50:"f1tuwaia"}},{d:[".f1iantul{grid-template-rows:1fr [primary] max-content [secondary] max-content [tertiary] max-content [quaternary] max-content 1fr;}",".f1tll2w5{justify-items:end;}",".ffvkwdr{grid-template-columns:auto [middle] max-content;}",".f1nkeedh{grid-auto-flow:unset;}",".f1oiokrs{justify-items:center;}",".f1emgwh2{grid-template-columns:unset;}",".f1hek2iy{grid-row-start:span 5;}",".fa4dipu{grid-row-start:span 6;}",".f9h729m{align-self:start;}",".f7nlbp4{align-self:center;}",".f1rnkkuc{grid-row-start:unset;}",".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".f1ryq6si{margin-top:-2px;}",".f1q3ipgb{grid-row-start:primary;}",".f3drtdk{grid-row-start:secondary;}",".fa1o6s1{grid-row-start:tertiary;}",".f1tuwaia{grid-row-start:quaternary;}"]}),tx=O({"extra-small":{Bs1gm4r:"f1e48tse"},small:{Bs1gm4r:"f18q9vkd"},medium:{Bs1gm4r:"f18q9vkd"},large:{Bs1gm4r:"fx34bi6"},"extra-large":{Bs1gm4r:"fx34bi6"},huge:{Bs1gm4r:"f1o96qtm"},after:{t21cq0:["f103ycu4","f1tao51"]},below:{jrapky:"fbo7acy"},before:{Frg6f3:["f1tao51","f103ycu4"]}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}",".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}",".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}",".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}",".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}",".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}",".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]}),rx=O({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),ox=e=>{"use no memo";const{presenceOnly:r,size:t,textAlignment:o,textPosition:i}=e,n=r&&o==="start"&&t!=="extra-large"&&t!=="huge",s=i!=="below"&&o==="center",{primaryTextClassName:l,optionalTextClassName:u}=sx(e,n),a=Jk(),c=ex(),d=tx(),g={...d,...rx()};return e.root.className=E(rr.root,a,s&&c.beforeAfterCenter,c[i],e.root.className),e.avatar&&(e.avatar.className=E(rr.avatar,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],d[t],d[i],e.avatar.className)),e.presence&&(e.presence.className=E(rr.presence,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],g[t],g[i],i==="after"&&n&&c.afterAlignToPrimary,i==="before"&&n&&c.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=E(rr.primaryText,s&&c.primary,l,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=E(rr.secondaryText,s&&c.secondary,u,c.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=E(rr.tertiaryText,s&&c.tertiary,u,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=E(rr.quaternaryText,s&&c.quaternary,u,e.quaternaryText.className)),e},nx=ce("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),ix=ce("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),ax=O({beforeAlignToPrimary:{Bw0ie65:"f1warjpf"},afterAlignToPrimary:{Br312pm:"fwu52yu"},body1:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},caption1:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtitle2:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),sx=(e,r)=>{const{presenceOnly:t,size:o,textPosition:i}=e,n=nx(),s=ix(),l=ax();let u,a;return t?(o==="extra-small"?u=e.numTextLines<=1&&l.caption1:(o==="extra-large"||o==="huge")&&(u=l.subtitle2),r&&(i==="before"?a=l.beforeAlignToPrimary:i==="after"&&(a=l.afterAlignToPrimary))):(o==="huge"||o==="extra-large")&&(u=l.subtitle2),{primaryTextClassName:E(n,u,a),optionalTextClassName:E(s,!t&&o==="huge"&&l.body1,a)}},vd=m.forwardRef((e,r)=>{const t=Zk(e,r);return ox(t),le("usePersonaStyles_unstable")(t),Xk(t)});vd.displayName="Persona";const md=m.createContext(void 0),lx={};md.Provider;const cx=()=>m.useContext(md)||lx,ux=e=>(ie(e),we(e.root,{children:[A(e.input,{}),A(e.indicator,{}),e.label&&A(e.label,{})]})),dx=(e,r)=>{const t=cx(),{name:o=t.name,checked:i=t.value!==void 0?t.value===e.value:void 0,defaultChecked:n=t.defaultValue!==void 0?t.defaultValue===e.value:void 0,labelPosition:s=t.layout==="horizontal-stacked"?"below":"after",disabled:l=t.disabled,required:u=t.required,"aria-describedby":a=t["aria-describedby"],onChange:c}=e,d=Vo({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=re(e.root,{defaultProps:{ref:Er(),...d.root},elementType:"span"}),f=re(e.input,{defaultProps:{ref:r,type:"radio",id:Qe("radio-",d.primary.id),name:o,checked:i,defaultChecked:n,disabled:l,required:u,"aria-describedby":a,...d.primary},elementType:"input"});f.onChange=Ee(f.onChange,b=>c==null?void 0:c(b,{value:b.currentTarget.value}));const h=te(e.label,{defaultProps:{htmlFor:f.id,disabled:f.disabled},elementType:Bt}),v=re(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:s,components:{root:"span",input:"input",label:Bt,indicator:"div"},root:g,input:f,label:h,indicator:v}},pn={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},fx=ce("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),hx=O({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),gx=ce("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),vx=O({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),mx=ce("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),px=O({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),bx=e=>{"use no memo";const{labelPosition:r}=e,t=fx(),o=hx();e.root.className=E(pn.root,t,r==="below"&&o.vertical,e.root.className);const i=gx(),n=vx();e.input.className=E(pn.input,i,r==="below"&&n.below,e.indicator.children?n.customIndicator:n.defaultIndicator,e.input.className);const s=mx();e.indicator.className=E(pn.indicator,s,e.indicator.className);const l=px();return e.label&&(e.label.className=E(pn.label,l.base,l[r],e.label.className)),e},ka=m.forwardRef((e,r)=>{const t=dx(e,r);return bx(t),le("useRadioStyles_unstable")(t),ux(t)});ka.displayName="Radio";const pd=m.createContext(void 0),yx={};pd.Provider;const wx=()=>{var e;return(e=m.useContext(pd))!==null&&e!==void 0?e:yx},kx=(e,r)=>{const{size:t}=wx(),{appearance:o="primary",labelPosition:i="after",size:n=t??"medium",delay:s=0}=e,l=Qe("spinner"),{role:u="progressbar",...a}=e,c=re(ve("div",{ref:r,role:u,...a},["size"]),{elementType:"div"}),[d,g]=m.useState(!1),[f,h]=Vm();m.useEffect(()=>{if(!(s<=0))return f(()=>{g(!0)},s),()=>{h()}},[f,h,s]);const v=te(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:Bt}),b=te(e.spinner,{renderByDefault:!0,elementType:"span"});return v&&c&&!c["aria-labelledby"]&&(c["aria-labelledby"]=v.id),{appearance:o,delay:s,labelPosition:i,size:n,shouldRenderSpinner:!s||d,components:{root:"div",spinner:"span",spinnerTail:"span",label:Bt},root:c,spinner:b,spinnerTail:re(e.spinnerTail,{elementType:"span"}),label:v}},xx=e=>{ie(e);const{labelPosition:r,shouldRenderSpinner:t}=e;return we(e.root,{children:[e.label&&t&&(r==="above"||r==="before")&&A(e.label,{}),e.spinner&&t&&A(e.spinner,{children:e.spinnerTail&&A(e.spinnerTail,{})}),e.label&&t&&(r==="below"||r==="after")&&A(e.label,{})]})},bn={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},_x=ce("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),Sx=O({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Bx=ce("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Cx=ce("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Px=O({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Tx=O({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Ex=e=>{"use no memo";const{labelPosition:r,size:t,appearance:o}=e,{dir:i}=_e(),n=_x(),s=Sx(),l=Bx(),u=Px(),a=Cx(),c=Tx();return e.root.className=E(bn.root,n,(r==="above"||r==="below")&&s.vertical,e.root.className),e.spinner&&(e.spinner.className=E(bn.spinner,l,u[t],o==="inverted"&&u.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=E(bn.spinnerTail,a,i==="rtl"&&u.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=E(bn.label,c[t],o==="inverted"&&c.inverted,e.label.className)),e},jr=m.forwardRef((e,r)=>{const t=kx(e,r);return Ex(t),le("useSpinnerStyles_unstable")(t),xx(t)});jr.displayName="Spinner";const bd=(e,r)=>{const{wrap:t,truncate:o,block:i,italic:n,underline:s,strikethrough:l,size:u,font:a,weight:c,align:d}=e;return{align:d??"start",block:i??!1,font:a??"base",italic:n??!1,size:u??300,strikethrough:l??!1,truncate:o??!1,underline:s??!1,weight:c??"regular",wrap:t??!0,components:{root:"span"},root:re(ve("span",{ref:r,...e}),{elementType:"span"})}},yd=e=>(ie(e),A(e.root,{})),Nx={root:"fui-Text"},zx=O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),wd=e=>{"use no memo";const r=zx();return e.root.className=E(Nx.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e},kd=m.forwardRef((e,r)=>{const t=bd(e,r);return wd(t),le("useTextStyles_unstable")(t),yd(t)});kd.displayName="Text";function xd(e){const{useStyles:r,className:t,displayName:o}=e,i=m.forwardRef((n,s)=>{"use no memo";const l=r(),u=bd(n,s);return wd(u),u.root.className=E(t,u.root.className,l.root,n.className),yd(u)});return i.displayName=o,i}const Rx=xd({useStyles:O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),className:{root:"fui-Body1"}.root,displayName:"Body1"}),Dx=xd({useStyles:O({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),className:{root:"fui-Caption1"}.root,displayName:"Caption1"}),Fx=ce("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Ix=ce("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Ax(){const e=Fx(),r=Ix(),{targetDocument:t}=_e(),o=m.useCallback(()=>{var n;if(!t)return;var s;Math.floor(t.body.getBoundingClientRect().height)>((s=(n=t.defaultView)===null||n===void 0?void 0:n.innerHeight)!==null&&s!==void 0?s:0)&&(t.documentElement.classList.add(e),t.body.classList.add(r))},[t,e,r]),i=m.useCallback(()=>{t&&(t.documentElement.classList.remove(e),t.body.classList.remove(r))},[t,e,r]);return{disableBodyScroll:o,enableBodyScroll:i}}function jx(e,r){const{findFirstFocusable:t}=so(),{targetDocument:o}=_e(),i=m.useRef(null);return m.useEffect(()=>{if(!e)return;const n=i.current&&t(i.current);if(n)n.focus();else{var s;(s=i.current)===null||s===void 0||s.focus(),process.env.NODE_ENV==="development"&&console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[t,e,r,o]),i}const Ox={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},xa=Yo(void 0),qx=xa.Provider,jt=e=>Gi(xa,(r=Ox)=>e(r)),_d=m.createContext(void 0).Provider,Sd=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],Bd=zr({enter:{keyframes:Sd,easing:De.curveDecelerateMid,duration:De.durationGentle},exit:{keyframes:[...Sd].reverse(),easing:De.curveAccelerateMin,duration:De.durationGentle}}),Mx=e=>{const{children:r,modalType:t="modal",onOpenChange:o,inertTrapFocus:i=!1}=e,[n,s]=Lx(r),[l,u]=yt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),a=J(h=>{o==null||o(h.event,h),h.event.isDefaultPrevented()||u(h.open)}),c=jx(l,t),{modalAttributes:d,triggerAttributes:g}=Ib({trapFocus:t!=="non-modal",legacyTrapFocus:!i}),f=Ui(xa);return{components:{surfaceMotion:Bd},inertTrapFocus:i,open:l,modalType:t,content:s,trigger:n,requestOpenChange:a,dialogTitleId:Qe("dialog-title-"),isNestedDialog:f,dialogRef:c,modalAttributes:d,triggerAttributes:g,surfaceMotion:Yi(e.surfaceMotion,{elementType:Bd,defaultProps:{appear:!0,visible:l,unmountOnExit:!0}})}};function Lx(e){const r=m.Children.toArray(e);switch(process.env.NODE_ENV!=="production"&&r.length!==1&&r.length!==2&&console.warn(`@fluentui/react-dialog [useDialog]:
182
182
  Dialog must contain at least one child <DialogSurface/>,
183
- and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`),r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const Sd=m.createContext(void 0);function Ox(){return m.useContext(Sd)}const qx=m.forwardRef((e,r)=>m.createElement(Sd.Provider,{value:r},e.children)),Mx=(e,r)=>(ie(e),A(Ix,{value:r.dialog,children:we(kd,{value:r.dialogSurface,children:[e.trigger,e.content&&A(e.surfaceMotion,{children:A(qx,{children:e.content})})]})}));function Lx(e){const{modalType:r,open:t,dialogRef:o,dialogTitleId:i,isNestedDialog:n,inertTrapFocus:s,requestOpenChange:l,modalAttributes:u,triggerAttributes:a}=e;return{dialog:{open:t,modalType:r,dialogRef:o,dialogTitleId:i,isNestedDialog:n,inertTrapFocus:s,modalAttributes:u,triggerAttributes:a,requestOpenChange:l},dialogSurface:!1}}const _a=m.memo(e=>{const r=Ax(e),t=Lx(r);return Mx(r,t)});_a.displayName="Dialog";const Bd={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},Hx=ce("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),Wx=O({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Vx=ce("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),$x=e=>{"use no memo";const r=Hx(),t=Vx(),o=Wx();return e.root.className=E(Bd.root,r,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=E(Bd.action,t,e.action.className)),e},Cd=$0,Gx=(e,r)=>{const t=Ox(),o=jt(v=>v.modalType),i=jt(v=>v.isNestedDialog),n=jt(v=>v.modalAttributes),s=jt(v=>v.dialogRef),l=jt(v=>v.requestOpenChange),u=jt(v=>v.dialogTitleId),a=jt(v=>v.open),c=J(v=>{if(gl(e.backdrop)){var b,p;(b=(p=e.backdrop).onClick)===null||b===void 0||b.call(p,v)}o==="modal"&&!v.isDefaultPrevented()&&l({event:v,open:!1,type:"backdropClick"})}),d=J(v=>{var b;(b=e.onKeyDown)===null||b===void 0||b.call(e,v),v.key===Zi&&!v.isDefaultPrevented()&&(l({event:v,open:!1,type:"escapeKeyDown"}),v.preventDefault())}),g=te(e.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});g&&(g.onClick=c);const{disableBodyScroll:f,enableBodyScroll:h}=Rx();return Re(()=>{if(!(i||o==="non-modal"))return f(),()=>{h()}},[h,i,f,o]),{components:{backdrop:"div",root:"div",backdropMotion:Cd},open:a,backdrop:g,isNestedDialog:i,mountNode:e.mountNode,root:re(ve("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:u,...e,...n,onKeyDown:d,ref:Fe(r,t,s)}),{elementType:"div"}),backdropMotion:Yi(e.backdropMotion,{elementType:Cd,defaultProps:{appear:!0,visible:a}}),transitionStatus:void 0}},Ux=(e,r)=>(ie(e),we(pa,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&A(e.backdropMotion,{children:A(e.backdrop,{})}),A(kd,{value:r.dialogSurface,children:A(e.root,{})})]}));function Kx(e){return{dialogSurface:!0}}const Xx=e=>{const r=e<=0?1:e;return process.env.NODE_ENV!=="production"&&e<=0&&console.error(`The prop 'max' must be greater than 0. Received max: ${e}`),r},Zx=(e,r)=>{if(e===void 0)return e;const t=e<0?0:e>r?r:e;return process.env.NODE_ENV!=="production"&&(e<0&&console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${e}`),e>r&&console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${e}, max: ${r}`)),t},Qx=(e,r)=>{const t=nd(),o=t==null?void 0:t.validationState,{color:i=o==="error"||o==="warning"||o==="success"?o:"brand",shape:n="rounded",thickness:s="medium"}=e;var l;const u=Xx((l=e.max)!==null&&l!==void 0?l:1),a=Zx(e.value,u),c=re(ve("div",{ref:r,role:"progressbar","aria-valuemin":a!==void 0?0:void 0,"aria-valuemax":a!==void 0?u:void 0,"aria-valuenow":a,"aria-labelledby":t==null?void 0:t.labelId,...e}),{elementType:"div"});t&&(t.validationMessageId||t.hintId)&&(c["aria-describedby"]=[t==null?void 0:t.validationMessageId,t==null?void 0:t.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const d=re(e.bar,{elementType:"div"});return{color:i,max:u,shape:n,thickness:s,value:a,components:{root:"div",bar:"div"},root:c,bar:d}},Yx=e=>(ie(e),A(e.root,{children:e.bar&&A(e.bar,{})})),Pd={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Jx=.01,e_=O({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),t_=O({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
183
+ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`),r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const Cd=m.createContext(void 0);function Hx(){return m.useContext(Cd)}const Wx=m.forwardRef((e,r)=>m.createElement(Cd.Provider,{value:r},e.children)),Vx=(e,r)=>(ie(e),A(qx,{value:r.dialog,children:we(_d,{value:r.dialogSurface,children:[e.trigger,e.content&&A(e.surfaceMotion,{children:A(Wx,{children:e.content})})]})}));function $x(e){const{modalType:r,open:t,dialogRef:o,dialogTitleId:i,isNestedDialog:n,inertTrapFocus:s,requestOpenChange:l,modalAttributes:u,triggerAttributes:a}=e;return{dialog:{open:t,modalType:r,dialogRef:o,dialogTitleId:i,isNestedDialog:n,inertTrapFocus:s,modalAttributes:u,triggerAttributes:a,requestOpenChange:l},dialogSurface:!1}}const _a=m.memo(e=>{const r=Mx(e),t=$x(r);return Vx(r,t)});_a.displayName="Dialog";const Pd={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},Gx=ce("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),Ux=O({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Kx=ce("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Xx=e=>{"use no memo";const r=Gx(),t=Kx(),o=Ux();return e.root.className=E(Pd.root,r,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=E(Pd.action,t,e.action.className)),e},Td=X0,Zx=(e,r)=>{const t=Hx(),o=jt(v=>v.modalType),i=jt(v=>v.isNestedDialog),n=jt(v=>v.modalAttributes),s=jt(v=>v.dialogRef),l=jt(v=>v.requestOpenChange),u=jt(v=>v.dialogTitleId),a=jt(v=>v.open),c=J(v=>{if(ml(e.backdrop)){var b,p;(b=(p=e.backdrop).onClick)===null||b===void 0||b.call(p,v)}o==="modal"&&!v.isDefaultPrevented()&&l({event:v,open:!1,type:"backdropClick"})}),d=J(v=>{var b;(b=e.onKeyDown)===null||b===void 0||b.call(e,v),v.key===Zi&&!v.isDefaultPrevented()&&(l({event:v,open:!1,type:"escapeKeyDown"}),v.preventDefault())}),g=te(e.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});g&&(g.onClick=c);const{disableBodyScroll:f,enableBodyScroll:h}=Ax();return Re(()=>{if(!(i||o==="non-modal"))return f(),()=>{h()}},[h,i,f,o]),{components:{backdrop:"div",root:"div",backdropMotion:Td},open:a,backdrop:g,isNestedDialog:i,mountNode:e.mountNode,root:re(ve("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:u,...e,...n,onKeyDown:d,ref:Fe(r,t,s)}),{elementType:"div"}),backdropMotion:Yi(e.backdropMotion,{elementType:Td,defaultProps:{appear:!0,visible:a}}),transitionStatus:void 0}},Qx=(e,r)=>(ie(e),we(pa,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&A(e.backdropMotion,{children:A(e.backdrop,{})}),A(_d,{value:r.dialogSurface,children:A(e.root,{})})]}));function Yx(e){return{dialogSurface:!0}}const Jx=e=>{const r=e<=0?1:e;return process.env.NODE_ENV!=="production"&&e<=0&&console.error(`The prop 'max' must be greater than 0. Received max: ${e}`),r},e_=(e,r)=>{if(e===void 0)return e;const t=e<0?0:e>r?r:e;return process.env.NODE_ENV!=="production"&&(e<0&&console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${e}`),e>r&&console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${e}, max: ${r}`)),t},t_=(e,r)=>{const t=ad(),o=t==null?void 0:t.validationState,{color:i=o==="error"||o==="warning"||o==="success"?o:"brand",shape:n="rounded",thickness:s="medium"}=e;var l;const u=Jx((l=e.max)!==null&&l!==void 0?l:1),a=e_(e.value,u),c=re(ve("div",{ref:r,role:"progressbar","aria-valuemin":a!==void 0?0:void 0,"aria-valuemax":a!==void 0?u:void 0,"aria-valuenow":a,"aria-labelledby":t==null?void 0:t.labelId,...e}),{elementType:"div"});t&&(t.validationMessageId||t.hintId)&&(c["aria-describedby"]=[t==null?void 0:t.validationMessageId,t==null?void 0:t.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const d=re(e.bar,{elementType:"div"});return{color:i,max:u,shape:n,thickness:s,value:a,components:{root:"div",bar:"div"},root:c,bar:d}},r_=e=>(ie(e),A(e.root,{children:e.bar&&A(e.bar,{})})),Ed={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},o_=.01,n_=O({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),i_=O({base:{Bpep1pd:"f1neahkh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
184
184
  to right,
185
185
  var(--colorNeutralBackground6) 0%,
186
186
  var(--colorTransparentBackground) 50%,
@@ -190,4 +190,4 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`),r.
190
190
  var(--colorNeutralBackground6) 0%,
191
191
  var(--colorTransparentBackground) 50%,
192
192
  var(--colorNeutralBackground6) 100%
193
- );}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),r_=e=>{"use no memo";const{color:r,max:t,shape:o,thickness:i,value:n}=e,s=e_(),l=t_();return e.root.className=E(Pd.root,s.root,s[o],s[i],e.root.className),e.bar&&(e.bar.className=E(Pd.bar,l.base,l.brand,n===void 0&&l.indeterminate,n!==void 0&&n>Jx&&l.nonZeroDeterminate,r&&n!==void 0&&l[r],e.bar.className)),e.bar&&n!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,n/t*100))+"%",...e.bar.style}),e},Td=m.forwardRef((e,r)=>{const t=Qx(e,r);return r_(t),le("useProgressBarStyles_unstable")(t),Yx(t)});Td.displayName="ProgressBar";const mo=()=>{},Ed={allRowsSelected:!1,clearRows:mo,deselectRow:mo,isRowSelected:()=>!1,selectRow:mo,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:mo,toggleRow:mo,selectionMode:"multiselect"};function o_(e){"use no memo";return r=>n_(r,e)}function n_(e,r){const{items:t,getRowId:o}=e,{selectionMode:i,defaultSelectedItems:n,selectedItems:s,onSelectionChange:l}=r,[u,a]=Vm({selectionMode:i,defaultSelectedItems:n,selectedItems:s,onSelectionChange:l}),c=m.useMemo(()=>{const k=new Set;for(let _=0;_<t.length;_++){var w;k.add((w=o==null?void 0:o(t[_]))!==null&&w!==void 0?w:_)}return k},[t,o]),d=m.useMemo(()=>{if(i==="single"){const w=Array.from(u)[0];return c.has(w)}if(u.size<c.size||c.size===0)return!1;let k=!0;return c.forEach(w=>{u.has(w)||(k=!1)}),k},[c,u,i]),g=m.useMemo(()=>{if(u.size<=0)return!1;let k=!1;return c.forEach(w=>{u.has(w)&&(k=!0)}),k},[c,u]),f=J(k=>{a.toggleAllItems(k,t.map((w,_)=>{var S;return(S=o==null?void 0:o(w))!==null&&S!==void 0?S:_}))}),h=J((k,w)=>a.toggleItem(k,w)),v=J((k,w)=>a.deselectItem(k,w)),b=J((k,w)=>a.selectItem(k,w)),p=k=>a.isSelected(k),y=J(k=>a.clearItems(k));return{...e,selection:{selectionMode:i,someRowsSelected:g,allRowsSelected:d,selectedRows:u,toggleRow:h,toggleAllRows:f,clearRows:y,deselectRow:v,selectRow:b,isRowSelected:p}}}const Sa=()=>{},Nd={getSortDirection:()=>"ascending",setColumnSort:Sa,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Sa};function i_(e){"use no memo";return r=>a_(r,e)}function a_(e,r){const{columns:t}=e,{sortState:o,defaultSortState:i,onSortChange:n=Sa}=r,[s,l]=yt({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:i,state:o}),{sortColumn:u,sortDirection:a}=s,c=J(n),d=m.useCallback((v,b)=>{l(p=>{const y={...p,sortColumn:b};return p.sortColumn===b?y.sortDirection=p.sortDirection==="ascending"?"descending":"ascending":y.sortDirection="ascending",c==null||c(v,y),y})},[c,l]),g=(v,b,p)=>{const y={sortColumn:b,sortDirection:p};c==null||c(v,y),l(y)},f=m.useCallback(v=>v.slice().sort((b,p)=>{const y=t.find(w=>w.columnId===u);if(!(y!=null&&y.compare))return 0;const k=a==="ascending"?1:-1;return y.compare(b.item,p.item)*k}),[t,u,a]);return{...e,sort:{sort:f,sortColumn:u,sortDirection:a,setColumnSort:g,toggleColumnSort:d,getSortDirection:v=>u===v?a:void 0}}}const s_=(e,r)=>{const t=J(o=>{var i;(i=e.onClick)===null||i===void 0||i.call(e,o),o.stopPropagation()});return{components:{root:"div"},root:re(ve("div",{ref:r,...e,onClick:t}),{elementType:"div"})}},l_=e=>(ie(e),A(e.root,{})),c_={root:"fui-TableResizeHandle"},u_=O({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),d_=e=>{"use no memo";const r=u_();return e.root.className=E(c_.root,r.root,e.root.className),e},zd=m.forwardRef((e,r)=>{const t=s_(e,r);return d_(t),le("useTableResizeHandleStyles_unstable")(t),l_(t)});zd.displayName="TableResizeHandle";function f_(){const[e,r]=m.useState(0),t=m.useRef(void 0),o=m.useRef(null),{targetDocument:i}=_e(),n=m.useCallback(()=>{var l;const u=(l=t.current)===null||l===void 0?void 0:l.getBoundingClientRect().width;r(u||0)},[]),s=m.useCallback(l=>{if(i&&(!l&&o.current&&t.current&&o.current.unobserve(t.current),t.current=void 0,l!=null&&l.parentElement)){var u;t.current=l.parentElement,n(),(u=o.current)===null||u===void 0||u.observe(t.current)}},[i,n]);return m.useEffect(()=>{if(o.current=h_(i,n),!(!t.current||!o.current))return o.current.observe(t.current),()=>{var l;(l=o.current)===null||l===void 0||l.disconnect()}},[n,i]),{width:e,measureElementRef:s}}function h_(e,r){var t;return!(e==null||(t=e.defaultView)===null||t===void 0)&&t.ResizeObserver?new e.defaultView.ResizeObserver(r):null}function g_(e){const r=m.useRef(0),t=m.useRef(0),o=m.useRef(void 0),[i,n]=m.useState(!1),{targetDocument:s}=_e(),{getColumnWidth:l,setColumnWidth:u}=e,a=m.useCallback(h=>{const{clientX:v}=Tl(h),b=v-r.current;t.current+=b,o.current&&u(h,{columnId:o.current,width:t.current}),r.current=v},[u]),[c]=_l(),d=m.useCallback(h=>{c(()=>a(h))},[c,a]),g=m.useCallback(h=>{Si(h)&&(s==null||s.removeEventListener("mouseup",g),s==null||s.removeEventListener("mousemove",d)),_i(h)&&(s==null||s.removeEventListener("touchend",g),s==null||s.removeEventListener("touchmove",d)),n(!1)},[d,s]);return{getOnMouseDown:m.useCallback(h=>v=>{if(t.current=l(h),r.current=Tl(v).clientX,o.current=h,Si(v)){if(v.target!==v.currentTarget||v.button!==0)return;s==null||s.addEventListener("mouseup",g),s==null||s.addEventListener("mousemove",d),n(!0)}_i(v)&&(s==null||s.addEventListener("touchend",g),s==null||s.addEventListener("touchmove",d),n(!0))},[l,d,g,s]),dragging:i}}const v_=150,m_=100;function Ba(e,r=[],t={}){let o=!1;const i=new Map(r.map(s=>[s.columnId,s])),n=e.map(s=>{const l=i.get(s.columnId);if(l){var u;const{idealWidth:h=l.idealWidth,minWidth:v=l.minWidth,padding:b=l.padding}=(u=t[s.columnId])!==null&&u!==void 0?u:{};return h!==l.idealWidth||v!==l.minWidth||b!==l.padding?(o=!0,{...l,idealWidth:h,width:h,minWidth:v,padding:b}):l}var a;const{defaultWidth:c,idealWidth:d=v_,minWidth:g=m_,padding:f}=(a=t[s.columnId])!==null&&a!==void 0?a:{};return o=!0,{columnId:s.columnId,width:Math.max(c??d,g),minWidth:g,idealWidth:Math.max(c??d,g),padding:f??16}});if(n.length!==r.length||o){const s=n.find(l=>l.width>l.idealWidth);s&&(s.width=s.idealWidth),o=!0}return o?n:r}function po(e,r){return e.find(t=>t.columnId===r)}function Ca(e,r){return e[r]}function p_(e){return e.reduce((r,t)=>r+t.width+t.padding,0)}function b_(e,r){const t=po(e,r);var o;return(o=t==null?void 0:t.width)!==null&&o!==void 0?o:0}function bo(e,r,t,o){const i=po(e,r);if(!i||(i==null?void 0:i[t])===o)return e;const n={...i,[t]:o};return e.reduce((l,u)=>u.columnId===n.columnId?[...l,n]:[...l,u],[])}function yn(e,r){let t=e;const o=p_(t);if(o<r){let i=r-o,n=0;for(;n<t.length&&i>0;){const s=Ca(t,n),l=Math.min(s.idealWidth-s.width,i);if(t=bo(t,s.columnId,"width",s.width+l),i-=l,n===t.length-1&&i!==0){const u=Ca(t,n);t=bo(t,u.columnId,"width",u.width+i)}n++}}else if(o>=r){let i=o-r,n=t.length-1;for(;n>=0&&i>0;){const s=Ca(t,n);if(s.width>s.minWidth){const l=Math.min(s.width-s.minWidth,i);i-=l,t=bo(t,s.columnId,"width",s.width-l)}n--}}return t}const y_=e=>(r,t)=>{switch(t.type){case"CONTAINER_WIDTH_UPDATED":return{...r,containerWidth:t.containerWidth,columnWidthState:e?yn(r.columnWidthState,t.containerWidth):r.columnWidthState};case"COLUMNS_UPDATED":const o=Ba(t.columns,r.columnWidthState,r.columnSizingOptions);return{...r,columns:t.columns,columnWidthState:e?yn(o,r.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":const i=Ba(r.columns,r.columnWidthState,t.columnSizingOptions);return{...r,columnSizingOptions:t.columnSizingOptions,columnWidthState:e?yn(i,r.containerWidth):i};case"SET_COLUMN_WIDTH":const{columnId:n,width:s}=t,{containerWidth:l}=r,u=po(r.columnWidthState,n);let a=[...r.columnWidthState];return u?(a=bo(a,n,"width",s),a=bo(a,n,"idealWidth",s),e&&(a=yn(a,l)),{...r,columnWidthState:a}):r}};function w_(e,r,t={}){const{onColumnResize:o,columnSizingOptions:i,autoFitColumns:n=!0}=t,s=m.useMemo(()=>y_(n),[n]),[l,u]=m.useReducer(s,{columns:e,containerWidth:0,columnWidthState:Ba(e,void 0,i),columnSizingOptions:i});Re(()=>{u({type:"CONTAINER_WIDTH_UPDATED",containerWidth:r})},[r]),Re(()=>{u({type:"COLUMNS_UPDATED",columns:e})},[e]),Re(()=>{u({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:i})},[i]);const a=J((c,d)=>{let{width:g}=d;const{columnId:f}=d,h=po(l.columnWidthState,f);h&&(g=Math.max(h.minWidth||0,g),o&&o(c,{columnId:f,width:g}),u({type:"SET_COLUMN_WIDTH",columnId:f,width:g}))});return{getColumnById:m.useCallback(c=>po(l.columnWidthState,c),[l.columnWidthState]),getColumns:m.useCallback(()=>l.columnWidthState,[l.columnWidthState]),getColumnWidth:m.useCallback(c=>b_(l.columnWidthState,c),[l.columnWidthState]),setColumnWidth:a}}const wn=20,k_=qb,Rd=1/4;function x_(e){const[r,t]=m.useState(),o=m.useRef(),{findPrevFocusable:i}=so(),n=m.useRef(e);m.useEffect(()=>{n.current=e},[e]);const[s]=m.useState(()=>new Map),l=J(f=>{if(!r)return;const h=n.current.getColumnWidth(r),v=f.getModifierState(k_),b=()=>{f.preventDefault(),f.stopPropagation()};switch(f.key){case xc:b(),n.current.setColumnWidth(f.nativeEvent,{columnId:r,width:h-(v?wn*Rd:wn)});return;case Xi:b(),n.current.setColumnWidth(f.nativeEvent,{columnId:r,width:h+(v?wn*Rd:wn)});return;case gt:case er:case Zi:var p,y;b(),(y=s.get(r))===null||y===void 0||(p=y.current)===null||p===void 0||p.blur();break}}),u=m.useCallback(f=>{var h,v;t(f),(h=o.current)===null||h===void 0||h.call(o,f,!0);const b=(v=s.get(f))===null||v===void 0?void 0:v.current;b&&(b.setAttribute("tabindex","-1"),b.tabIndex=-1,b.focus())},[s]),a=m.useCallback(()=>{var f,h;if(!r)return;(f=o.current)===null||f===void 0||f.call(o,r,!1);const v=(h=s.get(r))===null||h===void 0?void 0:h.current;if(v){var b;(b=i(v))===null||b===void 0||b.focus(),v.removeAttribute("tabindex")}t(void 0)},[r,i,s]),c=(f,h)=>{o.current=h,r?f&&r!==f?(u(f),t(f)):a():u(f)},d=m.useCallback(f=>{const h=s.get(f)||m.createRef();return s.set(f,h),h},[s]),g=ao({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:c,columnId:r,getKeyboardResizingProps:m.useCallback((f,h)=>({onKeyDown:l,onBlur:a,ref:d(f),role:"separator","aria-label":"Resize column","aria-valuetext":`${h} pixels`,"aria-hidden":f!==r,tabIndex:f===r?0:void 0,...g}),[r,a,d,l,g])}}const Dd={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function __(e){"use no memo";return r=>S_(r,{autoFitColumns:!0,...e})}function Fd(e,r){const t=e.width;return{width:t,minWidth:t,maxWidth:t,...r?{pointerEvents:"none"}:{}}}function S_(e,r={}){const{columns:t}=e,{width:o,measureElementRef:i}=f_(),n=w_(t,o+((r==null?void 0:r.containerWidthOffset)||0),r),s=g_(n),{toggleInteractiveMode:l,getKeyboardResizingProps:u}=x_(n),{autoFitColumns:a}=r,c=m.useCallback((b,p)=>y=>{y.preventDefault(),y.nativeEvent.stopPropagation(),l(b,p)},[l]),{getColumnById:d,setColumnWidth:g,getColumns:f}=n,{getOnMouseDown:h,dragging:v}=s;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:h,setColumnWidth:(b,p)=>g(void 0,{columnId:b,width:p}),getColumnWidths:f,getTableProps:(b={})=>({...b,style:{minWidth:"fit-content",...b.style||{}}}),getTableHeaderCellProps:m.useCallback(b=>{var p;const y=d(b),w=((p=t[t.length-1])===null||p===void 0?void 0:p.columnId)===b&&a?null:m.createElement(zd,{onMouseDown:h(b),onTouchStart:h(b),...u(b,(y==null?void 0:y.width)||0)});return y?{style:Fd(y,v),aside:w}:{}},[d,t,v,u,h,a]),getTableCellProps:m.useCallback(b=>{const p=d(b);return p?{style:Fd(p)}:{}},[d]),enableKeyboardMode:c}}}const B_=e=>e,C_={selection:Ed,sort:Nd,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Dd,tableRef:m.createRef()};function P_(e,r=[]){const{items:t,getRowId:o,columns:i}=e,n=m.useCallback((l=B_)=>t.map((u,a)=>{var c;return l({item:u,rowId:(c=o==null?void 0:o(u))!==null&&c!==void 0?c:a})}),[t,o]),s={getRowId:o,items:t,columns:i,getRows:n,selection:Ed,sort:Nd,columnSizing_unstable:Dd,tableRef:m.createRef()};return r.reduce((l,u)=>u(l),s)}const T_=()=>0,E_=()=>(process.env.NODE_ENV!=="production"&&console.warn("@fluentui/react-table: You are using the default column renderCell function that renders null"),null),N_=()=>(process.env.NODE_ENV!=="production"&&console.warn("@fluentui/react-table: You are using the default column renderHeaderCell function that renders null"),null);function z_(e){const{columnId:r,renderCell:t=E_,renderHeaderCell:o=N_,compare:i=T_}=e;return{columnId:r,renderCell:t,renderHeaderCell:o,compare:i}}function R_(){const e=Li({axis:"horizontal"}),r=Li({axis:"grid"}),t=Hi({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=so(),{targetDocument:i}=_e(),n=Rb(e,t);return{onTableKeyDown:m.useCallback(l=>{if(!i)return;let u=i.activeElement;if(!u||!l.currentTarget.contains(u))return;const a=u.getAttribute("role");if(l.key===Xi&&a==="row"&&Ye(u)){var c;(c=o(u))===null||c===void 0||c.focus()}if(a==="row")return;const d=(()=>{let g=Ye(u)?u:null;for(;g;){const f=g.getAttribute("role");if(f==="cell"||f==="gridcell")return!0;g=g.parentElement}return!1})();(l.key===Ki||l.key===Jo)&&d&&(u.dispatchEvent(new xp({action:Ti.Escape})),u=i.activeElement,u&&u.dispatchEvent(new kp({key:Se[l.key]})))},[i,o]),tableTabsterAttribute:r,tableRowTabsterAttribute:n}}const Id=m.createContext(void 0),D_={size:"medium",noNativeElements:!1,sortable:!1},F_=Id.Provider,Ot=()=>{var e;return(e=m.useContext(Id))!==null&&e!==void 0?e:D_},Ad=(e,r)=>{const{noNativeElements:t,size:o}=Ot();var i;const n=((i=e.as)!==null&&i!==void 0?i:t)?"div":"td";return{components:{root:n},root:re(ve(n,{ref:r,role:n==="div"?"cell":void 0,...e}),{elementType:n}),noNativeElements:t,size:o}},I_=e=>(ie(e),A(e.root,{})),A_={root:"fui-TableCell"},j_=O({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),O_=O({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),q_=O({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),M_=e=>{"use no memo";const r=q_(),t={table:j_(),flex:O_()};return e.root.className=E(A_.root,r.root,e.noNativeElements?t.flex.root:t.table.root,e.noNativeElements?t.flex[e.size]:t.table[e.size],e.root.className),e},jd=m.createContext(void 0),L_="",H_=jd.Provider,kn=()=>m.useContext(jd)===L_,W_=(e,r)=>{const{noNativeElements:t,size:o}=Ot();var i;const n=((i=e.as)!==null&&i!==void 0?i:t)?"div":"tr",s=hc(),l=Er(),u=kn();var a;return{components:{root:n},root:re(ve(n,{ref:Fe(r,s,l),role:n==="div"?"row":void 0,...e}),{elementType:n}),size:o,noNativeElements:t,appearance:(a=e.appearance)!==null&&a!==void 0?a:"none",isHeaderRow:u}},V_=44,Pa={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},$_=O({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),G_=O({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),U_=O({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),K_=e=>{"use no memo";const r=U_(),t={table:$_(),flex:G_()};return e.root.className=E(Pa.root,r.root,e.noNativeElements?t.flex.root:t.table.root,e.subtle&&e.checked===!1&&r.subtle,e.hidden&&r.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=E(Pa.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=E(Pa.radioIndicator,r.radioIndicator,e.radioIndicator.className)),e},X_={root:"fui-TableRow"},Z_=O({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),Q_=O({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Y_=O({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),J_=e=>{"use no memo";const r=Y_(),t={table:Z_(),flex:Q_()};return e.root.className=E(X_.root,r.root,!e.isHeaderRow&&r.rootInteractive,r[e.size],e.noNativeElements?t.flex.root:t.table.root,r[e.appearance],e.root.className),e},eS=(e,r)=>{const{noNativeElements:t}=Ot();var o;const i=((o=e.as)!==null&&o!==void 0?o:t)?"div":"tbody";return{components:{root:i},root:re(ve(i,{ref:r,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:t}},tS=O({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),rS=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),oS="fui-TableBody",nS=e=>{"use no memo";const r={table:tS(),flex:rS()};return e.root.className=E(oS,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e},iS=(e,r)=>{var t;const o=((t=e.as)!==null&&t!==void 0?t:e.noNativeElements)?"div":"table";var i,n,s;return{components:{root:o},root:re(ve(o,{ref:r,role:o==="div"?"table":void 0,...e}),{elementType:o}),size:(i=e.size)!==null&&i!==void 0?i:"medium",noNativeElements:(n=e.noNativeElements)!==null&&n!==void 0?n:!1,sortable:(s=e.sortable)!==null&&s!==void 0?s:!1}},aS=(e,r)=>(ie(e),A(F_,{value:r.table,children:A(e.root,{})})),sS="fui-Table",lS=O({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),cS=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),uS=O({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),dS=e=>{"use no memo";const r=uS(),t={table:lS(),flex:cS()};return e.root.className=E(sS,r.root,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e};function fS(e){const{size:r,noNativeElements:t,sortable:o}=e;return{table:m.useMemo(()=>({noNativeElements:t,size:r,sortable:o}),[t,r,o])}}const hS=(e,r)=>{const{noNativeElements:t}=Ot();var o;const i=((o=e.as)!==null&&o!==void 0?o:t)?"div":"thead";return{components:{root:i},root:re(ve(i,{ref:r,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:t}},gS=e=>(ie(e),A(H_,{value:"",children:A(e.root,{})})),vS="fui-TableHeader",mS=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),pS=O({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),bS=e=>{"use no memo";const r={table:pS(),flex:mS()};return e.root.className=E(vS,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e},yS={ascending:m.createElement(Yb,{fontSize:12}),descending:m.createElement(Qb,{fontSize:12})},wS=(e,r)=>{const{noNativeElements:t,sortable:o}=Ot(),{sortable:i=o}=e;var n;const s=((n=e.as)!==null&&n!==void 0?n:t)?"div":"th",l=re(e.button,{elementType:"div",defaultProps:{as:"div",...!i&&{role:"presentation",tabIndex:void 0}}});var u;return{components:{root:s,button:"div",sortIcon:"span",aside:"span"},root:re(ve(s,{ref:Fe(r,Er()),role:s==="div"?"columnheader":void 0,"aria-sort":i?(u=e.sortDirection)!==null&&u!==void 0?u:"none":void 0,...e}),{elementType:s}),aside:te(e.aside,{elementType:"span"}),sortIcon:te(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?yS[e.sortDirection]:void 0},elementType:"span"}),button:Bc(l.as,l),sortable:i,noNativeElements:t}},kS=e=>(ie(e),we(e.root,{children:[we(e.button,{children:[e.root.children,e.sortIcon&&A(e.sortIcon,{})]}),e.aside&&A(e.aside,{})]})),xn={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},xS=O({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),_S=O({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),SS=O({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),BS=e=>{"use no memo";const r=SS(),t={table:xS(),flex:_S()};return e.root.className=E(xn.root,r.root,e.sortable&&r.rootInteractive,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e.button.className=E(xn.button,r.resetButton,r.button,e.sortable&&r.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=E(xn.sortIcon,r.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=E(xn.aside,r.resizeHandle,e.aside.className)),e},Od=m.createContext(void 0),CS="",qd=()=>{var e;return(e=m.useContext(Od))!==null&&e!==void 0?e:CS},PS=Od.Provider,Md=m.createContext(void 0),TS="",Ld=()=>{var e;return(e=m.useContext(Md))!==null&&e!==void 0?e:TS},ES=Md.Provider,NS=(e,r)=>{const t=Ad(e,Fe(r,Er())),{noNativeElements:o}=Ot(),{type:i="checkbox",checked:n=!1,subtle:s=!1,hidden:l=!1,invisible:u=!1}=e;return{...t,components:{...t.components,checkboxIndicator:ya,radioIndicator:ka},checkboxIndicator:te(e.checkboxIndicator,{renderByDefault:i==="checkbox",defaultProps:{checked:e.checked},elementType:ya}),radioIndicator:te(e.radioIndicator,{renderByDefault:i==="radio",defaultProps:{checked:!!n,input:{name:Qe("table-selection-radio")}},elementType:ka}),type:i,checked:n,noNativeElements:o,subtle:s,hidden:u||l}},zS=e=>(ie(e),we(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&A(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&A(e.radioIndicator,{})]})),Hd=Yo(void 0),Wd={...C_,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},RS=Hd.Provider,ke=e=>Gi(Hd,(r=Wd)=>e(r)),DS=(e,r)=>{const{focusMode:t="cell"}=e,o=qd(),i=ke(u=>(u.focusMode==="cell"||u.focusMode==="composite")&&t!=="none"),n=ke(u=>u.resizableColumns),s=ke(u=>u.columnSizing_unstable.getTableCellProps),l=Hi({tabBehavior:"limited-trap-focus"});return Ad({as:"div",role:"gridcell",...t==="group"&&l,tabIndex:i?0:void 0,...n?s(o):{},...e},r)},FS=e=>I_(e),IS={root:"fui-DataGridCell"},AS=e=>{"use no memo";return M_(e),e.root.className=E(IS.root,e.root.className),e},Vd=m.forwardRef((e,r)=>{const t=DS(e,r);return AS(t),le("useDataGridCellStyles_unstable")(t),FS(t)});Vd.displayName="DataGridCell";const jS=(e,r)=>{const t=kn(),o=Ld(),i=ke(a=>a.subtleSelection),n=ke(a=>t&&a.selection.selectionMode==="multiselect"?a.selection.allRowsSelected?!0:a.selection.someRowsSelected?"mixed":!1:a.selection.isRowSelected(o)),s=ke(a=>a.selection.toggleAllRows),l=ke(a=>a.selection.selectionMode==="multiselect"?"checkbox":"radio"),u=J(a=>{var c;t&&s(a),(c=e.onClick)===null||c===void 0||c.call(e,a)});return NS({as:"div",role:"gridcell",checked:n,type:l,invisible:t&&l==="radio","aria-selected":n==="mixed"?void 0:n,subtle:i,...e,onClick:u},r)},OS=e=>zS(e),Ta={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},qS=e=>{"use no memo";return K_(e),e.root.className=E(Ta.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=E(Ta.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=E(Ta.radioIndicator,e.radioIndicator.className)),e},Ea=m.forwardRef((e,r)=>{const t=jS(e,r);return qS(t),le("useDataGridSelectionCellStyles_unstable")(t),OS(t)});Ea.displayName="DataGridSelectionCell";const MS=(e,r)=>{const t=Ld(),o=kn(),i=ke(v=>v.columns),n=ke(v=>v.selectableRows),s=ke(v=>v.selection.isRowSelected(t)),l=ke(v=>v.focusMode),u=ke(v=>v.compositeRowTabsterAttribute),a=l==="row_unstable"||l==="composite",c=ke(v=>!o&&n&&v.selection.isRowSelected(t)?v.selectionAppearance:"none"),d=ke(v=>v.selection.toggleRow),g=J(v=>{var b;n&&!o&&d(v,t),(b=e.onClick)===null||b===void 0||b.call(e,v)}),f=J(v=>{var b;n&&!o&&v.key===gt&&!Lm(v.target)&&(v.preventDefault(),d(v,t)),(b=e.onKeyDown)===null||b===void 0||b.call(e,v)}),h=W_({appearance:c,"aria-selected":n?s:void 0,tabIndex:a&&!o?0:void 0,...l==="composite"&&!o&&u,...e,onClick:g,onKeyDown:f,children:null,as:"div"},r);return{...h,components:{...h.components,selectionCell:Ea},selectionCell:te(e.selectionCell,{renderByDefault:n,elementType:Ea,defaultProps:{radioIndicator:{disabled:o}}}),renderCell:e.children,columnDefs:i,dataGridContextValue:LS()}};function LS(){const e=m.useRef(Wd);return ke(r=>(e.current=r,null)),e.current}const HS=e=>(ie(e),we(e.root,{children:[e.selectionCell&&A(e.selectionCell,{}),e.columnDefs.map(r=>A(PS,{value:r.columnId,children:e.renderCell(r,e.dataGridContextValue)},r.columnId))]})),$d={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},WS=O({singleSelectHeader:{Bconypa:"f6fspww",ff6mpl:"fqzoyx6"},subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f6fspww[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:0;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fqzoyx6:hover .fui-TableSelectionCell{opacity:0;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),VS=e=>{"use no memo";const r=kn(),t=ke(n=>n.selection.selectionMode==="single"),o=ke(n=>n.subtleSelection),i=WS();return J_(e),e.root.className=E($d.root,e.root.className,o&&i.subtleSelection,r&&t&&i.singleSelectHeader),e.selectionCell&&(e.selectionCell.className=E($d.selectionCell,e.selectionCell.className)),e},Na=m.forwardRef((e,r)=>{const t=MS(e,r);return VS(t),le("useDataGridRowStyles_unstable")(t),HS(t)});Na.displayName="DataGridRow";const $S=(e,r)=>{const{sortable:t}=Ot(),o=ke(l=>l.getRows),i=ke(l=>l.sort.sort),n=t?i(o()):o();return{...eS({...e,children:null,as:"div"},r),rows:n,renderRow:e.children}},GS=e=>(ie(e),A(e.root,{children:e.rows.map(r=>A(ES,{value:r.rowId,children:e.renderRow(r)},r.rowId))})),US={root:"fui-DataGridBody"},KS=e=>{"use no memo";return nS(e),e.root.className=E(US.root,e.root.className),e},Gd=m.forwardRef((e,r)=>{const t=$S(e,r);return KS(t),le("useDataGridBodyStyles_unstable")(t),GS(t)});Gd.displayName="DataGridBody";const XS=(e,r)=>{const{items:t,columns:o,focusMode:i="cell",selectionMode:n,onSortChange:s,onSelectionChange:l,defaultSortState:u,sortState:a,selectedItems:c,defaultSelectedItems:d,subtleSelection:g=!1,selectionAppearance:f="brand",getRowId:h,resizableColumns:v,columnSizingOptions:b,onColumnResize:p,containerWidthOffset:y,resizableColumnsOptions:k={}}=e,w=y??(n?-V_:0),_=Li({axis:"grid"}),{onTableKeyDown:S,tableTabsterAttribute:C,tableRowTabsterAttribute:T}=R_();var z;const I=P_({items:t,columns:o,getRowId:h},[i_({defaultSortState:u,sortState:a,onSortChange:s}),o_({defaultSelectedItems:d,selectedItems:c,onSelectionChange:l,selectionMode:n??"multiselect"}),__({onColumnResize:p,columnSizingOptions:b,containerWidthOffset:w,autoFitColumns:(z=k.autoFitColumns)!==null&&z!==void 0?z:!0})]),G=m.useRef(null),{findFirstFocusable:U,findLastFocusable:B}=so(),j=J(X=>{var Z;if((Z=e.onKeyDown)===null||Z===void 0||Z.call(e,X),i==="composite"&&S(X),!(!G.current||!X.ctrlKey||X.defaultPrevented)){if(X.key===Sc){const W=G.current.querySelector('[role="row"]');if(W){var R;(R=U(W))===null||R===void 0||R.focus()}}if(X.key===_c){const W=G.current.querySelectorAll('[role="row"]');if(W.length){var q;const ne=W.item(W.length-1);(q=B(ne))===null||q===void 0||q.focus()}}}});return{...iS({role:"grid",as:"div",noNativeElements:!0,...i==="cell"&&_,...i==="composite"&&C,...e,onKeyDown:j,...v?I.columnSizing_unstable.getTableProps(e):{}},Fe(r,I.tableRef,G)),focusMode:i,tableState:I,selectableRows:!!n,subtleSelection:g,selectionAppearance:f,resizableColumns:v,compositeRowTabsterAttribute:T}},ZS=(e,r)=>m.createElement(RS,{value:r.dataGrid},aS(e,r)),QS={root:"fui-DataGrid"},YS=e=>{"use no memo";return dS(e),e.root.className=E(QS.root,e.root.className),e};function JS(e){const r=fS(e),{tableState:t,focusMode:o,selectableRows:i,subtleSelection:n,selectionAppearance:s,resizableColumns:l,compositeRowTabsterAttribute:u}=e;return{...r,dataGrid:{...t,focusMode:o,selectableRows:i,subtleSelection:n,selectionAppearance:s,resizableColumns:l,compositeRowTabsterAttribute:u}}}const Ud=m.forwardRef((e,r)=>{const t=XS(e,r);return YS(t),le("useDataGridStyles_unstable")(t),ZS(t,JS(t))});Ud.displayName="DataGrid";const e2=(e,r)=>hS({...e,as:"div"},r),t2=e=>gS(e),r2={root:"fui-DataGridHeader"},o2=e=>{"use no memo";return bS(e),e.root.className=E(r2.root,e.root.className),e},Kd=m.forwardRef((e,r)=>{const t=e2(e,r);return o2(t),le("useDataGridHeaderStyles_unstable")(t),t2(t)});Kd.displayName="DataGridHeader";function n2(e){return e.compare.length>0}const i2=(e,r)=>{const t=qd(),{sortable:o}=Ot(),i=ke(c=>c.sort.toggleColumnSort),n=ke(c=>{const d=!!c.columns.find(g=>g.columnId===t&&n2(g));return o?d:!1}),s=ke(c=>n?c.sort.getSortDirection(t):void 0),l=ke(c=>c.resizableColumns),u=ke(c=>c.columnSizing_unstable.getTableHeaderCellProps),a=J(c=>{var d;n&&i(c,t),(d=e.onClick)===null||d===void 0||d.call(e,c)});return wS({sortable:n,sortDirection:s,as:"div",tabIndex:n?void 0:0,...l?u(t):{},...e,onClick:a},r)},a2=e=>kS(e),_n={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},s2=e=>{"use no memo";return BS(e),e.root.className=E(_n.root,e.root.className),e.button&&(e.button.className=E(_n.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=E(_n.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=E(_n.aside,e.aside.className)),e},Xd=m.forwardRef((e,r)=>{const t=i2(e,r);return s2(t),le("useDataGridHeaderCellStyles_unstable")(t),a2(t)});Xd.displayName="DataGridHeaderCell";const l2=(e,{referenceLabel:r,referenceId:t},o)=>{const{checkbox:i={},onSelectionChange:n,floatingAction:s,onClick:l,onKeyDown:u}=e,{findAllFocusable:a}=so(),c=m.useRef(null),[d,g]=yt({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),f=[e.selected,e.defaultSelected,n].some(S=>typeof S<"u"),[h,v]=m.useState(!1),b=m.useCallback(S=>{if(!o.current)return!1;const C=a(o.current),T=S.target,z=C.some(G=>G.contains(T)),I=(c==null?void 0:c.current)===T;return z&&!I},[o,a]),p=m.useCallback(S=>{if(b(S))return;const C=!d;g(C),n&&n(S,{selected:C})},[n,d,g,b]),y=m.useCallback(S=>{[er].includes(S.key)&&(S.preventDefault(),p(S))},[p]),k=m.useMemo(()=>{if(!f||s)return;const S={};return t?S["aria-labelledby"]=t:r&&(S["aria-label"]=r),te(i,{defaultProps:{ref:c,type:"checkbox",checked:d,onChange:C=>p(C),onFocus:()=>v(!0),onBlur:()=>v(!1),...S},elementType:"input"})},[i,s,d,f,p,t,r]),w=m.useMemo(()=>{if(s)return te(s,{defaultProps:{ref:c},elementType:"div"})},[s]),_=m.useMemo(()=>f?{onClick:Ee(l,p),onKeyDown:Ee(u,y)}:null,[f,p,l,u,y]);return{selected:d,selectable:f,selectFocused:h,selectableCardProps:_,checkboxSlot:k,floatingActionSlot:w}},Zd=m.createContext(void 0),za={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},c2=Zd.Provider,Qd=()=>{var e;return(e=m.useContext(Zd))!==null&&e!==void 0?e:za},u2={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},d2=({focusMode:e,...r})=>{const t=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(s=>r[s]),o=e??(t?"no-tab":"off"),n={...Hi({tabBehavior:u2[o]}),tabIndex:0};return{interactive:t,focusAttributes:o==="off"?null:n}},f2=(e,r)=>{const{appearance:t="filled",orientation:o="vertical",size:i="medium"}=e,[n,s]=m.useState(za.selectableA11yProps.referenceId),[l,u]=m.useState(za.selectableA11yProps.referenceId),a=Er(),{selectable:c,selected:d,selectableCardProps:g,selectFocused:f,checkboxSlot:h,floatingActionSlot:v}=l2(e,{referenceId:n,referenceLabel:l},a),b=Fe(a,r),{interactive:p,focusAttributes:y}=d2(e);return{appearance:t,orientation:o,size:i,interactive:p,selectable:c,selectFocused:f,selected:d,selectableA11yProps:{setReferenceId:s,referenceId:n,referenceLabel:l,setReferenceLabel:u},components:{root:"div",floatingAction:"div",checkbox:"input"},root:re(ve("div",{ref:b,role:"group",...c?null:y,...e,...g}),{elementType:"div"}),floatingAction:v,checkbox:h}},h2=(e,r)=>(ie(e),A(e.root,{children:we(c2,{value:r,children:[e.checkbox?A(e.checkbox,{}):null,e.floatingAction?A(e.floatingAction,{}):null,e.root.children]})})),Ra={root:"fui-CardPreview",logo:"fui-CardPreview__logo"},g2=O({root:{qhf8xq:"f10pi13n",Byfpedg:"fgourly",Btj6oj6:"f1vui7lx",B1m4t4s:"fda5zwx"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".fgourly>:not(.fui-CardPreview__logo){display:block;}",".f1vui7lx>:not(.fui-CardPreview__logo){height:100%;}",".fda5zwx>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),v2=e=>{"use no memo";const r=g2();return e.root.className=E(Ra.root,r.root,e.root.className),e.logo&&(e.logo.className=E(Ra.logo,r.logo,e.logo.className)),e},Yd={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},m2=O({root:{Bkc6ea2:"fkufhic",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"]},header:{mc9l5x:"f22iagw"},description:{mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".f22iagw{display:flex;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),p2=O({root:{mc9l5x:"f13qh94s",t4k1zu:"f8a668j"},image:{Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf"},action:{Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),b2=O({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),y2=e=>{"use no memo";const r=m2(),t=p2(),o=b2(),i=e.description?t:o,n=s=>{var l;return E(Yd[s],r[s],i[s],(l=e[s])===null||l===void 0?void 0:l.className)};return e.root.className=n("root"),e.image&&(e.image.className=n("image")),e.header&&(e.header.className=n("header")),e.description&&(e.description.className=n("description")),e.action&&(e.action.className=n("action")),e},Jd={root:"fui-CardFooter",action:"fui-CardFooter__action"},w2=O({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:0,Belr9w4:0,rmohyg:"fsbu5mz"},action:{Frg6f3:["fcgxt0o","f1ujusj6"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",[".fsbu5mz{gap:12px;}",{p:-1}],".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),k2=e=>{"use no memo";const r=w2();return e.root.className=E(Jd.root,r.root,e.root.className),e.action&&(e.action.className=E(Jd.action,r.action,e.action.className)),e},Da={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},x2=ce("rfxo2k2","rgle7w9",[".rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}",".rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}"]),_2=O({focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"fnd8nzh",J0r882:"f15fr7a0",Bule8hv:["fwsq40z","fy0y4wt"],Bjwuhne:"f34ld9f",Ghsupd:["fy0y4wt","fwsq40z"]},selectableFocused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"f1i978nd",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1nh8hsq",B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Binpb3b:"ftrw7vg",qrt8p2:"f18opajm",k6ws3r:["f13002it","fqo182t"],Btcwela:["f18yna97","f1kd6wh7"],Fer9m8:"f4i4759"},orientationVertical:{Beiy3e4:"f1vx9l62",B5nvv7i:["f14k419y","f1fgo9fz"],Baxg94k:["f1fgo9fz","f14k419y"],tn21ii:"fvqmfsm",B0ud6bj:"f3am6yf",Bgdo4j:"f1r5wgso"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},interactive:{rhjd8f:"f1epqm3e"},filled:{De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1kz6goq"},filledAlternative:{De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledAlternativeInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"fnwyq0v",Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"f1luvkty",Jwef8y:"fehi0vp"},outline:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]},outlineInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"],Bi91k9c:"feu1g3u",Jwef8y:"fjxutwb",Be0v6ae:"f1llr77y",B5kxglz:["fzk0khw","fjj8tog"],B3pwyw6:"fb1u8ub",Bymgtzf:["fjj8tog","fzk0khw"],ecr2s2:"fophhak",dmfk:"f1uohb70",B4ofi8:["f1jm7v1n","f1bus3rq"],jgq6uv:"f1fbu7rr",Baxewws:["f1bus3rq","f1jm7v1n"]},outlineInteractiveSelected:{De3pzq:"f1q9pm1r",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"fg59vm4"},subtle:{De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},subtleInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}',".f1pi9uxy{--fui-Card--size:8px;}",".f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}",".frsmuga{--fui-Card--size:12px;}",".fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}",".f1qua4xo{--fui-Card--size:16px;}",".fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}",".f1epqm3e .fui-Text{color:currentColor;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1whvlc6{box-shadow:var(--shadow4);}",".f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}",".fpgykix::after{border-right-color:var(--colorTransparentStroke);}",".fzybk4o::after{border-left-color:var(--colorTransparentStroke);}",".f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}",".f1k6fduh{cursor:pointer;}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}",".fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}",".fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}",".ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}",".f1dmdbja{background-color:var(--colorNeutralBackground2);}",".fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1couhl3{box-shadow:none;}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".fx9teim:hover{color:var(--colorNeutralForeground1Selected);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}",".fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}",".fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}",".fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}",".fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}",".fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),S2=e=>{"use no memo";const r=x2(),t=_2(),o={horizontal:t.orientationHorizontal,vertical:t.orientationVertical},i={small:t.sizeSmall,medium:t.sizeMedium,large:t.sizeLarge},n={filled:t.filled,"filled-alternative":t.filledAlternative,outline:t.outline,subtle:t.subtle},s={filled:t.filledInteractiveSelected,"filled-alternative":t.filledAlternativeInteractiveSelected,outline:t.outlineInteractiveSelected,subtle:t.subtleInteractiveSelected},l={filled:t.filledInteractive,"filled-alternative":t.filledAlternativeInteractive,outline:t.outlineInteractive,subtle:t.subtleInteractive},u=e.interactive||e.selectable,a=m.useMemo(()=>e.selectable?e.selectFocused?t.selectableFocused:"":t.focused,[e.selectFocused,e.selectable,t.focused,t.selectableFocused]);return e.root.className=E(Da.root,r,o[e.orientation],i[e.size],n[e.appearance],u&&t.interactive,u&&l[e.appearance],e.selected&&s[e.appearance],a,u&&t.highContrastInteractive,e.selected&&t.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=E(Da.floatingAction,t.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=E(Da.checkbox,t.hiddenCheckbox,e.checkbox.className)),e};function B2({selectableA11yProps:e}){return{selectableA11yProps:e}}const ef=m.forwardRef((e,r)=>{const t=f2(e,r),o=B2(t);return S2(t),le("useCardStyles_unstable")(t),h2(t,o)});ef.displayName="Card";const C2=(e,r)=>{const{action:t}=e;return{components:{root:"div",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),action:te(t,{elementType:"div"})}},P2=e=>(ie(e),we(e.root,{children:[e.root.children,e.action&&A(e.action,{})]})),tf=m.forwardRef((e,r)=>{const t=C2(e,r);return k2(t),le("useCardFooterStyles_unstable")(t),P2(t)});tf.displayName="CardFooter";function T2(e){function r(t){return m.isValidElement(t)&&!!t.props.id}return m.Children.toArray(e).find(r)}function E2(e,r,t){return e||(r!=null&&r.props.id?r.props.id:t)}const N2=(e,r)=>{const{image:t,header:o,description:i,action:n}=e,{selectableA11yProps:{referenceId:s,setReferenceId:l}}=Qd(),u=m.useRef(null),a=m.useRef(!1),c=Qe(Yd.header,s),d=te(o,{renderByDefault:!0,defaultProps:{ref:u,id:a.current?void 0:s},elementType:"div"});return m.useEffect(()=>{var g;const f=a.current||(g=u.current)===null||g===void 0?void 0:g.id,h=T2(d==null?void 0:d.children);a.current=!!h,l(E2(f,h,c))},[c,o,d,l]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),image:te(t,{elementType:"div"}),header:d,description:te(i,{elementType:"div"}),action:te(n,{elementType:"div"})}},z2=e=>(ie(e),we(e.root,{children:[e.image&&A(e.image,{}),e.header&&A(e.header,{}),e.description&&A(e.description,{}),e.action&&A(e.action,{})]})),rf=m.forwardRef((e,r)=>{const t=N2(e,r);return y2(t),le("useCardHeaderStyles_unstable")(t),z2(t)});rf.displayName="CardHeader";const R2=(e,r)=>{const{logo:t}=e,{selectableA11yProps:{referenceLabel:o,referenceId:i,setReferenceLabel:n,setReferenceId:s}}=Qd(),l=Fe(r,m.useRef(null));return m.useEffect(()=>{if(!(o&&i)&&l.current&&l.current.parentNode){const u=l.current.parentNode.querySelector(`.${Ra.root} > img`);if(u){const a=u.getAttribute("aria-label"),c=u.getAttribute("aria-describedby");c?s(c):u.alt?n(u.alt):a&&n(a)}}},[n,o,l,i,s]),{components:{root:"div",logo:"div"},root:re(ve("div",{ref:l,...e}),{elementType:"div"}),logo:te(t,{elementType:"div"})}},D2=e=>(ie(e),we(e.root,{children:[e.root.children,e.logo&&A(e.logo,{})]})),of=m.forwardRef((e,r)=>{const t=R2(e,r);return v2(t),le("useCardPreviewStyles_unstable")(t),D2(t)});of.displayName="CardPreview";const F2={scrollState:"none",setScrollState:()=>({})},nf=m.createContext(void 0),Fa=nf.Provider,af=()=>{var e;return(e=m.useContext(nf))!==null&&e!==void 0?e:F2},Ia=()=>{const[e,r]=m.useState("none");return{setScrollState:r,scrollState:e}},sf={drawerSizeVar:"--fui-Drawer--size"},I2=O({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),A2=O({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),lf=({position:e,size:r})=>{const t=I2(),o=A2();return E(t[e],e==="bottom"&&o[r],e!=="bottom"&&t[r])},Aa={small:De.durationGentle,medium:De.durationSlow,large:De.durationSlower,full:De.durationUltraSlow};function cf(e,r,t){const o=`translate3d(var(${r}), 0, 0)`,i=`translate3d(calc(var(${r}) * -1), 0, 0)`,n=`translate3d(0, var(${r}), 0)`;return e==="start"?t==="ltr"?i:o:e==="end"?t==="ltr"?o:i:e==="bottom"?n:"translate3d(0, 0, 0)"}const uf=zr(({position:e,size:r,dir:t})=>{const o=[{transform:cf(e,sf.drawerSizeVar,t),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],i=Aa[r];return{enter:{keyframes:o,duration:i,easing:De.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:i,easing:De.curveAccelerateMin}}}),j2=zr(({position:e,size:r,dir:t})=>{const o=[{transform:cf(e,sf.drawerSizeVar,t),boxShadow:`0px ${Ie.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Ie.shadow64,opacity:1}],i=Aa[r];return{enter:{keyframes:o,duration:i,easing:De.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:i,easing:De.curveAccelerateMin}}}),O2=zr(({size:e})=>{const r=[{opacity:0},{opacity:1}],t=Aa[e];return{enter:{keyframes:r,easing:De.curveLinear,duration:t},exit:{keyframes:[...r].reverse(),easing:De.curveLinear,duration:t}}});function df(e){const{open:r=!1,size:t="small",position:o="start"}=e;return{size:t,position:o,open:r}}const q2=ce("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),M2=O({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),L2=e=>{"use no memo";const r=q2(),t=M2();return e.backdrop&&(e.backdrop.className=E(r,e.isNestedDialog&&t.nested,e.backdrop.className)),e},ja=m.forwardRef((e,r)=>{const t=Gx({...e,as:e.as},r),o=Kx();return L2(t),Ux(t,o)});ja.displayName="OverlayDrawerSurface";function ff(e,r,t){return e===null?null:{...e,children:(o,i)=>e!=null&&e.children?e.children(r,{...i,...t}):m.createElement(r,{...i,...t},i.children)}}const H2={active:!0,canRender:!0,ref:m.createRef(),type:"idle"},W2=(e,r)=>{const{open:t,size:o,position:i}=df(e),{backdropMotion:n,modalType:s="modal",inertTrapFocus:l,onOpenChange:u,surfaceMotion:a,mountNode:c}=e,{dir:d,targetDocument:g}=_e(),{element:f}=Ju(c),h=!!(f&&(g==null?void 0:g.body)!==f),v=wi(e.backdrop),p=re({...e,ref:r,backdrop:s!=="non-modal"&&v!==null?{...v}:null,backdropMotion:ff(n,O2,{size:o})},{elementType:ja}),y=re({open:t,onOpenChange:u,inertTrapFocus:l,modalType:s,surfaceMotion:ff(a,j2,{position:i,size:o,dir:d}),children:null},{elementType:_a});return{components:{root:ja,dialog:_a},root:p,dialog:y,open:t,size:o,position:i,hasMountNodeElement:h,mountNode:c,motion:H2}},V2=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.dialog,{children:A(e.root,{})})})),hf={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},$2=ce("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),G2=O({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),U2=e=>{"use no memo";const r=lf(e),t=$2(),o=G2(),i=e.hasMountNodeElement&&o.absolute,n=e.root.backdrop;return e.root.className=E(hf.root,r,t,o[e.position],i,e.root.className),n&&(n.className=E(hf.backdrop,i,n.className)),e},gf=m.forwardRef((e,r)=>{const t=W2(e,r),o=Ia();return U2(t),le("useDrawerOverlayStyles_unstable")(t),le("useOverlayDrawerStyles_unstable")(t),V2(t,o)});gf.displayName="OverlayDrawer";const K2={active:!0,canRender:!0,ref:m.createRef(),type:"idle"},X2=(e,r)=>{const{size:t,position:o,open:i}=df(e),{separator:n=!1,surfaceMotion:s}=e,{dir:l}=_e();return{components:{root:"div",surfaceMotion:uf},root:re(ve("div",{...e,ref:r}),{elementType:"div"}),open:i,position:o,size:t,separator:n,surfaceMotion:Yi(s,{elementType:uf,defaultProps:{position:o,size:t,dir:l,visible:i,unmountOnExit:!0}}),motion:K2}},Z2=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.surfaceMotion,{children:A(e.root,{})})})),Q2={root:"fui-InlineDrawer"},Y2=ce("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),J2=O({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}"]});function eB(e,r){if(e.separator)switch(e.position){case"start":return r.separatorStart;case"end":return r.separatorEnd;case"bottom":return r.separatorBottom;default:return}}const tB=e=>{"use no memo";const r=Y2(),t=lf(e),o=J2();return e.root.className=E(Q2.root,r,t,eB(e,o),o[e.position],e.root.className),e},vf=m.forwardRef((e,r)=>{const t=X2(e,r),o=Ia();return tB(t),le("useDrawerInlineStyles_unstable")(t),le("useInlineDrawerStyles_unstable")(t),Z2(t,o)});vf.displayName="InlineDrawer";const rB=(e,r)=>{const t=e.type==="inline"?vf:gf,o=re({ref:r,...e},{elementType:t});return{components:{root:t},root:o}},oB=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.root,{})})),nB={root:"fui-Drawer"},iB=e=>{"use no memo";return e.root.className=E(nB.root,e.root.className),e},mf=m.forwardRef((e,r)=>{const t=rB(e,r),o=Ia();return iB(t),le("useDrawerStyles_unstable")(t),oB(t,o)});mf.displayName="Drawer";const aB=({scrollTop:e,scrollHeight:r,clientHeight:t})=>r<=t?"none":e===0?"top":e+t===r?"bottom":"middle",sB=(e,r)=>{const{setScrollState:t}=af(),o=m.useRef(null),[i,n]=_l(),s=m.useCallback(()=>{o.current&&t(aB(o.current))},[t]),l=m.useCallback(()=>{n(),i(()=>s())},[n,i,s]);return Re(()=>(n(),i(()=>s()),()=>n()),[e.children,n,s,i]),Re(()=>(n(),i(()=>s()),()=>n()),[n,s,i]),{components:{root:"div"},root:re(ve("div",{ref:Fe(r,o),...e,onScroll:Ee(e.onScroll,l)}),{elementType:"div"})}},lB=e=>(ie(e),A(e.root,{})),cB={root:"fui-DrawerBody"},uB=ce("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),dB=e=>{"use no memo";const r=uB();return e.root.className=E(cB.root,r,e.root.className),e},pf=m.forwardRef((e,r)=>{const t=sB(e,r);return dB(t),le("useDrawerBodyStyles_unstable")(t),lB(t)});pf.displayName="DrawerBody";const fB=(e,r)=>{const{scrollState:t}=af();return{components:{root:"header"},root:re(ve("header",{ref:r,role:"none",...e}),{elementType:"header"}),scrollState:t}},hB=e=>(ie(e),A(e.root,{})),gB={root:"fui-DrawerHeader"},vB=ce("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),mB=O({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),pB=e=>{"use no memo";const r=vB(),t=mB();return e.root.className=E(gB.root,r,e.scrollState!=="none"&&t.separator,["middle","bottom"].includes(e.scrollState)&&t.separatorVisible,e.root.className),e},bf=m.forwardRef((e,r)=>{const t=fB(e,r);return pB(t),le("useDrawerHeaderStyles_unstable")(t),hB(t)});bf.displayName="DrawerHeader";const bB=(e,r)=>{const{children:t,heading:o}=e,i=jt(n=>n.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),heading:te(o,{defaultProps:{id:i,children:t},renderByDefault:!0,elementType:"h2"}),action:te(e.action,{elementType:"div"})}},yB=e=>(ie(e),we(e.root,{children:[e.heading&&A(e.heading,{}),e.action&&A(e.action,{})]})),Oa={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},wB=O({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),kB=e=>{"use no memo";const r=wB(),{heading:t={},action:o,components:i}=e;return $x({components:{root:i.heading,action:i.action},root:t,action:o}),e.root.className=E(Oa.root,r.root,e.root.className),e.heading&&(e.heading.className=E(Oa.heading,e.heading.className)),e.action&&(e.action.className=E(Oa.action,r.action,e.action.className)),e},yf=m.forwardRef((e,r)=>{const t=bB(e,r);return kB(t),le("useDrawerHeaderTitleStyles_unstable")(t),yB(t)});yf.displayName="DrawerHeaderTitle";const qa=["title","path","description","listItemId","identityListItemId","identityListId","identitySiteCollectionId","identityWebId","lastModifiedTime","viewsLifeTime","viewsRecent","owstaxidmetadataalltagsinfo","driveId","author","authorOwsUser"],wf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xlsx.png",kf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/docx.png",xf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pptx.png",_f="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/mpp.png",yo="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/photo.png",xB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pdf.png",_B="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/txt.png",Sf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/email.png",SB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/csv.png",BB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pub.png",CB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/accdb.png",Ma="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/zip.png",La="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/genericfile.png",Bf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/code.png",PB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/html.png",TB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xml.png",EB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/spo.png",wo="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/video.png",Cn=class Cn{static getFileImageUrl(r){if(!r)return La;let t=La;const o=r.split("."),i=o[o.length-1];if(!i)return t;switch(i.toLowerCase()){case"xlsx":t=wf;break;case"xls":t=wf;break;case"docx":t=kf;break;case"doc":t=kf;break;case"pptx":t=xf;break;case"ppt":t=xf;break;case"mppx":t=_f;break;case"mpp":t=_f;break;case"csv":t=SB;break;case"pdf":t=xB;break;case"txt":t=_B;break;case"jpg":t=yo;break;case"msg":t=Sf;break;case"jpeg":t=yo;break;case"png":t=yo;break;case"ico":t=yo;break;case"tiff":t=yo;break;case"eml":t=Sf;break;case"pub":t=BB;break;case"accdb":t=CB;break;case"zip":t=Ma;break;case"7z":t=Ma;break;case"tar":t=Ma;break;case"js":t=Bf;break;case"json":t=Bf;break;case"html":t=PB;break;case"xml":t=TB;break;case"aspx":t=EB;break;case"mp4":t=wo;break;case"mov":t=wo;break;case"wmv":t=wo;break;case"ogg":t=wo;break;case"webm":t=wo;break;default:t=La;break}return t}};Cn.getShortName=r=>{if(!r)return"";const t=r.split("."),o=t[0].substring(0,25),i=t[t.length-1];return`${o}...${i}`},Cn.isOndrive=async r=>r?r.indexOf("my.sharepoint.com")>-1:!1;let Sn=Cn;const or=class or{};or.getThumbnailUrl=(r,t="medium")=>`https://graph.microsoft.com/v1.0/sites/${r.identitySiteCollectionId}/sites/${r.identityWebId}/lists/${r.identityListId}/items/${r.listItemId}/microsoft.graph.listitem/driveItem/thumbnails/0/${t}/content`,or.getThumbnailImageFromGraphApiCall=async(r,t)=>{const o=await r.get(t);if(o.headers["content-type"]==="application/json")return"data:image/png;base64,"+(await o.text()).replace('"',"").replace('"',"");if(o.status===302)return o.headers.Location;if(o.status===404)return"";const i=await o.arrayBuffer();return`data:image/jpeg;base64,${Buffer.from(new Uint8Array(i).reduce((s,l)=>s+String.fromCharCode(l),"")).toString("base64")}`},or.getThumbnailImageFromGraph=async(r,t,o="medium")=>{const i=or.getThumbnailUrl(r,o);return await or.getThumbnailImageFromGraphApiCall(t,i)};let Ha=or;function NB(e){let r=0;for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);r=(r<<5)-r+o,r|=0}return r}const zB=Br({title:{...Sr.margin(0,0,"12px")},description:{...Sr.margin(0,0,"12px")},card:{width:"20rem",maxWidth:"100%",height:"fit-content"},image:{width:"20rem",height:"7rem"},text:{...Sr.margin(0)},imageIconWrapper:{width:"20rem!important",height:"7rem!important",display:"flex!important",justifyContent:"center",alignItems:"center",backgroundColor:Ie.colorNeutralBackground3}}),Cf=e=>{const{graphClient:r}=Ve(),t=zB(),[o,i]=m.useState(void 0);return m.useEffect(()=>{Ha.getThumbnailImageFromGraph(e.document.fields,r).then(n=>{i(n)}).catch(n=>{console.error(n)})},[]),P.jsxs(ef,{className:t.card,children:[P.jsx(of,{children:o?P.jsx("img",{src:o,alt:e.document.fields.title,className:t.image}):P.jsx("div",{className:t.imageIconWrapper,children:P.jsx("div",{children:P.jsx("img",{src:Sn.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title})})})}),P.jsx(rf,{image:P.jsx("img",{src:Sn.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title}),header:P.jsx(Tx,{children:P.jsx("b",{children:e.document.fields.title})}),description:P.jsx(Ex,{children:e.document.fields.author}),action:P.jsx(ut,{appearance:"transparent","aria-label":"More options"})}),P.jsx("p",{className:t.text,children:e.document.fields.description}),P.jsx(tf,{children:P.jsx(ut,{as:"a",href:e.document.fields.path,appearance:"primary",icon:P.jsx(d0,{}),children:"Open"})})]})},RB=Br({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",...Sr.gap(Ie.spacingHorizontalL,Ie.spacingVerticalL)}}),DB=e=>{var f;const{graphClient:r}=Ve(),t=RB(),o=m.useMemo(()=>{var v,b,p,y,k,w,_;var h=new Wn(r,[((v=e.dataProviderProps)==null?void 0:v.entityType)??"listItem"],((b=e.dataProviderProps)==null?void 0:b.selectFields)||qa);return h.queryTemplate=(p=e.dataProviderProps)==null?void 0:p.queryTemplate,h.pageSize=(y=e.dataProviderProps)==null?void 0:y.pageSize,(k=e.dataProviderProps)!=null&&k.aggregations&&h.setRefiners((w=e.dataProviderProps)==null?void 0:w.aggregations),h.setQuery(((_=e.dataProviderProps)==null?void 0:_.initialQuery)??""),h},[r,e.dataProviderProps]),[i,n]=m.useState(!0),[s,l]=m.useState(((f=e.dataProviderProps)==null?void 0:f.initialQuery)??""),[u,a]=m.useState([]),[c,d]=m.useState(void 0);m.useEffect(()=>{o.setQuery(s),n(!0),o.getData().then(h=>{a(h),d(void 0)}).catch(h=>{d(h.message)}).finally(()=>{n(!1)})},[s]);const g=()=>e!=null&&e.searchInputComponent?P.jsx(e.searchInputComponent,{onSearch:h=>{l(h)}}):P.jsx(mn,{contentBefore:P.jsx(tu,{}),placeholder:"Search",value:s,onChange:h=>{l(h.target.value)}});return P.jsxs("div",{children:[P.jsx("div",{children:g()}),P.jsxs("div",{children:[i&&P.jsx(jr,{label:"Loading..."}),!i&&c&&P.jsxs("div",{children:["Error: ",c]})]}),P.jsx("div",{className:t.searchResults,children:u.map((h,v)=>P.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):P.jsx(Cf,{document:h})},v))})]})},FB=Br({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",...Sr.gap(Ie.spacingHorizontalL,Ie.spacingVerticalL)}}),IB=e=>{var f;const{graphClient:r}=Ve(),t=FB(),o=m.useMemo(()=>{var v,b;var h=new ph(r,"sharePoint",((v=e.dataProviderProps)==null?void 0:v.selectFields)||qa,(b=e.dataProviderProps)==null?void 0:b.queryTemplate);return h},[r,e.dataProviderProps]),[i,n]=m.useState(!0),[s,l]=m.useState(((f=e.dataProviderProps)==null?void 0:f.initialQuery)??""),[u,a]=m.useState([]),[c,d]=m.useState(void 0);m.useEffect(()=>{Mn.debounce("copilot-search",async()=>{n(!0),o.getData(s).then(h=>{a(h),d(void 0)}).catch(h=>{d(h.message)}).finally(()=>{n(!1)})},1e3)},[s]);const g=()=>e!=null&&e.searchInputComponent?P.jsx(e.searchInputComponent,{onSearch:h=>{l(h)}}):P.jsx(mn,{style:{width:"500px"},contentBefore:P.jsx(tu,{}),placeholder:"Search",value:s,onChange:h=>{l(h.target.value)}});return P.jsxs("div",{children:[P.jsx("div",{children:g()}),P.jsxs("div",{children:[i&&P.jsx(jr,{label:"Loading..."}),!i&&c&&P.jsxs("div",{children:["Error: ",c]})]}),P.jsx("div",{className:t.searchResults,children:u.map((h,v)=>P.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):P.jsx(Cf,{document:{fields:h.resourceMetadata,...h}})},v))})]})},AB=Br({root:{paddingBottom:Ie.spacingVerticalM,position:"relative"},searchInput:{minWidth:"800px"},suggestionsSurface:{position:"absolute",top:"100%",marginTop:"0rem",zIndex:2,backgroundColor:Ie.colorNeutralBackgroundAlpha2,width:"800px",transform:"scaleY(0)",transformOrigin:"top",transitionProperty:"all",transitionTimingFunction:Ie.curveDecelerateMid,transitionDuration:Ie.durationSlow},suggestionsSurfaceVisible:{transform:"scaleY(1)"},suggestionsWrapper:{display:"flex",flexDirection:"column",rowGap:Ie.spacingVerticalM,maxHeight:"15rem",overflowY:"auto",alignItems:"flex-start"},suggestionsList:{listStyleType:"none",paddingLeft:"0px"},suggestionButton:{"&:focus":{...Sr.borderColor(Ie.colorBrandBackground)}}}),jB=[":","=","<",">","<=",">="];function OB(e){const r=AB(),{graphClient:t}=Ve(),[o,i]=m.useState(!1),[n,s]=m.useState([]),[l,u]=m.useState(!0),[a,c]=m.useState(""),[d,g]=m.useState(!0),[f,h]=m.useState(),v=m.useRef(),b=m.useRef(),p=m.useRef(new Sh(t));return m.useEffect(()=>{e.query&&p.current.withManagedPropertiesRelatedQuery(e.query),p.current.build().then(y=>{h(y),g(!1)})},[]),P.jsxs("div",{className:r.root,children:[P.jsx(mn,{ref:v,className:r.searchInput,contentAfter:d?P.jsx(jr,{size:"tiny"}):P.jsx(ut,{appearance:"transparent",title:"Search",onClick:()=>{e.onSearch(a)},icon:P.jsx(n0,{})}),value:a,onChange:(y,k)=>{c(k.value),Mn.debounce("search-input",async()=>{g(!0);const w=await f.getSuggestions(k.value);s(w.value),u(w.areSuggestionsProps),w.value&&w.value.length>0&&i(!0),g(!1)},500)},onKeyDown:y=>{var k;if(y.key==="Enter"&&e.onSearch(a),y.key==="ArrowDown"){const w=(k=b.current)==null?void 0:k.firstChild;if(w){const _=w.firstChild;if(_){_.focus(),y.preventDefault();return}}}y.key==="Escape"&&i(!1)}}),P.jsxs("div",{className:E(r.suggestionsSurface,o&&r.suggestionsSurfaceVisible),onBlur:()=>{},children:[P.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:P.jsx(ut,{tabIndex:-1,appearance:"subtle",onClick:()=>{i(!1)},title:"Close",icon:P.jsx(Dc,{})})}),P.jsx("div",{className:r.suggestionsWrapper,children:P.jsxs("ul",{className:r.suggestionsList,ref:b,onKeyDown:y=>{var S;const k=b==null?void 0:b.current.querySelectorAll("button"),w=y.target;let _=null;if(k.forEach((C,T)=>{C===w&&(_=T)}),y.key==="ArrowUp")if(_===0){(S=v.current)==null||S.focus(),y.preventDefault();return}else{k.item(_-1).focus(),y.preventDefault();return}if(y.key==="ArrowDown")if(_===k.length-1){k.item(0).focus(),y.preventDefault();return}else{k.item(_+1).focus(),y.preventDefault();return}},children:[l&&n.map(y=>P.jsx("li",{children:P.jsx(ut,{className:r.suggestionButton,appearance:"transparent",onClick:()=>{var S;const k=a.split(l?" ":":"),w=k[k.length-1],_=a.replace(w,y+":");c(_),i(!1),u(!1),(S=v.current)==null||S.focus()},children:y},y)})),!l&&n.map((y,k)=>P.jsx("li",{children:P.jsx(ut,{className:r.suggestionButton,appearance:"transparent",onClick:()=>{var T;const w=a.split(" ");let _=w[w.length-1],S=jB.find(z=>_.indexOf(z)>0);S&&(_=_.split(S)[1]);const C=a.replace(_,y.replace(/ /g,"+"));c(C),i(!1),u(!0),(T=v.current)==null||T.focus(),e.onSearch(C)},children:y},k)}))]})})]})]})}var qB=Object.defineProperty,MB=Object.getOwnPropertyDescriptor,LB=(e,r,t,o)=>{for(var i=o>1?void 0:o?MB(r,t):r,n=e.length-1,s;n>=0;n--)(s=e[n])&&(i=(o?s(r,t,i):s(i))||i);return o&&i&&qB(r,t,i),i};class Wa{constructor(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new An}async getUser(r,t="48x48"){let o=r;if(r&&r.indexOf("@")>-1){const l=`/users/${r}?$select=id`,u=await this.graphClient.get(l);if(u.status===404)return null;o=(await u.json()).id}let i=this.storageService.get(this.key+r),n=i==null?void 0:i.data;const s=o?`/users/${o}`:"/me";if(!n||i.expiration<new Date().getTime()){const[l,u,a]=await Promise.all([this.graphClient.get(s+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(s+`/photos/${t}/$value`),this.graphClient.get(s+"/presence")]),[c,d,g]=await Promise.all([l.json(),u.text(),a.json()]);n={...c,photo:`data:image/png;base64,${d.replace('"',"").replace('"',"")}`,presence:g},this.storageService.set(this.key+r,{data:n,expiration:new Date().getTime()+this.cacheExpiration})}else if(this.updatePresence){const u=await(await this.graphClient.get(s+"/presence")).json();n={...n,presence:u},this.storageService.set(this.key+r,{data:n,expiration:new Date().getTime()+this.cacheExpiration})}return n}}LB([jn("getUser-{0}")],Wa.prototype,"getUser",1);function Bn(e){var d,g,f,h,v;const{id:r}=e;let t=e.graphClient;const o=b=>{switch(b){case"":return"offline";case"Available":return"available";case"Busy":return"busy";case"Away":return"away";case"DoNotDisturb":return"do-not-disturb";case"Offline":return"offline";case"PresenceUnknown":return"unknown";case"OutOfOffice":return"out-of-office";case"Blocked":return"blocked";case"BeRightBack":return"away";case"BusyIdle":return"busy";case"AvailableIdle":return"available";default:return b==null?void 0:b.toLowerCase()}},i=m.useRef(new Wa(t,e.showPresence)),[n,s]=m.useState(!e.user),[l,u]=m.useState(e.user),a=async()=>{const b=await i.current.getUser(r);u({...e.user,...b}),s(!1)};if(m.useEffect(()=>{e.user||a()},[r]),n)return P.jsx(jr,{});const c=(l==null?void 0:l.displayName)||e.name||e.title||e.id;return P.jsx(hd,{primaryText:c,secondaryText:l==null?void 0:l.jobTitle,avatar:{image:{src:l==null?void 0:l.photo},initials:((d=l==null?void 0:l.displayName)==null?void 0:d.split(" ").map(b=>b[0]).join(""))||((g=e.name)==null?void 0:g.split(" ").map(b=>b[0]).join(""))},presence:e.showPresence?{status:o((f=l==null?void 0:l.presence)==null?void 0:f.availability),outOfOffice:(v=(h=l==null?void 0:l.presence)==null?void 0:h.outOfOfficeSettings)==null?void 0:v.isOutOfOffice}:void 0,...e})}function HB(e){const{graphClient:r}=Ve();return P.jsx(Bn,{...e,graphClient:r})}function qt(e){const[r,t]=m.useState(e.value||[]),[o,i]=m.useState(!1),[n,s]=m.useState(""),[l,u]=m.useState(e.value||[]),a=c=>Mn.debounce(`entityPicker-${e.additionalKey}`,async()=>{i(!0);try{const d=await e.onDataRequested(c);t([...d,...l].reduce((g,f)=>g.find(v=>v.id===f.id)?g:g.concat([f]),[])),i(!1)}catch(d){console.error(d),i(!1)}},500);return m.useEffect(()=>{a(n)},[n,e.additionalKey]),e.renderOverride?P.jsx(P.Fragment,{children:e.renderOverride(r,o,a)}):P.jsxs(ba,{label:e.label,hint:e.description,children:[P.jsx(fd,{value:n,multiselect:e.multiSelect,freeform:!0,onChange:c=>{s(c.target.value)},size:e.size,disabled:e.disabled,onOptionSelect:(c,d)=>{let g=[];const f=r.find(h=>h.id===d.optionValue);l.some(h=>h.id===d.optionValue)?g=l.filter(h=>h.id!==d.optionValue):e.multiSelect?g=[...l,f]:g=[f],g=g.filter(h=>!!h),e.onEntitySelected&&e.onEntitySelected(g),u(g),s(g.map(h=>h.displayName).join(", "))},defaultSelectedOptions:l.map(c=>c.id),children:r.map(c=>P.jsx(dd,{text:c.displayName,value:c.id,children:e.onSuggestionRendering?e.onSuggestionRendering(c):c.displayName},encodeURIComponent(c.id)))}),o&&P.jsx(Td,{})]})}function WB(e){const{graphClient:r}=Ve();return P.jsx(Pf,{...e,graphClient:r})}function Pf(e){const r=async()=>(await(await e.graphClient.get(`/teams/${e.teamId}/channels?$select=id,displayName`)).json()).value;m.useEffect(()=>{r()},[e.teamId]);const t=async o=>await r();return P.jsx(qt,{additionalKey:`team-${e.teamId}-channels`,...e,onDataRequested:t})}function VB(e){const{graphClient:r}=Ve();return P.jsx(Tf,{...e,graphClient:r,siteId:e.siteId})}function Tf(e){const r=async t=>{let o=e.siteId?`/sites/${e.siteId}/drives?$select=id,name`:"/me/drives?$select=id,name";return t&&(o+=`&$filter=startswith(name, '${t}')`),(await(await e.graphClient.get(o)).json()).value.map(s=>({id:s.id,displayName:s.name}))};return P.jsx(qt,{additionalKey:`drive-picker-${e.siteId}`,...e,onDataRequested:r})}function $B(e){const{graphClient:r}=Ve();return P.jsx(Ef,{...e,graphClient:r})}function Ef(e){const r=async t=>{let o="/teams?$select=id,displayName&$top=8";return t&&(o+=`&$filter=startswith(displayName, '${t}')`),(await(await e.graphClient.get(o)).json()).value};return P.jsx(qt,{additionalKey:"team-site-picker",...e,onDataRequested:r})}function GB(e){const{graphClient:r}=Ve();return P.jsx(Nf,{...e,graphClient:r})}function Nf(e){const r=new hh(e.graphClient,!0,!0),t=async o=>(r.setQuery(o),await r.getData());return P.jsx(qt,{...e,additionalKey:"people-picker",onDataRequested:t,onSuggestionRendering:o=>(o.photo&&(o.photo=`data:image/png;base64,${o.photo.replace('"',"").replace('"',"")}`),P.jsx(Bn,{showPresence:!0,user:o,graphClient:e.graphClient}))})}function UB(e){const{graphClient:r}=Ve();return P.jsx(zf,{...e,graphClient:r})}function zf(e){const r=m.useRef(new Wn(e.graphClient,["site"],["id","displayName"])),t=async o=>(r.current.setQuery(o||"*"),await r.current.getData());return P.jsx(qt,{...e,onDataRequested:t})}function Rf(e){const[r,t]=m.useState(e.initialRender),[o,i]=m.useState(!0);return m.useEffect(()=>{e.permissionCheck().then(n=>{t(n)}).finally(()=>i(!1))},[]),o&&e.placeholder?P.jsx(P.Fragment,{children:e.placeholder}):r?P.jsx(P.Fragment,{children:e.children}):P.jsx(P.Fragment,{})}function KB(e){const{spClient:r,siteUrl:t}=Kn();return P.jsx(Df,{...e,siteUrl:t,spClient:r})}function Df(e){return P.jsx(Rf,{placeholder:e.placeholder,permissionCheck:async()=>{var r=`${e.siteUrl}/_api/web/EffectiveBasePermissions`,t=await e.spClient.get(r,{headers:{accept:"application/json"}}),o=await t.json(),i=[];for(var n in vr){var s=yh.hasPermission(o,vr[n]);s&&i.push(n)}return i.indexOf(e.role)>=0},children:e.children},`${e.role}-${e.siteUrl}`)}function Ff(e){return P.jsx(Rf,{placeholder:e.placeholder,permissionCheck:async()=>{const r=`/me/transitiveMemberOf/${e.groupId}?$select=id`;return(await e.graphClient.get(r)).ok},children:e.children},e.groupId)}function XB(e){const{graphClient:r}=Ve();return P.jsx(Ff,{...e,graphClient:r})}class If{constructor(r,t,o){this.dataverseClient=r,this.dataverseEnv=t,this.tableName=o,this.dataFields=[],this.getFieldSuggestions=async(i,n)=>{if(i.type==="User"){let a=`${this.dataverseEnv}/api/data/v9.0/systemusers?`;if(n&&n.length>0){const g=new In;for(const f of n)f.type||(f.type="Text"),f.name=i.expandFields[0],g.withFieldQuery(f);a+=`$filter=${g.build()}&`}return a+=`$select=${i.expandFields.join(",")}`,(await(await this.dataverseClient.get(a,{headers:{prefer:"odata.include-annotations=*"}})).json()).value.map(g=>({id:g[i.relatedId],displayName:g[i.expandFields[0]]}))}let s=`${this.dataverseEnv}/api/data/v9.0/${this.tableName}?`;if(n&&n.length>0){const a=new In;for(const c of n)c.type||(c.type="Text"),a.withFieldQuery(c);s+=`$filter=${a.build()}&`}i.type==="Lookup"?s+=`$apply=groupby((${i.name}/${i.relatedId||i.name+"_id"},${i.name}/${i.expandFields[0]}))`:i.type==="User"?s+=`$apply=groupby((${i.name}/fullname))`:i.type=="DateTime"?s+=`$apply=aggregate(${i.name} with min as ${i.name})`:s+=`$apply=groupby((${i.name}))`;const u=await(await this.dataverseClient.get(s,{headers:{prefer:"odata.include-annotations=*"}})).json();if(i.type==="Lookup"||i.type==="User"){if(u.value.length===0)return[];let a="",c="";const d=u.value[0];for(const g in d)g.indexOf(i.relatedId)>=0&&(a=g),g.indexOf(i.expandFields[0])>=0&&(c=g);return u.value.map(g=>({id:g[a],displayName:g[c]}))}return u.value.map(a=>({id:a[i.name],displayName:a[`${i.name}@OData.Community.Display.V1.FormattedValue`]?a[`${i.name}@OData.Community.Display.V1.FormattedValue`]:a[i.name]}))},this.dataProvider=new gh(r,`${t}/api/data/v9.0/${o}`,!0)}mapToExpand(r){return r.expandFields?`${r.name}($select=${r.expandFields.join(",")})`:r.name}setFields(r){this.dataProvider.selectQuery=r.filter(t=>t.type!=="Lookup").map(t=>t.name).join(","),this.dataProvider.expandQuery=r.filter(t=>t.type==="Lookup"||t.type==="User").map(t=>this.mapToExpand(t)).join(","),this.dataFields=r}getData(r,t,o){if(r&&r.length>0){const i=new In;for(const s of r)s.type||(s.type="Text"),i.withFieldQuery(s);const n=i.build();this.dataProvider.setQuery(n)}else this.dataProvider.setQuery("");if(t){let i=t,n=this.dataFields.find(s=>s.name===i);n&&n.type==="Lookup"?i=`${n.name}/${n.expandFields[0]}`:n&&n.type==="User"&&(i=`${n.name}/fullname`),this.dataProvider.setOrder(i,o||"ASC")}return this.dataProvider.getData()}getNextPage(){return this.dataProvider.getNextPage()}isNextPageAvailable(){return this.dataProvider.isNextPageAvailable()}getPreviousPage(){return this.dataProvider.getPreviousPage()}isPreviousPageAvailable(){return this.dataProvider.isPreviousPageAvailable()}}class ZB{isRendererApplicable(r){return r.type==="DateTime"}renderField(r,t,o){return P.jsx("span",{children:new Date(t==null?void 0:t.toString()).toLocaleDateString()})}}class QB{constructor(){this.renderers=[new ZB]}registerRenderer(r){this.renderers.unshift(r)}isRendererApplicable(r){return!!this.renderers.find(t=>t.isRendererApplicable(r))}renderField(r,t,o){const i=this.renderers.find(n=>n.isRendererApplicable(r));return i?i.renderField(r,t,o):typeof t=="string"?P.jsx("div",{children:t}):P.jsx("div",{children:JSON.stringify(t)})}}const YB=Br({root:{display:"flex",justifyContent:"end"},button:{}});function JB(e){const[r,t]=m.useState(!1),o=YB();return P.jsxs("div",{className:o.root,children:[P.jsx(ut,{"aria-label":"Open filter pane",icon:P.jsx(r0,{}),onClick:()=>{t(!0)}}),P.jsxs(mf,{type:"overlay",separator:!0,open:r,onOpenChange:(i,{open:n})=>t(n),position:"end",children:[P.jsx(bf,{children:P.jsx(yf,{action:P.jsx(ut,{appearance:"subtle","aria-label":"Close",icon:P.jsx(c0,{}),onClick:()=>t(!1)}),children:"Filter"})}),P.jsx(pf,{children:e.filterFields.map(i=>P.jsx(ba,{label:i.label||i.name,children:e.renderFilter(i,e.onFilterSet,e.initialQueryFields)},i.name))})]})]})}const eC=Br({root:{position:"relative"},loadingWrapper:{position:"absolute",width:"100%",height:"min-content",paddingTop:Ie.spacingVerticalM,paddingBottom:Ie.spacingHorizontalM,backgroundColor:Ie.colorNeutralBackgroundAlpha,zIndex:9999},pagination:{display:"flex",width:"100%",justifyContent:"center",gap:Ie.spacingHorizontalL,marginTop:Ie.spacingVerticalM}});function Va(e){var f;const r=eC(),t=m.useMemo(()=>{const h=new QB;if(e.customRenderers)for(const v of e.customRenderers)h.registerRenderer(v);return h},[e.customRenderers]),o=m.useMemo(()=>e.fieldsToRender.map(h=>z_({columnId:h.name,renderHeaderCell:()=>P.jsx(yd,{weight:"semibold",children:h.label||h.name}),renderCell:v=>t.renderField(h,v[h.name],v),compare:(v,b)=>v[h.name]-b[h.name]})),[e.fieldsToRender]),[i,n]=m.useState({sortColumn:(f=e.fieldsToRender.find(h=>!h.disableSorting))==null?void 0:f.name,sortDirection:"ascending"}),s=(h,v)=>{n(v)},[l,u]=m.useState([]),[a,c]=m.useState(!0),[d,g]=m.useState([]);return m.useEffect(()=>{var v;c(!0),e.dataService.setFields(e.fieldsToRender);const h=[];e.systemFilter&&e.systemFilter.length>0&&h.push(...e.systemFilter),d&&d.length>0&&h.push(...d),e.dataService.getData(h,(v=i==null?void 0:i.sortColumn)==null?void 0:v.toString(),(i==null?void 0:i.sortDirection)=="ascending"?"ASC":"DESC").then(b=>u(b)).finally(()=>c(!1))},[e.systemFilter,i,d]),P.jsxs("div",{className:r.root,children:[a&&P.jsx("div",{className:r.loadingWrapper,children:P.jsx(jr,{size:"huge"})}),e.renderFilter&&P.jsx(JB,{filterFields:e.fieldsToRender,initialQueryFields:d,onFilterSet:(h,v)=>{const b=[...d.filter(p=>p.name!==h.name)];v&&v.length>0&&b.push(...v),g(b)},renderFilter:e.renderFilter}),P.jsxs(Ud,{items:l,columns:o,sortable:!0,sortState:i,onSortChange:s,children:[P.jsx(Kd,{children:P.jsx(Na,{children:({renderHeaderCell:h})=>P.jsx(Xd,{children:h()})})}),P.jsx(Gd,{children:({item:h,rowId:v})=>P.jsx(Na,{children:({renderCell:b})=>P.jsx(Vd,{children:b(h)})},v)})]}),P.jsxs("div",{className:r.pagination,children:[P.jsx(ut,{icon:P.jsx(s0,{}),disabled:!e.dataService.isPreviousPageAvailable(),onClick:()=>{e.dataService.getPreviousPage().then(h=>u(h)).finally(()=>c(!1))},"aria-label":"Previous page"}),P.jsx(ut,{icon:P.jsx(l0,{}),disabled:!e.dataService.isNextPageAvailable(),onClick:()=>{e.dataService.getNextPage().then(h=>u(h)).finally(()=>c(!1))},"aria-label":"Next page"})]})]})}class tC{constructor(r){this.graphClient=r}isRendererApplicable(r){return r.type==="User"}renderField(r,t,o){return P.jsx(Bn,{graphClient:this.graphClient,id:t.azureactivedirectoryobjectid})}}class rC{isRendererApplicable(r){return r.type==="Lookup"}renderField(r,t,o){let i=JSON.stringify(t);return r.expandFields&&r.expandFields[0]&&(i=t[r.expandFields[0]]),P.jsx("span",{children:i})}}function oC(e){const r=async t=>{const o=[];return e.additionalFilters&&o.push(...e.additionalFilters),t&&o.push({name:e.column.type==="Lookup"?`${e.column.name}/${e.column.expandFields[0]}`:e.column.name,type:e.column.type,value:t,comparer:"Contains"}),e.getFieldSuggestions(e.column,o)};return P.jsx(qt,{additionalKey:`${e.table}-${e.column.name}`,...e,onDataRequested:r})}function nC(e){const{dataverseClient:r,dataverseResource:t}=hs(),{graphClient:o}=Ve();return P.jsx(Af,{...e,dataverseClient:r,dataverseEnv:t,customRenderers:[new tC(o),...e.customRenderers]})}function Af(e){const r=m.useMemo(()=>{let o=[];return o.push(new rC),e.customRenderers&&o.push(...e.customRenderers),o},[e.customRenderers]),t=m.useMemo(()=>new If(e.dataverseClient,e.dataverseEnv,e.tableName),[e.tableName]);return P.jsx(Va,{dataService:t,fieldsToRender:e.fieldsToRender,customRenderers:r,renderFilter:(o,i,n)=>P.jsx(oC,{additionalFilters:n,onEntitySelected:s=>{if(s){const l=s.map(u=>({name:o.type=="Lookup"||o.type=="User"?`${o.name}/${o.relatedId}`:o.name,type:o.type,label:o.label,value:u.id,comparer:"Eq"}));i({...o,name:o.type=="Lookup"||o.type=="User"?`${o.name}/${o.relatedId}`:o.name},l)}},table:e.tableName,column:o,getFieldSuggestions:t.getFieldSuggestions})})}class jf{constructor(r,t,o){this.spHttpClient=r,this.siteUrl=t,this.listId=o,this.getFieldSuggestions=async(i,n)=>{let s=`${this.siteUrl}/_api/web/lists('${this.listId}')/RenderListFilterData?FieldInternalName='${i.name}'`;if(n&&n.length>0){let f="";for(let h=0;h<n.length;h++){const v=n[h],b=h+1;f+=`&FilterField${b}=${v.name}&FilterValue${b}=${encodeURIComponent(v.value)}&FilterType${b}=${v.type||"Text"}`}s+=f}const l=await this.spHttpClient.post(s,{headers:{accept:"application/json"}}),u=new DOMParser,a=await l.text(),d=u.parseFromString(a==null?void 0:a.replace("SELECTED",""),"application/xml").getElementsByTagName("OPTION"),g=[];for(let f=0;f<d.length;f++){const h=d.item(f);g.push({id:h.getAttribute("Value"),displayName:h.innerHTML})}return g},this.dataProvider=new uh(r,t,o)}setFields(r){this.dataProvider.selectedFields=r.map(t=>t.name)}async getData(r,t,o){const i=new Jf;return r&&r.length>0&&(r.forEach(n=>i.withFieldQuery(n)),this.dataProvider.setQuery(i.build())),t&&this.dataProvider.setOrder(t,o),this.dataProvider.getData()}getNextPage(){return this.dataProvider.getNextPage()}isNextPageAvailable(){return this.dataProvider.isNextPageAvailable()}getPreviousPage(){return this.dataProvider.getPreviousPage()}isPreviousPageAvailable(){return this.dataProvider.isPreviousPageAvailable()}}function iC(e){const r=async t=>{const o=[];return e.additionalFilters&&o.push(...e.additionalFilters),t&&o.push({name:e.column.name,type:e.column.type,value:t,comparer:"Contains"}),e.getFieldSuggestions(e.column,o)};return P.jsx(qt,{additionalKey:`${e.listId}-${e.column.name}-${NB(e.additionalFilters?e.additionalFilters.map(t=>t.name+t.value).join(";"):"")}`,...e,onDataRequested:r})}class aC{isRendererApplicable(r){return r.type==="User"}renderField(r,t,o){if(t[0])return P.jsx("div",{children:t[0].title})}}function sC(e){const{spClient:r,siteUrl:t}=Kn();return P.jsx(Of,{...e,siteUrl:t,spClient:r})}function Of(e){const r=m.useMemo(()=>{let o=[];return o.push(new aC),e.customRenderers&&o.push(...e.customRenderers),o},[e.customRenderers]),t=m.useMemo(()=>new jf(e.spClient,e.siteUrl,e.listId),[e.listId,e.siteUrl]);return P.jsx(Va,{dataService:t,fieldsToRender:e.fieldsToRender,customRenderers:r,renderFilter:(o,i,n)=>P.jsx(iC,{additionalFilters:n,onEntitySelected:s=>{if(s){const l=s.map(u=>({name:o.name,type:o.type,label:o.label,value:u.id,comparer:"Eq"}));i({...o,name:o.name},l)}},listId:e.listId,column:o,getFieldSuggestions:t.getFieldSuggestions})})}Y.AbstractGraphEntityPicker=qt,Y.AuthenticationContext=Fn,Y.AuthenticationContextProvider=Yf,Y.ChannelPicker=WB,Y.ChannelPickerStandalone=Pf,Y.DataverseContext=Xn,Y.DataverseContextProvider=Ph,Y.DataverseTableDataGridService=If,Y.DataverseTableGrid=nC,Y.DataverseTableGridStandalone=Af,Y.DrivePicker=VB,Y.DrivePickerStandalone=Tf,Y.GenericDataGrid=Va,Y.GraphContext=Gn,Y.GraphContextProvider=Bh,Y.GraphGroupMembershipTrimmedComponent=XB,Y.GraphGroupMembershipTrimmedComponentStandalone=Ff,Y.GraphPersona=HB,Y.GraphPersonaStandalone=Bn,Y.M365CopilotSearch=IB,Y.M365Search=DB,Y.PeoplePicker=GB,Y.PeoplePickerStandalone=Nf,Y.PersonaService=Wa,Y.SPContext=Un,Y.SPContextProvider=Ch,Y.SPListDataGrid=sC,Y.SPListDataGridService=jf,Y.SPListDataGridStandalone=Of,Y.SPPermissionTrimmedComponent=KB,Y.SPPermissionTrimmedComponentStandalone=Df,Y.SearchInputWithSuggestions=OB,Y.SitePicker=UB,Y.SitePickerStandalone=zf,Y.TeamPicker=$B,Y.TeamPickerStandalone=Ef,Y.defaultSelectFields=qa,Y.useAuthentication=xo,Y.useDataverse=hs,Y.useGraph=Ve,Y.useSP=Kn,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
193
+ );}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),a_=e=>{"use no memo";const{color:r,max:t,shape:o,thickness:i,value:n}=e,s=n_(),l=i_();return e.root.className=E(Ed.root,s.root,s[o],s[i],e.root.className),e.bar&&(e.bar.className=E(Ed.bar,l.base,l.brand,n===void 0&&l.indeterminate,n!==void 0&&n>o_&&l.nonZeroDeterminate,r&&n!==void 0&&l[r],e.bar.className)),e.bar&&n!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,n/t*100))+"%",...e.bar.style}),e},Nd=m.forwardRef((e,r)=>{const t=t_(e,r);return a_(t),le("useProgressBarStyles_unstable")(t),r_(t)});Nd.displayName="ProgressBar";const mo=()=>{},zd={allRowsSelected:!1,clearRows:mo,deselectRow:mo,isRowSelected:()=>!1,selectRow:mo,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:mo,toggleRow:mo,selectionMode:"multiselect"};function s_(e){"use no memo";return r=>l_(r,e)}function l_(e,r){const{items:t,getRowId:o}=e,{selectionMode:i,defaultSelectedItems:n,selectedItems:s,onSelectionChange:l}=r,[u,a]=Km({selectionMode:i,defaultSelectedItems:n,selectedItems:s,onSelectionChange:l}),c=m.useMemo(()=>{const k=new Set;for(let _=0;_<t.length;_++){var w;k.add((w=o==null?void 0:o(t[_]))!==null&&w!==void 0?w:_)}return k},[t,o]),d=m.useMemo(()=>{if(i==="single"){const w=Array.from(u)[0];return c.has(w)}if(u.size<c.size||c.size===0)return!1;let k=!0;return c.forEach(w=>{u.has(w)||(k=!1)}),k},[c,u,i]),g=m.useMemo(()=>{if(u.size<=0)return!1;let k=!1;return c.forEach(w=>{u.has(w)&&(k=!0)}),k},[c,u]),f=J(k=>{a.toggleAllItems(k,t.map((w,_)=>{var S;return(S=o==null?void 0:o(w))!==null&&S!==void 0?S:_}))}),h=J((k,w)=>a.toggleItem(k,w)),v=J((k,w)=>a.deselectItem(k,w)),b=J((k,w)=>a.selectItem(k,w)),p=k=>a.isSelected(k),y=J(k=>a.clearItems(k));return{...e,selection:{selectionMode:i,someRowsSelected:g,allRowsSelected:d,selectedRows:u,toggleRow:h,toggleAllRows:f,clearRows:y,deselectRow:v,selectRow:b,isRowSelected:p}}}const Sa=()=>{},Rd={getSortDirection:()=>"ascending",setColumnSort:Sa,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Sa};function c_(e){"use no memo";return r=>u_(r,e)}function u_(e,r){const{columns:t}=e,{sortState:o,defaultSortState:i,onSortChange:n=Sa}=r,[s,l]=yt({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:i,state:o}),{sortColumn:u,sortDirection:a}=s,c=J(n),d=m.useCallback((v,b)=>{l(p=>{const y={...p,sortColumn:b};return p.sortColumn===b?y.sortDirection=p.sortDirection==="ascending"?"descending":"ascending":y.sortDirection="ascending",c==null||c(v,y),y})},[c,l]),g=(v,b,p)=>{const y={sortColumn:b,sortDirection:p};c==null||c(v,y),l(y)},f=m.useCallback(v=>v.slice().sort((b,p)=>{const y=t.find(w=>w.columnId===u);if(!(y!=null&&y.compare))return 0;const k=a==="ascending"?1:-1;return y.compare(b.item,p.item)*k}),[t,u,a]);return{...e,sort:{sort:f,sortColumn:u,sortDirection:a,setColumnSort:g,toggleColumnSort:d,getSortDirection:v=>u===v?a:void 0}}}const d_=(e,r)=>{const t=J(o=>{var i;(i=e.onClick)===null||i===void 0||i.call(e,o),o.stopPropagation()});return{components:{root:"div"},root:re(ve("div",{ref:r,...e,onClick:t}),{elementType:"div"})}},f_=e=>(ie(e),A(e.root,{})),h_={root:"fui-TableResizeHandle"},g_=O({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),v_=e=>{"use no memo";const r=g_();return e.root.className=E(h_.root,r.root,e.root.className),e},Dd=m.forwardRef((e,r)=>{const t=d_(e,r);return v_(t),le("useTableResizeHandleStyles_unstable")(t),f_(t)});Dd.displayName="TableResizeHandle";function m_(){const[e,r]=m.useState(0),t=m.useRef(void 0),o=m.useRef(null),{targetDocument:i}=_e(),n=m.useCallback(()=>{var l;const u=(l=t.current)===null||l===void 0?void 0:l.getBoundingClientRect().width;r(u||0)},[]),s=m.useCallback(l=>{if(i&&(!l&&o.current&&t.current&&o.current.unobserve(t.current),t.current=void 0,l!=null&&l.parentElement)){var u;t.current=l.parentElement,n(),(u=o.current)===null||u===void 0||u.observe(t.current)}},[i,n]);return m.useEffect(()=>{if(o.current=p_(i,n),!(!t.current||!o.current))return o.current.observe(t.current),()=>{var l;(l=o.current)===null||l===void 0||l.disconnect()}},[n,i]),{width:e,measureElementRef:s}}function p_(e,r){var t;return!(e==null||(t=e.defaultView)===null||t===void 0)&&t.ResizeObserver?new e.defaultView.ResizeObserver(r):null}function b_(e){const r=m.useRef(0),t=m.useRef(0),o=m.useRef(void 0),[i,n]=m.useState(!1),{targetDocument:s}=_e(),{getColumnWidth:l,setColumnWidth:u}=e,a=m.useCallback(h=>{const{clientX:v}=Nl(h),b=v-r.current;t.current+=b,o.current&&u(h,{columnId:o.current,width:t.current}),r.current=v},[u]),[c]=Bl(),d=m.useCallback(h=>{c(()=>a(h))},[c,a]),g=m.useCallback(h=>{Si(h)&&(s==null||s.removeEventListener("mouseup",g),s==null||s.removeEventListener("mousemove",d)),_i(h)&&(s==null||s.removeEventListener("touchend",g),s==null||s.removeEventListener("touchmove",d)),n(!1)},[d,s]);return{getOnMouseDown:m.useCallback(h=>v=>{if(t.current=l(h),r.current=Nl(v).clientX,o.current=h,Si(v)){if(v.target!==v.currentTarget||v.button!==0)return;s==null||s.addEventListener("mouseup",g),s==null||s.addEventListener("mousemove",d),n(!0)}_i(v)&&(s==null||s.addEventListener("touchend",g),s==null||s.addEventListener("touchmove",d),n(!0))},[l,d,g,s]),dragging:i}}const y_=150,w_=100;function Ba(e,r=[],t={}){let o=!1;const i=new Map(r.map(s=>[s.columnId,s])),n=e.map(s=>{const l=i.get(s.columnId);if(l){var u;const{idealWidth:h=l.idealWidth,minWidth:v=l.minWidth,padding:b=l.padding}=(u=t[s.columnId])!==null&&u!==void 0?u:{};return h!==l.idealWidth||v!==l.minWidth||b!==l.padding?(o=!0,{...l,idealWidth:h,width:h,minWidth:v,padding:b}):l}var a;const{defaultWidth:c,idealWidth:d=y_,minWidth:g=w_,padding:f}=(a=t[s.columnId])!==null&&a!==void 0?a:{};return o=!0,{columnId:s.columnId,width:Math.max(c??d,g),minWidth:g,idealWidth:Math.max(c??d,g),padding:f??16}});if(n.length!==r.length||o){const s=n.find(l=>l.width>l.idealWidth);s&&(s.width=s.idealWidth),o=!0}return o?n:r}function po(e,r){return e.find(t=>t.columnId===r)}function Ca(e,r){return e[r]}function k_(e){return e.reduce((r,t)=>r+t.width+t.padding,0)}function x_(e,r){const t=po(e,r);var o;return(o=t==null?void 0:t.width)!==null&&o!==void 0?o:0}function bo(e,r,t,o){const i=po(e,r);if(!i||(i==null?void 0:i[t])===o)return e;const n={...i,[t]:o};return e.reduce((l,u)=>u.columnId===n.columnId?[...l,n]:[...l,u],[])}function yn(e,r){let t=e;const o=k_(t);if(o<r){let i=r-o,n=0;for(;n<t.length&&i>0;){const s=Ca(t,n),l=Math.min(s.idealWidth-s.width,i);if(t=bo(t,s.columnId,"width",s.width+l),i-=l,n===t.length-1&&i!==0){const u=Ca(t,n);t=bo(t,u.columnId,"width",u.width+i)}n++}}else if(o>=r){let i=o-r,n=t.length-1;for(;n>=0&&i>0;){const s=Ca(t,n);if(s.width>s.minWidth){const l=Math.min(s.width-s.minWidth,i);i-=l,t=bo(t,s.columnId,"width",s.width-l)}n--}}return t}const __=e=>(r,t)=>{switch(t.type){case"CONTAINER_WIDTH_UPDATED":return{...r,containerWidth:t.containerWidth,columnWidthState:e?yn(r.columnWidthState,t.containerWidth):r.columnWidthState};case"COLUMNS_UPDATED":const o=Ba(t.columns,r.columnWidthState,r.columnSizingOptions);return{...r,columns:t.columns,columnWidthState:e?yn(o,r.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":const i=Ba(r.columns,r.columnWidthState,t.columnSizingOptions);return{...r,columnSizingOptions:t.columnSizingOptions,columnWidthState:e?yn(i,r.containerWidth):i};case"SET_COLUMN_WIDTH":const{columnId:n,width:s}=t,{containerWidth:l}=r,u=po(r.columnWidthState,n);let a=[...r.columnWidthState];return u?(a=bo(a,n,"width",s),a=bo(a,n,"idealWidth",s),e&&(a=yn(a,l)),{...r,columnWidthState:a}):r}};function S_(e,r,t={}){const{onColumnResize:o,columnSizingOptions:i,autoFitColumns:n=!0}=t,s=m.useMemo(()=>__(n),[n]),[l,u]=m.useReducer(s,{columns:e,containerWidth:0,columnWidthState:Ba(e,void 0,i),columnSizingOptions:i});Re(()=>{u({type:"CONTAINER_WIDTH_UPDATED",containerWidth:r})},[r]),Re(()=>{u({type:"COLUMNS_UPDATED",columns:e})},[e]),Re(()=>{u({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:i})},[i]);const a=J((c,d)=>{let{width:g}=d;const{columnId:f}=d,h=po(l.columnWidthState,f);h&&(g=Math.max(h.minWidth||0,g),o&&o(c,{columnId:f,width:g}),u({type:"SET_COLUMN_WIDTH",columnId:f,width:g}))});return{getColumnById:m.useCallback(c=>po(l.columnWidthState,c),[l.columnWidthState]),getColumns:m.useCallback(()=>l.columnWidthState,[l.columnWidthState]),getColumnWidth:m.useCallback(c=>x_(l.columnWidthState,c),[l.columnWidthState]),setColumnWidth:a}}const wn=20,B_=Wb,Fd=1/4;function C_(e){const[r,t]=m.useState(),o=m.useRef(),{findPrevFocusable:i}=so(),n=m.useRef(e);m.useEffect(()=>{n.current=e},[e]);const[s]=m.useState(()=>new Map),l=J(f=>{if(!r)return;const h=n.current.getColumnWidth(r),v=f.getModifierState(B_),b=()=>{f.preventDefault(),f.stopPropagation()};switch(f.key){case Sc:b(),n.current.setColumnWidth(f.nativeEvent,{columnId:r,width:h-(v?wn*Fd:wn)});return;case Xi:b(),n.current.setColumnWidth(f.nativeEvent,{columnId:r,width:h+(v?wn*Fd:wn)});return;case gt:case er:case Zi:var p,y;b(),(y=s.get(r))===null||y===void 0||(p=y.current)===null||p===void 0||p.blur();break}}),u=m.useCallback(f=>{var h,v;t(f),(h=o.current)===null||h===void 0||h.call(o,f,!0);const b=(v=s.get(f))===null||v===void 0?void 0:v.current;b&&(b.setAttribute("tabindex","-1"),b.tabIndex=-1,b.focus())},[s]),a=m.useCallback(()=>{var f,h;if(!r)return;(f=o.current)===null||f===void 0||f.call(o,r,!1);const v=(h=s.get(r))===null||h===void 0?void 0:h.current;if(v){var b;(b=i(v))===null||b===void 0||b.focus(),v.removeAttribute("tabindex")}t(void 0)},[r,i,s]),c=(f,h)=>{o.current=h,r?f&&r!==f?(u(f),t(f)):a():u(f)},d=m.useCallback(f=>{const h=s.get(f)||m.createRef();return s.set(f,h),h},[s]),g=ao({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:c,columnId:r,getKeyboardResizingProps:m.useCallback((f,h)=>({onKeyDown:l,onBlur:a,ref:d(f),role:"separator","aria-label":"Resize column","aria-valuetext":`${h} pixels`,"aria-hidden":f!==r,tabIndex:f===r?0:void 0,...g}),[r,a,d,l,g])}}const Id={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function P_(e){"use no memo";return r=>T_(r,{autoFitColumns:!0,...e})}function Ad(e,r){const t=e.width;return{width:t,minWidth:t,maxWidth:t,...r?{pointerEvents:"none"}:{}}}function T_(e,r={}){const{columns:t}=e,{width:o,measureElementRef:i}=m_(),n=S_(t,o+((r==null?void 0:r.containerWidthOffset)||0),r),s=b_(n),{toggleInteractiveMode:l,getKeyboardResizingProps:u}=C_(n),{autoFitColumns:a}=r,c=m.useCallback((b,p)=>y=>{y.preventDefault(),y.nativeEvent.stopPropagation(),l(b,p)},[l]),{getColumnById:d,setColumnWidth:g,getColumns:f}=n,{getOnMouseDown:h,dragging:v}=s;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:h,setColumnWidth:(b,p)=>g(void 0,{columnId:b,width:p}),getColumnWidths:f,getTableProps:(b={})=>({...b,style:{minWidth:"fit-content",...b.style||{}}}),getTableHeaderCellProps:m.useCallback(b=>{var p;const y=d(b),w=((p=t[t.length-1])===null||p===void 0?void 0:p.columnId)===b&&a?null:m.createElement(Dd,{onMouseDown:h(b),onTouchStart:h(b),...u(b,(y==null?void 0:y.width)||0)});return y?{style:Ad(y,v),aside:w}:{}},[d,t,v,u,h,a]),getTableCellProps:m.useCallback(b=>{const p=d(b);return p?{style:Ad(p)}:{}},[d]),enableKeyboardMode:c}}}const E_=e=>e,N_={selection:zd,sort:Rd,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Id,tableRef:m.createRef()};function z_(e,r=[]){const{items:t,getRowId:o,columns:i}=e,n=m.useCallback((l=E_)=>t.map((u,a)=>{var c;return l({item:u,rowId:(c=o==null?void 0:o(u))!==null&&c!==void 0?c:a})}),[t,o]),s={getRowId:o,items:t,columns:i,getRows:n,selection:zd,sort:Rd,columnSizing_unstable:Id,tableRef:m.createRef()};return r.reduce((l,u)=>u(l),s)}const R_=()=>0,D_=()=>(process.env.NODE_ENV!=="production"&&console.warn("@fluentui/react-table: You are using the default column renderCell function that renders null"),null),F_=()=>(process.env.NODE_ENV!=="production"&&console.warn("@fluentui/react-table: You are using the default column renderHeaderCell function that renders null"),null);function I_(e){const{columnId:r,renderCell:t=D_,renderHeaderCell:o=F_,compare:i=R_}=e;return{columnId:r,renderCell:t,renderHeaderCell:o,compare:i}}function A_(){const e=Li({axis:"horizontal"}),r=Li({axis:"grid"}),t=Hi({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=so(),{targetDocument:i}=_e(),n=Ab(e,t);return{onTableKeyDown:m.useCallback(l=>{if(!i)return;let u=i.activeElement;if(!u||!l.currentTarget.contains(u))return;const a=u.getAttribute("role");if(l.key===Xi&&a==="row"&&Ye(u)){var c;(c=o(u))===null||c===void 0||c.focus()}if(a==="row")return;const d=(()=>{let g=Ye(u)?u:null;for(;g;){const f=g.getAttribute("role");if(f==="cell"||f==="gridcell")return!0;g=g.parentElement}return!1})();(l.key===Ki||l.key===Jo)&&d&&(u.dispatchEvent(new Cp({action:Ti.Escape})),u=i.activeElement,u&&u.dispatchEvent(new Bp({key:Se[l.key]})))},[i,o]),tableTabsterAttribute:r,tableRowTabsterAttribute:n}}const jd=m.createContext(void 0),j_={size:"medium",noNativeElements:!1,sortable:!1},O_=jd.Provider,Ot=()=>{var e;return(e=m.useContext(jd))!==null&&e!==void 0?e:j_},Od=(e,r)=>{const{noNativeElements:t,size:o}=Ot();var i;const n=((i=e.as)!==null&&i!==void 0?i:t)?"div":"td";return{components:{root:n},root:re(ve(n,{ref:r,role:n==="div"?"cell":void 0,...e}),{elementType:n}),noNativeElements:t,size:o}},q_=e=>(ie(e),A(e.root,{})),M_={root:"fui-TableCell"},L_=O({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),H_=O({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),W_=O({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),V_=e=>{"use no memo";const r=W_(),t={table:L_(),flex:H_()};return e.root.className=E(M_.root,r.root,e.noNativeElements?t.flex.root:t.table.root,e.noNativeElements?t.flex[e.size]:t.table[e.size],e.root.className),e},qd=m.createContext(void 0),$_="",G_=qd.Provider,kn=()=>m.useContext(qd)===$_,U_=(e,r)=>{const{noNativeElements:t,size:o}=Ot();var i;const n=((i=e.as)!==null&&i!==void 0?i:t)?"div":"tr",s=vc(),l=Er(),u=kn();var a;return{components:{root:n},root:re(ve(n,{ref:Fe(r,s,l),role:n==="div"?"row":void 0,...e}),{elementType:n}),size:o,noNativeElements:t,appearance:(a=e.appearance)!==null&&a!==void 0?a:"none",isHeaderRow:u}},K_=44,Pa={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},X_=O({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),Z_=O({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),Q_=O({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),Y_=e=>{"use no memo";const r=Q_(),t={table:X_(),flex:Z_()};return e.root.className=E(Pa.root,r.root,e.noNativeElements?t.flex.root:t.table.root,e.subtle&&e.checked===!1&&r.subtle,e.hidden&&r.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=E(Pa.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=E(Pa.radioIndicator,r.radioIndicator,e.radioIndicator.className)),e},J_={root:"fui-TableRow"},e2=O({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),t2=O({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),r2=O({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),o2=e=>{"use no memo";const r=r2(),t={table:e2(),flex:t2()};return e.root.className=E(J_.root,r.root,!e.isHeaderRow&&r.rootInteractive,r[e.size],e.noNativeElements?t.flex.root:t.table.root,r[e.appearance],e.root.className),e},n2=(e,r)=>{const{noNativeElements:t}=Ot();var o;const i=((o=e.as)!==null&&o!==void 0?o:t)?"div":"tbody";return{components:{root:i},root:re(ve(i,{ref:r,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:t}},i2=O({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),a2=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),s2="fui-TableBody",l2=e=>{"use no memo";const r={table:i2(),flex:a2()};return e.root.className=E(s2,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e},c2=(e,r)=>{var t;const o=((t=e.as)!==null&&t!==void 0?t:e.noNativeElements)?"div":"table";var i,n,s;return{components:{root:o},root:re(ve(o,{ref:r,role:o==="div"?"table":void 0,...e}),{elementType:o}),size:(i=e.size)!==null&&i!==void 0?i:"medium",noNativeElements:(n=e.noNativeElements)!==null&&n!==void 0?n:!1,sortable:(s=e.sortable)!==null&&s!==void 0?s:!1}},u2=(e,r)=>(ie(e),A(O_,{value:r.table,children:A(e.root,{})})),d2="fui-Table",f2=O({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),h2=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),g2=O({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),v2=e=>{"use no memo";const r=g2(),t={table:f2(),flex:h2()};return e.root.className=E(d2,r.root,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e};function m2(e){const{size:r,noNativeElements:t,sortable:o}=e;return{table:m.useMemo(()=>({noNativeElements:t,size:r,sortable:o}),[t,r,o])}}const p2=(e,r)=>{const{noNativeElements:t}=Ot();var o;const i=((o=e.as)!==null&&o!==void 0?o:t)?"div":"thead";return{components:{root:i},root:re(ve(i,{ref:r,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:t}},b2=e=>(ie(e),A(G_,{value:"",children:A(e.root,{})})),y2="fui-TableHeader",w2=O({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),k2=O({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),x2=e=>{"use no memo";const r={table:k2(),flex:w2()};return e.root.className=E(y2,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e},_2={ascending:m.createElement(r0,{fontSize:12}),descending:m.createElement(t0,{fontSize:12})},S2=(e,r)=>{const{noNativeElements:t,sortable:o}=Ot(),{sortable:i=o}=e;var n;const s=((n=e.as)!==null&&n!==void 0?n:t)?"div":"th",l=re(e.button,{elementType:"div",defaultProps:{as:"div",...!i&&{role:"presentation",tabIndex:void 0}}});var u;return{components:{root:s,button:"div",sortIcon:"span",aside:"span"},root:re(ve(s,{ref:Fe(r,Er()),role:s==="div"?"columnheader":void 0,"aria-sort":i?(u=e.sortDirection)!==null&&u!==void 0?u:"none":void 0,...e}),{elementType:s}),aside:te(e.aside,{elementType:"span"}),sortIcon:te(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?_2[e.sortDirection]:void 0},elementType:"span"}),button:Pc(l.as,l),sortable:i,noNativeElements:t}},B2=e=>(ie(e),we(e.root,{children:[we(e.button,{children:[e.root.children,e.sortIcon&&A(e.sortIcon,{})]}),e.aside&&A(e.aside,{})]})),xn={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},C2=O({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),P2=O({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),T2=O({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),E2=e=>{"use no memo";const r=T2(),t={table:C2(),flex:P2()};return e.root.className=E(xn.root,r.root,e.sortable&&r.rootInteractive,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e.button.className=E(xn.button,r.resetButton,r.button,e.sortable&&r.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=E(xn.sortIcon,r.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=E(xn.aside,r.resizeHandle,e.aside.className)),e},Md=m.createContext(void 0),N2="",Ld=()=>{var e;return(e=m.useContext(Md))!==null&&e!==void 0?e:N2},z2=Md.Provider,Hd=m.createContext(void 0),R2="",Wd=()=>{var e;return(e=m.useContext(Hd))!==null&&e!==void 0?e:R2},D2=Hd.Provider,F2=(e,r)=>{const t=Od(e,Fe(r,Er())),{noNativeElements:o}=Ot(),{type:i="checkbox",checked:n=!1,subtle:s=!1,hidden:l=!1,invisible:u=!1}=e;return{...t,components:{...t.components,checkboxIndicator:ya,radioIndicator:ka},checkboxIndicator:te(e.checkboxIndicator,{renderByDefault:i==="checkbox",defaultProps:{checked:e.checked},elementType:ya}),radioIndicator:te(e.radioIndicator,{renderByDefault:i==="radio",defaultProps:{checked:!!n,input:{name:Qe("table-selection-radio")}},elementType:ka}),type:i,checked:n,noNativeElements:o,subtle:s,hidden:u||l}},I2=e=>(ie(e),we(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&A(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&A(e.radioIndicator,{})]})),Vd=Yo(void 0),$d={...N_,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},A2=Vd.Provider,ke=e=>Gi(Vd,(r=$d)=>e(r)),j2=(e,r)=>{const{focusMode:t="cell"}=e,o=Ld(),i=ke(u=>(u.focusMode==="cell"||u.focusMode==="composite")&&t!=="none"),n=ke(u=>u.resizableColumns),s=ke(u=>u.columnSizing_unstable.getTableCellProps),l=Hi({tabBehavior:"limited-trap-focus"});return Od({as:"div",role:"gridcell",...t==="group"&&l,tabIndex:i?0:void 0,...n?s(o):{},...e},r)},O2=e=>q_(e),q2={root:"fui-DataGridCell"},M2=e=>{"use no memo";return V_(e),e.root.className=E(q2.root,e.root.className),e},Gd=m.forwardRef((e,r)=>{const t=j2(e,r);return M2(t),le("useDataGridCellStyles_unstable")(t),O2(t)});Gd.displayName="DataGridCell";const L2=(e,r)=>{const t=kn(),o=Wd(),i=ke(a=>a.subtleSelection),n=ke(a=>t&&a.selection.selectionMode==="multiselect"?a.selection.allRowsSelected?!0:a.selection.someRowsSelected?"mixed":!1:a.selection.isRowSelected(o)),s=ke(a=>a.selection.toggleAllRows),l=ke(a=>a.selection.selectionMode==="multiselect"?"checkbox":"radio"),u=J(a=>{var c;t&&s(a),(c=e.onClick)===null||c===void 0||c.call(e,a)});return F2({as:"div",role:"gridcell",checked:n,type:l,invisible:t&&l==="radio","aria-selected":n==="mixed"?void 0:n,subtle:i,...e,onClick:u},r)},H2=e=>I2(e),Ta={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},W2=e=>{"use no memo";return Y_(e),e.root.className=E(Ta.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=E(Ta.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=E(Ta.radioIndicator,e.radioIndicator.className)),e},Ea=m.forwardRef((e,r)=>{const t=L2(e,r);return W2(t),le("useDataGridSelectionCellStyles_unstable")(t),H2(t)});Ea.displayName="DataGridSelectionCell";const V2=(e,r)=>{const t=Wd(),o=kn(),i=ke(v=>v.columns),n=ke(v=>v.selectableRows),s=ke(v=>v.selection.isRowSelected(t)),l=ke(v=>v.focusMode),u=ke(v=>v.compositeRowTabsterAttribute),a=l==="row_unstable"||l==="composite",c=ke(v=>!o&&n&&v.selection.isRowSelected(t)?v.selectionAppearance:"none"),d=ke(v=>v.selection.toggleRow),g=J(v=>{var b;n&&!o&&d(v,t),(b=e.onClick)===null||b===void 0||b.call(e,v)}),f=J(v=>{var b;n&&!o&&v.key===gt&&!$m(v.target)&&(v.preventDefault(),d(v,t)),(b=e.onKeyDown)===null||b===void 0||b.call(e,v)}),h=U_({appearance:c,"aria-selected":n?s:void 0,tabIndex:a&&!o?0:void 0,...l==="composite"&&!o&&u,...e,onClick:g,onKeyDown:f,children:null,as:"div"},r);return{...h,components:{...h.components,selectionCell:Ea},selectionCell:te(e.selectionCell,{renderByDefault:n,elementType:Ea,defaultProps:{radioIndicator:{disabled:o}}}),renderCell:e.children,columnDefs:i,dataGridContextValue:$2()}};function $2(){const e=m.useRef($d);return ke(r=>(e.current=r,null)),e.current}const G2=e=>(ie(e),we(e.root,{children:[e.selectionCell&&A(e.selectionCell,{}),e.columnDefs.map(r=>A(z2,{value:r.columnId,children:e.renderCell(r,e.dataGridContextValue)},r.columnId))]})),Ud={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},U2=O({singleSelectHeader:{Bconypa:"f6fspww",ff6mpl:"fqzoyx6"},subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f6fspww[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:0;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fqzoyx6:hover .fui-TableSelectionCell{opacity:0;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),K2=e=>{"use no memo";const r=kn(),t=ke(n=>n.selection.selectionMode==="single"),o=ke(n=>n.subtleSelection),i=U2();return o2(e),e.root.className=E(Ud.root,e.root.className,o&&i.subtleSelection,r&&t&&i.singleSelectHeader),e.selectionCell&&(e.selectionCell.className=E(Ud.selectionCell,e.selectionCell.className)),e},Na=m.forwardRef((e,r)=>{const t=V2(e,r);return K2(t),le("useDataGridRowStyles_unstable")(t),G2(t)});Na.displayName="DataGridRow";const X2=(e,r)=>{const{sortable:t}=Ot(),o=ke(l=>l.getRows),i=ke(l=>l.sort.sort),n=t?i(o()):o();return{...n2({...e,children:null,as:"div"},r),rows:n,renderRow:e.children}},Z2=e=>(ie(e),A(e.root,{children:e.rows.map(r=>A(D2,{value:r.rowId,children:e.renderRow(r)},r.rowId))})),Q2={root:"fui-DataGridBody"},Y2=e=>{"use no memo";return l2(e),e.root.className=E(Q2.root,e.root.className),e},Kd=m.forwardRef((e,r)=>{const t=X2(e,r);return Y2(t),le("useDataGridBodyStyles_unstable")(t),Z2(t)});Kd.displayName="DataGridBody";const J2=(e,r)=>{const{items:t,columns:o,focusMode:i="cell",selectionMode:n,onSortChange:s,onSelectionChange:l,defaultSortState:u,sortState:a,selectedItems:c,defaultSelectedItems:d,subtleSelection:g=!1,selectionAppearance:f="brand",getRowId:h,resizableColumns:v,columnSizingOptions:b,onColumnResize:p,containerWidthOffset:y,resizableColumnsOptions:k={}}=e,w=y??(n?-K_:0),_=Li({axis:"grid"}),{onTableKeyDown:S,tableTabsterAttribute:C,tableRowTabsterAttribute:T}=A_();var z;const I=z_({items:t,columns:o,getRowId:h},[c_({defaultSortState:u,sortState:a,onSortChange:s}),s_({defaultSelectedItems:d,selectedItems:c,onSelectionChange:l,selectionMode:n??"multiselect"}),P_({onColumnResize:p,columnSizingOptions:b,containerWidthOffset:w,autoFitColumns:(z=k.autoFitColumns)!==null&&z!==void 0?z:!0})]),G=m.useRef(null),{findFirstFocusable:U,findLastFocusable:B}=so(),j=J(X=>{var Z;if((Z=e.onKeyDown)===null||Z===void 0||Z.call(e,X),i==="composite"&&S(X),!(!G.current||!X.ctrlKey||X.defaultPrevented)){if(X.key===Cc){const W=G.current.querySelector('[role="row"]');if(W){var R;(R=U(W))===null||R===void 0||R.focus()}}if(X.key===Bc){const W=G.current.querySelectorAll('[role="row"]');if(W.length){var q;const ne=W.item(W.length-1);(q=B(ne))===null||q===void 0||q.focus()}}}});return{...c2({role:"grid",as:"div",noNativeElements:!0,...i==="cell"&&_,...i==="composite"&&C,...e,onKeyDown:j,...v?I.columnSizing_unstable.getTableProps(e):{}},Fe(r,I.tableRef,G)),focusMode:i,tableState:I,selectableRows:!!n,subtleSelection:g,selectionAppearance:f,resizableColumns:v,compositeRowTabsterAttribute:T}},eS=(e,r)=>m.createElement(A2,{value:r.dataGrid},u2(e,r)),tS={root:"fui-DataGrid"},rS=e=>{"use no memo";return v2(e),e.root.className=E(tS.root,e.root.className),e};function oS(e){const r=m2(e),{tableState:t,focusMode:o,selectableRows:i,subtleSelection:n,selectionAppearance:s,resizableColumns:l,compositeRowTabsterAttribute:u}=e;return{...r,dataGrid:{...t,focusMode:o,selectableRows:i,subtleSelection:n,selectionAppearance:s,resizableColumns:l,compositeRowTabsterAttribute:u}}}const Xd=m.forwardRef((e,r)=>{const t=J2(e,r);return rS(t),le("useDataGridStyles_unstable")(t),eS(t,oS(t))});Xd.displayName="DataGrid";const nS=(e,r)=>p2({...e,as:"div"},r),iS=e=>b2(e),aS={root:"fui-DataGridHeader"},sS=e=>{"use no memo";return x2(e),e.root.className=E(aS.root,e.root.className),e},Zd=m.forwardRef((e,r)=>{const t=nS(e,r);return sS(t),le("useDataGridHeaderStyles_unstable")(t),iS(t)});Zd.displayName="DataGridHeader";function lS(e){return e.compare.length>0}const cS=(e,r)=>{const t=Ld(),{sortable:o}=Ot(),i=ke(c=>c.sort.toggleColumnSort),n=ke(c=>{const d=!!c.columns.find(g=>g.columnId===t&&lS(g));return o?d:!1}),s=ke(c=>n?c.sort.getSortDirection(t):void 0),l=ke(c=>c.resizableColumns),u=ke(c=>c.columnSizing_unstable.getTableHeaderCellProps),a=J(c=>{var d;n&&i(c,t),(d=e.onClick)===null||d===void 0||d.call(e,c)});return S2({sortable:n,sortDirection:s,as:"div",tabIndex:n?void 0:0,...l?u(t):{},...e,onClick:a},r)},uS=e=>B2(e),_n={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},dS=e=>{"use no memo";return E2(e),e.root.className=E(_n.root,e.root.className),e.button&&(e.button.className=E(_n.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=E(_n.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=E(_n.aside,e.aside.className)),e},Qd=m.forwardRef((e,r)=>{const t=cS(e,r);return dS(t),le("useDataGridHeaderCellStyles_unstable")(t),uS(t)});Qd.displayName="DataGridHeaderCell";const fS=(e,{referenceLabel:r,referenceId:t},o)=>{const{checkbox:i={},onSelectionChange:n,floatingAction:s,onClick:l,onKeyDown:u}=e,{findAllFocusable:a}=so(),c=m.useRef(null),[d,g]=yt({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),f=[e.selected,e.defaultSelected,n].some(S=>typeof S<"u"),[h,v]=m.useState(!1),b=m.useCallback(S=>{if(!o.current)return!1;const C=a(o.current),T=S.target,z=C.some(G=>G.contains(T)),I=(c==null?void 0:c.current)===T;return z&&!I},[o,a]),p=m.useCallback(S=>{if(b(S))return;const C=!d;g(C),n&&n(S,{selected:C})},[n,d,g,b]),y=m.useCallback(S=>{[er].includes(S.key)&&(S.preventDefault(),p(S))},[p]),k=m.useMemo(()=>{if(!f||s)return;const S={};return t?S["aria-labelledby"]=t:r&&(S["aria-label"]=r),te(i,{defaultProps:{ref:c,type:"checkbox",checked:d,onChange:C=>p(C),onFocus:()=>v(!0),onBlur:()=>v(!1),...S},elementType:"input"})},[i,s,d,f,p,t,r]),w=m.useMemo(()=>{if(s)return te(s,{defaultProps:{ref:c},elementType:"div"})},[s]),_=m.useMemo(()=>f?{onClick:Ee(l,p),onKeyDown:Ee(u,y)}:null,[f,p,l,u,y]);return{selected:d,selectable:f,selectFocused:h,selectableCardProps:_,checkboxSlot:k,floatingActionSlot:w}},Yd=m.createContext(void 0),za={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},hS=Yd.Provider,Jd=()=>{var e;return(e=m.useContext(Yd))!==null&&e!==void 0?e:za},gS={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},vS=({focusMode:e,...r})=>{const t=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(s=>r[s]),o=e??(t?"no-tab":"off"),n={...Hi({tabBehavior:gS[o]}),tabIndex:0};return{interactive:t,focusAttributes:o==="off"?null:n}},mS=(e,r)=>{const{appearance:t="filled",orientation:o="vertical",size:i="medium"}=e,[n,s]=m.useState(za.selectableA11yProps.referenceId),[l,u]=m.useState(za.selectableA11yProps.referenceId),a=Er(),{selectable:c,selected:d,selectableCardProps:g,selectFocused:f,checkboxSlot:h,floatingActionSlot:v}=fS(e,{referenceId:n,referenceLabel:l},a),b=Fe(a,r),{interactive:p,focusAttributes:y}=vS(e);return{appearance:t,orientation:o,size:i,interactive:p,selectable:c,selectFocused:f,selected:d,selectableA11yProps:{setReferenceId:s,referenceId:n,referenceLabel:l,setReferenceLabel:u},components:{root:"div",floatingAction:"div",checkbox:"input"},root:re(ve("div",{ref:b,role:"group",...c?null:y,...e,...g}),{elementType:"div"}),floatingAction:v,checkbox:h}},pS=(e,r)=>(ie(e),A(e.root,{children:we(hS,{value:r,children:[e.checkbox?A(e.checkbox,{}):null,e.floatingAction?A(e.floatingAction,{}):null,e.root.children]})})),Ra={root:"fui-CardPreview",logo:"fui-CardPreview__logo"},bS=O({root:{qhf8xq:"f10pi13n",Byfpedg:"fgourly",Btj6oj6:"f1vui7lx",B1m4t4s:"fda5zwx"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".fgourly>:not(.fui-CardPreview__logo){display:block;}",".f1vui7lx>:not(.fui-CardPreview__logo){height:100%;}",".fda5zwx>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),yS=e=>{"use no memo";const r=bS();return e.root.className=E(Ra.root,r.root,e.root.className),e.logo&&(e.logo.className=E(Ra.logo,r.logo,e.logo.className)),e},ef={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},wS=O({root:{Bkc6ea2:"fkufhic",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"]},header:{mc9l5x:"f22iagw"},description:{mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".f22iagw{display:flex;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),kS=O({root:{mc9l5x:"f13qh94s",t4k1zu:"f8a668j"},image:{Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf"},action:{Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),xS=O({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]}),_S=e=>{"use no memo";const r=wS(),t=kS(),o=xS(),i=e.description?t:o,n=s=>{var l;return E(ef[s],r[s],i[s],(l=e[s])===null||l===void 0?void 0:l.className)};return e.root.className=n("root"),e.image&&(e.image.className=n("image")),e.header&&(e.header.className=n("header")),e.description&&(e.description.className=n("description")),e.action&&(e.action.className=n("action")),e},tf={root:"fui-CardFooter",action:"fui-CardFooter__action"},SS=O({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:0,Belr9w4:0,rmohyg:"fsbu5mz"},action:{Frg6f3:["fcgxt0o","f1ujusj6"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",[".fsbu5mz{gap:12px;}",{p:-1}],".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),BS=e=>{"use no memo";const r=SS();return e.root.className=E(tf.root,r.root,e.root.className),e.action&&(e.action.className=E(tf.action,r.action,e.action.className)),e},Da={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},CS=ce("rfxo2k2","rgle7w9",[".rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}",".rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}"]),PS=O({focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"fnd8nzh",J0r882:"f15fr7a0",Bule8hv:["fwsq40z","fy0y4wt"],Bjwuhne:"f34ld9f",Ghsupd:["fy0y4wt","fwsq40z"]},selectableFocused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"f1i978nd",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1nh8hsq",B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Binpb3b:"ftrw7vg",qrt8p2:"f18opajm",k6ws3r:["f13002it","fqo182t"],Btcwela:["f18yna97","f1kd6wh7"],Fer9m8:"f4i4759"},orientationVertical:{Beiy3e4:"f1vx9l62",B5nvv7i:["f14k419y","f1fgo9fz"],Baxg94k:["f1fgo9fz","f14k419y"],tn21ii:"fvqmfsm",B0ud6bj:"f3am6yf",Bgdo4j:"f1r5wgso"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},interactive:{rhjd8f:"f1epqm3e"},filled:{De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1kz6goq"},filledAlternative:{De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledAlternativeInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"fnwyq0v",Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"f1luvkty",Jwef8y:"fehi0vp"},outline:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]},outlineInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"],Bi91k9c:"feu1g3u",Jwef8y:"fjxutwb",Be0v6ae:"f1llr77y",B5kxglz:["fzk0khw","fjj8tog"],B3pwyw6:"fb1u8ub",Bymgtzf:["fjj8tog","fzk0khw"],ecr2s2:"fophhak",dmfk:"f1uohb70",B4ofi8:["f1jm7v1n","f1bus3rq"],jgq6uv:"f1fbu7rr",Baxewws:["f1bus3rq","f1jm7v1n"]},outlineInteractiveSelected:{De3pzq:"f1q9pm1r",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"fg59vm4"},subtle:{De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},subtleInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}',".f1pi9uxy{--fui-Card--size:8px;}",".f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}",".frsmuga{--fui-Card--size:12px;}",".fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}",".f1qua4xo{--fui-Card--size:16px;}",".fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}",".f1epqm3e .fui-Text{color:currentColor;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1whvlc6{box-shadow:var(--shadow4);}",".f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}",".fpgykix::after{border-right-color:var(--colorTransparentStroke);}",".fzybk4o::after{border-left-color:var(--colorTransparentStroke);}",".f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}",".f1k6fduh{cursor:pointer;}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}",".fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}",".fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}",".ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}",".f1dmdbja{background-color:var(--colorNeutralBackground2);}",".fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1couhl3{box-shadow:none;}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".fx9teim:hover{color:var(--colorNeutralForeground1Selected);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}",".fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}",".fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}",".fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}",".fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}",".fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),TS=e=>{"use no memo";const r=CS(),t=PS(),o={horizontal:t.orientationHorizontal,vertical:t.orientationVertical},i={small:t.sizeSmall,medium:t.sizeMedium,large:t.sizeLarge},n={filled:t.filled,"filled-alternative":t.filledAlternative,outline:t.outline,subtle:t.subtle},s={filled:t.filledInteractiveSelected,"filled-alternative":t.filledAlternativeInteractiveSelected,outline:t.outlineInteractiveSelected,subtle:t.subtleInteractiveSelected},l={filled:t.filledInteractive,"filled-alternative":t.filledAlternativeInteractive,outline:t.outlineInteractive,subtle:t.subtleInteractive},u=e.interactive||e.selectable,a=m.useMemo(()=>e.selectable?e.selectFocused?t.selectableFocused:"":t.focused,[e.selectFocused,e.selectable,t.focused,t.selectableFocused]);return e.root.className=E(Da.root,r,o[e.orientation],i[e.size],n[e.appearance],u&&t.interactive,u&&l[e.appearance],e.selected&&s[e.appearance],a,u&&t.highContrastInteractive,e.selected&&t.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=E(Da.floatingAction,t.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=E(Da.checkbox,t.hiddenCheckbox,e.checkbox.className)),e};function ES({selectableA11yProps:e}){return{selectableA11yProps:e}}const rf=m.forwardRef((e,r)=>{const t=mS(e,r),o=ES(t);return TS(t),le("useCardStyles_unstable")(t),pS(t,o)});rf.displayName="Card";const NS=(e,r)=>{const{action:t}=e;return{components:{root:"div",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),action:te(t,{elementType:"div"})}},zS=e=>(ie(e),we(e.root,{children:[e.root.children,e.action&&A(e.action,{})]})),of=m.forwardRef((e,r)=>{const t=NS(e,r);return BS(t),le("useCardFooterStyles_unstable")(t),zS(t)});of.displayName="CardFooter";function RS(e){function r(t){return m.isValidElement(t)&&!!t.props.id}return m.Children.toArray(e).find(r)}function DS(e,r,t){return e||(r!=null&&r.props.id?r.props.id:t)}const FS=(e,r)=>{const{image:t,header:o,description:i,action:n}=e,{selectableA11yProps:{referenceId:s,setReferenceId:l}}=Jd(),u=m.useRef(null),a=m.useRef(!1),c=Qe(ef.header,s),d=te(o,{renderByDefault:!0,defaultProps:{ref:u,id:a.current?void 0:s},elementType:"div"});return m.useEffect(()=>{var g;const f=a.current||(g=u.current)===null||g===void 0?void 0:g.id,h=RS(d==null?void 0:d.children);a.current=!!h,l(DS(f,h,c))},[c,o,d,l]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),image:te(t,{elementType:"div"}),header:d,description:te(i,{elementType:"div"}),action:te(n,{elementType:"div"})}},IS=e=>(ie(e),we(e.root,{children:[e.image&&A(e.image,{}),e.header&&A(e.header,{}),e.description&&A(e.description,{}),e.action&&A(e.action,{})]})),nf=m.forwardRef((e,r)=>{const t=FS(e,r);return _S(t),le("useCardHeaderStyles_unstable")(t),IS(t)});nf.displayName="CardHeader";const AS=(e,r)=>{const{logo:t}=e,{selectableA11yProps:{referenceLabel:o,referenceId:i,setReferenceLabel:n,setReferenceId:s}}=Jd(),l=Fe(r,m.useRef(null));return m.useEffect(()=>{if(!(o&&i)&&l.current&&l.current.parentNode){const u=l.current.parentNode.querySelector(`.${Ra.root} > img`);if(u){const a=u.getAttribute("aria-label"),c=u.getAttribute("aria-describedby");c?s(c):u.alt?n(u.alt):a&&n(a)}}},[n,o,l,i,s]),{components:{root:"div",logo:"div"},root:re(ve("div",{ref:l,...e}),{elementType:"div"}),logo:te(t,{elementType:"div"})}},jS=e=>(ie(e),we(e.root,{children:[e.root.children,e.logo&&A(e.logo,{})]})),af=m.forwardRef((e,r)=>{const t=AS(e,r);return yS(t),le("useCardPreviewStyles_unstable")(t),jS(t)});af.displayName="CardPreview";const OS={scrollState:"none",setScrollState:()=>({})},sf=m.createContext(void 0),Fa=sf.Provider,lf=()=>{var e;return(e=m.useContext(sf))!==null&&e!==void 0?e:OS},Ia=()=>{const[e,r]=m.useState("none");return{setScrollState:r,scrollState:e}},cf={drawerSizeVar:"--fui-Drawer--size"},qS=O({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),MS=O({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),uf=({position:e,size:r})=>{const t=qS(),o=MS();return E(t[e],e==="bottom"&&o[r],e!=="bottom"&&t[r])},Aa={small:De.durationGentle,medium:De.durationSlow,large:De.durationSlower,full:De.durationUltraSlow};function df(e,r,t){const o=`translate3d(var(${r}), 0, 0)`,i=`translate3d(calc(var(${r}) * -1), 0, 0)`,n=`translate3d(0, var(${r}), 0)`;return e==="start"?t==="ltr"?i:o:e==="end"?t==="ltr"?o:i:e==="bottom"?n:"translate3d(0, 0, 0)"}const ff=zr(({position:e,size:r,dir:t})=>{const o=[{transform:df(e,cf.drawerSizeVar,t),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],i=Aa[r];return{enter:{keyframes:o,duration:i,easing:De.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:i,easing:De.curveAccelerateMin}}}),LS=zr(({position:e,size:r,dir:t})=>{const o=[{transform:df(e,cf.drawerSizeVar,t),boxShadow:`0px ${Ie.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Ie.shadow64,opacity:1}],i=Aa[r];return{enter:{keyframes:o,duration:i,easing:De.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:i,easing:De.curveAccelerateMin}}}),HS=zr(({size:e})=>{const r=[{opacity:0},{opacity:1}],t=Aa[e];return{enter:{keyframes:r,easing:De.curveLinear,duration:t},exit:{keyframes:[...r].reverse(),easing:De.curveLinear,duration:t}}});function hf(e){const{open:r=!1,size:t="small",position:o="start"}=e;return{size:t,position:o,open:r}}const WS=ce("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),VS=O({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),$S=e=>{"use no memo";const r=WS(),t=VS();return e.backdrop&&(e.backdrop.className=E(r,e.isNestedDialog&&t.nested,e.backdrop.className)),e},ja=m.forwardRef((e,r)=>{const t=Zx({...e,as:e.as},r),o=Yx();return $S(t),Qx(t,o)});ja.displayName="OverlayDrawerSurface";function gf(e,r,t){return e===null?null:{...e,children:(o,i)=>e!=null&&e.children?e.children(r,{...i,...t}):m.createElement(r,{...i,...t},i.children)}}const GS={active:!0,canRender:!0,ref:m.createRef(),type:"idle"},US=(e,r)=>{const{open:t,size:o,position:i}=hf(e),{backdropMotion:n,modalType:s="modal",inertTrapFocus:l,onOpenChange:u,surfaceMotion:a,mountNode:c}=e,{dir:d,targetDocument:g}=_e(),{element:f}=td(c),h=!!(f&&(g==null?void 0:g.body)!==f),v=wi(e.backdrop),p=re({...e,ref:r,backdrop:s!=="non-modal"&&v!==null?{...v}:null,backdropMotion:gf(n,HS,{size:o})},{elementType:ja}),y=re({open:t,onOpenChange:u,inertTrapFocus:l,modalType:s,surfaceMotion:gf(a,LS,{position:i,size:o,dir:d}),children:null},{elementType:_a});return{components:{root:ja,dialog:_a},root:p,dialog:y,open:t,size:o,position:i,hasMountNodeElement:h,mountNode:c,motion:GS}},KS=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.dialog,{children:A(e.root,{})})})),vf={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},XS=ce("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),ZS=O({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),QS=e=>{"use no memo";const r=uf(e),t=XS(),o=ZS(),i=e.hasMountNodeElement&&o.absolute,n=e.root.backdrop;return e.root.className=E(vf.root,r,t,o[e.position],i,e.root.className),n&&(n.className=E(vf.backdrop,i,n.className)),e},mf=m.forwardRef((e,r)=>{const t=US(e,r),o=Ia();return QS(t),le("useDrawerOverlayStyles_unstable")(t),le("useOverlayDrawerStyles_unstable")(t),KS(t,o)});mf.displayName="OverlayDrawer";const YS={active:!0,canRender:!0,ref:m.createRef(),type:"idle"},JS=(e,r)=>{const{size:t,position:o,open:i}=hf(e),{separator:n=!1,surfaceMotion:s}=e,{dir:l}=_e();return{components:{root:"div",surfaceMotion:ff},root:re(ve("div",{...e,ref:r}),{elementType:"div"}),open:i,position:o,size:t,separator:n,surfaceMotion:Yi(s,{elementType:ff,defaultProps:{position:o,size:t,dir:l,visible:i,unmountOnExit:!0}}),motion:YS}},eB=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.surfaceMotion,{children:A(e.root,{})})})),tB={root:"fui-InlineDrawer"},rB=ce("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),oB=O({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}"]});function nB(e,r){if(e.separator)switch(e.position){case"start":return r.separatorStart;case"end":return r.separatorEnd;case"bottom":return r.separatorBottom;default:return}}const iB=e=>{"use no memo";const r=rB(),t=uf(e),o=oB();return e.root.className=E(tB.root,r,t,nB(e,o),o[e.position],e.root.className),e},pf=m.forwardRef((e,r)=>{const t=JS(e,r),o=Ia();return iB(t),le("useDrawerInlineStyles_unstable")(t),le("useInlineDrawerStyles_unstable")(t),eB(t,o)});pf.displayName="InlineDrawer";const aB=(e,r)=>{const t=e.type==="inline"?pf:mf,o=re({ref:r,...e},{elementType:t});return{components:{root:t},root:o}},sB=(e,r)=>(ie(e),A(Fa,{value:r,children:A(e.root,{})})),lB={root:"fui-Drawer"},cB=e=>{"use no memo";return e.root.className=E(lB.root,e.root.className),e},bf=m.forwardRef((e,r)=>{const t=aB(e,r),o=Ia();return cB(t),le("useDrawerStyles_unstable")(t),sB(t,o)});bf.displayName="Drawer";const uB=({scrollTop:e,scrollHeight:r,clientHeight:t})=>r<=t?"none":e===0?"top":e+t===r?"bottom":"middle",dB=(e,r)=>{const{setScrollState:t}=lf(),o=m.useRef(null),[i,n]=Bl(),s=m.useCallback(()=>{o.current&&t(uB(o.current))},[t]),l=m.useCallback(()=>{n(),i(()=>s())},[n,i,s]);return Re(()=>(n(),i(()=>s()),()=>n()),[e.children,n,s,i]),Re(()=>(n(),i(()=>s()),()=>n()),[n,s,i]),{components:{root:"div"},root:re(ve("div",{ref:Fe(r,o),...e,onScroll:Ee(e.onScroll,l)}),{elementType:"div"})}},fB=e=>(ie(e),A(e.root,{})),hB={root:"fui-DrawerBody"},gB=ce("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),vB=e=>{"use no memo";const r=gB();return e.root.className=E(hB.root,r,e.root.className),e},yf=m.forwardRef((e,r)=>{const t=dB(e,r);return vB(t),le("useDrawerBodyStyles_unstable")(t),fB(t)});yf.displayName="DrawerBody";const mB=(e,r)=>{const{scrollState:t}=lf();return{components:{root:"header"},root:re(ve("header",{ref:r,role:"none",...e}),{elementType:"header"}),scrollState:t}},pB=e=>(ie(e),A(e.root,{})),bB={root:"fui-DrawerHeader"},yB=ce("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),wB=O({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),kB=e=>{"use no memo";const r=yB(),t=wB();return e.root.className=E(bB.root,r,e.scrollState!=="none"&&t.separator,["middle","bottom"].includes(e.scrollState)&&t.separatorVisible,e.root.className),e},wf=m.forwardRef((e,r)=>{const t=mB(e,r);return kB(t),le("useDrawerHeaderStyles_unstable")(t),pB(t)});wf.displayName="DrawerHeader";const xB=(e,r)=>{const{children:t,heading:o}=e,i=jt(n=>n.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:re(ve("div",{ref:r,...e}),{elementType:"div"}),heading:te(o,{defaultProps:{id:i,children:t},renderByDefault:!0,elementType:"h2"}),action:te(e.action,{elementType:"div"})}},_B=e=>(ie(e),we(e.root,{children:[e.heading&&A(e.heading,{}),e.action&&A(e.action,{})]})),Oa={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},SB=O({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),BB=e=>{"use no memo";const r=SB(),{heading:t={},action:o,components:i}=e;return Xx({components:{root:i.heading,action:i.action},root:t,action:o}),e.root.className=E(Oa.root,r.root,e.root.className),e.heading&&(e.heading.className=E(Oa.heading,e.heading.className)),e.action&&(e.action.className=E(Oa.action,r.action,e.action.className)),e},kf=m.forwardRef((e,r)=>{const t=xB(e,r);return BB(t),le("useDrawerHeaderTitleStyles_unstable")(t),_B(t)});kf.displayName="DrawerHeaderTitle";const qa=["title","path","description","listItemId","identityListItemId","identityListId","identitySiteCollectionId","identityWebId","lastModifiedTime","viewsLifeTime","viewsRecent","owstaxidmetadataalltagsinfo","driveId","author","authorOwsUser"],xf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xlsx.png",_f="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/docx.png",Sf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pptx.png",Bf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/mpp.png",yo="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/photo.png",CB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pdf.png",PB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/txt.png",Cf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/email.png",TB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/csv.png",EB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pub.png",NB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/accdb.png",Ma="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/zip.png",La="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/genericfile.png",Pf="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/code.png",zB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/html.png",RB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xml.png",DB="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/spo.png",wo="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/video.png",Cn=class Cn{static getFileImageUrl(r){if(!r)return La;let t=La;const o=r.split("."),i=o[o.length-1];if(!i)return t;switch(i.toLowerCase()){case"xlsx":t=xf;break;case"xls":t=xf;break;case"docx":t=_f;break;case"doc":t=_f;break;case"pptx":t=Sf;break;case"ppt":t=Sf;break;case"mppx":t=Bf;break;case"mpp":t=Bf;break;case"csv":t=TB;break;case"pdf":t=CB;break;case"txt":t=PB;break;case"jpg":t=yo;break;case"msg":t=Cf;break;case"jpeg":t=yo;break;case"png":t=yo;break;case"ico":t=yo;break;case"tiff":t=yo;break;case"eml":t=Cf;break;case"pub":t=EB;break;case"accdb":t=NB;break;case"zip":t=Ma;break;case"7z":t=Ma;break;case"tar":t=Ma;break;case"js":t=Pf;break;case"json":t=Pf;break;case"html":t=zB;break;case"xml":t=RB;break;case"aspx":t=DB;break;case"mp4":t=wo;break;case"mov":t=wo;break;case"wmv":t=wo;break;case"ogg":t=wo;break;case"webm":t=wo;break;default:t=La;break}return t}};Cn.getShortName=r=>{if(!r)return"";const t=r.split("."),o=t[0].substring(0,25),i=t[t.length-1];return`${o}...${i}`},Cn.isOndrive=async r=>r?r.indexOf("my.sharepoint.com")>-1:!1;let Sn=Cn;const or=class or{};or.getThumbnailUrl=(r,t="medium")=>`https://graph.microsoft.com/v1.0/sites/${r.identitySiteCollectionId}/sites/${r.identityWebId}/lists/${r.identityListId}/items/${r.listItemId}/microsoft.graph.listitem/driveItem/thumbnails/0/${t}/content`,or.getThumbnailImageFromGraphApiCall=async(r,t)=>{const o=await r.get(t);if(o.headers["content-type"]==="application/json")return"data:image/png;base64,"+(await o.text()).replace('"',"").replace('"',"");if(o.status===302)return o.headers.Location;if(o.status===404)return"";const i=await o.arrayBuffer();return`data:image/jpeg;base64,${Buffer.from(new Uint8Array(i).reduce((s,l)=>s+String.fromCharCode(l),"")).toString("base64")}`},or.getThumbnailImageFromGraph=async(r,t,o="medium")=>{const i=or.getThumbnailUrl(r,o);return await or.getThumbnailImageFromGraphApiCall(t,i)};let Ha=or;function FB(e){let r=0;for(let t=0;t<e.length;t++){const o=e.charCodeAt(t);r=(r<<5)-r+o,r|=0}return r}const IB=Br({title:{...Sr.margin(0,0,"12px")},description:{...Sr.margin(0,0,"12px")},card:{width:"20rem",maxWidth:"100%",height:"fit-content"},image:{width:"20rem",height:"7rem"},text:{...Sr.margin(0)},imageIconWrapper:{width:"20rem!important",height:"7rem!important",display:"flex!important",justifyContent:"center",alignItems:"center",backgroundColor:Ie.colorNeutralBackground3}}),Tf=e=>{const{graphClient:r}=Ve(),t=IB(),[o,i]=m.useState(void 0);return m.useEffect(()=>{Ha.getThumbnailImageFromGraph(e.document.fields,r).then(n=>{i(n)}).catch(n=>{console.error(n)})},[]),P.jsxs(rf,{className:t.card,children:[P.jsx(af,{children:o?P.jsx("img",{src:o,alt:e.document.fields.title,className:t.image}):P.jsx("div",{className:t.imageIconWrapper,children:P.jsx("div",{children:P.jsx("img",{src:Sn.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title})})})}),P.jsx(nf,{image:P.jsx("img",{src:Sn.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title}),header:P.jsx(Rx,{children:P.jsx("b",{children:e.document.fields.title})}),description:P.jsx(Dx,{children:e.document.fields.author}),action:P.jsx(ut,{appearance:"transparent","aria-label":"More options"})}),P.jsx("p",{className:t.text,children:e.document.fields.description}),P.jsx(of,{children:P.jsx(ut,{as:"a",href:e.document.fields.path,appearance:"primary",icon:P.jsx(v0,{}),children:"Open"})})]})},AB=Br({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",...Sr.gap(Ie.spacingHorizontalL,Ie.spacingVerticalL)}}),jB=e=>{var f;const{graphClient:r}=Ve(),t=AB(),o=m.useMemo(()=>{var v,b,p,y,k,w,_;var h=new Wn(r,[((v=e.dataProviderProps)==null?void 0:v.entityType)??"listItem"],((b=e.dataProviderProps)==null?void 0:b.selectFields)||qa);return h.queryTemplate=(p=e.dataProviderProps)==null?void 0:p.queryTemplate,h.pageSize=(y=e.dataProviderProps)==null?void 0:y.pageSize,(k=e.dataProviderProps)!=null&&k.aggregations&&h.setRefiners((w=e.dataProviderProps)==null?void 0:w.aggregations),h.setQuery(((_=e.dataProviderProps)==null?void 0:_.initialQuery)??""),h},[r,e.dataProviderProps]),[i,n]=m.useState(!0),[s,l]=m.useState(((f=e.dataProviderProps)==null?void 0:f.initialQuery)??""),[u,a]=m.useState([]),[c,d]=m.useState(void 0);m.useEffect(()=>{o.setQuery(s),n(!0),o.getData().then(h=>{a(h),d(void 0)}).catch(h=>{d(h.message)}).finally(()=>{n(!1)})},[s]);const g=()=>e!=null&&e.searchInputComponent?P.jsx(e.searchInputComponent,{onSearch:h=>{l(h)}}):P.jsx(mn,{contentBefore:P.jsx(ou,{}),placeholder:"Search",value:s,onChange:h=>{l(h.target.value)}});return P.jsxs("div",{children:[P.jsx("div",{children:g()}),P.jsxs("div",{children:[i&&P.jsx(jr,{label:"Loading..."}),!i&&c&&P.jsxs("div",{children:["Error: ",c]})]}),P.jsx("div",{className:t.searchResults,children:u.map((h,v)=>P.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):P.jsx(Tf,{document:h})},v))})]})},OB=Br({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",...Sr.gap(Ie.spacingHorizontalL,Ie.spacingVerticalL)}}),qB=e=>{var f;const{graphClient:r}=Ve(),t=OB(),o=m.useMemo(()=>{var v,b;var h=new yh(r,"sharePoint",((v=e.dataProviderProps)==null?void 0:v.selectFields)||qa,(b=e.dataProviderProps)==null?void 0:b.queryTemplate);return h},[r,e.dataProviderProps]),[i,n]=m.useState(!0),[s,l]=m.useState(((f=e.dataProviderProps)==null?void 0:f.initialQuery)??""),[u,a]=m.useState([]),[c,d]=m.useState(void 0);m.useEffect(()=>{Mn.debounce("copilot-search",async()=>{n(!0),o.getData(s).then(h=>{a(h),d(void 0)}).catch(h=>{d(h.message)}).finally(()=>{n(!1)})},1e3)},[s]);const g=()=>e!=null&&e.searchInputComponent?P.jsx(e.searchInputComponent,{onSearch:h=>{l(h)}}):P.jsx(mn,{style:{width:"500px"},contentBefore:P.jsx(ou,{}),placeholder:"Search",value:s,onChange:h=>{l(h.target.value)}});return P.jsxs("div",{children:[P.jsx("div",{children:g()}),P.jsxs("div",{children:[i&&P.jsx(jr,{label:"Loading..."}),!i&&c&&P.jsxs("div",{children:["Error: ",c]})]}),P.jsx("div",{className:t.searchResults,children:u.map((h,v)=>P.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):P.jsx(Tf,{document:{fields:h.resourceMetadata,...h}})},v))})]})},MB=Br({root:{paddingBottom:Ie.spacingVerticalM,position:"relative"},searchInput:{minWidth:"800px"},suggestionsSurface:{position:"absolute",top:"100%",marginTop:"0rem",zIndex:2,backgroundColor:Ie.colorNeutralBackgroundAlpha2,width:"800px",transform:"scaleY(0)",transformOrigin:"top",transitionProperty:"all",transitionTimingFunction:Ie.curveDecelerateMid,transitionDuration:Ie.durationSlow},suggestionsSurfaceVisible:{transform:"scaleY(1)"},suggestionsWrapper:{display:"flex",flexDirection:"column",rowGap:Ie.spacingVerticalM,maxHeight:"15rem",overflowY:"auto",alignItems:"flex-start"},suggestionsList:{listStyleType:"none",paddingLeft:"0px"},suggestionButton:{"&:focus":{...Sr.borderColor(Ie.colorBrandBackground)}}}),LB=[":","=","<",">","<=",">="];function HB(e){const r=MB(),{graphClient:t}=Ve(),[o,i]=m.useState(!1),[n,s]=m.useState([]),[l,u]=m.useState(!0),[a,c]=m.useState(""),[d,g]=m.useState(!0),[f,h]=m.useState(),v=m.useRef(),b=m.useRef(),p=m.useRef(new Th(t));return m.useEffect(()=>{e.query&&p.current.withManagedPropertiesRelatedQuery(e.query),p.current.build().then(y=>{h(y),g(!1)})},[]),P.jsxs("div",{className:r.root,children:[P.jsx(mn,{ref:v,className:r.searchInput,contentAfter:d?P.jsx(jr,{size:"tiny"}):P.jsx(ut,{appearance:"transparent",title:"Search",onClick:()=>{e.onSearch(a)},icon:P.jsx(l0,{})}),value:a,onChange:(y,k)=>{c(k.value),Mn.debounce("search-input",async()=>{g(!0);const w=await f.getSuggestions(k.value);s(w.value),u(w.areSuggestionsProps),w.value&&w.value.length>0&&i(!0),g(!1)},500)},onKeyDown:y=>{var k;if(y.key==="Enter"&&e.onSearch(a),y.key==="ArrowDown"){const w=(k=b.current)==null?void 0:k.firstChild;if(w){const _=w.firstChild;if(_){_.focus(),y.preventDefault();return}}}y.key==="Escape"&&i(!1)}}),P.jsxs("div",{className:E(r.suggestionsSurface,o&&r.suggestionsSurfaceVisible),onBlur:()=>{},children:[P.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:P.jsx(ut,{tabIndex:-1,appearance:"subtle",onClick:()=>{i(!1)},title:"Close",icon:P.jsx(Ic,{})})}),P.jsx("div",{className:r.suggestionsWrapper,children:P.jsxs("ul",{className:r.suggestionsList,ref:b,onKeyDown:y=>{var S;const k=b==null?void 0:b.current.querySelectorAll("button"),w=y.target;let _=null;if(k.forEach((C,T)=>{C===w&&(_=T)}),y.key==="ArrowUp")if(_===0){(S=v.current)==null||S.focus(),y.preventDefault();return}else{k.item(_-1).focus(),y.preventDefault();return}if(y.key==="ArrowDown")if(_===k.length-1){k.item(0).focus(),y.preventDefault();return}else{k.item(_+1).focus(),y.preventDefault();return}},children:[l&&n.map(y=>P.jsx("li",{children:P.jsx(ut,{className:r.suggestionButton,appearance:"transparent",onClick:()=>{var S;const k=a.split(l?" ":":"),w=k[k.length-1],_=a.replace(w,y+":");c(_),i(!1),u(!1),(S=v.current)==null||S.focus()},children:y},y)})),!l&&n.map((y,k)=>P.jsx("li",{children:P.jsx(ut,{className:r.suggestionButton,appearance:"transparent",onClick:()=>{var T;const w=a.split(" ");let _=w[w.length-1],S=LB.find(z=>_.indexOf(z)>0);S&&(_=_.split(S)[1]);const C=a.replace(_,y.replace(/ /g,"+"));c(C),i(!1),u(!0),(T=v.current)==null||T.focus(),e.onSearch(C)},children:y},k)}))]})})]})]})}var WB=Object.defineProperty,VB=Object.getOwnPropertyDescriptor,$B=(e,r,t,o)=>{for(var i=o>1?void 0:o?VB(r,t):r,n=e.length-1,s;n>=0;n--)(s=e[n])&&(i=(o?s(r,t,i):s(i))||i);return o&&i&&WB(r,t,i),i};class Wa{constructor(r,t){this.graphClient=r,this.updatePresence=t,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new An}async getUser(r,t="48x48"){let o=r;if(r&&r.indexOf("@")>-1){const l=`/users/${r}?$select=id`,u=await this.graphClient.get(l);if(u.status===404)return null;o=(await u.json()).id}let i=this.storageService.get(this.key+r),n=i==null?void 0:i.data;const s=o?`/users/${o}`:"/me";if(!n||i.expiration<new Date().getTime()){const[l,u,a]=await Promise.all([this.graphClient.get(s+"?$select=id,displayName,mail,jobTitle,department,officeLocation,mobilePhone,businessPhones,userPrincipalName,usageLocation"),this.graphClient.get(s+`/photos/${t}/$value`),this.graphClient.get(s+"/presence")]),[c,d,g]=await Promise.all([l.json(),u.text(),a.json()]);n={...c,photo:`data:image/png;base64,${d.replace('"',"").replace('"',"")}`,presence:g},this.storageService.set(this.key+r,{data:n,expiration:new Date().getTime()+this.cacheExpiration})}else if(this.updatePresence){const u=await(await this.graphClient.get(s+"/presence")).json();n={...n,presence:u},this.storageService.set(this.key+r,{data:n,expiration:new Date().getTime()+this.cacheExpiration})}return n}}$B([jn("getUser-{0}")],Wa.prototype,"getUser",1);function Bn(e){var d,g,f,h,v;const{id:r}=e;let t=e.graphClient;const o=b=>{switch(b){case"":return"offline";case"Available":return"available";case"Busy":return"busy";case"Away":return"away";case"DoNotDisturb":return"do-not-disturb";case"Offline":return"offline";case"PresenceUnknown":return"unknown";case"OutOfOffice":return"out-of-office";case"Blocked":return"blocked";case"BeRightBack":return"away";case"BusyIdle":return"busy";case"AvailableIdle":return"available";default:return b==null?void 0:b.toLowerCase()}},i=m.useRef(new Wa(t,e.showPresence)),[n,s]=m.useState(!e.user),[l,u]=m.useState(e.user),a=async()=>{const b=await i.current.getUser(r);u({...e.user,...b}),s(!1)};if(m.useEffect(()=>{e.user||a()},[r]),n)return P.jsx(jr,{});const c=(l==null?void 0:l.displayName)||e.name||e.title||e.id;return P.jsx(vd,{primaryText:c,secondaryText:l==null?void 0:l.jobTitle,avatar:{image:{src:l==null?void 0:l.photo},initials:((d=l==null?void 0:l.displayName)==null?void 0:d.split(" ").map(b=>b[0]).join(""))||((g=e.name)==null?void 0:g.split(" ").map(b=>b[0]).join(""))},presence:e.showPresence?{status:o((f=l==null?void 0:l.presence)==null?void 0:f.availability),outOfOffice:(v=(h=l==null?void 0:l.presence)==null?void 0:h.outOfOfficeSettings)==null?void 0:v.isOutOfOffice}:void 0,...e})}function GB(e){const{graphClient:r}=Ve();return P.jsx(Bn,{...e,graphClient:r})}function qt(e){const[r,t]=m.useState(e.value||[]),[o,i]=m.useState(!1),[n,s]=m.useState(""),[l,u]=m.useState(e.value||[]),a=c=>Mn.debounce(`entityPicker-${e.additionalKey}`,async()=>{i(!0);try{const d=await e.onDataRequested(c);t([...d,...l].reduce((g,f)=>g.find(v=>v.id===f.id)?g:g.concat([f]),[])),i(!1)}catch(d){console.error(d),i(!1)}},500);return m.useEffect(()=>{a(n)},[n,e.additionalKey]),e.renderOverride?P.jsx(P.Fragment,{children:e.renderOverride(r,o,a)}):P.jsxs(ba,{label:e.label,hint:e.description,children:[P.jsx(gd,{value:n,multiselect:e.multiSelect,freeform:!0,onChange:c=>{s(c.target.value)},size:e.size,disabled:e.disabled,onOptionSelect:(c,d)=>{let g=[];const f=r.find(h=>h.id===d.optionValue);l.some(h=>h.id===d.optionValue)?g=l.filter(h=>h.id!==d.optionValue):e.multiSelect?g=[...l,f]:g=[f],g=g.filter(h=>!!h),e.onEntitySelected&&e.onEntitySelected(g),u(g),s(g.map(h=>h.displayName).join(", "))},defaultSelectedOptions:l.map(c=>c.id),children:r.map(c=>P.jsx(hd,{text:c.displayName,value:c.id,children:e.onSuggestionRendering?e.onSuggestionRendering(c):c.displayName},encodeURIComponent(c.id)))}),o&&P.jsx(Nd,{})]})}function UB(e){const{graphClient:r}=Ve();return P.jsx(Ef,{...e,graphClient:r})}function Ef(e){const r=async()=>(await(await e.graphClient.get(`/teams/${e.teamId}/channels?$select=id,displayName`)).json()).value;m.useEffect(()=>{r()},[e.teamId]);const t=async o=>await r();return P.jsx(qt,{additionalKey:`team-${e.teamId}-channels`,...e,onDataRequested:t})}function KB(e){const{graphClient:r}=Ve();return P.jsx(Nf,{...e,graphClient:r,siteId:e.siteId})}function Nf(e){const r=async t=>{let o=e.siteId?`/sites/${e.siteId}/drives?$select=id,name`:"/me/drives?$select=id,name";return t&&(o+=`&$filter=startswith(name, '${t}')`),(await(await e.graphClient.get(o)).json()).value.map(s=>({id:s.id,displayName:s.name}))};return P.jsx(qt,{additionalKey:`drive-picker-${e.siteId}`,...e,onDataRequested:r})}function XB(e){const{graphClient:r}=Ve();return P.jsx(zf,{...e,graphClient:r})}function zf(e){const r=async t=>{let o="/teams?$select=id,displayName&$top=8";return t&&(o+=`&$filter=startswith(displayName, '${t}')`),(await(await e.graphClient.get(o)).json()).value};return P.jsx(qt,{additionalKey:"team-site-picker",...e,onDataRequested:r})}function ZB(e){const{graphClient:r}=Ve();return P.jsx(Rf,{...e,graphClient:r})}function Rf(e){const r=new vh(e.graphClient,!0,!0),t=async o=>(r.setQuery(o),await r.getData());return P.jsx(qt,{...e,additionalKey:"people-picker",onDataRequested:t,onSuggestionRendering:o=>(o.photo&&(o.photo=`data:image/png;base64,${o.photo.replace('"',"").replace('"',"")}`),P.jsx(Bn,{showPresence:!0,user:o,graphClient:e.graphClient}))})}function QB(e){const{graphClient:r}=Ve();return P.jsx(Df,{...e,graphClient:r})}function Df(e){const r=m.useRef(new Wn(e.graphClient,["site"],["id","displayName"])),t=async o=>(r.current.setQuery(o||"*"),await r.current.getData());return P.jsx(qt,{...e,onDataRequested:t})}function Ff(e){const[r,t]=m.useState(e.initialRender),[o,i]=m.useState(!0);return m.useEffect(()=>{e.permissionCheck().then(n=>{t(n)}).finally(()=>i(!1))},[]),o&&e.placeholder?P.jsx(P.Fragment,{children:e.placeholder}):r?P.jsx(P.Fragment,{children:e.children}):P.jsx(P.Fragment,{})}function YB(e){const{spClient:r,siteUrl:t}=Kn();return P.jsx(If,{...e,siteUrl:t,spClient:r})}function If(e){return P.jsx(Ff,{placeholder:e.placeholder,permissionCheck:async()=>{var r=`${e.siteUrl}/_api/web/EffectiveBasePermissions`,t=await e.spClient.get(r,{headers:{accept:"application/json"}}),o=await t.json(),i=[];for(var n in vr){var s=_h.hasPermission(o,vr[n]);s&&i.push(n)}return i.indexOf(e.role)>=0},children:e.children},`${e.role}-${e.siteUrl}`)}function Af(e){return P.jsx(Ff,{placeholder:e.placeholder,permissionCheck:async()=>{const r=`/me/transitiveMemberOf/${e.groupId}?$select=id`;return(await e.graphClient.get(r)).ok},children:e.children},e.groupId)}function JB(e){const{graphClient:r}=Ve();return P.jsx(Af,{...e,graphClient:r})}class jf{constructor(r,t,o){this.dataverseClient=r,this.dataverseEnv=t,this.tableName=o,this.dataFields=[],this.getFieldSuggestions=async(i,n)=>{if(i.type==="User"){let a=`${this.dataverseEnv}/api/data/v9.0/systemusers?`;if(n&&n.length>0){const g=new In;for(const f of n)f.type||(f.type="Text"),f.name=i.expandFields[0],g.withFieldQuery(f);a+=`$filter=${g.build()}&`}return a+=`$select=${i.expandFields.join(",")}`,(await(await this.dataverseClient.get(a,{headers:{prefer:"odata.include-annotations=*"}})).json()).value.map(g=>({id:g[i.relatedId],displayName:g[i.expandFields[0]]}))}let s=`${this.dataverseEnv}/api/data/v9.0/${this.tableName}?`;if(n&&n.length>0){const a=new In;for(const c of n)c.type||(c.type="Text"),a.withFieldQuery(c);s+=`$filter=${a.build()}&`}i.type==="Lookup"?s+=`$apply=groupby((${i.name}/${i.relatedId||i.name+"_id"},${i.name}/${i.expandFields[0]}))`:i.type==="User"?s+=`$apply=groupby((${i.name}/fullname))`:i.type=="DateTime"?s+=`$apply=aggregate(${i.name} with min as ${i.name})`:s+=`$apply=groupby((${i.name}))`;const u=await(await this.dataverseClient.get(s,{headers:{prefer:"odata.include-annotations=*"}})).json();if(i.type==="Lookup"||i.type==="User"){if(u.value.length===0)return[];let a="",c="";const d=u.value[0];for(const g in d)g.indexOf(i.relatedId)>=0&&(a=g),g.indexOf(i.expandFields[0])>=0&&(c=g);return u.value.map(g=>({id:g[a],displayName:g[c]}))}return u.value.map(a=>({id:a[i.name],displayName:a[`${i.name}@OData.Community.Display.V1.FormattedValue`]?a[`${i.name}@OData.Community.Display.V1.FormattedValue`]:a[i.name]}))},this.dataProvider=new kh(r,t,o),this.dataProvider.pageSize=5}mapToExpand(r){return r.expandFields?`${r.name}($select=${r.expandFields.join(",")})`:r.name}setFields(r){this.dataProvider.selectQuery=r.filter(t=>t.type!=="Lookup").map(t=>t.name).join(","),this.dataProvider.expandQuery=r.filter(t=>t.type==="Lookup"||t.type==="User").map(t=>this.mapToExpand(t)).join(","),this.dataFields=r}getData(r,t,o){if(r&&r.length>0){const i=new In;for(const s of r)s.type||(s.type="Text"),i.withFieldQuery(s);const n=i.build();this.dataProvider.setQuery(n)}else this.dataProvider.setQuery("");if(t){let i=t,n=this.dataFields.find(s=>s.name===i);n&&n.type==="Lookup"?i=`${n.name}/${n.expandFields[0]}`:n&&n.type==="User"&&(i=`${n.name}/fullname`),this.dataProvider.setOrder(i,o||"ASC")}return this.dataProvider.getData()}getNextPage(){return this.dataProvider.getNextPage()}isNextPageAvailable(){return this.dataProvider.isNextPageAvailable()}getPreviousPage(){return this.dataProvider.getPreviousPage()}isPreviousPageAvailable(){return this.dataProvider.isPreviousPageAvailable()}}class eC{isRendererApplicable(r){return r.type==="DateTime"}renderField(r,t,o){return P.jsx("span",{children:new Date(t==null?void 0:t.toString()).toLocaleDateString()})}}class tC{constructor(){this.renderers=[new eC]}registerRenderer(r){this.renderers.unshift(r)}isRendererApplicable(r){return!!this.renderers.find(t=>t.isRendererApplicable(r))}renderField(r,t,o){const i=this.renderers.find(n=>n.isRendererApplicable(r));return i?i.renderField(r,t,o):typeof t=="string"?P.jsx("div",{children:t}):P.jsx("div",{children:JSON.stringify(t)})}}const rC=Br({root:{display:"flex",justifyContent:"end"},button:{}});function oC(e){const[r,t]=m.useState(!1),o=rC();return P.jsxs("div",{className:o.root,children:[P.jsx(ut,{"aria-label":"Open filter pane",icon:P.jsx(a0,{}),onClick:()=>{t(!0)}}),P.jsxs(bf,{type:"overlay",separator:!0,open:r,onOpenChange:(i,{open:n})=>t(n),position:"end",children:[P.jsx(wf,{children:P.jsx(kf,{action:P.jsx(ut,{appearance:"subtle","aria-label":"Close",icon:P.jsx(h0,{}),onClick:()=>t(!1)}),children:"Filter"})}),P.jsx(yf,{children:e.filterFields.map(i=>P.jsx(ba,{label:i.label||i.name,children:e.renderFilter(i,e.onFilterSet,e.initialQueryFields)},i.name))})]})]})}const nC=Br({root:{position:"relative"},loadingWrapper:{position:"absolute",width:"100%",height:"min-content",paddingTop:Ie.spacingVerticalM,paddingBottom:Ie.spacingHorizontalM,backgroundColor:Ie.colorNeutralBackgroundAlpha,zIndex:9999},pagination:{display:"flex",width:"100%",justifyContent:"center",gap:Ie.spacingHorizontalL,marginTop:Ie.spacingVerticalM}});function Va(e){var f;const r=nC(),t=m.useMemo(()=>{const h=new tC;if(e.customRenderers)for(const v of e.customRenderers)h.registerRenderer(v);return h},[e.customRenderers]),o=m.useMemo(()=>e.fieldsToRender.map(h=>I_({columnId:h.name,renderHeaderCell:()=>P.jsx(kd,{weight:"semibold",children:h.label||h.name}),renderCell:v=>t.renderField(h,v[h.name],v),compare:(v,b)=>v[h.name]-b[h.name]})),[e.fieldsToRender]),[i,n]=m.useState({sortColumn:(f=e.fieldsToRender.find(h=>!h.disableSorting))==null?void 0:f.name,sortDirection:"ascending"}),s=(h,v)=>{n(v)},[l,u]=m.useState([]),[a,c]=m.useState(!0),[d,g]=m.useState([]);return m.useEffect(()=>{var v;c(!0),e.dataService.setFields(e.fieldsToRender);const h=[];e.systemFilter&&e.systemFilter.length>0&&h.push(...e.systemFilter),d&&d.length>0&&h.push(...d),e.dataService.getData(h,(v=i==null?void 0:i.sortColumn)==null?void 0:v.toString(),(i==null?void 0:i.sortDirection)=="ascending"?"ASC":"DESC").then(b=>u(b)).finally(()=>c(!1))},[e.systemFilter,i,d]),P.jsxs("div",{className:r.root,children:[a&&P.jsx("div",{className:r.loadingWrapper,children:P.jsx(jr,{size:"huge"})}),e.renderFilter&&P.jsx(oC,{filterFields:e.fieldsToRender,initialQueryFields:d,onFilterSet:(h,v)=>{const b=[...d.filter(p=>p.name!==h.name)];v&&v.length>0&&b.push(...v),g(b)},renderFilter:e.renderFilter}),P.jsxs(Xd,{items:l,columns:o,sortable:!0,sortState:i,onSortChange:s,children:[P.jsx(Zd,{children:P.jsx(Na,{children:({renderHeaderCell:h})=>P.jsx(Qd,{children:h()})})}),P.jsx(Kd,{children:({item:h,rowId:v})=>P.jsx(Na,{children:({renderCell:b})=>P.jsx(Gd,{children:b(h)})},v)})]}),P.jsxs("div",{className:r.pagination,children:[P.jsx(ut,{icon:P.jsx(d0,{}),disabled:!e.dataService.isPreviousPageAvailable(),onClick:()=>{e.dataService.getPreviousPage().then(h=>u(h)).finally(()=>c(!1))},"aria-label":"Previous page"}),P.jsx(ut,{icon:P.jsx(f0,{}),disabled:!e.dataService.isNextPageAvailable(),onClick:()=>{e.dataService.getNextPage().then(h=>u(h)).finally(()=>c(!1))},"aria-label":"Next page"})]})]})}class iC{constructor(r){this.graphClient=r}isRendererApplicable(r){return r.type==="User"}renderField(r,t,o){return P.jsx(Bn,{graphClient:this.graphClient,id:t.azureactivedirectoryobjectid})}}class aC{isRendererApplicable(r){return r.type==="Lookup"}renderField(r,t,o){let i=JSON.stringify(t);return r.expandFields&&r.expandFields[0]&&(i=t[r.expandFields[0]]),P.jsx("span",{children:i})}}function sC(e){const r=async t=>{const o=[];return e.additionalFilters&&o.push(...e.additionalFilters),t&&o.push({name:e.column.type==="Lookup"?`${e.column.name}/${e.column.expandFields[0]}`:e.column.name,type:e.column.type,value:t,comparer:"Contains"}),e.getFieldSuggestions(e.column,o)};return P.jsx(qt,{additionalKey:`${e.table}-${e.column.name}`,...e,onDataRequested:r})}function lC(e){const{dataverseClient:r,dataverseResource:t}=vs(),{graphClient:o}=Ve();return P.jsx(Of,{...e,dataverseClient:r,dataverseEnv:t,customRenderers:[new iC(o),...e.customRenderers]})}function Of(e){const r=m.useMemo(()=>{let o=[];return o.push(new aC),e.customRenderers&&o.push(...e.customRenderers),o},[e.customRenderers]),t=m.useMemo(()=>new jf(e.dataverseClient,e.dataverseEnv,e.tableName),[e.tableName]);return P.jsx(Va,{dataService:t,fieldsToRender:e.fieldsToRender,customRenderers:r,renderFilter:(o,i,n)=>P.jsx(sC,{additionalFilters:n,onEntitySelected:s=>{if(s){const l=s.map(u=>({name:o.type=="Lookup"||o.type=="User"?`${o.name}/${o.relatedId}`:o.name,type:o.type,label:o.label,value:u.id,comparer:"Eq"}));i({...o,name:o.type=="Lookup"||o.type=="User"?`${o.name}/${o.relatedId}`:o.name},l)}},table:e.tableName,column:o,getFieldSuggestions:t.getFieldSuggestions})})}class qf{constructor(r,t,o){this.spHttpClient=r,this.siteUrl=t,this.listId=o,this.getFieldSuggestions=async(i,n)=>{let s=`${this.siteUrl}/_api/web/lists('${this.listId}')/RenderListFilterData?FieldInternalName='${i.name}'`;if(n&&n.length>0){let f="";for(let h=0;h<n.length;h++){const v=n[h],b=h+1;f+=`&FilterField${b}=${v.name}&FilterValue${b}=${encodeURIComponent(v.value)}&FilterType${b}=${v.type||"Text"}`}s+=f}const l=await this.spHttpClient.post(s,{headers:{accept:"application/json"}}),u=new DOMParser,a=await l.text(),d=u.parseFromString(a==null?void 0:a.replace("SELECTED",""),"application/xml").getElementsByTagName("OPTION"),g=[];for(let f=0;f<d.length;f++){const h=d.item(f);g.push({id:h.getAttribute("Value"),displayName:h.innerHTML})}return g},this.dataProvider=new fh(r,t,o)}setFields(r){this.dataProvider.selectedFields=r.map(t=>t.name)}async getData(r,t,o){const i=new th;return r&&r.length>0&&(r.forEach(n=>i.withFieldQuery(n)),this.dataProvider.setQuery(i.build())),t&&this.dataProvider.setOrder(t,o),this.dataProvider.getData()}getNextPage(){return this.dataProvider.getNextPage()}isNextPageAvailable(){return this.dataProvider.isNextPageAvailable()}getPreviousPage(){return this.dataProvider.getPreviousPage()}isPreviousPageAvailable(){return this.dataProvider.isPreviousPageAvailable()}}function cC(e){const r=async t=>{const o=[];return e.additionalFilters&&o.push(...e.additionalFilters),t&&o.push({name:e.column.name,type:e.column.type,value:t,comparer:"Contains"}),e.getFieldSuggestions(e.column,o)};return P.jsx(qt,{additionalKey:`${e.listId}-${e.column.name}-${FB(e.additionalFilters?e.additionalFilters.map(t=>t.name+t.value).join(";"):"")}`,...e,onDataRequested:r})}class uC{isRendererApplicable(r){return r.type==="User"}renderField(r,t,o){if(t[0])return P.jsx("div",{children:t[0].title})}}function dC(e){const{spClient:r,siteUrl:t}=Kn();return P.jsx(Mf,{...e,siteUrl:t,spClient:r})}function Mf(e){const r=m.useMemo(()=>{let o=[];return o.push(new uC),e.customRenderers&&o.push(...e.customRenderers),o},[e.customRenderers]),t=m.useMemo(()=>new qf(e.spClient,e.siteUrl,e.listId),[e.listId,e.siteUrl]);return P.jsx(Va,{dataService:t,fieldsToRender:e.fieldsToRender,customRenderers:r,renderFilter:(o,i,n)=>P.jsx(cC,{additionalFilters:n,onEntitySelected:s=>{if(s){const l=s.map(u=>({name:o.name,type:o.type,label:o.label,value:u.id,comparer:"Eq"}));i({...o,name:o.name},l)}},listId:e.listId,column:o,getFieldSuggestions:t.getFieldSuggestions})})}Y.AbstractGraphEntityPicker=qt,Y.AuthenticationContext=Fn,Y.AuthenticationContextProvider=eh,Y.ChannelPicker=UB,Y.ChannelPickerStandalone=Ef,Y.DataverseContext=Xn,Y.DataverseContextProvider=zh,Y.DataverseTableDataGridService=jf,Y.DataverseTableGrid=lC,Y.DataverseTableGridStandalone=Of,Y.DrivePicker=KB,Y.DrivePickerStandalone=Nf,Y.GenericDataGrid=Va,Y.GraphContext=Gn,Y.GraphContextProvider=Eh,Y.GraphGroupMembershipTrimmedComponent=JB,Y.GraphGroupMembershipTrimmedComponentStandalone=Af,Y.GraphPersona=GB,Y.GraphPersonaStandalone=Bn,Y.M365CopilotSearch=qB,Y.M365Search=jB,Y.PeoplePicker=ZB,Y.PeoplePickerStandalone=Rf,Y.PersonaService=Wa,Y.SPContext=Un,Y.SPContextProvider=Nh,Y.SPListDataGrid=dC,Y.SPListDataGridService=qf,Y.SPListDataGridStandalone=Mf,Y.SPPermissionTrimmedComponent=YB,Y.SPPermissionTrimmedComponentStandalone=If,Y.SearchInputWithSuggestions=HB,Y.SitePicker=QB,Y.SitePickerStandalone=Df,Y.TeamPicker=XB,Y.TeamPickerStandalone=zf,Y.defaultSelectFields=qa,Y.useAuthentication=xo,Y.useDataverse=vs,Y.useGraph=Ve,Y.useSP=Kn,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});