mgwdev-m365-components 0.0.3 → 0.0.5

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.
Files changed (78) hide show
  1. package/{lib → dist}/App.d.ts +3 -3
  2. package/{lib → dist}/components/Test.d.ts +4 -4
  3. package/dist/components/common/ConditionalRenderComponent.d.ts +7 -0
  4. package/dist/components/common/GraphGroupMembershipTrimmedComponent.d.ts +10 -0
  5. package/{lib → dist}/components/common/GraphPersona.d.ts +12 -10
  6. package/dist/components/common/SPPermissionTrimmedComponent.d.ts +11 -0
  7. package/{lib → dist}/components/common/graphEntityPicker/AbstractGraphEntityPicker.d.ts +16 -16
  8. package/{lib → dist}/components/common/graphEntityPicker/ChannelPicker.d.ts +11 -11
  9. package/{lib → dist}/components/common/graphEntityPicker/DrivePicker.d.ts +11 -11
  10. package/{lib → dist}/components/common/graphEntityPicker/ListPicker.d.ts +11 -11
  11. package/{lib → dist}/components/common/graphEntityPicker/PeoplePicker.d.ts +8 -8
  12. package/{lib → dist}/components/common/graphEntityPicker/SitePicker.d.ts +8 -8
  13. package/{lib → dist}/components/common/graphEntityPicker/TeamPicker.d.ts +8 -8
  14. package/{lib → dist}/components/common/graphEntityPicker/index.d.ts +6 -6
  15. package/dist/components/common/index.d.ts +4 -0
  16. package/{lib → dist}/components/index.d.ts +2 -2
  17. package/{lib → dist}/components/search/DefaultDocumentCard.d.ts +7 -7
  18. package/{lib → dist}/components/search/M365Search.d.ts +18 -18
  19. package/{lib → dist}/components/search/SearchDefaults.d.ts +1 -1
  20. package/{lib → dist}/components/search/index.d.ts +2 -2
  21. package/{lib → dist}/context/AuthenticationContext.d.ts +11 -11
  22. package/{lib → dist}/context/DataverseContext.d.ts +13 -13
  23. package/{lib → dist}/context/GraphContext.d.ts +11 -11
  24. package/{lib → dist}/context/SPContext.d.ts +13 -13
  25. package/{lib → dist}/context/index.d.ts +4 -4
  26. package/{lib → dist}/index.d.ts +2 -2
  27. package/{lib → dist}/main.d.ts +1 -1
  28. package/{lib → dist}/model/IEntityWithIdAndDisplayName.d.ts +4 -4
  29. package/{lib → dist}/model/ISearchResult.d.ts +19 -19
  30. package/{lib → dist}/model/index.d.ts +1 -1
  31. package/{lib → dist}/model/infra/ICacheEntry.d.ts +4 -4
  32. package/dist/mwdev-m365-components.es.js +15417 -0
  33. package/dist/mwdev-m365-components.umd.js +145 -0
  34. package/{lib → dist}/services/PersonaService.d.ts +12 -12
  35. package/{lib → dist}/utils/FileUtils.d.ts +29 -29
  36. package/{lib → dist}/utils/StringUtils.d.ts +1 -1
  37. package/{lib → dist}/utils/ThumbnailUtils.d.ts +7 -7
  38. package/{lib → dist}/utils/index.d.ts +3 -3
  39. package/dist/vite.svg +1 -0
  40. package/package.json +70 -67
  41. package/lib/App.js +0 -212
  42. package/lib/components/Test.js +0 -37
  43. package/lib/components/common/GraphPersona.js +0 -125
  44. package/lib/components/common/graphEntityPicker/AbstractGraphEntityPicker.js +0 -117
  45. package/lib/components/common/graphEntityPicker/ChannelPicker.js +0 -83
  46. package/lib/components/common/graphEntityPicker/DrivePicker.js +0 -77
  47. package/lib/components/common/graphEntityPicker/ListPicker.js +0 -77
  48. package/lib/components/common/graphEntityPicker/PeoplePicker.js +0 -76
  49. package/lib/components/common/graphEntityPicker/SitePicker.js +0 -73
  50. package/lib/components/common/graphEntityPicker/TeamPicker.js +0 -77
  51. package/lib/components/common/graphEntityPicker/index.js +0 -6
  52. package/lib/components/common/index.d.ts +0 -2
  53. package/lib/components/common/index.js +0 -2
  54. package/lib/components/index.js +0 -2
  55. package/lib/components/provisioning/GetSiteTemplate.d.ts +0 -6
  56. package/lib/components/provisioning/GetSiteTemplate.js +0 -41
  57. package/lib/components/search/DefaultDocumentCard.js +0 -59
  58. package/lib/components/search/M365Search.js +0 -69
  59. package/lib/components/search/SearchDefaults.js +0 -17
  60. package/lib/components/search/index.js +0 -2
  61. package/lib/context/AuthenticationContext.js +0 -50
  62. package/lib/context/DataverseContext.js +0 -29
  63. package/lib/context/GraphContext.js +0 -26
  64. package/lib/context/SPContext.js +0 -30
  65. package/lib/context/index.js +0 -4
  66. package/lib/index.js +0 -2
  67. package/lib/main.js +0 -6
  68. package/lib/model/IEntityWithIdAndDisplayName.js +0 -1
  69. package/lib/model/ISearchResult.js +0 -1
  70. package/lib/model/index.js +0 -1
  71. package/lib/model/infra/ICacheEntry.js +0 -1
  72. package/lib/service-worker/sw.d.ts +0 -3
  73. package/lib/service-worker/sw.js +0 -20
  74. package/lib/services/PersonaService.js +0 -134
  75. package/lib/utils/FileUtils.js +0 -200
  76. package/lib/utils/StringUtils.js +0 -10
  77. package/lib/utils/ThumbnailUtils.js +0 -92
  78. package/lib/utils/index.js +0 -3
@@ -0,0 +1,145 @@
1
+ (function(X,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):(X=typeof globalThis<"u"?globalThis:X||self,gt(X["mwdev-m365-components"]={},X.React,X.ReactDOM))})(this,function(X,gt,oc){"use strict";function Qn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}function nc(e,t){for(var r=0;r<t.length;r++){const o=t[r];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 p=Qn(gt),ic=Qn(oc);function ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bo={exports:{}},cr={};/**
2
+ * @license React
3
+ * react-jsx-runtime.development.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Jn;function sc(){return Jn||(Jn=1,process.env.NODE_ENV!=="production"&&function(){var e=gt,t=Symbol.for("react.element"),r=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"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),h=Symbol.iterator,m="@@iterator";function k(g){if(g===null||typeof g!="object")return null;var z=h&&g[h]||g[m];return typeof z=="function"?z:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(g){{for(var z=arguments.length,j=new Array(z>1?z-1:0),W=1;W<z;W++)j[W-1]=arguments[W];P("error",g,j)}}function P(g,z,j){{var W=b.ReactDebugCurrentFrame,oe=W.getStackAddendum();oe!==""&&(z+="%s",j=j.concat([oe]));var ce=j.map(function(ee){return String(ee)});ce.unshift("Warning: "+z),Function.prototype.apply.call(console[g],console,ce)}}var x=!1,S=!1,w=!1,_=!1,F=!1,R;R=Symbol.for("react.module.reference");function V(g){return!!(typeof g=="string"||typeof g=="function"||g===o||g===n||F||g===i||g===a||g===c||_||g===d||x||S||w||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===f||g.$$typeof===s||g.$$typeof===l||g.$$typeof===u||g.$$typeof===R||g.getModuleId!==void 0))}function G(g,z,j){var W=g.displayName;if(W)return W;var oe=z.displayName||z.name||"";return oe!==""?j+"("+oe+")":j}function O(g){return g.displayName||"Context"}function B(g){if(g==null)return null;if(typeof g.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case o:return"Fragment";case r:return"Portal";case n:return"Profiler";case i:return"StrictMode";case a:return"Suspense";case c:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case l:var z=g;return O(z)+".Consumer";case s:var j=g;return O(j._context)+".Provider";case u:return G(g,g.render,"ForwardRef");case f:var W=g.displayName||null;return W!==null?W:B(g.type)||"Memo";case v:{var oe=g,ce=oe._payload,ee=oe._init;try{return B(ee(ce))}catch{return null}}}return null}var L=Object.assign,Y=0,te,ne,ae,de,Le,N,I;function q(){}q.__reactDisabledLog=!0;function re(){{if(Y===0){te=console.log,ne=console.info,ae=console.warn,de=console.error,Le=console.group,N=console.groupCollapsed,I=console.groupEnd;var g={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}Y++}}function he(){{if(Y--,Y===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},g,{value:te}),info:L({},g,{value:ne}),warn:L({},g,{value:ae}),error:L({},g,{value:de}),group:L({},g,{value:Le}),groupCollapsed:L({},g,{value:N}),groupEnd:L({},g,{value:I})})}Y<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=b.ReactCurrentDispatcher,Ce;function ve(g,z,j){{if(Ce===void 0)try{throw Error()}catch(oe){var W=oe.stack.trim().match(/\n( *(at )?)/);Ce=W&&W[1]||""}return`
10
+ `+Ce+g}}var ge=!1,Q;{var T=typeof WeakMap=="function"?WeakMap:Map;Q=new T}function ie(g,z){if(!g||ge)return"";{var j=Q.get(g);if(j!==void 0)return j}var W;ge=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ce;ce=Se.current,Se.current=null,re();try{if(z){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(vt){W=vt}Reflect.construct(g,[],ee)}else{try{ee.call()}catch(vt){W=vt}g.call(ee.prototype)}}else{try{throw Error()}catch(vt){W=vt}g()}}catch(vt){if(vt&&W&&typeof vt.stack=="string"){for(var Z=vt.stack.split(`
11
+ `),De=W.stack.split(`
12
+ `),be=Z.length-1,we=De.length-1;be>=1&&we>=0&&Z[be]!==De[we];)we--;for(;be>=1&&we>=0;be--,we--)if(Z[be]!==De[we]){if(be!==1||we!==1)do if(be--,we--,we<0||Z[be]!==De[we]){var Ke=`
13
+ `+Z[be].replace(" at new "," at ");return g.displayName&&Ke.includes("<anonymous>")&&(Ke=Ke.replace("<anonymous>",g.displayName)),typeof g=="function"&&Q.set(g,Ke),Ke}while(be>=1&&we>=0);break}}}finally{ge=!1,Se.current=ce,he(),Error.prepareStackTrace=oe}var lr=g?g.displayName||g.name:"",rc=lr?ve(lr):"";return typeof g=="function"&&Q.set(g,rc),rc}function _e(g,z,j){return ie(g,!1)}function Ne(g){var z=g.prototype;return!!(z&&z.isReactComponent)}function He(g,z,j){if(g==null)return"";if(typeof g=="function")return ie(g,Ne(g));if(typeof g=="string")return ve(g);switch(g){case a:return ve("Suspense");case c:return ve("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case u:return _e(g.render);case f:return He(g.type,z,j);case v:{var W=g,oe=W._payload,ce=W._init;try{return He(ce(oe),z,j)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Bt={},ir=b.ReactDebugCurrentFrame;function ar(g){if(g){var z=g._owner,j=He(g.type,g._source,z?z.type:null);ir.setExtraStackFrame(j)}else ir.setExtraStackFrame(null)}function Wn(g,z,j,W,oe){{var ce=Function.call.bind(Xe);for(var ee in g)if(ce(g,ee)){var Z=void 0;try{if(typeof g[ee]!="function"){var De=Error((W||"React class")+": "+j+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw De.name="Invariant Violation",De}Z=g[ee](z,ee,W,j,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){Z=be}Z&&!(Z instanceof Error)&&(ar(oe),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).",W||"React class",j,ee,typeof Z),ar(null)),Z instanceof Error&&!(Z.message in Bt)&&(Bt[Z.message]=!0,ar(oe),y("Failed %s type: %s",j,Z.message),ar(null))}}}var Un=Array.isArray;function Rr(g){return Un(g)}function Gn(g){{var z=typeof Symbol=="function"&&Symbol.toStringTag,j=z&&g[Symbol.toStringTag]||g.constructor.name||"Object";return j}}function Xn(g){try{return yo(g),!1}catch{return!0}}function yo(g){return""+g}function wo(g){if(Xn(g))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Gn(g)),yo(g)}var Mt=b.ReactCurrentOwner,Kn={key:!0,ref:!0,__self:!0,__source:!0},ko,xo,E;E={};function D(g){if(Xe.call(g,"ref")){var z=Object.getOwnPropertyDescriptor(g,"ref").get;if(z&&z.isReactWarning)return!1}return g.ref!==void 0}function K(g){if(Xe.call(g,"key")){var z=Object.getOwnPropertyDescriptor(g,"key").get;if(z&&z.isReactWarning)return!1}return g.key!==void 0}function fe(g,z){if(typeof g.ref=="string"&&Mt.current&&z&&Mt.current.stateNode!==z){var j=B(Mt.current.type);E[j]||(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(Mt.current.type),g.ref),E[j]=!0)}}function Pe(g,z){{var j=function(){ko||(ko=!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)",z))};j.isReactWarning=!0,Object.defineProperty(g,"key",{get:j,configurable:!0})}}function ze(g,z){{var j=function(){xo||(xo=!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)",z))};j.isReactWarning=!0,Object.defineProperty(g,"ref",{get:j,configurable:!0})}}var Ee=function(g,z,j,W,oe,ce,ee){var Z={$$typeof:t,type:g,key:z,ref:j,props:ee,_owner:ce};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function it(g,z,j,W,oe){{var ce,ee={},Z=null,De=null;j!==void 0&&(wo(j),Z=""+j),K(z)&&(wo(z.key),Z=""+z.key),D(z)&&(De=z.ref,fe(z,oe));for(ce in z)Xe.call(z,ce)&&!Kn.hasOwnProperty(ce)&&(ee[ce]=z[ce]);if(g&&g.defaultProps){var be=g.defaultProps;for(ce in be)ee[ce]===void 0&&(ee[ce]=be[ce])}if(Z||De){var we=typeof g=="function"?g.displayName||g.name||"Unknown":g;Z&&Pe(ee,we),De&&ze(ee,we)}return Ee(g,Z,De,oe,W,Mt.current,ee)}}var Te=b.ReactCurrentOwner,Zl=b.ReactDebugCurrentFrame;function sr(g){if(g){var z=g._owner,j=He(g.type,g._source,z?z.type:null);Zl.setExtraStackFrame(j)}else Zl.setExtraStackFrame(null)}var Zn;Zn=!1;function Yn(g){return typeof g=="object"&&g!==null&&g.$$typeof===t}function Yl(){{if(Te.current){var g=B(Te.current.type);if(g)return`
14
+
15
+ Check the render method of \``+g+"`."}return""}}function F1(g){{if(g!==void 0){var z=g.fileName.replace(/^.*[\\\/]/,""),j=g.lineNumber;return`
16
+
17
+ Check your code at `+z+":"+j+"."}return""}}var Ql={};function q1(g){{var z=Yl();if(!z){var j=typeof g=="string"?g:g.displayName||g.name;j&&(z=`
18
+
19
+ Check the top-level render call using <`+j+">.")}return z}}function Jl(g,z){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var j=q1(z);if(Ql[j])return;Ql[j]=!0;var W="";g&&g._owner&&g._owner!==Te.current&&(W=" It was passed a child from "+B(g._owner.type)+"."),sr(g),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',j,W),sr(null)}}function ec(g,z){{if(typeof g!="object")return;if(Rr(g))for(var j=0;j<g.length;j++){var W=g[j];Yn(W)&&Jl(W,z)}else if(Yn(g))g._store&&(g._store.validated=!0);else if(g){var oe=k(g);if(typeof oe=="function"&&oe!==g.entries)for(var ce=oe.call(g),ee;!(ee=ce.next()).done;)Yn(ee.value)&&Jl(ee.value,z)}}}function A1(g){{var z=g.type;if(z==null||typeof z=="string")return;var j;if(typeof z=="function")j=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===u||z.$$typeof===f))j=z.propTypes;else return;if(j){var W=B(z);Wn(j,g.props,"prop",W,g)}else if(z.PropTypes!==void 0&&!Zn){Zn=!0;var oe=B(z);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function D1(g){{for(var z=Object.keys(g.props),j=0;j<z.length;j++){var W=z[j];if(W!=="children"&&W!=="key"){sr(g),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),sr(null);break}}g.ref!==null&&(sr(g),y("Invalid attribute `ref` supplied to `React.Fragment`."),sr(null))}}function tc(g,z,j,W,oe,ce){{var ee=V(g);if(!ee){var Z="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(Z+=" 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 De=F1(oe);De?Z+=De:Z+=Yl();var be;g===null?be="null":Rr(g)?be="array":g!==void 0&&g.$$typeof===t?(be="<"+(B(g.type)||"Unknown")+" />",Z=" Did you accidentally export a JSX literal instead of a component?"):be=typeof g,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",be,Z)}var we=it(g,z,j,oe,ce);if(we==null)return we;if(ee){var Ke=z.children;if(Ke!==void 0)if(W)if(Rr(Ke)){for(var lr=0;lr<Ke.length;lr++)ec(Ke[lr],g);Object.freeze&&Object.freeze(Ke)}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 ec(Ke,g)}return g===o?D1(we):A1(we),we}}function O1(g,z,j){return tc(g,z,j,!0)}function I1(g,z,j){return tc(g,z,j,!1)}var M1=I1,L1=O1;cr.Fragment=o,cr.jsx=M1,cr.jsxs=L1}()),cr}var ur={};/**
20
+ * @license React
21
+ * react-jsx-runtime.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */var ei;function lc(){if(ei)return ur;ei=1;var e=gt,t=Symbol.for("react.element"),r=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,f={},v=null,d=null;a!==void 0&&(v=""+a),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(d=u.ref);for(c in u)o.call(u,c)&&!n.hasOwnProperty(c)&&(f[c]=u[c]);if(l&&l.defaultProps)for(c in u=l.defaultProps,u)f[c]===void 0&&(f[c]=u[c]);return{$$typeof:t,type:l,key:v,ref:d,props:f,_owner:i.current}}return ur.Fragment=r,ur.jsx=s,ur.jsxs=s,ur}process.env.NODE_ENV==="production"?Bo.exports=lc():Bo.exports=sc();var M=Bo.exports;const cc=nc({__proto__:null,default:ac(M)},[M]),_o=p.createContext({authProvider:{getAccessToken:async()=>{throw new Error("No auth provider available")}}}),Fr=()=>p.useContext(_o),uc=e=>M.jsx(_o.Provider,{value:{authProvider:e.authProvider},children:e.children});var ti=function(){function e(){}return e.splitToMaxLength=function(t,r){for(var o=[],i=0;i<t.length;)o.push(t.slice(i,i+r)),i+=r;return o},e.getSubMap=function(t,r){var o=new Map;return r.forEach(function(i){return o.set(i,t.get(i))}),o},e}(),ri=function(){function e(){}return e.prototype.get=function(t){return JSON.parse(localStorage.getItem(t))},e.prototype.set=function(t,r){localStorage.setItem(t,JSON.stringify(r))},e.prototype.remove=function(t){localStorage.removeItem(t)},e}();function fc(e,t){for(var r=e,o=0;o<t.length;o++)r=r.replace("{".concat(o,"}"),t[o]);return r}function oi(e){var t=[],r=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=fc(e,u);return new Promise(function(f,v){var d=r.get(c);if(!d)d=s.apply(l,u).then(function(m){return f(m),t.length===0&&r.delete(c),m}).catch(function(m){v(m),t.length===0&&r.delete(c)}),r.set(c,d);else{var h=new Promise(function(m,k){d.then(function(b){f(b),m(b),t.splice(t.indexOf(h),1),t.length===0&&r.delete(c)}).catch(function(b){v(b),k(b)})});t.push(h)}})}}}var ni=function(){function e(){}return e.getTokenInfo=function(t){var r=atob(t.split(".")[1]);return JSON.parse(r)},e.isTokenValid=function(t){var r=e.getTokenInfo(t);return!(r.exp<new Date().getTime()/1e3)},e}(),Po=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},So=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},dc=function(){function e(){}return e.debounce=function(t,r,o){return o===void 0&&(o=100),Po(this,void 0,void 0,function(){var i=this;return So(this,function(n){return e.registeredTimeouts.has(t)&&window.clearTimeout(e.registeredTimeouts.get(t)),[2,new Promise(function(s,l){return Po(i,void 0,void 0,function(){var u,a=this;return So(this,function(c){return u=setTimeout(function(){return Po(a,void 0,void 0,function(){var f,v;return So(this,function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,r()];case 1:return f=d.sent(),e.registeredTimeouts.delete(t),s(f),[3,3];case 2:return v=d.sent(),e.registeredTimeouts.delete(t),l(v),[3,3];case 3:return[2]}})})},o),e.registeredTimeouts.set(t,u),[2]})})})]})})},e.registeredTimeouts=new Map,e}(),Lt=function(){return Lt=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Lt.apply(this,arguments)},ii=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},ai=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},si=function(){function e(t,r,o,i){i===void 0&&(i=0);var n=this;this.baseClient=t,this.registeredPromises=r,this.batch=o,this.retries=i,this.requestBatch=function(s,l){return l===void 0&&(l="beta"),ii(n,void 0,void 0,function(){var u,a,c;return ai(this,function(f){switch(f.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=f.sent(),a.ok?[4,a.json()]:[3,3];case 2:return c=f.sent(),[2,c];case 3:return[2]}})})}}return e.prototype.executeBatch=function(){return ii(this,void 0,void 0,function(){var t,r,o,i,n,s,l;return ai(this,function(u){switch(u.label){case 0:return t=this.batch.filter(function(a){return a.url.indexOf("v1.0/")<0}),r=this.batch.filter(function(a){return a.url.indexOf("v1.0/")>=0}),o=JSON.stringify({requests:t.map(function(a){return Lt(Lt({},a),{url:a.url.replace("beta/","")})})}),i=JSON.stringify({requests:r.map(function(a){return Lt(Lt({},a),{url:a.url.replace("v1.0/","")})})}),n=[],t.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 r.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(t){var r=this,o=[],i=new Map;this.registeredPromises.forEach(function(n,s){var l=t.filter(function(u){return u.id===s})[0];l&&l.status===429&&r.retries>0?(o.push({url:s,id:s,method:"GET"}),i.set(s,n)):r.handleSingleResponse(l,n)}),o.length>0?(this.registeredPromises=i,this.batch=o):(this.batch=[],this.registeredPromises.clear())},e.prototype.handleSingleResponse=function(t,r){t?r.forEach(function(o){o.resolve({json:function(){return Promise.resolve(t.body)},ok:t.status===200,status:t.status,text:function(){return Promise.resolve(JSON.stringify(t.body))},headers:t.headers})}):r.forEach(function(o){o.error({json:function(){return Promise.resolve(t)},ok:!1,text:function(){return Promise.resolve(JSON.stringify(t))}})})},e.maxRetries=5,e}(),Co=function(){return Co=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Co.apply(this,arguments)},hc=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},vc=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},gc=function(e,t,r){if(r||arguments.length===2)for(var o=0,i=t.length,n;o<i;o++)(n||!(o in t))&&(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},pc=function(){function e(t,r,o){r===void 0&&(r=500),o===void 0&&(o=15);var i=this;this.baseClient=t,this.batchWaitTime=r,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 hc(i,void 0,void 0,function(){var n,s,l,u,a,c,f,v;return vc(this,function(d){switch(d.label){case 0:n=gc([],this.batch,!0),this.batch=[],s=new Map(this.registeredPromises),this.registeredPromises.clear(),l=ti.splitToMaxLength(n,this.batchSplitThreshold),u=0,a=l,d.label=1;case 1:return u<a.length?(c=a[u],f=ti.getSubMap(s,c.map(function(h){return h.id})),v=new si(this.baseClient,f,c,si.maxRetries),[4,v.executeBatch()]):[3,4];case 2:d.sent(),d.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"),f=c.pathname+c.search;i.batch.filter(function(v){return v.id===a})[0]?i.registeredPromises.get(a).push(u):(i.batch.push({url:f,id:a,method:s,body:l&&l.body?JSON.parse(l.body):null,headers:Co({ConsistencyLevel:"eventual"},l?l.headers:{})}),i.registeredPromises.set(a,[u]))}}return e.prototype.get=function(t,r){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(t,"GET",r,{resolve:i,error:n})})},e.prototype.post=function(t,r){var o=this;return new Promise(function(i,n){o.createGetBatchRequest(t,"POST",r,{resolve:i,error:n})})},e.prototype.patch=function(t,r){return this.baseClient.patch(t,r)},e.prototype.put=function(t,r){return this.baseClient.put(t,r)},e.prototype.delete=function(t,r){return this.baseClient.delete(t,r)},e}(),Ht=function(){return Ht=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ht.apply(this,arguments)},_t=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},Pt=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},zo=function(){function e(t,r){this.authService=t,this.baseClient=r,this.resourceUri="https://graph.microsoft.com"}return e.prototype.get=function(t,r){return _t(this,void 0,void 0,function(){var o;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(r)];case 1:return o=i.sent(),[2,this.baseClient.get(t,o)]}})})},e.prototype.post=function(t,r){return _t(this,void 0,void 0,function(){var o;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(r)];case 1:return o=i.sent(),[2,this.baseClient.post(t,o)]}})})},e.prototype.patch=function(t,r){return _t(this,void 0,void 0,function(){var o;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(r)];case 1:return o=i.sent(),[2,this.baseClient.patch(t,o)]}})})},e.prototype.put=function(t,r){return _t(this,void 0,void 0,function(){var o;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest(r)];case 1:return o=i.sent(),[2,this.baseClient.put(t,o)]}})})},e.prototype.delete=function(t,r){return _t(this,void 0,void 0,function(){var o;return Pt(this,function(i){switch(i.label){case 0:return[4,this.prepareRequest({})];case 1:return o=i.sent(),[2,this.baseClient.delete(t,o)]}})})},e.prototype.prepareRequest=function(t){return _t(this,void 0,void 0,function(){var r,o,i,n;return Pt(this,function(s){switch(s.label){case 0:return r=[Ht({},t)],i={},o=[Ht({},t==null?void 0:t.headers)],n={},[4,this.getAuthHeader()];case 1:return[2,Ht.apply(void 0,r.concat([(i.headers=Ht.apply(void 0,o.concat([(n.Authorization=s.sent(),n)])),i)]))]}})})},e.prototype.getAuthHeader=function(){return _t(this,void 0,void 0,function(){var t;return Pt(this,function(r){switch(r.label){case 0:return[4,this.authService.getAccessToken(this.resourceUri)];case 1:return t=r.sent(),[2,"Bearer ".concat(t)]}})})},e}(),St=function(){return St=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},St.apply(this,arguments)},Vt=function(){function e(t){this.baseUrl=t}return e.prototype.buildUrl=function(t){return t.startsWith("http")||!this.baseUrl?t:this.baseUrl+t},e.prototype.get=function(t,r){return fetch(this.buildUrl(t),St({method:"GET"},r))},e.prototype.post=function(t,r){return fetch(this.buildUrl(t),St({method:"POST"},r))},e.prototype.patch=function(t,r){return fetch(this.buildUrl(t),St({method:"PATCH"},r))},e.prototype.put=function(t,r){return fetch(this.buildUrl(t),St({method:"PUT"},r))},e.prototype.delete=function(t,r){return fetch(this.buildUrl(t),St({method:"DELETE"},r))},e}(),mc=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())},li=function(e){for(var t="",r=0;r<e;r++){var o=Math.floor(Math.random()*26)+(Math.random()<.5?65:97);t+=String.fromCharCode(o)}return t},ci=function(){return ci=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ci.apply(this,arguments)},fr=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},dr=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},bc=function(){function e(t,r,o){o===void 0&&(o=!1),this.graphClient=t,this.resourceQuery=r,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 fr(this,void 0,void 0,function(){var t,r,o,i;return dr(this,function(n){switch(n.label){case 0:return this.skipCountCheck?[2,-1]:(t=this.getQuery(),r="".concat(this.resourceQuery,"/$count"),this.getQuery()&&(r+="?$filter=".concat(t)),[4,this.graphClient.get(r)]);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 fr(this,void 0,void 0,function(){var t,r,o;return dr(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.callGraphAPI(this.buildInitialQuery()),this.getAllItemsCount()])];case 1:return t=i.sent(),r=t[0],o=t[1],this.allItemsCount=o,[2,r]}})})},e.prototype.buildInitialQuery=function(){var t=this.getQuery(),r="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(r+="&$orderBy=".concat(this.orderQuery)),t&&(r+="&$filter=".concat(t)),r},e.prototype.callGraphAPI=function(t){return fr(this,void 0,void 0,function(){var r,o,i,n;return dr(this,function(s){switch(s.label){case 0:return[4,this.graphClient.get(t)];case 1:return r=s.sent(),r.ok?[4,r.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,r.text()];case 4:throw new(n.apply(Error,[void 0,s.sent()]))}})})},e.prototype.setQuery=function(t){this.filterQuery=t},e.prototype.getQuery=function(){return this.filterQuery},e.prototype.setOrder=function(t,r){this.orderQuery="".concat(t," ").concat(r.toLocaleLowerCase())},e.prototype.getNextPage=function(){return fr(this,void 0,void 0,function(){return dr(this,function(t){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 fr(this,void 0,void 0,function(){var t,r;return dr(this,function(o){switch(o.label){case 0:return this.isPreviousPageAvailable()?(t=this.previousPages[this.previousPageIndex],[4,this.callGraphAPI(t)]):[2,[]];case 1:return r=o.sent(),this.previousPageIndex--,[2,r]}})})},e.prototype.isPreviousPageAvailable=function(){return this.previousPageIndex>=0&&!!this.previousPages[this.previousPageIndex]},e.prototype.getCurrentPage=function(){return this.previousPageIndex+1},e}(),pt=function(){return pt=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},pt.apply(this,arguments)},qr=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},Ar=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},ui=function(){function e(t,r,o){r===void 0&&(r=["listItem"]),o===void 0&&(o=["id","title","url"]),this.graphClient=t,this.entityTypes=r,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(t){this.requestedRefiners=t||[]},e.prototype.applyRefiners=function(t){this.filters=t||void 0},e.prototype.buildSearchRequest=function(){var t,r={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:((t=this.filters)===null||t===void 0?void 0:t.map(function(o){return"".concat(o.field,":").concat(o.filterValue)}))||void 0,size:this.pageSize}]};return this.getQuery()?(r.requests[0].query={queryString:this.getQuery()},this.queryTemplate&&(r.requests[0].query.queryTemplate=this.queryTemplate)):(r.requests[0].query={queryString:"*"},this.queryTemplate&&(r.requests[0].query.queryTemplate=this.queryTemplate)),this.orderColumn&&(r.requests[0].sortProperties=[{name:this.orderColumn,isDescending:this.isDescending}]),this.selectFields&&this.selectFields.length>0&&(r.requests[0].fields=this.selectFields),r},e.prototype.callForData=function(){return qr(this,void 0,void 0,function(){var t,r,o,i;return Ar(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 t=n.sent(),t.ok?[4,t.json()]:[3,3];case 2:return r=n.sent(),o=r.value[0].hitsContainers[0],this.allItemsCount=o.total,this.parseAggregations(o),this.allItemsCount>0?[2,o.hits.map(function(s){return pt(pt({},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,t.text()];case 4:throw new(i.apply(Error,[void 0,n.sent()]))}})})},e.prototype.getData=function(){return qr(this,void 0,void 0,function(){return Ar(this,function(t){return this.currentPage=0,[2,this.callForData()]})})},e.prototype.parseAggregations=function(t){try{this.currentAggregations=t.aggregations.map(function(r){return pt(pt({},r),{buckets:r.buckets.map(function(o){return pt(pt({},o),{value:o.value,count:o.count})})})})}catch{this.currentAggregations=[]}},e.prototype.setQuery=function(t){this.query=t},e.prototype.getQuery=function(){return this.query},e.prototype.setOrder=function(t,r){this.orderColumn=t,this.isDescending=r==="DESC"},e.prototype.getNextPage=function(){return qr(this,void 0,void 0,function(){return Ar(this,function(t){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 qr(this,void 0,void 0,function(){return Ar(this,function(t){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(t){return this.currentPage=t,this.callForData()},e}(),yc=function(){var e=function(t,r){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(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),To=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},No=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},wc=function(e){yc(t,e);function t(r,o,i){o===void 0&&(o=!0),i===void 0&&(i=!0);var n=e.call(this,r,"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 t.prototype.callGraphAPI=function(r){return To(this,void 0,void 0,function(){var o,i;return No(this,function(n){switch(n.label){case 0:return[4,e.prototype.callGraphAPI.call(this,r)];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]}})})},t.prototype.appendPresence=function(r){return To(this,void 0,void 0,function(){var o,i;return No(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("v1.0/users/".concat(r.id,"/presence"))];case 1:return o=n.sent(),o.ok?(i=r,[4,o.json()]):[3,3];case 2:i.presence=n.sent(),n.label=3;case 3:return[2]}})})},t.prototype.appendPhoto=function(r){return To(this,void 0,void 0,function(){var o,i;return No(this,function(n){switch(n.label){case 0:return[4,this.graphClient.get("/v1.0/users/".concat(r.id,"/photo/$value"))];case 1:return o=n.sent(),o.ok?(i=r,[4,o.text()]):[3,3];case 2:i.photo=n.sent(),n.label=3;case 3:return[2]}})})},t.prototype.buildInitialQuery=function(){var r=this.getQuery(),o="".concat(this.resourceQuery,"?$top=").concat(this.pageSize);return this.orderQuery&&(o+="&$orderBy=".concat(this.orderQuery)),r&&(o+="&$search=".concat(r)),this.personTypeClass&&(o+="&$filter=personType/class eq '".concat(this.personTypeClass,"'")),o},t}(bc),kc=function(e,t,r,o){var i=arguments.length,n=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(i<3?s(n):i>3?s(t,r,n):s(t,r))||n);return i>3&&n&&Object.defineProperty(t,r,n),n},hr=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},vr=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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(t,r){r===void 0&&(r=!0);var o=this;this.config=t,this.usePopup=r,this.resourceTokenMap=new Map,this.resourceScopeMap=new Map,this.cacheService=new ri,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=t.tenantId||"common",this.config.redirectUri=t.redirectUri||window.location.origin,this.getCodeVerifier(),this.state=li(108)}return e.prototype.getCodeVerifier=function(){this.cacheService.get("msal.codeVerifier")?this.codeVerifier=this.cacheService.get("msal.codeVerifier"):this.codeVerifier=li(43)},e.prototype.buildLoginUrl=function(t){var r=new URL("https://login.microsoftonline.com/".concat(this.config.tenantId||"common","/oauth2/v2.0/authorize"));return r.searchParams.append("client_id",this.config.clientId),r.searchParams.append("scope","".concat(t,"/.default openid profile offline_access")),r.searchParams.append("redirect_uri",this.config.redirectUri),r.searchParams.append("client-request-id",mc()),r.searchParams.append("response_mode","query"),r.searchParams.append("response_type","code"),r.searchParams.append("code_challenge",this.codeVerifier),r.searchParams.append("code_challenge_method","plain"),r.searchParams.append("prompt","select_account"),r.searchParams.append("client_info","1"),r.searchParams.append("nonce","8a9afd0b-47f6-4678-9289-1b1bf5bfa20f"),r.searchParams.append("state",this.state),r.toString()},e.prototype.loginUser=function(t){return hr(this,void 0,void 0,function(){var r,o,i,n,s,l,u,a=this;return vr(this,function(c){switch(c.label){case 0:return r=this.buildLoginUrl(t),o="",this.usePopup?(i=window.open(r,"login","width=600,height=600"),i?[4,new Promise(function(f,v){return a.getCodeFromLoginWindow(i,function(d){o=d,f()})})]:[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=r,c.label=4;case 4:return[2,o]}})})},e.prototype.getAccessTokenFromCode=function(t,r){return hr(this,void 0,void 0,function(){var o,i,n,s,l;return vr(this,function(u){switch(u.label){case 0:return[4,fetch("https://login.microsoftonline.com/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(t,"/.default openid profile offline_access"),redirect_uri:this.config.redirectUri,grant_type:"authorization_code",code:r,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(t,r){return hr(this,void 0,void 0,function(){var o,i,n,s;return vr(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(t,"/.default openid profile offline_access"),grant_type:"refresh_token",refresh_token:r})})];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(t,".authResult")),this.resourceTokenMap.has(t)&&this.resourceTokenMap.delete(t)),[2,this.getAuthResult(t)];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(t){return hr(this,void 0,void 0,function(){var r,o;return vr(this,function(i){switch(i.label){case 0:if(r=this.cacheService.get("msal.".concat(this.config.clientId,".").concat(t,".authResult")),!r)return[3,2];try{if(ni.isTokenValid(r.access_token))return[2,r]}catch{console.log("Unable to verify token validity")}return r.refresh_token?[4,this.getAccessTokenFromRefreshToken(t,r.refresh_token)]:[3,2];case 1:return r=i.sent(),this.resourceTokenMap.set(t,r.access_token),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(t,".authResult"),r),[2,r];case 2:return[4,this.loginUser(t)];case 3:return o=i.sent(),[4,this.getAccessTokenFromCode(t,o)];case 4:return r=i.sent(),this.cacheService.set("msal.".concat(this.config.clientId,".").concat(t,".authResult"),r),this.resourceTokenMap.set(t,r.access_token),[2,r]}})})},e.prototype.getAccessToken=function(t){return hr(this,void 0,void 0,function(){var r,o;return vr(this,function(i){switch(i.label){case 0:return r=this.resourceTokenMap.get(t),r&&ni.isTokenValid(r)?[2,r]:[4,this.getAuthResult(t)];case 1:return o=i.sent(),[2,o.access_token]}})})},kc([oi("msal-access-token-{0}")],e.prototype,"getAccessToken",null),e})();var xc=function(e,t,r,o){function i(n){return n instanceof r?n:new r(function(s){s(n)})}return new(r||(r=Promise))(function(n,s){function l(c){try{a(o.next(c))}catch(f){s(f)}}function u(c){try{a(o.throw(c))}catch(f){s(f)}}function a(c){c.done?n(c.value):i(c.value).then(l,u)}a((o=o.apply(e,t||[])).next())})},Bc=function(e,t){var r={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(;r;)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 r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}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}}},Dr={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},_c=function(){function e(t,r){this.spHttpClient=t,this.siteUrl=r}return e.hasPermission=function(t,r){if(r===65)return(t.High&32767)===32767&&t.Low===65535;var o=r-1,i=1;return o>0&&o<32?(i=i<<o,(t.Low&i)!==0):o>=32&&o<64?(i=i<<o-32,(t.High&i)!==0):!1},e.prototype.checkUserPermissions=function(t){return xc(this,void 0,void 0,function(){var r,o,i,n,s,l;return Bc(this,function(u){switch(u.label){case 0:return r="".concat(this.siteUrl,"/_api/web/getUserEffectivePermissions('").concat(encodeURIComponent("i:0#.f|membership|"+t),"')"),[4,this.spHttpClient.get(r,{headers:{accept:"application/json"}})];case 1:return o=u.sent(),[4,o.json()];case 2:i=u.sent(),n=[];for(s in Dr)l=e.hasPermission(i,Dr[s]),l&&n.push(s);return[2,n]}})})},e}();const Eo=p.createContext({graphClient:new Vt}),Je=()=>p.useContext(Eo),Pc=e=>{const{authProvider:t}=Fr(),r=()=>{if(e.graphClient)return e.graphClient;if(t)return new pc(new zo(t,new Vt))},[o,i]=p.useState(r());return p.useEffect(()=>{i(r())},[e.graphClient,t]),o&&M.jsx(Eo.Provider,{value:{graphClient:o},children:e.children})},jo=p.createContext({spClient:new Vt,siteUrl:""}),fi=()=>p.useContext(jo),Sc=e=>{const{authProvider:t}=Fr(),r=()=>{if(e.spClient)return e.spClient;if(t){let n=new zo(t,new Vt);return n.resourceUri=new URL(e.siteUrl).origin,n}},[o,i]=p.useState(r());return p.useEffect(()=>{i(r())},[e.spClient,t]),o&&M.jsx(jo.Provider,{value:{spClient:o,siteUrl:e.siteUrl},children:e.children})},Ro=p.createContext({dataverseClient:new Vt}),Cc=()=>p.useContext(Ro),zc=e=>{const{authProvider:t}=Fr(),r=()=>{if(e.dataverseClient)return e.dataverseClient;if(t){let n=new zo(t,new Vt);return n.resourceUri=e.dataverseResource,n}},[o,i]=p.useState(r());return p.useEffect(()=>{i(r())},[e.dataverseClient,t]),o&&M.jsx(Ro.Provider,{value:{dataverseClient:o,dataverseResource:e.dataverseResource},children:e.children})},Tc=["Top","Right","Bottom","Left"];function gr(e,t,...r){const[o,i=o,n=o,s=i]=r,l=[o,i,n,s],u={};for(let a=0;a<l.length;a+=1)if(l[a]||l[a]===0){const c=e+Tc[a]+t;u[c]=l[a]}return u}function Fo(...e){return gr("border","Width",...e)}function qo(...e){return gr("border","Style",...e)}function Ao(...e){return gr("border","Color",...e)}const Nc=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function pr(e){return Nc.includes(e)}function Ec(...e){return pr(e[0])?{...qo(e[0]),...e[1]&&Fo(e[1]),...e[2]&&Ao(e[2])}:{...Fo(e[0]),...e[1]&&qo(e[1]),...e[2]&&Ao(e[2])}}function jc(...e){return pr(e[0])?{borderLeftStyle:e[0],...e[1]&&{borderLeftWidth:e[1]},...e[2]&&{borderLeftColor:e[2]}}:{borderLeftWidth:e[0],...e[1]&&{borderLeftStyle:e[1]},...e[2]&&{borderLeftColor:e[2]}}}function Rc(...e){return pr(e[0])?{borderBottomStyle:e[0],...e[1]&&{borderBottomWidth:e[1]},...e[2]&&{borderBottomColor:e[2]}}:{borderBottomWidth:e[0],...e[1]&&{borderBottomStyle:e[1]},...e[2]&&{borderBottomColor:e[2]}}}function Fc(...e){return pr(e[0])?{borderRightStyle:e[0],...e[1]&&{borderRightWidth:e[1]},...e[2]&&{borderRightColor:e[2]}}:{borderRightWidth:e[0],...e[1]&&{borderRightStyle:e[1]},...e[2]&&{borderRightColor:e[2]}}}function qc(...e){return pr(e[0])?{borderTopStyle:e[0],...e[1]&&{borderTopWidth:e[1]},...e[2]&&{borderTopColor:e[2]}}:{borderTopWidth:e[0],...e[1]&&{borderTopStyle:e[1]},...e[2]&&{borderTopColor:e[2]}}}function Ac(e,t=e,r=e,o=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:o,borderTopRightRadius:t,borderTopLeftRadius:e}}const Dc=e=>typeof e=="string"&&/(\d+(\w+|%))/.test(e),Or=e=>typeof e=="number"&&!Number.isNaN(e),Oc=e=>e==="initial",di=e=>e==="auto",Ic=e=>e==="none",Mc=["content","fit-content","max-content","min-content"],Do=e=>Mc.some(t=>e===t)||Dc(e);function Lc(...e){const t=e.length===1,r=e.length===2,o=e.length===3;if(t){const[i]=e;if(Oc(i))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(di(i))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(Ic(i))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Or(i))return{flexGrow:i,flexShrink:1,flexBasis:0};if(Do(i))return{flexGrow:1,flexShrink:1,flexBasis:i}}if(r){const[i,n]=e;if(Or(n))return{flexGrow:i,flexShrink:n,flexBasis:0};if(Do(n))return{flexGrow:i,flexShrink:1,flexBasis:n}}if(o){const[i,n,s]=e;if(Or(i)&&Or(n)&&(di(s)||Do(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 Hc(e,t=e){return{columnGap:e,rowGap:t}}const Vc=/var\(.*\)/gi;function $c(e){return e===void 0||typeof e=="number"||typeof e=="string"&&!Vc.test(e)}const Wc=/^[a-zA-Z0-9\-_\\#;]+$/,Uc=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Oo(e){return e!==void 0&&typeof e=="string"&&Wc.test(e)&&!Uc.test(e)}function Gc(...e){if(e.some(n=>!$c(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.
28
+ `,"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 t=e[0]!==void 0?e[0]:"auto",r=e[1]!==void 0?e[1]:Oo(t)?t:"auto",o=e[2]!==void 0?e[2]:Oo(t)?t:"auto",i=e[3]!==void 0?e[3]:Oo(r)?r:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:o,gridColumnEnd:i}}function Xc(...e){return gr("margin","",...e)}function Kc(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}}function Zc(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}}function Yc(...e){return gr("padding","",...e)}function Qc(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}}function Jc(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}}function eu(e,t=e){return{overflowX:e,overflowY:t}}function tu(...e){const[t,r=t,o=t,i=r]=e;return{top:t,right:r,bottom:o,left:i}}function ru(e,t,r){return{outlineWidth:e,...t&&{outlineStyle:t},...r&&{outlineColor:r}}}function ou(...e){return iu(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:au(e).reduce((r,[o,i="0s",n="0s",s="ease"],l)=>(l===0?(r.transitionProperty=o,r.transitionDuration=i,r.transitionDelay=n,r.transitionTimingFunction=s):(r.transitionProperty+=`, ${o}`,r.transitionDuration+=`, ${i}`,r.transitionDelay+=`, ${n}`,r.transitionTimingFunction+=`, ${s}`),r),{})}const nu=["-moz-initial","inherit","initial","revert","unset"];function iu(e){return e.length===1&&nu.includes(e[0])}function au(e){return e.length===1&&Array.isArray(e[0])?e[0]:[e]}function su(e,...t){if(t.length===0)return cu(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[r,o,i]=t;return{textDecorationLine:e,...r&&{textDecorationStyle:r},...o&&{textDecorationColor:o},...i&&{textDecorationThickness:i}}}const lu=["dashed","dotted","double","solid","wavy"];function cu(e){return lu.includes(e)}const Io=typeof window>"u"?global:window,Mo="@griffel/";function hi(e,t){return Io[Symbol.for(Mo+e)]||(Io[Symbol.for(Mo+e)]=t),Io[Symbol.for(Mo+e)]}const vi=hi("DEBUG_RESET_CLASSES",{}),mr=hi("DEFINITION_LOOKUP_TABLE",{}),Ir="data-make-styles-bucket",Lo="f",uu="r",br=7,et="___",gi="_",pi=process.env.NODE_ENV==="production"?et.length+br:et.length+br+gi.length+br,fu=0,mi=1,du={all:1,animation:1,background:1,backgroundPosition:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderBottom:1,borderColor:1,borderImage:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1,borderLeft:1,borderRadius:1,borderRight:1,borderStyle:1,borderTop:1,borderWidth:1,caret:1,columns:1,columnRule:1,containIntrinsicSize:1,container:1,flex:1,flexFlow:1,font:1,gap:1,grid:1,gridArea:1,gridColumn:1,gridRow:1,gridTemplate:1,inset:1,insetBlock:1,insetInline:1,lineClamp:1,listStyle:1,margin:1,marginBlock:1,marginInline:1,mask:1,maskBorder:1,motion:1,offset:1,outline:1,overflow:1,overscrollBehavior:1,padding:1,paddingBlock:1,paddingInline:1,placeItems:1,placeContent:1,placeSelf:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginInline:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingInline:1,scrollSnapMargin:1,scrollTimeline:1,textDecoration:1,textEmphasis:1,transition:1};function Ct(e){for(var t=0,r,o=0,i=e.length;i>=4;++o,i-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ho(e){const t=e.length;if(t===br)return e;for(let r=t;r<br;r++)e+="0";return e}function bi(e,t,r=[]){return process.env.NODE_ENV==="production"?et+Ho(Ct(e+t)):et+Ho(Ct(e+t))+gi+Ho(Ct(r.join("")))}function yi(e,t){let r="";for(const o in e){const i=e[o];if(i){const n=Array.isArray(i);t==="rtl"?r+=(n?i[1]:i)+" ":r+=(n?i[0]:i)+" "}}return r.slice(0,-1)}function Mr(e,t){const r={};for(const o in e){const i=yi(e[o],t);if(i===""){r[o]="";continue}const n=bi(i,t),s=n+" "+i;mr[n]=[e[o],t],r[o]=s}return r}const Lr={};function A(){let e=null,t="",r="";const o=new Array(arguments.length);let i="";for(let c=0;c<arguments.length;c++){const f=arguments[c];if(typeof f=="string"&&f!==""){const v=f.indexOf(et);if(v===-1)process.env.NODE_ENV!=="production"&&f.split(" ").forEach(d=>{d.startsWith(uu)&&vi[d]&&(i?console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${f} & ${t}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
29
+ Source string: ${f}`):i=d)}),t+=f+" ";else{const d=f.substr(v,pi);v>0&&(t+=f.slice(0,v)),r+=d,o[c]=d}process.env.NODE_ENV!=="production"&&f.indexOf(et,v+1)!==-1&&console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${et}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${f}`)}}if(r==="")return t.slice(0,-1);const n=Lr[r];if(n!==void 0)return t+n;const s=[];for(let c=0;c<arguments.length;c++){const f=o[c];if(f){const v=mr[f];v?(s.push(v[fu]),process.env.NODE_ENV!=="production"&&e!==null&&e!==v[mi]&&console.error(`mergeClasses(): a passed string contains an identifier (${f}) that has different direction (dir="${v[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[c]}`),e=v[mi]):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[c]}`)}}const l=Object.assign.apply(Object,[{}].concat(s));let u=yi(l,e);const a=bi(u,e,o);return u=a+" "+u,Lr[r]=u,mr[a]=[l,e],t+u}const wi={},ki=new Set,$t={getChildrenSequences:e=>{const t=Object.keys(Lr).find(r=>Lr[r].startsWith(e));return t?t.split(et).filter(r=>r.length).map(r=>et+r):[]},addCSSRule:e=>{ki.add(e)},addSequenceDetails:(e,t)=>{Object.entries(e).forEach(([r,o])=>{wi[o.substring(0,pi)]={slotName:r,sourceURL:t}})},getCSSRules:()=>Array.from(ki),getSequenceDetails:e=>wi[e]};function xi(e,t){return Array.isArray(e)?t==="rtl"?e[1]:e[0]:e}function hu(e,t,r,o){const i=e[0],n=e[1];return Object.entries(i).map(([s,l])=>{const u=xi(l,n);let a;if(r&&t){const c=r.find(({className:f})=>f===u);!c&&t[0][s]?a=xi(t[0][s],t[1]):c&&t[0][s]?a=(o?o.filter(({debugClassNames:v})=>v.filter(({className:d})=>d===u).length>0).length>0:!1)?c.className:c.overriddenBy:(!c&&!t[0][s]||c&&!t[0][s])&&(a=void 0)}return{className:u,overriddenBy:a}})}function Bi(e,t){const r=mr[e];if(r===void 0)return;const o=t?mr[t.sequenceHash]:void 0,i=hu(r,o,t==null?void 0:t.debugClassNames,t==null?void 0:t.children),n={sequenceHash:e,direction:r[1],children:[],debugClassNames:i};return $t.getChildrenSequences(n.sequenceHash).reverse().forEach(l=>{const u=Bi(l,n);u&&n.children.push(u)}),n.children.length||(n.rules={},n.debugClassNames.forEach(({className:l})=>{const u=$t.getSequenceDetails(e);u&&(n.slot=u.slotName,n.sourceURL=u.sourceURL);const a=$t.getCSSRules().find(c=>c.includes(l));n.rules[l]=a})),n}function vu(e){const t=e.defaultView;if(!t||t.__GRIFFEL_DEVTOOLS__)return;const r={getInfo:o=>{const i=Array.from(o.classList).find(n=>n.startsWith(et));if(i!==void 0)return Bi(i)}};Object.defineProperty(t,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return r}})}const Wt=(()=>{var e;try{return!!(typeof window<"u"&&(!((e=window.sessionStorage)===null||e===void 0)&&e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function gu(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 pu(e,t,r){const o=[];if(r[Ir]=t,e)for(const n in r)e.setAttribute(n,r[n]);function i(n){return e!=null&&e.sheet?e.sheet.insertRule(n,e.sheet.cssRules.length):o.push(n)}return{elementAttributes:r,insertRule:i,element:e,bucketName:t,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(n=>n.cssText):o}}}const _i=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((e,t,r)=>(e[t]=r,e),{});function mu(e,t,r,o,i={}){const n=e==="m",s=n?e+i.m:e;if(!o.stylesheets[s]){const l=t&&t.createElement("style"),u=pu(l,e,{...o.styleElementAttributes,...n&&{media:i.m}});o.stylesheets[s]=u,t&&l&&t.head.insertBefore(l,bu(t,r,e,o,i))}return o.stylesheets[s]}function bu(e,t,r,o,i){const n=_i[r];let s=c=>n-_i[c.getAttribute(Ir)],l=e.head.querySelectorAll(`[${Ir}]`);if(r==="m"&&i){const c=e.head.querySelectorAll(`[${Ir}="${r}"]`);c.length&&(l=c,s=f=>o.compareMediaQueries(i.m,f.media))}const u=l.length;let a=u-1;for(;a>=0;){const c=l.item(a);if(s(c)>0)return c.nextSibling;a--}return u>0?l.item(0):t?t.nextSibling:null}const yu=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),wu=new RegExp(`:(${yu})`);function Pi(e,t){try{e.insertRule(t)}catch(r){process.env.NODE_ENV!=="production"&&!wu.test(t)&&console.error(`There was a problem inserting the following rule: "${t}"`,r)}}let ku=0;const xu=(e,t)=>e<t?-1:e>t?1:0;function Bu(e=typeof document>"u"?void 0:document,t={}){const{unstable_filterCSSRule:r,insertionPoint:o,styleElementAttributes:i,compareMediaQueries:n=xu}=t,s={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:n,id:`d${ku++}`,insertCSSRules(l){for(const u in l){const a=l[u];for(let c=0,f=a.length;c<f;c++){const[v,d]=gu(a[c]),h=mu(u,e,o||null,s,d);s.insertionCache[v]||(s.insertionCache[v]=u,process.env.NODE_ENV!=="production"&&Wt&&$t.addCSSRule(v),r?r(v)&&Pi(h,v):Pi(h,v))}}}};return e&&process.env.NODE_ENV!=="production"&&Wt&&vu(e),s}const Vo="<unknown>";function _u(e){return zu(e)||Eu(e)||Ru(e)}const Pu=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,Su=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,Cu=/\((\S*)\)/;function zu(e){const t=Pu.exec(e)||Su.exec(e);if(!t)return null;let r=t[2];const o=r&&r.indexOf("native")===0,i=r&&r.indexOf("eval")===0,n=Cu.exec(r);return i&&n!=null&&(r=n[1]),{loc:o?null:t[2],name:t[1]||Vo}}const Tu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,Nu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Eu(e){const t=Tu.exec(e);if(!t)return null;let r=t[3];const o=r&&r.indexOf(" > eval")>-1,i=Nu.exec(r);return o&&i!=null&&(r=i[1]),{loc:t[3],name:t[1]||Vo}}const ju=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Ru(e){const t=ju.exec(e);return t?{loc:t[3],name:t[1]||Vo}:null}function Si(){const e=String(new Error().stack).split(`
30
+ `),t=Fu(e);if(t===void 0)return;const r=_u(t);return r==null?void 0:r.loc}function Fu(e){for(let t=e.length-1;t>=0;--t)if(e[t].includes("at getSourceURLfromError"))return e[t+3]}const $o=()=>{const e={};return function(r,o){e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}};function Ci(e){return e.reduce(function(t,r){var o=r[0],i=r[1];return t[o]=i,t[i]=o,t},{})}function qu(e){return typeof e=="boolean"}function Au(e){return typeof e=="function"}function yr(e){return typeof e=="number"}function Du(e){return e===null||typeof e>"u"}function Ou(e){return e&&typeof e=="object"}function Iu(e){return typeof e=="string"}function Hr(e,t){return e.indexOf(t)!==-1}function Mu(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Vr(e,t,r,o){return t+Mu(r)+o}function Lu(e){var t=e.indexOf(".");if(t===-1)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(r)+"%"}return e}function zi(e){return e.replace(/ +/g," ").split(" ").map(function(t){return t.trim()}).filter(Boolean).reduce(function(t,r){var o=t.list,i=t.state,n=(r.match(/\(/g)||[]).length,s=(r.match(/\)/g)||[]).length;return i.parensDepth>0?o[o.length-1]=o[o.length-1]+" "+r:o.push(r),i.parensDepth+=n-s,{list:o,state:i}},{list:[],state:{parensDepth:0}}).list}function Ti(e){var t=zi(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],i=t[2],n=t[3];return[r,n,i,o].join(" ")}function Hu(e){return!qu(e)&&!Du(e)}function Vu(e){for(var t=[],r=0,o=0,i=!1;o<e.length;)!i&&e[o]===","?(t.push(e.substring(r,o).trim()),o++,r=o):e[o]==="("?(i=!0,o++):(e[o]===")"&&(i=!1),o++);return r!=o&&t.push(e.substring(r,o+1)),t}var C={padding:function(t){var r=t.value;return yr(r)?r:Ti(r)},textShadow:function(t){var r=t.value,o=Vu(r).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(t){var r=t.value;return Ti(r)},borderRadius:function(t){var r=t.value;if(yr(r))return r;if(Hr(r,"/")){var o=r.split("/"),i=o[0],n=o[1],s=C.borderRadius({value:i.trim()}),l=C.borderRadius({value:n.trim()});return s+" / "+l}var u=zi(r);switch(u.length){case 2:return u.reverse().join(" ");case 4:{var a=u[0],c=u[1],f=u[2],v=u[3];return[c,a,v,f].join(" ")}default:return r}},background:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,n=t.bgImgDirectionRegex,s=t.bgPosDirectionRegex;if(yr(r))return r;var l=r.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return r=r.replace(l,C.backgroundPosition({value:l,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:s})),C.backgroundImage({value:r,valuesToConvert:o,bgImgDirectionRegex:n})},backgroundImage:function(t){var r=t.value,o=t.valuesToConvert,i=t.bgImgDirectionRegex;return!Hr(r,"url(")&&!Hr(r,"linear-gradient(")?r:r.replace(i,function(n,s,l){return n.replace(l,o[l])})},backgroundPosition:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,n=t.bgPosDirectionRegex;return r.replace(i?/^((-|\d|\.)+%)/:null,function(s,l){return Lu(l)}).replace(n,function(s){return o[s]})},backgroundPositionX:function(t){var r=t.value,o=t.valuesToConvert,i=t.isRtl,n=t.bgPosDirectionRegex;return yr(r)?r:C.backgroundPosition({value:r,valuesToConvert:o,isRtl:i,bgPosDirectionRegex:n})},transition:function(t){var r=t.value,o=t.propertiesToConvert;return r.split(/,\s*/g).map(function(i){var n=i.split(" ");return n[0]=o[n[0]]||n[0],n.join(" ")}).join(", ")},transitionProperty:function(t){var r=t.value,o=t.propertiesToConvert;return r.split(/,\s*/g).map(function(i){return o[i]||i}).join(", ")},transform:function(t){var r=t.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 r.replace(s,Vr).replace(l,Vr).replace(u,Vr).replace(a,Vr)}};C.objectPosition=C.backgroundPosition,C.margin=C.padding,C.borderWidth=C.padding,C.boxShadow=C.textShadow,C.webkitBoxShadow=C.boxShadow,C.mozBoxShadow=C.boxShadow,C.WebkitBoxShadow=C.boxShadow,C.MozBoxShadow=C.boxShadow,C.borderStyle=C.borderColor,C.webkitTransform=C.transform,C.mozTransform=C.transform,C.WebkitTransform=C.transform,C.MozTransform=C.transform,C.transformOrigin=C.backgroundPosition,C.webkitTransformOrigin=C.transformOrigin,C.mozTransformOrigin=C.transformOrigin,C.WebkitTransformOrigin=C.transformOrigin,C.MozTransformOrigin=C.transformOrigin,C.webkitTransition=C.transition,C.mozTransition=C.transition,C.WebkitTransition=C.transition,C.MozTransition=C.transition,C.webkitTransitionProperty=C.transitionProperty,C.mozTransitionProperty=C.transitionProperty,C.WebkitTransitionProperty=C.transitionProperty,C.MozTransitionProperty=C.transitionProperty,C["text-shadow"]=C.textShadow,C["border-color"]=C.borderColor,C["border-radius"]=C.borderRadius,C["background-image"]=C.backgroundImage,C["background-position"]=C.backgroundPosition,C["background-position-x"]=C.backgroundPositionX,C["object-position"]=C.objectPosition,C["border-width"]=C.padding,C["box-shadow"]=C.textShadow,C["-webkit-box-shadow"]=C.textShadow,C["-moz-box-shadow"]=C.textShadow,C["border-style"]=C.borderColor,C["-webkit-transform"]=C.transform,C["-moz-transform"]=C.transform,C["transform-origin"]=C.transformOrigin,C["-webkit-transform-origin"]=C.transformOrigin,C["-moz-transform-origin"]=C.transformOrigin,C["-webkit-transition"]=C.transition,C["-moz-transition"]=C.transition,C["transition-property"]=C.transitionProperty,C["-webkit-transition-property"]=C.transitionProperty,C["-moz-transition-property"]=C.transitionProperty;var Ni=Ci([["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"]]),$u=["content"],Ei=Ci([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Wu=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Uu=new RegExp("(left)|(right)");function ji(e){return Object.keys(e).reduce(function(t,r){var o=e[r];if(Iu(o)&&(o=o.trim()),Hr($u,r))return t[r]=o,t;var i=Wo(r,o),n=i.key,s=i.value;return t[n]=s,t},Array.isArray(e)?[]:{})}function Wo(e,t){var r=/\/\*\s?@noflip\s?\*\//.test(t),o=r?e:Gu(e),i=r?t:Xu(o,t);return{key:o,value:i}}function Gu(e){return Ni[e]||e}function Xu(e,t){if(!Hu(t))return t;if(Ou(t))return ji(t);var r=yr(t),o=Au(t),i=r||o?t:t.replace(/ !important.*?$/,""),n=!r&&i.length!==t.length,s=C[e],l;return s?l=s({value:i,valuesToConvert:Ei,propertiesToConvert:Ni,isRtl:!0,bgImgDirectionRegex:Wu,bgPosDirectionRegex:Uu}):l=Ei[i]||i,n?l+" !important":l}const Ku=/[A-Z]/g,Zu=/^ms-/,Uo={};function Yu(e){return"-"+e.toLowerCase()}function wr(e){if(Object.prototype.hasOwnProperty.call(Uo,e))return Uo[e];if(e.substr(0,2)==="--")return e;const t=e.replace(Ku,Yu);return Uo[e]=Zu.test(t)?"-"+t:t}function Ri(e){return e.charAt(0)==="&"?e.slice(1):e}var kr="-moz-",Ze="-webkit-",Fi="comm",$r="rule",Go="decl",Qu="@media",Ju="@import",ef="@supports",tf="@keyframes",qi="@layer",rf=Math.abs,Wr=String.fromCharCode,of=Object.assign;function nf(e,t){return je(e,0)^45?(((t<<2^je(e,0))<<2^je(e,1))<<2^je(e,2))<<2^je(e,3):0}function Ai(e){return e.trim()}function Di(e,t){return(e=t.exec(e))?e[0]:e}function Oe(e,t,r){return e.replace(t,r)}function Oi(e,t){return e.indexOf(t)}function je(e,t){return e.charCodeAt(t)|0}function xr(e,t,r){return e.slice(t,r)}function tt(e){return e.length}function Ii(e){return e.length}function zt(e,t){return t.push(e),e}function af(e,t){return e.map(t).join("")}var Ur=1,Ut=1,Mi=0,Ve=0,pe=0,Gt="";function Gr(e,t,r,o,i,n,s,l){return{value:e,root:t,parent:r,type:o,props:i,children:n,line:Ur,column:Ut,length:s,return:"",siblings:l}}function Xo(e,t){return of(Gr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function sf(){return pe}function lf(){return pe=Ve>0?je(Gt,--Ve):0,Ut--,pe===10&&(Ut=1,Ur--),pe}function We(){return pe=Ve<Mi?je(Gt,Ve++):0,Ut++,pe===10&&(Ut=1,Ur++),pe}function Tt(){return je(Gt,Ve)}function Xr(){return Ve}function Kr(e,t){return xr(Gt,e,t)}function Zr(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 Li(e){return Ur=Ut=1,Mi=tt(Gt=e),Ve=0,[]}function Hi(e){return Gt="",e}function Yr(e){return Ai(Kr(Ve-1,Ko(e===91?e+2:e===40?e+1:e)))}function cf(e){return Hi(ff(Li(e)))}function uf(e){for(;(pe=Tt())&&pe<33;)We();return Zr(e)>2||Zr(pe)>3?"":" "}function ff(e){for(;We();)switch(Zr(pe)){case 0:zt(Vi(Ve-1),e);break;case 2:zt(Yr(pe),e);break;default:zt(Wr(pe),e)}return e}function df(e,t){for(;--t&&We()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return Kr(e,Xr()+(t<6&&Tt()==32&&We()==32))}function Ko(e){for(;We();)switch(pe){case e:return Ve;case 34:case 39:e!==34&&e!==39&&Ko(pe);break;case 40:e===41&&Ko(e);break;case 92:We();break}return Ve}function hf(e,t){for(;We()&&e+pe!==57;)if(e+pe===84&&Tt()===47)break;return"/*"+Kr(t,Ve-1)+"*"+Wr(e===47?e:We())}function Vi(e){for(;!Zr(Tt());)We();return Kr(e,Ve)}function $i(e){return Hi(Qr("",null,null,null,[""],e=Li(e),0,[0],e))}function Qr(e,t,r,o,i,n,s,l,u){for(var a=0,c=0,f=s,v=0,d=0,h=0,m=1,k=1,b=1,y=0,P="",x=i,S=n,w=o,_=P;k;)switch(h=y,y=We()){case 40:if(h!=108&&je(_,f-1)==58){Oi(_+=Oe(Yr(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:_+=Yr(y);break;case 9:case 10:case 13:case 32:_+=uf(h);break;case 92:_+=df(Xr()-1,7);continue;case 47:switch(Tt()){case 42:case 47:zt(vf(hf(We(),Xr()),t,r,u),u);break;default:_+="/"}break;case 123*m:l[a++]=tt(_)*b;case 125*m:case 59:case 0:switch(y){case 0:case 125:k=0;case 59+c:b==-1&&(_=Oe(_,/\f/g,"")),d>0&&tt(_)-f&&zt(d>32?Ui(_+";",o,r,f-1,u):Ui(Oe(_," ","")+";",o,r,f-2,u),u);break;case 59:_+=";";default:if(zt(w=Wi(_,t,r,a,c,i,l,P,x=[],S=[],f,n),n),y===123)if(c===0)Qr(_,t,w,w,x,n,f,l,S);else switch(v===99&&je(_,3)===110?100:v){case 100:case 108:case 109:case 115:Qr(e,w,w,o&&zt(Wi(e,w,w,0,0,i,l,P,i,x=[],f,S),S),i,S,f,l,o?x:S);break;default:Qr(_,w,w,w,[""],S,0,l,S)}}a=c=d=0,m=b=1,P=_="",f=s;break;case 58:f=1+tt(_),d=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&lf()==125)continue}switch(_+=Wr(y),y*m){case 38:b=c>0?1:(_+="\f",-1);break;case 44:l[a++]=(tt(_)-1)*b,b=1;break;case 64:Tt()===45&&(_+=Yr(We())),v=Tt(),c=f=tt(P=_+=Vi(Xr())),y++;break;case 45:h===45&&tt(_)==2&&(m=0)}}return n}function Wi(e,t,r,o,i,n,s,l,u,a,c,f){for(var v=i-1,d=i===0?n:[""],h=Ii(d),m=0,k=0,b=0;m<o;++m)for(var y=0,P=xr(e,v+1,v=rf(k=s[m])),x=e;y<h;++y)(x=Ai(k>0?d[y]+" "+P:Oe(P,/&\f/g,d[y])))&&(u[b++]=x);return Gr(e,t,r,i===0?$r:l,u,a,c,f)}function vf(e,t,r,o){return Gr(e,t,r,Fi,Wr(sf()),xr(e,2,-2),0,o)}function Ui(e,t,r,o,i){return Gr(e,t,r,Go,xr(e,0,o),xr(e,o+1,-1),o,i)}function Xt(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function Gi(e,t,r,o){switch(e.type){case qi:if(e.children.length)break;case Ju:case Go:return e.return=e.return||e.value;case Fi:return"";case tf:return e.return=e.value+"{"+Xt(e.children,o)+"}";case $r:if(!tt(e.value=e.props.join(",")))return""}return tt(r=Xt(e.children,o))?e.return=e.value+"{"+r+"}":""}function Xi(e){var t=Ii(e);return function(r,o,i,n){for(var s="",l=0;l<t;l++)s+=e[l](r,o,i,n)||"";return s}}function Ki(e){return function(t){t.root||(t=t.return)&&e(t)}}const gf=e=>{switch(e.type){case $r: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(t=>t.indexOf(":global(")===-1?t:cf(t).reduce((r,o,i,n)=>{if(o==="")return r;if(o===":"&&n[i+1]==="global"){const s=n[i+2].slice(1,-1)+" ";return r.unshift(s),n[i+1]="",n[i+2]="",r}return r.push(o),r},[]).join(""))}};function Zi(e,t,r){switch(nf(e,t)){case 5103:return Ze+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Ze+e+e;case 4215:if(je(e,9)===102||je(e,t+1)===116)return Ze+e+e;break;case 4789:return kr+e+e;case 5349:case 4246:case 6968:return Ze+e+kr+e+e;case 6187:if(!Di(e,/grab/))return Oe(Oe(Oe(e,/(zoom-|grab)/,Ze+"$1"),/(image-set)/,Ze+"$1"),e,"")+e;case 5495:case 3959:return Oe(e,/(image-set\([^]*)/,Ze+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Oe(e,/(.+)-inline(.+)/,Ze+"$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(tt(e)-1-t>6)switch(je(e,t+1)){case 102:if(je(e,t+3)===108)return Oe(e,/(.+:)(.+)-([^]+)/,"$1"+Ze+"$2-$3$1"+kr+(je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oi(e,"stretch")?Zi(Oe(e,"stretch","fill-available"),t)+e:e}break}return e}function Yi(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case Go:e.return=Zi(e.value,e.length);return;case $r:if(e.length)return af(e.props,function(i){switch(Di(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xt([Xo(e,{props:[Oe(i,/:(read-\w+)/,":"+kr+"$1")]})],o);case"::placeholder":return Xt([Xo(e,{props:[Oe(i,/:(plac\w+)/,":"+Ze+"input-$1")]}),Xo(e,{props:[Oe(i,/:(plac\w+)/,":"+kr+"$1")]})],o)}return""})}}function pf(e){switch(e.type){case"@container":case Qu:case ef:case qi:return!0}return!1}const mf=e=>{pf(e)&&Array.isArray(e.children)&&e.children.sort((t,r)=>t.props[0]>r.props[0]?1:-1)};function bf(){}function yf(e,t){const r=[];return Xt($i(e),Xi([gf,t?mf:bf,Yi,Gi,Ki(o=>r.push(o))])),r}const wf=/,( *[^ &])/g;function kf(e){return"&"+Ri(e.replace(wf,",&$1"))}function Qi(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight((i,n)=>`${kf(n)} { ${i} }`,t)),`${e}{${o}}`}function Ji(e){const{className:t,media:r,layer:o,selectors:i,support:n,property:s,rtlClassName:l,rtlProperty:u,rtlValue:a,value:c,container:f}=e,v=`.${t}`,d=Array.isArray(c)?`${c.map(m=>`${wr(s)}: ${m}`).join(";")};`:`${wr(s)}: ${c};`;let h=Qi(v,d,i);if(u&&l){const m=`.${l}`,k=Array.isArray(a)?`${a.map(b=>`${wr(u)}: ${b}`).join(";")};`:`${wr(u)}: ${a};`;h+=Qi(m,k,i)}return r&&(h=`@media ${r} { ${h} }`),o&&(h=`@layer ${o} { ${h} }`),n&&(h=`@supports ${n} { ${h} }`),f&&(h=`@container ${f} { ${h} }`),yf(h,!0)}function xf(e){let t="";for(const r in e){const o=e[r];typeof o!="string"&&typeof o!="number"||(t+=wr(r)+":"+o+";")}return t}function ea(e){let t="";for(const r in e)t+=`${r}{${xf(e[r])}}`;return t}function ta(e,t){const r=`@keyframes ${e} {${t}}`,o=[];return Xt($i(r),Xi([Gi,Yi,Ki(i=>o.push(i))])),o}function ra(e,t){return e.length===0?t:`${e} and ${t}`}function Bf(e){return e.substr(0,6)==="@media"}function _f(e){return e.substr(0,6)==="@layer"}const Pf=/^(:|\[|>|&)/;function Sf(e){return Pf.test(e)}function Cf(e){return e.substr(0,9)==="@supports"}function zf(e){return e.substring(0,10)==="@container"}function Tf(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const oa={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function na(e,t,r,o,i){if(r)return"m";if(t||o)return"t";if(i)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return oa[n.slice(4,8)]||oa[n.slice(3,5)]||"d"}return"d"}function Jr({container:e,media:t,layer:r,property:o,selector:i,support:n,value:s}){const l=Ct(i+e+t+r+n+o+s.trim());return Lo+l}function ia(e,t,r,o,i){const n=e+t+r+o+i,s=Ct(n),l=s.charCodeAt(0);return l>=48&&l<=57?String.fromCharCode(l+17)+s.slice(1):s}function aa(e){return e.replace(/>\s+/g,">")}function sa(...e){process.env.NODE_ENV!=="production"&&typeof document<"u"&&console.error(...e)}function Nf(e,t){const r=JSON.stringify(t,null,2),o=["@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}": ${r.split(`
31
+ `).map((i,n)=>" ".repeat(n===0?0:6)+i).join(`
32
+ `)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];e.indexOf("&")===-1?(o.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."),o.push(`Try to update a property to include it i.e "${e}" => "&${e}".`)):(o.push(""),o.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues")),sa(o.join(`
33
+ `))}function Ef(e,t){sa([`@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}: "${t}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
34
+ `))}function la(e,t,r,o){e[t]=o?[r,o]:r}function ca(e,t){return t?[e,t]:e}function Zo(e,t,r,o,i){var n;let s;t==="m"&&i&&(s={m:i}),(n=e[t])!==null&&n!==void 0||(e[t]=[]),r&&e[t].push(ca(r,s)),o&&e[t].push(ca(o,s))}function Nt(e,t=[],r="",o="",i="",n="",s={},l={},u){for(const a in e){if(du.hasOwnProperty(a)){Ef(a,e[a]);continue}const c=e[a];if(c!=null){if(typeof c=="string"||typeof c=="number"){const f=aa(t.join("")),v=ia(f,n,r,i,a),d=Jr({container:n,media:r,layer:o,value:c.toString(),support:i,selector:f,property:a}),h=u&&{key:a,value:u}||Wo(a,c),m=h.key!==a||h.value!==c,k=m?Jr({container:n,value:h.value.toString(),property:h.key,selector:f,media:r,layer:o,support:i}):void 0,b=m?{rtlClassName:k,rtlProperty:h.key,rtlValue:h.value}:void 0,y=na(t,o,r,i,n),[P,x]=Ji({className:d,media:r,layer:o,selectors:t,property:a,support:i,container:n,value:c,...b});la(s,v,d,k),Zo(l,y,P,x,r)}else if(a==="animationName"){const f=Array.isArray(c)?c:[c],v=[],d=[];for(const h of f){const m=ea(h),k=ea(ji(h)),b=Lo+Ct(m);let y;const P=ta(b,m);let x=[];m===k?y=b:(y=Lo+Ct(k),x=ta(y,k));for(let S=0;S<P.length;S++)Zo(l,"k",P[S],x[S],r);v.push(b),d.push(y)}Nt({animationName:v.join(", ")},t,r,o,i,n,s,l,d.join(", "))}else if(Array.isArray(c)){if(c.length===0){process.env.NODE_ENV!=="production"&&console.warn(`makeStyles(): An empty array was passed as input to "${a}", the property will be omitted in the styles.`);continue}const f=aa(t.join("")),v=ia(f,n,r,i,a),d=Jr({container:n,media:r,layer:o,value:c.map(w=>(w??"").toString()).join(";"),support:i,selector:f,property:a}),h=c.map(w=>Wo(a,w));if(!!h.some(w=>w.key!==h[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 k=h[0].key!==a||h.some((w,_)=>w.value!==c[_]),b=k?Jr({container:n,value:h.map(w=>{var _;return((_=w==null?void 0:w.value)!==null&&_!==void 0?_:"").toString()}).join(";"),property:h[0].key,selector:f,layer:o,media:r,support:i}):void 0,y=k?{rtlClassName:b,rtlProperty:h[0].key,rtlValue:h.map(w=>w.value)}:void 0,P=na(t,o,r,i,n),[x,S]=Ji({className:d,media:r,layer:o,selectors:t,property:a,support:i,container:n,value:c,...y});la(s,v,d,b),Zo(l,P,x,S,r)}else if(Tf(c))if(Sf(a))Nt(c,t.concat(Ri(a)),r,o,i,n,s,l);else if(Bf(a)){const f=ra(r,a.slice(6).trim());Nt(c,t,f,o,i,n,s,l)}else if(_f(a)){const f=(o?`${o}.`:"")+a.slice(6).trim();Nt(c,t,r,f,i,n,s,l)}else if(Cf(a)){const f=ra(i,a.slice(9).trim());Nt(c,t,r,o,f,n,s,l)}else if(zf(a)){const f=a.slice(10).trim();Nt(c,t,r,o,i,f,s,l)}else Nf(a,c)}}return[s,l]}function jf(e){const t={},r={};for(const o in e){const i=e[o],[n,s]=Nt(i);t[o]=n,Object.keys(s).forEach(l=>{r[l]=(r[l]||[]).concat(s[l])})}return[t,r]}function Rf(e,t=$o){const r=t();let o=null,i=null,n=null,s=null,l;process.env.NODE_ENV!=="production"&&Wt&&(l=Si());function u(a){const{dir:c,renderer:f}=a;o===null&&([o,i]=jf(e));const v=c==="ltr";v?n===null&&(n=Mr(o,c)):s===null&&(s=Mr(o,c)),r(f,i);const d=v?n:s;return process.env.NODE_ENV!=="production"&&Wt&&$t.addSequenceDetails(d,l),d}return u}function Ff(e,t,r=$o){const o=r();let i=null,n=null,s;process.env.NODE_ENV!=="production"&&Wt&&(s=Si());function l(u){const{dir:a,renderer:c}=u,f=a==="ltr";f?i===null&&(i=Mr(e,a)):n===null&&(n=Mr(e,a)),o(c,t);const v=f?i:n;return process.env.NODE_ENV!=="production"&&Wt&&$t.addSequenceDetails(v,s),v}return l}function qf(e,t,r,o=$o){const i=o();function n(s){const{dir:l,renderer:u}=s,a=l==="ltr"?e:t||e;return i(u,Array.isArray(r)?{r}:r),process.env.NODE_ENV!=="production"&&(vi[a]=1),a}return n}const eo={border:Ec,borderLeft:jc,borderBottom:Rc,borderRight:Fc,borderTop:qc,borderColor:Ao,borderStyle:qo,borderRadius:Ac,borderWidth:Fo,flex:Lc,gap:Hc,gridArea:Gc,margin:Xc,marginBlock:Kc,marginInline:Zc,padding:Yc,paddingBlock:Qc,paddingInline:Jc,overflow:eu,inset:tu,outline:ru,transition:ou,textDecoration:su};function Af(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const ua=p.useInsertionEffect?p.useInsertionEffect:void 0,Yo=()=>{const e={};return function(r,o){if(ua&&Af()){ua(()=>{r.insertCSSRules(o)},[r,o]);return}e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}},Df=p.createContext(Bu());function Qo(){return p.useContext(Df)}const Of=p.createContext("ltr");function Jo(){return p.useContext(Of)}function If(){try{const e=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;return e==null?!1:(e.useContext({}),!0)}catch{return!1}}function fa(e){const t=Rf(e,Yo);if(process.env.NODE_ENV!=="production"&&If())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=Jo(),i=Qo();return t({dir:o,renderer:i})}}function U(e,t){const r=Ff(e,t,Yo);return function(){const i=Jo(),n=Qo();return r({dir:i,renderer:n})}}function Re(e,t,r){const o=qf(e,t,r,Yo);return function(){const n=Jo(),s=Qo();return o({dir:n,renderer:s})}}const da=Symbol("fui.slotRenderFunction"),Kt=Symbol("fui.slotElementType");function me(e,t){const{defaultProps:r,elementType:o}=t,i=ha(e),n={...r,...i,[Kt]:o};return i&&typeof i.children=="function"&&(n[da]=i.children,n.children=r==null?void 0:r.children),n}function J(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return me(e,t)}function ha(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||p.isValidElement(e)?{children:e}:(e&&typeof e!="object"&&process.env.NODE_ENV!=="production"&&console.error(`@fluentui/react-utilities [slot.${ha.name}]:
35
+ A slot got an invalid value "${e}" (${typeof e}).
36
+ A valid value for a slot is a slot shorthand or slot properties object.
37
+ Slot shorthands can be strings, numbers, arrays or JSX elements`),e)}function en(e){return!!(e!=null&&e.hasOwnProperty(Kt))}const Mf=(e,t)=>J(e,{...t,renderByDefault:t==null?void 0:t.required,elementType:void 0});function ke(e){if(process.env.NODE_ENV!=="production"){const t=e;for(const r of Object.keys(t.components)){const o=t[r];if(o!==void 0)if(!en(o))t[r]=me(o,{elementType:t.components[r]}),console.warn(`@fluentui/react-utilities [${ke.name}]:
38
+ "state.${r}" is not a slot!
39
+ Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{const{[Kt]:i}=o;i!==t.components[r]&&(o[Kt]=t.components[r],console.warn(`@fluentui/react-utilities [${ke.name}]:
40
+ "state.${r}" element type differs from "state.components.${r}",
41
+ ${i} !== ${t.components[r]}.
42
+ Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`))}}}}const ue=(...e)=>{const t={};for(const r of e){const o=Array.isArray(r)?r:Object.keys(r);for(const i of o)t[i]=1}return t},Lf=ue(["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"]),Hf=ue(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Vf=ue(["itemID","itemProp","itemRef","itemScope","itemType"]),ye=ue(Hf,Lf,Vf),$f=ue(ye,["form"]),va=ue(ye,["height","loop","muted","preload","src","width"]),Wf=ue(va,["poster"]),Uf=ue(ye,["start"]),Gf=ue(ye,["value"]),Xf=ue(ye,["download","href","hrefLang","media","rel","target","type"]),Kf=ue(ye,["dateTime"]),to=ue(ye,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),Zf=ue(to,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Yf=ue(to,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Qf=ue(to,["form","multiple","required"]),Jf=ue(ye,["selected","value"]),ed=ue(ye,["cellPadding","cellSpacing"]),td=ye,rd=ue(ye,["colSpan","rowSpan","scope"]),od=ue(ye,["colSpan","headers","rowSpan","scope"]),nd=ue(ye,["span"]),id=ue(ye,["span"]),ad=ue(ye,["disabled","form"]),sd=ue(ye,["acceptCharset","action","encType","encType","method","noValidate","target"]),ld=ue(ye,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),cd=ue(ye,["alt","crossOrigin","height","src","srcSet","useMap","width"]),ud=ue(ye,["open","onCancel","onClose"]);function fd(e,t,r){const o=Array.isArray(t),i={},n=Object.keys(e);for(const s of n)(!o&&t[s]||o&&t.indexOf(s)>=0||s.indexOf("data-")===0||s.indexOf("aria-")===0)&&(!r||(r==null?void 0:r.indexOf(s))===-1)&&(i[s]=e[s]);return i}const dd={label:$f,audio:va,video:Wf,ol:Uf,li:Gf,a:Xf,button:to,input:Zf,textarea:Yf,select:Qf,option:Jf,table:ed,tr:td,th:rd,td:od,colGroup:nd,col:id,fieldset:ad,form:sd,iframe:ld,img:cd,time:Kf,dialog:ud};function ga(e,t,r){const o=e&&dd[e]||ye;return o.as=1,fd(t,o,r)}const pa=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:ga(e,t,[...r||[],"style","className"])}),Fe=(e,t,r)=>{var o;return ga((o=t.as)!==null&&o!==void 0?o:e,t,r)};function tn(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}function hd(e,t){const r=p.useRef(void 0),o=p.useCallback((n,s)=>(r.current!==void 0&&t(r.current),r.current=e(n,s),r.current),[t,e]),i=p.useCallback(()=>{r.current!==void 0&&(t(r.current),r.current=void 0)},[t]);return p.useEffect(()=>i,[i]),[o,i]}function vd(e){return typeof e=="function"}const Zt=e=>{const[t,r]=p.useState(()=>e.defaultState===void 0?e.initialState:gd(e.defaultState)?e.defaultState():e.defaultState),o=p.useRef(e.state);p.useEffect(()=>{o.current=e.state},[e.state]);const i=p.useCallback(n=>{vd(n)&&n(o.current)},[]);return pd(e.state)?[e.state,i]:[t,r]};function gd(e){return typeof e=="function"}const pd=e=>{const[t]=p.useState(()=>e!==void 0);return process.env.NODE_ENV!=="production"&&p.useEffect(()=>{if(t!==(e!==void 0)){const r=new Error,o=t?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled",i=t?"defined to an undefined":"undefined to a defined";console.error(`@fluentui/react-utilities [${Zt.name}]:
43
+ A component is changing ${o}. This is likely caused by the value changing from ${i} value, which should not happen.
44
+ Decide between using a controlled or uncontrolled input element for the lifetime of the component.
45
+ More info: https://reactjs.org/link/controlled-components
46
+ ${r.stack}`)}},[t,e]),t},md={current:0},bd=p.createContext(void 0);function yd(){var e;return(e=p.useContext(bd))!==null&&e!==void 0?e:md}const Et=tn()?p.useLayoutEffect:p.useEffect,qe=e=>{const t=p.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Et(()=>{t.current=e},[e]),p.useCallback((...r)=>{const o=t.current;return o(...r)},[t])};function wd(){const e=p.useRef(!0);return e.current?(e.current=!1,!0):e.current}const ma=p.createContext(void 0);ma.Provider;function kd(){return p.useContext(ma)||""}function jt(e="fui-",t){const r=yd(),o=kd(),i=p.useId;if(i){const n=i(),s=p.useMemo(()=>n.replace(/:/g,""),[n]);return t||`${o}${e}${s}`}return p.useMemo(()=>t||`${o}${e}${++r.current}`,[o,e,t,r])}function rt(...e){const t=p.useCallback(r=>{t.current=r;for(const o of e)typeof o=="function"?o(r):o&&(o.current=r)},[...e]);return t}function xd(){return hd(setTimeout,clearTimeout)}function xe(e,t){return(...r)=>{e==null||e(...r),t==null||t(...r)}}function Rt(e,t){var r;const o=e;var i;return!!(!(o==null||(r=o.ownerDocument)===null||r===void 0)&&r.defaultView&&o instanceof o.ownerDocument.defaultView[(i=t==null?void 0:t.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function Bd(e){return e&&!!e._virtual}function _d(e){return Bd(e)&&e._virtual.parent||null}function Pd(e,t={}){if(!e)return null;if(!t.skipVirtual){const r=_d(e);if(r)return r}return(e==null?void 0:e.parentNode)||null}function ba(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}function Sd(e,t){return{...t,[Kt]:e}}var rn={exports:{}},se={};/** @license React v17.0.2
47
+ * react-is.development.js
48
+ *
49
+ * Copyright (c) Facebook, Inc. and its affiliates.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */var ya;function Cd(){return ya||(ya=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,f=60116,v=60121,d=60122,h=60117,m=60129,k=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),o=b("react.strict_mode"),i=b("react.profiler"),n=b("react.provider"),s=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),c=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),k=b("react.legacy_hidden")}var y=!1;function P(T){return!!(typeof T=="string"||typeof T=="function"||T===r||T===i||T===m||T===o||T===u||T===a||T===k||y||typeof T=="object"&&T!==null&&(T.$$typeof===f||T.$$typeof===c||T.$$typeof===n||T.$$typeof===s||T.$$typeof===l||T.$$typeof===h||T.$$typeof===v||T[0]===d))}function x(T){if(typeof T=="object"&&T!==null){var ie=T.$$typeof;switch(ie){case e:var _e=T.type;switch(_e){case r:case i:case o:case u:case a:return _e;default:var Ne=_e&&_e.$$typeof;switch(Ne){case s:case l:case f:case c:case n:return Ne;default:return ie}}case t:return ie}}}var S=s,w=n,_=e,F=l,R=r,V=f,G=c,O=t,B=i,L=o,Y=u,te=!1,ne=!1;function ae(T){return te||(te=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(T){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(T){return x(T)===s}function N(T){return x(T)===n}function I(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function q(T){return x(T)===l}function re(T){return x(T)===r}function he(T){return x(T)===f}function Se(T){return x(T)===c}function Ce(T){return x(T)===t}function ve(T){return x(T)===i}function ge(T){return x(T)===o}function Q(T){return x(T)===u}se.ContextConsumer=S,se.ContextProvider=w,se.Element=_,se.ForwardRef=F,se.Fragment=R,se.Lazy=V,se.Memo=G,se.Portal=O,se.Profiler=B,se.StrictMode=L,se.Suspense=Y,se.isAsyncMode=ae,se.isConcurrentMode=de,se.isContextConsumer=Le,se.isContextProvider=N,se.isElement=I,se.isForwardRef=q,se.isFragment=re,se.isLazy=he,se.isMemo=Se,se.isPortal=Ce,se.isProfiler=ve,se.isStrictMode=ge,se.isSuspense=Q,se.isValidElementType=P,se.typeOf=x}()),se}var le={};/** @license React v17.0.2
54
+ * react-is.production.min.js
55
+ *
56
+ * Copyright (c) Facebook, Inc. and its affiliates.
57
+ *
58
+ * This source code is licensed under the MIT license found in the
59
+ * LICENSE file in the root directory of this source tree.
60
+ */var wa;function zd(){if(wa)return le;wa=1;var e=60103,t=60106,r=60107,o=60108,i=60114,n=60109,s=60110,l=60112,u=60113,a=60120,c=60115,f=60116,v=60121,d=60122,h=60117,m=60129,k=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),o=b("react.strict_mode"),i=b("react.profiler"),n=b("react.provider"),s=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),a=b("react.suspense_list"),c=b("react.memo"),f=b("react.lazy"),v=b("react.block"),d=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),k=b("react.legacy_hidden")}function y(B){if(typeof B=="object"&&B!==null){var L=B.$$typeof;switch(L){case e:switch(B=B.type,B){case r:case i:case o:case u:case a:return B;default:switch(B=B&&B.$$typeof,B){case s:case l:case f:case c:case n:return B;default:return L}}case t:return L}}}var P=n,x=e,S=l,w=r,_=f,F=c,R=t,V=i,G=o,O=u;return le.ContextConsumer=s,le.ContextProvider=P,le.Element=x,le.ForwardRef=S,le.Fragment=w,le.Lazy=_,le.Memo=F,le.Portal=R,le.Profiler=V,le.StrictMode=G,le.Suspense=O,le.isAsyncMode=function(){return!1},le.isConcurrentMode=function(){return!1},le.isContextConsumer=function(B){return y(B)===s},le.isContextProvider=function(B){return y(B)===n},le.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===e},le.isForwardRef=function(B){return y(B)===l},le.isFragment=function(B){return y(B)===r},le.isLazy=function(B){return y(B)===f},le.isMemo=function(B){return y(B)===c},le.isPortal=function(B){return y(B)===t},le.isProfiler=function(B){return y(B)===i},le.isStrictMode=function(B){return y(B)===o},le.isSuspense=function(B){return y(B)===u},le.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===r||B===i||B===m||B===o||B===u||B===a||B===k||typeof B=="object"&&B!==null&&(B.$$typeof===f||B.$$typeof===c||B.$$typeof===n||B.$$typeof===s||B.$$typeof===l||B.$$typeof===h||B.$$typeof===v||B[0]===d)},le.typeOf=y,le}process.env.NODE_ENV==="production"?rn.exports=zd():rn.exports=Cd();var Td=rn.exports;function Nd(e){process.env.NODE_ENV==="development"&&typeof e=="object"&&!Td.isValidElementType(e)&&console.error(`@fluentui/react-jsx-runtime:
61
+ Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${e}.
62
+
63
+ If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
64
+ Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
65
+ 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 ka(e,t){return function(o,i,n,s,l){return en(i)?t(Sd(o,i),null,n,s,l):en(o)?t(o,i,n,s,l):(Nd(o),e(o,i,n,s,l))}}function xa(e){const{as:t,[Kt]:r,[da]:o,...i}=e,n=i,s=typeof r=="string"?t??r:r;return typeof s!="string"&&t&&(n.as=t),{elementType:s,props:n,renderFunction:o}}const Ft=cc,Ed=(e,t,r)=>{const{elementType:o,renderFunction:i,props:n}=xa(e),s={...n,...t};return i?Ft.jsx(p.Fragment,{children:i(o,s)},r):Ft.jsx(o,s,r)},jd=(e,t,r)=>{const{elementType:o,renderFunction:i,props:n}=xa(e),s={...n,...t};return i?Ft.jsx(p.Fragment,{children:i(o,{...s,children:Ft.jsxs(p.Fragment,{children:s.children},void 0)})},r):Ft.jsxs(o,s,r)},$=ka(Ft.jsx,Ed),Ae=ka(Ft.jsxs,jd),Ba=p.createContext(void 0),Rd="";Ba.Provider;function Fd(){var e;return(e=p.useContext(Ba))!==null&&e!==void 0?e:Rd}const _a=p.createContext(void 0),qd={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};_a.Provider;function mt(){var e;return(e=p.useContext(_a))!==null&&e!==void 0?e:qd}const Pa=p.createContext(void 0);Pa.Provider;function Ad(){var e;return(e=p.useContext(Pa))!==null&&e!==void 0?e:{}}const Sa=p.createContext(void 0),Dd=()=>{};Sa.Provider;const Ye=e=>{var t,r;return(r=(t=p.useContext(Sa))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:Dd},Ca=p.createContext(void 0);Ca.Provider;function Od(){return p.useContext(Ca)}const on=p.createContext(void 0),Id={};on.Provider;const Md=()=>p.useContext(on)?p.useContext(on):Id,Ld=U({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},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);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Hd=(e,t)=>{const{title:r,primaryFill:o="currentColor",...i}=e,n={...i,title:void 0,fill:o},s=Ld(),l=Md();return n.className=A(s.root,(t==null?void 0:t.flipInRtl)&&(l==null?void 0:l.textDirection)==="rtl"&&s.rtl,n.className),r&&(n["aria-label"]=r),!n["aria-label"]&&!n["aria-labelledby"]?n["aria-hidden"]=!0:n.role="img",n},H=(e,t,r,o)=>{const i=t==="1em"?"20":t,n=p.forwardRef((s,l)=>{const u={...Hd(s,{flipInRtl:o==null?void 0:o.flipInRtl}),ref:l,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return p.createElement("svg",u,...r.map(a=>p.createElement("path",{d:a,fill:u.fill})))});return n.displayName=e,n},Vd=H("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"]),$d=H("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"]),Wd=H("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"]),Ud=H("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"]),Gd=H("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"]),Xd=H("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"]),za=H("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"]),Ta=H("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"]),Kd=H("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"]),Zd=H("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"]),Yd=H("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"]),Qd=H("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"]),Na=H("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"]),Ea=H("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"]),ja=H("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"]),Jd=H("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"]),eh=H("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"]),Ra=H("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"]),Fa=H("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"]),th=H("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"]),rh=H("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"]),qa=H("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"]),Aa=H("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),oh=H("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),nh=H("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Da=H("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Oa=H("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"]),Ia=H("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"]),ih=H("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"]),ah=H("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"]),sh=H("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"]),lh=H("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"]),Ma=H("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"]),La=H("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"]),Ha=H("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"]),ch=H("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"]),uh=H("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"]),Va=H("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"]),$a=H("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"]),fh=H("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"]),dh=H("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"]),Wa=H("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"]),Ua=H("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"]),hh=H("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"]),vh=H("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"]),Ga=H("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"]),gh=H("Search20Regular","20",["M8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3Zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),ph=H("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"]);/*!
66
+ * Copyright (c) Microsoft Corporation. All rights reserved.
67
+ * Licensed under the MIT License.
68
+ */const mh=typeof WeakRef<"u";class Xa{constructor(t){mh&&typeof t=="object"?this._weakRef=new WeakRef(t):this._instance=t}deref(){var t,r,o;let i;return this._weakRef?(i=(t=this._weakRef)===null||t===void 0?void 0:t.deref(),i||delete this._weakRef):(i=this._instance,!((o=(r=i)===null||r===void 0?void 0:r.isDisposed)===null||o===void 0)&&o.call(r)&&delete this._instance),i}}/*!
69
+ * Copyright (c) Microsoft Corporation. All rights reserved.
70
+ * Licensed under the MIT License.
71
+ */const at="keyborg:focusin";function bh(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}let nn=!1;function qt(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function yh(e){const t=e;nn||(nn=bh(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=i;const o=t.__keyborgData={focusInHandler:n=>{var s;const l=n.target;if(!l)return;const u=document.createEvent("HTMLEvents");u.initEvent(at,!0,!0);const a={relatedTarget:n.relatedTarget||void 0};(nn||o.lastFocusedProgrammatically)&&(a.isFocusedProgrammatically=l===((s=o.lastFocusedProgrammatically)===null||s===void 0?void 0:s.deref()),o.lastFocusedProgrammatically=void 0),u.details=a,l.dispatchEvent(u)}};t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0);function i(){const n=t.__keyborgData;return n&&(n.lastFocusedProgrammatically=new Xa(this)),r.apply(this,arguments)}i.__keyborgNativeFocus=r}function wh(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,i=t.__keyborgData;i&&(t.document.removeEventListener("focusin",i.focusInHandler,!0),delete t.__keyborgData),o&&(r.focus=o)}/*!
72
+ * Copyright (c) Microsoft Corporation. All rights reserved.
73
+ * Licensed under the MIT License.
74
+ */const kh=500;let Ka=0;class xh{constructor(){this.__keyborgCoreRefs={},this._isNavigatingWithKeyboard=!1}add(t){const r=t.id;r in this.__keyborgCoreRefs||(this.__keyborgCoreRefs[r]=new Xa(t))}remove(t){delete this.__keyborgCoreRefs[t],Object.keys(this.__keyborgCoreRefs).length===0&&(this._isNavigatingWithKeyboard=!1)}setVal(t){if(this._isNavigatingWithKeyboard!==t){this._isNavigatingWithKeyboard=t;for(const r of Object.keys(this.__keyborgCoreRefs)){const i=this.__keyborgCoreRefs[r].deref();i?i.update(t):this.remove(r)}}}getVal(){return this._isNavigatingWithKeyboard}}const ot=new xh;class Bh{constructor(t,r){this._onFocusIn=i=>{if(this._isMouseUsedTimer||ot.getVal())return;const n=i.details;n.relatedTarget&&(n.isFocusedProgrammatically||n.isFocusedProgrammatically===void 0||ot.setVal(!0))},this._onMouseDown=i=>{if(i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0)return;const n=this._win;n&&(this._isMouseUsedTimer&&n.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=n.setTimeout(()=>{delete this._isMouseUsedTimer},1e3)),ot.setVal(!1)},this._onKeyDown=i=>{var n,s;const l=ot.getVal(),u=i.keyCode,a=this._triggerKeys;if(!l&&(!a||a.has(u))){const c=(n=this._win)===null||n===void 0?void 0:n.document.activeElement;if(c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.contentEditable==="true"))return;ot.setVal(!0)}else l&&(!((s=this._dismissKeys)===null||s===void 0)&&s.has(u))&&this._scheduleDismiss()},this.id="c"+ ++Ka,this._win=t;const o=t.document;if(r){const i=r.triggerKeys,n=r.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),n!=null&&n.length&&(this._dismissKeys=new Set(n))}o.addEventListener(at,this._onFocusIn,!0),o.addEventListener("mousedown",this._onMouseDown,!0),t.addEventListener("keydown",this._onKeyDown,!0),yh(t),ot.add(this)}dispose(){const t=this._win;if(t){this._isMouseUsedTimer&&(t.clearTimeout(this._isMouseUsedTimer),this._isMouseUsedTimer=void 0),this._dismissTimer&&(t.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),wh(t);const r=t.document;r.removeEventListener(at,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),delete this._win,ot.remove(this.id)}}isDisposed(){return!!this._win}update(t){var r,o;const i=(o=(r=this._win)===null||r===void 0?void 0:r.__keyborg)===null||o===void 0?void 0:o.refs;if(i)for(const n of Object.keys(i))Br.update(i[n],t)}_scheduleDismiss(){const t=this._win;if(t){this._dismissTimer&&(t.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=t.document.activeElement;this._dismissTimer=t.setTimeout(()=>{this._dismissTimer=void 0;const o=t.document.activeElement;r&&o&&r===o&&ot.setVal(!1)},kh)}}}class Br{constructor(t,r){this._cb=[],this._id="k"+ ++Ka,this._win=t;const o=t.__keyborg;o?(this._core=o.core,o.refs[this._id]=this):(this._core=new Bh(t,r),t.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new Br(t,r)}static dispose(t){t.dispose()}static update(t,r){t._cb.forEach(o=>o(r))}dispose(){var t;const r=(t=this._win)===null||t===void 0?void 0:t.__keyborg;r!=null&&r.refs[this._id]?(delete r.refs[this._id],Object.keys(r.refs).length===0&&(r.core.dispose(),delete this._win.__keyborg)):process.env.NODE_ENV==="development"&&console.error("Keyborg instance "+this._id+" is being disposed incorrectly."),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){return ot.getVal()}subscribe(t){this._cb.push(t)}unsubscribe(t){const r=this._cb.indexOf(t);r>=0&&this._cb.splice(r,1)}setVal(t){ot.setVal(t)}}function an(e,t){return Br.create(e,t)}function sn(e){Br.dispose(e)}/*!
75
+ * Copyright (c) Microsoft Corporation. All rights reserved.
76
+ * Licensed under the MIT License.
77
+ */const st="data-tabster",ln="data-tabster-dummy",_h="tabster:deloser",Ph="tabster:modalizer:active",Sh="tabster:modalizer:inactive",Ch="tabster:modalizer:focusin",zh="tabster:modalizer:focusout",Th="tabster:modalizer:beforefocusout",Nh="tabster:mover",Za="tabster:focusin",Ya="tabster:focusout",cn=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]"].join(", "),Eh={Any:0,Accessible:1,Focusable:2},jh={History:0,DeloserDefault:1,RootDefault:2,DeloserFirst:3,RootFirst:4},Rh={Invisible:0,PartiallyVisible:1,Visible:2},Fh={Source:0,Target:1},qh={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Qa={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ja={Auto:0,Inside:1,Outside:2};var un=Object.freeze({__proto__:null,TabsterAttributeName:st,TabsterDummyInputAttributeName:ln,DeloserEventName:_h,ModalizerActiveEventName:Ph,ModalizerInactiveEventName:Sh,ModalizerFocusInEventName:Ch,ModalizerFocusOutEventName:zh,ModalizerBeforeFocusOutEventName:Th,MoverEventName:Nh,FocusInEventName:Za,FocusOutEventName:Ya,FocusableSelector:cn,ObservedElementAccesibilities:Eh,RestoreFocusOrders:jh,Visibilities:Rh,RestorerTypes:Fh,MoverDirections:qh,GroupperTabbabilities:Qa,SysDummyInputsPositions:Ja});/*!
78
+ * Copyright (c) Microsoft Corporation. All rights reserved.
79
+ * Licensed under the MIT License.
80
+ */function lt(e,t){var r;return(r=e.storageEntry(t))===null||r===void 0?void 0:r.tabster}function es(e,t,r){var o,i;const n=r||e._noop?void 0:t.getAttribute(st);let s=e.storageEntry(t),l;if(n)if(n!==((o=s==null?void 0:s.attr)===null||o===void 0?void 0:o.string))try{const f=JSON.parse(n);if(typeof f!="object")throw new Error(`Value is not a JSON object, got '${n}'.`);l={string:n,object:f}}catch(f){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${f}`,t)}else return;else if(!s)return;s||(s=e.storageEntry(t,!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 f of Object.keys(a))if(!c[f]){if(f==="root"){const v=u[f];v&&e.root.onRoot(v,!0)}switch(f){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const v=u[f];v&&(v.dispose(),delete u[f]);break;case"observed":delete u[f],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[f];break}}for(const f of Object.keys(c)){const v=c.sys;switch(f){case"deloser":u.deloser?u.deloser.setProps(c.deloser):e.deloser?u.deloser=e.deloser.createDeloser(t,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(t,c.root,v),e.root.onRoot(u.root);break;case"modalizer":u.modalizer?u.modalizer.setProps(c.modalizer):e.modalizer?u.modalizer=e.modalizer.createModalizer(t,c.modalizer,v):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(t,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(t,c.groupper,v):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(t,c.mover,v):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(t)):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 '${f}' in data-tabster attribute value.`)}}l?s.attr=l:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(t,!1))}/*!
81
+ * Copyright (c) Microsoft Corporation. All rights reserved.
82
+ * Licensed under the MIT License.
83
+ */function Ah(e){const t=e();try{if(t.EventTarget)return new t.EventTarget}catch(r){if(!(r instanceof TypeError))throw r}return t.document.createElement("div")}/*!
84
+ * Copyright (c) Microsoft Corporation. All rights reserved.
85
+ * Licensed under the MIT License.
86
+ */let fn,Dh=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),fn=!1}catch{fn=!0}const dn=100;function At(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}function Oh(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function Ih(e){const t=e.__tabsterInstanceContext;return new((t==null?void 0:t.basics.WeakMap)||WeakMap)}function Mh(e){return!!e.querySelector(cn)}class ts{constructor(t){this._target=t}deref(){return this._target}static cleanup(t,r){return t._target?r||!hn(t._target.ownerDocument,t._target)?(delete t._target,!0):!1:!0}}class ct{constructor(t,r,o){const i=At(t);let n;i.WeakRef?n=new i.WeakRef(r):(n=new ts(r),i.fakeWeakRefs.push(n)),this._ref=n,this._data=o}get(){const t=this._ref;let r;return t&&(r=t.deref(),r||delete this._ref),r}getData(){return this._data}}function rs(e,t){const r=At(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(o=>!ts.cleanup(o,t))}function os(e){const t=At(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=Uh(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,rs(e),os(e)},2*60*1e3))}function Lh(e){const t=At(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function ns(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=fn?r:{acceptNode:r};return e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,o,!1)}function Hh(e){e.__shouldIgnoreFocus=!0}function is(e){return!!e.__shouldIgnoreFocus}function Vh(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let o=0;o<t.length;o++)t[o]=4294967295*Math.random();const r=[];for(let o=0;o<t.length;o++)r.push(t[o].toString(36));return r.push("|"),r.push((++Dh).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}function $h(e,t){const r=At(e);let o=t.__tabsterElementUID;return o||(o=t.__tabsterElementUID=Vh(e())),!r.elementByUId[o]&&hn(t.ownerDocument,t)&&(r.elementByUId[o]=new ct(e,t)),o}function as(e,t){const r=At(e);for(const o of Object.keys(r.elementByUId)){const i=r.elementByUId[o],n=i&&i.get();n&&t&&!t.contains(n)||delete r.elementByUId[o]}}function hn(e,t){var r;return!!(!((r=e==null?void 0:e.body)===null||r===void 0)&&r.contains(t))}function Wh(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}function Uh(e){return e.basics.WeakRef}let Gh=0;class ss{constructor(t,r,o){const i=t.getWindow;this._tabster=t,this._element=new ct(i,r),this._props={...o},this.id="i"+ ++Gh}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}class ro{constructor(t,r,o,i,n){var s;this._focusIn=c=>{if(this._fixedTarget){const v=this._fixedTarget.get();v&&qt(v);return}const f=this.input;if(this.onFocusIn&&f){const v=c.relatedTarget;this.onFocusIn(this,this._isBackward(!0,f,v),v)}},this._focusOut=c=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const f=this.input;if(this.onFocusOut&&f){const v=c.relatedTarget;this.onFocusOut(this,this._isBackward(!1,f,v),v)}};const l=t(),u=l.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(ln,""),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"),Hh(u),this.input=u,this.isFirst=o.isFirst,this.isOutside=r,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 t;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;r&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(t=r.parentElement)===null||t===void 0||t.removeChild(r))}setTopLeft(t,r){var o;const i=(o=this.input)===null||o===void 0?void 0:o.style;i&&(i.top=`${t}px`,i.left=`${r}px`)}_isBackward(t,r,o){return t&&!o?!this.isFirst:!!(o&&r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}}const ls={Root:1,Modalizer:2,Mover:3,Groupper:4};class oo{constructor(t,r,o,i,n,s){this._element=r,this._instance=new Kh(t,r,this,o,i,n,s)}_setHandlers(t,r){this._onFocusIn=t,this._onFocusOut=r}moveOut(t){var r;(r=this._instance)===null||r===void 0||r.moveOut(t)}moveOutWithDefaultAction(t){var r;(r=this._instance)===null||r===void 0||r.moveOutWithDefaultAction(t)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){var r;(r=this._instance)===null||r===void 0||r.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,r,o,i){var n;const l=new ro(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(l){let u,a;if(r.tagName==="BODY")u=r,a=o&&i||!o&&!i?r.firstElementChild:null;else{o&&(!i||i&&!t.focusable.isFocusable(r,!1,!0,!0))?(u=r,a=i?r.firstElementChild:null):(u=r.parentElement,a=o&&i||!o&&!i?r:r.nextElementSibling);let c,f;do c=o&&i||!o&&!i?a==null?void 0:a.previousElementSibling:a,f=(n=c==null?void 0:c.__tabsterDummyContainer)===null||n===void 0?void 0:n.get(),f===r?a=o&&i||!o&&!i?c:c==null?void 0:c.nextElementSibling:f=void 0;while(f)}u&&(u.insertBefore(l,a),qt(l))}}static addPhantomDummyWithTarget(t,r,o,i){const s=new ro(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ct(t.getWindow,i)).input;if(s){let l,u;Mh(r)&&!o?(l=r,u=r.firstElementChild):(l=r.parentElement,u=o?r:r.nextElementSibling),l==null||l.insertBefore(s,u)}}}function bt(e,t){var r;const o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(r=e.input)===null||r===void 0||r.setAttribute(ln,[`isFirst=${e.isFirst}`,`isOutside=${e.isOutside}`,...t.map(i=>`(${o[i.priority]}, tabbable=${i.tabbable})`)].join(", "))}class Xh{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=r=>{var o;this._changedParents.has(r)||(this._changedParents.add(r),!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.parentElement;(!l||this._changedParents.has(l))&&s()}}}this._changedParents=new WeakSet},dn)))},this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new ct(this._win,t)),this._dummyCallbacks.set(t,r),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(r=>{const o=r.get();return o&&o!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){var t;const r=(t=this._win)===null||t===void 0?void 0:t.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.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(t){this._win&&(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var t;this._updateTimer||(this._updateTimer=(t=this._win)===null||t===void 0?void 0:t.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+dn<=Date.now()){const r=new Map,o=[];for(const i of this._updateQueue)o.push(i(r));this._updateQueue.clear();for(const i of o)i();r.clear()}else this._scheduledUpdatePositions()},dn))}}class Kh{constructor(t,r,o,i,n,s,l){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(d,h,m)=>{this._onFocus(!0,d,h,m)},this._onFocusOut=(d,h,m)=>{this._onFocus(!1,d,h,m)},this.moveOut=d=>{var h;const m=this._firstDummy,k=this._lastDummy;if(m&&k){this._ensurePosition();const b=m.input,y=k.input,P=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&P){let x;d?(b.tabIndex=0,x=b):(y.tabIndex=0,x=y),x&&qt(x)}}},this.moveOutWithDefaultAction=d=>{var h;const m=this._firstDummy,k=this._lastDummy;if(m&&k){this._ensurePosition();const b=m.input,y=k.input,P=(h=this._element)===null||h===void 0?void 0:h.get();if(b&&y&&P){let x;d?!m.isOutside&&this._tabster.focusable.isFocusable(P,!0,!0,!0)?x=P:(m.useDefaultAction=!0,b.tabIndex=0,x=b):(k.useDefaultAction=!0,y.tabIndex=0,x=y),x&&qt(x)}}},this.setTabbable=(d,h)=>{var m,k;for(const y of this._wrappers)if(y.manager===d){y.tabbable=h;break}const b=this._getCurrent();if(b){const y=b.tabbable?0:-1;let P=(m=this._firstDummy)===null||m===void 0?void 0:m.input;P&&(P.tabIndex=y),P=(k=this._lastDummy)===null||k===void 0?void 0:k.input,P&&(P.tabIndex=y)}process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(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&&bt(this._firstDummy,this._wrappers),this._lastDummy&&bt(this._lastDummy,this._wrappers)),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=d=>{var h,m;const k=((h=this._firstDummy)===null||h===void 0?void 0:h.input)||((m=this._lastDummy)===null||m===void 0?void 0:m.input),b=this._transformElements,y=new Set;let P=0,x=0;const S=this._getWindow();for(let w=k;w&&w.nodeType===Node.ELEMENT_NODE;w=w.parentElement){let _=d.get(w);if(_===void 0){const F=S.getComputedStyle(w).transform;F&&F!=="none"&&(_={scrollTop:w.scrollTop,scrollLeft:w.scrollLeft}),d.set(w,_||null)}_&&(y.add(w),b.has(w)||w.addEventListener("scroll",this._addTransformOffsets),P+=_.scrollTop,x+=_.scrollLeft)}for(const w of b)y.has(w)||w.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=y,()=>{var w,_;(w=this._firstDummy)===null||w===void 0||w.setTopLeft(P,x),(_=this._lastDummy)===null||_===void 0||_.setTopLeft(P,x)}};const u=r.get();if(!u)throw new Error("No element");this._tabster=t,this._getWindow=t.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&&bt(this._firstDummy,a._wrappers),this._lastDummy&&bt(this._lastDummy,a._wrappers)),a;u.__tabsterDummy=this;const c=n==null?void 0:n.dummyInputsPosition,f=u.tagName;this._isOutside=c?c===Ja.Outside:(s||f==="UL"||f==="OL"||f==="TABLE")&&!(f==="LI"||f==="TD"||f==="TH"),this._firstDummy=new ro(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new ro(this._getWindow,this._isOutside,{isFirst:!1},r);const v=this._firstDummy.input;v&&t._dummyObserver.add(v,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=r,this._addDummyInputs()}dispose(t,r){var o,i,n,s;const l=this._wrappers=this._wrappers.filter(u=>u.manager!==t&&!r);if(process.env.NODE_ENV==="development"&&(this._firstDummy&&bt(this._firstDummy,l),this._lastDummy&&bt(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(t,r,o,i){var n;const s=this._getCurrent();s&&(!r.useDefaultAction||this._callForDefaultAction)&&((n=s.manager.getHandler(t))===null||n===void 0||n(r,o,i))}_getCurrent(){return this._wrappers.sort((t,r)=>t.tabbable!==r.tabbable?t.tabbable?-1:1:t.priority-r.priority),this._wrappers[0]}_ensurePosition(){var t,r,o;const i=(t=this._element)===null||t===void 0?void 0:t.get(),n=(r=this._firstDummy)===null||r===void 0?void 0:r.input,s=(o=this._lastDummy)===null||o===void 0?void 0:o.input;if(!(!i||!n||!s))if(this._isOutside){const l=i.parentElement;if(l){const u=i.nextElementSibling;u!==s&&l.insertBefore(s,u),i.previousElementSibling!==n&&l.insertBefore(n,i)}}else{i.lastElementChild!==s&&i.appendChild(s);const l=i.firstElementChild;l&&l!==n&&i.insertBefore(n,l)}}}function cs(e){let t=null;for(let r=e.lastElementChild;r;r=r.lastElementChild)t=r;return t||void 0}function Zh(e,t){let r=e,o=null;for(;r&&!o;)o=t?r.previousElementSibling:r.nextElementSibling,r=r.parentElement;return o||void 0}function no(e,t,r){const o=document.createEvent("HTMLEvents");return o.initEvent(t,!0,!0),o.details=r,e.dispatchEvent(o),!o.defaultPrevented}/*!
87
+ * Copyright (c) Microsoft Corporation. All rights reserved.
88
+ * Licensed under the MIT License.
89
+ */function us(e,t){const r=JSON.stringify(e);return t===!0?r:{[st]:r}}function Yh(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}function Qh(e,t,r){let o;if(r){const i=e.getAttribute(st);if(i)try{o=JSON.parse(i)}catch(n){process.env.NODE_ENV==="development"&&console.error(`data-tabster attribute error: ${n}`,e)}}o||(o={}),Yh(o,t),Object.keys(o).length>0?e.setAttribute(st,us(o,!0)):e.removeAttribute(st)}/*!
90
+ * Copyright (c) Microsoft Corporation. All rights reserved.
91
+ * Licensed under the MIT License.
92
+ */function fs(e,t,r){if(process.env.NODE_ENV==="development"){const o=e.get();o&&(t?o.style.removeProperty("--tabster-root"):o.style.setProperty("--tabster-root",r+","))}}class ds extends oo{constructor(t,r,o,i){super(t,r,ls.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){qt(u);return}}(s=n.input)===null||s===void 0||s.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=o}}class Jh extends ss{constructor(t,r,o,i,n){super(t,r,i),this._isFocused=!1,this._setFocused=u=>{var a;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===u)return;const c=this._element.get();c&&(u?(this._isFocused=!0,(a=this._dummyManager)===null||a===void 0||a.setTabbable(!1),no(this._tabster.root.eventTarget,"focus",{element:c})):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var f;delete this._setFocusedTimer,this._isFocused=!1,(f=this._dummyManager)===null||f===void 0||f.setTabbable(!0),no(this._tabster.root.eventTarget,"blur",{element:c})},0))},this._onFocusIn=u=>{const a=this._tabster.getParent,c=this._element.get();let f=u.target;do{if(f===c){this._setFocused(!0);return}f=f&&a(f)}while(f)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=o;const s=t.getWindow;this.uid=$h(s,r),this._sys=n,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const l=s();l.document.addEventListener("focusin",this._onFocusIn),l.document.addEventListener("focusout",this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new ds(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var t;this._onDispose(this);const r=this._tabster.getWindow();r.document.removeEventListener("focusin",this._onFocusIn),r.document.removeEventListener("focusout",this._onFocusOut),this._setFocusedTimer&&(r.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(t=this._dummyManager)===null||t===void 0||t.dispose(),this._remove()}moveOutWithDefaultAction(t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(t);else{const o=this.getElement();o&&ds.moveWithPhantomDummy(this._tabster,o,!0,t)}}_add(){process.env.NODE_ENV==="development"&&fs(this._element,!1,this.uid)}_remove(){process.env.NODE_ENV==="development"&&fs(this._element,!0)}}class Ie{constructor(t,r){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 Qh(n,{root:s},!0),es(this._tabster,n),(o=lt(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=t,this._win=t.getWindow,this._autoRoot=r,this.eventTarget=Ah(this._win),t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){t.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(r=>{this._roots[r]&&(this._roots[r].dispose(),delete this._roots[r])}),this.rootById={}}createRoot(t,r,o){process.env.NODE_ENV;const i=new Jh(this._tabster,t,this._onRootDispose,r,o);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const r of Object.keys(t))t[r].addDummyInputs()}static getRootByUId(t,r){const o=t().__tabsterInstance;return o&&o.root.rootById[r]}static getTabsterContext(t,r,o){o===void 0&&(o={});var i,n,s,l;if(!r.ownerDocument)return;const{checkRtl:u,referenceElement:a}=o,c=t.getParent;t.drainInitQueue();let f,v,d,h,m=!1,k,b,y,P,x=a||r;const S={};for(;x&&(!f||u);){const _=lt(t,x);if(u&&y===void 0){const O=x.dir;O&&(y=O.toLowerCase()==="rtl")}if(!_){x=c(x);continue}const F=x.tagName;(_.uncontrolled||F==="IFRAME"||F==="WEBVIEW")&&(P=x),!h&&(!((i=_.focusable)===null||i===void 0)&&i.excludeFromMover)&&!d&&(m=!0);const R=_.modalizer,V=_.groupper,G=_.mover;!v&&R&&(v=R),!d&&V&&(!v||R)&&(v?(!V.isActive()&&V.getProps().tabbability&&v.userId!==((n=t.modalizer)===null||n===void 0?void 0:n.activeId)&&(v=void 0,d=V),b=V):d=V),!h&&G&&(!v||R)&&(!V||x!==r)&&(h=G,k=!!d&&d!==V),_.root&&(f=_.root),!((s=_.focusable)===null||s===void 0)&&s.ignoreKeydown&&Object.assign(S,_.focusable.ignoreKeydown),x=c(x)}if(!f){const _=t.root;_._autoRoot&&!((l=r.ownerDocument)===null||l===void 0)&&l.body&&(f=_._autoRootCreate())}return d&&!h&&(k=!0),process.env.NODE_ENV==="development"&&!f&&(v||d||h)&&console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."),f?{root:f,modalizer:v,groupper:d,mover:h,groupperBeforeMover:k,modalizerInGroupper:b,rtl:u?!!y:void 0,uncontrolled:P,excludedFromMover:m,ignoreKeydown:_=>!!S[_.key]}:void 0}static getRoot(t,r){var o;const i=t.getParent;for(let n=r;n;n=i(n)){const s=(o=lt(t,n))===null||o===void 0?void 0:o.root;if(s)return s}}onRoot(t,r){r?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}/*!
93
+ * Copyright (c) Microsoft Corporation. All rights reserved.
94
+ * Licensed under the MIT License.
95
+ */class hs{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const r=this._callbacks;r.indexOf(t)<0&&r.push(t)}subscribeFirst(t){const r=this._callbacks,o=r.indexOf(t);o>=0&&r.splice(o,1),r.unshift(t)}unsubscribe(t){const r=this._callbacks.indexOf(t);r>=0&&this._callbacks.splice(r,1)}setVal(t,r){this._val!==t&&(this._val=t,this._callCallbacks(t,r))}getVal(){return this._val}trigger(t,r){this._callCallbacks(t,r)}_callCallbacks(t,r){this._callbacks.forEach(o=>o(t,r))}}/*!
96
+ * Copyright (c) Microsoft Corporation. All rights reserved.
97
+ * Licensed under the MIT License.
98
+ */class ev{constructor(t){this._tabster=t}dispose(){}getProps(t){const r=lt(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,o,i){return Wh(t,cn)&&(r||t.tabIndex!==-1)?(o||this.isVisible(t))&&(i||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||t.offsetParent===null&&t.ownerDocument.body!==t)return!1;const r=t.ownerDocument.defaultView;if(!r)return!1;const o=t.ownerDocument.body.getBoundingClientRect();return!(o.width===0&&o.height===0||r.getComputedStyle(t).visibility==="hidden")}isAccessible(t){var r;for(let o=t;o;o=o.parentElement){const i=lt(this._tabster,o);if(this._isHidden(o)||!((r=i==null?void 0:i.focusable)===null||r===void 0?void 0:r.ignoreAriaDisabled)&&this._isDisabled(o))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){var r;const o=t.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!(!((r=this._tabster.modalizer)===null||r===void 0)&&r.isAugmented(t)))}findFirst(t,r){return this.findElement({...t},r)}findLast(t,r){return this.findElement({isBackward:!0,...t},r)}findNext(t,r){return this.findElement({...t},r)}findPrev(t,r){return this.findElement({...t,isBackward:!0},r)}findDefault(t,r){return this.findElement({...t,acceptCondition:o=>this.isFocusable(o,t.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},r)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,r){const o=this._findElements(!1,t,r);return o&&o[0]}_findElements(t,r,o){var i,n,s;const{container:l,currentElement:u=null,includeProgrammaticallyFocusable:a,useActiveModalizer:c,ignoreAccessibility:f,modalizerId:v,isBackward:d,onElement:h}=r;o||(o={});const m=[];let{acceptCondition:k}=r;const b=!!k;if(!l)return null;k||(k=S=>this.isFocusable(S,a,!1,f));const y={container:l,modalizerUserId:v===void 0&&c?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:v||((s=(n=Ie.getTabsterContext(this._tabster,l))===null||n===void 0?void 0:n.modalizer)===null||s===void 0?void 0:s.userId),from:u||l,isBackward:d,acceptCondition:k,hasCustomCondition:b,includeProgrammaticallyFocusable:a,ignoreAccessibility:f,cachedGrouppers:{}},P=ns(l.ownerDocument,l,S=>this._acceptElement(S,y));if(!P)return null;const x=S=>{var w,_;const F=(w=y.foundElement)!==null&&w!==void 0?w:y.foundBackward;return F&&m.push(F),t?F&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=F,h&&!h(F))?!1:!!(F||S):(F&&o&&(o.uncontrolled=(_=Ie.getTabsterContext(this._tabster,F))===null||_===void 0?void 0:_.uncontrolled),!!(S&&!F))};if(u||(o.outOfDOMOrder=!0),u)P.currentNode=u;else if(d){const S=cs(l);if(!S)return null;if(this._acceptElement(S,y)===NodeFilter.FILTER_ACCEPT&&!x(!0))return y.skippedFocusable&&(o.outOfDOMOrder=!0),m;P.currentNode=S}do d?P.previousNode():P.nextNode();while(x());return y.skippedFocusable&&(o.outOfDOMOrder=!0),m.length?m:null}_acceptElement(t,r){var o,i,n,s;if(r.found)return NodeFilter.FILTER_ACCEPT;const l=r.foundBackward;if(l&&(t===l||!l.contains(t)))return r.found=!0,r.foundElement=l,NodeFilter.FILTER_ACCEPT;const u=r.container;if(t===u)return NodeFilter.FILTER_SKIP;if(!u.contains(t)||t.__tabsterDummyContainer||!((o=r.rejectElementsFrom)===null||o===void 0)&&o.contains(t))return NodeFilter.FILTER_REJECT;const a=r.currentCtx=Ie.getTabsterContext(this._tabster,t);if(!a)return NodeFilter.FILTER_SKIP;if(is(t))return this.isFocusable(t,void 0,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!r.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return((i=a.modalizer)===null||i===void 0?void 0:i.userId)===((n=this._tabster.modalizer)===null||n===void 0?void 0:n.activeId)?(r.found=!0,r.rejectElementsFrom=r.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!r.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,f=r.fromCtx;f||(f=r.fromCtx=Ie.getTabsterContext(this._tabster,r.from));const v=f==null?void 0:f.mover;let d=a.groupper,h=a.mover;if(c=(s=this._tabster.modalizer)===null||s===void 0?void 0:s.acceptElement(t,r),c!==void 0&&(r.skippedFocusable=!0),c===void 0&&(d||h||v)){const m=d==null?void 0:d.getElement(),k=v==null?void 0:v.getElement();let b=h==null?void 0:h.getElement();b&&(k!=null&&k.contains(b))&&u.contains(k)&&(!m||!h||k.contains(m))&&(h=v,b=k),m&&(m===u||!u.contains(m))&&(d=void 0),b&&!u.contains(b)&&(h=void 0),d&&h&&(b&&m&&!m.contains(b)?h=void 0:d=void 0),d&&(c=d.acceptElement(t,r)),h&&(c=h.acceptElement(t,r))}return c===void 0&&(c=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!r.found&&(r.isBackward?(r.foundBackward=t,c=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)),c}}/*!
99
+ * Copyright (c) Microsoft Corporation. All rights reserved.
100
+ * Licensed under the MIT License.
101
+ */const _r={Tab:9,Enter:13,Esc:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40};/*!
102
+ * Copyright (c) Microsoft Corporation. All rights reserved.
103
+ * Licensed under the MIT License.
104
+ */function tv(e,t){var r;const o=e.getParent;let i=t;do{const n=(r=lt(e,i))===null||r===void 0?void 0:r.uncontrolled;if(n&&e.uncontrolled.isUncontrolledCompletely(i,!!n.completely))return i;i=o(i)}while(i)}class Be extends hs{constructor(t,r){super(),this._init=()=>{const o=this._win(),i=o.document;i.addEventListener(at,this._onFocusIn,!0),i.addEventListener("focusout",this._onFocusOut,!0),o.addEventListener("keydown",this._onKeyDown,!0);const n=i.activeElement;n&&n!==i.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=o=>{this._setFocusedElement(o.target,o.details.relatedTarget,o.details.isFocusedProgrammatically)},this._onFocusOut=o=>{this._setFocusedElement(void 0,o.relatedTarget)},this._validateFocusedElement=o=>{},this._onKeyDown=o=>{if(o.keyCode!==_r.Tab||o.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const n=this._tabster,s=n.controlTab,l=Ie.getTabsterContext(n,i);if(!l||l.ignoreKeydown(o))return;const u=o.shiftKey,a=Be.findNextTabbable(n,l,void 0,i,void 0,u,!0),c=a==null?void 0:a.element,f=tv(n,i);if(c){const v=a.uncontrolled;if(l.uncontrolled||v!=null&&v.contains(i)){if(!a.outOfDOMOrder&&v===l.uncontrolled||f&&!f.contains(c))return;oo.addPhantomDummyWithTarget(n,i,u,c);return}if(v||c.tagName==="IFRAME"){oo.moveWithPhantomDummy(this._tabster,v??c,!1,u);return}(s||a!=null&&a.outOfDOMOrder)&&(o.preventDefault(),o.stopImmediatePropagation(),qt(c))}else f||l.root.moveOutWithDefaultAction(u)},this._onChanged=(o,i)=>{var n,s;if(o)no(o,Za,i);else{const l=(n=this._lastVal)===null||n===void 0?void 0:n.get();if(l){const u={...i},a=Ie.getTabsterContext(this._tabster,l),c=(s=a==null?void 0:a.modalizer)===null||s===void 0?void 0:s.userId;c&&(u.modalizerId=c),no(l,Ya,u)}}},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win();t.document.removeEventListener(at,this._onFocusIn,!0),t.document.removeEventListener("focusout",this._onFocusOut,!0),t.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged),delete Be._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){var o,i;let n=Be._lastResetElement,s=n&&n.get();s&&r.contains(s)&&delete Be._lastResetElement,s=(i=(o=t._nextVal)===null||o===void 0?void 0:o.element)===null||i===void 0?void 0:i.get(),s&&r.contains(s)&&delete t._nextVal,n=t._lastVal,s=n&&n.get(),s&&r.contains(s)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var t;let r=(t=this._lastVal)===null||t===void 0?void 0:t.get();return(!r||r&&!hn(r.ownerDocument,r))&&(this._lastVal=r=void 0),r}focus(t,r,o){return this._tabster.focusable.isFocusable(t,r,!1,o)?(t.focus(),!0):!1}focusDefault(t){const r=this._tabster.focusable.findDefault({container:t});return r?(this._tabster.focusedElement.focus(r),!0):!1}getFirstOrLastTabbable(t,r){var o;const{container:i,ignoreAccessibility:n}=r;let s;if(i){const l=Ie.getTabsterContext(this._tabster,i);l&&(s=(o=Be.findNextTabbable(this._tabster,l,i,void 0,void 0,!t,n))===null||o===void 0?void 0:o.element)}return s&&!(i!=null&&i.contains(s))&&(s=void 0),s||void 0}_focusFirstOrLast(t,r){const o=this.getFirstOrLastTabbable(t,r);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const r=t.getAttribute("tabindex"),o=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),Be._lastResetElement=new ct(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",r),this._setOrRemoveAttribute(t,"aria-hidden",o)}return!0}_setOrRemoveAttribute(t,r,o){o===null?t.removeAttribute(r):t.setAttribute(r,o)}_setFocusedElement(t,r,o){var i,n;if(this._tabster._noop)return;const s={relatedTarget:r};if(t){const u=(i=Be._lastResetElement)===null||i===void 0?void 0:i.get();if(Be._lastResetElement=void 0,u===t||is(t))return;s.isFocusedProgrammatically=o;const a=Ie.getTabsterContext(this._tabster,t),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:t?new ct(this._win,t):void 0,details:s};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===l&&this.setVal(t,s),this._nextVal=void 0}setVal(t,r){super.setVal(t,r),t&&(this._lastVal=new ct(this._win,t))}static findNextTabbable(t,r,o,i,n,s,l){const u=o||r.root.getElement();if(!u)return null;let a=null;const c=Be._isTabbingTimer,f=t.getWindow();c&&f.clearTimeout(c),Be.isTabbing=!0,Be._isTabbingTimer=f.setTimeout(()=>{delete Be._isTabbingTimer,Be.isTabbing=!1},0);const v=r.modalizer,d=r.groupper,h=r.mover,m=k=>{var b;if(a=k.findNextTabbable(i,n,s,l),i&&!(a!=null&&a.element)){const y=k!==v&&((b=k.getElement())===null||b===void 0?void 0:b.parentElement);if(y){const P=Ie.getTabsterContext(t,i,{referenceElement:y});if(P){const x=k.getElement(),S=s?x:x&&cs(x)||x;S&&(a=Be.findNextTabbable(t,P,o,S,y,s,l),a&&(a.outOfDOMOrder=!0))}}}};if(d&&h)m(r.groupperBeforeMover?d:h);else if(d)m(d);else if(h)m(h);else if(v)m(v);else{const k={container:u,currentElement:i,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},b={};a={element:t.focusable[s?"findPrev":"findNext"](k,b),outOfDOMOrder:b.outOfDOMOrder,uncontrolled:b.uncontrolled}}return a}}Be.isTabbing=!1;/*!
105
+ * Copyright (c) Microsoft Corporation. All rights reserved.
106
+ * Licensed under the MIT License.
107
+ */class rv extends oo{constructor(t,r,o,i){super(o,t,ls.Groupper,i,!0),this._setHandlers((n,s,l)=>{var u,a;const c=t.get(),f=n.input;if(c&&f){const v=Ie.getTabsterContext(o,f);if(v){let d;d=(u=r.findNextTabbable(l||void 0,void 0,s,!0))===null||u===void 0?void 0:u.element,d||(d=(a=Be.findNextTabbable(o,v,void 0,n.isOutside?f:Zh(c,!s),void 0,s,!0))===null||a===void 0?void 0:a.element),d&&qt(d)}}})}}class ov extends ss{constructor(t,r,o,i,n){super(t,r,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=o,t.controlTab||(this.dummyManager=new rv(this._element,this,t,n))}dispose(){var t;this._onDispose(this);const r=this._element.get();(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,r&&process.env.NODE_ENV==="development"&&vs(this._element,!0),delete this._first}findNextTabbable(t,r,o,i){var n;const s=this.getElement();if(!s)return null;const l=((n=t==null?void 0:t.__tabsterDummyContainer)===null||n===void 0?void 0:n.get())===s;if(!this._shouldTabInside&&t&&s.contains(t)&&!l)return{element:void 0,outOfDOMOrder:!0};const u=this.getFirst(!0);if(!t||!s.contains(t)||l)return{element:u,outOfDOMOrder:!0};const a=this._tabster;let c=null,f=!1,v;if(this._shouldTabInside&&u){const d={container:s,currentElement:t,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},h={};c=a.focusable[o?"findPrev":"findNext"](d,h),f=!!h.outOfDOMOrder,!c&&this._props.tabbability===Qa.LimitedTrapFocus&&(c=a.focusable[o?"findLast":"findFirst"]({container:s,ignoreAccessibility:i,useActiveModalizer:!0},h),f=!0),v=h.uncontrolled}return{element:c,uncontrolled:v,outOfDOMOrder:f}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability,process.env.NODE_ENV==="development"&&vs(this._element,!this._shouldTabInside)}isActive(t){var r;const o=this.getElement()||null;let i=!0;for(let s=o==null?void 0:o.parentElement;s;s=s.parentElement){const l=(r=lt(this._tabster,s))===null||r===void 0?void 0:r.groupper;l&&(l._shouldTabInside||(i=!1))}let n=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(n&&t){const s=this._tabster.focusedElement.getFocusedElement();s&&(n=s!==this.getFirst(!0))}return n}getFirst(t){var r;const o=this.getElement();let i;if(o){if(t&&this._tabster.focusable.isFocusable(o))return o;i=(r=this._first)===null||r===void 0?void 0:r.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new ct(this._tabster.getWindow,t):delete this._first}acceptElement(t,r){var o;const i=r.cachedGrouppers,n=(o=this.getElement())===null||o===void 0?void 0:o.parentElement,s=n&&Ie.getTabsterContext(this._tabster,n),l=s==null?void 0:s.groupper,u=s!=null&&s.groupperBeforeMover?l:void 0;let a;const c=d=>{let h=i[d.id],m;return h?m=h.isActive:(m=this.isActive(!0),h=i[d.id]={isActive:m}),m};if(u&&(a=u.getElement(),!c(u)&&a&&r.container!==a&&r.container.contains(a)))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const f=c(this),v=this.getElement();if(v&&f!==!0){if(v===t&&l&&(a||(a=l.getElement()),a&&!c(l)&&r.container.contains(a)&&a!==r.container)||v!==t&&v.contains(t))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const d=i[this.id];let h;if("first"in d?h=d.first:h=d.first=this.getFirst(!0),h&&r.acceptCondition(h))return r.rejectElementsFrom=v,r.skippedFocusable=!0,h!==r.from?(r.found=!0,r.foundElement=h,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class nv{constructor(t,r){this._current={},this._grouppers={},this._init=()=>{const o=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus),o.document.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0)},this._onGroupperDispose=o=>{delete this._grouppers[o.id]},this._onFocus=o=>{o&&this._updateCurrent(o,!0,!0)},this._onMouseDown=o=>{o.target&&this._updateCurrent(o.target,!0)},this._onKeyDown=o=>{if(o.keyCode!==_r.Enter&&o.keyCode!==_r.Esc||o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,o)},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){const t=this._win();this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),t.document.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._grouppers).forEach(r=>{this._grouppers[r]&&(this._grouppers[r].dispose(),delete this._grouppers[r])})}createGroupper(t,r,o){process.env.NODE_ENV;const i=new ov(this._tabster,t,this._onGroupperDispose,r,o);this._grouppers[i.id]=i;const n=this._tabster.focusedElement.getFocusedElement();return n&&t.contains(n)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,n===this._tabster.focusedElement.getFocusedElement()&&this._updateCurrent(n,!0,!0)},0)),i}forgetCurrentGrouppers(){this._current={}}_updateCurrent(t,r,o){var i;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const n={};let s=!0;for(let l=t;l;l=l.parentElement){const u=(i=lt(this._tabster,l))===null||i===void 0?void 0:i.groupper;if(u){if(n[u.id]=!0,s&&o&&l!==t&&(s=!1),r||!s){this._current[u.id]=u;const a=u.isActive()||t!==l&&(!u.getProps().delegated||u.getFirst(!1)!==t);u.makeTabbable(a)}s=!1}}for(const l of Object.keys(this._current)){const u=this._current[l];u.id in n||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[l])}}handleKeyPress(t,r,o){var i;const n=this._tabster,s=Ie.getTabsterContext(n,t),l=s==null?void 0:s.modalizerInGroupper;let u=(s==null?void 0:s.groupper)||l;if(s&&u){if(s.ignoreKeydown(r))return;let a;const c=u.getElement();if(r.keyCode===_r.Enter)c&&(t===c||u.getProps().delegated&&t===u.getFirst(!1))&&(a=n.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0}));else if(r.keyCode===_r.Esc){if(c&&c.contains(t))if(t!==c||o)a=u.getFirst(!0);else{const f=c.parentElement,v=f?Ie.getTabsterContext(n,f):void 0;u=v==null?void 0:v.groupper,a=u==null?void 0:u.getFirst(!0)}u&&(u.makeTabbable(!1),l&&((i=n.modalizer)===null||i===void 0||i.setActive(void 0)))}a&&(r.preventDefault(),r.stopImmediatePropagation(),a.focus())}}}function vs(e,t){if(process.env.NODE_ENV==="development"){const r=e.get();r&&(t?r.style.removeProperty("--tabster-groupper"):r.style.setProperty("--tabster-groupper","unlimited"))}}/*!
108
+ * Copyright (c) Microsoft Corporation. All rights reserved.
109
+ * Licensed under the MIT License.
110
+ */class iv extends hs{constructor(t){super(),this._onChange=r=>{this.setVal(r,void 0)},this._keyborg=an(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),sn(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){var r;(r=this._keyborg)===null||r===void 0||r.setVal(t)}isNavigatingWithKeyboard(){var t;return!!(!((t=this._keyborg)===null||t===void 0)&&t.isNavigatingWithKeyboard())}}/*!
111
+ * Copyright (c) Microsoft Corporation. All rights reserved.
112
+ * Licensed under the MIT License.
113
+ */function av(e,t,r,o){if(typeof MutationObserver>"u")return()=>{};const i=t.getWindow;let n;const s=c=>{var f,v,d,h,m;for(const k of c){const b=k.target,y=k.removedNodes,P=k.addedNodes;if(k.type==="attributes")k.attributeName===st&&r(t,b);else{for(let x=0;x<y.length;x++)l(y[x],!0),(v=(f=t._dummyObserver).domChanged)===null||v===void 0||v.call(f,b);for(let x=0;x<P.length;x++)l(P[x]),(h=(d=t._dummyObserver).domChanged)===null||h===void 0||h.call(d,b)}}(m=t.modalizer)===null||m===void 0||m.hiddenUpdate()};function l(c,f){n||(n=At(i).elementByUId),u(c,f);const v=ns(e,c,d=>u(d,f));if(v)for(;v.nextNode(););}function u(c,f){var v;if(!c.getAttribute)return NodeFilter.FILTER_SKIP;const d=c.__tabsterElementUID;return d&&n&&(f?delete n[d]:(v=n[d])!==null&&v!==void 0||(n[d]=new ct(i,c))),(lt(t,c)||c.hasAttribute(st))&&r(t,c,f),NodeFilter.FILTER_SKIP}const a=new MutationObserver(s);return o&&l(i().document.body),a.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[st]}),()=>{a.disconnect()}}/*!
114
+ * Copyright (c) Microsoft Corporation. All rights reserved.
115
+ * Licensed under the MIT License.
116
+ */class sv{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,r){var o;const i=(o=this._isUncontrolledCompletely)===null||o===void 0?void 0:o.call(this,t,r);return i===void 0?r:i}}/*!
117
+ * Copyright (c) Microsoft Corporation. All rights reserved.
118
+ * Licensed under the MIT License.
119
+ */class lv{constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class cv{constructor(t,r){var o,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="5.1.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Ih(t),this._win=t;const n=this.getWindow;this.keyboardNavigation=new iv(n),this.focusedElement=new Be(this,n),this.focusable=new ev(this),this.root=new Ie(this,r==null?void 0:r.autoRoot),this.uncontrolled=new sv((r==null?void 0:r.checkUncontrolledCompletely)||(r==null?void 0:r.checkUncontrolledTrappingFocus)),this.controlTab=(o=r==null?void 0:r.controlTab)!==null&&o!==void 0?o:!0,this.rootDummyInputs=!!(r!=null&&r.rootDummyInputs),this._dummyObserver=new Xh(n),this.getParent=(i=r==null?void 0:r.getParent)!==null&&i!==void 0?i:s=>s.parentElement,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const l=n().document;this._unobserve=av(l,this,es,s)}}},os(n),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){var r;t&&(this.getParent=(r=t.getParent)!==null&&r!==void 0?r:this.getParent)}createTabster(t,r){const o=new lv(this);return t||this._wrappers.add(o),this._mergeProps(r),o}disposeTabster(t,r){r?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){var t,r,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),(t=this.outline)===null||t===void 0||t.dispose(),(r=this.crossOrigin)===null||r===void 0||r.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(),Lh(this.getWindow),as(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Oh(a),delete a.__tabsterInstance,delete this._win)}storageEntry(t,r){const o=this._storage;let i=o.get(t);return i?r===!1&&Object.keys(i).length===0&&o.delete(t):r===!0&&(i={},o.set(t,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())as(this.getWindow,t),Be.forgetMemorized(this.focusedElement,t)},0),rs(this.getWindow,!0)))}queueInit(t){var r;this._win&&(this._initQueue.push(t),this._initTimer||(this._initTimer=(r=this._win)===null||r===void 0?void 0:r.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(r=>r())}}function uv(e,t){let r=hv(e);return r?r.createTabster(!1,t):(r=new cv(e,t),e.__tabsterInstance=r,r.createTabster())}function fv(e){const t=e.core;return t.groupper||(t.groupper=new nv(t,t.getWindow)),t.groupper}function dv(e,t){e.core.disposeTabster(e,t)}function hv(e){return e.__tabsterInstance}const vn=()=>{const{targetDocument:e}=mt(),t=(e==null?void 0:e.defaultView)||void 0,r=p.useMemo(()=>t?uv(t,{autoRoot:{},controlTab:!1,getParent:Pd,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))}}):null,[t]);return Et(()=>()=>{r&&dv(r)},[r]),r},vv=e=>(vn(),us(e)),gv=e=>{const t=vn();return t&&fv(t),vv({groupper:{tabbability:pv(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})},pv=e=>{switch(e){case"unlimited":return un.GroupperTabbabilities.Unlimited;case"limited":return un.GroupperTabbabilities.Limited;case"limited-trap-focus":return un.GroupperTabbabilities.LimitedTrapFocus;default:return}},mv=()=>{const e=vn(),{targetDocument:t}=mt(),r=p.useCallback((l,u)=>(e==null?void 0:e.focusable.findAll({container:l,acceptCondition:u}))||[],[e]),o=p.useCallback(l=>e==null?void 0:e.focusable.findFirst({container:l}),[e]),i=p.useCallback(l=>e==null?void 0:e.focusable.findLast({container:l}),[e]),n=p.useCallback((l,u={})=>{if(!e||!t)return null;const{container:a=t.body}=u;return e.focusable.findNext({currentElement:l,container:a})},[e,t]),s=p.useCallback((l,u={})=>{if(!e||!t)return null;const{container:a=t.body}=u;return e.focusable.findPrev({currentElement:l,container:a})},[e,t]);return{findAllFocusable:r,findFirstFocusable:o,findLastFocusable:i,findNextFocusable:n,findPrevFocusable:s}},gs="data-fui-focus-visible",ps="data-fui-focus-within";function bv(e,t){if(ms(e))return()=>{};const r={current:void 0},o=an(t);function i(u){o.isNavigatingWithKeyboard()&&Rt(u)&&(r.current=u,u.setAttribute(gs,""))}function n(){r.current&&(r.current.removeAttribute(gs),r.current=void 0)}o.subscribe(u=>{u||n()});const s=u=>{n(),i(u.target)},l=u=>{(!u.relatedTarget||Rt(u.relatedTarget)&&!e.contains(u.relatedTarget))&&n()};return e.addEventListener(at,s),e.addEventListener("focusout",l),e.focusVisible=!0,i(t.document.activeElement),()=>{n(),e.removeEventListener(at,s),e.removeEventListener("focusout",l),delete e.focusVisible,sn(o)}}function ms(e){return e?e.focusVisible?!0:ms(e==null?void 0:e.parentElement):!1}function yv(e={}){const t=mt(),r=p.useRef(null);var o;const i=(o=e.targetDocument)!==null&&o!==void 0?o:t.targetDocument;return p.useEffect(()=>{if(i!=null&&i.defaultView&&r.current)return bv(r.current,i.defaultView)},[r,i]),r}function wv(e,t){const r=an(t);r.subscribe(n=>{n||bs(e)});const o=n=>{r.isNavigatingWithKeyboard()&&ys(n.target)&&kv(e)},i=n=>{(!n.relatedTarget||ys(n.relatedTarget)&&!e.contains(n.relatedTarget))&&bs(e)};return e.addEventListener(at,o),e.addEventListener("focusout",i),()=>{e.removeEventListener(at,o),e.removeEventListener("focusout",i),sn(r)}}function kv(e){e.setAttribute(ps,"")}function bs(e){e.removeAttribute(ps)}function ys(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function xv(){const{targetDocument:e}=mt(),t=p.useRef(null);return p.useEffect(()=>{if(e!=null&&e.defaultView&&t.current)return wv(t.current,e.defaultView)},[t,e]),t}const gn={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)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",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)",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)"};var pn={exports:{}},mn={};/** @license React v0.20.2
120
+ * scheduler.development.js
121
+ *
122
+ * Copyright (c) Facebook, Inc. and its affiliates.
123
+ *
124
+ * This source code is licensed under the MIT license found in the
125
+ * LICENSE file in the root directory of this source tree.
126
+ */var ws;function Bv(){return ws||(ws=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=!1,r=!1,o,i,n,s,l=typeof performance=="object"&&typeof performance.now=="function";if(l){var u=performance;e.unstable_now=function(){return u.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}if(typeof window>"u"||typeof MessageChannel!="function"){var f=null,v=null,d=function(){if(f!==null)try{var E=e.unstable_now(),D=!0;f(D,E),f=null}catch(K){throw setTimeout(d,0),K}};o=function(E){f!==null?setTimeout(o,0,E):(f=E,setTimeout(d,0))},i=function(E,D){v=setTimeout(E,D)},n=function(){clearTimeout(v)},e.unstable_shouldYield=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,m=window.clearTimeout;if(typeof console<"u"){var k=window.requestAnimationFrame,b=window.cancelAnimationFrame;typeof k!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof b!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,P=null,x=-1,S=5,w=0;e.unstable_shouldYield=function(){return e.unstable_now()>=w},s=function(){},e.unstable_forceFrameRate=function(E){if(E<0||E>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}E>0?S=Math.floor(1e3/E):S=5};var _=function(){if(P!==null){var E=e.unstable_now();w=E+S;var D=!0;try{var K=P(D,E);K?R.postMessage(null):(y=!1,P=null)}catch(fe){throw R.postMessage(null),fe}}else y=!1},F=new MessageChannel,R=F.port2;F.port1.onmessage=_,o=function(E){P=E,y||(y=!0,R.postMessage(null))},i=function(E,D){x=h(function(){E(e.unstable_now())},D)},n=function(){m(x),x=-1}}function V(E,D){var K=E.length;E.push(D),B(E,D,K)}function G(E){var D=E[0];return D===void 0?null:D}function O(E){var D=E[0];if(D!==void 0){var K=E.pop();return K!==D&&(E[0]=K,L(E,K,0)),D}else return null}function B(E,D,K){for(var fe=K;;){var Pe=fe-1>>>1,ze=E[Pe];if(ze!==void 0&&Y(ze,D)>0)E[Pe]=D,E[fe]=ze,fe=Pe;else return}}function L(E,D,K){for(var fe=K,Pe=E.length;fe<Pe;){var ze=(fe+1)*2-1,Ee=E[ze],it=ze+1,Te=E[it];if(Ee!==void 0&&Y(Ee,D)<0)Te!==void 0&&Y(Te,Ee)<0?(E[fe]=Te,E[it]=D,fe=it):(E[fe]=Ee,E[ze]=D,fe=ze);else if(Te!==void 0&&Y(Te,D)<0)E[fe]=Te,E[it]=D,fe=it;else return}}function Y(E,D){var K=E.sortIndex-D.sortIndex;return K!==0?K:E.id-D.id}var te=1,ne=2,ae=3,de=4,Le=5;function N(E,D){}var I=1073741823,q=-1,re=250,he=5e3,Se=1e4,Ce=I,ve=[],ge=[],Q=1,T=null,ie=ae,_e=!1,Ne=!1,He=!1;function Xe(E){for(var D=G(ge);D!==null;){if(D.callback===null)O(ge);else if(D.startTime<=E)O(ge),D.sortIndex=D.expirationTime,V(ve,D);else return;D=G(ge)}}function Bt(E){if(He=!1,Xe(E),!Ne)if(G(ve)!==null)Ne=!0,o(ir);else{var D=G(ge);D!==null&&i(Bt,D.startTime-E)}}function ir(E,D){Ne=!1,He&&(He=!1,n()),_e=!0;var K=ie;try{var fe;if(!r)return ar(E,D)}finally{T=null,ie=K,_e=!1}}function ar(E,D){var K=D;for(Xe(K),T=G(ve);T!==null&&!t&&!(T.expirationTime>K&&(!E||e.unstable_shouldYield()));){var fe=T.callback;if(typeof fe=="function"){T.callback=null,ie=T.priorityLevel;var Pe=T.expirationTime<=K,ze=fe(Pe);K=e.unstable_now(),typeof ze=="function"?T.callback=ze:T===G(ve)&&O(ve),Xe(K)}else O(ve);T=G(ve)}if(T!==null)return!0;var Ee=G(ge);return Ee!==null&&i(Bt,Ee.startTime-K),!1}function Wn(E,D){switch(E){case te:case ne:case ae:case de:case Le:break;default:E=ae}var K=ie;ie=E;try{return D()}finally{ie=K}}function Un(E){var D;switch(ie){case te:case ne:case ae:D=ae;break;default:D=ie;break}var K=ie;ie=D;try{return E()}finally{ie=K}}function Rr(E){var D=ie;return function(){var K=ie;ie=D;try{return E.apply(this,arguments)}finally{ie=K}}}function Gn(E,D,K){var fe=e.unstable_now(),Pe;if(typeof K=="object"&&K!==null){var ze=K.delay;typeof ze=="number"&&ze>0?Pe=fe+ze:Pe=fe}else Pe=fe;var Ee;switch(E){case te:Ee=q;break;case ne:Ee=re;break;case Le:Ee=Ce;break;case de:Ee=Se;break;case ae:default:Ee=he;break}var it=Pe+Ee,Te={id:Q++,callback:D,priorityLevel:E,startTime:Pe,expirationTime:it,sortIndex:-1};return Pe>fe?(Te.sortIndex=Pe,V(ge,Te),G(ve)===null&&Te===G(ge)&&(He?n():He=!0,i(Bt,Pe-fe))):(Te.sortIndex=it,V(ve,Te),!Ne&&!_e&&(Ne=!0,o(ir))),Te}function Xn(){}function yo(){!Ne&&!_e&&(Ne=!0,o(ir))}function wo(){return G(ve)}function Mt(E){E.callback=null}function Kn(){return ie}var ko=s,xo=null;e.unstable_IdlePriority=Le,e.unstable_ImmediatePriority=te,e.unstable_LowPriority=de,e.unstable_NormalPriority=ae,e.unstable_Profiling=xo,e.unstable_UserBlockingPriority=ne,e.unstable_cancelCallback=Mt,e.unstable_continueExecution=yo,e.unstable_getCurrentPriorityLevel=Kn,e.unstable_getFirstCallbackNode=wo,e.unstable_next=Un,e.unstable_pauseExecution=Xn,e.unstable_requestPaint=ko,e.unstable_runWithPriority=Wn,e.unstable_scheduleCallback=Gn,e.unstable_wrapCallback=Rr}()}(mn)),mn}var bn={};/** @license React v0.20.2
127
+ * scheduler.production.min.js
128
+ *
129
+ * Copyright (c) Facebook, Inc. and its affiliates.
130
+ *
131
+ * This source code is licensed under the MIT license found in the
132
+ * LICENSE file in the root directory of this source tree.
133
+ */var ks;function _v(){return ks||(ks=1,function(e){var t,r,o,i;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}}if(typeof window>"u"||typeof MessageChannel!="function"){var u=null,a=null,c=function(){if(u!==null)try{var N=e.unstable_now();u(!0,N),u=null}catch(I){throw setTimeout(c,0),I}};t=function(N){u!==null?setTimeout(t,0,N):(u=N,setTimeout(c,0))},r=function(N,I){a=setTimeout(N,I)},o=function(){clearTimeout(a)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,v=window.clearTimeout;if(typeof console<"u"){var d=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof d!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,k=-1,b=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},i=function(){},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<N?Math.floor(1e3/N):5};var P=new MessageChannel,x=P.port2;P.port1.onmessage=function(){if(m!==null){var N=e.unstable_now();y=N+b;try{m(!0,N)?x.postMessage(null):(h=!1,m=null)}catch(I){throw x.postMessage(null),I}}else h=!1},t=function(N){m=N,h||(h=!0,x.postMessage(null))},r=function(N,I){k=f(function(){N(e.unstable_now())},I)},o=function(){v(k),k=-1}}function S(N,I){var q=N.length;N.push(I);e:for(;;){var re=q-1>>>1,he=N[re];if(he!==void 0&&0<F(he,I))N[re]=I,N[q]=he,q=re;else break e}}function w(N){return N=N[0],N===void 0?null:N}function _(N){var I=N[0];if(I!==void 0){var q=N.pop();if(q!==I){N[0]=q;e:for(var re=0,he=N.length;re<he;){var Se=2*(re+1)-1,Ce=N[Se],ve=Se+1,ge=N[ve];if(Ce!==void 0&&0>F(Ce,q))ge!==void 0&&0>F(ge,Ce)?(N[re]=ge,N[ve]=q,re=ve):(N[re]=Ce,N[Se]=q,re=Se);else if(ge!==void 0&&0>F(ge,q))N[re]=ge,N[ve]=q,re=ve;else break e}}return I}return null}function F(N,I){var q=N.sortIndex-I.sortIndex;return q!==0?q:N.id-I.id}var R=[],V=[],G=1,O=null,B=3,L=!1,Y=!1,te=!1;function ne(N){for(var I=w(V);I!==null;){if(I.callback===null)_(V);else if(I.startTime<=N)_(V),I.sortIndex=I.expirationTime,S(R,I);else break;I=w(V)}}function ae(N){if(te=!1,ne(N),!Y)if(w(R)!==null)Y=!0,t(de);else{var I=w(V);I!==null&&r(ae,I.startTime-N)}}function de(N,I){Y=!1,te&&(te=!1,o()),L=!0;var q=B;try{for(ne(I),O=w(R);O!==null&&(!(O.expirationTime>I)||N&&!e.unstable_shouldYield());){var re=O.callback;if(typeof re=="function"){O.callback=null,B=O.priorityLevel;var he=re(O.expirationTime<=I);I=e.unstable_now(),typeof he=="function"?O.callback=he:O===w(R)&&_(R),ne(I)}else _(R);O=w(R)}if(O!==null)var Se=!0;else{var Ce=w(V);Ce!==null&&r(ae,Ce.startTime-I),Se=!1}return Se}finally{O=null,B=q,L=!1}}var Le=i;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(N){N.callback=null},e.unstable_continueExecution=function(){Y||L||(Y=!0,t(de))},e.unstable_getCurrentPriorityLevel=function(){return B},e.unstable_getFirstCallbackNode=function(){return w(R)},e.unstable_next=function(N){switch(B){case 1:case 2:case 3:var I=3;break;default:I=B}var q=B;B=I;try{return N()}finally{B=q}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Le,e.unstable_runWithPriority=function(N,I){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var q=B;B=N;try{return I()}finally{B=q}},e.unstable_scheduleCallback=function(N,I,q){var re=e.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?re+q:re):q=re,N){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=q+he,N={id:G++,callback:I,priorityLevel:N,startTime:q,expirationTime:he,sortIndex:-1},q>re?(N.sortIndex=q,S(V,N),w(R)===null&&N===w(V)&&(te?o():te=!0,r(ae,q-re))):(N.sortIndex=he,S(R,N),Y||L||(Y=!0,t(de))),N},e.unstable_wrapCallback=function(N){var I=B;return function(){var q=B;B=I;try{return N.apply(this,arguments)}finally{B=q}}}}(bn)),bn}process.env.NODE_ENV==="production"?pn.exports=_v():pn.exports=Bv();var xs=pn.exports;const Pv=e=>{const t=r=>{const o=p.useRef(r.value),i=p.useRef(0),n=p.useRef();return n.current||(n.current={value:o,version:i,listeners:[]}),Et(()=>{o.current=r.value,i.current+=1,xs.unstable_runWithPriority(xs.unstable_NormalPriority,()=>{n.current.listeners.forEach(s=>{s([i.current,r.value])})})},[r.value]),p.createElement(e,{value:n.current},r.children)};return process.env.NODE_ENV!=="production"&&(t.displayName="ContextSelector.Provider"),t},Bs=e=>{const t=p.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=Pv(t.Provider),delete t.Consumer,t},Me=(e,t)=>{const r=p.useContext(e),{value:{current:o},version:{current:i},listeners:n}=r,s=t(o),[l,u]=p.useReducer((a,c)=>{if(!c)return[o,s];if(c[0]<=i)return io(a[1],s)?a:[o,s];try{if(io(a[0],c[1]))return a;const f=t(c[1]);return io(a[1],f)?a:[c[1],f]}catch{}return[a[0],a[1]]},[o,s]);return io(l[1],s)||u(void 0),Et(()=>(n.push(u),()=>{const a=n.indexOf(u);n.splice(a,1)}),[n]),l[1]};function Sv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const io=typeof Object.is=="function"?Object.is:Sv;function _s(e){const t=p.useContext(e);return t.version?t.version.current!==-1:!1}const Yt="Enter",yt=" ",Cv="Tab",Ps="ArrowDown",zv="ArrowLeft",Tv="ArrowRight",yn="ArrowUp",Nv="End",Ev="Home",jv="PageDown",Rv="PageUp",Fv="Escape";function qv(e,t){const{disabled:r,disabledFocusable:o=!1,["aria-disabled"]:i,onClick:n,onKeyDown:s,onKeyUp:l,...u}=t??{},a=typeof i=="string"?i==="true":i,c=r||o||a,f=qe(h=>{c?(h.preventDefault(),h.stopPropagation()):n==null||n(h)}),v=qe(h=>{if(s==null||s(h),h.isDefaultPrevented())return;const m=h.key;if(c&&(m===Yt||m===yt)){h.preventDefault(),h.stopPropagation();return}if(m===yt){h.preventDefault();return}else m===Yt&&(h.preventDefault(),h.currentTarget.click())}),d=qe(h=>{if(l==null||l(h),h.isDefaultPrevented())return;const m=h.key;if(c&&(m===Yt||m===yt)){h.preventDefault(),h.stopPropagation();return}m===yt&&(h.preventDefault(),h.currentTarget.click())});if(e==="button"||e===void 0)return{...u,disabled:r&&!o,"aria-disabled":o?!0:a,onClick:o?void 0:f,onKeyUp:o?void 0:l,onKeyDown:o?void 0:s};{const h={role:"button",tabIndex:r&&!o?void 0:0,...u,onClick:f,onKeyUp:d,onKeyDown:v,"aria-disabled":r||o||a};return e==="a"&&c&&(h.href=void 0),h}}const Av=(e,t)=>{const r=Mf(e,t);var o;const i=qv((o=r==null?void 0:r.as)!==null&&o!==void 0?o:"button",r);return r&&i},Dv=e=>(ke(e),Ae(e.root,{children:[e.initials&&$(e.initials,{}),e.icon&&$(e.icon,{}),e.image&&$(e.image,{}),e.badge&&$(e.badge,{}),e.activeAriaLabelElement]})),Ov=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Iv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Mv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Lv=/\s+/g,Hv=/[\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 Vv(e,t,r){let o="";const i=e.split(" ");return i.length!==0&&(o+=i[0].charAt(0).toUpperCase()),r||(i.length===2?o+=i[1].charAt(0).toUpperCase():i.length===3&&(o+=i[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}function $v(e){return e=e.replace(Ov,""),e=e.replace(Iv,""),e=e.replace(Lv," "),e=e.trim(),e}function Wv(e,t,r){return!e||(e=$v(e),Hv.test(e)||!(r!=null&&r.allowPhoneInitials)&&Mv.test(e))?"":Vv(e,t,r==null?void 0:r.firstInitialOnly)}const Uv=(e,t)=>{const{shape:r="circular",size:o="medium",iconPosition:i="before",appearance:n="filled",color:s="brand"}=e;return{shape:r,size:o,iconPosition:i,appearance:n,color:s,components:{root:"div",icon:"span"},root:me(Fe("div",{ref:t,...e}),{elementType:"div"}),icon:J(e.icon,{elementType:"span"})}},Gv=e=>(ke(e),Ae(e.root,{children:[e.iconPosition==="before"&&e.icon&&$(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&$(e.icon,{})]})),Xv={tiny:ja,"extra-small":ja,small:Jd,medium:eh,large:Ra,"extra-large":Ra},Kv={tiny:Ta,"extra-small":Ta,small:Zd,medium:Qd,large:Ea,"extra-large":Ea},Zv={tiny:za,"extra-small":za,small:Kd,medium:Yd,large:Na,"extra-large":Na},Yv={tiny:Fa,"extra-small":Fa,small:th,medium:rh,large:qa,"extra-large":qa},Qv={tiny:Aa,"extra-small":Aa,small:oh,medium:nh,large:Da,"extra-large":Da},Jv={tiny:Oa,"extra-small":Oa,small:ih,medium:sh,large:Ma,"extra-large":Ma},eg={tiny:Ia,"extra-small":Ia,small:ah,medium:lh,large:La,"extra-large":La},wn={tiny:$a,"extra-small":$a,small:fh,medium:dh,large:Wa,"extra-large":Wa},tg={tiny:Ha,"extra-small":Ha,small:ch,medium:uh,large:Va,"extra-large":Va},Ss={tiny:Ua,"extra-small":Ua,small:hh,medium:vh,large:Ga,"extra-large":Ga},rg=(e,t,r)=>{switch(e){case"available":return t?Kv[r]:Zv[r];case"away":return t?wn[r]:Xv[r];case"blocked":return Yv[r];case"busy":return t?Ss[r]:Qv[r];case"do-not-disturb":return t?eg[r]:Jv[r];case"offline":return t?wn[r]:tg[r];case"out-of-office":return wn[r];case"unknown":return Ss[r]}},Cs={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},og=(e,t)=>{const{size:r="medium",status:o="available",outOfOffice:i=!1}=e,n=Cs[o],s=e.outOfOffice&&e.status!=="out-of-office"?` ${Cs["out-of-office"]}`:"",l=rg(o,i,r);return{...Uv({"aria-label":n+s,role:"img",...e,size:r,icon:J(e.icon,{defaultProps:{children:l?p.createElement(l,null):null},renderByDefault:!0,elementType:"span"})},t),status:o,outOfOffice:i}},zs={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},ng=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",ig=Re("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;}"]),ag=Re("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),sg=U({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;}"]}),lg=e=>{const t=ig(),r=ag(),o=sg(),i=ng(e.status);return e.root.className=A(zs.root,t,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=A(zs.icon,r,e.icon.className)),e},Pr=p.forwardRef((e,t)=>{const r=og(e,t);return lg(r),Ye("usePresenceBadgeStyles_unstable")(r),Gv(r)});Pr.displayName="PresenceBadge";const Ts=p.createContext(void 0),cg={};Ts.Provider;const ug=()=>{var e;return(e=p.useContext(Ts))!==null&&e!==void 0?e:cg},fg={active:"active",inactive:"inactive"},dg=(e,t)=>{const{dir:r}=mt(),{shape:o,size:i}=ug(),{name:n,size:s=i??32,shape:l=o??"circular",active:u="unset",activeAppearance:a="ring",idForColor:c}=e;let{color:f="neutral"}=e;if(f==="colorful"){var v;f=Ns[vg((v=c??n)!==null&&v!==void 0?v:"")%Ns.length]}const d=jt("avatar-"),h=me(Fe("span",{role:"img",id:d,...e,ref:t},["name"]),{elementType:"span"}),[m,k]=p.useState(void 0);let b=J(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});b!=null&&b.src||(b=void 0),b&&(b.onError=xe(b.onError,()=>k(!0)),b.onLoad=xe(b.onLoad,()=>k(void 0)));let y=J(e.initials,{renderByDefault:!0,defaultProps:{children:Wv(n,r==="rtl",{firstInitialOnly:s<=16}),id:d+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let P;!y&&(!b||m)&&(P=J(e.icon,{renderByDefault:!0,defaultProps:{children:p.createElement(Wd,null),"aria-hidden":!0},elementType:"span"}));const x=J(e.badge,{defaultProps:{size:hg(s),id:d+"__badge"},elementType:Pr});let S;if(!h["aria-label"]&&!h["aria-labelledby"]&&(n?(h["aria-label"]=n,x&&(h["aria-labelledby"]=h.id+" "+x.id)):y&&(h["aria-labelledby"]=y.id+(x?" "+x.id:"")),u==="active"||u==="inactive")){const w=fg[u];if(h["aria-labelledby"]){const _=d+"__active";h["aria-labelledby"]+=" "+_,S=p.createElement("span",{hidden:!0,id:_},w)}else h["aria-label"]&&(h["aria-label"]+=" "+w)}return{size:s,shape:l,active:u,activeAppearance:a,activeAriaLabelElement:S,color:f,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Pr},root:h,initials:y,icon:P,image:b,badge:x}},hg=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ns=["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"],vg=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),i=r%8;t^=(o<<i)+(o>>8-i)}return t},Sr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},gg=Re("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;}}"]}),pg=Re("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;}"]),mg=Re("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;-ms-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;-ms-user-select:none;user-select:none;border-radius:inherit;}"]),bg=U({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"]},squareMedium:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},squareLarge:{Bbmb7ep:["f1ldthgs","frrelxk"],Beyfa6y:["frrelxk","f1ldthgs"],B7oj6ja:["fobrfso","ffisxpw"],Btl43ni:["ffisxpw","fobrfso"]},squareXLarge:{Bbmb7ep:["fnivh3a","fc7yr5o"],Beyfa6y:["fc7yr5o","fnivh3a"],B7oj6ja:["f1el4m67","f8yange"],Btl43ni:["f8yange","f1el4m67"]},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",Bucmhp4:"f1f5ar78",b2tv09:["fqxtap0","fhjukvy"],Bfgortx:"f1qj1nzo",Bnvr3x9:["fhjukvy","fqxtap0"],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);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f1ldthgs{border-bottom-right-radius:var(--borderRadiusLarge);}",".frrelxk{border-bottom-left-radius:var(--borderRadiusLarge);}",".fobrfso{border-top-right-radius:var(--borderRadiusLarge);}",".ffisxpw{border-top-left-radius:var(--borderRadiusLarge);}",".fnivh3a{border-bottom-right-radius:var(--borderRadiusXLarge);}",".fc7yr5o{border-bottom-left-radius:var(--borderRadiusXLarge);}",".f1el4m67{border-top-right-radius:var(--borderRadiusXLarge);}",".f8yange{border-top-left-radius:var(--borderRadiusXLarge);}",".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);}",".f1f5ar78::before,.f1f5ar78::after{margin-top:0;}",".fqxtap0::before,.fqxtap0::after{margin-right:0;}",".fhjukvy::before,.fhjukvy::after{margin-left:0;}",".f1qj1nzo::before,.f1qj1nzo::after{margin-bottom:0;}",".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)"}]]}),yg=U({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;}"]}),wg=U({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);}"]}),kg=U({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);}"]}),xg=e=>{const{size:t,shape:r,active:o,activeAppearance:i,color:n}=e,s=gg(),l=pg(),u=mg(),a=bg(),c=yg(),f=wg(),v=kg(),d=[s,t!==32&&c[t]];if(e.badge&&d.push(a.badgeAlign,a[e.badge.size||"medium"]),t<=24?d.push(a.textCaption2Strong):t<=28?d.push(a.textCaption1Strong):t<=40||(t<=56?d.push(a.textSubtitle2):t<=96?d.push(a.textSubtitle1):d.push(a.textTitle3)),r==="square"&&(t<=24?d.push(a.squareSmall):t<=48?d.push(a.squareMedium):t<=72?d.push(a.squareLarge):d.push(a.squareXLarge)),(o==="active"||o==="inactive")&&(d.push(a.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(d.push(a.ring,v[n]),e.badge&&d.push(a.ringBadgeCutout),t<=48?d.push(a.ringThick):t<=64?d.push(a.ringThicker):d.push(a.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(d.push(a.shadow),t<=28?d.push(a.shadow4):t<=48?d.push(a.shadow8):t<=64?d.push(a.shadow16):d.push(a.shadow28)),o==="inactive"&&d.push(a.inactive)),e.root.className=A(Sr.root,...d,e.root.className),e.badge&&(e.badge.className=A(Sr.badge,a.badge,e.badge.className)),e.image&&(e.image.className=A(Sr.image,l,f[n],e.badge&&a.badgeCutout,e.image.className)),e.initials&&(e.initials.className=A(Sr.initials,u,f[n],e.badge&&a.badgeCutout,e.initials.className)),e.icon){let h;t<=16?h=a.icon12:t<=24?h=a.icon16:t<=40?h=a.icon20:t<=48?h=a.icon24:t<=56?h=a.icon28:t<=72?h=a.icon32:h=a.icon48,e.icon.className=A(Sr.icon,u,h,f[n],e.badge&&a.badgeCutout,e.icon.className)}return e},kn=p.forwardRef((e,t)=>{const r=dg(e,t);return xg(r),Ye("useAvatarStyles_unstable")(r),Dv(r)});kn.displayName="Avatar";const Es="data-popper-is-intersecting",js="data-popper-escaped",Rs="data-popper-reference-hidden",Bg="data-popper-placement",_g=["top","right","bottom","left"],Dt=Math.min,Ue=Math.max,ao=Math.round,wt=e=>({x:e,y:e}),Pg={left:"right",right:"left",bottom:"top",top:"bottom"},Sg={start:"end",end:"start"};function xn(e,t,r){return Ue(e,Dt(t,r))}function ut(e,t){return typeof e=="function"?e(t):e}function ft(e){return e.split("-")[0]}function Qt(e){return e.split("-")[1]}function Bn(e){return e==="x"?"y":"x"}function _n(e){return e==="y"?"height":"width"}function Jt(e){return["top","bottom"].includes(ft(e))?"y":"x"}function Pn(e){return Bn(Jt(e))}function Cg(e,t,r){r===void 0&&(r=!1);const o=Qt(e),i=Pn(e),n=_n(i);let s=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=so(s)),[s,so(s)]}function zg(e){const t=so(e);return[Sn(e),t,Sn(t)]}function Sn(e){return e.replace(/start|end/g,t=>Sg[t])}function Tg(e,t,r){const o=["left","right"],i=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:o:t?o:i;case"left":case"right":return t?n:s;default:return[]}}function Ng(e,t,r,o){const i=Qt(e);let n=Tg(ft(e),r==="start",o);return i&&(n=n.map(s=>s+"-"+i),t&&(n=n.concat(n.map(Sn)))),n}function so(e){return e.replace(/left|right|bottom|top/g,t=>Pg[t])}function Eg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fs(e){return typeof e!="number"?Eg(e):{top:e,right:e,bottom:e,left:e}}function lo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qs(e,t,r){let{reference:o,floating:i}=e;const n=Jt(t),s=Pn(t),l=_n(s),u=ft(t),a=n==="y",c=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,v=o[l]/2-i[l]/2;let d;switch(u){case"top":d={x:c,y:o.y-i.height};break;case"bottom":d={x:c,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:f};break;case"left":d={x:o.x-i.width,y:f};break;default:d={x:o.x,y:o.y}}switch(Qt(t)){case"start":d[s]-=v*(r&&a?-1:1);break;case"end":d[s]+=v*(r&&a?-1:1);break}return d}const jg=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:s}=r,l=n.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=qs(a,o,u),v=o,d={},h=0;for(let m=0;m<l.length;m++){const{name:k,fn:b}=l[m],{x:y,y:P,data:x,reset:S}=await b({x:c,y:f,initialPlacement:o,placement:v,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:e,floating:t}});if(c=y??c,f=P??f,d={...d,[k]:{...d[k],...x}},S&&h<=50){h++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(a=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:c,y:f}=qs(a,v,u)),m=-1;continue}}return{x:c,y:f,placement:v,strategy:i,middlewareData:d}};async function er(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:n,rects:s,elements:l,strategy:u}=e,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:v=!1,padding:d=0}=ut(t,e),h=Fs(d),k=l[v?f==="floating"?"reference":"floating":f],b=lo(await n.getClippingRect({element:(r=await(n.isElement==null?void 0:n.isElement(k)))==null||r?k:k.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(l.floating)),boundary:a,rootBoundary:c,strategy:u})),y=f==="floating"?{...s.floating,x:o,y:i}:s.reference,P=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l.floating)),x=await(n.isElement==null?void 0:n.isElement(P))?await(n.getScale==null?void 0:n.getScale(P))||{x:1,y:1}:{x:1,y:1},S=lo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:P,strategy:u}):y);return{top:(b.top-S.top+h.top)/x.y,bottom:(S.bottom-b.bottom+h.bottom)/x.y,left:(b.left-S.left+h.left)/x.x,right:(S.right-b.right+h.right)/x.x}}const Rg=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:n,platform:s,elements:l,middlewareData:u}=t,{element:a,padding:c=0}=ut(e,t)||{};if(a==null)return{};const f=Fs(c),v={x:r,y:o},d=Pn(i),h=_n(d),m=await s.getDimensions(a),k=d==="y",b=k?"top":"left",y=k?"bottom":"right",P=k?"clientHeight":"clientWidth",x=n.reference[h]+n.reference[d]-v[d]-n.floating[h],S=v[d]-n.reference[d],w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let _=w?w[P]:0;(!_||!await(s.isElement==null?void 0:s.isElement(w)))&&(_=l.floating[P]||n.floating[h]);const F=x/2-S/2,R=_/2-m[h]/2-1,V=Dt(f[b],R),G=Dt(f[y],R),O=V,B=_-m[h]-G,L=_/2-m[h]/2+F,Y=xn(O,L,B),te=!u.arrow&&Qt(i)!=null&&L!=Y&&n.reference[h]/2-(L<O?V:G)-m[h]/2<0,ne=te?L<O?L-O:L-B:0;return{[d]:v[d]+ne,data:{[d]:Y,centerOffset:L-Y-ne,...te&&{alignmentOffset:ne}},reset:te}}}),Fg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:n,rects:s,initialPlacement:l,platform:u,elements:a}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:v,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...k}=ut(e,t);if((r=n.arrow)!=null&&r.alignmentOffset)return{};const b=ft(i),y=ft(l)===l,P=await(u.isRTL==null?void 0:u.isRTL(a.floating)),x=v||(y||!m?[so(l)]:zg(l));!v&&h!=="none"&&x.push(...Ng(l,m,h,P));const S=[l,...x],w=await er(t,k),_=[];let F=((o=n.flip)==null?void 0:o.overflows)||[];if(c&&_.push(w[b]),f){const O=Cg(i,s,P);_.push(w[O[0]],w[O[1]])}if(F=[...F,{placement:i,overflows:_}],!_.every(O=>O<=0)){var R,V;const O=(((R=n.flip)==null?void 0:R.index)||0)+1,B=S[O];if(B)return{data:{index:O,overflows:F},reset:{placement:B}};let L=(V=F.filter(Y=>Y.overflows[0]<=0).sort((Y,te)=>Y.overflows[1]-te.overflows[1])[0])==null?void 0:V.placement;if(!L)switch(d){case"bestFit":{var G;const Y=(G=F.map(te=>[te.placement,te.overflows.filter(ne=>ne>0).reduce((ne,ae)=>ne+ae,0)]).sort((te,ne)=>te[1]-ne[1])[0])==null?void 0:G[0];Y&&(L=Y);break}case"initialPlacement":L=l;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function As(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ds(e){return _g.some(t=>e[t]>=0)}const Os=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...i}=ut(e,t);switch(o){case"referenceHidden":{const n=await er(t,{...i,elementContext:"reference"}),s=As(n,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ds(s)}}}case"escaped":{const n=await er(t,{...i,altBoundary:!0}),s=As(n,r.floating);return{data:{escapedOffsets:s,escaped:Ds(s)}}}default:return{}}}}};async function qg(e,t){const{placement:r,platform:o,elements:i}=e,n=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=ft(r),l=Qt(r),u=Jt(r)==="y",a=["left","top"].includes(s)?-1:1,c=n&&u?-1:1,f=ut(t,e);let{mainAxis:v,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(d=l==="end"?h*-1:h),u?{x:d*c,y:v*a}:{x:v*a,y:d*c}}const Ag=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:n,placement:s,middlewareData:l}=t,u=await qg(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:n+u.y,data:{...u,placement:s}}}}},Dg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:b,y}=k;return{x:b,y}}},...u}=ut(e,t),a={x:r,y:o},c=await er(t,u),f=Jt(ft(i)),v=Bn(f);let d=a[v],h=a[f];if(n){const k=v==="y"?"top":"left",b=v==="y"?"bottom":"right",y=d+c[k],P=d-c[b];d=xn(y,d,P)}if(s){const k=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=h+c[k],P=h-c[b];h=xn(y,h,P)}const m=l.fn({...t,[v]:d,[f]:h});return{...m,data:{x:m.x-r,y:m.y-o}}}}},Og=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:n,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:a=!0}=ut(e,t),c={x:r,y:o},f=Jt(i),v=Bn(f);let d=c[v],h=c[f];const m=ut(l,t),k=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const P=v==="y"?"height":"width",x=n.reference[v]-n.floating[P]+k.mainAxis,S=n.reference[v]+n.reference[P]-k.mainAxis;d<x?d=x:d>S&&(d=S)}if(a){var b,y;const P=v==="y"?"width":"height",x=["top","left"].includes(ft(i)),S=n.reference[f]-n.floating[P]+(x&&((b=s.offset)==null?void 0:b[f])||0)+(x?0:k.crossAxis),w=n.reference[f]+n.reference[P]+(x?0:((y=s.offset)==null?void 0:y[f])||0)-(x?k.crossAxis:0);h<S?h=S:h>w&&(h=w)}return{[v]:d,[f]:h}}}},Ig=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:o,platform:i,elements:n}=t,{apply:s=()=>{},...l}=ut(e,t),u=await er(t,l),a=ft(r),c=Qt(r),f=Jt(r)==="y",{width:v,height:d}=o.floating;let h,m;a==="top"||a==="bottom"?(h=a,m=c===(await(i.isRTL==null?void 0:i.isRTL(n.floating))?"start":"end")?"left":"right"):(m=a,h=c==="end"?"top":"bottom");const k=d-u[h],b=v-u[m],y=!t.middlewareData.shift;let P=k,x=b;if(f){const w=v-u.left-u.right;x=c||y?Dt(b,w):w}else{const w=d-u.top-u.bottom;P=c||y?Dt(k,w):w}if(y&&!c){const w=Ue(u.left,0),_=Ue(u.right,0),F=Ue(u.top,0),R=Ue(u.bottom,0);f?x=v-2*(w!==0||_!==0?w+_:Ue(u.left,u.right)):P=d-2*(F!==0||R!==0?F+R:Ue(u.top,u.bottom))}await s({...t,availableWidth:x,availableHeight:P});const S=await i.getDimensions(n.floating);return v!==S.width||d!==S.height?{reset:{rects:!0}}:{}}}};function kt(e){return Is(e)?(e.nodeName||"").toLowerCase():"#document"}function $e(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xt(e){var t;return(t=(Is(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Is(e){return e instanceof Node||e instanceof $e(e).Node}function dt(e){return e instanceof Element||e instanceof $e(e).Element}function nt(e){return e instanceof HTMLElement||e instanceof $e(e).HTMLElement}function Ms(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $e(e).ShadowRoot}function Cr(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=Ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(i)}function Mg(e){return["table","td","th"].includes(kt(e))}function Cn(e){const t=zn(),r=Ge(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Lg(e){let t=tr(e);for(;nt(t)&&!co(t);){if(Cn(t))return t;t=tr(t)}return null}function zn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(e){return["html","body","#document"].includes(kt(e))}function Ge(e){return $e(e).getComputedStyle(e)}function uo(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function tr(e){if(kt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ms(e)&&e.host||xt(e);return Ms(t)?t.host:t}function Ls(e){const t=tr(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:nt(t)&&Cr(t)?t:Ls(t)}function Tn(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=Ls(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=$e(i);return n?t.concat(s,s.visualViewport||[],Cr(i)?i:[],s.frameElement&&r?Tn(s.frameElement):[]):t.concat(i,Tn(i,[],r))}function Hs(e){const t=Ge(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=nt(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,l=ao(r)!==n||ao(o)!==s;return l&&(r=n,o=s),{width:r,height:o,$:l}}function Vs(e){return dt(e)?e:e.contextElement}function rr(e){const t=Vs(e);if(!nt(t))return wt(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=Hs(t);let s=(n?ao(r.width):r.width)/o,l=(n?ao(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Hg=wt(0);function $s(e){const t=$e(e);return!zn()||!t.visualViewport?Hg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Vg(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==$e(e)?!1:t}function zr(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),n=Vs(e);let s=wt(1);t&&(o?dt(o)&&(s=rr(o)):s=rr(e));const l=Vg(n,r,o)?$s(n):wt(0);let u=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,c=i.width/s.x,f=i.height/s.y;if(n){const v=$e(n),d=o&&dt(o)?$e(o):o;let h=v.frameElement;for(;h&&o&&d!==v;){const m=rr(h),k=h.getBoundingClientRect(),b=Ge(h),y=k.left+(h.clientLeft+parseFloat(b.paddingLeft))*m.x,P=k.top+(h.clientTop+parseFloat(b.paddingTop))*m.y;u*=m.x,a*=m.y,c*=m.x,f*=m.y,u+=y,a+=P,h=$e(h).frameElement}}return lo({width:c,height:f,x:u,y:a})}function $g(e){let{rect:t,offsetParent:r,strategy:o}=e;const i=nt(r),n=xt(r);if(r===n)return t;let s={scrollLeft:0,scrollTop:0},l=wt(1);const u=wt(0);if((i||!i&&o!=="fixed")&&((kt(r)!=="body"||Cr(n))&&(s=uo(r)),nt(r))){const a=zr(r);l=rr(r),u.x=a.x+r.clientLeft,u.y=a.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+u.x,y:t.y*l.y-s.scrollTop*l.y+u.y}}function Wg(e){return Array.from(e.getClientRects())}function Ws(e){return zr(xt(e)).left+uo(e).scrollLeft}function Ug(e){const t=xt(e),r=uo(e),o=e.ownerDocument.body,i=Ue(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=Ue(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+Ws(e);const l=-r.scrollTop;return Ge(o).direction==="rtl"&&(s+=Ue(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:l}}function Gg(e,t){const r=$e(e),o=xt(e),i=r.visualViewport;let n=o.clientWidth,s=o.clientHeight,l=0,u=0;if(i){n=i.width,s=i.height;const a=zn();(!a||a&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:n,height:s,x:l,y:u}}function Xg(e,t){const r=zr(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=nt(e)?rr(e):wt(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 Us(e,t,r){let o;if(t==="viewport")o=Gg(e,r);else if(t==="document")o=Ug(xt(e));else if(dt(t))o=Xg(t,r);else{const i=$s(e);o={...t,x:t.x-i.x,y:t.y-i.y}}return lo(o)}function Gs(e,t){const r=tr(e);return r===t||!dt(r)||co(r)?!1:Ge(r).position==="fixed"||Gs(r,t)}function Kg(e,t){const r=t.get(e);if(r)return r;let o=Tn(e,[],!1).filter(l=>dt(l)&&kt(l)!=="body"),i=null;const n=Ge(e).position==="fixed";let s=n?tr(e):e;for(;dt(s)&&!co(s);){const l=Ge(s),u=Cn(s);!u&&l.position==="fixed"&&(i=null),(n?!u&&!i:!u&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(s)&&!u&&Gs(e,s))?o=o.filter(c=>c!==s):i=l,s=tr(s)}return t.set(e,o),o}function Zg(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const s=[...r==="clippingAncestors"?Kg(t,this._c):[].concat(r),o],l=s[0],u=s.reduce((a,c)=>{const f=Us(t,c,i);return a.top=Ue(f.top,a.top),a.right=Dt(f.right,a.right),a.bottom=Dt(f.bottom,a.bottom),a.left=Ue(f.left,a.left),a},Us(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Yg(e){return Hs(e)}function Qg(e,t,r){const o=nt(t),i=xt(t),n=r==="fixed",s=zr(e,!0,n,t);let l={scrollLeft:0,scrollTop:0};const u=wt(0);if(o||!o&&!n)if((kt(t)!=="body"||Cr(i))&&(l=uo(t)),o){const a=zr(t,!0,n,t);u.x=a.x+t.clientLeft,u.y=a.y+t.clientTop}else i&&(u.x=Ws(i));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Xs(e,t){return!nt(e)||Ge(e).position==="fixed"?null:t?t(e):e.offsetParent}function Ks(e,t){const r=$e(e);if(!nt(e))return r;let o=Xs(e,t);for(;o&&Mg(o)&&Ge(o).position==="static";)o=Xs(o,t);return o&&(kt(o)==="html"||kt(o)==="body"&&Ge(o).position==="static"&&!Cn(o))?r:o||Lg(e)||r}const Jg=async function(e){let{reference:t,floating:r,strategy:o}=e;const i=this.getOffsetParent||Ks,n=this.getDimensions;return{reference:Qg(t,await i(r),o),floating:{x:0,y:0,...await n(r)}}};function ep(e){return Ge(e).direction==="rtl"}const tp={convertOffsetParentRelativeRectToViewportRelativeRect:$g,getDocumentElement:xt,getClippingRect:Zg,getOffsetParent:Ks,getElementRects:Jg,getClientRects:Wg,getDimensions:Yg,getScale:rr,isElement:dt,isRTL:ep},rp=(e,t,r)=>{const o=new Map,i={platform:tp,...r},n={...i.platform,_c:o};return jg(e,t,{...i,platform:n})};function Zs(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const op=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,np=e=>{var t;return e.nodeType!==1?{}:((t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView).getComputedStyle(e,null)},fo=e=>{const t=e&&op(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:i}=np(t);return/(auto|scroll|overlay)/.test(r+i+o)?t:fo(t)},ip=e=>{var t;const r=fo(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function Nn(e,t){if(t==="window")return e==null?void 0:e.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=fo(e);return r.nodeName==="BODY"&&(r=e==null?void 0:e.ownerDocument.documentElement),r}return t}var Ys;(function(e){e[e.FunctionComponent=0]="FunctionComponent",e[e.ClassComponent=1]="ClassComponent",e[e.IndeterminateComponent=2]="IndeterminateComponent",e[e.HostRoot=3]="HostRoot",e[e.HostPortal=4]="HostPortal",e[e.HostComponent=5]="HostComponent",e[e.HostText=6]="HostText",e[e.Fragment=7]="Fragment",e[e.Mode=8]="Mode",e[e.ContextConsumer=9]="ContextConsumer",e[e.ContextProvider=10]="ContextProvider",e[e.ForwardRef=11]="ForwardRef",e[e.Profiler=12]="Profiler",e[e.SuspenseComponent=13]="SuspenseComponent",e[e.MemoComponent=14]="MemoComponent",e[e.SimpleMemoComponent=15]="SimpleMemoComponent",e[e.LazyComponent=16]="LazyComponent",e[e.IncompleteClassComponent=17]="IncompleteClassComponent",e[e.DehydratedFragment=18]="DehydratedFragment",e[e.SuspenseListComponent=19]="SuspenseListComponent",e[e.FundamentalComponent=20]="FundamentalComponent",e[e.ScopeComponent=21]="ScopeComponent"})(Ys||(Ys={}));function ap(e){if(!e)return null;for(const t in e)if(t.indexOf("__reactInternalInstance$")===0||t.indexOf("__reactFiber$")===0)return e[t];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function sp(e,t){if(typeof e=="number")return e;const{start:r,end:o,...i}=e,n=i,s=t?"end":"start",l=t?"start":"end";return e[s]&&(n.left=e[s]),e[l]&&(n.right=e[l]),n}const lp=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),cp=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),up=(e,t)=>{const r=e==="above"||e==="below",o=t==="top"||t==="bottom";return r&&o||!r&&!o},Qs=(e,t,r)=>{const o=up(t,e)?"center":e,i=t&&lp(r)[t],n=o&&cp()[o];return i&&n?`${i}-${n}`:i},fp=()=>({top:"above",bottom:"below",right:"after",left:"before"}),dp=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},En=e=>{const{side:t,alignment:r}=Zs(e),o=fp()[t],i=r&&dp(o)[r];return{position:o,alignment:i}},hp={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 Js(e){return e==null?{}:typeof e=="string"?hp[e]:e}function jn(e,t,r){const o=p.useRef(!0),[i]=p.useState(()=>({value:e,callback:t,facade:{get current(){return i.value},set current(n){const s=i.value;if(s!==n){if(i.value=n,r&&o.current)return;i.callback(n,s)}}}}));return Et(()=>{o.current=!1},[]),i.callback=t,i.facade}function vp(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function gp(e){if(e.nodeName==="BUTTON"||e.nodeName==="INPUT"||e.nodeName==="SELECT"||e.nodeName==="TEXTAREA"){var r;return!!(!((r=ap(e))===null||r===void 0)&&r.pendingProps.autoFocus)}return!1}function pp(e){return gp(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function mp(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:i}=r.arrow;Object.assign(t.style,{left:`${o}px`,top:`${i}px`})}function bp(e){var t,r,o;const{container:i,placement:n,middlewareData:s,strategy:l,lowPPI:u,coordinates:a,useTransform:c=!0}=e;if(!i)return;i.setAttribute(Bg,n),i.removeAttribute(Es),s.intersectionObserver.intersecting&&i.setAttribute(Es,""),i.removeAttribute(js),!((t=s.hide)===null||t===void 0)&&t.escaped&&i.setAttribute(js,""),i.removeAttribute(Rs),!((r=s.hide)===null||r===void 0)&&r.referenceHidden&&i.setAttribute(Rs,"");const f=((o=i.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,v=Math.round(a.x*f)/f,d=Math.round(a.y*f)/f;if(Object.assign(i.style,{position:l}),c){Object.assign(i.style,{transform:u?`translate(${v}px, ${d}px)`:`translate3d(${v}px, ${d}px, 0)`});return}Object.assign(i.style,{left:`${v}px`,top:`${d}px`})}const yp=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 wp(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:i}=e,n=Zs(t).side,s={x:o,y:i};switch(n){case"bottom":s.y-=r.reference.height;break;case"top":s.y+=r.reference.height;break;case"left":s.x+=r.reference.width;break;case"right":s.x-=r.reference.width;break}return s}}}function kp(e){const{hasScrollableElement:t,flipBoundary:r,container:o,fallbackPositions:i=[],isRtl:n}=e,s=i.reduce((l,u)=>{const{position:a,align:c}=Js(u),f=Qs(c,a,n);return f&&l.push(f),l},[]);return Fg({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Nn(o,r)},fallbackStrategy:"bestFit",...s.length&&{fallbackPlacements:s}})}function xp(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await er(e,{altBoundary:!0}),o=r.top<t.height&&r.top>0,i=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:o||i}}}}}const Bp=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var o;if(!((o=t.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:n}=e;return i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),n&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function _p(e,t){const{container:r,overflowBoundary:o}=t;return Ig({...o&&{altBoundary:!0,boundary:Nn(r,o)},apply({availableHeight:i,availableWidth:n,elements:s,rects:l}){const u=(f,v,d)=>{if(f&&(s.floating.style.setProperty("box-sizing","border-box"),s.floating.style.setProperty(`max-${v}`,`${d}px`),l.floating[v]>d)){s.floating.style.setProperty(v,`${d}px`);const h=v==="width"?"x":"y";s.floating.style.getPropertyValue(`overflow-${h}`)||s.floating.style.setProperty(`overflow-${h}`,"auto")}},{applyMaxWidth:a,applyMaxHeight:c}=e;u(a,"width",n),u(c,"height",i)}})}function Pp(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:o})=>{const{position:i,alignment:n}=En(o);return e({positionedRect:t,targetRect:r,position:i,alignment:n})}}function Sp(e){const t=Pp(e);return Ag(t)}function Cp(e){const{hasScrollableElement:t,disableTether:r,overflowBoundary:o,container:i,overflowBoundaryPadding:n,isRtl:s}=e;return Dg({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:r==="all",limiter:Og({crossAxis:r!=="all",mainAxis:!1})},...n&&{padding:sp(n,s)},...o&&{altBoundary:!0,boundary:Nn(i,o)}})}function zp(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===r.width||i)return{};const{width:n}=t;return o.style.width=`${n}px`,o.style.boxSizing="border-box",{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function ho(e){const t=[];let r=e;for(;r;){const o=fo(r);if(e.ownerDocument.body===o){t.push(o);break}t.push(o),r=o}return t}function Tp(e){const{container:t,target:r,arrow:o,strategy:i,middleware:n,placement:s,useTransform:l=!0}=e;let u=!1;if(!r||!t)return{updatePosition:()=>{},dispose:()=>{}};let a=!0;const c=new Set,f=t.ownerDocument.defaultView;Object.assign(t.style,{position:"fixed",left:0,top:0,margin:0});const v=()=>{u||(a&&(ho(t).forEach(m=>c.add(m)),Rt(r)&&ho(r).forEach(m=>c.add(m)),c.forEach(m=>{m.addEventListener("scroll",d,{passive:!0})}),a=!1),Object.assign(t.style,{position:i}),rp(r,t,{placement:s,middleware:n,strategy:i}).then(({x:m,y:k,middlewareData:b,placement:y})=>{u||(mp({arrow:o,middlewareData:b}),bp({container:t,middlewareData:b,placement:y,coordinates:{x:m,y:k},lowPPI:((f==null?void 0:f.devicePixelRatio)||1)<=1,strategy:i,useTransform:l}))}).catch(m=>{process.env.NODE_ENV==="development"&&console.error("[usePositioning]: Failed to calculate position",m)}))},d=vp(()=>v()),h=()=>{u=!0,f&&(f.removeEventListener("scroll",d),f.removeEventListener("resize",d)),c.forEach(m=>{m.removeEventListener("scroll",d)}),c.clear()};return f&&(f.addEventListener("scroll",d,{passive:!0}),f.addEventListener("resize",d)),d(),{updatePosition:d,dispose:h}}const el="__FUIDT_CONTROLLER__",Rn="__FUIDT_ELEMENT_METADATA__",Np="__FUIDT_HTML_ELEMENT_REFERENCE__",Ep=e=>!!(e&&Rn in e&&e.parentElement!==null),jp=()=>{let e=null;const t=new MutationObserver(o=>{if(e)for(const i of o)i.type==="childList"&&Array.from(i.removedNodes).includes(e)&&r.withdraw()}),r={get selectedElement(){return e},select:o=>(Ep(o)&&(e=o,t.observe(o.parentElement,{childList:!0,subtree:!1})),e&&o&&Fp(e,o)||r.withdraw(),e),withdraw:()=>{e=null,t.disconnect()}};return r},Rp=e=>{e.defaultView&&(e.defaultView[el]||(e.defaultView[el]=jp()))};function Fp(e,t){const r=e[Rn];switch(r.type){case"middleware":return r.references.has(t);default:return!1}}function qp(e,t){var r;const o=e;var i;return!!(!(o==null||(r=o.ownerDocument)===null||r===void 0)&&r.defaultView&&o instanceof o.ownerDocument.defaultView[(i=t==null?void 0:t.constructorName)!==null&&i!==void 0?i:"HTMLElement"])}function Ap(){return`${Np}:${crypto.randomUUID()}`}function Dp(){const e=new WeakSet,t=new Map;return{add(r){const o=Ap();return t.set(o,r),e.add(r),o},get(r){const o=t.get(r);if(o&&e.has(o))return o},has(r){return e.has(r)}}}const Op=e=>{const t=Dp();return[JSON.parse(JSON.stringify(e,(r,o)=>qp(o)?t.add(o):typeof o=="object"&&o&&Object.getPrototypeOf(o)!==Object.prototype&&Object.getPrototypeOf(o)!==Array.prototype?"toString"in o?o.toString():void 0:o)),t]},Ip=(e,t=Mp)=>({name:"floating-ui-devtools",fn:r=>{Rp(e);const[o,i]=Op(t(r));return Object.assign(r.elements.floating,{[Rn]:{references:i,serializedData:o,type:"middleware"}}),{}}}),Mp=e=>({...e,type:"FloatingUIMiddleware"}),Lp=e=>t=>{const{elements:{floating:r,reference:o}}=t,i=new Set;Rt(o)&&ho(o).forEach(l=>i.add(l)),ho(r).forEach(l=>i.add(l));const n=Array.isArray(e.flipBoundary)?e.flipBoundary:Rt(e.flipBoundary)?[e.flipBoundary]:[],s=Array.isArray(e.overflowBoundary)?e.overflowBoundary:Rt(e.overflowBoundary)?[e.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:t,options:e,initialPlacement:En(t.initialPlacement),placement:En(t.placement),flipBoundaries:n,overflowBoundaries:s,scrollParents:Array.from(i)}};function Hp(e){const t=p.useRef(null),r=p.useRef(null),o=p.useRef(null),i=p.useRef(null),n=p.useRef(null),{enabled:s=!0}=e,l=Vp(e),u=p.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var d;const h=(d=o.current)!==null&&d!==void 0?d:r.current;s&&tn()&&h&&i.current&&(t.current=Tp({container:i.current,target:h,arrow:n.current,...l(i.current,n.current)}))},[s,l]),a=qe(d=>{o.current=d,u()});p.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var d;return(d=t.current)===null||d===void 0?void 0:d.updatePosition()},setTarget:d=>{if(e.target&&process.env.NODE_ENV!=="production"){const h=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(h.stack)}a(d)}}),[e.target,a]),Et(()=>{var d;a((d=e.target)!==null&&d!==void 0?d:null)},[e.target,a]),Et(()=>{u()},[u]),process.env.NODE_ENV!=="production"&&p.useEffect(()=>{if(i.current){var d;const h=i.current,m=(d=h.ownerDocument)===null||d===void 0?void 0:d.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:pp});for(;m.nextNode();){const k=m.currentNode;console.warn("<Popper>:",k),console.warn(['<Popper>: ^ 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",`
134
+ `,'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",`
135
+ `,'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=jn(null,d=>{r.current!==d&&(r.current=d,u())}),f=jn(null,d=>{i.current!==d&&(i.current=d,u())}),v=jn(null,d=>{n.current!==d&&(n.current=d,u())});return{targetRef:c,containerRef:f,arrowRef:v}}function Vp(e){const{align:t,arrowPadding:r,autoSize:o,coverTarget:i,flipBoundary:n,offset:s,overflowBoundary:l,pinned:u,position:a,unstable_disableTether:c,positionFixed:f,strategy:v,overflowBoundaryPadding:d,fallbackPositions:h,useTransform:m,matchTargetSize:k}=e,{dir:b,targetDocument:y}=mt(),P=b==="rtl",x=v??f?"fixed":"absolute",S=yp(o);return p.useCallback((w,_)=>{const F=ip(w),R=[S&&Bp(S),k&&zp(),s&&Sp(s),i&&wp(),!u&&kp({container:w,flipBoundary:n,hasScrollableElement:F,isRtl:P,fallbackPositions:h}),Cp({container:w,hasScrollableElement:F,overflowBoundary:l,disableTether:c,overflowBoundaryPadding:d,isRtl:P}),S&&_p(S,{container:w,overflowBoundary:l}),xp(),_&&Rg({element:_,padding:r}),Os({strategy:"referenceHidden"}),Os({strategy:"escaped"}),process.env.NODE_ENV!=="production"&&y&&Ip(y,Lp(e))].filter(Boolean);return{placement:Qs(t,a,P),middleware:R,strategy:x,useTransform:m}},[t,r,S,i,c,n,P,s,l,u,a,x,d,h,m,k,y])}function $p(e){return Rt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var Fn=()=>p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current,tl=Symbol.for("react.strict_mode"),Wp=()=>{if(process.env.NODE_ENV==="production")return!1;const e=p.useRef(void 0),t=p.useMemo(()=>Number(p.version.split(".")[0]),[p.version]);if(isNaN(t)||t<18)return!1;if(e.current===void 0){let r=Fn();for(;r&&r.return;)r=r.return,(r.type===tl||r.elementType===tl)&&(e.current=!0)}return!!e.current},rl=new WeakSet;function Up(e,t){const r=Fn();p.useEffect(()=>{if(!rl.has(r)){rl.add(r),e();return}return e()},t)}var ol=new WeakSet;function Gp(e,t){return p.useMemo(()=>{const r=Fn();return ol.has(r)?e():(ol.add(r),null)},t)}function Xp(e,t){var r;const o=Wp()&&process.env.NODE_ENV!=="production",i=o?Gp:p.useMemo,n=o?Up:p.useEffect,[s,l]=(r=i(()=>e(),t))!=null?r:[null,()=>null];return n(()=>l,t),s}const Kp=U({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;}"]}),nl=p.useInsertionEffect,Zp=e=>{const{targetDocument:t,dir:r}=mt(),o=Od(),i=yv(),n=Kp(),s=Fd(),l=A(s,n.root,e.className),u=o??(t==null?void 0:t.body),a=Xp(()=>{if(u===void 0||e.disabled)return[null,()=>null];const c=u.ownerDocument.createElement("div");return u.appendChild(c),[c,()=>c.remove()]},[u]);return nl?nl(()=>{if(!a)return;const c=l.split(" ").filter(Boolean);return a.classList.add(...c),a.setAttribute("dir",r),i.current=a,()=>{a.classList.remove(...c),a.removeAttribute("dir")}},[l,r,a,i]):p.useMemo(()=>{a&&(a.className=l,a.setAttribute("dir",r),i.current=a)},[l,r,a,i]),a},Yp=e=>{const{element:t,className:r}=$p(e.mountNode),o=p.useRef(null),i=Zp({disabled:!!t,className:r}),n={children:e.children,mountNode:t??i,virtualParentRootRef:o};return p.useEffect(()=>(n.virtualParentRootRef.current&&n.mountNode&&ba(n.mountNode,n.virtualParentRootRef.current),()=>{n.mountNode&&ba(n.mountNode,void 0)}),[n.virtualParentRootRef,n.mountNode]),n},Qp=e=>p.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&ic.createPortal(e.children,e.mountNode)),il=e=>{const t=Yp(e);return Qp(t)};il.displayName="Portal";const Jp=e=>{ke(e);const{iconOnly:t,iconPosition:r}=e;return Ae(e.root,{children:[r!=="after"&&e.icon&&$(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&$(e.icon,{})]})},al=p.createContext(void 0),em={};al.Provider;const tm=()=>{var e;return(e=p.useContext(al))!==null&&e!==void 0?e:em},rm=(e,t)=>{const{size:r}=tm(),{appearance:o="secondary",as:i="button",disabled:n=!1,disabledFocusable:s=!1,icon:l,iconPosition:u="before",shape:a="rounded",size:c=r??"medium"}=e,f=J(l,{elementType:"span"});return{appearance:o,disabled:n,disabledFocusable:s,iconPosition:u,shape:a,size:c,iconOnly:!!(f!=null&&f.children&&!e.children),components:{root:"button",icon:"span"},root:me(Fe(i,Av(e,{required:!0,defaultProps:{ref:t,type:"button"}})),{elementType:"button"}),icon:f}},sl={root:"fui-Button",icon:"fui-Button__icon"},om=Re("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;}}"]}),nm=Re("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);}"]),im=U({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:{Bbmb7ep:["f8fbkgy","f1nfllo7"],Beyfa6y:["f1nfllo7","f8fbkgy"],B7oj6ja:["f1djnp8u","f1s8kh49"],Btl43ni:["f1s8kh49","f1djnp8u"]},rounded:{},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},small:{Bf4jedk:"fh7ncta",z8tnut:"f1khb0e9",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1jnq6q7",uwmqm3:["f1f5gg8d","f1vdfbxk"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",z8tnut:"fp9bwmr",z189sj:["fjodcmx","fhx4nu"],Byoj8tv:"f150uoa4",uwmqm3:["fhx4nu","fjodcmx"],Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],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);}",".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}",".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}",".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fh7ncta{min-width:64px;}",".f1khb0e9{padding-top:3px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1jnq6q7{padding-bottom:3px;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".fp9bwmr{padding-top:8px;}",".fjodcmx{padding-right:var(--spacingHorizontalL);}",".fhx4nu{padding-left:var(--spacingHorizontalL);}",".f150uoa4{padding-bottom:8px;}",".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)"}]]}),am=U({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",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x"},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){.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){.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)"}]]}),sm=U({circular:{kdpuga:["fanj13w","f1gou5sz"],Bw81rd7:["f1gou5sz","fanj13w"],B6xbmo0:["fulf6x3","foeb2x"],dm238s:["foeb2x","fulf6x3"]},rounded:{},square:{kdpuga:["f1ndz5i7","f1co4qro"],Bw81rd7:["f1co4qro","f1ndz5i7"],B6xbmo0:["f146y5a9","f1k2ftg"],dm238s:["f1k2ftg","f146y5a9"]},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:{kdpuga:["fg3gtdo","fwii5mg"],Bw81rd7:["fwii5mg","fg3gtdo"],B6xbmo0:["f1palphq","f12nxie7"],dm238s:["f12nxie7","f1palphq"]},medium:{},large:{kdpuga:["ft3lys4","f1la4x2g"],Bw81rd7:["f1la4x2g","ft3lys4"],B6xbmo0:["f156y0zm","fakimq4"],dm238s:["fakimq4","f156y0zm"]}},{d:[".fanj13w[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1gou5sz[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusCircular);}",".fulf6x3[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusCircular);}",".foeb2x[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusCircular);}",".f1ndz5i7[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusNone);}",".f1co4qro[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusNone);}",".f146y5a9[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusNone);}",".f1k2ftg[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusNone);}",".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);}",".fg3gtdo[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusSmall);}",".fwii5mg[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1palphq[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusSmall);}",".f12nxie7[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusSmall);}",".ft3lys4[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusLarge);}",".f1la4x2g[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusLarge);}",".f156y0zm[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusLarge);}",".fakimq4[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusLarge);}"],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;}}"]}),lm=U({small:{z8tnut:"f1sl3k7w",z189sj:["f136y8j8","f10xn8zz"],Byoj8tv:"f1brlhvm",uwmqm3:["f10xn8zz","f136y8j8"],Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{z8tnut:"f1sbtcvk",z189sj:["fwiuce9","f15vdbe4"],Byoj8tv:"fdghr9",uwmqm3:["f15vdbe4","fwiuce9"],Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{z8tnut:"f1a1bwwz",z189sj:["f18k1jr3","f1rtp3s9"],Byoj8tv:"fy7v416",uwmqm3:["f1rtp3s9","f18k1jr3"],Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[".f1sl3k7w{padding-top:1px;}",".f136y8j8{padding-right:1px;}",".f10xn8zz{padding-left:1px;}",".f1brlhvm{padding-bottom:1px;}",".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",".f1sbtcvk{padding-top:5px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".fdghr9{padding-bottom:5px;}",".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",".f1a1bwwz{padding-top:7px;}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fy7v416{padding-bottom:7px;}",".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),cm=U({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);}"]}),um=e=>{const t=om(),r=nm(),o=im(),i=am(),n=sm(),s=lm(),l=cm(),{appearance:u,disabled:a,disabledFocusable:c,icon:f,iconOnly:v,iconPosition:d,shape:h,size:m}=e;return e.root.className=A(sl.root,t,u&&o[u],o[m],f&&m==="small"&&o.smallWithIcon,f&&m==="large"&&o.largeWithIcon,o[h],(a||c)&&i.base,(a||c)&&i.highContrast,u&&(a||c)&&i[u],u==="primary"&&n.primary,n[m],n[h],v&&s[m],e.root.className),e.icon&&(e.icon.className=A(sl.icon,r,!!e.root.children&&l[d],l[m],e.icon.className)),e},ll=p.forwardRef((e,t)=>{const r=rm(e,t);return um(r),Ye("useButtonStyles_unstable")(r),Jp(r)});ll.displayName="Button";const cl=p.createContext(void 0),fm=cl.Provider,ul=()=>p.useContext(cl),dm=e=>{var t,r,o,i;const{generatedControlId:n,orientation:s,required:l,size:u,validationState:a}=e,c=(t=e.label)===null||t===void 0?void 0:t.htmlFor,f=(r=e.label)===null||r===void 0?void 0:r.id,v=(o=e.validationMessage)===null||o===void 0?void 0:o.id,d=(i=e.hint)===null||i===void 0?void 0:i.id;return{field:p.useMemo(()=>({generatedControlId:n,hintId:d,labelFor:c,labelId:f,orientation:s,required:l,size:u,validationMessageId:v,validationState:a}),[n,d,c,f,s,l,u,v,a])}};function fl(e,t){return dl(ul(),e,t)}function dl(e,t,r){if(!e)return t;t={...t};const{generatedControlId:o,hintId:i,labelFor:n,labelId:s,required:l,validationMessageId:u,validationState:a}=e;if(o){var c,f;(f=(c=t).id)!==null&&f!==void 0||(c.id=o)}if(s&&(!(r!=null&&r.supportsLabelFor)||n!==t.id)){var v,d,h;(h=(v=t)[d="aria-labelledby"])!==null&&h!==void 0||(v[d]=s)}if((u||i)&&(t["aria-describedby"]=[u,i,t==null?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),a==="error"){var m,k,b;(b=(m=t)[k="aria-invalid"])!==null&&b!==void 0||(m[k]=!0)}if(l)if(r!=null&&r.supportsRequired){var y,P;(P=(y=t).required)!==null&&P!==void 0||(y.required=!0)}else{var x,S,w;(w=(x=t)[S="aria-required"])!==null&&w!==void 0||(x[S]=!0)}if(r!=null&&r.supportsSize){var _,F;(F=(_=t).size)!==null&&F!==void 0||(_.size=e.size)}return t}const hm=(e,t)=>{ke(e);let{children:r}=e;return typeof r=="function"&&(r=r(dl(t.field)||{})),$(fm,{value:t==null?void 0:t.field,children:Ae(e.root,{children:[e.label&&$(e.label,{}),r,e.validationMessage&&Ae(e.validationMessage,{children:[e.validationMessageIcon&&$(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&$(e.hint,{})]})})},vm=(e,t)=>{const{disabled:r=!1,required:o=!1,weight:i="regular",size:n="medium"}=e;return{disabled:r,required:J(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:n,components:{root:"label",required:"span"},root:me(Fe("label",{ref:t,...e}),{elementType:"label"})}},gm=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.required&&$(e.required,{})]})),hl={root:"fui-Label",required:"fui-Label__required"},pm=U({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o"},required:{sj55zd:"f1whyuy6",uwmqm3:["fycuoez","f8wuabp"]},requiredDisabled:{sj55zd:"f1s2aq7o"},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);}",".fycuoez{padding-left:4px;}",".f8wuabp{padding-right:4px;}",".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);}"]}),mm=e=>{const t=pm();return e.root.className=A(hl.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=A(hl.required,t.required,e.disabled&&t.requiredDisabled,e.required.className)),e},Tr=p.forwardRef((e,t)=>{const r=vm(e,t);return mm(r),Ye("useLabelStyles_unstable")(r),gm(r)});Tr.displayName="Label";const bm={error:p.createElement(Xd,null),warning:p.createElement(ph,null),success:p.createElement(Gd,null),none:void 0},ym=(e,t)=>{const{children:r,orientation:o="vertical",required:i=!1,validationState:n=e.validationMessage?"error":"none",size:s="medium"}=e,l=jt("field-"),u=l+"__control",a=me(Fe("div",{...e,ref:t},["children"]),{elementType:"div"}),c=J(e.label,{defaultProps:{htmlFor:u,id:l+"__label",required:i,size:s},elementType:Tr}),f=J(e.validationMessage,{defaultProps:{id:l+"__validationMessage",role:n==="error"?"alert":void 0},elementType:"div"}),v=J(e.hint,{defaultProps:{id:l+"__hint"},elementType:"div"}),d=bm[n],h=J(e.validationMessageIcon,{renderByDefault:!!d,defaultProps:{children:d},elementType:"span"});return{children:r,generatedControlId:u,orientation:o,required:i,size:s,validationState:n,components:{root:"div",label:Tr,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:a,label:c,validationMessageIcon:h,validationMessage:f,hint:v}},Nr={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},wm=U({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;}"]}),km=U({base:{z8tnut:"fclwglc",Byoj8tv:"fywfov9"},large:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm"},vertical:{jrapky:"fyacil5"},verticalLarge:{jrapky:"f8l5zjj"},horizontal:{t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}"]}),xm=Re("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);}"]),Bm=U({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));}"]}),_m=Re("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;}"]),Pm=U({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Sm=e=>{const{validationState:t}=e,r=e.orientation==="horizontal",o=wm();e.root.className=A(Nr.root,o.base,r&&o.horizontal,r&&!e.label&&o.horizontalNoLabel,e.root.className);const i=km();e.label&&(e.label.className=A(Nr.label,i.base,r&&i.horizontal,!r&&i.vertical,e.label.size==="large"&&i.large,!r&&e.label.size==="large"&&i.verticalLarge,e.label.className));const n=_m(),s=Pm();e.validationMessageIcon&&(e.validationMessageIcon.className=A(Nr.validationMessageIcon,n,t!=="none"&&s[t],e.validationMessageIcon.className));const l=xm(),u=Bm();e.validationMessage&&(e.validationMessage.className=A(Nr.validationMessage,l,t==="error"&&u.error,!!e.validationMessageIcon&&u.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=A(Nr.hint,l,e.hint.className))},vl=p.forwardRef((e,t)=>{const r=ym(e,t);Sm(r);const o=dm(r);return hm(r,o)});vl.displayName="Field";const Qe=Bs({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Qe.Provider;const ht=Bs({activeOption:void 0,focusVisible:!1,multiselect:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){}});ht.Provider;function Cm(e){const{activeOption:t,appearance:r,focusVisible:o,open:i,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:u,setOpen:a,size:c}=e;return{combobox:{activeOption:t,appearance:r,focusVisible:o,open:i,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:u,setOpen:a,size:c}}}function zm(e){const t=_s(Qe),{activeOption:r,focusVisible:o,multiselect:i,registerOption:n,selectedOptions:s,selectOption:l,setActiveOption:u}=e,a=Me(Qe,v=>v.registerOption);return{listbox:{activeOption:r,focusVisible:o,multiselect:i,registerOption:t?a:n,selectedOptions:s,selectOption:l,setActiveOption:u}}}function vo(e,t={}){const{open:r=!0,multiselect:o=!1}=t,i=e.key,{altKey:n,ctrlKey:s,key:l,metaKey:u}=e;return l.length===1&&i!==yt&&!n&&!s&&!u?"Type":r?i===yn&&n||i===Yt||!o&&i===yt?"CloseSelect":o&&i===yt?"Select":i===Fv?"Close":i===Ps?"Next":i===yn?"Previous":i===Ev?"First":i===Nv?"Last":i===Rv?"PageUp":i===jv?"PageDown":i===Cv?"Tab":"None":i===Ps||i===yn||i===Yt||i===yt?"Open":"None"}function gl(e,t,r){switch(e){case"Next":return Math.min(r,t+1);case"Previous":return Math.max(0,t-1);case"First":return 0;case"Last":return r;case"PageDown":return Math.min(r,t+10);case"PageUp":return Math.max(0,t-10);default:return t}}const pl=()=>{const e=p.useRef([]),t=p.useMemo(()=>({getCount:()=>e.current.length,getOptionAtIndex:a=>{var c;return(c=e.current[a])===null||c===void 0?void 0:c.option},getIndexOfId:a=>e.current.findIndex(c=>c.option.id===a),getOptionById:a=>{const c=e.current.find(f=>f.option.id===a);return c==null?void 0:c.option},getOptionsMatchingText:a=>e.current.filter(c=>a(c.option.text)).map(c=>c.option),getOptionsMatchingValue:a=>e.current.filter(c=>a(c.option.value)).map(c=>c.option)}),[]),r=p.useCallback((o,i)=>{var n;const s=e.current.findIndex(l=>!l.element||!i?!1:l.option.id===o.id?!0:l.element.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING);if(((n=e.current[s])===null||n===void 0?void 0:n.option.id)!==o.id){const l={element:i,option:o};s===-1?e.current=[...e.current,l]:e.current.splice(s,0,l)}return()=>{e.current=e.current.filter(l=>l.option.id!==o.id)}},[]);return{...t,options:e.current.map(o=>o.option),registerOption:r}};function Tm(e){const{activeOption:t}=e,r=p.useRef(null);return p.useEffect(()=>{if(r.current&&t&&tn()){const o=r.current.querySelector(`#${t.id}`);if(!o)return;const{offsetHeight:i,offsetTop:n}=o,{offsetHeight:s,scrollTop:l}=r.current,u=n<l,a=n+i>l+s,c=2;u?r.current.scrollTo(0,n-c):a&&r.current.scrollTo(0,n-s+i+c)}},[t]),r}const ml=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:o}=e,[i,n]=Zt({state:e.selectedOptions,defaultState:t,initialState:[]}),s=gt.useCallback((u,a)=>{if(a.disabled)return;let c=[a.value];if(r){const f=i.findIndex(v=>v===a.value);f>-1?c=[...i.slice(0,f),...i.slice(f+1)]:c=[...i,a.value]}n(c),o==null||o(u,{optionValue:a.value,optionText:a.text,selectedOptions:c})},[o,r,i,n]);return{clearSelection:u=>{n([]),o==null||o(u,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s,selectedOptions:i}},Nm=(e,t)=>{const{multiselect:r}=e,o=pl(),{getCount:i,getOptionAtIndex:n,getIndexOfId:s}=o,{clearSelection:l,selectedOptions:u,selectOption:a}=ml(e),[c,f]=p.useState(),[v,d]=p.useState(!1),h=R=>{const V=vo(R,{open:!0}),G=i()-1,O=c?s(c.id):-1;let B=O;switch(V){case"Select":case"CloseSelect":c&&a(R,c);break;default:B=gl(V,O,G)}B!==O&&(R.preventDefault(),f(n(B)),d(!0))},m=R=>{d(!1)},k=_s(Qe),b=Me(Qe,R=>R.activeOption),y=Me(Qe,R=>R.focusVisible),P=Me(Qe,R=>R.selectedOptions),x=Me(Qe,R=>R.selectOption),S=Me(Qe,R=>R.setActiveOption),w=k?{activeOption:b,focusVisible:y,selectedOptions:P,selectOption:x,setActiveOption:S}:{activeOption:c,focusVisible:v,selectedOptions:u,selectOption:a,setActiveOption:f},_={components:{root:"div"},root:me(Fe("div",{ref:t,role:r?"menu":"listbox","aria-activedescendant":k||c==null?void 0:c.id,"aria-multiselectable":r,tabIndex:0,...e}),{elementType:"div"}),multiselect:r,clearSelection:l,...o,...w},F=Tm(_);return _.root.ref=rt(_.root.ref,F),_.root.onKeyDown=qe(xe(_.root.onKeyDown,h)),_.root.onMouseOver=qe(xe(_.root.onMouseOver,m)),_},Em=(e,t)=>(ke(e),$(ht.Provider,{value:t.listbox,children:$(e.root,{})})),jm={root:"fui-Listbox"},Rm=U({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",z8tnut:"f1x4af0m",z189sj:["f7x41pl","fruq291"],Byoj8tv:"fd55psn",uwmqm3:["fruq291","f7x41pl"],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;}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".f1x4af0m{padding-top:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fd55psn{padding-bottom:var(--spacingHorizontalXS);}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Fm=e=>{const t=Rm();return e.root.className=A(jm.root,t.root,e.root.className),e},qn=p.forwardRef((e,t)=>{const r=Nm(e,t),o=zm(r);return Fm(r),Ye("useListboxStyles_unstable")(r),Em(r,o)});qn.displayName="Listbox";function qm(e,t){if(e!==void 0)return e;let r="",o=!1;return p.Children.forEach(t,i=>{typeof i=="string"?r+=i:o=!0}),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}const Am=(e,t)=>{const{children:r,disabled:o,text:i,value:n}=e,s=p.useRef(null),l=qm(i,r),u=n??l,a=jt("fluent-option",e.id),c=p.useMemo(()=>({id:a,disabled:o,text:l,value:u}),[a,o,l,u]),f=Me(ht,w=>w.focusVisible),v=Me(ht,w=>w.multiselect),d=Me(ht,w=>w.registerOption),h=Me(ht,w=>{const _=w.selectedOptions;return!!u&&!!_.find(F=>F===u)}),m=Me(ht,w=>w.selectOption),k=Me(ht,w=>w.setActiveOption),b=Me(Qe,w=>w.setOpen),y=Me(ht,w=>{var _,F;return((_=w.activeOption)===null||_===void 0?void 0:_.id)!==void 0&&((F=w.activeOption)===null||F===void 0?void 0:F.id)===a});let P=p.createElement(Vd,null);v&&(P=h?p.createElement(Ud,null):"");const x=w=>{var _;if(o){w.preventDefault();return}k(c),v||b==null||b(w,!1),m(w,c),(_=e.onClick)===null||_===void 0||_.call(e,w)};p.useEffect(()=>{if(a&&s.current)return d(c,s.current)},[a,c,d]);const S=v?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:me(Fe("div",{ref:rt(t,s),"aria-disabled":o?"true":void 0,id:a,...S,...e,onClick:x}),{elementType:"div"}),checkIcon:J(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:P},elementType:"span"}),active:y,disabled:o,focusVisible:f,multiselect:v,selected:h}},Dm=e=>(ke(e),Ae(e.root,{children:[e.checkIcon&&$(e.checkIcon,{}),e.root.children]})),bl={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},Om=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",z8tnut:"fp2oml8",z189sj:["f1vdfbxk","f1f5gg8d"],Byoj8tv:"f1tdddsa",uwmqm3:["f1f5gg8d","f1vdfbxk"],qhf8xq:"f10pi13n",Jwef8y:"f1knas48",ecr2s2:"fb40n2d"},active:{Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",B80jsxd:"f1nwj1ja",t2ki1e:"ffmd2fr",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"fc9v8v1",Ihftqj:["f1mwfetb","f18mat8f"],Bcgy8vk:"f1cb6c3",Bhxzhr1:["f18mat8f","f1mwfetb"],B3778ie:["f1ibwz09","f1kp91vd"],d9w3h3:["f1kp91vd","f1ibwz09"],Bl18szs:["f1pix4dl","f13nd1z4"],B4j8arr:["f13nd1z4","f1pix4dl"],B0n5ga8:"f1qw5sz7",s924m2:["f19va7ni","f1a9v3mw"],B1q35kw:"fkkziue",Gp14am:["f1a9v3mw","f19va7ni"],bn5sak:"f1a97anr",By385i5:"f5226zp",Eqx8gd:["fa2bdqt","fei6g0k"],B1piin3:["fei6g0k","fa2bdqt"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",ecr2s2:"fgj9um3",Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"],Bbmb7ep:["f1g3puop","fi2rrw2"],Beyfa6y:["fi2rrw2","f1g3puop"],B7oj6ja:["f1rstyi9","f1s4nn1u"],Btl43ni:["f1s4nn1u","f1rstyi9"],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"}},{d:[".f122n59{align-items:center;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".f10pi13n{position:relative;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1nwj1ja::after{pointer-events:none;}",".ffmd2fr::after{z-index:1;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".fc9v8v1::after{border-top-width:2px;}",".f1mwfetb::after{border-right-width:2px;}",".f18mat8f::after{border-left-width:2px;}",".f1cb6c3::after{border-bottom-width:2px;}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1pix4dl::after{border-top-right-radius:var(--borderRadiusMedium);}",".f13nd1z4::after{border-top-left-radius:var(--borderRadiusMedium);}",".f1qw5sz7::after{border-top-color:var(--colorStrokeFocus2);}",".f19va7ni::after{border-right-color:var(--colorStrokeFocus2);}",".f1a9v3mw::after{border-left-color:var(--colorStrokeFocus2);}",".fkkziue::after{border-bottom-color:var(--colorStrokeFocus2);}",".f1a97anr::after{top:-2px;}",".f5226zp::after{bottom:-2px;}",".fa2bdqt::after{left:-2px;}",".fei6g0k::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".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;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",".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);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Im=e=>{const{active:t,disabled:r,focusVisible:o,multiselect:i,selected:n}=e,s=Om();return e.root.className=A(bl.root,s.root,t&&o&&s.active,r&&s.disabled,n&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=A(bl.checkIcon,s.checkIcon,i&&s.multiselectCheck,n&&s.selectedCheck,n&&i&&s.selectedMultiselectCheck,r&&s.checkDisabled,e.checkIcon.className)),e},yl=p.forwardRef((e,t)=>{const r=Am(e,t);return Im(r),Ye("useOptionStyles_unstable")(r),Dm(r)});yl.displayName="Option";const Mm=e=>{const{appearance:t="outline",children:r,editable:o=!1,inlinePopup:i=!1,mountNode:n=void 0,multiselect:s,onOpenChange:l,size:u="medium"}=e,a=pl(),{getOptionAtIndex:c,getOptionsMatchingValue:f}=a,[v,d]=p.useState(),[h,m]=p.useState(!1),[k,b]=p.useState(!1),y=p.useRef(!1),P=ml(e),{selectedOptions:x}=P,S=wd(),[w,_]=Zt({state:e.value,initialState:void 0}),F=p.useMemo(()=>{if(w!==void 0)return w;if(S&&e.defaultValue!==void 0)return e.defaultValue;const O=f(B=>x.includes(B)).map(B=>B.text);return s?o?"":O.join(", "):O[0]},[w,o,f,s,e.defaultValue,x]),[R,V]=Zt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),G=p.useCallback((O,B)=>{l==null||l(O,{open:B}),V(B)},[l,V]);return p.useEffect(()=>{if(R&&!v)if(!s&&x.length>0){const O=f(B=>B===x[0]).pop();O&&d(O)}else d(c(0));else R||d(void 0)},[R,r]),{...a,...P,activeOption:v,appearance:t,focusVisible:h,hasFocus:k,ignoreNextBlur:y,inlinePopup:i,mountNode:n,open:R,setActiveOption:d,setFocusVisible:m,setHasFocus:b,setOpen:G,setValue:_,size:u,value:F}};function Lm(e){const{positioning:t}=e,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",...Js(t)},{targetRef:i,containerRef:n}=Hp(o);return[n,i]}function Hm(e,t,r,o,i){const{multiselect:n}=e,{activeOption:s,getCount:l,getIndexOfId:u,getOptionAtIndex:a,ignoreNextBlur:c,open:f,selectOption:v,setActiveOption:d,setFocusVisible:h,setHasFocus:m,setOpen:k}=t,b=p.useRef(null),y=p.useRef(null),P=jt("fluent-listbox",i==null?void 0:i.id),x=rt(i==null?void 0:i.ref,y),S=i&&{id:P,multiselect:n,tabIndex:void 0,...i,ref:x},w={"aria-expanded":f,"aria-activedescendant":f?s==null?void 0:s.id:void 0,role:"combobox",...o,ref:rt(r,o==null?void 0:o.ref,b)},_=qe(xe(B=>{var L;(L=b.current)===null||L===void 0||L.focus()},S==null?void 0:S.onClick)),F=qe(xe(B=>{h(!1)},S==null?void 0:S.onMouseOver)),{targetDocument:R}=mt(),V=qe(B=>{var L;!((L=y.current)===null||L===void 0)&&L.contains(B.target)||k(B,!1),R==null||R.removeEventListener("mouseup",V)}),G=qe(xe(B=>{c.current=!0,R==null||R.addEventListener("mouseup",V)},S==null?void 0:S.onMouseDown)),O=qe(xe(B=>{c.current=!1},S==null?void 0:S.onMouseUp));return S&&(S.onClick=_,S.onMouseOver=F,S.onMouseDown=G,S.onMouseUp=O),w.onBlur=xe(B=>{c.current||k(B,!1),c.current=!1,m(!1)},w.onBlur),w.onClick=xe(B=>{k(B,!f)},w.onClick),w.onFocus=xe(B=>{m(!0)},w.onFocus),w.onKeyDown=xe(B=>{const L=vo(B,{open:f,multiselect:n}),Y=l()-1,te=s?u(s.id):-1;let ne=te;switch(L){case"Open":B.preventDefault(),h(!0),k(B,!0);break;case"Close":B.stopPropagation(),B.preventDefault(),k(B,!1);break;case"CloseSelect":!n&&!(s!=null&&s.disabled)&&k(B,!1);case"Select":s&&v(B,s),B.preventDefault();break;case"Tab":!n&&s&&v(B,s);break;default:ne=gl(L,te,Y)}ne!==te&&(B.preventDefault(),d(a(ne)),h(!0))},w.onKeyDown),w.onMouseOver=xe(B=>{h(!1)},w.onMouseOver),[w,S]}const Vm=(e,t)=>{var r;e=fl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const o=Mm({...e,editable:!0}),{activeOption:i,clearSelection:n,getIndexOfId:s,getOptionsMatchingText:l,hasFocus:u,open:a,selectOption:c,selectedOptions:f,setActiveOption:v,setFocusVisible:d,setOpen:h,setValue:m,value:k}=o,[b,y]=Lm(e),{disabled:P,freeform:x,inlinePopup:S,multiselect:w}=e,_=jt("combobox-"),{primary:F,root:R}=pa({props:e,primarySlotTagName:"input",excludedPropNames:["children","size"]}),V=p.useRef(null),G=p.useRef(null),[O,B]=p.useState(!1),L=p.useRef(!1),Y=Q=>{const T=Q==null?void 0:Q.trim().toLowerCase();if(!T||T.length===0)return;const _e=l(He=>He.toLowerCase().indexOf(T)===0);if(_e.length>1&&i){const He=s(i.id),Xe=_e.find(Bt=>s(Bt.id)>=He);return Xe??_e[0]}var Ne;return(Ne=_e[0])!==null&&Ne!==void 0?Ne:void 0};o.selectOption=(Q,T)=>{m(void 0),c(Q,T)};const te=Q=>{!o.open&&!x&&(k&&i&&k.trim().toLowerCase()===(i==null?void 0:i.text.toLowerCase())&&o.selectOption(Q,i),m(void 0))};o.setOpen=(Q,T)=>{P||(!T&&!x&&m(void 0),h(Q,T))};const ne=Q=>{const T=Q.target.value;o.setValue(T);const ie=Y(T);v(ie),d(!0),!w&&f.length===1&&(T.length<1||!ie)&&n(Q)};let ae,de;ae=me(e.input,{defaultProps:{ref:rt((r=e.input)===null||r===void 0?void 0:r.ref,G),type:"text",value:k??"",...F},elementType:"input"});const Le=ae.onKeyDown;ae.onChange=xe(ae.onChange,ne),ae.onBlur=xe(ae.onBlur,te),de=a||u?J(e.listbox,{renderByDefault:!0,defaultProps:{children:e.children},elementType:qn}):void 0,[ae,de]=Hm(e,o,t,ae,de);const N=rt(de==null?void 0:de.ref,b);O&&(ae["aria-activedescendant"]=void 0),de&&(de.ref=N);const I=me(e.root,{defaultProps:{"aria-owns":S||de==null?void 0:de.id,...R},elementType:"div"});I.ref=rt(I.ref,y);const q={components:{root:"div",input:"input",expandIcon:"span",listbox:qn},root:I,input:ae,listbox:de,expandIcon:J(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-expanded":a,children:p.createElement($d,null),role:"button"},elementType:"span"}),...o};q.root.ref=rt(q.root.ref,V);const re=q.input.onKeyDown;q.input.onKeyDown=qe(Q=>{!a&&vo(Q)==="Type"&&o.setOpen(Q,!0),Q.key===zv||Q.key===Tv?B(!0):B(!1);const T=vo(Q,{open:a,multiselect:w});if(T==="Type"?L.current=!0:(T==="Open"&&Q.key!==" "||T==="Next"||T==="Previous"||T==="First"||T==="Last"||T==="PageUp"||T==="PageDown")&&(L.current=!1),x&&(L.current||!a)&&Q.key===" "){Le==null||Le(Q);return}re==null||re(Q)});const{onMouseDown:he,onClick:Se}=q.expandIcon||{},Ce=qe(xe(he,()=>{a&&(o.ignoreNextBlur.current=!0)})),ve=qe(xe(Se,Q=>{var T;q.setOpen(Q,!q.open),(T=G.current)===null||T===void 0||T.focus(),d(!1)}));if(q.expandIcon){q.expandIcon.onMouseDown=Ce,q.expandIcon.onClick=ve;const Q=q.expandIcon["aria-label"]||q.expandIcon["aria-labelledby"],T="Open";if(!Q)if(e["aria-labelledby"]){var ge;const ie=(ge=q.expandIcon.id)!==null&&ge!==void 0?ge:`${_}-chevron`,_e=`${ie} ${q.input["aria-labelledby"]}`;q.expandIcon["aria-label"]=T,q.expandIcon.id=ie,q.expandIcon["aria-labelledby"]=_e}else e["aria-label"]?q.expandIcon["aria-label"]=`${T} ${e["aria-label"]}`:q.expandIcon["aria-label"]=T}return q},$m=(e,t)=>(ke(e),$(e.root,{children:Ae(Qe.Provider,{value:t.combobox,children:[$(e.input,{}),e.expandIcon&&$(e.expandIcon,{}),e.listbox&&(e.inlinePopup?$(e.listbox,{}):$(il,{mountNode:e.mountNode,children:$(e.listbox,{})}))]})})),go={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",listbox:"fui-Combobox__listbox"},Wm=U({root:{Bt984gj:"f122n59",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",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"],Bcgy8vk:"f14pi962",Bw17bha:"f1lh990p",B1q35kw:"f1jc6hxc",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",Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"],Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1c1zstj",zhjwy3:["f1lxtadh","f1akhkt"]},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",Bn0qgzm:"f1vxd6vx",oivjwe:"fg706s2",B9xav0g:"f1c1zstj",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"]},"filled-lighter":{De3pzq:"fxugw4r",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"filled-darker":{De3pzq:"f16xq7d1",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},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;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".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;}",".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);}",".f14pi962::after{border-bottom-width:var(--strokeWidthThick);}",".f1lh990p::after{border-bottom-style:solid;}",".f1jc6hxc::after{border-bottom-color:var(--colorCompoundBrandStroke);}",".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);}",".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".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);}"],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);}",".flmw63s:hover{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".fqhmt4z:active{border-bottom-color:var(--colorNeutralStrokeAccessible);}"]}),Um=U({input:{De3pzq:"f1c21dwh",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bqenvij:"f50nw0v",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1xile11","fqznh8f"]},medium:{Bqenvij:"f1tvdnth",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["f1e60jzv","f135dnwl"]},large:{Bqenvij:"f1ihhdec",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",z8tnut:"f1g0x7ka",z189sj:["fhxju0i","f1cnd47f"],Byoj8tv:"f1qch9an",uwmqm3:["fnphzt9","flt1dlf"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",".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;}",".f50nw0v{height:22px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1g0x7ka{padding-top:0;}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f1qch9an{padding-bottom:0;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".f1tvdnth{height:30px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f1ihhdec{height:38px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".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;}"]}),Gm=U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Bo70h7d:"fvc9v3g"},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;}",".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;}"]}),Xm=e=>{const{appearance:t,open:r,size:o}=e,i=`${e.input["aria-invalid"]}`=="true",n=e.input.disabled,s=Wm(),l=Gm(),u=Um();return e.root.className=A(go.root,s.root,s[t],s[o],!n&&t==="outline"&&s.outlineInteractive,i&&t!=="underline"&&s.invalid,i&&t==="underline"&&s.invalidUnderline,n&&s.disabled,e.root.className),e.input.className=A(go.input,u.input,u[o],n&&u.disabled,e.input.className),e.listbox&&(e.listbox.className=A(go.listbox,s.listbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=A(go.expandIcon,l.icon,l[o],n&&l.disabled,e.expandIcon.className)),e},wl=p.forwardRef((e,t)=>{const r=Vm(e,t),o=Cm(r);return Xm(r),Ye("useComboboxStyles_unstable")(r),$m(r,o)});wl.displayName="Combobox";const Km=(e,t)=>{e=fl(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=Ad();var o;const{size:i="medium",appearance:n=(o=r.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]=Zt({state:e.value,defaultState:e.defaultValue,initialState:""}),a=pa({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),c={size:i,appearance:n,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:me(e.input,{defaultProps:{type:"text",ref:t,...a.primary},elementType:"input"}),contentAfter:J(e.contentAfter,{elementType:"span"}),contentBefore:J(e.contentBefore,{elementType:"span"}),root:me(e.root,{defaultProps:a.root,elementType:"span"})};return c.input.value=l,c.input.onChange=qe(f=>{const v=f.target.value;s==null||s(f,{value:v}),u(v)}),c},Zm=e=>(ke(e),Ae(e.root,{children:[e.contentBefore&&$(e.contentBefore,{}),$(e.input,{}),e.contentAfter&&$(e.contentAfter,{})]})),po={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},Ym=Re("r1jtohuq","rl1z2p5",{r:[".r1jtohuq{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.r1jtohuq::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);}',".r1jtohuq:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1jtohuq:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1jtohuq:focus-within{outline:2px solid transparent;}",".rl1z2p5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;min-height:32px;padding:0 var(--spacingHorizontalMNudge);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);}",'.rl1z2p5::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);}',".rl1z2p5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".rl1z2p5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".rl1z2p5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1jtohuq::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1jtohuq:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.rl1z2p5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Qm=U({small:{sshi5w:"f1pha7fy",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",uwmqm3:["f1uw59to","fw5db7e"],z189sj:["fw5db7e","f1uw59to"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:"f1rjii52",Belr9w4:"f1r7g2jn"},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",Bbmb7ep:["f1krrbdw","f1deotkl"],Beyfa6y:["f1deotkl","f1krrbdw"],B7oj6ja:["f10ostut","f1ozlkrg"],Btl43ni:["f1ozlkrg","f10ostut"],icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",B3778ie:["f1nf3wye","feulmo5"],d9w3h3:["feulmo5","f1nf3wye"],Bl18szs:["f18vqdqu","f53nyzz"],B4j8arr:["f53nyzz","f18vqdqu"]},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"}},{d:[".f1pha7fy{min-height:24px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1r7g2jn{row-gap:var(--spacingHorizontalSNudge);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1krrbdw{border-bottom-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1ozlkrg{border-top-left-radius:0;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1nf3wye::after{border-bottom-right-radius:0;}",".feulmo5::after{border-bottom-left-radius:0;}",".f18vqdqu::after{border-top-right-radius:0;}",".f53nyzz::after{border-top-left-radius:0;}",".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;}"],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;}"]}),Jm=Re("rvp2gzh",null,[".rvp2gzh{box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalXXS);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".rvp2gzh::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh:-ms-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".rvp2gzh::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),eb=U({large:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".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);}"]}),tb=Re("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),rb=U({disabled:{sj55zd:"f1s2aq7o"},small:{kwki1k:"f3u2cy0"},medium:{},large:{kwki1k:"fa420co"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3u2cy0>svg{font-size:16px;}",".fa420co>svg{font-size:24px;}"]}),ob=e=>{const{size:t,appearance:r}=e,o=e.input.disabled,i=`${e.input["aria-invalid"]}`=="true",n=r.startsWith("filled"),s=Qm(),l=eb(),u=rb();e.root.className=A(po.root,Ym(),s[t],s[r],!o&&r==="outline"&&s.outlineInteractive,!o&&r==="underline"&&s.underlineInteractive,!o&&n&&s.filledInteractive,n&&s.filled,!o&&i&&s.invalid,o&&s.disabled,e.root.className),e.input.className=A(po.input,Jm(),t==="large"&&l.large,o&&l.disabled,e.input.className);const a=[tb(),o&&u.disabled,u[t]];return e.contentBefore&&(e.contentBefore.className=A(po.contentBefore,...a,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=A(po.contentAfter,...a,e.contentAfter.className)),e},kl=p.forwardRef((e,t)=>{const r=Km(e,t);return ob(r),Ye("useInputStyles_unstable")(r),Zm(r)});kl.displayName="Input";const nb=e=>{const{presenceOnly:t,textPosition:r}=e;ke(e);const o=t?e.presence&&$(e.presence,{}):e.avatar&&$(e.avatar,{});return Ae(e.root,{children:[(r==="after"||r==="below")&&o,e.primaryText&&$(e.primaryText,{}),e.secondaryText&&$(e.secondaryText,{}),e.tertiaryText&&$(e.tertiaryText,{}),e.quaternaryText&&$(e.quaternaryText,{}),r==="before"&&o]})},ib=(e,t)=>{const{name:r,presenceOnly:o=!1,size:i="medium",textAlignment:n="start",textPosition:s="after"}=e,l=J(e.primaryText,{renderByDefault:!0,defaultProps:{children:r},elementType:"span"}),u=J(e.secondaryText,{elementType:"span"}),a=J(e.tertiaryText,{elementType:"span"}),c=J(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:kn,presence:Pr,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:me(Fe("div",{...e,ref:t},["name"]),{elementType:"div"}),avatar:o?void 0:J(e.avatar,{renderByDefault:!0,defaultProps:{name:r,badge:e.presence,size:sb[i]},elementType:kn}),presence:o?J(e.presence,{defaultProps:{size:ab[i]},elementType:Pr}):void 0,primaryText:l,secondaryText:u,tertiaryText:a,quaternaryText:c}},ab={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},sb={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},Ot={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"},lb=Re("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;}"]),cb=U({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;}"]}),ub=U({"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);}"]}),fb=U({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),db=e=>{const{presenceOnly:t,size:r,textAlignment:o,textPosition:i}=e,n=t&&o==="start"&&r!=="extra-large"&&r!=="huge",s=i!=="below"&&o==="center",{primaryTextClassName:l,optionalTextClassName:u}=pb(e,n),a=lb(),c=cb(),f=ub(),v={...f,...fb()};return e.root.className=A(Ot.root,a,s&&c.beforeAfterCenter,c[i],e.root.className),e.avatar&&(e.avatar.className=A(Ot.avatar,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],f[r],f[i],e.avatar.className)),e.presence&&(e.presence.className=A(Ot.presence,i!=="below"&&c.media,s&&c.mediaBeforeAfterCenter,c[o],v[r],v[i],i==="after"&&n&&c.afterAlignToPrimary,i==="before"&&n&&c.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=A(Ot.primaryText,s&&c.primary,l,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=A(Ot.secondaryText,s&&c.secondary,u,c.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=A(Ot.tertiaryText,s&&c.tertiary,u,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=A(Ot.quaternaryText,s&&c.quaternary,u,e.quaternaryText.className)),e},hb=Re("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),vb=Re("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),gb=U({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);}"]}),pb=(e,t)=>{const{presenceOnly:r,size:o,textPosition:i}=e,n=hb(),s=vb(),l=gb();let u,a;return r?(o==="extra-small"?u=e.numTextLines<=1&&l.caption1:(o==="extra-large"||o==="huge")&&(u=l.subtitle2),t&&(i==="before"?a=l.beforeAlignToPrimary:i==="after"&&(a=l.afterAlignToPrimary))):(o==="huge"||o==="extra-large")&&(u=l.subtitle2),{primaryTextClassName:A(n,u,a),optionalTextClassName:A(s,!r&&o==="huge"&&l.body1,a)}},xl=p.forwardRef((e,t)=>{const r=ib(e,t);return db(r),Ye("usePersonaStyles_unstable")(r),nb(r)});xl.displayName="Persona";const mb=()=>p.createElement("svg",{className:"fui-Spinner__Progressbar"},p.createElement("circle",{className:"fui-Spinner__Track"}),p.createElement("circle",{className:"fui-Spinner__Tail"})),Bl=p.createContext(void 0),bb={};Bl.Provider;const yb=()=>{var e;return(e=p.useContext(Bl))!==null&&e!==void 0?e:bb},wb=(e,t)=>{const{size:r}=yb(),{appearance:o="primary",labelPosition:i="after",size:n=r??"medium",delay:s=0}=e,l=jt("spinner"),{role:u="progressbar",tabIndex:a,...c}=e,f=me(Fe("div",{ref:t,role:u,...c},["size"]),{elementType:"div"}),[v,d]=p.useState(!0),[h,m]=xd();p.useEffect(()=>{if(!(s<=0))return d(!1),h(()=>{d(!0)},s),()=>{m()}},[h,m,s]);const k=J(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:Tr}),b=J(e.spinner,{renderByDefault:!0,defaultProps:{children:p.createElement(mb,null),tabIndex:a},elementType:"span"});return k&&f&&!f["aria-labelledby"]&&(f["aria-labelledby"]=k.id),{appearance:o,delay:s,labelPosition:i,size:n,shouldRenderSpinner:v,components:{root:"div",spinner:"span",label:Tr},root:f,spinner:b,label:k}},kb=e=>{ke(e);const{labelPosition:t,shouldRenderSpinner:r}=e;return Ae(e.root,{children:[e.label&&r&&(t==="above"||t==="before")&&$(e.label,{}),e.spinner&&r&&$(e.spinner,{}),e.label&&r&&(t==="below"||t==="after")&&$(e.label,{})]})},An={root:"fui-Spinner",spinner:"fui-Spinner__spinner",label:"fui-Spinner__label"},xb=U({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bg96gwp:"fez10in",i8kkvl:"f4px1ci",Belr9w4:"fn67r4l"},horizontal:{Beiy3e4:"f1063pyq"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fez10in{line-height:0;}",".f4px1ci{column-gap:8px;}",".fn67r4l{row-gap:8px;}",".f1063pyq{flex-direction:row;}",".f1vx9l62{flex-direction:column;}"]}),Bb=U({spinnerSVG:{B3aqqti:"f1or16p5",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi",Bwaue66:["f5tbecn","f15qb8s7"],fyp1ls:"fn4mtlg",ag6ruv:"f1y80fxs",osj692:"f1r2crtq",aq5vjd:"f1wsi8sr",tlu9e1:"f1bkm2qd",J3u96z:"f1urqz7h",d32isg:"f1da2vov",Bsvqbuc:"f11rfva0",b3s3i5:"f1exc66"},"extra-tiny":{Bah9ito:"f1x2gjcb",ut6tcf:"f1vjiaua",B7p06xz:"fv1u54w",B807ibg:"f1oebb0s"},tiny:{Bah9ito:"f1j4wmu2",ut6tcf:"f1vppzuq",B7p06xz:"fv1u54w",B807ibg:"fngtx1d"},"extra-small":{Bah9ito:"fmpqlna",ut6tcf:"f15z5jzu",B7p06xz:"fv1u54w",B807ibg:"fadawes"},small:{Bah9ito:"fo52gbo",ut6tcf:"f1b41i3v",B7p06xz:"fv1u54w",B807ibg:"f1xqyyrl"},medium:{Bah9ito:"f1aiqagr",ut6tcf:"f1wtx80b",B7p06xz:"f1flujpd",B807ibg:"f1u06hy7"},large:{Bah9ito:"f1trdq7b",ut6tcf:"f9e0mc5",B7p06xz:"f1flujpd",B807ibg:"f13pmvhl"},"extra-large":{Bah9ito:"f89rf2a",ut6tcf:"f1w2xg3q",B7p06xz:"f1flujpd",B807ibg:"fmn74v6"},huge:{Bah9ito:"f1rx7k5y",ut6tcf:"f1vtyt49",B7p06xz:"f1owbg48",B807ibg:"f1fr1izd"}},{f:[".f1or16p5:focus{outline-width:3px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],k:["@keyframes fb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}","@keyframes f1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],d:[".f5tbecn>svg{animation-name:fb7n1on;}",".f15qb8s7>svg{animation-name:f1gx3jof;}",".fn4mtlg>svg{animation-duration:3s;}",".f1y80fxs>svg{animation-iteration-count:infinite;}",".f1r2crtq>svg{animation-timing-function:linear;}",".f1wsi8sr>svg{background-color:transparent;}",".f1da2vov>svg>circle{cx:50%;}",".f11rfva0>svg>circle{cy:50%;}",".f1exc66>svg>circle{fill:none;}",".f1x2gjcb>svg{height:16px;}",".f1vjiaua>svg{width:16px;}",".fv1u54w>svg>circle{stroke-width:var(--strokeWidthThick);}",".f1oebb0s>svg>circle{r:7px;}",".f1j4wmu2>svg{height:20px;}",".f1vppzuq>svg{width:20px;}",".fngtx1d>svg>circle{r:9px;}",".fmpqlna>svg{height:24px;}",".f15z5jzu>svg{width:24px;}",".fadawes>svg>circle{r:11px;}",".fo52gbo>svg{height:28px;}",".f1b41i3v>svg{width:28px;}",".f1xqyyrl>svg>circle{r:13px;}",".f1aiqagr>svg{height:32px;}",".f1wtx80b>svg{width:32px;}",".f1flujpd>svg>circle{stroke-width:var(--strokeWidthThicker);}",".f1u06hy7>svg>circle{r:14.5px;}",".f1trdq7b>svg{height:36px;}",".f9e0mc5>svg{width:36px;}",".f13pmvhl>svg>circle{r:16.5px;}",".f89rf2a>svg{height:40px;}",".f1w2xg3q>svg{width:40px;}",".fmn74v6>svg>circle{r:18.5px;}",".f1rx7k5y>svg{height:44px;}",".f1vtyt49>svg{width:44px;}",".f1owbg48>svg>circle{stroke-width:var(--strokeWidthThickest);}",".f1fr1izd>svg>circle{r:20px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1bkm2qd>svg{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1urqz7h>svg{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),_b=U({inverted:{gwg7kz:"f1jvpmnu",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f1esql28"},primary:{gwg7kz:"f11ditju",B8k2rxp:"f1m9nikz",Bvrehnu:"fq8a5sv",Bidp6o:"f1b4lwqj",cq3kgi:"f1najlst",Btwiser:"fjxod4",B8001xd:"fu3xdw0",Bdordwa:["f1ttdh6v","fmyjox0"],Bo2mdfu:"f1eseayc",E10nrc:"folzdkc",Bwl7w15:"fhlfkde",Bksq7rz:"f13qeqtg",y14cdu:"flglbw1"}},{d:[".f1jvpmnu>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}",".fq8a5sv>svg>circle.fui-Spinner__Tail{animation-name:f1v1ql0f;}",".f1b4lwqj>svg>circle.fui-Spinner__Tail{animation-duration:1.5s;}",".f1najlst>svg>circle.fui-Spinner__Tail{animation-iteration-count:infinite;}",".fjxod4>svg>circle.fui-Spinner__Tail{animation-timing-function:var(--curveEasyEase);}",".fu3xdw0>svg>circle.fui-Spinner__Tail{stroke-linecap:round;}",".f1ttdh6v>svg>circle.fui-Spinner__Tail{transform:rotate(-90deg);}",".fmyjox0>svg>circle.fui-Spinner__Tail{transform:rotate(90deg);}",".f1eseayc>svg>circle.fui-Spinner__Tail{transform-origin:50% 50%;}",".f1esql28>svg>circle.fui-Spinner__Track{stroke:rgba(255, 255, 255, 0.2);}",".f11ditju>svg>circle.fui-Spinner__Tail{stroke:var(--colorBrandStroke1);}",".f13qeqtg>svg>circle.fui-Spinner__Track{stroke:var(--colorBrandStroke2Contrast);}"],k:["@keyframes f1v1ql0f{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"],m:[["@media screen and (prefers-reduced-motion: reduce){.folzdkc>svg>circle.fui-Spinner__Tail{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fhlfkde>svg>circle.fui-Spinner__Tail{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f1m9nikz>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}}",{m:"screen and (forced-colors: active)"}],["@media screen and (forced-colors: active){.flglbw1>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}}",{m:"screen and (forced-colors: active)"}]]}),Pb=U({inverted:{sj55zd:"f15aqcq"},primary:{},"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:[".f15aqcq{color:rgba(255, 255, 255, 1);}",".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);}"]}),Sb=e=>{const{labelPosition:t,size:r,appearance:o="primary"}=e,i=xb(),n=Bb(),s=Pb(),l=_b();return e.root.className=A(An.root,i.root,(t==="above"||t==="below")&&i.vertical,(t==="before"||t==="after")&&i.horizontal,e.root.className),e.spinner&&(e.spinner.className=A(An.spinner,n.spinnerSVG,n[r],l[o],e.spinner.className)),e.label&&(e.label.className=A(An.label,s[r],s[o],e.label.className)),e},Dn=p.forwardRef((e,t)=>{const r=wb(e,t);return Sb(r),Ye("useSpinnerStyles_unstable")(r),kb(r)});Dn.displayName="Spinner";const Cb=(e,t)=>{const{wrap:r,truncate:o,block:i,italic:n,underline:s,strikethrough:l,size:u,font:a,weight:c,align:f}=e;return{align:f??"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:r??!0,components:{root:"span"},root:me(Fe("span",{ref:t,...e}),{elementType:"span"})}},zb=e=>(ke(e),$(e.root,{})),Tb={root:"fui-Text"},Nb=U({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:"f1mtd64y",Bmxbyg5:"f1y7q3j9",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw"},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;}",".f1mtd64y{overflow-x:visible;}",".f1y7q3j9{overflow-y:visible;}",".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".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;}"]}),Eb=e=>{const t=Nb();return e.root.className=A(Tb.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font==="monospace"&&t.monospace,e.font==="numeric"&&t.numeric,e.weight==="medium"&&t.weightMedium,e.weight==="semibold"&&t.weightSemibold,e.weight==="bold"&&t.weightBold,e.align==="center"&&t.alignCenter,e.align==="end"&&t.alignEnd,e.align==="justify"&&t.alignJustify,e.root.className),e};function _l(e){const{useStyles:t,className:r,displayName:o}=e,i=p.forwardRef((n,s)=>{const l=t(),u=Cb(n,s);return Eb(u),u.root.className=A(r,u.root.className,l.root,n.className),zb(u)});return i.displayName=o,i}const jb=_l({useStyles:U({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"}),Rb=_l({useStyles:U({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"}),Fb=e=>{const t=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}`),t},qb=(e,t)=>{if(e===void 0)return e;const r=e<0?0:e>t?t: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>t&&console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${e}, max: ${t}`)),r},Ab=(e,t)=>{const r=ul(),o=r==null?void 0:r.validationState,{color:i=o==="error"||o==="warning"||o==="success"?o:"brand",shape:n="rounded",thickness:s="medium"}=e;var l;const u=Fb((l=e.max)!==null&&l!==void 0?l:1),a=qb(e.value,u),c=me(Fe("div",{ref:t,role:"progressbar","aria-valuemin":a!==void 0?0:void 0,"aria-valuemax":a!==void 0?u:void 0,"aria-valuenow":a,"aria-labelledby":r==null?void 0:r.labelId,...e}),{elementType:"div"});r&&(r.validationMessageId||r.hintId)&&(c["aria-describedby"]=[r==null?void 0:r.validationMessageId,r==null?void 0:r.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const f=me(e.bar,{elementType:"div"});return{color:i,max:u,shape:n,thickness:s,value:a,components:{root:"div",bar:"div"},root:c,bar:f}},Db=e=>(ke(e),$(e.root,{children:e.bar&&$(e.bar,{})})),Pl={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Ob=.01,Ib=U({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bpep1pd:"fu42dvn"},rounded:{Bbmb7ep:["f1aa9q02","f16jpd5f"],Beyfa6y:["f16jpd5f","f1aa9q02"],B7oj6ja:["f1jar5jt","fyu767a"],Btl43ni:["fyu767a","f1jar5jt"]},square:{Bbmb7ep:["fzi6hpg","fyowgf4"],Beyfa6y:["fyowgf4","fzi6hpg"],B7oj6ja:["f3fg2lr","f13av6d4"],Btl43ni:["f13av6d4","f3fg2lr"]},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),Mb=U({base:{Bpep1pd:"f1neahkh",Bbmb7ep:["f1d9uwra","fzibvwi"],Beyfa6y:["fzibvwi","f1d9uwra"],B7oj6ja:["fuoumxm","f1vtqnvc"],Btl43ni:["f1vtqnvc","fuoumxm"],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",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},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){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[".f1d9uwra{border-bottom-right-radius:inherit;}",".fzibvwi{border-bottom-left-radius:inherit;}",".fuoumxm{border-top-right-radius:inherit;}",".f1vtqnvc{border-top-left-radius:inherit;}",".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(
136
+ to right,
137
+ var(--colorNeutralBackground6) 0%,
138
+ var(--colorTransparentBackground) 50%,
139
+ var(--colorNeutralBackground6) 100%
140
+ );}`,`.f1u5hf6c{background-image:linear-gradient(
141
+ to left,
142
+ var(--colorNeutralBackground6) 0%,
143
+ var(--colorTransparentBackground) 50%,
144
+ var(--colorNeutralBackground6) 100%
145
+ );}`,".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%;}}"]}),Lb=e=>{const{color:t,max:r,shape:o,thickness:i,value:n}=e,s=Ib(),l=Mb();return e.root.className=A(Pl.root,s.root,s[o],s[i],e.root.className),e.bar&&(e.bar.className=A(Pl.bar,l.base,l.brand,n===void 0&&l.indeterminate,n!==void 0&&n>Ob&&l.nonZeroDeterminate,t&&n!==void 0&&l[t],e.bar.className)),e.bar&&n!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,n/r*100))+"%",...e.bar.style}),e},Sl=p.forwardRef((e,t)=>{const r=Ab(e,t);return Lb(r),Ye("useProgressBarStyles_unstable")(r),Db(r)});Sl.displayName="ProgressBar";const Hb=(e,{referenceLabel:t,referenceId:r},o)=>{const{checkbox:i={},onSelectionChange:n,floatingAction:s,onClick:l,onKeyDown:u}=e,{findAllFocusable:a}=mv(),c=p.useRef(null),[f,v]=Zt({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),d=[e.selected,e.defaultSelected,n].some(w=>typeof w<"u"),[h,m]=p.useState(!1),k=p.useCallback(w=>{if(!o.current)return!1;const _=a(o.current),F=w.target,R=_.some(G=>G.contains(F)),V=(c==null?void 0:c.current)===F;return R&&!V},[o,a]),b=p.useCallback(w=>{if(k(w))return;const _=!f;v(_),n&&n(w,{selected:_})},[n,f,v,k]),y=p.useCallback(w=>{[Yt].includes(w.key)&&(w.preventDefault(),b(w))},[b]),P=p.useMemo(()=>{if(!d||s)return;const w={};return r?w["aria-labelledby"]=r:t&&(w["aria-label"]=t),J(i,{defaultProps:{ref:c,type:"checkbox",checked:f,onChange:_=>b(_),onFocus:()=>m(!0),onBlur:()=>m(!1),...w},elementType:"input"})},[i,s,f,d,b,r,t]),x=p.useMemo(()=>{if(s)return J(s,{defaultProps:{ref:c},elementType:"div"})},[s]),S=p.useMemo(()=>d?{onClick:xe(l,b),onKeyDown:xe(u,y)}:null,[d,b,l,u,y]);return{selected:f,selectable:d,selectFocused:h,selectableCardProps:S,checkboxSlot:P,floatingActionSlot:x}},Cl=p.createContext(void 0),On={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},Vb=Cl.Provider,zl=()=>{var e;return(e=p.useContext(Cl))!==null&&e!==void 0?e:On},$b={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},Wb=({focusMode:e="off",...t})=>{const r=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some(n=>t[n]),i={...gv({tabBehavior:$b[r?"no-tab":e]}),tabIndex:0};return{interactive:r,focusAttributes:e==="off"?null:i}},Ub=(e,t)=>{const{appearance:r="filled",orientation:o="vertical",size:i="medium"}=e,[n,s]=p.useState(On.selectableA11yProps.referenceId),[l,u]=p.useState(On.selectableA11yProps.referenceId),a=xv(),{selectable:c,selected:f,selectableCardProps:v,selectFocused:d,checkboxSlot:h,floatingActionSlot:m}=Hb(e,{referenceId:n,referenceLabel:l},a),k=rt(a,t),{interactive:b,focusAttributes:y}=Wb(e);return{appearance:r,orientation:o,size:i,interactive:b,selectable:c,selectFocused:d,selected:f,selectableA11yProps:{setReferenceId:s,referenceId:n,referenceLabel:l,setReferenceLabel:u},components:{root:"div",floatingAction:"div",checkbox:"input"},root:me(Fe("div",{ref:k,role:"group",...y,...e,...v}),{elementType:"div"}),floatingAction:m,checkbox:h}},Gb=(e,t)=>(ke(e),$(e.root,{children:Ae(Vb,{value:t,children:[e.checkbox?$(e.checkbox,{}):null,e.floatingAction?$(e.floatingAction,{}):null,e.root.children]})})),In={root:"fui-CardPreview",logo:"fui-CardPreview__logo"},Xb=U({root:{qhf8xq:"f10pi13n",pnb5jt:"f1rzl30s",Elg2ur:"f1chxnfo",B184ckt:"f17xb19f"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".f1rzl30s>:not(.fui-CardPreview__logo){display:block;}",".f1chxnfo>:not(.fui-CardPreview__logo){height:100%;}",".f17xb19f>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]}),Kb=e=>{const t=Xb();return e.root.className=A(In.root,t.root,e.root.className),e.logo&&(e.logo.className=A(In.logo,t.logo,e.logo.className)),e},or={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},Zb=U({root:{Bkc6ea2:"fkufhic",mc9l5x:"f13qh94s",t4k1zu:"f8a668j",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"],Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94",mc9l5x:"f22iagw"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf",mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".f22iagw{display:flex;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),Yb=e=>{const t=Zb();return e.root.className=A(or.root,t.root,e.root.className),e.image&&(e.image.className=A(or.image,t.image,e.image.className)),e.header&&(e.header.className=A(or.header,t.header,e.header.className)),e.description&&(e.description.className=A(or.description,t.description,e.description.className)),e.action&&(e.action.className=A(or.action,t.action,e.action.className)),e},Tl={root:"fui-CardFooter",action:"fui-CardFooter__action"},Qb=U({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",i8kkvl:"f4akndk",Belr9w4:"fe5j3v"},action:{Frg6f3:["fcgxt0o","f1ujusj6"]}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".f4akndk{column-gap:12px;}",".fe5j3v{row-gap:12px;}",".fcgxt0o{margin-left:auto;}",".f1ujusj6{margin-right:auto;}"]}),Jb=e=>{const t=Qb();return e.root.className=A(Tl.root,t.root,e.root.className),e.action&&(e.action.className=A(Tl.action,t.action,e.action.className)),e},Mn={root:"fui-Card",floatingAction:"fui-Card__floatingAction",checkbox:"fui-Card__checkbox"},e1=U({root:{B68tc82:"f1p9o1ba",Bmxbyg5:"f1sil6mw",Bbmb7ep:["fifeqxg","f899z7z"],Beyfa6y:["f899z7z","fifeqxg"],B7oj6ja:["f4h3tyx","f18ur2pz"],Btl43ni:["f18ur2pz","f4h3tyx"],z8tnut:"f1lplnzb",z189sj:["f10m5gbb","f1k04kkk"],Byoj8tv:"fhftqfp",uwmqm3:["f1k04kkk","f10m5gbb"],i8kkvl:"fxsr4vj",Belr9w4:"fcvsdzp",mc9l5x:"f22iagw",qhf8xq:"f10pi13n",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],By385i5:"fo72kxq",Bsft5z2:"f13zj6fq",B80jsxd:"f1nwj1ja",Bm2nyyq:"f8rth92",Barhvk9:["flthirb","ftkbnf5"],Bw17bha:"f1lh990p",vfts7:["ftkbnf5","flthirb"],xrcqlc:"f6czdpx",Ihftqj:["f13hvwk3","f1en4csx"],Bcgy8vk:"f1i1u9k0",Bhxzhr1:["f1en4csx","f13hvwk3"],B3778ie:["f1qnomq5","f2fl922"],d9w3h3:["f2fl922","f1qnomq5"],Bl18szs:["f1anhtl","f1n2zcl3"],B4j8arr:["f1n2zcl3","f1anhtl"],B2jhnfs:"f16v3d5c",wiictr:"f1su8t2g"},focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",Bf4ptjt:"fh1cnn4",kclons:["fy7oxxb","f184ne2d"],Bhdgwq3:"fpukqih",Blkhhs4:["f184ne2d","fy7oxxb"],Bqtpl0w:"f99gebs",clg4pj:["f13b0oaq","f8t2bz6"],hgwjuy:"f1jvq617",Bonggc9:["f8t2bz6","f13b0oaq"],B1tsrr9:["f11unbnk","fbd201q"],Dah5zi:["fbd201q","f11unbnk"],Bkh64rk:["f12nqxso","f1uguk4w"],qqdqy8:["f1uguk4w","f12nqxso"],B6dhp37:"f1dvezut",i03rao:["fd0oaoj","f1cwg4i8"],Boxcth7:"fjvm52t",Bsom6fd:["f1cwg4i8","fd0oaoj"],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"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",ghq09:"f78i1la",B24cy0v:["f1kvsw7t","f1bw8brt"],Bwckmig:"f8k7e5g",Bvwlmkc:["f1bw8brt","f1kvsw7t"],Bbgo44z:"f125hn41",Bil7v7r:["fgxkx34","f1v56tyl"],skfxo0:"fdxas6f",jo1ztg:["f1v56tyl","fgxkx34"],Ba3ybja:["fxwickw","f1ia5cve"],az1dzo:["f1ia5cve","fxwickw"],vppk2z:["f194aguw","fqicc6c"],B6352mv:["fqicc6c","f194aguw"],nr063g:"fq4eyks",Blmvk6g:["f1ya6x16","ftuszwa"],Bsiemmq:"f1e2iu44",B98u21t:["ftuszwa","f1ya6x16"],B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Bnoktp0:"fpfyeui",Idhjb2:"fwi74qw",ihgzqh:["ffcmwrh","f6ppoih"],Bgp6ld0:["f1dc9p14","fd933vt"],Bbucpmy:"f18esqgw"},orientationVertical:{Beiy3e4:"f1vx9l62",Bt4kzjz:["fobhde4","fx5r7kn"],B1ou843:["fx5r7kn","fobhde4"],y1433z:"f19chtn8",B7egwnw:"fuvs6re",B49b4xf:"fy4glsf"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},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"],Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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"],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"],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"],Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],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:"f1p9o1ba",Bmxbyg5:"f1sil6mw",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{d:[".f1p9o1ba{overflow-x:hidden;}",".f1sil6mw{overflow-y:hidden;}",".fifeqxg{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f899z7z{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f4h3tyx{border-top-right-radius:var(--fui-Card--border-radius);}",".f18ur2pz{border-top-left-radius:var(--fui-Card--border-radius);}",".f1lplnzb{padding-top:var(--fui-Card--size);}",".f10m5gbb{padding-right:var(--fui-Card--size);}",".f1k04kkk{padding-left:var(--fui-Card--size);}",".fhftqfp{padding-bottom:var(--fui-Card--size);}",".fxsr4vj{column-gap:var(--fui-Card--size);}",".fcvsdzp{row-gap:var(--fui-Card--size);}",".f22iagw{display:flex;}",".f10pi13n{position:relative;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fo72kxq::after{bottom:0;}",'.f13zj6fq::after{content:"";}',".f1nwj1ja::after{pointer-events:none;}",".f8rth92::after{border-top-style:solid;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f1lh990p::after{border-bottom-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f1i1u9k0::after{border-bottom-width:var(--strokeWidthThin);}",".f1qnomq5::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f2fl922::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f1anhtl::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1n2zcl3::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f16v3d5c>.fui-CardHeader,.f16v3d5c>.fui-CardFooter{flex-shrink:0;}",".f1su8t2g>:not(.fui-CardPreview):not(.fui-CardHeader):not(.fui-CardFooter){flex-grow:1;}",".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;}",".fh1cnn4[data-fui-focus-visible]::after{border-top-style:solid;}",".fy7oxxb[data-fui-focus-visible]::after{border-right-style:solid;}",".f184ne2d[data-fui-focus-visible]::after{border-left-style:solid;}",".fpukqih[data-fui-focus-visible]::after{border-bottom-style:solid;}",".f99gebs[data-fui-focus-visible]::after{border-top-width:var(--strokeWidthThick);}",".f13b0oaq[data-fui-focus-visible]::after{border-right-width:var(--strokeWidthThick);}",".f8t2bz6[data-fui-focus-visible]::after{border-left-width:var(--strokeWidthThick);}",".f1jvq617[data-fui-focus-visible]::after{border-bottom-width:var(--strokeWidthThick);}",".f11unbnk[data-fui-focus-visible]::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".fbd201q[data-fui-focus-visible]::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f12nqxso[data-fui-focus-visible]::after{border-top-right-radius:var(--fui-Card--border-radius);}",".f1uguk4w[data-fui-focus-visible]::after{border-top-left-radius:var(--fui-Card--border-radius);}",".f1dvezut[data-fui-focus-visible]::after{border-top-color:var(--colorStrokeFocus2);}",".fd0oaoj[data-fui-focus-visible]::after{border-right-color:var(--colorStrokeFocus2);}",".f1cwg4i8[data-fui-focus-visible]::after{border-left-color:var(--colorStrokeFocus2);}",".fjvm52t[data-fui-focus-visible]::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}",".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}",".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}",".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}",".f125hn41[data-fui-focus-within]:focus-within::after{border-top-width:var(--strokeWidthThick);}",".fgxkx34[data-fui-focus-within]:focus-within::after{border-right-width:var(--strokeWidthThick);}",".f1v56tyl[data-fui-focus-within]:focus-within::after{border-left-width:var(--strokeWidthThick);}",".fdxas6f[data-fui-focus-within]:focus-within::after{border-bottom-width:var(--strokeWidthThick);}",".fxwickw[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--fui-Card--border-radius);}",".f1ia5cve[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--fui-Card--border-radius);}",".f194aguw[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--fui-Card--border-radius);}",".fqicc6c[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--fui-Card--border-radius);}",".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}",".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}",".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}",".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}",".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;}",".fpfyeui>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".fwi74qw>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.ffcmwrh>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.f6ppoih>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1dc9p14>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.fd933vt>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f18esqgw>.fui-CardHeader:last-of-type,.f18esqgw>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".fobhde4>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".fx5r7kn>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.f19chtn8>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".fuvs6re>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.fy4glsf>: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);}",".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;}",".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".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);}"],m:[["@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)"}]]}),t1=e=>{const t=e1(),r={horizontal:t.orientationHorizontal,vertical:t.orientationVertical},o={small:t.sizeSmall,medium:t.sizeMedium,large:t.sizeLarge},i={filled:t.filled,"filled-alternative":t.filledAlternative,outline:t.outline,subtle:t.subtle},n={filled:t.filledInteractiveSelected,"filled-alternative":t.filledAlternativeInteractiveSelected,outline:t.outlineInteractiveSelected,subtle:t.subtleInteractiveSelected},s={filled:t.filledInteractive,"filled-alternative":t.filledAlternativeInteractive,outline:t.outlineInteractive,subtle:t.subtleInteractive},l=e.interactive||e.selectable,u=p.useMemo(()=>e.selectable?e.selectFocused?t.selectableFocused:"":t.focused,[e.selectFocused,e.selectable,t.focused,t.selectableFocused]);return e.root.className=A(Mn.root,t.root,r[e.orientation],o[e.size],i[e.appearance],l&&s[e.appearance],e.selected&&n[e.appearance],u,l&&t.highContrastInteractive,e.selected&&t.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=A(Mn.floatingAction,t.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=A(Mn.checkbox,t.hiddenCheckbox,e.checkbox.className)),e};function r1({selectableA11yProps:e}){return{selectableA11yProps:e}}const Nl=p.forwardRef((e,t)=>{const r=Ub(e,t),o=r1(r);return t1(r),Gb(r,o)});Nl.displayName="Card";const o1=(e,t)=>{const{action:r}=e;return{components:{root:"div",action:"div"},root:me(Fe("div",{ref:t,...e}),{elementType:"div"}),action:J(r,{elementType:"div"})}},n1=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.action&&$(e.action,{})]})),El=p.forwardRef((e,t)=>{const r=o1(e,t);return Jb(r),n1(r)});El.displayName="CardFooter";function i1(e){function t(r){return p.isValidElement(r)&&!!r.props.id}return p.Children.toArray(e).find(t)}function a1(e,t,r){return e||(t!=null&&t.props.id?t.props.id:r)}const s1=(e,t)=>{const{image:r,header:o,description:i,action:n}=e,{selectableA11yProps:{referenceId:s,setReferenceId:l}}=zl(),u=p.useRef(null),a=p.useRef(!1),c=jt(or.header,s),f=J(o,{renderByDefault:!0,defaultProps:{ref:u,id:a.current?void 0:s},elementType:"div"});return p.useEffect(()=>{var v;const d=a.current||(v=u.current)===null||v===void 0?void 0:v.id,h=i1(f==null?void 0:f.children);a.current=!!h,l(a1(d,h,c))},[c,o,f,l]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:me(Fe("div",{ref:t,...e}),{elementType:"div"}),image:J(r,{elementType:"div"}),header:f,description:J(i,{elementType:"div"}),action:J(n,{elementType:"div"})}},l1=e=>(ke(e),Ae(e.root,{children:[e.image&&$(e.image,{}),$(e.header,{}),e.description&&$(e.description,{}),e.action&&$(e.action,{})]})),jl=p.forwardRef((e,t)=>{const r=s1(e,t);return Yb(r),l1(r)});jl.displayName="CardHeader";const c1=(e,t)=>{const{logo:r}=e,{selectableA11yProps:{referenceLabel:o,referenceId:i,setReferenceLabel:n,setReferenceId:s}}=zl(),l=rt(t,p.useRef(null));return p.useEffect(()=>{if(!(o&&i)&&l.current&&l.current.parentNode){const u=l.current.parentNode.querySelector(`.${In.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:me(Fe("div",{ref:l,...e}),{elementType:"div"}),logo:J(r,{elementType:"div"})}},u1=e=>(ke(e),Ae(e.root,{children:[e.root.children,e.logo&&$(e.logo,{})]})),Rl=p.forwardRef((e,t)=>{const r=c1(e,t);return Kb(r),u1(r)});Rl.displayName="CardPreview";const Fl=["Title","Path","Description","ListItemId","IdentityListItemId","IdentityListId","IdentitySiteCollectionId","IdentityWebId","LastModifiedTime","ViewsLifeTime","ViewsRecent","owstaxidmetadataalltagsinfo","DriveId","Author","AuthorOwsUser"],ql="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xlsx.png",Al="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/docx.png",Dl="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pptx.png",Ol="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/mpp.png",Er="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/photo.png",f1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pdf.png",d1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/txt.png",Il="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/email.png",h1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/csv.png",v1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/pub.png",g1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/accdb.png",Ln="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/zip.png",Hn="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/genericfile.png",Ml="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/code.png",p1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/html.png",m1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/xml.png",b1="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/spo.png",jr="https://static2.sharepointonline.com/files/fabric/assets/item-types/32/video.png",bo=class bo{static getFileImageUrl(t){if(!t)return Hn;let r=Hn;const o=t.split("."),i=o[o.length-1];if(!i)return r;switch(i.toLowerCase()){case"xlsx":r=ql;break;case"xls":r=ql;break;case"docx":r=Al;break;case"doc":r=Al;break;case"pptx":r=Dl;break;case"ppt":r=Dl;break;case"mppx":r=Ol;break;case"mpp":r=Ol;break;case"csv":r=h1;break;case"pdf":r=f1;break;case"txt":r=d1;break;case"jpg":r=Er;break;case"msg":r=Il;break;case"jpeg":r=Er;break;case"png":r=Er;break;case"ico":r=Er;break;case"tiff":r=Er;break;case"eml":r=Il;break;case"pub":r=v1;break;case"accdb":r=g1;break;case"zip":r=Ln;break;case"7z":r=Ln;break;case"tar":r=Ln;break;case"js":r=Ml;break;case"json":r=Ml;break;case"html":r=p1;break;case"xml":r=m1;break;case"aspx":r=b1;break;case"mp4":r=jr;break;case"mov":r=jr;break;case"wmv":r=jr;break;case"ogg":r=jr;break;case"webm":r=jr;break;default:r=Hn;break}return r}};bo.getShortName=t=>{if(!t)return"";const r=t.split("."),o=r[0].substring(0,25),i=r[r.length-1];return`${o}...${i}`},bo.isOndrive=async t=>t?t.indexOf("my.sharepoint.com")>-1:!1;let mo=bo;const It=class It{};It.getThumbnailUrl=(t,r="medium")=>`https://graph.microsoft.com/v1.0/sites/${t.identitySiteCollectionId}/sites/${t.identityWebId}/lists/${t.identityListId}/items/${t.listItemId}/microsoft.graph.listitem/driveItem/thumbnails/0/${r}/content`,It.getThumbnailImageFromGraphApiCall=async(t,r)=>{const o=await t.get(r);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")}`},It.getThumbnailImageFromGraph=async(t,r,o="medium")=>{const i=It.getThumbnailUrl(t,o);return await It.getThumbnailImageFromGraphApiCall(r,i)};let Vn=It;const y1=fa({title:{...eo.margin(0,0,"12px")},description:{...eo.margin(0,0,"12px")},card:{width:"20rem",maxWidth:"100%",height:"fit-content"},image:{width:"20rem",height:"7rem"},text:{...eo.margin(0)},imageIconWrapper:{width:"20rem!important",height:"7rem!important",display:"flex!important",justifyContent:"center",alignItems:"center",backgroundColor:gn.colorNeutralBackground3}}),w1=e=>{const{graphClient:t}=Je(),r=y1(),[o,i]=p.useState(void 0);return p.useEffect(()=>{Vn.getThumbnailImageFromGraph(e.document.fields,t).then(n=>{i(n)}).catch(n=>{console.error(n)})},[]),M.jsxs(Nl,{className:r.card,children:[M.jsx(Rl,{children:o?M.jsx("img",{src:o,alt:e.document.fields.title,className:r.image}):M.jsx("div",{className:r.imageIconWrapper,children:M.jsx("div",{children:M.jsx("img",{src:mo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title})})})}),M.jsx(jl,{image:M.jsx("img",{src:mo.getFileImageUrl(e.document.fields.path),width:"32px",height:"32px",alt:e.document.fields.title}),header:M.jsx(jb,{children:M.jsx("b",{children:e.document.fields.title})}),description:M.jsx(Rb,{children:e.document.fields.author}),action:M.jsx(ll,{appearance:"transparent","aria-label":"More options"})}),M.jsx("p",{className:r.text,children:e.document.fields.description}),M.jsx(El,{})]})},k1=fa({wrapper:{},searchInput:{},searchResults:{display:"flex",flexWrap:"wrap",flexDirection:"row",...eo.gap(gn.spacingHorizontalL,gn.spacingVerticalL)}}),x1=e=>{var d;const{graphClient:t}=Je(),r=k1(),o=p.useMemo(()=>{var m,k,b,y,P,x;var h=new ui(t,[((m=e.dataProviderProps)==null?void 0:m.entityType)??"listItem"],((k=e.dataProviderProps)==null?void 0:k.selectFields)||Fl);return h.queryTemplate=(b=e.dataProviderProps)==null?void 0:b.queryTemplate,h.pageSize=(y=e.dataProviderProps)==null?void 0:y.pageSize,h.setRefiners((P=e.dataProviderProps)==null?void 0:P.aggregations),h.setQuery(((x=e.dataProviderProps)==null?void 0:x.initialQuery)??""),h},[t,e.dataProviderProps]),[i,n]=p.useState(!0),[s,l]=p.useState(((d=e.dataProviderProps)==null?void 0:d.initialQuery)??""),[u,a]=p.useState([]),[c,f]=p.useState(void 0);p.useEffect(()=>{o.setQuery(s),n(!0),o.getData().then(h=>{a(h),f(void 0)}).catch(h=>{f(h.message)}).finally(()=>{n(!1)})},[s]);const v=()=>e!=null&&e.searchInputComponent?M.jsx(e.searchInputComponent,{onSearch:h=>{l(h)}}):M.jsx(kl,{contentBefore:M.jsx(gh,{}),placeholder:"Search",value:s,onChange:h=>{l(h.target.value)}});return M.jsxs("div",{children:[M.jsx("div",{children:v()}),M.jsxs("div",{children:[i&&M.jsx(Dn,{label:"Loading..."}),!i&&c&&M.jsxs("div",{children:["Error: ",c]})]}),M.jsx("div",{className:r.searchResults,children:u.map((h,m)=>M.jsx("div",{children:e!=null&&e.onResultRendering?e.onResultRendering(h):M.jsx(w1,{document:h})},m))})]})};var B1=Object.defineProperty,_1=Object.getOwnPropertyDescriptor,P1=(e,t,r,o)=>{for(var i=o>1?void 0:o?_1(t,r):t,n=e.length-1,s;n>=0;n--)(s=e[n])&&(i=(o?s(t,r,i):s(i))||i);return o&&i&&B1(t,r,i),i};class Ll{constructor(t,r){this.graphClient=t,this.updatePresence=r,this.key="persona-cache-",this.cacheExpiration=1e3*60*60*4,this.storageService=new ri}async getUser(t,r="48x48"){let o=t;if(t&&t.indexOf("@")>-1){const l=`/users/${t}?$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+t),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/${r}/$value`),this.graphClient.get(s+"/presence")]),[c,f,v]=await Promise.all([l.json(),u.text(),a.json()]);n={...c,photo:`data:image/png;base64,${f.replace('"',"").replace('"',"")}`,presence:v},this.storageService.set(this.key+t,{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+t,{data:n,expiration:new Date().getTime()+this.cacheExpiration})}return n}}P1([oi("getUser-{0}")],Ll.prototype,"getUser",1);function $n(e){var f,v,d,h,m;const{id:t}=e;let r=e.graphClient;const o=k=>{switch(k){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 k==null?void 0:k.toLowerCase()}},i=p.useRef(new Ll(r,e.showPresence)),[n,s]=p.useState(!e.user),[l,u]=p.useState(e.user),a=async()=>{const k=await i.current.getUser(t);u({...e.user,...k}),s(!1)};if(p.useEffect(()=>{e.user||a()},[t]),n)return M.jsx(Dn,{});const c=(l==null?void 0:l.displayName)||e.name||e.title||e.id;return M.jsx(xl,{primaryText:c,secondaryText:l==null?void 0:l.jobTitle,avatar:{image:{src:l==null?void 0:l.photo},initials:((f=l==null?void 0:l.displayName)==null?void 0:f.split(" ").map(k=>k[0]).join(""))||((v=e.name)==null?void 0:v.split(" ").map(k=>k[0]).join(""))},presence:e.showPresence?{status:o((d=l==null?void 0:l.presence)==null?void 0:d.availability),outOfOffice:(m=(h=l==null?void 0:l.presence)==null?void 0:h.outOfOfficeSettings)==null?void 0:m.isOutOfOffice}:void 0,...e})}function S1(e){const{graphClient:t}=Je();return M.jsx($n,{...e,graphClient:t})}function nr(e){const[t,r]=p.useState(e.value||[]),[o,i]=p.useState(!1),[n,s]=p.useState(""),[l,u]=p.useState(e.value||[]),a=c=>dc.debounce(`entityPicker-${e.additionalKey}`,async()=>{i(!0);try{const f=await e.onDataRequested(c);r([...f,...l].reduce((v,d)=>v.find(m=>m.id===d.id)?v:v.concat([d]),[])),i(!1)}catch(f){console.error(f),i(!1)}},500);return p.useEffect(()=>{a(n)},[n]),e.renderOverride?e.renderOverride(t,o,a):M.jsxs(vl,{label:e.label,hint:e.description,children:[M.jsx(wl,{value:n,multiselect:e.multiSelect,freeform:!0,onChange:c=>{s(c.target.value)},size:e.size,disabled:e.disabled,onOptionSelect:(c,f)=>{let v=[];const d=t.find(h=>h.id===f.optionValue);l.some(h=>h.id===f.optionValue)?v=l.filter(h=>h.id!==f.optionValue):e.multiSelect?v=[...l,d]:v=[d],v=v.filter(h=>!!h),e.onEntitySelected&&e.onEntitySelected(v),u(v),s(v.map(h=>h.displayName).join(", "))},defaultSelectedOptions:l.map(c=>c.id),children:t.map(c=>M.jsx(yl,{text:c.displayName,value:c.id,children:e.onSuggestionRendering?e.onSuggestionRendering(c):c.displayName},encodeURIComponent(c.id)))}),o&&M.jsx(Sl,{})]})}function C1(e){const{graphClient:t}=Je();return M.jsx(Hl,{...e,graphClient:t})}function Hl(e){const t=async()=>(await(await e.graphClient.get(`/teams/${e.teamId}/channels?$select=id,displayName`)).json()).value;p.useEffect(()=>{t()},[e.teamId]);const r=async o=>await t();return M.jsx(nr,{additionalKey:`team-${e.teamId}-channels`,...e,onDataRequested:r})}function z1(e){const{graphClient:t}=Je();return M.jsx(Vl,{...e,graphClient:t,siteId:e.siteId})}function Vl(e){const t=async r=>{let o=e.siteId?`/sites/${e.siteId}/drives?$select=id,name`:"/me/drives?$select=id,name";return r&&(o+=`&$filter=startswith(name, '${r}')`),(await(await e.graphClient.get(o)).json()).value.map(s=>({id:s.id,displayName:s.name}))};return M.jsx(nr,{additionalKey:`drive-picker-${e.siteId}`,...e,onDataRequested:t})}function T1(e){const{graphClient:t}=Je();return M.jsx($l,{...e,graphClient:t})}function $l(e){const t=async r=>{let o="/teams?$select=id,displayName&$top=8";return r&&(o+=`&$filter=startswith(displayName, '${r}')`),(await(await e.graphClient.get(o)).json()).value};return M.jsx(nr,{additionalKey:"team-site-picker",...e,onDataRequested:t})}function N1(e){const{graphClient:t}=Je();return M.jsx(Wl,{...e,graphClient:t})}function Wl(e){const t=new wc(e.graphClient,!0,!0),r=async o=>(t.setQuery(o),await t.getData());return M.jsx(nr,{...e,additionalKey:"people-picker",onDataRequested:r,onSuggestionRendering:o=>(o.photo&&(o.photo=`data:image/png;base64,${o.photo.replace('"',"").replace('"',"")}`),M.jsx($n,{showPresence:!0,user:o,graphClient:e.graphClient}))})}function E1(e){const{graphClient:t}=Je();return M.jsx(Ul,{...e,graphClient:t})}function Ul(e){const t=p.useRef(new ui(e.graphClient,["site"],["id","displayName"])),r=async o=>(t.current.setQuery(o||"*"),await t.current.getData());return M.jsx(nr,{...e,onDataRequested:r})}function Gl(e){const[t,r]=p.useState(e.initialRender),[o,i]=p.useState(!0);return p.useEffect(()=>{e.permissionCheck().then(n=>{r(n)}).finally(()=>i(!1))},[]),o&&e.placeholder?e.placeholder:t?e.children:M.jsx(M.Fragment,{})}function j1(e){const{spClient:t,siteUrl:r}=fi();return M.jsx(Xl,{...e,siteUrl:r,spClient:t})}function Xl(e){return M.jsx(Gl,{placeholder:e.placeholder,permissionCheck:async()=>{var t=`${e.siteUrl}/_api/web/EffectiveBasePermissions`,r=await e.spClient.get(t,{headers:{accept:"application/json"}}),o=await r.json(),i=[];for(var n in Dr){var s=_c.hasPermission(o,Dr[n]);s&&i.push(n)}return i.indexOf(e.role)>=0},children:e.children},`${e.role}-${e.siteUrl}`)}function Kl(e){return M.jsx(Gl,{placeholder:e.placeholder,permissionCheck:async()=>{const t=`/me/transitiveMemberOf/${e.groupId}?$select=id`;return(await e.graphClient.get(t)).ok},children:e.children},e.groupId)}function R1(e){const{graphClient:t}=Je();return M.jsx(Kl,{...e,graphClient:t})}X.AbstractGraphEntityPicker=nr,X.AuthenticationContext=_o,X.AuthenticationContextProvider=uc,X.ChannelPicker=C1,X.ChannelPickerStandalone=Hl,X.DataverseContext=Ro,X.DataverseContextProvider=zc,X.DrivePicker=z1,X.DrivePickerStandalone=Vl,X.GraphContext=Eo,X.GraphContextProvider=Pc,X.GraphGroupMembershipTrimmedComponent=R1,X.GraphGroupMembershipTrimmedComponentStandalone=Kl,X.GraphPersona=S1,X.GraphPersonaStandalone=$n,X.M365Search=x1,X.PeoplePicker=N1,X.PeoplePickerStandalone=Wl,X.SPContext=jo,X.SPContextProvider=Sc,X.SPPermissionTrimmedComponent=j1,X.SPPermissionTrimmedComponentStandalone=Xl,X.SitePicker=E1,X.SitePickerStandalone=Ul,X.TeamPicker=T1,X.TeamPickerStandalone=$l,X.defaultSelectFields=Fl,X.useAuthentication=Fr,X.useDataverse=Cc,X.useGraph=Je,X.useSP=fi,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});